/* The Midnight Cry — colors from the ministry logo: lime-to-green gradient, dark slate, white. Deep forest-green
   surfaces; sunny yellow, red and blue for the kids' world. Layout: mobile-first app shell, bento sections, bottom tab bar on phones. */
:root{
  --bg:#F3F7F2; --surface:#FFFFFF; --surface-2:#E6EFE6; --ink:#10231B; --muted:#4B6358; --line:#D2E0D5;
  --lamp:#2F8F3A; --lamp-ink:#FFFFFF; --lamp-soft:#E1F2DB; --dawn:#8A6A00; --dawn-soft:#FFF4C7; --sky:#1F5FD0;
  --sun:#FFD84D; --kred:#E3241B; --kblue:#2563EB; --kpink:#F26B6B; --slate:#14252C;
  --danger:#B42318; --warn:#A15C00; --ok:#2F8F3A;
  --glass:rgba(255,255,255,.78); --shadow:0 10px 30px -12px rgba(16,35,27,.25);
  --font-display:"Fraunces", Georgia, "Times New Roman", serif;
  --font-body:"Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-kids:"Baloo 2", "Figtree", system-ui, sans-serif;
  --r:18px; --r-sm:12px; --fs:1rem; --maxw:1240px;
  color-scheme: light;
}
:root[data-theme="dark"]{
  --bg:#0D2119; --surface:#12291F; --surface-2:#193628; --ink:#EEF5EF; --muted:#A7C1B3; --line:#24443A;
  --lamp:#7AC943; --lamp-ink:#0B1F14; --lamp-soft:#1B3A20; --dawn:#FFD84D; --dawn-soft:#2E3316; --sky:#8AB4FF;
  --danger:#FF8A80; --warn:#FFC266; --ok:#7AC943;
  --glass:rgba(13,33,25,.78); --shadow:0 20px 40px -18px rgba(0,0,0,.7);
  color-scheme: dark;
}
:root[data-contrast="high"]{ --muted:var(--ink); --line:var(--ink); }
:root[data-contrast="high"][data-theme="dark"]{ --bg:#000; --surface:#000; --surface-2:#0a0a0a; --lamp:#FFD34D; }
:root[data-contrast="high"]:not([data-theme="dark"]){ --bg:#fff; --surface:#fff; --lamp:#6A3D00; }
:root[data-dyslexia="on"]{ --font-body:"Atkinson Hyperlegible", system-ui, sans-serif; --font-display:"Atkinson Hyperlegible", system-ui, sans-serif; letter-spacing:.02em; }
:root[dir="rtl"]{ --font-body:"Noto Kufi Arabic", "Figtree", system-ui, sans-serif; --font-display:"Noto Kufi Arabic", Georgia, serif; --font-kids:"Noto Kufi Arabic", system-ui, sans-serif; }
:root[data-links="underline"] a{ text-decoration:underline !important; }

*{ box-sizing:border-box; }
html{ font-size:calc(16px * var(--scale,1)); -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{ margin:0; background:var(--bg); color:var(--ink); font-family:var(--font-body); line-height:1.6; min-height:100%; }
img{ max-width:100%; display:block; }
a{ color:inherit; }
button,input,select,textarea{ font:inherit; color:inherit; }
h1,h2,h3,h4{ font-family:var(--font-display); line-height:1.15; text-wrap:balance; margin:0 0 .5em; font-weight:600; }
h1{ font-size:clamp(2.1rem, 6vw, 4.2rem); letter-spacing:-.02em; }
h2{ font-size:clamp(1.6rem, 3.6vw, 2.5rem); letter-spacing:-.01em; }
h3{ font-size:1.25rem; }
p{ margin:0 0 1em; max-width:68ch; }
:focus-visible{ outline:3px solid var(--lamp); outline-offset:3px; border-radius:6px; }
.sr-only{ 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:999; background:var(--lamp); color:var(--lamp-ink); padding:.6rem 1rem; border-radius:10px; font-weight:700; }
.skip:focus{ top:12px; }
@media (prefers-reduced-motion: reduce){ *{ animation:none!important; transition:none!important; scroll-behavior:auto!important; } }
:root[data-motion="off"] *{ animation:none!important; transition:none!important; }

.wrap{ width:100%; max-width:var(--maxw); margin:0 auto; padding:0 16px; }
@media (min-width:720px){ .wrap{ padding:0 28px; } }
.eyebrow{ font-size:.78rem; letter-spacing:.14em; text-transform:uppercase; font-weight:700; color:var(--lamp); margin-bottom:.6rem; display:block; }
:root[dir="rtl"] .eyebrow{ letter-spacing:0; }
.muted{ color:var(--muted); }
.tnum{ font-variant-numeric:tabular-nums; }

/* buttons & chips */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:.5rem; min-height:46px; padding:.7rem 1.2rem; border-radius:999px; border:1px solid var(--line); background:var(--surface); font-weight:700; text-decoration:none; cursor:pointer; transition:transform .15s, background .2s, border-color .2s; }
.btn:hover{ transform:translateY(-1px); border-color:var(--lamp); }
.btn-lamp{ background:var(--lamp); color:var(--lamp-ink); border-color:transparent; box-shadow:0 8px 24px -10px var(--lamp); }
.btn-dawn{ background:var(--dawn); color:#06210F; border-color:transparent; }
:root:not([data-theme="dark"]) .btn-dawn{ color:#fff; }
.btn-ghost{ background:transparent; }
.btn-sm{ min-height:36px; padding:.4rem .9rem; font-size:.9rem; }
.btn svg{ width:18px; height:18px; flex:none; }
.chip{ display:inline-flex; align-items:center; gap:.35rem; padding:.25rem .7rem; border-radius:999px; font-size:.8rem; font-weight:700; background:var(--surface-2); color:var(--muted); border:1px solid var(--line); }
.chip.lamp{ background:var(--lamp-soft); color:var(--lamp); border-color:transparent; }
.chip.dawn{ background:var(--dawn-soft); color:var(--dawn); border-color:transparent; }
.chip.danger{ background:color-mix(in srgb, var(--danger) 16%, transparent); color:var(--danger); border-color:transparent; }
.chip.warn{ background:color-mix(in srgb, var(--warn) 18%, transparent); color:var(--warn); border-color:transparent; }
.chips{ display:flex; flex-wrap:wrap; gap:.5rem; }
button.chip{ cursor:pointer; min-height:36px; }
button.chip[aria-pressed="true"]{ background:var(--lamp); color:var(--lamp-ink); }

/* header */
.topbar{ position:sticky; top:0; z-index:50; background:var(--glass); backdrop-filter:saturate(1.4) blur(14px); -webkit-backdrop-filter:saturate(1.4) blur(14px); border-bottom:1px solid var(--line); }
.topbar .wrap{ display:flex; align-items:center; gap:12px; min-height:64px; }
.brand{ display:flex; align-items:center; gap:10px; text-decoration:none; flex:none; }
.brand-mark{ width:40px; height:40px; flex:none; }
.brand-txt{ display:flex; flex-direction:column; line-height:1.05; }
.brand-txt b{ font-family:var(--font-display); font-size:1.18rem; letter-spacing:-.01em; }
.brand-txt small{ font-size:.66rem; color:var(--muted); letter-spacing:.08em; text-transform:uppercase; font-weight:700; }
.nav{ display:none; margin-inline-start:auto; gap:2px; }
.nav a{ text-decoration:none; padding:.55rem .75rem; border-radius:10px; font-weight:600; font-size:.93rem; color:var(--muted); }
.nav a:hover,.nav a[aria-current="page"]{ color:var(--ink); background:var(--surface-2); }
.nav a.kids-link{ color:var(--dawn); }
.tools{ display:flex; align-items:center; gap:6px; margin-inline-start:auto; }
.icon-btn{ width:42px; height:42px; display:grid; place-items:center; border-radius:12px; border:1px solid var(--line); background:var(--surface); cursor:pointer; }
.icon-btn svg{ width:20px; height:20px; }
.lang-select{ height:42px; border-radius:12px; border:1px solid var(--line); background:var(--surface); padding:0 .5rem; font-weight:700; }
.give-btn{ display:none; }
@media (min-width:1080px){ .nav{ display:flex; } .tools{ margin-inline-start:12px; } .give-btn{ display:inline-flex; } .menu-btn{ display:none; } }

/* drawer */
.drawer{ position:fixed; inset:0; z-index:80; display:none; }
.drawer.open{ display:block; }
.drawer .scrim{ position:absolute; inset:0; background:rgba(3,6,15,.6); }
.drawer .panel{ position:absolute; inset-block:0; inset-inline-end:0; width:min(92vw,380px); background:var(--surface); padding:20px; overflow:auto; display:flex; flex-direction:column; gap:6px; border-inline-start:1px solid var(--line); }
.drawer .panel a{ text-decoration:none; padding:.8rem 1rem; border-radius:12px; font-weight:600; }
.drawer .panel a:hover{ background:var(--surface-2); }
.drawer h4{ font-family:var(--font-body); font-size:.75rem; text-transform:uppercase; letter-spacing:.12em; color:var(--muted); margin:14px 0 4px; }

/* bottom tabs (mobile first) */
.tabbar{ position:fixed; inset-inline:0; bottom:0; z-index:60; display:grid; grid-template-columns:repeat(5,1fr); background:var(--glass); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px); border-top:1px solid var(--line); padding-bottom:env(safe-area-inset-bottom); }
.tabbar a,.tabbar button{ display:flex; flex-direction:column; align-items:center; gap:2px; padding:8px 2px 9px; font-size:.7rem; font-weight:700; text-decoration:none; color:var(--muted); background:none; border:0; cursor:pointer; }
.tabbar svg{ width:22px; height:22px; }
.tabbar [aria-current="page"]{ color:var(--lamp); }
body{ padding-bottom:72px; }
@media (min-width:1080px){ .tabbar{ display:none; } body{ padding-bottom:0; } }

/* hero */
.hero{ position:relative; overflow:hidden; isolation:isolate; padding:56px 0 40px; }
.hero-bg{ position:absolute; inset:0; z-index:-2; background-size:cover; background-position:center 70%; }
.hero::before{ content:""; position:absolute; inset:0; z-index:-1; background:
   radial-gradient(60% 50% at 78% 70%, rgba(122,201,67,.30), transparent 70%),
   linear-gradient(180deg, rgba(6,22,15,.86) 0%, rgba(6,22,15,.55) 45%, rgba(6,22,15,.92) 100%); }
#stars{ position:absolute; inset:0; z-index:-1; width:100%; height:100%; opacity:.8; }
.hero, .hero h1, .hero p{ color:#F3F5FB; }
.hero .muted{ color:#C6D9CD; }
.hero .eyebrow{ color:#7AC943; }
.hero-grid{ display:grid; gap:28px; }
.hero h1 em{ font-style:italic; color:#7AC943; }
.hero-verse{ border-inline-start:3px solid #7AC943; padding-inline-start:14px; font-family:var(--font-display); font-style:italic; font-size:1.05rem; color:#E4EFE7; max-width:52ch; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.hero .btn:not(.btn-lamp){ background:rgba(255,255,255,.08); color:#fff; border-color:rgba(255,255,255,.25); }
.service-card{ background:rgba(8,24,17,.66); border:1px solid rgba(255,255,255,.14); border-radius:var(--r); padding:18px; backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); color:#EDF1FA; }
.service-card h3{ font-size:1.05rem; margin-bottom:.3rem; }
.service-row{ display:flex; justify-content:space-between; gap:10px; padding:.55rem 0; border-bottom:1px dashed rgba(255,255,255,.16); }
.service-row:last-of-type{ border-bottom:0; }
.service-row b{ color:#7AC943; }
.live-dot{ width:8px; height:8px; border-radius:50%; background:#7BD992; display:inline-block; box-shadow:0 0 0 4px rgba(123,217,146,.25); }
@media (min-width:900px){ .hero{ padding:96px 0 72px; } .hero-grid{ grid-template-columns:1.35fr .9fr; align-items:end; } }

/* sections */
.section{ padding:48px 0; }
@media (min-width:900px){ .section{ padding:80px 0; } }
.section-head{ display:flex; flex-wrap:wrap; align-items:end; justify-content:space-between; gap:12px 24px; margin-bottom:24px; }
.section-head p{ margin:0; color:var(--muted); }
.card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r); padding:20px; }
.card-media{ border-radius:var(--r); overflow:hidden; background:var(--surface-2); }
.grid{ display:grid; gap:16px; }
@media (min-width:640px){ .g2{ grid-template-columns:repeat(2,1fr); } .g3{ grid-template-columns:repeat(2,1fr);} .g4{ grid-template-columns:repeat(2,1fr);} }
@media (min-width:980px){ .g3{ grid-template-columns:repeat(3,1fr);} .g4{ grid-template-columns:repeat(4,1fr);} }

/* KIDS — dawn world */
.kids-band{ position:relative; overflow:hidden; background:
   radial-gradient(80% 60% at 10% 0%, color-mix(in srgb, var(--dawn) 26%, transparent), transparent 70%),
   radial-gradient(60% 60% at 100% 100%, color-mix(in srgb, var(--lamp) 22%, transparent), transparent 70%), var(--surface); border-block:1px solid var(--line); }
.kids-band h2,.kids h1,.kids h2,.kids h3{ font-family:var(--font-kids); font-weight:800; letter-spacing:0; }
.kids-feature{ display:grid; gap:18px; }
@media (min-width:980px){ .kids-feature{ grid-template-columns:1.5fr 1fr; } }
.ep-hero{ position:relative; border-radius:24px; overflow:hidden; background:#000; aspect-ratio:16/9; }
.ep-hero img{ width:100%; height:100%; object-fit:cover; }
.ep-hero .ep-over{ position:absolute; inset:auto 0 0 0; padding:18px; background:linear-gradient(0deg, rgba(0,0,0,.85), transparent); color:#fff; }
.ep-hero .ep-over h3{ font-family:var(--font-kids); font-size:clamp(1.2rem,3vw,1.8rem); margin:.3rem 0; }
.play-big{ position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:78px; height:78px; border-radius:50%; display:grid; place-items:center; background:#7AC943; color:#0B1F14; border:0; cursor:pointer; box-shadow:0 0 0 10px rgba(122,201,67,.25); }
.play-big svg{ width:32px; height:32px; margin-inline-start:4px; }
.countdown{ display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin:12px 0; }
.countdown div{ background:var(--surface-2); border-radius:14px; padding:10px 4px; text-align:center; border:1px solid var(--line); }
.countdown b{ display:block; font-family:var(--font-kids); font-size:1.7rem; line-height:1; color:var(--dawn); }
.countdown span{ font-size:.7rem; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); font-weight:700; }
.ep-row{ display:grid; grid-auto-flow:column; grid-auto-columns:minmax(220px, 1fr); gap:14px; overflow-x:auto; padding-bottom:8px; scroll-snap-type:x mandatory; }
.ep-row > *{ scroll-snap-align:start; }
.vcard{ display:flex; flex-direction:column; gap:8px; background:var(--surface); border:1px solid var(--line); border-radius:18px; padding:10px; cursor:pointer; text-align:start; transition:transform .15s, border-color .15s; width:100%; }
.vcard:hover{ transform:translateY(-3px); border-color:var(--dawn); }
.vthumb{ position:relative; aspect-ratio:16/9; border-radius:12px; overflow:hidden; display:grid; place-items:center; }
.vthumb img{ width:100%; height:100%; object-fit:cover; }
.vthumb .art{ position:absolute; inset:0; display:flex; flex-direction:column; justify-content:flex-end; padding:10px; color:#fff; font-family:var(--font-kids); font-weight:800; line-height:1.1; font-size:1.02rem; text-shadow:0 2px 8px rgba(0,0,0,.4); }
.vthumb .art svg{ position:absolute; inset-inline-end:8px; top:8px; width:46%; height:auto; opacity:.95; }
.vthumb .dur{ position:absolute; inset-inline-end:8px; bottom:8px; background:rgba(0,0,0,.75); color:#fff; font-size:.72rem; font-weight:700; padding:1px 6px; border-radius:6px; }
.vthumb .new{ position:absolute; inset-inline-start:8px; top:8px; background:#7AC943; color:#0B1F14; font-size:.7rem; font-weight:800; padding:2px 8px; border-radius:999px; }
.vcard h4{ font-family:var(--font-kids); font-size:.98rem; font-weight:700; margin:0; line-height:1.25; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.vcard small{ color:var(--muted); font-weight:600; }
.kids-tabs{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:16px; }

/* games */
.games-grid{ display:grid; gap:14px; grid-template-columns:repeat(2,1fr); }
@media (min-width:900px){ .games-grid{ grid-template-columns:repeat(3,1fr); } }
.game-tile{ border-radius:20px; padding:16px; color:#fff; min-height:150px; display:flex; flex-direction:column; justify-content:space-between; cursor:pointer; border:0; text-align:start; font-family:var(--font-kids); position:relative; overflow:hidden; }
.game-tile b{ font-size:1.15rem; line-height:1.15; font-weight:800; }
.game-tile small{ font-family:var(--font-body); opacity:.92; font-weight:600; font-size:.8rem; }
.game-tile .gi{ font-size:2.2rem; line-height:1; }
.game-stage{ background:var(--surface); border:1px solid var(--line); border-radius:22px; padding:16px; }
.game-bar{ display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:space-between; margin-bottom:12px; font-family:var(--font-kids); }
.memory{ display:grid; grid-template-columns:repeat(4,1fr); gap:8px; max-width:480px; margin:0 auto; }
.mcard{ aspect-ratio:1; border-radius:14px; border:2px solid var(--line); background:linear-gradient(135deg,#1d3b8f,#3a63d8); font-size:clamp(1.6rem,6vw,2.4rem); cursor:pointer; display:grid; place-items:center; color:transparent; }
.mcard.flip,.mcard.done{ background:var(--surface-2); color:inherit; }
.mcard.done{ border-color:var(--dawn); }
.rain{ height:10px; border-radius:999px; background:var(--surface-2); overflow:hidden; }
.rain i{ display:block; height:100%; background:linear-gradient(90deg,#5aa0ff,#2f5bd3); width:0; transition:width .3s; }
canvas.game{ width:100%; max-width:640px; aspect-ratio:4/3; display:block; margin:0 auto; border-radius:16px; background:#0d1a3a; touch-action:none; }
.puzzle{ display:grid; grid-template-columns:repeat(3,1fr); gap:3px; max-width:420px; margin:0 auto; aspect-ratio:16/9; }
.ptile{ border:0; padding:0; cursor:pointer; background-size:300% 300%; border-radius:6px; outline-offset:-3px; }
.ptile.sel{ outline:4px solid #7AC943; }
.words{ display:flex; flex-wrap:wrap; gap:8px; justify-content:center; }
.word{ font-family:var(--font-kids); font-weight:700; padding:.5rem .9rem; border-radius:12px; border:2px solid var(--line); background:var(--surface-2); cursor:pointer; min-height:44px; }
.answer{ min-height:64px; border:2px dashed var(--line); border-radius:14px; padding:10px; display:flex; flex-wrap:wrap; gap:8px; justify-content:center; margin:12px 0; }
.order-list{ list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.order-list li{ display:flex; align-items:center; gap:10px; padding:10px; border-radius:14px; background:var(--surface-2); border:1px solid var(--line); font-weight:600; }
.order-list li .ctl{ margin-inline-start:auto; display:flex; gap:4px; }
.badge-row{ display:flex; flex-wrap:wrap; gap:10px; }
.badge{ display:flex; align-items:center; gap:8px; padding:8px 12px; border-radius:14px; background:var(--dawn-soft); color:var(--dawn); font-weight:800; font-family:var(--font-kids); }
.badge.locked{ background:var(--surface-2); color:var(--muted); opacity:.7; }

/* modal */
.modal{ position:fixed; inset:0; z-index:90; display:none; align-items:flex-end; justify-content:center; }
.modal.open{ display:flex; }
.modal .scrim{ position:absolute; inset:0; background:rgba(3,6,15,.7); }
.modal .sheet{ position:relative; width:100%; max-width:760px; max-height:92vh; overflow:auto; background:var(--surface); border-radius:24px 24px 0 0; padding:20px; border:1px solid var(--line); }
@media (min-width:720px){ .modal{ align-items:center; } .modal .sheet{ border-radius:24px; padding:28px; } }
.modal .close{ position:absolute; inset-inline-end:14px; top:14px; }

/* chat */
.chat-fab{ position:fixed; inset-inline-end:16px; bottom:86px; z-index:70; display:flex; align-items:center; gap:8px; padding:.75rem 1rem; border-radius:999px; background:var(--lamp); color:var(--lamp-ink); font-weight:800; border:0; cursor:pointer; box-shadow:var(--shadow); }
.chat-fab svg{ width:20px; height:20px; }
@media (min-width:1080px){ .chat-fab{ bottom:22px; } }
.chat{ position:fixed; z-index:75; inset-inline-end:12px; bottom:84px; width:min(420px, calc(100vw - 24px)); height:min(620px, calc(100vh - 120px)); background:var(--surface); border:1px solid var(--line); border-radius:22px; box-shadow:var(--shadow); display:none; flex-direction:column; overflow:hidden; }
.chat.open{ display:flex; }
@media (min-width:1080px){ .chat{ bottom:20px; } }
.chat header{ padding:14px 16px; display:flex; align-items:center; gap:10px; border-bottom:1px solid var(--line); background:var(--surface-2); }
.chat header b{ display:block; }
.chat .log{ flex:1; overflow:auto; padding:14px; display:flex; flex-direction:column; gap:10px; }
.msg{ max-width:88%; padding:10px 12px; border-radius:16px; font-size:.95rem; }
.msg.bot{ background:var(--surface-2); border-end-start-radius:4px; }
.msg.me{ background:var(--lamp); color:var(--lamp-ink); margin-inline-start:auto; border-end-end-radius:4px; }
.msg .src{ display:block; margin-top:6px; font-size:.78rem; font-weight:700; color:var(--lamp); }
.chat form{ display:flex; gap:8px; padding:10px; border-top:1px solid var(--line); }
.chat input{ flex:1; min-height:44px; border-radius:12px; border:1px solid var(--line); background:var(--bg); padding:0 12px; }
.suggest{ display:flex; gap:6px; flex-wrap:wrap; padding:0 14px 10px; }

/* forms */
.field{ display:grid; gap:6px; margin-bottom:12px; }
.field label{ font-weight:700; font-size:.9rem; }
.input, select.input, textarea.input{ width:100%; min-height:46px; border-radius:12px; border:1px solid var(--line); background:var(--bg); padding:.6rem .8rem; }
textarea.input{ min-height:120px; resize:vertical; }
.help{ font-size:.82rem; color:var(--muted); }
.form-row{ display:grid; gap:12px; }
@media (min-width:640px){ .form-row{ grid-template-columns:1fr 1fr; } }
.switch{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:.6rem 0; border-bottom:1px solid var(--line); }
.switch input{ width:44px; height:24px; accent-color:var(--lamp); }

/* lists, tables */
.list{ display:grid; gap:10px; }
.row-item{ display:flex; gap:14px; align-items:center; padding:14px; border-radius:16px; background:var(--surface); border:1px solid var(--line); }
.row-item .num{ font-family:var(--font-display); font-size:1.4rem; color:var(--lamp); width:2.2ch; flex:none; text-align:center; }
.row-item .grow{ flex:1; min-width:0; }
.row-item h4{ margin:0; font-size:1.02rem; font-family:var(--font-body); font-weight:700; }
.table-wrap{ overflow-x:auto; border:1px solid var(--line); border-radius:16px; background:var(--surface); }
table{ width:100%; border-collapse:collapse; font-size:.92rem; }
th,td{ padding:.75rem .9rem; text-align:start; border-bottom:1px solid var(--line); white-space:nowrap; }
th{ font-size:.75rem; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); background:var(--surface-2); }
tr:last-child td{ border-bottom:0; }

/* store */
.product{ display:flex; flex-direction:column; gap:12px; }
.product .pimg{ aspect-ratio:1; background:radial-gradient(70% 70% at 50% 40%, color-mix(in srgb, var(--lamp) 30%, transparent), transparent), var(--surface-2); border-radius:16px; display:grid; place-items:center; padding:16px; }
.product .pimg img{ max-height:100%; object-fit:contain; }
.price{ font-family:var(--font-display); font-size:2rem; font-weight:700; }
.best{ border-color:var(--lamp); box-shadow:0 0 0 2px var(--lamp) inset; }
.ticks{ list-style:none; padding:0; margin:0 0 1rem; display:grid; gap:6px; }
.ticks li{ display:flex; gap:8px; }
.ticks li::before{ content:""; width:18px; height:18px; flex:none; margin-top:3px; border-radius:50%; background:var(--dawn-soft); box-shadow:inset 0 0 0 5px var(--dawn); }

/* music */
.player{ display:grid; gap:12px; background:linear-gradient(135deg, var(--surface-2), var(--surface)); }
.track{ display:flex; align-items:center; gap:12px; padding:10px 12px; border-radius:12px; cursor:pointer; border:0; background:none; width:100%; text-align:start; }
.track:hover,.track[aria-current="true"]{ background:var(--surface-2); }
.track .n{ width:2ch; color:var(--muted); font-variant-numeric:tabular-nums; }
.bars{ display:flex; gap:3px; align-items:end; height:18px; }
.bars i{ width:3px; background:var(--lamp); border-radius:2px; animation:eq 1s infinite ease-in-out; }
.bars i:nth-child(2){ animation-delay:.2s } .bars i:nth-child(3){ animation-delay:.4s }
@keyframes eq{ 0%,100%{ height:4px } 50%{ height:18px } }

/* footer */
.footer{ background:#07170F; color:#C8DACF; padding:56px 0 24px; margin-top:40px; position:relative; overflow:hidden; }
:root:not([data-theme="dark"]) .footer{ background:#0F2A1E; }
.footer::before{ content:""; position:absolute; inset:-40% -10% auto auto; width:520px; height:520px; background:radial-gradient(closest-side, rgba(122,201,67,.18), transparent); pointer-events:none; }
.footer a{ color:#E8ECF6; text-decoration:none; }
.footer a:hover{ color:#7AC943; text-decoration:underline; }
.footer h4{ font-family:var(--font-body); font-size:.75rem; text-transform:uppercase; letter-spacing:.14em; color:#7AC943; margin-bottom:12px; }
.fgrid{ display:grid; gap:28px; grid-template-columns:1fr 1fr; }
.fgrid ul{ list-style:none; margin:0; padding:0; display:grid; gap:8px; font-size:.95rem; }
.fbrand{ grid-column:1/-1; }
@media (min-width:900px){ .fgrid{ grid-template-columns:1.6fr 1fr 1fr 1fr 1.3fr; } .fbrand{ grid-column:auto; } }
.fverse{ font-family:var(--font-display); font-style:italic; font-size:1.15rem; color:#fff; max-width:34ch; }
.fnews{ display:flex; gap:8px; margin-top:10px; }
.fnews input{ flex:1; min-width:0; min-height:44px; border-radius:12px; border:1px solid #2A4A3B; background:#0F2419; color:#fff; padding:0 12px; }
.fbottom{ margin-top:36px; padding-top:18px; border-top:1px solid #1E3A2D; display:flex; flex-wrap:wrap; gap:10px 20px; justify-content:space-between; font-size:.85rem; color:#9DB9AA; }
.fbottom nav{ display:flex; flex-wrap:wrap; gap:6px 16px; }
.social{ display:flex; gap:8px; margin-top:14px; }
.social a{ width:42px; height:42px; display:grid; place-items:center; border-radius:12px; border:1px solid #2A4A3B; }
.social svg{ width:20px; height:20px; }

/* toast */
.toast{ position:fixed; z-index:100; inset-inline:0; bottom:90px; display:flex; justify-content:center; pointer-events:none; }
.toast div{ background:var(--ink); color:var(--bg); padding:.7rem 1.1rem; border-radius:12px; font-weight:700; box-shadow:var(--shadow); max-width:90vw; }

/* page header */
.phead{ padding:40px 0 24px; background:radial-gradient(60% 120% at 90% 0%, color-mix(in srgb, var(--lamp) 14%, transparent), transparent), var(--bg); border-bottom:1px solid var(--line); }
.phead p{ color:var(--muted); font-size:1.08rem; }
.crumbs{ font-size:.85rem; color:var(--muted); margin-bottom:8px; }
.crumbs a{ text-decoration:none; }

/* about */
.bio{ display:grid; gap:24px; }
@media (min-width:900px){ .bio{ grid-template-columns:1fr 1.3fr; align-items:start; } }
.timeline{ list-style:none; margin:0; padding:0; display:grid; gap:0; }
.timeline li{ display:grid; grid-template-columns:72px 1fr; gap:14px; padding:12px 0; border-bottom:1px solid var(--line); }
.timeline b{ font-family:var(--font-display); color:var(--lamp); font-size:1.2rem; }
.staff{ display:grid; gap:14px; grid-template-columns:repeat(2,1fr); }
@media (min-width:760px){ .staff{ grid-template-columns:repeat(4,1fr); } }
.person{ text-align:center; padding:16px 12px; }
.avatar{ width:92px; height:92px; border-radius:50%; margin:0 auto 10px; display:grid; place-items:center; font-family:var(--font-display); font-size:1.8rem; font-weight:700; color:#fff; overflow:hidden; background:linear-gradient(135deg,#3DB54A,#14252C); }
.avatar img{ width:100%; height:100%; object-fit:cover; object-position:top; background:#dfe6f3; }
.person b{ display:block; }
.person small{ color:var(--muted); font-weight:600; }
.quote{ font-family:var(--font-display); font-size:1.35rem; font-style:italic; line-height:1.4; }

/* dashboard */
.dash{ display:grid; gap:16px; padding:20px 0 40px; }
@media (min-width:1000px){ .dash{ grid-template-columns:250px 1fr; align-items:start; } }
.side{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r); padding:10px; display:flex; gap:4px; overflow-x:auto; }
@media (min-width:1000px){ .side{ flex-direction:column; position:sticky; top:84px; } }
.side button{ display:flex; align-items:center; gap:10px; padding:.65rem .8rem; border-radius:12px; border:0; background:none; font-weight:700; color:var(--muted); cursor:pointer; white-space:nowrap; text-align:start; }
.side button svg{ width:18px; height:18px; flex:none; }
.side button[aria-current="true"]{ background:var(--lamp-soft); color:var(--lamp); }
.side .sep{ height:1px; background:var(--line); margin:6px 4px; flex:none; }
.kpis{ display:grid; gap:12px; grid-template-columns:repeat(2,1fr); }
@media (min-width:900px){ .kpis{ grid-template-columns:repeat(4,1fr); } }
.kpi{ padding:16px; }
.kpi small{ color:var(--muted); font-weight:700; font-size:.78rem; text-transform:uppercase; letter-spacing:.08em; }
.kpi b{ display:block; font-family:var(--font-display); font-size:1.9rem; font-variant-numeric:tabular-nums; }
.kpi .delta{ font-size:.82rem; font-weight:700; color:var(--ok); }
.panel-title{ display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:12px; }
.panel-title h3{ margin:0; }
.ai-box{ border:1px solid color-mix(in srgb, var(--lamp) 50%, var(--line)); background:linear-gradient(135deg, var(--lamp-soft), var(--surface)); border-radius:var(--r); padding:18px; }
.ai-tag{ display:inline-flex; align-items:center; gap:6px; font-size:.75rem; font-weight:800; color:var(--lamp); text-transform:uppercase; letter-spacing:.1em; }
.ai-tag svg{ width:16px; height:16px; }
.prio{ border-inline-start:4px solid var(--line); }
.prio.urgent{ border-inline-start-color:var(--danger); }
.login-wrap{ min-height:calc(100vh - 140px); display:grid; place-items:center; padding:32px 16px; background:radial-gradient(60% 60% at 50% 0%, color-mix(in srgb, var(--lamp) 18%, transparent), transparent); }
.login-card{ width:100%; max-width:440px; }
.seg{ display:grid; grid-template-columns:1fr 1fr; gap:4px; padding:4px; background:var(--surface-2); border-radius:14px; margin-bottom:16px; }
.seg button{ min-height:42px; border:0; border-radius:10px; background:none; font-weight:800; cursor:pointer; color:var(--muted); }
.seg button[aria-pressed="true"]{ background:var(--surface); color:var(--ink); box-shadow:0 1px 4px rgba(0,0,0,.15); }
.demo-note{ font-size:.85rem; background:var(--lamp-soft); color:var(--ink); border-radius:12px; padding:10px 12px; margin-bottom:14px; }

/* legal */
.legal{ max-width:78ch; }
.legal h2{ font-size:1.4rem; margin-top:1.6em; }
.legal li{ margin-bottom:.4em; }
.toc{ position:sticky; top:84px; }

/* verse card */
.verse-card{ position:relative; border-radius:24px; overflow:hidden; padding:28px; min-height:260px; display:flex; flex-direction:column; justify-content:space-between; color:#fff; background:linear-gradient(160deg, rgba(6,22,15,.35), rgba(6,22,15,.9)), url(img/sky-rays.webp) center/cover; }
.verse-card blockquote{ margin:0; font-family:var(--font-display); font-size:clamp(1.3rem,3vw,1.9rem); line-height:1.3; }
.verse-card cite{ font-style:normal; font-weight:800; color:#7AC943; }
.bento{ display:grid; gap:16px; }
@media (min-width:900px){ .bento{ grid-template-columns:repeat(6,1fr); } .b-3{ grid-column:span 3; } .b-2{ grid-column:span 2; } .b-4{ grid-column:span 4; } .b-6{ grid-column:span 6; } }
.img-card{ position:relative; border-radius:var(--r); overflow:hidden; min-height:240px; color:#fff; display:flex; align-items:flex-end; }
.img-card img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.img-card .ic-body{ position:relative; padding:20px; background:linear-gradient(0deg, rgba(4,7,18,.92), transparent); width:100%; }
.img-card .ic-body p{ color:#D9DFEE; }
.stat-strip{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
@media (min-width:760px){ .stat-strip{ grid-template-columns:repeat(4,1fr); } }
.stat-strip div{ padding:16px; border-radius:16px; background:var(--surface); border:1px solid var(--line); }
.stat-strip b{ font-family:var(--font-display); font-size:2rem; display:block; color:var(--lamp); }
.cal{ display:grid; grid-template-columns:repeat(7,1fr); gap:4px; }
.cal .dh{ font-size:.72rem; text-transform:uppercase; color:var(--muted); font-weight:800; text-align:center; padding:4px 0; }
.cal .day{ min-height:64px; border-radius:10px; background:var(--surface); border:1px solid var(--line); padding:4px 6px; font-size:.8rem; cursor:pointer; text-align:start; }
.cal .day.other{ opacity:.35; }
.cal .day.today{ border-color:var(--lamp); box-shadow:inset 0 0 0 1px var(--lamp); }
.cal .dot{ display:block; height:6px; border-radius:3px; margin-top:3px; }
.bar-chart{ display:flex; align-items:end; gap:6px; height:160px; padding-top:10px; }
.bar-chart div{ flex:1; background:linear-gradient(180deg, var(--lamp), color-mix(in srgb, var(--lamp) 40%, transparent)); border-radius:6px 6px 2px 2px; position:relative; min-width:8px; }
.bar-chart div span{ position:absolute; bottom:-20px; left:50%; transform:translateX(-50%); font-size:.68rem; color:var(--muted); font-weight:700; }
.bar-chart div em{ position:absolute; top:-18px; left:50%; transform:translateX(-50%); font-size:.68rem; font-style:normal; color:var(--ink); font-weight:800; }
.notice{ padding:12px 14px; border-radius:12px; background:var(--surface-2); border:1px solid var(--line); font-size:.9rem; }
.notice.danger{ background:color-mix(in srgb, var(--danger) 12%, var(--surface)); border-color:var(--danger); }
.a11y-row{ display:flex; gap:8px; flex-wrap:wrap; }

/* fixes after review */
:where(svg){ width:1.1em; height:1.1em; vertical-align:-.18em; flex:none; }
.chat header svg{ width:36px; height:36px; }
.nav a{ white-space:nowrap; }
[tabindex="-1"]:focus{ outline:none; }
@media (max-width:640px){
  .hide-sm{ display:none !important; }
  .brand-txt small{ display:none; }
  .brand-txt b{ font-size:1.05rem; }
  .chat-fab span{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
  .chat-fab{ width:56px; height:56px; padding:0; justify-content:center; }
  .chat-fab svg{ width:24px; height:24px; }
}
.drawer .tool-row{ display:flex; gap:8px; flex-wrap:wrap; margin-top:8px; }

/* ===== v2: logo palette + reference hero ===== */
.btn-dawn{ background:var(--sun); color:#14252C; border-color:transparent; }
:root:not([data-theme="dark"]) .btn-dawn{ color:#14252C; }
.btn-yt{ background:var(--kred); color:#fff; border-color:transparent; font-family:var(--font-kids); font-weight:800; font-size:1.05rem; min-height:54px; padding:.7rem 1.5rem; }
.btn-yt svg{ width:30px; height:22px; }
.btn-lamp{ box-shadow:0 10px 26px -12px var(--lamp); }

/* brand: real logo on a white card */
.brand-logo{ display:flex; align-items:center; background:#fff; border-radius:14px; padding:5px 10px; height:54px; box-shadow:0 6px 18px -10px rgba(0,0,0,.5); }
.brand-logo img{ height:44px; width:auto; }
.footer .brand-logo{ height:76px; padding:8px 14px; display:inline-flex; }
.footer .brand-logo img{ height:60px; }
@media (max-width:640px){ .brand-logo{ height:48px; padding:4px 8px; } .brand-logo img{ height:40px; } }

/* hero (matches reference) */
.hero{ padding:40px 0 28px; background:#0F2A22; }
.hero-bg{ background-size:cover; background-position:62% 0; opacity:.42; filter:grayscale(1) contrast(1.05); mix-blend-mode:luminosity; }
.hero::before{ background:
  linear-gradient(90deg, rgba(10,33,25,.97) 0%, rgba(10,33,25,.86) 38%, rgba(10,33,25,.5) 70%, rgba(10,33,25,.75) 100%),
  linear-gradient(180deg, rgba(10,33,25,.2) 0%, rgba(10,33,25,.95) 100%); }
.hero h1{ font-size:clamp(2.6rem, 6.4vw, 5.2rem); line-height:1.02; letter-spacing:-.025em; font-weight:600; }
.hero h1 em{ color:#7AC943; font-style:italic; }
.hero .eyebrow{ color:#7AC943; display:flex; align-items:center; gap:14px; letter-spacing:.22em; }
.eyebrow.line::before{ content:""; width:40px; height:2px; background:currentColor; flex:none; }
.hero-lede{ font-size:clamp(1.08rem,1.6vw,1.3rem); color:#D6E5DB; max-width:46ch; }
.hero .btn{ min-height:56px; padding:.8rem 1.6rem; font-size:1.05rem; }
.hero .btn-lamp{ color:#0B1F14; }
.hero .btn:not(.btn-lamp):not(.btn-yt){ background:transparent; color:#fff; border-color:rgba(255,255,255,.4); }
.hero-quote{ margin-top:28px; font-family:var(--font-display); font-style:italic; font-size:1.2rem; color:#E4EFE7; }
.hero-quote b{ display:block; font-family:var(--font-body); font-style:normal; font-size:.82rem; letter-spacing:.18em; color:#7AC943; margin-top:4px; }
.hero-grid{ display:grid; gap:28px; align-items:center; }
@media (min-width:980px){ .hero{ padding:64px 0 36px; } .hero-grid{ grid-template-columns:1.15fr 1fr; gap:48px; } }

/* yellow kids card */
.kidcard{ background:var(--sun); color:#14252C; border-radius:30px; overflow:hidden; position:relative; box-shadow:0 30px 60px -30px rgba(0,0,0,.6); }
.kidcard::before{ content:""; position:absolute; width:220px; height:220px; border-radius:50%; background:rgba(255,255,255,.35); top:-80px; inset-inline-end:-60px; }
.kidcard .kc-body{ position:relative; padding:26px 26px 22px; }
.kidcard h2{ font-family:var(--font-display); font-weight:700; color:#14252C; font-size:clamp(1.9rem,3.4vw,2.7rem); margin:.4rem 0 .4rem; }
.kidcard h2 em{ font-style:normal; color:var(--kblue); }
.kidcard p{ color:#2A3B33; font-size:1.05rem; }
.kc-chips{ display:flex; flex-wrap:wrap; gap:8px; }
.kc-chip{ font-weight:800; font-size:.8rem; letter-spacing:.12em; text-transform:uppercase; border-radius:999px; padding:.4rem .9rem; background:#fff; color:#14252C; }
.kc-chip.pink{ background:var(--kpink); color:#fff; }
.kc-actions{ display:flex; flex-wrap:wrap; align-items:center; gap:10px 16px; }
.kc-actions .handle{ font-weight:800; color:#14252C; }
.kidcard .kc-img{ position:relative; aspect-ratio:16/7; overflow:hidden; }
.kidcard .kc-img img{ width:100%; height:100%; object-fit:cover; }
.kidcard .kc-img .play-big{ width:64px; height:64px; background:var(--kred); color:#fff; box-shadow:0 0 0 8px rgba(227,36,27,.25); }
.kidcard .kc-img .tag{ position:absolute; inset-inline-start:12px; bottom:12px; background:rgba(20,37,44,.85); color:#fff; padding:6px 12px; border-radius:12px; font-weight:700; font-size:.88rem; max-width:80%; }
@media (max-width:640px){ .kidcard{ border-radius:24px; } .kidcard .kc-body{ padding:22px 20px 18px; } .btn-yt{ width:100%; } .kc-actions .handle{ display:none; } }

/* service strip */
.svc-strip{ margin-top:36px; display:grid; grid-template-columns:repeat(3,1fr); border:1px solid rgba(255,255,255,.14); border-radius:24px; background:rgba(255,255,255,.05); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); overflow:hidden; }
.svc-strip > div{ padding:18px 20px; border-inline-end:1px solid rgba(255,255,255,.12); color:#fff; }
.svc-strip small{ display:block; font-size:.74rem; letter-spacing:.18em; text-transform:uppercase; font-weight:800; color:#C6D9CD; }
.svc-strip b{ font-family:var(--font-display); font-size:clamp(1.5rem,3vw,2.5rem); font-weight:600; line-height:1.1; }
.svc-strip .svc-addr{ grid-column:1/-1; display:flex; align-items:center; gap:14px; border-inline-end:0; border-top:1px solid rgba(255,255,255,.12); text-decoration:none; }
.svc-addr .pin{ width:52px; height:52px; border-radius:50%; background:#7AC943; color:#0B1F14; display:grid; place-items:center; flex:none; }
.svc-addr .pin svg{ width:24px; height:24px; }
.svc-addr span{ display:block; color:#C6D9CD; }
.svc-addr strong{ font-size:1.15rem; color:#fff; }
@media (max-width:640px){ .svc-strip > div{ padding:14px 12px; } .svc-strip b{ font-size:1.35rem; } }
@media (min-width:980px){ .svc-strip{ grid-template-columns:1fr 1fr 1fr 1.4fr; } .svc-strip .svc-addr{ grid-column:auto; border-top:0; } }

/* kids band recolor */
.kids-band{ background:
   radial-gradient(70% 70% at 0% 0%, rgba(255,216,77,.16), transparent 70%),
   radial-gradient(60% 60% at 100% 100%, rgba(122,201,67,.16), transparent 70%), var(--surface); }
.kids-band .eyebrow{ color:var(--dawn) !important; }
.countdown b{ color:var(--lamp); }
.vcard:hover{ border-color:var(--sun); }
.vthumb .new{ background:var(--kred); color:#fff; }
.ep-hero .play-big{ background:var(--kred); color:#fff; box-shadow:0 0 0 10px rgba(227,36,27,.25); }
.badge{ background:var(--lamp-soft); color:var(--lamp); }
.footer::before{ background:radial-gradient(closest-side, rgba(122,201,67,.16), transparent); }
.chat-fab{ background:var(--lamp); color:var(--lamp-ink); }

/* ===== v3: light, airy default ===== */
:root{
  --bg:#F7FAF4; --surface:#FFFFFF; --surface-2:#EEF5E9; --ink:#14252C; --muted:#4F6359; --line:#DDE8D8;
  --lamp:#2F8F3A; --lamp-ink:#14252C; --lamp-soft:#E6F4DC; --dawn:#8A6A00; --dawn-soft:#FFF5CC;
  --btn:#7AC943; --glass:rgba(255,255,255,.82); --shadow:0 18px 40px -22px rgba(20,37,44,.28);
}
:root[data-theme="dark"]{ --btn:#7AC943; }
.btn-lamp{ background:var(--btn); color:#14252C; }
.chat-fab{ background:var(--btn); color:#14252C; }
.msg.me{ background:var(--btn); color:#14252C; }
button.chip[aria-pressed="true"]{ background:var(--btn); color:#14252C; }
.side button[aria-current="true"]{ color:var(--ink); }
body{ background:var(--bg); }

/* light hero */
:root:not([data-theme="dark"]) .hero{ background:linear-gradient(180deg,#F1F8EA 0%, #FBFDF8 70%, var(--bg) 100%); }
:root:not([data-theme="dark"]) .hero-bg{ opacity:.16; mix-blend-mode:multiply; background-position:70% 0; -webkit-mask-image:linear-gradient(90deg, transparent 0%, #000 55%); mask-image:linear-gradient(90deg, transparent 0%, #000 55%); }
:root:not([data-theme="dark"]) .hero::before{ background:radial-gradient(50% 60% at 85% 10%, rgba(255,216,77,.28), transparent 70%), radial-gradient(45% 60% at 10% 90%, rgba(122,201,67,.18), transparent 70%); }
:root:not([data-theme="dark"]) .hero, :root:not([data-theme="dark"]) .hero h1{ color:#14252C; }
:root:not([data-theme="dark"]) .hero h1 em{ color:#3DA543; }
:root:not([data-theme="dark"]) .hero .eyebrow, :root:not([data-theme="dark"]) .hero-quote b{ color:#2F8F3A; }
:root:not([data-theme="dark"]) .hero-lede{ color:#3E5249; }
:root:not([data-theme="dark"]) .hero-quote{ color:#2A3B33; }
:root:not([data-theme="dark"]) .hero .btn:not(.btn-lamp):not(.btn-yt){ background:#fff; color:#14252C; border-color:#CFDDCB; }
:root:not([data-theme="dark"]) .svc-strip{ background:#fff; border-color:var(--line); box-shadow:var(--shadow); }
:root:not([data-theme="dark"]) .svc-strip > div{ color:#14252C; border-color:var(--line); }
:root:not([data-theme="dark"]) .svc-strip small{ color:#5B6F65; }
:root:not([data-theme="dark"]) .svc-strip .svc-addr{ border-color:var(--line); }
:root:not([data-theme="dark"]) .svc-addr strong{ color:#14252C; }
:root:not([data-theme="dark"]) .svc-addr span{ color:#4F6359; }
.kidcard .kc-img{ aspect-ratio:16/9; }
.kidcard .kc-img img{ object-position:center 40%; }

/* kids world */
:root:not([data-theme="dark"]) .kids-band{ background:
   radial-gradient(70% 70% at 0% 0%, rgba(255,216,77,.30), transparent 70%),
   radial-gradient(60% 60% at 100% 100%, rgba(122,201,67,.22), transparent 70%), #FFFCF0; }
.kids-hero-img{ border-radius:28px; overflow:hidden; box-shadow:var(--shadow); }
.kids-hero-img img{ width:100%; height:100%; object-fit:cover; aspect-ratio:16/9; }

/* soft section separators */
:root:not([data-theme="dark"]) .phead{ background:radial-gradient(60% 120% at 90% 0%, rgba(255,216,77,.22), transparent), radial-gradient(50% 100% at 0% 100%, rgba(122,201,67,.14), transparent), #FBFDF8; }

.card{ box-shadow:0 1px 0 rgba(20,37,44,.02); }
.hero .btn.btn-yt, :root .hero .btn.btn-yt{ background:var(--kred); color:#fff; border-color:transparent; box-shadow:0 10px 24px -12px rgba(227,36,27,.7); }

/* ===== v4: richer sections + footer ===== */
.section-head h2{ margin-bottom:.2em; }
.lede{ font-size:1.12rem; color:var(--muted); }
h2{ font-weight:600; }

/* ministries tiles */
.min-grid{ display:grid; gap:14px; grid-template-columns:1fr; }
@media (min-width:620px){ .min-grid{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:1000px){ .min-grid{ grid-template-columns:repeat(3,1fr); } }
.min-tile{ position:relative; display:flex; flex-direction:column; gap:6px; padding:22px; border-radius:22px; background:var(--tbg); color:#14252C; text-decoration:none; transition:transform .2s, box-shadow .2s; min-height:170px; }
.min-tile:hover{ transform:translateY(-4px); box-shadow:0 18px 30px -20px var(--tfg); }
.min-tile b{ font-family:var(--font-display); font-size:1.35rem; font-weight:600; }
.min-tile > span:not(.min-ic):not(.min-go){ color:#3E5249; }
.min-ic{ width:48px; height:48px; border-radius:14px; background:#fff; color:var(--tfg); display:grid; place-items:center; margin-bottom:6px; box-shadow:0 6px 14px -10px rgba(0,0,0,.4); }
.min-ic svg{ width:24px; height:24px; }
.min-go{ position:absolute; inset-inline-end:18px; top:22px; width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,.75); color:var(--tfg); display:grid; place-items:center; }
:root[dir="rtl"] .min-go svg{ transform:scaleX(-1); }
:root[data-theme="dark"] .min-tile{ filter:saturate(.9) brightness(.95); }

/* meet */
.meet{ background:linear-gradient(180deg, transparent, var(--surface-2) 60%, transparent); }
.meet-grid{ display:grid; gap:32px; align-items:center; }
@media (min-width:900px){ .meet-grid{ grid-template-columns:1fr 1.15fr; gap:56px; } }
.meet-photo{ position:relative; border-radius:28px; overflow:visible; }
.meet-photo img{ border-radius:28px; aspect-ratio:4/3.4; object-fit:cover; width:100%; box-shadow:var(--shadow); }
.meet-badge{ position:absolute; inset-inline-end:-10px; bottom:-18px; background:var(--btn); color:#14252C; border-radius:22px; padding:14px 18px; display:flex; align-items:center; gap:10px; box-shadow:var(--shadow); }
.meet-badge b{ font-family:var(--font-display); font-size:2.4rem; line-height:1; }
.meet-badge span{ font-weight:700; font-size:.85rem; line-height:1.2; }
.meet-stats{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin:18px 0 22px; }
.meet-stats div{ background:var(--surface); border:1px solid var(--line); border-radius:18px; padding:14px; }
.meet-stats b{ display:block; font-family:var(--font-display); font-size:1.6rem; color:var(--lamp); }
.meet-stats span{ font-size:.85rem; color:var(--muted); font-weight:600; }

/* ask card */
.ask-card{ display:flex; flex-direction:column; justify-content:space-between; background:linear-gradient(160deg, var(--lamp-soft), var(--surface) 60%); }

/* book */
.book-band{ background:radial-gradient(60% 80% at 15% 50%, rgba(255,216,77,.22), transparent 70%), var(--surface); border-block:1px solid var(--line); }
.book-stage{ border-radius:28px; padding:24px; background:radial-gradient(70% 70% at 50% 45%, rgba(122,201,67,.25), transparent 70%); }
.book-stage img{ width:100%; filter:drop-shadow(0 30px 30px rgba(20,37,44,.25)); }
.price-card{ position:relative; padding:16px; }
.price-card .price{ font-size:1.7rem; }
.ribbon{ position:absolute; top:-11px; inset-inline-start:14px; background:var(--kred); color:#fff; font-size:.7rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; padding:3px 10px; border-radius:999px; }

/* sermon cards */
.sermon-card{ display:flex; flex-direction:column; gap:8px; padding:22px; border-radius:22px; background:var(--surface); border:1px solid var(--line); text-decoration:none; position:relative; overflow:hidden; transition:transform .2s, box-shadow .2s; }
.sermon-card::before{ content:""; position:absolute; inset:0 0 auto 0; height:6px; background:var(--sc); }
.sermon-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow); }
.sc-ref{ align-self:flex-start; font-weight:800; font-size:.8rem; padding:4px 10px; border-radius:999px; background:color-mix(in srgb, var(--sc) 25%, transparent); color:var(--ink); margin-top:4px; }
.sermon-card h3{ font-size:1.4rem; margin:4px 0 0; }
.sermon-card p{ color:var(--muted); margin:0; flex:1; }
.sc-foot{ display:flex; justify-content:space-between; align-items:center; gap:8px; font-size:.85rem; color:var(--muted); font-weight:600; border-top:1px dashed var(--line); padding-top:12px; margin-top:6px; }
.sc-ai{ color:var(--lamp); font-weight:800; display:inline-flex; gap:4px; align-items:center; }

/* event cards */
.event-card{ background:var(--surface); border:1px solid var(--line); border-radius:22px; overflow:hidden; display:flex; flex-direction:column; }
.ev-img{ position:relative; aspect-ratio:16/10; background:var(--surface-2); }
.ev-img img{ width:100%; height:100%; object-fit:cover; }
.ev-date{ position:absolute; inset-inline-start:12px; top:12px; background:#fff; color:#14252C; font-weight:800; font-size:.82rem; padding:6px 12px; border-radius:12px; box-shadow:0 6px 14px -8px rgba(0,0,0,.4); }
.ev-body{ padding:18px; }
.ev-body h3{ font-size:1.2rem; }
.ev-body p{ color:var(--muted); font-size:.95rem; margin:0; }

/* prayer band */
.pray-band{ background:linear-gradient(135deg, #EAF6E2, #FFF8DA); }
:root[data-theme="dark"] .pray-band{ background:linear-gradient(135deg, #15301F, #2A2A14); }
.pray-grid{ display:grid; gap:28px; align-items:center; }
@media (min-width:900px){ .pray-grid{ grid-template-columns:1.1fr 1fr; gap:56px; } }
.pray-img{ position:relative; }
.pray-img img{ border-radius:28px; aspect-ratio:4/3; object-fit:cover; width:100%; }
.pray-img blockquote{ position:absolute; inset-inline:16px; bottom:16px; margin:0; background:rgba(255,255,255,.92); color:#14252C; border-radius:18px; padding:14px 16px; font-family:var(--font-display); font-style:italic; font-size:1.1rem; }
.pray-img cite{ display:block; font-family:var(--font-body); font-style:normal; font-weight:800; font-size:.8rem; color:#2F8F3A; margin-top:4px; }

/* footer v4 */
.footer{ background:none !important; padding:0 !important; margin-top:0; color:inherit; overflow:visible; }
.footer::before{ display:none; }
.pre-footer{ padding:24px 0 56px; }
.pf-grid{ display:grid; gap:16px; }
@media (min-width:900px){ .pf-grid{ grid-template-columns:1fr 1fr; } }
.pf-card{ position:relative; display:grid; border-radius:28px; overflow:hidden; text-decoration:none; min-height:260px; box-shadow:var(--shadow); }
.pf-card h3{ font-size:clamp(1.4rem,2.4vw,1.9rem); margin:.3rem 0; }
.pf-card p{ margin:0 0 14px; }
.pf-tag{ font-size:.75rem; font-weight:800; letter-spacing:.14em; text-transform:uppercase; }
.pf-visit{ color:#fff; }
.pf-visit img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.pf-visit > div{ position:relative; align-self:end; padding:26px; background:linear-gradient(0deg, rgba(10,33,25,.92), rgba(10,33,25,.2)); }
.pf-visit .pf-tag{ color:#7AC943; } .pf-visit p{ color:#DCE9E0; }
.pf-kids{ background:var(--sun); color:#14252C; grid-template-columns:1fr; }
.pf-kids > div{ padding:26px; position:relative; z-index:1; }
.pf-kids .pf-tag{ color:#C2413A; }
.pf-kids h3 em{ font-style:normal; color:var(--kblue); }
.pf-kids img{ width:100%; aspect-ratio:16/7; object-fit:cover; object-position:center 45%; }
@media (min-width:1100px){ .pf-kids{ grid-template-columns:1.1fr 1fr; } .pf-kids img{ height:100%; aspect-ratio:auto; } }
.footer-main{ position:relative; background:#14252C; color:#C7D6CD; padding:90px 0 26px; }
.f-wave{ position:absolute; top:-1px; left:0; width:100%; height:60px; }
.footer-main a{ color:#EEF5EF; text-decoration:none; }
.footer-main a:hover{ color:#9BE05F; text-decoration:underline; }
.footer-main h4{ font-family:var(--font-body); font-size:.78rem; text-transform:uppercase; letter-spacing:.16em; color:#9BE05F; margin-bottom:14px; }
.footer-main .fverse{ color:#fff; font-size:1.2rem; }
.fref{ color:#9BE05F; font-weight:800; font-size:.8rem; letter-spacing:.14em; text-transform:uppercase; }
.footer-main .social a{ border-color:#2C4450; background:#1B313A; }
.footer-main .social a:hover{ background:#7AC943; color:#14252C; }
.fc-list{ list-style:none; padding:0; margin:0 0 16px; display:grid; gap:10px; }
.fc-list li{ display:flex; gap:10px; align-items:flex-start; }
.fc-list svg{ color:#9BE05F; margin-top:3px; }
.fnews-card{ background:#1B313A; border:1px solid #2C4450; border-radius:18px; padding:14px; }
.fnews-card b{ color:#fff; font-size:.92rem; }
.footer-main .fnews input{ background:#14252C; border-color:#2C4450; color:#fff; }
.fgive{ margin-top:36px; display:flex; flex-wrap:wrap; gap:14px; align-items:center; justify-content:space-between; padding:20px 24px; border-radius:22px; background:linear-gradient(90deg, rgba(122,201,67,.18), rgba(255,216,77,.14)); border:1px solid #2C4450; }
.fgive b{ display:block; color:#fff; font-family:var(--font-display); font-size:1.3rem; font-weight:600; }
.fgive span{ color:#C7D6CD; }
.footer-main .fbottom{ border-color:#2C4450; color:#94A9A0; }
.footer-main .fbottom a{ color:#C7D6CD; }
/* light theme: keep footer warm slate from the logo, it anchors the page */
:root:not([data-theme="dark"]) .footer-main{ background:#14252C; }
:root:not([data-theme="dark"]) .footer-main .fverse{ color:#fff; }
:root:not([data-theme="dark"]) .footer-main p[style]{ color:inherit !important; }
.pf-kids h3, .pf-kids p{ color:#14252C; }
.pf-visit h3{ color:#fff; }
.team-art{ width:100%; height:auto; aspect-ratio:4/3; display:block; vertical-align:top; }
/* bigger logo with verse */
.topbar .wrap{ min-height:88px; }
.brand-logo{ height:76px; padding:6px 12px; border-radius:16px; }
.brand-logo img{ height:64px; }
.footer .brand-logo, .footer-main .brand-logo{ height:120px; padding:10px 16px; }
.footer .brand-logo img, .footer-main .brand-logo img{ height:100px; }
@media (max-width:640px){ .topbar .wrap{ min-height:74px; } .brand-logo{ height:62px; padding:4px 8px; } .brand-logo img{ height:54px; } }
.chat header .brand-logo{ height:44px !important; } .chat header .brand-logo img{ height:36px !important; }
.drawer .brand-logo{ height:70px; } .drawer .brand-logo img{ height:60px; }
.yt-embed{ position:relative; aspect-ratio:16/9; border-radius:16px; overflow:hidden; background:#000; }
.yt-embed iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.vthumb .art{ font-size:1.15rem; }
.vthumb .art svg{ opacity:.85; width:34%; }
.flyer-frame{ position:relative; width:100%; height:100%; overflow:hidden; background:var(--surface-2); }
.flyer-frame .fl-bg{ position:absolute; inset:-20px; width:calc(100% + 40px); height:calc(100% + 40px); object-fit:cover; filter:blur(18px) saturate(1.1); opacity:.55; }
.flyer-frame .fl-fg{ position:relative; width:100%; height:100%; object-fit:contain; filter:drop-shadow(0 8px 16px rgba(0,0,0,.25)); }
.ev-img .flyer-frame{ position:absolute; inset:0; }
/* product mockups sit on the soft card background */
.product .pimg img{ filter:drop-shadow(0 20px 24px rgba(20,37,44,.18)); }
/* responsive fixes: footer on phones */
.fgrid{ grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
.fgrid > *{ min-width:0; }
.fcontact{ grid-column:1/-1; }
.fc-list span{ overflow-wrap:anywhere; }
.footer-main .brand-logo{ max-width:100%; }
.footer-main .brand-logo img{ max-width:100%; object-fit:contain; }
@media (min-width:900px){ .fgrid{ grid-template-columns:1.6fr 1fr 1fr 1fr 1.4fr; } .fcontact{ grid-column:auto; } }
@media (max-width:640px){ .footer-main .brand-logo{ height:96px; } .footer-main .brand-logo img{ height:80px; } .fbottom{ flex-direction:column; } }
.product .pimg{ position:relative; aspect-ratio:1; padding:0; overflow:hidden; }
.product .pimg img{ width:100%; height:100%; object-fit:contain; }
.product .pimg .ribbon{ top:14px; inset-inline-start:14px; z-index:1; }

/* ===== v5: new pages, nav dropdown, sign-out ===== */
.nav-dd{ position:relative; display:flex; }
.nav-dd-btn{ display:inline-flex; align-items:center; gap:4px; padding:.55rem .75rem; border-radius:10px; font-weight:600; font-size:.93rem; color:var(--muted); background:none; border:0; cursor:pointer; white-space:nowrap; }
.nav-dd-btn svg{ width:14px; height:14px; transition:transform .2s; }
.nav-dd-btn:hover,.nav-dd-btn[aria-current="page"],.nav-dd.open .nav-dd-btn{ color:var(--ink); background:var(--surface-2); }
.nav-dd-menu{ position:absolute; top:calc(100% + 6px); inset-inline-start:0; min-width:220px; background:var(--surface); border:1px solid var(--line); border-radius:14px; box-shadow:var(--shadow); padding:6px; display:none; flex-direction:column; z-index:60; }
.nav-dd-menu a{ color:var(--ink) !important; background:none !important; padding:.6rem .8rem !important; border-radius:10px; }
.nav-dd-menu a:hover{ background:var(--surface-2) !important; }
.nav-dd:hover .nav-dd-menu,.nav-dd:focus-within .nav-dd-menu,.nav-dd.open .nav-dd-menu{ display:flex; }
.nav-dd.open .nav-dd-btn svg{ transform:rotate(180deg); }
.side button.signout, button.signout{ color:#fff !important; background:#D92D20 !important; justify-content:center; }
.side button.signout:hover{ background:#B42318 !important; }
.mission{ background:linear-gradient(135deg, var(--lamp-soft), var(--surface)); }
.revival{ padding:24px; }
.rv-grid{ display:grid; gap:24px; align-items:center; }
@media (min-width:900px){ .rv-grid{ grid-template-columns:1.3fr 1fr; } }
.rv-verse{ margin:14px 0; padding:14px 16px; border-inline-start:4px solid var(--btn); background:var(--surface-2); border-radius:0 14px 14px 0; font-family:var(--font-display); font-style:italic; font-size:1.15rem; }
.rv-verse cite{ display:block; font-family:var(--font-body); font-style:normal; font-weight:800; font-size:.8rem; color:var(--lamp); margin-top:4px; }
.rv-tag{ font-weight:800; color:var(--kred); }
.gallery{ display:grid; gap:10px; grid-template-columns:repeat(2,1fr); }
@media (min-width:700px){ .gallery{ grid-template-columns:repeat(4,1fr); } }
.gallery.g2x{ grid-template-columns:1fr 1fr; }
.photo-slot{ position:relative; border-radius:14px; overflow:hidden; background:var(--surface-2); }
.photo-slot img{ width:100%; height:100%; object-fit:cover; }
.photo-slot .ps-label{ display:none; }
.photo-slot.empty{ display:grid; place-items:center; border:2px dashed var(--line); }
.photo-slot.empty .ps-label{ display:inline-flex; gap:6px; align-items:center; color:var(--muted); font-size:.82rem; font-weight:700; padding:8px; text-align:center; }
.partner-card{ display:flex; flex-wrap:wrap; gap:20px; align-items:flex-start; padding:26px; }
.pc-icon{ width:64px; height:64px; border-radius:18px; background:var(--lamp-soft); color:var(--lamp); display:grid; place-items:center; flex:none; }
.pc-icon svg{ width:30px; height:30px; }
.become{ display:flex; flex-wrap:wrap; gap:18px; align-items:center; justify-content:space-between; background:linear-gradient(135deg,#EAF6E2,#FFF8DA); padding:26px; }
:root[data-theme="dark"] .become{ background:linear-gradient(135deg,#15301F,#2A2A14); }
.faq{ border:1px solid var(--line); border-radius:12px; padding:10px 14px; margin-top:8px; }
.faq summary{ cursor:pointer; font-weight:700; color:var(--lamp); }
.faq p{ margin:8px 0 0; }
.map-embed{ border-radius:14px; overflow:hidden; aspect-ratio:16/10; border:1px solid var(--line); }
.map-embed iframe{ width:100%; height:100%; border:0; }
.map-card{ display:grid; gap:2px; justify-items:start; padding:18px; border-radius:14px; text-decoration:none; background:linear-gradient(135deg,#E6F4DC,#E3EEFF); color:#14252C; border:1px solid var(--line); }
.map-card span{ width:44px; height:44px; border-radius:50%; background:var(--btn); display:grid; place-items:center; margin-bottom:6px; }
.quiz-opts{ display:grid; gap:8px; grid-template-columns:1fr; }
@media (min-width:600px){ .quiz-opts{ grid-template-columns:1fr 1fr; } }
.quiz-opts .btn{ justify-content:flex-start; border-radius:14px; }
.stay-card{ display:grid; gap:18px; background:linear-gradient(135deg,#FFF3C4,#FFFBEA); }
:root[data-theme="dark"] .stay-card{ background:linear-gradient(135deg,#2E3316,var(--surface)); }
@media (min-width:900px){ .stay-card{ grid-template-columns:1.2fr 1fr; } }
.stay-card .fnews input{ background:#fff; color:#14252C; border:1px solid var(--line); }
#digital-team .team-art{ height:100%; }
/* dropdown: bridge the gap so it doesn't close while the mouse moves down, plus a short close delay */
.nav-dd-menu{ top:100%; margin-top:0; }
.nav-dd-menu::before{ content:""; position:absolute; left:0; right:0; top:-14px; height:14px; }
.nav-dd{ padding-bottom:0; }
.nav-dd-menu{ display:flex; visibility:hidden; opacity:0; transform:translateY(4px); transition:opacity .15s ease .25s, transform .15s ease .25s, visibility 0s linear .4s; }
.nav-dd:hover .nav-dd-menu,.nav-dd:focus-within .nav-dd-menu,.nav-dd.open .nav-dd-menu{ visibility:visible; opacity:1; transform:none; transition-delay:0s; }
.open-pos{ text-decoration:none; border:2px dashed color-mix(in srgb, var(--lamp) 45%, var(--line)); transition:transform .2s, border-color .2s; display:flex; flex-direction:column; align-items:center; }
.open-pos:hover{ transform:translateY(-3px); border-color:var(--lamp); }
.role-card{ display:flex; flex-direction:column; gap:8px; text-align:start; padding:22px; border-radius:22px; border:2px solid var(--line); background:var(--surface); cursor:pointer; color:var(--ink); transition:border-color .2s, transform .2s; }
.role-card:hover{ transform:translateY(-3px); border-color:var(--btn); }
.role-card.active{ border-color:var(--btn); background:linear-gradient(135deg,var(--lamp-soft),var(--surface)); }
.role-card .chip{ align-self:flex-start; }
.role-card b{ font-family:var(--font-display); font-size:1.4rem; font-weight:600; }
.role-card > span:not(.chip){ color:var(--muted); }
.role-card .rc-go{ color:var(--lamp) !important; font-weight:800; display:inline-flex; gap:6px; align-items:center; }

/* ===== Children's Ministry layout v2: arcade first, compact videos ===== */
.kid-jump{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:18px; }
.kid-jump a{ display:flex; align-items:center; gap:10px; padding:12px 14px; border-radius:16px; background:var(--surface); border:2px solid color-mix(in srgb, var(--jc) 30%, var(--line)); text-decoration:none; font-family:var(--font-kids); font-weight:800; color:var(--ink); transition:transform .15s, border-color .15s; }
.kid-jump a:hover{ transform:translateY(-2px); border-color:var(--jc); }
.kid-jump a span{ width:38px; height:38px; border-radius:12px; display:grid; place-items:center; background:var(--jc); color:#fff; flex:none; }
.kid-jump a span svg{ width:20px; height:20px; }
.kids-band .kids-hero-img img{ aspect-ratio:16/10; }
.arcade-band{ background:radial-gradient(60% 80% at 100% 0%, rgba(122,201,67,.16), transparent 70%), radial-gradient(50% 70% at 0% 100%, rgba(255,216,77,.22), transparent 70%); }
.arcade-band .games-grid{ gap:16px; }
.arcade-band .game-tile{ min-height:190px; box-shadow:0 18px 30px -22px rgba(20,37,44,.6); transition:transform .2s; }
.arcade-band .game-tile:hover{ transform:translateY(-4px) rotate(-.5deg); }
.arcade-band .game-tile .gi{ font-size:2.8rem; }
@media (min-width:900px){ .arcade-band .game-tile b{ font-size:1.35rem; } }
.watch-row{ display:grid; gap:14px; }
@media (min-width:980px){ .watch-row{ grid-template-columns:minmax(0,1.05fr) minmax(0,2fr); align-items:start; } }
.latest-card{ display:flex; flex-direction:column; gap:10px; padding:10px; border-radius:20px; border:2px solid var(--sun); background:var(--surface); text-align:start; cursor:pointer; color:var(--ink); }
.latest-card .lc-img{ position:relative; }
.latest-card .lc-play{ position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:56px; height:56px; border-radius:50%; background:var(--kred); color:#fff; display:grid; place-items:center; box-shadow:0 0 0 8px rgba(227,36,27,.22); }
.latest-card .lc-play svg{ width:22px; height:22px; margin-inline-start:3px; }
.latest-card h3{ font-family:var(--font-kids); font-size:1.15rem; margin:6px 0 2px; }
.lc-body{ padding:0 6px 6px; }
.ep-row.compact{ grid-auto-columns:minmax(190px, 210px); padding-bottom:10px; }
.ep-row.compact .vcard h4{ font-size:.9rem; }
.library{ margin-top:18px; }
.library > summary{ list-style:none; cursor:pointer; }
.library > summary::-webkit-details-marker{ display:none; }
.library[open] > summary{ background:var(--surface-2); }
/* pre-footer cards: no link underline/recolor on hover, lift instead */
.footer .pf-card, .footer .pf-card:hover, .footer .pf-card *, .footer .pf-card:hover *{ text-decoration:none !important; }
.footer .pf-kids:hover, .footer .pf-kids:hover h3, .footer .pf-kids:hover p{ color:#14252C; }
.footer .pf-kids:hover h3 em{ color:var(--kblue); }
.footer .pf-visit:hover, .footer .pf-visit:hover h3{ color:#fff; }
.footer .pf-visit:hover p{ color:#DCE9E0; }
.pf-card{ transition:transform .25s, box-shadow .25s; }
.pf-card:hover{ transform:translateY(-4px); box-shadow:0 28px 50px -26px rgba(20,37,44,.55); }
.pf-card:hover .btn{ filter:brightness(1.06); }
.pf-card:focus-visible{ outline:3px solid var(--btn); outline-offset:4px; }
.pf-visit > div{ background:linear-gradient(0deg, rgba(10,33,25,.94) 0%, rgba(10,33,25,.75) 55%, rgba(10,33,25,0) 100%); }
.pf-visit .pf-tag{ color:#B5F07A; text-shadow:0 1px 2px rgba(0,0,0,.5); }

/* beliefs section */
.beliefs{ background:radial-gradient(50% 60% at 100% 0%, rgba(255,216,77,.18), transparent 70%), radial-gradient(50% 60% at 0% 100%, rgba(122,201,67,.14), transparent 70%), var(--surface); border-block:1px solid var(--line); }
.belief-grid{ display:grid; gap:16px; }
@media (min-width:900px){ .belief-grid{ grid-template-columns:repeat(3,1fr); } }
.belief{ position:relative; display:flex; flex-direction:column; gap:10px; padding:26px; border-radius:24px; background:var(--surface); border:1px solid var(--line); box-shadow:0 18px 34px -28px rgba(20,37,44,.5); overflow:hidden; transition:transform .2s; }
.belief:hover{ transform:translateY(-4px); }
.belief::before{ content:""; position:absolute; inset:0 0 auto 0; height:6px; background:var(--bc); }
.b-num{ position:absolute; top:16px; inset-inline-end:20px; font-family:var(--font-display); font-size:3rem; font-weight:700; line-height:1; color:var(--bbg); }
:root[data-theme="dark"] .b-num{ color:color-mix(in srgb, var(--bc) 30%, transparent); }
.b-ic{ width:56px; height:56px; border-radius:18px; background:var(--bbg); color:var(--bc); display:grid; place-items:center; }
.b-ic svg{ width:28px; height:28px; }
.belief h3{ font-size:1.45rem; margin:6px 0 0; }
.belief p{ color:var(--muted); margin:0; }
.belief blockquote{ margin:auto 0 0; padding:12px 14px; border-radius:14px; background:var(--bbg); color:#14252C; font-family:var(--font-display); font-style:italic; font-size:1rem; line-height:1.45; }
.belief cite{ display:block; font-family:var(--font-body); font-style:normal; font-weight:800; font-size:.78rem; color:var(--bc); margin-top:6px; letter-spacing:.04em; }
.pastor-word{ margin-top:18px; display:grid; border-radius:28px; overflow:hidden; background:var(--surface); border:1px solid var(--line); box-shadow:var(--shadow); }
@media (min-width:900px){ .pastor-word{ grid-template-columns:.9fr 1.6fr; } }
.pw-img{ position:relative; min-height:240px; }
.pw-img img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.pw-badge{ position:absolute; inset-inline-start:18px; bottom:18px; background:var(--btn); color:#14252C; font-family:var(--font-display); font-weight:700; font-size:1.6rem; line-height:1; padding:10px 14px; border-radius:16px; }
.pw-badge small{ display:block; font-family:var(--font-body); font-size:.75rem; font-weight:800; letter-spacing:.12em; }
.pw-body{ padding:30px; }
.pw-quote{ font-family:var(--font-display); font-size:clamp(1.25rem,2.2vw,1.6rem); line-height:1.35; margin:6px 0 14px; max-width:none; }
.pw-sign{ display:flex; align-items:center; gap:12px; padding-top:16px; border-top:1px dashed var(--line); }
.pw-sign img{ width:52px; height:52px; border-radius:50%; object-fit:cover; object-position:top; }
.pw-sign b{ display:block; }
.pw-sign small{ color:var(--muted); font-weight:600; }
.team-photo{ position:relative; min-height:320px; }
.team-photo img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 30%; }
.team-photo .tp-tag{ position:absolute; inset-inline-start:16px; bottom:16px; background:var(--btn); color:#14252C; font-weight:800; font-size:.8rem; padding:6px 12px; border-radius:999px; }
.team-grid{ display:grid; }
@media (min-width:800px){ .team-grid{ grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr); align-items:center; } }
.team-photo{ min-height:0; aspect-ratio:1/1; }
.team-photo img{ object-position:center top; }
.team-card{ display:flex; gap:20px; align-items:flex-start; padding:24px; }
.team-avatar{ width:88px; height:88px; border-radius:50%; object-fit:cover; object-position:center 20%; flex:none; border:3px solid var(--lamp-soft); box-shadow:0 6px 16px -10px rgba(20,37,44,.5); }
@media (max-width:560px){ .team-card{ flex-direction:column; } .team-avatar{ width:72px; height:72px; } }
.team-card{ gap:28px; align-items:center; padding:28px; }
.team-avatar{ width:160px; height:160px; border-width:4px; }
@media (max-width:560px){ .team-avatar{ width:120px; height:120px; } }
.rv-feature{ position:relative; display:block; width:100%; padding:0; border:0; border-radius:20px; overflow:hidden; cursor:zoom-in; aspect-ratio:4/3; background:#000; }
.rv-feature img{ width:100%; height:100%; object-fit:cover; }
.rv-feature span{ position:absolute; inset-inline:12px; bottom:12px; display:flex; gap:8px; align-items:center; background:rgba(255,255,255,.92); color:#14252C; font-weight:700; font-size:.88rem; padding:8px 12px; border-radius:12px; text-align:start; }
.rv-strip{ display:grid; grid-auto-flow:column; grid-auto-columns:minmax(150px,1fr); gap:10px; overflow-x:auto; padding-bottom:8px; scroll-snap-type:x mandatory; }
.rv-thumb{ padding:0; border:0; border-radius:14px; overflow:hidden; aspect-ratio:3/4; cursor:zoom-in; scroll-snap-align:start; background:var(--surface-2); transition:transform .2s; }
.rv-thumb:hover{ transform:translateY(-3px); }
.rv-thumb img{ width:100%; height:100%; object-fit:cover; object-position:center 25%; }
.team-card{ gap:36px; padding:36px 40px; background:linear-gradient(135deg, var(--lamp-soft), var(--surface) 55%); }
.team-card h3{ font-size:1.8rem; }
.team-card p{ font-size:1.08rem; max-width:70ch; }
.team-avatar{ width:210px; height:210px; border:5px solid #fff; box-shadow:0 14px 30px -16px rgba(20,37,44,.55); }
@media (max-width:560px){ .team-card{ padding:24px; } .team-avatar{ width:150px; height:150px; } }
.team-cta{ display:flex; flex-wrap:wrap; align-items:center; gap:10px 14px; margin:0 0 14px; padding:12px 14px; border-radius:16px; background:var(--surface); border:1px dashed color-mix(in srgb, var(--lamp) 55%, var(--line)); }
.team-cta .tc-ic{ width:36px; height:36px; border-radius:12px; background:var(--sun); color:#14252C; display:grid; place-items:center; flex:none; }
.team-cta .tc-txt{ flex:1; min-width:220px; font-size:.95rem; color:var(--muted); }
.team-cta .tc-txt b{ color:var(--ink); }
.team-cta .btn{ white-space:nowrap; }

/* testimonies */
.testimonies{ background:linear-gradient(180deg, transparent, var(--surface-2) 40%, transparent); }
.tgrid{ display:grid; gap:16px; }
@media (min-width:900px){ .tgrid{ grid-template-columns:repeat(3,1fr); } }
.tcard{ position:relative; margin:0; display:flex; flex-direction:column; gap:14px; padding:26px; border-radius:22px; background:var(--surface); border:1px solid var(--line); box-shadow:0 18px 34px -28px rgba(20,37,44,.5); }
.tcard .tq{ font-family:var(--font-display); font-size:4rem; line-height:.6; color:var(--btn); height:28px; }
.tcard blockquote{ margin:0; font-family:var(--font-display); font-size:1.12rem; line-height:1.5; flex:1; }
.tcard.is-sample blockquote{ color:var(--muted); font-style:italic; }
.tcard figcaption{ display:flex; align-items:center; gap:10px; padding-top:12px; border-top:1px dashed var(--line); }
.tcard figcaption b{ display:block; }
.tcard figcaption small{ color:var(--muted); font-weight:600; }
.tav{ width:40px; height:40px; border-radius:50%; background:var(--lamp-soft); color:var(--lamp); display:grid; place-items:center; font-weight:800; flex:none; }
.tc-sample{ position:absolute; top:14px; inset-inline-end:14px; font-size:.68rem; }
/* 404 */
.nf{ background:radial-gradient(50% 60% at 50% 0%, rgba(255,216,77,.25), transparent 70%); }
.nf-wrap{ text-align:center; max-width:760px; padding-block:40px; }
.nf-wrap .eyebrow{ justify-content:center; display:inline-flex; }
.nf-wrap p{ margin-inline:auto; }
.nf-num{ font-family:var(--font-display); font-weight:700; font-size:clamp(6rem,20vw,11rem); line-height:1; background:linear-gradient(135deg,#9BE05F,#2F8F3A); -webkit-background-clip:text; background-clip:text; color:transparent; }
/* cookie banner */
.cookie{ position:fixed; z-index:95; inset-inline:12px; bottom:84px; max-width:760px; margin-inline:auto; display:flex; flex-wrap:wrap; gap:12px 18px; align-items:flex-end; justify-content:space-between; padding:16px 18px; border-radius:20px; background:var(--surface); border:1px solid var(--line); box-shadow:0 24px 48px -20px rgba(20,37,44,.45); }
@media (min-width:1080px){ .cookie{ bottom:20px; inset-inline-start:20px; inset-inline-end:auto; } }
.cookie .ck-body{ flex:1 1 360px; }
.cookie .ck-body b{ display:flex; gap:6px; align-items:center; }
.cookie .ck-body p{ margin:4px 0 0; font-size:.9rem; color:var(--muted); }
.cookie .ck-actions{ display:flex; flex-wrap:wrap; gap:8px; }
.cookie .ck-prefs{ margin-top:8px; }
.nospam{ display:flex; align-items:center; gap:6px; margin-top:6px; font-size:.8rem; }
.nospam svg{ width:14px; height:14px; color:var(--lamp); flex:none; }
.footer-main .nospam{ color:#9DB9AA; }
.footer-main .nospam svg{ color:#9BE05F; }
.gb-art{ position:relative; margin:-20px -20px 18px; height:170px; overflow:hidden; border-radius:24px 24px 0 0; }
@media (min-width:720px){ .gb-art{ margin:-28px -28px 20px; } }
.gb-art > img{ width:100%; height:100%; object-fit:cover; object-position:center 45%; }
.gb-logo{ position:absolute; inset-inline-start:18px; bottom:-1px; border-radius:16px 16px 0 0 !important; height:auto !important; }
.gb-logo img{ height:56px !important; }
.gb h2{ font-size:clamp(1.6rem,3.4vw,2.1rem); }
.cookie{ z-index:85; }
.modal .close{ z-index:3; background:var(--surface); }
/* guest book header v2 */
.gb-art{ height:200px; }
.gb-art > img{ object-position:center 60%; filter:saturate(1.05); }
.gb-art::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(10,33,25,.15) 0%, rgba(10,33,25,.65) 100%); }
.gb-welcome{ position:absolute; z-index:1; inset-inline:24px; bottom:46px; color:#fff; text-align:center; }
.gb-welcome span{ display:block; font-family:var(--font-display); font-style:italic; font-size:2rem; line-height:1.1; text-shadow:0 2px 12px rgba(0,0,0,.4); }
.gb-welcome b{ font-size:.78rem; letter-spacing:.16em; text-transform:uppercase; color:#C9F08F; }
.gb-logo-row{ display:flex; justify-content:center; margin:-56px 0 12px; position:relative; z-index:2; }
.gb .gb-logo{ position:static; border-radius:18px !important; height:auto !important; padding:8px 14px; box-shadow:0 14px 30px -14px rgba(20,37,44,.55); }
.gb .gb-logo img{ height:64px !important; }
.gb > .eyebrow, .gb > h2, .gb > p{ text-align:center; justify-content:center; display:block; margin-inline:auto; }
.gb > .eyebrow.line{ display:flex; }

/* ===== v6: Blog, articles, Pastor's Desk ===== */
.bfeat{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:22px;margin-bottom:34px}
.bpost{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:20px;overflow:hidden;text-decoration:none!important;color:inherit;transition:transform .2s,box-shadow .2s;min-width:0}
.bpost:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(20,40,70,.12)}
.bpost:focus-visible{outline:3px solid var(--lamp);outline-offset:3px}
.bpost-img{position:relative;aspect-ratio:16/9;overflow:hidden;background:var(--surface-2)}
.bpost-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.bpost:hover .bpost-img img{transform:scale(1.04)}
.bpost-tag{position:absolute;top:12px;inset-inline-start:12px;background:rgba(255,255,255,.94);color:#1b3350;font-size:.74rem;font-weight:800;padding:4px 10px;border-radius:999px;letter-spacing:.02em}
.bpost-body{padding:16px 18px 18px;display:flex;flex-direction:column;gap:6px;flex:1}
.bpost-body time{font-size:.8rem;color:var(--muted);font-weight:600}
.bpost-body h3{font-size:1.06rem;line-height:1.3;margin:0}
.bpost-body p{font-size:.92rem;color:var(--muted);margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.bpost-more{margin-top:auto;padding-top:8px;font-weight:800;font-size:.88rem;color:var(--lamp);display:inline-flex;align-items:center;gap:6px}
.bpost-more svg{width:16px;height:16px}
.bpost.big .bpost-body{padding:22px 24px 24px}
.bpost.big h3{font-size:clamp(1.3rem,2.4vw,1.8rem)}
.bpost.big p{-webkit-line-clamp:3;font-size:1rem}
.bside{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:18px;display:flex;flex-direction:column;gap:6px}
.bside-h{font-size:1.05rem;margin:0 0 6px}
.bmini{display:grid;grid-template-columns:96px minmax(0,1fr);gap:12px;align-items:center;padding:8px;border-radius:14px;text-decoration:none!important;color:inherit}
.bmini:hover{background:var(--surface-2)}
.bmini img{width:96px;height:64px;object-fit:cover;border-radius:10px}
.bmini small{display:block;color:var(--muted);font-size:.76rem;font-weight:600}
.bmini b{display:block;font-size:.92rem;line-height:1.3}
.btools{display:flex;flex-direction:column;gap:14px;margin-bottom:18px}
.bsearch{position:relative;max-width:520px}
.bsearch svg{position:absolute;top:50%;inset-inline-start:14px;transform:translateY(-50%);width:18px;height:18px;color:var(--muted)}
.bsearch .input{padding-inline-start:42px}
.btopics .chip{cursor:pointer;font-size:.86rem;padding:.4rem .85rem}
.btopics .chip[aria-pressed="true"]{background:var(--btn,#7AC943);color:#fff;border-color:transparent}
.btopics .chip span{opacity:.7;font-weight:600}
.bcount{margin:4px 0 14px;font-weight:600}
.bgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.bnews{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:20px;align-items:center}
.bnews h2{margin:4px 0}
.bnf{display:flex;gap:10px;flex-wrap:wrap}
.bnf .input{flex:1;min-width:200px}
/* article */
.art-wrap{max-width:820px}
.art-head{padding:36px 0 18px;background:linear-gradient(180deg,var(--lamp-soft),transparent)}
.art-head h1{font-size:clamp(1.8rem,4.2vw,2.9rem);line-height:1.15;margin:8px 0 18px}
.art-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.art-meta img{width:40px;height:40px;border-radius:50%;object-fit:cover}
.art-meta span b,.art-meta span small{display:block}
.art-meta small{color:var(--muted)}
.art-share{margin-inline-start:auto;display:flex;gap:6px}
.art-hero{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:22px;margin:8px 0 26px;box-shadow:0 18px 40px rgba(20,40,70,.14)}
.art-body{font-size:1.1rem;line-height:1.75}
.art-body h2{font-size:1.5rem;margin:1.6em 0 .5em}.art-body h3{font-size:1.2rem;margin:1.4em 0 .4em}
.art-body blockquote{border-inline-start:4px solid var(--lamp);padding:.4em 1em;margin:1.2em 0;background:var(--surface-2);border-radius:0 12px 12px 0;font-style:italic}
.art-lede{font-size:1.25rem;font-weight:600;color:var(--ink,inherit)}
.art-loading{text-align:center;padding:28px}
.art-loading p{margin:8px 0 16px}
.art-cta{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin:30px 0 18px}
.art-cta h2{font-size:1.3rem;margin:0}
.art-nav{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:10px}
.art-nav a{display:block;padding:14px 16px;border:1px solid var(--line);border-radius:16px;text-decoration:none!important;color:inherit;background:var(--surface)}
.art-nav a:hover{border-color:var(--lamp)}
.art-nav a.nx{text-align:end}
.art-nav small{display:block;color:var(--muted);font-weight:700;font-size:.78rem}
.art-nav b{font-size:.95rem;line-height:1.3}
/* pastor's desk */
.desk-grid{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:30px;align-items:center}
.desk-photo{margin:0;text-align:center}
.desk-photo img{width:220px;height:220px;border-radius:50%;object-fit:cover;border:6px solid #fff;box-shadow:0 14px 34px rgba(20,40,70,.18)}
.desk-photo figcaption{margin-top:10px;font-weight:800}
.desk-photo small{display:block;font-weight:500;color:var(--muted);max-width:240px;margin:2px auto 0;font-size:.82rem}
.desk-intro{font-size:1.1rem;line-height:1.75;max-width:860px;margin:0 auto 34px;border-inline-start:5px solid var(--lamp)}
.desk-sign{font-family:var(--font-display,inherit);margin-bottom:0}
.desk-h{margin-bottom:16px}
.desk-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.desk-card{display:grid;grid-template-columns:150px minmax(0,1fr);gap:18px;align-items:start}
.desk-card img{width:150px;height:150px;object-fit:cover;border-radius:16px}
.desk-card h3{margin:4px 0 8px}
.desk-card blockquote{margin:0 0 10px;padding:10px 14px;background:var(--lamp-soft);border-radius:12px;font-style:italic;font-weight:600}
.desk-card cite{display:block;font-style:normal;font-weight:700;font-size:.82rem;color:var(--muted);margin-top:4px}
@media (max-width:980px){.bgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.bfeat{grid-template-columns:1fr}}
@media (max-width:760px){.desk-list{grid-template-columns:1fr}.desk-grid{grid-template-columns:1fr}.desk-photo{order:-1}.desk-photo img{width:150px;height:150px}.bnews{grid-template-columns:1fr}}
@media (max-width:600px){.bgrid{grid-template-columns:1fr}.desk-card{grid-template-columns:1fr}.desk-card img{width:100%;height:auto;aspect-ratio:16/9}.art-nav{grid-template-columns:1fr}.art-nav a.nx{text-align:start}}
@media (max-width:1420px){ .nav a,.nav-dd-btn{ padding:.5rem .55rem; font-size:.89rem; } .topbar .tools{ gap:6px; } }
@media (min-width:1080px) and (max-width:1219px){ .nav{ display:none; } .menu-btn{ display:inline-flex; } .tools{ margin-inline-start:auto; } }
@media (min-width:1220px) and (max-width:1379px){ .tools .hide-sm{ display:none; } }
/* holiday greetings */
.hol{margin:0 0 40px;padding:26px;border-radius:24px;background:linear-gradient(135deg,var(--lamp-soft),var(--surface));border:1px solid var(--line)}
.hol-head{display:flex;justify-content:space-between;align-items:end;gap:12px;flex-wrap:wrap;margin-bottom:18px}
.hol-head h2{margin:4px 0 0}
.hol-next{margin:0;background:var(--surface);border:1px solid var(--line);padding:8px 14px;border-radius:999px;font-size:.92rem}
.hol-feat{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:0;background:var(--surface);border-radius:20px;overflow:hidden;box-shadow:0 14px 34px rgba(20,40,70,.12);margin-bottom:20px}
.hol-feat img{width:100%;height:100%;min-height:240px;object-fit:cover}
.hol-feat-b{padding:24px}
.hol-feat h3{font-size:clamp(1.5rem,3vw,2.1rem);margin:10px 0 8px}
.hol-badge{display:inline-block;background:var(--btn,#7AC943);color:#fff;font-weight:800;font-size:.8rem;padding:5px 12px;border-radius:999px}
.hol-feat blockquote{margin:12px 0;padding:10px 14px;background:var(--lamp-soft);border-radius:12px;font-style:italic;font-weight:600}
.hol-feat cite{display:block;font-style:normal;font-size:.82rem;color:var(--muted);margin-top:4px}
.hol-sign{font-weight:700;margin:0}
.hol-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.hol-list li{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:12px;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:10px 12px}
.hol-list time{text-align:center;background:var(--surface-2);border-radius:10px;padding:4px 0;line-height:1.1}
.hol-list time b{display:block;font-size:1.2rem}.hol-list time small{font-size:.72rem;text-transform:uppercase;font-weight:700;color:var(--muted)}
.hol-list span b{display:block;font-size:.95rem}.hol-list span small{color:var(--muted);font-size:.8rem}
.hol-list em{font-style:normal;font-size:.78rem;font-weight:800;color:var(--muted);white-space:nowrap}
.hol-list li.past{opacity:.55}
.hol-list li.next{border-color:var(--btn,#7AC943);box-shadow:0 0 0 2px rgba(122,201,67,.25)}
.hol-list li.next em,.hol-list li.now em{color:var(--lamp)}
.hol-list li.now{border-color:var(--btn,#7AC943);background:var(--lamp-soft)}
.hol-note{font-size:.82rem;margin:14px 0 0}
@media (max-width:760px){.hol{padding:18px}.hol-feat{grid-template-columns:1fr}.hol-feat img{min-height:0;aspect-ratio:16/9}.hol-list{grid-template-columns:1fr}}
.hol-tag{font-style:normal;font-weight:800;font-size:.68rem;padding:1px 7px;border-radius:999px;margin-inline-end:6px;vertical-align:1px}
.hol-tag.fed{background:#e3ecf8;color:#1d4f8a}.hol-tag.chr{background:#f3ead2;color:#7a5a00}
[data-theme="dark"] .hol-tag.fed{background:#1f3350;color:#cfe0f6}[data-theme="dark"] .hol-tag.chr{background:#4a3b12;color:#f4e2b0}
/* responsive safety: grid columns never grow wider than the screen */
.grid{ grid-template-columns:minmax(0,1fr); }
.grid > *, .bgrid > *, .tgrid > *, .rv-grid > *, .games-grid > *{ min-width:0; }
@media (min-width:640px){ .g2,.g3,.g4{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (min-width:980px){ .g3{ grid-template-columns:repeat(3,minmax(0,1fr)); } .g4{ grid-template-columns:repeat(4,minmax(0,1fr)); } }
img{ max-width:100%; }
.flyer-frame .fl-bg{ max-width:none; }
/* holiday popup */
.holpop{margin:-8px}
.holpop-art{position:relative;border-radius:18px;overflow:hidden;aspect-ratio:16/8}
.holpop-art img{width:100%;height:100%;object-fit:cover}
.holpop-art .hol-badge{position:absolute;left:14px;bottom:14px}
.holpop-b{padding:18px 6px 4px}
.holpop-b h2{font-size:clamp(1.6rem,4vw,2.2rem);margin:0 0 8px}
.holpop-b blockquote{margin:12px 0;padding:10px 14px;background:var(--lamp-soft);border-radius:12px;font-style:italic;font-weight:600}
.holpop-b cite{display:block;font-style:normal;font-size:.82rem;color:var(--muted);margin-top:4px}
.holpop-b .chips{margin-top:14px}
.holpop-timer{height:4px;background:var(--surface-2);border-radius:4px;overflow:hidden;margin:12px 6px 0}
.holpop-timer i{display:block;height:100%;width:100%;background:var(--btn,#7AC943);transform-origin:left;animation:holT 7s linear forwards}
[dir="rtl"] .holpop-timer i{transform-origin:right}
@keyframes holT{to{transform:scaleX(0)}}
@media (prefers-reduced-motion:reduce){.holpop-timer i{animation:none}}
.hol-list li{align-items:start}
.hol-list em{padding-top:4px}
.hol-verse{display:block;font-style:italic;font-size:.86rem;line-height:1.4;margin:3px 0 4px;color:var(--ink,inherit);quotes:"“" "”"}
.hol-verse cite{font-style:normal;font-weight:700;font-size:.76rem;color:var(--lamp);white-space:nowrap}

/* ===== Christmas season (Dec 10 – Jan 2), turned on by data-season="christmas" ===== */
:root[data-season="christmas"]:not([data-contrast="high"]){
  --bg:#FBF6EF; --surface-2:#F5EADC; --line:#EBDCC8; --ink:#1D1714; --muted:#5E4E44;
  --lamp:#B3121F; --lamp-soft:#FCE6E3; --ok:#1F7A43; --btn:#C8102E; --sun:#F2C14E;
}
:root[data-season="christmas"][data-theme="dark"]:not([data-contrast="high"]){
  --bg:#13100F; --surface:#1C1715; --surface-2:#271F1C; --line:#3A2D28; --ink:#F6EEE8; --muted:#CDBBB0;
  --lamp:#FF6B6B; --lamp-soft:#3A1A1A; --btn:#E0343F;
}
:root[data-season="christmas"] .btn-lamp,:root[data-season="christmas"] .give-btn{ color:#fff !important; }
:root[data-season="christmas"] .btn-lamp svg{ color:#fff; }
:root[data-season="christmas"] .eyebrow,:root[data-season="christmas"] .hol-badge{ letter-spacing:.06em; }
:root[data-season="christmas"] .hol-badge,:root[data-season="christmas"] .btopics .chip[aria-pressed="true"]{ background:#1F7A43; }
:root[data-season="christmas"]:not([data-theme="dark"]) .hero{ background:radial-gradient(70% 90% at 100% 0%, #FCE3E0 0%, transparent 60%), radial-gradient(60% 80% at 0% 100%, #E3F1E6 0%, transparent 60%), #FFFBF5 !important; }
:root[data-season="christmas"] .phead{ background:radial-gradient(60% 120% at 90% 0%, #FCE3E0, transparent), radial-gradient(50% 100% at 0% 100%, #E5F2E7, transparent), var(--bg); }
:root[data-season="christmas"][data-theme="dark"] .phead,:root[data-season="christmas"][data-theme="dark"] .hero{ background:radial-gradient(60% 120% at 90% 0%, #3A1717, transparent), radial-gradient(50% 100% at 0% 100%, #12301F, transparent), var(--bg) !important; }
/* bells on the home hero, tree on page headers */
:root[data-season="christmas"] .hero::after{ content:""; position:absolute; top:10px; left:50%; margin-left:-50px; width:100px; height:82px; background:url(img/xmas/bells.svg) no-repeat center/contain; z-index:2; pointer-events:none; animation:xmasSwing 3.2s ease-in-out infinite; transform-origin:50% 0; }
:root[data-season="christmas"] .phead{ position:relative; overflow:hidden; }
:root[data-season="christmas"] .phead::after{ content:""; position:absolute; bottom:-6px; inset-inline-end:3%; width:96px; height:128px; background:url(img/xmas/tree.svg) no-repeat bottom/contain; pointer-events:none; opacity:.95; }
@keyframes xmasSwing{ 0%,100%{ transform:rotate(-4deg); } 50%{ transform:rotate(4deg); } }
/* string of lights under the header */
.xmas-lights{ position:absolute; left:0; right:0; bottom:-9px; height:18px; display:flex; justify-content:space-between; padding:0 10px; pointer-events:none; overflow:hidden; }
.xmas-lights::before{ content:""; position:absolute; left:0; right:0; top:2px; height:8px; border-top:2px solid #2e3a2f; border-radius:50%; opacity:.5; }
.xmas-lights i{ position:relative; width:9px; height:13px; margin-top:4px; border-radius:50% 50% 50% 50%/60% 60% 40% 40%; background:var(--c); box-shadow:0 0 8px 2px var(--c); animation:xmasTwinkle 1.8s ease-in-out infinite; animation-delay:var(--d); }
.xmas-lights i::before{ content:""; position:absolute; top:-3px; left:2px; width:5px; height:4px; background:#3b463c; border-radius:2px; }
.xmas-lights i:nth-child(n+21){ display:none; }
@media (min-width:760px){ .xmas-lights i:nth-child(n+21){ display:block; } }
@keyframes xmasTwinkle{ 0%,100%{ opacity:1; } 50%{ opacity:.35; box-shadow:none; } }
/* gentle snowfall */
.xmas-snow{ position:fixed; inset:0; pointer-events:none; z-index:40; overflow:hidden; }
.xmas-snow i{ position:absolute; top:-30px; font-style:normal; color:#cfe0ee; font-size:calc(14px * var(--z)); opacity:.75; text-shadow:0 0 4px rgba(120,150,180,.35); animation:xmasFall var(--s) linear infinite; animation-delay:var(--dl); }
:root[data-theme="dark"] .xmas-snow i{ color:#fff; }
@keyframes xmasFall{ to{ transform:translateY(110vh) translateX(40px) rotate(180deg); } }
/* festive banner at the top of each page */
.xmas-banner{ display:flex; align-items:center; justify-content:center; gap:14px; padding:10px 16px; background:linear-gradient(90deg,#9E0B22,#C8102E 30%,#1F7A43 70%,#145C31); color:#fff !important; text-decoration:none !important; text-align:center; position:relative; }
.xmas-banner b{ font-family:var(--font-display); font-size:1.05rem; }
.xmas-banner small{ display:block; opacity:.92; font-size:.85rem; }
.xmas-banner img{ flex:none; filter:drop-shadow(0 2px 4px rgba(0,0,0,.3)); }
.xmas-banner:hover b{ text-decoration:underline; }
/* holly on the footer */
:root[data-season="christmas"] .footer-main::after{ content:""; position:absolute; top:52px; left:0; right:0; height:30px; background:url(img/xmas/holly.svg) repeat-x center/96px 30px; pointer-events:none; opacity:.95; }
:root[data-season="christmas"] .footer-main h4,:root[data-season="christmas"] .fverse + *{ color:#F2C14E; }
@media (max-width:980px){ :root[data-season="christmas"] .hero::after{ display:none; } }
@media (max-width:700px){ :root[data-season="christmas"] .phead::after{ width:60px; height:80px; opacity:.6; } .xmas-banner{ gap:10px; padding:8px 12px; } .xmas-banner small{ display:none; } .xmas-banner img:last-child{ display:none; } }
@media (prefers-reduced-motion:reduce){ .xmas-snow{ display:none; } .xmas-lights i,:root[data-season="christmas"] .hero::after{ animation:none; } }
:root[data-season="christmas"] .phead.desk-head::after{ display:none; }
/* page change animation */
#app.page-in{ animation:pageIn .5s cubic-bezier(.2,.75,.25,1) both; }
@keyframes pageIn{ from{ opacity:0; transform:translateY(18px); filter:blur(3px); } 60%{ filter:blur(0); } to{ opacity:1; transform:none; filter:none; } }
#app.page-in .section,#app.page-in .phead > .wrap{ animation:pageInChild .6s cubic-bezier(.2,.75,.25,1) both; }
#app.page-in .section:nth-of-type(2){ animation-delay:.06s; } #app.page-in .section:nth-of-type(3){ animation-delay:.12s; }
@keyframes pageInChild{ from{ opacity:0; transform:translateY(12px); } to{ opacity:1; transform:none; } }
#pageBar{ position:fixed; top:0; left:0; right:0; height:3px; z-index:120; pointer-events:none; background:linear-gradient(90deg,transparent,var(--btn,#7AC943),var(--sun,#FFD84D),transparent); transform:scaleX(0); transform-origin:left; opacity:0; }
#pageBar.go{ animation:pageBar .7s ease-out both; }
[dir="rtl"] #pageBar{ transform-origin:right; }
@keyframes pageBar{ 0%{ transform:scaleX(0); opacity:1; } 70%{ transform:scaleX(1); opacity:1; } 100%{ transform:scaleX(1); opacity:0; } }
@media (prefers-reduced-motion:reduce){ #app.page-in,#app.page-in .section,#app.page-in .phead > .wrap{ animation:none; } #pageBar{ display:none; } }
/* cart stays in the header on phones */
.tools .cart-btn{ display:grid !important; }
@media (max-width:420px){ .tools{ gap:6px; } .tools .icon-btn{ width:40px; height:40px; } }
@media (max-width:374px){ .topbar .wrap{ gap:8px; padding-inline:10px; } .brand-logo{ height:58px; padding:4px 8px; } .brand-logo img{ height:48px; } .tools{ gap:4px; margin-inline-start:auto; } .tools .icon-btn{ width:36px; height:36px; } .lang-select{ height:36px; padding:0 .25rem; } }
/* flying Santa (Christmas season page change) */
.santa-fly{ position:fixed; top:170px; left:0; width:min(320px,62vw); z-index:130; pointer-events:none; animation:santaFly 2.2s cubic-bezier(.45,.05,.4,1) forwards; }
.santa-fly img{ width:100%; height:auto; filter:drop-shadow(0 8px 14px rgba(0,0,0,.25)); animation:santaBob .55s ease-in-out infinite alternate; }
.santa-trail{ position:absolute; top:62%; right:96%; width:260px; height:6px; border-radius:6px; background:linear-gradient(90deg,transparent,rgba(242,193,78,.0) 10%,rgba(242,193,78,.9)); filter:blur(1px); }
.santa-trail::before,.santa-trail::after{ content:"✦  ✧  ✦  ✧  ✦"; position:absolute; right:10px; top:-14px; color:#f2c14e; font-size:12px; letter-spacing:6px; white-space:nowrap; }
.santa-trail::after{ top:6px; right:40px; opacity:.7; font-size:9px; }
@keyframes santaFly{ 0%{ transform:translate(-110%,60px) rotate(-6deg); opacity:0; } 8%{ opacity:1; } 50%{ transform:translate(45vw,-20px) rotate(-3deg); } 92%{ opacity:1; } 100%{ transform:translate(105vw,40px) rotate(-8deg); opacity:0; } }
@keyframes santaBob{ from{ transform:translateY(-3px); } to{ transform:translateY(3px); } }
[dir="rtl"] .santa-fly{ left:auto; right:0; animation-name:santaFlyRtl; }
[dir="rtl"] .santa-fly img,[dir="rtl"] .santa-trail{ transform:scaleX(-1); }
[dir="rtl"] .santa-trail{ right:auto; left:96%; }
@keyframes santaFlyRtl{ 0%{ transform:translate(110%,60px) rotate(6deg); opacity:0; } 8%{ opacity:1; } 50%{ transform:translate(-45vw,-20px) rotate(3deg); } 92%{ opacity:1; } 100%{ transform:translate(-105vw,40px) rotate(8deg); opacity:0; } }
@media (max-width:700px){ .santa-fly{ top:140px; } .santa-trail{ width:140px; } }
@media (prefers-reduced-motion:reduce){ .santa-fly{ display:none; } }
/* brand colours for YouTube and Facebook icons */
.soc-yt,.social a.soc-yt{ background:#FF0000 !important; border-color:#FF0000 !important; color:#fff !important; }
.soc-fb,.social a.soc-fb{ background:#1877F2 !important; border-color:#1877F2 !important; color:#fff !important; }
.soc-yt:hover{ background:#CC0000 !important; } .soc-fb:hover{ background:#0F5FCC !important; }
.soc-yt svg,.soc-fb svg{ color:#fff; }
.art-skel{display:grid;gap:12px;padding:6px 0 20px}
.art-skel i{display:block;height:16px;border-radius:8px;background:linear-gradient(90deg,var(--surface-2),var(--line),var(--surface-2));background-size:200% 100%;animation:skel 1.2s linear infinite}
.art-skel i:nth-child(2){width:92%}.art-skel i:nth-child(3){width:96%}.art-skel i:nth-child(4){width:70%}
@keyframes skel{to{background-position:-200% 0}}
.art-body p{margin:0 0 1.1em}
.art-body ul,.art-body ol{padding-inline-start:1.4em;margin:0 0 1.2em}
.art-body li{margin:.35em 0}
.art-body h2:first-child{margin-top:0}
.art-body a{color:var(--lamp);text-decoration:underline}
/* music player */
.pl-ctrl{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.pl-seek{flex:1;min-width:120px;accent-color:var(--btn,#7AC943);height:6px}
.track.soon{opacity:.62}
.soon-tag{font-size:.72rem;font-weight:700;color:var(--muted);white-space:nowrap}
.eq{display:inline-flex;gap:2px;align-items:flex-end;height:16px}
.eq i{width:3px;background:var(--btn,#7AC943);border-radius:2px;animation:eq .9s ease-in-out infinite}
.eq i:nth-child(2){animation-delay:.2s}.eq i:nth-child(3){animation-delay:.4s}
@keyframes eq{0%,100%{height:4px}50%{height:16px}}
#playT[disabled]{opacity:.5;cursor:not-allowed}
@media (prefers-reduced-motion:reduce){.eq i{animation:none;height:10px}}
/* sermon PDFs */
.pdf-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));gap:16px}
.pdf-card{display:grid;grid-template-columns:64px minmax(0,1fr);gap:14px;align-items:start}
.pdf-ic{width:64px;height:80px;border-radius:10px;background:linear-gradient(160deg,#fff,var(--surface-2));border:1px solid var(--line);display:grid;place-items:center;align-content:center;gap:2px;color:var(--lamp);position:relative}
.pdf-ic svg{width:26px;height:26px}
.pdf-ic span{font-size:.68rem;font-weight:800;background:#C8102E;color:#fff;border-radius:4px;padding:1px 5px}
.pdf-b h3{font-size:1.02rem;line-height:1.3;margin:4px 0 4px}
.pdf-b .chips{margin-top:10px}
.chip-pdf{background:#FCE6E3;color:#9E0B22;border-color:#F3C7C1;font-weight:700}.chip-pdf svg{width:15px;height:15px;vertical-align:-2px}[data-theme="dark"] .chip-pdf{background:#3A1A1A;color:#FFB4B4;border-color:#5a2a2a}
/* sermon reading pages */
.sermon-body sup{font-size:.68em;font-weight:800;color:var(--lamp);margin-inline-end:2px}
.sermon-body h3{font-size:1.25rem;margin:1.5em 0 .5em;color:var(--ink)}
.sermon-body p.sub{padding-inline-start:1.2em}
.sermon-body p strong:first-child em,.sermon-body p em:first-child strong{color:var(--lamp);letter-spacing:.03em}
.pdf-link{text-decoration:none!important;color:inherit}.pdf-link:hover{border-color:var(--lamp)}
.pdf-link .pdf-ic span{font-size:.58rem}
@media print{ .topbar,.tabbar,.footer,#footer,.art-cta,.art-nav,.art-share,.section,.chat-fab,#chatFab,.xmas-banner,.cookie{display:none!important} .art-head{background:none!important} }

/* v7 sermon narration player */
.ser-listen{display:grid;gap:10px;padding:16px 18px;margin:0 0 22px;border:1px solid color-mix(in srgb,var(--lamp,#e0a526) 35%,transparent)}
.ser-listen .sl-top{display:flex;gap:12px;align-items:center}
.ser-listen .sl-top div{display:grid;gap:2px}
.ser-listen .sl-ic{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--lamp,#e0a526);color:#1b1305;flex:none}
.ser-listen .sl-ic svg{width:18px;height:18px}
.ser-listen audio{width:100%;height:44px}
.ser-listen .sl-note{font-size:.8rem}
.ai-box .ser-listen{margin:10px 0 12px}
.sl-tag{display:inline-flex;align-items:center;gap:4px;font-size:.75rem;margin-inline-end:8px;white-space:nowrap}
.sl-tag svg{width:11px;height:11px}
.ser-listen .sl-ic{border:0;cursor:pointer}.ser-listen .sl-ic:focus-visible{outline:3px solid var(--ink,#111);outline-offset:2px}
.desk-intro{overflow:hidden}.desk-intro .desk-banner{display:block;width:calc(100% + 40px);max-width:none;margin:-20px -20px 18px;aspect-ratio:16/6;height:auto!important;object-fit:cover;object-position:center 80%}
/* v8 accounts, dashboards, notices */
.site-notice{background:var(--lamp);color:#1b1305;text-align:center;font-weight:600;padding:8px 16px;font-size:.95rem}
.pw-wrap{position:relative}.pw-wrap .btn{position:absolute;inset-inline-end:4px;top:5px}
.preview-note{margin:16px 0 0;display:flex;gap:8px;align-items:flex-start;font-size:.85rem}.preview-note svg{flex:none;width:16px;height:16px;margin-top:3px}
.dash-empty{padding:18px 4px;margin:0}.dash-loading{padding:40px;text-align:center;color:var(--muted)}
.kpis button.kpi{text-align:start;font:inherit;color:inherit;cursor:pointer}.kpis button.kpi:hover{border-color:var(--lamp)}
.adm-row{flex-wrap:wrap}.adm-extra{display:grid;gap:2px;margin-top:8px;font-size:.92rem}.adm-act{align-self:flex-start}
.input-sm{padding:6px 10px;min-height:36px;width:auto}
.signout{text-decoration:none}
.hp-field{position:absolute!important;inset-inline-start:0;top:0;width:1px!important;height:1px!important;padding:0!important;border:0!important;opacity:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);pointer-events:none}
.t-invite{display:flex;gap:20px;align-items:center;justify-content:space-between;flex-wrap:wrap}.t-invite h2{margin:4px 0 6px}.t-invite p{max-width:640px;margin:0}
.chat-list{margin:8px 0 0;padding-inline-start:18px;display:grid;gap:6px}.chat-list li small{display:block;opacity:.75;font-size:.8rem}
.chat-rel{margin-top:10px;display:flex;flex-wrap:wrap;gap:6px;align-items:center}.chat-rel small{width:100%;opacity:.75}.chat-rel .chip{cursor:pointer;font-size:.8rem}
/* v9 admin content manager */
.cm-form .up-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.cm-form .up-row .input{flex:1;min-width:220px}
.up-status{display:inline-flex;gap:6px;align-items:center;font-size:.9rem;color:var(--ok,#2e7d32)}.up-status svg{width:16px;height:16px}
.cm-prev{display:block;max-width:100%;width:360px;aspect-ratio:16/9;object-fit:cover;border-radius:12px;margin:-4px 0 14px;border:1px solid var(--line,#ddd)}
.rte{border:1px solid var(--line,#cfd6da);border-radius:12px;overflow:hidden;background:var(--surface,#fff)}
.rte-bar{display:flex;flex-wrap:wrap;gap:2px;padding:6px;border-bottom:1px solid var(--line,#cfd6da);background:var(--surface-2,#f4f6f5)}
.rte-bar button{min-width:36px;height:34px;border:0;border-radius:8px;background:transparent;cursor:pointer;font:inherit;font-size:.9rem;color:inherit}
.rte-bar button:hover,.rte-bar button:focus-visible{background:var(--lamp-soft,#eef6e6);outline:none}
.rte-area{min-height:260px;max-height:60vh;overflow:auto;padding:14px 16px;line-height:1.7;outline:none}
.rte-area:focus{box-shadow:inset 0 0 0 2px var(--lamp,#7AC943)}
.rte-area h2{font-size:1.4rem;margin:.8em 0 .3em}.rte-area h3{font-size:1.15rem;margin:.8em 0 .3em}
.rte-area blockquote{margin:.8em 0;padding:.4em 1em;border-inline-start:4px solid var(--lamp,#7AC943);background:var(--surface-2,#f4f6f5);border-radius:6px}
.sp-tools{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.sp-tools .bsearch{flex:1;min-width:220px}.sp-tools select{min-width:220px}
.th-sort{background:none;border:0;font:inherit;font-weight:700;color:inherit;cursor:pointer;padding:0;display:inline-flex;gap:4px;align-items:center;white-space:nowrap}
.th-sort span{opacity:.6;font-size:.75em}.sp-hist td{background:var(--surface-2,#f4f6f5)}
.sp-table{font-size:.9rem}.sp-table th,.sp-table td{padding:10px 8px}.sp-table td:nth-child(5),.sp-table td:nth-child(6){white-space:nowrap;font-size:.85rem}.sp-table .chip{font-size:.72rem;padding:3px 8px}
#dbody,.dash>*,#dbody .card,#dbody .grid>*{min-width:0}#dbody .table-wrap{max-width:100%;overflow-x:auto}#dbody .row-item{flex-wrap:wrap}
.table-wrap{position:relative}
.cm-prev[hidden]{display:none}
.person{min-width:0;overflow-wrap:anywhere}.person small,.person b{overflow-wrap:anywhere;hyphens:auto}
@media (max-width:480px){.meet-badge{inset-inline-end:0;max-width:calc(100% - 12px)}}
