@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-italic.woff2") format("woff2");
  font-style: italic; font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/assets/fonts/plus-jakarta-sans.woff2") format("woff2");
  font-style: normal; font-weight: 400 800; font-display: swap; }

/* BaeNest — shared styles. Mobile-first, light + dark via prefers-color-scheme.
   .night sections are always dark (cinematic hero, story, closing band). */

:root {
  --bg: #ffffff;
  --bg-2: #fff1f4;
  --surface: #ffffff;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(58, 15, 36, 0.08);
  --text: #3a0f24;
  --muted: #6e4558;
  --accent: #c2185b;
  --gold: #a87a3d;
  --btn-bg: #3a0f24;
  --btn-text: #ffffff;
  --btn-hover: #5a1736;
  --border: #f6e1e7;
  --ring: rgba(194, 24, 91, 0.4);
  --shadow: 0 1px 2px rgba(58, 15, 36, 0.05), 0 14px 36px -18px rgba(58, 15, 36, 0.22);
  --shadow-lg: 0 2px 4px rgba(58, 15, 36, 0.06), 0 36px 72px -30px rgba(58, 15, 36, 0.38);
  --hairline: rgba(58, 15, 36, 0.08);
  --grad-text: linear-gradient(100deg, #d81b60 0%, #a0174f 55%, #5a1736 100%);
  --grad-icon: linear-gradient(140deg, #f06292 0%, #a0174f 100%);
  --hero: radial-gradient(60% 50% at 15% 10%, #fde3d6 0%, transparent 70%),
          radial-gradient(55% 55% at 90% 20%, #f8d7df 0%, transparent 70%),
          radial-gradient(70% 60% at 50% 100%, #f6e3d3 0%, transparent 70%),
          #ffffff;
  --bubble: #dcf5d0;
  --grain: 0.03;
  --radius: 28px;
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c0712;
    --bg-2: #25091a;
    --surface: #2e0d20;
    --glass: rgba(46, 13, 32, 0.62);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text: #fdf0f3;
    --muted: #e2c4d0;
    --accent: #ff9ab8;
    --gold: #e2bd85;
    --btn-bg: #f8d7df;
    --btn-text: #3a0f24;
    --btn-hover: #ffffff;
    --border: #451a30;
    --ring: rgba(255, 154, 184, 0.45);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -20px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.3), 0 40px 80px -30px rgba(0, 0, 0, 0.8);
    --hairline: rgba(255, 255, 255, 0.08);
    --grad-text: linear-gradient(100deg, #ffb3c9 0%, #f48fb1 50%, #e8c39e 100%);
    --hero: radial-gradient(60% 50% at 15% 10%, #4a1428 0%, transparent 70%),
            radial-gradient(55% 55% at 90% 20%, #45122e 0%, transparent 70%),
            radial-gradient(70% 60% at 50% 100%, #3a1a1c 0%, transparent 70%),
            #1c0712;
    --bubble: #1f3d2c;
    --grain: 0.06;
  }
}

.night {
  --night: #2a0b1c;
  --text: #fff3f5;
  --muted: #e8cad5;
  --accent: #ffa5c0;
  --gold: #e2bd85;
  --surface: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.1);
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.14);
  --btn-bg: #ffffff;
  --btn-text: #3a0f24;
  --btn-hover: #fbe3ea;
  --grad-text: linear-gradient(100deg, #ffc2d4 0%, #f7a1bd 45%, #e8c39e 100%);
  --shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.8);
  background: radial-gradient(120% 80% at 50% 0%, #3d1029 0%, var(--night) 60%), var(--night);
  color: var(--text);
  position: relative;
  isolation: isolate;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: var(--grain);
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; border-radius: 10px; }

h1, h2, h3 { line-height: 1.04; letter-spacing: -0.04em; margin: 0 0 0.45em; text-wrap: balance; }
h1 { font-size: clamp(3rem, 12.5vw, 6.2rem); font-weight: 800; }
h2 { font-size: clamp(2.1rem, 7.5vw, 3.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 750; letter-spacing: -0.02em; line-height: 1.2; }
h1 em, h2 em, h3 em {
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; font-optical-sizing: auto;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: 0.08em;
}
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 28px; } }

.skip { position: absolute; left: -999px; top: 8px; }
.skip:focus { left: 8px; z-index: 30; background: var(--surface); padding: 8px 14px; }

/* Floating glass header */
.site-header { position: sticky; top: 0; z-index: 20; padding: 12px 12px 0; height: 72px; }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px;
  max-width: 1100px; padding: 0 8px 0 16px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: 0 10px 30px -18px rgba(43, 20, 48, 0.4);
}
.site-header + main { margin-top: -72px; }
.site-header .wrap, .site-header .brand, .site-header .nav a { transition: background-color .4s ease, border-color .4s ease, color .4s ease; }
.site-header.on-night .wrap { background: rgba(42, 11, 28, .66); border-color: rgba(255, 255, 255, .12); }
.site-header.on-night .brand { color: #fbeef4; }
.site-header.on-night .nav a:not(.btn) { color: #e3cddc; }
.site-header.on-night .nav a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, .08); }
.site-header.on-night .btn { background: #fff; color: #3a0f24; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none;
  font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; transform-origin: 50% 60%; filter: drop-shadow(0 4px 8px rgba(194, 24, 91, .28));
  animation: logoIn 1s var(--ease) both, logoBeat 5s 1.4s ease-in-out infinite; }
@keyframes logoIn { from { opacity: 0; transform: scale(.4) rotate(-24deg); } }
@keyframes logoBeat { 0%, 70%, 100% { transform: scale(1); } 76% { transform: scale(1.14); } 82% { transform: scale(.97); } 88% { transform: scale(1.08); } 94% { transform: scale(1); } }
.eyebrow .dot-logo { width: 22px; height: 22px; animation: logoBeat 5s 2s ease-in-out infinite; }
/* Official logo, big: glow, beating heart, orbiting comet ring */
.logo-orb { position: relative; width: 132px; height: 132px; margin: 0 auto 34px; display: grid; place-items: center;
  animation: float 6s ease-in-out infinite; }
.logo-orb img { width: 104px; height: auto; animation: logoBeat 4s ease-in-out infinite; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .35)); }
.logo-orb::before { content: ""; position: absolute; inset: -14px; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 62%, rgba(255, 92, 141, .95) 82%, rgba(124, 92, 255, .95) 96%, transparent 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
  animation: spin 5s linear infinite; }
.logo-orb::after { content: ""; position: absolute; inset: -34px; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 92, 141, .5), rgba(124, 92, 255, .28) 60%, transparent);
  filter: blur(8px); animation: breathe 4s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.95rem;
  padding: 8px 14px; border-radius: 999px; display: none; }
.nav a:not(.btn):hover { color: var(--text); background: var(--glass); }
@media (min-width: 820px) { .nav a:not(.btn) { display: inline; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px;
  padding: 12px 24px; border-radius: 999px; border: 0; font: inherit; font-weight: 700; text-decoration: none;
  cursor: pointer; background: var(--btn-bg); color: var(--btn-text); box-shadow: var(--shadow);
  transition: transform .3s var(--ease), background-color .2s ease, box-shadow .3s ease; }
.btn { background-image: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0) 60%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), var(--shadow); }
.btn:hover { background-color: var(--btn-hover); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: 0.95rem; box-shadow: inset 0 1px 0 rgba(255,255,255,.22); }
.btn-ghost { background: var(--glass); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--glass-border);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { background: var(--surface); color: var(--text); }
.btn-play small { display: block; font-size: 0.72rem; font-weight: 600; opacity: 0.75; line-height: 1.1; }
.btn-play span { text-align: left; line-height: 1.15; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: 0.88rem; color: var(--text);
  background: var(--glass); border: 1px solid var(--glass-border); padding: 6px 14px 6px 8px; border-radius: 999px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); margin-bottom: 22px; }
.eyebrow .dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 0.72rem;
  background: var(--grad-icon); color: #fff; }
.lead { font-size: clamp(1.1rem, 3.6vw, 1.3rem); color: var(--muted); max-width: 38ch; text-wrap: pretty; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.fine { font-size: 0.92rem; color: var(--muted); margin-top: 18px; }
.kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--gold); margin-bottom: 16px; }

/* ---------- Stars + aurora (night sections) ---------- */
.stars { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.stars i { position: absolute; border-radius: 50%; background: #ffeedd; opacity: .5;
  animation: twinkle var(--t, 3s) var(--d, 0s) ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: .15; } 50% { opacity: .9; } }
.aurora { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.aurora::before, .aurora::after { content: ""; position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%;
  filter: blur(90px); opacity: .55; animation: drift 22s ease-in-out infinite alternate; }
.aurora::before { background: radial-gradient(circle, #9b2456 0%, transparent 65%); top: -30vmax; right: -25vmax; }
.aurora::after { background: radial-gradient(circle, #8a5a2b 0%, transparent 65%); bottom: -35vmax; left: -25vmax; animation-delay: -11s; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(6vmax, 4vmax) scale(1.15); } }

/* ---------- Hero ---------- */
.hero { padding: 120px 0 72px; overflow: hidden; min-height: 100svh; display: flex; align-items: center; }
.hero .wrap { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .hero { padding: 120px 0 80px; } .hero .wrap { grid-template-columns: 1.1fr 0.9fr; gap: 40px; } }
.hero-stage { position: relative; }
@media (min-width: 960px) {
  .hero-copy { transform: translateY(calc(var(--hs, 0) * -90px)); opacity: calc(1 - var(--hs, 0) * 1.4); }
  .hero-stage { transform: translateY(calc(var(--hs, 0) * -50px)) scale(calc(1 + var(--hs, 0) * .08)); }
}
.h-line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.h-line > span { display: inline-block; animation: rise 1.2s var(--ease) both; }
.h-line:nth-child(2) > span { animation-delay: .14s; }
@keyframes rise { from { transform: translateY(110%) rotate(3deg); } }
.fade-up { animation: fadeUp 1.1s var(--ease) both; }
.d1 { animation-delay: .35s; } .d2 { animation-delay: .5s; } .d3 { animation-delay: .65s; } .d4 { animation-delay: .8s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); filter: blur(6px); } }
.meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 28px; color: var(--muted); font-size: 0.92rem; font-weight: 600; }
.meta span::before { content: "✦"; color: var(--gold); margin-right: 8px; font-size: .8em; }

/* ---------- Phone ---------- */
.phone-wrap { container-type: inline-size; position: relative; width: min(300px, 76vw); margin: 0 auto; }
.phone-glow { position: absolute; inset: 10% -30% -10%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(240, 98, 146, .45), rgba(226, 189, 133, .22) 55%, transparent);
  filter: blur(30px); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .6; transform: scale(.94); } }
.phone-intro { animation: phoneIn 1.8s .2s var(--ease) both; transform-origin: 50% 100%; }
@keyframes phoneIn { from { opacity: 0; transform: perspective(1200px) translateY(160px) rotateX(30deg) scale(.86); } }
/* Rose-titanium rim, black glass bezel, side buttons. Sizes in cqi = % of .phone-wrap width. */
.phone { position: relative; aspect-ratio: 9 / 18.6; border-radius: 16cqi; padding: 1.3cqi;
  background: linear-gradient(150deg, #f6e1ec 0%, #a88aa3 16%, #47344c 40%, #2a1d2f 58%, #7d6585 80%, #f0d9e6 100%);
  box-shadow: inset 0 0 0 .3cqi rgba(255,255,255,.5), inset 0 0 0 .75cqi rgba(0,0,0,.22),
    0 8cqi 16cqi -6cqi rgba(225,29,92,.3), 0 22cqi 40cqi -14cqi rgba(0,0,0,.8); }
.phone::before, .phone::after { content: ""; position: absolute; width: 1.3cqi; border-radius: 1cqi; }
.phone::before { left: -1cqi; top: 22%; height: 10%; background: linear-gradient(90deg, #4d3a53, #c9adc3);
  box-shadow: 0 13cqi 0 #8c7290; }
.phone::after { right: -1cqi; top: 29%; height: 15%; background: linear-gradient(270deg, #4d3a53, #c9adc3); }
.phone-float { animation: bob 8s 2s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(.6deg); } }
.screen { position: relative; height: 100%; border-radius: 14.7cqi; border: 2.3cqi solid #050206; overflow: hidden; color: #3a0f24; font-size: 4.4cqi; line-height: 1.35;
  background: linear-gradient(180deg, #fff8f3 0%, #fde9ee 60%, #f9e2e2 100%); }
.screen::before { content: ""; position: absolute; z-index: 3; top: 2cqi; left: 50%; width: 27cqi; height: 7.6cqi; margin-left: -13.5cqi;
  border-radius: 999px; background: #050206; }
.screen::after { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: linear-gradient(118deg, rgba(255,255,255,.28) 0%, rgba(255,255,255,.06) 26%, rgba(255,255,255,0) 40%); }
.scr { position: absolute; inset: 0; padding: 12cqi 4.5cqi 4.5cqi; display: flex; flex-direction: column; gap: .7em; }
.s-head small { display: block; color: #7a4a5e; font-weight: 650; font-size: .8em; }
.s-head strong { font-size: 1.3em; letter-spacing: -0.02em; }
.s-card { background: rgba(255,255,255,.85); border-radius: 1.3em; padding: .8em .9em; box-shadow: 0 .6em 1.4em -1em rgba(91,31,85,.5); }
.s-label { font-size: .72em; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #b8174f; margin-bottom: .3em; display: block; }
.s-dark { color: #fff3f5; background: linear-gradient(160deg, #3a0f24, #7a1d45); position: relative; overflow: hidden; }
.s-dark small { color: #e7c9dc; }
.s-dark::after { content: "✦  ·  ✧    ·   ✦ ·"; position: absolute; right: .8em; top: .5em; color: #ffd6e6; opacity: .6; font-size: .8em; letter-spacing: .3em; }
.live { display: inline-flex; align-items: center; gap: .35em; font-size: .7em; font-weight: 800; letter-spacing: .08em; color: #fff;
  background: #e11d5c; padding: .2em .6em; border-radius: 999px; }
.live::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: #fff; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.ritual { list-style: none; margin: 0; padding: 0; display: grid; gap: .45em; font-weight: 650; }
.ritual li { display: flex; align-items: center; gap: .6em; }
.ritual li::before { content: "✓"; width: 1.4em; height: 1.4em; border-radius: 50%; display: grid; place-items: center;
  font-size: .75em; color: #fff; background: #d6336c; flex: none; }
.ritual li.open::before { content: ""; background: transparent; box-shadow: inset 0 0 0 .15em #d9b6c8; }
.bar { height: .5em; border-radius: 999px; background: #f3dbe4; margin-top: .45em; overflow: hidden; }
.bar i { display: block; height: 100%; width: 72%; border-radius: inherit; background: linear-gradient(90deg, #f06292, #d9a866); }
.row { display: flex; align-items: center; gap: .7em; }
.row svg { width: 30%; flex: none; }
.muted-s { color: #7a4a5e; font-size: .82em; }

.chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 18px;
  background: rgba(42, 11, 28, .86); border: 1px solid rgba(255,255,255,.16); color: #fff; font-weight: 700; font-size: 0.85rem;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); white-space: nowrap;
  animation: pop .8s 1.4s cubic-bezier(.34, 1.56, .64, 1) both, float 6s 2.4s ease-in-out infinite; }
.chip small { display: block; font-weight: 600; color: #f3d9e8; font-size: 0.72rem; }
.chip .emo { font-size: 1.3rem; }
.chip-1 { top: 16%; left: -18%; }
.chip-2 { bottom: 18%; right: -16%; animation-delay: 1.75s, 2.8s; }
@media (max-width: 600px) {
  .chip { font-size: .78rem; padding: 8px 12px; }
  .chip-1 { top: -4%; left: -6%; }
  .chip-2 { bottom: -3%; right: -6%; }
}
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.7); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border-radius: 999px;
  border: 2px solid rgba(255,255,255,.35); opacity: calc(1 - var(--hs, 0) * 4); }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px;
  background: #fff; animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(12px); } }
@media (max-height: 700px) { .scroll-cue { display: none; } }

/* ---------- Story: sticky phone, scrolling chapters ---------- */
section { padding: 88px 0; }
@media (min-width: 960px) { section { padding: 128px 0; } }
.section-head { max-width: 700px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.12rem; }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.kicker b { font-weight: 800; }
.center { text-align: center; margin-inline: auto; }
.center .lead { margin-inline: auto; }

.story { padding-bottom: 40px; }
.story-grid { display: grid; }
.story-stage { position: sticky; top: 64px; z-index: 2; padding: 16px 0 28px; display: grid; place-items: center;
  background: linear-gradient(var(--night) 92%, rgba(42, 11, 28, 0)); }
.story-stage .phone-wrap { width: auto; height: min(50svh, 440px); aspect-ratio: 9 / 18.6; }
.story-stage .phone-glow { inset: 5% -40%; }
.story .scr { opacity: 0; transform: scale(1.04); transition: opacity .5s ease, transform .7s var(--ease); }
.story-stage[data-step="0"] .scr:nth-child(1),
.story-stage[data-step="1"] .scr:nth-child(2),
.story-stage[data-step="2"] .scr:nth-child(3),
.story-stage[data-step="3"] .scr:nth-child(4),
.story-stage[data-step="4"] .scr:nth-child(5) { opacity: 1; transform: none; filter: none; }
.progress { display: none; }
.chapters { position: relative; z-index: 1; }
.chapter { min-height: 62svh; padding: 8px 0 48px; }
.time { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .9rem; color: var(--gold); margin-bottom: 14px; }
.time::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.chapter h3 { font-size: clamp(1.8rem, 6vw, 2.6rem); line-height: 1.08; letter-spacing: -0.03em; }
.chapter p { color: var(--muted); font-size: 1.1rem; max-width: 40ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tags span { font-size: .82rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-border); }
@media (min-width: 960px) {
  .story-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .story-stage { top: 0; height: 100vh; padding: 0; background: none; }
  .story-stage .phone-wrap { height: min(76vh, 640px); }
  .progress { display: grid; gap: 10px; position: absolute; left: 0; top: 50%; transform: translateY(-50%); }
  .progress i { width: 4px; height: 26px; border-radius: 4px; background: rgba(255,255,255,.15); transition: background .4s, height .4s var(--ease); }
  .story-stage[data-step="0"] .progress i:nth-child(1), .story-stage[data-step="1"] .progress i:nth-child(2),
  .story-stage[data-step="2"] .progress i:nth-child(3), .story-stage[data-step="3"] .progress i:nth-child(4),
  .story-stage[data-step="4"] .progress i:nth-child(5) { background: var(--accent); height: 44px; }
  .chapters { padding: 20vh 0 30vh; }
  .chapter { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; padding: 0; opacity: .3; transition: opacity .6s ease; }
  .chapter.active, .no-js .chapter { opacity: 1; }
  .story .scr { transform: scale(1.08); filter: blur(10px); transition: opacity .8s ease, transform 1.1s var(--ease), filter .8s ease; }
}

/* Screen details used in the story */
.q-big { font-family: var(--serif); font-style: italic; font-size: 1.35em; line-height: 1.25; margin: .2em 0 0; }
.ans { display: flex; gap: .5em; align-items: flex-end; }
.ans.me { flex-direction: row-reverse; }
.av { width: 1.9em; height: 1.9em; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: .8em; font-weight: 800; color: #fff; background: #d6336c; }
.ans.me .av { background: #b8894a; }
.ans p { margin: 0; padding: .55em .8em; border-radius: 1.1em; background: #fff; font-weight: 600; box-shadow: 0 .4em 1em -.8em rgba(91,31,85,.6); }
.ans.me p { background: #3a0f24; color: #fff; }
.pill { align-self: center; font-size: .8em; font-weight: 800; color: #8e1f4f; background: #fbe3ea; padding: .35em .9em; border-radius: 999px; }
.sync { flex: 1; display: grid; place-items: center; position: relative; }
.sync-heart { width: 46%; aspect-ratio: 1; position: relative; display: grid; place-items: center; }
.sync-heart svg { width: 100%; color: #e11d5c; filter: drop-shadow(0 1em 1.4em rgba(225,29,92,.45)); animation: beat 1.1s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.12); } 30% { transform: scale(.98); } 45% { transform: scale(1.06); } }
.sync-heart::before, .sync-heart::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: .15em solid #ff8fb1; animation: ring 2.2s ease-out infinite; }
.sync-heart::after { animation-delay: 1.1s; }
@keyframes ring { from { transform: scale(.9); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
.touch { position: absolute; width: 2.4em; height: 2.4em; border-radius: 50%; background: rgba(255,255,255,.75); box-shadow: 0 0 0 .4em rgba(255,143,177,.25); }
.touch.a { left: 18%; bottom: 18%; } .touch.b { right: 18%; top: 18%; background: rgba(251,227,234,.95); }
.letter { flex: 1; display: grid; place-items: center; }
.letter svg { width: 86%; overflow: visible; animation: hover 6s ease-in-out infinite; }
/* Envelope: flap folds open, letter rises, then it all closes again */
.env-flap-front { transform-box: fill-box; transform-origin: 50% 0%; animation: flapFront 7s ease-in-out infinite; }
.env-flap-back { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); animation: flapBack 7s ease-in-out infinite; }
.env-paper { animation: paperUp 7s var(--ease) infinite; }
@keyframes flapFront { 0%, 14% { transform: scaleY(1); } 22%, 80% { transform: scaleY(0); } 88%, 100% { transform: scaleY(1); } }
@keyframes flapBack { 0%, 22% { transform: scaleY(0); } 30%, 72% { transform: scaleY(1); } 80%, 100% { transform: scaleY(0); } }
@keyframes paperUp { 0%, 30% { transform: translateY(0); } 44%, 64% { transform: translateY(-56px); } 74%, 100% { transform: translateY(0); } }
@keyframes hover { 50% { transform: translateY(-.6em) rotate(-2deg); } }
.oath-text { font-family: var(--serif); font-style: italic; font-size: 1.45em; line-height: 1.25; text-align: center; margin: .4em 0; }
.signs { display: flex; justify-content: center; gap: 1.6em; font-weight: 700; font-size: .85em; }
.signs span { display: flex; align-items: center; gap: .35em; }
.signs span::before { content: "✓"; color: #fff; background: #d6336c; width: 1.4em; height: 1.4em; border-radius: 50%; display: grid; place-items: center; font-size: .75em; }
.nest-big { flex: 1; display: grid; place-items: center; }
.nest-big svg { width: 92%; }
.notif { display: flex; gap: .6em; align-items: center; background: rgba(255,255,255,.92); border-radius: 1.1em; padding: .6em .8em;
  box-shadow: 0 .8em 1.6em -1em rgba(91,31,85,.6); font-weight: 650; font-size: .88em; }
.notif small { display: block; color: #7a4a5e; font-weight: 600; font-size: .85em; }
.notif b { font-size: 1.4em; }

/* ---------- Feature grid ---------- */
.fgrid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .fgrid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .fgrid { grid-template-columns: repeat(4, 1fr); } }
.fcard { position: relative; overflow: hidden; padding: 26px 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--hairline);
  box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s ease, border-color .4s ease; }
.fcard::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s ease; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%); }
.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); }
.fcard:hover::before { opacity: 1; }
.fcard h3 { font-size: 1.1rem; margin: 18px 0 6px; }
.fcard p { color: var(--muted); margin: 0; font-size: 0.98rem; }
@media (max-width: 559px) {
  .fcard { padding: 18px 16px; border-radius: 20px; }
  .fcard h3 { font-size: 0.98rem; margin: 12px 0 4px; }
  .fcard p { font-size: 0.86rem; line-height: 1.45; }
  .ficon { width: 40px; height: 40px; border-radius: 12px; }
  .ficon svg { width: 21px; height: 21px; }
}
.ficon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--grad-icon);
  box-shadow: 0 10px 20px -10px rgba(160, 23, 79, .6); }
.ficon svg { width: 24px; height: 24px; }

/* ---------- Date matcher showcase ---------- */
.matcher { overflow: hidden; }
.split { display: grid; gap: 56px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 80px; } }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.checks li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  font-size: .75rem; font-weight: 800; color: #fff; background: var(--grad-icon); margin-top: 2px; }
.checks strong { color: var(--text); }
.deck-wrap { display: grid; place-items: center; padding: 20px 0; }
.deck { position: relative; width: min(280px, 72vw); aspect-ratio: 3 / 4; }
.dcard { position: absolute; inset: 0; border-radius: 30px; padding: 22px; display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; box-shadow: 0 30px 60px -30px rgba(43,20,48,.7); overflow: hidden; }
.dcard .emoji { position: absolute; top: 18%; left: 0; right: 0; text-align: center; font-size: 5rem; filter: drop-shadow(0 10px 18px rgba(0,0,0,.25)); }
.dcard b { font-size: 1.45rem; letter-spacing: -0.02em; line-height: 1.15; }
.dcard span { opacity: .9; font-weight: 600; font-size: .92rem; }
.c1 { background: linear-gradient(160deg, #ff9a8b, #e1306c); z-index: 3; animation: c1 10s var(--ease) infinite; }
.c2 { background: linear-gradient(160deg, #f4a77a, #c2185b); z-index: 2; animation: c2 10s var(--ease) infinite; }
.c3 { background: linear-gradient(160deg, #8e1f4f, #3a0f24); z-index: 1; transform: translateY(26px) scale(.9); opacity: .9; }
@keyframes c1 { 0%, 16% { transform: none; opacity: 1; } 28%, 90% { transform: translateX(-150%) rotate(-20deg); opacity: 0; }
  94% { transform: none; opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes c2 { 0%, 16% { transform: translateY(13px) scale(.95); } 28%, 42% { transform: none; opacity: 1; }
  54%, 90% { transform: translateX(150%) rotate(20deg); opacity: 0; } 94% { transform: translateY(13px) scale(.95); opacity: 0; } 100% { transform: translateY(13px) scale(.95); opacity: 1; } }
.stamp { position: absolute; top: 22px; padding: 4px 12px; border: 3px solid; border-radius: 10px; font-weight: 900; letter-spacing: .1em; font-size: 1rem; opacity: 0; }
.stamp.nope { right: 20px; transform: rotate(14deg); animation: stampN 10s infinite; }
.stamp.like { left: 20px; transform: rotate(-14deg); animation: stampL 10s infinite; }
@keyframes stampN { 0%, 10% { opacity: 0; } 14%, 24% { opacity: 1; } 28%, 100% { opacity: 0; } }
@keyframes stampL { 0%, 38% { opacity: 0; } 42%, 52% { opacity: 1; } 56%, 100% { opacity: 0; } }
.match-pop { position: absolute; z-index: 4; inset: 22% -12%; display: grid; place-items: center; text-align: center; border-radius: 28px;
  background: rgba(255,255,255,.88); color: #3a0f24; box-shadow: 0 30px 60px -20px rgba(43,20,48,.6);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); animation: matchPop 10s var(--ease) infinite; opacity: 0; }
.match-pop b { display: block; font-size: 1.7rem; letter-spacing: -0.02em; }
.match-pop span { color: #64435b; font-weight: 600; }
@keyframes matchPop { 0%, 56% { opacity: 0; transform: scale(.7); } 62%, 86% { opacity: 1; transform: scale(1); } 92%, 100% { opacity: 0; transform: scale(.9); } }

/* ---------- Trust ---------- */
.trust { display: grid; gap: 14px; }
@media (min-width: 860px) { .trust { grid-template-columns: repeat(3, 1fr); } }
.tcard { padding: 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--hairline); box-shadow: var(--shadow); }
.tcard p { color: var(--muted); margin: 0; }
.tcard .ficon { margin-bottom: 18px; }
.langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.langs span { padding: 6px 12px; border-radius: 999px; background: var(--bg-2); font-weight: 650; font-size: .92rem; }

/* ---------- Pairing ---------- */
.alt { background: var(--bg-2); }
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; }
.pair-tile .viz { margin-top: 22px; display: grid; place-items: center; min-height: 190px; border-radius: 20px; background: var(--bg-2); padding: 18px; }
.qr { width: 150px; padding: 12px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); }
.chat { width: 100%; max-width: 300px; display: grid; gap: 4px; }
.chat .msg { background: var(--bubble); color: var(--text); border-radius: 16px 16px 16px 6px; padding: 6px; box-shadow: var(--shadow); }
.link-card { display: flex; gap: 10px; align-items: center; background: var(--surface); border-radius: 12px; padding: 6px; }
.link-card img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; flex: none; }
.link-card b { display: block; font-size: 0.82rem; line-height: 1.25; }
.link-card span { font-size: 0.72rem; color: var(--muted); }
.chat .url { font-size: 0.8rem; color: var(--accent); padding: 4px 6px 2px; word-break: break-all; }
.chat time { justify-self: end; font-size: 0.7rem; color: var(--muted); }

.steps { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; display: flex; gap: 14px; align-items: flex-start; }
.steps li::before { content: counter(step); flex: none; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; background: var(--btn-bg); color: var(--btn-text); }
.steps strong { display: block; }
.steps span { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 780px; margin-inline: auto; }
.faq details { background: var(--surface); border: 1px solid var(--hairline); border-radius: 22px; padding: 4px 22px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 0; font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-2); color: var(--accent); font-size: 1.2rem; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 12px; }

/* ---------- Closing band ---------- */
.finale { text-align: center; overflow: hidden; padding: 140px 0; }
.finale h2 { font-size: clamp(2.6rem, 10vw, 5rem); }
.finale .lead { margin: 0 auto 32px; }

/* Footer */
.site-footer { padding: 64px 0 32px; color: var(--muted); font-size: 0.95rem; border-top: 1px solid var(--hairline); }
.foot { display: grid; gap: 36px 24px; grid-template-columns: 1fr 1fr; }
.foot-brand { grid-column: 1 / -1; }
.foot-brand p { margin: 12px 0 0; max-width: 28ch; }
@media (min-width: 760px) { .foot { grid-template-columns: 2fr 1fr 1fr; } .foot-brand { grid-column: auto; } }
.site-footer nav { display: flex; flex-direction: column; gap: 10px; }
.site-footer h2 { font-size: .74rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 0 0 6px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.site-footer .brand { color: var(--text); }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; margin-top: 48px; padding-top: 20px;
  border-top: 1px solid var(--hairline); font-size: .86rem; }

/* Join page */
.join { min-height: 100vh; background: var(--hero); padding: 112px 0 64px; }
.join .wrap { max-width: 620px; }
.join h1 { font-size: clamp(2rem, 8vw, 3rem); }
.code-card { text-align: center; padding: 30px 20px; margin: 24px 0 36px; background: var(--glass); border-color: var(--glass-border);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.code-label { font-weight: 700; color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 8px; }
.code { font-family: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace; font-weight: 800;
  font-size: clamp(2.4rem, 13vw, 3.6rem); letter-spacing: 0.18em; margin: 0 0 18px; padding-left: 0.18em;
  color: var(--text); word-break: break-all; }
.copied { min-height: 1.6em; margin: 10px 0 0; color: var(--accent); font-weight: 700; }
.join .steps { grid-template-columns: 1fr; }
.join h2 { font-size: 1.4rem; margin-top: 8px; }

/* Prose pages */
.prose { padding: 112px 0 72px; }
.prose .wrap { max-width: 720px; }
.prose h1 { font-size: clamp(2.2rem, 8vw, 3.2rem); }
.prose h2 { font-size: 1.45rem; margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.updated { color: var(--muted); }
.todo { background: #ffe08a; color: #3a2a00; padding: 1px 6px; border-radius: 6px; font-weight: 700; font-size: 0.9em; }

/* 404 */
.lost { min-height: 100vh; display: grid; place-items: center; text-align: center; background: var(--hero); padding: 112px 0 40px; }
.lost svg { width: 200px; margin: 0 auto 20px; }
.lost .lead { margin-inline: auto; }

/* Scroll reveal (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.fgrid > .reveal:nth-child(4n+2), .trust > .reveal:nth-child(2), .grid > .reveal:nth-child(2) { transition-delay: .08s; }
.fgrid > .reveal:nth-child(4n+3), .trust > .reveal:nth-child(3) { transition-delay: .16s; }
.fgrid > .reveal:nth-child(4n+4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
  .hero-copy, .hero-stage { transform: none; opacity: 1; }
  .c1, .c2 { transform: none; }
  .match-pop { opacity: 1; inset: auto -12% 8%; padding: 14px; }
}

/* Contact page */
.email { font-weight: 800; font-size: clamp(1.4rem, 6.5vw, 2rem); letter-spacing: -0.02em; margin: 0 0 18px; word-break: break-all; }
.center-row { justify-content: center; margin-top: 0; }
.link-btn { margin-top: 16px; background: none; border: 0; font: inherit; font-weight: 700; color: var(--accent); cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; padding: 6px 10px; }
.topics { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 8px; }
.topics a { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 18px; background: var(--surface);
  border: 1px solid var(--border); color: var(--text); text-decoration: none; font-weight: 700; box-shadow: var(--shadow);
  transition: transform .3s var(--ease), border-color .3s ease; }
.topics a:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.topics svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
