/* ============================================================
   HILLS — Premium sneaker landing page
   ============================================================ */

/* Theme colors animated on shoe switch — registered as <color>
   so GSAP can interpolate them smoothly. */
@property --hero-bg { syntax: "<color>"; inherits: true; initial-value: #05c2b6; }
@property --accent  { syntax: "<color>"; inherits: true; initial-value: #05c2b6; }

:root {
  --hero-bg: #05c2b6;          /* default = first shoe */
  --accent: #05c2b6;           /* brand accent — animates with the active shoe */
  --bg: #ffffff;
  --card: #0f3d3b;
  --ink: #0e1b1e;
  --ink-soft: rgba(14, 27, 30, 0.6);
  --white: #ffffff;
  --nav-h: 84px;
  --ease: cubic-bezier(0.65, 0.05, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-font-smoothing: antialiased; }

body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: #ffffff;
  overflow-x: hidden;
  transition: none;
}

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

.section-tag {
  display: inline-block;
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.72rem;
  color: var(--accent);
  margin-bottom: 1.1rem;
}

.section-title {
  font-family: "Archivo", sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 999;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1.4rem;
}
.loader__brand {
  font-family: "Archivo", sans-serif; font-weight: 900;
  font-size: clamp(2.5rem, 8vw, 5rem); letter-spacing: -0.03em;
  color: var(--ink);
}
.loader__bar { width: min(260px, 60vw); height: 3px; background: rgba(0,0,0,0.12); border-radius: 3px; overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 0%; background: var(--accent); }
.loader__count { font-size: 0.8rem; letter-spacing: 0.2em; color: var(--ink-soft); }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--accent); z-index: 200;
  transition: background 0.6s var(--ease);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h);
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1.4rem, 4vw, 4rem);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s;
}
.nav.is-scrolled {
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 30px -18px rgba(0,0,0,0.4);
}
.nav__logo {
  font-family: "Archivo", sans-serif; font-weight: 900;
  font-size: 1.5rem; letter-spacing: -0.03em; color: var(--ink);
}
.nav__logo span { color: var(--accent); }
.nav__links { display: flex; gap: 2.2rem; }
.nav__link {
  position: relative; font-weight: 500; font-size: 0.92rem;
  color: var(--ink-soft); transition: color 0.3s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px;
  width: 0; background: var(--accent); transition: width 0.35s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--ink); }
.nav__link.is-active::after, .nav__link:hover::after { width: 100%; }


.nav__burger { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; justify-content: center; align-items: center; }
.nav__burger span { width: 22px; height: 2px; background: var(--ink); transition: 0.3s; }

/* ---------- Glass helper ---------- */
.glass {
  background: rgba(255,255,255,0.35);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.5);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  font-family: "Archivo", sans-serif; font-weight: 700; font-size: 0.9rem;
  padding: 1rem 1.8rem; border-radius: 100px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  will-change: transform;
}
.btn--solid { background: var(--ink); color: #fff; box-shadow: 0 12px 30px -12px rgba(0,0,0,0.5); }
.btn--solid:hover { box-shadow: 0 18px 40px -12px var(--accent); }
.btn--ghost { background: rgba(255,255,255,0.4); color: var(--ink); border: 1px solid rgba(0,0,0,0.1); }

/* hero buttons sit on the vivid dynamic background */
.hero .btn--solid { background: #fff; color: var(--ink); box-shadow: 0 14px 34px -14px rgba(0,0,0,0.55); }
.hero .btn--solid:hover { box-shadow: 0 20px 44px -14px rgba(0,0,0,0.6); }
.hero .btn--ghost { background: rgba(255,255,255,0.14); color: #fff; border: 1px solid rgba(255,255,255,0.5); }
.hero .btn--ghost:hover { background: rgba(255,255,255,0.24); }
.btn .ripple {
  position: absolute; border-radius: 50%; transform: translate(-50%,-50%) scale(0);
  background: rgba(255,255,255,0.4); pointer-events: none; animation: ripple 0.7s ease-out;
}
@keyframes ripple { to { transform: translate(-50%,-50%) scale(14); opacity: 0; } }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; padding-top: var(--nav-h);
  display: grid;
  grid-template-columns: 1.05fr 1.25fr 0.9fr;
  align-items: center; gap: 1rem;
  padding-inline: clamp(1.4rem, 4vw, 4rem);
  overflow: hidden;
  color: #fff;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(120% 120% at 78% 12%, rgba(255,255,255,0.28), transparent 46%),
    linear-gradient(160deg, var(--hero-bg), color-mix(in srgb, var(--hero-bg) 82%, #000));
}
.hero__vertical {
  position: absolute; left: clamp(0.4rem, 2vw, 2rem); top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-family: "Archivo", sans-serif; font-weight: 900;
  font-size: clamp(1.4rem, 2.4vw, 2.2rem); letter-spacing: 0.1em;
  color: #fff; opacity: 0.85;
}

.hero__content { position: relative; z-index: 3; padding-left: clamp(2rem, 4vw, 3.5rem); max-width: 560px; }
.hero__eyebrow { font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.75rem; color: rgba(255,255,255,0.85); margin-bottom: 1rem; }
.hero__title {
  font-family: "Archivo", sans-serif; font-weight: 900;
  font-size: clamp(3rem, 7vw, 6.4rem); line-height: 0.92;
  letter-spacing: -0.03em; text-transform: uppercase; margin-bottom: 1.4rem;
  color: #fff;
}
.hero__title-line { display: inline-block; }
.hero__desc { font-size: 1rem; line-height: 1.7; color: rgba(255,255,255,0.82); max-width: 420px; margin-bottom: 2rem; }
.hero__cta { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.hero__socials { display: flex; gap: 0.6rem; }
.hero__socials a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  font-size: 0.72rem; font-weight: 700; background: rgba(255,255,255,0.18);
  color: #fff; transition: transform 0.3s, background 0.3s;
}
.hero__socials a:hover { transform: translateY(-3px); background: #fff; color: var(--accent); }

/* stage */
.hero__stage { position: relative; z-index: 2; display: grid; place-items: center; height: 100%; perspective: 1200px; }
.hero__shoe {
  position: relative; z-index: 3; width: min(80vw, 950px);
  filter: drop-shadow(0 44px 46px rgba(0,0,0,0.4));
  will-change: transform; transform-style: preserve-3d;
}
.hero__badge {
  position: absolute; top: 8%; left: 50%; transform: translateX(-50%);
  z-index: 4; font-family: "Archivo", sans-serif; font-weight: 900;
  font-size: clamp(3rem, 7vw, 6rem); color: var(--white); opacity: 0.9;
  text-shadow: 0 10px 30px rgba(0,0,0,0.2);
  display: none;
}
.hero__glow {
  position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.5), transparent 65%);
  filter: blur(40px); opacity: 0.5; z-index: 1;
}
.hero__shadow {
  position: absolute; bottom: 12%; width: 46%; height: 30px; border-radius: 50%;
  background: rgba(0,0,0,0.28); filter: blur(22px); z-index: 1;
}

/* right rail card */
.hero__rail {
  position: relative; z-index: 3; justify-self: end;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  padding: 1.6rem 1rem; border-radius: 100px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,0.35);
}
.hero__rail-label { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.8); }
.switcher { display: flex; flex-direction: column; gap: 0.9rem; }
.switcher__dot {
  position: relative; width: 40px; height: 40px; border-radius: 50%;
  background: var(--c); cursor: pointer;
  display: grid; place-items: center;
  transition: transform 0.35s var(--ease);
  box-shadow: 0 4px 12px -4px rgba(0,0,0,0.5);
}
.switcher__dot::before {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid #fff; opacity: 0; transform: scale(0.7);
  transition: 0.35s var(--ease);
}
.switcher__dot:hover { transform: scale(1.08); }
.switcher__dot.is-active::before { opacity: 1; transform: scale(1); }
.switcher__add {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.9); color: var(--accent);
  font-size: 1.3rem; display: grid; place-items: center; transition: transform 0.3s;
}
.switcher__add:hover { transform: rotate(90deg); }

.hero__scroll {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  z-index: 3; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.85); display: flex; align-items: center; gap: 0.6rem;
}
.hero__scroll span { width: 40px; height: 1px; background: rgba(255,255,255,0.5); position: relative; overflow: hidden; }
.hero__scroll span::after { content:""; position:absolute; inset:0; width:40%; background: #fff; }

/* ============================================================
   AFTER-HERO OVERLAY — sits above the pinned hero and slides up
   ============================================================ */
.after-hero {
  position: relative;
  z-index: 5;                 /* above hero (hero content z-index <= 4) */
  background: #ffffff;        /* opaque so the hero is covered, no bleed-through */
}

/* Fixed content backgrounds; accent-driven sections follow the active shoe */
.about    { background: #ffffff; }
.tech-story { background: #0b1214; }
.features { background: #ffffff; }
.gallery  { background: #ffffff; }
.product  {
  background: color-mix(in srgb, var(--accent) 72%, #071c20);
}
.movement { background: #0b1214; }
.contact  { background: var(--accent); }
.footer   { background: #000000; }

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem);
  align-items: center; padding: clamp(5rem, 12vw, 10rem) clamp(1.4rem, 5vw, 6rem);
}
.about::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='240' height='240' viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M-20 80C40 20 90 20 150 80s110 60 130 20M-20 150C40 90 90 90 150 150s110 60 130 20M40-20c60 60 60 110 0 170s-60 110 0 130' fill='none' stroke='%230e1b1e' stroke-opacity='.055' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: 240px 240px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 72%);
          mask-image: linear-gradient(90deg, #000, transparent 72%);
}
/* media: model emerges from the blob — lower body clipped inside, head above */
.about__media {
  position: relative; display: flex; align-items: flex-end; justify-content: center;
  min-height: clamp(460px, 58vh, 620px); overflow: visible;
}
.about__figure {
  width: min(100%, 460px); height: auto; overflow: visible;
  filter: drop-shadow(0 30px 50px -26px rgba(0,0,0,0.35));
}
.about__blob-path { will-change: transform; }
.about__blob-stop { stop-color: var(--accent); }
.about__blob-stop--a { stop-opacity: 0.95; }
.about__blob-stop--b { stop-opacity: 0.55; }
.about__text { font-size: 1.05rem; line-height: 1.8; color: var(--ink-soft); margin: 1.6rem 0 2.4rem; max-width: 480px; }
.about__stats { display: flex; gap: clamp(1.5rem, 4vw, 3rem); }
.stat { display: flex; flex-direction: column; }
.stat__num { font-family: "Archivo", sans-serif; font-weight: 900; font-size: clamp(2rem, 4vw, 3rem); color: var(--ink); line-height: 1; }
.stat__label { font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.3rem; }

/* ============================================================
   INSIDE THE RIDE — interactive product lab
   ============================================================ */
.tech-story {
  position: relative; isolation: isolate; overflow: hidden; color: #f4f7f6;
  padding: clamp(5rem, 10vw, 9rem) clamp(1.4rem, 5vw, 6rem);
}
.tech-story::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(circle at 26% 56%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 27%),
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
}
.tech-story__word {
  position: absolute; left: -0.04em; top: 50%; z-index: -1;
  transform: translateY(-50%); white-space: nowrap;
  font-family: "Archivo", sans-serif; font-size: 18rem;
  font-weight: 900; line-height: 0.8; letter-spacing: 0;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.065);
}
.tech-story__head { max-width: 620px; margin-left: auto; margin-bottom: clamp(3rem, 7vw, 6rem); }
.tech-story__head h2 {
  font-family: "Archivo", sans-serif; font-size: 5.6rem;
  font-weight: 900; line-height: 0.9; letter-spacing: 0;
}
.tech-story__head p { max-width: 390px; margin-top: 1.4rem; line-height: 1.7; color: rgba(244,247,246,0.6); }
.tech-story__layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.7fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.tech-story__stage { position: relative; min-height: clamp(390px, 48vw, 620px); display: grid; place-items: center; }
.tech-story__orbit {
  position: absolute; width: min(74%, 620px); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 0 0 46px rgba(255,255,255,0.025), 0 0 0 92px rgba(255,255,255,0.018);
}
.tech-story__orbit::before,
.tech-story__orbit::after { content: ""; position: absolute; background: rgba(255,255,255,0.12); }
.tech-story__orbit::before { width: 1px; height: 140%; left: 50%; top: -20%; }
.tech-story__orbit::after { height: 1px; width: 140%; top: 50%; left: -20%; }
.tech-story__shoe {
  position: relative; z-index: 1; width: min(94%, 820px);
  filter: drop-shadow(0 42px 40px rgba(0,0,0,0.55)); transform: rotate(-7deg);
}
.tech-point {
  position: absolute; z-index: 3; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(11,18,20,0.76); color: #fff;
  border: 1px solid rgba(255,255,255,0.45); backdrop-filter: blur(8px);
  font-family: "Archivo", sans-serif; font-size: 0.7rem; font-weight: 800;
  transition: transform 0.35s var(--ease), background 0.35s, border-color 0.35s;
}
.tech-point::after {
  content: ""; position: absolute; inset: -8px; border-radius: inherit;
  border: 1px solid var(--accent); opacity: 0; transform: scale(0.75);
  transition: opacity 0.35s, transform 0.35s var(--ease);
}
.tech-point:hover { transform: scale(1.08); }
.tech-point:focus-visible { outline: 3px solid #f4f7f6; outline-offset: 5px; }
.tech-point.is-active { background: var(--accent); border-color: #fff; }
.tech-point.is-active::after { opacity: 1; transform: scale(1); }
.tech-point--upper { top: 28%; left: 37%; }
.tech-point--foam { top: 56%; left: 55%; }
.tech-point--grip { top: 66%; right: 15%; }
.tech-story__panel { align-self: end; padding: 2rem 0 0; border-top: 1px solid rgba(255,255,255,0.2); }
.tech-story__panel-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2.4rem; }
.tech-story__number { font-family: "Archivo", sans-serif; font-size: 2.8rem; font-weight: 900; color: var(--accent); }
.tech-story__label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(244,247,246,0.5); }
.tech-story__panel h3 { font-family: "Archivo", sans-serif; font-size: 2.4rem; font-weight: 800; margin-bottom: 1rem; }
.tech-story__panel > p { min-height: 6em; font-size: 0.95rem; line-height: 1.7; color: rgba(244,247,246,0.64); }
.tech-story__progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.55rem; margin-top: 2.2rem; }
.tech-story__progress span { height: 3px; background: rgba(255,255,255,0.16); transition: background 0.35s; }
.tech-story__progress span.is-active { background: var(--accent); }

/* ============================================================
   FEATURES
   ============================================================ */
.features { position: relative; isolation: isolate; overflow: hidden; padding: clamp(4rem, 10vw, 8rem) clamp(1.4rem, 5vw, 6rem); }

/* pattern2.css background layer — softened & masked to stay on-brand.
   pattern2.css supplies the pattern; this positions/tames it. */
.features__bg {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%;
  opacity: 0.6;
  -webkit-mask-image: radial-gradient(130% 100% at 50% 0%, #000 30%, transparent 80%);
          mask-image: radial-gradient(130% 100% at 50% 0%, #000 30%, transparent 80%);
}

.features__head { position: relative; max-width: 620px; margin-bottom: 3.5rem; }
.features__head .section-title { margin-top: 0.4rem; }
.features__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.feature {
  padding: 2.2rem 1.8rem; border-radius: 28px;
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 20px 40px -30px rgba(0,0,0,0.5);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  will-change: transform;
}
.feature:hover { transform: translateY(-10px); box-shadow: 0 30px 50px -25px var(--accent); }
.feature__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.5rem; background: var(--accent); color: #fff; margin-bottom: 1.4rem;
  transition: transform 0.45s var(--ease);
}
.feature:hover .feature__icon { transform: rotate(-8deg) scale(1.08); }
.feature h3 { font-family: "Archivo", sans-serif; font-weight: 800; font-size: 1.15rem; margin-bottom: 0.6rem; }
.feature p { font-size: 0.92rem; line-height: 1.6; color: var(--ink-soft); }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery { position: relative; isolation: isolate; overflow: hidden; padding: clamp(4rem, 10vw, 8rem) clamp(1.4rem, 5vw, 6rem); }

.gallery__bg { display: none; }

.gallery__head { position: relative; text-align: center; margin-bottom: 3.5rem; }
.gallery__grid {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px; grid-auto-flow: dense;   /* dense fills gaps → no holes */
  gap: 1.4rem;
}
.g-card {
  position: relative; overflow: hidden; border-radius: 28px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.6rem; color: #fff; cursor: pointer;
  box-shadow: 0 24px 50px -30px rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.5);
  will-change: transform;
}
.g-card--tall { grid-row: span 2; }
.g-card--wide { grid-column: span 2; }
.g-card__img { position: absolute; inset: 0; z-index: 1; overflow: hidden; transition: transform 0.7s var(--ease); }
.g-card__img img { width: 100%; height: 100%; object-fit: cover; }
.g-card:hover .g-card__img { transform: scale(1.08); }
.g-card::after { content:""; position:absolute; inset:0; background: linear-gradient(to top, rgba(0,0,0,0.72), rgba(0,0,0,0.06) 68%); z-index: 2; }
.g-card__meta { position: relative; z-index: 3; }
.g-card__tag {
  display: inline-block; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; padding: 0.25rem 0.6rem; border-radius: 100px;
  background: rgba(255,255,255,0.22); backdrop-filter: blur(4px); margin-bottom: 0.5rem;
}
.g-card__name { font-family: "Archivo", sans-serif; font-weight: 800; font-size: 1.2rem; }
.g-card__price { font-size: 0.9rem; opacity: 0.85; }

/* ============================================================
   PRODUCT — horizontal showcase (8 cards)
   ============================================================ */
.product { position: relative; isolation: isolate; padding: clamp(4rem, 10vw, 8rem) 0; overflow: hidden; }
.product::before {
  content: "";
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.85), transparent 88%);
          mask-image: linear-gradient(to bottom, rgba(0,0,0,0.85), transparent 88%);
}
.product__head { text-align: center; margin-bottom: 3rem; padding-inline: clamp(1.4rem, 5vw, 6rem); }
.product__head .section-tag { color: rgba(255,255,255,0.85); }
.product__head .section-title { margin-top: 0.4rem; color: #fff; }
.product__hint { margin-top: 1rem; font-size: 0.9rem; color: rgba(255,255,255,0.75); }

.product__scroller {
  overflow-x: auto; overflow-y: hidden;
  -ms-overflow-style: none; scrollbar-width: none;   /* hide scrollbar */
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.product__scroller::-webkit-scrollbar { display: none; }
.product__scroller.is-dragging { cursor: grabbing; }
.product__track {
  display: flex; gap: 1.6rem; align-items: stretch;
  /* generous top/bottom padding so the hover-lift (-12px) + card shadow
     are never clipped by the scroller's overflow-y: hidden */
  padding: 2.5rem clamp(1.4rem, 5vw, 6rem) 3rem;
  width: max-content;
}

.prod {
  scroll-snap-align: center;
  flex: 0 0 300px; width: 300px;
  border-radius: 22px; overflow: hidden;
  background: #f8faf9;
  border: 1px solid rgba(255,255,255,0.72);
  box-shadow: 0 24px 48px -24px rgba(4,18,20,0.65), inset 0 1px 0 rgba(255,255,255,0.9);
  color: var(--ink); display: flex; flex-direction: column;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
  will-change: transform;
}
.prod:hover {
  transform: translateY(-12px);
  border-color: rgba(255,255,255,0.95);
  box-shadow: 0 38px 68px -30px rgba(4,18,20,0.82), 0 0 0 3px rgba(255,255,255,0.16);
}
.prod__media {
  position: relative; height: 210px; display: grid; place-items: center;
  background:
    radial-gradient(circle at 72% 20%, rgba(255,255,255,0.92), transparent 30%),
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 18%, #f7faf9), #e9efed);
  border-bottom: 1px solid rgba(14,27,30,0.08);
  overflow: hidden;
}
.prod__media::before {
  content: ""; position: absolute; width: 72%; height: 28%; left: 14%; bottom: 12%;
  border-radius: 50%; background: rgba(7,28,32,0.16); filter: blur(20px);
}
.prod__media img {
  position: relative; z-index: 1; width: 78%; filter: drop-shadow(0 18px 22px rgba(4,18,20,0.3));
  transition: transform 0.6s var(--ease); will-change: transform;
}
.prod:hover .prod__media img { transform: scale(1.16) rotate(-5deg); }
.prod__body { flex: 1; padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 0.5rem; }
.prod__name { font-family: "Archivo", sans-serif; font-weight: 800; font-size: 1.2rem; color: var(--ink); }
.prod__desc { font-size: 0.85rem; line-height: 1.5; color: var(--ink-soft); min-height: 2.5em; }
.prod__row { display: flex; align-items: center; justify-content: space-between; margin-top: 0.3rem; }
.prod__price { font-family: "Archivo", sans-serif; font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.prod__rating { font-size: 0.82rem; color: #9a6200; display: flex; align-items: center; gap: 0.25rem; }
.prod__rating span { color: var(--ink-soft); }
.prod__btn {
  margin-top: 1rem; padding: 0.8rem 1.2rem; border-radius: 100px;
  font-family: "Archivo", sans-serif; font-weight: 700; font-size: 0.85rem;
  background: var(--ink); color: #fff; position: relative; overflow: hidden;
  box-shadow: 0 12px 24px -16px rgba(4,18,20,0.8);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}
.prod__btn:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--accent) 48%, var(--ink)); box-shadow: 0 14px 26px -14px var(--accent); }
.prod__btn::after {
  content: "→"; display: inline-block; margin-left: 0.5rem;
  transition: transform 0.35s var(--ease);
}
.prod__btn:hover::after { transform: translateX(5px); }

/* ============================================================
   MOVEMENT STORY — editorial break between commerce and contact
   ============================================================ */
.movement {
  position: relative; min-height: min(900px, 92svh); overflow: hidden;
  display: grid; grid-template-columns: minmax(320px, 0.9fr) 1.1fr;
  color: #f4f7f6;
}
.movement__visual { position: relative; min-height: 760px; overflow: hidden; }
.movement__visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(4,12,14,0.55), transparent 45%);
  pointer-events: none;
}
.movement__photo {
  width: 100%; height: 112%; object-fit: cover; object-position: center 58%;
  transform: translateY(-6%); will-change: transform;
}
.movement__index {
  position: absolute; left: clamp(1.4rem, 4vw, 3.5rem); bottom: 2rem; z-index: 1;
  font-family: "Archivo", sans-serif; font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.2em; color: rgba(255,255,255,0.82);
}
.movement__content {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  padding: clamp(5rem, 9vw, 9rem) clamp(1.6rem, 7vw, 7rem) clamp(7rem, 11vw, 10rem);
}
.movement__content::before {
  content: ""; position: absolute; width: clamp(110px, 15vw, 210px); height: 8px;
  top: clamp(3rem, 7vw, 6rem); right: 0; background: var(--accent);
}
.movement__kicker {
  max-width: 260px; margin-bottom: clamp(2rem, 5vw, 4.5rem);
  font-size: 0.78rem; font-weight: 600; line-height: 1.5;
  letter-spacing: 0.12em; text-transform: uppercase; color: rgba(244,247,246,0.58);
}
.movement__title {
  font-family: "Archivo", sans-serif; font-size: clamp(4.4rem, 9.2vw, 9.4rem);
  font-weight: 900; line-height: 0.76; letter-spacing: -0.075em;
}
.movement__title span { color: var(--accent); }
.movement__copy {
  max-width: 390px; margin: clamp(2.5rem, 5vw, 4rem) 0 2rem;
  font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.7; color: rgba(244,247,246,0.7);
}
.movement__link {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 1rem;
  padding-bottom: 0.65rem; border-bottom: 2px solid var(--accent);
  font-family: "Archivo", sans-serif; font-size: 0.85rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em;
  transition: color 0.3s, gap 0.35s var(--ease);
}
.movement__link:hover { color: var(--accent); gap: 1.4rem; }
.movement__strip {
  position: absolute; left: 50%; right: 0; bottom: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,0.14);
}
.movement__strip span {
  padding: 1.25rem clamp(0.8rem, 2vw, 1.8rem);
  font-family: "Archivo", sans-serif; font-size: 0.67rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: rgba(244,247,246,0.55);
  border-right: 1px solid rgba(255,255,255,0.14);
}
.movement__strip span:last-child { border-right: 0; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: clamp(5rem, 12vw, 9rem) clamp(1.4rem, 5vw, 6rem); }
.contact::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    repeating-radial-gradient(circle at 50% 120%, transparent 0 54px, rgba(255,255,255,0.11) 55px 56px),
    linear-gradient(115deg, rgba(255,255,255,0.12), transparent 38%);
}
.contact::after {
  content: "RUN"; position: absolute; left: 50%; bottom: -0.2em; z-index: -1;
  transform: translateX(-50%); font-family: "Archivo", sans-serif;
  font-size: 24rem; font-weight: 900; line-height: 0.7;
  letter-spacing: 0; color: rgba(255,255,255,0.055); pointer-events: none;
}
.contact__inner { max-width: 760px; margin: 0 auto; text-align: center; }
.contact .section-tag { color: rgba(255,255,255,0.85); }
.contact__title { font-family: "Archivo", sans-serif; font-weight: 900; font-size: clamp(2.6rem, 7vw, 5.5rem); line-height: 0.98; letter-spacing: -0.03em; margin: 0.6rem 0 1.4rem; }
.contact__text { color: rgba(255,255,255,0.82); font-size: 1.05rem; margin-bottom: 2.6rem; }
.contact__form { display: flex; gap: 0.8rem; max-width: 460px; margin: 0 auto; }
.contact__form input {
  flex: 1; padding: 1rem 1.4rem; border-radius: 100px; font-size: 0.95rem;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.35); color: #fff;
  transition: border 0.3s, background 0.3s;
}
.contact__form input::placeholder { color: rgba(255,255,255,0.6); }
.contact__form input:focus { outline: none; border-color: #fff; background: rgba(255,255,255,0.22); }
.contact .btn--solid { background: #fff; color: var(--accent); }

.footer {
  padding: 2.4rem clamp(1.4rem, 5vw, 6rem); display: flex;
  align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: 0.85rem; color: rgba(255,255,255,0.55);
}
.footer__links { display: flex; gap: 1.4rem; }
.footer__links a:hover { color: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr 1fr; }
  /* rail flows into its own full-width row below — never overlaps the CTA */
  .hero__rail {
    position: static; grid-column: 1 / -1; justify-self: center;
    flex-direction: row; align-items: center; border-radius: 100px;
    margin-top: 1.75rem; padding: 0.7rem 1.1rem; gap: 0.9rem;
  }
  .hero__rail-label { writing-mode: horizontal-tb; transform: none; }
  .switcher { flex-direction: row; gap: 0.8rem; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .tech-story__word { font-size: 14rem; }
  .tech-story__head h2 { font-size: 4.4rem; }
  .tech-story__panel h3 { font-size: 2.1rem; }
  .contact::after { font-size: 20rem; }
}
@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .hero {
    grid-template-columns: 1fr; text-align: center;
    padding-top: calc(var(--nav-h) + 0.5rem); padding-bottom: 1.5rem;
    gap: 0.5rem; align-content: center; row-gap: 1rem;
  }
  .hero__vertical { display: none; }
  .hero__content { order: 2; padding-left: 0; max-width: 100%; margin-inline: auto; }
  .hero__cta { justify-content: center; margin-bottom: 0; }
  .hero__socials { justify-content: center; }
  .hero__stage { order: 1; }
  .hero__shoe { width: min(76vw, 440px); }
  .hero__rail { order: 3; margin-top: 2rem; }   /* clear gap below the Buy button */
  .switcher__dot { width: 34px; height: 34px; }
  .switcher__add { width: 34px; height: 34px; font-size: 1.1rem; }
  .hero__scroll { display: none; }      /* hide scroll cue on compact mobile hero */
  .about { grid-template-columns: 1fr; }
  .about__media { order: 1; }   /* foto + svg blob di ATAS */
  .about__body  { order: 2; }   /* deskripsi di BAWAH */
  .tech-story__head { margin-left: 0; }
  .tech-story__head h2 { font-size: 3.6rem; }
  .tech-story__word { font-size: 11rem; }
  .tech-story__layout { grid-template-columns: 1fr; }
  .tech-story__stage { min-height: min(78vw, 520px); }
  .tech-story__panel { max-width: 560px; }
  .movement { min-height: auto; grid-template-columns: 1fr; }
  .movement__visual { min-height: 68svh; }
  .movement__photo { height: 108%; transform: translateY(-4%); object-position: center 58%; }
  .movement__content { padding: 5rem 1.4rem 7rem; }
  .movement__content::before { top: 2.4rem; width: 100px; height: 6px; }
  .movement__title { font-size: clamp(4rem, 20vw, 7.5rem); }
  .movement__strip { left: 0; }
  .contact::after { font-size: 16rem; }
}
@media (max-width: 560px) {
  .features__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr; }
  .g-card--wide { grid-column: span 1; }
  .contact__form { flex-direction: column; }
  .about__stats { flex-wrap: wrap; }
  .prod { flex: 0 0 82vw; width: 82vw; }
  .tech-story__stage { min-height: 320px; }
  .tech-story__head h2 { font-size: 2.8rem; }
  .tech-story__orbit { width: 70%; box-shadow: 0 0 0 28px rgba(255,255,255,0.025), 0 0 0 56px rgba(255,255,255,0.018); }
  .tech-point { width: 42px; height: 42px; font-size: 0.62rem; }
  .tech-point--upper { top: 27%; left: 29%; }
  .tech-point--foam { top: 54%; left: 52%; }
  .tech-point--grip { top: 64%; right: 8%; }
  .contact::after { font-size: 11rem; }
  .movement__visual { min-height: 58svh; }
  .movement__strip span { padding: 1rem 0.55rem; font-size: 0.56rem; letter-spacing: 0.05em; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
