/* Good Bible Trivia - "Warm Scripture" light theme.
   Cream + gold + terracotta, Fraunces display + Figtree body. Warm, welcoming, premium. */

:root {
  --cream: #faf5ea;
  --cream-2: #f4ead6;
  --parchment: #efe2cc;
  --parchment-deep: #e6d6ba;
  --white: #fffdf8;
  --gold: #c9962f;
  --gold-2: #b8842a;
  --gold-soft: #e6c877;
  --gold-tint: #f6ecd2;
  --terra: #b5613f;
  --terra-deep: #9a4e30;
  --terra-soft: #d38a63;
  --olive: #7d7a3f;
  --green: #5f7d3f;
  --red: #b5503f;
  --ink: #37291a;
  --ink-soft: #6b5942;
  --ink-faint: #96825f;
  --line: rgba(201, 150, 47, 0.24);
  --line-strong: rgba(201, 150, 47, 0.38);
  --shadow-xl: 34px 46px 90px -42px rgba(120, 80, 34, 0.55), 0 8px 24px -14px rgba(120, 80, 34, 0.35);
  --shadow-lg: 0 28px 60px -34px rgba(120, 80, 34, 0.5);
  --shadow-md: 0 16px 38px -22px rgba(120, 80, 34, 0.45);
  --shadow-sm: 0 6px 16px -8px rgba(120, 80, 34, 0.4);
  --sans: "Figtree", system-ui, -apple-system, sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --radius: 26px;
  --max: 1180px;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.62;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(1300px 760px at 88% -12%, rgba(230, 200, 119, 0.34), transparent 58%),
    radial-gradient(1000px 640px at -12% 10%, rgba(211, 138, 99, 0.13), transparent 54%),
    var(--grain);
  background-attachment: fixed, fixed, scroll;
}
img { max-width: 100%; display: block; }
a { color: var(--terra); text-decoration: none; }
a:hover { color: var(--terra-deep); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.05; letter-spacing: -0.012em; color: var(--ink); font-optical-sizing: auto; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 44px; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--gold); color: var(--ink); padding: 8px 14px; z-index: 99; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; border-radius: 6px; }

/* reveal on load */
.reveal { opacity: 0; transform: translateY(14px); animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.reveal:nth-child(2) { animation-delay: 0.07s; }
.reveal:nth-child(3) { animation-delay: 0.14s; }
.reveal:nth-child(4) { animation-delay: 0.21s; }
.reveal:nth-child(5) { animation-delay: 0.28s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal { animation: none; opacity: 1; transform: none; } }

/* kicker */
.kicker { display: inline-flex; align-items: center; gap: 13px; font-family: var(--sans); font-weight: 700; font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--terra); }
.kicker::before { content: ""; width: 34px; height: 1.5px; background: var(--terra); opacity: 0.85; border-radius: 2px; }
.kicker.gold { color: var(--gold-2); }
.kicker.gold::before { background: var(--gold-2); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-family: var(--sans); font-weight: 700; font-size: 15px; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; cursor: pointer; border: none; }
.btn svg { width: 18px; height: 18px; }
.btn.gold, .btn-primary { background: linear-gradient(145deg, var(--gold-soft), var(--gold)); color: #4a3413; box-shadow: 0 16px 34px -12px rgba(201, 150, 47, 0.85); }
.btn.gold:hover, .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 24px 44px -14px rgba(201, 150, 47, 0.95); color: #4a3413; }
.btn.ghost, .btn-ghost { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); border: 1px solid var(--line-strong); }
.btn.ghost:hover, .btn-ghost:hover { transform: translateY(-2px); border-color: var(--gold); color: var(--ink); }
.btn-text { color: var(--terra); font-family: var(--sans); font-weight: 700; font-size: 14.5px; padding: 14px 6px; }
.btn-text:hover { color: var(--terra-deep); }

.chip { display: inline-block; background: var(--white); border: 1px solid var(--line-strong); color: var(--ink-soft); padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 13.5px; box-shadow: var(--shadow-sm); }
.chip::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--terra); margin-right: 9px; vertical-align: middle; }

/* section scaffold */
section { position: relative; padding: 80px 0; }
.sec-head { margin-bottom: 40px; max-width: 760px; }
.sec-head .kicker { margin-bottom: 18px; }
.sec-title { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 12px; letter-spacing: -0.02em; }
.sec-title em, h2 em { font-style: italic; font-weight: 400; color: var(--terra); }
.sec-sub { color: var(--ink-soft); font-size: 17px; max-width: 620px; }
h2.center { text-align: center; }
h2.center .kicker, .center-head { justify-content: center; }

/* ---------------------------------------- nav */
.nav { position: sticky; top: 0; z-index: 60; backdrop-filter: blur(12px) saturate(1.1); background: linear-gradient(180deg, rgba(250, 245, 234, 0.94), rgba(250, 245, 234, 0.72)); border-bottom: 1px solid var(--line); }
.nav-in, .nav > nav { }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; max-width: var(--max); margin: 0 auto; padding: 0 44px; }
.brand { display: flex; align-items: center; flex: none; }
.brand-logo { height: 40px; width: auto; display: block; }
.nav nav { display: flex; align-items: center; gap: 30px; }
.nav nav a { font-family: var(--sans); font-weight: 600; font-size: 14.5px; color: var(--ink-soft); }
.nav nav a:hover { color: var(--gold-2); }
.nav .cta { display: inline-flex; align-items: center; gap: 8px; background: var(--terra); color: var(--white); padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: 13.5px; box-shadow: var(--shadow-sm); transition: transform 0.2s, box-shadow 0.2s; }
.nav .cta:hover { transform: translateY(-2px); color: var(--white); box-shadow: 0 14px 26px -10px rgba(181, 97, 63, 0.6); }
@media (max-width: 860px) { .nav nav a:not(.cta) { display: none; } }

/* ---------------------------------------- book hero */
.hero { position: relative; padding: 52px 0 88px; overflow: hidden; }
.hero::before { content: ""; position: absolute; top: -40px; right: -4%; width: 640px; height: 820px; z-index: 0; background: radial-gradient(circle at 50% 42%, rgba(230, 200, 119, 0.42), rgba(211, 138, 99, 0.12) 46%, transparent 66%); pointer-events: none; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.02fr; gap: 52px; align-items: center; }
.kick-pill { display: inline-flex; align-items: center; gap: 11px; font-family: var(--sans); font-weight: 700; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--terra); background: var(--white); padding: 9px 18px; border-radius: 999px; box-shadow: var(--shadow-sm); border: 1px solid var(--line-strong); }
.kick-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(201, 150, 47, 0.18); }
.hero h1 { font-size: clamp(3.6rem, 9vw, 7.6rem); font-weight: 600; margin: 26px 0 6px; letter-spacing: -0.03em; line-height: 0.9; background: linear-gradient(165deg, #7a4a1e 4%, var(--gold-2) 42%, var(--gold) 60%, var(--terra) 96%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .underline { width: 128px; height: 5px; border-radius: 4px; margin: 8px 0 24px; background: linear-gradient(90deg, var(--gold), var(--terra)); opacity: 0.9; }
.hero .tagline { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: clamp(1.2rem, 2vw, 1.55rem); color: var(--ink-soft); line-height: 1.42; max-width: 490px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.hero-art { position: relative; }
.arch-frame { position: relative; border-radius: 34px 34px 22px 22px; overflow: hidden; box-shadow: var(--shadow-xl); border: 9px solid var(--white); outline: 1px solid var(--line-strong); }
.arch-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: 26px 26px 15px 15px; box-shadow: inset 0 0 0 1.5px rgba(201, 150, 47, 0.5), inset 0 2px 40px rgba(255, 240, 200, 0.2); background: linear-gradient(180deg, rgba(255, 244, 214, 0.12), transparent 26%); }
.arch-frame img { display: block; width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: var(--focal, 54% 26%); }
.art-cap { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 3; background: var(--white); padding: 9px 22px; border-radius: 999px; font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--ink-soft); box-shadow: var(--shadow-md); white-space: nowrap; border: 1px solid var(--line-strong); }
.art-badge {
  position: absolute; top: 16px; right: -18px; z-index: 4;
  width: 94px; height: 94px; border-radius: 50%;
  background:
    radial-gradient(circle at 33% 25%, #fbf0c4 0%, #f0d488 22%, var(--gold) 58%, var(--gold-2) 82%, #8a6420 100%);
  box-shadow:
    0 20px 36px -12px rgba(120, 80, 20, 0.7),
    0 3px 8px rgba(120, 80, 20, 0.35),
    inset 0 2px 3px rgba(255, 255, 240, 0.85),
    inset 0 -4px 8px rgba(120, 80, 20, 0.5),
    inset 0 0 0 2px rgba(255, 253, 248, 0.9),
    inset 0 0 0 3.5px rgba(154, 120, 40, 0.55);
  display: grid; place-items: center; text-align: center; color: #493110;
  font-family: var(--serif); line-height: 1; transform: rotate(5deg);
  padding-bottom: 9px;
}
.art-badge::before {
  content: ""; position: absolute; inset: 5px; border-radius: 50%; pointer-events: none;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.08) 34%, transparent 55%, rgba(120, 80, 20, 0.22) 100%);
}
.art-badge b { display: block; position: relative; font-size: 28px; font-weight: 700; letter-spacing: -0.01em; text-shadow: 0 1px 0 rgba(255, 255, 245, 0.5); }
.art-badge small { display: block; position: relative; font-family: var(--sans); font-size: 7.5px; font-weight: 800; letter-spacing: 0.18em; margin-top: 4px; padding-top: 4px; text-transform: uppercase; color: #5c4416; border-top: 1px solid rgba(154, 120, 40, 0.4); }
.hero-plain .hero-grid { grid-template-columns: 1fr; text-align: center; }
.hero-plain .hero-actions { justify-content: center; }
.hero-plain .kick-pill, .hero-plain .tagline { margin-left: auto; margin-right: auto; }

/* ---------------------------------------- home hero */
.home-hero { position: relative; overflow: hidden; padding: 56px 0 40px; }
.home-hero::before { content: ""; position: absolute; top: -80px; right: -6%; width: 720px; height: 760px; z-index: 0; background: radial-gradient(circle at 55% 45%, rgba(230, 200, 119, 0.4), rgba(211, 138, 99, 0.1) 48%, transparent 68%); pointer-events: none; }
.home-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.home-hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.3rem); line-height: 1.02; letter-spacing: -0.025em; margin: 22px 0 20px; }
.home-hero h1 em { font-style: italic; font-weight: 400; background: linear-gradient(150deg, var(--gold-2), var(--terra)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.home-hero .tagline { font-size: 18px; color: var(--ink-soft); max-width: 520px; margin-bottom: 28px; }
.home-hero .hero-actions { margin-bottom: 22px; }
.hero-note { color: var(--ink-faint); font-size: 14.5px; }
.hero-note strong { color: var(--gold-2); font-weight: 700; }
/* art collage */
.hero-collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-collage a { display: block; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid var(--white); position: relative; transition: transform 0.25s; }
.hero-collage a:hover { transform: translateY(-4px); }
.hero-collage a.feature { grid-column: 1 / -1; }
.hero-collage img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; object-position: var(--focal, 55% 26%); }
.hero-collage a.feature img { aspect-ratio: 16 / 9; }
.hero-collage .cc-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 14px 10px; background: linear-gradient(180deg, transparent, rgba(30, 20, 10, 0.78)); color: var(--white); font-family: var(--serif); font-weight: 600; font-size: 14px; }

/* featured strip */
.featured { padding-top: 34px; }
.strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
@media (max-width: 900px) { .strip { grid-template-columns: repeat(3, 1fr); } }

/* ---------------------------------------- shelves + book grid */
.shelf { max-width: var(--max); margin: 0 auto; padding: 72px 44px 8px; }
.shelf-sub { color: var(--ink-soft); max-width: 620px; margin: -6px 0 26px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 16px; }
.card { position: relative; border-radius: 20px; overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.card > img, .card .card-art { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.card .card-blank { width: 100%; aspect-ratio: 16 / 10; background: radial-gradient(circle at 70% 30%, var(--cream-2), var(--parchment)); }
.card-name { display: flex; align-items: baseline; gap: 8px; padding: 12px 14px; font-family: var(--serif); font-weight: 600; font-size: 15.5px; color: var(--ink); }
.card-name em { font-style: normal; font-size: 0.72rem; color: var(--gold-2); font-weight: 700; }

.story-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.story-card { border-radius: 20px; overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform 0.2s, border-color 0.2s; }
.story-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.story-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.story-card span { display: block; padding: 13px 16px; font-family: var(--serif); font-weight: 600; color: var(--ink); }

/* ---------------------------------------- book: brief + ghost numeral */
.brief { position: relative; overflow: hidden; }
.ghost-num { position: absolute; top: -6%; right: -3%; z-index: 0; pointer-events: none; font-family: var(--serif); font-weight: 900; font-size: min(42rem, 48vw); line-height: 0.7; color: transparent; -webkit-text-stroke: 2px rgba(201, 150, 47, 0.2); letter-spacing: -0.04em; user-select: none; }
.brief-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 60px; align-items: start; }
.brief-side .sec-head { margin-bottom: 22px; }
.brief-meta { display: flex; flex-direction: column; margin-top: 20px; }
.brief-meta .row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.brief-meta .row:first-child { border-top: 1px solid var(--line); }
.brief-meta .k { font-family: var(--sans); font-weight: 600; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-faint); }
.brief-meta .v { font-family: var(--serif); font-weight: 600; font-size: 16px; color: var(--ink); }
.brief-body p { font-size: 17px; color: var(--ink-soft); margin-bottom: 20px; line-height: 1.72; }
.brief-body p.lead { font-size: 19px; color: var(--ink); }
.brief-body p.lead::first-letter { font-family: var(--serif); font-weight: 700; font-size: 4.4rem; line-height: 0.7; float: left; margin: 9px 16px 0 0; background: linear-gradient(160deg, var(--gold-2), var(--terra)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.chips { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 14px; }

/* ---------------------------------------- warm verse band */
.band { position: relative; overflow: hidden; padding: 0; background: radial-gradient(900px 520px at 78% 8%, rgba(230, 200, 119, 0.36), transparent 62%), linear-gradient(150deg, var(--terra) 0%, var(--terra-deep) 62%, #843f26 100%); }
.band::before { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: 0.5; mix-blend-mode: overlay; pointer-events: none; }
.band-in { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.35fr 0.9fr; gap: 56px; align-items: center; padding: 88px 44px; }
.band-text .kicker { color: #f6e6c9; margin-bottom: 28px; }
.band-text .kicker::before { background: var(--gold-soft); }
.band-quote { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: clamp(1.9rem, 4vw, 3.2rem); line-height: 1.16; letter-spacing: -0.015em; color: var(--cream); }
.band-quote b { font-style: normal; font-weight: 600; color: var(--gold-soft); }
.band-cite { margin-top: 28px; font-family: var(--sans); font-weight: 700; font-size: 12.5px; letter-spacing: 0.26em; text-transform: uppercase; color: #f0d9b4; }
.band-cite span { color: var(--cream); opacity: 0.7; margin-left: 14px; font-weight: 600; letter-spacing: 0.14em; }
.band-art { position: relative; }
.band-art .oval { border-radius: 26px; overflow: hidden; border: 8px solid rgba(255, 253, 248, 0.9); box-shadow: 0 40px 90px -34px rgba(60, 24, 10, 0.7); }
.band-art .oval img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: var(--focal, 54% 28%); }

/* ---------------------------------------- two panels */
.panels { display: grid; grid-template-columns: 1.18fr 0.82fr; gap: 34px; align-items: start; }
.panel { background: var(--white); border-radius: 30px; padding: 42px 40px 32px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); position: relative; overflow: hidden; }
.panel.alt { background: linear-gradient(160deg, var(--cream-2), var(--parchment)); border: 1px solid var(--line-strong); }
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1.5px solid var(--line); }
.panel-head h3 { font-size: 1.7rem; }
.panel-head .tag { font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-2); white-space: nowrap; }
.outline { list-style: none; display: flex; flex-direction: column; }
.outline li { display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 17px 0; align-items: baseline; border-top: 1px solid rgba(201, 150, 47, 0.16); }
.outline li:first-child { border-top: none; padding-top: 2px; }
.o-num { font-family: var(--serif); font-weight: 400; font-size: 2.5rem; line-height: 0.8; color: transparent; -webkit-text-stroke: 1.4px var(--gold); min-width: 50px; transition: 0.2s; }
.outline li:nth-child(even) .o-num { -webkit-text-stroke-color: var(--terra-soft); }
.outline strong { font-family: var(--serif); font-weight: 600; font-size: 16.5px; color: var(--ink); display: block; margin-bottom: 3px; }
.outline span { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }
.people { list-style: none; display: flex; flex-direction: column; }
.people li { padding: 18px 0; border-top: 1px solid var(--line); }
.people li:first-child { border-top: none; padding-top: 2px; }
.people strong { display: block; font-family: var(--serif); font-weight: 700; font-size: 1.18rem; color: var(--terra); margin-bottom: 4px; }
.people span { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }

/* ---------------------------------------- verses */
.verse-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.verse-row.one { max-width: 640px; margin: 0 auto; }
.verse { position: relative; background: linear-gradient(165deg, var(--white), var(--gold-tint)); border-radius: 24px; padding: 42px 30px 32px; box-shadow: var(--shadow-md); border: 1px solid var(--line-strong); overflow: hidden; transition: transform 0.25s, box-shadow 0.25s; margin: 0; }
.verse:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.verse::before { content: "\201C"; position: absolute; top: 2px; left: 20px; font-family: var(--serif); font-weight: 900; font-size: 110px; color: rgba(201, 150, 47, 0.2); line-height: 1; }
.verse p { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 17.5px; line-height: 1.48; color: var(--ink); position: relative; margin: 24px 0 20px; }
.verse cite { font-family: var(--sans); font-style: normal; font-weight: 700; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--terra); display: flex; align-items: center; gap: 11px; }
.verse cite::before { content: ""; width: 22px; height: 1.5px; background: var(--terra); border-radius: 2px; }

/* ---------------------------------------- quiz */
.quiz-zone { max-width: var(--max); margin: 0 auto; padding: 84px 44px 0; }
.quiz-wrap { position: relative; background: linear-gradient(160deg, var(--cream-2), var(--parchment)); border-radius: 40px; padding: 56px; box-shadow: var(--shadow-xl); overflow: hidden; border: 1px solid var(--line-strong); }
.quiz-wrap::before { content: ""; position: absolute; top: -120px; right: -90px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(230, 200, 119, 0.5), transparent 68%); }
.quiz-wrap::after { content: ""; position: absolute; bottom: -140px; left: -80px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(211, 138, 99, 0.24), transparent 68%); }
.quiz-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 46px; align-items: center; }
.quiz-intro .kicker { margin-bottom: 18px; }
.quiz-intro h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-bottom: 14px; letter-spacing: -0.02em; }
.quiz-intro p { color: var(--ink-soft); font-size: 16px; margin-bottom: 26px; max-width: 340px; }
.quiz-stats { display: flex; gap: 14px; }
.qstat { background: var(--white); border-radius: 18px; padding: 15px 20px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); text-align: center; min-width: 78px; }
.qstat .big { font-family: var(--serif); font-weight: 700; font-size: 27px; color: var(--gold-2); line-height: 1; }
.qstat .lbl { font-family: var(--sans); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-faint); margin-top: 6px; }

/* interactive quiz card (rendered by quiz.js into .quiz-app) */
.quiz-app { background: var(--white); border-radius: 26px; box-shadow: var(--shadow-xl); border: 1px solid var(--line-strong); overflow: hidden; }
.qz-start, .qz-end { padding: 40px 34px; text-align: center; }
.qz-start h3, .qz-end h3 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-bottom: 10px; }
.qz-start p, .qz-end p { color: var(--ink-soft); margin-bottom: 22px; }
.qz-pick { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
.qz-pick button { font-family: var(--sans); font-weight: 600; font-size: 14px; color: var(--ink-soft); background: var(--cream); border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 18px; cursor: pointer; }
.qz-pick button.on { color: #4a3413; background: linear-gradient(145deg, var(--gold-soft), var(--gold)); border-color: var(--gold); font-weight: 700; }
.qz-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 30px; border-bottom: 1px solid var(--line); background: rgba(246, 236, 210, 0.5); }
.qz-top span:first-child { font-family: var(--serif); font-weight: 700; font-size: 14px; color: var(--gold-2); }
.qz-top span:last-child { font-family: var(--sans); font-weight: 700; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); }
.qz-bar { height: 7px; background: var(--parchment-deep); overflow: hidden; }
.qz-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-soft), var(--gold)); transition: width 0.3s ease; }
.qz-q { font-family: var(--serif); font-weight: 600; font-size: clamp(1.3rem, 2.4vw, 1.65rem); line-height: 1.24; margin: 0; padding: 34px 34px 24px; color: var(--ink); }
.qz-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 0 34px; }
.qz-opts button { display: flex; align-items: center; gap: 15px; width: 100%; text-align: left; cursor: pointer; font-family: var(--sans); font-weight: 600; font-size: 15.5px; color: var(--ink); background: var(--cream); border: 1.5px solid var(--line-strong); border-radius: 16px; padding: 16px 18px; transition: all 0.18s; }
.qz-opts button:hover:not(:disabled) { border-color: var(--gold); background: var(--gold-tint); transform: translateY(-2px); }
.qz-opts .ltr { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 15px; background: var(--white); color: var(--gold-2); box-shadow: var(--shadow-sm); }
.qz-opts button.correct { border-color: var(--olive); background: #eef0d8; }
.qz-opts button.correct .ltr { background: var(--olive); color: var(--white); }
.qz-opts button.wrong { border-color: var(--red); background: #f6e2dc; }
.qz-opts button.wrong .ltr { background: var(--red); color: var(--white); }
.qz-opts button:disabled { cursor: default; }
.qz-after { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 34px; margin-top: 22px; border-top: 1px solid var(--line); min-height: 40px; }
.qz-ref { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--ink-faint); }
.qz-next { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-weight: 700; background: var(--terra); color: var(--white); border: none; border-radius: 999px; padding: 12px 24px; cursor: pointer; font-size: 14px; transition: transform 0.2s; }
.qz-next:hover { transform: translateX(3px); }
.qz-score-big { font-family: var(--serif); font-weight: 800; font-size: clamp(3rem, 9vw, 4.4rem); line-height: 1; margin: 8px 0 6px; background: linear-gradient(160deg, var(--gold-2), var(--terra)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.qz-verdict { font-family: var(--serif); font-style: italic; color: var(--ink-soft); }
.qz-end .btn { margin: 8px 6px 0; }
.pack-line { text-align: center; color: var(--ink-soft); margin-top: 20px; font-size: 15px; }

/* ---------------------------------------- watch / video */
.watch { max-width: var(--max); margin: 0 auto; padding: 84px 44px 0; }
.watch .sec-head { text-align: center; margin-left: auto; margin-right: auto; }
.watch .center-head { justify-content: center; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 440px)); gap: 24px; justify-content: center; }
.video-grid.one { grid-template-columns: minmax(280px, 660px); }
.yt { }
.yt-load { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 8px solid var(--white); border-radius: 26px; overflow: hidden; cursor: pointer; background: var(--parchment); padding: 0; box-shadow: var(--shadow-lg); }
.yt-load img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.yt-load:hover img { transform: scale(1.03); }
.yt-load::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(55, 41, 26, 0.4)); }
.yt-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%; background: rgba(255, 253, 248, 0.94); display: grid; place-items: center; z-index: 2; box-shadow: 0 16px 36px -10px rgba(55, 41, 26, 0.55); transition: transform 0.2s; }
.yt-load:hover .yt-play { transform: translate(-50%, -50%) scale(1.08); }
.yt-play svg { width: 58px; }
.yt iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 20px; }
.yt-title { font-family: var(--serif); font-weight: 600; margin: 14px 4px 0; font-size: 16px; }
.teaser-wrap { max-width: 660px; margin: 0 auto 24px; }
.teaser { width: 100%; display: block; border-radius: 20px; border: 8px solid var(--white); box-shadow: var(--shadow-lg); }

/* ---------------------------------------- downloads page */
.dl-hero { padding: 60px 0 30px; }
.dl-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.dl-list a { display: flex; align-items: baseline; gap: 10px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); transition: border-color 0.18s, transform 0.18s; }
.dl-list a:hover { border-color: var(--gold); transform: translateY(-2px); }
.dl-list em { font-style: normal; font-size: 0.74rem; color: var(--gold-2); font-weight: 700; min-width: 18px; }
.dl-list strong { font-family: var(--serif); font-weight: 600; }
.dl-chip { margin-left: auto; font-family: var(--sans); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; color: var(--terra); border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px 10px; }

/* ---------------------------------------- inquiry form */
.church { max-width: 720px; margin: 0 auto; padding: 80px 44px; text-align: center; }
.church > p { color: var(--ink-soft); font-size: 17px; }
.church .sec-title { margin-bottom: 14px; }
.inq-form { max-width: 560px; margin: 28px auto 0; text-align: left; }
.inq-form label { display: block; font-family: var(--serif); font-weight: 600; font-size: 15px; color: var(--ink); margin-bottom: 14px; }
.inq-form input, .inq-form textarea, .inq-form select { display: block; width: 100%; margin-top: 6px; font: inherit; font-family: var(--sans); font-size: 15px; color: var(--ink); background: var(--white); border: 1px solid var(--line-strong); border-radius: 12px; padding: 11px 14px; }
.inq-form input:focus, .inq-form textarea:focus, .inq-form select:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.inq-form select { appearance: none; }
.inq-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .inq-row { grid-template-columns: 1fr; } }
.inq-trap { position: absolute; left: -9999px; }
.inq-error { color: var(--red); min-height: 1.2em; margin: 0 0 10px; }
.inq-form .btn { width: 100%; justify-content: center; }
.inq-form .btn:disabled { opacity: 0.6; cursor: default; transform: none; }
.inq-note { text-align: center; color: var(--ink-faint); font-size: 14px; font-style: italic; margin-top: 12px; }
.inq-success { max-width: 560px; margin: 28px auto 0; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 30px 32px; background: var(--white); box-shadow: var(--shadow-md); }
.inq-success h3 { margin-bottom: 8px; color: var(--terra); font-size: 1.4rem; }
.inq-success p { color: var(--ink-soft); }

/* ---------------------------------------- contact modal */
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--terra); cursor: pointer; }
.linklike:hover { text-decoration: underline; text-underline-offset: 3px; }
.email-modal { display: none; position: fixed; inset: 0; z-index: 90; background: rgba(55, 41, 26, 0.55); backdrop-filter: blur(6px); align-items: center; justify-content: center; padding: 20px; }
.email-modal.active { display: flex; }
.email-modal-content { background: var(--white); border: 1px solid var(--line-strong); border-radius: 24px; padding: 34px 32px; max-width: 420px; width: 100%; box-shadow: var(--shadow-xl); animation: rise 0.25s ease-out; }
.email-modal h3 { margin-bottom: 8px; font-size: 1.4rem; color: var(--terra); }
.email-modal p { margin-bottom: 16px; color: var(--ink-soft); font-size: 15px; }
.math-problem { font-family: var(--serif); font-size: 1.8rem; font-weight: 700; color: var(--gold-2); text-align: center; margin: 14px 0; }
.email-input { width: 100%; font: inherit; font-size: 1.1rem; color: var(--ink); background: var(--cream); border: 1px solid var(--line-strong); border-radius: 10px; padding: 10px 14px; text-align: center; }
.email-input:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.email-error { display: none; color: var(--red); font-size: 0.9rem; margin: 10px 0 0; }
.email-error.active { display: block; }
.email-buttons { display: flex; gap: 10px; justify-content: center; margin-top: 18px; }
.qz-pick-btn { font-family: var(--sans); font-weight: 600; font-size: 0.98rem; color: var(--ink-soft); background: var(--cream); border: 1px solid var(--line-strong); border-radius: 999px; padding: 10px 22px; cursor: pointer; }
.qz-pick-btn:hover { color: var(--gold-2); border-color: var(--gold); }
.email-address { font-family: var(--serif); font-size: 1.25rem; color: var(--terra); text-align: center; padding: 14px; border: 1px dashed var(--line-strong); border-radius: 10px; margin: 6px 0 4px; user-select: all; }
.email-alt { font-size: 0.9rem; text-align: center; margin: 16px 0 0; border-top: 1px solid var(--line); padding-top: 14px; color: var(--ink-soft); }

/* ---------------------------------------- pager */
.pager { max-width: var(--max); margin: 0 auto; padding: 84px 44px 20px; display: flex; justify-content: space-between; gap: 14px; }
.pg { border: 1px solid var(--line); border-radius: 18px; padding: 16px 24px; min-width: 190px; background: var(--white); box-shadow: var(--shadow-sm); transition: border-color 0.18s, transform 0.18s; }
.pg:hover { border-color: var(--gold); transform: translateY(-2px); }
.pg span { display: block; font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 4px; }
.pg strong { font-family: var(--serif); color: var(--terra); font-size: 1.15rem; }
.pg.next { text-align: right; margin-left: auto; }
.more-stories { max-width: var(--max); margin: 0 auto; padding: 84px 44px 20px; }

/* ---------------------------------------- legal */
.legal { max-width: 720px; margin: 0 auto; padding: 60px 44px 20px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 6px; }
.legal h2 { text-align: left; font-size: 1.35rem; margin: 34px 0 10px; color: var(--terra); }
.legal p { margin: 0 0 1.1em; color: var(--ink-soft); }
.legal .muted { color: var(--ink-faint); font-style: italic; }

/* ---------------------------------------- footer */
.foot { position: relative; margin-top: 40px; overflow: hidden; background: linear-gradient(180deg, var(--parchment), var(--parchment-deep)); border-top: 1px solid var(--line-strong); padding: 78px 44px 46px; text-align: center; }
.foot::before { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: 0.5; pointer-events: none; }
.foot-verse { position: relative; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.4rem, 3vw, 2.1rem); color: var(--ink); max-width: 720px; margin: 0 auto 10px; line-height: 1.36; }
.foot-verse .em { font-style: normal; background: linear-gradient(150deg, var(--gold-2), var(--terra)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.foot-ref { position: relative; font-family: var(--sans); font-weight: 700; font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--terra); margin-bottom: 40px; }
.foot p.tag { position: relative; color: var(--ink-soft); max-width: 620px; margin: 0 auto 14px; }
.foot-links { position: relative; display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; font-family: var(--sans); font-weight: 600; font-size: 14px; color: var(--ink-soft); }
.foot-links a { color: var(--ink-soft); }
.foot-links a:hover { color: var(--gold-2); }

/* ---------------------------------------- responsive */
@media (max-width: 980px) {
  .wrap, .nav, .shelf, .quiz-zone, .watch, .pager, .more-stories, .church, .legal { padding-left: 24px; padding-right: 24px; }
  .hero-grid, .home-hero-grid, .brief-inner, .panels, .quiz-grid, .band-in { grid-template-columns: 1fr; gap: 40px; }
  .band-in { padding: 64px 24px; }
  .band-art { max-width: 420px; margin: 0 auto; }
  .verse-row, .qz-opts { grid-template-columns: 1fr; }
  .ghost-num { font-size: 60vw; top: -2%; }
  .quiz-wrap { padding: 34px 26px; }
  .hero-collage { max-width: 460px; margin: 0 auto; }
}
