:root {
  --ink: #151612;
  --ink-2: #20211d;
  --paper: #f1efe8;
  --paper-bright: #faf8f2;
  --stone: #d6d1c7;
  --concrete: #9c9b94;
  --muted: #686963;
  --line: rgba(21, 22, 18, 0.18);
  --line-light: rgba(241, 239, 232, 0.22);
  --accent: #9a4f33;
  --accent-light: #d78965;
  --white: #fff;
  --sans: "Roboto", Arial, sans-serif;
  --display: var(--sans);
  --editorial: var(--sans);
  --mono: var(--sans);
  --wrap: 1480px;
  --gutter: clamp(1.25rem, 4.5vw, 5.5rem);
  --section: clamp(6rem, 10vw, 11rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
summary {
  cursor: pointer;
}

h1,
h2,
h3,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 500;
  letter-spacing: -0.035em;
}

h2 {
  max-width: 14ch;
  font-size: clamp(3rem, 6vw, 6.75rem);
  line-height: 1;
}

h3 {
  line-height: 1.1;
}

.wrap {
  width: min(var(--wrap), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: var(--section);
}

.section-dark {
  background: var(--ink);
  color: var(--paper);
}

.section-stone {
  background: var(--stone);
}

.eyebrow,
.footer-label,
.breadcrumbs,
.service-number,
.metric > span,
.reason > span,
.process-step > span,
.form-heading > span {
  font-family: var(--mono);
  font-size: 0.69rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 1.75rem;
  color: var(--accent);
}

.section-dark .eyebrow {
  color: var(--accent-light);
}

.lead {
  max-width: 44rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.32rem);
  line-height: 1.75;
}

.section-heading {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1.25rem, 2vw, 2rem);
  align-items: end;
  margin-bottom: clamp(3.5rem, 7vw, 7rem);
}

.section-heading > div {
  grid-column: 1 / span 8;
}

.section-heading > p {
  grid-column: 9 / -1;
  max-width: 31rem;
  color: var(--muted);
}

.section-dark .section-heading > p {
  color: #b8b8b1;
}

.skip {
  position: fixed;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  transform: translateY(-150%);
  background: var(--paper-bright);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.2s;
}

.skip:focus {
  transform: none;
}

:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 4px;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.25rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  line-height: 1;
  text-decoration: none;
  transition: color 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.button::after {
  content: "";
  flex: none;
  width: 0.72rem;
  height: 0.72rem;
  margin-left: 1.4rem;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23000' stroke-width='1.4'%3E%3Cpath d='M2 10L10 2M3.5 2H10v6.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23000' stroke-width='1.4'%3E%3Cpath d='M2 10L10 2M3.5 2H10v6.5'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.35s var(--ease);
}

.button:hover {
  border-color: var(--accent);
  background: var(--accent);
  transform: translateY(-2px);
}

.button:hover::after {
  transform: translate(0.18rem, -0.18rem);
}

.button-light {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.button-light:hover {
  border-color: var(--accent-light);
  background: var(--accent-light);
  color: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.3s, gap 0.3s var(--ease);
}

.text-link:hover {
  gap: 1.05rem;
  color: var(--accent);
}

.text-link-light {
  color: var(--paper);
}

.text-link-light:hover {
  color: var(--accent-light);
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--paper);
  transition: background 0.4s var(--ease), color 0.4s, box-shadow 0.4s;
}

.header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.header.scrolled {
  background: rgba(21, 22, 18, 0.96);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  min-height: 88px;
  align-items: center;
  gap: 2rem;
  transition: min-height 0.4s var(--ease);
}

.header.scrolled .nav {
  min-height: 70px;
}

.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex: 0 0 auto;
}

.logo {
  width: 146px;
  height: auto;
}

.navlinks {
  display: flex;
  flex: 1;
  align-items: center;
  gap: clamp(1rem, 1.8vw, 2rem);
}

.primary-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.55vw, 1.75rem);
  margin-left: auto;
}

.primary-links a,
.lang a {
  position: relative;
  color: #ebe8e0;
  font-size: 0.73rem;
  letter-spacing: 0.045em;
  text-decoration: none;
}

.primary-links a::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: -0.55rem;
  left: 0;
  height: 1px;
  background: var(--accent-light);
  transition: right 0.35s var(--ease);
}

.primary-links a:hover::after {
  right: 0;
}

.lang {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding-left: 0.3rem;
}

.lang a {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid transparent;
}

.lang a[aria-current] {
  border-color: rgba(255, 255, 255, 0.45);
}

.nav-cta {
  min-height: 42px;
  padding: 0.65rem 0.9rem;
  border-color: rgba(255, 255, 255, 0.7);
  background: transparent;
  color: var(--paper);
}

.nav-cta::after {
  margin-left: 0.85rem;
}

.menu-button,
.menu-contact {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 11, 9, 0.91) 0%, rgba(10, 11, 9, 0.56) 48%, rgba(10, 11, 9, 0.12) 80%),
    linear-gradient(180deg, rgba(10, 11, 9, 0.28), transparent 30%, rgba(10, 11, 9, 0.58));
}

.hero-media {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  animation: hero-settle 1.8s var(--ease) both;
}

.hero-gridlines {
  position: absolute;
  z-index: -1;
  inset: 0 var(--gutter);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background: repeating-linear-gradient(90deg, transparent 0, transparent calc(8.333% - 1px), rgba(255, 255, 255, 0.06) calc(8.333% - 1px), rgba(255, 255, 255, 0.06) 8.333%);
  pointer-events: none;
}

.hero-layout {
  display: grid;
  min-height: 100svh;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1.25rem, 2vw, 2rem);
  align-items: end;
  padding-top: 10rem;
  padding-bottom: clamp(6rem, 10vh, 8.5rem);
}

.hero-copy {
  grid-column: 1 / span 9;
}

.hero-eyebrow {
  color: var(--accent-light);
  animation: hero-copy 0.9s 0.12s var(--ease) both;
}

.hero-title {
  max-width: 11.5ch;
  font-size: clamp(4.2rem, 9.35vw, 10.2rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1.05;
  text-transform: uppercase;
  animation: hero-copy 1s 0.18s var(--ease) both;
}

.hero-title span {
  display: block;
}

.hero-title span + span {
  margin-top: 0.08em;
}

.hero-title span:last-child {
  margin-top: 0.14em;
  color: var(--paper);
  font-family: var(--editorial);
  font-size: 0.96em;
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.hero-lead {
  max-width: 48rem;
  margin-top: clamp(2rem, 4vh, 3rem);
  color: #d0cec7;
  font-size: clamp(0.98rem, 1.2vw, 1.18rem);
  line-height: 1.7;
  animation: hero-copy 1s 0.26s var(--ease) both;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  animation: hero-copy 1s 0.34s var(--ease) both;
}

.hero-facts {
  grid-column: 10 / -1;
  display: grid;
  gap: 0;
  align-self: end;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-facts > div {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-facts dt {
  color: #9f9f99;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-facts dd {
  font-size: 0.82rem;
}

.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #cbc8c0;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-cue i {
  display: block;
  width: 54px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.35);
}

.scroll-cue i::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  transform: translateX(-100%);
  background: var(--paper);
  animation: scroll-line 2.2s ease-in-out infinite;
}

@keyframes hero-settle {
  from { transform: scale(1.035); }
  to { transform: scale(1); }
}

@keyframes hero-copy {
  from { opacity: 0; transform: translateY(34px); }
  to { opacity: 1; transform: none; }
}

@keyframes scroll-line {
  0%, 15% { transform: translateX(-100%); }
  70%, 100% { transform: translateX(100%); }
}

/* Metrics */
.metrics {
  background: var(--stone);
  border-bottom: 1px solid var(--line);
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
}

.metric {
  min-height: clamp(210px, 22vw, 330px);
  padding: clamp(1.5rem, 3.2vw, 3.5rem);
  border-left: 1px solid var(--line);
}

.metric:last-child {
  border-right: 1px solid var(--line);
}

.metric > span {
  display: block;
  margin-bottom: clamp(4rem, 8vw, 8rem);
  color: var(--muted);
}

.metric strong {
  display: block;
  font-size: clamp(3.4rem, 6vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.8;
}

.metric p {
  max-width: 12rem;
  margin-top: 1.4rem;
  color: #555751;
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.metric-primary {
  background: var(--accent);
  color: var(--paper);
}

.metric-primary > span,
.metric-primary p {
  color: #f0d8ce;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1.25rem, 2vw, 2rem);
  align-items: center;
}

.about-media {
  grid-column: 1 / span 7;
  height: min(78vw, 920px);
  overflow: hidden;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
  filter: saturate(0.78) contrast(1.04);
  transition: transform 1.1s var(--ease), filter 0.7s;
}

.about-media:hover img {
  transform: scale(1.018);
  filter: saturate(0.95) contrast(1.02);
}

.about-copy {
  grid-column: 8 / -1;
  padding-left: clamp(1rem, 4vw, 5rem);
}

.about-copy h2 {
  max-width: 9ch;
}

.about-copy .lead {
  margin-top: 2.5rem;
}

.about-note {
  max-width: 35rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.about-signature {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-top: clamp(3rem, 6vw, 6rem);
}

.about-signature-logo {
  display: block;
  width: clamp(12.5rem, 15vw, 15.5rem);
  max-width: 52%;
  height: auto;
  flex: 0 1 auto;
}

.about-signature small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.08em;
  line-height: 1.7;
  text-align: right;
  text-transform: uppercase;
}

.about-signature small strong {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Services */
.services-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1.25rem, 2vw, 2rem);
  align-items: start;
}

.service-stage {
  position: sticky;
  top: 100px;
  grid-column: 1 / span 7;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink-2);
}

.service-preview {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.65s var(--ease);
}

.service-preview.is-active {
  z-index: 1;
  opacity: 1;
}

.service-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7);
  transform: scale(1.025);
  transition: transform 0.9s var(--ease), filter 0.7s;
}

.service-preview.is-active img {
  filter: saturate(0.9);
  transform: scale(1);
}

.service-list {
  grid-column: 8 / -1;
  min-width: 0;
  border-top: 1px solid var(--line-light);
}

.service-row {
  display: grid;
  min-width: 0;
  grid-template-columns: 42px minmax(0, 1fr) 32px;
  gap: 1rem;
  align-items: start;
  padding: clamp(1.5rem, 2.4vw, 2.5rem) 0;
  border-bottom: 1px solid var(--line-light);
  color: var(--paper);
  text-decoration: none;
}

.service-number {
  margin-top: 0.55rem;
  color: var(--accent-light);
}

.service-copy {
  display: grid;
  min-width: 0;
  gap: 0.85rem;
}

.service-copy strong {
  font-size: clamp(1.5rem, 2.5vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  transition: color 0.3s;
}

.service-copy > span {
  max-width: 34rem;
  color: #aaa9a3;
  font-size: 0.9rem;
}

.service-copy em {
  color: var(--accent-light);
  font-family: var(--mono);
  font-size: 0.61rem;
  font-style: normal;
  letter-spacing: 0.1em;
  opacity: 0;
  text-transform: uppercase;
  transform: translateY(6px);
  transition: opacity 0.35s, transform 0.35s var(--ease);
}

.service-row:hover .service-copy strong,
.service-row.is-active .service-copy strong {
  color: var(--accent-light);
}

.service-row:hover .service-copy em,
.service-row:focus-visible .service-copy em {
  opacity: 1;
  transform: none;
}

.service-arrow {
  margin-top: 0.15rem;
  font-size: 1.3rem;
  transition: transform 0.35s var(--ease);
}

.service-row:hover .service-arrow {
  transform: translate(0.25rem, -0.25rem);
}

.service-thumb {
  display: none;
}

/* Marquee */
.marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.marquee::before,
.marquee::after {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  width: clamp(1.5rem, 4vw, 4rem);
  content: "";
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--paper), transparent);
}

.marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--paper), transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
  will-change: transform;
}

.marquee.is-paused .marquee-track {
  animation-play-state: paused;
}

.marquee-toggle {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: clamp(0.7rem, 2vw, 2rem);
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  transform: translateY(-50%);
  border: 1px solid rgba(21, 22, 18, 0.24);
  border-radius: 2px;
  background: rgba(241, 239, 232, 0.94);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.marquee-toggle i::before {
  content: "Ⅱ";
  font-style: normal;
}

.marquee-toggle[aria-pressed="true"] i::before {
  content: "▶";
}

.marquee-group {
  display: flex;
  flex: none;
  align-items: center;
  gap: clamp(1.25rem, 2.4vw, 3rem);
  padding: 1.35rem clamp(1.5rem, 3vw, 4rem);
  white-space: nowrap;
}

.marquee-group span {
  font-size: clamp(1rem, 1.6vw, 1.5rem);
  font-weight: 500;
  letter-spacing: 0.03em;
}

.marquee-group i {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.85em;
  font-style: normal;
}

@keyframes marquee {
  to { transform: translate3d(-33.333333%, 0, 0); }
}

/* Featured project */
.featured {
  overflow: hidden;
  background: var(--paper-bright);
}

.featured-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1.25rem, 2vw, 2rem);
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 6rem);
}

.featured-head .eyebrow {
  grid-column: 1 / -1;
}

.featured-head h2 {
  grid-column: 1 / span 9;
  max-width: none;
  font-size: clamp(5rem, 12vw, 13rem);
  line-height: 0.75;
  text-transform: uppercase;
}

.featured-head h2 span {
  color: var(--accent);
  font-family: var(--editorial);
  font-size: 1.04em;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.featured-head > p:last-child {
  grid-column: 9 / -1;
  padding-bottom: 0.5rem;
  color: var(--muted);
}

.project-visual {
  position: relative;
  display: block;
  width: min(var(--wrap), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
  overflow: hidden;
  color: var(--paper);
}

.project-visual picture {
  aspect-ratio: 16 / 8.5;
}

.project-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.7s;
}

.project-visual:hover img {
  transform: scale(1.018);
  filter: brightness(0.82);
}

.project-view {
  position: absolute;
  right: clamp(1.25rem, 4vw, 4rem);
  bottom: clamp(1.25rem, 4vw, 4rem);
  padding: 1rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(21, 22, 18, 0.66);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.project-meta {
  display: grid;
  grid-template-columns: 0.8fr 1.3fr 2fr 0.8fr;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.project-meta > div {
  display: grid;
  gap: 0.5rem;
  padding: 1.4rem 1.2rem 1.4rem 0;
  border-right: 1px solid var(--line);
}

.project-meta > div:not(:first-child) {
  padding-left: 1.2rem;
}

.project-meta > div:last-child {
  border-right: 0;
}

.project-meta span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-meta strong {
  font-size: 0.88rem;
  font-weight: 500;
}

/* Gallery */
.gallery-section {
  overflow: clip;
}

.gallery-heading h2 {
  max-width: 10ch;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(4, clamp(170px, 14vw, 225px));
  gap: clamp(0.7rem, 1.25vw, 1.25rem);
}

.gallery-card {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 2px;
  background: var(--ink-2);
  color: var(--paper);
  text-align: left;
  isolation: isolate;
}

.gallery-card:nth-child(1) {
  grid-column: 1 / span 5;
  grid-row: 1 / span 2;
}

.gallery-card:nth-child(2) {
  grid-column: 6 / -1;
  grid-row: 1;
}

.gallery-card:nth-child(3) {
  grid-column: 6 / span 3;
  grid-row: 2;
}

.gallery-card:nth-child(4) {
  grid-column: 9 / -1;
  grid-row: 2;
}

.gallery-card:nth-child(5) {
  grid-column: 1 / span 7;
  grid-row: 3;
}

.gallery-card:nth-child(6) {
  grid-column: 8 / -1;
  grid-row: 3 / span 2;
}

.gallery-card:nth-child(7) {
  grid-column: 1 / span 3;
  grid-row: 4;
}

.gallery-card:nth-child(8) {
  grid-column: 4 / span 4;
  grid-row: 4;
}

.gallery-media,
.gallery-media::after {
  position: absolute;
  inset: 0;
}

.gallery-media::after {
  content: "";
  background: linear-gradient(180deg, rgba(10, 11, 9, 0.04) 28%, rgba(10, 11, 9, 0.82) 100%);
  transition: background 0.45s var(--ease);
}

.gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.55s var(--ease);
}

.gallery-card:nth-child(2) .gallery-media img {
  object-position: center 62%;
}

.gallery-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: space-between;
  gap: 1rem;
  padding: clamp(1rem, 1.7vw, 1.65rem);
}

.gallery-index,
.gallery-meta small {
  font-family: var(--mono);
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.gallery-index {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  color: rgba(255, 255, 255, 0.84);
}

.gallery-arrow {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  background: rgba(15, 16, 13, 0.28);
  font-size: 0.82rem;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: color 0.35s var(--ease), background 0.35s var(--ease), transform 0.35s var(--ease);
}

.gallery-meta {
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: end;
  max-width: min(30rem, 90%);
}

.gallery-meta small {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--accent-light);
}

.gallery-meta strong {
  display: block;
  max-width: 32ch;
  font-size: clamp(0.83rem, 1.15vw, 1.05rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.38;
}

.gallery-card:hover .gallery-media img,
.gallery-card:focus-visible .gallery-media img {
  filter: saturate(0.88) brightness(0.9);
  transform: scale(1.035);
}

.gallery-card:hover .gallery-media::after,
.gallery-card:focus-visible .gallery-media::after {
  background: linear-gradient(180deg, rgba(10, 11, 9, 0.13) 18%, rgba(10, 11, 9, 0.9) 100%);
}

.gallery-card:hover .gallery-arrow,
.gallery-card:focus-visible .gallery-arrow {
  background: var(--paper);
  color: var(--ink);
  transform: translate(0.14rem, -0.14rem);
}

.gallery-card:focus-visible {
  outline-offset: -4px;
}

.gallery-dialog {
  width: min(1180px, calc(100% - 2rem));
  max-width: none;
  height: min(900px, calc(100dvh - 2rem));
  max-height: none;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(241, 239, 232, 0.24);
  border-radius: 2px;
  background: #0e0f0c;
  color: var(--paper);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.48);
}

.gallery-dialog[open] {
  display: grid;
  place-items: stretch;
  animation: gallery-dialog-in 0.42s var(--ease) both;
}

.gallery-dialog::backdrop {
  background: rgba(7, 8, 6, 0.88);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}

.gallery-dialog-panel {
  position: relative;
  min-height: 0;
  padding: clamp(0.8rem, 1.5vw, 1.35rem);
}

.gallery-dialog-figure {
  display: grid;
  height: 100%;
  min-height: 0;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 1rem;
}

.gallery-dialog-figure img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.gallery-dialog-figure figcaption {
  max-width: 70ch;
  padding-inline: 0.2rem;
  color: #c9c8c1;
  font-size: 0.82rem;
  line-height: 1.5;
}

.gallery-dialog-close {
  position: absolute;
  z-index: 2;
  top: clamp(1rem, 2vw, 1.75rem);
  right: clamp(1rem, 2vw, 1.75rem);
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(241, 239, 232, 0.42);
  border-radius: 50%;
  background: #171814;
  color: var(--paper);
  font-size: 1.35rem;
  line-height: 1;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}

.gallery-dialog-close:hover,
.gallery-dialog-close:focus-visible {
  background: var(--paper);
  color: var(--ink);
  transform: rotate(4deg);
}

body:has(.gallery-dialog[open]) {
  overflow: hidden;
}

@keyframes gallery-dialog-in {
  from {
    opacity: 0;
    transform: translateY(1rem) scale(0.985);
  }
}

/* Why */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.reason {
  min-height: 290px;
  padding: clamp(1.5rem, 3vw, 3rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.reason > span {
  color: #783b27;
}

.section-stone .eyebrow {
  color: #783b27;
}

.reason h3 {
  max-width: 14ch;
  margin-top: clamp(3rem, 5vw, 5rem);
  font-size: clamp(1.35rem, 2.2vw, 2.2rem);
}

.reason p {
  max-width: 29rem;
  margin-top: 1rem;
  color: #595a55;
}

/* Process */
.process-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1.25rem, 2vw, 2rem);
  align-items: start;
}

.process-intro {
  position: sticky;
  top: 120px;
  grid-column: 1 / span 5;
}

.process-intro h2 {
  max-width: 8ch;
}

.process-number {
  margin-top: clamp(4rem, 8vw, 8rem);
  color: rgba(215, 137, 101, 0.16);
  font-family: var(--editorial);
  font-size: clamp(9rem, 19vw, 19rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.7;
}

.process-list {
  grid-column: 7 / -1;
  border-top: 1px solid var(--line-light);
}

.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  min-height: 250px;
  align-items: start;
  padding: clamp(2rem, 4vw, 4rem) 0;
  border-bottom: 1px solid var(--line-light);
}

.process-step > span {
  padding-top: 0.65rem;
  color: var(--accent-light);
}

.process-step h3 {
  font-size: clamp(2rem, 4vw, 4.4rem);
}

.process-step p {
  max-width: 35rem;
  margin-top: 1.25rem;
  color: #adada7;
}

.quality-band {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(2rem, 7vw, 8rem);
  align-items: end;
  margin-top: clamp(5rem, 9vw, 10rem);
  padding-top: clamp(2rem, 4vw, 4rem);
  border-top: 1px solid var(--line-light);
}

.quality-band h3 {
  max-width: 14ch;
  font-size: clamp(2.2rem, 4vw, 4.4rem);
}

.quality-band p {
  color: #adada7;
}

/* Reviews */
.reviews {
  padding-block: clamp(4.5rem, 7vw, 7rem);
  border-block: 1px solid var(--line);
  background: var(--paper-bright);
}

.reviews-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1.25rem, 2vw, 2rem);
  align-items: start;
}

.reviews-summary {
  position: sticky;
  top: 120px;
  grid-column: 1 / span 4;
}

.reviews-summary h2 {
  max-width: 9ch;
  font-size: clamp(2.65rem, 4.2vw, 4.85rem);
  line-height: 0.98;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.75rem 0 1.5rem;
}

.rating-row > strong {
  font-size: clamp(3rem, 4.5vw, 4.75rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.rating-row > div > span,
.review-stars {
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.rating-row p {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.review-controls {
  display: flex;
  gap: 0.55rem;
  margin-top: 1.5rem;
}

.review-control {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 1.05rem;
  transition: border-color 200ms ease, background-color 200ms ease, color 200ms ease, opacity 200ms ease;
}

.review-control:hover:not(:disabled),
.review-control:focus-visible {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper-bright);
}

.review-control:disabled {
  opacity: 0.28;
  cursor: default;
}

.reviews-grid {
  grid-column: 6 / -1;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 48%);
  gap: 1rem;
  align-items: start;
  padding-bottom: 0.85rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 1px;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.reviews-grid::-webkit-scrollbar {
  display: none;
}

.review-card {
  display: flex;
  min-height: 340px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.5rem, 2vw, 2rem);
  border: 1px solid var(--line);
  background: rgba(214, 209, 199, 0.14);
  scroll-snap-align: start;
  transition: border-color 250ms ease, background-color 250ms ease;
}

.review-card:hover {
  border-color: rgba(154, 79, 51, 0.42);
  background: rgba(214, 209, 199, 0.22);
}

.review-card blockquote {
  max-width: 34ch;
  margin-top: 2rem;
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
  letter-spacing: -0.01em;
  line-height: 1.55;
}

.review-card footer {
  display: grid;
  gap: 0.3rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.review-card footer strong {
  font-size: 0.85rem;
  font-weight: 600;
}

.review-card footer span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
}

/* Coverage */
.coverage {
  padding-block: clamp(5rem, 9vw, 9rem);
  border-block: 1px solid var(--line);
  background: var(--stone);
}

.coverage h2 {
  max-width: 15ch;
  font-size: clamp(3.3rem, 7vw, 7.5rem);
}

.coverage > .wrap > p:last-child {
  margin-top: 2.5rem;
  color: #545650;
  font-family: var(--mono);
  font-size: clamp(0.7rem, 1vw, 0.9rem);
  letter-spacing: 0.07em;
  line-height: 2;
  text-transform: uppercase;
}

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1.25rem, 2vw, 2rem);
  align-items: start;
}

.faq-intro {
  grid-column: 1 / span 5;
}

.faq-intro h2 {
  max-width: 9ch;
}

.faq-intro > p:last-child {
  max-width: 30rem;
  margin-top: 2rem;
  color: var(--muted);
}

.faq-list {
  grid-column: 7 / -1;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr 28px;
  gap: 1rem;
  align-items: center;
  padding: 1.7rem 0;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 500;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary > span {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.faq summary i {
  position: relative;
  width: 20px;
  height: 20px;
  justify-self: end;
}

.faq summary i::before,
.faq summary i::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 2px;
  width: 16px;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}

.faq summary i::after {
  transform: rotate(90deg);
}

.faq details[open] summary i::after {
  transform: rotate(0);
}

.faq details > div {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}

.faq details[open] > div {
  grid-template-rows: 1fr;
}

.faq details > div > p {
  max-width: 43rem;
  overflow: hidden;
  color: var(--muted);
}

.faq details[open] > div > p {
  padding: 0 0 1.8rem 64px;
}

/* Contact */
.anchor-target {
  position: absolute;
  top: -80px;
}

.contact-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1.25rem, 2vw, 2rem);
  align-items: start;
}

.contact-intro {
  position: sticky;
  top: 120px;
  grid-column: 1 / span 5;
}

.contact-intro h2 {
  max-width: 8ch;
}

.contact-intro > p:not(.eyebrow) {
  max-width: 30rem;
  margin-top: 2rem;
  color: #aaa9a3;
}

.contact-details {
  display: grid;
  gap: 0.5rem;
  margin-top: clamp(3rem, 7vw, 7rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-light);
}

.contact-details a,
.contact-details span {
  width: fit-content;
  color: #d0cec7;
  font-family: var(--mono);
  font-size: 0.71rem;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.contact-details a:hover {
  color: var(--accent-light);
}

.quote-form {
  grid-column: 7 / -1;
  min-width: 0;
}

.form-heading {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line-light);
}

.form-heading > span {
  color: var(--accent-light);
}

.form-heading h3 {
  margin-top: 1.5rem;
  font-size: clamp(2rem, 4vw, 4rem);
}

.form-heading p {
  max-width: 34rem;
  margin-top: 1rem;
  color: #aaa9a3;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 2rem;
}

.field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding-top: 1.7rem;
}

.field.full,
.form-submit.full {
  grid-column: 1 / -1;
}

.field label,
.field > label {
  color: #aaa9a3;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.6rem 0;
  border: 0;
  border-bottom: 1px solid rgba(241, 239, 232, 0.38);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--paper);
  transition: border-color 0.3s;
}

.field select {
  color-scheme: dark;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent-light);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible,
.consent input:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 4px;
}

.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0.75rem;
  align-items: start;
  color: #aaa9a3;
  font-size: 0.73rem;
  line-height: 1.6;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 0.1rem;
}

.consent span {
  text-transform: none;
}

.form-submit {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.status {
  min-height: 1.5rem;
  color: #d0cec7;
  font-size: 0.78rem;
}

.hp {
  position: absolute;
  left: -9999px;
}

/* Footer */
.footer {
  position: relative;
  overflow: hidden;
  padding-block: clamp(5rem, 9vw, 9rem) 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #10110e;
  color: var(--paper);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(2rem, 7vw, 8rem);
}

.footer-signature {
  display: grid;
  max-width: 38rem;
  grid-template-columns: minmax(120px, 154px) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 3rem);
  align-items: center;
}

.footer-signature > div {
  display: grid;
  gap: 0.3rem;
  justify-items: end;
  text-align: right;
}

.footer-signature strong {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.footer-signature span {
  color: #aaa9a3;
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.footer-intro p {
  max-width: 29rem;
  margin-top: 1.5rem;
  color: #999a94;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.footer-column a {
  color: #c8c6bf;
  font-size: 0.83rem;
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--accent-light);
}

.footer-label {
  margin-bottom: 1rem;
  color: var(--accent-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  color: #92938c;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mobilebar {
  display: none;
}

/* Internal generated pages */
.page-hero {
  padding: clamp(11rem, 18vw, 17rem) 0 clamp(5rem, 9vw, 9rem);
  background: var(--ink);
  color: var(--paper);
}

.page-hero h1 {
  max-width: 12ch;
  font-size: clamp(4rem, 10vw, 10rem);
  line-height: 0.82;
  text-transform: uppercase;
}

.page-lead {
  max-width: 50rem;
  margin-top: 2.5rem;
  color: #b6b5af;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
}

.breadcrumbs {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 3rem;
  color: #a5a49e;
}

.breadcrumbs a {
  text-decoration: none;
}

.project-index-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
  margin-bottom: clamp(4rem, 8vw, 8rem);
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--line);
}

.project-index-intro > p {
  max-width: 46rem;
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  line-height: 1.55;
}

.project-service-links {
  display: grid;
  border-top: 1px solid var(--line);
}

.project-service-links > span,
.project-service-links a {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.project-service-links > span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.project-service-links a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  text-decoration: none;
  transition: color 0.25s ease;
}

.project-service-links a:hover,
.project-service-links a:focus-visible {
  color: var(--accent);
}

.index-project {
  display: grid;
  grid-template-columns: 1.5fr 0.5fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: end;
}

.index-project-media {
  overflow: hidden;
}

.index-project-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.index-project-media:hover img {
  transform: scale(1.018);
}

.index-project-copy > span {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.68rem;
}

.index-project-copy h2 {
  margin-top: 1rem;
}

.index-project-copy p {
  margin: 1.5rem 0 2rem;
  color: var(--muted);
}

.legal-copy {
  max-width: 900px;
  margin-left: max(var(--gutter), calc((100% - var(--wrap)) / 2));
}

.legal-copy h2 {
  margin-top: 4rem;
  font-size: clamp(2rem, 4vw, 4rem);
}

/* Progressive motion */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

.js [data-reveal="image"] {
  transform: translateY(24px);
  clip-path: inset(0 0 14% 0);
  transition: opacity 1s var(--ease), transform 1s var(--ease), clip-path 1.1s var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.js [data-reveal="image"].is-visible {
  clip-path: inset(0);
}

/* Responsive navigation */
@media (max-width: 1080px) {
  .nav {
    min-height: 72px;
  }

  .header.scrolled .nav {
    min-height: 64px;
  }

  .js .menu-button {
    position: relative;
    z-index: 3;
    display: flex;
    min-height: 44px;
    align-items: center;
    gap: 0.9rem;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--paper);
    font-family: var(--mono);
    font-size: 0.67rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .menu-glyph {
    position: relative;
    display: block;
    width: 25px;
    height: 16px;
  }

  .menu-glyph i {
    position: absolute;
    top: 5px;
    left: 0;
    width: 25px;
    height: 1px;
    background: currentColor;
    transition: transform 0.35s var(--ease), top 0.35s;
  }

  .menu-glyph i:last-child {
    top: 12px;
  }

  .menu-button[aria-expanded="true"] .menu-glyph i {
    top: 8px;
    transform: rotate(45deg);
  }

  .menu-button[aria-expanded="true"] .menu-glyph i:last-child {
    transform: rotate(-45deg);
  }

  .navlinks {
    position: fixed;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 2.5rem;
    padding: 7rem var(--gutter) 3rem;
    overflow-y: auto;
    visibility: hidden;
    background: var(--ink);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.35s, transform 0.5s var(--ease), visibility 0.35s;
  }

  html:not(.js) .header {
    position: relative;
    background: var(--ink);
  }

  html:not(.js) .nav {
    flex-wrap: wrap;
    padding-block: 1rem;
  }

  html:not(.js) .navlinks {
    position: static;
    inset: auto;
    display: grid;
    width: 100%;
    gap: 1rem;
    padding: 0;
    overflow: visible;
    visibility: visible;
    background: transparent;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  html:not(.js) .primary-links {
    display: grid;
    width: 100%;
    gap: 0.5rem;
    margin-left: 0;
  }

  html:not(.js) .menu-contact {
    display: flex;
  }

  .navlinks.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .primary-links {
    display: grid;
    gap: 0;
    width: 100%;
    margin: 0;
    border-top: 1px solid var(--line-light);
  }

  .primary-links a {
    padding: 0.45rem 0;
    border-bottom: 1px solid var(--line-light);
    font-size: clamp(2.2rem, 7vw, 5.5rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.05;
  }

  .primary-links a::after {
    display: none;
  }

  .lang {
    justify-self: start;
    padding: 0;
  }

  .lang a {
    width: 44px;
    height: 44px;
  }

  .nav-cta {
    display: none;
  }

  .menu-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line-light);
    color: #9c9c96;
    font-family: var(--mono);
    font-size: 0.65rem;
  }

  .menu-contact a {
    color: var(--paper);
    text-decoration: none;
  }
}

@media (max-width: 900px) {
  .section-heading > div,
  .section-heading > p {
    grid-column: 1 / -1;
  }

  .section-heading > p {
    margin-top: 1rem;
  }

  .hero-copy {
    grid-column: 1 / -1;
  }

  .hero-title {
    max-width: 12ch;
    font-size: clamp(4rem, 12vw, 7.6rem);
  }

  .hero-facts {
    display: none;
  }

  .metrics-grid {
    grid-template-columns: 1fr 1fr;
  }

  .metric:nth-child(3) {
    border-top: 1px solid var(--line);
  }

  .metric:nth-child(4) {
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }

  .about-media {
    grid-column: 1 / span 7;
    height: 78vw;
  }

  .about-copy {
    grid-column: 7 / -1;
    padding-left: 0;
  }

  .services-layout {
    gap: 3rem 0;
  }

  .service-stage {
    position: relative;
    top: auto;
    grid-column: 1 / -1;
    aspect-ratio: 16 / 10;
  }

  .service-list {
    grid-column: 1 / -1;
  }

  .featured-head h2 {
    grid-column: 1 / -1;
  }

  .featured-head > p:last-child {
    grid-column: 6 / -1;
    margin-top: 1rem;
  }

  .project-visual picture {
    aspect-ratio: 4 / 3;
  }

  .project-meta {
    grid-template-columns: 1fr 1fr;
  }

  .project-meta > div:nth-child(2) {
    border-right: 0;
  }

  .project-meta > div:nth-child(n+3) {
    border-top: 1px solid var(--line);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .gallery-card:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 5;
  }

  .gallery-card:nth-child(5) {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
  }

  .reasons-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-intro {
    position: relative;
    top: auto;
    grid-column: 1 / span 5;
  }

  .process-number {
    font-size: 24vw;
  }

  .process-list {
    grid-column: 6 / -1;
  }

  .process-step {
    grid-template-columns: 48px 1fr;
  }

  .reviews-summary {
    position: relative;
    top: auto;
    grid-column: 1 / -1;
    margin-bottom: 2.5rem;
  }

  .reviews-grid {
    grid-column: 1 / -1;
  }

  .faq-intro {
    grid-column: 1 / span 5;
  }

  .faq-list {
    grid-column: 6 / -1;
  }

  .contact-intro {
    position: relative;
    top: auto;
    grid-column: 1 / -1;
    margin-bottom: 4rem;
  }

  .quote-form {
    grid-column: 1 / -1;
  }

  .index-project {
    grid-template-columns: 1fr;
  }

  .project-index-intro {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 1.1rem;
    --section: 5.25rem;
  }

  body {
    padding-bottom: calc(62px + env(safe-area-inset-bottom));
  }

  h2 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .logo {
    width: 130px;
  }

  .hero-layout {
    padding-top: 8.5rem;
    padding-bottom: 5rem;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(10, 11, 9, 0.5), rgba(10, 11, 9, 0.55) 30%, rgba(10, 11, 9, 0.84)),
      linear-gradient(90deg, rgba(10, 11, 9, 0.62), transparent);
  }

  .hero-gridlines {
    inset-inline: var(--gutter);
  }

  .hero-title {
    font-size: clamp(3.25rem, 15.4vw, 4.6rem);
    line-height: 1.05;
  }

  html[lang="mk"] .hero-title {
    font-size: clamp(2.8rem, 12.8vw, 4rem);
  }

  .hero-lead {
    font-size: 0.9rem;
  }

  .actions {
    align-items: stretch;
    gap: 1rem;
  }

  .actions .button {
    width: 100%;
  }

  .scroll-cue {
    display: none;
  }

  .metric {
    min-height: 190px;
    padding: 1.3rem;
  }

  .metric > span {
    margin-bottom: 3.5rem;
  }

  .metric strong {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  .metric p {
    font-size: 0.58rem;
  }

  .about-grid {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
  }

  .about-media {
    width: calc(100% + var(--gutter));
    height: auto;
    aspect-ratio: 4 / 5;
    margin-left: calc(var(--gutter) * -1);
  }

  .about-copy {
    width: 100%;
  }

  .about-signature {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-signature-logo {
    width: min(15.5rem, 78vw);
    max-width: 100%;
  }

  .about-signature small {
    text-align: left;
  }

  .service-stage {
    display: none;
  }

  .service-row {
    grid-template-columns: 34px minmax(0, 1fr) 24px;
  }

  .service-copy strong {
    font-size: 1.55rem;
  }

  .service-thumb {
    display: block;
    min-width: 0;
    grid-column: 2 / -1;
    width: 100%;
    aspect-ratio: 16 / 10;
    margin-top: 0.5rem;
    object-fit: cover;
  }

  .service-copy em {
    opacity: 1;
    transform: none;
  }

  .marquee::before,
  .marquee::after {
    width: 1.25rem;
  }

  .marquee-toggle {
    right: 0.5rem;
  }

  .marquee-group {
    padding-block: 0.9rem;
  }

  .marquee-group span {
    font-size: 0.85rem;
  }

  .featured-head {
    display: block;
  }

  .featured-head h2 {
    font-size: clamp(4.4rem, 21vw, 6.5rem);
    line-height: 0.82;
  }

  .featured-head > p:last-child {
    margin-top: 2rem;
  }

  .project-visual picture {
    aspect-ratio: 4 / 5;
  }

  .project-view {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    text-align: center;
  }

  .project-meta {
    grid-template-columns: 1fr;
  }

  .project-meta > div,
  .project-meta > div:not(:first-child) {
    padding: 1rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .project-meta > div:nth-child(n+3) {
    border-top: 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .gallery-card:nth-child(n) {
    grid-column: auto;
    aspect-ratio: 4 / 5;
  }

  .gallery-card:nth-child(5) {
    aspect-ratio: 4 / 3;
  }

  .gallery-overlay {
    padding: 1rem;
  }

  .gallery-meta {
    max-width: 84%;
  }

  .gallery-meta strong {
    font-size: 0.9rem;
  }

  .gallery-dialog {
    width: calc(100% - 0.8rem);
    height: calc(100dvh - 0.8rem);
  }

  .gallery-dialog-panel {
    padding: 0.5rem;
  }

  .gallery-dialog-figure {
    gap: 0.7rem;
  }

  .gallery-dialog-figure figcaption {
    padding: 0 0.25rem 0.25rem;
    font-size: 0.76rem;
  }

  .gallery-dialog-close {
    top: 0.75rem;
    right: 0.75rem;
  }

  .reasons-grid {
    grid-template-columns: 1fr;
  }

  .reason {
    min-height: 250px;
  }

  .process-layout {
    display: block;
  }

  .process-intro {
    margin-bottom: 4rem;
  }

  .process-number {
    display: none;
  }

  .process-step {
    min-height: 220px;
    grid-template-columns: 38px 1fr;
  }

  .quality-band {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-auto-columns: 86%;
    gap: 0.75rem;
  }

  .review-card {
    min-height: 310px;
    padding: 1.4rem;
  }

  .rating-row {
    align-items: center;
    margin-block: 1.5rem 1.35rem;
  }

  .coverage h2 {
    font-size: clamp(3rem, 14vw, 4.3rem);
  }

  .faq-layout {
    display: block;
  }

  .faq-intro {
    margin-bottom: 3.5rem;
  }

  .faq summary {
    grid-template-columns: 34px 1fr 22px;
    gap: 0.75rem;
  }

  .faq details[open] > div > p {
    padding-left: 46px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field.full,
  .form-submit.full {
    grid-column: auto;
  }

  .form-submit {
    align-items: stretch;
    flex-direction: column;
  }

  .form-submit .button {
    width: 100%;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-column {
    padding-top: 2rem;
    border-top: 1px solid var(--line-light);
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobilebar {
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 0.8fr 1fr 1.2fr;
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    background: var(--ink);
    color: var(--paper);
  }

  .mobilebar a {
    display: grid;
    min-height: 62px;
    place-items: center;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    font-family: var(--mono);
    font-size: 0.58rem;
    letter-spacing: 0.07em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
  }

  .mobilebar a:last-child {
    border-right: 0;
    background: var(--paper);
    color: var(--ink);
  }

  .page-hero {
    padding-top: 9rem;
  }

  .page-hero h1 {
    font-size: clamp(3.2rem, 16vw, 5.2rem);
  }

  html[lang="mk"] .page-hero h1 {
    font-size: clamp(2.55rem, 12vw, 4.25rem);
    line-height: 0.96;
    overflow-wrap: break-word;
  }

  .index-project-copy h2 {
    font-size: 4rem;
  }
}

@media (min-width: 1081px) and (max-height: 760px) {
  .hero {
    min-height: 760px;
  }

  .hero-layout {
    min-height: 760px;
    padding-top: 9rem;
    padding-bottom: 5rem;
  }

  .hero-title {
    font-size: clamp(4.5rem, 8vw, 7.2rem);
  }

  .hero-lead {
    margin-top: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .marquee-track {
    animation: none;
    width: 100%;
  }

  .marquee::before,
  .marquee::after {
    display: none;
  }

  .marquee-group {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    white-space: normal;
  }

  .marquee-group[aria-hidden="true"] {
    display: none;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    clip-path: none;
  }
}
