/* ==========================================================================
   ОБСИДИАН — архитектурное бюро
   Редакционный минимализм: бумага, графит, терракота.
   ========================================================================== */

:root {
  --paper: #f3efe8;
  --paper-2: #ebe5da;
  --sand: #e4dccd;
  --stone: #cfc5b3;
  --clay: #b9ae9a;
  --umber: #8c8374;
  --mute: #6b655a;
  --ink: #15140f;
  --accent: #a8481f;
  --ochre: #c8923f;
  --line: rgba(21, 20, 15, .18);
  --line-soft: rgba(21, 20, 15, .1);
  --line-light: rgba(243, 239, 232, .2);

  --serif: "Cormorant Garamond", "Prata", "Times New Roman", Georgia, serif;
  --sans: "Manrope", "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --gutter: clamp(1.125rem, 4vw, 4.5rem);
  --gap: clamp(1rem, 2vw, 2rem);
  --section: clamp(5rem, 11vw, 11.5rem);
  --header-h: clamp(4rem, 6vw, 5.5rem);

  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, fieldset, legend { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
fieldset { border: 0; min-width: 0; }
address { font-style: normal; }
[hidden] { display: none !important; }

html { background: var(--paper); }
body {
  font-family: var(--sans);
  font-size: clamp(.9375rem, .9rem + .2vw, 1.0625rem);
  line-height: 1.65;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--accent); color: var(--paper); }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
.site-footer :focus-visible, .next :focus-visible, .next:focus-visible { outline-color: var(--ochre); }

.skip-link {
  position: fixed; top: .75rem; left: .75rem; z-index: 200;
  padding: .8em 1.2em; background: var(--ink); color: var(--paper);
  font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  transform: translateY(-200%); transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Typography ---------- */
.caps {
  font-family: var(--sans);
  font-size: clamp(.6875rem, .66rem + .1vw, .78rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.mute { color: var(--mute); }
.accent { color: var(--accent); }

.display {
  font-family: var(--serif);
  font-weight: 300;
  line-height: .92;
  letter-spacing: -.022em;
  overflow-wrap: break-word;
}
.display em, .h2 em, .manifest__text em, .cta__title em { font-style: italic; font-weight: 300; color: var(--accent); }

.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 5.2vw, 5.25rem);
  line-height: 1;
  letter-spacing: -.015em;
  overflow-wrap: break-word;
}
.h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.6vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -.01em;
}
.lead {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.1vw, 2.125rem);
  line-height: 1.28;
  font-weight: 400;
}
.prose p + p { margin-top: 1.25em; }
.prose { max-width: 38em; }

.link {
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: .2em;
  transition: background-size .6s var(--ease), color .3s;
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; color: var(--accent); }

.arrow-link { display: inline-flex; align-items: center; gap: .8em; }
.arrow-link .arrow { display: inline-block; transition: transform .5s var(--ease); }
.arrow-link:hover .arrow { transform: translateX(6px); }
.arrow-link:hover { color: var(--accent); }

/* Mask-reveal lines */
.line { display: block; overflow: hidden; padding: .12em .06em .17em; margin: -.12em -.06em -.17em; }
.line > span { display: block; }
.js .line > span { transform: translateY(112%); transition: transform 1.25s var(--ease); transition-delay: var(--d, 0s); will-change: transform; }
.js [data-lines].is-in .line > span,
.js.is-ready .hero .line > span,
.js.is-ready .page-hero .line > span { transform: none; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 1em;
  padding: 1.2em 2em;
  border: 1px solid var(--ink); border-radius: 999px;
  font-size: .75rem; font-weight: 500; line-height: 1; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink); background: transparent;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: var(--ink); transform: translateY(102%); transition: transform .6s var(--ease);
}
.btn:hover, .btn:focus-visible { color: var(--paper); }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn .arrow { transition: transform .5s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn--light { border-color: var(--line-light); color: var(--paper); }
.btn--light::before { background: var(--paper); }
.btn--light:hover, .btn--light:focus-visible { color: var(--ink); border-color: var(--paper); }

/* ---------- Curtain (page transitions) ---------- */
.curtain { display: none; }
.js .curtain {
  display: block; position: fixed; inset: 0; z-index: 150; background: var(--paper);
  pointer-events: none; opacity: 1; transition: opacity .55s var(--ease-io);
  animation: curtain-safety 0s linear 4s forwards;
}
.js.is-ready .curtain { opacity: 0; animation: none; }
.js.is-leaving .curtain { opacity: 1; }
@keyframes curtain-safety { to { opacity: 0; visibility: hidden; } }

/* ---------- Cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 140; pointer-events: none;
  width: 0; height: 0; opacity: 0; transition: opacity .3s;
  will-change: transform;
}
.cursor.is-visible { opacity: 1; }
.cursor.is-link { opacity: 0; }
.cursor__dot {
  position: absolute; top: -2.75rem; left: -2.75rem;
  width: 5.5rem; height: 5.5rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: var(--paper);
  transform: scale(.09);
  transition: transform .55s var(--ease);
}
.cursor.is-active .cursor__dot { transform: scale(1); }
.cursor__dot span { font-size: .625rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; opacity: 0; transition: opacity .25s; }
.cursor.is-active .cursor__dot span { opacity: 1; transition-delay: .15s; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 0 var(--gutter);
  border-bottom: 1px solid transparent;
  transition: transform .7s var(--ease), background-color .4s, border-color .4s;
}
.site-header.is-scrolled { background: rgba(243, 239, 232, .94); border-bottom-color: var(--line); }
@supports ((-webkit-backdrop-filter: blur(8px)) or (backdrop-filter: blur(8px))) {
  .site-header.is-scrolled { background: rgba(243, 239, 232, .82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
}
.site-header.is-hidden { transform: translateY(-101%); }
.menu-open .site-header { transform: none; background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

.logo { display: inline-flex; align-items: center; gap: .75rem; font-size: .8125rem; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; }
.logo svg { width: 1.5rem; height: 1.5rem; flex: none; transition: transform .9s var(--ease); }
.logo:hover svg { transform: rotate(72deg); }

.nav ul { display: flex; align-items: center; gap: clamp(1.25rem, 2.6vw, 2.75rem); }
.nav a { position: relative; display: inline-block; padding: .5em 0; font-size: .75rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .15em; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current] { color: var(--accent); }
.nav a[aria-current]::after { transform: scaleX(1); }

.header-cta { display: inline-flex; align-items: center; gap: .7em; font-size: .75rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.header-cta::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); transition: transform .5s var(--ease); }
.header-cta:hover::before { transform: scale(1.6); }

.burger { display: none; position: relative; width: 2.75rem; height: 2.75rem; margin-right: -.5rem; }
.burger span { position: absolute; left: .5rem; right: .5rem; height: 1px; background: var(--ink); transition: transform .6s var(--ease), top .6s var(--ease); }
.burger span:nth-child(1) { top: calc(50% - 4px); }
.burger span:nth-child(2) { top: calc(50% + 4px); }
.menu-open .burger span:nth-child(1) { top: 50%; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 50%; transform: rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  padding: calc(var(--header-h) + 1.5rem) var(--gutter) 1.75rem;
  background: var(--paper); overflow-y: auto;
  visibility: hidden; opacity: 0;
  transition: opacity .5s var(--ease), visibility 0s linear .5s;
}
.menu-open .menu { visibility: visible; opacity: 1; transition-delay: 0s; }
.menu-open body, .menu-open { overflow: hidden; }
.menu__list { border-top: 1px solid var(--line); }
.menu__link {
  display: flex; align-items: baseline; gap: 1rem; padding: .3em 0;
  border-bottom: 1px solid var(--line); overflow: hidden;
  font-family: var(--serif); font-size: clamp(2.5rem, 11vw, 4.5rem); font-weight: 300; line-height: 1.12; letter-spacing: -.015em;
}
.menu__link .caps { color: var(--mute); transform: translateY(-.9em); }
.menu__link > span:last-child { display: block; transform: translateY(110%); transition: transform .9s var(--ease); transition-delay: var(--d, 0s); }
.menu-open .menu__link > span:last-child { transform: none; }
.menu__link[aria-current] { color: var(--accent); font-style: italic; }
.menu__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; color: var(--mute); }
.menu__foot a { color: var(--ink); }

/* ---------- Layout ---------- */
main { display: block; }
.section { padding: var(--section) var(--gutter); }
.section--tight { padding-top: 0; }
.section--sand { background: var(--paper-2); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }

.section-head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 1.25rem; align-items: end;
  padding-top: 1.25rem; margin-bottom: clamp(2.5rem, 6vw, 6rem);
  position: relative;
}
.section-head::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line); transform-origin: left; }
.js .section-head[data-reveal]::before { transform: scaleX(0); transition: transform 1.4s var(--ease-io); }
.js .section-head[data-reveal].is-in::before { transform: scaleX(1); }
.section-head__num { grid-column: 1 / 3; align-self: start; color: var(--mute); }
.section-head__title { grid-column: 3 / 10; }
.section-head__aside { grid-column: 10 / 13; justify-self: end; text-align: right; }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="art"] { opacity: 1; transform: none; -webkit-clip-path: inset(0 0 100% 0); clip-path: inset(0 0 100% 0); transition: clip-path 1.35s var(--ease-io), -webkit-clip-path 1.35s var(--ease-io); transition-delay: var(--d, 0s); }
.js [data-reveal="art"].is-in { -webkit-clip-path: inset(0 0 0 0); clip-path: inset(0 0 0 0); }
.js [data-reveal="art"] svg { transform: scale(1.18); transition: transform 1.9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="art"].is-in svg { transform: scale(1); }

/* ---------- Art ---------- */
.art { position: relative; overflow: hidden; background: var(--sand); aspect-ratio: var(--ratio, 4 / 3); }
.art svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- Hero (index) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  padding: calc(var(--header-h) + clamp(1rem, 2vw, 2rem)) var(--gutter) 0;
}
.hero__meta { display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; color: var(--mute); }
.hero__title {
  margin: auto 0 clamp(1.5rem, 3vw, 3rem);
  padding-top: 2rem;
  font-size: clamp(2.9rem, min(11.2vw, 19vh), 13.5rem);
  line-height: .9;
}
.hero__title .line:nth-child(2) > span { margin-left: clamp(0rem, 11vw, 14rem); }
.hero__title .line:nth-child(3) > span { margin-left: clamp(3rem, 30vw, 38rem); }
.hero__bottom {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end;
  padding: 1.25rem 0 clamp(1.25rem, 2.5vw, 2.5rem); border-top: 1px solid var(--line);
}
.hero__lead { grid-column: 1 / 6; max-width: 30em; }
.hero__cta { grid-column: 7 / 10; }
.scroll-hint { grid-column: 10 / 13; justify-self: end; display: inline-flex; align-items: center; gap: 1rem; color: var(--mute); }
.scroll-hint i { position: relative; display: block; width: 1px; height: 3rem; background: var(--line); overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; inset: 0; background: var(--accent); animation: scroll-hint 2.4s var(--ease-io) infinite; }
@keyframes scroll-hint { 0% { transform: translateY(-100%); } 55% { transform: translateY(0); } 100% { transform: translateY(100%); } }

.hero__strip { margin: 0 calc(var(--gutter) * -1); height: clamp(5.5rem, 11vw, 12rem); }
.hero__strip svg { width: 100%; height: 100%; }
.hero__strip .draw { fill: none; stroke: var(--ink); stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .hero__strip .draw { stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s var(--ease-io); transition-delay: var(--d, .4s); }
.js.is-ready .hero__strip .draw { stroke-dashoffset: 0; }
.hero__sun { fill: var(--accent); transform-box: fill-box; transform-origin: center; }
.js .hero__sun { opacity: 0; transform: translateY(40px) scale(.6); transition: opacity 1.4s var(--ease) 1.5s, transform 2s var(--ease) 1.5s; }
.js.is-ready .hero__sun { opacity: 1; transform: none; }

.js [data-hero-fade] { opacity: 0; transform: translateY(14px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, .8s); }
.js.is-ready [data-hero-fade] { opacity: 1; transform: none; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(.9rem, 1.6vw, 1.5rem) 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; flex: none; align-items: center; }
.marquee__group span { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.5rem, 3vw, 2.75rem); line-height: 1.1; padding: 0 clamp(1rem, 2vw, 2rem); white-space: nowrap; }
.marquee__group i { flex: none; width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: clamp(3rem, 7vw, 7.5rem); align-items: start; transition: opacity .35s var(--ease); }
.cards.is-switching { opacity: 0; }
.card { grid-column: span 12; min-width: 0; }
.card__link { display: block; }
.card__meta { display: grid; grid-template-columns: auto 1fr auto; column-gap: 1rem; align-items: baseline; padding-top: 1rem; margin-top: 1rem; border-top: 1px solid var(--line); }
.card__num { color: var(--mute); }
.card__title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.5vw, 2.6rem); line-height: 1.05; letter-spacing: -.01em; transition: color .4s; }
.card__arrow { font-size: 1.1rem; opacity: 0; transform: translate(-8px, 8px); transition: opacity .5s var(--ease), transform .5s var(--ease); color: var(--accent); }
.card__info { grid-column: 2 / -1; margin-top: .5rem; color: var(--mute); }
.card__link:hover .card__title, .card__link:focus-visible .card__title { color: var(--accent); }
.card__link:hover .card__arrow, .card__link:focus-visible .card__arrow { opacity: 1; transform: none; }
.card__link .art svg { transition: transform 1.4s var(--ease); }
.js .card__link:hover [data-reveal="art"].is-in svg, .card__link:hover .art svg { transform: scale(1.045); transition-delay: 0s; }

@media (min-width: 900px) {
  .card[data-slot="0"] { grid-column: 1 / 8; --ratio: 4 / 3; }
  .card[data-slot="1"] { grid-column: 9 / 13; --ratio: 3 / 4; margin-top: clamp(4rem, 11vw, 12rem); }
  .card[data-slot="2"] { grid-column: 1 / 5; --ratio: 3 / 4; }
  .card[data-slot="3"] { grid-column: 6 / 13; --ratio: 16 / 10; margin-top: clamp(2rem, 5vw, 6rem); }
  .card[data-slot="4"] { grid-column: 2 / 7; --ratio: 1 / 1; }
  .card[data-slot="5"] { grid-column: 8 / 13; --ratio: 4 / 5; margin-top: clamp(3rem, 8vw, 9rem); }
}
@media (min-width: 600px) and (max-width: 899.98px) {
  .card { grid-column: span 6; --ratio: 4 / 5; }
  .card[data-slot="1"], .card[data-slot="3"], .card[data-slot="5"] { margin-top: 3.5rem; }
}
@media (max-width: 599.98px) {
  .card[data-slot="1"], .card[data-slot="4"] { --ratio: 1 / 1; }
  .card[data-slot="2"], .card[data-slot="5"] { --ratio: 4 / 5; }
}

/* ---------- Manifest ---------- */
.manifest__text { grid-column: 3 / 13; font-family: var(--serif); font-weight: 300; font-size: clamp(1.9rem, 4.6vw, 4.75rem); line-height: 1.08; letter-spacing: -.015em; }
.manifest__label { grid-column: 1 / 3; color: var(--mute); padding-top: .6em; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(3rem, 7vw, 7rem); border-top: 1px solid var(--line); }
.principle { padding: 1.5rem clamp(1rem, 2vw, 2.5rem) 0 0; }
.principle + .principle { padding-left: clamp(1rem, 2vw, 2.5rem); border-left: 1px solid var(--line); }
.principle .caps { color: var(--accent); }
.principle h3 { margin: clamp(1.5rem, 4vw, 4rem) 0 1rem; }
.principle p { color: var(--mute); max-width: 30em; }

/* ---------- Numbers ---------- */
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.number { padding: clamp(1.5rem, 3vw, 3rem) clamp(.75rem, 1.5vw, 2rem) clamp(1.5rem, 3vw, 3rem) 0; }
.number + .number { padding-left: clamp(.75rem, 1.5vw, 2rem); border-left: 1px solid var(--line); }
.number__value { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 6.4vw, 7rem); line-height: 1; letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.number__value sup { font-size: .32em; font-family: var(--sans); font-weight: 500; letter-spacing: .1em; vertical-align: top; position: relative; top: .5em; margin-left: .3em; color: var(--accent); }
.number__label { margin-top: 1.25rem; color: var(--mute); max-width: 16em; }

/* ---------- Rows (services, awards, process) ---------- */
.rows { border-top: 1px solid var(--line); }
.row { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: baseline; padding: clamp(1.25rem, 2.4vw, 2.25rem) 0; border-bottom: 1px solid var(--line); }
a.row { transition: padding .6s var(--ease), color .4s; }
a.row::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: 0; }
a.row > * { position: relative; z-index: 1; }
a.row:hover, a.row:focus-visible { color: var(--paper); padding-left: clamp(.75rem, 1.5vw, 1.5rem); padding-right: clamp(.75rem, 1.5vw, 1.5rem); }
a.row:hover::before, a.row:focus-visible::before { transform: scaleY(1); }
a.row:hover .mute, a.row:focus-visible .mute { color: var(--clay); }
.row__num { grid-column: 1 / 3; color: var(--mute); }
.row__title { grid-column: 3 / 8; font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 3.4vw, 3.5rem); line-height: 1.05; letter-spacing: -.01em; }
.row__text { grid-column: 8 / 12; color: var(--mute); transition: color .4s; }
.row__end { grid-column: 12 / 13; justify-self: end; }

.list-row { display: grid; grid-template-columns: 5rem minmax(0, 1.4fr) minmax(0, 1fr); column-gap: var(--gap); align-items: baseline; padding: 1.1rem 0; border-bottom: 1px solid var(--line); transition: padding-left .5s var(--ease), color .3s; }
.list-row:hover { padding-left: .75rem; color: var(--accent); }
.list-row__title { font-family: var(--serif); font-size: clamp(1.2rem, 1.7vw, 1.6rem); line-height: 1.2; }
.list-row .caps { color: var(--mute); }
.list-row > :last-child { text-align: right; }

/* ---------- CTA ---------- */
.cta { text-align: left; padding-bottom: var(--section); }
.cta__title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 9.4vw, 11rem); line-height: .94; letter-spacing: -.022em; margin: 1.5rem 0 clamp(2rem, 4vw, 4rem); overflow-wrap: break-word; }
.cta__title a { transition: color .5s; }
.cta__title a:hover { color: var(--accent); }
.cta__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.cta__row p { max-width: 32em; color: var(--mute); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(3rem, 8vw, 8rem)) var(--gutter) clamp(2.5rem, 5vw, 5rem); }
.page-hero__top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem 2rem; color: var(--mute); margin-bottom: clamp(1.5rem, 3vw, 3rem); }
.page-hero__top a:hover { color: var(--accent); }
.page-hero__title { font-size: clamp(2.75rem, 9.6vw, 11.5rem); }
.page-hero__title .indent > span { margin-left: clamp(0rem, 9vw, 11rem); }
.page-hero__bottom { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 2rem; margin-top: clamp(2.5rem, 5vw, 5rem); padding-top: 1.5rem; border-top: 1px solid var(--line); }
.page-hero__lead { grid-column: 6 / 12; }
.page-hero__note { grid-column: 1 / 5; color: var(--mute); }

/* ---------- Filter ---------- */
.filter-bar { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem 2rem; padding: 1.25rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: clamp(2.5rem, 5vw, 5rem); }
.filter { display: flex; flex-wrap: wrap; gap: .25rem clamp(1rem, 2.4vw, 2.5rem); }
.filter__btn { position: relative; font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 2rem); line-height: 1.3; color: var(--mute); transition: color .4s; padding: .1em 0; }
.filter__btn sup { font-family: var(--sans); font-size: .625rem; font-weight: 500; letter-spacing: .1em; margin-left: .35em; vertical-align: top; position: relative; top: .5em; }
.filter__btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.filter__btn:hover { color: var(--ink); }
.filter__btn[aria-pressed="true"] { color: var(--ink); font-style: italic; }
.filter__btn[aria-pressed="true"]::after { transform: scaleX(1); transform-origin: left; }
.filter-count { color: var(--mute); }

/* ---------- Project page ---------- */
.project-hero { padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 6rem)) var(--gutter) clamp(2rem, 4vw, 4rem); }
.project-hero__title { font-size: clamp(2.75rem, 9.2vw, 11rem); margin-bottom: clamp(1.5rem, 3vw, 3rem); }
.project-hero__lead { grid-column: 6 / 12; }
.project-hero__facts { grid-column: 1 / 5; display: flex; flex-direction: column; gap: .4rem; color: var(--mute); }
.project-visual { padding: 0 var(--gutter); }
.project-visual .art { --ratio: 16 / 9; }
.fig-caption { display: flex; justify-content: space-between; gap: 1rem; margin-top: .9rem; color: var(--mute); }

.passport__label { grid-column: 1 / 5; color: var(--mute); }
.passport__list { grid-column: 6 / 13; border-top: 1px solid var(--line); }
.passport__row { display: grid; grid-template-columns: minmax(7rem, 1fr) 2.2fr; column-gap: var(--gap); padding: 1.05rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.passport__row dt { color: var(--mute); }
.passport__row dd { font-family: var(--serif); font-size: clamp(1.2rem, 1.7vw, 1.6rem); line-height: 1.25; }

.story__label { grid-column: 1 / 5; color: var(--mute); position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; }
.story__body { grid-column: 6 / 12; }
.story__body p:first-child { font-family: var(--serif); font-size: clamp(1.35rem, 2.1vw, 2.125rem); line-height: 1.28; margin-bottom: 1.5em; }
.story__body p + p { margin-top: 1.25em; }
.story__body p:not(:first-child) { max-width: 38em; }

.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.gallery__item:nth-child(1) { grid-column: 1 / 9; --ratio: 4 / 3; }
.gallery__item:nth-child(2) { grid-column: 9 / 13; --ratio: 3 / 4; margin-top: clamp(3rem, 9vw, 10rem); }
.gallery__item:nth-child(3) { grid-column: 2 / 6; --ratio: 1 / 1; }
.gallery__item:nth-child(4) { grid-column: 7 / 13; }
.art--plan { background: var(--paper-2); }

.materials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.swatch { background: var(--paper); padding: .75rem; display: flex; flex-direction: column; gap: .75rem; }
.swatch__chip { aspect-ratio: 3 / 2; }
.swatch--charred { background: #1b1a15 repeating-linear-gradient(90deg, rgba(243, 239, 232, .08) 0 1px, transparent 1px 13px); }
.swatch--concrete { background: #b7b1a4 radial-gradient(rgba(21, 20, 15, .2) 1px, transparent 1.3px) 0 0 / 9px 9px; }
.swatch--stone { background: #8c8374 linear-gradient(115deg, transparent 30%, rgba(243, 239, 232, .22) 30.5% 31%, transparent 31.5% 62%, rgba(21, 20, 15, .25) 62.5% 63%, transparent 63.5%); }
.swatch--brass { background: #c8923f linear-gradient(100deg, transparent 40%, rgba(243, 239, 232, .22) 50%, transparent 60%); }
.swatch--wood { background: #c4a06d repeating-linear-gradient(90deg, rgba(21, 20, 15, .13) 0 1px, transparent 1px 6px, rgba(21, 20, 15, .07) 6px 7px, transparent 7px 15px); }
.swatch--brick { background-color: #a8481f; background-image: linear-gradient(rgba(243, 239, 232, .3) 2px, transparent 2px), linear-gradient(90deg, rgba(243, 239, 232, .3) 2px, transparent 2px); background-size: 46px 18px; }
.swatch--plaster { background: #ece6db radial-gradient(rgba(21, 20, 15, .07) 1px, transparent 1.4px) 0 0 / 5px 5px; }
.swatch--glass { background: #cdd1c6 linear-gradient(125deg, transparent 35%, rgba(243, 239, 232, .55) 36% 44%, transparent 45% 52%, rgba(243, 239, 232, .4) 53% 56%, transparent 57%); }
.swatch--steel { background: #35332d linear-gradient(180deg, rgba(243, 239, 232, .08), transparent 60%); }
.swatch--terrazzo { background-color: #e6dfd2; background-image: radial-gradient(#a8481f 2px, transparent 2.4px), radial-gradient(#15140f 1.6px, transparent 2px), radial-gradient(#c8923f 2.4px, transparent 2.8px); background-size: 31px 29px, 23px 27px, 41px 37px; background-position: 0 0, 11px 7px, 19px 23px; }

.quote { grid-column: 3 / 12; }
.quote blockquote { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.7rem, 3.8vw, 3.9rem); line-height: 1.14; letter-spacing: -.01em; }
.quote blockquote::before { content: "«"; color: var(--accent); margin-left: -.55em; position: absolute; }
.quote blockquote { position: relative; }
.quote figcaption { margin-top: 2rem; color: var(--mute); display: flex; align-items: center; gap: 1rem; }
.quote figcaption::before { content: ""; width: 3rem; height: 1px; background: var(--accent); }

.next { display: block; background: var(--ink); color: var(--paper); padding: clamp(3.5rem, 8vw, 8rem) var(--gutter); overflow: hidden; }
.next__inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.next__text { grid-column: 1 / 9; }
.next__label { color: var(--clay); display: flex; gap: 1.5rem; }
.next__title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 8.4vw, 10rem); line-height: .95; letter-spacing: -.022em; margin-top: 1.5rem; overflow-wrap: break-word; transition: transform .9s var(--ease), color .5s; }
.next__title .arrow { display: inline-block; color: var(--ochre); transition: transform .9s var(--ease); }
.next__art { grid-column: 9 / 13; --ratio: 4 / 3; }
.next__art svg { transition: transform 1.6s var(--ease); }
.next:hover .next__title { transform: translateX(clamp(.5rem, 1.5vw, 1.5rem)); }
.next:hover .next__title .arrow { transform: translateX(.2em); }
.next:hover .next__art svg { transform: scale(1.06); }

/* ---------- Studio ---------- */
.studio-visual { padding: 0 var(--gutter); }
.studio-visual .art { --ratio: 21 / 9; }
.approach__label { grid-column: 1 / 5; position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; }
.approach__label .caps { color: var(--mute); display: block; margin-bottom: 1.25rem; }
.approach__body { grid-column: 6 / 13; }
.approach__item { display: grid; grid-template-columns: 4rem minmax(0, 1fr); column-gap: var(--gap); padding: clamp(1.5rem, 3vw, 2.75rem) 0; border-top: 1px solid var(--line); }
.approach__item:last-child { border-bottom: 1px solid var(--line); }
.approach__item .caps { color: var(--accent); padding-top: .6em; }
.approach__item h3 { margin-bottom: .9rem; }
.approach__item p { color: var(--mute); max-width: 36em; }

.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); row-gap: clamp(2.5rem, 5vw, 5rem); }
.member:nth-child(3n + 2) { margin-top: clamp(0rem, 5vw, 5rem); }
.member .art { --ratio: 300 / 380; background: var(--stone); }
.member .art svg { transition: transform 1.4s var(--ease); }
.member:hover .art svg { transform: scale(1.04); }
.member__body { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: baseline; padding-top: 1rem; margin-top: 1rem; border-top: 1px solid var(--line); }
.member__num { color: var(--mute); }
.member__name { font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 2rem); line-height: 1.1; }
.member__role { grid-column: 2; margin-top: .45rem; color: var(--accent); }
.member__bio { grid-column: 2; margin-top: .75rem; color: var(--mute); font-size: .9375em; max-width: 28em; }

.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 6vw, 7rem); row-gap: 4rem; }
.two-col h3 { margin-bottom: 1.5rem; }
.two-col .rows-list { border-top: 1px solid var(--line); }

.process { counter-reset: step; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: baseline; padding: clamp(1.5rem, 3vw, 2.75rem) 0; border-bottom: 1px solid var(--line); position: relative; }
.step__num { grid-column: 1 / 3; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(2rem, 4vw, 4rem); line-height: 1; color: var(--accent); }
.step__title { grid-column: 3 / 7; }
.step__text { grid-column: 7 / 11; color: var(--mute); }
.step__time { grid-column: 11 / 13; justify-self: end; text-align: right; color: var(--mute); }

/* ---------- Contacts ---------- */
.direct { display: flex; flex-direction: column; gap: .35rem; }
.direct a { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.6rem); line-height: 1.15; align-self: flex-start; }
.contacts-grid { align-items: start; row-gap: 4rem; }
.brief { grid-column: 1 / 8; }
.contacts-aside { grid-column: 9 / 13; position: sticky; top: calc(var(--header-h) + 1.5rem); }

.form-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--ink); margin-bottom: 1rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); }
.field { position: relative; padding: 1.5rem 0 0; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field__label { display: flex; justify-content: space-between; gap: 1rem; color: var(--mute); margin-bottom: .35rem; }
.field__label b { font-weight: 500; color: var(--accent); }
.field__input {
  display: block; width: 100%; padding: .45em 0 .55em;
  font-family: var(--serif); font-size: clamp(1.3rem, 1.9vw, 1.75rem); line-height: 1.3;
  background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  transition: border-color .4s;
  -webkit-appearance: none; appearance: none;
}
.field__input::placeholder { color: var(--clay); opacity: 1; }
.field__input:hover { border-bottom-color: var(--ink); }
.field__input:focus-visible { outline: none; border-bottom-color: var(--accent); box-shadow: 0 1px 0 0 var(--accent); }
textarea.field__input { resize: vertical; min-height: 7.5rem; }
select.field__input { padding-right: 2rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%2315140f' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat right center / 1rem 1rem; cursor: pointer; }
select.field__input option { font-family: var(--sans); font-size: 1rem; }
.field__error { min-height: 1.4em; margin-top: .4rem; font-size: .75rem; letter-spacing: .02em; color: var(--accent); }
.is-invalid .field__input { border-bottom-color: var(--accent); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; padding-top: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: .85em 1.35em; border: 1px solid var(--line); border-radius: 999px; font-size: .75rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; transition: background-color .4s var(--ease), color .4s, border-color .4s; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }

.check { position: relative; display: flex; align-items: flex-start; gap: .9rem; cursor: pointer; color: var(--mute); font-size: .875rem; line-height: 1.5; }
.check input { position: absolute; opacity: 0; width: 1.25rem; height: 1.25rem; margin: 0; }
.check i { flex: none; position: relative; width: 1.25rem; height: 1.25rem; margin-top: .1rem; border: 1px solid var(--ink); transition: background-color .3s; }
.check i::after { content: ""; position: absolute; left: .38rem; top: .12rem; width: .35rem; height: .7rem; border: solid var(--paper); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) scale(0); transition: transform .3s var(--ease); }
.check input:checked + i { background: var(--ink); }
.check input:checked + i::after { transform: rotate(45deg) scale(1); }
.check input:focus-visible + i { outline: 2px solid var(--accent); outline-offset: 3px; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 2rem; }
.form-foot .mute { font-size: .8125rem; max-width: 24em; }

.form-success { border-top: 1px solid var(--ink); padding-top: clamp(2rem, 4vw, 4rem); }
.form-success:focus { outline: none; }
.form-success__mark { width: 4.5rem; height: 4.5rem; margin-bottom: 2rem; }
.form-success__mark circle { fill: none; stroke: var(--accent); stroke-width: 1; }
.form-success__mark path { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw-check .9s var(--ease) .3s forwards; }
@keyframes draw-check { to { stroke-dashoffset: 0; } }
.form-success h2 { margin-bottom: 1.5rem; }
.form-success p { max-width: 34em; color: var(--mute); margin-bottom: 2rem; }

.office { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.office:last-of-type { border-bottom: 1px solid var(--line); }
.office h3 { margin: .6rem 0 .9rem; }
.office p { color: var(--mute); }
.office a:not(.caps) { color: var(--ink); }
.office .caps { color: var(--mute); }
.office__map-link { display: inline-block; margin-top: 1rem; color: var(--accent) !important; }

.map-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 1rem 2rem; margin-bottom: 1.5rem; }
.map-tabs { display: flex; gap: 1.75rem; }
.map { position: relative; border: 1px solid var(--line); background: var(--paper-2); aspect-ratio: 16 / 8; min-height: 20rem; overflow: hidden; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__panel { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility 0s linear .8s; }
.map__panel.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.map .water { fill: none; stroke: var(--stone); stroke-linecap: round; stroke-linejoin: round; }
.map .road { fill: none; stroke: var(--ink); stroke-width: 1; stroke-opacity: .35; }
.map .road--main { stroke-opacity: .7; stroke-width: 1.4; }
.map .block { fill: var(--sand); }
.map text { font-family: var(--sans); font-size: 11px; letter-spacing: .16em; fill: var(--mute); text-transform: uppercase; }
.map .pin-label { fill: var(--ink); font-weight: 600; }
.map .pin { fill: var(--accent); }
.map .pin-ring { fill: none; stroke: var(--accent); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: pin-pulse 2.8s var(--ease) infinite; }
@keyframes pin-pulse { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(2.6); opacity: 0; } }
.map__coords { position: absolute; left: 1rem; bottom: .9rem; color: var(--mute); z-index: 2; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: clamp(3.5rem, 7vw, 7rem) var(--gutter) 1.5rem; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 3rem; }
.footer__lead { grid-column: 1 / 6; }
.footer__lead p { font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 2.8vw, 2.75rem); line-height: 1.12; margin-bottom: 2rem; max-width: 14em; }
.footer__col { grid-column: span 2; }
.footer__col--wide { grid-column: span 2; }
.footer__nav { grid-column: 7 / 9; }
.footer__col h2, .footer__nav h2 { color: var(--clay); margin-bottom: 1.25rem; font-weight: 500; }
.footer__col p, .footer__col a, .footer__nav a { display: block; color: var(--paper); font-size: .9375rem; line-height: 1.7; }
.footer__col p { color: var(--clay); }
.footer__nav a, .footer__col a { width: fit-content; transition: color .3s, transform .5s var(--ease); }
.footer__nav a:hover, .footer__col a:hover { color: var(--ochre); transform: translateX(4px); }
.footer__word { margin: clamp(2.5rem, 6vw, 6rem) 0 clamp(1rem, 2vw, 2rem); font-family: var(--serif); font-weight: 300; font-size: clamp(4rem, 19vw, 24rem); line-height: .8; letter-spacing: -.03em; white-space: nowrap; color: var(--paper); padding: .08em 0 .12em; overflow: hidden; -webkit-user-select: none; user-select: none; }
.footer__word span { display: inline-block; }
.js .footer__word[data-reveal] { opacity: 1; transform: none; }
.js .footer__word[data-reveal] span { transform: translateY(100%); opacity: 0; transition: transform 1.4s var(--ease), opacity 1.2s var(--ease); }
.js .footer__word[data-reveal].is-in span { transform: none; opacity: 1; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line-light); color: var(--clay); }
.footer__bottom a { color: var(--paper); transition: color .3s; }
.footer__bottom a:hover { color: var(--ochre); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .footer__lead { grid-column: 1 / 13; }
  .footer__nav { grid-column: 1 / 5; }
  .footer__col { grid-column: span 4; }
}

@media (max-width: 899.98px) {
  .js .nav, .js .header-cta { display: none; }
  .js .burger { display: block; }
  html:not(.js) .site-header { position: static; height: auto; flex-wrap: wrap; padding-top: 1rem; padding-bottom: 1rem; }
  html:not(.js) .nav ul { flex-wrap: wrap; }

  .section-head__num { grid-column: 1 / 13; }
  .section-head__title { grid-column: 1 / 13; }
  .section-head__aside { grid-column: 1 / 13; justify-self: start; text-align: left; }

  .hero__lead { grid-column: 1 / 13; }
  .hero__cta { grid-column: 1 / 9; margin-top: 1.5rem; }
  .scroll-hint { grid-column: 9 / 13; }

  .manifest__label { grid-column: 1 / 13; padding: 0 0 1.25rem; }
  .manifest__text { grid-column: 1 / 13; }
  .principles { grid-template-columns: 1fr; }
  .principle, .principle + .principle { padding: 1.5rem 0 2rem; border-left: 0; }
  .principle + .principle { border-top: 1px solid var(--line); }
  .principle h3 { margin-top: 1.25rem; }

  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .number:nth-child(3) { padding-left: 0; border-left: 0; }
  .number:nth-child(n + 3) { border-top: 1px solid var(--line); }

  .row__num { grid-column: 1 / 13; margin-bottom: .5rem; }
  .row__title { grid-column: 1 / 12; }
  .row__text { grid-column: 1 / 12; margin-top: .75rem; }
  .row__end { grid-column: 12 / 13; grid-row: 2; }

  .page-hero__note { grid-column: 1 / 13; }
  .page-hero__lead { grid-column: 1 / 13; }
  .project-hero__facts { grid-column: 1 / 13; flex-direction: row; flex-wrap: wrap; gap: .4rem 1.5rem; }
  .project-hero__lead { grid-column: 1 / 13; }
  .project-visual .art { --ratio: 4 / 3; }
  .studio-visual .art { --ratio: 16 / 10; }

  .passport__label, .story__label, .approach__label { grid-column: 1 / 13; position: static; margin-bottom: 1.5rem; }
  .passport__list, .story__body, .approach__body { grid-column: 1 / 13; }
  .quote { grid-column: 1 / 13; padding-left: 1rem; }

  .gallery__item:nth-child(1) { grid-column: 1 / 13; }
  .gallery__item:nth-child(2) { grid-column: 4 / 13; margin-top: 0; --ratio: 1 / 1; }
  .gallery__item:nth-child(3) { grid-column: 1 / 10; --ratio: 4 / 3; }
  .gallery__item:nth-child(4) { grid-column: 1 / 13; }

  .next__text { grid-column: 1 / 13; }
  .next__art { grid-column: 1 / 13; margin-top: 2.5rem; --ratio: 16 / 9; }

  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .member:nth-child(3n + 2) { margin-top: 0; }
  .member:nth-child(2n) { margin-top: 2.5rem; }
  .two-col { grid-template-columns: 1fr; }

  .step__num { grid-column: 1 / 3; }
  .step__title { grid-column: 3 / 13; }
  .step__text { grid-column: 3 / 13; margin-top: .75rem; }
  .step__time { grid-column: 3 / 13; justify-self: start; text-align: left; margin-top: .75rem; }

  .brief { grid-column: 1 / 13; }
  .contacts-aside { grid-column: 1 / 13; position: static; }
  .map { aspect-ratio: 4 / 3; }
}

@media (max-width: 599.98px) {
  .hero__title .line:nth-child(2) > span { margin-left: 0; }
  .hero__title .line:nth-child(3) > span { margin-left: 18vw; }
  .hero__meta p:last-child { display: none; }
  .hero__cta { grid-column: 1 / 13; }
  .scroll-hint { display: none; }

  .card__meta { grid-template-columns: auto 1fr; }
  .card__arrow { display: none; }

  .form-grid { grid-template-columns: 1fr; }
  .numbers { grid-template-columns: 1fr; }
  .number, .number + .number { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .number:first-child { border-top: 0; }
  .team { column-gap: .875rem; }
  .member__body { grid-template-columns: 1fr; }
  .member__role, .member__bio { grid-column: 1; }
  .member__num { margin-bottom: .35rem; }
  .list-row { grid-template-columns: 3.25rem minmax(0, 1fr); }
  .list-row > :last-child { grid-column: 2; text-align: left; margin-top: .25rem; }
  .passport__row { grid-template-columns: 1fr; row-gap: .25rem; }
  .step__num { grid-column: 1 / 13; margin-bottom: .75rem; }
  .step__title, .step__text, .step__time { grid-column: 1 / 13; }
  .approach__item { grid-template-columns: 1fr; }
  .approach__item .caps { padding: 0 0 .5rem; }
  .gallery__item:nth-child(2) { grid-column: 3 / 13; }
  .gallery__item:nth-child(3) { grid-column: 1 / 11; }
  .footer__nav { grid-column: 1 / 13; }
  .footer__col { grid-column: span 6; }
  .map { aspect-ratio: 1 / 1; min-height: 0; }
  .map-tabs { gap: 1.25rem; }
  .form-foot .btn { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-hero-fade], .js .line > span, .js .footer__word[data-reveal] span, .js .hero__sun { opacity: 1 !important; transform: none !important; }
  .js [data-reveal="art"] { -webkit-clip-path: none !important; clip-path: none !important; }
  .js [data-reveal="art"] svg { transform: none !important; }
  .js .hero__strip .draw { stroke-dashoffset: 0 !important; }
  .js .section-head[data-reveal]::before { transform: none !important; }
  .marquee__track { animation: none !important; }
  .map .pin-ring { animation: none !important; opacity: .5; }
  .form-success__mark path { stroke-dashoffset: 0 !important; }
  .js .curtain { display: none !important; }
  .cursor { display: none !important; }
}

@media print {
  .site-header, .menu, .curtain, .cursor, .marquee { display: none !important; }
  .js [data-reveal], .js .line > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
