/* ============ At His Feet — design system ============ */
:root {
  --bg: #101024;
  --bg-deep: #0a0a1a;
  --ink: #f5efe2;          /* parchment text */
  --ink-dim: #c6c0d8;
  --gold: #e8bb52;
  --gold-bright: #ffe6a3;
  --gold-deep: #aa6d18;
  --gold-soft: #cfa855;
  --violet: #7a6aa8;
  --card: rgba(255, 250, 238, 0.045);
  --card-line: rgba(216, 181, 107, 0.22);
  --way1: #ab97e0;          /* Purification — twilight violet */
  --way2: #e5ab55;          /* Imitation — dawn amber */
  --way3: #f4e4b6;          /* Union — radiant light */
  --serif: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ambient background */
.ambient { position: fixed; inset: 0; z-index: -1; background:
  radial-gradient(ellipse at 50% -10%, #23234a 0%, var(--bg) 55%, var(--bg-deep) 100%); }
.ambient-glow { position: absolute; border-radius: 50%; filter: blur(120px); opacity: .35; }
.glow-violet { width: 55vw; height: 55vw; background: #3d3570; top: -18vw; left: -12vw; }
.glow-gold { width: 40vw; height: 40vw; background: #57431d; bottom: -15vw; right: -10vw; }
.ambient-stars { position: absolute; inset: 0; opacity: .5; background-image:
  radial-gradient(1.5px 1.5px at 12% 22%, #fff8 50%, transparent 51%),
  radial-gradient(1px 1px at 38% 8%,  #fff6 50%, transparent 51%),
  radial-gradient(1.5px 1.5px at 66% 30%, #fff7 50%, transparent 51%),
  radial-gradient(1px 1px at 84% 14%, #fff5 50%, transparent 51%),
  radial-gradient(1px 1px at 25% 44%, #fff4 50%, transparent 51%),
  radial-gradient(1.5px 1.5px at 92% 48%, #fff5 50%, transparent 51%),
  radial-gradient(1px 1px at 52% 18%, #fff6 50%, transparent 51%),
  radial-gradient(1px 1px at 8% 60%,  #fff4 50%, transparent 51%); }

/* header */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem clamp(1rem, 4vw, 3rem);
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(to bottom, rgba(10,10,26,.92), rgba(10,10,26,.55) 70%, transparent);
  backdrop-filter: blur(6px);
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand-mark { color: var(--gold); font-size: 1.25rem; }
.brand-text { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; letter-spacing: .04em; }
.site-nav { display: flex; gap: 1.6rem; }
.site-nav a {
  color: var(--ink-dim); text-decoration: none; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase; font-weight: 400;
  padding-bottom: .2rem; border-bottom: 1px solid transparent; transition: color .25s, border-color .25s;
}
.site-nav a:hover, .site-nav a.active { color: var(--gold); border-color: var(--gold-soft); }
#journeyAccountLink {
  color: var(--gold-bright); border: 1px solid rgba(232,187,82,.32); border-radius: 999px;
  padding: .38rem .78rem; margin-top: -.18rem;
}
#journeyAccountLink:hover { background: rgba(232,187,82,.08); }

.app { max-width: 1180px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem) 5rem; }

/* ============ JOURNEY VIEW ============ */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(520px, 69vh, 650px); margin: .4rem auto 3.2rem;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: clamp(4.8rem, 9vw, 7rem) clamp(1rem, 5vw, 4rem);
  border: 1px solid rgba(232,187,82,.13); border-radius: 32px;
  background:
    radial-gradient(ellipse at 50% 5%, rgba(118,90,151,.38), transparent 48%),
    radial-gradient(ellipse at 50% 78%, rgba(70,48,112,.18), transparent 54%),
    linear-gradient(150deg, rgba(9,14,35,.98), rgba(20,19,51,.97) 50%, rgba(7,11,30,.99));
  box-shadow: 0 30px 80px rgba(1,3,14,.48), inset 0 1px 0 rgba(255,230,163,.045);
}
.hero::before {
  content: ''; position: absolute; z-index: -1; inset: 0;
  background:
    linear-gradient(90deg, rgba(2,5,18,.78), transparent 20%, transparent 80%, rgba(2,5,18,.78)),
    radial-gradient(circle at 50% 48%, rgba(245,202,100,.055), transparent 28%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; z-index: -1; left: 12%; right: 12%; bottom: -22%; height: 50%;
  background: radial-gradient(ellipse, rgba(110,75,157,.15), transparent 66%); filter: blur(18px);
}
.hero-content { position: relative; z-index: 3; width: 100%; max-width: 980px; }
.hero-eyebrow {
  color: #f1c968; letter-spacing: .44em; text-transform: uppercase;
  font-size: clamp(.66rem, 1.25vw, .82rem); font-weight: 500; text-shadow: 0 0 18px rgba(232,187,82,.22);
}
.hero-ornament { display: flex; align-items: center; justify-content: center; gap: .8rem; margin: 1.7rem auto 1rem; color: #f6cc68; }
.hero-ornament span { display: block; width: clamp(38px, 7vw, 86px); height: 1px; background: linear-gradient(90deg, transparent, rgba(240,194,87,.78)); }
.hero-ornament span:last-child { transform: scaleX(-1); }
.hero-ornament b { font-size: 1.4rem; font-weight: 400; filter: drop-shadow(0 0 9px rgba(255,207,101,.8)); animation: ornamentGlow 4.5s ease-in-out infinite; }
.hero h1 {
  font-family: var(--serif); font-weight: 500; letter-spacing: -.035em;
  font-size: clamp(4.2rem, 10.5vw, 8.5rem); line-height: .92; margin: 0 auto 1.8rem;
  background: linear-gradient(108deg, #9f6415 0%, #f4c85f 18%, #fff1b9 39%, #d99728 59%, #ffe5a0 79%, #a46114 100%);
  background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 8px 18px rgba(3,4,18,.55)) drop-shadow(0 0 17px rgba(232,187,82,.14));
  animation: goldShimmer 11s ease-in-out infinite;
}
.hero-sub {
  font-family: var(--serif); font-size: clamp(1.2rem, 2.8vw, 1.65rem); font-weight: 500;
  color: #d7d0e3; max-width: 760px; margin: 0 auto 2.7rem; letter-spacing: .005em;
}
.hero-cta { display: flex; gap: 1.15rem; justify-content: center; flex-wrap: wrap; }
.hero .btn { min-width: min(300px, 100%); justify-content: center; padding: 1.08rem 2.2rem; font-size: .8rem; letter-spacing: .17em; }
.hero-parent-brand {
  display: flex; align-items: center; justify-content: center; gap: .8rem; margin-top: 2.8rem;
  color: rgba(239,198,100,.76); font-size: .6rem; font-weight: 500; letter-spacing: .34em; text-transform: uppercase;
}
.hero-parent-brand span { width: 46px; height: 1px; background: linear-gradient(90deg, transparent, rgba(232,187,82,.5)); }
.hero-parent-brand span:last-child { transform: scaleX(-1); }

.hero-arches { position: absolute; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; }
.hero-arches i {
  position: absolute; left: 50%; bottom: -40%; transform: translateX(-50%);
  width: min(88%, 930px); height: 124%; border: 1px solid rgba(189,152,99,.085);
  border-bottom: 0; border-radius: 50% 50% 0 0 / 34% 34% 0 0;
  box-shadow: inset 0 0 46px rgba(10,7,26,.45), 0 0 24px rgba(198,154,78,.025);
}
.hero-arches i:nth-child(2) { width: min(72%, 760px); height: 114%; bottom: -34%; border-color: rgba(219,177,103,.06); }
.hero-arches i:nth-child(3) { width: min(56%, 590px); height: 103%; bottom: -28%; border-color: rgba(219,177,103,.045); }

.hero-lights { position: absolute; z-index: 2; inset: 0; overflow: hidden; pointer-events: none; }
.hero-lights i {
  position: absolute; left: var(--x); top: -12%; width: var(--size); height: var(--size); border-radius: 50%;
  background: #ffd56f; opacity: 0; box-shadow: 0 0 8px 2px rgba(255,203,91,.55);
  animation: goldFall var(--duration) linear var(--delay) infinite;
}
@keyframes goldFall {
  0% { transform: translate3d(-8px,-20px,0) scale(.55); opacity: 0; }
  12% { opacity: .22; }
  42% { transform: translate3d(7px,270px,0) scale(.9); opacity: .78; }
  82% { opacity: .36; }
  100% { transform: translate3d(-4px,720px,0) scale(1.12); opacity: 0; }
}
@keyframes goldShimmer { 0%, 100% { background-position: 0% center; } 50% { background-position: 100% center; } }
@keyframes ornamentGlow { 0%, 100% { opacity: .72; transform: scale(.92); } 50% { opacity: 1; transform: scale(1.07); } }

.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans); font-size: .85rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  padding: .9rem 1.9rem; border-radius: 999px; cursor: pointer; text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary {
  background: linear-gradient(110deg, #fff0b1, #e6b73d 58%, #f6d67c); color: #1c1609; border: 1px solid rgba(255,235,170,.42);
  box-shadow: 0 7px 26px rgba(232,187,82,.3), inset 0 1px 0 rgba(255,255,255,.38);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(232,187,82,.45); }
.btn-ghost { background: rgba(10,10,28,.24); color: var(--ink); border: 1px solid rgba(232,187,82,.42); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* progress summary */
.progress-card {
  margin: 0 auto 3.5rem; max-width: 640px; text-align: center;
  background: var(--card); border: 1px solid var(--card-line); border-radius: 18px; padding: 1.4rem 2rem;
}
.progress-card .pcount { font-family: var(--serif); font-size: 1.9rem; color: var(--gold); }
.progress-bar { height: 5px; border-radius: 3px; background: rgba(255,255,255,.08); margin-top: .8rem; overflow: hidden; }
.progress-bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--way1), var(--way2), var(--way3)); transition: width .5s ease; }
.progress-card .pnote { margin-top: .7rem; font-size: .78rem; color: var(--ink-dim); }
.account-save-note { margin-top: .85rem; color: #e7ce8d; font-size: .76rem; letter-spacing: .05em; }
.account-save-note span { color: var(--gold-bright); margin-right: .28rem; }
.preview-progress { padding-top: 1.65rem; }
.preview-label { color: var(--gold); font-size: .68rem; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; margin-bottom: .35rem; }
.preview-account-link { display: inline-block; margin-top: 1rem; color: var(--gold-bright); text-decoration: none; font-size: .78rem; font-weight: 500; letter-spacing: .07em; }
.preview-account-link:hover { text-decoration: underline; text-underline-offset: .25rem; }

/* the Way sections */
.way { margin-bottom: 3.6rem; }
.way-header { text-align: center; margin-bottom: 1.8rem; }
.way-roman { font-family: var(--serif); font-style: italic; color: var(--ink-dim); font-size: 1rem; letter-spacing: .12em; }
.way-title { font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 600; margin-top: .3rem; }
.way[data-way="ONE"]   .way-title { color: var(--way1); }
.way[data-way="TWO"]   .way-title { color: var(--way2); }
.way[data-way="THREE"] .way-title { color: var(--way3); }
.way-range { font-size: .75rem; color: var(--ink-dim); letter-spacing: .18em; text-transform: uppercase; margin-top: .35rem; }

.part-label {
  text-align: center; font-family: var(--serif); font-style: italic;
  color: var(--ink-dim); font-size: 1.02rem; margin: 1.6rem 0 .9rem;
}
.part-label b { color: var(--gold); font-style: normal; font-weight: 600; }

/* stepping stones */
.stones { display: flex; flex-wrap: wrap; gap: .65rem; justify-content: center; }
.stone {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: .95rem; font-weight: 600;
  color: var(--ink-dim); text-decoration: none;
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.1);
  transition: transform .18s, box-shadow .18s, background .18s, color .18s;
  position: relative;
}
.stone:hover { transform: translateY(-3px) scale(1.06); color: var(--ink); box-shadow: 0 6px 18px rgba(0,0,0,.4); }
.way[data-way="ONE"]   .stone:hover { border-color: var(--way1); }
.way[data-way="TWO"]   .stone:hover { border-color: var(--way2); }
.way[data-way="THREE"] .stone:hover { border-color: var(--way3); }

.stone.done {
  color: #241b08;
  background: linear-gradient(135deg, #ecd9ad, var(--gold));
  border-color: transparent;
  box-shadow: 0 0 14px rgba(216,181,107,.35);
}
.stone.next {
  color: var(--gold); border-color: var(--gold);
  animation: pulse 2.2s ease-in-out infinite;
}
.stone.locked { opacity: .32; border-style: dashed; cursor: pointer; }
.stone.locked:hover { opacity: .72; color: var(--gold-bright); border-color: rgba(232,187,82,.55); transform: translateY(-2px); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(216,181,107,.45); }
  50%      { box-shadow: 0 0 0 9px rgba(216,181,107,0); }
}

/* milestone gates on the map */
.gate {
  display: block;
  width: 100%; margin: 1.1rem auto 1.5rem; max-width: 640px;
  background: var(--card); border: 1px dashed var(--card-line); border-radius: 14px;
  padding: .85rem 1.3rem; text-align: center; cursor: pointer;
  color: var(--ink-dim); font-size: .85rem; transition: border-color .2s, color .2s;
}
.gate:hover { border-color: var(--gold); color: var(--ink); }
.gate .gate-kind { color: var(--gold); letter-spacing: .2em; text-transform: uppercase; font-size: .66rem; display: block; margin-bottom: .2rem; }
.gate .gate-title { font-family: var(--serif); font-size: 1.1rem; }

/* milestone modal */
.modal-back { position: fixed; inset: 0; z-index: 100; background: rgba(5,5,15,.75); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 1.2rem; }
.modal {
  max-width: 620px; max-height: 80vh; overflow-y: auto;
  background: linear-gradient(160deg, #191930, #101024);
  border: 1px solid var(--card-line); border-radius: 20px; padding: 2.2rem clamp(1.4rem, 4vw, 2.6rem);
}
.modal h3 { font-family: var(--serif); color: var(--gold); font-size: 1.5rem; font-weight: 600; margin-bottom: 1rem; }
.modal p { color: var(--ink); font-family: var(--serif); font-size: 1.12rem; line-height: 1.75; margin-bottom: 1rem; }
.modal .modal-close { margin-top: .6rem; }

/* ============ GUIDE VIEW ============ */
.guide { max-width: 680px; margin: 0 auto; }
.guide h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 5vw, 2.6rem); color: var(--gold); text-align: center; margin: 2.5rem 0 .4rem; }
.guide .guide-sub { text-align: center; font-family: var(--serif); font-style: italic; color: var(--ink-dim); margin-bottom: 2.2rem; }
.guide-book-intro p { font-family: var(--serif); font-size: 1.16rem; line-height: 1.8; margin-bottom: 1.15rem; color: var(--ink); }
.guide-book-intro p:first-of-type::first-letter {
  font-size: 3.1em; float: left; line-height: .85; padding: .06em .12em 0 0; color: var(--gold); font-weight: 600;
}
.guide-steps { margin: 2.6rem 0; display: grid; gap: 1rem; }
.gstep { display: flex; gap: 1.1rem; align-items: flex-start; background: var(--card); border: 1px solid var(--card-line); border-radius: 16px; padding: 1.2rem 1.4rem; }
.gstep .gnum { font-family: var(--serif); font-size: 1.5rem; color: var(--gold); font-weight: 600; min-width: 2rem; text-align: center; }
.gstep h4 { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--ink); margin-bottom: .25rem; }
.gstep p { font-size: .9rem; color: var(--ink-dim); }
.guide-warning {
  border: 1px solid rgba(211,154,78,.45); background: rgba(211,154,78,.08);
  border-radius: 14px; padding: 1.1rem 1.4rem; font-size: .88rem; color: #e8cf9e; margin: 2rem 0;
}
.guide-warning b { color: var(--gold); }
.guide-preview-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

/* ============ DAY VIEW ============ */
.day-wrap { max-width: 720px; margin: 0 auto; }
.day-topbar { display: flex; justify-content: space-between; align-items: center; margin: 1.6rem 0 1.2rem; gap: .8rem; }
.day-crumb { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-dim); }
.day-crumb b { color: var(--gold-soft); font-weight: 500; }
.day-count { font-family: var(--serif); font-style: italic; color: var(--ink-dim); font-size: .95rem; white-space: nowrap; }

/* slide transitions */
.day-anim { animation-duration: .45s; animation-timing-function: cubic-bezier(.22,.8,.32,1); animation-fill-mode: both; }
.slide-in-right { animation-name: inRight; }
.slide-in-left  { animation-name: inLeft; }
@keyframes inRight { from { opacity: 0; transform: translateX(64px); } to { opacity: 1; transform: none; } }
@keyframes inLeft  { from { opacity: 0; transform: translateX(-64px); } to { opacity: 1; transform: none; } }

/* milestone gate card inside day flow */
.gate-card { border: 1px dashed var(--card-line); border-radius: 18px; padding: 1.6rem clamp(1.2rem, 4vw, 2rem); margin-bottom: 2rem; background: var(--card); }
.gate-card .gate-kind { color: var(--gold); letter-spacing: .24em; text-transform: uppercase; font-size: .66rem; display: block; margin-bottom: .4rem; }
.gate-card h3 { font-family: var(--serif); font-size: 1.45rem; color: var(--ink); font-weight: 600; margin-bottom: .8rem; }
.gate-card p { font-family: var(--serif); font-size: 1.08rem; line-height: 1.75; color: #d9d4e6; font-weight: 500; }
.gate-card.open p { color: var(--ink); }
.gate-toggle { background: none; border: none; color: var(--gold); font-family: var(--sans); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; margin-top: .8rem; padding: 0; }

/* art frame (placeholder for future illustrations) */
.art-frame {
  margin: 0 auto 2.4rem; border-radius: 22px; overflow: hidden; position: relative;
  border: 1px solid var(--card-line); aspect-ratio: 3 / 2; max-height: 380px;
  background:
    radial-gradient(ellipse at 50% 115%, rgba(216,181,107,.28), transparent 60%),
    radial-gradient(ellipse at 50% -30%, rgba(122,106,168,.35), transparent 55%),
    linear-gradient(170deg, #1b1b38, #12122a);
  display: flex; align-items: center; justify-content: center;
}
.art-frame::before { content: ''; position: absolute; inset: 0; background:
  conic-gradient(from 180deg at 50% 120%, transparent 42%, rgba(233,217,168,.10) 50%, transparent 58%); }
.art-frame .art-note { text-align: center; color: var(--ink-dim); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; position: relative; padding: 0 2rem; }
.art-frame.has-img { background: none; }
.art-frame.has-img::before { content: none; }
.art-frame.has-img .art-note { display: none; }
.art-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.art-frame .art-note span { display: block; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--gold); text-transform: none; letter-spacing: .02em; margin-bottom: .4rem; }

/* chapter header */
.ch-head { text-align: center; margin-bottom: 2.2rem; }
.ch-num { color: var(--gold); letter-spacing: .3em; text-transform: uppercase; font-size: .7rem; font-weight: 500; }
.ch-title { font-family: var(--serif); font-size: clamp(1.9rem, 5.4vw, 2.7rem); font-weight: 600; line-height: 1.2; margin-top: .6rem; }

/* CHRIST section — His words */
.christ-block { position: relative; padding: 0 clamp(0rem, 2vw, 1rem); margin-bottom: 2.4rem; }
.speaker { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem; }
.speaker::before, .speaker::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--card-line), transparent); }
.speaker span { font-family: var(--serif); font-size: 1rem; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.christ-block p {
  font-family: var(--serif); font-size: clamp(1.14rem, 2.9vw, 1.28rem); line-height: 1.82;
  color: #faf4e6; font-weight: 500; margin-bottom: 1.25rem;
}
.christ-block p .vnum { color: var(--gold-soft); font-weight: 600; margin-right: .3rem; }

/* THINK + PRAY cards */
.reflect-card, .prayer-card {
  border-radius: 18px; padding: 1.7rem clamp(1.3rem, 4vw, 2.1rem); margin-bottom: 1.6rem;
  border: 1px solid var(--card-line);
}
.reflect-card { background: linear-gradient(160deg, rgba(122,106,168,.14), rgba(122,106,168,.05)); }
.prayer-card  { background: linear-gradient(160deg, rgba(216,181,107,.13), rgba(216,181,107,.045)); }
.reflect-card h3, .prayer-card h3 {
  font-family: var(--serif); letter-spacing: .3em; text-transform: uppercase;
  font-size: .82rem; font-weight: 600; margin-bottom: 1rem;
}
.reflect-card h3 { color: #cdc3f2; }
.prayer-card h3 { color: var(--gold); }
.reflect-card p { font-family: var(--serif); font-style: italic; font-size: 1.14rem; line-height: 1.8; color: #ece8fa; font-weight: 500; }
.prayer-card p  { font-family: var(--serif); font-size: 1.14rem; line-height: 1.8; color: #faf1da; font-weight: 500; }
.prayer-card h4 { font-family: var(--serif); font-size: 1.15rem; color: var(--gold-soft); margin: 1.1rem 0 .5rem; font-weight: 600; }

/* day navigation */
.day-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2.6rem; }
.nav-arrow {
  display: inline-flex; align-items: center; gap: .5rem; text-decoration: none;
  color: var(--ink-dim); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 400;
  border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: .7rem 1.3rem;
  transition: color .2s, border-color .2s; background: none; cursor: pointer; font-family: var(--sans);
}
.nav-arrow:hover { color: var(--gold); border-color: var(--gold-soft); }
.nav-arrow.disabled { opacity: .3; pointer-events: none; }
.complete-btn { border: none; }
.complete-btn.done-state { background: none; border: 1px solid var(--card-line); color: var(--gold); box-shadow: none; cursor: default; }

/* guest boundary after the complete Day 1 preview */
.locked-day {
  max-width: 760px; min-height: 66vh; margin: 1rem auto 3rem; padding: clamp(4rem, 9vw, 7rem) clamp(1.3rem, 6vw, 4.8rem);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  border: 1px solid var(--card-line); border-radius: 28px;
  background:
    radial-gradient(circle at 50% 22%, rgba(232,187,82,.12), transparent 30%),
    radial-gradient(ellipse at 50% 0%, rgba(105,82,151,.28), transparent 56%),
    linear-gradient(155deg, rgba(24,23,56,.96), rgba(8,10,28,.98));
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.locked-day-eyebrow { color: var(--gold); letter-spacing: .28em; text-transform: uppercase; font-size: .7rem; }
.locked-day-mark { color: var(--gold-bright); font-size: 2rem; margin: 1.3rem 0 .4rem; filter: drop-shadow(0 0 12px rgba(232,187,82,.7)); }
.locked-day h1 { font-family: var(--serif); font-size: clamp(2.5rem, 7vw, 4.6rem); line-height: 1.03; color: var(--ink); font-weight: 500; }
.locked-day > p:not(.locked-day-eyebrow) { max-width: 590px; margin: 1.35rem auto 2rem; color: var(--ink-dim); font-family: var(--serif); font-size: 1.2rem; }
.locked-day-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.locked-day small { margin-top: 2rem; color: rgba(198,192,216,.72); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }

/* footer */
.site-footer { text-align: center; padding: 3rem 1.5rem 3.5rem; border-top: 1px solid rgba(255,255,255,.06); }
.site-footer .verse { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.2rem; color: var(--gold); margin-bottom: 1rem; }
.foot-note { font-size: .76rem; color: var(--ink-dim); margin-top: .35rem; }
.foot-note a { color: var(--gold-soft); text-decoration: none; }
.foot-note.dim { opacity: .65; max-width: 480px; margin-left: auto; margin-right: auto; }

/* loading + error */
.loader { text-align: center; padding: 6rem 1rem; color: var(--ink-dim); font-family: var(--serif); font-style: italic; font-size: 1.2rem; }

@media (max-width: 640px) {
  .hero { min-height: auto; padding: 4.3rem .9rem 3.8rem; border-radius: 23px; }
  .hero h1 { font-size: clamp(3.5rem, 18vw, 5.3rem); margin-bottom: 1.35rem; }
  .hero-eyebrow { letter-spacing: .28em; line-height: 1.7; }
  .hero-ornament { margin-top: 1.25rem; }
  .hero-sub { font-size: 1.22rem; max-width: 20rem; margin-bottom: 2.2rem; }
  .hero .btn { width: 100%; min-width: 0; max-width: 330px; }
  .hero-parent-brand { letter-spacing: .2em; font-size: .52rem; line-height: 1.7; }
  .hero-parent-brand span { width: 18px; }
  .hero-arches i { width: 145%; }
  .stone { width: 40px; height: 40px; font-size: .85rem; }
  .day-topbar { flex-direction: column; align-items: flex-start; gap: .2rem; }
  .site-nav { gap: .65rem; }
  .site-nav a { font-size: .68rem; letter-spacing: .08em; }
  .site-nav a:first-child { display: none; }
  #journeyAccountLink { padding: .3rem .58rem; }
  .day-nav { flex-direction: column; }
  .day-nav > * { width: min(100%, 330px); justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-lights i, .hero h1, .hero-ornament b { animation: none; }
  .hero-lights i { display: none; }
}

/* gentle account-save toast */
.sync-toast {
  position: fixed; left: 50%; bottom: 1.6rem; transform: translate(-50%, 20px); z-index: 200;
  background: linear-gradient(160deg, #191930, #101024);
  border: 1px solid var(--card-line); border-radius: 999px;
  color: var(--ink); font-size: .82rem; padding: .7rem 1.5rem;
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s;
  max-width: min(92vw, 560px); text-align: center;
}
.sync-toast.show { opacity: 1; transform: translate(-50%, 0); }
