/* photizofiregm.org — design tokens from the Photizo visual asset library (docs/design-tokens.json) */
:root {
  --midnight: #100D2B; --deep: #21134A; --royal: #45227A; --violet: #6B2FB8; --magenta: #FF3F91; --electric: #C83BFF; --blue: #36D8FF;
  --gold: #FFC52E; --gold-deep: #B88100; --paper: #FBF9FF; --tint: #F2EDFC; --ink: #17152A; --ink-2: #4A4566; --line: #E2DAF4; --lavender: #C9BDEB; --white: #F8F6FF;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif; --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --r-sm: 6px; --r-md: 12px; --r-lg: 20px; --r-pill: 999px;
  --ease: cubic-bezier(.2,.7,.2,1); --t: 260ms;
  --wrap: 1200px; --gutter: clamp(18px, 4vw, 40px);
  --step--1: clamp(.86rem, .84rem + .1vw, .92rem); --step-0: clamp(1.02rem, .98rem + .2vw, 1.125rem); --step-1: clamp(1.2rem, 1.1rem + .5vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + 1vw, 2.1rem); --step-3: clamp(2rem, 1.6rem + 2vw, 3.1rem); --step-4: clamp(2.6rem, 1.8rem + 4vw, 5.4rem);
  --read-size: 1.125rem;
}
:root, [data-tone="light"], [data-tone="tint"] {
  color-scheme: light;
  --bg: var(--paper); --fg: var(--ink); --fg-2: var(--ink-2); --card: rgba(255,255,255,.82); --border: var(--line); --accent: var(--royal); --link: #5A23A8;
}
[data-tone="dark"], :root[data-theme="dark"], :root[data-theme="dark"] body {
  --bg: var(--midnight); --fg: var(--white); --fg-2: var(--lavender); --card: rgba(255,255,255,.05); --border: rgba(201,189,235,.18); --accent: var(--gold); --link: #FFD966;
  color-scheme: dark;
}
:root[data-theme="dark"] [data-tone="light"], :root[data-theme="dark"] [data-tone="tint"] { --bg: #151132; --fg: var(--white); --fg-2: var(--lavender); --card: #1C1740; --border: rgba(201,189,235,.16); --accent: var(--gold); --link: #FFD966; --tint: #1A1538; }
:root[data-theme="dark"] [data-tone="tint"] { --bg: #120F2E; }
[data-tone="tint"] { --bg: rgba(242,237,252,.55); }
/* Page atmosphere: a fixed, soft gradient of the brand colours behind every light section */
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(70vw 60vw at -10% 0%, rgba(200,59,255,.30), transparent 60%),
    radial-gradient(55vw 50vw at 110% 15%, rgba(255,197,46,.34), transparent 58%),
    radial-gradient(65vw 55vw at 25% 110%, rgba(255,63,145,.24), transparent 60%),
    radial-gradient(50vw 45vw at 95% 95%, rgba(54,216,255,.20), transparent 58%),
    linear-gradient(165deg, #F5EDFF 0%, #F1E9FF 40%, #FFF2E4 100%); }
:root[data-theme="dark"] body::before { background:
    radial-gradient(60vw 50vw at -5% 8%, rgba(200,59,255,.22), transparent 62%),
    radial-gradient(48vw 42vw at 105% 22%, rgba(255,197,46,.08), transparent 60%),
    radial-gradient(55vw 45vw at 30% 105%, rgba(255,63,145,.14), transparent 62%),
    linear-gradient(170deg, #120E30 0%, #170F38 50%, #100D2B 100%); }
:root[data-theme="dark"] :root[data-theme="dark"] [data-tone="tint"] { --bg: rgba(26,21,56,.6); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: transparent; position: relative; isolation: isolate; color: var(--ink); font: 450 var(--step-0)/1.65 var(--sans); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
:root[data-theme="dark"] body { color: var(--white); }
[data-tone] { background: var(--bg); color: var(--fg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 650; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; font-variation-settings: 'opsz' 72; text-wrap: balance; }
h2 { font-size: var(--step-2); } h3 { font-size: var(--step-1); }
p { margin: 0 0 1em; } .small { font-size: var(--step--1); } .muted { color: var(--fg-2); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 650; }
.skip:focus { top: 12px; }
main:focus { outline: none; }
.plain { list-style: none; margin: 0; padding: 0; }
.preview-bar { background: var(--gold); color: var(--ink); font-size: var(--step--1); padding: 8px var(--gutter); text-align: center; font-weight: 500; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; min-height: 48px; padding: .7em 1.35em; border-radius: var(--r-pill); font: 650 1rem/1 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform var(--t) var(--ease), background var(--t), box-shadow var(--t); white-space: nowrap; }
.btn svg { width: 1.1em; height: 1.1em; }
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 8px 26px -10px rgba(255,197,46,.75); }
.btn-gold:hover { background: #FFD45C; }
.btn-violet { background: var(--royal); color: #fff; }
.btn-violet:hover { background: #55299A; }
[data-tone="dark"] .btn-violet, :root[data-theme="dark"] .btn-violet { background: var(--gold); color: var(--ink); }
.btn-ghost { background: rgba(255,255,255,.08); color: var(--white); border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-line { background: transparent; color: var(--fg); border-color: var(--border); }
.btn-line:hover { border-color: var(--accent); }
.btn-sm { min-height: 40px; padding: .55em 1.1em; font-size: .94rem; }

/* masthead */
.masthead { position: sticky; top: 0; z-index: 50; background: rgba(16,13,43,.82); color: var(--white); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid rgba(201,189,235,.12); transition: background var(--t); }
.masthead-row { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; margin-right: auto; }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand-words { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font: 700 1.06rem var(--serif); letter-spacing: .01em; }
.brand-sub { font-size: .74rem; color: var(--lavender); letter-spacing: .04em; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list a { display: block; padding: 10px 14px; color: var(--white); text-decoration: none; font-weight: 550; font-size: .97rem; border-radius: var(--r-pill); position: relative; }
.nav-list a.btn { color: var(--ink); }
.nav-list a:not(.btn):hover { background: rgba(255,255,255,.08); }
.nav-list a[aria-current="page"]:not(.btn)::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--magenta), var(--gold)); }
.nav-connect { margin-left: 6px; }
.nav-toggle { display: none; }
.masthead-tools { display: flex; align-items: center; gap: 8px; }
.live-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--r-pill); color: var(--white); text-decoration: none; font-size: .88rem; font-weight: 600; border: 1px solid rgba(255,255,255,.22); }
.live-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lavender); }
.live-pill.is-now { border-color: var(--magenta); background: rgba(255,63,145,.14); }
.live-pill.is-now .dot { background: var(--magenta); box-shadow: 0 0 0 0 rgba(255,63,145,.7); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255,63,145,0); } 100% { box-shadow: 0 0 0 0 rgba(255,63,145,0); } }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); background: transparent; color: var(--white); cursor: pointer; }
.icon-btn svg { width: 20px; height: 20px; grid-area: 1/1; transition: transform 400ms var(--ease), opacity 300ms; }
.icon-btn svg:last-child { opacity: 0; transform: rotate(-90deg) scale(.6); }
:root[data-theme="dark"] .icon-btn svg:first-child { opacity: 0; transform: rotate(90deg) scale(.6); }
:root[data-theme="dark"] .icon-btn svg:last-child { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .masthead-row { gap: 10px; }
  .nav { order: 3; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.22); background: transparent; color: var(--white); font: 600 .94rem var(--sans); cursor: pointer; }
  .nav-toggle svg { width: 20px; height: 20px; }
  .nav-list { position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 24px; background: var(--midnight); border-bottom: 1px solid rgba(201,189,235,.16); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity var(--t), transform var(--t) var(--ease), visibility var(--t); }
  .nav.is-open .nav-list { opacity: 1; transform: none; visibility: visible; }
  .nav-list a:not(.btn) { padding: 14px 6px; font-size: 1.12rem; border-radius: 0; border-bottom: 1px solid rgba(201,189,235,.1); }
  .nav-list a[aria-current="page"]:not(.btn)::after { left: 6px; right: auto; width: 32px; bottom: 8px; }
  .nav-connect { margin: 16px 0 0; } .nav-connect .btn { width: 100%; justify-content: center; }
  .live-pill span:last-child { display: none; } .live-pill { padding: 10px; }
}
@media (max-width: 420px) { .brand-sub { display: none; } }

/* glow (shared radial light) */
.glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 80% at 85% 10%, rgba(200,59,255,.32), transparent 60%), radial-gradient(40% 60% at 10% 100%, rgba(255,63,145,.18), transparent 70%); }
.glow-low { background: radial-gradient(50% 70% at 100% 100%, rgba(200,59,255,.22), transparent 60%), radial-gradient(40% 50% at 0% 0%, rgba(255,197,46,.08), transparent 70%); }

/* HERO */
.hero { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(120% 90% at 70% 30%, #2A1660 0%, var(--midnight) 62%); }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 32px; min-height: min(78vh, 720px); padding-block: clamp(56px, 10vw, 120px) clamp(40px, 6vw, 72px); }
.hero-who { color: var(--lavender); font-weight: 550; letter-spacing: .02em; margin-bottom: 1.2em; }
.hero-title { font-size: var(--step-4); font-weight: 760; line-height: .98; letter-spacing: -.025em; margin: 0 0 .3em; font-variation-settings: 'opsz' 144; color: var(--white); }
.hero-title span { display: block; }
.hero-title span + span { background: linear-gradient(92deg, var(--gold) 10%, #FF9E5E 55%, var(--magenta) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-verse { font: 600 1rem var(--sans); color: var(--gold); letter-spacing: .04em; margin-bottom: 2.2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-mark { margin: 0; justify-self: center; position: relative; }
.hero-mark img { width: clamp(180px, 26vw, 340px); height: auto; border-radius: 50%; mix-blend-mode: screen; filter: drop-shadow(0 0 40px rgba(200,59,255,.35)); }
.js .hero [data-in] { opacity: 0; transform: translateY(14px); }
.js .hero.is-in [data-in] { opacity: 1; transform: none; transition: opacity 900ms var(--ease), transform 900ms var(--ease); }
.js .hero.is-in [data-in="2"] { transition-delay: 140ms; } .js .hero.is-in [data-in="3"] { transition-delay: 300ms; } .js .hero.is-in [data-in="4"] { transition-delay: 460ms; }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; text-align: left; }
  .hero-mark { order: -1; justify-self: start; } .hero-mark img { width: 120px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* Sunday strip */
.sunday { border-top: 1px solid rgba(201,189,235,.14); background: rgba(16,13,43,.55); backdrop-filter: blur(6px); }
.sunday-row { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; padding-block: 18px; }
.sunday-label { margin: 0; color: var(--gold); font-weight: 650; font-size: .92rem; }
.sunday-main { margin: 0; color: var(--white); font-size: var(--step-1); font-family: var(--serif); }
.sunday-main strong { font-weight: 700; }
.countdown { display: flex; gap: 8px; }
.cd-unit { display: grid; justify-items: center; min-width: 62px; padding: 8px 6px; border-radius: var(--r-md); background: rgba(255,255,255,.06); border: 1px solid rgba(201,189,235,.16); }
.cd-unit b { font: 700 1.5rem/1.1 var(--serif); font-variant-numeric: tabular-nums; color: var(--white); }
.cd-unit small { font-size: .72rem; color: var(--lavender); }
.sunday-now { margin: 0; font-weight: 650; color: var(--white); } .sunday-now a { color: var(--gold); }

/* bands */
.band { position: relative; padding-block: clamp(56px, 8vw, 104px); }
.band + .band[data-tone="light"] { padding-top: clamp(24px, 4vw, 56px); }
.band[data-tone="dark"] + .band[data-tone="light"], .band[data-tone="tint"] + .band, .band + .band[data-tone="tint"] { padding-top: clamp(56px, 8vw, 104px); }
.h-section { font-size: var(--step-3); font-weight: 700; }
.h-sub { margin-top: 2.2em; }
.lede { font-size: var(--step-1); color: var(--fg-2); max-width: 60ch; line-height: 1.5; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 28px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; } .grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 900px) { .split, .two, .grid-2 { grid-template-columns: 1fr; } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid-3 { grid-template-columns: 1fr; } }
.band-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; } .band-head .h-section { margin: 0; }

/* Word latest */
.lang-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 26px 0 14px; }
.lang-pick label { font-weight: 600; }
.lang-pick select { min-height: 48px; padding: 0 40px 0 16px; border-radius: var(--r-pill); border: 1.5px solid var(--border); background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2345227A' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center; color: var(--fg); font: 500 1rem var(--sans); appearance: none; }
.word-teaser { list-style: none; counter-reset: wt; margin: 0; padding: 0; display: grid; gap: 14px; }
.word-teaser li { counter-increment: wt; }
.word-teaser a { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 20px 22px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--border); color: var(--fg); text-decoration: none; font-family: var(--serif); font-size: 1.12rem; line-height: 1.45; transition: border-color var(--t), transform var(--t) var(--ease); box-shadow: 0 1px 0 rgba(23,21,42,.02); }
.word-teaser a::before { content: counter(wt); font: 700 1.6rem/1 var(--serif); color: var(--royal); opacity: .55; }
:root[data-theme="dark"] .word-teaser a::before { color: var(--gold); }
.word-teaser a:hover { border-color: var(--royal); transform: translateX(4px); }

/* Who we are */
.mandate { font: 500 var(--step-2)/1.32 var(--serif); max-width: 32ch; margin-bottom: 1.4em; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-block: 8px 28px; }
.pillar { display: block; padding: 24px 22px 22px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--border); color: var(--fg); text-decoration: none; position: relative; overflow: hidden; transition: border-color var(--t), transform var(--t) var(--ease); }
.pillar::before { content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 44px; background: linear-gradient(90deg, var(--magenta), var(--gold)); transition: width 500ms var(--ease); }
a.pillar:hover { border-color: var(--royal); transform: translateY(-3px); } a.pillar:hover::before { width: 100%; }
.pillar h3 { font-size: 1.28rem; margin-bottom: .35em; } .pillar p { margin: 0; color: var(--fg-2); font-size: .98rem; }
.pillar .ref { margin-top: .8em; font-weight: 600; color: var(--accent); font-size: .9rem; }
.pillar-person { background: linear-gradient(160deg, var(--deep), var(--royal)); color: var(--white); border-color: transparent; }
.pillar-person p { color: var(--lavender); }
@media (max-width: 960px) { .pillars { grid-template-columns: 1fr 1fr; } } @media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } }

/* media cards */
.watch-grid { display: grid; grid-template-columns: 1fr 340px; gap: 28px; }
.watch-videos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.watch-videos .mcard-lg { grid-column: 1 / -1; }
@media (max-width: 960px) { .watch-grid { grid-template-columns: 1fr; } } @media (max-width: 560px) { .watch-videos { grid-template-columns: 1fr; } }
.mcard { border-radius: var(--r-lg); overflow: hidden; background: var(--card); border: 1px solid var(--border); transition: transform var(--t) var(--ease), border-color var(--t); }
.mcard:hover { transform: translateY(-3px); border-color: var(--accent); }
.mcard-link { display: block; color: inherit; text-decoration: none; height: 100%; }
.mcard-media { position: relative; aspect-ratio: 16/9; background: var(--deep); overflow: hidden; }
.mcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.mcard:hover .mcard-media img { transform: scale(1.04); }
.mcard-ph { width: 100%; height: 100%; background: radial-gradient(60% 80% at 70% 30%, var(--royal), var(--midnight)); }
.mcard-play { position: absolute; left: 14px; bottom: 14px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); box-shadow: 0 6px 22px rgba(0,0,0,.35); }
.mcard-play svg { width: 22px; height: 22px; margin-left: 2px; }
.mcard-body { padding: 16px 18px 20px; }
.mcard-type { margin: 0 0 6px; font-size: .84rem; font-weight: 650; color: var(--accent); } .mcard-type span { color: var(--fg-2); font-weight: 500; }
.mcard-type span::before { content: '/'; margin: 0 .4em; opacity: .5; }
.mcard h3 { font-size: 1.14rem; margin: 0 0 6px; } .mcard-lg h3 { font-size: var(--step-1); }
.mcard-sum, .mcard-when { margin: 0; color: var(--fg-2); font-size: .94rem; }
.watch-events { padding: 24px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--border); align-self: start; }
.watch-events h3 { font-size: 1.3rem; }
.event-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.event-list a { display: grid; grid-template-columns: 58px 1fr; grid-template-rows: auto auto; column-gap: 14px; padding: 10px; border-radius: var(--r-md); color: var(--fg); text-decoration: none; transition: background var(--t); }
.event-list a:hover { background: rgba(127,90,200,.1); }
.event-list time { grid-row: 1 / 3; display: grid; place-content: center; text-align: center; border-radius: var(--r-md); background: linear-gradient(160deg, var(--royal), var(--deep)); color: var(--white); padding: 6px 0; }
.ev-day { font: 700 1.4rem/1 var(--serif); } .ev-mon { font-size: .76rem; color: var(--gold); font-weight: 650; }
.ev-title { font-weight: 650; line-height: 1.3; } .ev-time { font-size: .88rem; color: var(--fg-2); }
.event-list-lg a { grid-template-columns: 72px 1fr; padding: 14px; border: 1px solid var(--border); background: var(--card); }
.empty { padding: 28px; border-radius: var(--r-lg); border: 1.5px dashed var(--border); grid-column: 1 / -1; } .empty p { color: var(--fg-2); }

/* calm cards */
.calm-card { padding: clamp(24px, 3.5vw, 40px); border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--border); }
.calm-card h2 { font-size: var(--step-2); } .calm-card p { color: var(--fg-2); max-width: 46ch; }
.link-card { display: block; color: var(--fg); text-decoration: none; transition: border-color var(--t); } .link-card:hover { border-color: var(--accent); }
.give-connect .calm-card:first-child { background: linear-gradient(150deg, #F6EEFF, #FFF5E0); border-color: transparent; }
:root[data-theme="dark"] .give-connect .calm-card:first-child { background: linear-gradient(150deg, #241A4E, #2B1F33); }

/* page heads */
.page-head, .book-head { position: relative; overflow: hidden; padding-block: clamp(44px, 7vw, 88px) clamp(36px, 5vw, 64px); background: radial-gradient(110% 120% at 80% 0%, #2A1660 0%, var(--midnight) 60%); }
.page-head h1 { font-size: var(--step-3); max-width: 22ch; } .page-head .lede { color: var(--lavender); }
.page-head .wrap { position: relative; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 22px; padding: 0; font-size: .9rem; }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--lavender); opacity: .6; }
.crumbs a { color: var(--lavender); } .crumbs [aria-current] { color: var(--white); }
.kicker { color: var(--gold); font-weight: 650; }

/* prose */
.prose { max-width: 68ch; } .prose h2 { margin-top: 1.6em; } .prose h2:first-child { margin-top: 0; }
.prose .big, .big { font-size: var(--step-1); line-height: 1.55; }
.prose-grid { display: grid; grid-template-columns: 1fr 300px; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .prose-grid { grid-template-columns: 1fr; } }
.scripture { margin: 1.2em 0 1.6em; padding: 4px 0 4px 24px; border-left: 3px solid var(--gold); font: 500 var(--step-1)/1.5 var(--serif); }
.scripture p { margin: 0; }
.values { display: grid; gap: 0; margin: 0 0 2em; }
.values > div { display: grid; grid-template-columns: 200px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.values dt { font: 650 1.12rem var(--serif); } .values dd { margin: 0; color: var(--fg-2); }
@media (max-width: 600px) { .values > div { grid-template-columns: 1fr; gap: 4px; } }
.original { margin: 1.4em 0; padding: 18px 22px; border-radius: var(--r-md); background: var(--tint); }
.original summary { cursor: pointer; font-weight: 650; color: var(--link); }
.original h3 { margin-top: 1em; font-size: 1.1rem; }
.side-links { display: grid; gap: 12px; position: sticky; top: 92px; }
.side-card { display: block; padding: 18px 20px; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--card); color: var(--fg); text-decoration: none; transition: border-color var(--t); }
.side-card:hover { border-color: var(--accent); } .side-card h3 { font-size: 1.12rem; margin-bottom: 2px; } .side-card p { margin: 0; color: var(--fg-2); font-size: .94rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }

/* setman */
.bio { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.bio-photo { margin: 0; position: sticky; top: 96px; }
.bio-photo img { border-radius: var(--r-lg); aspect-ratio: 4/5; object-fit: cover; width: 100%; box-shadow: 0 30px 60px -30px rgba(33,19,74,.55); }
.bio-photo::after { content: ''; position: absolute; inset: -10px 10px 10px -10px; border: 2px solid var(--gold); border-radius: var(--r-lg); z-index: -1; }
.bio-photo { isolation: isolate; }
@media (max-width: 760px) { .bio { grid-template-columns: 1fr; } .bio-photo { position: relative; top: 0; max-width: 340px; } }

/* expressions */
.expressions { display: grid; gap: clamp(40px, 6vw, 72px); }
.expr { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.expr-alt .expr-img { order: 2; }
.expr-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-lg); }
.expr h2 { font-size: var(--step-2); }
.expr-body p { color: var(--fg-2); }
@media (max-width: 800px) { .expr { grid-template-columns: 1fr; } .expr-alt .expr-img { order: 0; } }

/* church */
.church-card { margin: 0; } .church-card img { border-radius: var(--r-lg); box-shadow: 0 30px 60px -30px rgba(33,19,74,.55); transform: rotate(1.2deg); }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mosaic img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-md); }
.mosaic img:first-child { grid-column: 1 / -1; aspect-ratio: 16/10; }
.steps { list-style: none; counter-reset: st; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { counter-increment: st; padding: 26px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--border); }
.steps li::before { content: counter(st); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--ink); font: 700 1.1rem var(--serif); margin-bottom: 14px; }
.steps h2 { font-size: 1.35rem; } .steps p { margin: 0; color: var(--fg-2); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.form-frame { width: 100%; height: 760px; border: 0; border-radius: var(--r-md); background: #fff; }
.letter { max-width: 64ch; font: 450 var(--step-1)/1.7 var(--serif); }
.letter p { margin-bottom: 1.1em; } .letter h2 { font-size: var(--step-1); margin-top: 1.4em; font-family: var(--sans); font-weight: 700; }
.letter-h { font-size: var(--step-2); font-weight: 650; line-height: 1.2; margin-bottom: .3em !important; }
.letter-sign { font-size: var(--step-2); font-weight: 700; background: linear-gradient(92deg, var(--royal), var(--magenta)); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="dark"] .letter-sign { background-image: linear-gradient(92deg, var(--gold), var(--magenta)); }
.letter-from a { font-family: var(--sans); font-weight: 650; }
[data-tone="light"] .letter, [data-tone="light"] .prose { color: var(--fg); }

/* give */
.how { padding-left: 1.2em; } .how li { margin-bottom: .4em; }
.accounts { display: grid; gap: 14px; }
.account { padding: 22px 24px; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--card); }
.account:first-child { background: linear-gradient(150deg, var(--deep), var(--royal)); color: var(--white); border: 0; --fg-2: var(--lavender); }
.account-region { margin: 0 0 4px; font-size: .88rem; font-weight: 650; color: var(--accent); }
.account:first-child .account-region { color: var(--gold); }
.account h2 { font-size: 1.4rem; margin-bottom: 12px; }
.account dl { margin: 0; display: grid; gap: 8px; }
.account dl div { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.account dt { color: var(--fg-2); } .account dd { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; }
.copy-btn { margin-left: 8px; padding: 2px 10px; font: 600 .8rem var(--sans); border-radius: var(--r-pill); border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; opacity: .8; }
.copy-btn:hover { opacity: 1; }

/* forms */
.form { display: grid; gap: 16px; padding: clamp(22px, 3.5vw, 36px); border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--border); }
.form h2 { margin: 0; }
.field { display: grid; gap: 6px; font-weight: 600; }
.field input, .field textarea { font: 450 1rem/1.5 var(--sans); padding: 12px 14px; border-radius: var(--r-md); border: 1.5px solid var(--border); background: var(--bg); color: var(--fg); min-height: 48px; }
.field input:focus, .field textarea:focus { border-color: var(--royal); outline: 3px solid rgba(107,47,184,.25); outline-offset: 0; }
.seg { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; } .seg legend { font-weight: 600; margin-bottom: 8px; }
.seg label { display: inline-flex; gap: 8px; align-items: center; padding: 10px 16px; border-radius: var(--r-pill); border: 1.5px solid var(--border); cursor: pointer; }
.seg label:has(input:checked) { border-color: var(--royal); background: rgba(107,47,184,.08); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; color: var(--fg-2); } .check input { width: 20px; height: 20px; margin-top: 3px; flex: none; }
.notice { padding: 14px 16px; border-radius: var(--r-md); font-weight: 550; } .notice.ok { background: #E3F6EA; color: #0E5A2B; } .notice.err { background: #FDE8EF; color: #8A1240; }
.contact-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 4px; }
.contact-list li { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.contact-list a { font-weight: 650; font-size: 1.1rem; } .contact-list span { color: var(--fg-2); }
.chips { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-block; padding: 8px 16px; border-radius: var(--r-pill); border: 1px solid var(--border); text-decoration: none; color: var(--fg); font-weight: 550; }
.chips a:hover { border-color: var(--accent); }

/* WORD BANK */
.wb-search { display: flex; align-items: center; gap: 8px; max-width: 680px; padding: 6px 6px 6px 18px; border-radius: var(--r-pill); background: var(--card); border: 1.5px solid var(--border); margin-bottom: 40px; }
.wb-search:focus-within { border-color: var(--royal); }
.wb-search-ic svg { width: 20px; height: 20px; color: var(--fg-2); display: block; }
.wb-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: 450 1.05rem var(--sans); color: var(--fg); padding: 10px 4px; }
.wb-search input:focus { outline: none; }
.year-shelf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.year-book a { position: relative; display: grid; align-content: end; gap: 4px; min-height: 230px; padding: 22px; border-radius: 6px 16px 16px 6px; color: var(--white); text-decoration: none; overflow: hidden; background: linear-gradient(165deg, var(--royal) 0%, var(--deep) 55%, var(--midnight) 100%); box-shadow: inset 10px 0 0 rgba(0,0,0,.18), 0 18px 40px -24px rgba(33,19,74,.7); transition: transform 400ms var(--ease), box-shadow 400ms var(--ease); }
.year-book a::before { content: ''; position: absolute; inset: 0; background: radial-gradient(80% 60% at 90% 0%, rgba(255,63,145,.35), transparent 60%); opacity: .7; transition: opacity 400ms; }
.year-book a:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: inset 10px 0 0 rgba(0,0,0,.18), 0 30px 50px -24px rgba(33,19,74,.8); }
.year-book a:hover::before { opacity: 1; }
.yb-year { position: relative; font: 760 3.4rem/1 var(--serif); letter-spacing: -.03em; }
.year-book-new .yb-year { color: var(--gold); }
.yb-title { position: relative; font-weight: 600; font-size: .98rem; } .yb-count { position: relative; font-size: .86rem; color: var(--lavender); }
.year-book-new a { background: linear-gradient(165deg, #5B2496 0%, var(--deep) 50%, var(--midnight) 100%); }
.year-book-new { grid-column: span 2; } @media (max-width: 520px) { .year-book-new { grid-column: auto; } }

.book-head h1 { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1em .4em; margin-top: 10px; }
.book-year { font-size: var(--step-4); font-weight: 760; color: var(--gold); letter-spacing: -.03em; line-height: 1; }
.book-title { font-size: var(--step-2); color: var(--white); }
.book-head .lede { color: var(--lavender); }
.book-head .wrap { position: relative; }
.year-strip { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.year-strip a { padding: 6px 14px; border-radius: var(--r-pill); color: var(--lavender); text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; border: 1px solid rgba(201,189,235,.2); }
.year-strip a[aria-current] { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.year-strip a:not([aria-current]):hover { color: var(--white); border-color: var(--lavender); }
.book-tools { display: grid; gap: 14px; margin-top: 24px; }
.lang-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.lang-tabs a { padding: 8px 14px; border-radius: var(--r-pill); background: rgba(255,255,255,.06); color: var(--white); text-decoration: none; font-weight: 550; border: 1px solid rgba(201,189,235,.18); }
.lang-tabs a[aria-current] { background: var(--white); color: var(--deep); }
.tool-row { display: flex; flex-wrap: wrap; gap: 8px; }
.textsize { display: inline-flex; border-radius: var(--r-pill); border: 1px solid rgba(201,189,235,.3); overflow: hidden; }
.textsize button, .tool { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 16px; border: 0; background: transparent; color: var(--white); font: 600 .94rem var(--sans); cursor: pointer; text-decoration: none; }
.textsize button + button { border-left: 1px solid rgba(201,189,235,.3); }
.tool { border: 1px solid rgba(201,189,235,.3); border-radius: var(--r-pill); } .tool svg { width: 18px; height: 18px; }
.textsize button:hover, .tool:hover { background: rgba(255,255,255,.08); }
.book { padding-block: clamp(36px, 6vw, 72px) clamp(56px, 8vw, 104px); }
.book-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 960px) { .book-grid { grid-template-columns: 1fr; } }
.book-body { font-size: var(--read-size); max-width: 70ch; }
.book-intro { font: 500 1.15em/1.55 var(--serif); color: var(--fg-2); }
.prophecies { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.prophecies li { position: relative; display: grid; grid-template-columns: 3.2em 1fr 36px; gap: 4px 12px; padding: 18px 0; border-bottom: 1px solid var(--border); scroll-margin-top: 96px; }
.prophecies li::before { content: attr(data-label); font: 700 1.25em/1.45 var(--serif); color: var(--royal); opacity: .7; font-variant-numeric: tabular-nums; }
:root[data-theme="dark"] .prophecies li::before { color: var(--gold); }
@media (max-width: 600px) { .prophecies li { grid-template-columns: 2em 1fr 32px; gap: 4px 8px; } }
.prophecies li p { margin: 0; font: 450 1em/1.7 var(--serif); font-variation-settings: 'opsz' 18; }
.prophecies li:target { background: linear-gradient(90deg, rgba(255,197,46,.18), transparent 80%); border-radius: var(--r-md); }
.share-p { align-self: start; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--fg-2); opacity: .45; transition: opacity var(--t), background var(--t); }
.share-p svg { width: 17px; height: 17px; }
.prophecies li:hover .share-p, .share-p:focus-visible { opacity: 1; } .share-p:hover { background: var(--tint); }
[dir="rtl"] .prophecies li p, [lang="ar"] .prophecies li p { font-family: 'Noto Naskh Arabic', 'Geeza Pro', 'Segoe UI', Tahoma, serif; line-height: 1.95; }
[lang="hi"] .prophecies li p { font-family: 'Noto Sans Devanagari', 'Nirmala UI', var(--sans); }
[lang="zh"] .prophecies li p, [lang="ja"] .prophecies li p { font-family: 'Noto Serif CJK SC', 'Hiragino Mincho ProN', 'Yu Mincho', 'Songti SC', serif; line-height: 1.85; }
.book-side { position: sticky; top: 96px; display: grid; gap: 16px; }
.notes { padding: 20px 22px; border-radius: var(--r-lg); background: var(--tint); font-size: .96rem; }
.notes summary { cursor: pointer; font-weight: 700; margin-bottom: 10px; } .notes p { color: var(--fg-2); }
.book-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.book-nav a { padding: 14px 18px; border-radius: var(--r-md); border: 1px solid var(--border); text-decoration: none; color: var(--fg); font: 700 1.4rem var(--serif); }
.book-nav a small { display: block; font: 500 .82rem var(--sans); color: var(--fg-2); }
.book-nav a:last-child { text-align: right; } .book-nav a:hover { border-color: var(--accent); }
.hits { list-style: none; padding: 0; margin: 0; } .hits a { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); color: var(--fg); text-decoration: none; font-family: var(--serif); }
.hit-year { font-weight: 700; color: var(--accent); } mark { background: rgba(255,197,46,.45); color: inherit; border-radius: 3px; padding: 0 2px; }

/* bibles, media */
.bible-hero { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 8px; }
.bible-hero p { margin: 0; }
.pillars-4 { margin-bottom: 40px; }
.tabs { display: flex; gap: 6px; margin-bottom: 32px; border-bottom: 1px solid var(--border); overflow-x: auto; }
.tabs a { padding: 12px 18px; color: var(--fg-2); text-decoration: none; font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs a[aria-current] { color: var(--fg); border-color: var(--magenta); }
.live-card { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; background: linear-gradient(150deg, var(--deep), var(--royal)); color: var(--white); border: 0; --fg-2: var(--lavender); }
.live-card p:last-child { display: flex; gap: 10px; flex-wrap: wrap; margin: 0; } .live-card .btn-line { color: var(--white); border-color: rgba(255,255,255,.35); }
.yt { margin: 0; } .yt figcaption { margin-top: 10px; font-weight: 650; }
.yt-frame { position: relative; aspect-ratio: 16/9; border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(60% 80% at 70% 30%, var(--royal), var(--midnight)); }
.yt-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-load { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; border: 0; background: transparent; color: var(--white); font: 600 1rem var(--sans); cursor: pointer; }
.yt-load svg { width: 64px; height: 64px; padding: 18px; border-radius: 50%; background: var(--gold); color: var(--ink); transition: transform var(--t) var(--ease); }
.yt-load:hover svg { transform: scale(1.08); }
.calendar-embed { margin: 32px 0 20px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); }
.calendar-embed iframe { display: block; width: 100%; height: 720px; border: 0; }
.masonry { columns: 4 220px; column-gap: 12px; }
.mz { display: block; margin-bottom: 12px; break-inside: avoid; border-radius: var(--r-md); overflow: hidden; }
.mz img { width: 100%; transition: transform 600ms var(--ease); } .mz:hover img { transform: scale(1.03); }
.lightbox { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(16,13,43,.92); }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: var(--r-md); }
.lightbox button { position: fixed; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 2rem; cursor: pointer; }
.lb-close { top: 18px; right: 18px; } .lb-prev { left: 18px; top: 50%; } .lb-next { right: 18px; top: 50%; }

/* message cards and library */
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.vcard { border-radius: var(--r-lg); overflow: hidden; background: var(--card); border: 1px solid var(--border); transition: transform 400ms var(--ease), border-color var(--t), box-shadow 400ms var(--ease); }
.vcard:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 24px 40px -28px rgba(33,19,74,.6); }
.vcard[hidden] { display: none; }
.vcard-link { display: block; color: var(--fg); text-decoration: none; height: 100%; }
.vcard-media { position: relative; aspect-ratio: 16/9; background: var(--deep); overflow: hidden; }
.vcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease), filter 400ms; }
.vcard:hover .vcard-media img { transform: scale(1.05); filter: saturate(1.15); }
.vcard-play { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,197,46,.95); color: var(--ink); transform: scale(.85); opacity: 0; transition: transform 300ms var(--ease), opacity 300ms; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.vcard-play svg { width: 26px; height: 26px; margin-left: 3px; }
.vcard:hover .vcard-play, .vcard-link:focus-visible .vcard-play, .vcard-lg .vcard-play { opacity: 1; transform: none; }
.vcard-dur { position: absolute; right: 10px; bottom: 10px; padding: 3px 8px; border-radius: 6px; background: rgba(16,13,43,.85); color: #fff; font: 600 .78rem var(--sans); font-variant-numeric: tabular-nums; }
.vcard-live { position: absolute; left: 10px; top: 10px; padding: 3px 9px; border-radius: 999px; background: var(--magenta); color: #fff; font: 650 .74rem var(--sans); }
.vcard-body { padding: 14px 16px 18px; }
.vcard-meta { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 6px; font-size: .8rem; font-weight: 650; color: var(--accent); }
.vcard-meta span { color: var(--fg-2); font-weight: 500; font-variant-numeric: tabular-nums; }
.vcard h3 { font-size: 1.04rem; line-height: 1.3; margin: 0; }
.vcard-lg h3 { font-size: var(--step-1); }
.watch-videos .vcard-lg { grid-column: 1 / -1; }
[data-tone="dark"] .vcard { background: rgba(255,255,255,.05); }
.feature { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; margin-bottom: 48px; }
.feature .vcard { box-shadow: 0 40px 70px -40px rgba(33,19,74,.7); } .feature .vcard-body { display: none; }
.feature-kicker { font-weight: 700; color: var(--magenta); margin-bottom: .4em; }
.feature h2 { font-size: var(--step-2); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }
.library { margin-top: 8px; }
.lib-bar { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; margin-bottom: 14px; }
.lib-search { display: flex; align-items: center; gap: 8px; padding: 0 16px; border-radius: var(--r-pill); background: var(--card); border: 1.5px solid var(--border); }
.lib-search:focus-within { border-color: var(--royal); }
.lib-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: 450 1rem var(--sans); color: var(--fg); padding: 12px 0; }
.lib-search input:focus { outline: none; }
.lib-select select { height: 100%; min-height: 48px; padding: 0 36px 0 16px; border-radius: var(--r-pill); border: 1.5px solid var(--border); background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2345227A' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; color: var(--fg); font: 500 .96rem var(--sans); appearance: none; max-width: 260px; }
@media (max-width: 760px) { .lib-bar { grid-template-columns: 1fr 1fr; } .lib-search { grid-column: 1 / -1; } .lib-select select { max-width: none; width: 100%; } }
.lib-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip { padding: 9px 16px; border-radius: var(--r-pill); border: 1.5px solid var(--border); background: var(--card); color: var(--fg); font: 600 .92rem var(--sans); cursor: pointer; transition: background var(--t), color var(--t), border-color var(--t); }
.chip:hover { border-color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--royal); border-color: var(--royal); color: #fff; }
:root[data-theme="dark"] .chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.lib-count { margin-bottom: 18px; font-size: .94rem; }
.lib-empty { padding: 28px; text-align: center; color: var(--fg-2); }
.player { padding: 0; border: 0; width: min(1200px, 96vw); max-height: 94vh; background: transparent; }
.player::backdrop { background: rgba(10,8,30,.88); backdrop-filter: blur(6px); }
.player[open] { animation: pz-pop 320ms var(--ease); }
@keyframes pz-pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.player-inner { position: relative; display: grid; grid-template-columns: 1fr 300px; gap: 0; border-radius: var(--r-lg); overflow: hidden; background: #0d0a24; box-shadow: 0 40px 120px rgba(0,0,0,.6); }
.player-frame { aspect-ratio: 16/9; background: #000; } .player-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.player-side { padding: 20px 18px; color: #fff; overflow-y: auto; max-height: min(60vh, 560px); }
.player-title { font: 650 1.1rem/1.3 var(--serif); margin: 0 40px 16px 0; }
.player-next-h { font-size: .84rem; color: var(--lavender); font-weight: 650; margin-bottom: 10px; } .player-next-h a { color: var(--gold); }
.player-item { display: grid; grid-template-columns: 96px 1fr; gap: 10px; align-items: center; width: 100%; padding: 6px; margin-bottom: 6px; border: 0; border-radius: 10px; background: transparent; color: #fff; text-align: left; font: 500 .86rem/1.3 var(--sans); cursor: pointer; }
.player-item:hover, .player-item:focus-visible { background: rgba(255,255,255,.08); }
.player-item img { border-radius: 6px; aspect-ratio: 16/9; object-fit: cover; }
.player-close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
@media (max-width: 860px) { .player-inner { grid-template-columns: 1fr; } .player-side { max-height: 38vh; } }

/* prayer emphasis */
.calm-pray { position: relative; overflow: hidden; }
.calm-ic { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(140deg, var(--royal), var(--magenta)); color: #fff; margin-bottom: 14px; box-shadow: 0 12px 26px -12px rgba(255,63,145,.6); }
.calm-ic svg { width: 26px; height: 26px; }
.seg-pray svg { width: 18px; height: 18px; color: var(--magenta); }
.form.is-prayer { border-color: rgba(255,63,145,.35); box-shadow: 0 30px 60px -40px rgba(255,63,145,.45); }
.site-banner { background: linear-gradient(90deg, var(--royal), var(--magenta)); color: #fff; text-align: center; padding: 10px var(--gutter); font-weight: 550; }
.site-banner a { color: var(--gold); }

/* footer */
.site-footer { padding-block: 64px 28px; border-top: 1px solid rgba(201,189,235,.12); position: relative; }
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: linear-gradient(90deg, var(--magenta), var(--electric), var(--blue), #FF9E5E, var(--gold)); opacity: .85; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 32px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } } @media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-id img { width: 88px; height: 88px; border-radius: var(--r-md); margin-bottom: 14px; }
.footer-tag { font: 700 1.4rem var(--serif); color: var(--gold); margin-bottom: .4em; }
.footer-id p:last-child { color: var(--lavender); max-width: 34ch; }
.footer-h { font: 700 1rem var(--sans); color: var(--white); margin-bottom: 12px; }
.site-footer .plain li { padding: 4px 0; } .site-footer a { color: var(--white); text-decoration-color: rgba(255,255,255,.3); }
.footer-base { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(201,189,235,.12); color: var(--lavender); font-size: .9rem; }
.footer-base p { margin: 0; } .footer-base a { margin-left: 14px; color: var(--lavender); } .footer-base a:first-child { margin-left: 0; }

/* scroll reveal (one quiet motion, only below the hero) */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .hero [data-in] { opacity: 1 !important; transform: none !important; }
}

@media print {
  .masthead, .site-footer, .book-tools, .year-strip, .book-side, .share-p, .preview-bar, .crumbs, .skip { display: none !important; }
  body, [data-tone] { background: #fff !important; color: #000 !important; }
  .book-head { padding: 0 0 12px; background: none !important; } .book-head .glow { display: none; }
  .book-year, .book-title, .book-head .lede { color: #000 !important; }
  .book-grid { display: block; } .prophecies li { break-inside: avoid; padding: 8px 0; grid-template-columns: 2.4em 1fr; }
  a { color: #000; text-decoration: none; }
}

/* light sections let the page gradient show through (kept last so it wins) */
[data-tone="light"] { background: transparent; }
