/* Debbie's Little Light — one stylesheet, mobile-first.
   The look is the "Buttons, five ways" set: five self-contained styles (Rim, Jelly, Tonal, Ember, Liquid glass).
   Put one t-* class on a block (header, a section, the tab bar, the footer) and dress its parts with .btn (+ kind)
   and .card. Styles never nest: a t-* block must not sit inside another, or the rules of both would apply. */

@font-face { font-family: "Geist"; font-weight: 500; font-display: swap; src: url("../fonts/geist-500.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-weight: 600; font-display: swap; src: url("../fonts/geist-600.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-weight: 700; font-display: swap; src: url("../fonts/geist-700.woff2") format("woff2"); }

:root {
  /* type */
  --font-sans: "Geist", system-ui, sans-serif;
  --button-size: 17px;
  --button-weight: 500;
  --button-tracking: -0.01em;
  --button-h: 56px;

  /* button layout */
  --button-gap: 10px;
  --segment-inset: 5px;
  --indicator-slide: transform 0.35s cubic-bezier(0.3, 1.2, 0.5, 1);

  /* style-switch flash: white in difference mode, 0.55 → 0 */
  --flash: #fff;

  /* glass orbs (shown by the Liquid glass style only) */
  --orb-mint: radial-gradient(circle at 35% 30%, #b8ffe4, #2fd3a0);
  --orb-violet: radial-gradient(circle at 35% 30%, #e3d2ff, #8a5bff);
  --orb-sky: radial-gradient(circle at 35% 30%, #c8ecff, #3aa8ff);
  --orb-amber: radial-gradient(circle at 35% 30%, #ffe1c2, #ff8a3d);

  /* scripted cursor (home hero) */
  --cursor-fill: #fff;
  --cursor-stroke: #111;
  --cursor-shadow: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.35));

  --header-h: 64px;
  --radius-card: 26px;
}

@media (min-width: 760px) {
  :root { --button-size: 19px; --button-h: 64px; }
}

/* ---------- reset + page ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 500;
  color: #2b2018;
  background: #eceae6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img, svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 760px) { .wrap { padding: 0 28px; } }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: #111; padding: 10px 16px; border-radius: 12px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent, #ff7a2a); outline-offset: 3px; border-radius: 12px; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- the five styles: page colours ---------- */
.t-rim, .t-jelly, .t-tonal, .t-ember, .t-glass {
  background: var(--bg);
  color: var(--fg);
  isolation: isolate; /* Rim's glow sinks behind its button with z-index -1: keep it inside the block */
}

/* 1 Rim (dark, light-leak edge) */
.t-rim { --bg: #050507; --fg: #e8e4ff; --dot: rgba(190, 170, 255, 0.13); --muted: rgba(232, 228, 255, 0.62); --accent: #b48cff; }
/* 2 Jelly (light, candy) */
.t-jelly { --bg: #eceae6; --fg: #2b2018; --dot: rgba(60, 40, 20, 0.13); --muted: rgba(43, 32, 24, 0.66); --accent: #f0520e; }
/* 3 Tonal (cobalt on cobalt); the page light is the 90% × 80% ellipse at 30% / 20% */
.t-tonal { --bg: #1d33f0; --fg: #fff; --dot: rgba(255, 255, 255, 0.16); --muted: rgba(255, 255, 255, 0.74); --accent: #fff;
  background: radial-gradient(90% 80% at 30% 20%, #3a55ff, #1d33f0 55%, #1224b8); }
/* 4 Ember (dark, molten underglow) */
.t-ember { --bg: #0a0705; --fg: #ffe3c4; --dot: rgba(255, 170, 90, 0.12); --muted: rgba(255, 227, 196, 0.62); --accent: #ff8a2a; }
/* 5 Liquid glass (light) */
.t-glass { --bg: #eef0f3; --fg: #15171c; --dot: rgba(20, 30, 50, 0.12); --muted: rgba(21, 23, 28, 0.64); --accent: #6a46ff; }

/* ---------- buttons: layout shared by all five styles ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--button-gap);
  height: var(--button-h);
  padding: 0 26px;
  border: 0;
  font: inherit;
  font-size: var(--button-size);
  font-weight: var(--button-weight);
  letter-spacing: var(--button-tracking);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.12s;
}
.btn::before, .btn::after, .card::before, .card::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
}
.btn > * { position: relative; }
.btn--icon { width: var(--button-h); padding: 0; }

/* the segmented switch: two halves over a sliding indicator */
.seg { justify-content: stretch; padding: var(--segment-inset); }
.seg > span { flex: 1; height: 100%; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.seg__ind {
  position: absolute; top: var(--segment-inset); bottom: var(--segment-inset); left: var(--segment-inset);
  width: calc(50% - var(--segment-inset)); z-index: 0; transition: var(--indicator-slide);
}
.seg.is-on .seg__ind { transform: translateX(100%); }
@media (prefers-reduced-motion: reduce) { .seg__ind { transition: none; } }

/* ---------- cards: the same five looks, as surfaces ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border-radius: var(--radius-card);
  text-decoration: none;
  transition: transform 0.15s;
}
.card > * { position: relative; }
a.card:hover { transform: translateY(-2px); }

/* ---------- 1 Rim ---------- */
.t-rim .btn, .t-rim .card {
  border-radius: 999px;
  color: #d9d4f5;
  background: linear-gradient(180deg, #0e0d15, #07070b);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.06), 0 22px 50px -18px rgba(124, 77, 255, 0.55);
}
.t-rim .card { border-radius: var(--radius-card); color: var(--fg); }
.t-rim .btn::before, .t-rim .card::before {
  opacity: 1; inset: -1px; padding: 1.5px;
  background: linear-gradient(105deg, rgba(124, 77, 255, 0) 8%, #7c4dff 34%, #e35bff 62%, rgba(227, 91, 255, 0) 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.t-rim .btn::after, .t-rim .card::after {
  opacity: 0.75; inset: 30% 12% -30%;
  background: radial-gradient(50% 60% at 50% 0%, rgba(150, 90, 255, 0.55), transparent 70%);
  filter: blur(14px); z-index: -1;
}
.t-rim .card::after { opacity: 0.35; }
.t-rim .btn.btn--primary { color: #fff; background: linear-gradient(180deg, #2a1b5e, #120c2c); }
.t-rim .seg .seg__ind { border-radius: 999px; background: linear-gradient(180deg, #2b2346, #17132a); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.t-rim .btn:active, .t-rim .btn.is-pressed { transform: scale(0.96); }

/* ---------- 2 Jelly ---------- */
.t-jelly .btn, .t-jelly .card {
  border-radius: 22px;
  color: #3a2e25;
  font-weight: 600;
  background: radial-gradient(120% 140% at 50% 0%, #ffffff 0%, #f4f1ec 55%, #e7e2da 100%);
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.95), inset 0 -8px 14px rgba(255, 255, 255, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.7),
    0 0 0 1px rgba(80, 60, 40, 0.08), 0 14px 26px -10px rgba(80, 55, 30, 0.35), 0 3px 6px rgba(80, 55, 30, 0.12);
}
.t-jelly .card { border-radius: var(--radius-card); font-weight: 500; color: var(--fg); }
.t-jelly .btn.btn--primary, .t-jelly .btn.btn--icon {
  color: #fff;
  text-shadow: 0 1px 1px rgba(150, 40, 0, 0.35);
  background: radial-gradient(120% 150% at 50% -10%, #ffc08f 0%, #ff7a2a 42%, #f0520e 78%, #d9440a 100%);
  box-shadow: inset 0 2px 1px rgba(255, 235, 215, 0.95), inset 0 -12px 18px rgba(255, 190, 140, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.28),
    0 18px 34px -10px rgba(255, 95, 20, 0.7), 0 4px 10px rgba(190, 70, 10, 0.35);
}
.t-jelly .btn.btn--primary::before, .t-jelly .btn.btn--icon::before {
  opacity: 1; left: 14%; right: 14%; top: 3px; height: 34%; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0)); filter: blur(0.5px);
}
.t-jelly .seg .seg__ind {
  border-radius: 17px;
  background: radial-gradient(120% 150% at 50% -10%, #ffc08f, #ff7a2a 45%, #e8480b);
  box-shadow: inset 0 2px 1px rgba(255, 235, 215, 0.9), 0 8px 16px -6px rgba(255, 95, 20, 0.6);
}
.t-jelly .seg.is-on > span:nth-of-type(2), .t-jelly .seg:not(.is-on) > span:nth-of-type(1) { color: #fff; }
.t-jelly .btn:active, .t-jelly .btn.is-pressed { transform: scale(0.95) translateY(2px); }

/* ---------- 3 Tonal ---------- */
.t-tonal .btn, .t-tonal .card {
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(180deg, #3b57ff 0%, #2340f5 55%, #1c34dd 100%);
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.55), inset 0 -1px 0 rgba(255, 255, 255, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 0 0 1px rgba(10, 20, 120, 0.35), 0 16px 30px -10px rgba(5, 10, 90, 0.7), 0 2px 4px rgba(5, 10, 90, 0.3);
}
.t-tonal .card { border-radius: var(--radius-card); color: var(--fg); }
.t-tonal .btn::before, .t-tonal .card::before {
  opacity: 1; left: 6px; right: 6px; top: 2px; height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0)); border-radius: 16px 16px 40% 40%;
}
.t-tonal .card::before { height: 38%; border-radius: 22px 22px 40% 40%; opacity: 0.7; }
.t-tonal .btn.btn--primary {
  color: #1d33f0; background: linear-gradient(180deg, #ffffff, #dce2ff);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(255, 255, 255, 0.6), 0 16px 30px -10px rgba(5, 10, 90, 0.75);
}
.t-tonal .btn.btn--primary::before { opacity: 0; }
.t-tonal .seg .seg__ind { border-radius: 15px; background: rgba(10, 20, 140, 0.45); box-shadow: inset 0 2px 6px rgba(0, 0, 60, 0.5), 0 1px 0 rgba(255, 255, 255, 0.2); }
.t-tonal .btn:active, .t-tonal .btn.is-pressed { transform: scale(0.96); }

/* ---------- 4 Ember ---------- */
.t-ember .btn, .t-ember .card {
  border-radius: 18px;
  color: #f3d9bd;
  background: linear-gradient(180deg, #120d0a, #0a0706);
  box-shadow: inset 0 1px 0 rgba(255, 220, 180, 0.06), 0 0 0 1px rgba(255, 180, 110, 0.08), 0 26px 50px -20px rgba(255, 110, 20, 0.8);
}
.t-ember .card { border-radius: var(--radius-card); color: var(--fg); }
.t-ember .btn::before, .t-ember .card::before {
  opacity: 1; inset: -1px; padding: 1.5px;
  background: linear-gradient(0deg, #ffb24a 0%, #ff6a13 22%, rgba(255, 106, 19, 0) 62%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.t-ember .btn::after, .t-ember .card::after {
  opacity: 1; left: 8%; right: 8%; bottom: -18px; height: 30px; border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 120, 30, 0.75), transparent 70%); filter: blur(10px);
}
.t-ember .card::after { opacity: 0.6; }
.t-ember .btn.btn--primary {
  color: #1a0c02; background: linear-gradient(180deg, #ffc46a 0%, #ff8a2a 55%, #ff6513 100%);
  box-shadow: inset 0 1px 0 rgba(255, 240, 210, 0.9), 0 0 0 1px rgba(255, 140, 40, 0.6), 0 24px 60px -14px rgba(255, 100, 10, 0.9);
}
.t-ember .seg .seg__ind { border-radius: 13px; background: linear-gradient(180deg, #2a170c, #1a0e07); box-shadow: inset 0 -1.5px 0 #ff7a20, 0 8px 18px -8px rgba(255, 110, 20, 0.8); }
.t-ember .btn:active, .t-ember .btn.is-pressed { transform: scale(0.96); }

/* ---------- 5 Liquid glass (needs something colourful behind it: .orbs) ---------- */
.t-glass .orbs { opacity: 1; }
.t-glass .btn, .t-glass .card {
  border-radius: 999px;
  color: #15171c;
  font-weight: 500;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.18));
  -webkit-backdrop-filter: blur(16px) saturate(190%);
  backdrop-filter: blur(16px) saturate(190%);
  box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, 1), inset 0 -1.5px 1px rgba(255, 255, 255, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.55),
    inset 0 -10px 20px -10px rgba(120, 140, 180, 0.35), 0 0 0 0.5px rgba(20, 30, 60, 0.12), 0 18px 34px -14px rgba(30, 40, 80, 0.35);
}
.t-glass .card { border-radius: var(--radius-card); color: var(--fg); }
.t-glass .btn.btn--primary {
  color: #fff; background: linear-gradient(180deg, rgba(40, 42, 50, 0.82), rgba(10, 11, 14, 0.92));
  box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 18px 34px -12px rgba(10, 12, 20, 0.55);
}
.t-glass .seg .seg__ind { border-radius: 999px; background: rgba(255, 255, 255, 0.85); box-shadow: inset 0 1px 1px #fff, 0 4px 12px -4px rgba(30, 40, 80, 0.3); }
.t-glass .btn:active, .t-glass .btn.is-pressed { transform: scale(0.95); }

/* the orbs behind glass: absolutely placed in their section; positions per use */
.orbs { position: absolute; inset: 0; opacity: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.orbs i { position: absolute; border-radius: 50%; }
.orbs .o1 { background: var(--orb-mint); }
.orbs .o2 { background: var(--orb-violet); }
.orbs .o3 { background: var(--orb-sky); }
.orbs .o4 { background: var(--orb-amber); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid color-mix(in srgb, var(--fg) 9%, transparent);
}
.t-tonal.site-header { background: #2340f5; }
.site-header__in { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff;
  background: radial-gradient(120% 150% at 50% -10%, #ffc08f 0%, #ff7a2a 42%, #f0520e 78%, #d9440a 100%);
  box-shadow: inset 0 2px 1px rgba(255, 235, 215, 0.95), 0 8px 18px -8px rgba(255, 95, 20, 0.8);
}
.brand__name { display: flex; flex-direction: column; font-weight: 600; font-size: 16px; line-height: 1.1; letter-spacing: -0.02em; }
.brand__name small { font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.site-nav { display: none; gap: 4px; }
.site-nav a { text-decoration: none; padding: 8px 14px; border-radius: 999px; font-size: 16px; color: var(--muted); }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--fg); background: color-mix(in srgb, var(--fg) 8%, transparent); }
@media (min-width: 900px) { .site-nav { display: flex; } }

/* ---------- tab bar (phones) ---------- */
.tabbar {
  position: fixed; z-index: 60;
  left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom));
  height: 66px; border-radius: 999px;
  display: flex; align-items: stretch; justify-content: space-around;
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(18px) saturate(190%);
  backdrop-filter: blur(18px) saturate(190%);
  box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, 1), inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 0 0 0.5px rgba(20, 30, 60, 0.14), 0 18px 34px -14px rgba(30, 40, 80, 0.45);
}
.tabbar a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  text-decoration: none; font-size: 12px; font-weight: 600; color: rgba(21, 23, 28, 0.6); border-radius: 999px;
}
.tabbar a[aria-current] { color: #f0520e; }
@media (min-width: 900px) { .tabbar { display: none; } }

/* ---------- sections ---------- */
.section { position: relative; padding: 64px 0; overflow: hidden; }
@media (min-width: 760px) { .section { padding: 96px 0; } }
.section > .wrap { position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--accent); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.section h1, .page-hero h1 { font-size: 40px; }
.section h2 { font-size: 32px; }
.lede { font-size: 19px; color: var(--muted); margin-top: 14px; max-width: 34rem; }
@media (min-width: 760px) {
  .section h1, .page-hero h1 { font-size: 60px; }
  .section h2 { font-size: 46px; }
  .lede { font-size: 21px; }
}
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 30px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card h3 { font-size: 21px; }
.card p { color: var(--muted); font-size: 16px; }
.card__icon { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); margin-bottom: 6px; }
.card__foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 15px; font-weight: 600; color: var(--accent); }
.pill { display: inline-block; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; color: var(--muted); background: color-mix(in srgb, var(--fg) 8%, transparent); }

.page-hero { padding: 48px 0 8px; }
.page-hero .lede { margin-bottom: 8px; }

/* ---------- home hero: the dot grid gathers into the button set, then the set switches styles ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: calc(100svh - var(--header-h) - 20px);
  display: grid; place-items: center;
  padding: 40px 16px 64px;
  transition: none;
}
.hero__dots { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__world { position: relative; z-index: 1; width: 100%; max-width: 640px; text-align: center; will-change: transform; }
.hero__world .orbs { inset: -40px -10px; overflow: visible; }
.hero h1 { font-size: 42px; letter-spacing: -0.035em; line-height: 1.02; }
.hero h1 span { color: var(--accent); }
.hero__sub { font-size: 18px; color: var(--muted); max-width: 26rem; margin: 14px auto 0; }
@media (min-width: 760px) {
  .hero h1 { font-size: 72px; }
  .hero__sub { font-size: 21px; }
}
.hero__set { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 30px auto 0; width: 100%; max-width: 470px; }
.hero__row { display: flex; gap: 12px; width: 100%; }
.hero__row .btn { flex: 1 1 0; padding: 0 14px; }
.hero__row .btn--icon { flex: 0 0 var(--button-h); }
.hero__row .seg { flex: 1.7 1 0; padding: var(--segment-inset); }
.hero[data-intro] .hero__set .btn { opacity: 0; animation: dllw-failsafe 0s 4s forwards; }
@keyframes dllw-failsafe { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero[data-intro] .hero__set .btn { opacity: 1; animation: none; } }
.hero__flash { position: absolute; inset: 0; background: var(--flash); opacity: 0; pointer-events: none; z-index: 20; mix-blend-mode: difference; }
.hero__cursor { position: absolute; left: 0; top: 0; z-index: 30; pointer-events: none; will-change: transform; visibility: hidden; }
.hero__cursor svg { filter: var(--cursor-shadow); transition: transform 0.1s; transform-origin: 3px 2px; }
.hero__cursor path { fill: var(--cursor-fill); stroke: var(--cursor-stroke); stroke-width: 1.3; stroke-linejoin: round; }
.hero__cursor.is-down svg { transform: scale(0.85); }
.hero__hint { position: relative; z-index: 1; margin-top: 18px; font-size: 14px; color: var(--muted); min-height: 1.4em; }

/* ---------- verse card (learn) ---------- */
.verse { padding: 28px; gap: 16px; }
.verse blockquote { font-size: 26px; line-height: 1.3; font-weight: 600; letter-spacing: -0.02em; }
.verse cite { font-style: normal; color: var(--muted); }
@media (min-width: 760px) { .verse { padding: 44px; } .verse blockquote { font-size: 36px; } }
.stars { display: flex; gap: 6px; color: var(--accent); }
.stars svg { opacity: 0.3; }
.stars svg.is-on { opacity: 1; fill: currentColor; }

/* ---------- story reader ---------- */
.story { max-width: 40rem; margin: 0 auto; }
.story h1 { font-size: 38px; margin-bottom: 8px; }
.story__meta { color: var(--muted); font-size: 16px; margin-bottom: 26px; }
.story__body p { font-size: 21px; line-height: 1.7; margin-bottom: 20px; }
.story__body p.is-reading { color: var(--accent); }
.story__verse { padding: 22px; margin: 30px 0; }
.story__verse p { margin: 0; font-size: 19px; }
@media (min-width: 760px) { .story h1 { font-size: 54px; } .story__body p { font-size: 23px; } }

/* ---------- songs ---------- */
.lyrics { margin-top: 6px; }
.lyrics summary { cursor: pointer; font-weight: 600; color: var(--accent); list-style: none; padding: 8px 0; }
.lyrics summary::-webkit-details-marker { display: none; }
.lyrics p { color: var(--fg); font-size: 17px; line-height: 1.6; margin-top: 10px; white-space: pre-line; }

/* ---------- quiz ---------- */
.quiz { max-width: 42rem; margin: 0 auto; }
.quiz__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.lights { display: flex; gap: 6px; }
.lights i { width: 30px; height: 30px; display: grid; place-items: center; color: color-mix(in srgb, var(--fg) 22%, transparent); transition: color 0.3s, transform 0.3s; }
.lights i.is-lit { color: #ff7a2a; transform: scale(1.12); filter: drop-shadow(0 0 8px rgba(255, 122, 42, 0.7)); }
.lights i.is-now { color: color-mix(in srgb, var(--fg) 45%, transparent); }
.quiz__card { padding: 24px; gap: 18px; border-radius: 30px; }
.quiz__q { font-size: 25px; line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; }
@media (min-width: 760px) { .quiz__q { font-size: 30px; } .quiz__card { padding: 34px; } }
.quiz__opts { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .quiz__opts { grid-template-columns: 1fr 1fr; } }
.quiz__opts .btn { height: auto; min-height: 64px; padding: 14px 18px; justify-content: flex-start; text-align: left; white-space: normal; line-height: 1.25; }
.quiz__opts .btn b { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; background: color-mix(in srgb, currentColor 12%, transparent); }
.quiz__opts .btn[disabled] { cursor: default; }
.quiz__opts .btn.is-dim { opacity: 0.45; }
.quiz__opts .btn.is-wrong { animation: dllw-shake 0.35s; }
@keyframes dllw-shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
@media (prefers-reduced-motion: reduce) { .quiz__opts .btn.is-wrong { animation: none; } }
.quiz__feedback { font-size: 18px; }
.quiz__feedback strong { display: block; font-size: 22px; margin-bottom: 4px; }
.quiz__feedback .ref { color: var(--muted); font-size: 15px; margin-top: 6px; }
.quiz__done { text-align: center; align-items: center; }
.quiz__done .big { font-size: 64px; line-height: 1; }
.quiz__credit { text-align: center; color: var(--muted); font-size: 15px; margin-top: 22px; }
.quiz__credit a { color: var(--accent); font-weight: 600; }

/* ---------- footer ---------- */
.site-footer { padding: 48px 0 36px; }
.site-footer__in { display: grid; gap: 26px; }
.site-footer__links { display: flex; flex-direction: column; gap: 10px; }
.site-footer__links a { color: var(--fg); text-decoration: none; }
.site-footer__links a:hover { color: var(--accent); }
.brand--footer { margin-bottom: 10px; }
@media (min-width: 760px) { .site-footer__in { grid-template-columns: 1.4fr 1fr; } .site-footer__in > .small { grid-column: 1 / -1; } }

/* ---------- small helpers (no inline styles: the CSP allows none) ---------- */
.mt { margin-top: 28px; }
.actions--tight { margin-top: 6px; }
.actions--center { justify-content: center; margin-top: 12px; }
.eyebrow--flush { margin: 0; }
.lede--center { margin-left: auto; margin-right: auto; }
.card--feature { padding: 30px; max-width: 44rem; margin: 0 auto; text-align: center; align-items: center; }
.orbs--hero .o1 { left: 4%; top: 56%; width: 96px; height: 96px; }
.orbs--hero .o2 { right: 6%; top: 58%; width: 86px; height: 86px; }
.orbs--hero .o3 { left: 47%; top: 80%; width: 74px; height: 74px; }
.orbs--hero .o4 { right: 2%; top: 86%; width: 52px; height: 52px; }
.orbs--section .o1 { left: -30px; top: 40px; width: 180px; height: 180px; }
.orbs--section .o2 { right: -40px; top: 20%; width: 220px; height: 220px; }
.orbs--section .o3 { left: 30%; bottom: -60px; width: 160px; height: 160px; }
.orbs--section .o4 { right: 18%; bottom: 10%; width: 90px; height: 90px; }
.card .card-title { font-size: 21px; }
.quiz__done { display: flex; flex-direction: column; gap: 12px; text-align: center; align-items: center; }

/* ---------- admin ---------- */
.admin-main { min-height: calc(100svh - var(--header-h)); padding-top: 40px; }
.admin-body { padding-bottom: 0; }
.admin-nav { display: flex; }
.mt-s { margin-top: 12px; }
.form { gap: 16px; padding: 24px; border-radius: 24px; }
.form--narrow { max-width: 26rem; margin: 40px auto; }
.form label, .form .field { display: flex; flex-direction: column; gap: 6px; font-size: 16px; font-weight: 600; color: var(--fg); }
.form input[type=text], .form input[type=email], .form input[type=url], .form input[type=password], .form input[type=number], .form input[type=date], .form input[type=tel], .form select, .form textarea {
  font: inherit; font-size: 16px; font-weight: 500; color: var(--fg); background: rgba(255, 255, 255, 0.85);
  border: 1px solid color-mix(in srgb, var(--fg) 16%, transparent); border-radius: 14px; padding: 12px 14px; width: 100%;
}
.form textarea { resize: vertical; line-height: 1.5; }
.form .check { flex-direction: row; align-items: center; gap: 10px; font-weight: 500; }
.form .check input { width: 22px; height: 22px; accent-color: #f0520e; }
.field__label { font-weight: 600; }
.field__hint { font-size: 14px; font-weight: 500; color: var(--muted); margin-top: -8px; }
label .field__hint { margin-top: 0; }
.admin-thumb { max-width: 220px; border-radius: 12px; border: 1px solid rgba(0, 0, 0, 0.08); }
.flash { padding: 12px 16px; border-radius: 14px; margin-bottom: 16px; font-weight: 600; background: #e6f6ea; color: #1d5e2c; }
.flash--bad { background: #fde8e4; color: #8a2310; }
.admin-list { list-style: none; display: grid; gap: 12px; }
.admin-list .card { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; }
.admin-list .card.is-new { box-shadow: inset 4px 0 0 #f0520e, 0 14px 26px -10px rgba(80, 55, 30, 0.35); }
.admin-list__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-list .btn, .admin-list__actions .btn { height: 44px; padding: 0 16px; font-size: 15px; }
.lang-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.pill--on { background: #ff7a2a; color: #fff; }
a.pill { text-decoration: none; }
.pre { white-space: pre-line; margin-top: 8px; color: var(--fg); }
.timing-lines { padding-left: 22px; display: grid; gap: 6px; font-size: 17px; }
.timing-lines li.is-next { color: #f0520e; font-weight: 600; }
.timing-lines__t { display: inline-block; min-width: 54px; color: var(--muted); font-variant-numeric: tabular-nums; }
audio { width: 100%; }

/* ---------- header give button, language switch ---------- */
.give-btn { height: 42px; padding: 0 16px; font-size: 15px; margin-left: auto; }
@media (min-width: 900px) { .give-btn { margin-left: 8px; } }
.site-header__in .site-nav { margin-left: auto; }
.lang-switch { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.lang-switch .pill { font-size: 14px; padding: 6px 12px; }
.checking { margin-top: 8px; }
.site-footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }

/* ---------- sing-along ---------- */
.song { max-width: 40rem; margin: 0 auto; }
.song h1 { font-size: 38px; }
@media (min-width: 760px) { .song h1 { font-size: 54px; } }
.song__player { padding: 18px; gap: 14px; border-radius: 28px; margin-top: 18px; }
.song__bar { height: 6px; border-radius: 999px; background: rgba(20, 30, 50, 0.1); overflow: hidden; }
.song__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #ff7a2a, #8a5bff); border-radius: inherit; }
.song__words p { font-size: 24px; line-height: 1.45; font-weight: 600; letter-spacing: -0.01em; padding: 4px 0; transition: color 0.2s, transform 0.2s; }
.song__words[data-timed] p { color: color-mix(in srgb, var(--fg) 45%, transparent); }
.song__words p.is-sung { color: var(--fg); }
.song__words p.is-now { color: #6a46ff; transform: scale(1.03); transform-origin: left center; }
.song__gap { display: block; height: 18px; }
@media (min-width: 760px) { .song__words p { font-size: 30px; } }

/* ---------- story extras ---------- */
.story__h { font-size: 24px; margin: 34px 0 10px; }
.story__list { padding-left: 24px; display: grid; gap: 8px; font-size: 19px; }
.story__p { font-size: 19px; }
.story__prayer { font-style: italic; }
.story__verse .eyebrow { margin-bottom: 6px; }
.printable img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; background: #fff; margin-bottom: 6px; }

/* ---------- printable lesson ---------- */
.lesson { background: #fff; color: #111; border-radius: 24px; padding: 28px; margin-top: 20px; box-shadow: 0 14px 26px -10px rgba(80, 55, 30, 0.35); }
.lesson h1 { font-size: 36px; }
.lesson h2 { font-size: 19px; margin: 18px 0 6px; color: #d9440a; }
.lesson p, .lesson li { font-size: 16px; line-height: 1.55; margin-bottom: 8px; }
.lesson ol, .lesson ul { padding-left: 20px; }
.lesson__brand { display: flex; align-items: center; gap: 6px; font-size: 13px !important; font-weight: 600; color: #d9440a; }
.lesson__verse { font-size: 20px !important; font-weight: 600; line-height: 1.35 !important; }
.lesson__verse span { display: block; font-size: 15px; font-weight: 500; color: #666; }
.lesson__cols { display: grid; gap: 10px 32px; }
@media (min-width: 760px) { .lesson__cols { grid-template-columns: 1.3fr 1fr; } }
.lesson__colour { margin-top: 24px; }
.lesson__colour img { width: 100%; max-width: 680px; margin: 10px auto 0; border: 2px solid #111; border-radius: 12px; }
@media print {
  @page { margin: 14mm; }
  body { background: #fff; padding: 0; }
  .site-header, .site-footer, .tabbar, .no-print, .skip { display: none !important; }
  .lesson-wrap { background: #fff !important; padding: 0 !important; }
  .lesson { box-shadow: none; padding: 0; margin: 0; border-radius: 0; }
  .lesson__cols { grid-template-columns: 1.3fr 1fr; }
  .lesson__colour { break-before: page; margin-top: 0; }
  .lesson__colour img { max-width: 100%; max-height: 240mm; object-fit: contain; }
}

/* ---------- forms on public pages, events, partners, giving ---------- */
.form__grid { display: grid; gap: 14px; margin-bottom: 14px; }
@media (min-width: 760px) { .form__grid { grid-template-columns: 1fr 1fr; } }
.t-glass.section .form { background: rgba(255, 255, 255, 0.55); }
.form form { display: flex; flex-direction: column; gap: 14px; }
.hp { position: absolute !important; left: -9999px; }
.event img, .partner img { width: 100%; border-radius: 18px; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 6px; }
.partner img { aspect-ratio: auto; max-height: 90px; object-fit: contain; }
.bank { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 8px 0 14px; font-size: 17px; }
.bank dt { color: var(--muted); }
.bank dd { font-weight: 600; }
.preview summary { cursor: pointer; font-weight: 600; }

/* ---------- photos ---------- */
.split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr 1fr; } }
.photo-card { border-radius: 26px; overflow: hidden; box-shadow: 0 26px 50px -20px rgba(255, 110, 20, 0.6); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.photo-row { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .photo-row { grid-template-columns: repeat(3, 1fr); } }
ul.cards { list-style: none; }

/* ---------- about + promises ---------- */
.about-purpose { padding: 28px; }
.about-purpose__text { font-size: 24px !important; line-height: 1.35; font-weight: 600; letter-spacing: -0.015em; color: var(--fg) !important; }
@media (min-width: 760px) { .about-purpose__text { font-size: 32px !important; } }
.prose h2 { font-size: 28px; margin-bottom: 10px; }
.prose p { font-size: 19px; color: var(--muted); max-width: 46rem; }
.values { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.values .pill { font-size: 15px; padding: 6px 12px; color: var(--fg); }
.about-inspire { padding: 26px; gap: 14px; }
.about-inspire p { font-size: 18px; color: var(--fg); }
.about-quote { font-size: 22px; font-weight: 600; line-height: 1.3; color: var(--accent); }
.about-quote cite { display: block; margin-top: 8px; font-size: 15px; font-style: normal; color: var(--muted); font-weight: 500; }
.social { display: flex; gap: 8px; margin-top: 12px; }
.social .pill { text-decoration: none; color: var(--fg); }
.promises { padding: 26px; gap: 12px; }
.promises__list { list-style: none; display: grid; gap: 8px; }
@media (min-width: 760px) { .promises__list { grid-template-columns: 1fr 1fr; } }
.promises__list label { display: flex; align-items: center; gap: 12px; font-size: 18px; cursor: pointer; padding: 8px 4px; }
.promises__list input { width: 26px; height: 26px; accent-color: #ff7a2a; flex: 0 0 26px; }
.promises__list input:checked + span { color: var(--fg); font-weight: 600; }

/* ---------- videos ---------- */
.video { padding: 12px 12px 18px; gap: 10px; }
.video .card-title { font-size: 18px; padding: 0 6px; line-height: 1.25; }
.video p { padding: 0 6px; }
.video__media { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: 18px; overflow: hidden; cursor: pointer; background: #000; }
.video__media img { width: 100%; height: 100%; object-fit: cover; }
.video__play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: radial-gradient(120% 150% at 50% -10%, #ffc08f 0%, #ff7a2a 42%, #f0520e 78%, #d9440a 100%); box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.5); padding-left: 4px; transition: transform 0.15s; }
.video__media:hover .video__play { transform: scale(1.08); }
.video__frame { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 18px; background: #000; }
.video__frame--short { aspect-ratio: 9 / 16; max-height: 78svh; }
