/* ===== Tokens ===== */
:root {
  --canvas: #0c0a08;
  --panel: #17140f;
  --panel-2: #1f1a12;
  --accent: #f6c90e;
  --accent-hover: #ffd93d;
  --accent-muted: rgba(246, 201, 14, 0.18);
  --text-secondary: #b8ada0;
  --text-primary: #f5f1ea;
  --tshadow: 0 1px 2px rgba(5, 5, 10, .95), 0 3px 12px rgba(5, 5, 10, .78), 0 10px 44px rgba(5, 5, 10, .8);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
  --font-display: "Archivo Black", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html, body { overflow-y: visible; overflow-x: hidden; overflow-x: clip; }

html {
  background: var(--canvas);
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--accent);
  color: var(--canvas);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  z-index: 200;
  transition: top .2s var(--ease-soft);
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===== Ambient environment layer ===== */
.env-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 20% 0%, rgba(246, 201, 14, .05), transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 100%, rgba(246, 201, 14, .04), transparent 60%);
  animation: env-drift 70s ease-in-out infinite alternate;
}
@keyframes env-drift {
  from { opacity: .7; }
  to { opacity: 1; }
}

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 6vw;
  background: rgba(12, 10, 8, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav__logo img { height: 32px; width: auto; }
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--canvas);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s var(--ease-soft), transform .2s var(--ease-soft);
}
.nav__cta:hover { background: var(--accent-hover); transform: translateY(-1px); }

/* ===== Hero ===== */
.hero-pin {
  position: relative;
  height: calc(100vh - 68px);
  height: calc(100svh - 68px);
  min-height: 460px;
}
.hero-stage {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
  background: var(--canvas);
}
.hero-media { position: absolute; inset: 0; }
.poster {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 1;
  transition: opacity .6s var(--ease-soft);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .6s var(--ease-soft);
  will-change: transform;
  transform: translateZ(0);
}
.hero-stage.video-ready .hero-video { opacity: 1; }
.hero-stage.video-ready .poster { opacity: 0; }

.scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 120% 90% at 50% 45%, rgba(10, 8, 6, 0) 35%, rgba(10, 8, 6, .62) 100%);
}

.ring-wrap {
  position: absolute;
  left: 50%;
  bottom: 44px;
  transform: translateX(-50%);
  color: var(--accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.ring { width: 40px; height: 40px; }
.ring circle { transition: stroke-dashoffset .1s linear; }
.ring-wrap .cue-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--text-secondary);
  text-transform: uppercase;
}
.chevron { width: 22px; height: 22px; animation: chevron-bob 1.8s ease-in-out infinite; }
@keyframes chevron-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.hero-stage.video-ready .ring-wrap { display: none; }

/* Mute/unmute control: video autoplays muted (required by every browser),
   this is the only way sound ever turns on, so it must stay reachable and
   never hide behind the CTA bar or the scrim. */
.sound-toggle {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .28);
  background: rgba(12, 10, 8, .5);
  backdrop-filter: blur(6px);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .2s var(--ease-soft), background-color .2s var(--ease-soft);
}
.sound-toggle:hover { border-color: var(--accent); }
.sound-toggle .icon-unmuted { display: none; }
.sound-toggle[aria-pressed="true"] .icon-muted { display: none; }
.sound-toggle[aria-pressed="true"] .icon-unmuted { display: block; }
.hero-stage:not(.video-ready) .sound-toggle { display: none; }

/* CTA bar over the hero: the footage already carries the brand's own
   headline and logo, so this is just the two actions, docked low so they
   never sit over the centered badge in the video. */
.hero-cta-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 64px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 0 6vw;
}
.hero-cta-bar .btn { text-shadow: var(--tshadow); }
@media (max-width: 720px) {
  .hero-cta-bar { bottom: 28px; gap: 12px; }
  .sound-toggle { top: 16px; right: 16px; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  padding: 15px 26px;
  border-radius: 10px;
  text-decoration: none;
  text-shadow: none;
  transition: background-color .2s var(--ease-soft), transform .2s var(--ease-soft), border-color .2s var(--ease-soft);
}
.btn--primary { background: var(--accent); color: var(--canvas); }
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--text-primary); border: 1.5px solid rgba(255, 255, 255, .28); }
.btn--ghost:hover { border-color: var(--accent); }
@media (pointer: coarse) {
  .btn { min-height: 44px; }
}

.hero-stage.video-failed .hero-video { display: none; }
.hero-stage.video-failed .poster { opacity: 1; }

/* ===== Static hero (reduced motion only) ===== */
.static-hero {
  display: none;
  position: relative;
  min-height: 92vh;
  background-image: var(--static-bg, none);
  background-size: cover;
  background-position: center;
  align-items: flex-end;
  padding: 12vh 6vw 60px;
}
.static-hero .scrim { background: radial-gradient(ellipse 120% 90% at 50% 70%, rgba(10, 8, 6, .18) 0%, rgba(10, 8, 6, .82) 100%); }
.static-hero__inner { position: relative; max-width: 640px; text-shadow: var(--tshadow); }
.static-hero h1 { font-family: var(--font-display); font-size: clamp(34px, 8vw, 52px); line-height: 1.08; margin: 0 0 16px; }
.static-hero p { font-size: 17px; line-height: 1.6; color: var(--text-secondary); margin: 0 0 26px; max-width: 40ch; }

@media (prefers-reduced-motion: reduce) {
  .hero-pin { display: none; }
  .static-hero { display: flex; }
}
@media (max-height: 560px) {
  .ring-wrap { display: none; }
}

/* ===== Sections shared ===== */
.section { position: relative; padding: 90px 6vw; z-index: 1; }
.section--dark { background: var(--canvas); }
.section--panel { background: var(--panel); }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 52px;
  max-width: 1200px;
  margin-inline: auto;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  margin: 0;
}
.section-head p { margin: 0; font-family: var(--font-mono); font-size: 13px; color: var(--text-secondary); }
.wrap { max-width: 1200px; margin-inline: auto; }

/* entrance choreography for below-fold content */
.in-view { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.in-view.in { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.stagger.in > *:nth-child(1) { transition-delay: 0ms; }
.stagger.in > *:nth-child(2) { transition-delay: 70ms; }
.stagger.in > *:nth-child(3) { transition-delay: 140ms; }
.stagger.in > *:nth-child(4) { transition-delay: 210ms; }
.stagger.in > *:nth-child(5) { transition-delay: 280ms; }
.stagger.in > *:nth-child(6) { transition-delay: 350ms; }
.stagger.in > *:nth-child(7) { transition-delay: 420ms; }
.stagger.in > *:nth-child(8) { transition-delay: 490ms; }
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in.retire > * { transition-delay: 0s !important; }

/* Safety net: if the scroll-triggered reveal (IntersectionObserver) never
   fires for any reason, this pure-CSS fallback guarantees the content still
   becomes visible a couple seconds after it enters the DOM. No section is
   ever permanently blank because of a JS timing issue. */
@keyframes force-reveal { to { opacity: 1; transform: none; } }
.in-view, .stagger > * { animation: force-reveal 0s 2.5s forwards; }

/* ===== Divider (signature: self-drawing diamond plate) ===== */
.divider { position: relative; height: 64px; overflow: hidden; }
.divider svg { width: 100%; height: 100%; display: block; }
.divider path {
  stroke: var(--accent);
  stroke-width: 1;
  fill: none;
  opacity: .5;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  transition: stroke-dashoffset 1.4s var(--ease);
}
.divider.in path { stroke-dashoffset: 0; }
@keyframes force-draw { to { stroke-dashoffset: 0; } }
.divider path { animation: force-draw 0s 2.5s forwards; }

/* ===== Categories ===== */
.cat-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 640px) { .cat-grid { grid-template-columns: 1fr 1fr; } }
.cat-card { text-decoration: none; color: inherit; display: block; }
.cat-card__inner { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 24px; }
.cat-card h3 { font-family: var(--font-body); font-weight: 700; font-size: 20px; margin: 0; }
.cat-card p { margin: 8px 0 0; color: var(--text-secondary); font-size: 15px; line-height: 1.6; max-width: 38ch; }
.cat-card .more {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
}
.cat-card .more .arrow { color: var(--accent); transition: transform .2s var(--ease-soft); }
.cat-card:hover .more .arrow { transform: translateX(4px); }

/* ===== Products ===== */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 32px 28px; }
.prod-card { display: flex; flex-direction: column; }
.prod-card__img {
  aspect-ratio: 1 / 1;
  background: var(--panel);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prod-card__img img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .35s var(--ease-soft); }
.prod-card:hover .prod-card__img img { transform: scale(1.04); }
.prod-card__name { font-weight: 600; font-size: 15px; margin-top: 16px; }
.prod-card__app { font-family: var(--font-mono); font-size: 12px; color: var(--text-secondary); margin-top: 4px; }
.prod-card .btn { margin-top: 14px; justify-content: center; font-size: 14px; padding: 12px; width: 100%; }

/* ===== Interactive moment: seat the part ===== */
.seat {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 860px) { .seat { grid-template-columns: 1fr 1fr; } }
.seat-copy h2 { margin: 0 0 14px; }
.seat-copy p { color: var(--text-secondary); font-size: 16px; line-height: 1.6; max-width: 42ch; margin: 0 0 8px; }
.seat-reveal {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.seat-reveal.on { opacity: 1; transform: none; }

.seat-widget {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 50px 20px;
  background: var(--panel);
  border-radius: 20px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}
.seat-track {
  position: relative;
  width: 64px;
  height: 160px;
}
.seat-bolt {
  position: absolute;
  left: 50%;
  top: 0;
  width: 46px;
  height: 46px;
  margin-left: -23px;
  border-radius: 8px;
  background: linear-gradient(160deg, #fff6d8, var(--accent) 55%, #a9840a);
  box-shadow: 0 6px 18px rgba(246, 201, 14, .25);
  transform: translateY(calc(var(--p, 0) * 96px));
  transition: transform .08s linear;
}
.seat-socket {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 54px;
  height: 20px;
  margin-left: -27px;
  border-radius: 6px;
  background: #2a2418;
  border: 1px solid rgba(246, 201, 14, .35);
}
.seat-flash {
  position: absolute;
  left: 50%;
  bottom: 16px;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  filter: blur(1px);
  box-shadow: 0 0 40px 18px rgba(246, 201, 14, .6);
}
.seat-flash.pop { animation: seat-flash-pop .5s var(--ease-soft); }
@keyframes seat-flash-pop {
  0% { opacity: 0; transform: translateY(0) scale(.4); }
  35% { opacity: 1; transform: translateY(0) scale(1.6); }
  100% { opacity: 0; transform: translateY(0) scale(2.4); }
}
.seat-hint { font-family: var(--font-mono); font-size: 12px; color: var(--text-secondary); text-align: center; }
.seat-btn {
  width: 100%;
  max-width: 220px;
  padding: 14px 20px;
  border-radius: 12px;
  border: 1.5px solid rgba(246, 201, 14, .4);
  background: rgba(246, 201, 14, .06);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 600;
  text-align: center;
  touch-action: none;
}
.seat-btn:active { background: rgba(246, 201, 14, .14); }

/* ===== Reviews ===== */
.review-top { display: flex; align-items: center; gap: 14px; background: var(--panel); border-radius: 14px; padding: 18px 24px; margin-bottom: 44px; }
.review-score { font-family: var(--font-display); font-size: 30px; }
.review-stars { color: var(--accent); letter-spacing: 2px; }
.review-count { font-family: var(--font-mono); font-size: 12px; color: var(--text-secondary); }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.review-card { background: var(--panel); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.review-head { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #1a1a1a; flex-shrink: 0; }
.review-name { font-weight: 600; font-size: 14px; }
.review-meta { font-family: var(--font-mono); font-size: 11px; color: var(--text-secondary); }
.review-stars-sm { color: var(--accent); letter-spacing: 2px; font-size: 13px; }
.review-text { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text-secondary); }

/* ===== Brands ===== */
.brand-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 36px; }
.brand-list span { font-weight: 600; letter-spacing: .04em; color: var(--text-secondary); font-size: 15px; }

/* ===== FAQ ===== */
.faq { max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; gap: 4px; }
.faq-item { border-top: 1px solid rgba(255, 255, 255, .12); }
.faq-item:last-child { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}
.faq-q .plus { color: var(--accent); font-family: var(--font-mono); transition: transform .25s var(--ease-soft); flex-shrink: 0; }
.faq-item[data-open="true"] .plus { transform: rotate(45deg); }
.faq-a {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease-soft), padding .35s var(--ease-soft);
  padding-bottom: 0;
}
.faq-item[data-open="true"] .faq-a { max-height: 240px; padding-bottom: 20px; }

/* ===== Location ===== */
.loc-grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: stretch; }
.loc-info { flex: 1 1 340px; }
.loc-info h2 { margin: 0 0 20px; }
.loc-list { display: flex; flex-direction: column; gap: 16px; font-family: var(--font-mono); font-size: 15px; color: var(--text-secondary); }
.loc-list li { list-style: none; display: flex; gap: 12px; align-items: flex-start; }
.loc-list li::before { content: ""; width: 16px; height: 1px; background: var(--accent); margin-top: 10px; flex-shrink: 0; }
.loc-list { padding: 0; margin: 0; }
.loc-map { flex: 1 1 400px; min-width: 280px; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); }
.loc-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ===== Footer ===== */
.footer {
  position: relative;
  padding: 60px 6vw 32px;
  background:
    repeating-linear-gradient(45deg, rgba(246, 201, 14, .07) 0, rgba(246, 201, 14, .07) 1px, transparent 1px, transparent 13px),
    repeating-linear-gradient(-45deg, rgba(246, 201, 14, .07) 0, rgba(246, 201, 14, .07) 1px, transparent 1px, transparent 13px),
    var(--canvas);
}
.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer__top img { height: 34px; width: auto; }
.footer__rule { height: 1px; background: rgba(255, 255, 255, .1); margin: 28px 0 20px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--text-secondary); }

/* ===== Particles (whisper level) ===== */
.particle-field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  animation: particle-drift 14s ease-in-out infinite;
  animation-delay: -4s;
}
@keyframes particle-drift {
  0% { opacity: 0; transform: translateY(0) translateX(0); }
  10% { opacity: .35; }
  90% { opacity: .2; }
  100% { opacity: 0; transform: translateY(-120px) translateX(14px); }
}

/* pause everything on hidden tabs */
body.paused *, body.paused *::before, body.paused *::after {
  animation-play-state: paused !important;
}

/* reduced motion: final states, no drives */
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .001ms !important; animation-duration: .001ms !important; }
  .in-view, .stagger > *, .divider path, .faq-a { opacity: 1; transform: none; }
  .divider path { stroke-dashoffset: 0; }
  .particle-field { display: none; }
}
