:root {
  --linen: #f9fafa;
  --blush: #eff1f2;
  --sunken: #e6e9ea;
  --white: #fff;
  --line: #dee2e3;
  --line-strong: #7b8285;
  --ink: #24282a;
  --ink-muted: #5f6669;
  --accent: #4c565c;
  --accent-hover: #3b444a;
  --accent-text: #3b444a;
  --accent-pale: #c6ced1;
  --accent-wash: #e3e8ea;
  --slate: #3d464b;
  --cacao: #262b2e;
  --on-dark: #f2f4f4;
  --on-dark-muted: #cdd3d5;
  --ring: #5b6a72;
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 90rem;
  --edge: var(--gutter);
  --gutter: 1.5rem;
  --rhythm: 5.5rem;
  --measure: 62ch;
  --overlap: 4rem;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p, ul, ol, li, figure, figcaption, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video { display: block; max-width: 100%; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--linen);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-underline-offset: 0.22em; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; }
::selection { background: var(--accent-wash); }

.skip {
  position: absolute; left: 1rem; top: 1rem; z-index: 90;
  background: var(--white); padding: 0.7rem 1.2rem;
  font-size: 0.875rem; font-weight: 500; text-decoration: none;
  border-radius: var(--radius-sm);
  transform: translateY(-250%);
}
.skip:focus-visible { transform: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 48rem; }
.wrap--full { max-width: none; padding: 0; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; letter-spacing: -0.018em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.6vw, 4.8rem); line-height: 1.04; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.25rem); letter-spacing: -0.012em; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.2; }
h4 { font-family: var(--serif); font-size: 1.1875rem; font-weight: 400; line-height: 1.35; letter-spacing: -0.005em; }

p { max-width: var(--measure); text-wrap: pretty; }
.kicker { font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.01em; color: var(--ink-muted); margin-bottom: 1.1rem; }
.lead { font-size: clamp(1.0625rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--ink-muted); max-width: 46ch; }
.muted { color: var(--ink-muted); }
.small { font-size: 0.875rem; line-height: 1.6; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.1rem; padding: 0 1.9rem;
  border: 1px solid transparent; border-radius: var(--radius-md);
  font-family: var(--serif);
  font-size: 1.0625rem; font-weight: 400; letter-spacing: 0.01em; text-transform: none;
  line-height: 1; text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn--accent { background: var(--accent); color: var(--on-dark); }
.btn--accent:hover { background: var(--accent-hover); }
.btn--outline { border-color: var(--line-strong); }
.btn--outline:hover { background: var(--blush); border-color: var(--ink); }
.btn--inverse { background: var(--on-dark); color: var(--cacao); }
.btn--inverse:hover { background: #fff; }
.btn--on-media { border-color: rgba(255,255,255,.55); color: var(--on-dark); }
.btn--on-media:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.6rem; }

.textlink {
  display: inline-flex; align-items: baseline; gap: 0.55rem;
  font-family: var(--serif);
  font-size: 1.0625rem; font-weight: 400; letter-spacing: 0.01em;
  color: var(--ink); text-decoration: none;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--line-strong);
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.textlink::after { content: "\2192"; transition: transform .3s var(--ease); }
.textlink:hover { color: var(--accent-text); border-color: var(--accent-text); }
.textlink:hover::after { transform: translateX(4px); }
.textlink--on-dark { color: var(--on-dark); border-color: rgba(255,255,255,.4); }
.textlink--on-dark:hover { color: #fff; border-color: #fff; }

.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 80; padding-top: 1rem; }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 4.25rem; padding: 0 0.5rem 0 1.25rem;
  border: 1px solid transparent; border-radius: var(--radius-md);
  transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header--over { color: var(--ink); }
.site-header--over .site-header__inner { background: rgba(253,250,248,.42); backdrop-filter: blur(14px); border-color: rgba(255,255,255,.7); }
.site-header--solid { color: var(--ink); }
.site-header--solid .site-header__inner { background: rgba(253,250,248,.92); backdrop-filter: blur(14px); border-color: var(--line); box-shadow: 0 18px 44px -30px rgba(30,34,36,.5); }
.site-header__actions { display: flex; align-items: center; gap: 0.75rem; }
.btn--pill { border-radius: var(--radius-md); min-height: 2.9rem; padding: 0 1.5rem; background: var(--white); color: var(--ink); }
.btn--pill:hover { background: var(--blush); }
.btn--pill::after { content: none; }
@media (max-width: 61.99rem) { .site-header__actions .btn--pill { display: none; } }
.wordmark { display: flex; align-items: center; gap: 0.6rem; font-family: var(--serif); font-size: 1.2rem; letter-spacing: -0.005em; text-decoration: none; white-space: nowrap; }
.wordmark img { width: auto; height: 2.1rem; display: block; }
.wordmark img.wordmark__mark--light { display: none; }
@media (max-width: 30rem) { .wordmark span { display: none; } .wordmark img { height: 2.4rem; } }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 2.75rem; height: 2.75rem;
  background: none; border: 0; cursor: pointer; color: inherit;
}
.nav-toggle span { display: block; width: 20px; height: 1px; background: currentColor; margin-left: auto; transition: transform .3s var(--ease), opacity .2s linear; }
.nav-toggle span:last-child { width: 13px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { width: 20px; transform: translateY(-3px) rotate(-45deg); }

.nav {
  position: fixed; inset: 0; z-index: -1;
  display: grid; align-content: center;
  padding: 6rem var(--gutter) 3rem;
  background: var(--linen); color: var(--ink);
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.nav.is-open { opacity: 1; visibility: visible; }
.nav ul { display: grid; gap: 0.4rem; }
.nav a { display: inline-block; padding: 0.35rem 0; font-family: var(--serif); font-size: clamp(2rem, 8vw, 3rem); line-height: 1.1; text-decoration: none; }
.nav a[aria-current="page"] { color: var(--accent-text); }

.hero { position: relative; min-height: 100vh; display: grid; align-items: end; z-index: 0; --on-dark: var(--ink); --on-dark-muted: var(--slate); --accent-pale: var(--slate); }

.hero__media { position: fixed; top: 0; left: 0; width: 100%; height: 100svh; z-index: -2; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(249,250,250,.32) 0%, rgba(249,250,250,.14) 38%, rgba(249,250,250,0) 62%), linear-gradient(180deg, rgba(249,250,250,.06) 0%, rgba(249,250,250,.18) 40%, rgba(249,250,250,.34) 100%);
}
.hero__inner { padding: 8rem 0 4.5rem; color: var(--on-dark); }
.hero h1 { max-width: 17ch; }
.hero .kicker { color: var(--slate); }
.hero .lead { color: var(--slate); margin-top: 1.8rem; max-width: 44ch; }
.hero:has(+ .overlap) .hero__inner { padding-bottom: calc(4.5rem + var(--overlap)); }
.hero--short { min-height: 78svh; }
.hero--short .hero__inner { padding: 9rem 0 4rem; }

main > * { position: relative; z-index: 1; background: var(--linen); }
main > .hero { background: none; }
.band { padding: var(--rhythm) 0; }

.overlap {
  position: relative; z-index: 2;
  margin-top: calc(var(--overlap) * -1);
  background: var(--linen);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -30px 60px -30px rgba(20,23,25,.6);
}
.overlap.band--blush { background: var(--blush); }
.overlap.band--slate { background: var(--slate); }
.overlap.band--cacao { background: var(--cacao); }
.band--blush { background: var(--blush); }
.band--slate { background: var(--slate); color: var(--on-dark); }
.band--cacao { background: var(--cacao); color: var(--on-dark); }
.band--slate p, .band--cacao p, .band--slate .lead, .band--cacao .lead { color: var(--on-dark-muted); }
.band--slate .kicker, .band--cacao .kicker, .band--media .kicker, .immersive .kicker { color: var(--accent-pale); }
.band--tight { padding: calc(var(--rhythm) * 0.62) 0; }
.band--media { position: relative; isolation: isolate; overflow: hidden; }
.band__media { position: absolute; inset: 0; z-index: -2; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,23,25,.84), rgba(20,23,25,.72)); }
.band--flush-top { padding-top: 0; }

.head { max-width: 44rem; margin-bottom: 3.5rem; }
.head .lead { margin-top: 1.4rem; }
.head--wide { max-width: 60rem; }

.figure { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.figure img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease), opacity 1.2s var(--ease); opacity: 0; }
.is-in .figure img, .figure.is-in img { transform: scale(1); opacity: 1; }
.figure--tall { aspect-ratio: 4 / 5; }
.figure--wide { aspect-ratio: 3 / 2; }
.figure--cinema { aspect-ratio: 21 / 9; }
.strip { aspect-ratio: 21 / 9; border-radius: 0; margin-top: var(--rhythm); }

.band:has(> .strip:last-child) { padding-bottom: 0; }
.strip--tall { aspect-ratio: 16 / 9; }
.figcaption { margin-top: 1rem; font-size: 0.8125rem; letter-spacing: 0.02em; color: var(--ink-muted); }
.band--slate .figcaption, .band--cacao .figcaption { color: var(--on-dark-muted); }

.editorial { display: grid; gap: 2.5rem; align-items: center; }
.editorial__media > .figure { aspect-ratio: 3 / 2; max-height: 22rem; }
.editorial__copy > * + * { margin-top: 1.2rem; }
.editorial__copy h2 + p { margin-top: 1.8rem; }

.bleed-left, .bleed-right { margin-inline: calc(var(--gutter) * -1); }

.immersive { position: relative; z-index: 1; isolation: isolate; overflow: hidden; color: var(--ink); --on-dark: var(--ink); --on-dark-muted: var(--slate); --accent-pale: var(--slate); }
.immersive__media { position: absolute; inset: 0; z-index: -2; }

.immersive--pinned { clip-path: inset(0); }
.immersive--pinned .immersive__media { position: fixed; inset: 0; width: auto; height: auto; }
.immersive__media img { width: 100%; height: 100%; object-fit: cover; }
.immersive__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(249,250,250,.36) 0%, rgba(249,250,250,.16) 42%, rgba(249,250,250,0) 66%), linear-gradient(180deg, rgba(249,250,250,.14), rgba(249,250,250,.2) 50%, rgba(249,250,250,.28)); }
.immersive__inner { padding: calc(var(--rhythm) * 1.25) 0; }
.immersive h2 { max-width: 22ch; }
.immersive .lead { color: var(--slate); margin-top: 1.6rem; }
.hero .textlink--on-dark, .immersive .textlink--on-dark { border-color: var(--line-strong); }
.hero .textlink--on-dark:hover, .immersive .textlink--on-dark:hover { color: var(--accent-text); border-color: var(--accent-text); }
.hero .btn--on-media, .immersive .btn--on-media { border-color: var(--line-strong); color: var(--ink); }
.hero .btn--on-media:hover, .immersive .btn--on-media:hover { background: rgba(255,255,255,.5); border-color: var(--ink); }
.hero .btn--accent, .immersive .btn--accent { color: #f2f4f4; }

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 76%; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: var(--edge); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-item { display: grid; gap: 1.3rem; }
.rail-item h3 { max-width: 20ch; }
.rail-item p { font-size: 0.9375rem; color: var(--ink-muted); }
.rail-item .figure { aspect-ratio: 4 / 5; }
.rail-item .tags { margin-top: -0.3rem; }

.tags { display: flex; flex-wrap: wrap; gap: 0.45rem; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); }
.tags li { padding: 0.42rem 0.8rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.5); }

.notes { display: grid; gap: 0; border-top: 1px solid var(--line); }
.notes > div { padding: 1.9rem 0; border-bottom: 1px solid var(--line); display: grid; gap: 0.7rem; }
.notes p { font-size: 0.9375rem; color: var(--ink-muted); max-width: 54ch; }
.immersive .notes p { color: var(--slate); }
.band--slate .notes, .band--cacao .notes { border-top-color: rgba(255,255,255,.18); }
.band--slate .notes > div, .band--cacao .notes > div { border-bottom-color: rgba(255,255,255,.18); }
.band--slate .notes p, .band--cacao .notes p { color: var(--on-dark-muted); }

.split-index { display: grid; gap: 2.5rem; }
.split-index__intro > p + p { margin-top: 1.2rem; }
.split-index__media { aspect-ratio: 3 / 2; }
.split-index__items { display: grid; gap: 2rem; }
.split-index__items > div { display: grid; gap: 0.7rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.split-index__items p { font-size: 0.9375rem; color: var(--ink-muted); }

.showcase { margin-top: 1rem; }
.showcase__tabs { display: flex; flex-wrap: wrap; gap: 0 2.5rem; border-bottom: 1px solid var(--line); }
.showcase__tab {
  padding: 0 0 1.1rem; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  cursor: pointer; text-align: start;
  font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.6rem); line-height: 1.2; letter-spacing: -0.01em;
  color: var(--ink-muted);
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.showcase__tab:hover { color: var(--ink); }
.showcase__tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.showcase__panel { display: grid; gap: 2rem; padding-top: 2.5rem; animation: showcase-in .6s var(--ease); }
.showcase__panel[hidden] { display: none; }
.showcase__figure { overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 3 / 2; }
.showcase__figure img { width: 100%; height: 100%; object-fit: cover; }
.showcase__copy { display: grid; gap: 1.4rem; align-content: start; }
.showcase__copy p { color: var(--ink-muted); max-width: 46ch; }
@keyframes showcase-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.reveal-list { display: grid; gap: 3rem; }
.reveal-list__head .lead { margin-top: 1.4rem; }
.reveal-list__media { position: relative; margin-top: 2.5rem; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius-lg); }
.reveal-list__figure { position: absolute; inset: 0; opacity: 0; transition: opacity .7s var(--ease); }
.reveal-list__figure.is-active { opacity: 1; }
.reveal-list__figure img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease); }
.reveal-list__figure.is-active img { transform: scale(1); }
.reveal-list__items { border-top: 1px solid var(--line); }
.reveal-list__item { border-bottom: 1px solid var(--line); }
.reveal-list__item h3 { font: inherit; margin: 0; }
.reveal-list__trigger {
  inline-size: 100%; display: flex; align-items: baseline; justify-content: space-between; gap: 2rem;
  padding: 1.7rem 0; background: none; border: 0; cursor: pointer; text-align: start;
  font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.2;
  letter-spacing: -0.01em; color: var(--ink);
  transition: color .25s var(--ease);
}
.reveal-list__trigger:hover { color: var(--accent-text); }
.reveal-list__mark { position: relative; flex: none; inline-size: 0.9rem; block-size: 0.9rem; transition: transform .45s var(--ease); }
.reveal-list__mark::before, .reveal-list__mark::after { content: ""; position: absolute; top: 50%; left: 0; inline-size: 100%; block-size: 1px; background: currentColor; }
.reveal-list__mark::after { transform: rotate(90deg); }
.reveal-list__trigger[aria-expanded="true"] { color: var(--accent-text); }
.reveal-list__trigger[aria-expanded="true"] .reveal-list__mark { transform: rotate(45deg); }
.reveal-list__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.reveal-list__panel[data-state="open"] { grid-template-rows: 1fr; }
.reveal-list__panel > div { overflow: hidden; }
.reveal-list__panel p { font-size: 1rem; color: var(--ink-muted); max-width: 54ch; padding-bottom: 1.8rem; }

.rows { border-top: 1px solid var(--line); }
.rows > div { display: grid; gap: 0.7rem; padding: 2.1rem 0; border-bottom: 1px solid var(--line); }
.rows .rows__num { font-family: var(--serif); font-size: 1.4rem; line-height: 1; color: var(--accent-text); }
.rows p { font-size: 0.9375rem; color: var(--ink-muted); max-width: 56ch; }
@media (min-width: 62rem) {
  .rows > div { grid-template-columns: 3.5rem 1fr 1.2fr; gap: 0 4rem; align-items: baseline; }

  .split-index { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 4rem; }
  .split-index__head { grid-column: 1 / span 4; }
  .split-index__intro { grid-column: 6 / -1; }
  .split-index__media { grid-column: 1 / -1; margin-top: 5rem; aspect-ratio: 21 / 9; }
  .split-index__items { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 5rem; }
  
  .split-index__items > div { padding: 0 3rem; border-top: 0; border-inline-start: 1px solid var(--line); }
  .split-index__items > div:first-child { padding-inline-start: 0; border-inline-start: 0; }
  .split-index__items > div:last-child { padding-inline-end: 0; }

  .showcase__tabs { gap: 0 4rem; }
  .showcase__panel { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 4rem; align-items: start; padding-top: 3.5rem; }
  .showcase__figure { grid-column: 1 / span 7; aspect-ratio: 16 / 10; }
  .showcase__copy { grid-column: 9 / -1; }

  .reveal-list { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 4rem; align-items: start; }
  .reveal-list__aside { grid-column: 1 / span 5; position: sticky; top: calc(5rem + var(--space, 2rem)); }
  .reveal-list__items { grid-column: 7 / -1; border-top: 0; }
  .reveal-list__items .reveal-list__item:first-child { border-top: 1px solid var(--line); }
  .reveal-list__media { margin-top: 3rem; aspect-ratio: 4 / 3; }
  .rows > div h3 { font-size: 1.35rem; }
}

.qlist { border-top: 1px solid var(--line); max-width: 54rem; }
.qlist li { padding: 1.6rem 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.35; }
.band--slate .qlist { border-top-color: rgba(255,255,255,.18); }
.band--slate .qlist li { border-bottom-color: rgba(255,255,255,.18); }

.steps { display: grid; gap: 0; border-top: 1px solid var(--line); }
.step { display: grid; gap: 0.6rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.step__num { font-family: var(--serif); font-size: 1.5rem; line-height: 1; color: var(--accent-text); }
.step .step__icon { color: var(--accent-text); line-height: 0; }
.step__icon svg { inline-size: 1.75rem; block-size: 1.75rem; }
.step p { font-size: 0.9375rem; color: var(--ink-muted); }

.case { display: grid; gap: 1.6rem; padding: calc(var(--rhythm) * 0.8) 0; border-top: 1px solid var(--line); }
.case:first-of-type { border-top: 0; padding-top: 0; }
.case h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); max-width: 26ch; }
.case__meta { display: grid; gap: 1rem; }
.case__main { display: grid; gap: 1.8rem; }
.case .figure { aspect-ratio: 16 / 10; }
.case__body > p + p { margin-top: 1.2rem; }
.case__body p:first-child { font-size: 1.0625rem; }

.deal { display: grid; gap: 1.8rem; }
.deal .figure { aspect-ratio: 3 / 2; }
.deal p + p { margin-top: 1.1rem; }
.deal .textlink { margin-top: 1.6rem; }

.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 0.75rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: var(--edge); scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery .figure { aspect-ratio: 1 / 1; scroll-snap-align: start; }

.offices { display: grid; gap: 2.5rem; }
.office { padding-top: 1.6rem; border-top: 1px solid var(--line); }
.office h3 { margin-bottom: 1.2rem; }
.office address { font-style: normal; font-size: 0.9375rem; color: var(--ink-muted); max-width: 26ch; }
.office__contact { display: flex; flex-wrap: wrap; gap: 0.5rem 2.5rem; margin-top: 2.5rem; padding-top: 1.6rem; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.office p { margin-top: 1.3rem; font-size: 0.9375rem; }

.form { display: grid; gap: 1.5rem; max-width: 33rem; }
.field { display: grid; gap: 0.55rem; }
.field label { font-size: 0.875rem; font-weight: 500; letter-spacing: 0.01em; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3.1rem; padding: 0.8rem 1rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: transparent; border: 1px solid var(--line-strong); border-radius: var(--radius-md);
}
.field textarea { min-height: 8.5rem; resize: vertical; line-height: 1.6; }
.field select { appearance: none; cursor: pointer; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-muted); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--ring); }
.form .note { font-size: 0.875rem; color: var(--ink-muted); max-width: 44ch; }
.form .actions { margin-top: 0.4rem; }

.site-footer { position: relative; z-index: 1; background: var(--slate); color: var(--on-dark); padding: calc(var(--rhythm) * 0.8) 0 2.5rem; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }

main:has(> .band--media:last-child) + .site-footer,
main:has(> .band--cacao:last-child) + .site-footer,
main:has(> .band--slate:last-child) + .site-footer,
main:has(> .immersive:last-child) + .site-footer { border-radius: 0; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: var(--on-dark); }
.site-footer .wordmark { color: var(--on-dark); font-size: 1.6rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.7rem 1.6rem; margin-top: 2rem; font-size: 0.9375rem; }
.footer-legal {
  display: flex; flex-wrap: wrap; gap: 0.8rem 1.5rem; justify-content: space-between;
  margin-top: 3rem; padding-top: 1.7rem; border-top: 1px solid rgba(255,255,255,.16);
  font-size: 0.75rem; color: var(--on-dark-muted);
}

.reveal > * { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in > * { opacity: 1; transform: none; }
.reveal.is-in > *:nth-child(2) { transition-delay: .1s; }
.reveal.is-in > *:nth-child(3) { transition-delay: .2s; }
.reveal.is-in > *:nth-child(4) { transition-delay: .3s; }
.reveal.is-in > *:nth-child(5) { transition-delay: .4s; }
.reveal.is-in > *:nth-child(6) { transition-delay: .5s; }
.drift { will-change: transform; }

@media (min-width: 40rem) {
  :root { --gutter: 2.5rem; --rhythm: 7rem; --overlap: 7rem; }
  .rail { grid-auto-columns: 42%; gap: 1.6rem; }
  .gallery { grid-auto-columns: 34%; }
  .offices { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; }
  .notes { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; }
  .notes > div:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
  .notes > div:last-child { border-bottom: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; }
}

@media (min-width: 62rem) {
  :root { --gutter: 3.5rem; --rhythm: 9.5rem; --overlap: 11rem; }
  
  @supports (width: max(1px, 1vw)) {
    :root { --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
  }
  .nav-toggle { display: none; }
  .site-header__inner { display: flex; padding: 0 0.6rem 0 1.75rem; min-height: 4.75rem; }
  .site-header__actions { margin-left: auto; gap: 2.4rem; }
  .wordmark { order: -1; }
  .nav { margin-left: auto; }
  .nav {
    position: static; inset: auto; z-index: auto;
    display: block; padding: 0; background: none; color: inherit;
    opacity: 1; visibility: visible;
  }
  .nav ul { display: flex; gap: 2.4rem; }
  .nav a { font-family: var(--serif); font-size: 1.0625rem; font-weight: 400; letter-spacing: 0.005em; padding: 0.4rem 0; }
  .nav a:not([aria-current]):hover { opacity: .68; }

  .hero__inner { padding-bottom: 6.5rem; }
  .hero:has(+ .overlap) .hero__inner { padding-bottom: calc(6.5rem + var(--overlap)); }
  .site-footer { border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
  .overlap { border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
  .hero .lead { margin-top: 2.2rem; }

  .editorial { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 4rem; }
  .editorial__copy { grid-column: 1 / span 5; }
  .editorial__media { grid-column: 7 / -1; }
  .editorial--flip .editorial__copy { grid-column: 8 / -1; }
  .editorial--flip .editorial__media { grid-column: 1 / span 6; }
  .editorial--offset .editorial__copy { padding-top: 4rem; }
  
  .editorial { align-items: stretch; }
  
  .editorial__media { position: relative; min-height: 24rem; }
  .editorial__media > .figure { position: absolute; inset: 0; aspect-ratio: auto; max-height: none; }

  .bleed-right { margin-right: calc(var(--gutter) * -1); border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
  .bleed-left { margin-left: calc(var(--gutter) * -1); margin-right: 0; border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }

  .rail { grid-auto-columns: 27%; gap: 2rem; padding-inline: var(--edge) 30%; }
  .gallery { grid-auto-columns: 20%; gap: 1rem; padding-inline: var(--edge) 12%; }

  .notes--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .notes--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .notes--three > div:nth-last-child(-n+3), .notes--four > div:nth-last-child(-n+4) { border-bottom: 0; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 3rem; }
  .steps .step:last-child, .steps .step:nth-last-child(-n+4) { border-bottom: 0; }

  .case { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 4rem; align-items: start; }
  .case__meta { grid-column: 1 / span 2; position: sticky; top: 7rem; }
  .case__main { grid-column: 4 / -1; gap: 2.4rem; }
  .case__title h2 { max-width: 30ch; }
  .case .figure { aspect-ratio: 21 / 9; }
  .case__body { columns: 2; column-gap: 4rem; }
  .case__body p { break-inside: avoid; }

  .deal { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 4rem; align-items: center; }
  .deal .figure { grid-column: 1 / span 6; }
  .deal__copy { grid-column: 8 / -1; }
  .deal--flip .figure { grid-column: 7 / -1; order: 2; }
  .deal--flip .deal__copy { grid-column: 1 / span 5; }

  .head--split { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: 0 4rem; max-width: none; align-items: start; }
  .head--split.head--top { align-items: start; }
  .head--split > :first-child { grid-column: 1 / span 6; }
  .head--split > :last-child { grid-column: 8 / -1; }
  .form { max-width: 34rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal > *, .figure img { opacity: 1 !important; transform: none !important; transition: none !important; }
  .drift { transform: none !important; }
}

.legal { max-width: 60rem; }
.legal ul { max-width: 54rem; }
.legal > * + * { margin-top: 1.15rem; }
.legal p, .legal li { font-size: 1rem; line-height: 1.72; color: var(--ink-muted); }
.legal h2 { margin-top: 3.25rem; font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.legal h2 + p { margin-top: 1rem; }
.legal ul { list-style: none; border-top: 1px solid var(--line); }
.legal ul li { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--accent, var(--ink-muted)); }

.office__contact a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); }
.office__contact a:hover { border-bottom-color: currentColor; }

.cookie {
  position: fixed; z-index: 60; left: 1.5rem; bottom: 1.5rem; right: auto;
  width: min(24rem, calc(100vw - 3rem));
  opacity: 0; transform: translateY(1.5rem);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.cookie.is-in { opacity: 1; transform: none; }
.cookie__inner {
  padding: 1.9rem 1.75rem 1.6rem;
  background: var(--slate); color: var(--on-dark);
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) var(--radius-sm);
  box-shadow: 0 30px 70px -36px rgba(20,23,25,.7);
}
.cookie__label {
  font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-pale); margin-bottom: 1rem;
}
.cookie__text { font-size: 0.875rem; line-height: 1.72; color: var(--on-dark-muted); }
.cookie__actions { display: flex; align-items: center; gap: 1.4rem; margin-top: 1.6rem; }
.cookie__accept {
  font-family: var(--serif); font-size: 1rem; line-height: 1; cursor: pointer;
  padding: 0.9rem 1.6rem; border: 1px solid transparent; border-radius: var(--radius-sm);
  background: var(--on-dark); color: var(--slate);
  transition: background-color .25s var(--ease);
}
.cookie__accept:hover { background: #fff; }
.cookie__decline {
  font: inherit; font-size: 0.875rem; cursor: pointer; padding: 0;
  background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.32);
  color: var(--on-dark-muted);
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.cookie__decline:hover { color: var(--on-dark); border-bottom-color: var(--on-dark); }
@media (max-width: 40rem) {
  .cookie { left: 1rem; bottom: 1rem; width: calc(100vw - 2rem); }
  .cookie__inner { padding: 1.6rem 1.35rem 1.4rem; }
  .cookie__actions { gap: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) { .cookie { transition: none; } }

.footer-logo { display: inline-block; }
.footer-logo img { display: block; width: auto; height: 11rem; }
@media (max-width: 48rem) { .footer-logo img { height: 7.5rem; } }

.spaced { margin-top: 2.5rem; }
.spaced-sm { margin-top: 1.4rem; }
.spaced-lg { margin-top: 5rem; }
.more { margin-top: 3.5rem; }
.band--page-top { padding-top: 11rem; }
.form { margin-top: 3rem; }
.honeypot { position: absolute; left: -9999px; }
