/* ==========================================================================
   Lance Dimandal — Portfolio styles (2D / black & gold)

   Motion language: iOS-style springs. Everything settles with a slight,
   physical overshoot; the header floats as an island; the mobile menu is a
   sheet that pushes the page back; posters zoom out of their thumbnails;
   section jumps zoom the page out and back in; pressed things give.

   Sections:
     01. Tokens & base
     02. Type, layout helpers
     03. Links, buttons, badges
     04. Reveal system (html.m-full only)
     05. Boot splash
     06. Header island & mobile sheet
     07. Hero
     08. Proof band & ticker
     09. Section heads
     10. ForgePress showcase
     11. Featured projects — horizontal scroll
     12. Project archive rows
     13. Graphic design: filter chips + mosaic + lightbox
     14. Services process line
     15. About
     16. Experience rows
     17. Skills drag ticker
     18. Tail stack: Athletic → Contact → Footer
     19. View cursor + archive follow preview
     20. Responsive
     21. Reduced motion
   ========================================================================== */

/* ───────── 01. Tokens & base ───────── */
@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --spring: linear(0, 0.0159, 0.0574, 0.117, 0.1882, 0.2659, 0.3462, 0.4259, 0.5028, 0.5753, 0.6423, 0.7031, 0.7576, 0.8055, 0.8473, 0.8831, 0.9133, 0.9386, 0.9593, 0.976, 0.9892, 0.9994, 1.007, 1.0125, 1.0162, 1.0185, 1.0197, 1.0199, 1.0195, 1.0186, 1.0174, 1.016, 1.0144, 1.0128, 1.0112, 1.0097, 1.0083, 1.0069, 1.0057, 1.0047, 1.0037, 1.0029, 1.0022, 1.0016, 1.0012, 1.0008, 1.0004, 1.0002, 1);
    --bouncy: linear(0, 0.0267, 0.0963, 0.1944, 0.3087, 0.4294, 0.5486, 0.6607, 0.7617, 0.8493, 0.9225, 0.9811, 1.0258, 1.0579, 1.0789, 1.0906, 1.0947, 1.0929, 1.0869, 1.0779, 1.0673, 1.0559, 1.0445, 1.0338, 1.024, 1.0155, 1.0083, 1.0026, 0.9981, 0.9949, 0.9928, 0.9915, 0.991, 0.9911, 0.9917, 0.9925, 0.9935, 0.9945, 0.9956, 0.9966, 0.9976, 0.9984, 0.9991, 0.9997, 1.0001, 1.0004, 1.0007, 1.0008, 1);
    --soft: linear(0, 0.0155, 0.055, 0.1097, 0.1734, 0.2413, 0.3101, 0.3776, 0.4422, 0.5029, 0.5591, 0.6106, 0.6575, 0.6996, 0.7374, 0.771, 0.8009, 0.8272, 0.8503, 0.8706, 0.8883, 0.9037, 0.9172, 0.9288, 0.9389, 0.9476, 0.9551, 0.9616, 0.9672, 0.972, 0.9761, 0.9796, 0.9826, 0.9852, 0.9874, 0.9893, 0.9909, 0.9923, 0.9935, 0.9945, 0.9953, 0.996, 0.9966, 0.9971, 0.9976, 0.998, 0.9983, 0.9985, 1);
  }
}
:root {
  --ink: #0a0a0a;          /* page */
  --ink-2: #100f0e;        /* lifted band */
  --ink-3: #161513;        /* raised panel */
  --text: #ede6d8;         /* warm white */
  --muted: #8f887c;
  --hair: rgba(237, 230, 216, 0.12);
  --hair-2: rgba(237, 230, 216, 0.22);
  --gold: #d4b26a;
  --gold-h: #e4c88e;
  --gold-deep: #9c7f45;
  --gold-hair: rgba(212, 178, 106, 0.32);

  --m: clamp(20px, 5vw, 80px);
  --hdr: 76px;

  /* Motion vocabulary */
  --draw: cubic-bezier(.65, 0, .35, 1);     /* lines, wipes, shutters */
  --settle: cubic-bezier(.16, .84, .24, 1); /* fast start, long settle */
  --ui: cubic-bezier(.2, 0, 0, 1);          /* UI state changes 150–200ms */
  /* Springs (fallbacks first; real spring curves below where linear() is supported) */
  --spring: cubic-bezier(.2, .9, .25, 1.02); /* default: ~2% overshoot */
  --bouncy: cubic-bezier(.3, 1.4, .5, 1);    /* small UI: ~9% overshoot */
  --soft: cubic-bezier(.16, .84, .24, 1);    /* critically damped */
  --r: 28px; --r-md: 20px; --r-sm: 14px;

  --f: 'Inter', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; background: var(--ink); color-scheme: dark; }
body {
  background: var(--ink);
  color: var(--text);
  font: 400 16px/1.65 var(--f);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html.menu-open, html.lb-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--ink); }

/* Scrollbars: thin, dark track, warm thumb that turns gold on hover */
html { scrollbar-width: thin; scrollbar-color: rgba(237, 230, 216, .22) var(--ink); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: rgba(237, 230, 216, .2); border-radius: 12px; border: 3px solid var(--ink); }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }
::-webkit-scrollbar-corner { background: var(--ink); }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 400;
  padding: 10px 16px; background: var(--gold); color: var(--ink); font-weight: 500;
  transition: top .2s var(--ui);
}
.skip:focus { top: 16px; }

/* ───────── 02. Type, layout helpers ───────── */
.wrap { width: min(1280px, calc(100% - 2 * var(--m))); margin: 0 auto; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.meta { font: 500 12px/16px var(--f); letter-spacing: .1em; text-transform: uppercase; }
.mono { font-family: var(--mono); font-weight: 400; letter-spacing: .04em; }
.meta.mono { letter-spacing: .08em; }
.muted { color: var(--muted); }
.gold { color: var(--gold); }
.tab { font-variant-numeric: tabular-nums; }
.eb { display: block; margin-bottom: 24px; }
.idx { font-family: var(--mono); color: var(--gold); margin-right: 14px; letter-spacing: .06em; }
.display { font-weight: 300; font-size: clamp(44px, 7vw, 108px); line-height: 1.02; letter-spacing: -.04em; }
.h2 { font-weight: 300; font-size: clamp(32px, 3.6vw, 54px); line-height: 1.08; letter-spacing: -.03em; }
.h3 { font-weight: 400; font-size: 22px; line-height: 30px; letter-spacing: -.01em; }
.cap { font-size: 16px; line-height: 26px; }
.mt16 { margin-top: 16px; } .mt32 { margin-top: 32px; } .mt96 { margin-top: clamp(64px, 8vw, 120px); }
.mark { display: inline-flex; align-items: center; gap: 10px; }
.mark::before { content: ""; width: 6px; height: 6px; background: var(--gold); flex: none; }

.sec { position: relative; padding: clamp(80px, 9vw, 136px) 0; }
.band { background: var(--ink-2); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }

/* Image plates: .ph > .ph-in (reveal scale) > .ph-img (hover zoom) */
.ph { position: relative; overflow: hidden; display: block; background: var(--ink-3); }
.ph-in { position: absolute; inset: 0; overflow: hidden; }
.ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--settle), filter .6s var(--settle); }

/* ───────── 03. Links, buttons, badges ───────── */
.lnk { display: inline-flex; align-items: center; gap: 8px; font: 500 15px/24px var(--f); position: relative; cursor: pointer; }
.lnk::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .3s var(--draw);
}
.lnk:hover::after, .lnk:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.ar { display: inline-block; transition: transform .15s var(--ui); }
.lnk:hover .ar, .btn:hover .ar, a.irow:hover .ar, .pcard:hover .ar { transform: translate(3px, -1px); }
.lnk:hover .ar:only-child { transform: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px; position: relative; overflow: hidden;
  background: var(--gold); color: var(--ink); font: 500 15px/24px var(--f); letter-spacing: .01em; border-radius: 999px;
  transition: background-color .15s var(--ui), color .15s var(--ui), border-color .15s var(--ui), transform .6s var(--bouncy);
}
.btn:active, .ibtn:active, .nbtn:active, .menu-toggle:active, .chips button:active, .lb-close:active { transform: scale(.94); transition-duration: .15s; }
.btn:hover { background: var(--gold-h); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--hair-2); }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn.sm { height: 40px; padding: 0 16px; font-size: 13px; }

.ibtn, .nbtn {
  width: 44px; height: 44px; display: grid; place-items: center; flex: none;
  border: 1px solid var(--hair-2); color: var(--text); background: transparent; cursor: pointer; border-radius: 50%;
  transition: background-color .15s var(--ui), color .15s var(--ui), border-color .15s var(--ui), transform .6s var(--bouncy);
}
.ibtn:hover, .nbtn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.nbtn span { display: block; transition: transform .15s var(--ui); font-size: 18px; line-height: 1; }
.lb-prev:hover span { transform: translateX(-3px); }
.lb-next:hover span { transform: translateX(3px); }

.badge {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  padding: 4px 10px; border: 1px solid var(--hair-2); border-radius: 999px;
  font: 500 10px/14px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.live { color: var(--gold); border-color: var(--gold-hair); }
.badge.prog { color: var(--text); }
.badge.prog::before { background: var(--gold); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }

/* ───────── 04. Reveal system (full motion only) ───────── */
/* Words: blur → focus on a soft spring, 38ms apart */
.wd { display: inline-block; }
html.m-full [data-r="lines"] .wd { opacity: 0; filter: blur(10px); transform: translateY(.4em) scale(.96); }
html.m-full [data-r="lines"].in .wd {
  opacity: 1; filter: blur(0); transform: none;
  transition: opacity .8s ease calc(var(--d, 0s) + var(--w, 0) * 38ms), filter .9s var(--soft) calc(var(--d, 0s) + var(--w, 0) * 38ms), transform 1.2s var(--spring) calc(var(--d, 0s) + var(--w, 0) * 38ms);
}
html.m-full [data-r="rise"] { opacity: 0; transform: translateY(28px) scale(.98); }
html.m-full [data-r="rise"].in { opacity: 1; transform: none; transition: opacity .8s ease var(--d, 0s), transform 1.3s var(--spring) var(--d, 0s); }
html.m-full [data-r="fade"] { opacity: 0; }
html.m-full [data-r="fade"].in { opacity: 1; transition: opacity 1s ease var(--d, 0s); }
html.m-full [data-r="line"] { transform: scaleX(0); transform-origin: left; }
html.m-full [data-r="line"].in { transform: none; transition: transform 1.3s var(--spring) var(--d, 0s); }
/* Plates: grow out of a smaller, rounded card on a spring; the image settles inside */
html.m-full [data-r="plate"] { opacity: 0; transform: scale(.88) translateY(24px); }
html.m-full [data-r="plate"][data-from="up"] { transform: scale(.9) translateY(48px); }
html.m-full [data-r="plate"][data-from="right"] { transform: scale(.9) translateX(40px); }
html.m-full [data-r="plate"].in { opacity: 1; transform: none; transition: opacity .7s ease var(--d, 0s), transform 1.4s var(--spring) var(--d, 0s); }
html.m-full [data-r="plate"] .ph-in { transform: scale(1.16); }
html.m-full [data-r="plate"].in .ph-in { transform: none; transition: transform 1.8s var(--soft) var(--d, 0s); }
html.m-full [data-r="stagger"] > *, html.m-full [data-r="rows"] > * { opacity: 0; transform: translateY(20px) scale(.98); }
html.m-full [data-r="stagger"].in > *, html.m-full [data-r="rows"].in > * {
  opacity: 1; transform: none;
  transition: opacity .7s ease calc(var(--d, 0s) + var(--i, 0) * 60ms), transform 1.2s var(--spring) calc(var(--d, 0s) + var(--i, 0) * 60ms);
}
[data-r="rows"] { position: relative; }
[data-r="rows"]::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--hair-2); }
html.m-full [data-r="rows"]::before { transform: scaleX(0); transform-origin: left; }
html.m-full [data-r="rows"].in::before { transform: none; transition: transform 1.3s var(--soft) var(--d, 0s); }
.instant, .instant * { transition: none !important; }
/* Deck: cards deal in on separate translate/scale properties so hover can own transform */
html.m-full [data-r="deck"] .glowcard { opacity: 0; translate: 0 56px; scale: .92; }
html.m-full [data-r="deck"].in .glowcard { opacity: 1; translate: 0 0; scale: 1; }

/* Glow cards: a spotlight and a lit border follow the pointer; the card lifts on a spring,
   and its siblings step back so the one under the cursor is in focus. */
.glowcard {
  position: relative; isolation: isolate;
  transition: transform .8s var(--spring), opacity .8s ease, translate 1.3s var(--spring), scale 1.3s var(--spring), filter .5s ease, border-color .3s ease, background-color .3s ease;
  transition-delay: 0s, calc(var(--i, 0) * 80ms), calc(var(--i, 0) * 80ms), calc(var(--i, 0) * 80ms), 0s, 0s, 0s;
}
.glowcard::before, .glowcard::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .45s ease; }
.glowcard::before { z-index: -1; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(212, 178, 106, .16), transparent 62%); }
.glowcard::after {
  z-index: 2; padding: 1px; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(228, 200, 142, .95), rgba(212, 178, 106, .15) 45%, transparent 70%);
  -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);
}
@media (hover: hover) and (pointer: fine) {
  .glowcard:hover { transform: translateY(-10px); border-color: transparent; }
  .glowcard:hover::before, .glowcard:hover::after { opacity: 1; }
  :is(.mat-track, .ath):has(.glowcard:hover) .glowcard:not(:hover) { filter: brightness(.55) saturate(.7); transform: scale(.965); }
}

/* ───────── 05. Boot splash ─────────
   First visit per tab session: the name comes into focus, a gold line fills,
   then the splash zooms through and the page scales up into place. */
.curtain { position: fixed; inset: 0; z-index: 200; background: #0b0a09; color: var(--text); display: none; }
html.booting .curtain { display: block; }
html.booting #main, html.booting .hdr { opacity: 0; }
.curtain-in { height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.c-top { display: flex; justify-content: space-between; gap: 16px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.c-idx { color: var(--gold); }
.c-title { font-weight: 300; font-size: clamp(48px, 9vw, 140px); line-height: 1; letter-spacing: -.045em; }
.c-bar { display: block; height: 2px; border-radius: 2px; background: var(--hair); overflow: hidden; }
.c-bar i { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }

/* ───────── 06. Header island & mobile sheet ─────────
   Over the hero the header is a full-width transparent bar. Once you scroll it
   springs into a floating frosted pill, like the Dynamic Island. */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 70; height: var(--hdr); display: flex; justify-content: center; pointer-events: none; transition: opacity .4s ease, transform .8s var(--spring); }
.hdr-in {
  pointer-events: auto; display: flex; align-items: center; gap: 28px;
  width: min(1280px, calc(100% - 2 * var(--m))); height: var(--hdr); margin-top: 0; padding: 0;
  border: 1px solid transparent; border-radius: 0; background: rgba(22, 21, 19, 0);
  transition: width .9s var(--spring), height .9s var(--spring), margin-top .9s var(--spring), padding .9s var(--spring), border-radius .9s var(--spring), background-color .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.hdr.island .hdr-in {
  width: min(880px, calc(100% - 24px)); height: 56px; margin-top: 12px; padding: 0 8px 0 24px; border-radius: 999px;
  background: rgba(24, 23, 21, .72); border-color: rgba(237, 230, 216, .09);
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
}
.hdr.island .nav { gap: 18px; }
.hdr.island .nav a span { display: none; }
.hdr.island .resume { height: 40px; }
html.menu-open .hdr { opacity: 0; transform: scale(.94); pointer-events: none; }
.logo { font: 600 18px/24px var(--f); letter-spacing: -.01em; white-space: nowrap; margin-right: auto; }
.logo span { color: var(--gold); }
.nav { display: flex; gap: 28px; font: 500 14px/24px var(--f); transition: gap .9s var(--spring); }
.nav a { position: relative; display: inline-flex; align-items: baseline; gap: 6px; color: rgba(237, 230, 216, .78); transition: color .2s var(--ui); }
.nav a span { font: 400 10px/1 var(--mono); color: var(--gold); letter-spacing: .04em; }
.nav a::after {
  content: ""; position: absolute; left: 50%; bottom: -6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--gold);
  transform: scale(0); transition: transform .5s var(--bouncy);
}
.nav a:hover, .nav a.on { color: var(--text); }
.nav a.on::after { transform: scale(1); }
/* Sound toggle: speaker with waves when on, a cross when off */
.snd { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--hair-2); color: var(--text); transition: transform .6s var(--bouncy), border-color .3s ease, color .3s ease, background-color .3s ease; }
.snd:hover { border-color: var(--gold); color: var(--gold); }
.snd:active { transform: scale(.9); transition-duration: .12s; }
.snd .w, .snd .x { transition: opacity .3s ease, transform .5s var(--spring); transform-origin: 12px 12px; }
.snd .x { opacity: 0; transform: scale(.4); }
.snd.off { color: var(--muted); }
.snd.off .w { opacity: 0; transform: scale(.6); }
.snd.off .x { opacity: 1; transform: none; }
.snd:not(.off) .w2 { animation: sndw 2.6s ease-in-out infinite; }
@keyframes sndw { 50% { opacity: .35; } }
.hdr.island .snd { width: 38px; height: 38px; }
.menu-toggle { display: none; width: 44px; height: 44px; position: relative; border: 1px solid var(--hair-2); border-radius: 50%; transition: transform .6s var(--bouncy); }
.menu-toggle i { position: absolute; left: 13px; right: 13px; height: 1px; background: var(--text); }
.menu-toggle i:first-child { top: 18px; }
.menu-toggle i:last-child { top: 25px; }

/* Mobile menu: a bottom sheet. The page behind recedes into a rounded card. */
.mmenu {
  position: fixed; left: 0; right: 0; bottom: 0; top: 40px; z-index: 66;
  border-radius: 28px 28px 0 0; background: rgba(22, 21, 19, .96);
  -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
  border-top: 1px solid rgba(237, 230, 216, .1); box-shadow: 0 -20px 60px rgba(0, 0, 0, .5);
  transform: translateY(105%); visibility: hidden; touch-action: none;
  transition: transform .75s var(--spring), visibility 0s linear .75s;
}
html.menu-open .mmenu { transform: translateY(var(--drag, 0px)); visibility: visible; transition: transform .8s var(--spring), visibility 0s; }
.mmenu.dragging { transition: none !important; }
.sheet-grab { position: absolute; top: 10px; left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: 5px; background: rgba(237, 230, 216, .28); }
.sheet-close { position: absolute; z-index: 2; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: rgba(237, 230, 216, .1); font-size: 20px; line-height: 1; color: var(--text); transition: transform .6s var(--bouncy); }
.sheet-close:active { transform: scale(.9); transition-duration: .12s; }
.mmenu-in {
  height: 100%; display: flex; flex-direction: column; padding: 56px 0 28px; overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: none; -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(#000 calc(100% - 28px), transparent); mask-image: linear-gradient(#000 calc(100% - 28px), transparent);
}
.mmenu-in::-webkit-scrollbar { display: none; }
/* iOS-style scroll indicator: thin, inset from the edge, fades when idle */
.sheet-ind { position: absolute; right: 7px; top: 64px; bottom: 28px; width: 3px; pointer-events: none; opacity: 0; transition: opacity .5s ease; }
.sheet-ind i { position: absolute; left: 0; right: 0; top: 0; border-radius: 3px; background: rgba(237, 230, 216, .45); }
.sheet-ind.on { opacity: 1; transition-duration: .15s; }
@media (min-width: 701px) {
  .mmenu { width: min(720px, calc(100% - 48px)); margin: 0 auto; top: 32px; border-radius: 28px 28px 0 0; border-left: 1px solid rgba(237, 230, 216, .08); border-right: 1px solid rgba(237, 230, 216, .08); }
  .mmenu-in { width: auto; margin: 0 40px; }
}
.mmenu-links { display: flex; flex-direction: column; margin-top: 18px; }
.mmenu-links a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 10px 0; border-bottom: 1px solid var(--hair);
  font-weight: 300; font-size: clamp(26px, min(9vw, 7.4svh), 60px); line-height: 1.1; letter-spacing: -.03em;
  opacity: 0; transform: translateY(30px); transition: opacity .2s ease, transform .3s ease;
}
.mmenu-links a span { font: 400 12px/1 var(--mono); color: var(--gold); }
html.menu-open .mmenu-links a { opacity: 1; transform: none; transition: opacity .6s ease calc(.12s + var(--i) * 45ms), transform 1.1s var(--spring) calc(.12s + var(--i) * 45ms); }
.mmenu-foot { margin-top: auto; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; color: var(--muted); font-size: 14px; }
.mmenu-foot span { margin-right: auto; }
/* The page recedes: scaled by JS-set origin, framed by rounded, dimmed corners */
#main { transition: transform .8s var(--spring); }
html.menu-open #main { transform: scale(.92) translateY(10px); }
.page-frame {
  position: fixed; z-index: 64; pointer-events: none; opacity: 0;
  top: calc(4vh + 10px); bottom: calc(4vh - 10px); left: 4vw; right: 4vw; border-radius: 24px;
  background: rgba(0, 0, 0, .38); box-shadow: 0 0 0 200vmax #000;
  transition: opacity .5s ease;
}
html.menu-open .page-frame { opacity: 1; }

/* ───────── 07. Hero ───────── */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 700px; overflow: hidden; background: #0b0a09; }
.hero-media {
  position: absolute; inset: -4%;
  background:
    radial-gradient(55% 75% at 28% 38%, rgba(212, 178, 106, .12) 0%, transparent 62%),
    radial-gradient(45% 65% at 76% 62%, rgba(212, 178, 106, .07) 0%, transparent 66%),
    #0b0a09;
  background-size: 140% 140%;
  animation: drift 22s ease-in-out infinite alternate;
}
@keyframes drift { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }
/* Spotlight: follows the pointer on desktop, rests behind the portrait elsewhere */
.hero-spot { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(520px circle at var(--mx, 72%) var(--my, 42%), rgba(212, 178, 106, .16), transparent 62%); }
.hero-grad { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 10, .55) 0%, transparent 28%, transparent 48%, rgba(10, 10, 10, .9) 100%); }
html.m-full .hero .hero-media, html.m-full .hero .hero-spot { opacity: 0; }
html.m-full .hero.in .hero-media, html.m-full .hero.in .hero-spot { opacity: 1; transition: opacity 1.8s ease .1s; }

.hero-in {
  position: relative; z-index: 2; height: 100%;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 64px; align-items: end;
  padding: calc(var(--hdr) + 48px) 0 120px;
}
.hh { max-width: 900px; }
.hero-h { font-size: clamp(42px, 5.8vw, 96px); }
.hero-desc { max-width: 560px; margin-top: 28px; font-size: 17px; line-height: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 36px; }
.hero-portrait { position: relative; }
.hero-portrait .ph { aspect-ratio: 4 / 5; border-radius: var(--r); }
.duo { filter: grayscale(1) sepia(.32) contrast(1.06) brightness(.88); }
.hero-portrait .ph-in::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10, 10, 10, .55)); pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .hero-portrait:hover .duo { filter: none; transform: scale(1.03); }
}
/* Ring: draws once around the portrait, then the dashed orbit turns slowly */
.ring { position: absolute; left: 50%; top: 42%; width: 142%; aspect-ratio: 1; transform: translate(-50%, -50%); z-index: -1; overflow: visible; pointer-events: none; }
.ring circle { fill: none; vector-effect: non-scaling-stroke; }
.ring .r1 { stroke: rgba(212, 178, 106, .28); stroke-width: 1; stroke-dasharray: 604; stroke-dashoffset: 0; }
.ring .r2 { stroke: rgba(212, 178, 106, .5); stroke-width: 1; stroke-dasharray: 2 9; transform-origin: 100px 100px; animation: orbit 60s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
html.m-full .ring .r1 { stroke-dashoffset: 604; }
html.m-full .hero.in .ring .r1 { stroke-dashoffset: 0; transition: stroke-dashoffset 2.4s var(--settle) .5s; }
html.m-full .ring .r2 { opacity: 0; }
html.m-full .hero.in .ring .r2 { opacity: 1; transition: opacity 1.6s ease 1.2s; }
.hero-portrait figcaption { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; font-size: 13px; line-height: 20px; color: var(--muted); }
.hero-portrait figcaption > span:first-child { white-space: nowrap; }
.hero-portrait figcaption b { display: block; color: var(--text); font-weight: 500; }
.avail { display: inline-flex; align-items: center; gap: 8px; font: 500 10px/20px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.hero-portrait .ph-in { border-radius: inherit; }
.avail::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(212, 178, 106, .6); animation: ping 2.2s var(--settle) infinite; }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 8px rgba(212, 178, 106, 0); } }

/* Rotating scroll badge */
.cue-badge { position: absolute; right: var(--m); bottom: 28px; z-index: 3; width: 92px; height: 92px; display: grid; place-items: center; color: var(--gold); }
.cue-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: orbit 16s linear infinite; }
.cue-badge text { font: 400 8.6px var(--mono); letter-spacing: .14em; text-transform: uppercase; fill: rgba(237, 230, 216, .62); }
.cue-badge .ar { font-size: 18px; transition: transform .4s var(--settle); }
.cue-badge:hover .ar { transform: translateY(4px); }
.cue-badge:hover text { fill: var(--gold); }
html.m-full .cue-badge { opacity: 0; transform: scale(.8); }
html.m-full .hero.in .cue-badge { opacity: 1; transform: none; transition: opacity 1s ease 1.3s, transform 1.2s var(--settle) 1.3s; }

/* ───────── 08. Proof band & ticker ───────── */
.statband { padding: 56px 0; border-bottom: 1px solid var(--hair); }
.proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.stat { position: relative; padding-top: 24px; }
.stat::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, var(--gold), rgba(212, 178, 106, .1)); transform-origin: left; }
.stat .h3 { display: block; font-weight: 300; font-size: clamp(34px, 3.4vw, 52px); line-height: 1; letter-spacing: -.03em; color: var(--gold); }
.stat .meta { display: block; margin-top: 14px; font-size: 11px; line-height: 17px; color: var(--muted); max-width: 240px; }
html.m-full [data-r="proof"] .stat::before { transform: scaleX(0); }
html.m-full [data-r="proof"].in .stat::before { transform: none; transition: transform 1.1s var(--settle) calc(var(--d, 0s) + var(--i) * 110ms); }
html.m-full [data-r="proof"] .stat > * { opacity: 0; transform: translateY(10px); }
html.m-full [data-r="proof"].in .stat > * { opacity: 1; transform: none; transition: opacity .7s var(--settle) calc(var(--d, 0s) + .15s + var(--i) * 110ms), transform .9s var(--settle) calc(var(--d, 0s) + .15s + var(--i) * 110ms); }

/* Ticker: JS-driven, speeds up and follows the direction of the scroll */
.ticker { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.signal { padding: 30px 0; border-bottom: 1px solid var(--hair); }
.tk-track { display: flex; align-items: center; gap: 36px; width: max-content; will-change: transform; }
.tk-track span { font-weight: 300; font-size: clamp(24px, 2.8vw, 40px); line-height: 1.2; letter-spacing: -.02em; white-space: nowrap; }
.tk-track i { font-style: normal; color: var(--gold); font-size: 18px; display: inline-block; transition: transform .6s var(--settle); }

/* ───────── 09. Section heads ───────── */
.shead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 48px; align-items: end; margin-bottom: clamp(48px, 5vw, 72px); }
.shead > .cap { padding-bottom: 6px; }
.hint { display: block; margin-top: 10px; color: var(--gold); font: 500 11px/16px var(--f); letter-spacing: .1em; text-transform: uppercase; }
.subhead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding-top: 16px; }
.subhead > * { white-space: nowrap; }
.ihead { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding-bottom: 24px; }

/* ───────── 10. ForgePress showcase ───────── */
.fp { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: 40px; }
.fp-brand { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.fp-brand strong { display: block; font-weight: 500; font-size: 24px; line-height: 30px; letter-spacing: -.02em; margin-top: 2px; }
.fp-brand .meta { font-size: 10px; }
.fp-mark { width: 52px; height: 52px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--gold); color: var(--ink); font: 500 16px/1 var(--mono); letter-spacing: .02em; }
.fp-brand .badge { margin-left: auto; }
.fp-h { font-size: clamp(26px, 2.6vw, 38px); margin: 28px 0 20px; }
.chipset { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chipset li { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--hair-2); font-size: 13px; line-height: 20px; cursor: default; }

/* Liquid chips: gold floods in from the exact point the pointer enters and drains out
   toward where it leaves; the chip lifts on a spring and its neighbours step back. */
.liquid { position: relative; overflow: hidden; isolation: isolate; transition: color .35s ease, border-color .35s ease, box-shadow .45s ease, translate .7s var(--bouncy), scale .7s var(--bouncy), filter .35s ease; }
html.m-full .chipset.in > li.liquid {
  transition: opacity .7s ease calc(var(--d, 0s) + var(--i, 0) * 60ms), transform 1.2s var(--spring) calc(var(--d, 0s) + var(--i, 0) * 60ms),
    color .35s ease, border-color .35s ease, box-shadow .45s ease, translate .7s var(--bouncy), scale .7s var(--bouncy), filter .35s ease;
}
.liquid::before {
  content: ""; position: absolute; z-index: -1; left: var(--cx, 50%); top: var(--cy, 50%); width: var(--dd, 240px); height: var(--dd, 240px);
  margin: calc(var(--dd, 240px) / -2) 0 0 calc(var(--dd, 240px) / -2); border-radius: 50%;
  background: radial-gradient(circle, var(--gold-h), var(--gold) 70%); transform: scale(0); transition: transform .55s cubic-bezier(.4, 0, .2, 1);
}
.liquid.lit { color: var(--ink); border-color: var(--gold); translate: 0 -3px; scale: 1.04; box-shadow: 0 10px 26px rgba(212, 178, 106, .28); }
.liquid.lit::before { transform: scale(1); transition: transform .75s var(--spring); }
:is(.chipset, .mat ul):has(.liquid.lit) .liquid:not(.lit) { filter: brightness(.6); }
.fp-foot { display: flex; flex-direction: column; gap: 6px; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--hair); font-size: 10px; }

.fp-ui { border: 1px solid var(--hair-2); border-radius: var(--r-md); overflow: hidden; background: #0d0c0b; font: 400 10px/14px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fp-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--hair); }
.fp-bar--foot { border-bottom: 0; border-top: 1px solid var(--hair); }
.fp-bar > span:first-child { color: var(--text); }
.fp-modes b { color: var(--gold); font-weight: 400; }
.fp-live { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); }
.fp-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: pulse 2s ease-in-out infinite; }
.fp-ws { display: grid; grid-template-columns: 44px minmax(0, 1fr) 176px; min-height: 360px; }
.fp-tools { display: flex; flex-direction: column; gap: 6px; padding: 12px 9px; border-right: 1px solid var(--hair); }
.fp-tools span { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; border: 1px solid var(--hair); color: var(--text); font-size: 12px; }
.fp-tools span:first-child { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.fp-canvas { position: relative; padding: 16px 18px; background-image: radial-gradient(rgba(237, 230, 216, .07) 1px, transparent 1px); background-size: 14px 14px; }
.fp-cmeta { display: flex; justify-content: space-between; margin-bottom: 18px; }
.fp-sec { position: relative; border-radius: 10px; border: 1px dashed var(--gold-hair); padding: 28px 18px 18px; margin-bottom: 14px; }
.fp-handle { position: absolute; top: -1px; left: -1px; border-radius: 10px 0 8px 0; background: var(--gold); color: var(--ink); padding: 2px 7px; font-size: 9px; }
.fp-sec .w { display: block; height: 8px; margin-bottom: 10px; background: rgba(237, 230, 216, .14); }
.fp-sec .w1 { width: 24%; height: 6px; background: var(--gold); opacity: .8; }
.fp-sec .w2 { width: 80%; height: 15px; background: rgba(237, 230, 216, .5); }
.fp-sec .w3 { width: 56%; height: 15px; background: rgba(237, 230, 216, .5); }
.fp-sec .w4 { width: 68%; height: 6px; }
.fp-sec .w5 { width: 96px; height: 26px; margin: 16px 0 0; background: transparent; border: 1px solid var(--gold); }
.fp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.fp-cards i { height: 70px; border: 1px solid var(--hair); background: rgba(237, 230, 216, .04); }
.fp-target { position: absolute; right: 30%; bottom: 24%; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold); font-size: 14px; }
.fp-target::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--gold); animation: ring 2.4s var(--settle) infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(2.2); opacity: 0; } }
.fp-insp { border-left: 1px solid var(--hair); padding: 12px 14px; }
.fp-it { display: block; color: var(--gold); font-size: 9px; margin: 14px 0 6px; }
.fp-it:first-child { margin-top: 0; }
.fp-ctl { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--hair); text-transform: none; letter-spacing: .02em; }
.fp-ctl b { color: var(--text); font-weight: 400; }
.fp-ctl .sw { width: 24px; height: 13px; border-radius: 13px; background: var(--gold); position: relative; }
.fp-ctl .sw::after { content: ""; position: absolute; right: 2px; top: 2px; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.fp-bp { display: flex; gap: 4px; }
.fp-bp span { width: 26px; height: 22px; display: grid; place-items: center; border: 1px solid var(--hair); }
.fp-bp .on { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* ───────── 11. Featured projects — horizontal scroll ─────────
   The section pins and the vertical wheel drives the cards sideways. The card
   nearest the centre is at full size and brightness; the others step back to
   .9 and dim, and the texture inside each card drifts against the travel. */
.hscroll { position: relative; margin-top: 40px; }
.hs-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 28px; padding-top: calc(var(--hdr) * .5); }
.hs-track { display: flex; gap: 28px; width: max-content; padding: 0 var(--m); will-change: transform; }
.pcard {
  position: relative; flex: none; overflow: hidden; background: #0c0c0b; border-radius: var(--r);
  width: min(1080px, 80vw); min-height: min(600px, calc(100svh - 220px));
  display: grid; grid-template-columns: minmax(0, 1fr) min(360px, 34%); grid-template-rows: auto 1fr auto;
  grid-template-areas: "top top" "meta logo" "meta note"; column-gap: 40px; row-gap: 24px; padding: 26px 32px 32px;
  border: 1px solid var(--hair);
  transform: scale(calc(.9 + .1 * var(--f, 1))); filter: brightness(calc(.5 + .5 * var(--f, 1)));
  transform-origin: 50% 50%; will-change: transform, filter; transition: border-color .4s var(--ui);
}
.pcard:hover { border-color: var(--gold-hair); }
.pshot { position: absolute; inset: 0; overflow: hidden; }
.pshot i { position: absolute; top: 0; bottom: 0; left: -10%; right: -10%; will-change: transform; transform: translate3d(calc(var(--o, 0) * 7%), 0, 0); }
.pscrim { position: absolute; left: 0; right: 0; bottom: 0; height: 64%; background: linear-gradient(transparent, rgba(10, 10, 10, .85)); pointer-events: none; }
.ptop, .plogo, .pmeta, .pnote { position: relative; z-index: 2; }
.ptop { grid-area: top; display: flex; justify-content: space-between; align-items: center; }
.zb { font: 400 11px/16px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.plogo {
  grid-area: logo; align-self: center; justify-self: end; width: 100%; aspect-ratio: 2 / 1; display: grid; place-items: center; padding: 28px;
  border: 1px solid var(--hair); border-radius: var(--r-md); background: rgba(10, 10, 10, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transform: translate3d(calc(var(--o, 0) * -18px), 0, 0); transition: border-color .4s var(--ui);
}
.plogo img { max-width: 100%; max-height: 84px; width: auto; height: auto; object-fit: contain; transition: transform .7s var(--bouncy); }
.pcard:hover .plogo { border-color: var(--gold-hair); }
.pcard:hover .plogo img { transform: scale(1.05); }
.pmeta { grid-area: meta; align-self: end; color: var(--text); }
.pmeta .sub { display: block; font: 500 11px/16px var(--f); letter-spacing: .1em; text-transform: uppercase; color: rgba(237, 230, 216, .62); }
.pmeta .nm { display: block; margin-top: 12px; font-weight: 300; font-size: clamp(34px, 4.2vw, 64px); line-height: 1.02; letter-spacing: -.035em; }
.pmeta .pd { display: block; margin-top: 16px; max-width: 520px; font-size: 15px; line-height: 24px; color: rgba(237, 230, 216, .78); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.tags span { padding: 3px 10px; border: 1px solid var(--hair-2); border-radius: 999px; font: 400 11px/18px var(--mono); letter-spacing: .04em; color: rgba(237, 230, 216, .8); }
.pmeta .go { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font: 500 15px/24px var(--f); color: var(--gold); position: relative; }
.pmeta .go::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .3s var(--draw); }
.pcard:hover .go::after, .pcard:focus-visible .go::after { transform: scaleX(1); transform-origin: left; }
.pnote { grid-area: note; align-self: end; text-align: right; font: 400 11px/18px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hs-foot { display: flex; align-items: center; gap: 24px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hs-foot #pcur { color: var(--gold); }
.hs-bar { flex: 1; height: 3px; border-radius: 3px; background: var(--hair); overflow: hidden; }
.hs-bar i { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
/* Static layout (reduced motion, phones): cards simply stack */
html.m-spec .hscroll, html.hs-off .hscroll { height: auto !important; }
html.m-spec .hs-sticky, html.hs-off .hs-sticky { position: static; height: auto; display: block; padding: 0; }
html.m-spec .hs-track, html.hs-off .hs-track { flex-direction: column; width: auto; transform: none !important; }
html.m-spec .pcard, html.hs-off .pcard { width: 100%; transform: none !important; filter: none !important; }
html.m-spec .hs-foot, html.hs-off .hs-foot { display: none; }
html.m-spec .pshot i, html.hs-off .pshot i { transform: none !important; }
html.m-spec .plogo, html.hs-off .plogo { transform: none; }

/* ───────── 12. Project archive rows ───────── */
.irows { margin-top: 8px; }
.irow {
  position: relative; isolation: isolate; display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.25fr) 150px 120px;
  column-gap: 24px; align-items: center; min-height: 96px; padding: 18px 16px;
  border-bottom: 1px solid var(--hair); transition: color .3s var(--ui) .05s;
}
.irow::before { content: ""; position: absolute; inset: 4px -8px; z-index: -1; border-radius: 18px; background: rgba(237, 230, 216, .05); opacity: 0; transform: scale(.96); transition: opacity .3s ease, transform .7s var(--spring); }
.irow > * { transition: transform .8s var(--spring), color .3s var(--ui); }
.irow:active::before { opacity: 1; transform: scale(.98); transition-duration: .15s; }
.irow .pv { display: none; }
.irow .nm { font-weight: 300; font-size: clamp(22px, 2vw, 28px); line-height: 1.2; letter-spacing: -.02em; }
.irow .nm .sm { display: none; }
.irow .sub { font-size: 14px; line-height: 22px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.irow .yr { font-size: 13px; line-height: 20px; }
.irow .last { display: flex; justify-content: flex-end; align-items: center; gap: 14px; }
.irow .last .ar { color: var(--gold); }
@media (hover: hover) and (pointer: fine) {
  .irow:hover::before { opacity: 1; transform: none; }
  .irow:hover > .no, .irow:hover > .nm { transform: translateX(14px); }
  .irow:hover > .sub, .irow:hover > .yr { transform: translateX(6px); }
  .irow:hover .nm { color: var(--gold); }
  .irow:hover .sub { color: var(--text); }
}
.irow:focus-visible { outline-offset: -2px; }
.irows-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .8s var(--settle); }
.irows-more.open { grid-template-rows: 1fr; }
.irows-more-in { min-height: 0; overflow: hidden; }
.irows-more.open .irow { animation: rowIn .8s var(--settle) both; animation-delay: calc(var(--j, 0) * 60ms); }
@keyframes rowIn { from { opacity: 0; transform: translateY(16px); } }
.irows-act { display: flex; justify-content: center; margin-top: 40px; }
#irowsBtn .ar { transition: transform .45s var(--draw); }
#irowsBtn[aria-expanded="true"] .ar { transform: rotate(180deg); }

/* ───────── 13. Graphic design: chips + mosaic + lightbox ───────── */
.chips {
  position: relative; display: flex; gap: 2px; align-items: center; padding: 4px; width: max-content; max-width: 100%;
  border-radius: 999px; background: rgba(237, 230, 216, .06); border: 1px solid var(--hair); font: 500 14px/20px var(--f);
  overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -ms-overflow-style: none; scroll-snap-type: x proximity;
}
.chips::-webkit-scrollbar { display: none; }
.chips button { position: relative; z-index: 1; flex: none; white-space: nowrap; scroll-snap-align: start; padding: 9px 16px; border-radius: 999px; color: var(--muted); transition: color .3s var(--ui), transform .6s var(--bouncy); display: inline-flex; align-items: baseline; gap: 6px; }
.chips button span { font: 400 10px/1 var(--mono); color: var(--gold); opacity: .8; transition: color .3s var(--ui); }
.chips button:hover { color: var(--text); }
.chips button.on { color: var(--ink); }
.chips button.on span { color: var(--ink); opacity: .6; }
.chips .ind { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; border-radius: 999px; background: var(--gold); box-shadow: 0 4px 14px rgba(212, 178, 106, .25); transition: transform .7s var(--spring), width .7s var(--spring); }
.fstatus { min-height: 16px; margin: 16px 0 0 4px; font-size: 11px; }
.fstatus b { color: var(--text); font-weight: 500; }

.mosaic { columns: 3; column-gap: 24px; margin-top: 32px; }
.tile { position: relative; break-inside: avoid; margin: 0 0 24px; overflow: hidden; isolation: isolate; border-radius: 18px; }
.tile .ph { border-radius: 18px; }
.tile-open { transition: transform .7s var(--bouncy); }
.tile-open:active { transform: scale(.97); transition-duration: .15s; }
.tile[hidden] { display: none !important; }
.tile-open { display: block; width: 100%; cursor: zoom-in; text-align: left; }
.tile .ph-in { position: relative; inset: auto; }
.tile .ph-img { position: relative; inset: auto; height: auto; }
.tile .bar { display: flex; flex-direction: column; gap: 2px; padding: 14px 0 0; }
.tile .bar .t { font: 500 10px/16px var(--f); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.tile .bar strong { font-weight: 400; font-size: 16px; line-height: 23px; }
.tile .bar .m { font-size: 13px; line-height: 20px; color: var(--muted); }
@media (hover: hover) and (pointer: fine) {
  .tile .bar {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 14px 16px 16px;
    margin: 8px; border-radius: 14px; background: rgba(16, 15, 14, .72); border: 1px solid rgba(237, 230, 216, .1);
    -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
    opacity: 0; transform: translateY(calc(100% + 12px)) scale(.96); transition: transform .8s var(--spring), opacity .3s ease; pointer-events: none;
  }
  .tile:hover .bar, .tile:focus-within .bar { transform: none; opacity: 1; }
  .tile:hover .ph-img, .tile:focus-within .ph-img { transform: scale(1.03); }
}

.lightbox {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; border: 0;
  background: transparent; color: var(--text); padding: 72px clamp(16px, 8vw, 120px) 64px; overflow: hidden;
  display: none; align-items: center; justify-content: center;
}
.lightbox[open] { display: flex; }
.lightbox { touch-action: none; }
/* Dim + blur live on their own layer so both can fade together (and follow a swipe) */
.lb-bg { position: absolute; inset: 0; z-index: 0; background: rgba(8, 8, 7, .94); -webkit-backdrop-filter: blur(16px) saturate(120%); backdrop-filter: blur(16px) saturate(120%); will-change: opacity; }
.lb-fig { position: relative; z-index: 1; }
.lb-count { z-index: 2; }
.tile .ph-img.lb-src { visibility: hidden; }
.lightbox::backdrop { background: transparent; }
@keyframes lbIn { from { opacity: 0; } }
.lb-fig { display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; }
html.m-spec .lightbox[open] .lb-fig { animation: lbFig .3s ease; }
@keyframes lbFig { from { opacity: 0; transform: translateY(16px) scale(.98); } }
/* The viewer image gets an explicit pixel size from JS (fitted to the screen from the poster's
   aspect ratio) before anything animates, so swapping in the sharp full-size file never
   changes its size mid-animation. */
.lb-img { display: block; max-width: none; max-height: none; width: auto; height: auto; object-fit: cover; background: #151412; border-radius: 14px; transform-origin: 0 0; will-change: transform; cursor: grab; }
.lb-cap { margin-top: 18px; text-align: center; display: flex; flex-direction: column; gap: 2px; }
.lb-cap .t { font: 500 10px/16px var(--f); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.lb-cap strong { font-weight: 400; font-size: 18px; }
.lb-cap .m { font-size: 13px; color: var(--muted); }
.lb-close { position: absolute; z-index: 2; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; background: rgba(237, 230, 216, .1); font-size: 24px; line-height: 1; transition: background-color .15s var(--ui), color .15s var(--ui), transform .6s var(--bouncy); }
.lb-close:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.lb-nav { position: absolute; z-index: 2; top: 50%; margin-top: -22px; background: rgba(237, 230, 216, .08); border-color: transparent; }
.lb-prev { left: clamp(12px, 3vw, 40px); }
.lb-next { right: clamp(12px, 3vw, 40px); }
.lightbox.is-single .lb-nav { display: none; }
.lb-count { position: absolute; left: 24px; top: 32px; font-size: 11px; letter-spacing: .08em; color: var(--gold); }

/* ───────── 14. Services — process line ───────── */
.proc { position: relative; padding-left: 36px; }
.proc .track { position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--hair); }
.proc .fill { position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--gold); transform: scaleY(0); transform-origin: top; }
html:not(.m-full) .proc .fill { transform: none; }
/* The head is moved with a transform in the same frame as the fill — no transition, so it can never lag */
.proc .head { position: absolute; left: -4px; top: -4.5px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(212, 178, 106, .15), 0 0 18px rgba(212, 178, 106, .6); transform: translate3d(0, 0, 0); will-change: transform; }
/* Comet tail: grows with scroll speed behind the head (above it going down, below it going up) */
.proc .head::before {
  content: ""; position: absolute; left: 50%; bottom: 50%; width: 3px; margin-left: -1.5px; height: var(--tail, 0px); border-radius: 3px;
  background: linear-gradient(to top, rgba(228, 200, 142, .95), rgba(212, 178, 106, 0)); pointer-events: none;
}
.proc .head.up::before { bottom: auto; top: 50%; background: linear-gradient(to bottom, rgba(228, 200, 142, .95), rgba(212, 178, 106, 0)); }
.proc .fill { will-change: transform; }
html:not(.m-full) .proc .head { display: none; }
.step {
  display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 480px); gap: 24px; align-items: start;
  padding: 36px 0; border-bottom: 1px solid var(--hair); color: var(--muted); transition: color .4s var(--ui);
}
.step:first-child { padding-top: 8px; }
.step .no { font-size: 12px; line-height: 40px; transition: color .4s var(--ui); }
.step .nm { font-weight: 300; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.15; letter-spacing: -.025em; }
.step .ds p { margin-bottom: 14px; }
.step .ds .meta { font-size: 11px; color: inherit; }
.step.on, html:not(.m-full) .step { color: var(--text); }
.step.on .no, html:not(.m-full) .step .no { color: var(--gold); }
.step.on .ds .meta, html:not(.m-full) .step .ds .meta { color: var(--gold); }

/* ───────── 15. About ───────── */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 120px); align-items: start; }
.about-copy { display: grid; gap: 18px; margin-top: 32px; max-width: 520px; }
.about-note { margin-top: 40px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.about-note .meta { font-size: 11px; }
.rule { width: 32px; height: 1px; background: var(--gold); margin-bottom: 14px; }
.about-r { padding-top: 8px; }
.q { position: relative; font-weight: 300; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.45; letter-spacing: -.015em; }
.q .hang { position: absolute; left: -.55em; top: 0; color: var(--gold); }
html.m-full [data-r="lines"] .hang { opacity: 0; transform: translateX(-8px); }
html.m-full [data-r="lines"].in .hang { opacity: 1; transform: none; transition: opacity .8s ease .3s, transform .9s var(--settle) .3s; }
.formula { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--hair); font-size: 11px; text-transform: uppercase; }
.formula i { font-style: normal; color: var(--gold); }

/* ───────── 16. Experience rows ───────── */
.exgroup + .exgroup { margin-top: 64px; }
.exgroup > .meta { display: inline-flex; margin-bottom: 18px; }
.trow {
  position: relative; isolation: isolate; display: grid; grid-template-columns: 200px minmax(0, 1fr) 64px;
  gap: 32px; align-items: start; padding: 32px 16px; border-bottom: 1px solid var(--hair); transition: color .3s var(--ui) .05s;
}
.trow::before { content: ""; position: absolute; inset: 6px -8px; z-index: -1; border-radius: 22px; background: rgba(237, 230, 216, .045); opacity: 0; transform: scale(.97); transition: opacity .3s ease, transform .7s var(--spring); }
.trow > * { transition: transform .8s var(--spring); }
.trow .nm { transition: color .3s var(--ui); }
.tl-date { font-size: 12px; line-height: 36px; color: var(--gold); text-transform: uppercase; letter-spacing: .06em; }
.trow .nm { font-weight: 300; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; letter-spacing: -.02em; }
.trow .co { display: block; margin-top: 8px; font-size: 11px; color: var(--muted); }
.trow p { margin-top: 14px; max-width: 760px; }
.org { width: 56px; height: 56px; display: grid; place-items: center; padding: 6px; border-radius: var(--r-sm); border: 1px solid var(--hair); background: #141311; overflow: hidden; transition: transform .7s var(--bouncy), border-color .3s ease; }
.org img { border-radius: 8px; }
.org img { width: 100%; height: 100%; object-fit: contain; }
@media (hover: hover) and (pointer: fine) {
  .trow:hover::before { opacity: 1; transform: none; }
  .trow:hover > .tl-main { transform: translateX(12px); }
  .trow:hover .nm { color: var(--gold); }
  .trow:hover .org { border-color: var(--gold-hair); transform: rotate(-6deg) scale(1.06); }
}

/* ───────── 17. Skills — drag ticker ───────── */
.mat-vp { overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.mat-vp.dragging { cursor: grabbing; }
.mat-vp.dragging .mat { pointer-events: none; }
.mat-track { display: flex; gap: 20px; width: max-content; padding: 18px var(--m); will-change: transform; }
.mat {
  width: clamp(268px, 24vw, 340px); min-height: 320px; flex: none; padding: 28px; display: flex; flex-direction: column;
  border: 1px solid var(--hair); border-radius: 24px; background: var(--ink); overflow: hidden;
}
/* While the strip is handled, JS drives each card's transform every frame: no transform transition */
.mat-vp.manual .mat { transition: filter .3s ease, opacity .8s ease, background-color .3s ease; }
.mat-vp.manual .mat::before, .mat-vp.manual .mat::after { opacity: 0 !important; }
/* Page dots: the active one stretches into a gold pill, iOS-style */
.mat-dots { display: flex; justify-content: center; gap: 6px; margin-top: 22px; }
.mat-dots button { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; }
.mat-dots i { display: block; width: 6px; height: 6px; border-radius: 6px; background: rgba(237, 230, 216, .25); transition: width .6s var(--spring), background-color .3s ease; }
.mat-dots button:hover i { background: rgba(237, 230, 216, .5); }
.mat-dots button.on i { width: 20px; background: var(--gold); }
.mat-dots button.on { width: 34px; border-radius: 11px; transition: width .6s var(--spring); }
.mat:hover { background: #121110; }
.mat .no { font-size: 11px; color: var(--gold); display: flex; justify-content: space-between; }
.mat .no b { font-weight: 400; color: var(--muted); }
.mat .h3 { margin: 40px 0 20px; transition: color .3s ease, transform .8s var(--spring); }
.mat:hover .h3 { color: var(--gold); transform: translateX(4px); }
.mat .big { position: absolute; z-index: -1; right: -6px; bottom: -34px; font: 300 150px/1 var(--f); letter-spacing: -.06em; color: rgba(212, 178, 106, .05); transition: transform 1s var(--spring), color .5s ease; pointer-events: none; }
.mat:hover .big { transform: translate(-10px, -14px); color: rgba(212, 178, 106, .1); }
.mat ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.mat li { padding: 4px 11px; border-radius: 999px; border: 1px solid var(--hair); font-size: 13px; line-height: 20px; color: rgba(237, 230, 216, .82); }
.mat li.liquid { transition: border-color .3s ease, color .3s ease, transform .7s var(--bouncy), translate .7s var(--bouncy), scale .7s var(--bouncy), box-shadow .45s ease, filter .35s ease; transition-delay: 0s; }
@media (hover: hover) and (pointer: fine) {
  .mat:hover li { border-color: rgba(212, 178, 106, .32); color: var(--text); transform: translateY(-2px); transition-delay: calc(var(--k, 0) * 28ms); }
  .mat li.lit { transition-delay: 0s; }
}

/* ───────── 18. Tail stack — Athletic → Contact → Footer ─────────
   Athletic pins by its foot (top = viewport − panel height when taller than the
   screen); Contact is forced to a full viewport so it actually covers it. The
   covered panel scales 1 → .94 and dims to .82 against a black stage. */
.tstack { position: relative; background: #000; }
.tpanel { position: sticky; top: var(--st, 0px); will-change: transform, filter; transform-origin: 50% 0; transform: scale(calc(1 - .06 * var(--cov, 0))); filter: brightness(calc(1 - .18 * var(--cov, 0))); }
.tstack > .tpanel:first-child { background: var(--ink); overflow: hidden; border-radius: calc(var(--cov, 0) * 40px); }
#athletic > .wrap { position: relative; z-index: 1; }
.disc-flight { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.disc-flight .disc, .disc-flight .trail { position: absolute; left: 0; top: 0; width: 96px; height: 96px; will-change: transform; }
.disc { filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .55)); }
.trail { border-radius: 50%; background: radial-gradient(circle, rgba(212, 178, 106, .22), transparent 65%); }
html:not(.m-full) .disc-flight { display: none; }
/* Contact: the content trails the rising panel, then settles */
.tail .contact > .wrap { transform: translateY(calc((1 - var(--arr, 1)) * 140px)); opacity: calc(.25 + var(--arr, 1) * .75); }
/* Closing wordmark: letters rise into place as you reach the very bottom */
.ftr-mark {
  display: flex; justify-content: center; overflow: hidden; white-space: nowrap; user-select: none;
  width: min(1280px, calc(100% - 2 * var(--m))); margin: 8px auto 0; padding: .04em 0 .06em;
  font-weight: 300; line-height: .82; letter-spacing: -.055em; color: var(--ink);
}
.ftr-mark .ch { display: inline-block; transform: translateY(calc((1 - var(--end, 1)) * (70% + var(--k) * 6%))); opacity: calc(.15 + var(--end, 1) * .85); will-change: transform; }
.ftr-mark .sp { display: inline-block; width: .26em; }
.tpanel.tail { z-index: 1; min-height: 100svh; display: flex; flex-direction: column; background: var(--gold); color: var(--ink); --r: calc((1 - var(--arr, 1)) * 64px); border-radius: var(--r) var(--r) 0 0; }
.tail .contact { flex: 1 0 auto; display: flex; align-items: center; padding: calc(var(--hdr) + 48px) 0 72px; }
.tail .contact > .wrap { width: min(1280px, calc(100% - 2 * var(--m))); }
html.m-spec .tstack { background: none; }
html.m-spec .tpanel, html.m-spec .tpanel.tail { position: static; min-height: 0; filter: none !important; transform: none !important; }

.ath { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ath-card { display: flex; flex-direction: column; gap: 10px; padding: 32px; border-radius: 24px; border: 1px solid var(--hair); background: var(--ink-2); overflow: hidden; }

.ath-card .org { transition: transform .9s var(--bouncy), border-color .3s ease; }
.ath-card:hover .org { transform: scale(1.12) rotate(-8deg); border-color: var(--gold-hair); }
.ath-card .h3 { transition: color .3s ease; }
.ath-card:hover .h3 { color: var(--gold); }
.ath-card .yrs { position: absolute; z-index: -1; right: 24px; top: 18px; font: 300 88px/1 var(--f); letter-spacing: -.05em; color: rgba(212, 178, 106, .06); transition: transform 1s var(--spring), color .5s ease; }
.ath-card:hover .yrs { transform: translateY(-6px); color: rgba(212, 178, 106, .12); }
.ath-card .org { margin-bottom: 18px; }
.ath-card .meta { font-size: 11px; }
.ath-card .h3 { font-size: 26px; line-height: 32px; font-weight: 300; letter-spacing: -.02em; }
.ath-card p { flex: 1; margin-bottom: 10px; }

.contact .eb { color: rgba(10, 10, 10, .62); }
.contact .display { font-size: clamp(48px, 8vw, 128px); }
.contact-email {
  position: relative; display: inline-flex; align-items: baseline; gap: .25em; margin-top: 40px; max-width: 100%;
  font-weight: 300; font-size: clamp(22px, 4.4vw, 64px); line-height: 1.15; letter-spacing: -.03em; overflow-wrap: anywhere;
}
.contact-email > span:first-child { position: relative; }
.contact-email > span:first-child::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(.18); transform-origin: left; transition: transform .6s var(--draw); }
.contact-email:hover > span:first-child::after, .contact-email:focus-visible > span:first-child::after { transform: scaleX(1); }
.contact-email:hover .ar { transform: translate(6px, -6px); }
.contact-email .ar { transition: transform .6s var(--bouncy); }
.contact-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(10, 10, 10, .2); }
.contact-bottom .cap { color: rgba(10, 10, 10, .72); }
.contact-links { display: flex; flex-wrap: wrap; gap: 14px 32px; }
.tail :focus-visible { outline-color: var(--ink); }
.ftr { border-top: 1px solid rgba(10, 10, 10, .18); padding: 28px 0 0; overflow: hidden; font-size: 13px; line-height: 20px; }
.ftr .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; }
.ftr .logo { margin: 0; font-size: 16px; }
.ftr .logo span { color: var(--ink); }
.ftr > .wrap > span:nth-child(2) { color: rgba(10, 10, 10, .7); }

/* ───────── 19. View cursor + archive follow preview (fine pointers only) ───────── */
.vcur {
  position: fixed; left: 0; top: 0; z-index: 250; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%;
  border: 1px solid var(--gold); background: rgba(10, 10, 10, .45); color: var(--gold);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: grid; place-items: center; text-align: center;
  font: 500 11px/14px var(--f); letter-spacing: .08em; text-transform: uppercase; pointer-events: none; transform: translate3d(-200px, -200px, 0) scale(0);
  transition: background-color .2s var(--ui), color .2s var(--ui), border-color .2s var(--ui);
  border-color: rgba(212, 178, 106, .6); background: rgba(16, 15, 14, .5);
}
.vcur span { opacity: 0; padding: 0 10px; transform: translateY(6px); transition: opacity .2s var(--ui), transform .35s var(--settle); }
.vcur.on span { opacity: 1; transform: none; transition-delay: .08s; }
.vcur.inv { border-color: var(--ink); background: rgba(212, 178, 106, .5); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { html.has-vcur [data-cursor] { cursor: none; } }

.follow { position: fixed; left: 0; top: 0; z-index: 240; width: 220px; height: 116px; pointer-events: none; transform: translate3d(-400px, -400px, 0); }
.follow .fi {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  background: rgba(20, 19, 17, .9); border: 1px solid rgba(237, 230, 216, .1); border-radius: 20px; box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  opacity: 0; transform: scale(.4); transition: opacity .2s ease, transform .6s cubic-bezier(.4, 0, .2, 1);
}
.follow.on .fi { transition: opacity .2s ease, transform .8s var(--bouncy); }
.follow .fl { position: absolute; inset: 0; display: grid; place-items: center; padding: 22px 26px; opacity: 0; }
.follow .fl.front { opacity: 1; }
.follow .fi::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(160deg, rgba(255, 255, 255, .07), transparent 40%); }
.follow.on .fi { opacity: 1; transform: none; }
.follow img { max-width: 100%; max-height: 56px; object-fit: contain; }
@media not all and (hover: hover) and (pointer: fine) { .follow { display: none; } }

/* ───────── 20. Responsive ───────── */
@media (max-width: 1180px) {
  .nav { gap: 20px; }
  .nav a span { display: none; }
}
@media (max-width: 1100px) {
  .nav, .hdr .resume { display: none; }
  .menu-toggle { display: block; }
  .hdr-in { gap: 12px; }

  .hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 270px); gap: 48px; }
  .hero-h { font-size: clamp(42px, 6.4vw, 72px); }
  .h2 { font-size: clamp(34px, 5vw, 50px); }

  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .shead { grid-template-columns: 1fr; gap: 24px; }
  .fp { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about-r { padding-left: .6em; }


  .pmeta .pd { max-width: 560px; }

  .irow { grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1fr) auto; }
  .irow .yr { display: none; }

  .step { grid-template-columns: 56px minmax(0, 1fr); }
  .step .ds { grid-column: 2; }
  .trow { grid-template-columns: 1fr 56px; gap: 8px 24px; }
  .trow .tl-date { grid-column: 1 / -1; line-height: 20px; }
  .trow .org { grid-row: 2; grid-column: 2; }
  .pcard { width: 84vw; grid-template-columns: minmax(0, 1fr); grid-template-areas: "top" "logo" "meta"; grid-template-rows: auto auto 1fr; padding: 22px 26px 28px; }
  .plogo { justify-self: start; width: min(260px, 60%); padding: 20px; }
  .pnote { display: none; }
  .mosaic { columns: 2; }
}
@media (max-width: 860px) {
  /* Stacked hero: the portrait becomes a compact profile row so the headline stays above the fold */
  .hero { height: auto; min-height: 100svh; }
  .hero-in { grid-template-columns: 1fr; gap: 36px; align-items: end; padding: calc(var(--hdr) + 40px) 0 136px; }
  .hero-h { font-size: clamp(42px, 8.4vw, 72px); }
  .hero-portrait { order: -1; display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 20px; align-items: end; }
  .hero-portrait figcaption { margin-top: 0; padding-bottom: 4px; }
  .ring { left: 74px; top: 50%; width: 230px; }
}
@media (max-width: 700px) {
  :root { --hdr: 64px; }
  body { font-size: 15px; }
  .cap { font-size: 15px; line-height: 24px; }
  .sec { padding: 72px 0; }
  .c-top { flex-direction: column; gap: 6px; }
  .logo { font-size: 16px; }

  .hero-in { padding-bottom: 120px; gap: 32px; }
  .hero-portrait { grid-template-columns: 112px minmax(0, 1fr); gap: 16px; }
  .ring { left: 56px; width: 180px; }
  .hero-h { font-size: clamp(38px, 11vw, 56px); }
  .h2 { font-size: clamp(30px, 8.6vw, 40px); }
  .cue-badge { width: 76px; height: 76px; bottom: 24px; }
  .fp-h br, .q br { display: none; }
  .q { font-size: 22px; }
  .hero-portrait figcaption { flex-direction: column; gap: 6px; }
  .hero-desc { font-size: 16px; line-height: 26px; }

  .statband { padding: 40px 0; }
  .stat .meta { font-size: 10px; }
  .signal { padding: 22px 0; }

  .fp-brand .badge { margin-left: 0; }
  .fp-ws { grid-template-columns: 36px minmax(0, 1fr); min-height: 300px; }
  .fp-insp { display: none; }
  .fp-tools { padding: 10px 5px; }
  .fp-modes { display: none; }

  .hs-track { gap: 20px; }
  .pcard { min-height: 0; padding: 18px 20px 22px; row-gap: 20px; }
  .plogo { width: min(220px, 64%); padding: 16px; }
  .plogo img { max-height: 52px; }
  .pmeta .nm { margin-top: 8px; }
  .pmeta .pd { max-width: none; font-size: 14px; line-height: 22px; margin-top: 10px; }
  .tags { margin-top: 12px; }
  .pmeta .go { margin-top: 14px; }

  .ihead { flex-direction: column; align-items: flex-start; }
  .irow { grid-template-columns: 36px minmax(0, 1fr) auto; column-gap: 12px; padding: 18px 4px; min-height: 0; }
  .irow .sub { display: none; }
  .irow .nm { font-size: 20px; }
  .irow .nm .sm { display: block; margin-top: 6px; font: 400 12px/18px var(--f); color: var(--muted); letter-spacing: 0; }
  .irow .last .badge { padding: 3px 7px; font-size: 9px; }
  .irow .last .ar { display: none; }

  .chips { width: 100%; -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent); }
  .mosaic { columns: 2; column-gap: 12px; }
  .tile { margin-bottom: 20px; }
  .tile .bar strong { font-size: 14px; line-height: 20px; }
  .tile .bar .m { display: none; }

  .proc { padding-left: 20px; }
  .step { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; }
  .step .no { line-height: 16px; }
  .step .ds { grid-column: 1; }

  .trow { padding: 28px 4px; }
  .ath { grid-template-columns: 1fr; }
  .disc-flight .disc, .disc-flight .trail { width: 64px; height: 64px; }
  .ath-card { padding: 24px; }

  .mat { min-height: 280px; padding: 24px; }
  .tail .contact { padding: calc(var(--hdr) + 32px) 0 56px; }
  .contact-email { margin-top: 28px; }
  .contact-bottom { margin-top: 40px; }

  .lightbox { padding: 64px 12px 80px; }
  .lb-bg { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .lb-nav { top: auto; bottom: 16px; margin-top: 0; }
  .lb-prev { left: calc(50% - 52px); }
  .lb-next { right: calc(50% - 52px); }

}
@media (max-width: 420px) {
  .mosaic { columns: 1; }
  .tile .bar .m { display: block; }
  .proof { gap: 28px 20px; }
}

/* ───────── 21. Reduced motion ───────── */
@media (prefers-reduced-motion: reduce) {
  html.menu-open #main { transform: none; }
  .tail .contact > .wrap, .ftr-mark .ch { transform: none !important; opacity: 1 !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .tk-track { flex-wrap: wrap; width: auto; justify-content: center; }
  .tpanel { position: static; transform: none !important; filter: none !important; }
}
