/* ==========================================================
   SPEAK INTO EXISTENCE — brand system
   Deep night + candle gold. Words rising like first light.
   ========================================================== */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..700;1,9..144,300..600&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  /* Night */
  --night: #0C0A1A;        /* page background */
  --dusk: #15122B;         /* raised surfaces */
  --dusk-2: #1F1A3C;       /* cards, inputs */
  --dusk-3: #2B2450;       /* hover, borders strong */
  /* Light */
  --gold: #E6B865;         /* primary: candle gold */
  --gold-soft: #F4DCA8;    /* highlights, glow */
  --gold-deep: #B8873A;    /* pressed, small text on light */
  --ember: #D9844A;        /* warm accent, sparingly */
  --parchment: #F6EEDF;    /* light sections */
  --parchment-2: #EADFC9;
  --ink: #1A1530;          /* text on parchment */
  /* Text */
  --text: #EFE8DA;
  --muted: #A69EC0;
  --faint: #6F6890;
  --line: rgba(230, 184, 101, 0.16);
  --line-soft: rgba(239, 232, 218, 0.08);
  --ok: #8FD3A8;
  --danger: #EE8B7A;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --glow: 0 0 0 1px var(--line), 0 18px 50px -18px rgba(230, 184, 101, 0.35);
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-soft); }
::selection { background: var(--gold); color: var(--night); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  font-variation-settings: 'opsz' 120;
}
h1 { font-size: clamp(2.5rem, 6.4vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
p { margin: 0 0 1em; }
em, .italic { font-style: italic; }
h1 em, h2 em, h3 em { color: var(--gold); font-weight: 300; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2 * var(--gutter), 720px); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.center .eyebrow::after { content: ''; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 40ch; }
.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--gold); --fg: var(--night);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font: 700 15px/1 var(--font-body); letter-spacing: 0.04em;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 10px 30px -10px rgba(230, 184, 101, .55);
  text-align: center;
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(230, 184, 101, .7); background: var(--gold-soft); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn-ghost { --bg: transparent; --fg: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { --fg: var(--gold-soft); background: rgba(230,184,101,.06); box-shadow: inset 0 0 0 1px var(--gold); }
.btn-dark { --bg: var(--ink); --fg: var(--parchment); box-shadow: none; }
.btn-dark:hover { background: #2a2348; }
.btn-block { width: 100%; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 13.5px; }
.link-arrow { font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow::after { content: '→'; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(12, 10, 26, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-word { font-family: var(--font-display); font-size: 19px; letter-spacing: -0.01em; line-height: 1; white-space: nowrap; }
.brand-word em { color: var(--gold); font-weight: 300; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--muted); font-size: 14.5px; font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav .btn { color: var(--night); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); padding: 8px; cursor: pointer; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--night); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px;
    transform: translateY(-120%); transition: transform .3s ease; z-index: -1;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 16px; }
  .nav .btn { margin-top: 16px; border: 0; }
  .brand-word { font-size: 17px; }
}

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(72px, 11vw, 140px) 0; }
.section-sm { padding: clamp(48px, 7vw, 88px) 0; }
.light {
  background: var(--parchment); color: var(--ink);
}
.light .muted, .light .lead { color: #5E5677; }
.light h1 em, .light h2 em, .light h3 em { color: var(--gold-deep); }
.light .eyebrow { color: var(--gold-deep); }
.light a:not(.btn) { color: var(--gold-deep); }
.divider-glow { height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .35; }

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: linear-gradient(180deg, var(--dusk-2), var(--dusk));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: clamp(22px, 3vw, 34px);
}
.light .card { background: #fff; border-color: var(--parchment-2); box-shadow: 0 14px 40px -24px rgba(26, 21, 48, .35); }
.card .num {
  font-family: var(--font-display); font-style: italic; font-size: 15px; color: var(--gold);
  display: inline-block; margin-bottom: 16px; letter-spacing: .02em;
}
.light .card .num { color: var(--gold-deep); }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 9vw, 120px) 0 clamp(64px, 9vw, 120px); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: auto -20% -40% -20%; height: 90%;
  background: radial-gradient(60% 60% at 50% 100%, rgba(230, 184, 101, .22), rgba(217, 132, 74, .07) 45%, transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(32px, 5vw, 64px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-visual { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; justify-self: center; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero .eyebrow::after { content: ''; width: 26px; height: 1px; background: currentColor; opacity: .7; }
  .hero-actions { justify-content: center; }
  .hero-visual { max-width: 300px; order: -1; }
}
@media (max-width: 480px) { .hero-actions .btn { width: 100%; } }

/* Rising sun + waveform illustration */
.sunrise { width: 100%; height: 100%; }
.sunrise .bar { transform-origin: center; transform-box: fill-box; animation: speak 2.6s ease-in-out infinite; }
@keyframes speak { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }
.sunrise .halo { animation: breathe 6s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes breathe { 0%, 100% { opacity: .55; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.03); } }
@media (prefers-reduced-motion: reduce) { .sunrise .bar, .sunrise .halo { animation: none; } }

/* ---------- Statement / manifesto ---------- */
.statement {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.7rem, 3.6vw, 2.7rem); line-height: 1.25; letter-spacing: -0.01em;
}
.statement strong { font-weight: 500; color: var(--gold-deep); }
.signoff {
  font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--gold);
}
.light .signoff { color: var(--gold-deep); }

/* ---------- Steps ---------- */
.steps .card h3 { margin-bottom: 10px; }
.steps .card p { color: var(--muted); margin: 0; }
.step-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(230,184,101,.1); color: var(--gold); margin-bottom: 20px; }

/* ---------- Compare (Day 1 vs Day 21) ---------- */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; }
.compare .card { text-align: center; }
.compare .vs { font-family: var(--font-display); font-style: italic; color: var(--gold); font-size: 22px; }
.wave-static { display: flex; align-items: center; justify-content: center; gap: 4px; height: 64px; margin: 18px 0 8px; }
.wave-static span { width: 4px; border-radius: 4px; background: var(--muted); opacity: .6; }
.wave-static.bright span { background: var(--gold); opacity: 1; }
@media (max-width: 700px) { .compare { grid-template-columns: 1fr; } .compare .vs { text-align: center; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.light .field label { color: #5E5677; }
.input {
  width: 100%; min-height: 54px; padding: 0 18px; border-radius: var(--radius-sm);
  background: var(--dusk-2); border: 1px solid var(--line-soft); color: var(--text);
  font: 500 16px var(--font-body); transition: border-color .2s, box-shadow .2s;
}
.input::placeholder { color: var(--faint); }
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(230,184,101,.15); }
.light .input { background: #fff; border-color: var(--parchment-2); color: var(--ink); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-note { font-size: 13px; color: var(--faint); margin: 4px 0 0; }
.light .form-note { color: #7A7290; }
.form-msg { font-size: 14.5px; min-height: 1.4em; margin: 0; }
.form-msg.error { color: var(--danger); }
.form-msg.ok { color: var(--ok); }
.light .form-msg.error { color: #B0402E; }

/* ---------- Opt-in band ---------- */
.optin {
  border-radius: calc(var(--radius) + 6px); padding: clamp(28px, 5vw, 64px);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(230,184,101,.18), transparent 60%),
    linear-gradient(160deg, var(--dusk-2), var(--dusk));
  border: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
}
@media (max-width: 860px) { .optin { grid-template-columns: 1fr; } }

/* ---------- Price card ---------- */
.price-card { max-width: 520px; margin-inline: auto; text-align: center; box-shadow: var(--glow); border-color: var(--line); }
.price { font-family: var(--font-display); font-size: clamp(3.4rem, 8vw, 4.6rem); line-height: 1; color: var(--gold); margin: 8px 0 4px; }
.price small { font-size: 16px; color: var(--muted); font-family: var(--font-body); }
.ticks { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; text-align: left; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.ticks li::before {
  content: ''; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%;
  background: rgba(230,184,101,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14.2 7.5' fill='none' stroke='%23E6B865' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
}

/* ---------- Weeks / arc ---------- */
.arc .card .week { font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.arc .card ul { padding-left: 18px; margin: 14px 0 0; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line-soft); padding: 22px 0; }
.light .faq details { border-color: var(--parchment-2); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-family: var(--font-display); font-size: 1.25rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold); font-family: var(--font-body); font-size: 24px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 14px 0 0; color: var(--muted); max-width: 64ch; }
.light .faq details p { color: #5E5677; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); padding: 56px 0 40px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: grid; gap: 28px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.disclaimer { font-size: 12.5px; color: var(--faint); max-width: 80ch; margin: 0; }

/* ---------- Auth pages ---------- */
.auth-page { min-height: 100vh; display: grid; place-items: center; padding: 40px var(--gutter); position: relative; overflow: hidden; }
.auth-page::before {
  content: ''; position: absolute; inset: auto -30% -50% -30%; height: 80%;
  background: radial-gradient(50% 60% at 50% 100%, rgba(230,184,101,.2), transparent 70%); pointer-events: none;
}
.auth-card { position: relative; width: min(100%, 460px); }
.auth-card .brand { margin: 0 auto 28px; display: flex; justify-content: center; }
.auth-card h1 { font-size: clamp(2rem, 6vw, 2.6rem); text-align: center; }
.auth-card .lead { text-align: center; margin: 0 auto 26px; }
.auth-foot { text-align: center; margin-top: 22px; font-size: 14.5px; color: var(--muted); }

.notice {
  border-radius: var(--radius-sm); padding: 14px 16px; font-size: 14px;
  background: rgba(230,184,101,.08); border: 1px dashed var(--line); color: var(--gold-soft);
}

/* ---------- Utilities ---------- */
.stack-sm > * + * { margin-top: 10px; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: clamp(32px, 5vw, 56px); }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fade-up { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.fade-up.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade-up { opacity: 1; transform: none; } }

/* ==========================================================
   SCROLL JOURNEY (homepage)
   A tall track; the stage sticks to the screen while scroll
   scrubs the Higgsfield film from night to sunrise.
   ========================================================== */
.journey { position: relative; height: 520vh; margin-top: -72px; }
.journey-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.journey-canvas, .journey-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.journey-fallback {
  --p: 0;
  background:
    radial-gradient(calc(8% + var(--p) * 60%) calc(6% + var(--p) * 55%) at 50% 62%,
      rgba(255, 226, 160, calc(.55 + var(--p) * .45)), rgba(230, 184, 101, calc(.25 + var(--p) * .4)) 40%, transparent 72%),
    linear-gradient(180deg,
      color-mix(in srgb, #0C0A1A calc(100% - var(--p) * 55%), #3B2450) 0%,
      color-mix(in srgb, #15122B calc(100% - var(--p) * 70%), #C9783F) 58%,
      #0C0A1A 62%, #0C0A1A 100%);
}
.journey-canvas { opacity: 0; transition: opacity .6s ease; }
.journey.has-film .journey-canvas { opacity: 1; }
.journey.has-film .journey-fallback { opacity: 0; }
.journey-shade {
  position: absolute; inset: 0; pointer-events: none; --p: 0;
  background:
    radial-gradient(46% 34% at 50% 46%, rgba(12,10,26, calc(.15 + var(--p) * .62)), transparent 100%),
    linear-gradient(180deg, rgba(12,10,26,.7) 0%, rgba(12,10,26,0) 26%, rgba(12,10,26,0) 60%, rgba(12,10,26,.85) 100%),
    radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(12,10,26,.55) 100%);
}
.chapter {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  padding: 96px var(--gutter) 64px; opacity: 0; transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease; pointer-events: none;
}
.chapter.active { opacity: 1; transform: none; pointer-events: auto; }
.chapter-inner { max-width: 860px; }
.chapter h1, .chapter h2 { text-shadow: 0 2px 6px rgba(12,10,26,.55), 0 6px 50px rgba(12,10,26,.9); }
.chapter .eyebrow { text-shadow: 0 1px 8px rgba(12,10,26,.9); }
.chapter .lead { color: var(--text); opacity: .86; margin-inline: auto; text-shadow: 0 2px 20px rgba(12,10,26,.9); }
.chapter .hero-actions { justify-content: center; }
.old-words { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin: 26px 0 0; padding: 0; list-style: none; }
.old-words li {
  font-family: var(--font-display); font-style: italic; font-size: clamp(1.1rem, 2.6vw, 1.6rem); color: var(--muted);
  position: relative; transition: color .6s ease;
}
.old-words li::after {
  content: ''; position: absolute; left: -4%; top: 55%; height: 2px; width: 0; background: var(--gold);
  transition: width .8s cubic-bezier(.7,0,.2,1);
}
.chapter.active.strike .old-words li { color: var(--faint); }
.chapter.active.strike .old-words li::after { width: 108%; }
.old-words li:nth-child(2)::after { transition-delay: .15s; } .old-words li:nth-child(3)::after { transition-delay: .3s; }
.old-words li:nth-child(4)::after { transition-delay: .45s; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; text-align: left; }
.trio div { background: rgba(12,10,26,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; }
.trio b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; color: var(--gold); }
.trio span { font-size: 14.5px; color: var(--text); opacity: .85; }
@media (max-width: 640px) { .trio { grid-template-columns: 1fr; } .trio div { padding: 14px 16px; } }
.journey-progress { position: absolute; right: clamp(12px, 3vw, 32px); top: 50%; transform: translateY(-50%); display: grid; gap: 12px; z-index: 2; }
.journey-progress i { width: 6px; height: 6px; border-radius: 50%; background: var(--text); opacity: .25; transition: all .4s; }
.journey-progress i.on { opacity: 1; background: var(--gold); box-shadow: 0 0 12px var(--gold); transform: scale(1.4); }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); display: grid; justify-items: center; gap: 10px; transition: opacity .4s; }
.scroll-cue::after { content: ''; width: 1px; height: 42px; background: linear-gradient(var(--gold), transparent); animation: cue 2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.journey.scrolled .scroll-cue { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .journey { height: auto; margin-top: 0; }
  .journey-stage { position: relative; height: auto; }
  .journey-fallback { --p: .75; }
  .chapter { position: relative; opacity: 1; transform: none; min-height: 80vh; }
  .journey-progress, .scroll-cue { display: none; }
}

/* Meet Ty */
.ty { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.ty-photo {
  aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; position: relative;
  background: linear-gradient(160deg, var(--dusk-3), var(--dusk)); border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--muted); font-size: 14px; text-align: center; padding: 20px;
}
.ty-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) { .ty { grid-template-columns: 1fr; } .ty-photo { max-width: 420px; } }

/* ==========================================================
   MEMBER APP
   ========================================================== */
.app-body { background: radial-gradient(90% 50% at 50% 0%, rgba(230,184,101,.08), transparent 70%), var(--night); }
.app-header .wrap { height: 64px; }
.app-nav { display: flex; gap: 18px; align-items: center; }
.app-nav a, .app-nav button { color: var(--muted); font: 600 14px var(--font-body); background: none; border: 0; cursor: pointer; padding: 0; }
.app-nav a:hover, .app-nav button:hover { color: var(--text); }
@media (max-width: 520px) { .app-header .brand-word { display: none; } }
.app-main { padding: clamp(28px, 5vw, 56px) 0 80px; }
.app-loading { min-height: 50vh; display: grid; place-items: center; color: var(--muted); }

/* Progress ring */
.progress-head { display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 4vw, 40px); align-items: center; }
.ring { width: clamp(110px, 22vw, 150px); aspect-ratio: 1; position: relative; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .count { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; line-height: 1; }
.ring .count b { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 5vw, 2.8rem); color: var(--gold); display: block; }
.ring .count small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.progress-head h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 8px; }
@media (max-width: 560px) { .progress-head { grid-template-columns: 1fr; justify-items: center; text-align: center; } }

.next-card { margin-top: 32px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; border-color: var(--line); box-shadow: var(--glow); }
.next-card h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); margin: 4px 0 0; }
@media (max-width: 560px) { .next-card .btn { width: 100%; } }

/* 21-day path */
.week-block { margin-top: 40px; }
.week-block h3 { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.week-block h3 small { font: 700 12px var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.week-block > p { color: var(--muted); margin-bottom: 16px; font-size: 15px; }
.path { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 760px) { .path { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 400px) { .path { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.node {
  position: relative; display: grid; align-content: space-between; gap: 6px; min-height: 104px; padding: 12px;
  border-radius: var(--radius-sm); border: 1px solid var(--line-soft); background: var(--dusk); color: var(--text);
  transition: transform .2s, border-color .2s, background .2s;
}
.node:hover { color: var(--text); transform: translateY(-2px); border-color: var(--line); }
.node .d { font-family: var(--font-display); font-size: 1.6rem; line-height: 1; }
.node .t { font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.node.done { background: linear-gradient(160deg, rgba(230,184,101,.16), rgba(230,184,101,.04)); border-color: var(--line); }
.node.done .d { color: var(--gold); }
.node.done::after { content: ''; position: absolute; top: 10px; right: 10px; width: 18px; height: 18px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14.2 7.5' fill='none' stroke='%230C0A1A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.node.current { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(230,184,101,.15), 0 10px 30px -10px rgba(230,184,101,.5); }
.node.current .t { color: var(--gold-soft); }
.node.locked { opacity: .45; pointer-events: none; }
.node.locked::after { content: ''; position: absolute; top: 10px; right: 10px; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A69EC0' stroke-width='2'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center/14px no-repeat; }

/* Day screen */
.day-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 26px; font-size: 14px; color: var(--muted); }
.day-top a { color: var(--muted); font-weight: 600; }
.day-head h1 { font-size: clamp(2.3rem, 7vw, 3.6rem); }
.day-head .theme { font: 700 12.5px var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.panel { margin-top: 20px; }
.panel-label { font: 700 12px var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; display: flex; gap: 10px; align-items: center; }
.panel-label i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(230,184,101,.14); color: var(--gold); font-size: 11px; letter-spacing: 0; }
.intro-text { color: var(--text); opacity: .88; margin: 14px 0 0; }
audio { width: 100%; height: 44px; accent-color: var(--gold); }
.declaration { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.45rem, 4.2vw, 2.1rem); line-height: 1.35; margin: 0; }
.declaration span { display: block; padding: 6px 0; }
.declaration span + span { border-top: 1px solid var(--line-soft); }

.recorder { text-align: center; padding-block: clamp(26px, 5vw, 40px); }
.rec-viz { width: 100%; height: 90px; display: block; margin: 0 auto 18px; }
.rec-timer { font-variant-numeric: tabular-nums; font: 600 15px var(--font-body); color: var(--muted); letter-spacing: .08em; margin-bottom: 18px; }
.rec-btn {
  width: 92px; height: 92px; border-radius: 50%; border: 0; cursor: pointer; position: relative;
  background: radial-gradient(circle at 50% 35%, var(--gold-soft), var(--gold) 60%, var(--gold-deep));
  box-shadow: 0 0 0 8px rgba(230,184,101,.12), 0 18px 40px -12px rgba(230,184,101,.7);
  display: inline-grid; place-items: center; transition: transform .2s;
}
.rec-btn:hover { transform: scale(1.04); }
.rec-btn::before { content: ''; width: 30px; height: 30px; border-radius: 50%; background: var(--night); transition: all .25s; }
.rec-btn.recording::before { width: 26px; height: 26px; border-radius: 6px; }
.rec-btn.recording { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 8px rgba(230,184,101,.14), 0 18px 40px -12px rgba(230,184,101,.7); } 50% { box-shadow: 0 0 0 18px rgba(230,184,101,.06), 0 18px 40px -12px rgba(230,184,101,.7); } }
.rec-hint { margin: 16px 0 0; color: var(--muted); font-size: 14.5px; }
.rec-review { display: grid; gap: 14px; margin-top: 8px; }
.rec-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 480px) { .rec-actions .btn { flex: 1 1 100%; } }
.saved-badge { display: inline-flex; gap: 8px; align-items: center; color: var(--ok); font-weight: 700; font-size: 14px; }
.action-step { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.action-step .icon { width: 40px; height: 40px; border-radius: 12px; background: rgba(217,132,74,.14); color: var(--ember); display: grid; place-items: center; }
.day-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; }

/* Celebration */
.celebrate { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; background: rgba(12,10,26,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.celebrate .card { max-width: 440px; text-align: center; box-shadow: var(--glow); border-color: var(--line); }
.celebrate .hero-visual { max-width: 180px; margin: 0 auto 8px; }

/* Series */
.series-list { display: grid; gap: 10px; margin-top: 28px; }
.series-row { display: grid; grid-template-columns: 64px 1fr minmax(160px, 260px); gap: 16px; align-items: center; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--dusk); border: 1px solid var(--line-soft); }
.series-row .d { font-family: var(--font-display); color: var(--gold); font-size: 1.4rem; }
.series-row .t { font-size: 15px; }
.series-row .t small { display: block; color: var(--muted); font-size: 12.5px; }
@media (max-width: 640px) { .series-row { grid-template-columns: 48px 1fr; } .series-row audio { grid-column: 1 / -1; } }
.download-bar { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
@media (max-width: 520px) { .download-bar .btn { flex: 1 1 100%; } }
.progress-line { height: 4px; border-radius: 4px; background: var(--dusk-3); overflow: hidden; margin-top: 12px; }
.progress-line i { display: block; height: 100%; width: 0; background: var(--gold); transition: width .3s; }

/* ---------- Motion logo: arc draws, bars rise from the centre, then speak on hover ---------- */
.brand-mark .mk-arc { stroke-dasharray: 1 1; }
.brand-mark .mk-hz { transform-box: fill-box; transform-origin: center; animation: mk-hz .9s cubic-bezier(.65,0,.35,1) both; }
.brand-mark .mk-bar { transform-box: fill-box; transform-origin: center;
  animation: mk-rise .6s calc(.55s + var(--i) * .08s) cubic-bezier(.34,1.7,.5,1) both,
             mk-talk calc(1.5s + var(--k) * .07s) calc(1.4s + var(--k) * .11s) ease-in-out infinite; }
.brand-mark .mk-arc { animation: mk-arc 1.2s .15s cubic-bezier(.65,0,.35,1) both, mk-glow 3.6s 1.5s ease-in-out infinite; }
.brand-mark .mk-fill { animation: mk-fade 1s .7s ease-out both, mk-breathe 3.6s 1.7s ease-in-out infinite; }
.brand:hover .brand-mark .mk-bar { animation: mk-speak .9s calc(var(--k) * -.13s) ease-in-out infinite; }
@keyframes mk-talk { 0%, 100% { transform: scaleY(1); } 25% { transform: scaleY(.62); } 50% { transform: scaleY(1.12); } 75% { transform: scaleY(.8); } }
@keyframes mk-glow { 0%, 100% { filter: none; } 50% { filter: drop-shadow(0 0 2.5px rgba(244,220,168,.9)); } }
@keyframes mk-breathe { 0%, 100% { opacity: .22; } 50% { opacity: .42; } }
@keyframes mk-arc { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes mk-hz { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes mk-fade { from { opacity: 0; } to { opacity: .22; } }
@keyframes mk-rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes mk-speak { 0%, 100% { transform: scaleY(1); } 30% { transform: scaleY(.55); } 60% { transform: scaleY(1.18); } }
@media (prefers-reduced-motion: reduce) { .brand-mark * { animation: none !important; } }

/* ---------- Motion words ---------- */
/* Scroll mode: words light up as you read down the page; the key word lands in gold with a drawn underline */
[data-words="scroll"] .w { opacity: .16; transition: opacity .45s ease, color .45s ease, text-shadow .6s ease; }
[data-words="scroll"] .w.lit { opacity: 1; }
[data-words] .key-wrap {
  background: linear-gradient(var(--gold), var(--gold)) no-repeat 0 96% / 0% 2px;
  transition: background-size .9s cubic-bezier(.65,0,.35,1) .1s; padding-bottom: .04em;
}
.light [data-words] .key-wrap { background-image: linear-gradient(var(--gold-deep), var(--gold-deep)); }
[data-words="scroll"] .w.key.lit { color: var(--gold); text-shadow: 0 0 28px rgba(230,184,101,.45); }
.light [data-words="scroll"] .w.key.lit { color: var(--gold-deep); text-shadow: 0 0 24px rgba(184,135,58,.25); }
[data-words="scroll"] .key-wrap:has(.w:last-child.lit) { background-size: 100% 2px; }

/* Reveal mode: words rise out of a soft blur one after another, key word last with a glow */
.chapter [data-words="reveal"] .w, .fade-up [data-words="reveal"] .w, .fade-up[data-words="reveal"] .w {
  display: inline-block; opacity: 0; transform: translateY(.45em); filter: blur(10px);
  transition: opacity .7s ease, transform .8s cubic-bezier(.2,.8,.2,1), filter .7s ease, text-shadow 1.2s ease;
  transition-delay: calc(var(--wi) * 70ms + 120ms);
}
.chapter.active [data-words="reveal"] .w, .fade-up.in [data-words="reveal"] .w, .fade-up.in[data-words="reveal"] .w { opacity: 1; transform: none; filter: none; }
.chapter.active [data-words="reveal"] .w.key, .fade-up.in [data-words="reveal"] .w.key { text-shadow: 0 0 34px rgba(230,184,101,.55); }
.chapter.active [data-words="reveal"] .key-wrap, .fade-up.in [data-words="reveal"] .key-wrap { background-size: 100% 2px; transition-delay: calc(var(--wn) * 70ms + 350ms); }
@media (prefers-reduced-motion: reduce) {
  [data-words] .w { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  [data-words] .key-wrap { background-size: 100% 2px; }
}

/* ==========================================================
   LINKS PAGE (link in bio)
   ========================================================== */
.links-body { min-height: 100vh; background: var(--night); }
.links-bg { position: fixed; inset: 0; z-index: 0; background: url('/assets/img/hf/links-bg.jpg') center bottom / cover no-repeat, var(--night); }
.links-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,10,26,.88) 0%, rgba(12,10,26,.72) 45%, rgba(12,10,26,.25) 80%, rgba(12,10,26,.55) 100%); }
.links { position: relative; z-index: 1; width: min(100% - 32px, 480px); margin: 0 auto; padding: 56px 0 48px; text-align: center; }
.links .brand-mark { width: 96px; height: 96px; margin: 0 auto 14px; filter: drop-shadow(0 0 24px rgba(230,184,101,.35)); }
.links h1 { font-size: clamp(2rem, 8vw, 2.6rem); margin-bottom: 6px; }
.links .sub { color: var(--muted); font-size: 15px; margin: 0 0 6px; }
.links .signoff { font-size: 1.15rem; margin: 0 0 28px; }
.link-list { display: grid; gap: 12px; }
.link-btn {
  display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 18px; border-radius: 16px; text-align: left;
  background: rgba(21,18,43,.72); border: 1px solid var(--line); color: var(--text);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: transform .2s, border-color .2s, background .2s;
}
.link-btn:hover { color: var(--text); transform: translateY(-2px); border-color: var(--gold); background: rgba(31,26,60,.85); }
.link-btn .ico { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(230,184,101,.12); color: var(--gold); }
.link-btn b { display: block; font-weight: 700; font-size: 15.5px; }
.link-btn small { display: block; color: var(--muted); font-size: 13px; }
.link-btn .arr { margin-left: auto; color: var(--gold); }
.link-btn.primary { background: linear-gradient(135deg, var(--gold-soft), var(--gold)); color: var(--night); border-color: transparent; box-shadow: 0 14px 40px -14px rgba(230,184,101,.8); }
.link-btn.primary small { color: rgba(12,10,26,.7); }
.link-btn.primary .ico { background: rgba(12,10,26,.12); color: var(--night); }
.link-btn.primary .arr { color: var(--night); }
.social-row { display: flex; justify-content: center; gap: 12px; margin: 28px 0 10px; }
.social-row a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--text); background: rgba(21,18,43,.72); border: 1px solid var(--line); transition: all .2s; }
.social-row a:hover { color: var(--night); background: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.links .disclaimer { margin-top: 24px; text-align: center; }

/* ---------- Cinematic imagery (Higgsfield) ---------- */
.photo-frame { position: relative; border-radius: calc(var(--radius) + 6px); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 90px -40px rgba(230,184,101,.45), var(--shadow); aspect-ratio: 4 / 5; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.6s cubic-bezier(.2,.8,.2,1); }
.photo-frame:hover img, .fade-up.in .photo-frame img, .photo-frame.in img { transform: scale(1); }
.photo-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(12,10,26,.55)); pointer-events: none; }
.hero-visual.photo { aspect-ratio: auto; max-width: 440px; }
.cinema { position: relative; isolation: isolate; overflow: hidden; }
.cinema > .cinema-bg { position: absolute; inset: -8% 0; z-index: -1; background-size: cover; background-position: center; will-change: transform; }
.cinema::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--cinema-shade, linear-gradient(180deg, rgba(12,10,26,.92), rgba(12,10,26,.55) 45%, rgba(12,10,26,.92))); }
.band { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter); }
.band .statement { color: var(--text); max-width: 20ch; margin-inline: auto; text-shadow: 0 4px 40px rgba(12,10,26,.9); }
.auth-body { background: url('/assets/img/hf/bokeh.jpg') center / cover fixed no-repeat, var(--night); }
.auth-body .auth-page::before { display: none; }
.auth-body .card { background: rgba(21,18,43,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.app-body { background: radial-gradient(90% 50% at 50% 0%, rgba(230,184,101,.08), transparent 70%), linear-gradient(rgba(12,10,26,.86), rgba(12,10,26,.94)), url('/assets/img/hf/bokeh.jpg') center top / cover fixed no-repeat, var(--night); }
@media (max-width: 860px) { .auth-body, .app-body { background-attachment: scroll; } }

/* ==========================================================
   MYSTICAL AMBIENT LAYER (every page)
   ========================================================== */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; --page-p: 0; }
.ambient i { position: absolute; border-radius: 50%; filter: blur(70px); mix-blend-mode: screen; will-change: transform; }
.ambient .a1 { width: 62vmax; height: 62vmax; left: -18vmax; top: -22vmax; background: radial-gradient(circle, rgba(92, 64, 168, .55), transparent 65%); animation: drift1 38s ease-in-out infinite alternate; }
.ambient .a2 { width: 55vmax; height: 55vmax; right: -20vmax; top: 20vh; background: radial-gradient(circle, rgba(230, 184, 101, calc(.16 + var(--page-p) * .28)), transparent 65%); animation: drift2 46s ease-in-out infinite alternate; }
.ambient .a3 { width: 50vmax; height: 50vmax; left: 10vw; bottom: -30vmax; background: radial-gradient(circle, rgba(217, 132, 74, calc(.1 + var(--page-p) * .3)), transparent 65%); animation: drift3 52s ease-in-out infinite alternate; }
.ambient .a4 { width: 36vmax; height: 36vmax; left: 40vw; top: 30vh; background: radial-gradient(circle, rgba(140, 110, 220, calc(.22 - var(--page-p) * .14)), transparent 65%); animation: drift4 30s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(22vw, 18vh) scale(1.2) rotate(30deg); } }
@keyframes drift2 { to { transform: translate(-26vw, -12vh) scale(.85); } }
@keyframes drift3 { to { transform: translate(18vw, -22vh) scale(1.25); } }
@keyframes drift4 { 0% { transform: translate(-10vw, 10vh) scale(.8); } 100% { transform: translate(14vw, -16vh) scale(1.3); } }
.dust { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 35; pointer-events: none; mix-blend-mode: screen; }
.scroll-thread { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 60; pointer-events: none; transform-origin: 0 50%; transform: scaleX(var(--page-p, 0)); background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold-soft)); box-shadow: 0 0 12px rgba(230,184,101,.7); }
.links-body .scroll-thread, .auth-body .scroll-thread { display: none; }
/* body stays dark underneath; sections without their own background now show the moving aurora */
.site-footer { position: relative; }
/* candle glow under the cursor */
.card, .link-btn, .node { position: relative; }
.card::before, .link-btn::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(230,184,101,.13), transparent 70%);
}
.card:hover::before, .link-btn:hover::before { opacity: 1; }
.light .card::before { background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(184,135,58,.09), transparent 70%); }
@media (prefers-reduced-motion: reduce) { .ambient i { animation: none; } }

.release { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(1.25rem, 3.4vw, 1.6rem); line-height: 1.4; color: var(--gold-soft); margin: 0; }
.parts { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 28px); }
.parts .card h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.parts ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.parts li { font-family: var(--font-display); font-size: 1.2rem; }
.parts .his { border-color: var(--line); box-shadow: var(--glow); }
@media (max-width: 700px) { .parts { grid-template-columns: 1fr; } }

/* ==========================================================
   PREMIUM HERO (chapter 1 of the journey)
   ========================================================== */
.chapter.hero-ch { place-items: start center; padding-top: clamp(120px, 17vh, 210px); }
.hero-ch h1 { font-size: clamp(3rem, 7.4vw, 6.6rem); font-weight: 300; letter-spacing: -.028em; line-height: 1.02; font-variation-settings: 'opsz' 144; margin-bottom: .35em; }
.hero-ch h1 em { font-weight: 300; }
.hero-ch .lead { max-width: 34ch; font-size: clamp(1.02rem, 1.5vw, 1.18rem); }
.hero-ch .eyebrow { letter-spacing: .42em; font-size: 11.5px; }
.journey-frame { position: absolute; inset: clamp(14px, 2.4vw, 30px); top: calc(72px + clamp(8px, 1.4vw, 16px)); border: 1px solid rgba(230,184,101,.14); pointer-events: none; z-index: 1; }
.journey-frame::before, .journey-frame::after { content: ''; position: absolute; width: 22px; height: 22px; border: 1px solid rgba(230,184,101,.6); }
.journey-frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.journey-frame::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.journey-meta { position: absolute; z-index: 2; bottom: clamp(26px, 3.4vw, 44px); font: 700 10.5px var(--font-body); letter-spacing: .34em; text-transform: uppercase; color: rgba(239,232,218,.55); }
.journey-meta.left { left: clamp(30px, 4vw, 56px); }
.journey-meta.right { right: clamp(30px, 4vw, 56px); font-variant-numeric: tabular-nums; }
.journey-meta b { color: var(--gold); font-weight: 700; }
@media (max-width: 700px) { .journey-meta { display: none; } .journey-frame { display: none; } }
.grain { position: absolute; inset: -50%; z-index: 1; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); } 100% { transform: translate(0,0); } }
@media (prefers-reduced-motion: reduce) { .grain { animation: none; } }

/* ==========================================================
   SCROLL-SCRUBBED FILM BAND (journal opening)
   ========================================================== */
.scrub { position: relative; height: 280vh; }
.scrub-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.scrub-stage canvas, .scrub-stage .scrub-poster { position: absolute; inset: 0; width: 100%; height: 100%; }
.scrub-stage .scrub-poster { background: center / cover no-repeat; transition: opacity .6s; }
.scrub.has-film .scrub-poster { opacity: 0; }
.scrub-shade { position: absolute; inset: 0; --p: 0; background:
  radial-gradient(52% 40% at 50% 48%, rgba(12,10,26, calc(var(--p) * .78)), transparent 100%),
  linear-gradient(180deg, rgba(12,10,26,.95), transparent 22%, transparent 78%, rgba(12,10,26,.95)); }
.scrub-words { position: relative; z-index: 2; padding: 0 var(--gutter); text-align: center; color: var(--text); max-width: 20ch; margin: 0 auto; text-shadow: 0 2px 8px rgba(12,10,26,.7), 0 6px 50px rgba(12,10,26,.95); }
[data-words="manual"] .w { opacity: 0; filter: blur(8px); display: inline-block; transform: translateY(.3em); transition: opacity .5s ease, filter .5s ease, transform .6s ease, color .5s, text-shadow .6s; }
[data-words="manual"] .w.lit { opacity: 1; filter: none; transform: none; }
[data-words="manual"] .w.key.lit { color: var(--gold); text-shadow: 0 0 30px rgba(230,184,101,.6); }
[data-words="manual"] .key-wrap:has(.w:last-child.lit) { background-size: 100% 2px; }
@media (prefers-reduced-motion: reduce) { .scrub { height: auto; } .scrub-stage { position: relative; min-height: 80vh; } }

/* Install-the-app card */
.install-card { margin-top: 22px; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; }
.install-card img { border-radius: 14px; box-shadow: 0 10px 30px -10px rgba(230,184,101,.5); }
.install-card b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; }
.install-card p { font-size: 14.5px; }
.install-actions { display: flex; gap: 8px; }
@media (max-width: 640px) { .install-card { grid-template-columns: auto 1fr; } .install-actions { grid-column: 1 / -1; } .install-actions .btn { flex: 1; } }

/* Yeshua's words (daily teaching) */
.teaching { border-color: var(--line); background: radial-gradient(120% 90% at 0% 0%, rgba(230,184,101,.1), transparent 60%), linear-gradient(180deg, var(--dusk-2), var(--dusk)); }
.yeshua { margin: 4px 0 18px; font-family: var(--font-display); font-weight: 300; font-style: italic; font-size: clamp(1.35rem, 3.8vw, 1.85rem); line-height: 1.35; color: var(--text); }
.yeshua cite { display: block; margin-top: 10px; font: 700 12px var(--font-body); font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.aramaic { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 14px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.aramaic .aw { font-family: var(--font-display); font-size: clamp(1.6rem, 4.6vw, 2.2rem); color: var(--gold); letter-spacing: .01em; }
.aramaic .am { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.aramaic-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.aramaic-grid .card { background: rgba(21,18,43,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.aramaic-grid .aw { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--gold); line-height: 1.1; }
.aramaic-grid .am { display: block; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text); opacity: .8; margin: 8px 0 12px; }
@media (max-width: 900px) { .aramaic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .aramaic-grid { grid-template-columns: 1fr; } }
/* Blog */
.blog-grid .post-card { display: grid; align-content: start; gap: 6px; color: var(--text); padding: 0 0 26px; overflow: hidden; }
.blog-grid .post-card > :not(.post-thumb) { padding: 0 24px; }
.post-thumb { aspect-ratio: 16 / 10; background: center / cover no-repeat; margin-bottom: 16px; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.post-card:hover .post-thumb { transform: scale(1.04); }
.post-card h3 { margin: 0; }
.post-card:hover { color: var(--text); border-color: var(--line); }
.post-hero { position: relative; padding: clamp(90px, 14vw, 170px) 0 clamp(40px, 6vw, 70px); overflow: hidden; isolation: isolate; }
.post-hero-bg { position: absolute; inset: 0; z-index: -1; background: center / cover no-repeat; opacity: .32; }
.post-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,10,26,.6), var(--night)); }
.post-hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.8rem); }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 20px; } .crumbs a { color: var(--muted); } .crumbs span { margin: 0 6px; opacity: .5; }
.post-meta { color: var(--muted); font-size: 14.5px; margin: 0; }
.post-body { font-size: 18.5px; line-height: 1.8; padding-bottom: 40px; }
.post-body .answer { font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.6; padding: 22px 24px; border-left: 2px solid var(--gold); background: rgba(230,184,101,.06); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.post-body h2 { font-size: clamp(1.6rem, 3.2vw, 2.1rem); margin-top: 1.8em; }
.post-body li { margin-bottom: 8px; } .post-body strong { color: var(--gold-soft); font-weight: 600; }
.post-cta { padding-bottom: 50px; } .post-related { padding-bottom: 90px; }

/* ==========================================================
   STUDIO-STYLE SCROLL FEATURES
   ========================================================== */
/* Chapter index (right side of the film) */
.journey-progress { display: none; }
.journey-index { position: absolute; right: clamp(20px, 3.4vw, 52px); top: 50%; transform: translateY(-50%); z-index: 3; display: grid; gap: 14px; }
.journey-index button { display: flex; align-items: center; justify-content: flex-end; gap: 12px; background: none; border: 0; cursor: pointer; padding: 2px 0; color: rgba(239,232,218,.42); font: 700 10.5px var(--font-body); letter-spacing: .26em; text-transform: uppercase; transition: color .4s; }
.journey-index button i { width: 7px; height: 7px; border-radius: 50%; border: 1px solid currentColor; transition: all .4s; }
.journey-index button.on { color: var(--text); }
.journey-index button.on i { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 14px var(--gold); transform: scale(1.3); }
.journey-index button:hover { color: var(--gold-soft); }
@media (max-width: 860px) { .journey-index span { display: none; } .journey-index { right: 14px; } }
/* Left-aligned chapters with big type */
.chapter.ch-left { place-items: center start; text-align: left; padding-left: clamp(24px, 9vw, 150px); padding-right: clamp(60px, 18vw, 300px); }
.chapter.ch-left .chapter-inner { max-width: 820px; }
.chapter.ch-left h2 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); font-weight: 300; letter-spacing: -.025em; line-height: 1.02; }
.chapter.ch-left .lead { margin-inline: 0; }
.chapter.ch-left .hero-actions, .chapter.ch-left .old-words { justify-content: flex-start; }
.chapter.ch-left .eyebrow::after { display: none; }
@media (max-width: 860px) { .chapter.ch-left { place-items: center; text-align: center; padding-inline: var(--gutter); } .chapter.ch-left .lead { margin-inline: auto; } .chapter.ch-left .hero-actions, .chapter.ch-left .old-words { justify-content: center; } }

/* Stacking cards */
.stack-sec { padding-bottom: clamp(60px, 8vw, 100px); }
.stack-head { text-align: center; margin-bottom: clamp(32px, 5vw, 56px); }
.stack-head .lead { margin-inline: auto; }
.stack { display: grid; gap: 28px; padding-bottom: 6vh; }
.stack-card {
  position: sticky; top: calc(100px + var(--i) * 22px);
  display: grid; grid-template-columns: 1.05fr .95fr; min-height: min(62vh, 520px); overflow: hidden;
  border-radius: calc(var(--radius) + 8px); border: 1px solid var(--line);
  background: linear-gradient(160deg, #1D1838, #120F26); box-shadow: 0 -20px 60px -30px rgba(0,0,0,.8), 0 30px 80px -40px rgba(230,184,101,.25);
  transform-origin: center top; transition: transform .2s linear, filter .2s linear;
}
.sc-text { padding: clamp(28px, 4.4vw, 60px); display: grid; align-content: center; gap: 8px; }
.sc-text .num { font-family: var(--font-display); font-style: italic; color: var(--gold); font-size: 16px; }
.sc-text h3 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 300; letter-spacing: -.02em; margin: 0; }
.sc-text p { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.1rem); max-width: 40ch; margin: 6px 0 0; }
.sc-img { background: center / cover no-repeat; position: relative; }
.sc-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #17132E 0%, transparent 35%); }
@media (max-width: 760px) { .stack-card { grid-template-columns: 1fr; min-height: auto; top: calc(80px + var(--i) * 14px); } .sc-img { order: -1; aspect-ratio: 16 / 9; } .sc-img::after { background: linear-gradient(0deg, #17132E, transparent 50%); } }

/* Pinned horizontal rail */
.hrail { position: relative; height: 300vh; }
.hrail-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; align-content: center; gap: clamp(24px, 4vh, 44px); }
.hrail-head h2 { margin: 0; font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 300; }
.hrail-track { display: flex; gap: 18px; padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); will-change: transform; }
.rail-card {
  flex: none; width: clamp(230px, 24vw, 300px); min-height: clamp(280px, 40vh, 360px); padding: 26px; border-radius: var(--radius);
  display: grid; align-content: end; gap: 6px; position: relative; overflow: hidden;
  background: radial-gradient(120% 70% at 50% 0%, rgba(230,184,101,.14), transparent 60%), linear-gradient(180deg, var(--dusk-2), var(--dusk));
  border: 1px solid var(--line-soft); transition: border-color .4s, transform .4s;
}
.rail-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.rail-day { position: absolute; top: 22px; left: 26px; font: 700 11px var(--font-body); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.rail-word { font-family: var(--font-display); font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1.05; color: var(--gold-soft); }
.rail-mean { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.rail-card h3 { font-size: 1.25rem; margin: 14px 0 0; }
.rail-card p { margin: 0; font-size: 13px; color: var(--faint); }
.hrail-foot .progress-line { max-width: 320px; }
@media (prefers-reduced-motion: reduce) { .hrail { height: auto; } .hrail-pin { position: relative; height: auto; padding: 80px 0; } .hrail-track { overflow-x: auto; } }

.hrail-pin { grid-template-columns: minmax(0, 1fr); }
.hrail-track { width: max-content; }

.workbook-card { margin-top: 22px; display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; }
.workbook-card b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; }
.workbook-card .eyebrow { margin-bottom: 6px; }
.wb-thumb { width: 58px; height: 78px; border-radius: 4px; background: radial-gradient(70% 50% at 50% 62%, rgba(230,184,101,.4), transparent 70%), #0C0A1A url('/assets/img/mark.svg') center 38% / 60% no-repeat; box-shadow: 6px 6px 0 -2px #EADFC9, 0 14px 30px -12px rgba(0,0,0,.8); border: 1px solid var(--line); }
@media (max-width: 640px) { .workbook-card { grid-template-columns: auto 1fr; } .workbook-card .btn { grid-column: 1 / -1; } }

/* ==========================================================
   SPEAK DAILY: library, journey, membership
   ========================================================== */
.member-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; background: rgba(230,184,101,.16); color: var(--gold); font: 700 10.5px var(--font-body); letter-spacing: .16em; text-transform: uppercase; }
.library { margin-top: 56px; }
.lib-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.lib-head h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.lib-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-soft); background: linear-gradient(180deg, var(--dusk-2), var(--dusk)); display: grid; grid-template-rows: 120px 1fr; transition: border-color .3s, transform .3s; }
.lib-card:hover { border-color: var(--line); transform: translateY(-3px); }
.lib-card.cur { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(230,184,101,.12); }
.lib-card.soon .lib-img { filter: grayscale(.7) brightness(.5); }
.lib-card.locked .lib-img { filter: brightness(.6); }
.lib-img { background: center / cover no-repeat; }
.lib-body { padding: 18px 20px 20px; display: grid; gap: 6px; align-content: start; }
.lib-body h3 { margin: 0; font-size: 1.35rem; }
.lib-body p { margin: 0; font-size: 14px; }
.lib-body .progress-line { margin-top: 6px; }
.lib-action { margin-top: 10px; }
.lib-soon { font: 700 11px var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.lib-soon.on { color: var(--gold); }
.join-card { margin-top: 32px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; border-color: var(--line); box-shadow: var(--glow); }
.join-card h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: 4px 0 8px; }
.join-card p { max-width: 60ch; }
/* journey */
.stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.stat { text-align: center; padding: 18px 10px; border-radius: var(--radius-sm); background: var(--dusk); border: 1px solid var(--line-soft); }
.stat b { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--gold); line-height: 1.1; }
.stat span { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.heat { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-flow: column; grid-template-rows: repeat(7, 1fr); gap: 5px; }
.heat i { aspect-ratio: 1; border-radius: 4px; background: var(--dusk-3); opacity: .55; }
.heat i.on { background: var(--gold); opacity: 1; box-shadow: 0 0 10px rgba(230,184,101,.5); }
.t-list { display: grid; gap: 12px; margin-top: 16px; }
.t-item { position: relative; display: grid; gap: 8px; }
.t-item.answered { border-color: var(--line); background: radial-gradient(120% 100% at 0 0, rgba(230,184,101,.12), transparent 60%), linear-gradient(180deg, var(--dusk-2), var(--dusk)); }
.t-top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; }
.t-badge { font: 700 11px var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.answered .t-badge { color: var(--gold); }
.t-spoken { font-family: var(--font-display); font-size: 1.3rem; margin: 0; }
.t-answer { margin: 0; color: var(--gold-soft); font-style: italic; }
.t-ans { display: grid; gap: 10px; }
textarea.input { padding: 14px 18px; min-height: 0; resize: vertical; }
.t-item .btn { justify-self: start; }
.t-del { position: absolute; top: 12px; right: 14px; background: none; border: 0; color: var(--faint); font-size: 20px; cursor: pointer; }
.t-del:hover { color: var(--danger); }
.cycle-list { display: grid; gap: 14px; }
.cycle-row { display: grid; gap: 10px; scroll-margin-top: 90px; }
.refl p { margin: 0 0 10px; color: var(--text); } .refl b { color: var(--gold); font-weight: 600; font-size: 14px; }
.refl-form { margin-top: 6px; }
/* membership */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 860px; margin-inline: auto; }
.plan.best { border-color: var(--gold); box-shadow: var(--glow); }
.plan .price { text-align: left; }
@media (max-width: 700px) { .plans { grid-template-columns: 1fr; } }
.member-card h2 { margin: 12px 0 6px; }
.app-nav { gap: 16px; }
@media (max-width: 560px) { .app-nav { gap: 12px; } .app-nav a, .app-nav button { font-size: 13px; } }

.light .plans .price-card { max-width: none; text-align: left; }
.light .plan-member { border: 1px solid var(--gold-deep); box-shadow: 0 30px 70px -30px rgba(184,135,58,.45); }
.light .price-card h3 { font-size: 1.5rem; }
.btn-ghost-dark { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1px rgba(26,21,48,.25); }
.btn-ghost-dark:hover { --fg: var(--ink); background: rgba(26,21,48,.05); box-shadow: inset 0 0 0 1px var(--ink); }

.heat { grid-template-columns: repeat(12, 15px); grid-template-rows: repeat(7, 15px); gap: 5px; justify-content: start; }
.heat i { aspect-ratio: auto; }

.ty-fallback { width: 70%; }

/* ---------- Living voices: Day 1 (hesitant) vs Day 21 (steady) ---------- */
.wave-static span { transform-origin: center; will-change: transform; }
.wave-static:not(.bright) span { animation: wv-unsure 3.2s ease-in-out infinite; }
.wave-static:not(.bright) span:nth-child(2n) { animation-duration: 3.8s; }
.wave-static:not(.bright) span:nth-child(3n) { animation-duration: 2.7s; }
.wave-static span:nth-child(1) { animation-delay: -.1s; }  .wave-static span:nth-child(2) { animation-delay: -.35s; }
.wave-static span:nth-child(3) { animation-delay: -.7s; }  .wave-static span:nth-child(4) { animation-delay: -.2s; }
.wave-static span:nth-child(5) { animation-delay: -.55s; } .wave-static span:nth-child(6) { animation-delay: -.9s; }
.wave-static span:nth-child(7) { animation-delay: -.4s; }  .wave-static span:nth-child(8) { animation-delay: -.8s; }
.wave-static span:nth-child(9) { animation-delay: -.15s; } .wave-static span:nth-child(10) { animation-delay: -.6s; }
.wave-static span:nth-child(11) { animation-delay: -.3s; }
/* Day 1: speaks a little, stops, starts again, never quite sure */
@keyframes wv-unsure {
  0%, 100% { transform: scaleY(.55); } 8% { transform: scaleY(1.1); } 14% { transform: scaleY(.7); } 20% { transform: scaleY(1.25); }
  28% { transform: scaleY(.5); } 46% { transform: scaleY(.45); } 54% { transform: scaleY(1.05); } 60% { transform: scaleY(.65); } 70%, 92% { transform: scaleY(.4); }
}
/* Day 21: full, rhythmic, certain */
.wave-static.bright span { animation: wv-steady 1.15s cubic-bezier(.45,0,.55,1) infinite; box-shadow: 0 0 10px rgba(230,184,101,.55); }
.wave-static.bright span:nth-child(2n) { animation-duration: 1.3s; }
.wave-static.bright span:nth-child(3n) { animation-duration: .95s; }
@keyframes wv-steady { 0%, 100% { transform: scaleY(.7); } 35% { transform: scaleY(1.08); } 55% { transform: scaleY(.85); } 75% { transform: scaleY(1); } }
.compare .card:last-child { position: relative; overflow: hidden; }
.compare .card:last-child::after { content: ''; position: absolute; inset: auto 15% 35% 15%; height: 60px; background: radial-gradient(50% 50% at 50% 50%, rgba(230,184,101,.28), transparent 70%); filter: blur(10px); animation: wv-glow 2.3s ease-in-out infinite; pointer-events: none; }
@keyframes wv-glow { 0%, 100% { opacity: .45; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.08); } }
/* the "to" between them */
.compare .vs { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; justify-self: center;
  background: rgba(12,10,26,.75); border: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--gold-soft); font-size: 20px; box-shadow: 0 0 30px rgba(230,184,101,.25); }
@media (prefers-reduced-motion: reduce) { .wave-static span, .compare .card:last-child::after { animation: none !important; } }

.ty-photo img { object-position: 50% 30%; z-index: 1; }
.ty-photo::after { content: ''; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, transparent 65%, rgba(12,10,26,.35)); pointer-events: none; }

/* Left-aligned film hero: keep text readable over the film */
.chapter.hero-ch.ch-left { place-items: center start; padding-top: 72px; }
.chapter.hero-ch.ch-left .chapter-inner { max-width: 760px; }
.journey-shade { background:
    linear-gradient(90deg, rgba(12,10,26,.78) 0%, rgba(12,10,26,.45) 38%, rgba(12,10,26,0) 62%),
    radial-gradient(46% 34% at 50% 46%, rgba(12,10,26, calc(.1 + var(--p, 0) * .35)), transparent 100%),
    linear-gradient(180deg, rgba(12,10,26,.7) 0%, rgba(12,10,26,0) 26%, rgba(12,10,26,0) 60%, rgba(12,10,26,.85) 100%); }
@media (max-width: 860px) {
  .chapter.hero-ch.ch-left { place-items: start center; padding-top: clamp(110px, 16vh, 180px); }
  .journey-shade { background: radial-gradient(70% 45% at 50% 40%, rgba(12,10,26,.72), transparent 100%), linear-gradient(180deg, rgba(12,10,26,.7) 0%, transparent 30%, transparent 60%, rgba(12,10,26,.85) 100%); }
}

.link-btn.feature { margin-top: 10px; border-color: rgba(230,184,101,.45); background: linear-gradient(135deg, rgba(31,26,60,.92), rgba(21,18,43,.85)); position: relative; overflow: hidden; }
.link-btn.feature::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(244,220,168,.16) 50%, transparent 70%); transform: translateX(-100%); animation: shine 4.5s ease-in-out infinite; pointer-events: none; }
.link-btn.feature b { color: var(--gold-soft); }
@keyframes shine { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .link-btn.feature::after { animation: none; } }

/* ==========================================================
   MOTION HERO: the macro film plays full screen on its own;
   scrolling eases it into a framed window
   ========================================================== */
.film-hero { position: relative; height: 175vh; margin-top: -72px; --fh: 0; }
.fh-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; align-items: center; }
.fh-media {
  position: absolute; inset: 0; overflow: hidden; background: #0C0A1A;
  transform: scale(calc(1 - var(--fh) * .12)); border-radius: calc(var(--fh) * 36px);
  box-shadow: 0 0 0 1px rgba(230,184,101, calc(var(--fh) * .35)), 0 40px 120px -30px rgba(230,184,101, calc(var(--fh) * .35));
  will-change: transform;
}
.fh-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .9s ease; }
@media (min-width: 761px) { .fh-media video { transform: translateX(14%) scale(1.12); } }
.film-hero.fh-fade .fh-media video { opacity: 0; }
.fh-shade { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(90deg, rgba(12,10,26,.86) 0%, rgba(12,10,26,.5) 36%, rgba(12,10,26,0) 62%),
  linear-gradient(180deg, rgba(12,10,26,.6) 0%, transparent 24%, transparent 70%, rgba(12,10,26,.9) 100%); }
.fh-frame { position: absolute; inset: clamp(14px, 2.4vw, 30px); top: calc(72px + clamp(8px, 1.4vw, 16px)); border: 1px solid rgba(230,184,101,.14); pointer-events: none; opacity: calc(1 - var(--fh) * 2); }
.fh-content { position: relative; z-index: 2; padding-top: 72px; will-change: transform, opacity; }
.fh-content h1 { font-size: clamp(3rem, 7vw, 6.4rem); font-weight: 300; letter-spacing: -.028em; line-height: 1.02; max-width: 11ch; margin-bottom: .35em; }
.fh-content .lead { max-width: 36ch; color: var(--text); opacity: .88; }
.fh-content .eyebrow { letter-spacing: .42em; font-size: 11.5px; }
.film-hero .scroll-cue { opacity: calc(1 - var(--fh) * 4); }
.film-hero .journey-meta { opacity: calc(1 - var(--fh) * 3); }
@media (max-width: 760px) {
  .film-hero { height: 150vh; }
  .fh-content { text-align: center; padding-top: 40px; align-self: start; margin-top: clamp(110px, 16vh, 170px); }
  .fh-content h1 { max-width: none; }
  .fh-content .lead { margin-inline: auto; }
  .fh-content .eyebrow::after { content: ''; width: 26px; height: 1px; background: currentColor; opacity: .7; }
  .fh-content .hero-actions { justify-content: center; }
  .fh-shade { background: radial-gradient(80% 50% at 50% 38%, rgba(12,10,26,.75), transparent 100%), linear-gradient(180deg, rgba(12,10,26,.6) 0%, transparent 30%, transparent 65%, rgba(12,10,26,.9) 100%); }
  .fh-frame { display: none; }
}
@media (prefers-reduced-motion: reduce) { .film-hero { height: auto; } .fh-sticky { position: relative; min-height: 100vh; } }
/* the story section now follows the hero rather than starting the page */
.journey.story { margin-top: 0; height: 400vh; }


/* ==========================================================
   PREMIUM PASS
   ========================================================== */
/* Smooth page-to-page fades (Chrome, Edge, Safari 18+) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s ease both; }
::view-transition-new(root) { animation: vt-in .55s ease both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

/* Typography that never leaves a lonely word */
h1, h2, h3, .statement, .signoff { text-wrap: balance; }
p, li, .lead { text-wrap: pretty; }
.fh-content h1 { max-width: 15ch; }
.d-br { display: inline; }
@media (max-width: 760px) {
  .d-br { display: none; }
  .fh-content h1 { font-size: clamp(2.5rem, 11vw, 3.4rem); max-width: 12ch; margin-inline: auto; }
  h1 { font-size: clamp(2.3rem, 10vw, 3.2rem); }
  h2 { font-size: clamp(1.9rem, 8.4vw, 2.6rem); }
  .statement { font-size: clamp(1.5rem, 6.6vw, 2rem); }
  .chapter.ch-left h2 { font-size: clamp(2.1rem, 9.6vw, 2.9rem); }
  .lead { font-size: 1.02rem; }
}

/* Seamless edges for pinned film sections */
.journey-stage::after, .scrub-stage::after { content: ''; position: absolute; inset: 0; z-index: 5; pointer-events: none; background: var(--night); opacity: var(--veil, 0); }

/* Cream sections become floating panels with a gentle rise, rather than hard stripes */
.light { margin-inline: clamp(8px, 1.8vw, 22px); border-radius: clamp(24px, 3vw, 40px); overflow: hidden; }
.panel-rise { transform: translateY(40px) scale(.97); opacity: .4; transition: transform 1.1s cubic-bezier(.2,.8,.2,1), opacity 1.1s ease; }
.panel-rise.shown { transform: none; opacity: 1; }

/* Image bands feather into the night instead of cutting */
.cinema > .cinema-bg { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%); }

/* Image unveil + staggered entrances */
.unveil { clip-path: inset(12% 8% 12% 8% round 24px); transition: clip-path 1.3s cubic-bezier(.2,.8,.2,1); }
.unveil.shown { clip-path: inset(0 0 0 0 round 0); }
.photo-frame.unveil.shown, .ty-photo.unveil.shown { clip-path: inset(0 0 0 0 round calc(var(--radius) + 6px)); }
.stagger { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform 1s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--stagger, 0) * 90ms); }
.stagger.shown { opacity: 1; transform: none; }

/* Aramaic marquee */
.marquee { padding: clamp(36px, 6vw, 70px) 0; overflow: hidden; display: grid; gap: 10px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-row { display: flex; gap: 32px; align-items: center; white-space: nowrap; width: max-content; will-change: transform; }
.marquee-row span { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.2rem, 6vw, 5rem); color: transparent; -webkit-text-stroke: 1px rgba(230,184,101,.55); letter-spacing: -.01em; }
.marquee-row:not(.alt) span:nth-child(4n+1) { color: var(--gold); -webkit-text-stroke: 0; }
.marquee-row.alt span { font-family: var(--font-body); font-weight: 700; font-size: clamp(.8rem, 1.4vw, 1rem); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); -webkit-text-stroke: 0; }
.marquee-row i { font-style: normal; color: var(--gold); opacity: .6; }

/* Cursor light + magnetic buttons (desktop only) */
.cursor-glow { position: fixed; left: 0; top: 0; width: 400px; height: 400px; border-radius: 50%; pointer-events: none; z-index: 1; opacity: 0; transition: opacity .6s;
  background: radial-gradient(circle, rgba(230,184,101,.10), rgba(230,184,101,.04) 40%, transparent 70%); mix-blend-mode: screen; }
.cursor-glow.on { opacity: 1; }
.is-desktop .btn { transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease, background .2s ease; }

/* Lenis smooth scrolling */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }

/* ---------- PHONES: their own experience ---------- */
@media (max-width: 899px), (pointer: coarse) {
  /* shorter pinned stories so thumbs aren't scrolling forever */
  .journey.story { height: 300vh; }
  .scrub { height: 200vh; }
  .film-hero { height: 140vh; }
  /* stacking cards become a clean vertical flow with reveals */
  .stack-card { position: relative; top: auto; min-height: 0; }
  .stack { gap: 18px; }
  /* the 21 days become a native swipe carousel */
  .hrail.swipe { height: auto; }
  .hrail.swipe .hrail-pin { position: relative; height: auto; padding: clamp(60px, 12vw, 90px) 0; }
  .hrail.swipe .hrail-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 14px; scrollbar-width: none; }
  .hrail.swipe .hrail-track::-webkit-scrollbar { display: none; }
  .hrail.swipe .rail-card { scroll-snap-align: center; width: 72vw; min-height: 300px; }
  .hrail.swipe .hrail-foot { display: none; }
  .journey-index, .journey-meta, .cursor-glow { display: none !important; }
  .marquee-row span { font-size: clamp(2rem, 10vw, 3rem); }
  .section { padding: clamp(64px, 14vw, 96px) 0; }
  .light { margin-inline: 8px; }
}
@media (min-width: 761px) {
  .fh-media video { transform: translateX(22%) scale(1.16); }
  .fh-shade { background:
    linear-gradient(90deg, rgba(12,10,26,.92) 0%, rgba(12,10,26,.7) 30%, rgba(12,10,26,.25) 52%, rgba(12,10,26,0) 66%),
    linear-gradient(180deg, rgba(12,10,26,.6) 0%, transparent 24%, transparent 70%, rgba(12,10,26,.9) 100%); }
}

/* ---------- pass: no gaps, no lonely words ---------- */
.lead, .center p, .narrow p, .chapter p { text-wrap: balance; }
.hrail-pin { pointer-events: none; }
.hrail-pin > * { pointer-events: auto; }
.stack-sec { padding-bottom: clamp(24px, 4vw, 48px); }
.stack { padding-bottom: 2vh; }
@media (max-width: 899px), (pointer: coarse) {
  /* readable text over the bright sunrise */
  .story .chapter-inner { position: relative; }
  .story .chapter-inner::before { content: ''; position: absolute; inset: -40px -24px; z-index: -1; pointer-events: none;
    background: radial-gradient(closest-side, rgba(12,10,26,.78), rgba(12,10,26,.45) 70%, transparent); }
  .story .chapter h2 { text-shadow: 0 2px 8px rgba(12,10,26,.8), 0 8px 40px rgba(12,10,26,.95); }
  .journey.story { height: 260vh; }
  .scrub { height: 170vh; }
  .stack-sec { padding-bottom: 8px; }
  .hrail.swipe .hrail-pin { padding: 40px 0 56px; }
}

/* ==========================================================
   PHONE MODE: same look, none of the heavy machinery.
   iOS Safari reloads ("A problem repeatedly occurred") a page that keeps big blurred, blended, animated layers on screen.
   ========================================================== */
@media (max-width: 899px), (pointer: coarse) {
  /* aurora: one static painted background, no blur filters, no blend modes, no animation */
  /* aurora keeps drifting, but as plain soft gradients: no blur filter, no blend mode */
  .ambient i { filter: none; mix-blend-mode: normal; will-change: auto; opacity: .75; }
  .ambient { background:
    radial-gradient(70% 45% at 0% 0%, rgba(92,64,168,.35), transparent 70%),
    radial-gradient(60% 40% at 100% 45%, rgba(230,184,101,.14), transparent 70%),
    radial-gradient(70% 40% at 30% 100%, rgba(217,132,74,.14), transparent 70%), var(--night); }
  .grain, .cursor-glow { display: none !important; }
  .dust { mix-blend-mode: normal; opacity: .85; }
  /* frosted glass -> solid tints (backdrop blur is one of the most expensive things on iOS) */
  .site-header { background: rgba(12,10,26,.94); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .trio div, .aramaic-grid .card, .auth-body .card, .celebrate { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  .trio div { background: rgba(12,10,26,.82); }
  .aramaic-grid .card { background: rgba(21,18,43,.92); }
  /* word reveals: fade and rise only, no per-word blur */
  [data-words] .w { filter: none !important; }
  .compare .card:last-child::after { filter: none; animation: none; }
  .cinema > .cinema-bg { will-change: auto; }
  .fh-content, .hrail-track { will-change: auto; }
  /* the three story stills crossfade instead of scrubbing */
  .journey-canvas { transition: opacity .6s ease; }
  .auth-body, .app-body { background-attachment: scroll; }
}

video.journey-video, .scrub-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scrub-video { z-index: 0; }
