/* =========================================================
   AURA — Wear the Future
   Aesthetic: editorial-luxury × Apple minimalism.
   Light, airy, high-contrast Bodoni display + Hanken Grotesk UI.
   ========================================================= */

:root {
  /* --- Palette (light, gallery-white) --- */
  --bg:            #FBFBF9;   /* warm off-white, not clinical */
  --bg-elev:       #FFFFFF;
  --bg-secondary:  #F2F1ED;
  --ink:           #131310;   /* near-black, warm */
  --ink-soft:      #6B6A63;   /* muted body */
  --line:          #E3E1DA;
  --accent-warm:   #C8A24B;   /* golden — echoes the cinematic warm-up */

  /* --- Type --- */
  --font-display: 'Bodoni Moda', 'Times New Roman', serif;
  --font-ui:      'Hanken Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;

  --fs-hero:    clamp(56px, 13vw, 200px);
  --fs-display: clamp(36px, 7vw, 92px);
  --fs-section: clamp(30px, 4.5vw, 60px);
  --fs-lead:    clamp(20px, 2.6vw, 30px);
  --fs-body:    17px;

  /* --- Motion --- */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  --maxw: 1240px;
  --radius: 14px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video, canvas { display: block; max-width: 100%; }
em { font-style: italic; }
::selection { background: var(--ink); color: var(--bg); }

/* --- Film grain (atmosphere, very subtle) --- */
.grain {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: 0.035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 56px);
  transition: background 0.4s var(--ease-soft), backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(251, 251, 249, 0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--line);
}
.nav__brand {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 0.32em;
  padding-left: 0.32em; /* optical balance for tracking */
}
.nav__links {
  display: flex; gap: clamp(20px, 3vw, 44px);
  font-size: 14px; font-weight: 500; letter-spacing: 0.02em;
}
.nav__links a { color: var(--ink-soft); transition: color 0.25s; }
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 10px 22px; border: 1px solid var(--ink); border-radius: 100px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.nav__cta:hover { background: var(--ink); color: var(--bg); }
@media (max-width: 720px) { .nav__links { display: none; } }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  height: 600vh;            /* scroll runway — longer so the reveal happens late */
  background: var(--bg);
}
.hero__stage {
  position: sticky; top: 0;
  height: 100vh; width: 100%;
  overflow: hidden;
  display: grid; place-items: center;
}
.hero__canvas,
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__mobile { display: none; }

/* --- Overlay blocks --- */
.hero__overlay {
  position: relative; z-index: 5;
  width: min(92vw, var(--maxw));
  text-align: center;
}
.hero__block {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  opacity: 0;                 /* GSAP drives opacity/translate */
  will-change: opacity, transform;
}

.hero__wordmark {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-hero);
  letter-spacing: 0.18em;
  line-height: 0.9;
  padding-left: 0.18em;
}
.hero__tagline {
  margin-top: 0.6em;
  font-size: var(--fs-lead);
  font-weight: 300;
  letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--ink-soft);
  padding-left: 0.42em;
}
.hero__eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--accent-warm); margin-bottom: 0.9em;
}
.hero__line, .hero__feature {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-display);
  line-height: 1.08;
}
.hero__feature em { color: var(--ink-soft); }
.hero__price {
  font-family: var(--font-display);
  font-size: clamp(64px, 11vw, 150px);
  font-weight: 400; line-height: 1;
}
.hero__proof {
  margin-top: 0.8em; font-size: 15px; letter-spacing: 0.04em; color: var(--ink-soft);
}
.hero__proof span { color: var(--ink); font-weight: 600; }
.hero__cta-label {
  font-size: 13px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 1.6em;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-size: 15px; font-weight: 600; letter-spacing: 0.06em;
  padding: 17px 44px; border-radius: 100px;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.btn--primary {
  background: var(--ink); color: var(--bg);
  box-shadow: 0 10px 30px -12px rgba(19,19,16,0.5);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -14px rgba(19,19,16,0.55); }

/* --- Scroll hint --- */
.hero__hint {
  position: absolute; bottom: 38px; left: 50%; transform: translateX(-50%);
  z-index: 6; display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--ink-soft);
  transition: opacity 0.5s var(--ease-soft);
}
.hero__hint.is-hidden { opacity: 0; }
.hero__hint-line {
  width: 1px; height: 46px;
  background: linear-gradient(var(--ink-soft), transparent);
  animation: hintPulse 2.2s var(--ease-soft) infinite;
}
@keyframes hintPulse {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* --- Progress bar --- */
.hero__progress {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 6;
  height: 2px; background: var(--line);
}
.hero__progress i {
  display: block; height: 100%; width: 0%;
  background: var(--ink);
}

/* =========================================================
   SEASONS — category bands (Winter / Summer)
   Full-width stacked clips (loop), own CTA, hover zoom + neighbour-dim.
   Dark, continues the mood from the hero before the light sections below.
   ========================================================= */
.seasons { background: var(--hero-bg); position: relative; }
.season {
  position: relative; display: block;
  height: 100vh; min-height: 520px;   /* near-16:9 → horizontal clips barely crop */
  overflow: hidden;
  color: var(--hero-ink);
}
.season + .season { border-top: 1px solid rgba(255,255,255,0.06); }

/* ---- Reveal: Winter (first band) rises from below and covers the pinned hero.
   The hero__stage is sticky; pulling #seasons up by one viewport makes the
   first band slide over it as you finish the hero scroll. Desktop only. ---- */
@media (min-width: 721px) {
  .seasons {
    margin-top: -100vh;     /* overlap exactly one hero screen */
    z-index: 10;            /* paint above the pinned hero */
    box-shadow: 0 -50px 90px -28px rgba(0,0,0,0.75); /* shadow cast on hero while rising */
  }
}

.season__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.6s var(--ease-soft);
  will-change: transform, filter;
}
/* legibility scrim for the bottom-left copy */
.season::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to top, rgba(5,7,12,0.78) 0%, rgba(5,7,12,0.15) 42%, rgba(5,7,12,0) 70%),
    linear-gradient(to right, rgba(5,7,12,0.45) 0%, rgba(5,7,12,0) 55%);
  transition: background 0.6s var(--ease-soft);
}

.season__content {
  position: absolute; z-index: 2; left: 0; bottom: 0;
  padding: clamp(34px, 6vw, 84px);
  text-shadow: 0 2px 18px rgba(0,0,0,0.5);
}
.season__kicker {
  font-size: 13px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ice); margin-bottom: 0.7em;
}
.season__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(48px, 8vw, 116px); line-height: 0.95;
}
.season__line {
  margin-top: 0.4em; font-size: var(--fs-lead); font-weight: 300;
  color: rgba(244,247,251,0.82);
}
.season__cta {
  display: inline-flex; align-items: center; gap: 0.6em;
  margin-top: 1.5em;
  font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 14px 30px; border: 1px solid rgba(244,247,251,0.55); border-radius: 100px;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s, gap 0.35s var(--ease);
}
.season__cta span { transition: transform 0.35s var(--ease); }
.season:hover .season__cta {
  background: var(--hero-ink); color: #0A0D14; border-color: var(--hero-ink);
}
.season:hover .season__cta span { transform: translateX(4px); }

/* Desktop: hovered band zooms + brightens, the other dims (the "selected wins" feel) */
@media (hover: hover) and (min-width: 721px) {
  .season:hover .season__video { transform: scale(1.05); filter: brightness(1.06); }
  .seasons:has(.season:hover) .season:not(:hover) .season__video {
    filter: brightness(0.45) saturate(0.85);
  }
}

@media (max-width: 720px) {
  /* no reveal on phones — bands simply stack (margin-top stays 0) */
  .season { height: 78vh; }
  .season__content { padding: 28px 22px; }
}

/* =========================================================
   CATALOG — Winter / Summer lines (clean 3-up grid)
   Light gallery section (contrast to the dark hero/seasons).
   Large vertical editorial cards; seasonal accent (ice / sun).
   ========================================================= */
:root { --sun: #E08A3C; }

.catalog {
  background: var(--bg); color: var(--ink);
  padding: clamp(72px, 11vh, 140px) 0;
}
.lineup + .lineup { margin-top: clamp(70px, 10vh, 130px); }
.lineup__head {
  max-width: var(--maxw); margin: 0 auto clamp(30px, 5vh, 56px);
  padding: 0 clamp(20px, 5vw, 56px); text-align: center;
}

.lineup__grid {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 56px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.6vw, 26px);
}

.card {
  position: relative; overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  background: var(--bg-secondary);
  color: #fff;
  display: block;
}
.card__media, .card__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.card__media img { transition: transform 0.8s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }

/* branded placeholder for lines without a real photo yet */
.card__media--placeholder {
  display: grid; place-items: center;
  background:
    radial-gradient(120% 90% at 50% 18%, rgba(255,255,255,0.10), rgba(0,0,0,0) 60%),
    linear-gradient(160deg, #2A2E37 0%, #14171D 100%);
}
.lineup[data-season="summer"] .card__media--placeholder {
  background:
    radial-gradient(120% 90% at 50% 18%, rgba(255,255,255,0.10), rgba(0,0,0,0) 60%),
    linear-gradient(160deg, #3A2C22 0%, #18120D 100%);
}
.card__media--placeholder span {
  font-family: var(--font-display); font-size: clamp(34px, 4vw, 60px);
  color: rgba(255,255,255,0.16); letter-spacing: 0.06em;
}

.card::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(10,12,18,0.80) 0%, rgba(10,12,18,0.12) 50%, rgba(10,12,18,0) 76%);
}
.card__index {
  position: absolute; z-index: 2; top: clamp(16px, 1.6vw, 24px); left: clamp(18px, 1.8vw, 28px);
  font-size: 12px; font-weight: 600; letter-spacing: 0.2em; color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.card__overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(22px, 2vw, 34px);
  text-shadow: 0 2px 18px rgba(0,0,0,0.55);
}
.card__cat {
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: 0.5em; color: var(--ice);
}
.lineup[data-season="summer"] .card__cat { color: var(--sun); }
.card__name {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(34px, 3.2vw, 52px); line-height: 0.95;
}
.card__cta {
  margin-top: 1.1em; display: inline-flex; align-items: center; gap: 0.5em;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  opacity: 0.92; transition: gap 0.3s var(--ease);
}
.card:hover .card__cta { gap: 0.85em; }

@media (max-width: 980px) {
  .lineup__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .lineup__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   SECTIONS (stubs for v1)
   ========================================================= */
.section {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(90px, 14vh, 180px) clamp(20px, 5vw, 56px);
  text-align: center;
}
.section--stub { min-height: 70vh; display: grid; place-content: center; gap: 18px; }
.section__kicker {
  font-size: 13px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--accent-warm);
}
.section__title { font-family: var(--font-display); font-size: var(--fs-section); font-weight: 400; }
.section__note { color: var(--ink-soft); }

/* =========================================================
   WHY AURA — stats infographic + value pillars
   Light gallery section. Big Bodoni numbers in a ruled grid,
   golden suffixes, then three value pillars. Count-up + reveal
   on scroll are driven by main.js (initWhy).
   ========================================================= */
.why {
  background: var(--bg); color: var(--ink);
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(80px, 13vh, 160px) clamp(20px, 5vw, 56px);
}
.why__head { text-align: center; max-width: 760px; margin: 0 auto; }
.why__lead {
  margin-top: 1.1em; font-size: var(--fs-lead); font-weight: 300;
  color: var(--ink-soft); line-height: 1.45;
}

/* --- big animated numbers (ruled grid) --- */
.stats {
  list-style: none;
  margin: clamp(48px, 8vh, 96px) 0 clamp(60px, 10vh, 110px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.stat {
  text-align: center;
  padding: clamp(34px, 5vw, 56px) clamp(12px, 2vw, 28px);
  border-bottom: 1px solid var(--line);
}
.stat + .stat { border-left: 1px solid var(--line); }
.stat__num {
  display: block;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(46px, 6vw, 86px); line-height: 1; letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}
.stat__num .sfx { color: var(--accent-warm); }
.stat__label {
  display: block; margin-top: 0.95em;
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-soft);
}

/* --- value pillars --- */
.pillars {
  list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 64px);
}
.pillar__mark {
  display: inline-block; font-size: 24px; line-height: 1;
  color: var(--accent-warm); margin-bottom: 0.7em;
}
.pillar__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 0.5em;
}
.pillar__text { color: var(--ink-soft); font-size: 16px; line-height: 1.6; max-width: 36ch; }

/* --- reveal-on-scroll (added by main.js) --- */
.why [data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.why [data-reveal].is-in { opacity: 1; transform: none; }

@media (max-width: 820px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd) { border-left: none; }
  .pillars { grid-template-columns: 1fr; gap: 38px; text-align: center; }
  .pillar__text { max-width: 46ch; margin: 0 auto; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .why [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  border-top: 1px solid var(--line);
  padding: clamp(50px, 8vh, 90px) clamp(20px, 5vw, 56px);
  text-align: center; display: grid; gap: 14px;
}
.footer__brand {
  font-family: var(--font-display); font-size: 28px; letter-spacing: 0.3em; padding-left: 0.3em;
}
.footer__copy { font-size: 13px; color: var(--ink-soft); letter-spacing: 0.04em; }

/* =========================================================
   MOBILE — no scroll-scrub; static hero (perf)
   ========================================================= */
@media (max-width: 720px) {
  .hero { height: 100vh; }
  .hero__stage { position: relative; }
  .hero__canvas { display: none; }
  .hero__mobile {
    display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    background: var(--bg-secondary); /* shows if image missing */
  }
  .hero__overlay { position: relative; z-index: 5; padding: 0 24px; }
  .hero__block {
    position: static; transform: none; opacity: 1 !important;
    display: none;
  }
  .hero__block:first-child { display: block; } /* show wordmark block only */
  .hero__progress, .hero__hint { display: none; }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__hint-line { animation: none; }
}

/* =========================================================
   HERO — dark footage (sneakers clip) legibility overlay
   Scoped to .hero only — the rest of the site stays light.
   Light text + a soft scrim so copy reads over the dark frames,
   and an icy-blue accent to echo the sneaker's glow.
   ========================================================= */
:root { --ice: #7FB6FF; --hero-ink: #F4F7FB; --hero-bg: #05070C; }

.hero { background: var(--hero-bg); }

/* Scrim: central text-lens (dims the bright middle just enough for copy) +
   edge vignette + top/bottom bands. Keeps the sneaker vivid, text readable. */
.hero__stage::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(58% 40% at 50% 50%, rgba(5,7,12,0.52) 0%, rgba(5,7,12,0) 72%),
    radial-gradient(120% 85% at 50% 46%, rgba(5,7,12,0) 36%, rgba(5,7,12,0.55) 100%),
    linear-gradient(to bottom,
      rgba(5,7,12,0.50) 0%, rgba(5,7,12,0) 26%,
      rgba(5,7,12,0) 64%, rgba(5,7,12,0.62) 100%);
}

.hero__overlay {
  color: var(--hero-ink);
  text-shadow: 0 1px 3px rgba(0,0,0,0.45), 0 8px 34px rgba(0,0,0,0.55);
}
.hero .hero__tagline { color: rgba(244,247,251,0.74); }
.hero .hero__eyebrow { color: var(--ice); }
.hero .hero__feature em { color: rgba(244,247,251,0.6); }
.hero .hero__proof { color: rgba(244,247,251,0.72); }
.hero .hero__proof span { color: #fff; }
.hero .hero__cta-label { color: rgba(244,247,251,0.72); }

/* CTA: light pill on the dark stage, icy glow */
.hero .btn--primary {
  background: var(--hero-ink); color: #0A0D14;
  box-shadow: 0 12px 40px -10px rgba(127,182,255,0.45);
}
.hero .btn--primary:hover { box-shadow: 0 20px 50px -12px rgba(127,182,255,0.55); }

/* Hint + progress on dark */
.hero .hero__hint { color: rgba(244,247,251,0.72); }
.hero .hero__hint-line { background: linear-gradient(rgba(244,247,251,0.72), transparent); }
.hero .hero__progress { background: rgba(255,255,255,0.14); }
.hero .hero__progress i { background: var(--ice); }

/* Nav while at the very top (transparent over the dark hero) → light */
.nav:not(.is-scrolled) .nav__brand,
.nav:not(.is-scrolled) .nav__links a { color: rgba(244,247,251,0.92); }
.nav:not(.is-scrolled) .nav__links a:hover { color: #fff; }
.nav:not(.is-scrolled) .nav__cta { border-color: rgba(244,247,251,0.5); color: var(--hero-ink); }
.nav:not(.is-scrolled) .nav__cta:hover { background: var(--hero-ink); color: #0A0D14; }
