/* AWILL — media agency. Authored stylesheet (not forked).
   Motion language: a camera shutter. Panels close between pages, open on arrival. */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("/fonts/archivo.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("/fonts/geist.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("/fonts/geist-mono.woff2") format("woff2"); }

@property --bg { syntax: "<color>"; inherits: true; initial-value: #0a0a0b; }
@property --fg { syntax: "<color>"; inherits: true; initial-value: #efeee9; }

:root {
  --ink: #0a0a0b;
  --ink-2: #131315;
  --paper: #efeee9;
  --cy: #34ffff;
  --bg: var(--ink);
  --fg: var(--paper);
  --line: color-mix(in srgb, var(--fg) 14%, transparent);
  --mute: color-mix(in srgb, var(--fg) 56%, transparent);
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --sans: "Geist", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --pad: clamp(16px, 3.2vw, 48px);
  --ease: cubic-bezier(.19, 1, .22, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --nav-h: 76px;
}
html.is-light { --bg: var(--paper); --fg: var(--ink); }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  background: var(--bg);
  color: var(--fg);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: --bg .8s var(--ease), --fg .8s var(--ease);
  overflow-x: clip;
}
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--cy); color: var(--ink); }
:focus-visible { outline: 2px solid var(--cy); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--cy); color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
html.has-cursor, html.has-cursor * { cursor: none !important; }

.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; text-transform: uppercase; }
.wrap { padding-left: var(--pad); padding-right: var(--pad); }
.dim { color: var(--mute); }

/* ---------------------------------------------------------------- display type */
.display {
  font-family: var(--display);
  font-weight: 800;
  font-variation-settings: "wdth" 78;
  text-transform: uppercase;
  line-height: .86;
  letter-spacing: -.02em;
}
.h-xl { font-size: clamp(64px, 15vw, 260px); }
.h-lg { font-size: clamp(48px, 9vw, 160px); }
.h-md { font-size: clamp(38px, 5.6vw, 96px); }
.h-sm { font-size: clamp(28px, 3.2vw, 52px); }
.lede { font-size: clamp(18px, 1.6vw, 24px); line-height: 1.4; max-width: 38ch; letter-spacing: -.01em; }
[data-split] .line-mask, .line-mask { overflow: clip; padding-bottom: .04em; margin-bottom: -.04em; }

/* ---------------------------------------------------------------- shutter */
.shutter { position: fixed; inset: 0; z-index: 200; pointer-events: none; visibility: hidden; }
.shutter__panel { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--ink); will-change: transform; }
.shutter__panel--top { top: 0; transform: translateY(-101%); }
.shutter__panel--bot { bottom: 0; transform: translateY(101%); }
.shutter__seam { position: absolute; left: 0; right: 0; top: 50%; height: 1px; margin-top: -.5px; background: var(--cy); z-index: 2;
  box-shadow: 0 0 18px 1px rgba(52, 255, 255, .55); transform: scaleX(0); }
.shutter__dest { position: absolute; left: 0; right: 0; top: calc(50% - 30px); text-align: center; font-family: var(--mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: .14em; color: var(--paper); opacity: 0; z-index: 2; }
.shutter__mark { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; color: var(--paper); }
.shutter__word { display: flex; overflow: clip; font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 100;
  font-size: clamp(56px, 12vw, 170px); line-height: .9; letter-spacing: -.03em; }
.shutter__word span { display: inline-block; transform: translateY(110%); }
.shutter__count { position: absolute; left: var(--pad); bottom: var(--pad); font-family: var(--mono); font-size: 13px; color: var(--paper); opacity: .7; }
.shutter__count b { font-weight: 500; color: var(--cy); }
.shutter__meta { position: absolute; right: var(--pad); bottom: var(--pad); font-family: var(--mono); font-size: 12px; text-transform: uppercase; color: var(--paper); opacity: .5; }
/* closed before paint: first visit (preloader) or arriving from another page */
html.js .shutter { visibility: visible; }
html.js.closed .shutter__panel { transform: none; }
html.js.closed .shutter__seam { transform: scaleX(1); }
html.reduce .shutter { display: none; }

/* ---------------------------------------------------------------- cursor */
.cursor { position: fixed; left: 0; top: 0; z-index: 250; pointer-events: none; display: none; }
html.has-cursor .cursor { display: block; transition: opacity .4s; }
html.closed .cursor { opacity: 0; }
.cursor__dot { position: fixed; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: #fff; mix-blend-mode: difference; }
.cursor__ring { position: fixed; left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5); mix-blend-mode: difference;
  transition: width .5s var(--ease), height .5s var(--ease), left .5s var(--ease), top .5s var(--ease), background .4s, border-color .4s; }
.cursor__label { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.6); opacity: 0;
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); white-space: nowrap;
  transition: opacity .3s, transform .5s var(--ease); }
.cursor.is-label .cursor__ring { width: 96px; height: 96px; left: -48px; top: -48px; background: var(--cy); border-color: var(--cy); mix-blend-mode: normal; }
.cursor.is-label .cursor__label { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; left: -32px; top: -32px; border-color: #fff; }
.cursor.is-hidden .cursor__ring, .cursor.is-hidden .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__ring { width: 30px; height: 30px; left: -15px; top: -15px; }

/* ---------------------------------------------------------------- nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 120; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--pad);
  color: #fff; mix-blend-mode: difference; transition: transform .7s var(--ease); }
.nav.is-hidden { transform: translateY(-110%); }
html.menu-open .nav { mix-blend-mode: normal; color: var(--paper); transform: none; }
.nav__brand { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 100; font-size: 24px; letter-spacing: -.02em; display: flex; overflow: clip; height: 1.05em; line-height: 1.05; }
.nav__brand .roll { display: inline-flex; flex-direction: column; }
.nav__mid { display: flex; gap: 28px; align-items: center; }
.nav__clock { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .02em; opacity: .75; }
.nav__links { display: flex; gap: 26px; }
.nav__links a { font-size: 14px; position: relative; padding: 4px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__right { display: flex; gap: 10px; align-items: center; }
.nav__menu { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid currentColor; font-size: 14px; }
.nav__menu i { position: relative; width: 16px; height: 8px; display: block; }
.nav__menu i::before, .nav__menu i::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .6s var(--ease), top .6s var(--ease); }
.nav__menu i::before { top: 0; } .nav__menu i::after { top: 6.5px; }
html.menu-open .nav__menu i::before { top: 3.25px; transform: rotate(45deg); }
html.menu-open .nav__menu i::after { top: 3.25px; transform: rotate(-45deg); }
@media (max-width: 1240px) { .nav__links { display: none; } }
@media (max-width: 620px) { .nav__clock { display: none; } }

/* ---------------------------------------------------------------- full-screen menu */
.menu { position: fixed; inset: 0; z-index: 110; background: var(--ink); color: var(--paper); visibility: hidden;
  clip-path: inset(0 0 100% 0); display: grid; grid-template-columns: 1.2fr 1fr; padding: calc(var(--nav-h) + 3vh) var(--pad) var(--pad); gap: 4vw; }
.menu__list { list-style: none; display: flex; flex-direction: column; justify-content: center; }
.menu__list li { overflow: clip; border-bottom: 1px solid rgba(239,238,233,.12); }
.menu__list a { display: flex; align-items: baseline; gap: 18px; padding: .9vh 0; font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 78;
  text-transform: uppercase; font-size: clamp(42px, 7.2vh, 92px); line-height: .95; letter-spacing: -.02em; transition: color .4s, padding .7s var(--ease); }
.menu__list a small { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: 0; opacity: .5; transform: translateY(-1.6em); }
.menu__list a:hover, .menu__list a[aria-current="page"] { color: var(--cy); padding-left: 18px; }
.menu__list a > span { display: inline-block; }
.menu__preview { position: relative; align-self: center; aspect-ratio: 4 / 5; max-height: 72vh; width: 100%; border-radius: 6px; overflow: hidden; background: var(--ink-2); }
.menu__preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.menu__preview img.on { opacity: 1; transform: scale(1); }
.menu__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px 40px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; opacity: .6; }
.menu__foot a:hover { color: var(--cy); opacity: 1; }
@media (max-width: 820px) { .menu { grid-template-columns: 1fr; } .menu__preview { display: none; } }

/* ---------------------------------------------------------------- buttons */
.btn { position: relative; display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 28px; border-radius: 999px;
  font-size: 15px; font-weight: 500; overflow: hidden; isolation: isolate; white-space: nowrap; }
.btn--solid { background: var(--fg); color: var(--bg); }
.btn--line { border: 1px solid var(--line); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--cy); border-radius: inherit;
  transform: translateY(101%); transition: transform .7s var(--ease); }
.btn:hover::before { transform: none; }
.btn:hover { color: var(--ink); border-color: var(--cy); }
.btn .btn__txt { display: inline-block; }
.btn svg { width: 16px; height: 16px; transition: transform .7s var(--ease); }
.btn:hover svg { transform: rotate(-45deg); }
.orb { width: clamp(150px, 15vw, 210px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: var(--cy); color: var(--ink); font-weight: 600; font-size: 16px; line-height: 1.2; position: relative; }
.orb span { display: block; pointer-events: none; }

/* ---------------------------------------------------------------- hero (home) */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: clip; color: var(--paper); background: var(--ink); }
.hero__stage { position: absolute; inset: 0; }
.hero__stage canvas, .hero__fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__fallback img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__fallback img.on { opacity: 1; }
html.gl .hero__fallback { display: none; }
.hero__shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,10,11,.55) 0%, rgba(10,10,11,0) 22%, rgba(10,10,11,0) 48%, rgba(10,10,11,.86) 100%); }
.hero__frame { position: absolute; inset: calc(var(--nav-h) + 4px) var(--pad) auto; height: calc(100% - var(--nav-h) - 4px); pointer-events: none; }
.hero__frame i { position: absolute; width: 22px; height: 22px; border-color: rgba(239,238,233,.55); border-style: solid; border-width: 0; }
.hero__frame i:nth-child(1) { left: 0; top: 0; border-left-width: 1px; border-top-width: 1px; }
.hero__frame i:nth-child(2) { right: 0; top: 0; border-right-width: 1px; border-top-width: 1px; }
.hero__ui { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 var(--pad) clamp(14px, 2.4vw, 32px); }
.hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(10px, 1.6vw, 24px); }
.hero__lede { font-size: clamp(16px, 1.35vw, 21px); line-height: 1.4; max-width: 34ch; letter-spacing: -.01em; }
.hero__lede b { font-weight: 500; color: #fff; }
.hero__now { display: grid; gap: 8px; justify-items: end; text-align: right; min-width: 220px; }
.hero__count { font-family: var(--mono); font-size: 12px; }
.hero__count b { color: var(--cy); font-weight: 500; }
.hero__cap { font-size: 13px; opacity: .8; max-width: 30ch; min-height: 2.6em; }
.hero__bar { width: 220px; height: 1px; background: rgba(239,238,233,.25); overflow: hidden; }
.hero__bar i { display: block; height: 100%; background: var(--cy); transform-origin: left; transform: scaleX(0); }
.hero__word { display: flex; justify-content: space-between; font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: 23.4vw; line-height: .74; letter-spacing: 0; margin: 0 -.02em -.035em; user-select: none; }
.hero__word span { display: inline-block; font-variation-settings: "wdth" 100, "wght" 800; will-change: transform; }
.hero__word .mask { overflow: clip; display: inline-block; padding-top: .06em; }
.hero__scroll { position: absolute; right: var(--pad); top: 50%; transform: translateY(-50%) rotate(90deg); transform-origin: right center;
  font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; opacity: .55; }
@media (max-width: 760px) {
  .hero__row { flex-direction: column; align-items: flex-start; }
  .hero__now { justify-items: start; text-align: left; }
  .hero__scroll { display: none; }
}

/* ---------------------------------------------------------------- statement */
.statement { padding: clamp(110px, 18vh, 220px) var(--pad); }
.statement__label { margin-bottom: 40px; display: flex; gap: 18px; color: var(--mute); }
.statement__text { font-family: var(--sans); font-weight: 500; font-size: clamp(30px, 4.6vw, 78px); line-height: 1.06; letter-spacing: -.035em; max-width: 19ch; }
.statement__text .w { opacity: .14; transition: none; }
.pill { display: inline-block; vertical-align: middle; height: .82em; width: 1.9em; border-radius: 999px; overflow: hidden; margin: -.12em .08em 0; transform-origin: center; background: var(--ink-2); }
.pill img, .pill video { width: 100%; height: 100%; object-fit: cover; }
.statement__foot { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-top: clamp(60px, 9vh, 110px); flex-wrap: wrap; }

/* ---------------------------------------------------------------- services */
.services { padding: clamp(90px, 14vh, 170px) 0 clamp(80px, 12vh, 150px); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; padding: 0 var(--pad); margin-bottom: clamp(36px, 6vh, 70px); flex-wrap: wrap; }
.section-head p { max-width: 36ch; color: var(--mute); }
.svc { list-style: none; border-top: 1px solid var(--line); }
.svc li { border-bottom: 1px solid var(--line); position: relative; }
.svc a { display: grid; grid-template-columns: 70px 1fr minmax(0, 360px) 48px; align-items: center; gap: 24px; padding: clamp(14px, 2.2vh, 26px) var(--pad); position: relative; }
.svc a::before { content: ""; position: absolute; inset: 0; background: var(--fg); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease); z-index: -1; }
.svc li { isolation: isolate; }
.svc a:hover::before { transform: scaleY(1); }
.svc a:hover { color: var(--bg); }
.svc__n { font-family: var(--mono); font-size: 12px; opacity: .55; }
.svc__name { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 78; text-transform: uppercase; font-size: clamp(48px, 8.4vw, 150px);
  line-height: .9; letter-spacing: -.02em; display: block; overflow: clip; height: .9em; }
.svc__name .roll { display: flex; flex-direction: column; transition: transform .8s var(--ease); }
.svc a:hover .svc__name .roll { transform: translateY(-50%); }
.svc__desc { font-size: 15px; line-height: 1.45; opacity: .75; }
.svc__arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; transition: transform .7s var(--ease), background .4s; }
.svc__arrow svg { width: 16px; height: 16px; }
.svc a:hover .svc__arrow { transform: rotate(-45deg); background: var(--cy); color: var(--ink); border-color: var(--cy); }
.svc__thumb { display: none; }
@media (max-width: 860px) {
  .svc a { grid-template-columns: 1fr 48px; gap: 6px 16px; }
  .svc__n { display: none; }
  .svc__desc { grid-column: 1 / 2; }
  .svc__arrow { grid-row: 1; grid-column: 2; }
  .svc__thumb { display: block; grid-column: 1 / -1; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; margin-top: 10px; }
  .svc__thumb img { width: 100%; height: 100%; object-fit: cover; }
}
.float { position: fixed; left: 0; top: 0; width: 300px; aspect-ratio: 4 / 5; z-index: 90; pointer-events: none; border-radius: 6px; overflow: hidden;
  opacity: 0; transform: translate(-50%, -50%) scale(.6); background: var(--ink-2); }
.float img, .float video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s; }
.float .on { opacity: 1; }

/* ---------------------------------------------------------------- horizontal work reel */
.hwork { position: relative; overflow: clip; }
.hwork__pin { height: 100svh; display: flex; align-items: center; }
.hwork__track { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); padding: 0 var(--pad); will-change: transform; }
.hwork__intro { flex: 0 0 auto; width: min(560px, 80vw); display: grid; gap: 28px; }
.hwork__item { flex: 0 0 auto; position: relative; display: block; }
.hwork__item figure { position: relative; overflow: hidden; border-radius: 4px; height: 66svh; background: var(--ink-2); }
.hwork__item.is-tall figure { aspect-ratio: 2 / 3; }
.hwork__item.is-wide figure { aspect-ratio: 3 / 2; }
.hwork__item.is-low figure { height: 50svh; }
.hwork__item img { position: absolute; top: 0; left: -10%; width: 120%; max-width: none; height: 100%; object-fit: cover; will-change: transform; }
.hwork__item img.pin-top { object-position: 50% 15%; }
.hwork__meta { display: flex; justify-content: space-between; gap: 20px; margin-top: 14px; font-size: 14px; }
.hwork__meta span:last-child { font-family: var(--mono); font-size: 11px; text-transform: uppercase; opacity: .55; padding-top: 3px; }
.hwork__item figure::after { content: ""; position: absolute; inset: 0; background: var(--cy); mix-blend-mode: color; opacity: 0; transition: opacity .6s var(--ease); }
.hwork__item:hover figure::after { opacity: .0; }
.hwork__end { flex: 0 0 auto; width: min(420px, 70vw); display: grid; place-items: center; }
.hwork__bar { position: absolute; left: var(--pad); right: var(--pad); bottom: 28px; height: 1px; background: var(--line); }
.hwork__bar i { display: block; height: 100%; background: var(--cy); transform-origin: left; transform: scaleX(0); }
.hwork__idx { position: absolute; left: var(--pad); bottom: 44px; font-family: var(--mono); font-size: 12px; opacity: .6; }
@media (max-width: 820px) {
  .hwork__pin { height: auto; display: block; padding: 80px 0; }
  .hwork__track { flex-direction: column; align-items: stretch; gap: 40px; }
  .hwork__intro, .hwork__end { width: auto; }
  .hwork__item figure, .hwork__item.is-low figure { height: auto; aspect-ratio: 4 / 5; }
  .hwork__item.is-wide figure { aspect-ratio: 3 / 2; }
  .hwork__item img { left: 0; width: 100%; }
  .hwork__bar, .hwork__idx { display: none; }
}

/* ---------------------------------------------------------------- reel (grows to full screen) */
.reel { position: relative; height: 260svh; background: var(--ink); color: var(--paper); }
.reel__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.reel__media { position: absolute; inset: 0; clip-path: inset(28% 30% 28% 30% round 18px); will-change: clip-path; }
.reel__media video, .reel__media img { width: 100%; height: 100%; object-fit: cover; }
.reel__media::after { content: ""; position: absolute; inset: 0; background: rgba(10,10,11,.25); }
.reel__words { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--pad); pointer-events: none;
  font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 78; text-transform: uppercase; font-size: clamp(56px, 11vw, 200px); line-height: .9; letter-spacing: -.02em; mix-blend-mode: difference; color: #fff; }
.reel__play { position: relative; z-index: 2; }
.reel__note { position: absolute; left: var(--pad); right: var(--pad); bottom: 28px; display: flex; justify-content: space-between; gap: 20px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; opacity: .7; }

/* ---------------------------------------------------------------- altitude */
.alt { position: relative; height: 240svh; }
.alt__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; grid-template-columns: 1fr 1.25fr; }
.alt__copy { padding: calc(var(--nav-h) + 4vh) var(--pad) var(--pad); display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
.alt__copy .display span { display: block; }
.alt__media { position: relative; overflow: hidden; margin: var(--nav-h) var(--pad) var(--pad) 0; border-radius: 6px; }
.alt__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 50%; }
.alt__media img + img { opacity: 0; }
.alt__hud { position: absolute; inset: 18px; pointer-events: none; color: #fff; font-family: var(--mono); font-size: 12px; text-transform: uppercase; }
.alt__hud .tl, .alt__hud .br { position: absolute; }
.alt__hud .tl { left: 0; top: 0; } .alt__hud .br { right: 0; bottom: 0; text-align: right; }
.alt__hud .ft { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 100; font-size: clamp(40px, 5vw, 80px); line-height: .9; letter-spacing: -.02em; display: block; }
.alt__cross { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; }
.alt__cross::before, .alt__cross::after { content: ""; position: absolute; background: rgba(255,255,255,.7); }
.alt__cross::before { left: 50%; top: -12px; bottom: -12px; width: 1px; }
.alt__cross::after { top: 50%; left: -12px; right: -12px; height: 1px; }
@media (max-width: 860px) {
  .alt { height: auto; }
  .alt__sticky { position: relative; height: auto; grid-template-columns: 1fr; }
  .alt__media { margin: 0 var(--pad) var(--pad); aspect-ratio: 4 / 3; }
}

/* ---------------------------------------------------------------- marquee */
.clients { padding: clamp(80px, 12vh, 140px) 0; overflow: clip; }
.clients__label { padding: 0 var(--pad); margin-bottom: 30px; color: var(--mute); }
.mq { display: flex; white-space: nowrap; overflow: clip; border-top: 1px solid var(--line); }
.mq:last-child { border-bottom: 1px solid var(--line); }
.mq__run { display: flex; flex: 0 0 auto; will-change: transform; }
.mq__run span { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 78; text-transform: uppercase; font-size: clamp(40px, 6.4vw, 110px);
  line-height: 1.1; letter-spacing: -.02em; padding: 0 .35em; display: inline-flex; align-items: center; gap: .7em; }
.mq__run span::after { content: ""; width: .22em; height: .22em; background: var(--cy); transform: rotate(45deg); flex: 0 0 auto; }
.mq--ghost .mq__run span { color: transparent; -webkit-text-stroke: 1px var(--fg); }

/* ---------------------------------------------------------------- CTA + footer reveal */
.cta { position: relative; z-index: 2; background: var(--bg); padding: clamp(110px, 18vh, 220px) var(--pad) clamp(90px, 14vh, 160px); display: grid; gap: 50px; border-bottom-left-radius: clamp(24px, 4vw, 60px); border-bottom-right-radius: clamp(24px, 4vw, 60px); }
.cta__big { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 78; text-transform: uppercase; font-size: clamp(72px, 17vw, 300px); line-height: .82; letter-spacing: -.03em; }
.cta__big .ch { display: inline-block; transition: transform .6s var(--ease), color .3s; }
.cta__row { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta__row p { max-width: 40ch; color: var(--mute); font-size: 18px; }
main { position: relative; z-index: 2; background: var(--bg); }
.foot { position: sticky; bottom: 0; z-index: 1; background: var(--ink); color: var(--paper); padding: clamp(60px, 10vh, 120px) var(--pad) 22px; overflow: hidden; }
.foot__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; font-size: 15px; }
.foot__grid h4 { font-family: var(--mono); font-weight: 400; font-size: 12px; text-transform: uppercase; opacity: .5; margin-bottom: 14px; }
.foot__grid ul { list-style: none; display: grid; gap: 6px; }
.foot__grid a { position: relative; }
.foot__grid a:hover { color: var(--cy); }
.foot__word { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 125; text-transform: uppercase; font-size: 24.6vw; line-height: .74; letter-spacing: -.04em;
  margin: clamp(40px, 8vh, 90px) -.02em 0; display: flex; justify-content: space-between; overflow: clip; padding-top: .04em; }
.foot__word span { display: inline-block; }
.foot__base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 22px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; opacity: .5; }
.foot__top:hover { color: var(--cy); opacity: 1; }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr 1fr; } }

/* ---------------------------------------------------------------- inner page hero */
.phero { padding: calc(var(--nav-h) + clamp(60px, 12vh, 150px)) var(--pad) clamp(50px, 8vh, 90px); position: relative; }
.phero__top { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }
.phero__count { font-family: var(--mono); font-size: 13px; vertical-align: top; margin-left: .4em; color: var(--cy); font-weight: 400; letter-spacing: 0; }
.phero p.lede { color: var(--mute); }
.phero__media { margin: clamp(40px, 6vh, 70px) calc(-1 * var(--pad)) 0; height: 82svh; overflow: hidden; position: relative; }
.phero__media img { width: 100%; height: 120%; object-fit: cover; position: absolute; top: -10%; }

/* ---------------------------------------------------------------- work grid (masonry, filterable) */
.filters { position: sticky; top: 14px; z-index: 60; display: flex; justify-content: center; padding: 0 var(--pad); margin-bottom: 40px; pointer-events: none; }
.filters__in { pointer-events: auto; display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: color-mix(in srgb, var(--ink-2) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(239,238,233,.1); overflow-x: auto; max-width: 100%; position: relative; scrollbar-width: none; }
.filters__in::-webkit-scrollbar { display: none; }
.filters button { position: relative; z-index: 1; height: 38px; padding: 0 16px; border-radius: 999px; font-size: 14px; color: var(--paper); white-space: nowrap; transition: color .4s; }
.filters button sup { font-family: var(--mono); font-size: 10px; opacity: .6; margin-left: 3px; }
.filters button[aria-pressed="true"] { color: var(--ink); }
.filters__blob { position: absolute; top: 5px; height: 38px; border-radius: 999px; background: var(--cy); z-index: 0; }
.mason { position: relative; margin: 0 var(--pad); }
.mason__item { position: absolute; left: 0; top: 0; display: block; overflow: hidden; border-radius: 4px; background: var(--ink-2); }
.mason__item img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); transition: transform 1.2s var(--ease), filter .6s; }
.mason__item:hover img { transform: scale(1.06); }
.mason__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 12px; display: flex; justify-content: space-between; gap: 10px; font-size: 13px;
  color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.65)); opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.mason__item figcaption span:last-child { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; opacity: .75; padding-top: 2px; }
.mason__item:hover figcaption, .mason__item:focus-visible figcaption { opacity: 1; transform: none; }
html:not(.js) .mason { columns: 3 280px; column-gap: 14px; }
html:not(.js) .mason__item { position: relative; margin-bottom: 14px; break-inside: avoid; }

/* ---------------------------------------------------------------- lightbox */
.lb { position: fixed; inset: 0; z-index: 150; background: rgba(10,10,11,.96); color: var(--paper); display: none; }
.lb.open { display: block; }
.lb__stage { position: absolute; inset: 70px var(--pad) 90px; display: grid; place-items: center; }
.lb__stage img, .lb__stage video { max-width: 100%; max-height: calc(100svh - 170px); object-fit: contain; border-radius: 4px; }
.lb__bar { position: absolute; left: var(--pad); right: var(--pad); bottom: 24px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.lb__cap { font-size: 15px; max-width: 60ch; }
.lb__cap small { display: block; font-family: var(--mono); font-size: 11px; text-transform: uppercase; opacity: .55; margin-top: 4px; }
.lb__nav { display: flex; gap: 8px; }
.lb__nav button, .lb__close { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(239,238,233,.25); display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.lb__nav button:hover, .lb__close:hover { background: var(--cy); color: var(--ink); border-color: var(--cy); }
.lb__nav svg, .lb__close svg { width: 16px; height: 16px; }
.lb__close { position: absolute; right: var(--pad); top: 14px; }
.lb__idx { position: absolute; left: var(--pad); top: 28px; font-family: var(--mono); font-size: 12px; opacity: .6; }

/* ---------------------------------------------------------------- video page */
.vfeature { margin: 0 var(--pad); position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 9; max-height: 86svh; width: calc(100% - 2 * var(--pad)); display: block; background: var(--ink-2); }
.vfeature video, .vfeature img { width: 100%; height: 100%; object-fit: cover; }
.vfeature__ui h2 { font-size: clamp(30px, 4vw, 64px); max-width: 16ch; }
.vfeature__ui { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-between; padding: clamp(16px, 3vw, 40px); color: #fff;
  background: linear-gradient(transparent 50%, rgba(0,0,0,.6)); gap: 20px; }
.vgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(30px, 4vw, 60px) clamp(16px, 2.4vw, 36px); padding: clamp(80px, 12vh, 140px) var(--pad); }
.vcard { display: block; }
.vcard__media { position: relative; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: var(--ink-2); }
.vcard__media img, .vcard__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vcard__media video { opacity: 0; transition: opacity .5s; }
.vcard.is-playing .vcard__media video { opacity: 1; }
.vcard__media img { transition: transform 1.2s var(--ease); }
.vcard:hover .vcard__media img { transform: scale(1.05); }
.vcard__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-top: 16px; }
.vcard__meta h3 { font-size: clamp(20px, 1.8vw, 28px); font-weight: 500; letter-spacing: -.02em; }
.vcard__meta p { color: var(--mute); font-size: 15px; margin-top: 4px; }
.vcard__meta .mono { opacity: .5; white-space: nowrap; }
.vcard:nth-child(even) { margin-top: clamp(0px, 10vw, 160px); }
@media (max-width: 760px) { .vgrid { grid-template-columns: 1fr; } .vcard:nth-child(even) { margin-top: 0; } }

/* ---------------------------------------------------------------- design page */
.dcols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 48px); padding: 0 var(--pad) clamp(80px, 12vh, 140px); align-items: start; }
.dcol { display: grid; gap: clamp(40px, 6vw, 90px); }
.dcol--b { padding-top: clamp(60px, 16vw, 260px); }
.dpiece figure { overflow: hidden; border-radius: 4px; background: var(--ink-2); }
.dpiece img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.dpiece:hover img { transform: scale(1.04); }
.dpiece figcaption { display: flex; justify-content: space-between; gap: 20px; margin-top: 14px; }
.dpiece figcaption b { font-weight: 500; font-size: 18px; letter-spacing: -.01em; }
.dpiece figcaption p { color: var(--mute); font-size: 14px; max-width: 46ch; margin-top: 4px; }
@media (max-width: 760px) { .dcols { grid-template-columns: 1fr; } .dcol--b { padding-top: 0; } }

/* ---------------------------------------------------------------- generic two-up + steps */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 90px); padding: clamp(90px, 14vh, 170px) var(--pad); align-items: start; }
.split__media { position: relative; overflow: hidden; border-radius: 6px; aspect-ratio: 4 / 5; background: var(--ink-2); }
.split__media img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; }
.split__media--wide { aspect-ratio: 16 / 10; align-self: center; }
.split__copy { display: grid; gap: 28px; align-content: start; }
.split__copy p { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; color: var(--mute); max-width: 52ch; }
.split__copy p strong { color: var(--fg); font-weight: 500; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.stack { padding: 0 var(--pad) clamp(90px, 14vh, 170px); }
.stack__card { position: sticky; top: calc(var(--nav-h) + 10px); min-height: 56svh; background: var(--ink-2); color: var(--paper); border-radius: 10px; border: 1px solid rgba(239,238,233,.08);
  padding: clamp(24px, 4vw, 56px); display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 4vw, 70px); align-items: start; margin-bottom: 4svh; transform-origin: 50% 0; }
.stack__card:nth-child(2) { top: calc(var(--nav-h) + 26px); } .stack__card:nth-child(3) { top: calc(var(--nav-h) + 42px); }
.stack__card:nth-child(4) { top: calc(var(--nav-h) + 58px); } .stack__card:nth-child(5) { top: calc(var(--nav-h) + 74px); }
.stack__n { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 78; font-size: clamp(80px, 12vw, 200px); line-height: .8; color: var(--cy); letter-spacing: -.03em; }
.stack__card h3 { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 78; text-transform: uppercase; font-size: clamp(40px, 5.4vw, 90px); line-height: .9; letter-spacing: -.02em; }
.stack__card p { margin-top: 18px; font-size: clamp(16px, 1.3vw, 20px); color: rgba(239,238,233,.65); max-width: 42ch; }
.stack__verb { font-family: var(--mono); font-size: 12px; text-transform: uppercase; opacity: .55; }
.stack__card img { grid-column: 1 / -1; width: 100%; height: 30svh; object-fit: cover; border-radius: 6px; }
@media (max-width: 760px) { .stack__card { grid-template-columns: 1fr; } .stack__verb { display: none; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips li { border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 14px; }

/* real estate gallery rail */
.rail { padding: 0 0 clamp(80px, 12vh, 140px); }
.rail__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding: 0 var(--pad); margin-bottom: 30px; flex-wrap: wrap; }
.rail__track { display: flex; gap: 14px; padding: 0 var(--pad); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; }
.rail__track::-webkit-scrollbar { display: none; }
.rail__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.rail__track figure { flex: 0 0 auto; width: clamp(280px, 42vw, 680px); scroll-snap-align: start; }
.rail__track figure div { aspect-ratio: 3 / 2; overflow: hidden; border-radius: 4px; background: var(--ink-2); }
.rail__track img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; }
.rail__track figcaption { margin-top: 10px; font-size: 14px; display: flex; justify-content: space-between; gap: 14px; }
.rail__track figcaption span:last-child { color: var(--mute); }

/* ---------------------------------------------------------------- contact */
.contact { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(40px, 6vw, 110px); padding: 0 var(--pad) clamp(90px, 14vh, 160px); align-items: start; }
.form { display: grid; gap: 34px; }
.field { position: relative; display: block; }
.field input, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--fg); font: 400 clamp(20px, 1.8vw, 28px)/1.3 var(--sans);
  padding: 26px 0 12px; outline: none; border-radius: 0; resize: vertical; letter-spacing: -.01em; }
.field textarea { min-height: 120px; }
.field span { position: absolute; left: 0; top: 30px; font-size: clamp(18px, 1.5vw, 22px); color: var(--mute); pointer-events: none; transform-origin: left top; transition: transform .6s var(--ease), color .3s; }
.field input:focus + span, .field input:not(:placeholder-shown) + span, .field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { transform: translateY(-28px) scale(.62); color: var(--cy); }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--cy); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.topics legend { font-size: 14px; color: var(--mute); margin-bottom: 14px; }
.topics { border: 0; }
.topics__list { display: flex; flex-wrap: wrap; gap: 8px; }
.topics label { position: relative; }
.topics input { position: absolute; opacity: 0; inset: 0; }
.topics label span { display: inline-flex; height: 42px; align-items: center; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; transition: background .35s, color .35s, border-color .35s, transform .5s var(--ease); }
.topics label:hover span { border-color: var(--fg); }
.topics input:checked + span { background: var(--cy); color: var(--ink); border-color: var(--cy); }
.topics input:focus-visible + span { outline: 2px solid var(--cy); outline-offset: 3px; }
.form__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.form__status { font-size: 15px; color: var(--cy); min-height: 1.5em; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.facts { display: grid; gap: 30px; position: sticky; top: calc(var(--nav-h) + 30px); }
.facts h4 { font-family: var(--mono); font-weight: 400; font-size: 12px; text-transform: uppercase; color: var(--mute); margin-bottom: 8px; }
.facts p, .facts a { font-size: clamp(18px, 1.5vw, 22px); letter-spacing: -.01em; }
.facts a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); }
.facts a:hover { background-size: 100% 1px; }
.facts .facts__clock { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 100; font-size: clamp(48px, 6vw, 96px); line-height: .9; letter-spacing: -.03em; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } .facts { position: static; } }

/* ---------------------------------------------------------------- reveal helpers */
html.js [data-reveal] { opacity: 0; transform: translateY(40px); }
html.js [data-clip] { clip-path: inset(100% 0 0 0); }
html.reduce [data-reveal], html.reduce [data-clip] { opacity: 1 !important; transform: none !important; clip-path: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

html.reduce .hwork__pin { height: auto; display: block; padding: 80px 0; }
html.reduce .hwork__track { flex-wrap: wrap; }
html.reduce .hwork__bar, html.reduce .hwork__idx { display: none; }
html.reduce .reel { height: auto; } html.reduce .reel__sticky { position: relative; }
html.reduce .alt { height: auto; } html.reduce .alt__sticky { position: relative; }
html.reduce .alt__b { opacity: 0; }
@media (max-width: 760px) { .foot { position: relative; } }
