/* ==========================================================================
   Apostle Vincent L. Greaves Sr. Ministries — site styles
   Consumes assets/css/tokens.css. Load tokens.css FIRST.
   ========================================================================== */

/* --- fonts ---------------------------------------------------------------
   Manrope sets headings, Poppins sets body — the reference's exact pairing.
   Both self-hosted: the Google CDN's URLs are version-hashed (/v24/) so they
   can't be preloaded, cost two extra handshakes, and hotlinking leaks visitor
   IPs. Manrope is one 24KB variable file (weights 200-800); Poppins has no
   variable release, so each weight is a separate 8KB cut — 400 prose, 500 nav
   and lead paragraphs, 700 buttons. Only those three: ask Poppins for a weight
   that isn't loaded and the browser synthesises it, which looks like a smeared
   fake bold. Anything lighter than 400 must therefore stay on Manrope.
   Both OFL; see the licences beside them.
   Same unicode-range throughout: latin + the punctuation the site uses. */
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-latin-var.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins-latin-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: var(--font-body);
  font-weight: var(--weight-body);
  line-height: var(--leading-body);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: var(--weight-heading);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
  text-wrap: balance;
}
p { text-wrap: pretty; }

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 100;
  padding: var(--space-3) var(--space-4);
  background: var(--vlg-ink);
  color: #fff;
  text-decoration: none;
  transition: top var(--motion-fast);
}
.skip-link:focus { top: var(--space-4); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.shell {
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

/* --- nav ------------------------------------------------------------------ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-surface);
  box-shadow: var(--shadow-nav);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;          /* at large text sizes the CTA wraps instead of overflowing */
  gap: var(--space-3) var(--space-6);
  padding-block: var(--space-3);
  min-height: 72px;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}
.nav__brand { min-width: 0; }
.nav__brandtext { overflow-wrap: anywhere; }
.nav__brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  font-family: var(--font-display);   /* the site title is a heading, not prose */
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  line-height: 1.1;
}
.nav__mark { width: 40px; height: auto; border-radius: 4px; }
.nav__brandtext { font-size: var(--font-small); }
.nav__brandtext span {
  display: block;
  font-weight: 500;
  font-size: var(--font-micro);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* The menu is a checkbox + label disclosure — zero JavaScript, and it works
   in every browser. (<details> can't do this job: a closed <details> puts its
   children in an unrendered slot, so they cannot be forced visible on desktop
   no matter what `display` you set.) */
.nav__menu { position: relative; }
.nav__burger {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3);
  cursor: pointer;
  font-weight: 700;
  user-select: none;
}
.nav__toggle:focus-visible + .nav__menu .nav__burger {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
  padding: 0;
}
.nav__links a {
  display: block;
  padding: var(--space-2) var(--space-3);
  text-decoration: none;
  font-size: var(--font-small);
  font-weight: 500;
  border-radius: 4px;
}
.nav__links a:hover { color: var(--color-accent); }
.nav__links a[aria-current="page"] {
  color: var(--color-accent);
  font-weight: 700;
}
.nav__cta {
  padding: var(--space-3) var(--space-5);
  border: 3px solid var(--color-accent);
  border-radius: var(--radius-btn);
  color: var(--color-accent);
  font-weight: var(--weight-btn);
  font-size: var(--font-small);
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--motion-fast), color var(--motion-fast);
}
.nav__cta:hover { background: var(--color-accent); color: var(--color-on-accent); }

/* Small phones can't fit brand + burger + CTA. The CTA target (Contact) is
   already in the menu, so drop it rather than let the header overflow. */
@media (max-width: 479px) {
  .nav__cta { display: none; }
  .nav__brandtext { font-size: var(--font-micro); }
}

@media (max-width: 899px) {
  .nav__burger { display: flex; }
  .nav__links {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + var(--space-2));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-width: 220px;
    padding: var(--space-2);
    background: var(--color-surface);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(27, 11, 37, 0.18);
  }
  .nav__toggle:checked + .nav__menu .nav__links { display: flex; }
  .nav__links a { padding: var(--space-3); }
}
@media (min-width: 900px) {
  .nav__burger { display: none; }
  .nav__links { display: flex; position: static; flex-direction: row; }
}

/* --- buttons -------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: var(--btn-pad);
  border: var(--border-btn) solid var(--color-accent);
  border-radius: var(--radius-btn);
  background: transparent;
  color: var(--color-accent);
  font-weight: var(--weight-btn);
  text-decoration: none;
  cursor: pointer;
  transition: background var(--motion-fast), color var(--motion-fast);
}
.btn:hover { background: var(--color-accent); color: var(--color-on-accent); }
.btn--solid { background: var(--color-accent); color: var(--color-on-accent); }
.btn--solid:hover { background: var(--color-accent-hover); border-color: var(--color-accent-hover); }

/* A 5px border is clumsy at phone sizes. */
@media (max-width: 767px) {
  .btn { border-width: 3px; }
}

/* --- hero -----------------------------------------------------------------
   The reference hero is a full-bleed photograph. Ours can't be: the only
   usable photo is a vertical cutout, which would look absurd at 100vw. So we
   rebuild the ministry's own banner composition in live HTML — cream field,
   headline, verse bar, portrait bleeding off the right — which also lets us
   crop away the text that was baked into the original JPG and re-set it as
   real, selectable, responsive type. */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(120% 100% at 70% 0%, var(--vlg-cream-light) 0%, var(--vlg-cream) 62%, #F3D9A8 100%);
}

/* Ghosted convocation backdrop. Multiply keeps it inside the cream palette
   rather than greying it; the scrim below then rebuilds contrast under the
   headline so the type stays AA no matter how busy the photo is. */
.hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  opacity: 0.38;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(100deg,
              var(--vlg-cream-light) 0%,
              rgba(255, 241, 214, 0.86) 34%,
              rgba(255, 241, 214, 0.30) 58%,
              rgba(255, 241, 214, 0) 74%);
}
@media (max-width: 899px) {
  /* On phones the copy spans the full width, so the scrim has to cover it all. */
  .hero::after {
    background: linear-gradient(to bottom,
                rgba(255, 241, 214, 0.92) 0%,
                rgba(255, 241, 214, 0.80) 58%,
                rgba(255, 241, 214, 0.62) 100%);
  }
  .hero__backdrop { opacity: 0.30; }
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: var(--space-8);
  max-width: var(--page-max);
  margin-inline: auto;
  padding: var(--space-16) var(--page-gutter) var(--space-20);
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--font-micro);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--vlg-crimson);
}
.hero__eyebrow::before {
  content: "";
  width: 32px;
  height: 3px;
  background: var(--vlg-crimson);
}
.hero__title {
  margin-top: var(--space-5);
  font-size: var(--font-h1);
  max-width: 14ch;
}
.hero__verse {
  margin-top: var(--space-6);
  padding: var(--space-3) var(--space-5);
  background: var(--vlg-crimson);
  color: var(--color-on-accent);
  font-size: var(--font-lead);
  line-height: var(--leading-snug);
  max-width: 60ch;
}
.hero__verse cite {
  display: block;
  margin-top: var(--space-1);
  font-style: normal;
  font-weight: 700;
  font-size: var(--font-small);
  opacity: 0.9;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
}
/* The source photo is a rectangular crop whose own background is the same
   cream/gold swirl as this section. Feathering the left and bottom edges
   dissolves the crop boundary so he reads as standing in the field rather
   than pasted into a box. */
.hero__portrait {
  position: relative;
  justify-self: center;
  width: min(100%, 420px);
  height: auto;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 20%),
                      linear-gradient(to bottom, transparent 0%, #000 14%),
                      linear-gradient(to top, transparent 0%, #000 6%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent 0%, #000 20%),
                      linear-gradient(to bottom, transparent 0%, #000 14%),
                      linear-gradient(to top, transparent 0%, #000 6%);
          mask-composite: intersect;
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: end;
    gap: var(--space-10);
    padding-block: var(--space-20) 0;
    min-height: 620px;
  }
  .hero__copy { padding-bottom: var(--space-20); }

  /* The About hero holds a tall framed photo instead of a bleeding cutout, so
     bottom-aligning the copy strands ~390px of empty cream above the name.
     Centre both columns and let the ornament carry the remaining space. */
  .hero--about .hero__inner {
    align-items: center;
    padding-block: var(--space-12);
    min-height: 0;
  }
  .hero--about .hero__copy { padding-bottom: 0; }
  .hero__portrait {
    align-self: end;
    justify-self: end;
    width: min(100%, 520px);
    margin-bottom: -1px;   /* sit on the section edge, no seam */
  }
}

/* Phone: the portrait becomes a low-opacity backdrop behind the copy with a
   scrim over it. Text never lands on his face. */
@media (max-width: 899px) {
  .hero__portrait {
    position: absolute;
    right: -12%;
    bottom: 0;
    width: 76%;
    max-width: 340px;
    opacity: 0.16;
    z-index: 0;
    filter: none;
  }
  .hero__inner { padding-block: var(--space-12) var(--space-16); }
}

/* --- hero figure ----------------------------------------------------------
   For a real photograph rather than the cutout: framed and rounded, so the
   photo's own background reads as a deliberate block instead of a bad cutout.
   Never masked — feathering a framed photo just looks like a mistake. */
.hero__figure {
  position: relative;
  z-index: 2;
  margin: 0;
  justify-self: center;
  max-width: 470px;
}
/* Feathered into the cream rather than framed. No border-radius or box-shadow:
   both follow the element box, not the mask, so they'd draw a hard rectangle
   around a soft-edged photo. The dissolve is the frame. */
.hero__photo {
  width: 100%;
  height: auto;
  /* Feather all four edges. Two crossed linear gradients, not a radial: a
     radial's ending shape is sized off the box, so its fade completes outside
     the element and the edges stay hard. */
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0%, #000 16%, #000 84%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 13%, #000 87%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(to right,  transparent 0%, #000 16%, #000 84%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 13%, #000 87%, transparent 100%);
          mask-composite: intersect;
}
.hero__caption {
  margin-top: var(--space-2);
  font-size: var(--font-micro);
  color: var(--color-text-muted);
  max-width: 42ch;
}
@media (min-width: 900px) {
  .hero__figure { justify-self: end; align-self: center; margin-block: var(--space-8); }
}

/* --- hero ornament --------------------------------------------------------
   Fills the cream above the headline. Pure brand furniture: the monogram plus
   the gold arc motif lifted from the ministry's banner artwork. */
.hero__ornament {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
/* Concentric gold arcs echoing the swirls on the ministry's banner art.
   Centred behind the empty cream above the headline. */
.hero__ornament::before {
  content: "";
  position: absolute;
  left: -160px;
  top: -300px;
  width: 900px;
  height: 900px;
  background:
    repeating-radial-gradient(circle at 50% 50%,
      rgba(222, 189, 84, 0.55) 0 2px,
      transparent 2px 30px);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 22%, rgba(0,0,0,0.5) 48%, transparent 70%);
          mask-image: radial-gradient(circle at 50% 50%, #000 22%, rgba(0,0,0,0.5) 48%, transparent 70%);
}
/* A soft crimson bloom so the arcs sit in something, not on bare cream. */
.hero__ornament::after {
  content: "";
  position: absolute;
  left: -6%;
  top: -18%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%,
              rgba(160, 1, 34, 0.07) 0%, transparent 68%);
}
.hero__ornamark {
  position: absolute;
  left: 5%;
  top: 8%;
  width: 210px;
  height: auto;
  opacity: 0.34;
}
@media (max-width: 899px) {
  .hero__ornament::before { width: 520px; height: 520px; top: -190px; left: -130px; }
  .hero__ornament::after  { width: 360px; height: 360px; }
  .hero__ornamark { width: 108px; opacity: 0.24; top: 3%; }
}

/* --- page header (inner pages) -------------------------------------------
   The homepage hero carries the portrait; inner pages get a shorter cream
   band so the nav has something to sit against and the h1 has room. */
.pagehead {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 140% at 78% 0%,
              var(--vlg-cream-light) 0%, var(--vlg-cream) 68%, #F3D9A8 100%);
}
.pagehead__inner {
  position: relative;
  z-index: 2;
  max-width: var(--page-max);
  margin-inline: auto;
  padding: var(--space-16) var(--page-gutter);
}
.pagehead__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--font-micro);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--vlg-crimson);
}
.pagehead__eyebrow::before {
  content: "";
  width: 32px;
  height: 3px;
  background: var(--vlg-crimson);
}
.pagehead__title {
  margin-top: var(--space-5);
  font-size: var(--font-h1);
  max-width: 18ch;
}
.pagehead__lead {
  margin-top: var(--space-5);
  max-width: 58ch;
  font-size: var(--font-lead);
  color: var(--color-text-muted);
}
/* Uses the alpha-keyed monogram: the solid one carries the artwork's cream
   field and would sit on this gradient as a visible rectangle. */
.pagehead__mono {
  position: absolute;
  right: -2%;
  bottom: -22%;
  width: 260px;
  height: auto;
  opacity: 0.22;
  z-index: 0;
}
@media (max-width: 767px) {
  .pagehead__inner { padding-block: var(--space-12); }
  .pagehead__mono { width: 170px; right: -8%; }
}

/* --- breadcrumb ----------------------------------------------------------- */
.crumbs {
  max-width: var(--page-max);
  margin-inline: auto;
  padding: var(--space-4) var(--page-gutter) 0;
  font-size: var(--font-small);
}
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.crumbs li + li::before { content: "/"; margin-right: var(--space-2); opacity: 0.4; }
.crumbs a { color: var(--vlg-crimson); text-decoration: none; font-weight: 700; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--color-text-muted); }

/* --- prose ----------------------------------------------------------------
   Long-form body copy: mission, vision, bio. */
.prose {
  max-width: 68ch;
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}
/* Matches .record / .section__head--narrow. Without this the bio paragraph
   sits on a different left edge (68ch vs 76ch = a 39px step) from everything
   below it, which reads as stray white space rather than a margin. */
.prose--wide { max-width: 76ch; }
.prose > p {
  margin-bottom: var(--space-6);
  font-size: var(--font-lead);
  line-height: 1.7;
}
.prose > p:first-of-type {
  font-size: clamp(1.125rem, 1.0083rem + 0.5185vw, 1.375rem);
  font-weight: 500;
  color: var(--vlg-ink);
}
.prose h2 {
  margin: var(--space-12) 0 var(--space-5);
  font-size: var(--font-h2);
}
.prose blockquote {
  margin: var(--space-10) 0;
  padding: var(--space-6) var(--space-8);
  border-left: 5px solid var(--vlg-crimson);
  background: var(--color-surface);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  font-size: var(--font-lead);
}
.prose blockquote cite {
  display: block;
  margin-top: var(--space-3);
  font-style: normal;
  font-weight: 700;
  font-size: var(--font-small);
  color: var(--vlg-crimson);
}

/* --- creed ----------------------------------------------------------------
   Numbered movements. Used only on Vision, where the content genuinely builds
   in sequence — which is the one condition that earns ordinal numerals. Mission
   is a retrospective and stays flowing prose, so the two pages don't read as one
   template with the words swapped. */
.creed {
  max-width: 76ch;
  margin-inline: auto;
  padding-inline: var(--page-gutter);
  counter-reset: creed;
  display: grid;
  gap: var(--space-16);
}
.creed__item { counter-increment: creed; }
.creed__no {
  /* Weight 200 — Manrope only, as .timeline__years. */
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1.9rem + 2.7vw, 3.75rem);
  font-weight: 200;
  line-height: 1;
  letter-spacing: var(--tracking-tight);
  color: var(--vlg-crimson);
  font-variant-numeric: tabular-nums;
}
.creed__no::before { content: counter(creed, decimal-leading-zero); }
.creed__title {
  margin: var(--space-3) 0 var(--space-4);
  font-size: var(--font-h2);
  max-width: 20ch;
}
.creed__body { font-size: var(--font-lead); line-height: 1.7; }
.creed__rule {
  margin-top: var(--space-8);
  border: 0;
  border-top: 1px solid rgba(160, 1, 34, 0.20);
}
.creed__item:last-child .creed__rule { display: none; }

/* --- record (bio milestone timeline, full page) --------------------------- */
.record {
  max-width: 76ch;
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}
.record__list {
  list-style: none;
  padding: 0 0 0 var(--space-8);
  margin: 0;
  border-left: 2px solid rgba(160, 1, 34, 0.22);
  display: grid;
  /* Not a bare 1fr: a grid item's min-width:auto floors the track at the item's
     min-content width, so one long word can push the track wider than the list
     and scroll the page sideways. minmax(0, …) removes the floor. */
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-8);
}
.record__list > li { position: relative; }
.record__list > li::before {
  content: "";
  position: absolute;
  left: calc(var(--space-8) * -1 - 7px);
  top: 0.4em;
  width: 12px; height: 12px;
  border-radius: var(--radius-pill);
  background: var(--vlg-crimson);
  box-shadow: 0 0 0 4px var(--color-bg);
}
.record__when {
  font-size: var(--font-small);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--vlg-crimson);
  font-variant-numeric: tabular-nums;
}
.record__what {
  margin-top: var(--space-2);
  font-size: var(--font-lead);
  line-height: var(--leading-body);
}
.record__what > p + p { margin-top: var(--space-4); }
/* An email address is one unbreakable token — apostlegreaves@vlgreavessr.com is
   273px in Poppins, wider than a 320px screen's text column, and it can't wrap
   at a space because it has none. Must be `anywhere`, not `break-word`: only
   `anywhere` feeds the break opportunity back into min-content sizing, which is
   what the grid track above measures. Scoped to links, so prose still breaks
   on spaces only. */
.record__what a { overflow-wrap: anywhere; }

/* Flags information deliberately withheld from a public page — travel account
   numbers and payment handles are given out by the administrator instead. */
.record__note {
  margin-top: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-left: 3px solid var(--vlg-crimson);
  background: rgba(160, 1, 34, 0.05);
  font-size: var(--font-small);
  color: var(--color-text-muted);
}

/* --- plain list (label + value rows) -------------------------------------- */
.plainlist {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0 0;
  display: grid;
  gap: var(--space-3);
}
.plainlist li {
  display: grid;
  gap: var(--space-1);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(27, 11, 37, 0.10);
  font-size: var(--font-body);
}
.plainlist li:last-child { border-bottom: 0; padding-bottom: 0; }
.plainlist b {
  font-size: var(--font-micro);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--vlg-crimson);
}

/* --- paired fields --------------------------------------------------------- */
.field2 { display: grid; gap: var(--space-5); }
@media (min-width: 560px) { .field2 { grid-template-columns: 1fr 1fr; } }

/* --- fact grid (education, family) ---------------------------------------- */
.facts {
  display: grid;
  gap: var(--bento-gap);
  grid-template-columns: 1fr;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}
@media (min-width: 768px) { .facts { grid-template-columns: repeat(2, 1fr); } }

/* --- video grid ----------------------------------------------------------- */
.videos {
  display: grid;
  gap: var(--bento-gap);
  grid-template-columns: 1fr;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}
@media (min-width: 700px)  { .videos { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .videos { grid-template-columns: repeat(3, 1fr); } }

.video {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid rgba(27, 11, 37, 0.10);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: box-shadow var(--motion-fast), transform var(--motion-fast);
}
.video:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
/* Privacy-friendly facade: no YouTube request until the visitor clicks.
   Keeps the page at zero third-party requests on load. */
.video__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--vlg-ink);
}
.video__frame img,
.video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}
.video__play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 0;
  background: rgba(27, 11, 37, 0.28);
  cursor: pointer;
  transition: background var(--motion-fast);
}
.video__play:hover { background: rgba(27, 11, 37, 0.12); }
.video__play::after {
  content: "";
  width: 68px; height: 48px;
  border-radius: 12px;
  background: var(--vlg-crimson) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 24px no-repeat;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: transform var(--motion-fast);
}
.video__play:hover::after { transform: scale(1.08); }
.video__meta { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.video__title { font-size: 1.0625rem; font-weight: 700; line-height: var(--leading-snug); }
.video__host { margin-top: auto; font-size: var(--font-micro); color: var(--color-text-muted); }
.video__host a { color: var(--vlg-crimson); font-weight: 700; }

/* --- form ------------------------------------------------------------------ */
.form { display: grid; gap: var(--space-5); }
.field { display: grid; gap: var(--space-2); }
.field label { font-size: var(--font-small); font-weight: 700; }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font: inherit;
  color: var(--color-text);
  background: var(--color-surface);
  border: 2px solid rgba(27, 11, 37, 0.22);
  border-radius: 10px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 1px;
  border-color: var(--vlg-crimson);
}
.field__hint { font-size: var(--font-micro); color: var(--color-text-muted); }
.form__note {
  padding: var(--space-4);
  border-radius: 10px;
  background: rgba(160, 1, 34, 0.06);
  border: 1px dashed rgba(160, 1, 34, 0.35);
  font-size: var(--font-small);
}

/* Honeypot. Off-screen rather than display:none — some bots skip hidden
   fields, and this stays invisible to sighted users either way. aria-hidden
   plus tabindex="-1" keeps it out of the screen-reader and tab order. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Inline result banner, only shown once JS reports back. */
.form__result {
  padding: var(--space-4);
  border-radius: 10px;
  font-size: var(--font-small);
  font-weight: 700;
}
.form__result--ok {
  background: rgba(78, 11, 96, 0.08);
  border: 1px solid rgba(78, 11, 96, 0.35);
  color: var(--vlg-purple);
}
.form__result--err {
  background: rgba(160, 1, 34, 0.08);
  border: 1px solid rgba(160, 1, 34, 0.40);
  color: var(--vlg-crimson);
}

/* --- split (form + details) ------------------------------------------------ */
.split {
  display: grid;
  gap: var(--space-12);
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}
@media (min-width: 900px) { .split { grid-template-columns: 1.25fr 0.75fr; gap: var(--space-16); } }

.deets { display: grid; gap: var(--space-6); align-content: start; }
.deet { display: grid; gap: var(--space-1); }
.deet__label {
  font-size: var(--font-micro);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--vlg-crimson);
}
.deet a { font-weight: 700; text-decoration: none; border-bottom: 2px solid currentColor; width: fit-content; }
.deet a:hover { opacity: 0.7; }
.deet address { font-style: normal; line-height: var(--leading-body); }

/* --- faq ------------------------------------------------------------------- */
/* Left-aligned to the page container (not centred) so it lines up with the
   form and section heading above it; the rows themselves stay reading-width. */
.faq {
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
  display: grid;
  gap: var(--space-3);
  justify-items: start;
}
.faq details { width: 100%; max-width: 76ch; }
.faq details {
  background: var(--color-surface);
  border: 1px solid rgba(27, 11, 37, 0.10);
  border-radius: 14px;
  overflow: hidden;
}
.faq summary {
  padding: var(--space-5);
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--vlg-crimson); font-size: 1.25rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:focus-visible { outline: 3px solid var(--color-focus); outline-offset: -3px; }
.faq__body { padding: 0 var(--space-5) var(--space-5); }

/* --- cta band -------------------------------------------------------------- */
.cta {
  max-width: var(--page-max);
  margin: var(--space-20) auto 0;
  padding-inline: var(--page-gutter);
}
.cta__inner {
  padding: var(--space-12);
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, var(--vlg-purple) 0%, var(--vlg-crimson) 100%);
  color: #fff;
  text-align: center;
}
.cta__inner h2 { font-size: var(--font-h2); margin-bottom: var(--space-4); }
.cta__inner p { max-width: 52ch; margin: 0 auto var(--space-8); opacity: 0.92; }
.cta .btn { border-color: #fff; color: #fff; }
.cta .btn:hover { background: #fff; color: var(--vlg-purple); }

/* --- section heading ------------------------------------------------------ */
.section {
  padding-block: var(--space-20);
}
/* For a short lead paragraph that shouldn't float in 160px of vertical air. */
.section--tight { padding-block: var(--space-12) var(--space-8); }
.section__head {
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
  margin-bottom: var(--space-10);
}
/* Aligns a section heading with .record / .prose instead of the wide page
   container, so text-column pages don't jump between two left edges. */
.section__head--narrow { max-width: 76ch; }
.facts--narrow { max-width: 76ch; }
.section__title { font-size: var(--font-h2); max-width: 20ch; }
.section__intro {
  margin-top: var(--space-4);
  max-width: 58ch;
  color: var(--color-text-muted);
  font-size: var(--font-lead);
}

/* --- card ----------------------------------------------------------------
   One component. Variants override local custom properties ONLY — they never
   touch structure. Any card becomes a photo card by adding .card--photo. */
.card {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 260px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--card-bg, var(--color-surface));
  color: var(--card-fg, var(--color-text));
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--motion-fast), transform var(--motion-fast);
}
.card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Content stays in NORMAL FLOW so the card grows to fit it. An absolutely
   positioned inner would contribute zero height, and grid-auto-rows' `auto`
   would have nothing to measure — long copy then overflows and clips. */
.card__inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--space-3);
  width: 100%;
  padding: var(--space-6);
  padding-right: calc(var(--space-6) + 64px);   /* text never runs under the arrow */
}
/* Stretched-link variant: for cards whose content must stay in normal flow
   (so screen readers read it in order) while the whole card remains one hit
   target. The link sits inline; its ::after covers the card. */
.card__stretch {
  text-decoration: none;
  color: inherit;
}
.card__stretch::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
}
.card__stretch:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: 4px;
}
.card__eyebrow {
  font-size: var(--font-micro);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  opacity: 0.75;
}
.card__title {
  font-size: var(--font-card-title);
  font-weight: var(--weight-heading);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
}
.card__body {
  font-size: var(--font-body);
  line-height: var(--leading-body);
  max-width: 46ch;
  opacity: 0.92;
}
.card__arrow {
  position: absolute;
  right: var(--space-6);
  bottom: var(--space-6);
  z-index: 4;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  background: var(--arrow-bg, #fff);
  color: var(--arrow-fg, var(--vlg-ink));
  transition: transform var(--motion-fast);
}
.card:hover { box-shadow: var(--shadow-card-hover); }
.card:hover .card__arrow { transform: translate(3px, -3px); }

/* variants */
.card--gradient {
  --card-bg: linear-gradient(135deg, var(--vlg-purple) 0%, var(--vlg-crimson) 100%);
  --card-fg: #fff;
  --arrow-bg: #fff;
  --arrow-fg: var(--vlg-purple);
}
.card--color {
  --card-bg: var(--vlg-cream);
  --card-fg: var(--vlg-ink);
  --arrow-bg: var(--vlg-ink);
  --arrow-fg: var(--vlg-gold);
}
.card--ink {
  --card-bg: var(--vlg-ink);
  --card-fg: #fff;
  --arrow-bg: var(--vlg-gold);
  --arrow-fg: var(--vlg-ink);
}
.card--crimson {
  --card-bg: var(--vlg-crimson);
  --card-fg: #fff;
  --arrow-bg: #fff;
  --arrow-fg: var(--vlg-crimson);
}
.card--type {
  --card-bg: var(--color-surface);
  --card-fg: var(--vlg-ink);
  --arrow-bg: var(--vlg-crimson);
  --arrow-fg: #fff;
  border: 1px solid rgba(27, 11, 37, 0.10);
}
.card--logo {
  --card-bg: var(--color-surface);
  border: 1px solid rgba(27, 11, 37, 0.10);
}
.card--photo {
  --card-bg: var(--vlg-ink);   /* shows through while the image loads */
  --card-fg: #fff;
  --arrow-bg: #fff;
  --arrow-fg: var(--vlg-ink);
}
/* Holds his face in frame as the card's aspect changes across breakpoints —
   `cover` would otherwise centre-crop a 3:4 portrait to the head/chest. */
.card--photo .card__media { object-position: center 22%; }
.card--photo::before {          /* the mandatory AA fix */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--scrim-photo);
}

/* --- books ---------------------------------------------------------------- */
.books {
  display: grid;
  gap: var(--bento-gap);
  grid-template-columns: 1fr;
  max-width: 76ch;
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}
@media (min-width: 640px) { .books { grid-template-columns: repeat(2, 1fr); } }

.book {
  position: relative;
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: var(--space-5);
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px solid rgba(27, 11, 37, 0.10);
  border-radius: var(--radius-card);
  transition: box-shadow var(--motion-fast), transform var(--motion-fast);
}
.book:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.book__cover {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(27, 11, 37, 0.22);
}
.book__body { display: flex; flex-direction: column; gap: var(--space-2); }
.book__title { font-size: 1.125rem; font-weight: 700; line-height: var(--leading-snug); }
.book__title a { text-decoration: none; }
.book__title a::after { content: ""; position: absolute; inset: 0; }  /* whole card = one target */
.book__title a:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.book__sub { font-size: var(--font-small); color: var(--color-text-muted); line-height: var(--leading-snug); }
.book__meta { margin-top: auto; padding-top: var(--space-3); font-size: var(--font-micro); color: var(--vlg-crimson); font-weight: 700; }

/* --- media card ----------------------------------------------------------
   Photo above, copy below. Use this rather than .card--photo when the copy is
   too long to sit legibly over the image — a scrim big enough to carry a full
   paragraph would swallow the photograph. */
.card--media { flex-direction: column; }
.card__pic {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 100%;
  height: auto;                  /* the height="" attribute would otherwise win and defeat aspect-ratio */
  aspect-ratio: 4 / 3;           /* taller than 3:2 — the picture reads larger at the same card width */
  object-fit: cover;
  object-position: center 30%;   /* holds both faces when the crop tightens */
}
.card--media .card__inner { padding-right: var(--space-6); }

/* Subject centred, both sides dissolving into the card's own background. The
   right ramp starts earlier and runs harder because it has a second person to
   clear (his face sits at ~76–98% of the frame); the left is pure vignette.
   Stops are tuned to this crop — the subject's face spans ~40–62% — so
   re-tune them if the crop changes. */
.card__pic--fade {
  object-position: center center;
  -webkit-mask-image: linear-gradient(to right,
    transparent 0%, #000 14%, #000 64%, rgba(0,0,0,0.12) 72%, transparent 84%);
          mask-image: linear-gradient(to right,
    transparent 0%, #000 14%, #000 64%, rgba(0,0,0,0.12) 72%, transparent 84%);
}

/* --- timeline card (the bio) ---------------------------------------------
   A 34-year ordination record set as pure typography. This is the card that
   proves the page is intentional rather than photo-starved. */
.timeline {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: var(--space-6);
  padding-right: calc(var(--space-6) + 64px);
}
.timeline__years {
  /* Weight 200 — Manrope only. Poppins has no cut below 400. */
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 2.7vw, 3.25rem);
  font-weight: 200;
  letter-spacing: var(--tracking-tight);
  line-height: 1;
  color: var(--vlg-crimson);
}
.timeline__title { margin-top: var(--space-2); font-size: var(--font-card-title); }
.timeline__list {
  margin: var(--space-6) 0 0;
  padding: 0 0 0 var(--space-5);
  list-style: none;
  border-left: 2px solid rgba(160, 1, 34, 0.25);
  display: grid;
  gap: var(--space-3);
}
.timeline__list li { position: relative; font-size: var(--font-small); }
.timeline__list li::before {
  content: "";
  position: absolute;
  left: calc(var(--space-5) * -1 - 5px);
  top: 0.55em;
  width: 8px; height: 8px;
  border-radius: var(--radius-pill);
  background: var(--vlg-crimson);
}
.timeline__list b {
  display: block;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.timeline__list span { color: var(--color-text-muted); }
.timeline__more {
  margin-top: auto;
  padding-top: var(--space-6);
  font-weight: 700;
  font-size: var(--font-small);
  color: var(--vlg-crimson);
}

/* --- book card -----------------------------------------------------------
   The cover stands on the card's bottom edge like a book on a shelf, rather
   than bleeding as a --photo card. It is poster art: the title, the subtitle
   and the author are already set into the image, so cropping it to fill the
   card would cut them off, and printing the card's own <h3> over it would say
   the title twice.

   It sits LEFT on purpose — .card__arrow is anchored bottom-right on every
   card, and a cover on the right would collide with it. */
/* NOT .book__cover — that class already belongs to the About page's books list
   (a 104px/1fr grid), and this rule sits later in the file, so it won this
   cascade and yanked those covers out of the grid with position:absolute,
   dropping them straight on top of their own blurbs. This lives inside a
   .card, so it takes the card's namespace alongside card__media / card__inner
   / card__arrow. */
.card__cover {
  position: absolute;
  left: var(--space-6);
  bottom: 0;
  z-index: 2;
  width: var(--cover-w, 118px);
  height: auto;
  border-radius: 3px 3px 0 0;
  /* Grounds it against the crimson; without this the cover reads as pasted on. */
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.42);
}
/* Copy across the top, cover standing underneath it — one layout at every
   width, deliberately. Setting the copy beside the cover is tempting at first
   glance but there is never room: this card is at its widest (408px) on a
   1440 screen, and subtracting the cover and the arrow's clearance leaves the
   copy ~160px. It is worse in the middle of the range, not better — 3 columns
   at 1024 make the cell 309px and 2 columns at 768 make it 348, both narrower
   than the 342 it gets on a phone. A viewport media query is the wrong axis
   here; the card's width doesn't track the viewport at all. */
.card--book .card__inner {
  justify-content: flex-start;
  /* 1.5 = the cover's 400x600 aspect, so this tracks --cover-w if it changes. */
  padding-bottom: calc(var(--cover-w, 118px) * 1.5 + var(--space-5));
}

/* --- schedule card -------------------------------------------------------- */
.schedule__list {
  margin: var(--space-5) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-3);
}
.schedule__list li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: var(--space-3);
  font-size: var(--font-small);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.schedule__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.schedule__when {
  font-weight: 700;
  color: var(--vlg-gold);
  font-variant-numeric: tabular-nums;
}

/* --- affiliations card ---------------------------------------------------- */
.affil {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: var(--space-6);
}
.affil__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-5);
}
.affil__item {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4);
  border: 1px solid rgba(27, 11, 37, 0.10);
  border-radius: 14px;
  text-decoration: none;
  transition: border-color var(--motion-fast), transform var(--motion-fast);
}
.affil__item:hover {
  border-color: var(--vlg-crimson);
  transform: translateY(-2px);
}
.affil__item img {
  width: 100%;
  height: 92px;
  object-fit: contain;
  border-radius: 8px;
}
.affil__name {
  font-size: var(--font-small);
  font-weight: 700;
  line-height: var(--leading-snug);
}
.affil__ext {
  font-size: var(--font-micro);
  color: var(--vlg-crimson);
  font-weight: 700;
}

/* --- contact card --------------------------------------------------------- */
.contact__rows {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.contact__rows a {
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  width: fit-content;
}
.contact__rows a:hover { opacity: 0.75; }

/* --- bento ---------------------------------------------------------------
   Explicit grid-template-areas, NOT grid-auto-flow: dense.
   Dense reorders cards visually away from DOM order, which breaks WCAG 1.3.2
   (Meaningful Sequence) and 2.4.3 (Focus Order) — keyboard users would tab in
   a scrambled order. Dense is for unknown-length feeds; we have 8 known
   editorial cards. The compositions below are arranged so first-appearance
   order == DOM order at every breakpoint, so visual order and tab order agree.
   grid-auto-rows uses `auto` as the max so text can grow and never clips at
   200% zoom. */
.bento {
  display: grid;
  gap: var(--bento-gap);
  grid-auto-rows: minmax(150px, auto);
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
  grid-template-columns: 1fr;      /* mobile: single column, pure DOM order */
}
.bento > * { grid-area: auto; }

@media (min-width: 768px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "mission  bio"
      "vision   bio"
      "book     schedule"
      "worship  contact"
      "affil    affil";
  }
  /* DOM order is mission > bio > vision > book > schedule > worship >
     contact > affil, and the areas above reproduce exactly that reading
     order. Verified at 768 and 1024; do not reorder one without the other. */
  .card--mission  { grid-area: mission; }
  .card--bio      { grid-area: bio; }
  .card--vision   { grid-area: vision; }
  .card--book     { grid-area: book; }
  .card--schedule { grid-area: schedule; }
  .card--worship  { grid-area: worship; }
  .card--affil    { grid-area: affil; }
  .card--contact  { grid-area: contact; }
}

@media (min-width: 1024px) {
  .bento {
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas:
      "mission   bio    vision"
      "mission   bio    book"
      "schedule  bio    worship"
      "contact   affil  affil";
  }
}

/* --- footer --------------------------------------------------------------- */
.footer {
  margin-top: var(--space-20);
  padding-block: var(--space-16) var(--space-8);
  background: var(--color-footer-bg);
  color: #fff;
}
.footer__grid {
  display: grid;
  gap: var(--space-10);
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); }
.footer__mark { width: 64px; height: auto; border-radius: 6px; }
.footer h2 {
  font-size: var(--font-micro);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--vlg-gold-antique);
  margin-bottom: var(--space-4);
}
.footer ul { list-style: none; padding: 0; display: grid; gap: var(--space-2); }
.footer a { color: var(--color-footer-link); text-decoration: none; font-size: var(--font-small); }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer address { font-style: normal; font-size: var(--font-small); opacity: 0.85; line-height: var(--leading-body); }
.footer__social { display: flex; gap: var(--space-3); }
.footer__social a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  color: #fff;
}
.footer__social a:hover { background: var(--vlg-crimson); border-color: var(--vlg-crimson); }
.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2) var(--space-6);
  max-width: var(--page-max);
  margin: var(--space-12) auto 0;
  padding: var(--space-6) var(--page-gutter) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: var(--font-micro);
  opacity: 0.7;
}
.footer__built a {
  color: var(--color-footer-link);
  text-decoration: none;
  font-size: inherit;
  border-bottom: 1px solid rgba(222, 189, 84, 0.45);
}
.footer__built a:hover { color: #fff; border-bottom-color: #fff; }

/* --- scroll reveal --------------------------------------------------------
   Everything here is gated behind .js-reveal, which reveal.js puts on <html>
   ONLY when it has an IntersectionObserver to un-hide with and the visitor has
   not asked for reduced motion. Without that class not one rule below matches,
   so no-JS, old-browser, and reduce-motion visitors get the finished page with
   nothing hidden. Hiding content in a stylesheet that cannot guarantee it will
   be shown again is how a page ends up permanently blank.

   Only opacity and transform animate — both composited, neither triggers
   layout. */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
}
.js-reveal [data-reveal].is-in {
  opacity: 1;
  transform: none;
  /* Two things this has to get right:
     1. box-shadow is re-listed on purpose. This selector outranks .card, so the
        shorthand here replaces .card's own transition — and .card:hover fades
        its shadow in. Omit it and the hover shadow snaps once a card reveals.
     2. The stagger delay is per-property, not a blanket transition-delay. A
        blanket delay also lands on box-shadow, so the last card's hover would
        sit there for --reveal-i x --stagger-step (490ms at i=7) before the
        shadow appeared. Only the reveal itself is staggered; hover is not. */
  transition:
    opacity   var(--dur-reveal) var(--ease-out) calc(var(--reveal-i, 0) * var(--stagger-step)),
    transform var(--dur-reveal) var(--ease-out) calc(var(--reveal-i, 0) * var(--stagger-step)),
    box-shadow var(--motion-fast) 0s;
}

/* --- timeline: walk the years -------------------------------------------
   The list already draws a static 25%-crimson rule down its left edge; that
   stays as the unrun track. This overlays it at full strength and scales from
   the top, so the line draws downward while each year lands in turn — the eye
   follows it from 1988 to 2026 instead of the whole card appearing at once. */
.timeline__list { position: relative; }
.timeline__list::before {
  content: "";
  position: absolute;
  left: -2px;           /* exactly over the 2px border-left it is filling in */
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--vlg-crimson);
  transform-origin: top center;
}
.js-reveal .timeline__list::before { transform: scaleY(0); }
.js-reveal .card--bio.is-in .timeline__list::before {
  transform: scaleY(1);
  /* Linear, not eased: the line is a playhead. Easing it makes the dots at the
     bottom land out of sync with it. */
  transition: transform var(--dur-timeline) linear;
}

.js-reveal .timeline__list li {
  opacity: 0;
  transform: translateY(6px);
}
.js-reveal .card--bio.is-in .timeline__list li {
  opacity: 1;
  transform: none;
  transition: opacity var(--dur-reveal) var(--ease-out),
              transform var(--dur-reveal) var(--ease-out);
  transition-delay: calc(var(--year-i, 0) * var(--year-step));
}
/* The dot lands with the year: dim on the track, full crimson once reached. */
.js-reveal .timeline__list li::before {
  background: rgba(160, 1, 34, 0.25);
  transform: scale(0.6);
}
.js-reveal .card--bio.is-in .timeline__list li::before {
  background: var(--vlg-crimson);
  transform: none;
  transition: background var(--motion-fast), transform var(--motion-fast);
  transition-delay: calc(var(--year-i, 0) * var(--year-step));
}

/* --- motion --------------------------------------------------------------- */
@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.js already declines to add .js-reveal under reduce, so these rules
     are unreachable in practice. They are here so that a stale .js-reveal —
     cached HTML, or someone setting the class by hand — still cannot leave the
     page hidden or mid-draw. */
  .js-reveal [data-reveal],
  .js-reveal .timeline__list li {
    opacity: 1 !important;
    transform: none !important;
  }
  .js-reveal .timeline__list::before { transform: scaleY(1) !important; }
  .js-reveal .timeline__list li::before {
    background: var(--vlg-crimson) !important;
    transform: none !important;
  }
}
