/* JUICED REBEL — base + typography */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--charcoal);
  color: var(--on-dark);
  font-family: var(--font-display);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, dl { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--acid); outline-offset: 4px; }
.on-light :focus-visible { outline-color: var(--charcoal); }
::selection { background: var(--acid); color: var(--charcoal); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 12px 18px; background: var(--acid); color: var(--charcoal);
  font-weight: 800; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
}
.skip-link:focus { top: 12px; }

[hidden] { display: none !important; }

/* — Surfaces — */
.surface-dark { background: var(--charcoal); color: var(--on-dark); }
.surface-stone { background: var(--stone); color: var(--on-light); }
.surface-paper { background: var(--paper); color: var(--on-light); }
.surface-acid { background: var(--acid); color: var(--charcoal); }
.surface-pink { background: var(--pink); color: var(--charcoal); }
.on-light { color: var(--on-light); }

.wrap { width: min(100%, var(--container)); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }

/* — Type: display — */
.t-mega, .t-h1, .t-h2 {
  font-weight: 900;
  text-transform: uppercase;
}
.t-mega { font-size: var(--fs-mega); letter-spacing: var(--track-mega); line-height: .8; }
.t-h1 { font-size: var(--fs-h1); letter-spacing: var(--track-head); line-height: .92; }
.t-h2 { font-size: var(--fs-h2); letter-spacing: var(--track-head); line-height: .95; }
.t-h3 { font-size: var(--fs-h3); font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.t-block { display: block; }

/* — Outline display (the "hollow ORDINARY" device) — */
.outline {
  color: transparent;
  -webkit-text-stroke: max(1.5px, .018em) var(--pink);
  paint-order: stroke fill;
  text-transform: uppercase;
}

/* — Type: small — */
.t-label {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: var(--track-label);
  line-height: 1.5;
  text-transform: uppercase;
}
.t-label--wide { letter-spacing: var(--track-label-wide); }
.t-body { font-size: var(--fs-body); font-weight: 500; line-height: 1.7; max-width: 52ch; }
.t-lead { font-size: clamp(1.05rem, 1.6vw, 1.4rem); font-weight: 700; line-height: 1.45; max-width: 36ch; }
.t-small { font-size: var(--fs-small); line-height: 1.6; }
.t-dim { color: var(--on-dark-dim); }
.on-light .t-dim, .surface-stone .t-dim, .surface-paper .t-dim { color: var(--on-light-dim); }
.t-acid { color: var(--acid); }
.t-pink { color: var(--pink); }
.t-price { font-weight: 900; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: var(--fs-label); font-weight: 700; letter-spacing: var(--track-label-wide);
  text-transform: uppercase; color: var(--acid);
}
.eyebrow::before { content: ""; width: 42px; height: 1px; background: currentColor; flex: none; }
.on-light .eyebrow, .surface-stone .eyebrow, .surface-paper .eyebrow { color: var(--charcoal); }

.rule { border: 0; border-top: 1px solid var(--hair-dark); margin: 0; }
.on-light .rule, .surface-stone .rule, .surface-paper .rule { border-top-color: var(--hair-light); }

/* — Reveal motion (JS adds .is-in) — */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .mask-line { overflow: hidden; padding-block: .07em; margin-block: -.07em; }
.js .mask-line > span { display: block; transform: translateY(105%); transition: transform var(--t-slow) var(--ease); }
.js .is-in .mask-line > span, .js .mask-line.is-in > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .mask-line > span { opacity: 1; transform: none; transition: none; }
}
