/* =========================================================================
   Tuna Enterprises — "Liquid Gold Under Pressure"
   Shared design system. Page-specific styles live in assets/css/pages/<page>.css
   ========================================================================= */

/* ---------- Fonts (vendored from @fontsource) ---------- */
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-600-italic.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-700-italic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-800-italic.woff2") format("woff2"); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
/* metric-matched fallbacks keep layout steady while fonts load */
@font-face { font-family: "Condensed Fallback"; src: local("Arial Narrow"), local("Roboto Condensed"), local("Arial"); size-adjust: 88%; }
@font-face { font-family: "Sans Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 101%; }

:root {
  --ink: #0a0a0b;
  --ink-2: #131315;
  --ink-3: #1b1b1e;
  --rule: rgba(242, 238, 230, .12);
  --rule-2: rgba(242, 238, 230, .22);
  --bone: #f2eee6;
  --mute: #8d8a84;
  --mute-2: #b4b0a8;
  --paper: #f4f1ea;
  --paper-ink: #16130f;
  --red: #e1262c;
  --red-2: #ff3b40;
  --gold: #e6ad2e;
  --gold-2: #f6cf6e;
  --gold-deep: #3a2405;
  --blue: #2f5fd0;

  --serif: "Barlow Condensed", "Condensed Fallback", "Arial Narrow", sans-serif;
  --sans: "Barlow", "Sans Fallback", "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --wrap: 1320px;
  --gutter: clamp(18px, 4vw, 56px);
  --inset: clamp(8px, 1vw, 14px);
  --radius: clamp(18px, 2.2vw, 28px);
  --section: clamp(96px, 14vh, 180px);
  --hdr: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 20px); }
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(--bone);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; text-wrap: balance; }
h1, h2 { text-transform: uppercase; font-weight: 800; letter-spacing: .005em; }
h3 { text-transform: uppercase; letter-spacing: .01em; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 4px; border-radius: 4px; }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; animation-timing-function: var(--ease-io); }

.ic { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip-link:focus { top: 16px; }

/* ---------- Type ---------- */
.serif { font-family: var(--serif); font-weight: 600; }
.mono { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; }
.display {
  font-family: var(--serif);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(3rem, 7vw, 7.5rem);
  line-height: .9;
  letter-spacing: .005em;
}
.h2 { font-family: var(--serif); font-weight: 800; text-transform: uppercase; font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: .95; letter-spacing: .005em; }
.h3 { font-family: var(--serif); font-weight: 700; text-transform: uppercase; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.02; letter-spacing: .01em; }
.display em, .h2 em, .h3 em, .serif em, h1 em, h2 em, h3 em { font-style: italic; color: var(--red); }
.power { font-family: var(--sans); font-weight: 800; font-stretch: 118%; text-transform: uppercase; letter-spacing: -.01em; line-height: .86; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .8; }
.eyebrow--plain::before { display: none; }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--mute-2); max-width: 54ch; }
.muted { color: var(--mute); }
.gold { color: var(--gold); }
.red { color: var(--red); }

/* ---------- Pills (magnetic CTAs with a circled arrow) ---------- */
.pill {
  --bg: rgba(242, 238, 230, .07); --fg: var(--bone); --dot: var(--bone); --dot-fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  min-height: 54px; padding: 6px 6px 6px 26px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--rule);
  font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: .01em; white-space: nowrap;
  cursor: pointer; isolation: isolate; overflow: hidden;
  transition: background-color .4s var(--ease-out), border-color .4s, color .4s;
}
.pill > span { position: relative; z-index: 1; }
.pill__arrow {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--dot); color: var(--dot-fg); font-style: normal;
  transition: transform .5s var(--ease-out), background-color .4s;
}
.pill__arrow .ic { width: 18px; height: 18px; stroke-width: 1.8; transition: transform .5s var(--ease-out); }
.pill:hover .pill__arrow .ic { transform: rotate(-45deg); }
.pill:hover { border-color: var(--rule-2); --bg: rgba(242, 238, 230, .12); }
.pill--red { --bg: var(--red); --fg: #fff; --dot: #fff; --dot-fg: var(--red); border-color: transparent; }
.pill--red:hover { --bg: var(--red-2); border-color: transparent; }
.pill--gold { --bg: var(--gold); --fg: #1a1203; --dot: #1a1203; --dot-fg: var(--gold); border-color: transparent; }
.pill--gold:hover { --bg: var(--gold-2); border-color: transparent; }
.pill--wa { --bg: #1d8f4e; --fg: #fff; --dot: #fff; --dot-fg: #1d8f4e; border-color: transparent; }
.pill--ink { --bg: var(--ink); --fg: var(--bone); --dot: var(--gold); --dot-fg: var(--ink); }
.pill--sm { min-height: 44px; padding-left: 20px; font-size: 14px; }
.pill--sm .pill__arrow { width: 34px; height: 34px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.textlink {
  display: inline-flex; align-items: center; gap: 10px; color: var(--bone);
  font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 4px; transition: background-size .5s var(--ease-out), color .3s;
}
.textlink:hover { background-size: 100% 1px; color: var(--gold); }
.textlink .ic { width: 16px; height: 16px; }

/* ---------- Frames, sections, surfaces ---------- */
.frame {
  position: relative; margin: var(--inset); border-radius: var(--radius); overflow: hidden; isolation: isolate;
  background: var(--ink-2);
}
.section { position: relative; padding-block: var(--section); }
.section--tight { padding-block: clamp(64px, 9vh, 110px); }
.section--rule { border-top: 1px solid var(--rule); }
.paper { background: var(--paper); color: var(--paper-ink); }
.paper .eyebrow { color: #9a6b0c; }
.paper .lead, .paper .muted { color: #5b554b; }
.paper .display em, .paper .h2 em, .paper .h3 em, .paper .serif em, .paper h1 em, .paper h2 em, .paper h3 em { color: var(--red); }
.head { display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: 32px 64px; align-items: end; margin-bottom: clamp(48px, 7vw, 88px); }
.head > :last-child { margin: 0; }
.head--solo { grid-template-columns: 1fr; }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.hairline { height: 1px; background: var(--rule); border: 0; margin: 0; }

/* glass card with a pointer spotlight */
.card {
  position: relative; padding: clamp(26px, 3vw, 40px); border-radius: calc(var(--radius) * .7);
  background: linear-gradient(180deg, rgba(242, 238, 230, .055), rgba(242, 238, 230, .015));
  border: 1px solid var(--rule); overflow: hidden; isolation: isolate;
  transition: border-color .5s var(--ease-out), transform .6s var(--ease-out);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(230, 173, 46, .14), transparent 55%);
}
.card:hover { border-color: rgba(230, 173, 46, .35); }
.card:hover::before { opacity: 1; }
.card .num { display: block; margin-bottom: 26px; color: var(--gold); }
.card h3 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.6rem, 2.2vw, 2rem); line-height: 1.02; margin-bottom: 12px; }
.card p { color: var(--mute-2); margin: 0; font-size: 16px; }
.card .ic-lg { width: 44px; height: 44px; color: var(--gold); stroke-width: 1.2; margin-bottom: 28px; }
.paper .card { background: #fffdf8; border-color: rgba(22, 19, 15, .1); }
.paper .card p { color: #5b554b; }

/* spec readout (instrument style) */
.readout { display: grid; border-top: 1px solid var(--rule); }
.readout > div { display: grid; grid-template-columns: minmax(120px, 38%) 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.readout dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.readout dd { margin: 0; font-size: 17px; color: var(--bone); }
.readout dd b { font-family: var(--serif); font-weight: 700; font-size: 1.5em; color: var(--gold); }

/* chips */
.chip { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--rule-2); font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--bone); }
.chip--gold { border-color: rgba(230, 173, 46, .5); color: var(--gold); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* check list */
.ticks { display: grid; gap: 16px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; color: var(--mute-2); }
.ticks li::before { content: ""; width: 22px; height: 1px; margin-top: .8em; background: var(--gold); }
.ticks strong { color: var(--bone); font-weight: 600; }
.paper .ticks li { color: #4c463d; }
.paper .ticks strong { color: var(--paper-ink); }

/* ---------- Ticker (speed follows scroll) ---------- */
.ticker { position: relative; overflow: hidden; padding-block: clamp(18px, 2.6vw, 30px); border-block: 1px solid var(--rule); white-space: nowrap; }
.ticker__track { display: inline-flex; gap: clamp(24px, 3vw, 48px); align-items: center; will-change: transform; }
.ticker__item { font-family: var(--sans); font-weight: 800; font-stretch: 118%; font-size: clamp(2.2rem, 6vw, 5.6rem); line-height: 1; letter-spacing: -.01em; text-transform: uppercase; }
.ticker__item--ghost { color: transparent; -webkit-text-stroke: 1px rgba(242, 238, 230, .45); }
.ticker__item--gold { color: var(--gold); }
.ticker__star { width: clamp(18px, 2vw, 30px); height: clamp(18px, 2vw, 30px); color: var(--red); flex: none; }

/* ---------- Media reveal & word rise ---------- */
html.js .rv { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
html.js .rv.in { opacity: 1; transform: none; }
html.js .rv-img { clip-path: inset(12% 0 12% 0 round var(--radius)); transition: clip-path 1.4s var(--ease-out); }
html.js .rv-img > img, html.js .rv-img > video { transform: scale(1.15); transition: transform 1.8s var(--ease-out); }
html.js .rv-img.in { clip-path: inset(0 0 0 0 round var(--radius)); }
html.js .rv-img.in > img, html.js .rv-img.in > video { transform: none; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * 55ms + var(--d, 0) * 90ms); }
[data-split].in .w > span { transform: none; }
/* scroll-filled statement: words go from dim to full as you read */
[data-fill] .w { transition: color .3s; color: rgba(22, 19, 15, .18); }
[data-fill] .w.on { color: var(--paper-ink); }
.ink-fill[data-fill] .w { color: rgba(242, 238, 230, .16); }
.ink-fill[data-fill] .w.on { color: var(--bone); }
[data-fill] em .w.on, [data-fill] .w.on em { color: var(--red); }

/* odometer digits */
.odo { display: inline-flex; overflow: hidden; height: 1em; line-height: 1; vertical-align: baseline; }
.odo__col { display: flex; flex-direction: column; transition: transform 2s var(--ease-out); }
.odo__col span { height: 1em; }

/* line-art draw */
html.js .draw path, html.js .draw line, html.js .draw circle, html.js .draw rect, html.js .draw polyline, html.js .draw ellipse { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease-io); transition-delay: calc(var(--d, 0) * 120ms); }
html.js .draw.in path, html.js .draw.in line, html.js .draw.in circle, html.js .draw.in rect, html.js .draw.in polyline, html.js .draw.in ellipse { stroke-dashoffset: 0; }

/* ---------- 3D bottle + fluid canvas hosts ---------- */
.bottle3d { position: relative; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.bottle3d.is-grabbing { cursor: grabbing; }
.bottle3d__fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .8s var(--ease-out); }
.bottle3d__canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity 1s var(--ease-out); }
.bottle3d.is-3d .bottle3d__canvas { opacity: 1; }
.bottle3d.is-3d .bottle3d__fallback { opacity: 0; }
.fluid { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: 0; transition: opacity 1.6s var(--ease-out); background: var(--ink); }
.fluid.is-live { opacity: 1; }
.fluid-still { position: absolute; inset: 0; z-index: -3; background: radial-gradient(70% 60% at 70% 40%, rgba(230, 173, 46, .16), transparent 60%), radial-gradient(50% 50% at 20% 80%, rgba(225, 38, 44, .12), transparent 60%), var(--ink); }

/* ---------- Preloader ---------- */
.preloader { display: none; }
html.is-loading { overflow: hidden; }
html.is-loading .preloader {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 900; background: var(--ink);
  clip-path: inset(0 0 0 0); transition: clip-path 1s var(--ease-io);
  animation: pre-failsafe 0s 4s forwards; /* never trap the page */
}
@keyframes pre-failsafe { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
html.is-loading .preloader.is-done { clip-path: inset(0 0 100% 0); }
.preloader__inner { display: grid; justify-items: center; gap: 22px; }
.preloader__mark { width: 120px; clip-path: inset(0 100% 0 0); animation: pre-mark 1s .1s var(--ease-out) forwards; }
@keyframes pre-mark { to { clip-path: inset(0 0 0 0); } }
.preloader__word { margin: 0; font-family: var(--sans); font-weight: 800; font-stretch: 118%; font-size: 15px; letter-spacing: .32em; color: var(--gold); }
.preloader__word span { display: inline-block; opacity: 0; transform: translateY(8px); animation: pre-letter .6s var(--ease-out) forwards; }
.preloader__word span:nth-child(n) { animation-delay: calc(.35s + var(--n, 0) * 40ms); }
@keyframes pre-letter { to { opacity: 1; transform: none; } }
.preloader__count { margin: 0; color: var(--mute); }

/* ---------- Grain, progress, cursor ---------- */
.grain { position: fixed; inset: -50%; z-index: 800; pointer-events: none; background: url("../img/grain.png"); opacity: .07; mix-blend-mode: overlay; animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 700; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--red)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.cursor { display: none; }
html.tier-2 .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 750; pointer-events: none; }
.cursor__dot { position: fixed; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--gold); transform: translate3d(var(--x, -100px), var(--y, -100px), 0); }
.cursor__ring {
  position: fixed; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(230, 173, 46, .92); color: var(--ink); transform: translate3d(var(--rx, -100px), var(--ry, -100px), 0) scale(0);
  transition: transform .45s var(--ease-out);
}
.cursor__ring b { font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; }
.cursor.is-drag .cursor__ring { transform: translate3d(var(--rx), var(--ry), 0) scale(1); }
.cursor.is-drag .cursor__dot { opacity: 0; }

/* ---------- Header ---------- */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 600; padding: 14px var(--inset) 0; pointer-events: none; transition: transform .6s var(--ease-out); }
.hdr__bar {
  pointer-events: auto; display: flex; align-items: center; gap: 24px; height: 62px; max-width: 1440px; margin: 0 auto; padding: 0 8px 0 18px;
  border-radius: 999px; border: 1px solid transparent; transition: background-color .5s, border-color .5s, backdrop-filter .5s;
}
.hdr.is-solid .hdr__bar { background: rgba(14, 14, 16, .72); border-color: var(--rule); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); }
.hdr.is-hidden { transform: translateY(-120%); }
.hdr__brand { display: flex; align-items: center; gap: 12px; flex: none; }
.hdr__brand img { width: 52px; }
.hdr__word { display: grid; line-height: 1; }
.hdr__word b { font-weight: 800; font-stretch: 125%; font-size: 21px; letter-spacing: .04em; }
.hdr__word small { margin-top: 5px; font-size: 9.5px; color: var(--mute); letter-spacing: .2em; }
.hdr__nav { margin-left: auto; }
.hdr__nav ul { display: flex; gap: 4px; }
.hdr__nav a { position: relative; display: block; height: 40px; line-height: 40px; padding: 0 12px; font-size: 14.5px; font-weight: 500; color: var(--mute-2); overflow: hidden; }
.hdr__nav a span { position: relative; display: block; transition: transform .5s var(--ease-out); }
.hdr__nav a span::after { content: attr(data-hover); position: absolute; left: 0; top: 100%; color: var(--bone); }
.hdr__nav a:hover span { transform: translateY(-100%); }
.hdr__nav a[aria-current="page"] { color: var(--bone); }
.hdr__nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--red); }
.hdr__cta { min-height: 48px; padding-left: 20px; font-size: 14px; }
.hdr__cta .pill__arrow { width: 36px; height: 36px; }
.hdr__menu { display: none; align-items: center; gap: 10px; height: 48px; padding: 0 18px 0 16px; margin-left: auto; border-radius: 999px; background: rgba(242, 238, 230, .08); border: 1px solid var(--rule); cursor: pointer; }
.hdr__menu-lines { position: relative; width: 18px; height: 8px; }
.hdr__menu-lines::before, .hdr__menu-lines::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .5s var(--ease-out), top .5s var(--ease-out); }
.hdr__menu-lines::before { top: 0; }
.hdr__menu-lines::after { top: 6.5px; }
html.menu-open .hdr__menu-lines::before { top: 3.2px; transform: rotate(45deg); }
html.menu-open .hdr__menu-lines::after { top: 3.2px; transform: rotate(-45deg); }

/* Full-screen menu */
.menu { position: fixed; inset: 0; z-index: 590; display: flex; flex-direction: column; justify-content: center; padding: 110px var(--gutter) 40px; background: rgba(10, 10, 11, .97); overflow-y: auto; }
.menu[hidden] { display: none; }
.menu__glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 85% 10%, rgba(225, 38, 44, .22), transparent 60%), radial-gradient(50% 40% at 0% 100%, rgba(230, 173, 46, .14), transparent 60%); }
.menu__nav li { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--i) * 45ms); }
html.menu-open .menu__nav li { opacity: 1; transform: none; }
.menu__nav a { display: flex; align-items: baseline; gap: 16px; padding: 6px 0; border-bottom: 1px solid var(--rule); }
.menu__nav .mono { color: var(--gold); min-width: 2.4em; }
.menu__t { font-family: var(--serif); font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 8vw, 3.4rem); line-height: 1.1; }
.menu__nav a[aria-current="page"] .menu__t { font-style: italic; color: var(--red); }
.menu__foot { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 32px; color: var(--mute-2); }
html.menu-open { overflow: hidden; }

/* ---------- Page hero (inner pages) ---------- */
.phero { position: relative; min-height: min(88vh, 860px); display: flex; align-items: flex-end; padding: calc(var(--hdr) + 80px) 0 clamp(40px, 6vw, 72px); }
.phero .frame { position: absolute; inset: 0; margin: var(--inset); }
.phero__content { position: relative; z-index: 1; width: 100%; }
.phero__crumbs { display: flex; gap: 10px; margin-bottom: 28px; color: var(--mute); }
.phero__crumbs a:hover { color: var(--bone); }
.phero__crumbs li + li::before { content: "/"; margin-right: 10px; opacity: .4; }
.phero h1 { max-width: 14ch; }
.phero__foot { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; margin-top: clamp(32px, 5vw, 56px); padding-top: 24px; border-top: 1px solid var(--rule); }
.phero__foot .lead { margin: 0; }
.phero__index { color: var(--mute); text-align: right; }

/* ---------- Big CTA band ---------- */
.cta-band { position: relative; padding: clamp(72px, 12vw, 160px) clamp(24px, 6vw, 96px); text-align: center; }
.cta-band .display { max-width: 16ch; margin: 0 auto 36px; }
.cta-band .pill-row { justify-content: center; }

/* ---------- Footer ---------- */
.ftr { position: relative; padding-top: clamp(80px, 12vw, 150px); border-top: 1px solid var(--rule); overflow: hidden; }
.ftr__top { display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 64px; }
.ftr__big { font-weight: 800; text-transform: uppercase; font-size: clamp(2.4rem, 4.6vw, 4.2rem); line-height: .95; letter-spacing: .005em; margin: 0 0 36px; max-width: 12ch; }
.ftr__big em { font-style: italic; color: var(--red); }
.ftr__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.ftr__h { color: var(--gold); margin-bottom: 20px; }
.ftr__cols ul { display: grid; gap: 10px; color: var(--mute-2); font-size: 15.5px; }
.ftr__cols a { transition: color .3s; }
.ftr__cols a:hover { color: var(--bone); }
.ftr__mark { margin-top: clamp(64px, 9vw, 120px); padding-inline: var(--inset); }
.ftr__word {
  display: block; text-align: center; white-space: nowrap;
  font-family: var(--sans); font-weight: 800; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(1.6rem, 7.3vw, 8.6rem); line-height: .8; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(242, 238, 230, .18);
  background: linear-gradient(90deg, var(--gold), var(--gold-2) 40%, var(--red) 100%) 0 0 / var(--fill, 0%) 100% no-repeat;
  -webkit-background-clip: text; background-clip: text;
}
.ftr__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 28px 34px; margin-top: 28px; border-top: 1px solid var(--rule); color: var(--mute); }
.ftr__base p { margin: 0; }

/* WhatsApp */
.wa { position: fixed; right: 18px; bottom: 18px; z-index: 500; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #1d8f4e; color: #fff; box-shadow: 0 14px 34px rgba(0, 0, 0, .45); transition: transform .4s var(--ease-out); }
.wa:hover { transform: scale(1.08); }
.wa .ic { width: 26px; height: 26px; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 8px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--rule-2); background: rgba(242, 238, 230, .04);
  color: var(--bone); font: inherit; font-size: 16px; transition: border-color .3s, background-color .3s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 24px) 52%, calc(100% - 18px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { background: var(--ink-2); color: var(--bone); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(242, 238, 230, .07); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .hdr__nav, .hdr__cta { display: none; }
  .hdr__menu { display: inline-flex; }
}
@media (max-width: 900px) {
  .head { grid-template-columns: 1fr; }
  .ftr__top { grid-template-columns: 1fr; gap: 56px; }
  .phero__foot { grid-template-columns: 1fr; }
  .phero__index { text-align: left; }
}
@media (max-width: 640px) {
  :root { --hdr: 64px; }
  body { font-size: 16px; }
  .hdr { padding-top: 10px; }
  .hdr__bar { height: 56px; padding-left: 12px; }
  .hdr__brand img { width: 44px; }
  .hdr__word b { font-size: 18px; }
  .ftr__cols { grid-template-columns: 1fr 1fr; }
  .ftr__cols > :last-child { grid-column: 1 / -1; }
  .pill { min-height: 50px; }
  .readout > div { grid-template-columns: 1fr; gap: 4px; }
  .wa { width: 50px; height: 50px; right: 12px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html.js .rv, html.js .rv-img, html.js .rv-img > img { opacity: 1; transform: none; clip-path: none; }
  [data-split] .w > span { transform: none; }
  .grain { animation: none; }
}
