/* DUNA Live — official site. Light only. */
:root {
  color-scheme: light;
  --paper: #F4EDE1;
  --paper-2: #ECE2D0;
  --paper-3: #E2D3BA;
  --ink: #2A1D12;
  --ink-2: #5A4532;
  --muted: #8A7560;
  --accent: #B5713A;
  --accent-2: #8E5426;
  --line: rgba(42, 29, 18, .13);
  --glow: #FFF8EC;
  --display: "Quicksand", "Nunito", system-ui, sans-serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  /* grain speckle, used to fill type and surfaces with sand */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.15' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .93 0 0 0 0 .8 0 0 0 1.6 -.82'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .22 0 0 0 0 .13 0 0 0 0 .06 0 0 0 1.5 -.78'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 70px; }
body { background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
html.is-opening body { overflow: hidden; }
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .35 0 0 0 0 .25 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--glow); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- type: rounded, finger-drawn letters filled with sand ---------- */
.sand-text, .sand-text .gold {
  background-image: var(--grain), linear-gradient(175deg, #4A2F19 0%, #2A1D12 70%);
  background-size: 140px 140px, 100% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sand-text .gold { background-image: var(--grain), linear-gradient(175deg, #CC8E52 0%, #9A5B29 80%); }
.display, .h2, .display-2, .ch-text h3, .promise h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.035em; }
.display { font-size: clamp(44px, 5vw, 86px); line-height: 1.04; }
.display-2 { font-size: clamp(44px, 7vw, 112px); line-height: 1.02; }
.h2 { font-size: clamp(38px, 4.8vw, 72px); line-height: 1.04; margin-bottom: 26px; }
.kicker { font: 600 13px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 26px; }
.lede { font-size: clamp(17px, 1.35vw, 20px); color: var(--ink-2); margin-top: 30px; }
.sub { font-size: clamp(16px, 1.2vw, 19px); color: var(--ink-2); max-width: 32em; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--ink); color: var(--paper); font: 600 15px/1 var(--sans);
  transition: background .3s, color .3s, box-shadow .5s var(--ease), translate .5s var(--ease);
  box-shadow: 0 10px 30px -12px rgba(42,29,18,.5);
}
.btn svg { width: 14px; height: 14px; flex: none; }
.btn:hover { translate: 0 -2px; background: var(--accent-2); box-shadow: 0 16px 36px -14px rgba(142,84,38,.7); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); box-shadow: none; }
.btn-small { height: 40px; padding: 0 18px; font-size: 14px; }

/* ---------- opening (played by the hero itself) ---------- */
.intro-word { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; gap: .32em; pointer-events: none;
  font: 600 clamp(44px, 6vw, 96px)/1 var(--display); color: #FFF7EA; text-shadow: 0 2px 40px rgba(60,34,14,.4); }
.intro-word span { opacity: 0; display: inline-block; }
.intro-skip { position: absolute; right: var(--gutter); bottom: 32px; display: none; font: 600 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,247,234,.85); padding: 11px 15px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255,247,234,.35); }
html.is-opening .intro-skip { display: block; }
html.is-opening .hero-corner { visibility: hidden; }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 76px; display: flex; align-items: center; justify-content: space-between; padding-inline: var(--gutter);
  transition: translate .6s var(--ease), background .4s, box-shadow .4s, height .4s; }
.nav.is-scrolled { background: rgba(244,237,225,.8); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line); height: 64px; }
.nav.is-hidden { translate: 0 -100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 22px/1 var(--display); letter-spacing: .14em; }
.brand-duni { width: 34px; height: auto; }
.nav-links { display: flex; gap: 34px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.nav-links a { position: relative; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 760px) { .nav-links { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; background: linear-gradient(180deg, #7E5634, #E9DCC6); }
.hero-gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner { position: relative; padding-top: clamp(110px, 15vh, 160px); text-align: center; pointer-events: none; }
.hero .display { font: 500 clamp(40px, 5.6vw, 92px)/1.02 var(--display); letter-spacing: -.04em; color: #FFF7EA; text-shadow: 0 2px 40px rgba(60,34,14,.35); }
.quest-pill { display: inline-flex; align-items: center; gap: 14px; margin-top: 34px; padding: 16px 30px 16px 22px; border-radius: 999px; pointer-events: auto;
  font: 500 clamp(17px, 1.5vw, 22px)/1 var(--display); letter-spacing: .01em; color: #FFF7EA;
  background: linear-gradient(135deg, rgba(255,255,255,.28), rgba(255,255,255,.08)); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 0 0 1px rgba(255,236,200,.4), 0 20px 50px -20px rgba(60,34,14,.55); }
.quest-pill b { font-weight: 700; }
.quest-pill svg { width: 34px; height: 34px; fill: none; stroke: #FFE2B0; stroke-width: 1.5; stroke-linejoin: round; }
.line { display: block; overflow: hidden; padding: 0 .04em .14em; margin-bottom: -.12em; }
.line > span { display: inline-block; }
.hero-down { position: absolute; left: 50%; bottom: 28px; width: 44px; height: 44px; margin-left: -22px; display: grid; place-items: center; border-radius: 50%; color: var(--ink);
  background: rgba(255,250,241,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); transition: transform .5s var(--ease); }
.hero-down svg { width: 16px; height: 16px; animation: bob 2.4s ease-in-out infinite; }
.hero-down:hover { transform: scale(1.08); }
@keyframes bob { 50% { transform: translateY(3px); } }
.hero-corner { position: absolute; right: var(--gutter); bottom: 32px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px;
  font: 600 13px/1 var(--sans); color: var(--ink); background: rgba(255,250,241,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); }
.hint-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: hint 2.4s ease-out infinite; }
@keyframes hint { 0% { box-shadow: 0 0 0 0 rgba(181,113,58,.45); } 100% { box-shadow: 0 0 0 12px rgba(181,113,58,0); } }
/* the nav sits on the warm sky until the page scrolls */
.nav:not(.is-scrolled) .nav-links { color: rgba(255,247,234,.86); }
.nav:not(.is-scrolled) .brand .sand-text { background-image: none; color: #FFF7EA; -webkit-text-fill-color: #FFF7EA; }
.nav:not(.is-scrolled) .btn-small { background: #FFF7EA; color: var(--ink); }
@media (max-width: 760px) { .hero-corner { display: none; } .hero .display { font-size: 34px; } }

/* ---------- film ---------- */
.film { padding: 4vh 0 10vh; }
.film-frame { position: relative; width: min(100% - 2 * var(--gutter), 1200px); margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; background: #2a1d12; box-shadow: 0 50px 120px -50px rgba(42,29,18,.6); will-change: transform; }
.film-gif { width: 100%; height: 100%; object-fit: cover; }
.film-caption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; padding: clamp(16px, 3vw, 32px); background: linear-gradient(transparent, rgba(30,20,12,.5)); color: var(--glow); }
.tag { font: 600 clamp(18px, 2vw, 26px)/1 var(--display); }
.tag-sub { font-size: 13px; opacity: .8; letter-spacing: .04em; }
@media (max-width: 760px) { .film-frame { border-radius: 18px; } }

/* ---------- statement ---------- */
.statement { padding-top: 10vh; padding-bottom: 6vh; }
.statement-text { font: 500 clamp(26px, 3.3vw, 50px)/1.22 var(--display); letter-spacing: -.02em; max-width: 23em; color: var(--ink); }
.statement-text .w { opacity: .13; }

/* ---------- 500+ ---------- */
.count { position: relative; height: min(78vh, 760px); display: flex; align-items: flex-end; justify-content: center; text-align: center; padding-bottom: 6vh; }
.count-sand { position: absolute; inset: 0; width: 100%; height: 100%; }
.count-line { position: relative; font: 500 clamp(17px, 1.5vw, 22px)/1.5 var(--display); color: var(--ink-2); padding-inline: var(--gutter); }

/* ---------- chapters ---------- */
.chapters { position: relative; background: var(--paper-2); }
.chapters-pin { position: relative; height: 100svh; overflow: hidden; }
.ch-visual { position: absolute; inset: 0; }
.layer { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 0s 1s; }
.layer.is-active { opacity: 1; visibility: visible; transition: opacity 1s var(--ease), visibility 0s; }
.layer img, .layer video { width: 100%; height: 100%; object-fit: cover; }
.layer-draw video { transform: scale(1.08); transition: transform 6s var(--ease); }
.layer-draw.is-active video { transform: scale(1); }
.ch-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(244,237,225,.97) 0%, rgba(244,237,225,.88) 30%, rgba(244,237,225,0) 58%); }
.ch-copy { position: absolute; inset: 0; display: grid; align-items: center; pointer-events: none; }
.ch-text { grid-area: 1 / 1; max-width: 30em; opacity: 0; translate: 0 30px; transition: opacity .7s var(--ease), translate .9s var(--ease); }
.ch-text.is-active { opacity: 1; translate: 0 0; transition-delay: .15s; }
.ch-num { display: block; font: 600 13px/1 var(--sans); letter-spacing: .16em; color: var(--accent-2); margin-bottom: 22px; }
.ch-text h3 { font-size: clamp(40px, 5.4vw, 84px); line-height: 1.02; margin-bottom: 22px; }
.ch-text p { color: var(--ink-2); font-size: clamp(16px, 1.25vw, 19px); max-width: 26em; }
.ch-rail { position: absolute; right: var(--gutter); top: 50%; width: 2px; height: 160px; margin-top: -80px; background: var(--line); border-radius: 2px; overflow: hidden; }
.ch-fill { position: absolute; inset: 0; background: var(--ink); transform: scaleY(var(--p, 0)); transform-origin: top; }

/* chapter 1: the tray */
.layer-board { display: grid; place-items: center end; padding-right: 5vw; background: radial-gradient(70% 80% at 72% 50%, #FBF4E8, #E4D3B8); }
.sandtray { position: relative; width: min(46vw, 700px); aspect-ratio: 16 / 10; border-radius: 26px; transform: perspective(1200px) rotateX(32deg) rotateZ(-4deg);
  background: linear-gradient(160deg, #6B4A2C, #3E2A18); padding: 14px; box-shadow: 0 50px 80px -30px rgba(42,29,18,.65), inset 0 2px 0 rgba(255,255,255,.18); }
.sandtray::before { content: ""; position: absolute; inset: 14px; border-radius: 16px; background: radial-gradient(80% 80% at 50% 45%, #FFFDF6, #FBEFD6 60%, #F0D9AE); }
.sandtray canvas { position: relative; width: 100%; height: 100%; border-radius: 16px; }
.gaze { position: absolute; left: 0; top: 0; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,250,236,.95), rgba(255,226,170,.45) 40%, transparent 70%); mix-blend-mode: screen; opacity: 0; }
.pinch-ring { position: absolute; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 2.5px solid #FFF8EC; box-shadow: 0 0 18px rgba(255,236,190,.9); opacity: 0; pointer-events: none; }

/* chapter 3: the wall opens */
.layer-world { background: #d9cbb4; }
.room-wall { position: absolute; inset: 0; background: linear-gradient(180deg, #EFE7DA 0 76%, #C9B596 76% 100%); }
.room-frame { position: absolute; left: 60%; top: 18%; width: 14%; height: 26%; border: 6px solid #fff; box-shadow: 0 8px 20px rgba(42,29,18,.15); background: #e8dcc8; }
.room-frame.r2 { left: 80%; top: 24%; width: 10%; height: 18%; }
.world-reveal { position: absolute; inset: 0; clip-path: circle(0% at 70% 48%); transition: clip-path 2.4s var(--ease) .3s; }
.layer-world.is-active .world-reveal { clip-path: circle(120% at 70% 48%); }
.world-reveal img { transform: scale(1.25); transition: transform 3s var(--ease) .3s; }
.layer-world.is-active .world-reveal img { transform: scale(1); }

/* chapter 4: glass */
.layer-glass { display: grid; place-items: center end; padding-right: 14vw; background: radial-gradient(60% 70% at 70% 45%, #FBF4E8, #E6D6BD); }
.glass { position: relative; width: min(34vw, 460px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; animation: float 6s ease-in-out infinite;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), inset -18px -24px 50px rgba(42,29,18,.35), 0 30px 50px -20px rgba(42,29,18,.45); }
.glass img { transform: scale(1.4); }
.glass-shine { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 32% 26%, rgba(255,255,255,.85), rgba(255,255,255,0) 22%), radial-gradient(circle at 70% 80%, rgba(255,248,236,.3), transparent 40%); }
.glass-shadow { position: absolute; right: calc(14vw + min(34vw, 460px) * .3); bottom: 10%; width: min(14vw, 190px); height: 20px; border-radius: 50%; background: radial-gradient(rgba(42,29,18,.35), transparent 70%); animation: shadow 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px); } }
@keyframes shadow { 50% { transform: scaleX(.8); opacity: .6; } }

@media (max-width: 900px) {
  .ch-shade { background: linear-gradient(0deg, rgba(244,237,225,.98) 0%, rgba(244,237,225,.92) 38%, rgba(244,237,225,0) 62%); }
  .ch-copy { align-items: end; padding-bottom: 8vh; }
  .ch-text h3 { font-size: clamp(36px, 10vw, 52px); margin-bottom: 14px; }
  .ch-rail { display: none; }
  .layer-board, .layer-glass { place-items: start center; padding: 14vh 0 0; }
  .sandtray { width: 90vw; }
  .glass { width: 56vw; }
  .glass-shadow { display: none; }
  .world-reveal { clip-path: circle(0% at 50% 30%); }
  .layer-world.is-active .world-reveal { clip-path: circle(140% at 50% 30%); }
  .room-frame { left: 18%; } .room-frame.r2 { left: 62%; }
}

/* ---------- behind the wall ---------- */
.behind { position: relative; background: #1d140c; }
.behind-pin { position: relative; height: 100svh; overflow: hidden; }
.wv-stack, .wv { position: absolute; inset: 0; overflow: hidden; }
.wv img { position: absolute; top: 0; left: 0; height: 100%; width: auto; max-width: none; will-change: transform; }
.wv + .wv { --R: 0; --rim: 1; clip-path: circle(calc(var(--R) * 1vmax) at 50% 50%); }
/* the glass the next world arrives in: rim light, a soft inner shade, a highlight, and a gold-violet fringe */
.wv + .wv::before { content: ""; position: absolute; z-index: 2; left: 50%; top: 50%; width: calc(var(--R) * 2vmax); height: calc(var(--R) * 2vmax); transform: translate(-50%, -50%);
  border-radius: 50%; pointer-events: none; opacity: var(--rim);
  background: radial-gradient(circle at 32% 24%, rgba(255,255,255,.85) 0 2%, rgba(255,255,255,.25) 6%, transparent 16%),
              radial-gradient(circle at 50% 50%, transparent 62%, rgba(255,236,200,.18) 80%, rgba(255,214,160,.45) 96%, rgba(255,255,255,.75) 99.4%, transparent 100%);
  box-shadow: inset -2vmax -3vmax 6vmax rgba(20,10,4,.35), inset 0 0 0 1.5px rgba(255,255,255,.8); }
.wv + .wv::after { background: conic-gradient(from 210deg at 50% 50%, transparent, rgba(255,190,120,.0) 10%, transparent 100%), linear-gradient(0deg, rgba(20,12,6,.55), transparent 40%); }
.wv-rim { display: none; }
.wv::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,12,6,.55), transparent 40%); }
.wall-glow { position: absolute; inset: 0; background: radial-gradient(40% 50% at 50% 46%, #FFF4D6, #F7D9A0 45%, #C98D4A 100%); opacity: 0; }
.wall-blocks { position: absolute; inset: 0; }
.blk { position: absolute; background-color: #EDE3D3; background-image: var(--grain-dark), radial-gradient(130% 90% at 50% 20%, #F4ECDF, #E3D6C1 70%, #D6C5AA);
  background-size: 140px 140px, 100vw 100svh; box-shadow: inset 0 0 0 .5px rgba(42,29,18,.08); will-change: transform; backface-visibility: hidden; }
.wall-cracks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.wall-cracks path { fill: none; stroke: #FFE6B0; stroke-width: .35; vector-effect: non-scaling-stroke; stroke-width: 2.5px; filter: drop-shadow(0 0 6px #FFC978) drop-shadow(0 0 14px #FFB24D); stroke-dasharray: 1; stroke-dashoffset: 1; }
.behind-copy { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; }
.behind-copy .sub { margin: 0 auto; }
.wv-lines { position: absolute; left: 0; right: 0; bottom: 9vh; }
.wv-lines p { position: absolute; left: var(--gutter); bottom: 0; font: 600 clamp(40px, 6vw, 96px)/1 var(--display); letter-spacing: -.035em; color: #FFF8EC; opacity: 0; text-shadow: 0 4px 40px rgba(20,12,6,.45); }

/* ---------- ending ---------- */
.ending { position: relative; min-height: 110vh; display: flex; align-items: center; justify-content: flex-end; padding: 12vh var(--gutter); overflow: hidden; }
.ending-bg { position: absolute; inset: -10% 0; }
.ending-bg img { width: 100%; height: 100%; object-fit: cover; }
.ending-card { position: relative; width: min(520px, 100%); margin-right: max(0px, calc((100vw - var(--max)) / 2)); padding: clamp(24px, 3vw, 40px); border-radius: 28px;
  background: rgba(244,237,225,.82); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); box-shadow: 0 40px 90px -40px rgba(42,29,18,.55), inset 0 0 0 1px rgba(255,255,255,.5); }
.ending-still { aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; margin-bottom: 28px; }
.ending-still img { width: 100%; height: 100%; object-fit: cover; }
.ending .h2 { font-size: clamp(34px, 3.6vw, 54px); }
@media (max-width: 760px) { .ending { justify-content: center; align-items: flex-end; } }

/* ---------- cymatics ---------- */
.plate-sec { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-top: 18vh; padding-bottom: 14vh; }
.plate-controls { margin-top: 36px; display: grid; gap: 22px; max-width: 420px; }
.plate-controls .btn { justify-self: start; }
.pitch { display: grid; gap: 12px; font-size: 14px; color: var(--muted); }
.pitch input { -webkit-appearance: none; appearance: none; width: 100%; height: 34px; background: transparent; cursor: pointer; touch-action: none; }
.pitch input::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--paper-3), var(--accent)); }
.pitch input::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--paper-3), var(--accent)); }
.pitch input::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -11px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 6px rgba(42,29,18,.1); transition: box-shadow .3s; }
.pitch input::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: var(--ink); }
.pitch input:active::-webkit-slider-thumb { box-shadow: 0 0 0 10px rgba(181,113,58,.25); }
.plate-read { font: 600 15px/1.4 var(--display); color: var(--ink-2); min-height: 1.4em; font-variant-numeric: tabular-nums; }
.plate { position: relative; aspect-ratio: 1; border-radius: 26px; overflow: hidden; background: radial-gradient(80% 80% at 50% 45%, #FFFAF1, #EADCC4); box-shadow: 0 40px 100px -50px rgba(42,29,18,.5), inset 0 0 0 1px rgba(255,255,255,.6); }
.plate canvas { width: 100%; height: 100%; }
.plate-glow { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(60% 60% at 50% 50%, rgba(255,236,200,.9), transparent 70%); mix-blend-mode: screen; }
@media (max-width: 900px) { .plate-sec { grid-template-columns: 1fr; } }

/* ---------- badge ---------- */
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border-radius: 999px; margin-bottom: 28px; font: 600 13px/1 var(--sans); letter-spacing: .02em; color: var(--glow);
  background: linear-gradient(135deg, #3A2716, #24170D); box-shadow: 0 10px 24px -12px rgba(42,29,18,.6), inset 0 1px 0 rgba(255,255,255,.12); }
.badge svg { width: 20px; height: 20px; fill: none; stroke: #E9B77F; stroke-width: 1.6; stroke-linejoin: round; }

.badge-lg { padding: 15px 26px 15px 18px; font-size: 17px; gap: 12px; letter-spacing: .01em; background: linear-gradient(120deg, #3A2716, #1F140B 60%, #4A3018); position: relative; overflow: hidden; }
.badge-lg svg { width: 28px; height: 28px; }
.badge-lg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,226,170,.45) 50%, transparent 65%); transform: translateX(-100%); animation: sheen 3.6s ease-in-out infinite 2s; }
@keyframes sheen { 60%, 100% { transform: translateX(100%); } }

/* ---------- only on meta quest ---------- */
.exclusive { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden;
  background: radial-gradient(70% 60% at 50% 42%, #4A321C 0%, #24170D 60%, #160E07 100%); color: var(--glow); }
.ex-sand { position: absolute; inset: 0; width: 100%; height: 100%; }
.ex-inner { position: relative; padding-top: 34vh; pointer-events: none; }
.ex-only { font: 600 clamp(14px, 1.3vw, 18px)/1 var(--sans); letter-spacing: .5em; text-transform: uppercase; color: #E9B77F; margin-bottom: 18px; }
.ex-title { font: 700 clamp(64px, 13vw, 220px)/.92 var(--display); letter-spacing: -.045em; white-space: nowrap; filter: drop-shadow(0 10px 40px rgba(233,183,127,.25)); }
.ex-title span { display: inline-block;
  background-image: var(--grain), linear-gradient(100deg, #E9B77F 0%, #FFF1D2 30%, #F2C27A 45%, #C9824A 70%, #FFE3B0 100%); background-size: 140px 140px, 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s ease-in-out infinite; }
@keyframes shine { 0%, 100% { background-position: 0 0, 0% 0; } 50% { background-position: 0 0, 100% 0; } }
.ex-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 40px; }
.ex-chips span { font: 600 13px/1 var(--sans); letter-spacing: .04em; padding: 11px 16px; border-radius: 999px; color: #F6DDB4; box-shadow: inset 0 0 0 1px rgba(233,183,127,.35); background: rgba(255,226,170,.06); }
@media (max-width: 760px) { .ex-inner { padding-top: 30vh; } .ex-only { letter-spacing: .35em; } }

/* ---------- capture ---------- */
.capture { padding-top: 6vh; }
.cap { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-top: 10vh; padding-bottom: 10vh; }
.cap-sound { grid-template-columns: 4fr 7fr; }
.cap .btn-ghost { margin-top: 30px; }
.fine { font-size: 13px; color: var(--muted); margin-top: 18px; }
.viewfinder { position: relative; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; background: radial-gradient(90% 90% at 50% 50%, #FFFDF8, #F3E6CF 70%, #E7D4B4); box-shadow: 0 40px 100px -50px rgba(42,29,18,.5); }
.vf-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vf-sand { position: absolute; inset: 0; width: 100%; height: 100%; }
.vf-corner { position: absolute; width: 22%; height: 26%; border: 0 solid #FFF8EC; filter: drop-shadow(0 2px 6px rgba(30,18,8,.45)); }
.vf-corner.tl { left: 7%; top: 9%; border-left-width: 4px; border-top-width: 4px; border-top-left-radius: 18px; }
.vf-corner.br { right: 7%; bottom: 9%; border-right-width: 4px; border-bottom-width: 4px; border-bottom-right-radius: 18px; }
.vf-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.vf-status { position: absolute; left: 16px; bottom: 16px; font: 600 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 9px 13px; border-radius: 999px; color: var(--glow); background: rgba(42,29,18,.45); backdrop-filter: blur(6px); }
.soundstage { position: relative; display: grid; grid-template-columns: auto minmax(60px, .6fr) 2fr; align-items: center; gap: 0; min-height: 420px; }
.phone { position: relative; z-index: 2; width: clamp(130px, 13vw, 190px); aspect-ratio: 9 / 19; border-radius: 30px; padding: 8px; background: linear-gradient(160deg, #3A2A1C, #1C130B);
  box-shadow: 0 40px 60px -26px rgba(42,29,18,.7), inset 0 0 0 1.5px rgba(255,255,255,.12); transform: rotate(-8deg); }
.phone-screen { height: 100%; border-radius: 23px; padding: 16px 12px; background: linear-gradient(180deg, #F7E7CC, #EED3A6); display: flex; flex-direction: column; gap: 7px; overflow: hidden; }
.np-art { aspect-ratio: 1; border-radius: 12px; background: conic-gradient(from 210deg, #C9824A, #F2C27A, #8E5426, #C9824A); position: relative; overflow: hidden; }
.np-art i { position: absolute; inset: 30%; border-radius: 50%; background: radial-gradient(circle, #FFF6E2 0 18%, #3A2614 19% 26%, transparent 27%), rgba(42,29,18,.85); animation: spin 3.2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.np-title { font: 700 13px/1.1 var(--display); color: var(--ink); margin-top: 4px; }
.np-sub { font-size: 10px; color: var(--ink-2); }
.np-bar { height: 3px; border-radius: 3px; background: rgba(42,29,18,.15); overflow: hidden; }
.np-bar i { display: block; height: 100%; width: 30%; background: var(--accent-2); }
.np-eq { display: flex; align-items: flex-end; gap: 4px; height: 26px; margin-top: auto; }
.np-eq i { flex: 1; border-radius: 2px; background: var(--accent-2); height: 30%; }
.waves { position: relative; height: 220px; }
.waves span { position: absolute; left: -40px; top: 50%; width: 140px; height: 140px; margin-top: -70px; border-radius: 50%; border: 3px solid rgba(181,113,58,.85); border-left-color: transparent; border-bottom-color: transparent; transform: rotate(45deg); pointer-events: none; }
.headset-view { position: relative; border-radius: 24px; overflow: hidden; background: radial-gradient(80% 80% at 50% 45%, #FFFDF6, #F3E3C6 70%, #E5CFA8); box-shadow: 0 40px 100px -50px rgba(42,29,18,.5), inset 0 0 0 1px rgba(255,255,255,.7); }
.headset-view canvas { width: 100%; height: clamp(260px, 30vw, 420px); }
.hv-label { position: absolute; left: 14px; top: 14px; z-index: 1; font: 600 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); padding: 8px 11px; border-radius: 999px; background: rgba(255,250,241,.8); }
.vf-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cap-wonders { display: block; text-align: center; padding-bottom: 6vh; }
.cap-wonders .sub { margin: 0 auto; }
.shelf { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: clamp(12px, 1.8vw, 26px); padding: 8vh var(--gutter) 0; margin-bottom: 12vh; flex-wrap: nowrap; }
.shelf::after { content: ""; position: absolute; left: 4%; right: 4%; bottom: -14px; height: 14px; border-radius: 0 0 10px 10px;
  background: linear-gradient(180deg, #DCC7A5, #C8AE86); box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 20px 30px -16px rgba(42,29,18,.5); }
.orb { position: relative; z-index: 1; flex: 0 0 auto; width: clamp(96px, 10.5vw, 160px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #17110a;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), inset -10px -16px 30px rgba(0,0,0,.6), 0 24px 30px -18px rgba(42,29,18,.55); transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.orb img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.35) translateY(4%); }
.orb i { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 32% 24%, rgba(255,255,255,.75), rgba(255,255,255,0) 24%), radial-gradient(circle at 50% 120%, rgba(255,214,150,.35), transparent 55%); }
.orb:hover { transform: translateY(-12px) scale(1.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.5), inset -10px -16px 30px rgba(0,0,0,.5), 0 30px 40px -18px rgba(142,84,38,.7), 0 0 40px rgba(255,214,150,.45); }
@media (max-width: 900px) {
  .soundstage { grid-template-columns: auto 1fr; }
  .waves { display: none; }
  .phone { width: 110px; margin-right: -24px; }
  .cap, .cap-sound { grid-template-columns: 1fr; }
  .cap-ai .cap-copy { order: -1; }
  .shelf { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; padding-bottom: 34px; }
  .shelf::-webkit-scrollbar { display: none; }
  .shelf::after { display: none; }
  .orb { box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), inset -10px -16px 30px rgba(0,0,0,.6), 0 18px 18px -14px rgba(42,29,18,.55); }
  .orb { width: 28vw; }
}

/* ---------- sandbox ---------- */
.sandbox { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-top: 10vh; padding-bottom: 16vh; }
.lightbox { position: relative; aspect-ratio: 4 / 3; border-radius: 26px; overflow: hidden; cursor: crosshair; touch-action: none;
  background: radial-gradient(90% 90% at 50% 50%, #FFFDF8, #F3E6CF 70%, #E7D4B4); box-shadow: 0 40px 100px -50px rgba(42,29,18,.5), inset 0 0 0 1px rgba(255,255,255,.7); }
.lightbox canvas { width: 100%; height: 100%; }
.lightbox-hint { position: absolute; left: 18px; top: 18px; font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 9px 12px; border-radius: 999px; color: var(--glow); background: rgba(42,29,18,.35); backdrop-filter: blur(6px); pointer-events: none; transition: opacity .6s; }
.lightbox.is-used .lightbox-hint { opacity: 0; }
.lightbox-clear { position: absolute; right: 16px; bottom: 16px; font-size: 13px; font-weight: 500; padding: 9px 14px; border-radius: 999px; background: rgba(255,250,241,.85); box-shadow: inset 0 0 0 1px var(--line); transition: background .3s; }
.lightbox-clear:hover { background: #fff; }
@media (max-width: 900px) { .sandbox { grid-template-columns: 1fr; } .sandbox-copy { order: -1; } }

/* ---------- promises: one big line each ---------- */
.promises { padding-top: 4vh; padding-bottom: 16vh; }
.promise { display: grid; grid-template-columns: 7fr 4fr; gap: 32px; align-items: baseline; padding: clamp(22px, 3vw, 40px) 0; border-top: 1.5px solid var(--line); transition: padding .6s var(--ease); }
.promise:last-child { border-bottom: 1.5px solid var(--line); }
.promise h3 { font-size: clamp(34px, 5.4vw, 84px); line-height: 1.05; }
.promise p { color: var(--ink-2); font-size: 16px; max-width: 24em; }
.promise:hover { padding-left: 18px; }
@media (max-width: 760px) { .promise { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 96px); padding-bottom: 18vh; }
.faq-list details { border-top: 1.5px solid var(--line); }
.faq-list details:last-child { border-bottom: 1.5px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative; font: 600 clamp(18px, 1.5vw, 22px)/1.3 var(--display); letter-spacing: -.01em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .5s var(--ease); }
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0); }
.faq-list details p { color: var(--ink-2); padding: 0 48px 26px 0; max-width: 40em; }
.faq-list a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } }

/* ---------- cta ---------- */
.cta { position: relative; min-height: 90svh; display: grid; place-items: center; text-align: center; overflow: hidden; background: radial-gradient(100% 80% at 50% 100%, var(--glow), var(--paper-2) 70%); }
.cta-sand { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta-inner { position: relative; pointer-events: none; }
.cta-inner .btn { pointer-events: auto; }
.cta .hero-cta { justify-content: center; }

/* ---------- footer ---------- */
.footer { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; padding-top: 40px; padding-bottom: 40px; border-top: 1.5px solid var(--line); }
.footer .brand { font-size: 18px; }
.footer .brand-duni { width: 28px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; color: var(--ink-2); }
.footer nav a:hover { color: var(--ink); }
.legal { width: 100%; font-size: 12px; color: var(--muted); }

/* ---------- privacy page ---------- */
.doc { max-width: 760px; padding-top: 140px; padding-bottom: 120px; }
.doc h1 { font: 600 clamp(44px, 6vw, 72px)/1 var(--display); letter-spacing: -.035em; margin-bottom: 16px; }
.doc .updated { color: var(--muted); font-size: 14px; margin-bottom: 56px; }
.doc h2 { font: 600 24px/1.2 var(--display); margin: 44px 0 14px; }
.doc p, .doc li { color: var(--ink-2); margin-bottom: 14px; }
.doc ul { padding-left: 20px; }
.doc a { text-decoration: underline; text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .statement-text .w { opacity: 1; }
}

/* ================= the glass theme, carried down the page ================= */
.quest-pill { font-size: clamp(20px, 1.9vw, 28px); padding: 20px 38px 20px 26px; gap: 16px; background: linear-gradient(135deg, rgba(70,40,18,.42), rgba(70,40,18,.18)); }
.quest-pill svg { width: 42px; height: 42px; }

/* glass bubbles floating behind the content of a section */
.has-bubbles { position: relative; isolation: isolate; }
.bubble { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; will-change: transform;
  background: radial-gradient(circle at 32% 26%, rgba(255,255,255,.95) 0 2.5%, rgba(255,255,255,.4) 6%, transparent 18%),
              radial-gradient(circle at 50% 56%, rgba(255,246,230,.06) 54%, rgba(255,226,180,.32) 67%, rgba(160,100,50,.22) 71.5%, transparent 73%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6), inset -8px -12px 34px rgba(181,113,58,.22), 0 40px 70px -40px rgba(90,55,25,.4); }
.bubble::after { content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 200deg, transparent, rgba(255,190,120,.75), rgba(205,165,255,.45), rgba(130,200,255,.35), transparent 62%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 1px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 1px)); }

/* every framed picture sits in a glass bezel */
.film-frame, .viewfinder, .headset-view, .lightbox, .plate {
  box-shadow: 0 0 0 9px rgba(255,255,255,.42), 0 0 0 10px rgba(255,222,176,.6), 0 50px 100px -50px rgba(90,55,25,.55); }
.sandtray { box-shadow: 0 0 0 8px rgba(255,255,255,.3), 0 50px 80px -30px rgba(42,29,18,.65), inset 0 2px 0 rgba(255,255,255,.18); }
.ch-num { display: inline-block; padding: 9px 14px; border-radius: 999px; background: rgba(255,255,255,.55); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 0 0 1px rgba(255,222,176,.6); }
.ch-shade { background: linear-gradient(90deg, rgba(240,226,204,.97) 0%, rgba(240,226,204,.86) 30%, rgba(240,226,204,0) 58%); }
.chapters { background: #EFE2CC; }

/* frosted question cards */
.faq-list details, .faq-list details:last-child { border: 0; margin-bottom: 12px; padding: 0 24px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,.62), rgba(255,255,255,.3)); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 0 0 1px rgba(255,222,176,.45), 0 14px 34px -24px rgba(90,55,25,.45); transition: background .4s; }
.faq-list details[open] { background: linear-gradient(135deg, rgba(255,255,255,.8), rgba(255,255,255,.45)); }
.faq-list summary { padding-right: 40px; }
.faq-list details p { padding-right: 0; }

/* promises: a small orb of glass leads each line */
.promise h3 { display: flex; align-items: center; gap: .32em; }
.promise h3::before { content: ""; flex: none; width: .5em; height: .5em; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff 0 10%, rgba(255,255,255,.2) 30%, rgba(201,130,74,.35) 70%, rgba(142,84,38,.5));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), 0 6px 14px -6px rgba(90,55,25,.5); }

/* the warm sky returns at the end, as it began */
.exclusive { background: radial-gradient(70% 60% at 50% 40%, #6E4828 0%, #3A2414 62%, #1F130A 100%); }
.cta { background: linear-gradient(180deg, #7E5634 0%, #B88A5E 38%, #E6D3B6 72%, #F1E6D4 100%); }
.cta .display-2.sand-text, .cta .display-2.sand-text .gold { background-image: none; -webkit-text-fill-color: currentColor; color: #FFF7EA; }
.cta .display-2.sand-text .gold { color: #FFDDA8; }
.cta .display-2 { text-shadow: 0 2px 40px rgba(60,34,14,.35); }
.footer { border-top: 0; }
