/* STRIDE — premium athletic landing
   Vanilla port of motionsites:nike-premium-landing
   Brand placeholder, prefix str- only.
*/

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; }
body.str-body {
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: #050505;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }

/* ---------- Demo banner ---------- */
.str-demo-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  background: rgba(0,0,0,0.78);
  color: #ffd0b8;
  font-size: 11.5px; letter-spacing: 0.02em;
  padding: 8px 14px; text-align: center;
  border-bottom: 1px solid rgba(218,58,22,0.4);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-weight: 500;
}

/* ---------- Bubble nav (top-right) ---------- */
.str-bubble-nav {
  position: fixed; top: 48px; right: 32px; z-index: 60;
  display: flex; align-items: center; gap: 12px;
}
.str-bubble {
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff; color: #111;
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform 0.22s ease, background 0.3s ease;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
}
.str-bubble:hover { transform: scale(1.06); }
.str-bubble-logo { font-weight: 700; font-size: 18px; }
.str-logo-mark { display: inline-flex; align-items: center; }
.str-logo-tick { color: #DA3A16; margin-left: 1px; transform: rotate(-12deg) translateY(-2px); display: inline-block; }
.str-bubble-toggle { flex-direction: column; gap: 6px; }
.str-menu-line {
  width: 20px; height: 2px; background: #111; border-radius: 2px;
  transition: transform 0.32s cubic-bezier(.7,.0,.3,1), width 0.3s ease;
}
.str-menu-line-short { width: 14px; }
.str-bubble-toggle:hover .str-menu-line-short { width: 20px; }
.str-bubble-toggle.is-open .str-menu-line:not(.str-menu-line-short) {
  transform: translateY(4px) rotate(45deg);
}
.str-bubble-toggle.is-open .str-menu-line-short {
  transform: translateY(-4px) rotate(-45deg); width: 20px;
}

/* ---------- Bubble overlay (full-screen pill menu) ---------- */
.str-bubble-overlay {
  position: fixed; inset: 0; z-index: 55;
  display: none;
  align-items: center; justify-content: center;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: 96px 24px 48px;
}
.str-bubble-overlay.is-open { display: flex; }
.str-pill-list {
  list-style: none; display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: center; max-width: 880px;
}
.str-pill {
  display: inline-block;
  padding: 18px 38px;
  border-radius: 9999px;
  background: #fff; color: #111;
  font-weight: 600; font-size: 26px; letter-spacing: -0.01em;
  border: 1px solid rgba(0,0,0,0.06);
  transform: scale(0) rotate(0deg);
  opacity: 0;
  transition: background 0.3s ease, color 0.3s ease, transform 0.35s ease;
  will-change: transform, opacity;
}
.str-bubble-overlay.is-open .str-pill {
  animation: strPillPop 0.55s cubic-bezier(.34,1.56,.64,1) forwards;
}
.str-bubble-overlay.is-open .str-pill[data-i="0"] { animation-delay: 0.00s; }
.str-bubble-overlay.is-open .str-pill[data-i="1"] { animation-delay: 0.12s; }
.str-bubble-overlay.is-open .str-pill[data-i="2"] { animation-delay: 0.24s; }
.str-bubble-overlay.is-open .str-pill[data-i="3"] { animation-delay: 0.36s; }
.str-bubble-overlay.is-open .str-pill[data-i="4"] { animation-delay: 0.48s; }
@keyframes strPillPop {
  0%   { transform: scale(0) rotate(0deg);   opacity: 0; }
  60%  { transform: scale(1.08) rotate(var(--rot,0deg)); opacity: 1; }
  100% { transform: scale(1) rotate(var(--rot,0deg));    opacity: 1; }
}
.str-pill[data-rot="-8"] { --rot: -8deg; }
.str-pill[data-rot="8"]  { --rot:  8deg; }
.str-pill:hover { transform: scale(1.06) rotate(0deg) !important; }
.str-pill-red:hover    { background: #DA3A16; color: #fff; }
.str-pill-blue:hover   { background: #1d4ed8; color: #fff; }
.str-pill-green:hover  { background: #059669; color: #fff; }
.str-pill-amber:hover  { background: #f59e0b; color: #111; }
.str-pill-violet:hover { background: #7c3aed; color: #fff; }

/* ---------- Hero section ---------- */
.str-stage { position: relative; }
.str-screen { position: relative; width: 100%; min-height: 100dvh; overflow: hidden; }
.str-hero {
  position: sticky; top: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: space-between;
  background: #060606;
}
.str-spotlight-stage {
  position: absolute; inset: 0; z-index: 0;
  background: #000; pointer-events: none; overflow: hidden;
}
/* Video plays UNDER the SVG image — revealed only at cursor "spotlight hole" */
.str-spotlight-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 1; z-index: 1;
  filter: saturate(1.10) contrast(1.05);
}
.str-spotlight-video.is-active { opacity: 1; filter: saturate(1.25) contrast(1.12); }

/* Mesh disabled (we use real sneaker images now) */
.str-mesh { display: none; }
.str-mesh-1 {
  background:
    radial-gradient(1200px 700px at 18% 28%, rgba(218,58,22,0.55), transparent 60%),
    radial-gradient(900px 600px at 82% 70%, rgba(255,90,31,0.40), transparent 65%),
    radial-gradient(700px 500px at 50% 50%, rgba(255,138,80,0.22), transparent 70%),
    linear-gradient(135deg, #0a0a0a 0%, #1a0e08 55%, #050505 100%);
  filter: saturate(1.05);
  animation: strMeshDrift 22s ease-in-out infinite alternate;
}
.str-mesh-2 {
  background:
    radial-gradient(1100px 700px at 70% 38%, rgba(218,58,22,0.50), transparent 60%),
    radial-gradient(900px 700px at 28% 72%, rgba(255,138,80,0.38), transparent 65%),
    radial-gradient(600px 500px at 50% 50%, rgba(255,90,31,0.18), transparent 70%),
    linear-gradient(120deg, #080808 0%, #15100c 100%);
  animation: strMeshDrift 28s ease-in-out infinite alternate-reverse;
}
@keyframes strMeshDrift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(-2%,1%,0) scale(1.04); }
  100% { transform: translate3d(2%,-1%,0) scale(1.06); }
}
/* SVG holds the sneaker IMAGE on top of video.
   mix-blend-mode: screen makes black background TRANSPARENT to the video underneath,
   so video plays as always-visible backdrop while sneaker floats on top.
   Spotlight cursor mask still adds a subtle reveal accent. */
.str-spotlight-svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 2;
  opacity: 1;
  mix-blend-mode: screen;
}
.str-spotlight-svg image {
  width: 100%; height: 100%;
}
/* Bottom gradient for hero text legibility (over sneaker image) */
.str-spotlight-stage::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 60%;
  pointer-events: none; z-index: 5;
  background: linear-gradient(to top,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.55) 25%,
    rgba(0,0,0,0.20) 60%,
    rgba(0,0,0,0) 100%);
}
/* Top fade for nav legibility */
.str-spotlight-stage::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 30%;
  pointer-events: none; z-index: 5;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.50) 0%,
    rgba(0,0,0,0.20) 50%,
    rgba(0,0,0,0) 100%);
}

/* Hover capture regions */
.str-spot-hover {
  position: absolute; z-index: 5; cursor: crosshair;
}
#strHover1 { left: 0; bottom: 0; width: 100%; height: 75%; }
.str-spot-hover-a {
  right: calc(8% + 80px); bottom: 12%;
  width: calc(50% - 50px); height: calc(50% + 200px);
}
.str-spot-hover-b {
  left: calc(8% + 180px); top: calc(20% + 160px);
  width: calc(15% + 240px); height: calc(22.5% + 130px);
  transform: translateY(-100%);
}

/* Hero header */
.str-hero-header {
  position: relative; z-index: 10;
  display: flex; justify-content: center;
  padding: 150px 0 0;
}
.str-wordmark { display: inline-flex; }

.str-hero-main {
  position: relative; z-index: 10;
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end;
  padding: 0 16px 96px;
  text-align: center;
}
.str-hero-headline {
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.018em;
  font-size: clamp(20px, 4.4vw, 56px);
  transform: translateY(40px);
  max-width: 1200px;
}
.str-hero-headline .str-line { display: block; }
.str-italic, .str-hero-headline .str-italic {
  font-family: "Instrument Serif", serif;
  font-style: italic; font-weight: 400;
  padding-right: 0.18em; /* italic glyph tail safety */
}

/* ---------- Innovation section ---------- */
.str-innovation {
  position: relative; z-index: 2;
  background: #000;
  box-shadow: 0 -20px 50px rgba(0,0,0,0.5);
}
.str-spec-card {
  position: absolute;
  left: calc(8% + 200px); top: 20%;
  z-index: 20;
  width: 320px;
  padding: 26px 30px 24px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.16);
  backdrop-filter: blur(80px); -webkit-backdrop-filter: blur(80px);
}
.str-spec-row {
  display: flex; align-items: flex-end; gap: 10px;
  margin-bottom: 14px;
}
.str-spec-num {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  color: #DA3A16;
  font-size: 76px; line-height: 0.95; letter-spacing: -0.02em;
}
.str-spec-pct { font-size: 0.6em; }
.str-spec-graph { width: 130px; height: 64px; opacity: 0.95; }
.str-spec-title {
  font-family: "Instrument Serif", serif;
  color: #fff;
  font-size: 15px; letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 6px; line-height: 1.2;
  font-weight: 400;
}
.str-spec-sub {
  font-family: "Instrument Serif", serif;
  color: rgba(255,255,255,0.62);
  font-size: 13px;
}

.str-innov-headline {
  position: absolute; left: 8%; bottom: 12%;
  z-index: 20; max-width: 540px;
}
.str-innov-headline h2 {
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.05; letter-spacing: -0.02em;
  display: flex; flex-direction: column;
  font-weight: 500;
}
.str-i-line { display: block; }
.str-i-line.str-sans { font-family: "Manrope", sans-serif; font-weight: 500; }
.str-i-line.str-serif {
  font-family: "Instrument Serif", serif; font-weight: 400;
  padding-top: 4px; padding-right: 0.15em;
}
.str-i-line.str-serif em { font-style: italic; }

.str-cta-tag {
  position: absolute; right: calc(8% + 80px); bottom: 12%;
  z-index: 20;
  display: flex; flex-direction: column; align-items: center;
}
.str-cta-tag-top {
  background: #fff; width: 200px; padding: 8px 0;
  display: flex; align-items: center; justify-content: center;
}
.str-cta-tag-top span {
  color: #000; font-family: "Instrument Serif", serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; text-align: center;
}
.str-cta-tag-bot {
  background: #DA3A16; width: 200px; height: 110px;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Drops grid ---------- */
.str-drops {
  position: relative; z-index: 3;
  background: #060606;
  padding: 120px 6vw 100px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.str-drops-grid {
  display: grid; gap: 28px;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1480px; margin: 0 auto;
}
.str-drop-card {
  background: #0c0c0c;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  overflow: hidden;
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.2,1), border-color 0.3s ease;
}
.str-drop-card.is-revealed { opacity: 1; transform: translateY(0); }
.str-drop-card:hover { border-color: rgba(218,58,22,0.55); }
.str-drop-img {
  aspect-ratio: 4/3; width: 100%;
  transition: transform 0.6s ease;
}
.str-drop-card:hover .str-drop-img { transform: scale(1.04); }
/* TRACK — green running shoe (Nike Free style) */
.str-drop-img-1 {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.45) 100%),
    url("https://images.unsplash.com/photo-1606107557195-0e29a4b5b4aa?w=1200&q=85");
  background-size: cover; background-position: center;
}
/* STREET — generic gray/white daily trainer */
.str-drop-img-2 {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.45) 100%),
    url("https://images.unsplash.com/photo-1605034313761-73ea4a0cfbf3?w=1200&q=85");
  background-size: cover; background-position: center; background-color: #f5f5f5;
}
/* LIFE — maroon suede low-top (lifestyle/studio) */
.str-drop-img-3 {
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.45) 100%),
    url("https://images.unsplash.com/photo-1525966222134-fcfa99b8ae77?w=1200&q=85");
  background-size: cover; background-position: center;
}
.str-drop-meta { padding: 22px 24px 28px; }
.str-drop-tag {
  font-size: 11px; letter-spacing: 0.18em;
  color: #DA3A16; font-weight: 700;
  text-transform: uppercase;
}
.str-drop-title {
  font-size: 26px; font-weight: 700; letter-spacing: -0.02em;
  margin: 8px 0 10px;
}
.str-drop-desc {
  color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.55;
  margin-bottom: 16px;
}
.str-drop-price {
  font-family: "Instrument Serif", serif; font-style: italic;
  font-size: 20px; color: #fff;
}

/* ---------- Marquee ---------- */
.str-marquee {
  background: #DA3A16; color: #fff;
  overflow: hidden;
  padding: 22px 0;
  position: relative; z-index: 4;
}
.str-marquee-track {
  display: inline-flex; white-space: nowrap;
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 700; letter-spacing: -0.02em;
  animation: strMarquee 28s linear infinite;
}
.str-marquee-track .str-italic {
  font-family: "Instrument Serif", serif; font-weight: 400;
  padding-right: 0.18em;
}
@keyframes strMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Footer ---------- */
.str-foot {
  background: #050505;
  padding: 110px 6vw 28px;
  position: relative; z-index: 5;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.str-foot-grid {
  display: grid; gap: 60px;
  grid-template-columns: 1.2fr 1.8fr;
  max-width: 1480px; margin: 0 auto;
}
.str-foot-cta {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.7,.2,1);
}
.str-foot-cta.is-revealed { opacity: 1; transform: translateY(0); }
.str-foot-h {
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.0; font-weight: 600; letter-spacing: -0.025em;
  margin-bottom: 22px;
}
.str-foot-h em {
  font-family: "Instrument Serif", serif;
  font-style: italic; font-weight: 400;
  padding-right: 0.12em;
}
.str-foot-p {
  color: rgba(255,255,255,0.62); font-size: 15px; line-height: 1.6;
  max-width: 420px; margin-bottom: 28px;
}
.str-foot-btn {
  display: inline-block;
  background: #DA3A16; color: #fff;
  padding: 16px 32px; border-radius: 9999px;
  font-weight: 700; font-size: 15px; letter-spacing: 0.02em;
  transition: background 0.25s ease, transform 0.25s ease;
}
.str-foot-btn:hover { background: #ff5022; transform: translateY(-2px); }
.str-foot-cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.str-foot-col h4 {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: #fff; margin-bottom: 16px;
}
.str-foot-col ul { list-style: none; }
.str-foot-col li {
  color: rgba(255,255,255,0.58); font-size: 14px; padding: 6px 0;
  cursor: pointer; transition: color 0.2s ease;
}
.str-foot-col li:hover { color: #fff; }
.str-foot-bar {
  margin-top: 80px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  font-size: 11.5px; color: rgba(255,255,255,0.4); letter-spacing: 0.02em;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .str-bubble-nav { top: 56px; right: 18px; gap: 10px; }
  .str-bubble { width: 48px; height: 48px; }
  .str-pill { font-size: 22px; padding: 14px 30px; }
  .str-hero-header { padding-top: 120px; }
  .str-hero-headline { font-size: clamp(20px, 5.4vw, 38px); }
  .str-spec-card {
    left: 5%; top: auto; bottom: 56%; width: calc(90% - 0px);
    max-width: 360px;
  }
  .str-innov-headline { left: 5%; right: 5%; bottom: 8%; max-width: none; }
  .str-cta-tag { left: 5%; right: auto; bottom: 4%; }
  .str-cta-tag-top, .str-cta-tag-bot { width: 170px; }
  .str-cta-tag-bot { height: 86px; }
  .str-drops { padding: 80px 5vw 60px; }
  .str-drops-grid { grid-template-columns: 1fr; gap: 20px; }
  .str-foot { padding: 80px 5vw 24px; }
  .str-foot-grid { grid-template-columns: 1fr; gap: 48px; }
  .str-foot-cols { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .str-spot-hover-a, .str-spot-hover-b {
    right: 0; left: 0; width: 100%; height: 50%;
    bottom: 0; top: auto; transform: none;
  }
  .str-spot-hover-b { top: 0; bottom: auto; }
}
@media (max-width: 560px) {
  .str-demo-banner { font-size: 10.5px; padding: 7px 10px; }
  .str-foot-h { font-size: clamp(32px, 8vw, 44px); }
  .str-foot-cols { grid-template-columns: 1fr 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .str-mesh-1, .str-mesh-2 { animation: none !important; }
  .str-marquee-track { animation: none !important; transform: translateX(0); }
  .str-spotlight-video { display: none; }
  .str-pill { transform: scale(1) rotate(0deg) !important; opacity: 1 !important; }
  .str-bubble-overlay.is-open .str-pill { animation: none !important; }
  .str-drop-card, .str-foot-cta { opacity: 1 !important; transform: none !important; }
}
