/* SLANT kit · Direction A · Foundry
   Cool, engineered. True black ground, graphite panels, hairlines, mono readouts.
   The brand's 8° diagonal is the single motion primitive: a slanted curtain that
   travels on transform only (scrubbed by scroll, or eased once on entry).
   Lift as-is: tokens first, then primitives, then components, then motion. */

/* ---------- 0. Fonts ---------- */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../font/manrope-latin.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../font/jetbrains-mono-500-latin.woff2") format("woff2"); }
@font-face { font-family: "Manrope Fallback"; src: local("Arial"); size-adjust: 103%; ascent-override: 98%; descent-override: 28%; line-gap-override: 0%; }

/* ---------- 1. Tokens ---------- */
:root {
  /* colour, brand doc + the first-draft surfaces Tarun liked */
  --amber: #FFC000;
  --amber-hi: #FFD24D;          /* hover only */
  --goldenrod: #B88E00;         /* amber's shadow: rules and accents on dark, 6.5:1. Never small text on bone. */
  --black: #0B0B0D;             /* ground */
  --graphite: #16171B;          /* panel on black */
  --graphite-2: #1E1F25;        /* raised panel on graphite */
  --bone: #EFEAE0;              /* text on black, light surface */
  --bone-2: #F7F4ED;            /* light page ground */
  --smoke: #A7A9B0;             /* secondary text on black, 8.4:1 */
  --ink-soft: #5B5D66;          /* secondary text on bone, 6.0:1 */
  --stone: #DDD7CB;             /* light sections (10 Nov, Tarun: less bright white; Chris picked stone). Black text 13.6:1 */
  --stone-2: #D3CCBE;           /* raised panel on stone */
  --stone-3: #C9C1B2;           /* deeper panel on stone */
  --ink-soft-stone: #4D4F57;    /* secondary text on stone, 5.7:1 (5.1 on stone-2) */
  --royal: #2F5BEA;             /* once per page: safety */
  --line-dark: rgba(239, 234, 224, .14);
  --line-dark-2: rgba(239, 234, 224, .26);
  --line-light: rgba(11, 11, 13, .14);

  /* roles, dark context is the default in Foundry */
  --bg: var(--black); --bg-2: var(--graphite); --bg-3: var(--graphite-2);
  --ink: var(--bone); --ink-2: var(--smoke); --line: var(--line-dark); --line-2: var(--line-dark-2);
  --focus: var(--amber);

  /* type */
  --font-manrope: "Manrope", "Manrope Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-archivo: "Archivo", "Arial Narrow", sans-serif;   /* open question for Tarun; Archivo is NOT bundled, so this falls back to Arial Narrow */
  --font-display: var(--font-manrope);
  --font: var(--font-manrope);
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --fs-display: clamp(2.75rem, 1.5rem + 5.5vw, 6.75rem);   /* 44 → 103 px */
  --fs-h1: clamp(2.25rem, 1.2rem + 4vw, 4.5rem);            /* 36 → 72 */
  --fs-h2: clamp(1.875rem, 1.1rem + 2.6vw, 3.25rem);        /* 30 → 52 */
  --fs-h3: clamp(1.25rem, 1rem + 1vw, 1.625rem);            /* 20 → 26 */
  --fs-lead: clamp(1.125rem, 1rem + .6vw, 1.375rem);        /* 18 → 22 */
  --fs-body: 1.0625rem;                                     /* 17 */
  --fs-small: .9375rem;                                     /* 15 */
  --fs-mono: .75rem;                                        /* 12, the floor for any label */
  --fs-stat: clamp(2.25rem, 1.6rem + 2.4vw, 3.75rem);       /* 36 → 60 */
  --measure: 62ch; --measure-lead: 44ch; --measure-h: 14ch;

  /* space, 4 px base */
  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.25rem; --s6: 1.5rem; --s8: 2rem; --s10: 2.5rem; --s12: 3rem; --s16: 4rem; --s20: 5rem; --s24: 6rem;
  --sec: clamp(5rem, 3rem + 8vw, 10rem);                    /* 79 px at 390, 160 at 1440 */
  --gutter: clamp(1.25rem, 4vw, 4rem);                      /* 20 at 390, 58 at 1440 */
  --container: 1280px; --cols: 12; --col-gap: clamp(1rem, 2vw, 2rem);

  /* the slant */
  --slant: 8deg; --slant-tan: .1405;
  --edge: calc(100vw * var(--slant-tan));                   /* diagonal rise across the full width: 55 px at 390, 202 at 1440 */
  --cut: 7px;                                               /* 8° across a 52 px button */
  --nw: 180px; --nh: 25px;                                  /* 8° chamfer on photo frames */

  /* motion: one set */
  --ease: cubic-bezier(.2, .7, .2, 1);          /* UI: hovers, small moves */
  --ease-expo: cubic-bezier(.16, 1, .3, 1);     /* entries: images, numbers */
  --d-fast: 160ms; --d: 400ms; --d-slow: 800ms; --d-wipe: 1100ms;
  --z-tag: 90; --z-bar: 100; --bar-h: 56px;
}
[data-font="archivo"] { --font-display: var(--font-archivo); }
.theme-light, .surface-bone { --bg: var(--stone); --bg-2: var(--stone-2); --bg-3: var(--stone-3); --ink: var(--black); --ink-2: var(--ink-soft-stone); --line: var(--line-light); --line-2: rgba(11, 11, 13, .3); --focus: var(--black); background: var(--bg); color: var(--ink); }
.surface-graphite { --bg: var(--graphite); --bg-2: var(--graphite-2); --bg-3: #26272E; background: var(--bg); }
.surface-royal { --bg: var(--royal); --bg-2: #2A51D1; --ink: #FFFFFF; --ink-2: rgba(255, 255, 255, .86); --line: rgba(255, 255, 255, .3); --focus: #FFFFFF; background: var(--bg); color: var(--ink); }
@media (prefers-reduced-motion: reduce) { :root { --d-fast: 0ms; --d: 0ms; --d-slow: 0ms; --d-wipe: 0ms; } }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--fs-body); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, picture { display: block; max-width: 100%; }
[hidden] { display: none !important; }
img { height: auto; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--amber); color: var(--black); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--s4); top: -100px; z-index: 200; background: var(--amber); color: var(--black); padding: var(--s3) var(--s5); font-weight: 700; }
.skip:focus { top: var(--s4); }

/* ---------- 3. Type ---------- */
.display { font-family: var(--font-display); font-size: var(--fs-display); font-weight: 800; line-height: .96; letter-spacing: -.035em; text-wrap: balance; }
.h1 { font-family: var(--font-display); font-size: var(--fs-h1); font-weight: 800; line-height: 1.0; letter-spacing: -.03em; text-wrap: balance; }
.h2 { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 700; line-height: 1.04; letter-spacing: -.025em; text-wrap: balance; }
.h3 { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 700; line-height: 1.18; letter-spacing: -.015em; text-wrap: balance; }
.lead { font-size: var(--fs-lead); font-weight: 500; line-height: 1.45; letter-spacing: -.01em; color: var(--ink-2); max-width: var(--measure-lead); text-wrap: pretty; }
.body { font-size: var(--fs-body); line-height: 1.6; max-width: var(--measure); text-wrap: pretty; }
.small { font-size: var(--fs-small); line-height: 1.5; }
.mono { font-family: var(--mono); font-weight: 500; font-size: var(--fs-mono); letter-spacing: .14em; text-transform: uppercase; line-height: 1.3; }
.muted { color: var(--ink-2); }
.accent { color: var(--amber); }
.measure { max-width: var(--measure); }
.stat { font-family: var(--font-display); font-size: var(--fs-stat); font-weight: 800; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat small { font-size: .5em; font-weight: 700; letter-spacing: .02em; color: var(--ink-2); margin-left: .08em; }

/* mono eyebrow with the amber wedge (the first draft's) */
.eyebrow { display: inline-flex; align-items: center; gap: var(--s3); font-family: var(--mono); font-weight: 500; font-size: var(--fs-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow::before { content: ""; flex: none; width: 18px; height: 8px; background: var(--amber); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.eyebrow--royal::before { background: var(--royal); }

/* the yellow highlight block, cut on the slant */
.hl { display: inline-block; background: var(--amber); color: var(--black); line-height: 1; padding: .02em .34em .06em .14em; margin-left: -.1em; clip-path: polygon(0 0, 100% 0, calc(100% - .16em) 100%, 0 100%); }

/* ---------- 4. Layout & rhythm ---------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--sec); }
/* 13 Nov: a soft stage light on dark sections, the hero's own ground; zero specificity, so any section's own background wins */
:where(.section:not(.surface-bone, .theme-light, .surface-royal)) { background-image: radial-gradient(60% 50% at 22% 38%, #1C1C21 0%, rgba(28, 28, 33, 0) 72%); background-repeat: no-repeat; }
:where(.section:not(.surface-bone, .theme-light, .surface-royal):nth-of-type(even)) { background-image: radial-gradient(60% 50% at 78% 38%, #1C1C21 0%, rgba(28, 28, 33, 0) 72%); }
:where(.section.surface-graphite) { background-image: radial-gradient(60% 50% at 22% 38%, #26272E 0%, rgba(38, 39, 46, 0) 72%); }
.section--tight { padding-block: calc(var(--sec) * .6); }
.grid { display: grid; gap: var(--s8) var(--col-gap); }
@media (min-width: 1024px) {
  .grid-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .col-3 { grid-column-end: span 3; } .col-4 { grid-column-end: span 4; } .col-5 { grid-column-end: span 5; } .col-6 { grid-column-end: span 6; } .col-7 { grid-column-end: span 7; } .col-8 { grid-column-end: span 8; }  /* span on the END, so .col-start-N can combine with it (6 Nov fix) */
  .col-start-6 { grid-column-start: 6; } .col-start-7 { grid-column-start: 7; } .col-start-8 { grid-column-start: 8; }
}
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.stack > * + * { margin-top: var(--s4); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s4); align-items: center; }

/* section head: label + heading + lead */
.section-head { display: grid; gap: var(--s4); margin-bottom: clamp(2rem, 1rem + 4vw, 4rem); align-content: start; }
.section-head .h1, .section-head .h2 { max-width: 18ch; }
@media (min-width: 1024px) { .section-head--split { grid-template-columns: 7fr 5fr; column-gap: var(--s10); align-items: end; } .section-head--split .lead { max-width: 36ch; padding-bottom: .35em; } .section-head--split .eyebrow { grid-column: 1 / -1; } }

/* diagonal section edges, 8°, shared --edge */
.edge-top { position: relative; z-index: 1; margin-top: calc(-1 * var(--edge)); padding-top: calc(var(--edge) + var(--sec) * .6); clip-path: polygon(0 var(--edge), 100% 0, 100% 100%, 0 100%); }
.edge-top--rev { clip-path: polygon(0 0, 100% var(--edge), 100% 100%, 0 100%); }
.edge-before { padding-bottom: calc(var(--edge) + var(--sec) * .5); }
.edge-bottom { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--edge)), 0 100%); padding-bottom: calc(var(--edge) + var(--sec) * .6); }

/* ---------- 5. Buttons & links ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: var(--s2); min-height: 52px; padding: 0 calc(var(--s6) + var(--cut)) 0 var(--s6); font-weight: 600; font-size: 1rem; line-height: 1; letter-spacing: -.005em; white-space: nowrap; background: var(--amber); color: var(--black); clip-path: polygon(0 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%); transition: background-color .4s var(--ease), color .4s var(--ease), transform .4s var(--ease); }
.btn:hover { background: var(--amber-hi); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--amber), inset 0 0 0 4px var(--black); }
.btn .arrow { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn--ghost { background: color-mix(in srgb, var(--ink) 11%, transparent); color: var(--ink); }
.btn--ghost:hover { background: color-mix(in srgb, var(--ink) 19%, transparent); }
.btn--ghost:focus-visible { box-shadow: inset 0 0 0 2px var(--bg), inset 0 0 0 4px var(--ink); }
.btn--dark { background: var(--black); color: var(--bone); }
.btn--dark:hover { background: #1F2026; }
.btn--dark:focus-visible { box-shadow: inset 0 0 0 2px var(--black), inset 0 0 0 4px var(--bone); }
.btn--sm { min-height: 42px; padding: 0 calc(var(--s5) + var(--cut)) 0 var(--s5); font-size: .9375rem; --cut: 6px; }
.btn--lg { min-height: 58px; padding: 0 calc(var(--s8) + var(--cut)) 0 var(--s8); font-size: 1.0625rem; --cut: 8px; }
.link { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; color: var(--ink); position: relative; padding-bottom: 3px; }
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-2); }
.link::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--amber); transform: scaleX(.3); transform-origin: left; transition: transform .4s var(--ease); z-index: 1; }
.link:hover::before, .link:focus-visible::before { transform: scaleX(1); }
.link .arrow { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.link:hover .arrow { transform: translateX(4px); }
.link--mono { font-family: var(--mono); font-weight: 500; font-size: var(--fs-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.link--mono:hover { color: var(--ink); }

/* ---------- 6. Panels, cards, stats, captions ---------- */
.card { position: relative; display: grid; gap: var(--s3); align-content: start; padding: var(--s6); background: var(--bg-2); border: 1px solid var(--line); transition: border-color .4s var(--ease), transform .4s var(--ease); }
.card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.card .eyebrow { color: var(--amber); }
.card p { color: var(--ink-2); max-width: 36ch; }
.card .link { margin-top: auto; justify-self: start; }
/* engineered corner ticks */
.card--tick::before, .card--tick::after { content: ""; position: absolute; width: 10px; height: 10px; border: 1px solid var(--line-2); pointer-events: none; }
.card--tick::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.card--tick::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.card--dark { background: var(--black); }
a.card { color: inherit; }

.stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.stats > li { display: flex; flex-direction: column-reverse; gap: 6px; padding: var(--s4) var(--s3) var(--s5) var(--s4); border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.stats > li:nth-child(-n+2) { border-top: 0; }
.stats > li:nth-child(odd) { border-left: 0; padding-left: 0; }
.stats .mono { color: var(--ink-2); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } .stats > li { border-top: 0; padding: var(--s5) var(--s4) var(--s6) var(--s5); } .stats > li:nth-child(odd) { border-left: 1px solid var(--line); padding-left: var(--s5); } .stats > li:first-child { border-left: 0; padding-left: 0; } }

.stat-block { display: grid; gap: var(--s2); padding: var(--s5) 0; border-top: 1px solid var(--line); }
.stat-block .mono { color: var(--ink-2); }

/* captions over photos: mono, bottom-left, on a dark chip */
.photo { position: relative; overflow: hidden; background: var(--bg-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo .caption { position: absolute; left: 14px; bottom: 12px; margin: 0; display: inline-flex; gap: var(--s2); align-items: baseline; padding: 6px 9px; background: rgba(11, 11, 13, .74); color: var(--bone); font-family: var(--mono); font-weight: 500; font-size: var(--fs-mono); letter-spacing: .12em; text-transform: uppercase; max-width: calc(100% - 28px); }
.photo .caption .accent { color: var(--amber); }
.caption-below { margin-top: var(--s3); display: flex; gap: var(--s3); align-items: baseline; color: var(--ink-2); font-size: var(--fs-small); }
.caption-below .mono { color: var(--amber); }

/* ---------- 7. Image treatment ---------- */
/* chamfer: one 8° cut, top-right by default */
.frame { position: relative; overflow: hidden; background: var(--bg-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--chamfer { clip-path: polygon(0 0, calc(100% - var(--nw)) 0, 100% var(--nh), 100% 100%, 0 100%); }
.frame--chamfer-bl { clip-path: polygon(0 0, 100% 0, 100% 100%, var(--nw) 100%, 0 calc(100% - var(--nh))); }
@media (max-width: 639px) { .frame { --nw: 110px; --nh: 15px; } }
.frame--4x5 { aspect-ratio: 4 / 5; } .frame--16x9 { aspect-ratio: 16 / 9; } .frame--3x2 { aspect-ratio: 3 / 2; }

/* stage-lit render: radial lift behind, feathered mask on the image so no edge is ever hard */
.stage { position: relative; overflow: hidden; background: radial-gradient(70% 60% at 32% 62%, #1D1D22 0%, var(--black) 72%); }
.stage::after { content: ""; position: absolute; inset: auto 0 0 0; height: 22%; background: linear-gradient(to top, var(--bg), transparent); pointer-events: none; }
.stage img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: radial-gradient(110% 100% at 42% 50%, #000 58%, transparent 100%); mask-image: radial-gradient(110% 100% at 42% 50%, #000 58%, transparent 100%); }
.stage--contain img { object-fit: contain; }

/* cut-out crossing a diagonal edge between two surfaces */
.crossing { position: relative; }
.crossing .crossing-img { position: absolute; z-index: 2; width: min(92%, 980px); right: var(--gutter); top: var(--cross-top, 50%); transform: translateY(-62%); pointer-events: none; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }
.crossing-copy { padding-top: var(--s6); }
@media (max-width: 1023px) { .crossing-copy { padding-top: 14vw; } }

/* ---------- 8. Motion ---------- */
/* a) the slanted curtain, the one primitive. Transform only. */
.wipe { position: relative; overflow: hidden; }
.wipe-curtain { position: absolute; top: -12%; bottom: -12%; left: -6%; width: 136%; background: var(--bg); transform: translateX(0) skewX(calc(-1 * var(--slant))); transform-origin: 50% 50%; pointer-events: none; will-change: transform; }
.wipe-curtain::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: var(--amber); }
/* once, on entry (IntersectionObserver adds .is-in) */
.js .wipe[data-in] .wipe-curtain { transition: transform var(--d-wipe) var(--ease-expo); }
.js .wipe[data-in].is-in .wipe-curtain { transform: translateX(118%) skewX(calc(-1 * var(--slant))); }
/* scrubbed by scroll: --p 0 → 1 set by the page script on the track */
.scrub { position: relative; height: 260svh; }
.scrub-stage { position: sticky; top: 0; height: 100svh; display: grid; align-content: center; overflow: hidden; }
/* the hero starts 30 % open so the unit is on screen at first paint; scrolling finishes the wipe */
.scrub .wipe-curtain { transform: translateX(calc((.3 + .7 * var(--p, 0)) * 118%)) skewX(calc(-1 * var(--slant))); }
/* b) how a number / a line lands: up 14 px + fade, expo, in sequence */
.js .land { opacity: 0; transform: translateY(14px); transition: opacity var(--d-slow) var(--ease-expo), transform var(--d-slow) var(--ease-expo); transition-delay: var(--delay, 0ms); }
.js .land.is-in { opacity: 1; transform: none; }
/* c) how an image enters: the curtain plus a 3 % settle */
.js .wipe[data-in] img { transform: scale(1.03); transition: transform calc(var(--d-wipe) + 200ms) var(--ease-expo); }
.js .wipe[data-in].is-in img { transform: none; }
/* d) the highlight block lands on the slant: scaleX from the left under the word */
.js .hl--land { position: relative; isolation: isolate; z-index: 0; background: none; color: var(--ink); clip-path: none; transition: color 0s linear calc(var(--d) * .6); }
.js .hl--land::before { content: ""; position: absolute; inset: 0; background: var(--amber); clip-path: polygon(0 0, 100% 0, calc(100% - .16em) 100%, 0 100%); transform: scaleX(0); transform-origin: left; transition: transform var(--d-slow) var(--ease-expo); z-index: -1; }
.js .hl--land.is-in { color: var(--black); }
.js .hl--land.is-in::before { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  .wipe-curtain, .js .wipe[data-in] .wipe-curtain, .scrub .wipe-curtain { display: none; }
  .js .land { opacity: 1; transform: none; transition: none; }
  .js .wipe[data-in] img { transform: none; transition: none; }
  .js .hl--land { color: var(--black); } .js .hl--land::before { transform: none; transition: none; }
  .scrub { height: auto; } .scrub-stage { position: relative; height: auto; min-height: 0; padding-block: var(--sec); }
}


/* ---------- 9. Site chrome: header and menu (ported from site.css, 6 Nov 2026) ---------- */
:root { --nav-h: 64px; --z-nav: 100; --z-menu: 110; --on-dark: var(--bone); --ink-2-dark: var(--smoke); }
@media (min-width: 1024px) { :root { --nav-h: 72px; } }
.site-header { position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav); height: var(--nav-h); color: var(--on-dark); transition: box-shadow var(--d) var(--ease); }
.site-header::before { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--black) 78%, transparent); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); opacity: 0; transition: opacity var(--d) var(--ease); }
.site-header::after { content: ""; position: absolute; inset: 0 0 -40px 0; background: linear-gradient(to bottom, color-mix(in srgb, var(--black) 35%, transparent), transparent); pointer-events: none; z-index: -1; transition: opacity var(--d); }
.site-header.is-scrolled::before, .site-header.is-open::before { opacity: 1; }
.site-header.is-scrolled::after { opacity: 0; }
.site-header.is-scrolled { box-shadow: inset 0 -1px 0 var(--line-dark); }
.site-header .container { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s4); }
.brand { display: inline-flex; align-items: center; height: 100%; color: var(--on-dark); }
.brand svg { height: 22px; width: auto; }
.nav { display: none; align-items: center; gap: var(--s8); }
.nav a { font-weight: 600; font-size: .9375rem; color: var(--on-dark); opacity: .82; transition: opacity var(--d-fast); position: relative; padding: var(--s2) 0; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--amber); }
.header-actions { display: flex; align-items: center; gap: var(--s3); }
.header-actions .btn { min-height: 42px; padding: 0 calc(var(--s5) + var(--cut)) 0 var(--s5); font-size: .9375rem; --cut: 6px; }
.header-actions .btn .long { display: none; } .header-actions .btn .short { display: inline; }
@media (min-width: 421px) { .header-actions .btn .long { display: inline; } .header-actions .btn .short { display: none; } }
.menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -8px; color: var(--on-dark); }
.menu-btn svg { width: 24px; height: 24px; }
.menu-btn .x { display: none; }
.site-header.is-open .menu-btn .x { display: block; } .site-header.is-open .menu-btn .bars { display: none; }
.menu { position: fixed; inset: var(--nav-h) 0 0 0; z-index: var(--z-menu); background: var(--black); color: var(--on-dark); padding: var(--s8) var(--gutter) var(--s10); display: none; flex-direction: column; justify-content: space-between; overflow: auto; }
.menu.is-open { display: flex; }
.menu-links a { display: block; font-size: clamp(2rem, 8vw, 3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; padding: var(--s3) 0; border-bottom: 1px solid var(--line-dark); }
.menu-links a[aria-current="page"] { color: var(--amber); }
.menu-foot { margin-top: var(--s10); display: grid; gap: var(--s6); color: var(--ink-2-dark); }
.menu-foot address { font-style: normal; line-height: 1.5; }
body.menu-open { overflow: hidden; }
@media (min-width: 1024px) { .brand svg { height: 26px; } .nav { display: flex; } .menu-btn { display: none; } .menu { display: none !important; } }
