/* ============================================================
   PHATT MUSIC CO — Design System
   Dark, premium, stage-aesthetic. Engineered-gear feel.
   Type: Archivo (display/body) + Space Mono (technical labels)
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
  /* Warm near-black neutral ramp */
  --bg:    oklch(0.145 0.004 60);
  --bg-1:  oklch(0.175 0.005 60);
  --bg-2:  oklch(0.205 0.006 60);
  --bg-3:  oklch(0.255 0.007 60);
  --fg:    oklch(0.965 0.004 85);
  --muted: oklch(0.70 0.006 75);
  --faint: oklch(0.52 0.006 70);
  --line:  oklch(1 0 0 / 0.10);
  --line-2:oklch(1 0 0 / 0.16);

  /* Accent — overridden per direction. Default: Blackout (warm silver) */
  --accent:      oklch(0.82 0.03 80);
  --accent-ink:  oklch(0.16 0.01 80);   /* text that sits on accent fills */
  --accent-soft: oklch(0.82 0.03 80 / 0.14);
  --accent-glow: oklch(0.82 0.03 80 / 0.35);

  /* Typography */
  --font-display: "Archivo Expanded", "Archivo", sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;
  --display-stretch: 100%;

  /* Rhythm */
  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(80px, 12vh, 180px);
  --radius: 14px;
  --radius-lg: 22px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* Direction palettes (set via data-direction on <html>) */
:root[data-direction="roadcase"] {
  --accent:      oklch(0.745 0.145 62);
  --accent-ink:  oklch(0.18 0.03 62);
  --accent-soft: oklch(0.745 0.145 62 / 0.15);
  --accent-glow: oklch(0.745 0.145 62 / 0.40);
}
:root[data-direction="signal"] {
  --accent:      oklch(0.80 0.155 168);
  --accent-ink:  oklch(0.17 0.03 168);
  --accent-soft: oklch(0.80 0.155 168 / 0.14);
  --accent-glow: oklch(0.80 0.155 168 / 0.38);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  font-size: 17px;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* Grain overlay (toggle via data-grain) */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9000;
  opacity: 0; transition: opacity .4s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
html[data-grain="on"] body::after { opacity: 0.045; }

/* ---------- LAYOUT ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-wide { max-width: 1600px; }
section { position: relative; }

/* ---------- TYPE ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--accent); opacity: .7;
}
.eyebrow.center::before { display: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: var(--display-stretch);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.display {
  font-size: clamp(44px, 8.2vw, 132px);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.025em;
}
.h2 { font-size: clamp(32px, 5vw, 68px); text-transform: uppercase; }
.h3 { font-size: clamp(22px, 2.6vw, 34px); }
.lead { font-size: clamp(17px, 1.5vw, 21px); color: var(--muted); line-height: 1.6; max-width: 56ch; text-wrap: pretty; }
.mono { font-family: var(--font-mono); }
.label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--faint);
}

/* ---------- BUTTONS ---------- */
.btn {
  --pad-y: 15px; --pad-x: 28px;
  display: inline-flex; align-items: center; gap: 12px;
  padding: var(--pad-y) var(--pad-x);
  font-family: var(--font-mono);
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: 100px;
  transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .4s;
  white-space: nowrap;
}
.btn .arr { transition: transform .4s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 0 var(--accent-glow); }
.btn-primary:hover { box-shadow: 0 12px 50px -8px var(--accent-glow); transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--fg); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-lg { --pad-y: 19px; --pad-x: 36px; font-size: 14px; }

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  transition: background .4s var(--ease), backdrop-filter .4s, border-color .4s, padding .4s;
  border-bottom: 1px solid transparent;
}
.nav[data-scrolled="true"] {
  background: oklch(0.145 0.004 60 / 0.72);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--line);
  padding-top: 12px; padding-bottom: 12px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo .mark {
  font-family: var(--font-display); font-weight: 900; font-stretch: 125%;
  font-size: 19px; letter-spacing: 0.02em; text-transform: uppercase;
}
.nav-logo .mark b { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); transition: color .25s; position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0;
  background: var(--accent); transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--fg); }
.nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-burger span { width: 22px; height: 2px; background: var(--fg); transition: .3s; }

/* ---------- HERO ---------- */
.hero { min-height: 100svh; display: flex; align-items: flex-end; position: relative; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--bg) 2%, transparent 42%),
    linear-gradient(to right, oklch(0.145 0.004 60 / 0.78), transparent 60%),
    radial-gradient(120% 90% at 80% 0%, transparent, oklch(0.145 0.004 60 / 0.55));
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(48px, 9vh, 120px); }
.hero h1 { margin: 18px 0 0; }
.hero .lead { margin-top: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-scroll {
  position: absolute; left: var(--gutter); bottom: 26px; z-index: 2;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--faint); display: flex; align-items: center; gap: 10px;
}
.hero-scroll .bar { width: 1px; height: 34px; background: linear-gradient(var(--accent), transparent); animation: scrollpulse 2.4s var(--ease-in-out) infinite; }
@keyframes scrollpulse { 0%,100%{ opacity:.3; transform: scaleY(.6); } 50%{ opacity:1; transform: scaleY(1);} }
.hero-spec {
  position: absolute; right: var(--gutter); bottom: 30px; z-index: 2;
  display: flex; gap: 30px; text-align: right;
}
.hero-spec .s { font-family: var(--font-mono); }
.hero-spec .s b { display: block; font-size: 26px; color: var(--fg); font-weight: 700; }
.hero-spec .s span { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); }

/* ---------- MARQUEE ---------- */
.marquee { border-block: 1px solid var(--line); padding: 16px 0; overflow: hidden; background: var(--bg-1); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); display: inline-flex; gap: 56px; align-items: center; }
.marquee span::after { content: "✦"; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- SECTION HELPERS ---------- */
.section { padding-block: var(--section-y); }
.section-head { display: flex; flex-direction: column; gap: 22px; max-width: 60ch; }
.section-head.wide { max-width: 80ch; }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"]{ transition-delay: .08s; }
.reveal[data-d="2"]{ transition-delay: .16s; }
.reveal[data-d="3"]{ transition-delay: .24s; }
.reveal[data-d="4"]{ transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- INTRO / MANIFESTO ---------- */
.intro { text-align: center; padding-block: var(--section-y); }
.intro .eyebrow { justify-content: center; }
.intro h2 { margin: 24px auto 0; max-width: 16ch; }
.intro .accent { color: var(--accent); }
.intro-board { margin-top: clamp(40px, 6vw, 90px); position: relative; }
.intro-board img { width: 100%; max-width: 1100px; margin-inline: auto; filter: drop-shadow(0 60px 80px oklch(0 0 0 / 0.6)); }
.intro-board .glow {
  position: absolute; inset: 12% 10% auto; height: 60%; z-index: -1;
  background: radial-gradient(60% 80% at 50% 40%, var(--accent-glow), transparent 70%);
  filter: blur(60px); opacity: .5;
}

/* ---------- FEATURE STORY (condensed) ---------- */
.feature-compact { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "head head" "visual steps"; gap: 24px 40px; align-items: center; padding-block: 60px 80px; }
.fc-head { grid-area: head; }
.fc-visual .frame {
  grid-area: visual;
  position: relative; width: 100%; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-1);
  aspect-ratio: 4 / 3;
}
.fc-visual .frame video, .fc-visual .frame img { width: 100%; height: 100%; display: block; object-fit: cover; }
.feature-visual { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: transparent; opacity: 0; transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1); }
.feature-visual.active { opacity: 1; }
.fc-visual .tag { position: absolute; top: 16px; left: 16px; }
.chip {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 100px; background: oklch(0 0 0 / 0.5); backdrop-filter: blur(6px);
  border: 1px solid var(--line-2); color: var(--fg); white-space: nowrap;
}
.fc-steps { grid-area: steps; display: flex; flex-direction: column; }
.fc-progress { height: 1px; background: var(--line); overflow: hidden; }
.fc-progress span { display: block; height: 100%; width: 0%; background: var(--accent); }
.fc-progress span.animate { width: 100%; }
.fc-step { display: flex; align-items: flex-start; gap: 18px; text-align: left; width: 100%; padding: 20px 4px; cursor: pointer; transition: opacity .25s; background: none; }
.fc-set .fc-step:not(:first-child) { border-top: 1px solid var(--line); }
.fc-steps .fc-step:last-child { border-bottom: 1px solid var(--line); }
.fc-step .num { font-family: var(--font-mono); font-size: 13px; color: var(--faint); letter-spacing: 0.1em; padding-top: 2px; }
.fc-step.active .num { color: var(--accent); }
.fc-txt { display: flex; flex-direction: column; gap: 6px; }
.fc-txt b { font-size: 18px; text-transform: uppercase; letter-spacing: 0.01em; }
.fc-txt span { color: var(--muted); font-size: 14.5px; max-width: 46ch; text-wrap: pretty; }
.fc-step:not(.active) { opacity: 0.55; }
.fc-step:hover { opacity: 1; }


/* ---------- FEATURE CARDS ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px;
  background: linear-gradient(160deg, var(--bg-1), var(--bg)); position: relative; overflow: hidden;
  transition: border-color .4s, transform .4s var(--ease);
}
.card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.card .idx { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--accent); text-transform: uppercase; }
.card h3 { font-size: 22px; margin: 14px 0 10px; text-transform: uppercase; font-stretch: 100%; }
.card p { color: var(--muted); font-size: 15.5px; }

/* ---------- SERIES TOGGLE (shared) ---------- */
.series-toggle { display: inline-flex; padding: 4px; gap: 2px; background: var(--bg-1); border: 1px solid var(--line); border-radius: 100px; }
.series-toggle button { padding: 10px 22px; border-radius: 100px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); transition: color .25s, background .25s; }
.series-toggle button:hover { color: var(--fg); }
.series-toggle button[aria-pressed="true"] { background: var(--bg-3); color: var(--accent); }

/* ---------- SIZE LINEUP (interactive selector) ---------- */
.lineup { display: grid; grid-template-columns: 360px 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.size-list { display: flex; flex-direction: column; gap: 4px; }
.size-row {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  padding: 22px 18px; border-radius: var(--radius); text-align: left; width: 100%;
  border: 1px solid transparent; transition: background .3s, border-color .3s;
}
.size-row:hover { background: var(--bg-1); }
.size-row[aria-selected="true"] { background: var(--bg-1); border-color: var(--line-2); }
.size-row .code { font-family: var(--font-display); font-weight: 800; font-size: 22px; font-stretch: 100%; }
.size-row .meta { font-family: var(--font-mono); font-size: 11px; color: var(--faint); letter-spacing: 0.1em; }
.size-row .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); transition: .3s; }
.size-row[aria-selected="true"] .dot { background: var(--accent); box-shadow: 0 0 12px var(--accent-glow); }
.size-stage { position: relative; min-height: 460px; display: flex; flex-direction: column; }
.size-viz { flex: 1; display: grid; place-items: center; position: relative; }
.size-viz img { position: absolute; max-width: 92%; max-height: 380px; object-fit: contain; opacity: 0; transform: scale(.96) translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); filter: drop-shadow(0 40px 60px oklch(0 0 0 / 0.6)); }
.size-viz img.active { opacity: 1; transform: none; }
.size-viz-slot { position: absolute; width: 78%; max-width: 420px; aspect-ratio: 4/3; opacity: 0; transform: scale(.96) translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; }
.size-viz-slot.active { opacity: 1; transform: none; pointer-events: auto; }
.size-viz .halo { position: absolute; width: 70%; height: 50%; background: radial-gradient(circle, var(--accent-glow), transparent 70%); filter: blur(50px); opacity: .4; }
.size-specs { display: flex; flex-wrap: wrap; gap: 20px 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.size-specs .sp b { font-family: var(--font-display); font-weight: 800; font-stretch: 100%; font-size: 28px; display: block; }
.size-specs .sp span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); display: block; }
/* Core reports its I/O here instead of expression slots — a phrase, not a
   number, so it steps down to stay on one line beside the dimensions. */
.size-specs .sp[data-wide="true"] b { font-size: 19px; letter-spacing: 0; white-space: nowrap; }
/* Two font sizes in one row would otherwise sit on different baselines, taking
   their labels with them. Lift the values into one grid row and the labels into
   another: `align-self: baseline` then aligns the values to a shared baseline,
   and the labels line up because they share a row. Narrow screens keep the flex
   fallback above, where each spec wraps as a self-contained block. */
@media (min-width: 721px) {
  .size-specs { display: grid; grid-template-columns: repeat(3, max-content); column-gap: 40px; row-gap: 8px; }
  .size-specs .sp { display: contents; }
  .size-specs .sp b { grid-row: 1; align-self: baseline; }
  .size-specs .sp span { grid-row: 2; }
}

/* ---------- VS COMPARISON ---------- */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vs-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 3vw, 48px);
  position: relative; overflow: hidden; min-height: 520px; display: flex; flex-direction: column;
}
.vs-card.touring { background: linear-gradient(165deg, var(--bg-2), var(--bg)); }
.vs-card.touring { border-color: var(--accent-soft); }
.vs-card .kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
.vs-card h3 { font-size: clamp(30px, 3.4vw, 48px); text-transform: uppercase; margin: 14px 0 8px; }
.vs-card .sub { color: var(--muted); margin-bottom: 28px; }
.vs-viz { position: relative; border-radius: var(--radius); overflow: hidden; margin-bottom: 26px; aspect-ratio: 16 / 11; }
.vs-card .vs-viz > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: 100%; object-fit: contain; }
.vs-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.vs-list li { list-style: none; display: flex; gap: 12px; align-items: baseline; color: var(--muted); font-size: 15px; }
.vs-list li::before { content: ""; width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--accent); transform: translateY(-2px); }
.vs-card > .chip { position: absolute; top: 22px; right: 22px; }

/* ---------- BAGS ---------- */
.bags { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.bags-viz { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 5/4; }
/* Studio sweep behind the cut-out bag: pool of light, floor line, contact shadow. */
.bag-stage {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  background:
    radial-gradient(75% 55% at 50% 38%, oklch(0.34 0.006 70) 0%, oklch(0.225 0.005 65) 55%, oklch(0.155 0.004 60) 100%);
}
.bag-stage::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%;
  background: linear-gradient(to bottom, transparent, oklch(0.12 0.004 55 / 0.85));
}
.bag-stage::after {
  content: ""; position: absolute; left: 50%; bottom: 12%; transform: translateX(-50%);
  width: 62%; height: 5%; border-radius: 50%;
  background: radial-gradient(closest-side, oklch(0.08 0 0 / 0.7), transparent 100%);
  filter: blur(6px);
}
.bag-stage img {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 78%; height: auto; z-index: 1;
  filter: drop-shadow(0 26px 34px oklch(0.08 0 0 / 0.55));
}
.bags-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.bags-feat { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.bags-feat .label { display: block; margin-bottom: 8px; }
.bags-feat p { color: var(--muted); font-size: 14px; }

/* ---------- CONFIGURATOR TEASER ---------- */
.config { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(160deg, var(--bg-1), var(--bg)); }
.config-grid { display: grid; grid-template-columns: 1.15fr 1fr; }
.config-canvas { position: relative; min-height: 480px; display: grid; place-items: center; padding: 40px; background: radial-gradient(80% 80% at 50% 30%, var(--bg-2), var(--bg)); border-right: 1px solid var(--line); overflow: hidden; }
.config-canvas img { max-width: 86%; max-height: 360px; object-fit: contain; filter: drop-shadow(0 40px 60px oklch(0 0 0 / 0.55)); transition: opacity .4s, transform .5s var(--ease); }
.config-canvas .halo { position: absolute; width: 60%; height: 50%; background: radial-gradient(circle, var(--accent-glow), transparent 70%); filter: blur(60px); opacity: .35; }
.config-readout { position: absolute; left: 28px; bottom: 24px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--faint); text-transform: uppercase; }
.config-readout b { color: var(--accent); }
.config-panel { padding: clamp(28px, 3vw, 46px); display: flex; flex-direction: column; gap: 26px; }
.config-group .label { display: block; margin-bottom: 12px; }
.opt-row { display: flex; gap: 10px; flex-wrap: wrap; }
.opt {
  padding: 11px 18px; border: 1px solid var(--line-2); border-radius: 100px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); transition: .25s; white-space: nowrap;
}
.opt:hover { border-color: var(--accent); color: var(--fg); }
.opt[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.config-summary { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.config-summary .price b { font-family: var(--font-display); font-weight: 800; font-stretch: 100%; font-size: 30px; }
.config-summary .price span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); display:block; }

/* ---------- MADE IN MELBOURNE ---------- */
.craft { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.craft-photo { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.craft-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.craft-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.craft-stat { background: var(--bg); padding: 28px; }
.craft-stat b { font-family: var(--font-display); font-weight: 800; font-stretch: 100%; font-size: clamp(30px, 4vw, 52px); display: block; line-height: 1; }
.craft-stat span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin-top: 10px; display: block; }

/* ---------- PLACEHOLDER IMAGERY ---------- */
.ph {
  width: 100%; height: 100%; min-height: 200px; position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, oklch(1 0 0 / 0.025) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, var(--bg-2), var(--bg-1));
  display: grid; place-items: center;
}
.ph span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); border: 1px solid var(--line-2); padding: 8px 14px; border-radius: 100px; white-space: nowrap; }

/* ---------- CTA BAND ---------- */
.cta-band { text-align: center; padding-block: clamp(90px, 14vh, 200px); position: relative; overflow: hidden; }
.cta-band .glow { position: absolute; inset: auto 0 -40% 0; height: 90%; background: radial-gradient(50% 60% at 50% 100%, var(--accent-glow), transparent 70%); filter: blur(40px); opacity: .5; }
.cta-band h2 { margin-bottom: 30px; }

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 70px 40px; background: var(--bg-1); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer .mark { font-family: var(--font-display); font-weight: 900; font-stretch: 125%; font-size: 26px; text-transform: uppercase; }
.footer .mark b { color: var(--accent); }
.footer-tagline { color: var(--muted); margin-top: 16px; max-width: 30ch; font-size: 15px; }
.footer-col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; font-weight: 400; }
.footer-col a { display: block; color: var(--muted); font-size: 15px; padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 60px; padding-top: 28px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); flex-wrap: wrap; gap: 16px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .feature-compact { grid-template-columns: 1fr; grid-template-areas: "head" "visual" "steps"; }
  .cards { grid-template-columns: 1fr; }
  .lineup { grid-template-columns: 1fr; }
  .versus { grid-template-columns: 1fr; }
  .bags { grid-template-columns: 1fr; }
  .config-grid { grid-template-columns: 1fr; }
  .config-canvas { border-right: none; border-bottom: 1px solid var(--line); min-height: 360px; }
  .craft { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .hero-spec { display: none; }
  .bags-feats { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .craft-stats { grid-template-columns: 1fr 1fr; }
  /* The nav pill has to share a 335px bar with the logo and the burger. Trim it
     to "Build Board" at a smaller size so all three sit apart instead of edge
     to edge — the full label is still one tap away in the mobile menu. */
  .nav-right { gap: 12px; }
  .nav .btn { --pad-y: 11px; --pad-x: 16px; font-size: 11px; letter-spacing: 0.1em; gap: 8px; }
  .nav .btn .btn-trim { display: none; }
  /* "Open Full Builder" can't shrink (nowrap), and as a flex sibling of the
     price it was setting a min-content width wider than the screen, dragging the
     whole configurator past the viewport. Give it its own line instead. */
  .config-summary { flex-wrap: wrap; }
  .config-summary .btn { flex: 1 1 100%; justify-content: center; }
  body { font-size: 16px; }
}

/* ---------- LOGO IMAGES ---------- */
.nav-logo-img {
  height: 42px;
  width: auto;
  display: block;
}
.footer-logo-img {
  height: 58px;
  width: auto;
  display: block;
  margin-bottom: 22px;
}
.hero-brand {
  height: clamp(46px, 5.5vw, 70px);
  width: auto;
  display: block;
  margin-bottom: 34px;
}
.cta-logo-watermark {
  position: absolute;
  height: clamp(280px, 44vw, 620px);
  width: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}
.mobile-logo-img {
  position: absolute;
  top: 24px;
  left: var(--gutter);
  height: 40px;
  width: auto;
  display: block;
}

/* ---------- MOBILE MENU ---------- */
.mobile-menu { position: fixed; inset: 0; z-index: 1500; background: var(--bg); display: flex; flex-direction: column; padding: 90px var(--gutter) 40px; transform: translateY(-100%); transition: transform .5s var(--ease); }
.mobile-menu[data-open="true"] { transform: none; }
.mobile-menu a { font-family: var(--font-display); font-weight: 800; font-size: 34px; text-transform: uppercase; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mobile-close { position: absolute; top: 22px; right: var(--gutter); font-family: var(--font-mono); font-size: 13px; letter-spacing: .1em; }
