/* ==========================================================================
   Campus Outreach North Florida — Styles
   Editorial direction: white + warm tint, hairline rules, no cards.
   Type: Outfit (headings) + Inter (body), per BRANDING.md.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand */
  --teal: #00a6a1;          /* Logo teal — rules, accents, dark-surface highlights */
  --teal-ink: #007f7b;      /* AA teal for text and hovers on paper */
  --slate: #383738;         /* Logo slate */

  /* Neutrals */
  --ink: #1b1b1d;
  --muted: #5f5b55;
  --muted-2: #8a857d;
  --paper: #fafafa;
  --paper-2: #f6f4ef;
  --teal-wash: #f0f7f6;     /* Light teal background for featured sections */
  --line: rgba(27, 27, 29, 0.14);
  --line-strong: rgba(27, 27, 29, 0.8);

  /* Dark surfaces */
  --deep: #10302f;          /* Deep sea green for interior calls-to-action */
  --on-dark: #f6f4ef;
  --on-dark-muted: rgba(246, 244, 239, 0.68);
  --line-dark: rgba(246, 244, 239, 0.18);

  /* Type */
  --font-display: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 10vw, 8.5rem);
  --header-h: 84px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
address { font-style: normal; }
::selection { background: var(--teal); color: #fff; }
:focus-visible { outline: 2px solid var(--teal-ink); outline-offset: 3px; }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.75rem, 6.4vw, 5.75rem); line-height: 1; }
h2 { font-size: clamp(2rem, 3.8vw, 3.25rem); }
h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.2; }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 900px; }

.section { padding-block: var(--section-y); }
.section--tint { background: var(--paper-2); }
.section--tint .photo { background: var(--paper); }
.section--teal { background: var(--teal-wash); }
.section--teal .photo { background: var(--paper); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--flush { padding-top: 0; }

/* 12-column editorial grid */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2rem clamp(1.5rem, 3vw, 3rem);
}
.span-4 { grid-column-end: span 4; }
.span-5 { grid-column-end: span 5; }
.span-6 { grid-column-end: span 6; }
.span-7 { grid-column-end: span 7; }
.span-8 { grid-column-end: span 8; }
.start-6 { grid-column-start: 6; }
.start-7 { grid-column-start: 7; }
.start-8 { grid-column-start: 8; }
.start-9 { grid-column-start: 9; }
.start-5 { grid-column-start: 5; }

/* ---------- 4. Type helpers ---------- */
.overline {
  display: block;
  margin: 0 0 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.section--dark .overline,
.cta .overline { color: var(--on-dark-muted); }

.label {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
}

.lead {
  max-width: 40em;
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  line-height: 1.65;
  color: var(--slate);
}

.statement {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 3vw, 2.5rem);
  line-height: 1.25;
  letter-spacing: -0.008em;
  text-wrap: pretty;
}

.muted { color: var(--muted); }

/* ---------- 5. Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 1em 1.75em;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font: 700 0.9375rem/1 var(--font-sans);
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}
.btn:hover { background: var(--teal-ink); border-color: var(--teal-ink); color: #fff; }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--teal); border-color: var(--teal); color: var(--ink); }
.btn--line-light { background: transparent; border-color: rgba(246, 244, 239, 0.45); color: var(--paper); }
.btn--line-light:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--sm { padding: 0.8em 1.4em; font-size: 0.875rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding-bottom: 0.2em;
  border-bottom: 1px solid currentColor;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}
.arrow-link::after { content: "→"; transition: transform 0.3s var(--ease); }
.arrow-link--out::after { content: "↗"; }
.arrow-link:hover { color: var(--teal-ink); }
.arrow-link:hover::after { transform: translateX(4px); }
.arrow-link--out:hover::after { transform: translate(2px, -2px); }
.section--dark .arrow-link:hover,
.cta .arrow-link:hover { color: var(--teal); }

.back-link {
  display: inline-flex;
  gap: 0.6em;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
}
.back-link::before { content: "←"; transition: transform 0.3s var(--ease); }
.back-link:hover { color: var(--ink); }
.back-link:hover::before { transform: translateX(-4px); }

.text-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.text-link:hover { color: var(--teal-ink); }

/* Big display contact links (email, phone) */
.big-link {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.6vw, 2.25rem);
  line-height: 1.2;
  text-decoration: none;
  overflow-wrap: break-word;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.4s var(--ease), color 0.2s;
}
.big-link:hover { background-size: 100% 1px; color: var(--teal-ink); }

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 250, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  color: var(--ink);
  transition: background-color 0.35s, box-shadow 0.35s;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }

/* Home: header floats over the pale sky of the hero photo */
.site-header--overlay { position: fixed; left: 0; right: 0; }
.site-header--overlay:not(.is-scrolled) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: var(--header-h);
}
.brand { flex: none; display: block; }
.brand img { width: auto; height: 46px; }
.brand__logo--reverse { display: none; }

.nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.2vw, 2.25rem); }
.nav__link {
  position: relative;
  padding-block: 0.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { margin-left: 0.5rem; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
  border: 0;
  background: none;
  color: inherit;
  font: 700 0.8125rem/1 var(--font-sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}
.menu-toggle .icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; }

/* Full-screen menu (mobile) */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: calc(var(--header-h) + 1.5rem) var(--gutter) 2.5rem;
  overflow-y: auto;
  background: var(--ink);
  color: var(--paper);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer__links { margin: 0; padding: 0; list-style: none; }
.drawer__links a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 9vw, 3rem);
  line-height: 1.15;
  text-decoration: none;
}
.drawer__links span { font: 700 0.75rem/1 var(--font-sans); letter-spacing: 0.16em; color: var(--teal); }
.drawer__links a[aria-current="page"] { color: var(--teal); }
.drawer__meta { display: grid; gap: 0.35rem; font-size: 0.9375rem; color: var(--on-dark-muted); }
.drawer__meta a { text-decoration: none; }

body.menu-open .site-header { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; color: var(--paper); }
body.menu-open .brand__logo--primary { display: none; }
body.menu-open .brand__logo--reverse { display: block; }

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .brand img { height: 40px; }
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (min-width: 961px) {
  .drawer { display: none; }
}

/* ---------- 7. Photos & placeholders ---------- */
/* Drop a file at the img src path and it shows; until then the figure
   falls back to a flat paper tone with its data-label / data-initials. */
.photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--paper-2);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.is-missing img { display: none; }
.photo.is-missing::after {
  content: attr(data-label);
  position: absolute;
  left: 1rem; right: 1rem; bottom: 0.9rem;
  font: 700 0.6875rem/1.4 var(--font-sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.photo[data-initials].is-missing::after {
  content: attr(data-initials);
  inset: 0;
  display: grid;
  place-items: center;
  font: 500 clamp(2.5rem, 4.5vw, 4rem)/1 var(--font-display);
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(27, 27, 29, 0.26);
}
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-3x2 { aspect-ratio: 3 / 2; }
.ratio-4x3 { aspect-ratio: 4 / 3; }

/* ---------- 8. Home hero ---------- */
/* object-position pins the photo's horizon (41.1% down the image) to 41.1% of the
   hero, however much cover-cropping happens, so the headline can be anchored to it. */
.hero {
  --horizon: 41.1%;
  position: relative;
  /* Follow the photo's own 3:2 shape so it shows uncropped; on narrow screens fall
     back to the full screen height (cropping the sides), and cap on huge monitors. */
  height: clamp(max(560px, min(100svh, 860px)), calc(100vw * 1589 / 2400), 1700px);
  overflow: hidden;
  background: #dfe7e6;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center var(--horizon); }
/* Intro: the photo eases in from a slight zoom, then the headline rises into place */
.hero__media img { transform-origin: center var(--horizon); animation: hero-settle 2.4s var(--ease) both; }
.hero h1 { animation: hero-rise 1.2s var(--ease) 0.5s both; }
@keyframes hero-settle {
  from { opacity: 0; transform: scale(1.08); }
  to { opacity: 1; transform: none; }
}
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
/* Vertically centered in the band of sky between the header and the horizon */
.hero__content {
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  height: calc(var(--horizon) - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
  color: var(--ink);
  text-align: center;
}
.hero h1 {
  margin: 0;
  /* scales with width, and with height on short screens so it stays in the sky */
  font-size: clamp(2.25rem, min(4.3vw + 1rem, 6.8svh), 4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

/* ---------- 9. Interior page head ---------- */
.page-head { padding-block: clamp(3.5rem, 8vw, 7rem) clamp(3rem, 6vw, 5rem); }
.page-head h1 { margin: 0; }
.page-head--statement h1 {
  max-width: 24ch;
  font-size: clamp(2.25rem, 4.4vw, 4rem);
  line-height: 1.1;
}
.page-head__foot {
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.page-head__foot--plain { padding-top: 0; border-top: 0; }
.page-head__foot .lead { grid-column: 1 / span 7; margin: 0; }
.page-head__aside { grid-column: 9 / -1; }

.anchor-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.anchor-list a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s, padding 0.3s var(--ease);
}
.anchor-list a::after { content: "↓"; color: var(--muted-2); }
.anchor-list a:hover { color: var(--teal-ink); padding-left: 0.35rem; }

/* ---------- 10. Home sections ---------- */
.intro__photos {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--gutter);
  align-items: end;
  margin-top: clamp(3.5rem, 8vw, 6.5rem);
}
.intro__photos .photo:first-child { aspect-ratio: 4 / 3; }
.intro__photos .photo:last-child { aspect-ratio: 4 / 5; }
.intro__cols { columns: 2; column-gap: clamp(1.5rem, 3vw, 3rem); color: var(--slate); margin-top: 2rem; }
.intro__cols p { break-inside: avoid; }

.paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem clamp(1.5rem, 3vw, 3rem);
}
.path { display: flex; flex-direction: column; }
.path .photo { aspect-ratio: 4 / 5; margin-bottom: 1.75rem; }
.path .label { display: flex; justify-content: space-between; margin-bottom: 0.9rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--line); }
.path h3 { margin-bottom: 0.6rem; }
.path p:not(.label) { margin-bottom: 0; color: var(--muted); }
.path .arrow-link { align-self: flex-start; margin-top: 1.25rem; }

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { max-width: 18ch; margin: 0; }
.section-head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; }
.section-head--split .lead { max-width: 30em; margin: 0; }

/* Campus rows */
.rows { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line-strong); }
.row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: clamp(1.75rem, 3.5vw, 2.5rem);
  border-top: 1px solid var(--line-strong);
}
.row__title { margin: 0.65rem 0 0; font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1.02; }

/* Regional vision, set apart below the campus list */
.vision { margin-top: clamp(4rem, 8vw, 6.5rem); align-items: end; }
.vision__title { margin: 0; font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1.02; }
.vision .lead { margin-bottom: 1.5rem; }

/* Who We Are & Where We Serve: statement + buttons left, compact place list right */
.who {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 3rem clamp(2.5rem, 7vw, 7rem);
  align-items: end;
}
.who__link { margin-top: 1.75rem; }
.rows--compact .row { padding-block: 1.25rem; }
.rows--compact .row__title { margin-top: 0.4rem; font-size: clamp(1.5rem, 2.2vw, 2rem); }

/* Photo call-to-action band */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}
.cta--deep { background: var(--deep); }
.cta > .photo { position: absolute; inset: 0; background: transparent; }
.cta > .photo img { opacity: 0.5; }
.cta > .photo.is-missing::after { display: none; }
.cta__inner { position: relative; padding-block: clamp(5.5rem, 13vw, 10rem); }
.cta h2 { max-width: 18ch; font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1; }
.cta p { max-width: 34em; margin-bottom: 2.25rem; color: var(--on-dark-muted); font-size: 1.125rem; }

/* ---------- 11. About ---------- */
.mission-band { padding-block: clamp(5rem, 12vw, 9.5rem); }
.mission-band blockquote { margin: 0; }
.mission-band blockquote p {
  max-width: 20ch;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 6vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
}

.numbered {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(2rem, 5vw, 5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.numbered > li { padding-block: 2.25rem 3rem; border-top: 1px solid var(--line-strong); }
.numbered__num {
  display: block;
  margin-bottom: 1.5rem;
  font: 600 1rem/1 var(--font-display);
  color: var(--teal-ink);
}
.numbered h3 { font-size: clamp(1.625rem, 2.6vw, 2.25rem); margin-bottom: 1rem; }
.numbered p { color: var(--slate); }
.scripture-ref { font-weight: 700; color: var(--ink); }
.scripture { font-style: italic; }

.church {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 2.5rem clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.church .photo { aspect-ratio: 4 / 5; }
.church__name { font-size: clamp(2.25rem, 4vw, 3.5rem); }

.pull-quote { margin: 0; }
.pull-quote blockquote { margin: 0; }
.pull-quote blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.4;
  text-wrap: pretty;
}
.pull-quote blockquote p::before { content: "“"; margin-left: -0.45em; color: var(--teal); }
.pull-quote figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.pull-quote cite { display: block; font-style: normal; font-weight: 700; }

/* ---------- 12. Team directory ---------- */
.team-hero { aspect-ratio: 16 / 9; margin-top: clamp(2rem, 4vw, 3.5rem); }
.team-hero img { object-position: 50% 30%; }

.team-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: 2rem clamp(2rem, 4vw, 4rem);
  padding-block: 1.5rem clamp(3.5rem, 7vw, 5.5rem);
  border-top: 1px solid var(--line-strong);
}
.team-group__head { position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; }
.team-group__head h2 { margin: 0 0 0.6rem; font-size: clamp(1.75rem, 2.6vw, 2.25rem); }

.people {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.75rem clamp(1rem, 2vw, 1.75rem);
}
.people--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.person { display: block; color: inherit; text-decoration: none; }
.person .label { display: block; }
.person .photo { aspect-ratio: 4 / 5; margin-bottom: 1.1rem; }
.person .photo img { transition: transform 0.9s var(--ease); }
.person:hover .photo img { transform: scale(1.04); }
.person__name {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.375rem;
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.person:hover .person__name,
.person:focus-visible .person__name { color: var(--teal-ink); text-decoration-color: currentColor; }
.section--dark .person:hover .person__name,
.section--dark .person:focus-visible .person__name { color: var(--teal); }
.person__cta {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.875rem;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.2s, color 0.2s;
}
.person:hover .person__cta { color: var(--teal-ink); border-color: currentColor; }

/* People on dark (Give page directory) */
.section--dark .person .photo { background: #29292b; }
.section--dark .photo[data-initials].is-missing::after { color: rgba(246, 244, 239, 0.28); }
.section--dark .person .label { color: var(--on-dark-muted); }
.section--dark .person:hover .person__cta { color: var(--teal); }
.section--dark .person__cta { border-color: var(--line-dark); }

/* ---------- 13. Staff profile ---------- */
.profile { padding-block: clamp(2rem, 4vw, 3rem) var(--section-y); }
.profile__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem 3rem;
  margin-block: clamp(1.5rem, 3vw, 2.5rem) clamp(2rem, 4vw, 3rem);
}
.profile__head h1 { max-width: 16ch; margin: 0; font-size: clamp(2.75rem, 6vw, 5.5rem); }
.profile__body {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr);
  grid-template-areas: "photo bio facts";
  gap: 2.5rem clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.profile__photo { grid-area: photo; aspect-ratio: 2 / 3; }
.profile__photo img { object-position: center 30%; }
.profile__bio { grid-area: bio; }
.profile-facts { grid-area: facts; }
.profile-facts { margin: 0; border-top: 1px solid var(--line-strong); }
.profile-facts > div { padding-block: 0.95rem; border-bottom: 1px solid var(--line); }
.profile-facts dt { margin-bottom: 0.3rem; }
.profile-facts dd { margin: 0; font-weight: 500; overflow-wrap: break-word; }
.profile__bio p { max-width: 38em; font-size: 1.125rem; color: var(--slate); }
.profile__bio strong { color: var(--ink); }
.placeholder-note { color: var(--muted-2); font-style: italic; }

.give-block { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem clamp(2.5rem, 6vw, 6rem); align-items: start; }
.give-block h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.check { margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.check h3 { font-size: 1.375rem; margin-bottom: 0.75rem; }
.check address {
  margin: 1rem 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.45;
}
.fine-print { font-size: 0.875rem; color: var(--muted); }

/* GiveButter embed + placeholder (remove placeholder once the widget ID is live) */
.givebutter { min-height: 100%; }
.gb-placeholder {
  display: grid;
  gap: 1rem;
  align-content: center;
  min-height: 360px;
  padding: clamp(1.75rem, 4vw, 3rem);
  border: 1px dashed rgba(27, 27, 29, 0.3);
  background: var(--paper);
}
.gb-placeholder p { margin: 0; color: var(--muted); max-width: 34em; }
.gb-placeholder strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: var(--ink); }
.gb-placeholder code {
  display: block;
  padding: 0.85rem 1rem;
  background: var(--paper-2);
  font-size: 0.8125rem;
  color: var(--slate);
  overflow-wrap: anywhere;
}

/* ---------- 14. Give page ---------- */
.fund { align-items: start; }
.fund h2 { margin: 0; }
.fund .lead { margin-bottom: 2rem; }
.integrity { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 5rem); }
.integrity > div { padding-top: 1.75rem; border-top: 1px solid var(--line-strong); }
.integrity h2 { font-size: clamp(1.75rem, 2.8vw, 2.5rem); }
.integrity address { margin: 1.25rem 0; font-family: var(--font-display); font-size: clamp(1.375rem, 2.2vw, 1.75rem); line-height: 1.35; }
.facts { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.facts li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.875rem; font-weight: 700; }
.facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

/* ---------- 15. Contact-style definition rows ---------- */
.info-rows { margin: 0; border-bottom: 1px solid var(--line); }
.info-row {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 0.75rem clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(1.75rem, 3.5vw, 2.75rem);
  border-top: 1px solid var(--line);
}
.info-row dt { padding-top: 0.6rem; }
.info-row dd { margin: 0; }
.info-row dd p { color: var(--slate); max-width: 38em; }
.info-row dd > * + * { margin-top: 1rem; }
.info-row address { font-family: var(--font-display); font-size: clamp(1.375rem, 2.4vw, 1.875rem); line-height: 1.3; }

/* Campus contacts (Get Involved) */
.contacts { margin: 0; padding: 0; list-style: none; }
.contacts li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.25rem 1.5rem;
  padding-block: 0.6rem;
}
.contacts li:first-child { padding-top: 0; }
.contacts strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; }
.contacts a { font-size: 0.9375rem; overflow-wrap: anywhere; }

/* Parents letter */
.letter p {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.4vw, 1.875rem);
  line-height: 1.45;
  text-wrap: pretty;
}
.letter__sign { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.letter__sign strong { display: block; }

/* ---------- 16. Footer ---------- */
.site-footer {
  padding-block: clamp(4rem, 8vw, 6.5rem) 2rem;
  background: var(--ink);
  color: var(--on-dark-muted);
  font-size: 0.9375rem;
}
.site-footer a { text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: var(--paper); }
.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2.5rem;
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--line-dark);
}
.footer__statement {
  max-width: 22ch;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  line-height: 1.1;
  color: var(--paper);
  text-wrap: balance;
}
.footer__top img { width: 210px; height: auto; }
.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem 2rem;
  padding-block: 3rem;
}
.footer__title { margin: 0 0 1.1rem; color: var(--paper); }
.footer__links { display: grid; gap: 0.45rem; margin: 0; padding: 0; list-style: none; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.8125rem;
}

/* ---------- 17. Motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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

/* ---------- 18. Responsive ---------- */
@media (max-width: 1024px) {
  .profile__body { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "photo facts" "photo bio"; }
  .people--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .grid-12 > * { grid-column: 1 / -1; }
  .page-head__foot .lead,
  .page-head__aside { grid-column: 1 / -1; }
  .intro__cols { columns: 1; }
  .paths { grid-template-columns: 1fr; }
  .path .photo { aspect-ratio: 3 / 2; }
  .numbered,
  .integrity { grid-template-columns: 1fr; }
  .church,
  .who,
  .give-block,
  .team-group { grid-template-columns: 1fr; }
  .team-group__head { position: static; }
  .profile__body { grid-template-columns: 1fr; grid-template-areas: "photo" "facts" "bio"; }
  .profile__photo { max-width: 400px; }
  .info-row { grid-template-columns: 1fr; }
  .info-row dt { padding-top: 0; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .people,
  .people--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; }
  .person__name { font-size: 1.125rem; }
  .intro__photos { grid-template-columns: 1fr; }
  .intro__photos .photo:last-child { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
}
