/* ===========================================================
   Sabbath School Companion — CBA "Divine Light" design system
   Same family chrome as cbaorlando.org (header, nav, family bar,
   footer). Sabbath School's own door hue is SABBATH BLUE
   (#2f6bd7) — CBA's green stays in the family bar / footer mark.
   Display: Poppins · Body: Inter · Scripture accent: Fraunces.
   Light, airy, white canvas, colorful content accents.
   =========================================================== */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  /* ---- Site redesign kit palette (approved 2026-09-25), Sabbath Blue accent ---- */
  --paper: #FAF8F4;
  --paper-2: #ffffff;
  --mist: #F1EFE9;
  --ink: #1E2124;
  --ink-soft: #4F5457;
  --ink-faint: #6E6A63;
  --line: #E6E1D8;
  --line-strong: #CFC8BC;

  /* ---- Family spectrum (one hue per door) ---- */
  --home-cba: #1fa15b;      /* CBA Orlando — Life Green (footer mark) */
  --call: #f4a72c;          /* By God's Call — Sunrise Amber */
  --word: #f2624c;          /* Pray Then Act — Living Coral */
  --way: #7a5af0;           /* Discover Jesus — Royal Violet */
  --waters: #16b5c4;        /* To The Waters — Cyan */
  --pride: #8b0000;         /* Pride Destroy — Deep Red */

  /* ---- This site's own door — SABBATH BLUE (matches approved mockup) ---- */
  --home: #7C9ACB;          /* decorative accent */
  --home-deep: #365A94;     /* text-safe accent, 4.5:1+ on --paper */
  --home-bright: #7C9ACB;
  --home-tint: #EEF0EA;     /* lead-form tint band */
  --home-soft: #dce7fb;     /* underline glow */

  /* ---- Secondary content accents (colorful, in-family) ---- */
  --coral: #f2624c;
  --coral-deep: #b83f2e;
  --coral-tint: #fdeae6;
  --amber: #f4a72c;
  --amber-deep: #a86a0a;
  --amber-tint: #fdf1d9;
  --violet: #7a5af0;
  --violet-deep: #5a3fd1;
  --violet-tint: #efebfe;
  --teal: #16b5c4;
  --teal-deep: #0d8a96;
  --teal-tint: #e2f7f9;
  --leaf: #1fa15b;
  --leaf-deep: #157a43;
  --leaf-tint: #e3f5eb;

  --gold: var(--home-deep);
  --gold-2: var(--home-bright);
  --gold-soft: var(--home-soft);
  --gold-line: rgba(47, 107, 215, 0.28);

  --shadow: 0 24px 60px -28px rgba(16, 33, 58, 0.24);
  --shadow-soft: 0 14px 40px -24px rgba(16, 33, 58, 0.18);
  --shadow-sm: 0 12px 30px -20px rgba(16, 33, 58, 0.14);
  --shadow-card: 0 1px 3px rgba(16, 33, 58, 0.05), 0 10px 28px -18px rgba(16, 33, 58, 0.12);
  --shadow-card-hover: 0 2px 6px rgba(16, 33, 58, 0.07), 0 16px 36px -20px rgba(16, 33, 58, 0.18);

  --radius: 4px;
  --radius-sm: 4px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --display: "Poppins", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-sans: var(--sans);
  --wrap: 1180px;
  --max-width: 1180px;

  --site-hue: var(--home);
  --deep: var(--home-deep);

  /* Legacy aliases */
  --bg: var(--paper);
  --bg-tint: var(--mist);
  --color-bg: var(--paper);
  --color-surface: var(--paper-2);
  --color-surface-alt: var(--mist);
  --color-border: var(--line);
  --color-text: var(--ink);
  --color-text-muted: var(--ink-soft);
  --color-blue: var(--home);
  --color-blue-dark: var(--home-deep);
  --color-blue-tint: var(--home-tint);
  --color-green: var(--leaf);
  --color-green-dark: var(--leaf-deep);
  --color-green-tint: var(--leaf-tint);
  --color-coral: var(--coral);
  --color-coral-dark: var(--coral-deep);
  --color-coral-tint: var(--coral-tint);
  --color-yellow: var(--amber);
  --color-yellow-dark: var(--amber-deep);
  --color-yellow-tint: var(--amber-tint);
  --color-violet: var(--violet);
  --color-violet-dark: var(--violet-deep);
  --color-violet-tint: var(--violet-tint);
  --font-body: var(--sans);
  --font-serif: var(--serif);

  color-scheme: light;
}

/* Large-text accessibility mode */
html.large-text { font-size: 118%; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  letter-spacing: 0.002em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--home-deep); text-decoration: none; }
a:hover { color: var(--home-deep); }

h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.22;
  margin: 0 0 0.5em;
  color: var(--ink);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(1.9rem, 1.4rem + 1.9vw, 2.9rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 1.3rem + 0.9vw, 2.05rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

/* ---- Skylight atmosphere (CBA pattern) ---- */
.skylight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(42rem 20rem at 82% -6rem, rgba(47, 107, 215, 0.12), transparent 62%),
    radial-gradient(30rem 18rem at 8% -4rem, rgba(91, 142, 232, 0.10), transparent 60%);
}
.hero { position: relative; overflow: hidden; }
.hero > * { position: relative; }
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(44rem 26rem at 88% -10rem, rgba(47, 107, 215, 0.05), transparent 60%),
    radial-gradient(36rem 24rem at -10% 30%, rgba(244, 167, 44, 0.04), transparent 55%);
}

/* ---- Rise entrance animation ---- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.rise { animation: rise 0.7s both cubic-bezier(0.2, 0.7, 0.2, 1); }
.rise:nth-child(2) { animation-delay: 0.08s; }
.rise:nth-child(3) { animation-delay: 0.16s; }
.rise:nth-child(4) { animation-delay: 0.24s; }

/* ============ Container helpers ============ */
.container, .wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 22px;
}
.section-inner, .footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 22px;
}

/* ============ Buttons (CBA .button + legacy .btn) ============ */
.button, .btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 21px;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease;
}
.button:hover, .btn:hover { transform: translateY(-1px); }
.button.primary, .btn-primary,
.button.warm, .button.dark {
  background: var(--ink);
  color: #fff;
  box-shadow: none;
}
.button.primary:hover, .btn-primary:hover,
.button.warm:hover, .button.dark:hover {
  background: #34393d;
  color: #fff;
}
.button.ghost, .btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.button.ghost:hover, .btn-ghost:hover { background: var(--mist); border-color: var(--ink); color: var(--ink); }
.btn-coral {
  background: var(--coral-deep); /* AA: white on #b83f2e = 5.9 (was 3.2 on --coral) */
  color: #fff;
  box-shadow: 0 10px 24px -14px rgba(242, 98, 76, 0.55);
}
.btn-coral:hover { background: var(--coral-deep); color: #fff; }
.btn-outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-outline:hover { background: var(--mist); border-color: var(--ink); color: var(--ink); }
.arr { display: inline-block; transition: transform 0.16s ease; }
.button:hover .arr, .btn:hover .arr { transform: translateX(3px); }

/* ============ Header (CBA chrome) ============ */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 74px; /* CLS reserve: header is JS-injected */
}
.nav-wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 13px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(145deg, var(--home-bright), var(--home-deep));
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 8px 18px -10px rgba(47, 107, 215, 0.6);
  flex-shrink: 0;
}
.brand-mark svg { width: 23px; height: 23px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text > span:first-child {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand-text small {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}
.nav-toggle {
  display: none;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
  cursor: pointer;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  align-items: center;
}
.main-nav a {
  position: relative;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.93rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}
.main-nav a:hover,
.main-nav a:focus,
.main-nav a[aria-current="page"] {
  color: var(--home-deep);
  background: var(--home-tint);
}
.header-right {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}
.header-give {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--site-hue);
  color: #fff !important;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  box-shadow: 0 8px 20px -12px rgba(47, 107, 215, 0.65);
  transition: transform 0.16s ease, background 0.16s ease;
}
.header-give:hover { background: var(--home-deep); transform: translateY(-1px); color: #fff; }

/* Language / tool controls */
.tool-select,
.tool-btn {
  font-family: var(--display);
  font-size: 0.83rem;
  font-weight: 600;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink-soft);
  cursor: pointer;
}
.tool-btn[aria-pressed="true"] {
  background: var(--violet-tint);
  border-color: var(--violet);
  color: var(--violet-deep);
}

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    order: 4;
    border-top: 1px solid var(--line);
    padding-top: 12px;
    margin-top: 12px;
  }
  .main-nav.open { display: flex; }
  .nav-wrap { flex-wrap: wrap; }
}

/* ============ Hero (CBA pattern) ============ */
.hero {
  background: linear-gradient(180deg, var(--home-tint), var(--paper) 78%);
  padding: 64px 0 52px;
}
.hero h1 { max-width: 21ch; }
.hero .eyebrow, .page-hero .eyebrow { justify-content: center; }
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 24px; }
.hero-media { margin: 38px auto 0; }
.hero-media-img {
  width: 100%;
  max-width: 880px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.skylight * { position: static; }

/* ============ CBA section head / kicker / eyebrow ============ */
.section-head { max-width: 64ch; margin: 0 auto 34px; text-align: center; }
.section-kicker, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 13px;
}
.section-kicker::before, .eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--gold-2);
  display: inline-block;
}
.section { padding: 58px 0; }
.section-alt { background: var(--mist); }

/* ============ Cards ============ */
.card, .card-link {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.card-link {
  display: block;
  color: inherit;
  transition: box-shadow 0.16s ease, transform 0.16s ease, border-color 0.16s ease;
}
.card-link:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
  border-color: var(--gold-line);
  color: inherit;
}
.card-link:hover h3 { color: var(--home-deep); }
.card-media { border-radius: calc(var(--radius-lg) - 8px); overflow: hidden; margin-bottom: 16px; }
.card-media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }

/* ============ Pillars (colorful cards) ============ */
.pillars-compass {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.pillar-card {
  border-radius: var(--radius);
  padding: 26px 22px;
  background: #fff;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.pillar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.pillar-card h3 { color: var(--ink); }
.pillar-card p { color: var(--ink-soft); margin-bottom: 0; font-size: 0.95rem; }
.pillar-card svg { width: 30px; height: 30px; margin-bottom: 14px; padding: 8px; box-sizing: content-box; border-radius: 999px; }
.pillar-study svg { color: var(--home-deep); background: var(--home-tint); }
.pillar-fellowship svg { color: var(--coral-deep); background: var(--coral-tint); }
.pillar-outreach svg { color: var(--leaf-deep); background: var(--leaf-tint); }
.pillar-mission svg { color: var(--violet-deep); background: var(--violet-tint); }

/* ============ Badges ============ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.badge-official { background: var(--home-tint); color: var(--home-deep); }
.badge-bible { background: var(--leaf-tint); color: var(--leaf-deep); }
.badge-history { background: var(--mist); color: var(--ink-soft); border: 1px solid var(--line); }
.badge-interpretation { background: var(--violet-tint); color: var(--violet-deep); }
.badge-application { background: var(--amber-tint); color: var(--amber-deep); }
.badge-local { background: var(--coral-tint); color: var(--coral-deep); }
.badge-stub { background: var(--mist); color: var(--ink-faint); border: 1px dashed var(--line-strong); }

.family-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
}

/* ============ Age note / safety ============ */
.age-note {
  border-left: 4px solid var(--coral);
  background: var(--coral-tint);
  padding: 15px 19px;
  border-radius: var(--radius-sm);
  margin: 20px 0;
}
.safety-box {
  border: 1.5px solid var(--coral);
  background: var(--coral-tint);
  border-radius: var(--radius-md);
  padding: 19px 22px;
}
.safety-box h3 { color: var(--coral-deep); }

/* ============ Belief pages ============ */
.belief-family-group { margin-bottom: 38px; }
.belief-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.belief-list a {
  display: flex;
  align-items: baseline;
  gap: 11px;
  padding: 13px 17px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--paper-2);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.belief-list a:hover { border-color: var(--home); background: var(--home-tint); transform: translateY(-1px); }
.belief-num {
  font-family: var(--serif);
  font-weight: 600;
  font-style: italic;
  color: var(--home-deep);
  min-width: 1.6em;
}
.belief-list .badge-stub { margin-left: auto; }

.belief-hero { padding: 44px 0 18px; }
.belief-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0 18px; }
.belief-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  align-items: center;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.segmented { display: inline-flex; border: 1.5px solid var(--line-strong); border-radius: 999px; overflow: hidden; }
.segmented button {
  border: none;
  background: var(--paper);
  padding: 8px 15px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--sans);
  color: var(--ink-soft);
}
.segmented button[aria-pressed="true"] { background: var(--home); color: #fff; }

.belief-section { margin-bottom: 36px; }
.belief-section h2 {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.32rem;
}
.scripture-ref {
  display: inline-block;
  background: var(--leaf-tint);
  color: var(--leaf-deep);
  padding: 4px 11px;
  border-radius: var(--radius-sm);
  font-size: 0.87rem;
  margin: 3px 6px 3px 0;
  font-weight: 600;
}
.scenario-card, .faq-item {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 17px 19px;
  margin-bottom: 13px;
}
.faq-item summary { cursor: pointer; font-weight: 600; }
.related-list { display: flex; flex-wrap: wrap; gap: 8px; }
.related-list a {
  background: var(--mist);
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.88rem;
}
.related-list a:hover { border-color: var(--home); color: var(--home-deep); }
.stub-panel {
  border: 2px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 30px;
  background: var(--mist);
}

/* ==== CBA verse band (glory) ==== */
.glory, .glory-band {
  background:
    radial-gradient(52rem 24rem at 18% 0%, rgba(47, 107, 215, 0.14), transparent 60%),
    radial-gradient(36rem 20rem at 88% 100%, rgba(244, 167, 44, 0.10), transparent 55%),
    var(--home-deep);
  color: #fff;
  padding: 72px 0;
  text-align: center;
}
.glory .glory-verse, .glory-band blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.45rem, 1.2rem + 1.6vw, 2.3rem);
  line-height: 1.35;
  max-width: 26ch;
  margin: 0 auto 14px;
}
.glory cite, .glory-band cite {
  font-family: var(--display);
  font-style: normal;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.85);
}
.glory .tri-lingual { color: rgba(255, 255, 255, 0.72); font-size: 0.95rem; }

/* ==== Verse whisper (pull-quote) ==== */
.verse-whisper {
  border-left: 4px solid var(--gold-soft);
  padding: 8px 0 8px 22px;
  margin: 26px 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.12rem;
  color: var(--ink);
}
.verse-whisper cite {
  display: block;
  font-family: var(--display);
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--ink-faint);
  margin-top: 8px;
}

/* ============ Weekly lesson ============ */
.day-tracker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(122px, 1fr));
  gap: 10px;
  margin: 22px 0 32px;
}
.day-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 15px;
  background: var(--paper-2);
  box-shadow: var(--shadow-card);
}
.day-card .day-name { font-family: var(--display); font-weight: 600; color: var(--home-deep); display: block; margin-bottom: 4px; }
.day-focus { padding: 34px 0; border-top: 1px solid var(--line); }
.step-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.step-list li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 15px 18px;
}
.step-list .step-label { font-family: var(--display); font-weight: 600; color: var(--coral-deep); min-width: 8ch; }

/* ============ Planner ============ */
.planner-item {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 15px 18px;
  margin-bottom: 11px;
  background: var(--paper-2);
}
.planner-item input[type="checkbox"] { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--home); }
.planner-item.done { opacity: 0.55; text-decoration: line-through; }
.timer-display {
  font-family: var(--serif);
  font-size: 2.7rem;
  color: var(--home-deep);
  font-variant-numeric: tabular-nums;
}
.timer-box {
  background: var(--home-tint);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-lg);
  padding: 26px;
  text-align: center;
}

/* ============ Split sections (image + text) ============ */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 44px;
  align-items: center;
}
.split.reverse > .split-media { order: 2; }
.split-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}
.split-body .eyebrow { margin-bottom: 10px; }
@media (max-width: 860px) {
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse > .split-media { order: 0; }
}

/* ============ Mosaic strip (4 images) ============ */
.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.mosaic a { border-radius: var(--radius-md); overflow: hidden; display: block; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.mosaic a:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.mosaic img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; }
@media (max-width: 860px) { .mosaic { grid-template-columns: repeat(2, 1fr); } }

/* ============ Skip link / focus / utility ============ */
.skip-link {
  position: absolute;
  left: 13px;
  top: -64px;
  background: var(--home-deep);
  color: #fff;
  padding: 11px 17px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 13px; color: #fff; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 2px;
  border-radius: 4px;
}
.text-muted { color: var(--ink-soft); }
.mt-0 { margin-top: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.section-cta { text-align: center; margin-top: 34px; }

/* ============ CBA Family bar (canonical 10-door card grid) ============ */
.cba-family-bar {
  position: relative;
  z-index: 1;
  background: var(--paper-2, #f7faf8);
  border-top: 1px solid var(--line);
  padding: clamp(2.4rem, 4vw, 3.4rem) 0 clamp(2.2rem, 4vw, 3rem);
}
.cba-family-bar .section-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.cba-family-bar .family-head { text-align: center; max-width: 62ch; margin: 0 auto clamp(1.5rem,3vw,2.1rem); }
.cba-family-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--leaf-deep);
  margin-bottom: 0.6rem;
  width: 100%;
  text-align: center;
}
.cba-family-bar .family-intro { margin: 0; color: var(--ink-soft); font-size: 0.97rem; line-height: 1.65; max-width: none; }
/* 5 across = exactly two rows of five for ten doors */
.family-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 0.75rem; max-width: 1000px; margin: 0 auto; }
.family-door {
  display: flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.85rem 0.7rem; min-height: 56px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  text-align: center; font-size: 0.88rem; font-weight: 600;
  color: var(--ink-soft); text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, color 0.18s ease;
}
.family-door .dot { width: 0.55rem; height: 0.55rem; flex: none; border-radius: 50%; background: var(--c, var(--home)); display: inline-block; transition: transform 0.15s ease; }
a.family-door:hover, a.family-door:focus-visible {
  color: var(--ink); border-color: var(--c, var(--home));
  box-shadow: 0 6px 18px -8px rgba(18,49,79,0.28); transform: translateY(-2px);
}
a.family-door:hover .dot { transform: scale(1.25); }
.family-door.is-here {
  background: var(--home-tint);
  border-color: var(--c, var(--home)); color: var(--ink); cursor: default;
}
@media (max-width: 900px) { .family-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 620px) {
  .family-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0.6rem; }
  .family-door { font-size: 0.82rem; padding: 0.75rem 0.55rem; min-height: 50px; }
}
@media (max-width: 680px) { .cba-family-bar { padding: 2rem 0 1.9rem; } }

/* ============ CBA Footer (verbatim structure) ============ */
.site-footer {
  background:
    radial-gradient(60rem 30rem at 90% 0%, rgba(47, 107, 215, 0.08), transparent 60%),
    var(--mist);
  border-top: 1px solid var(--line);
  color: var(--ink);
  padding: 56px 0 30px;
  margin-top: 30px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 34px 28px;
}
.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--home-deep); }
.footer-inner h2 {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.footer-inner h3 {
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-faint);
  margin-bottom: 12px;
}
.footer-inner .lede { font-size: 0.92rem; color: var(--ink-soft); }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: 9px; font-size: 0.92rem; }
.cba-colophon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 9px 16px 9px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.cba-colophon:hover { border-color: var(--home); color: var(--home-deep); }
.cba-mark { flex-shrink: 0; }
.section-inner.family-legal {
  max-width: var(--wrap);
  margin: 34px auto 0;
  padding: 18px 22px 0;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--ink-faint);
}
.section-inner.legal-line {
  max-width: var(--wrap);
  margin: 10px auto 0;
  padding: 0 22px 8px;
  font-size: 0.82rem;
  color: var(--ink-faint);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
}
/* Copyright — last line of every page. Left: (c) ... Right: Soli Deo Gloria */
.section-inner.copyright-line {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 14px 22px 22px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--ink-faint);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: baseline;
  justify-content: space-between;
}
.section-inner.copyright-line .soli-deo {
  font-style: italic;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .section-inner.copyright-line {
    justify-content: center;
    text-align: center;
  }
}
.footer-note {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 0.83rem;
  color: var(--ink-faint);
  margin-top: 26px;
}
.footer-note strong { color: var(--ink-soft); }
@media (max-width: 980px) {
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-inner > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ============ Print ============ */
@media print {
  .site-header, .site-footer, .cba-family-bar, .belief-toolbar, .nav-toggle,
  .header-right, .no-print, .skylight, .hero-media { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  a { color: #000; text-decoration: underline; }
  .card, .scenario-card, .faq-item, .step-list li, .planner-item {
    border: 1px solid #999 !important;
    box-shadow: none !important;
  }
}/* ============ Language switcher ============ */
.langs { display: inline-flex; align-items: center; gap: 6px; }
.lang-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 22px; border-radius: 5px; overflow: hidden;
  border: 1.5px solid var(--line-strong); background: var(--paper);
  cursor: pointer; padding: 0; text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.lang-btn:hover { border-color: var(--home); transform: translateY(-1px); }
.lang-btn.on { border-color: var(--home); box-shadow: 0 0 0 2px var(--home-tint); }
.lang-btn .flag { width: 100%; height: 100%; display: block; }

/* ============ Carousel ============ */
.carousel {
  position: relative;
  max-width: 1080px;
  margin: 44px auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--home-deep);
}
.car-slide { display: none; position: relative; }
.car-slide.active { display: block; animation: carFade 0.6s ease; }
@keyframes carFade { from { opacity: 0.35; } to { opacity: 1; } }
.car-slide img { width: 100%; aspect-ratio: 16/8; object-fit: cover; display: block; }
.car-overlay {
  position: absolute; inset: auto 0 0 0;
  background: linear-gradient(180deg, rgba(22, 33, 58, 0) 0%, rgba(22, 33, 58, 0.78) 58%);
  color: #fff;
  padding: 54px 36px 26px;
}
.car-kicker {
  display: inline-block;
  font-family: var(--display); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: #bfd4fa; margin-bottom: 6px;
}
.car-overlay h2 { color: #fff; font-size: clamp(1.3rem, 1.1rem + 1.2vw, 1.9rem); margin: 0 0 6px; }
.car-overlay p { color: rgba(255,255,255,0.88); max-width: 62ch; margin: 0 0 14px; font-size: 0.97rem; }
.car-overlay .btn-primary { background: #fff; color: var(--home-deep); box-shadow: none; }
.car-overlay .btn-primary:hover { background: var(--home-tint); color: var(--home-deep); }
.car-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%;
  border: none; cursor: pointer;
  background: rgba(255,255,255,0.92); color: var(--home-deep);
  font-size: 1.5rem; line-height: 1; font-family: var(--display);
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
  transition: background 0.15s ease, transform 0.15s ease;
}
.car-nav:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.car-prev { left: 14px; }
.car-next { right: 14px; }
.car-dots {
  position: absolute; bottom: 14px; right: 22px;
  display: flex; gap: 7px;
}
.car-dot {
  width: 9px; height: 9px; border-radius: 50%;
  border: none; cursor: pointer; padding: 0;
  background: rgba(255,255,255,0.45);
  transition: background 0.15s ease, transform 0.15s ease;
}
.car-dot.on { background: #fff; transform: scale(1.25); }
@media (max-width: 640px) {
  .car-slide img { aspect-ratio: 16/10; }
  .car-overlay { padding: 40px 20px 40px; }
  .car-nav { display: none; }
}

/* ============ Trilingual content blocks ============ */
[data-lang-block] { display: none; }
html[lang="en"] [data-lang-block="en"],
html[lang="pt"] [data-lang-block="pt"],
html[lang="es"] [data-lang-block="es"] { display: block; }
html[lang="en"] [data-lang-block="en"].inline,
html[lang="pt"] [data-lang-block="pt"].inline,
html[lang="es"] [data-lang-block="es"].inline { display: inline; }
/* hide non-active blocks even when the active one is a block sibling */
html[lang="en"] [data-lang-block]:not([data-lang-block="en"]),
html[lang="pt"] [data-lang-block]:not([data-lang-block="pt"]),
html[lang="es"] [data-lang-block]:not([data-lang-block="es"]) { display: none !important; }
/* ============ Hero carousel (full-bleed under menu) ============ */
.hero-carousel {
  max-width: none;
  margin: 0;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--line);
}
.hero-carousel .car-slide img { width: 100%; aspect-ratio: 16/7.5; object-fit: cover; }
.hero-carousel .car-overlay {
  padding: 84px 6vw 40px;
  background: linear-gradient(180deg, rgba(22,33,58,0) 0%, rgba(22,33,58,0.72) 52%, rgba(22,33,58,0.88) 100%);
}
.hero-carousel .car-overlay h1 {
  color: #fff;
  font-size: clamp(1.9rem, 1.4rem + 2.6vw, 3.4rem);
  max-width: 22ch;
  margin: 0 0 10px;
}
.hero-carousel .car-overlay h2 { font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.4rem); }
.hero-carousel .car-overlay p {
  font-size: clamp(0.98rem, 0.95rem + 0.3vw, 1.15rem);
  max-width: 68ch; margin: 0 0 18px;
}
.hero-carousel .car-kicker { color: #cfe0ff; letter-spacing: 0.12em; }
.hero-carousel .car-dots { right: 6vw; bottom: 18px; }
.hero-carousel .car-prev { left: 2vw; }
.hero-carousel .car-next { right: 2vw; }
@media (max-width: 760px) {
  .hero-carousel .car-slide img { aspect-ratio: 16/11; }
  .hero-carousel .car-overlay { padding: 56px 22px 44px; }
}
/* Light ghost button on dark overlay */
.btn-ghost-light {
  background: rgba(255,255,255,0.14);
  border: 2px solid rgba(255,255,255,0.85);
  color: #fff;
}
.btn-ghost-light:hover { background: #fff; color: var(--home-deep); }

/* ============ Beliefs index cards (vertical, override legacy flex row) ============ */
.belief-list .card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 22px;
  height: 100%;
}
.belief-list .card-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.belief-list .card .belief-num { font-size: 1.05rem; }
.belief-list .card h3 { margin: 0; font-size: 1.12rem; line-height: 1.3; }
.belief-list .card p.text-muted { margin: 0; flex: 1; }
.belief-list .card .btn { align-self: flex-start; margin-top: 4px; }


/* ============ Audit refinements ============ */
.search-form { display: inline-flex; align-items: center; gap: 10px; width: 100%; max-width: 560px; }
.search-form-compact { max-width: 520px; margin-top: 16px; }
.search-input { flex: 1; min-width: 0; padding: 12px 18px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--paper); color: var(--ink); font: 400 1rem/1.2 var(--sans); }
.search-input::placeholder { color: var(--ink-faint); }
.search-input:focus { border-color: var(--home); box-shadow: 0 0 0 3px var(--home-tint); outline: none; }

.car-toggle { position: absolute; left: 22px; bottom: 14px; z-index: 2; border: 1px solid rgba(255, 255, 255, 0.72); border-radius: 999px; padding: 6px 11px; background: rgba(22, 33, 58, 0.62); color: #fff; font: 600 0.74rem/1 var(--display); cursor: pointer; backdrop-filter: blur(8px); }
.car-toggle:hover { background: rgba(22, 33, 58, 0.82); }
.hero-carousel .car-toggle { left: 6vw; bottom: 18px; }

.day-card { display: block; color: inherit; text-decoration: none; transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease; }
.day-card:hover, .day-card:focus-visible { color: inherit; border-color: var(--home); box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }

.translation-note { margin: 14px 0 0; padding: 10px 14px; border-left: 3px solid var(--home-bright); background: var(--home-tint); color: var(--ink-soft); font-size: 0.88rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

@media (max-width: 560px) {
  .search-form { flex-direction: column; align-items: stretch; }
  .search-form .btn { justify-content: center; }
  .hero-carousel .car-toggle { left: 22px; bottom: 18px; }
  .car-dots { right: 16px; }
}

/* ============ Redesign 2026-09-25: mockup anatomy additions ============
   New sections approved in the Main/About/Beliefs/Guides/Lessons mockups
   that the CBA chrome didn't already have a class for. Uses the site's
   own tokens above (not a separate kit stylesheet) so nothing forks. */
.ssc-quick-lead {
  position: relative; z-index: 4; margin: 32px auto 0; max-width: calc(var(--wrap) + 44px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px rgba(30,33,36,.08); padding: 26px 30px 26px;
  display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap;
}
.ssc-quick-lead .ql-title { display: flex; flex-direction: column; gap: 6px; min-width: 200px; }
.ssc-quick-lead .ql-title strong { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--ink); line-height: 1.15; }
.ssc-quick-lead .ql-title span { font-size: 13px; color: var(--ink-faint); }
.ssc-quick-lead label { flex: 1; min-width: 150px; display: flex; flex-direction: column; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); }
.ssc-quick-lead select { height: 46px; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 0 12px; font-size: 15px; color: var(--ink); background: var(--paper); font-family: var(--sans); }
.ssc-trust { padding: 44px 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 32px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); text-align: center; }
.ssc-trust span + span::before { content: "·"; color: var(--line-strong); margin-right: 32px; }

.ssc-mosaic { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); grid-template-rows: 150px 150px; gap: 12px; }
.ssc-mosaic > *:first-child { grid-column: span 2; grid-row: span 2; }
.ssc-mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); display: block; }

.ssc-process { margin-top: 0; padding: 72px 0; background: var(--mist); border-radius: var(--radius-lg); }
.ssc-process .grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; }
.ssc-process .step { display: flex; flex-direction: column; gap: 12px; }
.ssc-process .step img { width: 100%; height: 170px; object-fit: cover; border-radius: var(--radius); }
.ssc-process .step-n { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--home-deep); text-transform: uppercase; }

.ssc-audience { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.ssc-audience .aud-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.ssc-audience .aud-card img { width: 100%; height: 260px; object-fit: cover; display: block; }
.ssc-audience .aud-card .aud-body { padding: 34px 36px 40px; display: flex; flex-direction: column; gap: 12px; }

.ssc-gallery-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.ssc-gallery-controls { display: flex; align-items: center; gap: 10px; }
.ssc-gallery-controls .round-btn { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.ssc-gallery-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 24px)/3); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.ssc-gallery-track::-webkit-scrollbar { display: none; }
.ssc-gallery-track figure { margin: 0; scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; }
.ssc-gallery-track img { width: 100%; height: 300px; object-fit: cover; border-radius: var(--radius); }
.ssc-gallery-track figcaption { font-size: 13px; color: var(--ink-faint); }

.ssc-lead-panel { background: var(--home-tint); border-radius: var(--radius-lg); padding: 56px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 56px; }
.ssc-lead-panel .eyebrow { color: var(--home-deep); }
.ssc-lead-panel .lp-media { width: 100%; height: 220px; object-fit: cover; border-radius: var(--radius); margin-top: 8px; }
.ssc-form { background: #fff; border-radius: var(--radius); padding: 34px; display: flex; flex-direction: column; gap: 18px; border: 1px solid var(--line); }
.ssc-form label, .ssc-form legend { display: flex; flex-direction: column; gap: 7px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.ssc-form fieldset { border: 0; margin: 0; padding: 0; } .ssc-form legend { padding: 0 0 8px; }
.ssc-form .row-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.ssc-form input, .ssc-form select, .ssc-form textarea { height: 44px; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 0 12px; font-size: 15px; color: var(--ink); background: var(--paper); font-family: var(--sans); }
.ssc-form textarea { height: auto; padding: 10px 12px; resize: vertical; min-height: 100px; }
.ssc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ssc-chips button { min-height: 38px; padding: 0 15px; border-radius: 999px; font-size: 13px; font-weight: 500; cursor: pointer; background: #fff; color: var(--ink-soft); border: 1px solid var(--line-strong); font-family: var(--sans); }
.ssc-chips button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.ssc-form-status { font-size: 13px; font-weight: 600; color: var(--home-deep); min-height: 1em; }

.page-photo-hero { position: relative; height: 340px; overflow: hidden; border-radius: var(--radius-lg); margin: 0 0 8px; }
.page-photo-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 1080px) {
  .ssc-quick-lead { flex-direction: column; align-items: stretch; margin-left: 22px; margin-right: 22px; }
  .ssc-process .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ssc-lead-panel { grid-template-columns: 1fr; padding: 36px; }
}
@media (max-width: 760px) {
  .ssc-mosaic { grid-template-columns: repeat(2, minmax(0,1fr)); grid-template-rows: none; grid-auto-rows: 130px; }
  .ssc-mosaic > *:first-child { grid-column: span 2; grid-row: span 1; height: 200px; }
  .ssc-audience { grid-template-columns: 1fr; }
  .ssc-gallery-track { grid-auto-columns: 82%; }
  .ssc-gallery-track img { height: 220px; }
  .ssc-process .grid-4 { grid-template-columns: 1fr; }
  .ssc-lead-panel { padding: 24px; }
  .ssc-form { padding: 22px; }
  .page-photo-hero { height: 220px; }
}

/* Header contact link + CTA pill (approved header anatomy) */
.header-contact { font-size: 13px; color: var(--ink-faint); white-space: nowrap; }
.header-contact:hover { color: var(--home-deep); }
.header-cta.btn-primary { padding: 0 18px; min-height: 40px; white-space: nowrap; }
@media (max-width: 1080px) { .header-contact { display: none; } }
@media (max-width: 480px) { .header-cta.btn-primary { display: none; } }

/* Full-bleed photo band with an overlaid white card */
.ssc-photo-band { position: relative; height: 420px; overflow: hidden; border-radius: var(--radius-lg); }
.ssc-photo-band img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ssc-photo-band .band-card { position: absolute; left: 40px; bottom: 40px; max-width: 480px; padding: 32px 36px; background: rgba(255,255,255,.95); border-radius: var(--radius); display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 760px) {
  .ssc-photo-band { height: 320px; }
  .ssc-photo-band .band-card { left: 16px; right: 16px; bottom: 16px; max-width: none; padding: 22px; }
}

/* Vertical stack utilities used by the redesigned lead panels */
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 20px; }
.lead { font-size: 17px; line-height: 1.7; color: var(--ink-soft); margin: 0 0 1em; }
