/* ===========================================================
   Huff In Service (H.I.S.) Will Works Ministry, Inc.
   Design system — adapted from So You Thought By Now
   (soyouthoughtbynow.com), the ministry's own media division.
   =========================================================== */

/* ---------- Type Scale (fluid clamp) ---------- */
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(2.5rem, 1rem + 3.2vw, 4.75rem);

  /* ---------- 4px Spacing System ---------- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* ---------- Content widths ---------- */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;

  /* ---------- Radius ---------- */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* ---------- Motion ---------- */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* ---------- Fonts ---------- */
  --font-display: 'Sora', 'Helvetica Neue', sans-serif;
  --font-body: 'Sora', 'Helvetica Neue', sans-serif;
}

/* ---------- Color: Light Mode (default) ---------- */
:root,
[data-theme='light'] {
  --color-bg: #ffffff;
  --color-surface: #ffffff;
  --color-surface-2: #f7f3ee;
  --color-surface-offset: #f1ebe2;
  --color-surface-offset-2: #e9e1d4;
  --color-marquee-bg: #86807a;
  --color-marquee-text: #140000;
  --color-divider: #e6ded2;
  --color-border: #ddd3c4;

  --color-text: #150400;
  --color-text-muted: #665c53;
  --color-text-faint: #a89c8d;
  --color-text-inverse: #fdf6ee;

  /* Primary Accent — SYTBN dark red */
  --color-primary: #8b0000;
  --color-primary-hover: #6b0000;
  --color-primary-active: #4d0000;
  --color-primary-highlight: #f3dbd6;

  --color-gold: #b8863b;
  --color-gold-highlight: #f1e4c9;

  --shadow-sm: 0 1px 2px oklch(0.2 0.03 30 / 0.08);
  --shadow-md: 0 4px 16px oklch(0.2 0.03 30 / 0.1);
  --shadow-lg: 0 16px 40px oklch(0.2 0.03 30 / 0.16);
}

/* ---------- Color: Dark Mode ---------- */
[data-theme='dark'] {
  --color-bg: #140000;
  --color-surface: #1c0403;
  --color-surface-2: #220605;
  --color-surface-offset: #2a0908;
  --color-surface-offset-2: #330d0b;
  --color-marquee-bg: #3a3532;
  --color-marquee-text: #f5ede4;
  --color-divider: #3a1210;
  --color-border: #47201d;

  --color-text: #f2e7dd;
  --color-text-muted: #c2a99d;
  --color-text-faint: #8a6a60;
  --color-text-inverse: #150400;

  --color-primary: #d4453f;
  --color-primary-hover: #e8635c;
  --color-primary-active: #b3332e;
  --color-primary-highlight: #4a1613;

  --color-gold: #e0b165;
  --color-gold-highlight: #4a3a1e;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.35);
  --shadow-md: 0 4px 16px oklch(0 0 0 / 0.45);
  --shadow-lg: 0 16px 40px oklch(0 0 0 / 0.55);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #140000;
    --color-surface: #1c0403;
    --color-surface-2: #220605;
    --color-surface-offset: #2a0908;
    --color-surface-offset-2: #330d0b;
    --color-marquee-bg: #3a3532;
    --color-marquee-text: #f5ede4;
    --color-divider: #3a1210;
    --color-border: #47201d;
    --color-text: #f2e7dd;
    --color-text-muted: #c2a99d;
    --color-text-faint: #8a6a60;
    --color-text-inverse: #150400;
    --color-primary: #d4453f;
    --color-primary-hover: #e8635c;
    --color-primary-active: #b3332e;
    --color-primary-highlight: #4a1613;
    --color-gold: #e0b165;
    --color-gold-highlight: #4a3a1e;
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.35);
    --shadow-md: 0 4px 16px oklch(0 0 0 / 0.45);
    --shadow-lg: 0 16px 40px oklch(0 0 0 / 0.55);
  }
}

/* =====================================================
   Base layout helpers
   ===================================================== */

body {
  overflow-x: hidden;
}

.wrap {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.wrap-narrow {
  max-width: var(--content-narrow);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.wrap-default {
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

a {
  color: var(--color-primary);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--color-primary);
  color: #fff;
  padding: var(--space-3) var(--space-5);
  z-index: 200;
  border-radius: var(--radius-md);
}
.skip-link:focus {
  left: var(--space-4);
  top: var(--space-4);
}

/* =====================================================
   Header / Nav — clean white bar, SYTBN pattern
   ===================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.nav-inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: var(--space-3) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}
.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.brand-logo img {
  height: clamp(36px, 5vw, 48px);
  width: auto;
}
.brand-logo:hover {
  text-decoration: none;
}
.main-nav ul {
  display: flex;
  gap: var(--space-6);
  align-items: center;
}
.main-nav a {
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: var(--space-2) 0;
  position: relative;
}
.main-nav a:hover {
  text-decoration: none;
  color: var(--color-primary);
}
.main-nav a[aria-current='page'] {
  color: var(--color-primary);
}
.main-nav a[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
}
.nav-controls {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--color-text);
}
.theme-toggle:hover {
  background: var(--color-surface-2);
}
.theme-toggle .icon-sun {
  display: block;
}
.theme-toggle .icon-moon {
  display: none;
}
[data-theme='dark'] .theme-toggle .icon-sun {
  display: none;
}
[data-theme='dark'] .theme-toggle .icon-moon {
  display: block;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    inset: 64px 0 0 0;
    background: var(--color-surface);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity var(--transition-interactive),
      transform var(--transition-interactive);
    padding: var(--space-6);
    overflow-y: auto;
  }
  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
  }
  .main-nav a {
    display: block;
    width: 100%;
    padding: var(--space-4) 0;
    font-size: var(--text-lg);
    border-bottom: 1px solid var(--color-divider);
  }
  .nav-toggle {
    display: inline-flex;
  }
}

/* =====================================================
   Hero — full-bleed dark red band, two-column
   ===================================================== */

.hero {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding-block: clamp(var(--space-16), 10vw, var(--space-32));
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-12);
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-inverse);
  opacity: 0.82;
  margin-bottom: var(--space-4);
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-hero);
  letter-spacing: -0.02em;
  color: var(--color-text-inverse);
  margin-bottom: var(--space-5);
}
.hero .sub {
  font-size: var(--text-lg);
  color: var(--color-text-inverse);
  opacity: 0.92;
  max-width: 46ch;
  margin-bottom: var(--space-8);
}
.hero-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: var(--transition-interactive);
}
.btn:hover {
  text-decoration: none;
}
.btn-light {
  background: var(--color-text-inverse);
  color: var(--color-primary);
}
.btn-light:hover {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  border: 1.5px solid currentColor;
  color: var(--color-text-inverse);
  background: transparent;
}
.btn-outline:hover {
  background: oklch(1 0 0 / 0.1);
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-primary-hover);
}

/* Page hero (interior pages — no two-column) */
.page-hero {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding-block: clamp(var(--space-12), 8vw, var(--space-20));
  text-align: left;
}
.page-hero .wrap-narrow {
  max-width: var(--content-default);
}
.page-hero .eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.82;
  margin-bottom: var(--space-4);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-3xl);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}
.page-hero .sub {
  font-size: var(--text-lg);
  max-width: 62ch;
  opacity: 0.92;
}
.page-hero .credential-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.page-hero .credential-row span {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: var(--space-2) var(--space-4);
  border: 1px solid oklch(1 0 0 / 0.35);
  border-radius: var(--radius-full);
}
.founder-crest {
  width: 88px;
  height: 88px;
  border-radius: var(--radius-full);
  background: #fff;
  padding: var(--space-1);
  margin-bottom: var(--space-5);
  box-shadow: var(--shadow-md);
}

/* =====================================================
   Marquee ticker — gray band, SYTBN "stay tuned" pattern
   ===================================================== */

.marquee {
  background: var(--color-marquee-bg);
  overflow: hidden;
  padding-block: var(--space-4);
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: var(--space-6);
  animation: marquee-scroll 32s linear infinite;
  will-change: transform;
}
.marquee span {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-marquee-text);
}
.marquee .dot {
  font-size: var(--text-lg);
  color: var(--color-marquee-text);
  opacity: 0.5;
}
@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

/* =====================================================
   Photo strip — full-width triptych
   ===================================================== */

.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--color-divider);
}
.photo-strip figure {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  margin: 0;
}
.photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.photo-strip figure:hover img {
  transform: scale(1.04);
}
.photo-strip figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--space-4) var(--space-5);
  background: linear-gradient(to top, oklch(0 0 0 / 0.55), transparent);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .photo-strip {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   Sections & blocks
   ===================================================== */

.block {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}
.block.alt {
  background: var(--color-surface-2);
}
.block p {
  margin-bottom: var(--space-5);
  max-width: 72ch;
  color: var(--color-text);
}
.block h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-6);
}
.block h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-block: var(--space-8) var(--space-3);
  color: var(--color-primary);
}
.block .label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

/* =====================================================
   Overview cards (Home) — asymmetric grid, not a 3-col repeat
   ===================================================== */

.overview-grid {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: clamp(var(--space-10), 6vw, var(--space-16)) var(--space-6);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-5);
}
.overview-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-interactive);
}
.overview-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.overview-card:nth-child(1) {
  grid-column: span 3;
}
.overview-card:nth-child(2) {
  grid-column: span 3;
}
.overview-card:nth-child(3) {
  grid-column: span 2;
}
.overview-card:nth-child(4) {
  grid-column: span 2;
}
.overview-card:nth-child(5) {
  grid-column: span 2;
}
.overview-card .card-index {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
}
.overview-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-3);
}
.overview-card p {
  color: var(--color-text-muted);
  flex-grow: 1;
  margin-bottom: var(--space-5);
}
.go-link {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-primary);
}
.go-link::after {
  content: ' →';
}

@media (max-width: 860px) {
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .overview-card:nth-child(n) {
    grid-column: span 1;
  }
}

/* =====================================================
   Pull quote
   ===================================================== */

.pull-quote {
  max-width: var(--content-default);
  margin: 0 auto;
  padding: clamp(var(--space-12), 8vw, var(--space-20)) var(--space-6);
  text-align: center;
}
.pull-quote blockquote {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin-bottom: var(--space-5);
}
.pull-quote cite {
  font-style: normal;
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
}

/* =====================================================
   Values grid
   ===================================================== */

.values-grid {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: clamp(var(--space-12), 6vw, var(--space-20)) var(--space-6);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.value-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}
.value-card .num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-primary-highlight);
  -webkit-text-stroke: 1.5px var(--color-primary);
  margin-bottom: var(--space-4);
  line-height: 1;
}
[data-theme='dark'] .value-card .num {
  color: transparent;
}
.value-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-3);
}
.value-card p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  max-width: none;
}
.value-card .ref {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 860px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   Org chart (Structure)
   ===================================================== */

.org-chart {
  max-width: var(--content-default);
  margin: var(--space-12) auto 0;
  padding-inline: var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.org-node {
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-8);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.org-parent {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.org-parent .org-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
}
.org-parent .org-sub {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
}
.org-connector-v {
  width: 2px;
  height: var(--space-10);
  background: var(--color-border);
}
.org-children {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  position: relative;
  width: 100%;
}
.org-child {
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
}
.org-child .org-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--color-text);
}
.org-child .org-sub {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  font-weight: 700;
}

@media (max-width: 760px) {
  .org-children {
    grid-template-columns: 1fr;
  }
}

.structure-grid {
  max-width: var(--content-wide);
  margin: var(--space-10) auto 0;
  padding-inline: var(--space-6);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.structure-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.structure-card .tag {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gold);
}
.structure-card .org-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.structure-card p {
  color: var(--color-text-muted);
  max-width: none;
}

@media (max-width: 860px) {
  .structure-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   Founder page — two-column bio
   ===================================================== */

.bio-columns {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: clamp(var(--space-12), 6vw, var(--space-20)) var(--space-6);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-12);
  align-items: start;
}
.bio-photo {
  position: sticky;
  top: calc(var(--space-16) + 64px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.bio-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.bio-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
.bio-list li {
  padding-left: var(--space-5);
  position: relative;
  color: var(--color-text);
  max-width: 68ch;
}
.bio-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
}
.bio-list strong {
  color: var(--color-primary);
}

@media (max-width: 900px) {
  .bio-columns {
    grid-template-columns: 1fr;
  }
  .bio-photo {
    position: static;
    max-width: 420px;
  }
}

/* =====================================================
   Footer — dark red, SYTBN pattern
   ===================================================== */

.site-footer {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding-block: clamp(var(--space-10), 6vw, var(--space-16)) var(--space-8);
}
.footer-inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-8);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.footer-brand .logo-chip {
  background: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-3);
  display: flex;
  align-items: center;
}
.footer-brand .logo-chip img {
  height: 40px;
  width: auto;
}
.footer-brand .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
}
.footer-brand .loc {
  font-size: var(--text-sm);
  opacity: 0.8;
}
.footer-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-6);
}
.footer-links a {
  color: var(--color-text-inverse);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  opacity: 0.9;
}
.footer-links a:hover {
  opacity: 1;
}
.footer-note {
  font-size: var(--text-xs);
  opacity: 0.75;
  text-align: center;
}
.footer-inner + .footer-note {
  border-top: 1px solid oklch(1 0 0 / 0.2);
}

/* =====================================================
   Responsive — Hero & general mobile
   ===================================================== */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-photo {
    order: -1;
    aspect-ratio: 16 / 10;
    max-width: 480px;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: var(--text-3xl);
  }
  .page-hero h1 {
    font-size: var(--text-2xl);
  }
  .marquee span {
    font-size: var(--text-base);
  }
}

/* Touch target safety */
a,
button {
  min-height: 24px;
}

/* =====================================================
   Cross-site switch (ministry <-> podcast)
   ===================================================== */

.site-switch {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 9px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    background var(--transition-interactive),
    border-color var(--transition-interactive),
    color var(--transition-interactive);
}
.site-switch:hover {
  text-decoration: none;
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-text-inverse);
}
.site-switch-icon { flex-shrink: 0; }
.site-switch-label-short { display: none; }

@media (max-width: 620px) {
  .site-switch { padding: 9px 13px; }
  .site-switch-label { display: none; }
  .site-switch-label-short { display: inline; }
}
