/* ==========================================================================
   Romero House — Regis University
   Palette: Regis navy + gold, warmed with a memorial clay and parchment ground
   ========================================================================== */

:root {
  /* Core brand */
  --navy:        #0a2240; /* Regis primary — PMS 289C */
  --navy-800:    #123058;
  --navy-600:    #1d456f;
  --gold:        #ffce00; /* Regis secondary — PMS 116C */
  --gold-deep:   #c69200;

  /* Memorial accents */
  --clay:        #a63a2e; /* the brochure's crimson rule, Salvadoran earth */
  --clay-soft:   #c85a45;

  /* Ground */
  --parchment:   #f7f3ec;
  --parchment-2: #efe8dc;
  --paper:       #fffdf9;
  --ink:         #1a1d21;
  --ink-soft:    #4a5058;
  --rule:        rgba(10, 34, 64, 0.14);

  /* Type */
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Rhythm */
  --measure: 66ch;
  --shell: 1160px;
  --gap: clamp(1rem, 2.5vw, 2rem);
  --section-y: clamp(4.5rem, 10vw, 8.5rem);
  --radius: 3px;

  --shadow-sm: 0 1px 2px rgba(10, 34, 64, .06), 0 4px 12px rgba(10, 34, 64, .05);
  --shadow-md: 0 2px 4px rgba(10, 34, 64, .07), 0 12px 32px rgba(10, 34, 64, .09);
}

/* --------------------------------------------------------------- reset --- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--navy-600); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--clay); }

:focus-visible {
  outline: 3px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------------------------------------------------------------- type --- */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.012em;
  color: var(--navy);
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.75rem, 7vw, 5rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.15rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p { margin: 0 0 1.15em; max-width: var(--measure); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 650;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--clay);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
  max-width: 5rem;
}

.lede {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  line-height: 1.5;
  color: var(--navy-800);
}

/* -------------------------------------------------------------- layout --- */

.shell {
  width: min(100% - 2.5rem, var(--shell));
  margin-inline: auto;
}

section { padding-block: var(--section-y); }

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.skip-link {
  position: absolute;
  left: 1rem; top: -100%;
  z-index: 200;
  background: var(--navy);
  color: var(--paper);
  padding: .7rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: top .18s ease;
}
.skip-link:focus { top: 1rem; color: var(--paper); }

/* ----------------------------------------------------------- site nav --- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 236, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.masthead.is-stuck {
  border-bottom-color: var(--rule);
  box-shadow: var(--shadow-sm);
}

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.75rem;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  color: var(--navy);
}
.wordmark__mark {
  width: 2.4rem; height: 2.4rem;
  flex: none;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.wordmark__text { line-height: 1.15; }
.wordmark__name {
  display: block;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 650;
}
.wordmark__sub {
  display: block;
  font-size: .66rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.9rem); }
.nav a {
  font-size: .875rem;
  font-weight: 550;
  color: var(--navy-800);
  text-decoration: none;
  padding-block: .3rem;
  border-bottom: 2px solid transparent;
  transition: border-color .18s ease, color .18s ease;
}
.nav a:hover, .nav a.is-active {
  color: var(--clay);
  border-bottom-color: var(--clay);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: .55rem .8rem;
  cursor: pointer;
  color: var(--navy);
  font: inherit;
  font-size: .8rem;
  font-weight: 600;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    inset: 100% 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-block: 1px solid var(--rule);
    padding: .5rem 1.25rem 1.25rem;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding-block: .85rem;
    border-bottom: 1px solid var(--rule);
    font-size: 1rem;
  }
  .nav a:last-child { border-bottom: none; }
}

/* --------------------------------------------------------------- hero --- */

.hero {
  position: relative;
  padding-block: clamp(5rem, 13vw, 9.5rem) clamp(4rem, 9vw, 7rem);
  background:
    radial-gradient(120% 90% at 82% 0%, rgba(166, 58, 46, .12) 0%, transparent 58%),
    radial-gradient(90% 80% at 0% 100%, rgba(10, 34, 64, .10) 0%, transparent 60%),
    var(--parchment);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy) 0 34%, var(--clay) 34% 67%, var(--gold) 67% 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
}

.hero h1 { margin-bottom: .35em; }
.hero h1 .accent { color: var(--clay); font-style: italic; }

.hero__sub {
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--ink-soft);
  margin-bottom: 1.75rem;
}

.hero__pillars {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 2rem 0 2.25rem;
  padding: 0;
  list-style: none;
  max-width: var(--measure);
}
.hero__pillars li {
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--navy-800);
  background: rgba(255, 253, 249, .75);
  border: 1px solid var(--rule);
  border-radius: 100px;
  padding: .4rem .95rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; }

/* the ¡Presente! crosses panel */
.hero__panel {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-md);
}
.hero__panel::before {
  content: "";
  position: absolute;
  inset: .55rem;
  border: 1px solid var(--clay);
  opacity: .55;
  pointer-events: none;
}
.hero__panel figcaption {
  margin-top: 1.25rem;
  text-align: center;
  font-size: .8rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.hero__panel figcaption strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--navy);
  letter-spacing: .02em;
}

/* -------------------------------------------------------------- button --- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--sans);
  font-size: .875rem;
  font-weight: 620;
  letter-spacing: .01em;
  padding: .85rem 1.6rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--navy);
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.btn--primary {
  background: var(--navy);
  color: var(--paper);
}
.btn--primary:hover {
  background: var(--navy-800);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover {
  background: var(--navy);
  color: var(--paper);
  transform: translateY(-2px);
}
.btn__arrow { transition: transform .18s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ------------------------------------------------------------- surfaces --- */

.band--paper { background: var(--paper); border-block: 1px solid var(--rule); }
.band--navy {
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(255, 206, 0, .09) 0%, transparent 55%),
    var(--navy);
  color: rgba(255, 253, 249, .84);
}
.band--navy h2, .band--navy h3 { color: var(--paper); }
.band--navy .eyebrow { color: var(--gold); }
.band--navy .eyebrow::after { background: rgba(255, 253, 249, .22); }
.band--navy a { color: var(--gold); }

/* --------------------------------------------------------------- about --- */

.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

.split__aside {
  position: sticky;
  top: 7rem;
}
@media (max-width: 880px) { .split__aside { position: static; } }

.factlist {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.factlist li {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1rem;
  padding: .95rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: .95rem;
}
.factlist dt, .factlist .k {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--ink-soft);
  padding-top: .28rem;
}
@media (max-width: 520px) {
  .factlist li { grid-template-columns: 1fr; gap: .2rem; }
}

/* ------------------------------------------------------------- pillars --- */

/* Eight cards. 8 divides evenly by 4, 2 and 1, so every breakpoint fills its
   last row — an odd column count would leave dead cells showing the rule colour. */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (max-width: 1080px) {
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .pillars { grid-template-columns: minmax(0, 1fr); }
}
.pillar {
  --pillar-pad: clamp(1.6rem, 3vw, 2.25rem);
  background: var(--paper);
  padding: var(--pillar-pad);
  transition: background .2s ease, transform .2s ease;
}
.pillar:hover { background: var(--parchment-2); }

/* illustration bleeds to the card edges */
.pillar__img {
  display: block;
  width: calc(100% + (2 * var(--pillar-pad)));
  max-width: none; /* override the global img reset, or the bleed is clamped */
  margin: calc(-1 * var(--pillar-pad)) calc(-1 * var(--pillar-pad)) var(--pillar-pad);
  height: 9.5rem;
  object-fit: contain; /* never crop the drawing — letterbox it on the parchment */
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--rule);
  background: var(--parchment);
  transition: filter .25s ease;
}
.pillar:hover .pillar__img { filter: saturate(1.15) contrast(1.04); }

.pillar__num {
  font-family: var(--serif);
  font-size: .95rem;
  font-weight: 700;
  color: var(--clay);
  letter-spacing: .1em;
  display: block;
  margin-bottom: .9rem;
}
.pillar h3 { margin-bottom: .45em; }
.pillar p { font-size: .95rem; color: var(--ink-soft); margin: 0; }

/* -------------------------------------------------------------- romero --- */

.quote {
  border-left: 3px solid var(--gold);
  padding-left: clamp(1.25rem, 3vw, 2.25rem);
  margin: 0;
  max-width: 54ch;
}
.quote p {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  line-height: 1.42;
  font-style: italic;
}
.quote footer {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: .78;
  margin-top: 1.25rem;
}

/* ------------------------------------------------------------- martyrs --- */

.memorial {
  background:
    radial-gradient(100% 80% at 50% 0%, rgba(166, 58, 46, .07) 0%, transparent 60%),
    var(--parchment-2);
  border-block: 1px solid var(--rule);
}

.memorial__head { text-align: center; max-width: 62ch; margin-inline: auto; }
.memorial__head .eyebrow { justify-content: center; }
.memorial__head .eyebrow::after { display: none; }
.memorial__head p { margin-inline: auto; }

.datestamp {
  display: inline-flex;
  align-items: baseline;
  gap: .7rem;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--clay);
  border-block: 1px solid rgba(166, 58, 46, .3);
  padding: .6rem 0;
  margin: 1.75rem 0 2rem;
  letter-spacing: .06em;
}

/* the eight */
.martyrs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  list-style: none;
  padding: 0;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
}

.martyr {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--navy);
  padding: 1.6rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.martyr:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.martyr--lay { border-top-color: var(--clay); }

.martyr__name {
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 650;
  color: var(--navy);
  margin: 0 0 .15rem;
  line-height: 1.2;
}
.martyr__sj {
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: .85rem;
}
.martyr__role {
  font-size: .93rem;
  color: var(--ink-soft);
  margin: 0 0 1.1rem;
  flex: 1;
}
.martyr__meta {
  display: flex;
  gap: 1.25rem;
  font-size: .76rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  border-top: 1px solid var(--rule);
  padding-top: .85rem;
}

.presente {
  text-align: center;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4.5vw, 2.9rem);
  font-style: italic;
  font-weight: 600;
  color: var(--clay);
  letter-spacing: .01em;
}
.presente span {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: .74rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  margin-top: .75rem;
}

/* ---------------------------------------------------------- figures --- */

figure { margin: 0; }

.fig img {
  width: 100%;
  height: auto;
  background: var(--parchment-2);
  border: 1px solid var(--rule);
}
.fig figcaption {
  font-size: .82rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-top: .85rem;
  max-width: 46ch;
}
.fig figcaption b {
  color: var(--navy);
  font-weight: 620;
}
.fig .credit {
  display: block;
  margin-top: .4rem;
  font-size: .72rem;
  opacity: .72;
}
.band--navy .fig figcaption { color: rgba(255, 253, 249, .72); }
.band--navy .fig figcaption b { color: var(--paper); }

/* Portrait pair inside the memorial narrative.
   The two photographs have different aspect ratios, so match them on HEIGHT and
   let the widths differ — cropping to a common ratio would cut the child out of
   the López y López photograph, which is the whole point of it. */
.portrait-pair {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  max-width: 70ch;
}
.portrait-pair .fig { flex: 0 1 auto; max-width: 100%; }
.portrait-pair .fig img {
  height: clamp(12rem, 26vw, 17rem);
  width: auto;
  max-width: 100%;
  filter: saturate(.9);
  box-shadow: var(--shadow-sm);
}
.portrait-pair .fig figcaption { max-width: 34ch; }

/* the wide banner photograph */
.banner-figure {
  margin: clamp(3rem, 6vw, 4.5rem) 0 0;
}
.banner-figure img {
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-md);
}
.banner-figure figcaption {
  max-width: 74ch;
  margin: 1.15rem auto 0;
  text-align: center;
  font-size: .87rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.banner-figure figcaption b { color: var(--navy); font-weight: 620; }
.banner-figure .credit {
  display: block;
  margin-top: .5rem;
  font-size: .72rem;
  opacity: .72;
}

/* three-up relic / place strip */
.relics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.relics .fig img { aspect-ratio: 4 / 3; object-fit: cover; }
.relics .fig:first-child img { object-position: center 32%; }

/* Romero portrait */
.romero-portrait {
  max-width: 22rem;
  margin-bottom: 2rem;
}
.romero-portrait img {
  border: 1px solid rgba(255, 253, 249, .25);
  box-shadow: var(--shadow-md);
}

/* aftermath timeline */
.timeline {
  list-style: none;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-left: 2px solid rgba(255, 253, 249, .22);
}
.timeline li {
  position: relative;
  padding: 0 0 2rem 2rem;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -6px; top: .55rem;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
}
.timeline__year {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 650;
  color: var(--gold);
  display: block;
  line-height: 1.3;
}
.timeline p { font-size: .95rem; margin: .3rem 0 0; }

/* --------------------------------------------------------------- house --- */

.commitments {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1px;
  background: var(--rule);
  border-block: 1px solid var(--rule);
}
.commitments li {
  background: var(--paper);
  padding: 1.15rem 1.25rem 1.15rem 3.25rem;
  position: relative;
  font-size: .98rem;
}
.commitments li::before {
  content: "✝";
  position: absolute;
  left: 1.25rem; top: 1.1rem;
  color: var(--clay);
  font-size: .95rem;
}

/* --------------------------------------------------------------- apply --- */

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 650;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .6rem;
}
.steps h3 { color: var(--paper); font-size: 1.15rem; }
.steps p { font-size: .93rem; margin: 0; }

.cta {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(255, 253, 249, .2);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.cta .btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.cta .btn--gold:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--navy);
  transform: translateY(-2px);
}

/* -------------------------------------------------------------- footer --- */

.site-footer {
  background: var(--parchment-2);
  border-top: 4px solid var(--navy);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: .9rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
}
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__grid h4 {
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.footer__links { list-style: none; padding: 0; margin: 0; }
.footer__links li { margin-bottom: .55rem; }
.footer__links a { text-decoration: none; color: var(--navy-800); }
.footer__links a:hover { color: var(--clay); text-decoration: underline; }

.colophon {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: .8rem;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------- reveal --- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.2, .7, .3, 1), transform .7s cubic-bezier(.2, .7, .3, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .masthead, .nav-toggle, .hero__actions, .cta { display: none; }
  body { background: #fff; }
  .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------- history --- */

/* shared sub-heading rule inside a long section */
.subhead {
  margin: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(1.75rem, 3vw, 2.5rem);
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid var(--rule);
}
.subhead .eyebrow { margin-bottom: .55rem; }
.subhead h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 .35em; }
.subhead p { color: var(--ink-soft); margin: 0; }

/* timeline on a light ground (the navy-band version is the default) */
.timeline--light { border-left-color: var(--rule); }
.timeline--light li::before { background: var(--clay); }
.timeline--light .timeline__year { color: var(--clay); }
.timeline--light p { color: var(--ink-soft); }

/* McManus's three components, set the way he numbered them */
.components {
  counter-reset: comp;
  list-style: none;
  margin: 1.9rem 0 0;
  padding: clamp(1.35rem, 3vw, 1.9rem) clamp(1.4rem, 3vw, 2rem);
  background: var(--parchment-2);
  border-left: 3px solid var(--gold);
  max-width: var(--measure);
}
.components li {
  counter-increment: comp;
  display: flex;
  gap: .85rem;
  padding: .3rem 0;
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  color: var(--navy);
}
.components li::before {
  content: counter(comp) "/";
  color: var(--clay);
  font-weight: 700;
  flex: none;
}

/* the founders */
.founders {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: clamp(1.25rem, 2.5vw, 1.9rem);
}
.founder {
  display: flex;
  flex-direction: column;
  background: var(--parchment);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--navy);
  padding: clamp(1.4rem, 2.5vw, 1.85rem);
}
.founder--lay { border-top-color: var(--clay); }
.founder__name {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 650;
  color: var(--navy);
  margin: 0 0 .1rem;
  line-height: 1.2;
}
.founder__role {
  font-size: .73rem;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clay);
  margin: 0 0 .95rem;
}
/* body copy only — a bare selector here out-specifies .founder__name / __role */
.founder > p:not([class]) { font-size: .93rem; color: var(--ink-soft); margin: 0; flex: 1; }
.founder__quote {
  margin: 1.2rem 0 0;
  padding-top: 1.15rem;
  border-top: 1px solid var(--rule);
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.45;
  font-style: italic;
  color: var(--navy-800);
}

/* alumni testimony */
.voices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr));
  gap: clamp(1.75rem, 3.5vw, 2.75rem);
}
.voice {
  border-left: 3px solid var(--clay);
  padding-left: clamp(1.1rem, 2vw, 1.75rem);
}
.voice__q {
  font-family: var(--serif);
  font-size: clamp(1.12rem, 1.8vw, 1.32rem);
  line-height: 1.5;
  font-style: italic;
  color: var(--navy-800);
  margin-bottom: 1rem;
}
.voice > p:not([class]) { font-size: .93rem; color: var(--ink-soft); }
.voice footer {
  margin-top: 1.1rem;
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--ink-soft);
}
.voice footer b { color: var(--navy); font-weight: 700; }
