/* ==========================================================================
   NIGHTNOTE — "The Night" experience
   Not a landing page: a first-person walk through a single night. No nav bar,
   no hero phone-shot. Full-viewport scenes, one idea each. The sky shifts from
   deep night to dawn as you scroll. Moon-phase progress instead of a menu.
   ========================================================================== */

:root {
  --void: #08020a;
  --night: #16060a;
  --maroon: #2a0606;
  --rust: #6e1800;
  --ember: #ff6a1f;
  --ember-soft: #ff8a3c;
  --amber: #ffab5e;
  --gold: #ffd9a8;

  --text: #fff4ec;
  --text-soft: rgba(255,244,236,0.72);
  --text-faint: rgba(255,244,236,0.46);
  --text-dim: rgba(255,244,236,0.28);

  --glass: rgba(255,150,90,0.06);
  --glass-line: rgba(255,255,255,0.14);
  --glass-line-2: rgba(255,255,255,0.26);

  --gutter: clamp(22px, 5vw, 80px);
  --r: 22px;

  --serif: "Fraunces", Georgia, serif;        /* used only for italic accents */
  --display: "Hanken Grotesk", system-ui, sans-serif;
  --body: "Hanken Grotesk", system-ui, sans-serif;
  --system: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;

  /* dawn progress: 0 = deep night, 1 = dawn. Set by JS on scroll. */
  --dawn: 0;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--body); color: var(--text); background: var(--void);
  line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
::selection { background: rgba(255,120,50,0.34); color: #fff; }
em, .em { font-family: var(--serif); font-style: italic; font-weight: 400; }

/* ----- Living sky: night → dawn driven by --dawn ------------------------- */
.sky { position: fixed; inset: 0; z-index: -3; background: var(--void); }
.sky__night, .sky__dawn { position: absolute; inset: 0; }
.sky__night {
  background:
    radial-gradient(120% 80% at 50% 8%, #2a0a10 0%, transparent 55%),
    radial-gradient(120% 90% at 50% 120%, #1a0606 0%, transparent 50%),
    #0a0306;
  opacity: calc(1 - var(--dawn));
}
.sky__dawn {
  background:
    radial-gradient(120% 75% at 50% 118%, #ffb04e 0%, #ff6a1f 16%, #b23300 34%, #5a1402 52%, #1c0606 72%, #0a0306 100%);
  opacity: var(--dawn);
}
.sky__stars {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  opacity: calc(0.85 - var(--dawn) * 0.8);
  background-image:
    radial-gradient(1.2px 1.2px at 12% 14%, #fff, transparent),
    radial-gradient(1px 1px at 24% 36%, rgba(255,235,215,0.8), transparent),
    radial-gradient(1.3px 1.3px at 38% 20%, #fff, transparent),
    radial-gradient(1px 1px at 52% 48%, rgba(255,225,200,0.8), transparent),
    radial-gradient(1px 1px at 64% 26%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 76% 58%, rgba(255,220,190,0.9), transparent),
    radial-gradient(1px 1px at 84% 22%, #fff, transparent),
    radial-gradient(1px 1px at 92% 44%, rgba(255,235,210,0.8), transparent),
    radial-gradient(1px 1px at 30% 70%, #fff, transparent),
    radial-gradient(1.1px 1.1px at 58% 80%, rgba(255,230,205,0.8), transparent),
    radial-gradient(1px 1px at 18% 88%, #fff, transparent);
  animation: twinkle 8s ease-in-out infinite alternate;
}
@keyframes twinkle { 0%{opacity:.5} 100%{opacity:.9} }
.grain { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.04;
  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='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@media (prefers-reduced-motion: reduce){ .sky__stars{ animation:none; } }

/* moon that travels as you scroll (set --moonp 0..1 by JS) */
.moon-travel {
  position: fixed; z-index: -2; width: clamp(60px, 9vw, 120px); aspect-ratio: 1; border-radius: 50%;
  left: clamp(40px, 8vw, 140px);
  top: calc(8vh + var(--moonp, 0) * 64vh);
  background: radial-gradient(circle at 36% 34%, #fff7ec, #ffd9a8 55%, rgba(255,170,100,0.2));
  box-shadow: 0 0 70px -6px rgba(255,200,150,0.6);
  opacity: calc(0.9 - var(--dawn) * 0.5);
  transition: opacity .6s;
}

/* ----- Chrome (no nav bar) ------------------------------------------------ */
.brand-mark {
  position: fixed; top: clamp(18px,3vw,30px); left: var(--gutter); z-index: 60;
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--display);
  font-weight: 700; font-size: 1.02rem; letter-spacing: 0.04em; color: var(--text);
  mix-blend-mode: difference;
}
.brand-mark svg { width: 22px; height: 22px; }

.get-app {
  position: fixed; top: clamp(16px,3vw,26px); right: var(--gutter); z-index: 60;
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; white-space: nowrap;
  border-radius: 999px; background: rgba(10,4,4,0.5); border: 1px solid var(--glass-line);
  backdrop-filter: blur(14px); font-size: 0.9rem; font-weight: 600; color: var(--text);
  transition: background .25s, border-color .25s, transform .25s;
}
.get-app:hover { background: rgba(255,120,50,0.16); border-color: var(--glass-line-2); transform: translateY(-1px); }
.get-app .apple { width: 16px; height: 16px; fill: var(--text); }
@media (max-width: 620px) {
  .get-app { top: auto; bottom: 16px; left: 50%; right: auto; transform: translateX(-50%); }
  .get-app:hover { transform: translateX(-50%) translateY(-1px); }
}

/* moon-phase progress / nav (right edge) */
.phase-nav { position: fixed; right: clamp(14px,2vw,26px); top: 50%; transform: translateY(-50%); z-index: 60;
  display: flex; flex-direction: column; gap: 16px; }
.phase-dot { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--glass-line);
  background: #0a0406; position: relative; overflow: hidden; cursor: pointer; transition: transform .25s, border-color .25s; }
.phase-dot::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 38% 38%, #fff, var(--amber) 70%); transform: scale(0); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.phase-dot:hover { transform: scale(1.2); border-color: var(--amber); }
.phase-dot.active::before { transform: scale(1); }
.phase-dot .tip { position: absolute; right: 26px; top: 50%; transform: translateY(-50%); white-space: nowrap;
  font-size: 0.72rem; letter-spacing: 0.06em; color: var(--text-faint); opacity: 0; pointer-events: none; transition: opacity .2s; }
.phase-dot:hover .tip { opacity: 1; }
@media (max-width: 760px) { .phase-nav { display: none; } }

/* ----- Scenes ------------------------------------------------------------- */
.scene { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: clamp(90px,12vh,140px) var(--gutter); }
.scene__inner { width: 100%; max-width: 1100px; margin-inline: auto; }
.scene--center { align-items: center; text-align: center; }
.scene--center .scene__inner { max-width: 900px; }

/* tiny scene marker (time of night) */
.scene-time { font-family: var(--system); font-size: 0.76rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-faint); }
.scene-time::before { content:"☾  "; color: var(--amber); }

/* type scale */
.huge { font-family: var(--display); font-weight: 700; letter-spacing: -0.035em; line-height: 0.98;
  font-size: clamp(2.6rem, 7.5vw, 6.4rem); text-wrap: balance; }
.big { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; line-height: 1.0;
  font-size: clamp(2rem, 5vw, 3.8rem); text-wrap: balance; }
.lead { font-size: clamp(1.1rem, 1.9vw, 1.5rem); color: var(--text-soft); line-height: 1.55; text-wrap: pretty; }
.gradient { background: linear-gradient(96deg, #ffe1bf, #ff8a3c 50%, #ff6a1f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--text-soft); }

/* reveal */
.rise { opacity: 0; transform: translateY(28px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.8,.2,1); }
.rise.in { opacity: 1; transform: none; }
.rise[data-d="1"]{transition-delay:.1s}.rise[data-d="2"]{transition-delay:.22s}.rise[data-d="3"]{transition-delay:.34s}.rise[data-d="4"]{transition-delay:.46s}
@media (prefers-reduced-motion: reduce){ .rise{opacity:1;transform:none;transition:none} }

/* scroll cue */
.cue { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; color: var(--text-faint); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.cue svg { width: 18px; height: 18px; animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(6px)} }
@media (prefers-reduced-motion: reduce){ .cue svg{ animation:none; } }

/* ----- In-context floating app fragments (NOT a device mockup) ----------- */
.frag { position: relative; border-radius: var(--r); background: var(--glass); border: 1px solid var(--glass-line);
  backdrop-filter: blur(18px); box-shadow: inset 0 1px 0 var(--glass-line-2), 0 40px 80px -40px rgba(0,0,0,0.8);
  padding: clamp(18px,2.4vw,26px); font-family: var(--system); }
.frag--drift { animation: drift 9s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce){ .frag--drift{ animation:none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1rem; padding: 15px 24px; border-radius: 999px;
  transition: transform .25s, box-shadow .25s, background .25s, border-color .25s; }
.btn-ember { color: #1a0500; background: linear-gradient(180deg, #ffb066, #ff8a3c 55%, #ff6a1f);
  box-shadow: 0 16px 40px -14px rgba(255,110,40,0.7), inset 0 1px 0 rgba(255,255,255,0.5); }
.btn-ember:hover { transform: translateY(-2px); }
.btn-ember .apple { width: 20px; height: 20px; fill: #1a0500; }
.btn-ghost { color: var(--text); background: rgba(255,255,255,0.05); border: 1px solid var(--glass-line); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: var(--glass-line-2); transform: translateY(-2px); }

.flex { display: flex; } .items-center{align-items:center} .justify-center{justify-content:center}
.wrap-flex{flex-wrap:wrap} .gap-14{gap:14px} .gap-20{gap:20px} .gap-28{gap:28px}
.mt-16{margin-top:16px} .mt-24{margin-top:24px} .mt-32{margin-top:32px} .mt-40{margin-top:40px} .mt-56{margin-top:56px}
.mx-auto{margin-inline:auto} .maxw-640{max-width:640px} .maxw-720{max-width:720px}

/* ==========================================================================
   Scene components
   ========================================================================== */

/* ----- Scene 1: WAKE — the interaction IS the hero ----------------------- */
.wake { overflow: hidden; }
.wake__canvas { position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity 1.4s ease; pointer-events: none; }
.wake__canvas.show { opacity: 1; }
.wake__canvas canvas { width: 100%; height: 100%; }
.wake__veil { position: absolute; inset: 0; z-index: 1; background: radial-gradient(120% 90% at 50% 46%, transparent 36%, rgba(8,2,8,0.46) 100%); opacity: 0; transition: opacity 1.4s; pointer-events: none; }
.wake__canvas.show ~ .wake__veil { opacity: 1; }
.wake .scene__inner { position: relative; z-index: 2; }

/* the dream line — a single calm field, not a boxed form */
.dream-field { position: relative; margin: 0 auto; max-width: 760px; }
.dream-field__line {
  display: flex; align-items: flex-end; gap: 14px;
  border-bottom: 1.5px solid var(--glass-line); padding: 10px 4px 14px;
  transition: border-color .35s;
}
.dream-field.focus .dream-field__line { border-color: var(--amber); box-shadow: 0 14px 40px -28px rgba(255,140,60,0.8); }
.dream-field textarea {
  flex: 1; resize: none; background: transparent; border: 0; outline: 0; color: var(--text);
  font-family: var(--body); font-size: clamp(1.2rem, 2.6vw, 1.9rem); line-height: 1.4; font-weight: 500;
  min-height: 1.4em; max-height: 5em; overflow: hidden;
}
.dream-field textarea::placeholder { color: var(--text-dim); }
.dream-mic, .dream-go { flex: none; border-radius: 50%; display: grid; place-items: center; transition: transform .2s, background .25s, border-color .25s; }
.dream-mic { width: 46px; height: 46px; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-line); }
.dream-mic svg { width: 20px; height: 20px; fill: var(--text); }
.dream-mic:hover { background: rgba(255,255,255,0.12); }
.dream-mic.listening { background: linear-gradient(180deg,#ffb066,#ff6a1f); border-color: transparent; animation: micpulse 1.2s ease-in-out infinite; }
.dream-mic.listening svg { fill: #1a0500; }
@keyframes micpulse { 0%,100%{box-shadow:0 0 0 0 rgba(255,110,40,0.5)} 50%{box-shadow:0 0 0 12px rgba(255,110,40,0)} }
.dream-go { width: 52px; height: 52px; background: radial-gradient(circle at 36% 34%, #fff7ec, #ffd9a8 50%, #ff8a3c); box-shadow: 0 0 24px -4px rgba(255,180,120,0.7); }
.dream-go svg { width: 22px; height: 22px; fill: #1a0500; }
.dream-go .spin { width: 18px; height: 18px; border: 2px solid rgba(26,5,0,0.3); border-top-color: #1a0500; border-radius: 50%; display: none; animation: spin .7s linear infinite; }
.dream-go.loading .spin { display: block; } .dream-go.loading svg { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.dream-seeds { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 22px; }
.dream-seed { font-size: 0.84rem; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,0.04); border: 1px solid var(--glass-line); color: var(--text-soft); transition: background .2s, color .2s, border-color .2s; }
.dream-seed:hover { background: rgba(255,255,255,0.1); color: var(--text); border-color: var(--glass-line-2); }
.wake.read-open .dream-seeds, .wake.read-open .wake__prompt-sub { opacity: 0; pointer-events: none; transition: opacity .5s; }
.wake.read-open .huge, .wake.read-open .scene-time { opacity: 0.4; transition: opacity .9s ease; }

/* the reading rises in place */
.read { display: none; margin-top: 34px; text-align: center; }
.read.show { display: block; animation: riseIn .8s cubic-bezier(.2,.8,.2,1) both; }
@keyframes riseIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .read.show { animation: none; } }
.read__name { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.6vw, 1.9rem); color: var(--gold); }
.read__cards { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; margin-top: 20px; text-align: left; }
@media (max-width: 720px){ .read__cards { grid-template-columns: 1fr; } }
.read__syms { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.read__syms .s { font-size: 0.9rem; padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,0.06); border: 1px solid var(--glass-line); }
.read__insight { font-family: var(--serif); font-style: italic; font-size: clamp(1.05rem,1.7vw,1.25rem); line-height: 1.5; color: var(--text); }
.read__bars { display: grid; gap: 10px; align-content: start; }
.read__bar { font-size: 0.78rem; color: var(--text-faint); }
.read__bar .t { height: 6px; border-radius: 99px; background: rgba(255,255,255,0.1); overflow: hidden; margin-top: 6px; }
.read__bar .t i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg,#ff8a3c,#ff6a1f); transition: width 1s cubic-bezier(.2,.8,.2,1); }
.read__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.read__actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.read__actions .btn { font-size: 0.95rem; padding: 13px 20px; }
.read__actions .btn-ghost svg { width: 18px; height: 18px; }
.read__src { font-size: 0.78rem; color: var(--text-dim); display: inline-flex; align-items: center; gap: 7px; }
.read__src::before { content:""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px var(--amber); }

/* ----- In-context app fragments (cropped UI, floating) ------------------- */
.scene-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,72px); align-items: center; }
.scene-split.rev .scene-split__media { order: 2; }
@media (max-width: 860px){ .scene-split, .scene-split.rev { grid-template-columns: 1fr; } .scene-split.rev .scene-split__media{ order:0; } }
.scene-split__media { position: relative; min-height: 320px; display: flex; align-items: center; justify-content: center; }

/* a single voice-capture fragment */
.cap-frag { width: min(340px, 90%); }
.cap-frag .row { display: flex; align-items: center; gap: 12px; }
.cap-frag .mic { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(180deg,#ffb066,#ff6a1f); display: grid; place-items: center; flex: none; }
.cap-frag .mic svg { width: 20px; height: 20px; fill: #1a0500; }
.cap-frag .wv { display: flex; align-items: center; gap: 3px; height: 26px; }
.cap-frag .wv i { width: 3px; border-radius: 3px; background: var(--amber); animation: wv 1s ease-in-out infinite; }
.cap-frag .wv i:nth-child(2n){ animation-delay:.2s } .cap-frag .wv i:nth-child(3n){ animation-delay:.4s }
@keyframes wv { 0%,100%{height:6px} 50%{height:22px} }
@media (prefers-reduced-motion: reduce){ .cap-frag .wv i{ animation:none; height:14px } }
.cap-frag .txt { margin-top: 16px; color: var(--text-soft); font-size: 0.95rem; line-height: 1.5; }
.cap-frag .txt .cursor { border-right: 2px solid var(--amber); animation: caret 1.1s step-end infinite; }
@keyframes caret { 50%{border-color:transparent} }

/* an interpretation fragment */
.read-frag { width: min(360px, 92%); }
.read-frag .h { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 12px; }
.read-frag .syms { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.read-frag .syms span { font-size: 0.86rem; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,0.06); border: 1px solid var(--glass-line); }
.read-frag .bar { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 10px; font-size: 0.78rem; color: var(--text-faint); margin-bottom: 8px; }
.read-frag .bar .t { height: 6px; border-radius: 99px; background: rgba(255,255,255,0.1); overflow: hidden; }
.read-frag .bar .t i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg,#ff8a3c,#ff6a1f); }
.read-frag .q { margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: 1.02rem; color: var(--text); line-height: 1.45; }

/* art fragment (behold) */
.art-frag { width: min(420px, 92%); aspect-ratio: 4/5; border-radius: var(--r); overflow: hidden; border: 1px solid var(--glass-line);
  position: relative; box-shadow: 0 40px 90px -40px rgba(0,0,0,0.85); }
.art-frag canvas { width: 100%; height: 100%; }

/* ----- Patterns scene: constellation of the week's nights --------------- */
.constellation { width: 100%; max-width: 740px; margin: clamp(36px,5vw,52px) auto 0; }
.constellation svg { width: 100%; height: auto; overflow: visible; }
.cline { stroke: var(--amber); stroke-width: 1.4; opacity: .55; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s ease; }
.constellation.in .cline { stroke-dashoffset: 0; }
.cline:nth-of-type(2){ transition-delay: .28s; } .cline:nth-of-type(3){ transition-delay: .56s; }
.cline:nth-of-type(4){ transition-delay: .84s; } .cline:nth-of-type(5){ transition-delay: 1.12s; }
.cline--dim { stroke: var(--text-faint); opacity: .28; stroke-width: 1; stroke-dasharray: 2 5; transition-delay: 1.3s; }
.constellation.in .cline--dim { stroke-dashoffset: 0; }
.cnode .glow { fill: var(--amber); opacity: .16; }
.cnode .dot { fill: #fff7ec; animation: ctw 4.5s ease-in-out infinite alternate; }
.cnode:nth-child(8) .dot { animation-delay: .4s; } .cnode:nth-child(10) .dot { animation-delay: .8s; } .cnode:nth-child(12) .dot { animation-delay: 1.2s; }
.cnode text { fill: var(--text-faint); font-family: var(--system); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-anchor: middle; }
.cnode--off .glow { fill: var(--text-faint); opacity: .08; }
.cnode--off .dot { fill: var(--text-dim); animation: none; }
.cnode--off text { fill: var(--text-dim); }
@keyframes ctw { 0%{opacity:.65} 100%{opacity:1} }
.constellation__cap { text-align: center; margin-top: 16px; color: var(--text-soft); font-size: 0.95rem; }
.constellation__cap b { color: var(--gold); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .cline, .cline--dim { transition: none; stroke-dashoffset: 0; } .cnode .dot { animation: none; } }

/* ----- Meanings scene: interactive word reveal --------------------------- */
.mean-words { display: flex; flex-wrap: wrap; gap: 10px 14px; justify-content: center; margin-top: 8px; }
.mean-word { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em;
  font-size: clamp(1.3rem, 3.2vw, 2.4rem); color: var(--text-faint); transition: color .25s, transform .25s; cursor: pointer; }
.mean-word:hover, .mean-word.active { color: var(--text); }
.mean-word.active { color: transparent; background: linear-gradient(96deg,#ffe1bf,#ff8a3c,#ff6a1f); -webkit-background-clip: text; background-clip: text; }
.mean-reveal { max-width: 640px; margin: 30px auto 0; min-height: 90px; }
.mean-reveal__def { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem,2vw,1.5rem); line-height: 1.5; color: var(--text); transition: opacity .3s; }
.mean-reveal__link { margin-top: 16px; }
.mean-reveal__link a { font-size: 0.95rem; color: var(--amber); border-bottom: 1px solid rgba(255,171,94,0.4); padding-bottom: 1px; }
.mean-reveal__link a:hover { color: var(--gold); }

/* ----- Dawn / CTA scene & footer ---------------------------------------- */
.footer-min { padding: clamp(40px,6vw,70px) var(--gutter) 40px; border-top: 1px solid rgba(255,255,255,0.08); position: relative; z-index: 2; }
.footer-min__inner { max-width: 1100px; margin-inline: auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.footer-min__links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-min__links a { color: var(--text-faint); font-size: 0.92rem; transition: color .2s; }
.footer-min__links a:hover { color: var(--text); }
.footer-min__legal { color: var(--text-dim); font-size: 0.84rem; }

/* ambient sound toggle (quiet, bottom-left) */
.ambient { position: fixed; left: var(--gutter); bottom: clamp(16px,3vw,26px); z-index: 60;
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px 9px 12px; border-radius: 999px;
  background: rgba(10,4,4,0.5); border: 1px solid var(--glass-line); backdrop-filter: blur(14px);
  font-size: 0.8rem; color: var(--text-soft); transition: color .25s, border-color .25s, background .25s; }
.ambient:hover { color: var(--text); border-color: var(--glass-line-2); }
.ambient__eq { display: inline-flex; align-items: flex-end; gap: 2.5px; height: 14px; }
.ambient__eq i { width: 2.5px; height: 4px; border-radius: 2px; background: var(--text-faint); transition: background .25s; }
.ambient.on { color: var(--text); border-color: rgba(255,171,94,0.4); }
.ambient.on .ambient__eq i { background: var(--amber); animation: eq 0.9s ease-in-out infinite; }
.ambient.on .ambient__eq i:nth-child(2){animation-delay:.15s}.ambient.on .ambient__eq i:nth-child(3){animation-delay:.3s}.ambient.on .ambient__eq i:nth-child(4){animation-delay:.45s}
@keyframes eq { 0%,100%{height:4px} 50%{height:13px} }
.ambient.on .ambient__lbl::after { content: " on"; }
@media (prefers-reduced-motion: reduce){ .ambient.on .ambient__eq i{ animation:none; height:9px; } }
@media (max-width: 620px){ .ambient { display: none; } }
