/* ==========================================================================
   Webvaun — dark agency one-pager
   Design tokens measured from reference: Urbanist, #8840F4 accent,
   #0b0b0b/#131313/#191919 surfaces, #ededed text, 10/16px radii, 1268px container
   ========================================================================== */

:root {
  --bg: #0b0b0b;
  --surface: #131313;
  --surface-2: #191919;
  --surface-3: #232323;
  --text: #ededed;
  --text-strong: #ffffff;
  --text-muted: #585858;
  --accent: #8840f4;
  --accent-soft: #cebfea;
  --cta: #f4511e;              /* orange CONTACT pill, as in the reference nav */
  --radius-sm: 10px;
  --radius-md: 16px;
  --container: 1268px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { scroll-behavior: smooth; overflow-anchor: none; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Urbanist', 'Noto Sans KR', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* Shared gradient placeholders (swap for real project images later) */
.grad-1 { background: linear-gradient(135deg, #2b1a4e 0%, #8840f4 100%); }
.grad-2 { background: linear-gradient(135deg, #101c3a 0%, #3f6df4 100%); }
.grad-3 { background: linear-gradient(135deg, #3a1030 0%, #f440a8 100%); }
.grad-4 { background: linear-gradient(135deg, #10303a 0%, #40cff4 100%); }
.grad-5 { background: linear-gradient(135deg, #1c3a10 0%, #7df440 100%); }
.grad-6 { background: linear-gradient(135deg, #3a2c10 0%, #f4b840 100%); }
.grad-7 { background: linear-gradient(135deg, #101010 0%, #6a6a6a 100%); }
.grad-8 { background: linear-gradient(135deg, #241a4e 0%, #cebfea 100%); }

.ph-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

/* Scroll reveals */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Virtual smooth scroll: native scrollbar drives it, content lerps to follow.
   JS adds .has-smooth on <html> and appends a body-height spacer. */
.has-smooth .smooth-wrapper {
  position: fixed;
  inset: 0;
  overflow: hidden;
}
.has-smooth .smooth-content { will-change: transform; }

/* ==========================================================================
   Preloader
   ========================================================================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.loader-wordmark {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}
.loader-tagline { font-size: 12px; color: var(--text); opacity: 0.8; }
.loader-track {
  width: min(280px, 60vw);
  height: 4px;
  border-radius: 9999px;
  background: var(--surface-3);
  overflow: hidden;
}
.loader-bar {
  width: 0%;
  height: 100%;
  border-radius: 9999px;
  background: var(--accent);
  transition: width 0.25s ease;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: rgba(11, 11, 11, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
/* centered logo with links either side, language + CTA pinned right */
.nav-center { display: flex; align-items: center; gap: clamp(24px, 4vw, 64px); }
.nav-link {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s ease;
}
.nav-link:hover { color: var(--text-strong); }
.nav-logo { display: flex; flex-direction: column; align-items: center; line-height: 1.1; margin: 0 clamp(8px, 2vw, 32px); }
.nav-wordmark { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: var(--text-strong); }
.nav-tagline { font-size: 10px; color: var(--text); opacity: 0.75; }
.nav-right {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-cta {
  padding: 13px 30px;
  border-radius: 9999px;
  background: var(--cta);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(244, 81, 30, 0.45); }
.nav-lang { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.lang-btn { color: var(--text-muted); transition: color 0.2s ease; }
.lang-btn.is-active, .lang-btn:hover { color: var(--text-strong); }
.lang-divider { color: var(--text-muted); }
.nav-burger { display: flex; flex-direction: column; gap: 5px; padding: 6px; }
.nav-burger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: rgba(11, 11, 11, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.menu-overlay.is-open { opacity: 1; visibility: visible; }
.menu-links { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.menu-link {
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  opacity: 0;
  transform: translateY(28px);
  transition: color 0.3s ease, opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.menu-overlay.is-open .menu-link { opacity: 1; transform: translateY(0); }
.menu-overlay.is-open .menu-link:nth-child(1) { transition-delay: 0.05s; }
.menu-overlay.is-open .menu-link:nth-child(2) { transition-delay: 0.11s; }
.menu-overlay.is-open .menu-link:nth-child(3) { transition-delay: 0.17s; }
.menu-overlay.is-open .menu-link:nth-child(4) { transition-delay: 0.23s; }
.menu-overlay.is-open .menu-link:nth-child(5) { transition-delay: 0.29s; }
.menu-link:hover { color: var(--accent); }

/* ==========================================================================
   Hero — pinned planet + draggable orbiting card ring
   ========================================================================== */
.hero { position: relative; }
/* With the scrub engine the section is tall and .hero-pin is held in place by
   JS while the ring rotates and the copy fills. Fallback: single screen. */
.has-scrub .hero { height: 280vh; }
.hero-pin {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 100px 24px 60px;
  will-change: transform;
}
html:not(.has-scrub) .hero-pin { height: auto; min-height: 100vh; }
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 48% 40%, rgba(70, 90, 140, 0.16) 0%, transparent 65%),
    radial-gradient(ellipse 40% 30% at 72% 62%, rgba(120, 90, 60, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 95% 80% at 50% 50%, #101116 0%, #08090b 80%);
}
/* WebGL canvas fills the stage behind the ring */
.globe-canvas { position: absolute; inset: 0; z-index: 0; }
.globe-canvas canvas { width: 100%; height: 100%; display: block; }
/* once WebGL is running, drop the CSS fallbacks — the real orbit (panels
   passing behind the earth) is rendered inside the WebGL scene */
.webgl-on .planet { display: none; }
.webgl-on .ring-scene { display: none; }
.hero-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  touch-action: pan-y;
}
.hero-stage.is-grabbing { cursor: grabbing; }

/* Planet: layered gradients standing in for the WebGL globe */
.planet {
  position: absolute;
  width: min(420px, 60vw);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
}
.planet-surface {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, #3b6ea5 0%, #1c3a5e 35%, #0d1b30 70%, #060b14 100%);
}
.planet-surface::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(ellipse 30% 22% at 25% 38%, rgba(70, 140, 90, 0.55) 0%, transparent 100%),
    radial-gradient(ellipse 26% 18% at 62% 30%, rgba(90, 150, 100, 0.45) 0%, transparent 100%),
    radial-gradient(ellipse 34% 20% at 55% 68%, rgba(60, 120, 80, 0.4) 0%, transparent 100%),
    radial-gradient(ellipse 20% 14% at 80% 55%, rgba(80, 140, 95, 0.4) 0%, transparent 100%);
  animation: planet-drift 60s linear infinite alternate;
}
.planet-clouds {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(ellipse 40% 12% at 30% 25%, rgba(255,255,255,0.18) 0%, transparent 100%),
    radial-gradient(ellipse 50% 14% at 70% 45%, rgba(255,255,255,0.12) 0%, transparent 100%),
    radial-gradient(ellipse 45% 12% at 40% 70%, rgba(255,255,255,0.14) 0%, transparent 100%);
  animation: planet-drift 90s linear infinite;
}
.planet-glow {
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  box-shadow:
    inset -30px -24px 70px rgba(0, 0, 0, 0.85),
    inset 16px 12px 50px rgba(120, 170, 255, 0.18),
    0 0 90px rgba(90, 120, 255, 0.16);
}
@keyframes planet-drift {
  from { transform: translateX(-3%) }
  to   { transform: translateX(3%) }
}

/* Ring of cards orbiting the planet */
.ring-scene {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
}
.card-ring {
  position: relative;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
}
/* JS drives the rotation; keep a CSS spin as the no-scrub fallback */
html:not(.has-scrub) .card-ring { animation: ring-spin 36s linear infinite; }
@keyframes ring-spin {
  from { transform: rotateX(-8deg) rotateY(0deg); }
  to   { transform: rotateX(-8deg) rotateY(360deg); }
}
/* The band sits a touch below the equator, like the reference filmstrip */
.card-ring { translate: 0 90px; }
.ring-card {
  position: absolute;
  top: -105px;
  left: -160px;
  width: 320px;
  height: 210px;
  transform-style: preserve-3d;
}
.ring-card-face {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.55);
  /* filmstrip: the reversed back of far-side panels stays visible */
  backface-visibility: visible;
}
/* 10 panels, 36° apart — a near-continuous band */
.ring-card:nth-child(1)  { transform: rotateY(0deg)   translateZ(470px); }
.ring-card:nth-child(2)  { transform: rotateY(36deg)  translateZ(470px); }
.ring-card:nth-child(3)  { transform: rotateY(72deg)  translateZ(470px); }
.ring-card:nth-child(4)  { transform: rotateY(108deg) translateZ(470px); }
.ring-card:nth-child(5)  { transform: rotateY(144deg) translateZ(470px); }
.ring-card:nth-child(6)  { transform: rotateY(180deg) translateZ(470px); }
.ring-card:nth-child(7)  { transform: rotateY(216deg) translateZ(470px); }
.ring-card:nth-child(8)  { transform: rotateY(252deg) translateZ(470px); }
.ring-card:nth-child(9)  { transform: rotateY(288deg) translateZ(470px); }
.ring-card:nth-child(10) { transform: rotateY(324deg) translateZ(470px); }

/* ----- panel designs: CSS-mocked websites (swap for real screenshots) ----- */
.panel-dark {
  background: #0d0d0f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: flex-end;
  padding: 18px;
}
.panel-big {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
}
.panel-accent .panel-big { color: var(--accent); }
.panel-site {
  background: #f4f4f6;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 14px;
  color: #17181c;
}
.ps-nav { display: flex; align-items: center; gap: 8px; }
.ps-nav i { width: 34px; height: 8px; border-radius: 2px; background: #17181c; }
.ps-nav b { width: 18px; height: 5px; border-radius: 2px; background: #b9bcc6; }
.ps-hero { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 0 2px; }
.ps-kicker { font-size: 8px; font-weight: 700; letter-spacing: 0.3em; color: #7a7e8a; }
.ps-title { font-size: 26px; font-weight: 500; letter-spacing: 0.06em; font-family: Georgia, 'Times New Roman', serif; }
.ps-line { width: 62%; height: 5px; border-radius: 2px; background: #d3d5dc; }
.ps-line.short { width: 40%; }
.ps-strip { display: flex; gap: 8px; margin-top: auto; }
.ps-strip i { flex: 1; height: 34px; border-radius: 3px; background: linear-gradient(135deg, #dfe1e8, #c6c9d4); }
.ps-media { height: 96px; border-radius: 4px; }
.ps-caption { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.ps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; flex: 1; }
.ps-grid i { border-radius: 4px; min-height: 0; }

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 864px;
  text-align: center;
  margin-top: 24px;
  font-size: clamp(18px, 2.6vw, 26px);
  font-weight: 300;
  line-height: 1.75;
}
/* When scrubbed, the copy sits over the stage and fades in as the stage
   fades out (both driven from JS). */
.has-scrub .hero-copy {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: min(864px, 90vw);
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.hero-line + .hero-line { margin-top: 12px; }
.hl { font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; }
/* Gradient text fill scrubbed by JS (same 270deg white/grey technique as the
   reference site). Fallback: plain colours. */
.has-scrub .fill-line {
  background-image: linear-gradient(90deg, #ffffff 50%, #585858 50%);
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html:not(.has-scrub) .hl { color: var(--text-strong); }

.hero-scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}
.hero-scroll-hint span {
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
  animation: scroll-hint 1.6s ease-in-out infinite;
}
@keyframes scroll-hint {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(10px); opacity: 0.2; }
}

/* ==========================================================================
   Card flip section
   ========================================================================== */
.cardflip { padding: 140px 24px 60px; }
.cardflip-container {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.flip-card {
  perspective: 1200px;
  border-radius: var(--radius-md);
  aspect-ratio: 4 / 3;
}
.flip-lg { aspect-ratio: 21 / 9; }
.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 1.1s var(--ease);
}
.flip-card.is-flipped .flip-inner { transform: rotateY(180deg); }
/* Scrub engine drives rotation per-frame; the transition would fight it */
.has-scrub .flip-inner { transition: none; }
.flip-face {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backface-visibility: hidden;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  overflow: hidden;
}
.flip-back { transform: rotateY(180deg); }
.flip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Big statement with scroll-fill text */
.statement {
  max-width: var(--container);
  margin: 0 auto;
  padding: 180px 0 120px;
  text-align: center;
}
.statement-title {
  font-size: clamp(44px, 8.6vw, 110px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.fill-text {
  position: relative;
  display: inline-block;
  background-image: linear-gradient(90deg, #ffffff 50%, #333333 50%);
  background-size: 200% 100%;
  background-position: 100% 0;    /* dark; JS slides to 0% as you scroll */
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fill-accent {
  background-image: linear-gradient(90deg, var(--accent) 50%, #333333 50%);
}
.dot {
  position: absolute;
  right: -0.28em;
  bottom: 0.12em;
  width: 0.16em;
  height: 0.16em;
  border-radius: 50%;
  background: var(--accent);
}
.dot-2 { background: var(--accent-soft); }
/* dots pop in once their line finishes filling */
.has-scrub .dot {
  transform: scale(0);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.has-scrub .fill-text.is-filled .dot { transform: scale(1); }
.statement-sub {
  margin-top: 34px;
  font-size: clamp(16px, 2vw, 22px);
  color: var(--accent-soft);
  font-weight: 500;
}

/* ==========================================================================
   Feature rows
   ========================================================================== */
.features {
  max-width: var(--container);
  margin: 0 auto;
  padding: 60px 24px 120px;
  display: flex;
  flex-direction: column;
  gap: 140px;
}
.feature-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}
.feature-text p {
  font-size: clamp(24px, 3.6vw, 46px);
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.feature-text strong { font-weight: 700; color: var(--text-strong); }
.feature-graphic { display: flex; justify-content: center; }
.graphic-box {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.graphic-orb {
  width: 42%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.9), rgba(255,255,255,0.08) 60%);
  animation: orb-float 5s ease-in-out infinite;
}
@keyframes orb-float {
  0%, 100% { transform: translateY(-8%); }
  50% { transform: translateY(8%); }
}
.graphic-lines {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 60%;
}
.graphic-lines span {
  height: 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.35);
}
.graphic-lines span:nth-child(1) { width: 100%; }
.graphic-lines span:nth-child(2) { width: 78%; }
.graphic-lines span:nth-child(3) { width: 88%; }
.graphic-lines span:nth-child(4) { width: 55%; }
.graphic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 64%;
}
.graphic-grid span {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   Experience — auto-scrolling columns
   ========================================================================== */
.experience {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px;
}
.experience-bg {
  position: absolute;
  inset: -60px 0;
  display: flex;
  justify-content: center;
  gap: 24px;
  opacity: 0.35;
}
.v-list { width: min(420px, 30vw); overflow: hidden; }
.v-track { display: flex; flex-direction: column; gap: 24px; animation: v-scroll 36s linear infinite; }
.v-down .v-track { animation-direction: reverse; }
.v-slow .v-track { animation-duration: 48s; }
@keyframes v-scroll {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
.tile {
  flex: none;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.experience-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
}
.experience-title {
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.8);
}
.viewmore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.viewmore:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
  max-width: 864px;
  margin: 0 auto;
  padding: 140px 24px;
}
.faq-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
  color: var(--text-strong);
}
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--surface-2);
  border: 1px solid var(--surface-3);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  text-align: left;
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s ease;
}
.faq-question:hover { color: var(--text-strong); }
.faq-q, .faq-a {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}
.faq-q { background: var(--accent); color: #fff; }
.faq-a { background: var(--surface-3); color: var(--accent-soft); }
.faq-question-text { flex: 1; }
.faq-arrow { color: var(--text-muted); transition: transform 0.3s ease; }
.faq-item.is-open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-answer-inner {
  overflow: hidden;
  display: flex;
  gap: 16px;
  padding: 0 24px;
}
.faq-item.is-open .faq-answer-inner { padding: 4px 24px 24px; }
.faq-answer-inner p { color: rgba(237, 237, 237, 0.75); font-size: 16px; }

/* ==========================================================================
   Slot section — W/V reels spin with scroll and land; then the big W appears.
   Geometry mirrors the reference: tall section, pinned 100vh viewport,
   3 columns × (wide W reel + narrow V reel), centre row emphasised.
   ========================================================================== */
.slot { position: relative; background: var(--surface); }
.has-scrub .slot { height: 450vh; }
.slot-pin {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  will-change: transform;
}
html:not(.has-scrub) .slot-pin { height: auto; min-height: 60vh; padding: 80px 0; }
.slot-cols {
  width: 100%;
  max-width: var(--container);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  justify-items: center;
}
.slot-col { display: flex; }
.reel {
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 5vh, 70px);
  will-change: transform;
}
.reel span {
  display: block;
  contain: layout style paint;
  height: clamp(120px, 18vh, 230px);
  line-height: clamp(120px, 18vh, 230px);
  font-size: clamp(110px, 17vh, 215px);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  color: #2c2c2c;
  opacity: 0.3;
}
.reel span:nth-child(2) { opacity: 1; }
.reel-v { transform: translateX(-6px); }
.reel-v span { font-size: clamp(96px, 15vh, 190px); }
.slot-final {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: min(64vw, 620px);
  color: var(--accent);
  opacity: 0;
  pointer-events: none;
}
.slot-final svg { width: 100%; height: auto; display: block; }
html:not(.has-scrub) .slot-final { display: none; }

/* ==========================================================================
   Contact — solid brand purple, revealed through an expanding W-shaped mask
   (mask-size is scrubbed from JS; .is-open removes the mask when finished)
   ========================================================================== */
/* Overlaps the slot section by one viewport: the contact pin begins at the
   exact scroll position where the slot pin ends, so the slot's big W hands
   straight off to the expanding W mask with no scroll gap between them. */
.has-scrub .contact-wrap { height: 220vh; position: relative; margin-top: -100vh; }
.contact-pin-space { position: relative; }
.contact {
  position: relative;
  min-height: 100vh;
  padding: 120px 24px 40px;
  background: var(--accent);
  color: #fff;
  overflow: hidden;
  will-change: transform;
}
/* W-reveal overlay: dark sheet with a W-shaped hole, scaled from JS.
   Sits above the contact content; through the hole you see the purple page. */
.w-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  will-change: transform;
}
html:not(.has-scrub) .w-overlay { display: none; }
.w-overlay-svg {
  position: absolute;
  left: 50%;
  top: 50vh;
  translate: -50% -50%;
  width: min(64vw, 620px);   /* = .slot-final width, so the handoff is exact */
  height: auto;
  overflow: visible;         /* the giant cover rect extends past the viewBox */
  display: block;
}
.contact-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
}
.contact-title {
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  margin-bottom: 48px;
}
.contact-form { display: flex; flex-direction: column; gap: 30px; max-width: 560px; }
.contact-field { display: flex; flex-direction: column; gap: 10px; }
.contact-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}
.contact-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding: 10px 2px;
  font-family: inherit;
  font-size: 18px;
  color: #fff;
  outline: none;
  transition: border-color 0.3s ease;
}
.contact-input:focus { border-color: #fff; }
.contact-submit {
  align-self: flex-start;
  margin-top: 12px;
  padding: 16px 44px;
  border-radius: 9999px;
  background: #131313;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}
.contact-side {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-top: 24px;
}
.contact-links { display: flex; flex-direction: column; gap: 14px; font-size: 20px; font-weight: 500; }
.contact-links a { color: rgba(255, 255, 255, 0.9); transition: color 0.2s ease; }
.contact-links a:hover { color: #131313; }
.contact-link-cta { font-weight: 800; letter-spacing: 0.1em; color: #fff; }
.contact-social-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 14px;
}
.contact-social-icons { display: flex; gap: 14px; }
.contact-social-icons a {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.contact-social-icons a:hover { background: #131313; border-color: #131313; color: #fff; }
.contact-footer {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 100px auto 0;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}
.contact-footer-links { display: flex; gap: 24px; }

/* physics balls — big letter beads that drop in and can be thrown */
.contact-balls { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.pball {
  position: absolute;
  top: 0;
  left: 0;
  width: 85px;
  height: 85px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  font-weight: 900;
  user-select: none;
  pointer-events: auto;
  cursor: grab;
  will-change: transform;
  background: radial-gradient(circle at 32% 28%, #ffffff, #e4e0ee 70%);
  color: var(--accent);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}
.pball.pball-dark {
  background: radial-gradient(circle at 32% 28%, #2a2a2e, #0b0b0b 75%);
  color: #fff;
}
.pball.is-held { cursor: grabbing; }

/* ==========================================================================
   Responsive
   ========================================================================== */
/* Desktop shows the full nav; the burger is a mobile affordance */
@media (min-width: 901px) {
  .nav-burger { display: none; }
}
@media (max-width: 900px) {
  .flip-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-item { grid-template-columns: 1fr; gap: 36px; }
  .feature-item-flip .feature-graphic { order: 2; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .v-list { width: 44vw; }
  .nav { justify-content: flex-start; }
  .nav-center .nav-link { display: none; }
  .nav-logo { margin: 0; align-items: flex-start; }
  .nav-cta { display: none; }
  .ring-card { width: 210px; height: 138px; top: -69px; left: -105px; }
  .card-ring { translate: 0 60px; }
  .ring-card:nth-child(1)  { transform: rotateY(0deg)   translateZ(310px); }
  .ring-card:nth-child(2)  { transform: rotateY(36deg)  translateZ(310px); }
  .ring-card:nth-child(3)  { transform: rotateY(72deg)  translateZ(310px); }
  .ring-card:nth-child(4)  { transform: rotateY(108deg) translateZ(310px); }
  .ring-card:nth-child(5)  { transform: rotateY(144deg) translateZ(310px); }
  .ring-card:nth-child(6)  { transform: rotateY(180deg) translateZ(310px); }
  .ring-card:nth-child(7)  { transform: rotateY(216deg) translateZ(310px); }
  .ring-card:nth-child(8)  { transform: rotateY(252deg) translateZ(310px); }
  .ring-card:nth-child(9)  { transform: rotateY(288deg) translateZ(310px); }
  .ring-card:nth-child(10) { transform: rotateY(324deg) translateZ(310px); }
  .panel-big { font-size: 24px; }
  .ps-title { font-size: 18px; }
  .ps-media { height: 60px; }
}
@media (max-width: 560px) {
  .flip-grid { grid-template-columns: 1fr; }
  .contact-footer { flex-direction: column; text-align: center; }
  .nav { padding: 12px 18px; }
}

/* Respect reduced-motion preferences: static page, everything readable */
@media (prefers-reduced-motion: reduce) {
  .card-ring, .planet-surface::before, .planet-clouds,
  .v-track, .graphic-orb, .ball, .hero-scroll-hint span { animation: none !important; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .fill-text { background-image: none; color: var(--text-strong); }
  .fill-accent { color: var(--accent); }
  .slot .slot-reel { transition: none; }
  html { scroll-behavior: auto; }
}
