/* ==========================================================================
   REYNALDO & SYLVIA GEALON — KASIKAS Humanitarian Corps
   Shared stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Palette — warm, dignified, Filipino */
  --forest:        #14453D;
  --forest-deep:   #0D2F29;
  --forest-light:  #1E5C51;
  --gold:          #B8873B;
  --gold-light:    #D9AE63;
  --gold-pale:     #EFDFC2;

  --cream:         #FBF8F3;
  --cream-deep:    #F3EDE2;
  --cream-warm:    #EDE4D5;

  --ink:           #1C1A17;
  --ink-soft:      #45403A;
  --muted:         #7C746A;

  --line:          rgba(28, 26, 23, .13);
  --line-soft:     rgba(28, 26, 23, .07);
  --line-light:    rgba(251, 248, 243, .18);

  /* 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 */
  --container: 1140px;
  --narrow: 720px;
  --section-y: clamp(4.5rem, 9vw, 8rem);
  --radius: 3px;

  --shadow-sm: 0 1px 2px rgba(28, 26, 23, .05), 0 4px 12px rgba(28, 26, 23, .05);
  --shadow-md: 0 2px 6px rgba(28, 26, 23, .06), 0 16px 40px rgba(28, 26, 23, .09);
  --shadow-lg: 0 4px 10px rgba(28, 26, 23, .07), 0 28px 70px rgba(28, 26, 23, .13);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -.012em;
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
h4 { font-size: 1.15rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }

p { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--forest); text-decoration-color: rgba(20, 69, 61, .3); text-underline-offset: .22em; transition: color .2s var(--ease), text-decoration-color .2s var(--ease); }
a:hover { color: var(--gold); text-decoration-color: var(--gold); }

hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }

::selection { background: var(--gold-pale); color: var(--forest-deep); }

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

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
.container--narrow { width: min(100% - 2.5rem, var(--narrow)); }

.section { padding-block: var(--section-y); }
.section--cream  { background: var(--cream-deep); }
.section--warm   { background: var(--cream-warm); }
.section--forest { background: var(--forest); color: rgba(251, 248, 243, .8); }
.section--forest h1,
.section--forest h2,
.section--forest h3,
.section--forest h4 { color: var(--cream); }
.section--forest a { color: var(--gold-light); text-decoration-color: rgba(217, 174, 99, .4); }
.section--forest a:hover { color: var(--cream); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--forest); color: var(--cream);
  padding: .7rem 1.2rem; border-radius: var(--radius);
  font-size: .85rem; font-weight: 600; text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; color: var(--cream); }

/* --------------------------------------------------------------------------
   4. Typographic helpers
   -------------------------------------------------------------------------- */
.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.section--forest .eyebrow { color: var(--gold-light); }

.lead {
  font-size: clamp(1.15rem, 1.9vw, 1.32rem);
  line-height: 1.62;
  color: var(--ink-soft);
}
.section--forest .lead { color: rgba(251, 248, 243, .84); }

.section-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head--center { margin-inline: auto; text-align: center; }

.rule {
  width: 54px; height: 2px;
  background: var(--gold);
  border: 0;
  margin: 0 0 1.75rem;
}
.section-head--center .rule { margin-inline: auto; }

.text-center { text-align: center; }

/* Cebuano / foreign-language phrases */
.dialect { font-style: italic; color: var(--forest-light); }
.section--forest .dialect { color: var(--gold-light); }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--sans);
  font-size: .82rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 1rem 2rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease),
              box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--forest); color: var(--cream); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--forest-light); color: var(--cream); box-shadow: var(--shadow-md); }

.btn--gold { background: var(--gold); color: #fff; box-shadow: var(--shadow-sm); }
.btn--gold:hover { background: var(--gold-light); color: var(--forest-deep); box-shadow: var(--shadow-md); }

.btn--ghost { background: transparent; color: var(--forest); border-color: rgba(20, 69, 61, .35); }
.btn--ghost:hover { background: var(--forest); color: var(--cream); border-color: var(--forest); }

.btn--ghost-light { background: transparent; color: var(--cream); border-color: var(--line-light); }
.btn--ghost-light:hover { background: var(--cream); color: var(--forest-deep); border-color: var(--cream); }

/* Keep call-to-action labels readable inside dark programme sections. */
.section--forest .btn--gold,
.section--forest .btn--gold:hover {
  color: var(--forest-deep);
}
.section--forest .btn--ghost-light {
  color: var(--cream);
  border-color: rgba(251, 248, 243, .58);
}
.section--forest .btn--ghost-light:hover {
  color: var(--forest-deep);
  border-color: var(--cream);
}

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }
.btn-row--center { justify-content: center; }

/* --------------------------------------------------------------------------
   6. Site header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 243, .88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line-soft);
  box-shadow: 0 1px 20px rgba(28, 26, 23, .05);
}

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

.brand {
  display: flex; align-items: center; gap: .8rem;
  text-decoration: none; color: var(--ink);
  flex-shrink: 0;
}
.brand:hover { color: var(--ink); }

.brand__mark {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--forest);
  color: var(--gold-light);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 1.02rem; font-weight: 600;
  letter-spacing: .02em;
  transition: transform .3s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.05); }

.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name {
  font-family: var(--serif);
  font-size: 1.06rem; font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
}
.brand__sub {
  font-size: .61rem; font-weight: 600;
  letter-spacing: .17em; text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.nav__links { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }

.nav__link {
  display: block;
  padding: .55rem .85rem;
  font-size: .84rem; font-weight: 500;
  letter-spacing: .015em;
  color: var(--ink-soft);
  text-decoration: none;
  border-radius: var(--radius);
  position: relative;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__link:hover { color: var(--forest); background: rgba(20, 69, 61, .06); }
.nav__link.is-active { color: var(--forest); font-weight: 600; }
.nav__link.is-active::after {
  content: ""; position: absolute;
  left: .85rem; right: .85rem; bottom: .18rem;
  height: 1.5px; background: var(--gold);
}

.nav__cta { margin-left: .5rem; padding: .72rem 1.35rem; font-size: .75rem; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav__toggle span {
  display: block; width: 19px; height: 1.5px;
  background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav__toggle span + span { margin-top: 5px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav__toggle { display: grid; }
  .nav__links {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: .75rem 1.25rem 1.75rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
  .nav__link { padding: .95rem .5rem; font-size: 1rem; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .nav__link.is-active::after { display: none; }
  .nav__cta { margin: 1.25rem .5rem 0; justify-content: center; padding: 1rem; font-size: .78rem; }
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--forest-deep);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 70% 60% at 78% 18%, rgba(184, 135, 59, .30), transparent 62%),
    radial-gradient(ellipse 90% 70% at 12% 92%, rgba(30, 92, 81, .55), transparent 60%),
    linear-gradient(160deg, #0D2F29 0%, #14453D 48%, #103830 100%);
}
.hero__bg::after {
  /* soft woven texture — evokes banig / native weave */
  content: "";
  position: absolute; inset: 0;
  opacity: .05;
  background-image:
    repeating-linear-gradient(45deg,  rgba(251,248,243,.6) 0 1px, transparent 1px 11px),
    repeating-linear-gradient(-45deg, rgba(251,248,243,.6) 0 1px, transparent 1px 11px);
}

.hero__inner {
  position: relative; z-index: 1;
  padding-block: clamp(2.25rem, 4vw, 3.75rem) clamp(3.5rem, 7vw, 6rem);
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.hero .eyebrow { color: var(--gold-light); }

.hero__title {
  color: var(--cream);
  font-size: clamp(2.7rem, 7vw, 5.2rem);
  line-height: 1.03;
  margin-bottom: .35em;
}
.hero__title .amp {
  font-style: italic;
  color: var(--gold-light);
  font-weight: 400;
  padding-inline: .06em;
}

.hero__lead {
  font-size: clamp(1.1rem, 1.85vw, 1.28rem);
  line-height: 1.66;
  color: rgba(251, 248, 243, .8);
  max-width: 46ch;
  margin-bottom: 2.25rem;
}

.hero__meta {
  display: flex; flex-wrap: wrap; gap: 1.75rem;
  margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid var(--line-light);
}
.hero__meta-item { min-width: 0; }
.hero__meta-label {
  display: block;
  font-size: .68rem; font-weight: 600;
  letter-spacing: .17em; text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: .3rem;
}
.hero__meta-value {
  font-family: var(--serif);
  font-size: 1.22rem;
  color: var(--cream);
  line-height: 1.3;
}

/* Family portrait composition */
.hero__family {
  position: relative;
  min-height: clamp(32rem, 43vw, 39rem);
  display: grid;
  place-items: center;
  padding: 2.4rem 2rem 3rem;
}
.hero__family::before {
  content: "";
  position: absolute;
  inset: 3% 0 0 8%;
  border: 1px solid rgba(217, 174, 99, .42);
  border-radius: 50% 50% 12% 12% / 34% 34% 8% 8%;
  background:
    radial-gradient(circle at 76% 18%, rgba(217, 174, 99, .19), transparent 34%),
    linear-gradient(145deg, rgba(251, 248, 243, .07), rgba(251, 248, 243, .015));
  box-shadow: inset 0 0 0 8px rgba(251, 248, 243, .025);
}
.hero__family::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 42%;
  aspect-ratio: 1;
  left: -1%;
  bottom: 4%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 92, 81, .9), rgba(30, 92, 81, 0) 70%);
  filter: blur(2px);
}

.family-photo {
  position: relative;
  z-index: 1;
  width: min(100%, 29rem);
  margin: 0;
  padding: .62rem;
  border: 1px solid rgba(251, 248, 243, .55);
  border-radius: 15rem 15rem 1rem 1rem;
  background: rgba(251, 248, 243, .92);
  box-shadow: 0 28px 64px rgba(4, 22, 19, .42), 0 8px 22px rgba(4, 22, 19, .24);
  transform: rotate(.45deg);
  overflow: hidden;
}
.family-photo::after {
  content: "";
  position: absolute;
  inset: .62rem;
  border-radius: 14.5rem 14.5rem .65rem .65rem;
  background: linear-gradient(to top, rgba(13, 47, 41, .88), rgba(13, 47, 41, .08) 43%, transparent 62%);
  pointer-events: none;
}
.family-photo__image {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: 14.5rem 14.5rem .65rem .65rem;
}
.family-photo__caption {
  position: absolute;
  z-index: 2;
  left: 1.7rem;
  right: 1.7rem;
  bottom: 1.55rem;
  text-align: center;
}
.family-photo__eyebrow {
  display: block;
  color: var(--gold-light);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.family-photo__line {
  display: block;
  margin-top: .28rem;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-style: italic;
  line-height: 1.2;
}

.hero__family-monogram {
  position: absolute;
  z-index: 3;
  top: 1.3rem;
  right: -.35rem;
  width: 5.7rem;
  aspect-ratio: 1;
  border: 1px solid rgba(184, 135, 59, .45);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .16rem;
  color: var(--forest-deep);
  background: var(--cream);
  box-shadow: var(--shadow-md);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
}
.hero__family-monogram::before {
  content: "";
  position: absolute;
  inset: .35rem;
  border: 1px solid var(--gold-pale);
  border-radius: inherit;
}
.hero__family-monogram em {
  color: var(--gold);
  font-size: 1.35em;
  font-weight: 400;
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__family {
    width: min(100%, 36rem);
    min-height: clamp(31rem, 108vw, 39rem);
    margin-inline: auto;
    order: -1;
  }
}
@media (max-width: 560px) {
  .hero__meta { gap: 1.25rem 1.75rem; }
  .hero__family {
    min-height: 30rem;
    padding: 2rem 1.15rem 2.6rem;
  }
  .hero__family::before { inset: 4% 0 1% 5%; }
  .family-photo { width: min(100%, 22.5rem); }
  .hero__family-monogram {
    top: .8rem;
    right: -.2rem;
    width: 4.65rem;
    font-size: 1.05rem;
  }
}

/* Compact page header (interior pages) */
.page-hero {
  position: relative;
  background: var(--forest-deep);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.page-hero .hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__inner {
  position: relative; z-index: 1;
  padding-block: clamp(3.75rem, 9vw, 6.5rem);
  max-width: 68ch;
}
.page-hero .eyebrow { color: var(--gold-light); }
.page-hero h1 { color: var(--cream); margin-bottom: .4em; }
.page-hero p {
  font-size: clamp(1.08rem, 1.8vw, 1.24rem);
  line-height: 1.66;
  color: rgba(251, 248, 243, .8);
  max-width: 56ch;
}

/* --------------------------------------------------------------------------
   8. Cards & grids
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: clamp(1.25rem, 2.4vw, 1.85rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 2.6vw, 2.25rem);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  height: 100%;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(184, 135, 59, .35);
}
.card h3 { margin-bottom: .45em; }
.card p { color: var(--ink-soft); font-size: .97rem; }

.card__num {
  display: block;
  font-family: var(--serif);
  font-size: .95rem; font-weight: 600;
  color: var(--gold);
  letter-spacing: .1em;
  margin-bottom: .9rem;
}

.card__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--forest);
  margin-bottom: 1.35rem;
}
.card__icon svg { width: 22px; height: 22px; stroke-width: 1.5; }

.card__dialect {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--gold);
  margin-bottom: .35rem;
}

/* Pillar card on dark */
.section--forest .card {
  background: rgba(251, 248, 243, .045);
  border-color: var(--line-light);
  box-shadow: none;
}
.section--forest .card:hover {
  background: rgba(251, 248, 243, .075);
  border-color: rgba(217, 174, 99, .45);
}
.section--forest .card p { color: rgba(251, 248, 243, .74); }
.section--forest .card__icon { background: rgba(217, 174, 99, .16); color: var(--gold-light); }
.section--forest .card__dialect { color: var(--gold-light); }

/* --------------------------------------------------------------------------
   9. Two-column feature blocks
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5.5vw, 4.5rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split--reverse .split__media { order: 0; }
}

.split__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split__media img[src*="-portrait.webp"] {
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.split__media--framed::before {
  content: "";
  position: absolute; inset: 0;
  border: 1px solid rgba(251, 248, 243, .25);
  margin: 14px;
  pointer-events: none;
  z-index: 1;
}

/* KASIKAS outreach photo collage */
.outreach-collage {
  aspect-ratio: 4 / 5;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(18, 1fr);
  gap: .42rem;
  padding: .58rem;
  background: var(--cream-warm);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.outreach-collage::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: .58rem;
  border: 1px solid rgba(251, 248, 243, .35);
  border-radius: calc(var(--radius) - .2rem);
  pointer-events: none;
}
.outreach-collage__item {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  background: var(--cream-deep);
}
.outreach-collage__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(13, 47, 41, 0), rgba(13, 47, 41, .08));
  pointer-events: none;
}
.outreach-collage__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.outreach-collage__item--1  { grid-column: 1 / 8;  grid-row: 1 / 7; }
.outreach-collage__item--2  { grid-column: 8 / 13; grid-row: 1 / 4; }
.outreach-collage__item--3  { grid-column: 8 / 13; grid-row: 4 / 7; }
.outreach-collage__item--4  { grid-column: 1 / 5;  grid-row: 7 / 10; }
.outreach-collage__item--5  { grid-column: 5 / 13; grid-row: 7 / 10; }
.outreach-collage__item--6  { grid-column: 1 / 9;  grid-row: 10 / 13; }
.outreach-collage__item--7  { grid-column: 9 / 13; grid-row: 10 / 15; }
.outreach-collage__item--8  { grid-column: 1 / 5;  grid-row: 13 / 19; }
.outreach-collage__item--9  { grid-column: 5 / 9;  grid-row: 13 / 15; }
.outreach-collage__item--10 { grid-column: 5 / 13; grid-row: 15 / 19; }

.outreach-collage__label {
  position: absolute;
  z-index: 3;
  left: 1.15rem;
  top: 1.15rem;
  padding: .7rem .85rem .75rem;
  border-left: 3px solid var(--gold);
  color: var(--forest-deep);
  background: rgba(251, 248, 243, .94);
  box-shadow: var(--shadow-sm);
}
.outreach-collage__label span {
  display: block;
  color: var(--gold);
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.outreach-collage__label strong {
  display: block;
  margin-top: .18rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.1;
}

@media (max-width: 860px) {
  .outreach-collage {
    width: min(100%, 36rem);
    margin-inline: auto;
  }
}
@media (max-width: 430px) {
  .outreach-collage {
    gap: .28rem;
    padding: .4rem;
  }
  .outreach-collage::after { inset: .4rem; }
  .outreach-collage__label {
    left: .75rem;
    top: .75rem;
    padding: .55rem .65rem .6rem;
  }
  .outreach-collage__label strong { font-size: .9rem; }
}

.split__body h2 { margin-bottom: .5em; }

/* Fact list — <dl class="facts"> with one <div> per row */
.facts { list-style: none; margin: 2rem 0 0; padding: 0; }
.facts > div,
.facts > li {
  display: grid;
  grid-template-columns: minmax(88px, 112px) 1fr;
  gap: 1.1rem;
  padding: .85rem 0;
  border-top: 1px solid var(--line-soft);
  font-size: .96rem;
}
.facts > div:last-child,
.facts > li:last-child { border-bottom: 1px solid var(--line-soft); }

.facts dt,
.facts .facts__label {
  font-size: .68rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
  padding-top: .4em;
  line-height: 1.5;
}
.facts dd { margin: 0; }
.facts dd,
.facts .facts__value { color: var(--ink); font-weight: 500; }

@media (max-width: 420px) {
  .facts > div,
  .facts > li { grid-template-columns: 1fr; gap: .2rem; }
}

/* --------------------------------------------------------------------------
   10. Pull quote
   -------------------------------------------------------------------------- */
.quote {
  position: relative;
  max-width: 46ch;
  margin: 2.5rem 0;
  padding-left: 1.75rem;
  border-left: 2px solid var(--gold);
}
.quote p {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.3vw, 1.65rem);
  font-style: italic;
  line-height: 1.46;
  color: var(--ink);
  margin-bottom: .7rem;
}
.quote cite {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: .74rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--muted);
}
.section--forest .quote p { color: var(--cream); }
.section--forest .quote cite { color: var(--gold-light); }

.quote--feature {
  max-width: 30ch;
  margin-inline: auto;
  text-align: center;
  border: 0;
  padding: 0;
}
.quote--feature p { font-size: clamp(1.6rem, 3.6vw, 2.5rem); }
.quote--feature::before {
  content: "\201C";
  display: block;
  font-family: var(--serif);
  font-size: 4.5rem;
  line-height: .8;
  color: var(--gold);
  margin-bottom: .35rem;
}

/* --------------------------------------------------------------------------
   11. Timeline
   -------------------------------------------------------------------------- */
.timeline { position: relative; list-style: none; margin: 0; padding: 0 0 0 2.25rem; }
.timeline::before {
  content: "";
  position: absolute; left: 5px; top: .6rem; bottom: .6rem;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), rgba(184, 135, 59, .18));
}
.timeline__item { position: relative; padding-bottom: 2.75rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute; left: -2.25rem; top: .55rem;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--gold);
}
.timeline__year {
  display: block;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .35rem;
}
.timeline__item h3 { font-size: 1.3rem; margin-bottom: .3em; }
.timeline__item p { font-size: .97rem; }

/* --------------------------------------------------------------------------
   12. Gallery
   -------------------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.15rem;
}
.gallery__item {
  position: relative;
  display: block;
  border: 0; padding: 0;
  background: var(--cream-warm);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  font: inherit;
  text-align: left;
  width: 100%;
}
.gallery__item img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform .6s var(--ease), filter .35s var(--ease);
}
.gallery__item--tall img { aspect-ratio: 3 / 4; }
.gallery__item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gallery__item:hover img { transform: scale(1.045); }

.gallery__overlay {
  position: absolute; inset: auto 0 0 0;
  padding: 2.5rem 1.1rem 1rem;
  background: linear-gradient(to top, rgba(13, 47, 41, .9), transparent);
  color: var(--cream);
  font-size: .87rem;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.gallery__item:hover .gallery__overlay,
.gallery__item:focus-visible .gallery__overlay { opacity: 1; transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  padding: 1.5rem;
  background: rgba(13, 47, 41, .95);
  backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__figure { margin: 0; max-width: min(1000px, 100%); max-height: 100%; }
.lightbox__figure img {
  max-height: 78vh; width: auto; margin-inline: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.lightbox__figure figcaption {
  margin-top: 1.1rem; text-align: center;
  color: rgba(251, 248, 243, .82);
  font-size: .93rem;
}
.lightbox__close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: rgba(251, 248, 243, .1);
  border: 1px solid var(--line-light);
  border-radius: 50%;
  color: var(--cream);
  font-size: 1.5rem; line-height: 1;
  cursor: pointer;
  transition: background .2s var(--ease);
}
.lightbox__close:hover { background: rgba(251, 248, 243, .22); }

/* --------------------------------------------------------------------------
   13. Tributes
   -------------------------------------------------------------------------- */
.tributes { columns: 3 300px; column-gap: 1.5rem; }
.tribute {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.tribute p {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 1.1rem;
}
.tribute__by {
  display: block;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .08em;
  color: var(--forest);
}
.tribute__where {
  display: block;
  font-size: .74rem;
  color: var(--muted);
  margin-top: .15rem;
}

/* --------------------------------------------------------------------------
   14. Forms
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 1.35rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.35rem; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }

.field { display: grid; gap: .45rem; }
.field label {
  font-size: .74rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}
.field .req { color: var(--gold); }

.field input,
.field textarea,
.field select {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .85rem 1rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field textarea { min-height: 165px; resize: vertical; line-height: 1.65; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 135, 59, .16);
  background: #fff;
}
.field__hint { font-size: .82rem; color: var(--muted); letter-spacing: 0; text-transform: none; font-weight: 400; }
.field__hint--err { color: #A0522D; font-weight: 500; }
.field__hint--err::before { content: "\26A0\FE0E"; margin-right: .4em; }

/* Mark the control itself when its field failed validation. */
.field:has(.field__hint--err) input,
.field:has(.field__hint--err) textarea,
.field:has(.field__hint--err) select { border-color: #C2743A; }

.form__note {
  font-size: .87rem;
  color: var(--muted);
  padding: 1rem 1.15rem;
  background: var(--cream-warm);
  border-radius: var(--radius);
  border-left: 2px solid var(--gold);
}

/* Honeypot */
.hp { position: absolute !important; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form__status {
  font-size: .93rem;
  padding: .9rem 1.15rem;
  border-radius: var(--radius);
  display: none;
}
.form__status.is-visible { display: block; }
.form__status--ok  { background: rgba(20, 69, 61, .09);  color: var(--forest); border-left: 2px solid var(--forest); }
.form__status--err { background: rgba(184, 135, 59, .14); color: #8A5F1E; border-left: 2px solid var(--gold); }

/* --------------------------------------------------------------------------
   15. Contact / info blocks
   -------------------------------------------------------------------------- */
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.75rem; }
.info-list li { display: grid; grid-template-columns: 40px 1fr; gap: 1.1rem; align-items: start; }
.info-list__icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--forest);
}
.info-list__icon svg { width: 18px; height: 18px; stroke-width: 1.6; }
.info-list__label {
  display: block;
  font-size: .68rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .2rem;
}
.info-list__value { color: var(--ink); font-size: 1rem; }
.info-list__value a { font-weight: 500; }

/* --------------------------------------------------------------------------
   16. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  background: var(--forest);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 90% at 88% 50%, rgba(184, 135, 59, .28), transparent 65%),
    radial-gradient(ellipse 60% 90% at 8% 50%, rgba(13, 47, 41, .7), transparent 65%);
}
.cta-band__inner {
  padding-block: clamp(3.75rem, 8vw, 6rem);
  text-align: center;
  max-width: 62ch;
  margin-inline: auto;
}
.cta-band h2 { color: var(--cream); }
.cta-band p { color: rgba(251, 248, 243, .82); font-size: 1.1rem; margin-bottom: 2.25rem; }

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--forest-deep);
  color: rgba(251, 248, 243, .62);
  font-size: .92rem;
  padding-block: clamp(3.25rem, 6vw, 4.5rem) 2rem;
}
.site-footer a { color: rgba(251, 248, 243, .78); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-light);
}
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__brand { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.25rem; }
.footer__brand .brand__mark { background: rgba(217, 174, 99, .18); color: var(--gold-light); }
.footer__brand .brand__name { color: var(--cream); }
.footer__brand .brand__sub { color: rgba(251, 248, 243, .5); }

.footer__blurb { max-width: 40ch; line-height: 1.7; }

.footer__title {
  font-family: var(--sans);
  font-size: .69rem; font-weight: 600;
  letter-spacing: .17em; text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.15rem;
}
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }

.footer__bottom {
  display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 1rem;
  padding-top: 2rem;
  font-size: .82rem;
  color: rgba(251, 248, 243, .45);
}

/* --------------------------------------------------------------------------
   18. Motion
   -------------------------------------------------------------------------- */
/* Scroll reveal.
   The hidden state is scoped to `.js`, which an inline snippet in each page
   sets on <html>. Without JavaScript the content simply renders — a memorial
   site must never depend on a script to be readable. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  /* main.js already refuses to start the parallax; this covers the case where
     the preference is switched on mid-visit. */
  .parallax *, .parallax *::before, .parallax *::after { --pxy: 0px !important; }
}

/* --------------------------------------------------------------------------
   19. Parallax
   `initParallax()` in main.js adds `.parallax` to <html> and writes a single
   custom property — `--pxy` — onto each layer; the rules below decide how that
   offset is spent. Offsets ride on the `translate` property, never `transform`,
   so they stack with the hover, reveal and portrait-offset transforms declared
   above instead of overwriting them. No JS, reduced motion, or a browser
   without individual transform properties all land on the flat design.
   -------------------------------------------------------------------------- */

/* Background layers are grown past their section, so a drift of up to 60px
   can never uncover an edge. */
.parallax .hero__bg {
  top: -90px; bottom: -90px;
  translate: 0 var(--pxy, 0px);
  will-change: translate;
}
/* The weave counter-drifts, which reads as a second, deeper plane. */
.parallax .hero__bg::after {
  top: -70px; bottom: -70px;
  translate: 0 calc(var(--pxy, 0px) * -.45);
}

/* Hero foreground — copy and portraits ride ahead of the page. */
.parallax .hero__body,
.parallax .page-hero__inner { translate: 0 var(--pxy, 0px); }
.parallax .family-photo,
.parallax .hero__family-monogram { translate: 0 var(--pxy, 0px); }

/* Framed photographs drift inside their frame; the extra scale is the
   headroom that drift moves into. */
.parallax .split__media:not(.outreach-collage) img:not([src*="-portrait.webp"]) {
  translate: 0 var(--pxy, 0px);
  scale: 1.12;
}
.parallax .gallery__item img { translate: 0 var(--pxy, 0px); scale: 1.12; }

/* Dark sections get a slow wash of light behind their content. */
.parallax .section--forest { position: relative; isolation: isolate; overflow: hidden; }
.parallax .section--forest::before {
  content: "";
  position: absolute; z-index: -1;
  left: 0; right: 0; top: -120px; bottom: -120px;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 84% 18%, rgba(184, 135, 59, .17), transparent 68%),
    radial-gradient(ellipse 60% 50% at 8% 86%, rgba(30, 92, 81, .5), transparent 68%);
  translate: 0 var(--pxy, 0px);
  will-change: translate;
}
.parallax .cta-band::before { top: -80px; bottom: -80px; translate: 0 var(--pxy, 0px); }

/* The oversized opening quote mark lifts as the quote passes. */
.parallax .quote--feature::before { translate: 0 var(--pxy, 0px); }

/* --------------------------------------------------------------------------
   20. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .cta-band, .nav__toggle, .lightbox { display: none !important; }
  .parallax *, .parallax *::before, .parallax *::after {
    translate: none !important;
    scale: none !important;
  }
  body { background: #fff; color: #000; font-size: 11pt; }
  .hero, .page-hero { background: #fff !important; color: #000 !important; }
  .hero__title, .page-hero h1 { color: #000 !important; }
  a { text-decoration: underline; }
}
