/* ==========================================================================
   SCALVORA STUDIO — design system
   Obsidian · charcoal · bone · one warm-platinum accent used sparingly.
   Display: Jost (geometric, echoes the wordmark) · Accent: Instrument Serif italic
   Labels: JetBrains Mono. All fonts self-hosted (SIL OFL).
   Source lives in /styles/*.css and is concatenated to public/static/css/main.css.
   ========================================================================== */

@font-face { font-family: 'Jost'; src: url('/static/fonts/jost-var.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('/static/fonts/instrument-serif-italic.woff2') format('woff2'); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('/static/fonts/instrument-serif.woff2') format('woff2'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('/static/fonts/jetbrains-mono-var.woff2') format('woff2'); font-weight: 100 800; font-display: swap; }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; animation-timing-function: cubic-bezier(.65,0,.35,1); }

:root {
  --ink: #0a0a0b;
  --ink-2: #111113;
  --ink-3: #18181b;
  --line: rgba(236, 231, 222, .12);
  --line-2: rgba(236, 231, 222, .22);
  --bone: #ece7de;
  --bone-2: #d2ccc1;
  --mute: #948f86;
  --mute-2: #77736b;
  --accent: #cbb78f;
  --accent-2: #e8dcc0;

  --f-display: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --f-serif: 'Instrument Serif', 'Times New Roman', serif;
  --f-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  --gutter: clamp(20px, 4.2vw, 72px);
  --maxw: 1520px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --header-h: 76px;

  --fs-display: clamp(2.9rem, 7.4vw, 8.4rem);
  --fs-h2: clamp(2.3rem, 5.4vw, 5.6rem);
  --fs-h3: clamp(1.7rem, 3vw, 2.9rem);
  --fs-lede: clamp(1.06rem, 1.25vw, 1.3rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body { margin: 0; background: var(--ink); color: var(--bone); font-family: var(--f-display); font-weight: 350; font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img, video, svg, picture { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 3000; background: var(--bone); color: var(--ink); padding: 10px 16px; font-size: .85rem; transition: top .2s; }
.skip-link:focus { top: 16px; }
main { display: block; outline: none; }
[hidden] { display: none !important; }

/* film grain — static, cheap */
body::after { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 900; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); mix-blend-mode: overlay; }

/* ------------------------------------------------------------ type utils */
.mono { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 400; }
.kicker { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--mute); display: flex; align-items: center; gap: 14px; margin-bottom: clamp(18px, 2.4vw, 32px); }
.kicker::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .7; flex: none; }
.kicker--dark { color: #6a6155; }
.display { font-size: var(--fs-h2); font-weight: 300; line-height: .98; letter-spacing: -.035em; }
.display em, .lines em { color: var(--accent-2); }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon--xs { width: .95em; height: .95em; display: inline-block; vertical-align: -.12em; }

/* masked line reveal (text stays visible without JS) */
.lines .line, .hero__title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.line__in { display: inline-block; }
.js [data-reveal="lines"] .line__in { transform: translate3d(0, 110%, 0); transition: transform 1.15s var(--ease); transition-delay: calc(var(--d) * 90ms); }
.js [data-reveal="lines"].in .line__in { transform: none; }
.js [data-reveal="rise"] { opacity: 0; transform: translate3d(0, 46px, 0); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); }
.js [data-reveal="rise"].in { opacity: 1; transform: none; }

/* --------------------------------------------------------------- buttons */
.btn { position: relative; display: inline-flex; align-items: center; gap: 14px; min-height: 48px; padding: 0 22px 0 24px; border-radius: 999px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; isolation: isolate; overflow: hidden; transition: color .45s var(--ease), border-color .45s var(--ease), transform .5s var(--ease); }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .55s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn__icon { font-family: var(--f-display); font-size: 1rem; letter-spacing: 0; transition: transform .5s var(--ease); }
.btn:hover .btn__icon { transform: translate(2px, -2px); }
.btn--solid { background: var(--bone); color: var(--ink); }
.btn--solid::before { background: var(--accent); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--bone); }
.btn--ghost::before { background: var(--bone); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--ink); border-color: var(--bone); }
.btn--pill { border: 1px solid var(--line-2); min-height: 40px; padding: 0 16px 0 18px; font-size: .66rem; }
.btn--pill::before { background: var(--bone); }
.btn--pill:hover, .btn--pill:focus-visible { color: var(--ink); }
.btn--dark { background: #1b1915; color: #efe9df; }
.btn--dark::before { background: #4a4234; }
.btn--lg { min-height: 58px; padding: 0 28px 0 30px; font-size: .76rem; }
.btn .icon { width: 1.1em; height: 1.1em; }

.link-arrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; padding: 12px 0; position: relative; }
.link-arrow::after { content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: currentColor; opacity: .35; transition: opacity .3s; }
.link-arrow:hover::after { opacity: 1; animation: underline .8s var(--ease); }
@keyframes underline { 0% { transform: scaleX(1); transform-origin: right; } 45% { transform: scaleX(0); transform-origin: right; } 46% { transform-origin: left; } 100% { transform: scaleX(1); transform-origin: left; } }
.link-arrow__icon { display: inline-flex; transition: transform .5s var(--ease); }
.link-arrow:hover .link-arrow__icon { transform: translateX(6px); }
/* ---------------------------------------------------------------- loader */
.loader { display: none; }
.is-loading .loader { display: grid; }
.loader { position: fixed; inset: 0; z-index: 2000; background: #050506; place-items: center; align-content: center; gap: 34px; transition: clip-path 1.1s var(--ease-io); clip-path: inset(0 0 0 0); }
.loader.is-exit { clip-path: inset(0 0 100% 0); }
.loader__beam { position: absolute; left: 50%; top: -20%; width: 46vw; height: 140%; transform: translateX(-50%) rotate(14deg); background: linear-gradient(90deg, transparent, rgba(232, 220, 192, .07) 45%, rgba(232, 220, 192, .15) 50%, rgba(232, 220, 192, .07) 55%, transparent); filter: blur(18px); opacity: 0; animation: beam 2.4s .15s var(--ease) forwards; pointer-events: none; }
@keyframes beam { 0% { opacity: 0; transform: translateX(-140%) rotate(14deg); } 40% { opacity: 1; } 100% { opacity: .55; transform: translateX(-50%) rotate(14deg); } }
.loader__mark { position: relative; width: min(64vw, 520px); overflow: hidden; }
.loader__logo { width: 100%; opacity: 0; filter: blur(12px); transform: scale(1.04); animation: logoIn 1.5s .2s var(--ease) forwards; }
@keyframes logoIn { to { opacity: 1; filter: blur(0); transform: none; } }
.loader__sweep { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .85) 50%, transparent 65%); mix-blend-mode: overlay; transform: translateX(-110%); animation: sweep 1.4s 1s var(--ease) forwards; pointer-events: none; }
@keyframes sweep { to { transform: translateX(110%); } }
.loader__meta { display: flex; align-items: center; gap: 18px; width: min(64vw, 520px); font-family: var(--f-mono); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); opacity: 0; animation: fadeIn .8s .5s forwards; }
.loader__rule { flex: 1; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.loader__rule-fill { position: absolute; inset: 0; background: var(--bone-2); transform-origin: left; transform: scaleX(var(--lp, 0)); transition: transform .4s var(--ease); }
.loader__count { min-width: 2.4ch; text-align: right; font-variant-numeric: tabular-nums; color: var(--bone-2); }
.loader__tag { position: absolute; bottom: 7vh; font-family: var(--f-serif); font-style: italic; font-size: clamp(1rem, 1.4vw, 1.25rem); color: var(--mute); opacity: 0; animation: fadeIn 1s .9s forwards; }
@keyframes fadeIn { to { opacity: 1; } }
.is-loading body { overflow: hidden; }

/* hero entrance after loader */
.js [data-intro] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.js .hero__title [data-intro] { opacity: 1; transform: translate3d(0, 110%, 0); transition: transform 1.3s var(--ease); }
.js.intro [data-intro] { opacity: 1; transform: none; }
.js.intro [data-intro="2"] { transition-delay: .1s; }
.js.intro [data-intro="3"] { transition-delay: .2s; }
.js.intro [data-intro="4"] { transition-delay: .3s; }
.js.intro [data-intro="5"] { transition-delay: .55s; }
.js.intro [data-intro="6"] { transition-delay: .7s; }
.js.intro [data-intro="7"] { transition-delay: .9s; }
.js:not(.intro) .hero__frame { clip-path: inset(49.5% 0 49.5% 0) !important; }
.js .hero__frame { transition: clip-path 1.5s var(--ease); }
.js.hero-live .hero__frame { transition: none; }

/* ---------------------------------------------------------------- header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 500; transition: transform .6s var(--ease), background .5s, border-color .5s; border-bottom: 1px solid transparent; }
.site-header__inner { max-width: var(--maxw); margin: 0 auto; height: var(--header-h); padding: 0 var(--gutter); display: flex; align-items: center; gap: 32px; position: relative; z-index: 2; }
.site-header.is-solid { background: rgba(10, 10, 11, .74); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); border-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.wordmark { display: block; padding: 10px 0; }
.wordmark img { width: clamp(118px, 10vw, 150px); height: auto; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: clamp(20px, 2.6vw, 44px); }
.nav__link { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--bone-2); padding: 10px 0; position: relative; }
.nav__link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--bone); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; }
.menu-toggle__bars span { position: absolute; left: 11px; right: 11px; height: 1px; background: var(--bone); transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-toggle__bars span:first-child { top: 18px; }
.menu-toggle__bars span:last-child { top: 26px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:first-child { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:last-child { top: 22px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 1; background: #070708; padding: calc(var(--header-h) + 28px) var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-io); }
.mobile-menu.is-open { clip-path: inset(0 0 0 0); }
.mobile-menu__list a { display: flex; align-items: baseline; gap: 16px; font-size: clamp(2.3rem, 11vw, 3.6rem); font-weight: 300; letter-spacing: -.03em; line-height: 1.15; padding: 6px 0; border-bottom: 1px solid var(--line); }
.mm-idx { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; color: var(--mute); }
.mobile-menu__foot { display: grid; gap: 22px; padding-top: 28px; }
.mobile-menu__foot .btn { justify-content: space-between; }
.mobile-menu__contact { display: grid; gap: 10px; font-family: var(--f-mono); font-size: .76rem; color: var(--mute); letter-spacing: .06em; }
.menu-open { overflow: hidden; }
.menu-open .site-header { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }

/* ------------------------------------------------------- cursor, progress */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 950; pointer-events: none; mix-blend-mode: difference; will-change: transform; }
  .cursor__dot { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff; transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), opacity .3s; }
  .cursor__label { position: absolute; transform: translate(-50%, -50%); font-family: var(--f-mono); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity .3s; white-space: nowrap; }
  .cursor.is-label .cursor__dot { width: 86px; height: 86px; margin: -43px 0 0 -43px; }
  .cursor.is-label .cursor__label { opacity: 1; }
  .cursor.is-link .cursor__dot { width: 34px; height: 34px; margin: -17px 0 0 -17px; opacity: .5; }
  .cursor.is-hidden .cursor__dot { opacity: 0; }
}
.progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 600; pointer-events: none; }
.progress__bar { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--pp, 0)); opacity: .8; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 1500; visibility: hidden; transform: translate(-50%, calc(100% + 48px)); background: var(--bone); color: var(--ink); padding: 12px 18px; border-radius: 99px; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; transition: transform .6s var(--ease); max-width: calc(100vw - 32px); text-align: center; }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; }
.toast a { text-decoration: underline; }

/* calendly popup polish */
.calendly-overlay { z-index: 2500 !important; }
.calendly-overlay .calendly-popup-close { top: 22px !important; right: 22px !important; }

/* ----------------------------------------------------------------- footer */
.site-footer { border-top: 1px solid var(--line); padding: clamp(60px, 7vw, 100px) var(--gutter) 30px; max-width: var(--maxw); margin: 0 auto; }
.site-footer__top { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; padding-bottom: clamp(40px, 5vw, 70px); border-bottom: 1px solid var(--line); }
.site-footer__mark img { width: clamp(220px, 40vw, 620px); opacity: .95; }
.site-footer__tag { font-family: var(--f-serif); font-style: italic; color: var(--mute); font-size: clamp(1.1rem, 1.6vw, 1.5rem); }
.site-footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; padding: clamp(40px, 5vw, 64px) 0; }
.site-footer__grid ul { display: grid; gap: 4px; }
.site-footer__grid li a { display: inline-block; padding: 4px 0; color: var(--bone-2); transition: color .3s; font-size: .95rem; }
.site-footer__grid a:hover { color: var(--bone); }
.site-footer__grid .kicker { margin-bottom: 14px; }
.tag-dev { font-family: var(--f-mono); font-style: normal; font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-left: 6px; }
.link-book { font-size: clamp(1.2rem, 1.8vw, 1.6rem); font-weight: 300; letter-spacing: -.02em; border-bottom: 1px solid var(--line-2); padding-bottom: 6px; display: inline-block; }
.link-book:hover { border-color: var(--bone); }
.site-footer__base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute-2); }
.to-top { padding: 4px 0; }
.to-top:hover { color: var(--bone); }
/* ------------------------------------------------------------------ HERO
   Scroll choreography (desktop): the stage is pinned for ~1.3 viewports.
   --hp (0→1) is written by JS from scroll position:
   full-bleed reel → reel recedes into a framed "screen" on the right →
   the headline lifts away and a second statement settles in on the left. */
.hero { position: relative; height: 230vh; --hp: 0; }
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero__frame { position: absolute; inset: 0; background: #050506; clip-path: inset(calc(var(--hp) * 14vh) calc(var(--hp) * 5vw) calc(var(--hp) * 14vh) calc(var(--hp) * 47vw) round calc(var(--hp) * 16px)); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.06 - var(--hp) * .06)); transform-origin: 70% 50%; }
.hero__veil { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(5, 5, 6, .9) 0%, rgba(5, 5, 6, .55) 38%, rgba(5, 5, 6, .08) 72%), linear-gradient(0deg, rgba(5, 5, 6, .85), transparent 36%); opacity: calc(1 - var(--hp) * .85); }
.hero__frame-meta { position: absolute; left: calc(var(--hp) * 47vw + 22px); right: calc(var(--hp) * 5vw + 22px); top: calc(var(--hp) * 14vh + 18px); display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(236, 231, 222, .75); opacity: clamp(0, calc((var(--hp) - .55) * 4), 1); pointer-events: none; }
.hero__copy { position: absolute; left: var(--gutter); bottom: clamp(96px, 14vh, 160px); max-width: min(1000px, 72vw); z-index: 2; opacity: calc(1 - var(--hp) * 2.6); transform: translate3d(0, calc(var(--hp) * -16vh), 0); }
.hero__kicker { color: var(--bone-2); }
.hero__title { font-size: var(--fs-display); font-weight: 300; line-height: .93; letter-spacing: -.045em; }
.hero__title em { color: var(--accent-2); padding-right: .06em; }
.hero__lede { margin-top: clamp(22px, 2.6vw, 36px); max-width: 34ch; font-size: var(--fs-lede); color: var(--bone-2); line-height: 1.5; }
.hero__ctas { margin-top: clamp(26px, 3vw, 40px); display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.hero__statement { position: absolute; left: var(--gutter); top: 50%; width: min(38vw, 620px); transform: translate3d(0, calc(-50% + (1 - var(--hp)) * 16vh), 0); opacity: clamp(0, calc((var(--hp) - .62) * 3.6), 1); z-index: 2; pointer-events: none; }
.hero__statement p { font-size: clamp(2rem, 3.9vw, 4.2rem); font-weight: 300; line-height: 1.02; letter-spacing: -.035em; }
.hero__statement em { color: var(--accent-2); }
.hero__statement .mono { display: block; margin-top: 28px; color: var(--mute); font-size: .64rem; }
.hero__foot { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 26px; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--mute); z-index: 2; opacity: calc(1 - var(--hp) * 3); }
.hero__scroll { display: inline-flex; gap: 10px; align-items: center; color: var(--bone-2); padding: 8px 0; }
.hero__scroll .icon { animation: nudge 2.4s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: none; } 50% { transform: translateY(4px); } }
.hero__pause { color: var(--mute); padding: 10px 0; }
.hero__pause:hover { color: var(--bone); }

/* ------------------------------------------------------------- manifesto */
.manifesto { position: relative; padding: clamp(110px, 16vw, 220px) var(--gutter) clamp(90px, 12vw, 170px); --sp: 0; }
.manifesto__inner { max-width: var(--maxw); margin: 0 auto; }
.scroll-words { font-size: clamp(1.9rem, 4.5vw, 4.7rem); line-height: 1.07; font-weight: 300; letter-spacing: -.03em; max-width: 21ch; }
.js .sw { opacity: clamp(.14, calc((var(--sp) * (var(--n) + 6) - var(--i)) / 3), 1); }
.reduced .sw { opacity: 1 !important; }
.manifesto__aside { margin: clamp(48px, 7vw, 96px) 0 0 auto; max-width: 440px; display: grid; gap: 22px; color: var(--mute); }
.manifesto__sign { color: var(--bone-2); }

/* ------------------------------------------------------------------ WORK */
.work { position: relative; padding: clamp(60px, 8vw, 120px) 0 clamp(80px, 10vw, 140px); }
.work__head { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr minmax(260px, 380px); align-items: end; gap: 40px; }
.work__head .kicker { grid-column: 1 / -1; margin-bottom: 0; }
.work__intro { color: var(--mute); padding-bottom: 10px; }
.work__all { max-width: var(--maxw); margin: clamp(80px, 9vw, 130px) auto 0; padding: 0 var(--gutter); display: flex; justify-content: center; }

.exhibit { position: relative; max-width: var(--maxw); margin: clamp(120px, 14vw, 220px) auto 0; padding: 0 var(--gutter); }
.exhibit__index { color: var(--mute); margin-bottom: 18px; }
.exhibit__name { font-size: clamp(2.6rem, 5.8vw, 6.2rem); font-weight: 300; letter-spacing: -.04em; line-height: .95; }
.exhibit__name--serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; }
.exhibit__cat { color: var(--mute); margin-top: 16px; }
.exhibit__cat strong { color: var(--accent); font-weight: 400; }
.exhibit__desc { margin-top: 26px; max-width: 44ch; color: var(--bone-2); }
.exhibit__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.exhibit__tags li { border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px; font-size: .6rem; color: var(--mute); }
.exhibit__cta { margin-top: 20px; }

/* media primitives */
.media { position: relative; aspect-ratio: var(--ar); background: #0d0d0f; overflow: hidden; }
.media__video { position: absolute; inset: 0; width: 100%; height: 100%; }
.media__video.fit-cover { object-fit: cover; }
.media__video.fit-contain { object-fit: contain; }
.media.is-failed::after { content: 'Preview unavailable — still frame shown'; position: absolute; left: 12px; bottom: 12px; font-family: var(--f-mono); font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bone-2); background: rgba(0, 0, 0, .7); padding: 4px 8px; }
.media__toggle { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(10, 10, 11, .6); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .3s; z-index: 3; color: var(--bone); }
.media:hover .media__toggle, .media__toggle:focus-visible, .media.is-paused .media__toggle { opacity: 1; }
.media__toggle .icon { width: 15px; height: 15px; }
.media__toggle-play { display: none; }
.media.is-paused .media__toggle-play { display: block; }
.media.is-paused .media__toggle-pause { display: none; }
.pic { display: block; }
.pic img { width: 100%; height: 100%; object-fit: cover; }

/* -- 01 DK: vertical device, giant outline type, amber */
.exhibit--dk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 340px) minmax(0, .75fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.exhibit--dk__type { position: absolute; left: 0; right: 0; top: -9%; z-index: 0; display: flex; flex-direction: column; align-items: center; pointer-events: none; font-weight: 800; font-size: clamp(5rem, 15.5vw, 16rem); line-height: .82; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(242, 178, 43, .085); user-select: none; }
.exhibit--dk__meta { position: relative; z-index: 2; padding: 28px 0; background: radial-gradient(closest-side, rgba(10,10,11,.85), rgba(10,10,11,0)); }
.exhibit--dk .exhibit__index { color: #f2b22b; }
.exhibit--dk__device { position: relative; z-index: 2; display: block; border-radius: 34px; padding: 10px; background: linear-gradient(145deg, #2a2a2d, #0c0c0e 60%); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 60px 120px -30px rgba(0, 0, 0, .9), 0 0 120px -20px rgba(242, 178, 43, .22); transform: perspective(1200px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transition: transform .8s var(--ease); }
.exhibit--dk__device .media { border-radius: 25px; }
.device-notch { position: absolute; top: 18px; left: 50%; width: 76px; height: 20px; border-radius: 20px; background: #050505; transform: translateX(-50%); z-index: 4; }
.exhibit--dk__stills { position: relative; z-index: 1; align-self: stretch; min-height: 520px; }
.still { position: absolute; width: 64%; border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px -30px #000; filter: grayscale(.5) brightness(.6); transition: filter .8s, transform 1s var(--ease); }
.still img { aspect-ratio: 576/1072; }
.still--a { top: 2%; left: 0; transform: rotate(-4deg); }
.still--b { bottom: 2%; right: 0; transform: rotate(5deg); }
.exhibit--dk:hover .still { filter: grayscale(0) brightness(.9); }
.exhibit--dk:hover .still--a { transform: rotate(-6deg) translateY(-8px); }
.exhibit--dk:hover .still--b { transform: rotate(7deg) translateY(8px); }

/* -- 02 SM: letterboxed cinema, gold, overlapped CMS */
.exhibit--sm { padding: 0; max-width: none; }
.exhibit--sm__bar { display: flex; justify-content: space-between; padding: 0 var(--gutter) 18px; color: #b49a62; max-width: var(--maxw); margin: 0 auto; }
.exhibit--sm__screen { display: block; position: relative; margin: 0 auto; width: calc(100% - var(--gutter) * 2); max-width: 1680px; overflow: hidden; box-shadow: 0 80px 160px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(180, 154, 98, .22); clip-path: inset(0 calc((1 - var(--cp, 1)) * 11%) round 4px); }
.exhibit--sm__screen .media { transform: scale(calc(1.1 - var(--cp, 1) * .1)); }
.exhibit--sm__caption { max-width: var(--maxw); margin: clamp(30px, 4vw, 56px) auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 1fr auto; gap: 40px; align-items: end; }
.exhibit--sm__caption .exhibit__desc { margin-top: 0; }
.exhibit--sm .exhibit__name { color: #e6d3a3; }
.exhibit--sm__cms { position: relative; width: min(46vw, 640px); margin: clamp(40px, 5vw, 70px) max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))) 0 auto; }
.exhibit--sm__cms .media { border: 1px solid rgba(180, 154, 98, .25); box-shadow: 0 40px 100px -30px #000; }
.exhibit--sm__cms figcaption { margin-top: 12px; color: var(--mute); }

/* -- 03 ENC: monochrome, offset wide frame, giant outline word */
.exhibit--enc { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(260px, .8fr); gap: clamp(28px, 4vw, 70px); align-items: end; }
.exhibit--enc__word { position: absolute; right: var(--gutter); top: -.62em; font-size: clamp(5rem, 15vw, 16rem); font-weight: 200; letter-spacing: .12em; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(236, 231, 222, .13); pointer-events: none; user-select: none; }
.exhibit--enc__screen { position: relative; display: block; filter: grayscale(1) contrast(1.05); transition: filter 1s var(--ease); box-shadow: 0 60px 140px -40px #000; }
.exhibit--enc__screen:hover, .exhibit--enc__screen:focus-visible { filter: grayscale(.1); }
.exhibit--enc__meta { padding-bottom: 8px; position: relative; }
.status-badge { position: absolute; left: 16px; top: 16px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 99px; background: rgba(10, 10, 11, .8); border: 1px solid rgba(203, 183, 143, .45); color: var(--accent-2); font-family: var(--f-mono); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); line-height: 1.2; }
.status-badge--inline { position: static; }
.status-badge__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(203, 183, 143, .6); } 70% { box-shadow: 0 0 0 7px rgba(203, 183, 143, 0); } 100% { box-shadow: 0 0 0 0 rgba(203, 183, 143, 0); } }

/* ---------------------------------------------------------------- IMPACT */
.impact { background: #e9e3d8; color: #1b1915; padding: clamp(100px, 13vw, 200px) var(--gutter); position: relative; overflow: hidden; }
.impact::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 50% at 80% 20%, rgba(255, 248, 230, .7), transparent 70%); pointer-events: none; }
.impact__inner { position: relative; max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.1fr .8fr .9fr; gap: clamp(24px, 3vw, 48px); align-items: start; }
.impact__copy { grid-column: 1; grid-row: 1 / 3; align-self: center; }
.impact .kicker { color: #6a6155; }
.impact__title { font-size: var(--fs-h2); font-weight: 300; line-height: .98; letter-spacing: -.035em; }
.impact__title em { color: #6b5a3c; }
.impact__lede { margin: 30px 0 36px; max-width: 40ch; color: #4b463e; font-size: var(--fs-lede); line-height: 1.55; }
.impact__store { grid-column: 2; grid-row: 1 / 3; }
.impact__store img { aspect-ratio: 772/1024; box-shadow: 0 50px 90px -40px rgba(40, 30, 10, .5); }
.impact__site { grid-column: 3; grid-row: 2; }
.impact__site img { box-shadow: 0 40px 80px -40px rgba(40, 30, 10, .55); }
.impact figcaption { margin-top: 12px; color: #6f675b; }

/* ----------------------------------------------------------- CAPABILITIES */
.caps { max-width: var(--maxw); margin: 0 auto; padding: clamp(110px, 14vw, 210px) var(--gutter) clamp(60px, 8vw, 120px); }
.caps__head { margin-bottom: clamp(50px, 7vw, 100px); }
.caps__list { border-top: 1px solid var(--line); }
.cap { display: grid; grid-template-columns: 80px minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, .6fr); gap: 30px; align-items: baseline; padding: clamp(28px, 3.4vw, 48px) 0; border-bottom: 1px solid var(--line); position: relative; }
.cap::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(203, 183, 143, .06), transparent 60%); opacity: 0; transition: opacity .6s; pointer-events: none; }
.cap:hover::before { opacity: 1; }
.cap__idx { color: var(--mute); }
.cap__title { font-size: var(--fs-h3); font-weight: 300; letter-spacing: -.03em; line-height: 1.04; transition: transform .6s var(--ease); }
.cap:hover .cap__title { transform: translateX(10px); }
.cap__value { color: var(--bone-2); max-width: 46ch; }
.cap__ref { color: var(--mute-2); font-size: .62rem; text-align: right; }

/* --------------------------------------------------------------- APPROACH */
.approach { max-width: var(--maxw); margin: 0 auto; padding: clamp(80px, 10vw, 160px) var(--gutter); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 110px); --ap: 0; }
.approach__sticky { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
.approach__note { color: var(--mute); max-width: 36ch; margin-top: 28px; }
.approach__rail { margin-top: 48px; height: 1px; background: var(--line); position: relative; max-width: 360px; }
.approach__rail-fill { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(var(--ap)); }
.step { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 46px); padding: clamp(40px, 6vh, 80px) 0; border-bottom: 1px solid var(--line); transition: opacity .7s var(--ease); }
.js .step { opacity: .3; }
.js .step.is-active, .reduced .step { opacity: 1; }
.step:first-child { border-top: 1px solid var(--line); }
.step__num { font-size: clamp(3.5rem, 7vw, 7rem); font-weight: 200; line-height: .8; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px var(--bone-2); font-variant-numeric: tabular-nums; transition: color .7s; min-width: 1.3em; }
.step.is-active .step__num, .reduced .step__num { color: var(--bone); -webkit-text-stroke-color: transparent; }
.step__title { font-size: var(--fs-h3); font-weight: 300; letter-spacing: -.03em; line-height: 1; }
.step__desc { margin-top: 14px; color: var(--bone-2); max-width: 40ch; }

/* ---------------------------------------------------------------- CLOSING */
.closing { position: relative; padding: clamp(120px, 16vw, 240px) var(--gutter) clamp(50px, 6vw, 80px); text-align: center; overflow: hidden; }
.closing::before { content: ''; position: absolute; left: 50%; top: 0; width: 1px; height: clamp(60px, 9vw, 130px); background: linear-gradient(var(--line-2), transparent); }
.closing__inner { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.closing .kicker::after, .center-kicker::after { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.closing__title { font-size: clamp(3rem, 8.4vw, 9.5rem); font-weight: 300; line-height: .92; letter-spacing: -.05em; }
.closing__title em { color: var(--accent-2); }
.closing__lede { margin-top: 30px; color: var(--bone-2); font-size: var(--fs-lede); max-width: 36ch; }
.closing__ctas { margin-top: 44px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.closing__direct { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 34px; color: var(--mute); }
.closing__direct a { display: inline-block; padding: 8px 0; }
.closing__direct a:hover { color: var(--bone); }
.closing__next { margin-top: clamp(60px, 7vw, 100px); display: inline-flex; flex-direction: column; align-items: center; gap: 12px; color: var(--mute); }
.closing__next span:last-child { width: 1px; height: 54px; background: linear-gradient(var(--mute), transparent); }
/* ============================================================ 3D CARD SCENE
   CSS 3D: .card3d holds the perspective, .card3d__body is rotated by a JS spring.
   Six stacked edge slices create real, visible thickness when the card turns.
   Faces are container-query roots so typography scales with the card itself. */
.card-scene { position: relative; min-height: 100vh; min-height: 100svh; padding: clamp(80px, 9vw, 130px) clamp(14px, 4.2vw, 72px) clamp(70px, 8vw, 110px); display: grid; justify-items: center; align-content: center; gap: clamp(26px, 3.4vw, 44px); overflow: hidden; background: radial-gradient(70% 55% at 50% 50%, #18181b 0%, #0b0b0c 55%, #050506 100%); isolation: isolate; }
.card-scene::before { content: ''; position: absolute; left: 50%; top: 0; width: 1px; height: 90px; background: linear-gradient(var(--line-2), transparent); }
.card-scene__light { position: absolute; top: -30%; left: 50%; width: 30vw; min-width: 240px; height: 160%; transform: translateX(-200%) rotate(18deg); background: linear-gradient(90deg, transparent, rgba(232, 220, 192, .06) 40%, rgba(255, 246, 225, .14) 50%, rgba(232, 220, 192, .06) 60%, transparent); filter: blur(24px); z-index: -1; opacity: 0; pointer-events: none; }
.card-scene.is-in .card-scene__light { animation: sceneBeam 2.8s var(--ease) forwards; }
@keyframes sceneBeam { 0% { opacity: 0; transform: translateX(-200%) rotate(18deg); } 30% { opacity: 1; } 100% { opacity: .45; transform: translateX(-20%) rotate(18deg); } }
.card-scene__floor { position: absolute; left: 0; right: 0; bottom: 0; height: 40%; z-index: -1; pointer-events: none; background: radial-gradient(50% 60% at 50% 100%, rgba(232, 220, 192, .05), transparent 70%), linear-gradient(transparent, rgba(0, 0, 0, .55)); }
.card-scene__head { text-align: center; display: grid; justify-items: center; }
.card-scene__head .kicker { margin-bottom: 16px; }
.card-scene__head .kicker::after { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.card-scene__title { font-size: clamp(2.2rem, 4.4vw, 4.4rem); font-weight: 300; letter-spacing: -.04em; line-height: 1; }
.card-scene__title em { color: var(--accent-2); }
.card-scene__hint { margin-top: 14px; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.hint-touch { display: none; }
@media (hover: none) { .hint-fine { display: none; } .hint-touch { display: inline; } }

.card-stage { position: relative; width: 100%; max-width: 620px; display: grid; justify-items: center; }
.card-float { width: 100%; }
.js .card-scene .card-float { opacity: 0; transform: translate3d(0, 80px, 0) scale(.92); transition: opacity 1.4s var(--ease), transform 1.8s var(--ease); }
.js .card-scene.is-in .card-float { opacity: 1; transform: none; }
.card-float__bob { animation: floaty 7s ease-in-out infinite; }
.card-scene.is-paused .card-float__bob, .card-scene:not(.is-in) .card-float__bob { animation-play-state: paused; }
@keyframes floaty { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -12px, 0); } }

.card3d { position: relative; width: 100%; aspect-ratio: 1.6; cursor: grab; perspective: 1600px; perspective-origin: 50% 40%; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; touch-action: pan-y; border-radius: 18px; }
.card3d.is-dragging { cursor: grabbing; }
.card3d__body { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(var(--lift, 0px)); will-change: transform; }
.card3d__slice { position: absolute; inset: 0; border-radius: 18px; transform: translateZ(var(--z)); background: linear-gradient(115deg, #3a3834, #8f8678 22%, #262523 45%, #cbbfa4 62%, #302e2a 80%, #6f6b65); }
.card3d__face { position: absolute; inset: 0; border-radius: 18px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: #121214; container-type: inline-size; }
.card3d__face--front { transform: translateZ(3.05px); }
.card3d__face--back { transform: rotateY(180deg) translateZ(3.05px); }
.card3d__metal { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .055), transparent 32%, rgba(0, 0, 0, .28)), url('/static/img/brushed-metal.webp') center / 160% 100%, #141416; }
.card3d__metal::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 50px rgba(0, 0, 0, .6); }
.card3d__spec { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; background: radial-gradient(55% 75% at var(--mx, 50%) var(--my, 25%), rgba(255, 244, 222, .15), transparent 62%), linear-gradient(100deg, transparent calc(var(--sx, 30%) - 16%), rgba(255, 250, 238, .1) var(--sx, 30%), transparent calc(var(--sx, 30%) + 16%)); }
.card3d__face::after { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(var(--ea, 125deg), rgba(255, 236, 200, .7), rgba(255, 255, 255, .05) 30%, rgba(255, 255, 255, .02) 62%, rgba(255, 236, 200, .5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); pointer-events: none; }

/* -- front */
.card3d__front { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 8cqw 10cqw; }
.cf-brand { display: grid; justify-items: center; gap: 2.2cqw; }
.cf-logo { width: 46cqw; filter: drop-shadow(0 0 1.6cqw rgba(255, 255, 255, .25)) drop-shadow(0 1px 0 rgba(0, 0, 0, .9)); }
.cf-studio { font-family: var(--f-mono); font-size: max(7px, 1.55cqw); letter-spacing: .7em; padding-left: .7em; text-transform: uppercase; color: #a39d92; }
.cf-person { margin-top: 7cqw; }
.cf-name { font-size: max(10px, 2.65cqw); letter-spacing: .4em; padding-left: .4em; text-transform: uppercase; font-weight: 400; color: #ece6db; }
.cf-role { margin-top: 1.3cqw; font-family: var(--f-mono); font-size: max(7.5px, 1.55cqw); letter-spacing: .26em; padding-left: .26em; text-transform: uppercase; color: #8f897f; }
.cf-rule { display: block; width: 5cqw; height: 1px; background: #8f897f; margin: 3.4cqw auto; }
.cf-tag { font-family: var(--f-mono); font-size: max(7.5px, 1.5cqw); letter-spacing: .3em; padding-left: .3em; text-transform: uppercase; color: #c2baac; }

/* -- back */
.card3d__back { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .85fr); grid-template-rows: minmax(0, 1fr) auto; padding: 6.4cqw 6.4cqw 4.4cqw; column-gap: 5cqw; text-align: left; }
.cb-main { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; gap: 2cqw; }
.cb-name { font-size: max(12px, 3.5cqw); font-weight: 400; color: #f0eadf; line-height: 1.1; letter-spacing: -.005em; }
.cb-role { font-size: max(9px, 1.95cqw); color: #9f998e; margin-top: .6cqw; }
.cb-list { display: grid; gap: .4cqw; }
.cb-list a { display: flex; align-items: center; gap: 2.2cqw; font-size: max(10px, 2.15cqw); color: #ddd6ca; padding: .8cqw 0; transition: color .3s; min-width: 0; }
.cb-list a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cb-list a:hover, .cb-list a:focus-visible { color: #fff; }
.cb-list .icon { width: max(12px, 2.7cqw); height: max(12px, 2.7cqw); color: #aba392; }
.cb-book { align-self: flex-start; display: inline-flex; align-items: center; gap: 1.6cqw; padding: max(6px, 1.5cqw) max(10px, 3cqw); border-radius: 99px; border: 1px solid rgba(232, 220, 192, .5); font-size: max(9.5px, 1.95cqw); color: #f2ead9; background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(0, 0, 0, .12)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); transition: background .4s, box-shadow .4s, color .4s; white-space: nowrap; max-width: 100%; }
.cb-book:hover, .cb-book:focus-visible { background: #f0e8d6; color: #111; box-shadow: 0 0 26px -4px rgba(232, 220, 192, .55); }
.cb-side { display: flex; flex-direction: column; align-items: center; justify-content: space-between; border-left: 1px solid rgba(255, 255, 255, .09); padding-left: 4.4cqw; text-align: center; min-width: 0; gap: 1.6cqw; }
.cb-logo { width: 100%; opacity: .92; }
.cb-qr { display: grid; justify-items: center; gap: 1cqw; font-size: max(8px, 1.6cqw); color: #aba392; letter-spacing: .04em; }
.cb-qr img { width: 15cqw; height: auto; padding: .9cqw; border-radius: 4px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); transition: box-shadow .3s; }
.cb-qr:hover img, .cb-qr:focus-visible img { box-shadow: inset 0 0 0 1px rgba(232, 220, 192, .55); }
.cb-tag { font-family: var(--f-mono); font-size: max(6.5px, 1.15cqw); letter-spacing: .1em; text-transform: uppercase; color: #827c72; line-height: 1.5; }
.cb-actions { grid-column: 1 / -1; display: flex; gap: 1.4cqw; padding-top: 2.4cqw; margin-top: 2.6cqw; border-top: 1px solid rgba(255, 255, 255, .08); }
.cb-actions a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 1.2cqw; padding: max(6px, 1.4cqw) 0; font-family: var(--f-mono); font-size: max(8px, 1.45cqw); letter-spacing: .12em; text-transform: uppercase; color: #aba392; border-radius: 6px; transition: background .3s, color .3s; }
.cb-actions a:hover, .cb-actions a:focus-visible { background: rgba(255, 255, 255, .07); color: #f2ebde; }
.cb-actions .icon { width: max(11px, 2.2cqw); height: max(11px, 2.2cqw); }

.card-shadow { width: 74%; height: 38px; margin-top: clamp(28px, 4.6vw, 56px); border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .9), transparent); filter: blur(10px); opacity: .9; animation: shadowy 7s ease-in-out infinite; }
.card-scene.is-paused .card-shadow, .card-scene:not(.is-in) .card-shadow { animation-play-state: paused; }
@keyframes shadowy { 50% { transform: scaleX(.88); opacity: .6; } }
.card-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.card-flip .icon { width: 1.15em; height: 1.15em; }
.card-actions-rail { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 720px; }
.card-actions-rail a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 99px; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bone-2); transition: border-color .3s, background .3s, color .3s; }
.card-actions-rail a:hover, .card-actions-rail a:focus-visible { border-color: var(--bone); color: var(--bone); background: rgba(255, 255, 255, .04); }
.card-actions-rail .icon { width: 14px; height: 14px; }
.card3d:focus-visible { outline-offset: 12px; border-radius: 20px; }

/* Static fallback (no 3D / no JS / reduced motion): show both faces side by side */
.no-js .card3d, .card-static .card3d { aspect-ratio: auto; perspective: none; cursor: default; }
.no-js .card3d__body, .card-static .card3d__body { position: relative; transform: none !important; display: grid; gap: 22px; }
.no-js .card3d__slice, .card-static .card3d__slice { display: none; }
.no-js .card3d__face, .card-static .card3d__face { position: relative; transform: none; aspect-ratio: 1.6; backface-visibility: visible; -webkit-backface-visibility: visible; }
.card-static .card3d__face--back[inert] { pointer-events: auto; }
.no-js .card-flip, .card-static .card-flip, .card-static .card-scene__hint, .no-js .card-scene__hint { display: none; }

@media (max-width: 560px) {
  .card3d, .card3d__slice, .card3d__face { border-radius: 14px; }
  .card3d { aspect-ratio: 1.42; }
  .no-js .card3d__face, .card-static .card3d__face { aspect-ratio: 1.42; }
  .card3d__back { padding: 5.4cqw 5.4cqw 3.6cqw; grid-template-columns: minmax(0, 1.75fr) minmax(0, .8fr); column-gap: 4cqw; }
  .cb-main { gap: 1cqw; }
  .cb-list a { padding: .4cqw 0; }
  .cb-side { padding-left: 3.6cqw; }
  .cb-qr img { width: 17cqw; }
  .cb-actions { margin-top: 2cqw; padding-top: 1.8cqw; }
  .cf-logo { width: 56cqw; }
}

/* hold still while the visitor is aiming at it */
.card-stage:hover .card-float__bob, .card-stage:focus-within .card-float__bob, .card-stage:hover + .card-shadow { animation-play-state: paused; }
/* ============================================================ CASE STUDIES */
.case { --c-accent: var(--accent); }
.theme-dk-services { --c-accent: #f2b22b; }
.theme-shoaib-merchant { --c-accent: #c8aa6e; }
.theme-encore-auto { --c-accent: #c9c9c9; }
.theme-dk-services .progress__bar { background: #f2b22b; }
.theme-shoaib-merchant .progress__bar { background: #c8aa6e; }
.case .lines em { color: var(--c-accent); }
.case-hero { max-width: var(--maxw); margin: 0 auto; padding: calc(var(--header-h) + clamp(40px, 6vw, 90px)) var(--gutter) 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(30px, 5vw, 90px); align-items: center; }
.case-back { display: inline-flex; gap: 10px; align-items: center; color: var(--mute); margin-bottom: clamp(30px, 4vw, 56px); padding: 8px 0; }
.case-back:hover { color: var(--bone); }
.case-hero__title { font-size: clamp(2.8rem, 6.2vw, 6.8rem); font-weight: 300; line-height: .95; letter-spacing: -.045em; }
.case--sm .case-hero__title { font-family: var(--f-serif); font-weight: 400; letter-spacing: -.02em; line-height: 1; }
.case--dk .case-hero__title { font-weight: 700; text-transform: uppercase; letter-spacing: -.035em; line-height: .9; }
.case--dk .case-hero__title em { font-family: var(--f-display); font-style: normal; font-weight: 700; }
.case--enc .case-hero__title { font-weight: 200; text-transform: uppercase; letter-spacing: .02em; }
.case--enc .case-hero__title em { text-transform: none; font-size: 1.1em; }
.case-hero__lede { margin-top: 30px; max-width: 46ch; color: var(--bone-2); font-size: var(--fs-lede); line-height: 1.55; }
.case-facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; margin-top: clamp(50px, 7vw, 100px); padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case-facts dt { color: var(--mute); margin-bottom: 10px; }
.case-facts dd { color: var(--bone-2); font-size: .95rem; }
.phone-duo { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.phone { position: relative; width: min(330px, 72vw); border-radius: 36px; padding: 10px; background: linear-gradient(145deg, #2c2c2f, #0b0b0d 60%); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 60px 120px -30px #000, 0 0 140px -30px rgba(242, 178, 43, .25); z-index: 2; transform: perspective(1200px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transition: transform .8s var(--ease); }
.phone .media { border-radius: 27px; }
.phone--ghost { position: absolute; right: 0; top: 14%; width: min(240px, 50vw); transform: rotate(8deg); z-index: 1; opacity: .45; filter: grayscale(.6); padding: 8px; box-shadow: 0 40px 80px -30px #000; }
.phone--ghost .pic img { border-radius: 24px; aspect-ratio: 576/1072; }
.phone-duo .phone:first-child { margin-right: 18%; }
.cine { position: relative; box-shadow: 0 70px 140px -40px #000, 0 0 0 1px rgba(200, 170, 110, .22); }
.cine--wide { box-shadow: 0 70px 140px -40px #000, 0 0 0 1px rgba(255, 255, 255, .1); }
.case--enc .cine { filter: grayscale(.85); transition: filter 1s; }
.case--enc .cine:hover { filter: none; }

.chapter { max-width: var(--maxw); margin: 0 auto; padding: clamp(90px, 12vw, 180px) var(--gutter) 0; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(30px, 5vw, 90px); }
.chapter__n { color: var(--c-accent); margin-bottom: 18px; }
.chapter__title { font-size: clamp(2.1rem, 4.2vw, 4.4rem); font-weight: 300; line-height: 1; letter-spacing: -.04em; }
.chapter__body { padding-top: 46px; }
.prose-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; color: var(--bone-2); }
.prose { color: var(--bone-2); display: grid; gap: 18px; }
.note { grid-column: 1 / -1; color: var(--mute); font-size: .6rem; line-height: 1.8; border-left: 1px solid var(--line-2); padding-left: 14px; }
.decisions { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 40px; }
.decisions li { border-top: 1px solid var(--line); padding-top: 18px; }
.decisions .mono { color: var(--c-accent); }
.decisions p { margin-top: 10px; color: var(--bone-2); }
.ticks { display: grid; gap: 12px; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .8em; width: 14px; height: 1px; background: var(--c-accent); }
.case-strip { margin-top: clamp(90px, 11vw, 160px); overflow: hidden; padding: 30px 0 90px; }
.case-strip__track { display: flex; gap: 22px; padding-left: var(--gutter); width: max-content; transform: translate3d(var(--px, 0px), 0, 0); }
.strip-shot { width: clamp(170px, 19vw, 270px); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -30px #000, 0 0 0 1px rgba(255, 255, 255, .06); flex: none; }
.strip-shot img { aspect-ratio: 576/1072; }
.strip-shot:nth-child(even) { margin-top: 60px; }
.sm-gallery { max-width: var(--maxw); margin: clamp(90px, 11vw, 160px) auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.sm-gallery figure { box-shadow: 0 40px 90px -30px #000, 0 0 0 1px rgba(200, 170, 110, .18); }
.sm-gallery img { aspect-ratio: 816/368; }
.sm-gallery__a { grid-column: 1 / 9; }
.sm-gallery__b { grid-column: 6 / 13; margin-top: -4%; position: relative; z-index: 1; }
.sm-gallery__c { grid-column: 2 / 8; margin-top: -2%; }
.cms-split { display: grid; gap: 40px; }
.cms-split__media .media { box-shadow: 0 40px 100px -30px #000, 0 0 0 1px rgba(200, 170, 110, .2); }
.case-reflection { max-width: 1100px; margin: 0 auto; padding: clamp(110px, 14vw, 200px) var(--gutter); text-align: center; display: grid; justify-items: center; }
.case-reflection .kicker::after { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.case-reflection__q { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: clamp(1.9rem, 3.9vw, 3.9rem); line-height: 1.1; letter-spacing: -.015em; margin-bottom: 26px; max-width: 26ch; }
.case-reflection .mono { color: var(--mute); }
.case-next { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter) clamp(80px, 10vw, 140px); display: grid; gap: 30px; }
.case-next__link { position: relative; display: grid; gap: 14px; padding: clamp(50px, 8vw, 120px) clamp(24px, 4vw, 60px); overflow: hidden; border: 1px solid var(--line); isolation: isolate; }
.case-next__link .mono { color: var(--mute); position: relative; }
.case-next__name { font-size: clamp(3rem, 9vw, 9.5rem); font-weight: 300; letter-spacing: -.05em; line-height: .9; transition: transform .8s var(--ease); position: relative; }
.case-next__bg { position: absolute; inset: 0; z-index: -1; opacity: .16; filter: grayscale(1); transition: opacity .8s, transform 1.4s var(--ease); transform: scale(1.06); }
.case-next__bg img { height: 100%; }
.case-next__link:hover .case-next__bg { opacity: .4; transform: scale(1); }
.case-next__link:hover .case-next__name { transform: translateX(16px); }
.case-next__aside { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.dev-banner { max-width: var(--maxw); margin: calc(var(--header-h) + 16px) auto 0; padding: 0 var(--gutter); }
.dev-banner__in { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding: 14px 18px; border: 1px solid rgba(203, 183, 143, .3); background: rgba(203, 183, 143, .05); font-size: .92rem; color: var(--bone-2); }
.case--enc .case-hero { padding-top: clamp(30px, 4vw, 60px); }
.enc-frames { max-width: var(--maxw); margin: clamp(90px, 11vw, 160px) auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.enc-frame { filter: grayscale(1); transition: filter .8s; }
.enc-frame:hover { filter: none; }
.enc-frame img { aspect-ratio: 1184/576; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06); }
.enc-frame figcaption { margin-top: 12px; color: var(--mute); }
.enc-frame--0 { grid-column: 1 / 8; }
.enc-frame--1 { grid-column: 8 / 13; margin-top: 18%; }
.enc-frame--2 { grid-column: 3 / 9; }
.enc-frame--3 { grid-column: 9 / 13; margin-top: 10%; }

/* ======================================================================= FEORA */
.theme-feora { background: #efe9df; color: #1d1a16; }
.theme-feora .site-header.is-solid { background: rgba(239, 233, 223, .82); border-color: rgba(29, 26, 22, .1); }
.theme-feora .wordmark img, .theme-feora .site-footer__mark img { filter: invert(1) brightness(.2); }
.theme-feora .nav__link { color: #3b362f; }
.theme-feora .nav__link::after, .theme-feora .menu-toggle__bars span { background: #1d1a16; }
.theme-feora .btn--pill { border-color: rgba(29, 26, 22, .25); }
.theme-feora .btn--pill::before { background: #1d1a16; }
.theme-feora .btn--pill:hover, .theme-feora .btn--pill:focus-visible { color: #efe9df; }
.theme-feora .site-footer, .theme-feora .site-footer__top, .theme-feora .site-footer__base { border-color: rgba(29, 26, 22, .14); }
.theme-feora .site-footer__grid a { color: #3b362f; }
.theme-feora .site-footer__grid a:hover { color: #000; }
.theme-feora .kicker, .theme-feora .site-footer__tag, .theme-feora .site-footer__base { color: #6a6155; }
.theme-feora .link-book { border-color: rgba(29, 26, 22, .25); }
.theme-feora .progress__bar { background: #6b5a3c; }
.theme-feora ::selection { background: #1d1a16; color: #efe9df; }
.theme-feora .mobile-menu { background: #efe9df; }
.theme-feora .mobile-menu__list a { border-color: rgba(29, 26, 22, .12); }
.theme-feora .btn--solid { background: #1d1a16; color: #efe9df; }
.theme-feora .btn--solid::before { background: #4a4234; }
.theme-feora .lines em, .theme-feora .fe-big em { color: #6b5a3c; }
.theme-feora .tag-dev { color: #6b5a3c; }
.theme-feora :focus-visible { outline-color: #6b5a3c; }
.feora .case-back { color: #6a6155; }
.feora .case-back:hover { color: #1d1a16; }
.fe-open { max-width: var(--maxw); margin: 0 auto; padding: calc(var(--header-h) + clamp(40px, 6vw, 90px)) var(--gutter) 0; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(30px, 6vw, 110px); align-items: end; }
.fe-title { font-size: clamp(2.8rem, 6.4vw, 7.2rem); font-weight: 300; line-height: .95; letter-spacing: -.045em; }
.fe-lede { margin-top: 34px; max-width: 42ch; font-size: var(--fs-lede); color: #4b463e; line-height: 1.55; }
.fe-open__img img { aspect-ratio: 772/1024; box-shadow: 0 60px 100px -50px rgba(40, 30, 10, .55); }
.feora figcaption { margin-top: 12px; color: #6a6155; }
.fe-founder { max-width: 1200px; margin: 0 auto; padding: clamp(110px, 15vw, 220px) var(--gutter); }
.fe-big { font-size: clamp(1.9rem, 4vw, 4.1rem); font-weight: 300; line-height: 1.1; letter-spacing: -.03em; }
.fe-chapter { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter) clamp(110px, 14vw, 200px); }
.fe-chapter__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 60px; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.fe-chapter__head .fe-n { grid-column: 1 / -1; }
.fe-chapter__head > p:last-child { color: #4b463e; max-width: 46ch; }
.fe-n { color: #7c6c4e; margin-bottom: 18px; }
.fe-h2 { font-size: clamp(2.3rem, 5vw, 5.3rem); font-weight: 300; line-height: .98; letter-spacing: -.04em; }
.fe-h2--xl { font-size: clamp(2.6rem, 7vw, 7.6rem); max-width: 14ch; }
.fe-human__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.fe-human__a { grid-column: 1 / 8; }
.fe-human__b { grid-column: 7 / 13; margin-top: 22%; position: relative; z-index: 1; }
.fe-human__grid img { box-shadow: 0 40px 80px -40px rgba(40, 30, 10, .5); }
.fe-disclaimer { margin-top: 30px; color: #6a6155; font-size: .6rem; line-height: 1.8; max-width: 70ch; border-left: 1px solid rgba(29, 26, 22, .25); padding-left: 14px; }
.fe-collab { border-top: 1px solid rgba(29, 26, 22, .12); padding-top: clamp(80px, 10vw, 150px); }
.fe-collab__cols { margin-top: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 980px; margin-left: auto; color: #3b362f; font-size: 1.05rem; }
.fe-browser { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 70px 130px -50px rgba(40, 30, 10, .55), 0 0 0 1px rgba(29, 26, 22, .08); }
.fe-browser__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #f6f2ec; border-bottom: 1px solid rgba(29, 26, 22, .08); }
.fe-browser__bar span { width: 9px; height: 9px; border-radius: 50%; background: #d7d0c4; }
.fe-browser__bar em { margin-left: 12px; color: #7c7366; font-size: .6rem; font-family: var(--f-mono); font-style: normal; letter-spacing: .12em; text-transform: uppercase; }
.fe-browser figcaption { padding: 14px 18px; margin: 0; background: #f6f2ec; }
.fe-compare { margin-top: clamp(60px, 8vw, 120px); display: grid; grid-template-columns: .5fr auto 1fr; gap: clamp(20px, 3vw, 50px); align-items: center; }
.fe-compare img { box-shadow: 0 40px 80px -40px rgba(40, 30, 10, .5); }
.fe-compare__arrow { font-size: 2rem; color: #7c6c4e; }
.fe-deliver { margin-top: clamp(60px, 8vw, 110px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(29, 26, 22, .14); }
.fe-deliver li { padding: 22px 20px 0 0; font-size: clamp(1.1rem, 1.6vw, 1.5rem); font-weight: 300; letter-spacing: -.02em; display: grid; gap: 10px; }
.fe-deliver .mono { color: #7c6c4e; }
.fe-close { position: relative; min-height: 100vh; display: grid; align-items: end; overflow: hidden; background: #0d0c0a; color: #efe9df; }
.fe-close__bg { position: absolute; inset: 0; }
.fe-close__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: .34; filter: grayscale(.3); }
.fe-close::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 15%, rgba(13, 12, 10, .96)); }
.fe-close__copy { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; width: 100%; padding: 120px var(--gutter) clamp(70px, 9vw, 130px); }
.fe-close .fe-n { color: #c7b58c; }
.fe-close__q { font-size: clamp(2rem, 4.4vw, 4.6rem); font-weight: 300; line-height: 1.06; letter-spacing: -.035em; max-width: 22ch; }
.fe-close__q em { color: #dccca6; }
.fe-close__sign { margin-top: 36px; font-family: var(--f-serif); font-style: italic; font-size: clamp(1.3rem, 2vw, 1.9rem); color: #dccca6; }
.fe-close__ctas { margin-top: 40px; display: flex; gap: 36px; flex-wrap: wrap; }

/* ================================================================== CONTACT */
.contact { max-width: var(--maxw); margin: 0 auto; padding: calc(var(--header-h) + clamp(40px, 6vw, 90px)) var(--gutter) clamp(60px, 8vw, 120px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.contact__title { font-size: clamp(2.8rem, 6.4vw, 7rem); font-weight: 300; line-height: .93; letter-spacing: -.045em; }
.contact__lede { margin-top: 28px; color: var(--bone-2); max-width: 40ch; font-size: var(--fs-lede); }
.contact__book { margin-top: 40px; display: grid; gap: 12px; justify-items: start; }
.contact__book-note { color: var(--mute); font-size: .6rem; }
.contact__direct { margin-top: 50px; border-top: 1px solid var(--line); }
.contact__direct a { display: flex; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease); }
.contact__direct a:hover { padding-left: 10px; }
.contact__direct span { display: grid; gap: 2px; flex: 1; font-size: 1.05rem; min-width: 0; overflow-wrap: anywhere; }
.contact__direct em { font-family: var(--f-mono); font-style: normal; font-size: .6rem; color: var(--mute); letter-spacing: .16em; text-transform: uppercase; }
.contact__direct .icon { color: var(--mute); }
.enquiry { position: sticky; top: calc(var(--header-h) + 20px); border: 1px solid var(--line); padding: clamp(24px, 3vw, 44px); background: linear-gradient(180deg, rgba(255, 255, 255, .025), transparent); display: grid; gap: 22px; }
.enquiry__title { font-size: 1.5rem; font-weight: 300; letter-spacing: -.02em; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); padding: 0; }
.field .opt { text-transform: none; letter-spacing: .04em; }
.field input, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); padding: 10px 0 12px; color: var(--bone); font: inherit; font-size: 1.05rem; border-radius: 0; transition: border-color .3s; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field [aria-invalid="true"] { border-color: #e08a7a; }
.field__err { color: #eaa898; font-size: .84rem; }
.field__err:empty { display: none; }
.field--chips { display: flex; flex-wrap: wrap; gap: 8px; }
.field--chips legend { margin-bottom: 10px; width: 100%; float: left; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chip span { display: inline-block; padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 99px; font-size: .86rem; color: var(--bone-2); transition: all .3s; }
.chip input:checked + span { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.chip input:focus-visible + span { outline: 1.5px solid var(--accent); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enquiry__submit { justify-self: start; }
.enquiry__submit[disabled] { opacity: .6; cursor: progress; }
.enquiry__status { font-size: .95rem; color: var(--bone-2); }
.enquiry__status:empty { display: none; }
.enquiry__status.is-ok { color: #bcd9ab; }
.enquiry__status.is-warn { color: var(--accent-2); border-left: 1px solid var(--accent); padding-left: 14px; }
.enquiry__status a { text-decoration: underline; text-underline-offset: 3px; }

/* ----------------------------------------------------------- work index */
.work-index { max-width: var(--maxw); margin: 0 auto; padding: calc(var(--header-h) + clamp(40px, 6vw, 90px)) var(--gutter) clamp(80px, 10vw, 140px); }
.work-index__head { margin-bottom: clamp(40px, 6vw, 80px); }
.work-index__list { border-top: 1px solid var(--line); }
.wi-row { position: relative; display: grid; grid-template-columns: 60px 1.4fr 1fr .8fr; gap: 24px; align-items: center; padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); }
.wi-row__name { font-size: clamp(2rem, 4.6vw, 4.8rem); font-weight: 300; letter-spacing: -.04em; line-height: 1; transition: transform .7s var(--ease); position: relative; z-index: 1; }
.wi-row__idx, .wi-row__cat, .wi-row__status { color: var(--mute); position: relative; z-index: 1; }
.wi-row__img { position: absolute; right: 22%; top: 50%; width: 300px; transform: translateY(-50%) scale(.9) rotate(-3deg); opacity: 0; transition: opacity .5s, transform .8s var(--ease); pointer-events: none; z-index: 0; }
.wi-row__img img { aspect-ratio: 1184/576; }
.wi-row--impact .wi-row__img img { aspect-ratio: 4/3; }
.wi-row:hover .wi-row__img, .wi-row:focus-visible .wi-row__img { opacity: .85; transform: translateY(-50%) scale(1) rotate(-3deg); }
.wi-row:hover .wi-row__name { transform: translateX(14px); }
.work-index__foot { margin-top: 50px; }
.nf { min-height: 80vh; display: grid; place-content: center; justify-items: start; gap: 18px; padding: calc(var(--header-h) + 40px) var(--gutter) 60px; max-width: var(--maxw); margin: 0 auto; }
.nf .mono { color: var(--mute); }
.nf p:not(.mono) { color: var(--bone-2); }
.nf__links { display: flex; gap: 30px; flex-wrap: wrap; }
/* ================================================================ RESPONSIVE */
@media (max-width: 1100px) {
  .exhibit--dk { grid-template-columns: minmax(0, 1fr) minmax(240px, 320px); }
  .exhibit--dk__stills { display: none; }
  .impact__inner { grid-template-columns: 1fr 1fr; }
  .impact__copy { grid-column: 1 / -1; grid-row: auto; margin-bottom: 30px; }
  .impact__store { grid-column: 1; grid-row: auto; }
  .impact__site { grid-column: 2; grid-row: auto; align-self: end; }
  .cap { grid-template-columns: 50px 1fr 1fr; }
  .cap__ref { grid-column: 2 / -1; text-align: left; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .nav, .nav__cta { display: none; }
  .menu-toggle { display: block; }

  /* hero: no pinning on small screens — a composed, stable opening */
  .hero { height: auto; }
  .hero__stage { position: relative; height: 100svh; min-height: 600px; }
  .hero__frame { clip-path: none; }
  .hero__video { transform: none; object-position: 60% 50%; }
  .hero__veil { opacity: 1; background: linear-gradient(0deg, rgba(5, 5, 6, .96) 10%, rgba(5, 5, 6, .6) 48%, rgba(5, 5, 6, .2) 75%, rgba(5, 5, 6, .55)); }
  .hero__copy { opacity: 1; transform: none; max-width: none; right: var(--gutter); bottom: 86px; }
  .hero__statement, .hero__frame-meta { display: none; }
  .hero__foot { opacity: 1; bottom: 20px; }
  .hero__foot > .mono:first-child { display: none; }

  .work__head { grid-template-columns: 1fr; gap: 24px; }
  .exhibit { margin-top: 120px; }
  .exhibit--dk { grid-template-columns: 1fr; }
  .exhibit--dk__type { font-size: 29vw; top: -5%; }
  .exhibit--dk__device { width: min(300px, 76vw); justify-self: center; order: -1; }
  .exhibit--sm__caption { grid-template-columns: 1fr; gap: 20px; }
  .exhibit--sm__screen { clip-path: none; }
  .exhibit--sm__screen .media { transform: none; }
  .exhibit--sm__bar span:last-child { display: none; }
  .exhibit--sm__cms { width: auto; margin: 40px var(--gutter) 0; }
  .exhibit--enc { grid-template-columns: 1fr; }
  .exhibit--enc__word { top: -.75em; font-size: 21vw; }

  .cap { grid-template-columns: 1fr; gap: 10px; }
  .cap__ref { grid-column: auto; }
  .approach { grid-template-columns: 1fr; gap: 20px; }
  .approach__sticky { position: relative; top: 0; }
  .approach__rail { display: none; }
  .js .step { opacity: 1; padding: 34px 0; }
  .step .step__num { color: var(--bone); -webkit-text-stroke-color: transparent; font-size: 3rem; }

  .closing__ctas { flex-direction: column; align-items: stretch; width: 100%; max-width: 420px; }
  .closing__ctas .btn { justify-content: space-between; }

  .case-hero, .chapter, .contact, .fe-open { grid-template-columns: 1fr; }
  .case-facts { grid-template-columns: 1fr 1fr; }
  .chapter__body { padding-top: 0; }
  .prose-2, .decisions, .fe-collab__cols { grid-template-columns: 1fr; }
  .phone--ghost { display: none; }
  .phone-duo .phone:first-child { margin-right: 0; }
  .sm-gallery, .enc-frames { grid-template-columns: 1fr; }
  .sm-gallery figure, .enc-frame { grid-column: 1 !important; margin-top: 0 !important; }
  .enquiry { position: relative; top: 0; }
  .fe-chapter__head { grid-template-columns: 1fr; }
  .fe-human__grid { grid-template-columns: 1fr; }
  .fe-human__a, .fe-human__b { grid-column: 1; margin-top: 0; }
  .fe-compare { grid-template-columns: 1fr; }
  .fe-compare figure:first-child { max-width: 70%; }
  .fe-compare__arrow { transform: rotate(90deg); justify-self: center; }
  .fe-deliver { grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .fe-deliver li { padding-bottom: 20px; }
  .wi-row { grid-template-columns: 40px 1fr; gap: 6px 16px; }
  .wi-row__cat, .wi-row__status { grid-column: 2; }
  .wi-row__img { display: none; }
}

@media (max-width: 560px) {
  .hero__title { font-size: clamp(2.6rem, 12.4vw, 4rem); }
  .hero__lede { font-size: 1rem; }
  .hero__ctas { flex-direction: column; align-items: flex-start; gap: 4px; }
  .impact__inner { grid-template-columns: 1fr; }
  .impact__store, .impact__site { grid-column: 1; margin-top: 0; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .case-facts { grid-template-columns: 1fr; gap: 18px; }
  .exhibit__name { font-size: clamp(2.4rem, 12vw, 3.4rem); }
  .btn--lg { min-height: 54px; padding: 0 22px 0 24px; }
  .contact__book .btn { width: 100%; justify-content: space-between; }
}

@media (hover: none) { .media__toggle { opacity: .85; } }

/* ----------------------------------------------------------- reduced motion */
@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; }
}
.reduced .hero { height: auto; }
.reduced .hero__stage { position: relative; }
.reduced .hero__frame { clip-path: none !important; }
.reduced .hero__statement, .reduced .hero__frame-meta { display: none; }
.reduced .hero__copy, .reduced .hero__foot { opacity: 1 !important; transform: none !important; }
.reduced [data-reveal], .reduced [data-intro] { opacity: 1 !important; transform: none !important; }
.reduced [data-reveal="lines"] .line__in { transform: none !important; }
.reduced .card-scene .card-float { opacity: 1 !important; transform: none !important; }
.reduced .card-float__bob, .reduced .card-shadow { animation: none !important; }

@media print { .site-header, .loader, .cursor, .progress, .card-scene__light, body::after { display: none !important; } body { background: #fff; color: #000; } }

.no-js .hero__pause, .no-js .media__toggle, .no-js .card-controls { display: none; }
