/* Her. The Perfect Girl. */
:root {
  --bg: #0c0609;
  --bg-2: #140a0f;
  --panel: rgba(255, 228, 238, 0.035);
  --panel-2: rgba(255, 228, 238, 0.06);
  --line: rgba(244, 190, 208, 0.14);
  --line-2: rgba(244, 190, 208, 0.28);
  --text: #f6ecf0;
  --text-2: #c9b3bc;
  --text-3: #8d7480;
  --pink: #f4b8cb;
  --pink-2: #ff8fb3;
  --rose: #e46e93;
  --maroon: #5a2a33;
  --cyan: #9fe8ff;
  --ok: #8ff0c0;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --display: "Unbounded", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --gut: clamp(16px, 4vw, 56px);
  --max: 1240px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
.mono { font-family: var(--mono); letter-spacing: 0.02em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: var(--pink); color: #2a0f17; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 6px; }

/* ---------- backdrop ---------- */
#bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.5;
  background:
    radial-gradient(1200px 700px at 78% 8%, rgba(228, 110, 147, 0.12), transparent 60%),
    radial-gradient(900px 600px at 10% 60%, rgba(90, 42, 51, 0.35), transparent 65%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 3px);
}
main, .nav, .foot { position: relative; z-index: 2; }

/* ---------- buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  height: var(--h); padding: 0 22px; border-radius: 12px;
  font: 600 14px/1 var(--body); letter-spacing: 0.01em; text-decoration: none;
  border: 1px solid var(--line-2); background: var(--panel); color: var(--text);
  transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
  position: relative; overflow: hidden; isolation: isolate;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(180deg, #ffd3e1, var(--pink));
  color: #2a0f17; border-color: rgba(255, 220, 232, 0.7);
  box-shadow: 0 0 0 1px rgba(244, 184, 203, 0.15), 0 10px 40px -10px rgba(244, 143, 179, 0.6);
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%);
}
.btn-ghost { background: transparent; }
.btn-small { --h: 38px; padding: 0 16px; font-size: 13px; border-radius: 10px; }
.btn-wide { width: 100%; }
.btn-text { background: none; border: 0; color: var(--text-3); font-size: 13px; padding: 8px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,0.2); transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { border-color: var(--pink); background: var(--panel-2); }
  .btn-primary:hover { background: linear-gradient(180deg, #ffe2eb, #f7c4d4); box-shadow: 0 0 0 1px rgba(244, 184, 203, 0.3), 0 14px 50px -10px rgba(244, 143, 179, 0.8); }
  .btn-primary:hover::after { transform: translateX(120%); transition: transform 700ms var(--ease-out); }
  .btn-text:hover { color: var(--text); }
}

/* ---------- gate ---------- */
.gate {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px;
  background: radial-gradient(800px 500px at 50% 40%, #1f0e16, var(--bg) 70%);
  transition: opacity 700ms var(--ease-out), visibility 0s linear 700ms, filter 700ms var(--ease-out);
}
.gate.is-gone { opacity: 0; visibility: hidden; filter: blur(8px); }
.gate-inner { width: min(460px, 100%); text-align: center; }
.gate-mark { position: relative; width: 112px; height: 112px; margin: 0 auto 28px; }
.gate-ring { width: 100%; height: 100%; animation: spin 14s linear infinite; }
.gate-ring circle { fill: none; stroke: var(--pink); stroke-width: 1; stroke-dasharray: 2 6; opacity: 0.7; }
.gate-ring .r2 { stroke-dasharray: 60 280; stroke-width: 1.5; stroke: var(--pink-2); opacity: 1; }
.gate-h { position: absolute; inset: 0; display: grid; place-items: center; font: 800 38px/1 var(--display); color: var(--pink); animation: breathe 3.2s ease-in-out infinite; }
.gate-kicker { color: var(--text-3); font-size: 11px; letter-spacing: 0.24em; margin: 0 0 10px; }
.gate-title { font: 300 clamp(28px, 6vw, 40px)/1.1 var(--display); margin: 0 0 22px; letter-spacing: -0.02em; }
.gate-log { list-style: none; margin: 0 auto 28px; padding: 14px 16px; min-height: 118px; text-align: left; font-size: 12px; line-height: 1.75; color: var(--text-2); border: 1px solid var(--line); border-radius: 12px; background: rgba(0,0,0,0.25); }
.gate-log li { opacity: 0; transform: translateY(4px); transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out); }
.gate-log li.in { opacity: 1; transform: none; }
.gate-log b { color: var(--ok); font-weight: 500; }
.gate-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.gate-actions .btn { min-width: 220px; }
.gate-foot { color: var(--text-3); font-size: 11px; margin: 22px 0 0; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { opacity: 0.75; } 50% { opacity: 1; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px var(--gut);
  transition: background-color 300ms ease, border-color 300ms ease, transform 400ms var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(12, 6, 9, 0.78); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-color: var(--line); }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-h { font: 800 20px/1 var(--display); letter-spacing: 0.12em; color: var(--pink); }
.brand-by { font-size: 11px; color: var(--text-3); }
.nav-links { display: flex; gap: 4px; }
.nav-links a { font-size: 13px; color: var(--text-2); text-decoration: none; padding: 8px 12px; border-radius: 8px; transition: color 200ms ease, background-color 200ms ease; }
.nav-links a.is-active { color: var(--text); background: var(--panel-2); }
@media (hover: hover) and (pointer: fine) { .nav-links a:hover { color: var(--text); } }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ---------- layout ---------- */
.section { width: min(var(--max), 100% - 2 * var(--gut)); margin: 0 auto; padding: clamp(80px, 12vw, 160px) 0 0; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--pink); margin: 0 0 18px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: breathe 2s ease-in-out infinite; display: inline-block; }
.h2 { font: 400 clamp(30px, 5vw, 58px)/1.04 var(--display); letter-spacing: -0.035em; margin: 0 0 20px; }
.h3 { font: 400 clamp(22px, 3vw, 32px)/1.1 var(--display); letter-spacing: -0.02em; margin: 0 0 14px; }
.soft { color: var(--text-3); }
.lede { color: var(--text-2); font-size: clamp(16px, 1.5vw, 18px); margin: 0; max-width: 640px; }
.section-head.center .lede { margin-inline: auto; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); filter: blur(4px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out), filter 800ms var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; filter: none; }

/* corners */
.corner { position: absolute; width: 18px; height: 18px; border: 0 solid var(--pink); opacity: 0.7; pointer-events: none; }
.corner.tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.corner.tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.corner.bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.corner.br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  width: min(var(--max), 100% - 2 * var(--gut)); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 32px;
  padding: 110px 0 60px;
}
.hero-title { font: 300 clamp(48px, 9.5vw, 132px)/0.92 var(--display); letter-spacing: -0.05em; margin: 0 0 26px; }
.hero-title .line { display: block; }
.hero-title .line:first-child { font-weight: 600; background: linear-gradient(180deg, #fff, var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-title .soft { font-size: 0.42em; letter-spacing: -0.03em; margin-top: 14px; color: var(--text-2); }
.hero-sub { color: var(--text-2); font-size: clamp(16px, 1.6vw, 19px); max-width: 520px; margin: 0 0 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.hero-stats { display: flex; gap: clamp(20px, 4vw, 48px); margin: 0; padding-top: 22px; border-top: 1px solid var(--line); max-width: 520px; }
.hero-stats dt { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; }
.hero-stats dd { margin: 0; font-size: 20px; color: var(--text); }
.hero-copy .reveal:nth-child(2) { --d: 80ms; }
.hero-copy .reveal:nth-child(3) { --d: 160ms; }
.hero-copy .reveal:nth-child(4) { --d: 240ms; }
.hero-copy .reveal:nth-child(5) { --d: 320ms; }

.hero-figure { position: relative; height: min(78svh, 780px); display: flex; align-items: center; justify-content: center; padding: 28px 24px; }
.hero-her {
  position: relative; z-index: 2; height: 100%; width: auto; object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(228, 110, 147, 0.25));
  opacity: 0; transform: translateY(24px) scale(0.98);
  transition: opacity 1200ms var(--ease-out), transform 1400ms var(--ease-out);
}
body.is-awake .hero-her { opacity: 1; transform: translate3d(var(--px, 0), var(--py, 0), 0); transition: opacity 1200ms var(--ease-out), transform 1400ms var(--ease-out); }
body.is-settled .hero-her { transition: opacity 1200ms var(--ease-out), transform 600ms var(--ease-out); }
.hud-ring { position: absolute; z-index: 1; width: min(520px, 90%); aspect-ratio: 1; top: 50%; left: 50%; transform: translate(-50%, -54%); }
.hud-ring span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line); }
.hud-ring span:nth-child(1) { border-color: rgba(244, 184, 203, 0.18); background: radial-gradient(closest-side, rgba(228, 110, 147, 0.16), transparent 70%); }
.hud-ring span:nth-child(2) { inset: 9%; border-style: dashed; border-color: rgba(244, 184, 203, 0.22); animation: spin 60s linear infinite; }
.hud-ring span:nth-child(3) { inset: -6%; border-color: transparent; border-top-color: var(--pink); border-right-color: rgba(244,184,203,0.3); animation: spin 18s linear infinite reverse; }
.tag {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px;
  font-size: 11px; color: var(--text-2); padding: 7px 11px; border-radius: 8px;
  background: rgba(20, 10, 15, 0.7); border: 1px solid var(--line-2);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(6px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}
.tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.tag b { color: var(--text); font-weight: 500; }
.tag-a { top: 16%; left: 0; transition-delay: 900ms; }
.tag-b { top: 46%; right: 0; transition-delay: 1100ms; }
.tag-b i { background: var(--pink-2); }
.tag-c { bottom: 14%; left: 4%; transition-delay: 1300ms; }
.tag-c i { background: var(--cyan); }
body.is-awake .tag { opacity: 1; transform: none; }
.scroll-cue { position: absolute; left: 0; bottom: 26px; display: flex; align-items: center; gap: 12px; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-3); text-decoration: none; }
.scroll-cue i { width: 48px; height: 1px; background: linear-gradient(90deg, var(--pink), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--text); transform: translateX(-100%); animation: cue 2.4s var(--ease-io) infinite; }
@keyframes cue { 60%, 100% { transform: translateX(100%); } }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 96px; min-height: 0; }
  .hero-figure { order: -1; height: 62svh; }
  .scroll-cue { display: none; }
  .tag-a { left: 2%; } .tag-b { right: 2%; }
}

/* ---------- marquee ---------- */
.marquee { position: relative; z-index: 2; overflow: hidden; border-block: 1px solid var(--line); padding: 16px 0; margin-top: 40px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-3); padding: 0 28px; display: flex; align-items: center; gap: 56px; }
.marquee span::after { content: ""; width: 5px; height: 5px; background: var(--pink); transform: rotate(45deg); margin-left: 28px; opacity: 0.6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- capabilities ---------- */
.cap-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 20px; align-items: start; }
.cap-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cap { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); transition: border-color 250ms ease, background-color 250ms ease, opacity 800ms var(--ease-out), transform 800ms var(--ease-out), filter 800ms var(--ease-out); }
.cap:nth-child(2) { --d: 60ms; } .cap:nth-child(3) { --d: 120ms; } .cap:nth-child(4) { --d: 180ms; } .cap:nth-child(5) { --d: 240ms; } .cap:nth-child(6) { --d: 300ms; }
.cap h3 { font: 600 16px/1.2 var(--body); margin: 18px 0 8px; }
.cap p { margin: 0; color: var(--text-2); font-size: 14px; }
.cap-ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(244, 184, 203, 0.08); border: 1px solid var(--line-2); }
.cap-ico svg { width: 20px; height: 20px; fill: none; stroke: var(--pink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) { .cap:hover { border-color: var(--line-2); background: var(--panel-2); } }

.term { position: sticky; top: 90px; border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; background: rgba(8, 4, 6, 0.85); box-shadow: 0 30px 80px -30px rgba(0,0,0,0.8), 0 0 0 1px rgba(0,0,0,0.4); }
.term-bar, .win-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.term-bar i, .win-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.12); }
.term-bar i:first-child, .win-bar i:first-child { background: var(--rose); }
.term-bar span, .win-bar span { font-size: 11px; color: var(--text-3); margin-left: 8px; }
.term-body { margin: 0; padding: 18px; min-height: 360px; font-size: 12.5px; line-height: 1.75; color: var(--text-2); white-space: pre-wrap; word-break: break-word; }
.term-body .k { color: var(--pink); } .term-body .g { color: var(--ok); } .term-body .d { color: var(--text-3); } .term-body .c { color: var(--cyan); }
.caret { display: inline-block; width: 7px; height: 14px; background: var(--pink); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 960px) { .cap-layout { grid-template-columns: 1fr; } .term { position: relative; top: 0; } }
@media (max-width: 560px) { .cap-grid { grid-template-columns: 1fr; } }

/* ---------- HLQ ---------- */
.hlq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hlq-card { padding: 26px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel-2), transparent); display: flex; flex-direction: column; }
.hlq-card:nth-child(2) { --d: 80ms; } .hlq-card:nth-child(3) { --d: 160ms; }
.hlq-n { font-size: 11px; color: var(--pink); margin: 0 0 18px; letter-spacing: 0.16em; }
.hlq-card h3 { font: 400 20px/1.2 var(--display); letter-spacing: -0.02em; margin: 0 0 12px; }
.hlq-card p { color: var(--text-2); font-size: 14px; margin: 0 0 22px; }
.bits { margin-top: auto; display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; }
.b { font-size: 9.5px; text-align: center; padding: 10px 0; border-radius: 6px; border: 1px solid var(--line); color: var(--text-3); }
.b.q { color: var(--text); border-color: var(--line-2); background: rgba(244, 184, 203, 0.08); }
.b.a { color: #2a0f17; background: var(--pink); border-color: var(--pink); }
.wave { margin-top: auto; height: 44px; }
.wave svg { width: 100%; height: 100%; overflow: visible; }
.wave path { fill: none; stroke: var(--pink); stroke-width: 1.5; stroke-dasharray: 6 4; animation: dash 3s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -40; } }
.codebook { margin-top: auto; height: 44px; display: grid; grid-template-columns: repeat(24, 1fr); gap: 2px; }
.codebook span { border-radius: 2px; background: var(--pink); opacity: 0.08; transition: opacity 600ms ease; }
.codebook span.on { opacity: 0.85; transition-duration: 120ms; }

.compare { margin-top: 12px; padding: 26px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); }
.compare-title { margin: 0 0 18px; font-size: 11px; color: var(--text-3); letter-spacing: 0.16em; text-transform: uppercase; }
.bar { display: grid; grid-template-columns: 200px 1fr 80px; gap: 16px; align-items: center; padding: 8px 0; font-size: 14px; color: var(--text-2); }
.bar-track { height: 10px; border-radius: 99px; background: rgba(255,255,255,0.04); overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: inherit; background: rgba(255,255,255,0.18); transform-origin: left; transform: scaleX(0); transition: transform 1600ms var(--ease-out); }
.bar.is-her { color: var(--text); }
.bar.is-her .bar-fill { background: linear-gradient(90deg, var(--pink-2), var(--pink)); box-shadow: 0 0 16px var(--pink-2); }
.bar-val { text-align: right; font-size: 13px; }
.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 12px 0 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.specs div { padding: 20px 22px; border-right: 1px solid var(--line); }
.specs div:last-child { border-right: 0; }
.specs dt { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--pink); margin-bottom: 8px; }
.specs dd { margin: 0; font-size: 12.5px; color: var(--text-2); line-height: 1.6; }
@media (max-width: 960px) { .hlq-grid { grid-template-columns: 1fr; } .specs { grid-template-columns: 1fr 1fr; } .specs div:nth-child(2) { border-right: 0; } .specs div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .bar { grid-template-columns: 1fr 64px; } .bar-label { grid-column: 1 / -1; font-size: 13px; } .specs { grid-template-columns: 1fr; } .specs div { border-right: 0; border-bottom: 1px solid var(--line); } .specs div:last-child { border-bottom: 0; } }

/* ---------- timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; max-width: 820px; }
.timeline::before { content: ""; position: absolute; left: 76px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--line-2), var(--line) 80%, transparent); }
.tl { display: grid; grid-template-columns: 64px 1fr; gap: 36px; padding: 0 0 34px; position: relative; }
.tl::before { content: ""; position: absolute; left: 72px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1px solid var(--pink); }
.tl-id { font-size: 12px; color: var(--pink); padding-top: 2px; }
.tl h3 { font: 600 16px/1.3 var(--body); margin: 0 0 6px; }
.tl p { margin: 0; color: var(--text-2); font-size: 14.5px; }
.tl:nth-child(4) h3, .tl:nth-child(4) p { color: var(--text-3); }
.tl:nth-child(4)::before { border-color: var(--text-3); background: var(--text-3); }
.tl-last::before { background: var(--pink); box-shadow: 0 0 14px var(--pink-2); }
.tl-last p::after { content: ""; display: inline-block; width: 7px; height: 14px; margin-left: 3px; vertical-align: -2px; background: var(--text-3); animation: blink 1.2s steps(1) infinite; }

/* ---------- customize ---------- */
.studio { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.studio-stage { position: relative; min-height: 640px; border-radius: 22px; border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; padding: 40px 24px 70px;
  background:
    radial-gradient(60% 50% at 50% 45%, rgba(228,110,147,0.18), transparent 70%),
    linear-gradient(rgba(244,184,203,0.05) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(244,184,203,0.05) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--bg-2);
}
.stage-floor { position: absolute; left: 50%; bottom: 58px; width: 60%; height: 40px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(244,143,179,0.35), transparent); }
.stage-her { position: relative; height: 560px; width: auto; max-width: 100%; object-fit: contain; transition: opacity 220ms var(--ease-out), filter 220ms var(--ease-out), transform 220ms var(--ease-out); }
.stage-her.is-swapping, #mood-img.is-swapping, .details img.is-swapping { opacity: 0; filter: blur(8px); transform: scale(0.985); }
.stage-ui { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stage-id { margin: 0; font-size: 11px; color: var(--text-3); letter-spacing: 0.14em; }
.seg { display: inline-flex; padding: 3px; border-radius: 10px; border: 1px solid var(--line); background: rgba(0,0,0,0.3); }
.seg-btn { border: 0; background: transparent; color: var(--text-3); font-size: 12px; padding: 7px 14px; border-radius: 7px; transition: color 200ms ease, background-color 200ms ease, transform 160ms var(--ease-out); }
.seg-btn.is-on { background: var(--panel-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.seg-btn:active, .chip:active, .outfit:active, .bill:active { transform: scale(0.97); }

.studio-panel { border-radius: 22px; border: 1px solid var(--line); background: var(--panel); padding: 24px; display: flex; flex-direction: column; gap: 22px; }
.field-label { margin: 0 0 10px; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); }
.outfits { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.outfit { display: flex; align-items: center; gap: 12px; padding: 8px; text-align: left; border-radius: 14px; border: 1px solid var(--line); background: transparent; transition: border-color 200ms ease, background-color 200ms ease, transform 160ms var(--ease-out); }
.outfit img { width: 54px; height: 54px; object-fit: cover; object-position: 50% 30%; border-radius: 10px; }
.outfit b { display: block; font-size: 14px; font-weight: 600; }
.outfit small { font-size: 10px; color: var(--text-3); }
.outfit.is-on { border-color: var(--pink); background: rgba(244,184,203,0.07); box-shadow: 0 0 0 3px rgba(244,184,203,0.08); }
.mood-wrap { display: grid; grid-template-columns: 132px 1fr; grid-template-rows: auto 1fr; gap: 10px 14px; }
.mood-view { grid-row: 1 / 3; width: 132px; height: 132px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: var(--bg-2); }
.mood-view img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transition: opacity 200ms var(--ease-out), filter 200ms var(--ease-out), transform 200ms var(--ease-out); }
.moods { display: flex; flex-wrap: wrap; gap: 6px; align-content: flex-start; }
.chip { font-size: 12.5px; padding: 7px 12px; border-radius: 9px; border: 1px solid var(--line); background: transparent; color: var(--text-2); transition: border-color 200ms ease, color 200ms ease, background-color 200ms ease, transform 160ms var(--ease-out); }
.chip.is-on { color: #2a0f17; background: var(--pink); border-color: var(--pink); }
.mood-line { margin: 0; font-size: 12px; color: var(--pink); align-self: end; min-height: 3.2em; }
.palette { display: flex; gap: 6px; }
.palette span { flex: 1; height: 34px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.08); transform-origin: bottom; animation: sw 400ms var(--ease-out) both; }
@keyframes sw { from { opacity: 0; transform: scaleY(0.6); } }
.details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.details figure { margin: 0; }
.details img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); transition: opacity 200ms var(--ease-out), filter 200ms var(--ease-out), transform 200ms var(--ease-out); }
.details figcaption { font-size: 10px; color: var(--text-3); margin-top: 6px; letter-spacing: 0.14em; text-transform: uppercase; }
.save-note { margin: -10px 0 0; font-size: 12px; color: var(--ok); min-height: 1.4em; opacity: 0; transition: opacity 300ms ease; }
.save-note.is-on { opacity: 1; }
@media (max-width: 960px) { .studio { grid-template-columns: 1fr; } .studio-stage { min-height: 520px; } .stage-her { height: 440px; } }
@media (max-width: 420px) { .mood-wrap { grid-template-columns: 96px 1fr; } .mood-view { width: 96px; height: 96px; } }

/* ---------- herpet ---------- */
.desk { border-radius: 22px; border: 1px solid var(--line-2); overflow: hidden; background: #0a0a12; box-shadow: 0 40px 100px -40px rgba(0,0,0,0.9); }
.desk-screen { position: relative; height: clamp(460px, 52vw, 600px); overflow: hidden;
  background:
    radial-gradient(70% 60% at 30% 20%, rgba(159,232,255,0.10), transparent 70%),
    radial-gradient(60% 70% at 80% 90%, rgba(228,110,147,0.22), transparent 70%),
    linear-gradient(160deg, #191025, #0d0a14 60%, #1a0c14);
}
.win { position: absolute; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); background: rgba(16, 14, 22, 0.92); box-shadow: 0 24px 60px -20px rgba(0,0,0,0.8); margin: 0; }
.win-code { left: 4%; top: 7%; width: 48%; height: 72%; }
.win-body { margin: 0; padding: 14px 16px; font-size: 11.5px; line-height: 1.7; color: #b8b0c8; white-space: pre; overflow: hidden; }
.win-body .k { color: #ff9fbf; } .win-body .s { color: #a8f0c8; } .win-body .c { color: #6f6880; } .win-body .f { color: #9fe8ff; }
.win-shot { right: 4%; top: 12%; width: 42%; }
.win-shot img { width: 100%; }
.pet { position: absolute; left: 54%; bottom: 0; width: clamp(80px, 9vw, 120px); padding: 0; border: 0; background: none; transform-origin: bottom center; animation: idle 4s ease-in-out infinite; transition: left 2400ms var(--ease-io); touch-action: manipulation; }
.pet img { width: 100%; filter: drop-shadow(0 6px 10px rgba(0,0,0,0.5)); }
.pet.is-walk { animation: walk 500ms ease-in-out infinite; }
.pet.is-flip img { transform: scaleX(-1); }
@keyframes idle { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.985); } }
@keyframes walk { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-3px) rotate(1deg); } }
.bubble { position: absolute; bottom: 100%; left: 50%; transform: translate(-50%, -8px); white-space: nowrap; font-size: 11.5px; padding: 8px 12px; border-radius: 12px; background: #fff; color: #2a0f17; box-shadow: 0 8px 24px -6px rgba(0,0,0,0.5); transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
.bubble::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -6px; border: 6px solid transparent; border-top-color: #fff; }
.bubble.is-swap { opacity: 0; transform: translate(-50%, -4px) scale(0.96); }
.pet-menu { position: absolute; z-index: 5; min-width: 200px; padding: 6px; border-radius: 10px; background: rgba(32, 30, 40, 0.97); border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 16px 40px -10px rgba(0,0,0,0.7); transform-origin: var(--origin, bottom left); transition: opacity 150ms var(--ease-out), transform 150ms var(--ease-out); font-family: "Segoe UI", var(--body); }
.pet-menu[hidden] { display: block; opacity: 0; transform: scale(0.96); pointer-events: none; visibility: hidden; }
.pet-menu button { display: flex; justify-content: space-between; width: 100%; padding: 7px 12px; border: 0; border-radius: 6px; background: none; color: #e8e6ee; font-size: 13px; text-align: left; }
.pet-menu button:hover, .pet-menu button:focus-visible { background: rgba(255,255,255,0.08); outline: none; }
.pet-menu span { color: #8a8798; }
.pet-menu hr { border: 0; border-top: 1px solid rgba(255,255,255,0.08); margin: 5px 4px; }
.taskbar { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; background: rgba(20, 18, 28, 0.94); border-top: 1px solid rgba(255,255,255,0.07); }
.taskbar span { width: 30px; height: 30px; border-radius: 7px; background: rgba(255,255,255,0.06); }
.tb-start { background: linear-gradient(135deg, #9fe8ff, #7aa7ff) !important; opacity: 0.8; }
.tb-her { display: grid; place-items: center; background: rgba(244,184,203,0.14) !important; box-shadow: inset 0 -2px 0 var(--pink); }
.tb-her img { width: 20px; height: 20px; }
.tb-clock { margin-left: auto; width: auto !important; height: auto !important; background: none !important; font-size: 12px; color: #c9c6d4; }
@media (max-width: 760px) { .win-code { width: 88%; height: 54%; } .win-shot { display: none; } .pet { left: 60%; } }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.shot { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #1f1f1f; display: flex; flex-direction: column; }
.shot:nth-child(2) { --d: 80ms; } .shot:nth-child(3) { --d: 160ms; }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; }
.shot figcaption { padding: 14px 16px; background: var(--bg-2); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; margin-top: auto; }
.shot b { font-size: 14px; font-weight: 600; }
.shot span { font-size: 11px; color: var(--text-3); }
@media (max-width: 760px) { .shots { grid-template-columns: 1fr; } }

.phone-row { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; margin-top: clamp(60px, 8vw, 110px); }
.phone { position: relative; width: 290px; height: 590px; border-radius: 46px; padding: 12px; background: linear-gradient(160deg, #2a2230, #120d16); border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 40px 80px -30px rgba(228,110,147,0.35), inset 0 0 0 1px rgba(0,0,0,0.5); }
.phone-notch { position: absolute; top: 22px; left: 50%; width: 92px; height: 26px; border-radius: 20px; background: #000; transform: translateX(-50%); z-index: 2; }
.phone-screen { height: 100%; border-radius: 36px; overflow: hidden; display: flex; flex-direction: column; background: radial-gradient(120% 60% at 50% 0%, rgba(228,110,147,0.25), transparent 60%), #0e0710; padding: 18px 16px 16px; }
.phone-top { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-2); margin: 0 6px 40px; }
.phone-top span:nth-child(2) { color: var(--pink); font-weight: 500; }
.chat { display: flex; flex-direction: column; gap: 8px; flex: 1; justify-content: flex-end; }
.msg { margin: 0; font-size: 13px; line-height: 1.45; padding: 9px 12px; border-radius: 16px; max-width: 82%; opacity: 0; transform: translateY(8px); transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out); }
.msg.is-in { opacity: 1; transform: none; }
.msg.me { align-self: flex-end; background: var(--pink); color: #2a0f17; border-bottom-right-radius: 5px; }
.msg.her { align-self: flex-start; background: rgba(255,255,255,0.07); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.phone-input { margin-top: 14px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); font-size: 12px; color: var(--text-3); }
.phone-copy p { color: var(--text-2); max-width: 480px; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; font-size: 13px; color: var(--text-2); }
.ticks li { display: flex; align-items: center; gap: 12px; }
.ticks li::before { content: ""; width: 14px; height: 1px; background: var(--pink); }
@media (max-width: 760px) { .phone-row { grid-template-columns: 1fr; justify-items: center; } .phone { width: 260px; height: 530px; } }

/* ---------- pricing ---------- */
.billing { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; margin-top: 18px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0,0,0,0.3); isolation: isolate; }
.bill { position: relative; z-index: 1; border: 0; background: none; padding: 10px 18px; font-size: 12.5px; color: var(--text-2); border-radius: 9px; transition: color 250ms ease, transform 160ms var(--ease-out); white-space: nowrap; }
.bill em { font-style: normal; color: var(--pink); font-size: 10.5px; margin-left: 4px; }
.bill.is-on { color: #2a0f17; }
.bill.is-on em { color: #6a2238; }
.bill-glider { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 9px; background: var(--pink); transition: transform 320ms var(--ease-out); }
.billing.is-y .bill-glider { transform: translateX(100%); }
@media (max-width: 420px) { .bill em { display: none; } }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.plan { position: relative; padding: 30px 26px 26px; border-radius: 22px; border: 1px solid var(--line); background: var(--panel); display: flex; flex-direction: column; }
.plan:nth-child(2) { --d: 80ms; } .plan:nth-child(3) { --d: 160ms; }
.plan h3 { font: 400 22px/1 var(--display); margin: 0 0 8px; letter-spacing: -0.02em; }
.plan-for { margin: 0 0 26px; color: var(--text-3); font-size: 14px; }
.price { display: flex; align-items: baseline; gap: 4px; margin: 0; }
.cur { font-size: 20px; color: var(--text-2); }
.amt { font: 600 46px/1 var(--display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; display: inline-block; transition: opacity 180ms var(--ease-out), filter 180ms var(--ease-out), transform 180ms var(--ease-out); }
.amt.is-swap { opacity: 0; filter: blur(4px); transform: translateY(-6px); }
.per { font-size: 12px; color: var(--text-3); margin-left: 6px; }
.save { margin: 8px 0 0; font-size: 11px; color: var(--ok); min-height: 1.5em; }
.feat { list-style: none; margin: 24px 0 28px; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 11px; font-size: 14px; color: var(--text-2); flex: 1; align-content: start; }
.feat li { display: flex; gap: 10px; align-items: baseline; }
.feat li::before { content: ""; flex: none; width: 6px; height: 6px; transform: rotate(45deg) translateY(-1px); background: var(--pink); opacity: 0.8; }
.plan-pop { border-color: rgba(244,184,203,0.5); background: linear-gradient(180deg, rgba(244,184,203,0.1), rgba(244,184,203,0.02) 60%); box-shadow: 0 30px 80px -30px rgba(228,110,147,0.45); }
.pop { position: absolute; top: -11px; left: 26px; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; padding: 5px 10px; border-radius: 7px; background: var(--pink); color: #2a0f17; margin: 0; }
.fine { text-align: center; color: var(--text-3); font-size: 11.5px; margin: 26px 0 0; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* ---------- note ---------- */
.note { margin: 0 auto; max-width: 780px; padding: clamp(32px, 5vw, 56px); border-radius: 26px; border: 1px solid var(--line); background: radial-gradient(80% 100% at 0% 0%, rgba(228,110,147,0.12), transparent 60%), var(--panel); position: relative; }
.note blockquote { margin: 0; }
.note blockquote p { font: 300 clamp(19px, 2.4vw, 26px)/1.45 var(--display); letter-spacing: -0.02em; margin: 0 0 18px; color: var(--text); }
.note blockquote p:last-child { color: var(--pink); }
.note figcaption { display: flex; align-items: baseline; gap: 14px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.sig { font: 600 22px/1 var(--display); letter-spacing: -0.02em; }
.note figcaption .mono { font-size: 11px; color: var(--text-3); }

/* ---------- faq ---------- */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-size: 17px; font-weight: 500; transition: color 200ms ease; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after, .qa summary::before { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 1.5px; background: var(--pink); transition: transform 250ms var(--ease-out); }
.qa summary::before { transform: rotate(90deg); }
.qa[open] summary::before { transform: rotate(0deg); }
.qa div { padding: 0 0 22px; color: var(--text-2); max-width: 640px; }
.qa div p { margin: 0; }
.qa[open] div { animation: qa 300ms var(--ease-out); }
@keyframes qa { from { opacity: 0; transform: translateY(-4px); } }
@media (hover: hover) and (pointer: fine) { .qa summary:hover { color: var(--pink); } }

/* ---------- footer ---------- */
.foot { width: min(var(--max), 100% - 2 * var(--gut)); margin: clamp(100px, 14vw, 180px) auto 0; padding: 40px 0 120px; border-top: 1px solid var(--line); }
.foot-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-brand p { margin: 10px 0 0; color: var(--text-3); font-size: 14px; }
.foot-status { display: flex; gap: 36px; margin: 0; flex-wrap: wrap; }
.foot-status dt { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; }
.foot-status dd { margin: 0; font-size: 13px; display: flex; align-items: center; gap: 8px; }
.foot-bot { display: flex; justify-content: space-between; margin-top: 40px; font-size: 11px; color: var(--text-3); }
.egg { color: transparent; user-select: none; width: 8px; }

/* ---------- dock ---------- */
.dock {
  position: fixed; z-index: 60; right: 16px; bottom: 16px;
  display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px;
  border-radius: 16px; border: 1px solid var(--line-2);
  background: rgba(16, 8, 12, 0.82); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.8);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
}
body.is-awake .dock { opacity: 1; transform: none; pointer-events: auto; }
.dock-play { width: 42px; height: 42px; border-radius: 11px; border: 0; display: grid; place-items: center; background: var(--pink); color: #2a0f17; transition: transform 160ms var(--ease-out), background-color 200ms ease; }
.dock-play:active { transform: scale(0.94); }
.dock-play svg { width: 18px; height: 18px; fill: currentColor; grid-area: 1 / 1; transition: opacity 160ms ease, transform 200ms var(--ease-out); }
.dock-play .i-pause, .dock-play[aria-pressed="true"] .i-play { opacity: 0; transform: scale(0.7); }
.dock-play[aria-pressed="true"] .i-pause { opacity: 1; transform: none; }
.dock-meta { min-width: 0; }
.dock-title { margin: 0; font-size: 13px; font-weight: 600; white-space: nowrap; }
.dock-sub { margin: 2px 0 0; font-size: 10.5px; color: var(--text-3); display: flex; gap: 10px; }
.dock-rate { color: var(--pink); font-variant-numeric: tabular-nums; }
.dock-viz { width: 96px; height: 28px; }
.dock-vol { display: flex; align-items: center; gap: 6px; color: var(--text-2); }
.dock-vol svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dock-vol svg path:first-child { fill: currentColor; stroke: none; }
.dock-vol input { -webkit-appearance: none; appearance: none; width: 84px; height: 18px; background: transparent; cursor: pointer; }
.dock-vol input::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--pink) var(--v, 60%), rgba(255,255,255,0.14) var(--v, 60%)); }
.dock-vol input::-moz-range-track { height: 3px; border-radius: 3px; background: rgba(255,255,255,0.14); }
.dock-vol input::-moz-range-progress { height: 3px; border-radius: 3px; background: var(--pink); }
.dock-vol input::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; margin-top: -4.5px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 3px rgba(244,184,203,0.3); }
.dock-vol input::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 0; }
@media (max-width: 640px) {
  .dock { left: 12px; right: 12px; bottom: 12px; }
  .dock-meta { flex: 1; }
  .dock-viz { display: none; }
  .dock-vol input { width: 70px; }
}

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: grid; visibility: hidden; pointer-events: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(6, 2, 4, 0.7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 1; transition: opacity 250ms ease; }
.modal-card { position: relative; width: min(440px, 100%); padding: 32px; border-radius: 22px; border: 1px solid var(--line-2); background: linear-gradient(180deg, #1b0d14, #120910); box-shadow: 0 40px 100px -30px rgba(0,0,0,0.9); transition: opacity 250ms var(--ease-out), transform 250ms var(--ease-out); }
.modal[hidden] .modal-backdrop { opacity: 0; }
.modal[hidden] .modal-card { opacity: 0; transform: scale(0.96) translateY(6px); }
.modal-card h2 { font: 400 24px/1.15 var(--display); letter-spacing: -0.02em; margin: 0 0 12px; }
.modal-card > p { color: var(--text-2); margin: 0 0 20px; font-size: 15px; }
.modal-meta { margin: 0 0 22px; border: 1px solid var(--line); border-radius: 12px; }
.modal-meta div { display: flex; justify-content: space-between; padding: 10px 14px; font-size: 12px; border-bottom: 1px solid var(--line); }
.modal-meta div:last-child { border-bottom: 0; }
.modal-meta dt { color: var(--text-3); }
.modal-meta dd { margin: 0; }
.modal-sig { font: 600 18px/1 var(--display); margin: 0 0 22px; color: var(--pink); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transform: none; filter: none; transition: opacity 300ms ease; }
  .hero-her, body.is-awake .hero-her { transform: none !important; }
  .marquee-track, .gate-ring, .hud-ring span, .wave path, .pet, .scroll-cue i::after { animation: none !important; }
  .bar-fill { transition-duration: 1ms; }
  .pet { transition: none; }
}
.modal { transition: visibility 0s linear 0s; }
.modal[hidden] { transition: visibility 0s linear 260ms; }
