/* Fonts: self-hosted (latin), plus size-matched fallbacks so nothing moves when they arrive */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("/fonts/cormorant.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("/fonts/cormorant-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; font-display: swap; src: url("/fonts/dm-sans.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Fallback"; src: local("Georgia"); size-adjust: 90.3%; ascent-override: 102.3%; descent-override: 31.8%; line-gap-override: 0%; }
@font-face { font-family: "DM Sans Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 105.7%; ascent-override: 93.9%; descent-override: 29.3%; line-gap-override: 0%; }

/* Seeing Beyond the Scars · homepage
   Built on Edem's redesign system (DESIGN.md): Cormorant Garamond + DM Sans (matching her devotionals and app),
   terracotta, blush, sage, tonal layering, warm umber shadows. */
:root {
  --bg: #FBF8F4;          /* warm ivory, no pink cast */
  --canvas: #FAF6F0;
  --low: #F4EEE6;         /* sand band */
  --container: #F3E3DA;   /* soft clay, accents only */
  --card: #FFFFFF;
  --sand: #F3ECE2;
  --ink: #241C1A;          /* 15.8:1 on bg */
  --ink-soft: #57473F;     /* 8.3:1 on bg, 7.6:1 on sand */
  --primary: #99442D;      /* white on it 6.5:1; 6.0:1 as text on bg */
  --primary-deep: #7B2E19; /* hover; white on it 9.2:1 */
  --terracotta: #B85C43;   /* decorative fills only */
  --blush: #FDC4C2;
  --blush-ink: #794E4D;
  --sage: #465A4F;         /* 7.0:1 on bg, 6.4:1 on mist */
  --mist: #EAF0EA;         /* cool rest band */
  --deep: #22302C;         /* evergreen, the peak */
  --on-deep: #F7F1E8;      /* 12.3:1 on deep */
  --on-deep-soft: #C9D3CB; /* 9.0:1 on deep */
  --gold-lit: #D8B878;     /* 7.2:1 on deep */
  --sage-tint: #D7E7D4;
  --gold: #C4A46B;         /* decorative only */
  --line: rgb(43 33 30 / .08);
  --line-strong: rgb(43 33 30 / .16);

  --serif: "Cormorant Garamond", "Cormorant Fallback", Georgia, serif;
  --sans: "DM Sans", "DM Sans Fallback", "Segoe UI", system-ui, sans-serif;

  --e1: 0 2px 8px rgb(43 33 30 / .04);
  --e2: 0 1px 0 rgb(255 255 255 / .8) inset, 0 12px 36px -8px rgb(153 68 45 / .10), 0 4px 14px -3px rgb(43 33 30 / .05);
  --e3: 0 1px 0 rgb(255 255 255 / .8) inset, 0 24px 56px -14px rgb(85 66 62 / .20), 0 3px 10px rgb(43 33 30 / .05);
  --btn-shadow: 0 14px 30px -12px rgb(153 68 45 / .55);

  --r-sm: 8px;
  --r: 16px;
  --r-lg: 24px;
  --section: clamp(4rem, 2.6rem + 5vw, 7rem);
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
::selection { background: var(--blush); color: var(--blush-ink); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; text-wrap: balance; letter-spacing: -.015em; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--primary); }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: inherit; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-accent { color: var(--primary); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--card); padding: 10px 14px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }
.wrap { width: min(1200px, 100% - 2 * clamp(16px, 4vw, 48px)); margin-inline: auto; }

/* Pills */
.pill {
  display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1.5rem;
  padding: .4rem 1rem; border-radius: 999px;
  background: var(--card); border: 1px solid rgb(208 196 184 / .7); color: var(--ink-soft);
  font: 600 .75rem/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase;
}
.pill .icon { width: 1rem; height: 1rem; }
.pill-soft { background: var(--card); }
.pill-sage { background: var(--card); border-color: transparent; color: var(--sage); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: .875rem 1.75rem; border-radius: var(--r-sm);
  background: var(--primary); color: #fff; border: 1px solid var(--primary);
  font: 600 .9375rem/1.2 var(--sans); letter-spacing: .02em; text-decoration: none; white-space: nowrap; cursor: pointer;
  box-shadow: var(--btn-shadow);
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn .icon { transition: transform .2s ease; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--primary-deep); transform: translateY(-1px); }
  .btn:hover .icon:last-child { transform: translateX(2px); }
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn-small { min-height: 44px; padding: .6rem 1.25rem; font-size: .875rem; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); box-shadow: none; }
@media (hover: hover) and (pointer: fine) { .btn-ghost:hover { background: var(--low); } }
.arrow-link {
  display: inline-flex; align-items: center; gap: .4rem; color: var(--primary);
  font-weight: 600; font-size: .9375rem; text-decoration: none; padding: .35rem 0;
}
@media (hover: hover) and (pointer: fine) { .arrow-link:hover { text-decoration: underline; text-underline-offset: 4px; } }

/* Placeholder photo frames */
.ph-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font: 600 .6875rem/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-soft); background: rgb(251 248 244 / .88); padding: .35rem .7rem; border-radius: 999px;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(251 248 244 / .88);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgb(208 196 184 / .4);
  box-shadow: 0 1px 2px rgb(43 33 30 / .03);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); }
.mark { flex: none; color: var(--ink); }
.brand-mark { width: 2.5rem; height: 2.5rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font: 600 1.3rem/1.15 var(--serif); letter-spacing: -.01em; white-space: nowrap; }
.brand-by { font: 500 .6875rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a {
  text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: .875rem; letter-spacing: .02em;
  padding: .6rem 0; border-bottom: 2px solid transparent; transition: color .2s ease, border-color .2s ease;
}
@media (hover: hover) and (pointer: fine) { .site-nav a:hover { color: var(--primary); border-color: var(--primary); } }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.menu-toggle { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0 clamp(4.5rem, 3rem + 5vw, 8rem); }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.blob-a { width: 26rem; height: 26rem; top: -9rem; left: -9rem; background: rgb(243 227 218 / .7); }
.blob-b { width: 32rem; height: 32rem; top: 35%; right: -6rem; background: rgb(234 240 234 / .9); }
.hero-grid { position: relative; display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-weight: 600; font-size: clamp(2.5rem, 1.4rem + 4vw, 4rem); line-height: 1.12; letter-spacing: -.02em; margin-bottom: 1.5rem; max-width: 14ch; }
.hero-sub { font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.7; color: var(--ink-soft); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.markers { list-style: none; display: flex; flex-wrap: wrap; gap: .75rem 2rem; padding: 1.25rem 0 0; margin: 2rem 0 0; border-top: 1px solid rgb(208 196 184 / .45); }
.markers li { display: flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 500; color: var(--ink-soft); }
.markers .icon { color: var(--sage); width: 1.25rem; height: 1.25rem; }

.hero-visual { position: relative; max-width: 460px; justify-self: end; width: 100%; }
.tilt { position: absolute; inset: -14px; border-radius: var(--r-lg); transform: rotate(2.5deg); background: linear-gradient(35deg, var(--container), var(--mist)); }
.frame { position: relative; margin: 0; padding: 12px; background: var(--card); border-radius: var(--r-lg); border: 1px solid rgb(208 196 184 / .45); box-shadow: var(--e2); }
.frame-media { position: relative; display: block; overflow: hidden; border-radius: var(--r); aspect-ratio: 4 / 5; }
.photo-hero {
  background:
    radial-gradient(55% 45% at 68% 22%, rgb(255 247 236 / .95), transparent 70%),
    linear-gradient(170deg, #F2DCD2 0%, #DDB7A6 50%, #B98676 100%);
}
.photo-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(57 46 43 / .38), transparent 55%); }
.caption-glass {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2;
  padding: 1rem 1.15rem; border-radius: var(--r-sm);
  background: rgb(251 248 244 / .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgb(208 196 184 / .4);
}
.caption-verse { font: italic 500 1.3rem/1.3 var(--serif); color: var(--ink); margin: 0 0 .3rem; }
.caption-ref { font-size: .875rem; color: var(--ink-soft); margin: 0; }
.float-badge {
  position: absolute; top: -20px; right: -20px; z-index: 3;
  display: flex; align-items: center; gap: .75rem; padding: .85rem 1.1rem .85rem .85rem;
  background: var(--card); border-radius: 14px; border: 1px solid rgb(208 196 184 / .4); box-shadow: var(--e2);
}
.float-icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--container); color: var(--primary); }
.float-badge strong { display: block; font-size: .875rem; font-weight: 600; }
.float-badge small { display: block; font-size: .75rem; color: var(--ink-soft); }

/* Section heads */
.section-head { text-align: center; max-width: 680px; margin: 0 auto 3.5rem; }
.section-head h2 { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); line-height: 1.2; }
.section-head .pill { margin-bottom: 1rem; }
.rule { display: block; width: 48px; height: 2px; border-radius: 2px; background: var(--primary); margin: 1.1rem auto 0; }
.section-sub { color: var(--ink-soft); font-size: 1.0625rem; margin: 1rem auto 0; max-width: 58ch; }
.section-sub.left { margin-left: 0; }

/* Recognition */
.recognition { padding: var(--section) 0; background: var(--bg); }
.recognition-card {
  max-width: 820px; margin: 0 auto; padding: clamp(2rem, 1.2rem + 3vw, 3.5rem);
  background: var(--card); border-radius: var(--r-lg); border: 1px solid rgb(208 196 184 / .45); box-shadow: var(--e2);
  text-align: center;
}
.letter-lines { list-style: none; padding: 0; margin: 0 auto 2rem; max-width: 600px; }
.letter-lines li { font: 400 clamp(1.2rem, 1.05rem + .5vw, 1.4rem)/1.5 var(--serif); padding: 1.25rem 0; position: relative; }
.letter-lines li + li { border-top: 1px solid rgb(208 196 184 / .55); }
.letter-lines li + li::before { content: ""; position: absolute; top: 0; left: 50%; width: 7px; height: 7px; background: var(--gold); transform: translate(-50%, -50%) rotate(45deg); }
.recognition-close { color: var(--ink-soft); max-width: 56ch; margin-inline: auto; }
.welcome { font: italic 500 clamp(1.25rem, 1.1rem + .5vw, 1.5rem)/1.35 var(--serif); color: var(--primary); margin: 1.5rem 0 0; }

/* Story */
.story { padding: var(--section) 0; background: var(--low); border-block: 1px solid rgb(208 196 184 / .35); }
.story-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.story-side { display: grid; gap: 1.25rem; }
.video { display: block; padding: 14px; text-decoration: none; color: var(--ink); }
.frame.video { box-shadow: var(--e2); }
.photo-story {
  aspect-ratio: 3 / 4;
  background:
    radial-gradient(55% 45% at 45% 32%, rgb(255 244 230 / .9), transparent 70%),
    linear-gradient(195deg, #E6CDBD 0%, #CDA693 50%, #A47C6D 100%);
}
.photo-story::after { content: ""; position: absolute; inset: 0; background: rgb(57 46 43 / .18); transition: background-color .3s ease; }
.play {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: 64px; height: 64px; transform: translate(-50%, -50%);
  display: grid; place-items: center; border-radius: 50%; background: rgb(153 68 45 / .92);
  box-shadow: 0 10px 28px -6px rgb(43 33 30 / .4); transition: transform .3s ease;
}
.play svg { width: 26px; height: 26px; fill: #fff; margin-left: 3px; }
@media (hover: hover) and (pointer: fine) {
  .video:hover .play { transform: translate(-50%, -50%) scale(1.08); }
  .video:hover .photo-story::after { background: rgb(57 46 43 / .1); }
}
.video-bar {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .7rem 1rem; border-radius: var(--r-sm);
  background: rgb(251 248 244 / .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-weight: 600; font-size: .875rem;
}
.video-meta { color: var(--primary); font-size: .8125rem; }
.bio-card {
  display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem;
  background: var(--card); border-radius: 14px; border: 1px solid rgb(208 196 184 / .45);
}
.avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--container); color: var(--primary); font: 600 1.25rem/1 var(--serif); }
.bio-card strong { display: block; font-size: .9375rem; }
.bio-card small { display: block; font-size: .875rem; color: var(--ink-soft); }

.story-card {
  position: relative; padding: clamp(1.75rem, 1rem + 3vw, 3rem);
  background: var(--card); border-radius: var(--r-lg); border: 1px solid rgb(208 196 184 / .45); box-shadow: var(--e2);
}
.quote-mark { position: absolute; top: -.35em; left: .25em; font: 600 7rem/1 var(--serif); color: var(--container); user-select: none; }
.story-title { position: relative; font: 500 clamp(1.5rem, 1.2rem + 1.2vw, 2rem)/1.3 var(--serif); color: var(--ink); margin-bottom: 1.25rem; }
.story-body p { color: var(--ink-soft); }
.pull { margin: 1.5rem 0; padding: .2rem 0 .2rem 1.25rem; border-left: 2px solid var(--terracotta); font: italic 400 clamp(1.2rem, 1.05rem + .5vw, 1.4rem)/1.5 var(--serif); color: var(--ink); }
.signoff-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgb(208 196 184 / .5); }
.signature { font: italic 500 1.35rem/1.3 var(--serif); margin: 0; }
.signoff-sub { font-size: .8125rem; color: var(--ink-soft); margin: .15rem 0 0; }

/* Journey */
.journey { padding: var(--section) 0; background: var(--mist); }
.journey h2 { font-style: italic; font-weight: 500; }
.purpose-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
.purpose {
  position: relative; display: flex; flex-direction: column; padding: 1.5rem;
  background: var(--card); border-radius: var(--r); border: 1px solid rgb(208 196 184 / .45); box-shadow: var(--e2);
  transition: transform .3s ease, border-color .3s ease;
}
@media (hover: hover) and (pointer: fine) { .purpose:hover { transform: translateY(-4px); border-color: rgb(153 68 45 / .35); } }
.num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--sage); font: 600 .9375rem/1 var(--serif); margin-bottom: 1rem; }
.weeks { font: 600 .75rem/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--sage); margin-bottom: .35rem; }
.purpose h3 { font-size: 1.375rem; line-height: 1.3; margin-bottom: .6rem; }
.purpose p { font-size: .9375rem; line-height: 1.6; color: var(--ink-soft); margin: 0; }
.purpose-feature { background: var(--card); border-width: 2px; border-color: rgb(153 68 45 / .3); box-shadow: var(--e3); }
.purpose-feature .num { background: var(--primary); color: #fff; }
.purpose-feature h3 { color: var(--primary); }
.journey-foot { text-align: center; color: var(--ink-soft); max-width: 70ch; margin: 2.5rem auto 0; }
.journey-foot .arrow-link { display: inline-flex; margin-top: .25rem; }

/* Free devotional */
.free { padding: var(--section) 0; background: var(--low); border-top: 1px solid rgb(208 196 184 / .35); }
.free-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.free-visual { position: relative; max-width: 400px; margin-inline: auto; width: 100%; }
.glow { position: absolute; inset: -10px; border-radius: var(--r-lg); background: rgb(243 227 218 / .8); filter: blur(24px); }
.showcase { position: relative; padding: 1.25rem; background: var(--card); border-radius: var(--r-lg); border: 1px solid rgb(208 196 184 / .45); box-shadow: var(--e3); }
.showcase-media {
  position: relative; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(70% 60% at 50% 25%, #FFF6EE, transparent 70%), linear-gradient(160deg, #EED9CD, #D9B4A4 60%, #C49482);
}
.badge-glass { position: absolute; top: 14px; right: 14px; padding: .35rem .8rem; border-radius: 999px; background: rgb(251 248 244 / .9); color: var(--primary); font-weight: 600; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid rgb(208 196 184 / .45); text-align: center; }
.stats div { padding: .6rem .25rem; border-radius: var(--r-sm); background: var(--low); }
.stats strong { display: block; font: 600 1.35rem/1.2 var(--serif); color: var(--ink); }
.stats span { font-size: .75rem; color: var(--ink-soft); }

.free-copy h2 { font-size: clamp(1.875rem, 1.4rem + 1.8vw, 2.5rem); line-height: 1.22; }
.checks { list-style: none; padding: 0; margin: 1.75rem 0 2rem; display: grid; gap: 1rem; }
.checks li { display: flex; gap: .75rem; align-items: flex-start; color: var(--ink-soft); font-size: .9375rem; }
.day-num { flex: none; width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--sage); font: 600 .9375rem/1 var(--serif); margin-top: -.1rem; }
.checks strong { display: block; color: var(--ink); font-weight: 600; }
.form-card { padding: clamp(1.5rem, 1rem + 2vw, 2rem); background: var(--card); border-radius: var(--r-lg); border: 1px solid rgb(208 196 184 / .55); box-shadow: var(--e2); }
.form-card h3 { font-size: 1.375rem; margin-bottom: .25rem; }
.form-lede { font-size: .9375rem; color: var(--ink-soft); margin-bottom: 1.25rem; }
label { display: block; font-size: .875rem; font-weight: 600; color: var(--ink-soft); margin-bottom: .4rem; }
input[type="email"] {
  width: 100%; min-height: 50px; padding: .8rem 1rem; font: inherit; color: var(--ink);
  background: #fff; border: 1px solid rgb(43 33 30 / .22); border-radius: var(--r-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}
input::placeholder { color: rgb(43 33 30 / .5); }
input:focus { outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 3px rgb(184 92 67 / .18); }
input[aria-invalid="true"] { border-color: #BA1A1A; }
.field-error { color: #BA1A1A; font-size: .875rem; min-height: 1.3em; margin: .35rem 0 .5rem; }
.form-status { display: flex; align-items: center; gap: .5rem; margin: .9rem 0 0; padding: .8rem 1rem; border-radius: var(--r-sm); background: rgb(215 231 212 / .5); color: #3C4A3D; font-size: .875rem; }
.form-status:empty { display: none; }
.form-note { font-size: .8125rem; color: var(--ink-soft); margin: .9rem 0 0; }

/* Anchor */
.anchor { position: relative; padding: var(--section) 0; overflow: hidden; color: var(--on-deep); background: radial-gradient(55% 60% at 50% 45%, rgb(216 184 120 / .16), transparent 70%), var(--deep); }
.anchor-wrap { max-width: 1000px; }
.anchor-card {
  text-align: center; padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) clamp(1.5rem, 1rem + 4vw, 4rem);
  background: transparent; border-radius: 28px; border: 1px solid rgb(216 184 120 / .28);
}
.anchor-label { font: 600 .8125rem/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-lit); margin-bottom: 1.25rem; }
.anchor-verse { margin: 0; }
.anchor-verse p { color: var(--on-deep); font: italic 400 clamp(2rem, 1.3rem + 3vw, 3.25rem)/1.25 var(--serif); margin: 0 0 .75rem; }
.anchor-verse cite { font-style: normal; font-weight: 600; font-size: .875rem; letter-spacing: .06em; color: var(--gold-lit); }
.seam { width: min(320px, 70%); height: 24px; margin: 1.5rem auto; fill: none; stroke: var(--gold-lit); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.anchor-line { font: 400 clamp(1.1rem, 1rem + .4vw, 1.3rem)/1.55 var(--serif); color: var(--on-deep-soft); max-width: 40ch; margin: 0 auto 1.75rem; }
.copy-btn {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem 1.1rem; border-radius: 999px;
  background: transparent; color: var(--on-deep-soft); border: 1px solid rgb(201 211 203 / .45); font: 500 .875rem/1 var(--sans); cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
@media (hover: hover) and (pointer: fine) { .copy-btn:hover { color: var(--on-deep); border-color: var(--gold-lit); } }
.copy-status { font-size: .875rem; color: var(--gold-lit); margin: .75rem 0 0; min-height: 1.3em; }

/* Footer */
.site-footer { background: var(--low); border-top: 1px solid rgb(208 196 184 / .5); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 5fr 3fr 4fr; gap: 2.5rem; }
.footer-name { display: flex; align-items: center; gap: .5rem; font: 600 1.6rem/1.2 var(--serif); color: var(--ink); gap: .75rem; margin: 0 0 1rem; }
.footer-name .mark { width: 2.75rem; height: 2.75rem; }
.footer-tag { color: var(--ink-soft); max-width: 38ch; }
.footer-love { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--ink-soft); }
.footer-love .icon { color: var(--primary); }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; }
.footer-head { font-weight: 600; font-size: .875rem; letter-spacing: .04em; margin: 0 0 .5rem; }
.footer-links a { color: var(--ink-soft); font-size: .875rem; font-weight: 500; text-decoration: none; padding: .45rem 0; }
@media (hover: hover) and (pointer: fine) { .footer-links a:hover { color: var(--primary); } }
.footer-cta { align-self: start; padding: 1.5rem; background: var(--card); border-radius: var(--r); border: 1px solid rgb(208 196 184 / .45); }
.footer-cta-head { display: flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--primary); margin-bottom: .6rem; }
.footer-cta p:not(.footer-cta-head) { font-size: .875rem; color: var(--ink-soft); margin-bottom: .5rem; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgb(208 196 184 / .5); font-size: .8125rem; color: var(--ink-soft); }
.footer-base p { margin: 0; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .purpose, .play { transition: none; }
}

/* Tablet */
@media (max-width: 1080px) {
  .site-nav { gap: 1.25rem; }
  .purpose-grid { grid-template-columns: repeat(2, 1fr); }
  .purpose-feature { grid-column: span 2; }
}
@media (max-width: 960px) {
  .hero-grid, .story-grid, .free-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 420px; }
  .story-side { max-width: 460px; margin-inline: auto; width: 100%; }
  .free-visual { order: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Phone */
@media (max-width: 820px) {
  :root { --header-h: 64px; }
  .brand-name { font-size: 1.125rem; }
  .brand-mark { width: 2.1rem; height: 2.1rem; }
  .brand-by { font-size: .625rem; }
  .header-actions .btn-small { display: none; }
  .menu-toggle {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border-radius: var(--r-sm);
    background: transparent; color: var(--ink); border: 1px solid var(--line-strong); font: 600 .8125rem/1 var(--sans); letter-spacing: .04em;
  }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem clamp(16px, 4vw, 48px) 1.25rem; background: var(--bg);
    border-bottom: 1px solid rgb(208 196 184 / .5); box-shadow: 0 24px 30px -24px rgb(43 33 30 / .3);
  }
  .js .site-nav:not(.is-open) { display: none; }
  .site-nav a { padding: .95rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; color: var(--ink); }
}
@media (max-width: 600px) {
  :root { --section: 3.75rem; }
  .hero { padding-top: 2rem; }
  .hero h1 { font-size: 2.5rem; line-height: 1.15; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-visual { max-width: 340px; margin-top: .5rem; }
  .float-badge { right: auto; left: -6px; top: -16px; }
  .hero .ph-tag { left: auto; right: 14px; top: 60px; }
  .frame-media.photo-hero { aspect-ratio: 4 / 5; }
  .caption-glass { left: 10px; right: 10px; bottom: 10px; padding: .75rem .9rem; }
  .purpose { display: grid; grid-template-columns: 34px 1fr; column-gap: 1rem; padding: 1.15rem 1.25rem; }
  .purpose .num { grid-row: span 3; margin: 0; }
  .purpose h3 { font-size: 1.25rem; margin-bottom: .3rem; }
  .purpose-grid { gap: .85rem; }
  .caption-verse { font-size: 1.125rem; }
  .section-head { margin-bottom: 2.25rem; }
  .purpose-grid { grid-template-columns: 1fr; }
  .purpose-feature { grid-column: auto; }
  .letter-lines li { padding: 1rem 0; }
  .free-visual { max-width: 320px; }
  .footer-grid { grid-template-columns: 1fr; }
  .quote-mark { font-size: 5rem; }
}

.anchor :focus-visible { outline-color: var(--gold-lit); }

/* Real photos */
.frame-media .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-hero .photo { object-position: 50% 18%; }
.photo-story .photo { object-position: 50% 30%; }
.photo-hero, .photo-story { background: var(--container); }
.photo-hero::after { z-index: 1; background: linear-gradient(to top, rgb(36 28 26 / .30), transparent 45%); }
.photo-story::after { z-index: 1; }
img.avatar { object-fit: cover; object-position: 50% 12%; padding: 0; }

/* Cormorant has a small x-height: set it larger and firmer so it reads on phones */
h1, h2, h3 { font-weight: 600; letter-spacing: -.01em; }
.hero h1 { font-size: clamp(2.9rem, 1.6rem + 4.6vw, 4.6rem); line-height: 1.04; font-weight: 600; }
h1 em, h2 em { font-weight: 500; }
.section-head h2 { font-size: clamp(2.3rem, 1.7rem + 2.3vw, 3.15rem); }
.free-copy h2 { font-size: clamp(2.1rem, 1.6rem + 2vw, 2.85rem); }
.brand-name { font-size: 1.45rem; font-weight: 700; }
.story-title { font-size: clamp(1.75rem, 1.4rem + 1.3vw, 2.3rem); font-weight: 600; }
.purpose h3 { font-size: 1.6rem; }
.form-card h3 { font-size: 1.6rem; }
.letter-lines li { font-size: clamp(1.4rem, 1.2rem + .6vw, 1.65rem); font-weight: 500; }
.caption-verse { font-size: 1.5rem; font-weight: 600; }
.pull, .welcome, .signature { font-size: clamp(1.4rem, 1.2rem + .6vw, 1.65rem); font-weight: 500; }
.anchor-verse p { font-size: clamp(2.3rem, 1.5rem + 3.4vw, 3.8rem); font-weight: 500; }
.anchor-line { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); font-weight: 500; }
.footer-name { font-size: 1.8rem; font-weight: 700; }
.stats strong, .num, .day-num { font-weight: 700; }
@media (max-width: 820px) { .brand-name { font-size: 1.25rem; } }
@media (max-width: 600px) {
  .hero h1 { font-size: 2.85rem; line-height: 1.06; }
  .caption-verse { font-size: 1.3rem; }
  .purpose h3 { font-size: 1.45rem; }
}

/* Devotional covers: one family, watercolor art, the same type and gold seam */
.book {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden; container-type: inline-size;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 11% 9% 8%; border-radius: 3px 10px 10px 3px; color: var(--ink);
  box-shadow: inset 6px 0 10px -6px rgb(36 28 26 / .35), 0 26px 50px -18px rgb(36 28 26 / .45), 0 4px 10px rgb(36 28 26 / .08);
}
.book > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.book { isolation: isolate; }
.book::before { content: ""; position: absolute; inset: 3.5%; border: 1px solid rgb(196 164 107 / .55); border-radius: 2px 6px 6px 2px; pointer-events: none; }
.book::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 4%; background: linear-gradient(90deg, rgb(36 28 26 / .16), transparent); pointer-events: none; }
.book-top { font: 600 3.4cqi/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.book-title { font: 600 14cqi/.98 var(--serif); letter-spacing: -.01em; margin-top: 7%; max-width: 9ch; }
.book-title em { display: block; font-style: italic; font-weight: 500; }
.book-yanb .book-title em { color: var(--primary); }
.book-sik .book-title em { color: var(--sage); }
.book-line { font: italic 500 5.2cqi/1.3 var(--serif); color: var(--ink-soft); margin-top: 5%; max-width: 22ch; }
.book-seam { width: 30%; margin-top: 5%; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linejoin: round; }
.book-author { margin-top: auto; font: 600 3.2cqi/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }
.book-sik .book-author { color: var(--on-deep); text-shadow: 0 1px 6px rgb(34 48 44 / .5); }

.showcase-media { background: var(--low); }
.showcase-media .book { width: 72%; transform: rotate(-2.5deg); }

.journey-intro { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; max-width: 980px; margin: 0 auto 3.5rem; }
.journey-head { text-align: left; margin: 0; }
.journey-head .section-sub { margin-left: 0; }
.journey-book { max-width: 330px; width: 100%; justify-self: center; }
.journey-book .book { transform: rotate(1.5deg); }
@media (max-width: 820px) {
  .journey-intro { grid-template-columns: 1fr; text-align: center; margin-bottom: 2.5rem; }
  .journey-head { text-align: center; }
  .journey-head .section-sub { margin-left: auto; }
  .journey-book { max-width: 250px; }
}

/* Signup form extras */
.optional { font-weight: 400; color: var(--ink-soft); }
input[type="text"] {
  width: 100%; min-height: 50px; padding: .8rem 1rem; font: inherit; color: var(--ink);
  background: #fff; border: 1px solid rgb(43 33 30 / .22); border-radius: var(--r-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn[aria-busy="true"] { opacity: .75; cursor: progress; }
.form-status.is-error { background: rgb(186 26 26 / .08); color: #8C1D18; }

/* Thanks page */
.thanks { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(60% 50% at 50% 30%, rgb(243 227 218 / .8), transparent 70%), var(--bg); }
.thanks-card { max-width: 560px; text-align: center; padding: clamp(2rem, 1.2rem + 3vw, 3.25rem); background: var(--card); border-radius: var(--r-lg); border: 1px solid rgb(208 196 184 / .5); box-shadow: var(--e2); }
.thanks-card h1 { font-size: clamp(2.4rem, 1.8rem + 2.5vw, 3.2rem); line-height: 1.08; margin-bottom: 1rem; }
.thanks-card > p { color: var(--ink-soft); }
.thanks-verse { font: italic 500 1.3rem/1.45 var(--serif); color: var(--ink) !important; margin: 1.5rem 0 2rem; }
.thanks-verse span { display: block; margin-top: .4rem; font: 600 .8125rem/1.4 var(--sans); letter-spacing: .06em; font-style: normal; color: var(--primary); }

.footer-contact { margin: 1.25rem 0 0; font-size: .875rem; color: var(--ink-soft); }
.footer-contact a { display: flex; align-items: center; gap: .5rem; width: fit-content; margin-top: .2rem; padding: .35rem 0; color: var(--primary); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) { .footer-contact a:hover { text-decoration: underline; text-underline-offset: 4px; } }

/* Policy pages */
.legal { padding: clamp(2.5rem, 1.5rem + 3vw, 4.5rem) 0 var(--section); }
.legal-wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2.4rem, 1.8rem + 2.4vw, 3.4rem); line-height: 1.08; margin: 0 0 .4rem; }
.legal-date { color: var(--ink-soft); font-size: .9375rem; margin-bottom: 2rem; }
.legal .lede { font: 500 clamp(1.25rem, 1.1rem + .5vw, 1.5rem)/1.5 var(--serif); color: var(--ink); margin-bottom: 2rem; }
.legal h2 { font-size: clamp(1.6rem, 1.35rem + .9vw, 2rem); margin: 2.25rem 0 .6rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 1.2rem; margin: 0 0 1em; }
.legal li { margin-bottom: .55rem; }
.legal li strong, .legal p strong { color: var(--ink); }
.legal a { color: var(--primary); font-weight: 600; text-underline-offset: 3px; }
.review-note { background: var(--gold-light, #F0E6CF); border-left: 3px solid var(--gold); padding: .7rem 1rem; border-radius: var(--r-sm); color: var(--ink) !important; font-size: .9375rem; margin-bottom: 1.75rem; }
.legal-footer { padding-top: 0; }
.legal-footer .footer-base { margin-top: 0; }
.footer-base a { color: var(--ink-soft); text-underline-offset: 3px; }
@media (max-width: 820px) { .header-back { display: none; } }

/* ───────── Polish pass (Nov 4, 2026): freshness, flow, peace ───────── */
/* Steps from a scene's --p (0..1, written by main.js; defaults to the finished state). */
.purpose-grid { --fill: clamp(0, calc((var(--p, 1) - .18) * 3.2), 1); }
/* (peak timing now lives in the scroll-craft block below) */

/* 1. "Maybe you're tired…" reads as an open letter, not a boxed form */
.recognition-card { background: none; border: 0; box-shadow: none; padding: 0; max-width: 760px; }
.letter-lines { max-width: 680px; margin-bottom: 2.4rem; }
.letter-lines li { font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem); line-height: 1.38; padding: 1.6rem 0; color: var(--ink); }
.letter-lines li + li { border-top-color: rgb(196 164 107 / .45); }
.recognition .section-head { margin-bottom: 1.5rem; }

/* 2. She Is Known: five purposes as one connected path that fills as you scroll */
@media (min-width: 1081px) {
  .purpose-grid { position: relative; gap: 2rem; }
  .purpose-grid::before, .purpose-grid::after {
    content: ""; position: absolute; left: 18px; right: calc((100% - 8rem) / 5 - 18px); top: 17px; height: 2px; border-radius: 2px; pointer-events: none;
  }
  .purpose-grid::before { background: rgb(70 90 79 / .18); }
  .purpose-grid::after { background: linear-gradient(90deg, var(--sage), var(--gold) 70%, var(--primary)); transform-origin: left; transform: scaleX(var(--fill)); }
  .purpose, .purpose-feature { background: none; border: 0; box-shadow: none; padding: 0; position: relative; z-index: 1; }
  .purpose:hover { transform: none; }
  .purpose .num { width: 36px; height: 36px; background: var(--card); border: 2px solid rgb(70 90 79 / .35); margin-bottom: 1.4rem; box-shadow: 0 0 0 6px var(--mist); }
  .purpose-feature .num { background: var(--primary); border-color: var(--primary); color: #fff; }
  .purpose h3 { font-size: 1.75rem; }
  .purpose p { max-width: 22ch; }
}
@media (max-width: 600px) {
  .purpose-grid { position: relative; gap: 0; }
  .purpose-grid::before, .purpose-grid::after {
    content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; border-radius: 2px; pointer-events: none;
  }
  .purpose-grid::before { background: rgb(70 90 79 / .18); }
  .purpose-grid::after { background: linear-gradient(180deg, var(--sage), var(--gold) 70%, var(--primary)); transform-origin: top; transform: scaleY(var(--fill)); }
  .purpose, .purpose-feature { background: none; border: 0; box-shadow: none; padding: 0 0 1.6rem; column-gap: 1.1rem; position: relative; z-index: 1; }
  .purpose:last-child { padding-bottom: 0; }
  .purpose .num { width: 36px; height: 36px; background: var(--card); border: 2px solid rgb(70 90 79 / .35); box-shadow: 0 0 0 5px var(--mist); }
  .purpose-feature .num { background: var(--primary); border-color: var(--primary); color: #fff; }
}

/* 3. The peak: the gold seam draws itself and the light opens behind the verse */
.anchor::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: min(1100px, 140vw); aspect-ratio: 1.6; pointer-events: none;
  background: radial-gradient(closest-side, rgb(216 184 120 / .26), rgb(216 184 120 / .08) 55%, transparent 75%);
  transform: translate(-50%, -50%) scale(calc(.75 + var(--draw) * .3)); opacity: calc(.25 + var(--draw) * .75);
}
.anchor-wrap { position: relative; }
.seam { overflow: visible; }
.seam path { stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--draw)); }

/* 4. A gentle arrival: the hero settles in once, then stays still */
@keyframes settle { from { opacity: .01; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes settle-photo { from { transform: translateY(18px) scale(.985); } to { transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .js .hero-copy > * { animation: settle .9s cubic-bezier(.2,.7,.2,1) both; }
  .js .hero-copy > :nth-child(2) { animation-delay: .07s; }
  .js .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .js .hero-copy > :nth-child(4) { animation-delay: .25s; }
  .js .hero-copy > :nth-child(5) { animation-delay: .34s; }
  .js .hero-visual { animation: settle-photo 1.2s cubic-bezier(.2,.7,.2,1) .1s both; }
  .js .float-badge { animation: settle .8s cubic-bezier(.2,.7,.2,1) .7s both; }
}

/* 5. Calmer section rhythm: heads lead into their content without the little rules */
.section-head h2 + .section-sub { margin-top: .9rem; }
@media (max-width: 600px) { .recognition .section-head { margin-bottom: .75rem; } .letter-lines li { padding: 1.25rem 0; } }


/* ───────── Scroll-craft pass (Nov 4, 2026): depth, a pinned peak, a different motion per section ───────── */

/* Hero: three planes (the room, Christelle, the window light) that separate as you scroll and lean toward the pointer */
.plane { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.plane-room { transform: translate3d(calc(var(--mx, 0) * -6px), calc(var(--p, 0) * 70px + var(--my, 0) * -5px), 0) scale(calc(1.06 + var(--p, 0) * .05)); }
.plane-her { z-index: 1; transform-origin: 50% 100%; transform: translate3d(calc(var(--mx, 0) * 5px), calc(var(--p, 0) * 24px + var(--my, 0) * 3px), 0) scale(1.03); }
.plane-light { z-index: 2; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(55% 42% at 94% 26%, rgb(255 244 224 / .55), transparent 70%),
              linear-gradient(104deg, transparent 52%, rgb(255 238 212 / .16) 72%, transparent 88%);
  transform: translate3d(calc(var(--mx, 0) * 12px), calc(var(--p, 0) * -64px + var(--my, 0) * 8px), 0);
  opacity: calc(.95 - var(--p, 0) * .45); }
.photo-hero::after { z-index: 3; }
.caption-glass { z-index: 4; }

/* Peak: a short pinned moment. The verse settles, the gold seam draws, light opens through it, then the words to carry */
.anchor { overflow: clip; padding: 0;
  --v: clamp(0, calc((var(--p, 1) - .02) * 5), 1);
  --draw: clamp(0, calc((var(--p, 1) - .2) * 3.3), 1);
  --open: clamp(0, calc((var(--p, 1) - .44) * 3), 1);
  --rest: clamp(0, calc((var(--p, 1) - .62) * 4), 1); }
.anchor[data-scene="pinned"] { height: 200vh; }
.anchor::before { content: none; }
.anchor-stage { position: sticky; top: 0; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; padding: calc(var(--header-h) + 1.5rem) 0 2.5rem; overflow: clip; }
.anchor-stage::before {
  content: ""; position: absolute; left: 50%; top: 52%; width: min(1100px, 150vw); aspect-ratio: 1.6; pointer-events: none;
  background: radial-gradient(closest-side, rgb(216 184 120 / .28), rgb(216 184 120 / .08) 55%, transparent 75%);
  transform: translate(-50%, -50%) scale(calc(.7 + var(--open) * .35)); opacity: calc(.18 + var(--open) * .82);
}
.anchor-card { border-color: rgb(216 184 120 / calc(.08 + var(--v) * .2)); }
.anchor-label, .anchor-verse { opacity: var(--v); transform: translateY(calc((1 - var(--v)) * 26px)); }
.seam-wrap { position: relative; margin: 1.5rem auto; width: min(320px, 70%); }
.seam-wrap .seam { margin: 0; width: 100%; position: relative; z-index: 1; }
.crack { position: absolute; left: 50%; top: 50%; width: 260%; height: 240px; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(50% 50% at 50% 50%, rgb(255 236 196 / .55), rgb(216 184 120 / .22) 40%, transparent 70%);
  transform: translate(-50%, -50%) scaleX(calc(.5 + var(--open) * .5)) scaleY(calc(.02 + var(--open) * .98)); opacity: var(--open); }
.anchor-line, .copy-btn { opacity: var(--rest); transform: translateY(calc((1 - var(--rest)) * 18px)); }
.anchor[data-scene][data-reduced] { height: auto; }
.anchor[data-scene][data-reduced] .anchor-stage { position: relative; min-height: 0; padding: var(--section) 0; }
@media (max-width: 600px) { .anchor[data-scene="pinned"] { height: 180vh; } }

/* Story: the photo drifts gently inside its frame */
.frame.video .photo { transform: translateY(calc((var(--p, .5) - .5) * -36px)) scale(1.1); }

/* Free devotional: the book lifts and straightens a little as it passes */
.showcase-media .book { transform: translateY(calc((.5 - var(--p, .5)) * 28px)) rotate(calc(-3.5deg + var(--p, .5) * 2deg)); }

/* Smoother arrivals */
.js .reveal { transform: translateY(22px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { transform: none; transition: none; }
  .plane, .frame.video .photo, .showcase-media .book { transform: none !important; }
}

/* Menu button: three bars that turn into a close mark when open */
@media (max-width: 820px) {
  .menu-toggle { width: 44px; min-width: 44px; height: 44px; padding: 0; justify-content: center; }
  .bars { position: relative; display: block; width: 20px; height: 14px; }
  .bars span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor;
    transition: transform .3s cubic-bezier(.2,.7,.2,1), opacity .2s ease; }
  .bars span:nth-child(1) { top: 0; }
  .bars span:nth-child(2) { top: 6px; }
  .bars span:nth-child(3) { top: 12px; }
  .menu-toggle[aria-expanded="true"] .bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}
@media (prefers-reduced-motion: reduce) { .bars span { transition: none; } }
