/* ==========================================================================
   SLVPCT — Sree Lakshmi Venkateswara Polapragada Charitable Trust
   Design system. No external fonts, no CDN, no framework.

   Identity: ink navy for authority, marigold for warmth, warm paper ground.
   Signature motif: the arch — a doorway, for a trust whose main work is
   giving students a home. Used on hostel and portrait images.
   ========================================================================== */

/* ------------------------------------------------------------------ tokens */
:root {
  --ink:        #15263f;
  --ink-2:      #24395c;
  --ink-3:      #42597c;
  --body:       #1f2d41;
  --muted:      #5d6b80;
  --muted-2:    #8795a8;

  --saffron:    #d9791f;
  --saffron-d:  #b25f0f;
  --saffron-l:  #fbeada;
  --saffron-xl: #fdf5ec;

  --leaf:       #1d6a59;
  --leaf-l:     #e3efec;

  --paper:      #fdfaf5;
  --paper-2:    #f6eee2;
  --paper-3:    #efe4d4;
  --white:      #ffffff;

  --line:       #e8ddcc;
  --line-2:     #d8c9b2;

  --radius:     14px;
  --radius-s:   9px;
  --radius-l:   22px;
  --max:        1180px;
  --gut:        clamp(1.1rem, 4vw, 2.5rem);

  --shadow:     0 1px 2px rgba(21, 38, 63, .04), 0 10px 30px -14px rgba(21, 38, 63, .16);
  --shadow-lg:  0 2px 4px rgba(21, 38, 63, .05), 0 26px 60px -24px rgba(21, 38, 63, .28);

  --serif:      ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Noto Serif", serif;
  --sans:       system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

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

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: -.012em;
  margin: 0 0 .6em;
  font-weight: 600;
}
h1 { font-size: clamp(2.05rem, 5.2vw, 3.5rem); letter-spacing: -.022em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); letter-spacing: -.016em; }
h3 { font-size: clamp(1.14rem, 2vw, 1.33rem); }
h4 { font-size: 1.03rem; font-family: var(--sans); font-weight: 650; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--saffron-d); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--ink); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .4em; }

strong { font-weight: 650; color: var(--ink); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: .8rem 1.2rem;
  border-radius: 0 0 var(--radius-s) 0; font-weight: 600;
}
.skip:focus { left: 0; color: #fff; }

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

/* ------------------------------------------------------------------ layout */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.wrap-narrow { max-width: 760px; }

.section { padding-block: clamp(3.2rem, 7vw, 5.6rem); }
.section-sm { padding-block: clamp(2.2rem, 5vw, 3.4rem); }
.section-paper { background: var(--paper-2); }
.section-ink { background: var(--ink); color: #dfe6f0; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-ink a { color: #f3c98f; }
.section-ink a:hover { color: #fff; }

.grid { display: grid; gap: clamp(1.1rem, 2.4vw, 1.75rem); }
.g-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.g-3 { grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); }
.g-4 { grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); }

.split {
  display: grid;
  gap: clamp(1.8rem, 4vw, 3.4rem);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 880px) {
  .split { grid-template-columns: 1.05fr .95fr; align-items: center; }
  .split-wide { grid-template-columns: 1.4fr .6fr; }
}

/* ------------------------------------------------------- section headings */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans); font-size: .735rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--saffron-d); margin-bottom: .95rem;
}
.eyebrow::before {
  content: ""; width: 1.7rem; height: 2px; background: var(--saffron);
  border-radius: 2px; flex: none;
}
.section-ink .eyebrow { color: #f0b773; }
.section-ink .eyebrow::before { background: #f0b773; }

.head { max-width: 46rem; margin-bottom: clamp(1.9rem, 4vw, 3rem); }
.head .lead { font-size: 1.1rem; color: var(--muted); margin-bottom: 0; }
.section-ink .head .lead { color: #b9c5d6; }
.head-center { margin-inline: auto; text-align: center; }
.head-center .eyebrow { justify-content: center; }

.lead-lg {
  font-family: var(--serif); font-size: clamp(1.18rem, 2.3vw, 1.45rem);
  line-height: 1.5; color: var(--ink-2);
}

/* ----------------------------------------------------------------- buttons */
.btn {
  --btn-bg: var(--saffron);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  background: var(--btn-bg); color: var(--btn-fg);
  font: inherit; font-weight: 600; font-size: .96rem;
  padding: .82rem 1.5rem; border: 0; border-radius: 100px;
  text-decoration: none; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
  box-shadow: 0 1px 2px rgba(21, 38, 63, .12);
}
.btn:hover { background: var(--saffron-d); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn-ink { --btn-bg: var(--ink); }
.btn-ink:hover { background: var(--ink-2); }

.btn-ghost {
  --btn-bg: transparent; --btn-fg: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-2);
}
.btn-ghost:hover { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }

.btn-light {
  --btn-bg: rgba(255,255,255,.1); --btn-fg: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35);
}
.btn-light:hover { background: #fff; color: var(--ink); }

.btn-sm { padding: .58rem 1.05rem; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; }

.tlink {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; font-size: .95rem; text-decoration: none;
  color: var(--saffron-d);
}
.tlink svg { width: 1em; height: 1em; transition: transform .18s var(--ease); }
.tlink:hover svg { transform: translateX(3px); }

/* ------------------------------------------------------------------- cards */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
  position: relative;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card h3 { margin-bottom: .45rem; }
.card p { color: var(--muted); font-size: .97rem; }

/* marigold rule across the top of a card — the house accent */
.card-rule { border-top: 3px solid var(--saffron); }

.card-icon {
  width: 2.6rem; height: 2.6rem; border-radius: 10px;
  background: var(--saffron-l); color: var(--saffron-d);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.card-icon svg { width: 1.3rem; height: 1.3rem; }
.card-icon-leaf { background: var(--leaf-l); color: var(--leaf); }

.pill {
  display: inline-block; font-size: .74rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  padding: .3rem .62rem; border-radius: 100px;
  background: var(--saffron-l); color: var(--saffron-d);
}
.pill-leaf { background: var(--leaf-l); color: var(--leaf); }
.pill-quiet { background: var(--paper-3); color: var(--ink-3); }

/* ------------------------------------------------- the arch (signature motif) */
.arch {
  border-radius: 50% 50% var(--radius-s) var(--radius-s) / 34% 34% 2% 2%;
  overflow: hidden;
  background: var(--paper-3);
  aspect-ratio: 4 / 3.3;
  position: relative;
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch-ph {
  position: absolute; inset: 0;
  display: grid; place-items: center; gap: .4rem;
  color: var(--muted-2); font-size: .8rem; text-align: center; padding: 1.2rem;
  background:
    radial-gradient(circle at 50% 36%, var(--paper-2), var(--paper-3));
}
.arch-ph svg { width: 1.8rem; height: 1.8rem; opacity: .5; }

.portrait {
  aspect-ratio: 1 / 1.08;
  border-radius: 50% 50% var(--radius-s) var(--radius-s) / 40% 40% 2% 2%;
}

/* ------------------------------------------------------------------ header */
.topbar {
  background: var(--ink);
  color: #aebbcd;
  font-size: .82rem;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.4rem; }
.topbar a { color: #cdd7e4; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar-meta { display: flex; align-items: center; gap: 1.1rem; }
.topbar-meta span { display: inline-flex; align-items: center; gap: .38rem; }
.topbar-meta svg { width: .95em; height: .95em; opacity: .75; }
@media (max-width: 720px) { .topbar-hide { display: none; } }

.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(253, 250, 245, .94);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; gap: 1rem; min-height: 4.4rem; }

.brand { display: flex; align-items: center; gap: .72rem; text-decoration: none; margin-right: auto; }
.brand-mark { width: 2.5rem; height: 2.5rem; flex: none; }

/* The trust's own logo. Height-constrained so any source size works. */
.brand-logo {
  height: 2.9rem; width: auto; flex: none;
  object-fit: contain; object-position: left center;
}
.brand-logo-foot {
  height: 2.6rem;
  /* The logo artwork is dark; lift it off the navy footer. */
  background: #fdfaf5; padding: .3rem .45rem; border-radius: 7px;
}
@media (max-width: 420px) { .brand-logo { height: 2.4rem; } }
.brand-txt { display: grid; }
.brand-name {
  font-family: var(--serif); font-weight: 600; color: var(--ink);
  font-size: 1.1rem; line-height: 1.1; letter-spacing: -.01em;
}
.brand-sub {
  font-size: .685rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--saffron-d); margin-top: .18rem;
}
@media (max-width: 400px) { .brand-sub { display: none; } }

/* ---------------------------------------------------------------- main nav */
.nav { display: none; }
@media (min-width: 1020px) {
  .nav { display: flex; align-items: center; gap: .1rem; }
}
.nav > ul { display: flex; align-items: center; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.nav > ul > li { margin: 0; position: relative; }

.nav a {
  display: flex; align-items: center; gap: .3rem;
  padding: .55rem .72rem; border-radius: 8px;
  font-size: .925rem; font-weight: 550; color: var(--ink-2);
  text-decoration: none; white-space: nowrap;
  transition: background .15s var(--ease), color .15s var(--ease);
}
.nav a:hover { background: var(--paper-2); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--saffron-d); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: .72rem; right: .72rem; bottom: -.1rem;
  height: 2px; background: var(--saffron); border-radius: 2px;
}
.nav .caret { width: .62rem; height: .62rem; opacity: .55; transition: transform .18s var(--ease); }
.nav li:hover > a .caret, .nav li:focus-within > a .caret { transform: rotate(180deg); }

.nav .sub {
  position: absolute; top: calc(100% + .35rem); left: 0;
  min-width: 15rem; list-style: none; margin: 0; padding: .45rem;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-5px);
  transition: all .17s var(--ease);
}
.nav li:hover > .sub, .nav li:focus-within > .sub {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav .sub li { margin: 0; }
.nav .sub a { padding: .5rem .7rem; font-weight: 500; border-radius: 7px; }
.nav .sub a[aria-current="page"]::after { display: none; }
.nav .sub a[aria-current="page"] { background: var(--saffron-xl); }

.head-cta { display: flex; align-items: center; gap: .55rem; }
@media (max-width: 560px) { .head-cta .btn { padding-inline: 1.05rem; } }

.burger {
  display: inline-grid; place-items: center; gap: 4px;
  width: 2.65rem; height: 2.65rem; flex: none;
  background: transparent; border: 1px solid var(--line-2);
  border-radius: 9px; cursor: pointer; padding: 0;
}
@media (min-width: 1020px) { .burger { display: none; } }
.burger i {
  display: block; width: 1.05rem; height: 1.8px; background: var(--ink);
  border-radius: 2px; transition: transform .2s var(--ease), opacity .15s var(--ease);
}
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(5.8px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-5.8px) rotate(-45deg); }

/* --------------------------------------------------------- mobile nav panel */
.mnav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
  max-height: calc(100vh - 7rem);
  overflow-y: auto;
  padding: .9rem var(--gut) 1.5rem;
}
.mnav.open { display: block; }
@media (min-width: 1020px) { .mnav, .mnav.open { display: none; } }
.mnav ul { list-style: none; margin: 0; padding: 0; }
.mnav li { margin: 0; border-bottom: 1px solid var(--line); }
.mnav li:last-child { border-bottom: 0; }
.mnav a {
  display: block; padding: .82rem .2rem; font-weight: 550;
  color: var(--ink); text-decoration: none; font-size: 1rem;
}
.mnav a[aria-current="page"] { color: var(--saffron-d); }
.mnav .sub { padding: 0 0 .5rem .9rem; }
.mnav .sub li { border: 0; }
.mnav .sub a { padding: .46rem .2rem; font-size: .93rem; font-weight: 500; color: var(--muted); }
.mnav .mgroup > span {
  display: block; padding: .82rem .2rem .3rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--saffron-d);
}
.mnav .btn { width: 100%; margin-top: 1rem; }

/* -------------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(176deg, var(--paper-2) 0%, var(--paper) 62%);
  border-bottom: 1px solid var(--line);
}
.hero-art {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none; opacity: .5;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-inner { padding-block: clamp(2.8rem, 7vw, 5.2rem); }
.hero h1 { max-width: 20ch; }
.hero h1 em {
  font-style: normal; color: var(--saffron-d);
  display: block;
}
.hero-lead {
  max-width: 44ch; font-size: clamp(1.04rem, 2vw, 1.19rem);
  color: var(--ink-2); margin-bottom: 1.9rem;
}
.hero-figure { position: relative; }
.hero-figure .arch { box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.4; }

/* ------------------------------------------------------------ impact strip */
.impact {
  display: grid; gap: 1px;
  grid-template-columns: repeat(2, 1fr);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 760px) { .impact { grid-template-columns: repeat(4, 1fr); } }
.impact-cell { background: var(--white); padding: 1.3rem 1.15rem; text-align: center; }
.impact-num {
  font-family: var(--serif); font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600; color: var(--ink); line-height: 1; letter-spacing: -.02em;
  display: block; margin-bottom: .4rem;
}
.impact-num .sfx { color: var(--saffron); }
.impact-label { font-size: .88rem; font-weight: 600; color: var(--ink-2); display: block; }
.impact-note { font-size: .74rem; color: var(--muted-2); margin-top: .2rem; display: block; }

/* occupancy meter */
.meter { margin-top: .9rem; }
.meter-bar {
  height: 9px; border-radius: 100px; background: var(--paper-3);
  overflow: hidden; border: 1px solid var(--line);
}
.meter-fill {
  height: 100%; border-radius: 100px;
  background: linear-gradient(90deg, var(--saffron), var(--saffron-d));
  width: 0; transition: width 1.1s var(--ease);
}
.meter-cap { font-size: .83rem; color: var(--muted); margin-top: .5rem; }

/* ------------------------------------------------------------ hostel cards */
.hostel {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.hostel:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.hostel-fig { position: relative; aspect-ratio: 16 / 10; background: var(--paper-3); }
.hostel-fig img { width: 100%; height: 100%; object-fit: cover; }
.hostel-since {
  position: absolute; top: .8rem; left: .8rem;
  background: rgba(21, 38, 63, .88); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .07em;
  padding: .28rem .6rem; border-radius: 100px; backdrop-filter: blur(4px);
}
.hostel-body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.hostel-body h3 { margin-bottom: .3rem; }
.hostel-area { font-size: .85rem; font-weight: 600; color: var(--saffron-d); margin-bottom: .7rem; }
.hostel-facts { list-style: none; margin: 0 0 1rem; padding: 0; font-size: .9rem; }
.hostel-facts li { display: flex; gap: .55rem; margin-bottom: .45rem; color: var(--muted); }
.hostel-facts svg { width: 1rem; height: 1rem; flex: none; margin-top: .22rem; color: var(--muted-2); }
.hostel-foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: .5rem; }
.hostel-inactive { opacity: .78; }

/* --------------------------------------------------------------- timeline */
.timeline { position: relative; padding-left: 2.2rem; }
.timeline::before {
  content: ""; position: absolute; left: .42rem; top: .5rem; bottom: .5rem;
  width: 2px; background: linear-gradient(var(--saffron), var(--line)); border-radius: 2px;
}
.tl-item { position: relative; padding-bottom: 1.9rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -2.2rem; top: .42rem;
  width: .92rem; height: .92rem; border-radius: 50%;
  background: var(--white); border: 3px solid var(--saffron);
}
.tl-year {
  font-family: var(--serif); font-size: 1.12rem; font-weight: 600;
  color: var(--saffron-d); line-height: 1; margin-bottom: .25rem;
}
.tl-item h3 { font-size: 1.08rem; margin-bottom: .3rem; }
.tl-item p { color: var(--muted); font-size: .95rem; margin: 0; }

/* -------------------------------------------------------------- data lists */
.dl { margin: 0; }
.dl-row {
  display: grid; gap: .2rem .9rem; padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 680px) { .dl-row { grid-template-columns: 15rem 1fr; } }
.dl-row:last-child { border-bottom: 0; }
.dl-row dt { font-weight: 650; color: var(--ink); }
.dl-row dd { margin: 0; color: var(--muted); font-size: .96rem; }
.dl-row dd .num {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--paper-2); padding: .1rem .42rem; border-radius: 5px;
  color: var(--ink); font-size: .9em;
}
.dd-pending { color: var(--muted-2); font-style: italic; }

/* ------------------------------------------------------------ notice boxes */
.notice {
  border: 1px solid var(--line-2); border-left: 3px solid var(--saffron);
  background: var(--saffron-xl); border-radius: var(--radius-s);
  padding: 1.05rem 1.2rem; font-size: .96rem;
}
.notice h4 { margin-bottom: .3rem; color: var(--ink); }
.notice p { margin-bottom: 0; color: var(--ink-2); }
.notice-leaf { border-left-color: var(--leaf); background: var(--leaf-l); }

/* ----------------------------------------------------------------- quotes */
.quote {
  font-family: var(--serif); font-size: clamp(1.18rem, 2.6vw, 1.6rem);
  line-height: 1.45; color: var(--ink); margin: 0;
  padding-left: 1.4rem; border-left: 3px solid var(--saffron);
}
.quote cite { display: block; font-family: var(--sans); font-size: .9rem; font-style: normal; color: var(--muted); margin-top: .9rem; font-weight: 600; }

/* ------------------------------------------------------------------- forms */
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; color: var(--ink); }
.field .hint { font-weight: 400; color: var(--muted); font-size: .86rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem;
  padding: .7rem .85rem; color: var(--body);
  background: var(--white); border: 1px solid var(--line-2);
  border-radius: var(--radius-s);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--saffron);
  box-shadow: 0 0 0 3px var(--saffron-l);
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.field-row { display: grid; gap: 1.05rem; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }

/* --------------------------------------------------------------- page head */
.phead {
  background: var(--ink);
  color: #c9d4e2;
  padding-block: clamp(2.4rem, 5.5vw, 4rem);
  position: relative; overflow: hidden;
}
.phead-art { position: absolute; inset: 0; opacity: .14; pointer-events: none; }
.phead .wrap { position: relative; z-index: 1; }
.phead h1 { color: #fff; margin-bottom: .55rem; }
.phead .lead { max-width: 52ch; color: #b4c1d3; font-size: 1.08rem; margin: 0; }

.crumbs { font-size: .83rem; margin-bottom: 1.05rem; color: #8b9bb1; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.crumbs li { margin: 0; display: flex; align-items: center; gap: .4rem; }
.crumbs li + li::before { content: "/"; color: #566b87; }
.crumbs a { color: #aebbcd; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: #e8d2b4; }

/* ------------------------------------------------------------- jump links */
.jump {
  display: flex; flex-wrap: wrap; gap: .5rem;
  padding: 1rem 0; border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky; top: 4.4rem; z-index: 30;
}
.jump a {
  font-size: .87rem; font-weight: 600; text-decoration: none;
  padding: .36rem .8rem; border-radius: 100px;
  background: var(--white); border: 1px solid var(--line);
  color: var(--ink-2);
}
.jump a:hover { border-color: var(--saffron); color: var(--saffron-d); }

/* ----------------------------------------------------------------- donate */
.donate-band {
  background: linear-gradient(135deg, var(--ink) 0%, #1c3355 55%, #24395c 100%);
  color: #dfe6f0; border-radius: var(--radius-l);
  padding: clamp(1.8rem, 4.5vw, 3.2rem);
  position: relative; overflow: hidden;
}
.donate-band::after {
  content: ""; position: absolute; right: -14%; top: -45%;
  width: 26rem; height: 26rem; border-radius: 50%;
  background: radial-gradient(circle, rgba(217,121,31,.3), transparent 68%);
  pointer-events: none;
}
.donate-band h2 { color: #fff; }
.donate-band p { color: #bfcbdc; max-width: 48ch; }
.donate-band .btn-row { position: relative; z-index: 1; }

.amounts { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.3rem; }
.amount {
  position: relative; display: flex; flex-direction: column; gap: .1rem;
  padding: .85rem 1.1rem; min-width: 8.5rem;
  background: var(--white); border: 1.5px solid var(--line-2);
  border-radius: var(--radius-s); cursor: pointer;
  transition: border-color .15s var(--ease), background .15s var(--ease);
}
.amount:hover { border-color: var(--saffron); }
.amount input { position: absolute; opacity: 0; width: 0; height: 0; }
.amount input:checked ~ .amount-val { color: var(--saffron-d); }
.amount:has(input:checked) { border-color: var(--saffron); background: var(--saffron-xl); }
.amount:has(input:focus-visible) { outline: 3px solid var(--saffron); outline-offset: 2px; }
.amount-val { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--ink); }
.amount-what { font-size: .8rem; color: var(--muted); }

/* ------------------------------------------------------------------ footer */
.site-foot { background: var(--ink); color: #9fadc0; font-size: .94rem; padding-top: clamp(2.6rem, 5vw, 4rem); }
.site-foot h4 {
  color: #fff; font-size: .78rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; margin-bottom: 1rem;
}
.site-foot a { color: #c2cddc; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-grid {
  display: grid; gap: clamp(1.8rem, 4vw, 2.8rem);
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  padding-bottom: 2.4rem;
}
.foot-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .foot-brand { grid-column: auto; max-width: 23rem; } }
.foot-brand .brand-name { color: #fff; font-size: 1.14rem; }
.foot-brand p { color: #93a2b6; font-size: .92rem; margin-top: .9rem; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: .55rem; }
.foot-contact li { display: flex; gap: .6rem; }
.foot-contact svg { width: 1rem; height: 1rem; flex: none; margin-top: .25rem; color: #6e809a; }
.foot-bar {
  border-top: 1px solid rgba(255,255,255,.09);
  padding-block: 1.3rem;
  display: flex; flex-wrap: wrap; gap: .7rem 1.4rem;
  align-items: center; justify-content: space-between;
  font-size: .85rem; color: #7e8ea4;
}
.foot-bar a { color: #9fadc0; }

/* ------------------------------------------------------------------- misc */
.reveal { opacity: 0; transform: translateY(14px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .55s var(--ease), transform .55s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in { opacity: 1; transform: none; transition: none; }
  .meter-fill { transition: none; }
}

.empty {
  border: 1px dashed var(--line-2); border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem); text-align: center;
  background: var(--paper-2); color: var(--muted);
}
.empty h3 { color: var(--ink-2); }
.empty p { margin-bottom: 0; font-size: .96rem; }

@media print {
  .site-head, .topbar, .mnav, .site-foot, .jump, .btn-row, .donate-band { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .phead { background: #fff; color: #000; }
  .phead h1, .phead .lead { color: #000; }
}
