/* =========================================================
   VRTUS Physio — redesign
   Palette: ink / bone / bronze (brand #A98C70)
   Type: Archivo (variable width) · Instrument Serif · JetBrains Mono
   ========================================================= */

:root {
  --ink: #0b0b0a;
  --ink-2: #131311;
  --ink-3: #1c1b19;
  --bone: #eeeae3;
  --bone-2: #e3ded4;
  --bronze: #a98c70;
  --bronze-hi: #c9ae8f;
  --bronze-lo: #7d6650;

  --on-dark: #eeeae3;
  --on-dark-2: rgba(238, 234, 227, 0.62);
  --on-dark-3: rgba(238, 234, 227, 0.14);
  --on-light: #0b0b0a;
  --on-light-2: rgba(11, 11, 10, 0.6);
  --on-light-3: rgba(11, 11, 10, 0.12);

  --f-sans: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --f-serif: "Instrument Serif", ui-serif, Georgia, serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1520px;
  --radius: 18px;
  --ease: cubic-bezier(0.65, 0, 0.15, 1);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -0.01em; }
::selection { background: var(--bronze); color: var(--ink); }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; border-radius: 4px; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--bronze); color: var(--ink); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-2); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--bronze); display: inline-block; flex: none; }
.dot--pulse { animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(169,140,112,.6); } 50% { box-shadow: 0 0 0 7px rgba(169,140,112,0); } }

/* Display type */
.display {
  font-family: var(--f-sans);
  font-stretch: 72%;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(48px, 8.2vw, 140px);
  line-height: 0.86;
  letter-spacing: -0.015em;
}
.display em { color: var(--bronze); font-size: 1.04em; letter-spacing: -0.02em; }
.display--sm { font-size: clamp(40px, 5.6vw, 92px); }
.display--xl { font-size: clamp(56px, 11vw, 190px); }

/* Buttons */
.btn {
  --h: 52px;
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  height: var(--h); padding: 0 24px;
  border-radius: 999px;
  font-family: var(--f-sans); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease), transform .3s var(--ease-out);
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn__arrow { display: inline-block; transition: transform .45s var(--ease); }
.btn:hover .btn__arrow { transform: translate(3px, -3px) rotate(0deg); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 12px; }
.btn--bronze { background: var(--bronze); color: var(--ink); }
.btn--bronze::before { background: var(--bone); }
.btn--ghost { border: 1px solid rgba(238,234,227,.35); color: var(--on-dark); }
.btn--ghost::before { background: var(--bone); }
.btn--ghost:hover { color: var(--ink); border-color: var(--bone); }

.link { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.link:hover { background-size: 100% 1px; }

.hide-sm { }
@media (max-width: 720px) { .hide-sm { display: none !important; } }

/* =========================================================
   PRELOADER
   ========================================================= */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--ink);
  display: none; place-items: center;
  clip-path: inset(0 0 0 0);
}
.js .loader { display: grid; }
.loader__inner { display: grid; justify-items: center; }
/* Logo fills from black to white, left to right, as the page loads */
.loader__logo { --p: 0; position: relative; width: min(86vw, 760px); aspect-ratio: 1700 / 841; }
.loader__logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.loader__logo-base { filter: brightness(0.16); }
.loader__logo-fill { clip-path: inset(0 calc((1 - var(--p)) * 100%) 0 0); }
/* Thin light edge + percentage that travel with the fill */
.loader__edge {
  position: absolute; top: 12%; bottom: 12%; left: calc(var(--p) * 100%); width: 1px;
  background: linear-gradient(180deg, transparent, rgba(238,234,227,.85) 30%, rgba(238,234,227,.85) 70%, transparent);
  box-shadow: 0 0 14px 2px rgba(238,234,227,.25);
}
.loader__pct {
  position: absolute; top: 100%; left: calc(var(--p) * 100%); transform: translateX(-50%); margin-top: 14px;
  font-family: var(--f-mono); font-size: 13px; letter-spacing: .08em; color: var(--on-dark); white-space: nowrap;
}
.loader__num { font-variant-numeric: tabular-nums; }
.gonio { overflow: visible; }
.gonio__track { fill: none; stroke: var(--on-dark-3); stroke-width: 1.5; }
.gonio__fill { fill: none; stroke: var(--bronze); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 180; stroke-dashoffset: 180; }
.gonio__needle { stroke: var(--bone); stroke-width: 1.5; stroke-linecap: round; transform-origin: 100px 100px; }
.gonio__pin { fill: var(--bronze); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--gutter);
  transition: transform .6s var(--ease), background-color .4s, backdrop-filter .4s;
}
.nav.is-scrolled { background: rgba(11,11,10,.72); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo img { height: 54px; width: auto; margin: -6px 0; }
.nav__links { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(238,234,227,.06); border: 1px solid rgba(238,234,227,.08); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav__links a { padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--on-dark-2); transition: color .3s, background .3s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--on-dark); background: rgba(238,234,227,.08); }
.nav__right { display: flex; align-items: center; gap: 14px; }
.nav__phone { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; color: var(--on-dark-2); transition: color .3s; }
.nav__phone:hover { color: var(--on-dark); }
.nav__burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(238,234,227,.25); position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__burger span:first-child { top: 16px; }
.nav__burger span:last-child { top: 24px; }
.menu-open .nav__burger span:first-child { top: 20px; transform: rotate(45deg); }
.menu-open .nav__burger span:last-child { top: 20px; transform: rotate(-45deg); }

@media (max-width: 1080px) { .nav__phone { display: none; } }
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
}
@media (max-width: 420px) { .nav .btn--sm .btn__arrow { display: none; } .nav .btn--sm { padding: 0 14px; } }

/* Fullscreen menu */
.menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--ink-2);
  padding: 110px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease);
  overflow-y: auto;
}
.menu-open .menu { clip-path: inset(0 0 0 0); }
.menu__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; max-width: var(--max); margin: 0 auto; }
.menu__main a { display: flex; align-items: baseline; gap: 16px; font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: clamp(44px, 9vw, 110px); line-height: .95; border-bottom: 1px solid var(--on-dark-3); padding: 8px 0; transition: color .3s, padding .5s var(--ease); }
.menu__main a span { font-family: var(--f-mono); font-size: 11px; font-weight: 400; color: var(--bronze); letter-spacing: .1em; }
.menu__main a:hover { color: var(--bronze); padding-left: 12px; }
.menu__side { display: flex; flex-direction: column; gap: 8px; color: var(--on-dark-2); padding-top: 8px; }
.menu__side a:hover { color: var(--on-dark); }
@media (max-width: 720px) { .menu__grid { grid-template-columns: 1fr; } }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  height: 100svh; min-height: 620px;
  overflow: hidden;
  background: var(--ink);
}
.hero__media { position: absolute; inset: 0; will-change: transform, clip-path; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transform: scale(1.08); }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11,11,10,.55) 0%, rgba(11,11,10,0) 28%),
    linear-gradient(0deg, rgba(11,11,10,.92) 0%, rgba(11,11,10,.35) 45%, rgba(11,11,10,.15) 100%);
}
.hero__inner {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px var(--gutter) 32px;
  max-width: var(--max); margin: 0 auto;
}
.hero__meta { position: absolute; top: 96px; left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; color: var(--on-dark-2); }
.hero__title {
  font-stretch: 68%;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(76px, 17.5vw, 300px);
  line-height: 0.8;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}
.line { display: block; overflow: hidden; padding-bottom: 0.04em; margin-bottom: -0.04em; }
.line__in { display: block; will-change: transform; }
.line--2 .line__in { padding-left: 9vw; }
.hero__title em { color: var(--bronze); font-size: .52em; letter-spacing: -0.01em; margin-right: .06em; vertical-align: 0.42em; }
.hero__foot { display: grid; grid-template-columns: minmax(0, 380px) 1fr auto; align-items: end; gap: 28px; border-top: 1px solid var(--on-dark-3); padding-top: 22px; }
.hero__lede { color: var(--on-dark-2); font-size: 15px; max-width: 360px; }
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__scroll { display: flex; align-items: center; gap: 12px; color: var(--on-dark-2); }
.hero__scroll i { width: 1px; height: 44px; background: var(--on-dark-3); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--bronze); animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }

@media (max-width: 900px) {
  .hero__foot { grid-template-columns: 1fr; gap: 18px; }
  .hero__scroll { display: none; }
  .line--2 .line__in { padding-left: 0; }
}
@media (max-width: 720px) {
  .hero__meta { top: 86px; }
  .hero__title { font-size: clamp(64px, 22vw, 140px); }
  .hero__title em { display: block; font-size: .42em; vertical-align: 0; margin: .1em 0 .05em; }
  .hero__cta .btn { flex: 1; justify-content: center; }
}

/* =========================================================
   MARQUEE BAND
   ========================================================= */
.band { background: var(--bone); color: var(--on-light); padding: clamp(28px, 4vw, 56px) 0; overflow: hidden; position: relative; z-index: 2; }
.marquee { overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; align-items: center; will-change: transform; }
.band .marquee__track > * { font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: clamp(54px, 9vw, 150px); line-height: 1.18; letter-spacing: -0.015em; padding: 0 .18em; }
.band--end { border-top: 1px solid var(--on-light-3); }
.band .marquee__track em { color: var(--bronze-lo); font-size: 1.05em; }
.band .marquee__track b { font-family: var(--f-sans); font-weight: 300; font-size: clamp(28px, 4vw, 64px); color: var(--bronze); padding: 0 .3em; }
.marquee--outline .marquee__track > span:not(:has(em)) { color: transparent; -webkit-text-stroke: 1.5px var(--on-light); }

/* =========================================================
   MANIFESTO
   ========================================================= */
.manifesto { position: relative; padding: clamp(110px, 16vw, 220px) 0 clamp(80px, 10vw, 140px); overflow: hidden; }
.manifesto__x { position: absolute; right: -6vw; top: 6%; width: min(70vw, 760px); height: auto; pointer-events: none; opacity: .9; }
.manifesto__x path { fill: none; stroke: var(--bronze); stroke-width: 46; stroke-linecap: round; opacity: .2; }
.manifesto .eyebrow { margin-bottom: 40px; }
.manifesto__text {
  position: relative;
  font-stretch: 85%;
  font-weight: 600;
  font-size: clamp(32px, 4.9vw, 82px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 17ch;
  max-width: 1300px;
}
.manifesto__text em { color: var(--bronze); font-size: 1.08em; }
.word { display: inline-block; }
.js [data-words] .word { opacity: .14; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(80px, 10vw, 140px); border-top: 1px solid var(--on-dark-3); }
.stat { padding: 28px 24px 0 0; border-right: 1px solid var(--on-dark-3); padding-left: 24px; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat__num { font-stretch: 68%; font-weight: 800; font-size: clamp(64px, 8vw, 130px); line-height: .9; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 6px; }
.stat__num small { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-stretch: 100%; font-size: .3em; color: var(--bronze); letter-spacing: 0; }
.stat p { color: var(--on-dark-2); font-size: 14px; margin-top: 14px; max-width: 26ch; }
@media (max-width: 900px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 16px 28px 0 !important; border-right: 0; border-bottom: 1px solid var(--on-dark-3); }
  .stat:nth-child(odd) { border-right: 1px solid var(--on-dark-3); }
  .stat:nth-child(even) { padding-left: 16px !important; }
}

/* =========================================================
   SERVICES — horizontal
   ========================================================= */
.services { position: relative; background: var(--bone); color: var(--on-light); }
.services__pin { position: relative; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.services__track { display: flex; gap: 18px; padding: 0 var(--gutter); align-items: stretch; height: min(72svh, 660px); width: max-content; will-change: transform; }

.svc-intro { flex: none; width: min(40vw, 560px); display: flex; flex-direction: column; justify-content: space-between; padding-right: 3vw; }
.svc-intro .eyebrow { color: var(--on-light-2); }
.svc-intro .display { margin: 24px 0; font-size: clamp(52px, 6.4vw, 112px); }
.svc-intro .display em { color: var(--bronze-lo); }
.svc-intro__lede { color: var(--on-light-2); max-width: 36ch; }
.svc-intro__hint { color: var(--on-light-2); margin-top: 24px; }

.svc {
  position: relative; flex: none;
  width: clamp(280px, 26vw, 400px);
  border-radius: var(--radius);
  background: #fff;
  background: color-mix(in oklab, var(--bone) 40%, white);
  border: 1px solid var(--on-light-3);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 26px;
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease), transform .6s var(--ease-out);
}
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); clip-path: circle(0% at 100% 100%); transition: clip-path .8s var(--ease); }
.svc:hover { color: var(--on-dark); border-color: var(--ink); }
.svc:hover::before { clip-path: circle(150% at 100% 100%); }
.svc__no { font-family: var(--f-serif); font-style: italic; font-size: clamp(120px, 12vw, 210px); line-height: .75; letter-spacing: -0.04em; color: var(--bronze); margin-left: -0.04em; transition: color .5s; }
.svc:hover .svc__no { color: var(--bronze-hi); }
.svc--img .svc__no { color: var(--bone); opacity: .9; }
.svc h3 { font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 2.6vw, 44px); line-height: .92; letter-spacing: -0.01em; }
.svc p { font-size: 14px; color: var(--on-light-2); margin-top: 14px; max-width: 30ch; transition: color .5s; }
.svc:hover p { color: var(--on-dark-2); }
.svc__more { display: inline-flex; gap: 8px; margin-top: 22px; padding-top: 16px; border-top: 1px solid currentColor; border-color: var(--on-light-3); width: 100%; transition: border-color .5s; }
.svc:hover .svc__more { border-color: var(--on-dark-3); }
.svc__more i { font-style: normal; transition: transform .5s var(--ease); }
.svc:hover .svc__more i { transform: translateX(6px); }

.svc--img { width: clamp(320px, 34vw, 540px); color: var(--on-dark); border: 0; background: var(--ink); }
.svc--img::before { display: none; }
.svc__img { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--ease); filter: grayscale(.3) contrast(1.05); }
.svc__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,11,10,.9) 0%, rgba(11,11,10,.2) 55%, rgba(11,11,10,.35) 100%); }
.svc--img:hover .svc__img img { transform: scale(1); }
.svc--img p { color: var(--on-dark-2); }
.svc--img .svc__more { border-color: var(--on-dark-3); }

.svc-end { flex: none; width: min(46vw, 620px); display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: 0 2vw 0 4vw; }
.svc-end .display em { color: var(--bronze-lo); }
.svc-end .btn { align-self: flex-start; }

.services__progress { position: absolute; left: var(--gutter); right: calc(var(--gutter) + 150px); bottom: 34px; display: flex; align-items: center; gap: 20px; color: var(--on-light-2); }
.services__bar { flex: 1; height: 1px; background: var(--on-light-3); position: relative; }
.services__bar i { position: absolute; inset: 0; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); }

/* Fallback / tablet & mobile: stacked list */
.services.is-native .services__pin { height: auto; display: block; padding: clamp(80px, 12vw, 120px) 0; }
.services.is-native .services__track { flex-direction: column; width: auto; height: auto; gap: 12px; }
.services.is-native .svc-intro { width: auto; padding: 0 0 28px; }
.services.is-native .svc-intro .display { margin: 20px 0; }
.services.is-native .svc-intro__hint { display: none; }
.services.is-native .svc { width: auto; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding: 22px; }
.services.is-native .svc__no { font-size: clamp(64px, 14vw, 96px); min-width: 1.1em; }
.services.is-native .svc h3 { font-size: clamp(26px, 6.5vw, 36px); }
.services.is-native .svc--img { display: flex; flex-direction: column; justify-content: space-between; min-height: 420px; }
.services.is-native .svc-end { width: auto; padding: 40px 0 0; }

/* =========================================================
   LAB
   ========================================================= */
.lab { padding: clamp(100px, 12vw, 180px) 0; background: var(--ink); position: relative; }
.section-head { margin-bottom: clamp(48px, 6vw, 88px); }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.section-head__lede { max-width: 38ch; color: var(--on-dark-2); }
@media (max-width: 900px) { .section-head--split { flex-direction: column; align-items: flex-start; gap: 24px; } }

.lab__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lab-card {
  position: relative; border: 1px solid var(--on-dark-3); border-radius: var(--radius);
  padding: 28px; min-height: 440px; display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  overflow: hidden;
}
.lab-card::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--on-dark-3) 1px, transparent 1px); background-size: 18px 18px; opacity: .5; mask-image: linear-gradient(180deg, transparent, #000 70%); -webkit-mask-image: linear-gradient(180deg, transparent, #000 70%); pointer-events: none; }
.lab-card__tag { color: var(--bronze); }
.lab-card h3 { font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: clamp(40px, 3.8vw, 64px); line-height: .9; margin: 22px 0 18px; }
.lab-card p { color: var(--on-dark-2); font-size: 14px; max-width: 34ch; }
.lab-card__load { margin-top: auto; display: flex; align-items: center; gap: 14px; position: relative; z-index: 1; color: var(--on-dark-2); }
.lab-card__load .bar { flex: 1; height: 3px; background: var(--on-dark-3); border-radius: 3px; overflow: hidden; }
.lab-card__load .bar i { display: block; height: 100%; width: 100%; background: var(--bronze); transform-origin: 0 50%; transform: scaleX(var(--to)); }
.js .lab-card__load .bar i { transform: scaleX(0); }
@media (max-width: 900px) { .lab__grid { grid-template-columns: 1fr; } .lab-card { min-height: 340px; } }

/* =========================================================
   TEAM
   ========================================================= */
.team { padding: clamp(100px, 12vw, 180px) 0 clamp(80px, 10vw, 140px); background: var(--ink); border-top: 1px solid var(--on-dark-3); }
.team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); row-gap: clamp(40px, 5vw, 72px); }
.member__btn { display: block; width: 100%; text-align: left; }
.member__img { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); }
.member__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: grayscale(1) contrast(1.05) brightness(.95); transform: scale(1.04); transition: filter .8s var(--ease), transform 1.1s var(--ease); }
.member__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,11,10,.45), transparent 40%); transition: opacity .6s; }
.member__btn:hover .member__img img, .member__btn:focus-visible .member__img img { filter: grayscale(0) contrast(1) brightness(1); transform: scale(1); }
.member__meta { position: relative; padding-top: 16px; padding-right: 48px; }
.member__meta h3 { font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: clamp(24px, 2.2vw, 34px); line-height: 1; letter-spacing: -0.005em; }
.member__meta p { color: var(--on-dark-2); font-size: 13px; margin-top: 6px; }
.member__plus { position: absolute; right: 0; top: 16px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--on-dark-3); display: grid; place-items: center; font-size: 18px; font-weight: 300; transition: background .4s, color .4s, transform .6s var(--ease), border-color .4s; }
.member__btn:hover .member__plus { background: var(--bronze); color: var(--ink); border-color: var(--bronze); transform: rotate(90deg); }
@media (min-width: 901px) { .team__grid .member:nth-child(3n+2) { margin-top: 90px; } .team__grid .member:nth-child(3n) { margin-top: 30px; } }
@media (max-width: 900px) { .team__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .team__grid { grid-template-columns: 1fr; } }

/* Drawer */
.drawer {
  position: fixed; inset: 0 0 0 auto; margin: 0; height: 100%; max-height: none;
  width: min(1000px, 100vw); max-width: 100vw;
  padding: 0; border: 0; background: var(--bone); color: var(--on-light);
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  transform: translateX(100%); transition: transform .8s var(--ease), overlay .8s allow-discrete, display .8s allow-discrete;
}
.drawer:not([open]) { display: none; }
.drawer[open] { transform: translateX(0); }
@starting-style { .drawer[open] { transform: translateX(100%); } }
.drawer::backdrop { background: rgba(11,11,10,.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.drawer__img { position: relative; overflow: hidden; background: var(--bone-2); }
.drawer__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.drawer__body { padding: clamp(28px, 4vw, 56px); overflow-y: auto; display: flex; flex-direction: column; gap: 20px; position: relative; }
.drawer__body .eyebrow { color: var(--bronze-lo); margin-top: 40px; }
.drawer__name { font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: clamp(44px, 5vw, 84px); line-height: .88; }
.drawer__bio { display: grid; gap: 14px; color: var(--on-light-2); font-size: 15px; }
.drawer__body .btn { align-self: flex-start; margin-top: 12px; }
.drawer__body .btn--bronze::before { background: var(--ink); }
.drawer__body .btn--bronze:hover { color: var(--bone); }
.drawer__close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--on-light-3); font-size: 14px; transition: background .3s, color .3s, transform .5s var(--ease); }
.drawer__close:hover { background: var(--ink); color: var(--bone); transform: rotate(90deg); }
@media (max-width: 720px) {
  .drawer { grid-template-columns: 1fr; grid-template-rows: 46svh 1fr; }
  .drawer__body .eyebrow { margin-top: 0; }
  .drawer__close { position: fixed; top: 14px; right: 14px; background: var(--bone); }
}

/* =========================================================
   WHY / FACILITY
   ========================================================= */
.why { background: var(--ink); padding-bottom: clamp(80px, 10vw, 140px); }
.why__media { position: relative; height: 115svh; overflow: hidden; clip-path: inset(0 var(--gutter) round var(--radius)); }
.why__media img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; object-position: 60% 50%; filter: grayscale(1) contrast(1.1) brightness(.8); }
.why__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,11,10,.9), rgba(11,11,10,.35) 60%, rgba(11,11,10,.5)), linear-gradient(90deg, rgba(169,140,112,.25), transparent 60%); mix-blend-mode: normal; }
.why__caption { position: absolute; z-index: 2; left: calc(var(--gutter) * 2); right: calc(var(--gutter) * 2); bottom: clamp(40px, 6vw, 80px); }
.why__caption .eyebrow { margin-bottom: 20px; }
.why__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(60px, 8vw, 110px); }
.why-item { padding: 0 24px; border-left: 1px solid var(--on-dark-3); }
.why-item:first-child { border-left: 0; padding-left: 0; }
.why-item__no { color: var(--bronze); }
.why-item h3 { font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: clamp(24px, 2.1vw, 32px); line-height: 1; margin: 18px 0 14px; }
.why-item p { color: var(--on-dark-2); font-size: 14px; }
@media (max-width: 900px) {
  .why__media { height: 80svh; }
  .why__list { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .why-item:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 520px) {
  .why__list { grid-template-columns: 1fr; row-gap: 36px; }
  .why-item { border-left: 0; padding: 0; border-top: 1px solid var(--on-dark-3); padding-top: 24px; }
}

/* =========================================================
   FEES
   ========================================================= */
.fees { background: var(--bone); color: var(--on-light); padding: clamp(100px, 12vw, 180px) 0; }
.fees .eyebrow, .fees .section-head__lede { color: var(--on-light-2); }
.fees .display em { color: var(--bronze-lo); }
.fees__aside { max-width: 440px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.fees__badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: var(--ink); color: var(--bone); }
.fees__claim { font-weight: 600; font-size: clamp(24px, 2.2vw, 34px); line-height: 1.08; letter-spacing: -0.02em; color: var(--on-light); }
.fees__claim em { color: var(--bronze-lo); font-size: 1.08em; }
.fees__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 72px); }
.price-list__title { color: var(--bronze-lo); padding-bottom: 14px; border-bottom: 1px solid var(--on-light); }
.price-list ul { list-style: none; margin: 0; padding: 0; }
.price-list li { display: flex; align-items: baseline; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--on-light-3); font-size: clamp(16px, 1.3vw, 19px); font-weight: 500; transition: padding .5s var(--ease); }
.price-list li:hover { padding-left: 10px; }
.price-list li span small { font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; color: var(--on-light-2); margin-left: 6px; text-transform: uppercase; }
.price-list li i { flex: 1; border-bottom: 1px dotted rgba(11,11,10,.25); transform: translateY(-4px); }
.price-list li b { font-stretch: 72%; font-weight: 800; font-size: clamp(24px, 2vw, 32px); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.price-list li.is-free b { color: var(--bronze-lo); }
.price-list li b small { font-family: var(--f-mono); font-size: 10px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--on-light-2); }

.offers { display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px; margin-top: clamp(48px, 6vw, 80px); }
.offer { border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); display: flex; justify-content: space-between; gap: 24px; background: var(--bone-2); align-items: flex-end; }
.offer .eyebrow { color: var(--on-light-2); margin-bottom: 18px; }
.offer h3 { font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 3.4vw, 56px); line-height: .9; margin-bottom: 16px; }
.offer p { color: var(--on-light-2); font-size: 14px; max-width: 42ch; }
.offer__price { text-align: right; flex: none; }
.offer__price span { display: block; font-stretch: 68%; font-weight: 800; font-size: clamp(52px, 6vw, 100px); line-height: .85; letter-spacing: -0.03em; }
.offer__price small { font-family: var(--f-serif); font-style: italic; font-size: 26px; color: var(--bronze-lo); }
.offer--feature { background: var(--ink); color: var(--on-dark); }
.offer--feature .eyebrow, .offer--feature p { color: var(--on-dark-2); }
.offer--feature .offer__price span { color: var(--bronze); }
@media (max-width: 900px) {
  .fees__grid, .offers { grid-template-columns: 1fr; }
  .offer { flex-direction: column; align-items: flex-start; }
  .offer__price { text-align: left; }
}

/* =========================================================
   PARTNERS
   ========================================================= */
.partners { background: var(--bone); color: var(--on-light); padding: 0 0 clamp(90px, 10vw, 150px); border-top: 1px solid var(--on-light-3); }
.partners .section-head { padding-top: clamp(80px, 10vw, 140px); }
.partners .eyebrow { color: var(--on-light-2); }
.partners .display em { color: var(--bronze-lo); }
.logos { overflow: hidden; white-space: nowrap; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos .marquee__track { gap: 14px; padding-right: 14px; }
.logos .marquee__track { gap: 0; padding-right: 0; }
.logo { margin: 0; flex: none; width: clamp(160px, 15vw, 230px); aspect-ratio: 15 / 8; display: grid; place-items: center; overflow: hidden; border-left: 1px solid var(--on-light-3); padding: 10px 18px; background: var(--bone); }
/* Logos are JPG/PNG with their own backgrounds: multiply + greyscale knocks the white out on bone.
   (Swap for transparent SVG logos when available.) */
.logo img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; filter: grayscale(1) brightness(1.05) contrast(1.7); opacity: .9; transition: filter .5s, opacity .5s, transform .6s var(--ease); }
.logo--invert img { filter: invert(1) grayscale(1) brightness(1.1) contrast(1.9); }
.logo:hover img { opacity: 1; transform: scale(1.05); }
.logo:not(.logo--invert):hover img { filter: grayscale(0); }
.affil { display: flex; align-items: center; gap: 40px; margin-top: 56px; flex-wrap: wrap; }
.affil > p { color: var(--on-light-2); }
.affil ul { display: flex; flex-wrap: wrap; gap: 14px; list-style: none; margin: 0; padding: 0; }
.affil li { height: 60px; padding: 6px 12px; display: grid; place-items: center; }
.affil img { height: 100%; width: auto; max-width: 140px; object-fit: contain; mix-blend-mode: multiply; filter: grayscale(1) brightness(1.03) contrast(1.4); opacity: .85; transition: filter .4s, opacity .4s; }
.affil li:hover img { filter: none; opacity: 1; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { background: var(--ink); padding: clamp(100px, 12vw, 180px) 0; }
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.faq__head { position: sticky; top: 120px; }
.faq__head .eyebrow { margin-bottom: 22px; }
.qa { border-bottom: 1px solid var(--on-dark-3); }
.qa:first-child { border-top: 1px solid var(--on-dark-3); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; font-size: clamp(19px, 1.7vw, 26px); font-weight: 500; letter-spacing: -0.01em; transition: color .3s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--bronze-hi); }
.qa summary span { flex: none; position: relative; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--on-dark-3); transition: background .4s, border-color .4s; }
.qa summary span::before, .qa summary span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .5s var(--ease); }
.qa summary span::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] summary span { background: var(--bronze); border-color: var(--bronze); color: var(--ink); }
.qa[open] summary span::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa__a { overflow: hidden; }
.qa__a p { color: var(--on-dark-2); padding: 0 60px 28px 0; max-width: 60ch; }
.qa__a a { color: var(--bronze-hi); }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } .faq__head { position: static; } .qa__a p { padding-right: 0; } }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { position: relative; background: var(--bronze); color: var(--ink); padding-top: clamp(90px, 10vw, 150px); overflow: hidden; }
.footer .eyebrow { color: rgba(11,11,10,.7); }
.footer .dot { background: var(--ink); }
.footer__cta { display: block; margin: 28px 0 clamp(64px, 8vw, 120px); font-stretch: 68%; font-weight: 800; text-transform: uppercase; font-size: clamp(64px, 13vw, 230px); line-height: .82; letter-spacing: -0.03em; word-spacing: .12em; }
.footer__cta-line { display: block; }
.footer__cta em { font-size: .95em; color: var(--bone); transition: color .4s; }
.footer__cta-arrow { display: inline-block; font-family: var(--f-sans); font-stretch: 100%; font-weight: 300; font-size: .6em; vertical-align: .2em; transition: transform .6s var(--ease); }
.footer__cta:hover .footer__cta-arrow { transform: translate(.1em, -.1em) rotate(45deg); }
.footer__cta:hover em { color: var(--ink); }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; border-top: 1px solid rgba(11,11,10,.22); padding-top: 32px; font-size: 15px; line-height: 1.8; }
.footer__label { color: rgba(11,11,10,.6); margin-bottom: 12px; }
.footer__legal { display: flex; justify-content: space-between; gap: 16px; color: rgba(11,11,10,.65); margin-top: clamp(48px, 6vw, 80px); padding-top: 20px; padding-bottom: 28px; border-top: 1px solid rgba(11,11,10,.22); }
.footer__legal a:hover { color: var(--ink); }
@media (max-width: 900px) { .footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__legal { font-size: 9px; } }

/* =========================================================
   ROM gauge (scroll indicator)
   ========================================================= */
.rom {
  position: fixed; right: var(--gutter); bottom: 22px; z-index: 40;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px 10px 12px; border-radius: 14px;
  background: rgba(11,11,10,.7); border: 1px solid var(--on-dark-3);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: var(--on-dark);
  opacity: 0; transform: translateY(12px); transition: opacity .6s, transform .6s var(--ease);
}
.rom.is-visible { opacity: 1; transform: none; }
.rom .gonio { width: 52px; }
.rom .gonio__fill { stroke-width: 6; }
.rom .gonio__track { stroke-width: 3; }
.rom .gonio__needle { stroke-width: 4; }
.rom__txt { display: grid; line-height: 1.25; }
.rom__txt span { color: var(--on-dark-2); font-size: 9px; }
.rom__txt b { font-weight: 500; font-size: 13px; font-variant-numeric: tabular-nums; }
@media (max-width: 720px) { .rom { display: none; } }

/* =========================================================
   SERVICE PAGES
   ========================================================= */
.menu__side a.is-current { color: var(--bronze); }

/* Hero */
.s-hero { position: relative; background: var(--ink); padding: clamp(110px, 12vw, 160px) 0 0; overflow: hidden; }
.s-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 90px); align-items: end; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; color: var(--on-dark-2); margin-bottom: clamp(28px, 4vw, 48px); }
.crumbs a { transition: color .3s; }
.crumbs a:hover { color: var(--on-dark); }
.crumbs i { font-style: normal; color: var(--bronze); }
.s-hero__title {
  font-stretch: 68%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(50px, 7.6vw, 136px); line-height: .84; letter-spacing: -0.02em;
}
.s-hero__title em { color: var(--bronze); letter-spacing: -0.03em; }
.s-hero__kicker { font-size: clamp(18px, 1.6vw, 24px); color: var(--on-dark-2); margin: clamp(22px, 3vw, 36px) 0 clamp(26px, 3vw, 40px); max-width: 32ch; }
.s-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.s-hero__media { margin: 0; position: relative; aspect-ratio: 4 / 5; max-height: 76svh; width: 100%; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); justify-self: end; }
.s-hero__media img { width: 100%; height: 118%; object-fit: cover; position: absolute; top: -9%; left: 0; }

.facts { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(56px, 7vw, 100px); border-top: 1px solid var(--on-dark-3); }
.fact { padding: 22px 20px 30px 0; border-right: 1px solid var(--on-dark-3); padding-left: 20px; }
.fact:first-child { padding-left: 0; }
.fact:last-child { border-right: 0; }
.fact dt { color: var(--on-dark-2); }
.fact dd { margin: 10px 0 0; font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: clamp(24px, 2.4vw, 40px); line-height: .95; letter-spacing: -0.01em; }

@media (max-width: 900px) {
  .s-hero__grid { grid-template-columns: 1fr; }
  .s-hero__media { aspect-ratio: 4 / 4.4; max-height: none; justify-self: stretch; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact { padding: 20px 14px 22px 0 !important; border-right: 0; border-bottom: 1px solid var(--on-dark-3); }
  .fact:nth-child(odd) { border-right: 1px solid var(--on-dark-3); }
  .fact:nth-child(even) { padding-left: 14px !important; }
}
@media (max-width: 520px) { .s-hero__title { font-size: 12.4vw; } .s-hero__cta .btn { flex: 1; justify-content: center; } }

/* Thin marquee */
.band--thin { padding: clamp(18px, 2.4vw, 32px) 0; }
.band--thin .marquee__track > * { font-size: clamp(40px, 6vw, 100px); }
.band--thin .marquee__track b { font-size: clamp(22px, 2.6vw, 44px); }

/* Overview */
.s-intro { background: var(--ink); padding: clamp(100px, 12vw, 180px) 0 clamp(80px, 9vw, 140px); }
.s-intro .eyebrow { margin-bottom: 36px; }
.s-intro__lead { max-width: 1180px; }
.s-intro__body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 48px); margin-top: clamp(48px, 6vw, 88px); margin-left: auto; max-width: 900px; color: var(--on-dark-2); font-size: clamp(16px, 1.2vw, 18px); }
.s-intro__body p:only-child { grid-column: 1 / -1; max-width: 60ch; }
@media (max-width: 720px) { .s-intro__body { grid-template-columns: 1fr; } }

/* Detail sections (light) */
.s-content { background: var(--bone); color: var(--on-light); padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 10vw, 140px); }
.s-sec { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 96px); padding: clamp(48px, 6vw, 88px) 0; border-bottom: 1px solid var(--on-light-3); }
.s-sec:last-child { border-bottom: 0; }
.s-sec__head { position: sticky; top: 110px; align-self: start; }
.s-sec__no { color: var(--bronze-lo); }
.s-sec__head h2 { margin-top: 14px; font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: clamp(38px, 4.4vw, 76px); line-height: .9; letter-spacing: -0.01em; }
.s-sec__body > p { font-size: clamp(16px, 1.25vw, 19px); color: var(--on-light-2); max-width: 62ch; margin-bottom: 1em; }
.s-sec__body > p:last-child { margin-bottom: 0; }
.s-sec__body > h3 { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: clamp(28px, 2.6vw, 40px); line-height: 1; color: var(--bronze-lo); margin: 36px 0 12px; }
.s-sec__body > h3:first-child { margin-top: 0; }
.s-list { list-style: none; margin: 4px 0 24px; padding: 0; counter-reset: i; border-top: 1px solid var(--on-light-3); }
.s-sec__body > .s-list:last-child { margin-bottom: 0; }
.s-list li {
  counter-increment: i;
  display: grid; grid-template-columns: 52px 1fr; column-gap: 8px;
  padding: 18px 0; border-bottom: 1px solid var(--on-light-3);
  transition: padding .5s var(--ease), background-color .4s;
}
.s-list li::before { content: counter(i, decimal-leading-zero); grid-row: span 2; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; color: var(--bronze-lo); padding-top: .55em; }
.s-list li:hover { padding-left: 10px; }
.s-list strong { font-weight: 600; font-size: clamp(17px, 1.4vw, 21px); letter-spacing: -0.01em; }
.s-list span { color: var(--on-light-2); font-size: 15px; margin-top: 4px; }
@media (max-width: 900px) {
  .s-sec { grid-template-columns: 1fr; }
  .s-sec__head { position: static; }
}

/* Next service */
.s-next-wrap { background: var(--ink); padding-bottom: clamp(70px, 8vw, 110px); }
.s-next { position: relative; display: block; padding: clamp(80px, 10vw, 150px) var(--gutter) clamp(50px, 6vw, 80px); max-width: var(--max); margin: 0 auto; border-bottom: 1px solid var(--on-dark-3); isolation: isolate; }
.s-next__label { display: block; color: var(--bronze); margin-bottom: 20px; }
.s-next__title { display: block; position: relative; z-index: 2; font-stretch: 68%; font-weight: 800; text-transform: uppercase; font-size: clamp(52px, 9.5vw, 170px); line-height: .84; letter-spacing: -0.025em; transition: color .5s var(--ease); max-width: 12ch; }
.s-next__arrow { display: inline-block; font-stretch: 100%; font-weight: 300; color: var(--bronze); transition: transform .6s var(--ease); }
.s-next:hover .s-next__arrow { transform: translateX(.2em); }
.s-next__img {
  display: block; position: absolute; z-index: 1; right: var(--gutter); top: 50%; width: clamp(200px, 22vw, 340px); aspect-ratio: 4 / 5;
  border-radius: var(--radius); overflow: hidden; transform: translateY(-50%) rotate(3deg);
  clip-path: inset(100% 0 0 0 round var(--radius)); opacity: 0;
  transition: clip-path .8s var(--ease), transform .8s var(--ease), opacity .3s;
}
.s-next:hover .s-next__img { opacity: 1; }
.s-next__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1.2s var(--ease); }
.s-next:hover .s-next__img { clip-path: inset(0 0 0 0 round var(--radius)); transform: translateY(-50%) rotate(0deg); }
.s-next:hover .s-next__img img { transform: scale(1); }
@media (hover: none), (max-width: 720px) { .s-next__img { display: none; } }

.s-all { display: flex; gap: 28px; align-items: baseline; margin-top: 36px; flex-wrap: wrap; }
.s-all > p { color: var(--on-dark-2); flex: none; }
.s-all ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.s-all a { display: inline-flex; gap: 8px; align-items: baseline; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--on-dark-3); font-size: 13px; color: var(--on-dark-2); transition: color .3s, border-color .3s, background .3s; }
.s-all a span { font-family: var(--f-mono); font-size: 10px; color: var(--bronze); }
.s-all a:hover { color: var(--on-dark); border-color: var(--on-dark-2); }
.s-all a[aria-current="page"] { background: var(--bronze); border-color: var(--bronze); color: var(--ink); }
.s-all a[aria-current="page"] span { color: var(--ink); }

/* =========================================================
   Reveal defaults (only when JS animation is live)
   ========================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(40px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* =========================================================
   404 PAGE (404.html, generated by tools/build-services.rb)
   ========================================================= */
.page-404 { background: var(--ink); color: var(--on-dark); min-height: 100svh; display: flex; flex-direction: column; }
.nf { flex: 1; display: flex; align-items: center; padding: 140px 0 60px; }
.nf__title { font-stretch: 68%; font-weight: 800; text-transform: uppercase; font-size: clamp(72px, 15vw, 240px); line-height: .82; letter-spacing: -0.025em; margin: 22px 0 26px; }
.nf__title em { color: var(--bronze); text-transform: none; font-size: .62em; }
.nf__lede { color: var(--on-dark-2); max-width: 420px; font-size: 16px; }
.nf__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.nf .s-all { margin-top: 56px; }
.nf__legal { padding-block: 26px; }
