/* ═══════════════════════════════════════════════════════════════
   Sheth D.N. Modi Shahenshahi Atash Behram — Surat
   Shared stylesheet
   ═══════════════════════════════════════════════════════════════ */

:root {
  --navy: #0F1D36;
  --navy-mid: #1A2D4D;
  --gold: #A17E3E;
  --gold-bright: #C49A45;
  --gold-muted: #8B7340;
  --gold-faint: #D4C4A0;
  --cream: #FAF8F4;
  --cream-warm: #F3EDE3;

  /* Deep red — fire and warmth. One section only, never the whole page. */
  --red-deep: #7B1818;
  --red-warm: #9B2C2C;
  --ink: #2A2520;
  --ink-light: #6B6358;
  --border: #DDD6C8;

  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, system-ui, sans-serif;

  --measure: 66ch;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3.5rem;
  --space-xl: 5rem;
  --space-xxl: 7rem;
}

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

html {
  font-size: 17px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
}

img { max-width: 100%; }

::selection { background: rgba(161, 126, 62, 0.18); }

/* ─── SKIP LINK ─── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold-faint);
  color: var(--navy);
  padding: var(--space-xs) var(--space-sm);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  left: var(--space-sm);
  top: var(--space-xs);
}

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

/* ─── NAV ─── */
.site-nav {
  background: var(--navy);
  padding: 0.85rem var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-nav__name {
  font-family: var(--font-display);
  color: var(--gold-faint);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.site-nav__links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
}

.site-nav__links a {
  color: rgba(212, 196, 160, 0.6);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.site-nav__links a:hover,
.site-nav__links a[aria-current="page"] {
  color: var(--gold-faint);
}

/* CSS-only mobile menu — no JavaScript required */
.site-nav__toggle { position: absolute; opacity: 0; pointer-events: none; }

.site-nav__burger {
  display: none;
  cursor: pointer;
  padding: 0.4rem;
  margin: -0.4rem;
  line-height: 0;
}

.site-nav__burger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--gold-faint);
  margin: 5px 0;
  transition: opacity 0.2s;
}

/* ─── HERO ─── */
.hero {
  background: var(--navy);
  color: var(--cream);
  padding: var(--space-xxl) var(--space-md) var(--space-xl);
  text-align: center;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--cream));
  pointer-events: none;
}

.hero__date {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(161, 126, 62, 0.3);
}

.hero__hook {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 400;
  line-height: 1.35;
  max-width: 20em;
  margin: 0 auto var(--space-lg);
  color: var(--cream);
  font-style: italic;
}

.hero__hook strong {
  font-weight: 500;
  color: #fff;
  font-style: normal;
}

/* Upright variant — used where the hook is the institution's name, not a line of prose */
.hero__hook--upright {
  font-style: normal;
  font-weight: 500;
  color: #fff;
  max-width: 16em;
}

.hero__hook--upright .hero__hook-sub {
  display: block;
  font-size: 0.62em;
  color: var(--gold-faint);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-top: 0.15em;
}

.hero__lead {
  font-size: 0.92rem;
  color: var(--gold-faint);
  max-width: 38em;
  margin: 0 auto;
  line-height: 1.7;
  opacity: 0.85;
}

/* ─── HERO WITH PHOTOGRAPH ───
   The image goes on the element via an inline background-image (it differs
   per page); the navy scrim and stacking are handled here. */
.hero--image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero--image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 29, 54, 0.72);
  pointer-events: none;
}

.hero--image > * {
  position: relative;
  z-index: 1;
}

/* Lift the hero text above the watermark (static content would otherwise
   paint beneath a positioned sibling) */
.hero--watermarked > *:not(.hero__watermark) {
  position: relative;
  z-index: 1;
}

/* Farohar watermark centred behind the hero text */
.hero__watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 92px;
  height: auto;
  /* The artwork is near-black; on navy it has to be inverted and warmed
     to read as a pale gold watermark rather than disappearing. */
  filter: invert(1) sepia(1) saturate(0.45) brightness(1.05);
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
}

/* ─── BUTTONS ─── */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-lg);
  position: relative;
  z-index: 1;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 1.9rem;
  border: 1px solid var(--gold-muted);
  color: var(--gold-faint);
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

.btn:hover {
  color: var(--navy);
  background: var(--gold-faint);
  border-color: var(--gold-faint);
}

.btn--solid {
  background: var(--gold-muted);
  border-color: var(--gold-muted);
  color: var(--cream);
}

.btn--solid:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: var(--navy);
}

/* ─── ARTICLE ─── */
.article {
  max-width: var(--measure);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}

.article p {
  margin-bottom: 1.5em;
  font-size: 0.98rem;
  line-height: 1.85;
}

.article p:last-child { margin-bottom: 0; }

/* An address's final <p> is a last-child, so it loses its margin — restore
   the spacing on the address itself. */
.article address {
  font-style: normal;
  margin-bottom: 1.5em;
}

.article--first { padding-top: var(--space-lg); }

.article--wide { max-width: 60rem; }

/* Continues the article above it without a second block of top padding */
.article--tight { padding-top: 0; }

/* A heading-only article sitting directly above a grid component */
.article--flush { padding-bottom: 0; }

.article a {
  color: var(--navy-mid);
  text-decoration-color: var(--gold-muted);
  text-underline-offset: 0.2em;
}

.article a:hover { color: var(--gold); }

/* ─── INLINE FIGURES ─── */
.article figure {
  margin: var(--space-lg) 0;
}

.article figure img {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  display: block;
}

.article figcaption {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--ink-light);
  margin-top: var(--space-xs);
  font-style: italic;
}

/* A tall document scan shouldn't tower over the text it illustrates */
.figure--doc img {
  max-width: 24rem;
  margin-left: auto;
  margin-right: auto;
}

/* Two-up photo set inside an article */
.photo-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin: var(--space-lg) 0;
  align-items: start;   /* uneven heights rather than cropped images */
}

.photo-grid-2x2 figure { margin: 0; }

/* Natural proportions — a portrait frame is not forced into a landscape box */
.photo-grid-2x2 img {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  display: block;
}

.photo-grid-2x2 figcaption {
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--ink-light);
  margin-top: var(--space-xs);
  font-style: italic;
}

/* ─── SECTION HEADINGS ─── */
.section-heading {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: var(--space-md);
  line-height: 1.3;
}


/* Editorial aside — source notes, caveats, provenance */
.note {
  font-size: 0.86rem;
  line-height: 1.75;
  color: var(--ink-light);
}


/* ─── FAROHAR DIVIDER ─── */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin: var(--space-lg) auto;
  max-width: var(--measure);
  padding: 0 var(--space-md);
}

.divider__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}

.divider__farohar {
  width: 36px;
  height: auto;
  opacity: 0.18;
  filter: sepia(1) saturate(0.3) brightness(0.5);
}

/* ─── DROP CAP ─── */
.article--drop-cap > p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 3.4em;
  float: left;
  line-height: 0.8;
  padding-right: 0.08em;
  padding-top: 0.08em;
  color: var(--navy);
  font-weight: 600;
}

/* ─── PULL QUOTE ─── */
.pull-quote {
  max-width: var(--measure);
  margin: var(--space-lg) auto;
  padding: var(--space-md) var(--space-md) var(--space-md) var(--space-lg);
  border-left: 2px solid var(--gold-muted);
}

.pull-quote p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--navy-mid);
  font-style: italic;
}

.pull-quote cite {
  display: block;
  margin-top: var(--space-sm);
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
}

/* ─── LISTS ─── */
.rule-list {
  list-style: none;
  margin: var(--space-md) 0 1.5em;
  border-top: 1px solid var(--border);
}

.rule-list li {
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-sm);
}

.rule-list__value {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
  white-space: nowrap;
}

.plain-list {
  list-style: none;
  margin: var(--space-md) 0 1.5em;
}

.plain-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.6rem;
  font-size: 0.98rem;
  line-height: 1.75;
}

.plain-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  background: var(--gold-muted);
  transform: rotate(45deg);
}

/* ─── SUMMARY CARDS (home) ───
   An editorial contents page: each card previews its destination with that
   page's own photograph. No enclosing frame — the images carry the structure. */
.cards {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 var(--space-md) var(--space-xl);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg) var(--space-md);
}

.card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--cream-warm);
  margin-bottom: var(--space-sm);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.card:hover .card__media img { transform: scale(1.04); }

/* Document scans are tall — show the page whole rather than slicing a band
   out of the middle. */
.card__media--doc img {
  object-fit: contain;
  padding: var(--space-xs);
}

.card:hover .card__media--doc img { transform: none; }

.card__index {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: var(--space-xs);
  line-height: 1.25;
  transition: color 0.2s;
}

.card:hover .card__title { color: var(--gold-muted); }

.card__text {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--ink-light);
  margin-bottom: var(--space-sm);
  flex: 1;
}

.card__more {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-muted);
  padding-top: var(--space-xs);
  border-top: 1px solid var(--border);
}

.card:hover .card__more { color: var(--gold-bright); }

/* ─── STAT BAND ─── */
.stat-band {
  background: var(--navy);
  color: #fff;
  padding: var(--space-lg) var(--space-md);
  position: relative;
}

.stat-band::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to top, transparent, var(--cream));
  pointer-events: none;
}

.stat-band::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--cream));
  pointer-events: none;
}

.stat-band__inner {
  max-width: 52rem;
  margin: 0 auto;
  padding: var(--space-md) 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  text-align: center;
}

.stat-band__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--gold-faint);
  line-height: 1.1;
  display: block;
  margin-bottom: var(--space-xs);
}

.stat-band__label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(212, 196, 160, 0.55);
  display: block;
  max-width: 14em;
  margin: 0 auto;
}

/* ─── VERTICAL TIMELINE (modi-family) ─── */
.timeline {
  /* the measure, widened by twice the item indent so the portraits and nodes
     hang in the margin and the Davar names still align with body text */
  max-width: calc(var(--measure) + 10rem);
  margin: 0 auto;
  padding: var(--space-sm) var(--space-md) var(--space-xl);
  list-style: none;
}

.timeline__item {
  position: relative;
  padding-left: 5rem;
  padding-bottom: var(--space-lg);
}

/* the vertical line — runs through the centre of every node */
.timeline__item::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 0.5rem;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.timeline__item:last-child::before { display: none; }

/* the node */
.timeline__item::after {
  content: '';
  position: absolute;
  left: 28px;
  top: 0.34rem;
  width: 9px;
  height: 9px;
  border: 1px solid var(--gold-muted);
  background: var(--cream);
  transform: rotate(45deg);
}

/* Portrait nodes replace the diamond for the Davars we have photographs of */
.timeline__item--portrait::after { display: none; }

.timeline__portrait {
  position: absolute;
  left: 0;
  top: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gold-muted);
  padding: 2px;
  background: var(--cream);
}

.timeline__item--portrait::before { top: 68px; }

.timeline__item--current::after {
  background: var(--gold-muted);
}


.timeline__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 0.15rem;
}

.timeline__dates {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: var(--space-xs);
}

.timeline__note {
  font-size: 0.93rem;
  line-height: 1.8;
  color: var(--ink-light);
  max-width: 44ch;
}

.timeline__note em { color: var(--ink); }

/* ─── GALLERY ─── */
.gallery-section {
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 var(--space-md) var(--space-lg);
}

.gallery-section__heading {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: var(--space-xs);
}

.gallery-section__note {
  font-size: 0.88rem;
  color: var(--ink-light);
  margin-bottom: var(--space-md);
  max-width: 50ch;
}

/* Photographer credit under a gallery set */
.gallery-section__credit {
  margin-top: var(--space-sm);
  font-size: 0.78rem;
  font-style: italic;
  color: var(--ink-light);
}

/* Each photograph keeps its own proportions — nothing is cropped, so portrait
   scans and landscape photographs sit side by side, aligned to the top. */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: var(--space-lg) var(--space-md);
  align-items: start;
}

.gallery-figure { margin: 0; }

.gallery-figure__frame {
  display: block;
  background: var(--cream-warm);
  border: 1px solid var(--border);
  margin-bottom: 0.6rem;
  overflow: hidden;
}

.gallery-figure__frame img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.25s;
}

.gallery-figure__frame:hover img { opacity: 0.86; }

.gallery-figure__frame:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }


.gallery-figure figcaption {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--ink-light);
}

.gallery-figure figcaption strong {
  display: block;
  font-weight: 500;
  color: var(--ink);
}

/* ─── LIGHTBOX ───
   Pure CSS via :target — opens on click, scrolls when the photograph is
   taller than the viewport, and needs no JavaScript. */
.lightbox {
  display: none;
}

.lightbox:target {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 29, 54, 0.95);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: var(--space-xl) var(--space-md) var(--space-lg);
}

/* Clicking anywhere off the photograph closes it */
.lightbox__backdrop {
  position: fixed;
  inset: 0;
  cursor: default;
}

.lightbox__inner {
  position: relative;
  max-width: 58rem;
  margin: 0 auto;
}

.lightbox__inner img {
  width: 100%;
  height: auto;
  display: block;
  background: var(--navy-mid);
}

.lightbox__caption {
  color: var(--gold-faint);
  font-size: 0.86rem;
  line-height: 1.65;
  margin-top: var(--space-sm);
  max-width: 60ch;
}

.lightbox__caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.15rem;
}

.lightbox__close {
  position: fixed;
  top: var(--space-sm);
  right: var(--space-md);
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gold-faint);
  text-decoration: none;
  border: 1px solid rgba(212, 196, 160, 0.35);
  background: rgba(15, 29, 54, 0.85);
}

.lightbox__close:hover {
  color: var(--navy);
  background: var(--gold-faint);
  border-color: var(--gold-faint);
}

.lightbox__hint {
  position: fixed;
  bottom: var(--space-sm);
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(212, 196, 160, 0.45);
  pointer-events: none;
}

/* ─── PANEL (donate / contact detail blocks) ─── */
.panel {
  background: var(--cream-warm);
  border: 1px solid var(--border);
  border-left: 2px solid var(--gold-muted);
  padding: var(--space-md);
  margin: var(--space-md) 0 1.5em;
}


.panel dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.55rem var(--space-md);
  font-size: 0.92rem;
}

.panel dt {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
  padding-top: 0.28em;
}

.panel dd { color: var(--ink); }

/* Account and IFSC numbers must be transcribed exactly — body font with
   lining, tabular figures, not the display face's oldstyle numerals. */
.panel dd strong {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--navy);
}


/* ─── TRUSTEE CARDS ─── */
.trustee-grid {
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg) var(--space-md);
}

.trustee-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trustee-card__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gold-muted);
  padding: 3px;
  background: var(--cream);
  margin-bottom: var(--space-sm);
}

/* Stand-in for trustees we have no photograph of yet */
.trustee-card__placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--cream-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
}

.trustee-card__placeholder img {
  width: 52px;
  height: auto;
  opacity: 0.22;
  filter: sepia(1) saturate(0.3) brightness(0.5);
}

.trustee-card__name {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.trustee-card__title {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: var(--space-xs);
}

.trustee-card__note {
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--ink-light);
  max-width: 26ch;
}

/* ─── DONATE: BANK DETAILS BAND ─── */
.donate-bank {
  background: var(--red-deep);
  color: var(--cream);
  padding: var(--space-xl) var(--space-md);
}

.donate-bank__inner {
  max-width: 46rem;
  margin: 0 auto;
}

.donate-bank__eyebrow {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 248, 244, 0.6);
  margin-bottom: var(--space-sm);
  text-align: center;
}

.donate-bank__heading {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 500;
  color: #fff;
  text-align: center;
  line-height: 1.25;
  margin-bottom: var(--space-lg);
}

.donate-bank__card {
  background: rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(250, 248, 244, 0.18);
  padding: var(--space-md);
}

.donate-bank__detail {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: var(--space-sm) var(--space-md);
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(250, 248, 244, 0.14);
}

.donate-bank__detail:last-child { border-bottom: 0; padding-bottom: 0; }
.donate-bank__detail:first-child { padding-top: 0; }

.donate-bank__label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250, 248, 244, 0.62);
}

.donate-bank__value {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--cream);
}

/* Numbers that get transcribed into a transfer form: large, lining,
   tabular, and easy to select. */
.donate-bank__value--number {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  font-variant-numeric: lining-nums tabular-nums;
  color: #fff;
  user-select: all;
  -webkit-user-select: all;
  word-break: break-all;
}

.donate-bank__note {
  margin-top: var(--space-md);
  font-size: 0.86rem;
  line-height: 1.75;
  color: rgba(250, 248, 244, 0.72);
  text-align: center;
}

.donate-bank__note .placeholder-contact {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.donate-bank__note .placeholder-contact:hover { color: var(--gold-faint); }

/* ─── NUMBERED STEPS ─── */
.steps {
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  border-top: 1px solid var(--border);
  padding-top: var(--space-sm);
}

.steps li::before {
  content: counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.steps__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.steps p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--ink-light);
}

/* ─── CLOSING CALL TO ACTION ─── */
.cta {
  background: var(--cream-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: var(--space-lg) var(--space-md);
}

.cta__heading {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  font-style: italic;
  color: var(--navy);
  margin-bottom: var(--space-xs);
}

.cta p {
  font-size: 0.92rem;
  color: var(--ink-light);
  max-width: 44ch;
  margin: 0 auto var(--space-md);
}

.cta .btn {
  border-color: var(--gold-muted);
  color: var(--navy);
}

.cta .btn:hover {
  background: var(--gold-muted);
  color: var(--cream);
}

/* Contact placeholder — update in one place when the address is live */
.placeholder-contact {
  font-family: var(--font-body);
  color: var(--navy-mid);
  border-bottom: 1px dotted var(--gold-muted);
  text-decoration: none;
}

.placeholder-contact:hover { color: var(--gold); }

/* ─── CLOSING ─── */
.closing {
  background: var(--cream-warm);
  border-top: 1px solid var(--border);
}

.closing .article {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
  text-align: center;
}

.closing .section-heading {
  font-style: italic;
  color: var(--gold-muted);
  font-size: 1.4rem;
}

.closing p {
  color: var(--ink-light);
  font-size: 0.9rem;
}

.closing__farohar {
  width: 48px;
  height: auto;
  opacity: 0.12;
  filter: sepia(1) saturate(0.3) brightness(0.5);
  margin-bottom: var(--space-md);
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--navy);
  color: rgba(212, 196, 160, 0.6);
  padding: var(--space-lg) var(--space-md) var(--space-md);
  font-size: 0.84rem;
}

.site-footer__inner {
  max-width: 52rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.site-footer h3 {
  font-family: var(--font-display);
  color: var(--gold-faint);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
}

.site-footer p,
.site-footer address {
  font-style: normal;
  line-height: 1.7;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 196, 160, 0.25);
}

.site-footer a:hover { color: var(--gold-faint); }

.site-footer__bottom {
  max-width: 52rem;
  margin: var(--space-lg) auto 0;
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(200, 180, 140, 0.1);
  font-size: 0.72rem;
  opacity: 0.4;
  text-align: center;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  html { font-size: 16px; }

  .site-nav { flex-wrap: wrap; padding: 0.85rem var(--space-sm); }
  .site-nav__burger { display: block; }

  .site-nav__links {
    display: none;
    flex-direction: column;
    gap: 0;
    width: 100%;
    order: 3;
  }

  .site-nav__toggle:checked ~ .site-nav__links { display: flex; }

  .site-nav__links li { border-top: 1px solid rgba(212, 196, 160, 0.12); }

  .site-nav__links a {
    display: block;
    padding: 0.85rem 0.15rem;
  }

  .site-nav__toggle:focus-visible ~ .site-nav__burger span { background: var(--gold-bright); }

  .hero { padding: var(--space-xl) var(--space-sm) var(--space-lg); }
  .article { padding: var(--space-lg) var(--space-sm); }
  .pull-quote { padding-left: var(--space-md); margin-left: var(--space-sm); margin-right: var(--space-sm); }
  .stat-band__inner { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
  .stat-band__number { font-size: 2rem; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .divider__farohar { width: 28px; }

  .cards { padding-left: var(--space-sm); padding-right: var(--space-sm); }
  .gallery-section { padding-left: var(--space-sm); padding-right: var(--space-sm); }
  /* Narrow screens: tighten the hanging indent so the nodes stay in the gutter */
  .timeline { padding-left: var(--space-sm); padding-right: var(--space-sm); }
  .timeline__item { padding-left: 3.6rem; }
  .timeline__item::before { left: 22px; }
  .timeline__item::after { left: 18px; }
  .timeline__portrait { width: 44px; height: 44px; }
  .timeline__item--portrait::before { top: 48px; }
  .timeline__note { max-width: none; }

  .trustee-grid { grid-template-columns: repeat(2, 1fr); padding-left: var(--space-sm); padding-right: var(--space-sm); }
  .steps { grid-template-columns: 1fr; padding-left: var(--space-sm); padding-right: var(--space-sm); gap: var(--space-md); }
  .donate-bank { padding: var(--space-lg) var(--space-sm); }
  .donate-bank__detail { grid-template-columns: 1fr; gap: 0.2rem; }
  .donate-bank__heading { font-size: 1.55rem; }
  .donate-bank__value--number { font-size: 1.3rem; }
  .photo-grid-2x2 { gap: var(--space-sm); }
  .hero__watermark { width: 72px; }
  .panel dl { grid-template-columns: 1fr; gap: 0.15rem; }
  .panel dt { padding-top: 0.5rem; }
  .rule-list li { flex-direction: column; gap: 0.1rem; }
}

/* Tablets: the contents grid drops to two columns */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}

/* Phones: single column throughout */
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .trustee-grid { grid-template-columns: 1fr; }
  .photo-grid-2x2 { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

@media print {
  .site-nav, .hero::after, .stat-band::before, .stat-band::after { display: none; }
  body { background: #fff; }
  .hero, .stat-band, .site-footer { background: #fff; color: #000; }
}
