/* ============================================================
   Soaring Christian Counseling
   Design tokens → base → layout → components → pages
   ============================================================ */

:root {
  color-scheme: light;

  /* Brand — drawn from the Soaring logo (sky → white) and
     Margaret's portrait (deep navy, late-afternoon gold) */
  --ink: #0f2a3d;
  --ink-2: #33505f;
  --ink-3: #5a7280;
  --sky-900: #06456a;
  --sky-700: #0a6c9e;
  --sky-500: #16a4e0;
  --sky-300: #7fd3f7;
  --sky-100: #d9f1fc;
  --sky-50: #eff9fe;
  --dawn: #fbe7d3;
  --gold: #e9a94b;
  --gold-deep: #9a5d0b;

  --bg: #f8f6f2;
  --surface: #ffffff;
  --surface-2: #f2efe9;
  --line: #e4dfd6;
  --line-strong: #cfc8bc;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.09rem);
  --step-1: clamp(1.18rem, 1.1rem + 0.35vw, 1.4rem);
  --step-2: clamp(1.45rem, 1.3rem + 0.7vw, 1.9rem);
  --step-3: clamp(1.9rem, 1.6rem + 1.4vw, 2.8rem);
  --step-4: clamp(2.5rem, 1.9rem + 2.8vw, 4.3rem);
  --step-5: clamp(2.9rem, 2rem + 4.6vw, 6.2rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: clamp(4.5rem, 3rem + 6vw, 8rem);

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgb(15 42 61 / 0.06), 0 2px 8px rgb(15 42 61 / 0.04);
  --shadow: 0 2px 6px rgb(15 42 61 / 0.05), 0 12px 32px rgb(15 42 61 / 0.08);
  --shadow-lg: 0 8px 24px rgb(15 42 61 / 0.08), 0 32px 64px rgb(15 42 61 / 0.12);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 160ms;
  --dur: 280ms;
  --dur-slow: 700ms;

  --container: 1200px;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--sky-700); text-underline-offset: 3px; }
a:hover { color: var(--sky-900); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
  font-variation-settings: "SOFT" 100, "opsz" 144;
}
p { margin: 0; text-wrap: pretty; }
em.accent, .accent-em {
  font-style: italic;
  color: var(--sky-700);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
:focus-visible {
  outline: 3px solid var(--sky-500);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection { background: var(--sky-100); color: var(--ink); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  text-decoration: none; transition: top var(--dur-fast);
}
.skip-link:focus { top: 12px; color: #fff; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--space-9); }
.section--tight { padding-block: var(--space-8); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--step--1); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--sky-700);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; opacity: 0.6;
}
.lede { font-size: var(--step-1); color: var(--ink-2); line-height: 1.55; max-width: 38ch; }
.muted { color: var(--ink-3); }

.section-head { display: grid; gap: var(--space-4); margin-bottom: var(--space-7); max-width: 720px; }
.section-head h2 { font-size: var(--step-4); }
.section-head--split {
  max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: var(--space-5);
}
@media (max-width: 720px) { .section-head--split { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  font: 600 1rem/1 var(--font-body); letter-spacing: 0.005em;
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  border-radius: var(--radius-pill); text-decoration: none; cursor: pointer;
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur);
  touch-action: manipulation; white-space: nowrap;
}
.btn:hover { --btn-bg: var(--sky-900); --btn-bd: var(--sky-900); color: #fff; box-shadow: var(--shadow); }
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform var(--dur) var(--ease-out); }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bg: var(--surface); --btn-bd: var(--ink); color: var(--ink); box-shadow: none; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--light:hover { --btn-bg: var(--sky-50); --btn-bd: var(--sky-50); color: var(--ink); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgb(255 255 255 / 0.5); }
.btn--outline-light:hover { --btn-bg: rgb(255 255 255 / 0.1); --btn-bd: #fff; color: #fff; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 0.94rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--ink);
  min-height: 44px;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform var(--dur) var(--ease-out); }
.link-arrow:hover { color: var(--sky-700); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgb(248 246 242 / 0.78);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur), background var(--dur);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgb(248 246 242 / 0.92); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-height: 44px; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand-text { display: grid; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-size: 1.28rem; letter-spacing: -0.01em; font-style: italic; }
.brand-sub { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }

.nav { display: flex; align-items: center; gap: var(--space-2); }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 4px; border-radius: var(--radius-pill); background: rgb(255 255 255 / 0.6); border: 1px solid var(--line); }
.nav-list a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--radius-pill);
  color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 0.96rem;
  transition: background var(--dur-fast), color var(--dur-fast);
}
.nav-list a:hover { background: var(--surface-2); color: var(--ink); }
.nav-list a[aria-current="page"] { background: var(--ink); color: #fff; }
.nav-cta { margin-left: var(--space-3); }

.nav-toggle {
  display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface);
  align-items: center; justify-content: center; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-list {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0 12px;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 12px;
    border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-lg);
    opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden;
    transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
  }
  .nav-list a { min-height: 52px; font-size: 1.08rem; padding: 0 18px; }
  .nav.is-open .nav-list { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
  .nav-list .nav-list-cta { display: block; padding-top: 8px; }
  .nav-list .nav-list-cta a { background: var(--ink); color: #fff; justify-content: center; }
}
@media (min-width: 961px) { .nav-list .nav-list-cta { display: none; } }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-top: clamp(2rem, 1rem + 4vw, 4.5rem);
  padding-bottom: var(--space-9);
}
.hero::before {
  /* dawn sky wash */
  content: ""; position: absolute; inset: -20% -10% 0 -10%; z-index: -2;
  background:
    radial-gradient(60% 55% at 78% 30%, rgb(127 211 247 / 0.55), transparent 70%),
    radial-gradient(45% 45% at 95% 75%, rgb(251 231 211 / 0.9), transparent 70%),
    radial-gradient(40% 40% at 10% 10%, rgb(217 241 252 / 0.9), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.hero h1 { font-size: var(--step-5); letter-spacing: -0.035em; line-height: 0.98; margin-block: var(--space-5) var(--space-5); }
.hero .lede { max-width: 44ch; margin-bottom: var(--space-6); }
.hero-meta { display: flex; align-items: center; gap: var(--space-4); margin-top: var(--space-7); flex-wrap: wrap; }
.hero-meta .stat { display: grid; }
.hero-meta .stat strong { font-family: var(--font-display); font-weight: 400; font-size: var(--step-2); line-height: 1; }
.hero-meta .stat span { font-size: var(--step--1); color: var(--ink-3); }
.hero-meta .divider { width: 1px; height: 36px; background: var(--line-strong); }

.hero-art { position: relative; aspect-ratio: 4 / 5; max-width: 520px; justify-self: end; width: 100%; }
.sun {
  /* echo of the logo's striped sun */
  position: absolute; inset: 0 -6% 18% 6%; border-radius: 50%;
  background: linear-gradient(180deg, #19b8f2 0%, #7fd3f7 45%, #e6f6fd 80%, rgb(255 255 255 / 0) 100%);
  -webkit-mask: repeating-linear-gradient(180deg, #000 0 16px, transparent 16px 20px);
          mask: repeating-linear-gradient(180deg, #000 0 16px, transparent 16px 20px);
  opacity: 0.9;
}
.portrait {
  position: absolute; left: 0; right: 14%; bottom: 0; top: 14%;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
  background: var(--sky-100);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 22% 40%; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: rgb(255 255 255 / 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgb(255 255 255 / 0.8); border-radius: var(--radius); padding: 12px 16px;
  box-shadow: var(--shadow); font-size: 0.92rem; line-height: 1.3;
}
.float-card strong { display: block; font-weight: 600; }
.float-card span { color: var(--ink-3); font-size: 0.84rem; }
.float-card .icon-bubble { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-50); color: var(--sky-700); flex: none; }
.float-card .icon-bubble svg { width: 20px; height: 20px; }
.float-card--a { right: 0; top: 30%; }
.float-card--b { left: -8%; bottom: 10%; }
.bird {
  position: absolute; width: 22%; top: 4%; right: 16%; opacity: 0.95;
  filter: drop-shadow(0 6px 12px rgb(6 69 106 / 0.25));
  animation: glide 9s ease-in-out infinite;
}
@keyframes glide {
  0%, 100% { transform: translate(0, 0) rotate(-2deg); }
  50% { transform: translate(-10px, -12px) rotate(2deg); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { justify-self: center; max-width: 380px; margin-top: var(--space-4); }
  .float-card--b { left: 0; }
}
@media (max-width: 480px) {
  .float-card { font-size: 0.84rem; padding: 10px 12px; }
  .float-card--a { top: auto; bottom: 26%; right: -2%; }
  .float-card--b { bottom: 4%; }
}

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.pillar {
  position: relative; padding: var(--space-6); border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line); overflow: hidden;
  display: flex; flex-direction: column; gap: var(--space-4); min-height: 300px;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar-num { font-family: var(--font-display); font-size: 0.95rem; color: var(--ink-3); }
.pillar h3 { font-size: var(--step-3); }
.pillar h3 em { font-style: italic; color: var(--sky-700); }
.pillar p { color: var(--ink-2); }
.pillar .link-arrow { margin-top: auto; }
.pillar::after {
  content: ""; position: absolute; width: 180px; height: 180px; right: -60px; top: -60px; border-radius: 50%;
  background: radial-gradient(circle, var(--sky-100), transparent 70%); z-index: 0; pointer-events: none;
}
.pillar:nth-child(2)::after { background: radial-gradient(circle, var(--dawn), transparent 70%); }
.pillar > * { position: relative; z-index: 1; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } .pillar { min-height: 0; } }

/* ---------- Video cards ---------- */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--space-6) var(--space-5); }
.video-card {
  display: flex; flex-direction: column; gap: var(--space-3);
  background: none; border: 0; padding: 0; text-align: left; color: inherit; font: inherit; cursor: pointer;
  border-radius: var(--radius);
}
.video-card:focus-visible { outline-offset: 6px; }
.thumb {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: var(--surface-2); box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur), transform var(--dur) var(--ease-out);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.video-card:hover .thumb { box-shadow: var(--shadow); transform: translateY(-3px); }
.video-card:hover .thumb img { transform: scale(1.035); }
.thumb-placeholder {
  position: absolute; inset: 0; display: grid; place-items: center; padding: var(--space-5); text-align: center;
  background:
    repeating-linear-gradient(180deg, transparent 0 18px, rgb(255 255 255 / 0.35) 18px 20px),
    linear-gradient(160deg, #19b8f2, #7fd3f7 50%, #eaf7fd);
  color: var(--ink); font-family: var(--font-display); font-size: var(--step-2); line-height: 1.1;
}
.thumb-placeholder span { background: rgb(255 255 255 / 0.85); padding: 10px 16px; border-radius: var(--radius-sm); }
.badge {
  position: absolute; left: 12px; top: 12px;
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--radius-pill);
  background: rgb(15 42 61 / 0.82); color: #fff; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.badge--live { background: rgb(255 255 255 / 0.92); color: var(--ink); }
.badge--live .dot { background: #d93025; }
.play-icon {
  position: absolute; right: 12px; bottom: 12px; width: 48px; height: 48px; border-radius: 50%;
  background: rgb(255 255 255 / 0.92); display: grid; place-items: center; color: var(--ink);
  box-shadow: var(--shadow-sm); transform: scale(0.9); opacity: 0;
  transition: transform var(--dur) var(--ease-out), opacity var(--dur);
}
.play-icon svg { width: 20px; height: 20px; margin-left: 2px; }
.video-card:hover .play-icon, .video-card:focus-visible .play-icon { opacity: 1; transform: none; }
.video-meta { display: flex; align-items: center; gap: 8px; font-size: 0.84rem; color: var(--ink-3); font-weight: 500; }
.topic-tag { color: var(--sky-700); font-weight: 600; }
.video-card h3 { font-size: 1.38rem; line-height: 1.2; letter-spacing: -0.012em; transition: color var(--dur-fast); }
.video-card:hover h3 { color: var(--sky-900); }
.video-card p {
  color: var(--ink-2); font-size: 0.97rem; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Horizontal rail (home) */
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr);
  gap: var(--space-5); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--space-4);
  scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
  overscroll-behavior-x: contain;
}
.rail > * { scroll-snap-align: start; }
@media (min-width: 1024px) { .rail { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; } }
@media (max-width: 640px) { .rail { grid-auto-columns: 82%; } }

/* ---------- Topics ---------- */
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.topic-card {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-5) var(--space-5); min-height: 96px;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  text-decoration: none; color: var(--ink);
  transition: border-color var(--dur-fast), background var(--dur-fast), transform var(--dur) var(--ease-out);
}
.topic-card:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.topic-card .t-left { display: flex; align-items: center; gap: var(--space-4); }
.topic-card .t-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--sky-50); color: var(--sky-700); flex: none; }
.topic-card:nth-child(3n+2) .t-icon { background: #fdf2e6; color: var(--gold-deep); }
.topic-card:nth-child(3n) .t-icon { background: #eef2f4; color: var(--ink-2); }
.topic-card .t-icon svg { width: 24px; height: 24px; }
.topic-card h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.08rem; letter-spacing: 0; line-height: 1.25; }
.topic-card .t-count { font-size: 0.86rem; color: var(--ink-3); }
.topic-card .t-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast); }
.topic-card .t-arrow svg { width: 18px; height: 18px; }
.topic-card:hover .t-arrow { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (max-width: 960px) { .topic-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .topic-grid { grid-template-columns: 1fr; } }

/* ---------- Meet Margaret ---------- */
.meet { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: center; }
.meet-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
.meet-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 20% 40%; }
.meet-photo figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 14px 18px; border-radius: var(--radius);
  background: rgb(255 255 255 / 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 0.92rem; line-height: 1.35;
}
.meet-photo figcaption strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; }
.meet h2 { font-size: var(--step-4); margin-block: var(--space-4) var(--space-5); }
.meet .prose p + p { margin-top: var(--space-4); }
.meet .prose { color: var(--ink-2); max-width: 58ch; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); margin-block: var(--space-6); padding-block: var(--space-5); border-block: 1px solid var(--line); }
.stats strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: var(--step-3); line-height: 1; color: var(--ink); }
.stats span { font-size: 0.9rem; color: var(--ink-3); line-height: 1.35; display: block; margin-top: 6px; }
@media (max-width: 900px) { .meet { grid-template-columns: 1fr; } .meet-photo { max-width: 520px; } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }

/* ---------- Scripture band ---------- */
.verse {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-lg); color: #fff;
  padding: clamp(3rem, 2rem + 5vw, 7rem) clamp(1.5rem, 1rem + 5vw, 6rem);
  background: var(--sky-900);
}
.verse-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.verse::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgb(6 38 60 / 0.9), rgb(6 38 60 / 0.55) 55%, rgb(6 38 60 / 0.25));
}
.verse blockquote { margin: 0; max-width: 780px; }
.verse blockquote p { font-family: var(--font-display); font-size: var(--step-3); line-height: 1.2; letter-spacing: -0.015em; }
.verse blockquote p em { font-style: italic; color: var(--sky-300); }
.verse cite { display: block; margin-top: var(--space-5); font-style: normal; letter-spacing: 0.14em; text-transform: uppercase; font-size: var(--step--1); font-weight: 600; opacity: 0.85; }

/* ---------- Book ---------- */
.book { display: grid; grid-template-columns: auto 1fr; gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: center; }
.book-cover {
  position: relative; width: clamp(200px, 22vw, 290px); aspect-ratio: 2 / 3; border-radius: 4px 12px 12px 4px;
  box-shadow: -6px 6px 0 -1px var(--surface-2), var(--shadow-lg);
  transform: perspective(900px) rotateY(-10deg); transition: transform var(--dur-slow) var(--ease-out);
  overflow: hidden; background: var(--surface);
}
.book-cover:hover { transform: perspective(900px) rotateY(-3deg); }
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-cover .fallback {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 12% 10%;
  text-align: center;
  background: linear-gradient(180deg, #eaf7fd, #fff 55%, #f4efe7);
  color: var(--ink);
}
.book-cover .fallback .t1 { font-family: var(--font-display); font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem); line-height: 0.95; }
.book-cover .fallback .t1 small { display: block; font-size: 0.42em; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 6px; }
.book-cover .fallback .t2 { font-style: italic; font-family: var(--font-display); font-size: 0.95rem; color: var(--ink-2); }
.book-cover .fallback .t3 { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700; }
.book-cover::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: linear-gradient(90deg, rgb(0 0 0 / 0.14), transparent); }
.book h2 { font-size: var(--step-4); margin-block: var(--space-4) var(--space-5); }
.book .lede { max-width: 52ch; margin-bottom: var(--space-6); }
.award { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: var(--radius-pill); background: #fdf2e6; color: var(--gold-deep); font-weight: 600; font-size: 0.86rem; }
.award svg { width: 20px; height: 20px; }
@media (max-width: 760px) { .book { grid-template-columns: 1fr; } .book-cover { margin-inline: auto; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: start; }
.faq h2 { font-size: var(--step-4); margin-top: var(--space-4); }
.faq-list { display: grid; gap: var(--space-3); }
.faq-item { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color var(--dur-fast); }
.faq-item[open] { border-color: var(--line-strong); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-5); font-weight: 600; font-size: 1.06rem; min-height: 64px; border-radius: var(--radius);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; flex: none; transition: transform var(--dur) var(--ease-out), background var(--dur-fast); }
.faq-item summary .plus svg { width: 16px; height: 16px; }
.faq-item[open] summary .plus { transform: rotate(45deg); background: var(--sky-100); }
.faq-item .answer { padding: 0 var(--space-5) var(--space-5); color: var(--ink-2); max-width: 62ch; }
.faq-item .answer p + p { margin-top: var(--space-3); }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  border-radius: var(--radius-lg); padding: clamp(3rem, 2rem + 5vw, 6rem) var(--space-5);
  background: linear-gradient(180deg, var(--sky-50), #fff 70%);
  border: 1px solid var(--line);
}
.cta-band::before {
  content: ""; position: absolute; z-index: -1; width: min(720px, 120%); aspect-ratio: 1; left: 50%; top: 18%; translate: -50% 0; border-radius: 50%;
  background: linear-gradient(180deg, rgb(25 184 242 / 0.35), rgb(127 211 247 / 0.2) 45%, transparent 75%);
  -webkit-mask: repeating-linear-gradient(180deg, #000 0 16px, transparent 16px 20px);
          mask: repeating-linear-gradient(180deg, #000 0 16px, transparent 16px 20px);
}
.cta-band h2 { font-size: var(--step-4); max-width: 18ch; margin: var(--space-4) auto var(--space-4); }
.cta-band p { max-width: 50ch; margin: 0 auto var(--space-6); color: var(--ink-2); font-size: var(--step-1); }
.cta-band .btn-row { justify-content: center; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(3rem, 2rem + 4vw, 6rem) var(--space-7); }
.page-hero::before {
  content: ""; position: absolute; inset: -30% -10% 0 -10%; z-index: -1;
  background:
    radial-gradient(50% 60% at 85% 20%, rgb(127 211 247 / 0.45), transparent 70%),
    radial-gradient(35% 45% at 100% 80%, rgb(251 231 211 / 0.8), transparent 70%);
}
.page-hero h1 { font-size: var(--step-5); letter-spacing: -0.035em; line-height: 0.98; margin-block: var(--space-4) var(--space-5); max-width: 16ch; }
.page-hero .lede { max-width: 52ch; }

/* ---------- Photo header (inner pages) ---------- */
.page-hero--photo {
  margin-top: calc(-1 * var(--header-h));
  min-height: clamp(500px, 72vh, 720px);
  display: flex; align-items: flex-end;
  padding-block: calc(var(--header-h) + var(--space-8)) clamp(5rem, 3rem + 7vw, 9rem);
  color: #fff; background: var(--sky-900);
}
.page-hero--photo::before { display: none; }
.page-hero--photo > .container { width: min(100% - 2 * var(--gutter), var(--container)); }
.page-hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero--photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgb(6 32 50 / 0.72) 0%, rgb(6 32 50 / 0.42) 38%, rgb(6 32 50 / 0) 72%),
    linear-gradient(180deg, rgb(6 32 50 / 0.45) 0%, rgb(6 32 50 / 0) 26%, rgb(6 32 50 / 0) 58%, rgb(248 246 242 / 0.35) 84%, var(--bg) 100%);
}
.page-hero--photo h1 { color: #fff; text-shadow: 0 2px 24px rgb(6 32 50 / 0.35); }
.page-hero--photo .accent { color: #bfe9ff; }
.page-hero--photo .eyebrow { color: #d9f1fc; }
.page-hero--photo .lede { color: rgb(255 255 255 / 0.92); text-shadow: 0 1px 12px rgb(6 32 50 / 0.4); }
.page-hero--photo .foreword { color: rgb(255 255 255 / 0.85); }
.page-hero--photo .btn--ghost { --btn-bg: rgb(255 255 255 / 0.08); --btn-fg: #fff; --btn-bd: rgb(255 255 255 / 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.page-hero--photo .btn--ghost:hover { --btn-bg: rgb(255 255 255 / 0.18); --btn-bd: #fff; color: #fff; }
.page-hero--photo .ark-hero { align-items: end; }
@media (max-width: 700px) {
  .page-hero--photo { min-height: 540px; }
  .page-hero--photo::after {
    background: linear-gradient(180deg, rgb(6 32 50 / 0.5) 0%, rgb(6 32 50 / 0.35) 40%, rgb(6 32 50 / 0.55) 78%, var(--bg) 100%);
  }
}

/* Header floats transparently over the photo until the page scrolls */
.photo-top .site-header:not(.is-scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.photo-top .site-header:not(.is-scrolled) .brand { color: #fff; }
.photo-top .site-header:not(.is-scrolled) .brand-sub { color: rgb(255 255 255 / 0.8); }
.photo-top .site-header:not(.is-scrolled) .brand img { filter: drop-shadow(0 2px 8px rgb(0 0 0 / 0.25)); }
.photo-top .site-header:not(.is-scrolled) .nav-list { background: rgb(255 255 255 / 0.82); border-color: transparent; }
.photo-top .site-header:not(.is-scrolled) .nav-cta { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
@media (max-width: 960px) { .photo-top .site-header:not(.is-scrolled) .nav-list { background: var(--surface); } }

/* ---------- Video library ---------- */
.library-tools {
  position: sticky; top: var(--header-h); z-index: 20;
  background: rgb(248 246 242 / 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding-block: var(--space-4); border-bottom: 1px solid var(--line); margin-bottom: var(--space-7);
}
.library-tools .container { display: grid; gap: var(--space-4); }
.tools-row { display: flex; gap: var(--space-4); align-items: center; flex-wrap: wrap; justify-content: space-between; }
.search {
  position: relative; flex: 1 1 320px; max-width: 460px;
}
.search svg { position: absolute; left: 16px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; color: var(--ink-3); pointer-events: none; }
.search input {
  width: 100%; min-height: 50px; padding: 0 44px 0 48px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink);
  font: 500 1rem var(--font-body); transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.search input::placeholder { color: var(--ink-3); }
.search input:focus { outline: none; border-color: var(--sky-700); box-shadow: 0 0 0 4px rgb(22 164 224 / 0.18); }
.search .clear {
  position: absolute; right: 6px; top: 50%; translate: 0 -50%; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: transparent; color: var(--ink-3); cursor: pointer; display: none; place-items: center;
}
.search .clear:hover { background: var(--surface-2); color: var(--ink); }
.search .clear svg { position: static; translate: none; width: 18px; height: 18px; }
.search.has-value .clear { display: grid; }
@media (max-width: 760px) { .library-tools { position: static; } }
.result-count { color: var(--ink-3); font-size: 0.95rem; font-weight: 500; }
.result-count strong { color: var(--ink); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px; margin: -2px; }
@media (max-width: 760px) { .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); } }
.chips::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink-2);
  font: 600 0.93rem var(--font-body); cursor: pointer; white-space: nowrap;
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip .count { font-size: 0.8rem; font-weight: 600; padding: 2px 8px; border-radius: var(--radius-pill); background: var(--surface-2); color: var(--ink-3); }
.chip[aria-pressed="true"] .count { background: rgb(255 255 255 / 0.18); color: #fff; }

.empty-state { text-align: center; padding: var(--space-8) var(--space-4); display: none; }
.empty-state.is-visible { display: block; }
.empty-state h2 { font-size: var(--step-3); margin-bottom: var(--space-3); }
.empty-state p { color: var(--ink-2); margin-bottom: var(--space-5); }

/* ---------- Video dialog ---------- */
.video-dialog {
  width: min(880px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0;
  border-radius: var(--radius-lg); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg);
  overflow: auto; overscroll-behavior: contain;
}
.video-dialog::backdrop { background: rgb(8 28 42 / 0.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.video-dialog[open] { animation: dialog-in var(--dur) var(--ease-out); }
.video-dialog[open]::backdrop { animation: fade-in var(--dur) var(--ease-out); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
@keyframes fade-in { from { opacity: 0; } }
.dialog-media { position: relative; aspect-ratio: 16 / 9; background: var(--ink); }
.dialog-media img, .dialog-media iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.dialog-media .thumb-placeholder { font-size: var(--step-3); }
.dialog-close {
  position: absolute; right: 14px; top: 14px; z-index: 2; width: 48px; height: 48px; border-radius: 50%;
  background: rgb(255 255 255 / 0.95); border: 0; cursor: pointer; display: grid; place-items: center; color: var(--ink);
  box-shadow: var(--shadow);
}
.dialog-close:hover { background: #fff; }
.dialog-close svg { width: 22px; height: 22px; }
.dialog-body { padding: clamp(1.25rem, 1rem + 2vw, 2.5rem); display: grid; gap: var(--space-4); }
.dialog-body h2 { font-size: var(--step-3); }
.dialog-body .subtitle { font-family: var(--font-display); font-style: italic; color: var(--ink-2); font-size: var(--step-1); margin-top: -4px; }
.dialog-body .desc { color: var(--ink-2); font-size: 1.06rem; max-width: 62ch; }
.dialog-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.dialog-tags a {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: var(--radius-pill);
  background: var(--sky-50); color: var(--sky-900); font-size: 0.88rem; font-weight: 600; text-decoration: none;
}
.dialog-tags a:hover { background: var(--sky-100); }
.dialog-status { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: var(--radius); background: #fdf6ec; color: var(--gold-deep); font-weight: 500; font-size: 0.95rem; }
.dialog-status svg { width: 20px; height: 20px; flex: none; }
.dialog-nav { display: flex; justify-content: space-between; gap: var(--space-3); padding-top: var(--space-4); border-top: 1px solid var(--line); flex-wrap: wrap; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: start; }
.about-photo { position: sticky; top: calc(var(--header-h) + 24px); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 20% 40%; }
.prose-lg { font-size: var(--step-1); line-height: 1.65; color: var(--ink-2); }
.prose-lg p + p { margin-top: var(--space-5); }
.prose-lg .dropcap::first-letter { font-family: var(--font-display); float: left; font-size: 4.2em; line-height: 0.8; padding: 6px 12px 0 0; color: var(--sky-700); }
.timeline { list-style: none; margin: var(--space-7) 0 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 120px 1fr; gap: var(--space-5); padding-block: var(--space-5); border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline .when { font-family: var(--font-display); font-size: var(--step-1); color: var(--sky-700); }
.timeline h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.1rem; letter-spacing: 0; line-height: 1.3; margin-bottom: 4px; }
.timeline p { color: var(--ink-2); }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .about-photo { position: relative; top: 0; max-width: 520px; } }
@media (max-width: 520px) { .timeline li { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Marriage Ark page ---------- */
.ark-hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: center; }
.ark-hero .book-cover { justify-self: center; width: clamp(220px, 26vw, 340px); }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
.feature-list li { display: flex; gap: var(--space-4); padding: var(--space-5); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.feature-list .f-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--sky-50); color: var(--sky-700); display: grid; place-items: center; flex: none; }
.feature-list .f-icon svg { width: 22px; height: 22px; }
.feature-list h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.08rem; letter-spacing: 0; line-height: 1.3; margin-bottom: 4px; }
.feature-list p { color: var(--ink-2); font-size: 0.97rem; }
@media (max-width: 860px) { .ark-hero { grid-template-columns: 1fr; } .ark-hero .book-cover { order: -1; } .feature-list { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-5); }
.contact-card { padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: var(--space-4); align-content: start; }
.contact-card h2 { font-size: var(--step-3); }
.contact-card p { color: var(--ink-2); }
.email-link { font-family: var(--font-display); font-size: clamp(1.25rem, 0.9rem + 1.6vw, 2rem); color: var(--ink); text-decoration: none; overflow-wrap: anywhere; line-height: 1.2; }
.email-link:hover { color: var(--sky-700); }
.copy-row { display: flex; gap: 10px; flex-wrap: wrap; }
.contact-card--sky { background: linear-gradient(170deg, var(--sky-900), #0b5b86); color: #fff; border-color: transparent; }
.contact-card--sky p { color: rgb(255 255 255 / 0.82); }
.contact-card--sky h2 { color: #fff; }
.care-note { display: flex; gap: var(--space-4); padding: var(--space-5); border-radius: var(--radius); background: #fdf6ec; border: 1px solid #f4dfbf; color: var(--ink); margin-top: var(--space-5); }
.care-note svg { width: 24px; height: 24px; color: var(--gold-deep); flex: none; margin-top: 2px; }
.care-note p { color: var(--ink-2); }
.care-note strong { color: var(--ink); }
.toast {
  position: fixed; left: 50%; bottom: 24px; translate: -50% 20px; z-index: 200; opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: var(--radius-pill); box-shadow: var(--shadow-lg); font-weight: 500;
  transition: opacity var(--dur), translate var(--dur) var(--ease-out);
}
.toast.is-visible { opacity: 1; translate: -50% 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgb(255 255 255 / 0.78); margin-top: var(--space-9); padding-block: var(--space-8) var(--space-6); font-size: 0.97rem; }
.site-footer a { color: rgb(255 255 255 / 0.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--space-6); }
.footer-brand img { width: 88px; height: 88px; object-fit: contain; margin-bottom: var(--space-4); }
.footer-brand p { max-width: 34ch; }
.site-footer h2 { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; font-weight: 700; margin-bottom: var(--space-4); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.site-footer ul a { display: inline-flex; min-height: 36px; align-items: center; }
.crisis { padding: var(--space-5); border-radius: var(--radius); background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.12); }
.crisis p { font-size: 0.92rem; }
.crisis strong { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid rgb(255 255 255 / 0.12); font-size: 0.88rem; color: rgb(255 255 255 / 0.6); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Landscape photography ---------- */
.page-photo { margin: var(--space-7) 0 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 21 / 8; box-shadow: var(--shadow); background: var(--sky-100); }
.page-photo img { width: 100%; height: 100%; object-fit: cover; }
.page-photo--band { margin-block: var(--space-6) var(--space-7); aspect-ratio: 21 / 7; }
@media (max-width: 700px) { .page-photo, .page-photo--band { aspect-ratio: 4 / 3; margin-top: var(--space-6); } }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 16vw, 230px); gap: var(--space-4); }
.shot { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--sky-100); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.shot:hover img { transform: scale(1.04); }
.shot--wide { grid-column: span 2; }
.shot--tall { grid-row: span 2; }
.gallery .shot:first-child { grid-row: span 2; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery .shot:first-child { grid-row: span 1; }
}

.faq-teaser {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-5);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none;
  transition: border-color var(--dur-fast), transform var(--dur) var(--ease-out);
}
.faq-teaser > span:first-child { display: grid; gap: var(--space-3); }
.faq-teaser-title { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.2; letter-spacing: -0.015em; }
.faq-teaser .t-arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast); }
.faq-teaser .t-arrow svg { width: 20px; height: 20px; }
.faq-teaser:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.faq-teaser:hover .t-arrow { background: var(--ink); color: #fff; border-color: var(--ink); }

.faq-side { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-side h2 { font-size: var(--step-3); }
@media (max-width: 860px) { .faq-side { position: static; } }

.foreword { font-family: var(--font-display); font-style: italic; color: var(--ink-2); font-size: var(--step-1); margin-bottom: var(--space-2); }
.book .foreword { margin-top: var(--space-4); margin-bottom: 0; }
.care-note--top { margin-top: var(--space-6); max-width: 760px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Breathing room below the photo headers */
.after-photo-hero { padding-top: var(--space-7); }
.care-note--top { margin-top: 0; margin-bottom: var(--space-6); }
