/* =========================================================================
   SOLEFORM — Custom stylesheet
   Loaded alongside Tailwind (CDN). Holds design tokens, fonts, and all
   bespoke components / interactions that are cleaner in plain CSS.
   ========================================================================= */

/* ---------- Design tokens ---------- */
:root {
  --c-dark:        #080808;
  --c-dark-2:      #111111;
  --c-offwhite:    #F5F4F0;
  --c-white:       #FFFFFF;
  --c-grey:        #929292;
  --c-lime:        #C8FF3D;

  --font-display:  'Space Grotesk', system-ui, sans-serif;
  --font-body:     'Inter', system-ui, sans-serif;
  --font-mono:     'JetBrains Mono', ui-monospace, monospace;

  --shell:         1440px;
  --ease:          cubic-bezier(0.22, 1, 0.36, 1);

  --nav-h:         84px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--c-dark);
  color: var(--c-offwhite);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--c-lime); color: var(--c-dark); }

/* page shell wrapper */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 64px);
  padding-right: clamp(20px, 4vw, 64px);
}

/* ---------- Typography helpers ---------- */
.font-display { font-family: var(--font-display); }
.font-mono    { font-family: var(--font-mono); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-grey);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--c-lime);
  display: inline-block;
}

.display-xl {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 7vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
}
.display-lg {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.lead {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.6;
  color: var(--c-grey);
  max-width: 52ch;
}

/* =========================================================================
   HEADER / NAV
   ========================================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.45s var(--ease), backdrop-filter 0.45s var(--ease),
              border-color 0.45s var(--ease), height 0.45s var(--ease);
  background: transparent;
  border-bottom: 1px solid transparent;
}
/* scrolled / solid state */
.site-header.is-solid {
  background: rgba(8, 8, 8, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  height: 70px;
}
/* light-on-dark nav by default (over hero); flip text when over light sections */
.site-header.is-light { color: var(--c-dark); }
.site-header.is-light.is-solid {
  background: rgba(245, 244, 240, 0.85);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.nav-inner {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 64px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: 0.16em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand .dot {
  width: 9px; height: 9px;
  background: var(--c-lime);
  display: inline-block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 38px);
  list-style: none;
  margin: 0; padding: 0;
}
.nav-link {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 0;
  color: inherit;
  opacity: 0.85;
  transition: opacity 0.3s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--c-lime);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav-link:hover { opacity: 1; }
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.icon-btn {
  width: 42px; height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: inherit;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.08); }
.site-header.is-light .icon-btn:hover { background: rgba(0, 0, 0, 0.06); }

.bag-btn { position: relative; }
.bag-count {
  position: absolute;
  top: 4px; right: 2px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  background: var(--c-lime);
  color: var(--c-dark);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  transition: transform 0.3s var(--ease);
}
.bag-count.is-visible { transform: scale(1); }

.menu-toggle { display: none; }

/* mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--c-dark);
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 90px clamp(24px, 8vw, 64px) 40px;
}
.drawer.is-open { transform: translateX(0); }
.drawer-close {
  position: absolute;
  top: 24px; right: 24px;
  color: var(--c-offwhite);
}
.drawer-nav { list-style: none; margin: 0; padding: 0; }
.drawer-nav li { border-bottom: 1px solid rgba(255,255,255,0.08); }
.drawer-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 7vw, 3rem);
  letter-spacing: -0.01em;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.drawer-nav a:hover { color: var(--c-lime); padding-left: 10px; }
.drawer-nav .idx {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-grey);
  letter-spacing: 0.2em;
}

/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease),
              color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  will-change: transform;
}
.btn svg { transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-primary {
  background: var(--c-lime);
  color: var(--c-dark);
}
.btn-primary:hover {
  background: var(--c-white);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(200, 255, 61, 0.18);
}
.btn-ghost {
  background: transparent;
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn-ghost:hover {
  border-color: var(--c-lime);
  color: var(--c-lime);
  transform: translateY(-3px);
}
.btn-dark {
  background: var(--c-dark);
  color: var(--c-offwhite);
}
.btn-dark:hover { background: #1c1c1c; transform: translateY(-3px); }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--c-dark);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media video,
.hero-media .hero-poster {
  position: absolute;
  width: 100%; height: 130%;
  top: -15%; left: 0;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8,8,8,0.85) 0%, rgba(8,8,8,0.45) 38%, rgba(8,8,8,0.05) 70%, rgba(8,8,8,0.35) 100%),
    linear-gradient(0deg, rgba(8,8,8,0.92) 0%, rgba(8,8,8,0.0) 42%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(48px, 8vh, 110px);
}
.hero-headline .line {
  display: block;
  overflow: hidden;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 9vw, 8rem);
  line-height: 0.88;
  letter-spacing: -0.03em;
}
.hero-headline .line .accent { color: var(--c-lime); }
.hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--c-offwhite);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  opacity: 0.7;
}
.scroll-cue .rail {
  width: 1px; height: 46px;
  background: linear-gradient(var(--c-lime), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-cue .rail::after {
  content: "";
  position: absolute;
  top: -50%; left: 0;
  width: 100%; height: 50%;
  background: var(--c-lime);
  animation: scrollDrop 2.2s var(--ease) infinite;
}
@keyframes scrollDrop {
  0%   { top: -50%; }
  100% { top: 100%; }
}

.hero-index {
  position: absolute;
  right: clamp(20px, 4vw, 64px);
  top: calc(var(--nav-h) + 24px);
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--c-grey);
  text-align: right;
}

/* =========================================================================
   SECTION HELPERS
   ========================================================================= */
.section { position: relative; padding: clamp(80px, 12vh, 160px) 0; }
.section-dark  { background: var(--c-dark); color: var(--c-offwhite); }
.section-dark2 { background: var(--c-dark-2); color: var(--c-offwhite); }
.section-light { background: var(--c-offwhite); color: var(--c-dark); }
.section-light .lead { color: #5c5c57; }
.section-light .eyebrow { color: #6b6b64; }

.section-head { display: flex; flex-direction: column; gap: 18px; }

/* =========================================================================
   3D / FEATURED SNEAKER SECTION
   ========================================================================= */
.feature-3d {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 4vw, 70px);
  align-items: center;
}
.feature-3d-copy { display: flex; flex-direction: column; gap: 26px; }
.feat-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.feat-price {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--c-grey);
}
.feat-price b { color: var(--c-offwhite); font-size: 22px; }

.swatches { display: flex; gap: 12px; align-items: center; }
.swatch {
  width: 30px; height: 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
  position: relative;
}
.swatch::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: border-color 0.3s var(--ease);
}
.swatch:hover { transform: scale(1.08); }
.swatch.is-active::after { border-color: var(--c-lime); }

.feat-specs {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
}
.feat-specs li {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--c-grey);
  display: flex; gap: 10px; align-items: baseline;
}
.feat-specs li b { color: var(--c-lime); font-weight: 500; }

/* 3D stage */
.stage {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 45%, #1a1a1a, #080808 75%);
  border: 1px solid rgba(255,255,255,0.06);
  transform-style: preserve-3d;
  perspective: 1200px;
}
.stage canvas { width: 100%; height: 100%; display: block; }
/* CSS fallback shoe (tilt card) */
.shoe-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}
.shoe-tilt {
  width: 78%;
  will-change: transform;
  transform-style: preserve-3d;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,0.6));
}
.shoe-glow {
  position: absolute;
  width: 60%; height: 30px;
  bottom: 16%;
  left: 20%;
  background: radial-gradient(ellipse, rgba(200,255,61,0.35), transparent 70%);
  filter: blur(8px);
}
.stage .stage-hint {
  position: absolute;
  left: 18px; bottom: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--c-grey);
  display: flex; align-items: center; gap: 8px;
  z-index: 3;
}
.particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.particle {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 999px;
  background: var(--c-lime);
  opacity: 0.5;
  animation: float 7s var(--ease) infinite;
}
@keyframes float {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: 0.6; }
  100% { transform: translateY(-120px) scale(0.4); opacity: 0; }
}

/* =========================================================================
   WHITE EDITORIAL SECTION
   ========================================================================= */
.editorial {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 6vw, 90px);
  align-items: center;
}
.editorial-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
}
.editorial-media img { width: 100%; height: 100%; object-fit: cover; }
.editorial-media .cap {
  position: absolute;
  left: 18px; bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--c-white);
  background: rgba(8,8,8,0.45);
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.giant-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(8rem, 26vw, 22rem);
  line-height: 0.8;
  color: rgba(8,8,8,0.05);
  position: absolute;
  top: -2vh;
  left: -2vw;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

/* =========================================================================
   CATEGORY GRID (asymmetric)
   ========================================================================= */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 200px;
  gap: 18px;
}
.cat-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  display: block;
  color: inherit;
}
.cat-card .cat-img { position: absolute; inset: 0; }
.cat-card .cat-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.cat-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8,8,8,0.85) 0%, rgba(8,8,8,0.05) 55%, rgba(8,8,8,0.25) 100%);
  transition: opacity 0.4s var(--ease);
}
.cat-card:hover .cat-img img { transform: scale(1.08); }
.cat-body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  color: var(--c-offwhite);
}
.cat-body .cat-no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--c-grey);
}
.cat-body .cat-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.4vw, 2.1rem);
  line-height: 1;
  margin-top: 6px;
  letter-spacing: -0.01em;
}
.cat-arrow {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--c-lime);
  color: var(--c-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s var(--ease);
  flex-shrink: 0;
}
.cat-card:hover .cat-arrow { transform: translate(4px, -4px) rotate(-8deg); }

/* asymmetric spans */
.cat-a { grid-column: span 7; grid-row: span 2; }
.cat-b { grid-column: span 5; grid-row: span 2; }
.cat-c { grid-column: span 5; grid-row: span 2; }
.cat-d { grid-column: span 7; grid-row: span 2; }

/* =========================================================================
   PRODUCT GRID
   ========================================================================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 30px);
}
.product-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(0,0,0,0.08); }
.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #ececea;
}
.product-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.06); }
.product-badge {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--c-dark);
  color: var(--c-offwhite);
  z-index: 2;
}
.product-badge.new { background: var(--c-lime); color: var(--c-dark); }
.fav-btn {
  position: absolute;
  top: 12px; right: 12px;
  width: 38px; height: 38px;
  border-radius: 999px;
  background: rgba(255,255,255,0.85);
  color: var(--c-dark);
  display: inline-flex; align-items: center; justify-content: center;
  z-index: 2;
  backdrop-filter: blur(4px);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.fav-btn:hover { transform: scale(1.08); }
.fav-btn.is-fav { background: var(--c-lime); color: var(--c-dark); }
.fav-btn.is-fav svg { fill: currentColor; }

.quick-view {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease);
  background: var(--c-dark);
  color: var(--c-offwhite);
  padding: 14px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.product-card:hover .quick-view { transform: translateY(0); }

.product-info { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.product-cat {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-grey);
}
.product-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.product-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}
.product-price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
}
.add-btn {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--c-dark);
  color: var(--c-offwhite);
  display: inline-flex; align-items: center; gap: 6px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.add-btn:hover { background: var(--c-lime); color: var(--c-dark); }
.swatch-row { display: flex; gap: 8px; margin-top: 4px; }
.swatch-mini {
  width: 16px; height: 16px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.15);
  cursor: pointer;
}

/* =========================================================================
   QUICK-VIEW MODAL
   ========================================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(8,8,8,0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}
.modal-overlay.is-open { opacity: 1; visibility: visible; }
.modal {
  background: var(--c-offwhite);
  color: var(--c-dark);
  border-radius: 20px;
  max-width: 880px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  transform: translateY(24px) scale(0.98);
  transition: transform 0.4s var(--ease);
}
.modal-overlay.is-open .modal { transform: translateY(0) scale(1); }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 16px; }
.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 42px; height: 42px;
  border-radius: 999px;
  background: rgba(8,8,8,0.85);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  z-index: 5;
}

/* =========================================================================
   TOAST
   ========================================================================= */
.toast-wrap {
  position: fixed;
  z-index: 130;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  pointer-events: none;
}
.toast {
  background: var(--c-dark);
  color: var(--c-offwhite);
  border: 1px solid rgba(200,255,61,0.4);
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 13px;
  display: inline-flex; align-items: center; gap: 10px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast svg { color: var(--c-lime); }

/* =========================================================================
   HORIZONTAL CAMPAIGN
   ========================================================================= */
.hscroll-pin { height: 100vh; overflow: hidden; }
.hscroll-track {
  display: flex;
  gap: 28px;
  height: 100vh;
  align-items: center;
  padding: 0 clamp(24px, 4vw, 64px);
  will-change: transform;
}
.hscroll-intro {
  flex: 0 0 auto;
  width: min(46vw, 620px);
  display: flex; flex-direction: column; gap: 20px; justify-content: center;
}
.hscroll-panel {
  flex: 0 0 auto;
  width: 60vw;
  max-width: 720px;
  height: 72vh;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}
.hscroll-panel img { width: 100%; height: 100%; object-fit: cover; }
.hscroll-panel .p-cap {
  position: absolute;
  left: 22px; bottom: 18px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.4vw, 2rem);
  letter-spacing: -0.01em;
}
.hscroll-panel .p-cap small {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--c-lime);
  font-weight: 400;
  margin-bottom: 4px;
}
/* mobile fallback: vertical stack */
.hscroll-mobile { display: none; }

/* =========================================================================
   BRAND STORY
   ========================================================================= */
.brand-story-media {
  position: relative;
  height: 70vh;
  min-height: 420px;
  border-radius: 18px;
  overflow: hidden;
}
.brand-story-media img { width: 100%; height: 120%; object-fit: cover; }

/* =========================================================================
   NEWSLETTER
   ========================================================================= */
.news {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.news-form {
  display: flex;
  gap: 10px;
  width: min(100%, 480px);
  margin-top: 8px;
}
.news-form input {
  flex: 1;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  padding: 16px 24px;
  color: inherit;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s var(--ease);
}
.news-form input:focus { border-color: var(--c-lime); }
.news-form input::placeholder { color: var(--c-grey); }
.news-note { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--c-grey); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
  background: var(--c-dark);
  color: var(--c-offwhite);
  padding-top: 80px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-grey);
  margin: 0 0 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--c-offwhite); opacity: 0.8; font-size: 14px; transition: opacity 0.3s var(--ease), color 0.3s var(--ease); }
.footer-col a:hover { opacity: 1; color: var(--c-lime); }
.footer-brand .display-xl { font-size: clamp(2.4rem, 5vw, 4rem); }
.socials { display: flex; gap: 12px; margin-top: 22px; }
.socials a {
  width: 42px; height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.socials a:hover { background: var(--c-lime); color: var(--c-dark); border-color: var(--c-lime); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--c-grey);
}

/* back to top */
.to-top {
  position: fixed;
  right: 26px; bottom: 26px;
  z-index: 80;
  width: 50px; height: 50px;
  border-radius: 999px;
  background: var(--c-lime);
  color: var(--c-dark);
  display: inline-flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  pointer-events: none;
}
.to-top.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.to-top:hover { transform: translateY(-4px) scale(1.05); }

/* =========================================================================
   ANIMATION HOOKS (GSAP sets initial states; these are the non-JS fallback)
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(28px); }
.reveal-line { transform: translateY(110%); }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
  .feature-3d { grid-template-columns: 1fr; }
  .editorial  { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .modal { grid-template-columns: 1fr; max-width: 460px; }
  .modal-media { aspect-ratio: 4/3; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-inner { grid-template-columns: auto 1fr auto; }
  .menu-toggle { display: inline-flex; }
  .nav-actions .icon-btn:not(.bag-btn):not(.menu-toggle) { display: none; }

  .hero-headline .line { font-size: clamp(2.6rem, 13vw, 5rem); }
  .cat-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .cat-a, .cat-b, .cat-c, .cat-d { grid-column: span 1; grid-row: span 2; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .feat-specs { grid-template-columns: 1fr; }

  /* horizontal campaign -> vertical stack on mobile */
  .hscroll-pin { height: auto; overflow: visible; }
  .hscroll-track { display: none; }
  .hscroll-mobile { display: grid; grid-template-columns: 1fr; gap: 16px; }
  .hscroll-mobile .hscroll-panel { width: 100%; height: 56vh; }
}

@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-a, .cat-b, .cat-c, .cat-d { grid-column: span 1; grid-row: span 2; }
  .footer-grid { grid-template-columns: 1fr; }
  .news-form { flex-direction: column; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1; justify-content: center; }
}

/* =========================================================================
   REDUCED MOTION
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .reveal-line { transform: none; }
  .scroll-cue .rail::after { animation: none; }
  .particle { animation: none; }
}

/* =========================================================================
   3D STAGE DISPLAY LOGIC
   CSS fallback shoe is visible by default. Three.js (three-scene.js) adds
   .is-3d to the stage when a real model loads, swapping to the canvas.
   ========================================================================= */
.stage canvas { display: none; }
.stage.is-3d canvas { display: block; }
.stage.is-3d .shoe-fallback { display: none; }

/* Stage fallback shoe base rotation transform origin */
.shoe-tilt { transform: rotateX(0deg) rotateY(0deg); transition: transform 0.1s linear; }

/* per-line mask for scroll-triggered headline staggers */
.stagger-line { display: block; overflow: hidden; }
.stagger-line > span { display: block; }
