:root {
  --bg: #f7f6f4;
  --bg-elevated: #ffffff;
  --surface: #ffffff;
  --text: #14131a;
  --muted: #3d3b44;
  --border: rgba(20,19,26,0.10);
  --scrim: rgba(255, 255, 255, 0.70);
  --hero-scrim: linear-gradient(90deg, rgba(255,255,255,0.74) 0%, rgba(255,255,255,0.34) 46%, rgba(255,255,255,0.04) 72%);
  --accent: #f9b4cb;
  --accent-soft: #d5bbc4;
  --accent-on-bg: #ae7e8e;
  --accent-alt: #759cab;
  --on-accent: #0c0b10;
  --hero-glow: rgba(249, 180, 203, 0.16);
  --hero-glow-alt: rgba(117, 156, 171, 0.12);
  --hero-gradient-a: #f7f6f4;
  --hero-gradient-b: #ffffff;
  --cta-gradient-a: #f9b4cb;
  --cta-gradient-b: #759cab;
  --font-display: "DM Sans", "Sora", "Arial Narrow", sans-serif;
  --font-body: "Syne", "Manrope", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; background: var(--bg); color: var(--text); }
body { font-family: var(--font-body); overflow-x: hidden; }

body.guided-mode-active {
  cursor: ns-resize;
}

#loader {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  gap: 1rem;
  place-content: center;
  background: #000;
  transition: opacity 0.4s ease;
}

.loader-brand {
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  font-size: clamp(1.8rem, 5vw, 3rem);
}

.loader-track {
  width: min(70vw, 460px);
  height: 6px;
  border-radius: 999px;
  background: var(--surface);
}

#loader-bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-alt), var(--accent));
}

#loader-percent {
  text-align: right;
  color: var(--muted);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  mix-blend-mode: difference;
}

.site-header a,
.brand,
.brand-text {
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.78rem;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  width: auto;
  height: 2.5rem;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.25));
}

.experience-controls { position: fixed; inset: 0; pointer-events: none; z-index: 55; }

.experience-button {
  position: fixed;
  bottom: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  width: 3.25rem;
  height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font: inherit;
  font-size: 1.2rem;
  line-height: 1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05)),
    rgba(10, 9, 15, 0.8);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  pointer-events: auto;
}

.experience-button[data-experience-slot="guided"] { left: 1.25rem; }
.experience-button[data-experience-slot="sound"] { right: 1.25rem; }
.experience-button[data-experience-active="true"] {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.hero-standalone {
  min-height: 100svh;
  padding: clamp(1.4rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2rem;
  position: relative;
  z-index: 15;
  perspective: 1600px;
  background:
    radial-gradient(circle at 18% 22%, var(--hero-glow) 0%, transparent 34%),
    radial-gradient(circle at 82% 16%, var(--hero-glow-alt) 0%, transparent 30%),
    linear-gradient(160deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 34%),
    linear-gradient(135deg, var(--hero-gradient-a) 0%, var(--hero-gradient-b) 100%);
}

.hero-depth-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.depth-orb,
.depth-ring,
.depth-beam {
  position: absolute;
  display: block;
  will-change: transform;
}

.depth-orb {
  border-radius: 999px;
  filter: blur(8px);
}

.depth-orb-a {
  width: min(28vw, 22rem);
  height: min(28vw, 22rem);
  top: 10vh;
  left: 8vw;
  background: radial-gradient(circle, rgba(246, 107, 162, 0.22), rgba(246, 107, 162, 0.02) 60%, transparent 72%);
  transform: translate3d(calc(var(--depth-x, 0) * -18px), calc(var(--depth-y, 0) * -24px), 90px);
}

.depth-orb-b {
  width: min(22vw, 18rem);
  height: min(22vw, 18rem);
  right: 10vw;
  bottom: 16vh;
  background: radial-gradient(circle, rgba(244, 177, 77, 0.18), rgba(244, 177, 77, 0.02) 58%, transparent 72%);
  transform: translate3d(calc(var(--depth-x, 0) * 24px), calc(var(--depth-y, 0) * 16px), 70px);
}

.depth-ring {
  width: min(42vw, 38rem);
  height: min(42vw, 38rem);
  right: 18vw;
  top: 8vh;
  border-radius: 999px;
  border: 1px solid var(--border);
  box-shadow: inset 0 0 50px rgba(255, 255, 255, 0.04);
  transform: rotate(18deg) translate3d(calc(var(--depth-x, 0) * 12px), calc(var(--depth-y, 0) * -12px), 20px);
}

.depth-beam {
  inset: 12vh auto auto 42vw;
  width: min(28vw, 24rem);
  height: 65vh;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
  clip-path: polygon(38% 0, 64% 0, 100% 100%, 0 100%);
  opacity: 0.25;
  transform: translate3d(calc(var(--depth-x, 0) * 20px), calc(var(--depth-y, 0) * -10px), 10px);
}

.hero-standalone > *:not(.hero-cinematic) {
  position: relative;
  z-index: 2;
}

.hero-cinematic,
.section-cinematic {
  position: absolute;
  overflow: hidden;
  border-radius: 1.6rem;
  border: 1px solid var(--border);
  background:
    linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
    rgba(5, 8, 10, 0.34);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
  transition: transform 180ms ease-out;
  will-change: transform;
}

.hero-cinematic::after,
.section-cinematic::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 10, 15, 0.04), rgba(8, 10, 15, 0.28)),
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.14), transparent 28%);
}

.hero-cinematic-full {
  inset: 0;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  background: rgba(0, 0, 0, 0.12);
}

.hero-cinematic-full::after {
  background: var(--hero-scrim);
}

.hero-frame-glare {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at calc(52% + var(--depth-x, 0) * 16%), calc(28% + var(--depth-y, 0) * 14%), rgba(255, 255, 255, 0.22), transparent 24%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.06), transparent 40%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-cinematic-card {
  inset: 8vh 5vw 12vh 49vw;
  transform-style: preserve-3d;
  transform:
    translate3d(calc(var(--depth-x, 0) * 20px), calc(var(--scroll-shift-y, 0px) + var(--depth-y, 0) * -18px), 70px)
    rotateX(calc(var(--depth-y, 0) * -5deg))
    rotateY(calc(var(--depth-x, 0) * 7deg));
}

.hero-cinematic-card.cinematic-parallax {
  transform:
    translate3d(calc(var(--parallax-x, 0) * 20px), calc(var(--scroll-shift-y, 0px) + var(--parallax-y, 0) * -18px), 70px)
    rotateX(calc(var(--parallax-y, 0) * -5deg))
    rotateY(calc(var(--parallax-x, 0) * 7deg));
}

.section-cinematic {
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
}

.section-cinematic-card {
  width: min(36vw, 30rem);
  aspect-ratio: 4 / 3;
  max-height: 72vh;
}

.section-cinematic-card.cinematic-parallax,
.section-cinematic-center.cinematic-parallax {
  transform:
    translate3d(calc(var(--parallax-x, 0) * 16px), calc(-50% + var(--parallax-y, 0) * -14px), 48px)
    rotateX(calc(var(--parallax-y, 0) * -4deg))
    rotateY(calc(var(--parallax-x, 0) * 6deg));
}

.section-cinematic-right {
  right: 6vw;
}

.section-cinematic-left {
  left: 6vw;
}

.section-cinematic-center {
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(72vw, 56rem);
  aspect-ratio: 16 / 7;
}

.section-cinematic-full {
  inset: clamp(1rem, 3vw, 2rem) 4vw;
  transform: none;
  top: 0;
  border-radius: 2rem;
}

.section-cinematic-full::after {
  background:
    linear-gradient(180deg, rgba(7, 9, 13, 0.68), rgba(7, 9, 13, 0.38)),
    radial-gradient(circle at 50% 12%, rgba(255,255,255,0.14), transparent 24%);
}

.cinematic-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-kicker {
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--muted);
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 11vw, 12rem);
  letter-spacing: 0.03em;
  line-height: 0.95;
  overflow-wrap: anywhere;
}

.hero-sub {
  max-width: 54ch;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.3rem);
}

.hero-trust {
  max-width: 52ch;
  color: var(--accent-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.media-stage,
.canvas-wrap,
#dark-overlay,
.video-wrap {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.media-stage,
.canvas-wrap,
#dark-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.media-stage,
.canvas-wrap,
.video-wrap {
  z-index: 5;
}

.media-stage {
  clip-path: circle(0% at 50% 50%);
}

#dark-overlay {
  z-index: 10;
  background: #000;
  opacity: 0;
}

#canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.canvas-wrap {
  opacity: 1;
}

.video-wrap {
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
}

.media-stage.is-video-playback .canvas-wrap {
  opacity: 0;
}

.media-stage.is-video-playback .video-wrap {
  opacity: 1;
}

.main-media-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #0a0a0a;
}

.marquee-wrap {
  position: fixed;
  top: 74vh;
  left: 0;
  width: 100%;
  z-index: 12;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
}

.marquee-text {
  width: max-content;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 13vw, 11rem);
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.16);
}

#scroll-container {
  position: relative;
  height: var(--scroll-length, 1400vh);
  z-index: 20;
}

.scroll-section {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  padding-block: clamp(2rem, 7vh, 6rem);
  isolation: isolate;
}

.align-left { padding-left: 6vw; padding-right: 54vw; }
.align-right { padding-left: 54vw; padding-right: 6vw; }
.align-center { padding: 0 10vw; text-align: center; }

.section-inner {
  width: min(40vw, 42rem);
  max-width: 100%;
  display: grid;
  gap: 1rem;
  position: relative;
  z-index: 2;
  /* Frosted readability panel so copy stays legible over the scrub video and media. */
  background: var(--scrim);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.7rem 1.9rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.section-inner-wide {
  width: min(88vw, 1120px);
  max-width: min(88vw, 1120px);
}

.section-dramatic-intro .section-inner,
.section-closing .section-inner {
  max-width: 70ch;
  margin-inline: auto;
  text-align: center;
}

.section-dramatic-intro .section-heading {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 1.05;
}

.section-closing .section-heading {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.1;
}

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.17em;
  color: var(--muted);
  text-transform: uppercase;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.95;
}

.section-body {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: var(--muted);
  line-height: 1.6;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.stat {
  display: grid;
  gap: 0.5rem;
  padding: 1.1rem;
  border: 1px solid var(--border);
  border-radius: 1.1rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
    rgba(7, 10, 14, 0.54);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.95;
}

.stat-suffix {
  margin-left: 0.25rem;
  font-size: clamp(1rem, 2vw, 1.6rem);
  color: var(--accent-on-bg);
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.cards-grid {
  align-items: stretch;
}

.info-card {
  align-content: start;
}

.card-body {
  margin: 0;
  color: var(--text);
  font-size: clamp(0.96rem, 1.4vw, 1.15rem);
  line-height: 1.55;
}

.cta-button {
  margin-top: 0.4rem;
  justify-self: start;
  border: 1px solid var(--accent);
  padding: 0.9rem 1.3rem;
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-accent);
  background: linear-gradient(135deg, var(--cta-gradient-a), var(--cta-gradient-b));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
  width: 100%;
}

.product-card {
  display: grid;
  gap: 0.55rem;
  padding: 1rem;
  text-decoration: none;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.38);
}

.product-photo-wrap {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 1 / 1;
  background: rgba(255, 255, 255, 0.04);
}

.product-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-photo { transform: scale(1.05); }

.product-name {
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.25;
}

.product-price {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.product-cta {
  margin-top: 0.2rem;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.products-all {
  display: inline-block;
  margin-top: 1.8rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.product-categories { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-top: 1.4rem; }
.product-chip { padding: 0.5rem 1rem; border: 1px solid var(--border); border-radius: 999px; color: var(--text); text-decoration: none; font-size: 0.82rem; letter-spacing: 0.04em; transition: border-color 0.25s ease, color 0.25s ease; }
.product-chip:hover { border-color: var(--accent); color: var(--accent); }

.cinematic-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* Placeholder for planned (not-yet-generated) section media — shows the cinematic layout. */
.cinematic-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  text-align: center;
  padding: 1.5rem;
  border-radius: inherit;
  border: 1px dashed var(--border);
  background:
    radial-gradient(120% 120% at 30% 20%, var(--hero-glow), transparent 60%),
    linear-gradient(135deg, var(--accent-soft), var(--bg-elevated));
  opacity: 0.96;
}
.cinematic-placeholder-badge {
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.74rem;
  color: var(--on-accent);
  background: var(--accent);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}
.cinematic-placeholder-text {
  max-width: 30ch;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--text);
  opacity: 0.85;
}

@media (max-width: 900px) {
  .main-media-video[data-mobile-fit="cover"] {
    object-fit: cover;
  }
  .experience-button {
    bottom: 0.9rem;
    width: 3rem;
    height: 3rem;
    font-size: 1.05rem;
  }
  .experience-button[data-experience-slot="guided"] { left: 0.9rem; }
  .experience-button[data-experience-slot="sound"] { right: 0.9rem; }
  .align-left,
  .align-right,
  .align-center {
    padding-left: 7vw;
    padding-right: 7vw;
    text-align: center;
  }
  .section-inner {
    max-width: 86vw;
    width: 86vw;
    margin-inline: auto;
    background: var(--scrim);
    padding: 1rem;
    border-radius: 0.5rem;
  }
  .hero-cinematic-card,
  .section-cinematic-card,
  .section-cinematic-center,
  .section-cinematic-full {
    position: relative;
    inset: auto;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 0 auto 1rem;
  }
  .hero-standalone {
    min-height: 100svh;
    padding-top: 6rem;
    perspective: none;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .brand-logo {
    height: 2rem;
  }
  .hero-depth-grid {
    opacity: 0.75;
  }
  .cta-button { justify-self: center; }
}
