/* ==========================================================================
   Turner for Plaquemines Parish President
   Public site styles
   ========================================================================== */

:root {
  --navy-900: #06121f;
  --navy-800: #0a1b2e;
  --navy-700: #0e2440;
  --navy-600: #143257;
  --navy-500: #1d4573;
  --navy-100: #dbe4ee;

  --gold-600: #a8851b;
  --gold-500: #c9a227;
  --gold-400: #ddbc4e;
  --gold-100: #f5ead0;

  --cream: #faf8f4;
  --paper: #ffffff;
  --line: #e3ddd2;
  --ink: #1a1f26;
  --ink-soft: #4c5561;
  --ink-faint: #79828f;

  --red: #9b2226;
  --green: #1f6f43;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --wrap: 1160px;
  --radius: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(10, 27, 46, .06), 0 2px 8px rgba(10, 27, 46, .05);
  --shadow-md: 0 4px 12px rgba(10, 27, 46, .08), 0 12px 32px rgba(10, 27, 46, .08);
  --shadow-lg: 0 18px 50px rgba(6, 18, 31, .22);
}

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

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0; }
p { margin: 0 0 1em; }

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

button { font: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--gold-500); color: var(--navy-900);
  padding: .75rem 1.25rem; font-weight: 600;
}
.skip-link:focus { left: 0; }

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

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2.5rem);
}
.wrap--narrow { max-width: 780px; }

.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--tight { padding-block: clamp(2.75rem, 5vw, 4.5rem); }
.section--alt { background: var(--paper); border-block: 1px solid var(--line); }
.section--center { text-align: center; }

.section__title {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  color: var(--navy-700);
  letter-spacing: -.01em;
}
.section__title::after {
  content: ""; display: block; width: 62px; height: 3px;
  background: var(--gold-500); margin-top: .9rem; border-radius: 2px;
}
.section__lede {
  margin-top: 1.1rem;
  max-width: 62ch;
  font-size: 1.12rem;
  color: var(--ink-soft);
}
.section__more { margin-top: 2.25rem; }

/* --- buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .78rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-weight: 600; font-size: .97rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: transform .12s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn--lg { padding: .95rem 1.9rem; font-size: 1.03rem; }
.btn--block { width: 100%; }

.btn--gold {
  background: var(--gold-500); color: var(--navy-900);
  box-shadow: 0 2px 0 var(--gold-600), var(--shadow-sm);
}
.btn--gold:hover { background: var(--gold-400); color: var(--navy-900); }

.btn--navy { background: var(--navy-700); color: #fff; }
.btn--navy:hover { background: var(--navy-600); color: #fff; }

.btn--ghost {
  background: transparent; color: #fff;
  border-color: rgba(255, 255, 255, .45);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }

.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }

.link-arrow { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--gold-500); }
.link-arrow::after { content: " \2192"; }

/* --- masthead ------------------------------------------------------------ */

.masthead {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy-800);
  border-bottom: 3px solid var(--gold-500);
}
.masthead__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 76px;
}

.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand__mark {
  display: grid; place-items: center;
  width: 46px; height: 46px; flex: none;
  border: 2px solid var(--gold-500); border-radius: 50%;
  font-family: var(--serif); font-weight: 700; font-size: 1.12rem;
  color: var(--gold-400); letter-spacing: .04em;
}
.brand__mark--sm { width: 40px; height: 40px; font-size: 1rem; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: var(--serif); font-size: 1.24rem; font-weight: 700; color: #fff;
  letter-spacing: .005em;
}
.brand__office {
  font-size: .73rem; text-transform: uppercase; letter-spacing: .13em;
  color: var(--gold-400); font-weight: 600;
}

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav__link {
  color: var(--navy-100); text-decoration: none;
  font-size: .95rem; font-weight: 500;
  padding: .35rem 0; border-bottom: 2px solid transparent;
}
.nav__link:hover { color: #fff; border-bottom-color: rgba(201, 162, 39, .6); }
.nav__link.is-active { color: #fff; border-bottom-color: var(--gold-500); }
.nav__cta { padding: .6rem 1.25rem; }

.nav__toggle {
  display: none; background: none; border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 8px; padding: .55rem .6rem; cursor: pointer;
}
.nav__toggle-bars { display: grid; gap: 4px; }
.nav__toggle-bars i { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }

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

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(29, 69, 115, .85) 0%, rgba(10, 27, 46, 0) 60%),
    linear-gradient(160deg, var(--navy-700) 0%, var(--navy-900) 100%);
  color: #fff;
}
.hero__pattern {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  padding-block: clamp(3.25rem, 7vw, 5.5rem);
}

.hero__eyebrow {
  text-transform: uppercase; letter-spacing: .2em; font-size: .76rem;
  font-weight: 700; color: var(--gold-400); margin-bottom: 1.1rem;
}
.hero__title {
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  letter-spacing: -.018em;
  text-wrap: balance;
}
.hero__lede {
  margin-top: 1.35rem; max-width: 54ch;
  font-size: clamp(1.03rem, 1.5vw, 1.16rem);
  color: #ccd8e6;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }

.hero__badge {
  margin-top: 2.1rem; padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: .92rem; color: #b9c8d9; letter-spacing: .01em;
}
.hero__badge strong { color: var(--gold-400); font-size: 1.12rem; }
.hero__badge--today strong { font-size: 1rem; }

.hero__figure { display: flex; justify-content: center; }

.portrait-frame { position: relative; width: min(380px, 100%); }
.portrait-frame::before {
  content: ""; position: absolute; inset: -14px -14px 30px 14px;
  border: 2px solid var(--gold-500); border-radius: var(--radius-lg);
  opacity: .55;
}
.portrait {
  position: relative;
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 22%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: var(--navy-700);
}
.crest svg { width: 100%; height: 100%; display: block; border-radius: var(--radius-lg); }
.crest { overflow: hidden; }

.portrait-plate {
  position: relative; margin: -1px auto 0; width: calc(100% - 36px);
  background: var(--paper); color: var(--navy-800);
  border-bottom: 3px solid var(--gold-500);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: .85rem 1.1rem; text-align: center;
  box-shadow: var(--shadow-md);
}
.portrait-plate__name {
  margin: 0; font-family: var(--serif); font-weight: 700; font-size: 1.16rem;
}
.portrait-plate__role {
  margin: .15rem 0 0; font-size: .74rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-faint); font-weight: 600;
}

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

.pillars {
  list-style: none; margin: 2.75rem 0 0; padding: 0;
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.pillar {
  background: var(--paper); border: 1px solid var(--line);
  border-top: 3px solid var(--gold-500);
  border-radius: var(--radius); padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pillar__icon {
  display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 50%; background: var(--navy-700); margin-bottom: 1.05rem;
}
.pillar__icon .icon { width: 24px; height: 24px; fill: var(--gold-400); }
.pillar__title { font-size: 1.2rem; color: var(--navy-700); }
.pillar__body { margin: .6rem 0 0; font-size: .96rem; color: var(--ink-soft); }

/* --- quote band ---------------------------------------------------------- */

.quote-band {
  background: var(--navy-700); color: #fff;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.pull-quote { margin: 0; max-width: 44ch; margin-inline: auto; text-align: center; }
.pull-quote p {
  font-family: var(--serif); font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.38; margin: 0;
}
.pull-quote cite {
  display: block; margin-top: 1.35rem; font-style: normal;
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-400); font-weight: 600;
}

/* --- planks -------------------------------------------------------------- */

.planks { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 1.5rem; }
.planks--preview { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.plank {
  display: grid; grid-template-columns: auto 1fr; gap: 1.25rem;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.7rem 1.6rem;
  box-shadow: var(--shadow-sm);
}
.plank--preview { grid-template-columns: 1fr; gap: 0; }
.plank__num {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 700;
  color: var(--gold-500); line-height: 1;
}
.plank--preview .plank__num { margin-bottom: .7rem; display: block; }
.plank__title { font-size: 1.35rem; color: var(--navy-700); }
.plank--preview .plank__title { font-size: 1.18rem; }
.plank__body { margin: .7rem 0 0; color: var(--ink-soft); }

/* --- page heads ---------------------------------------------------------- */

.page-head {
  background: linear-gradient(150deg, var(--navy-700), var(--navy-900));
  color: #fff; padding-block: clamp(3rem, 6vw, 4.75rem);
  border-bottom: 3px solid var(--gold-500);
}
.page-head--compact { padding-block: clamp(2.4rem, 4.5vw, 3.5rem); }
.page-head__eyebrow {
  text-transform: uppercase; letter-spacing: .2em; font-size: .74rem;
  font-weight: 700; color: var(--gold-400); margin-bottom: .85rem;
}
.page-head__title { font-size: clamp(2rem, 4.6vw, 3.15rem); letter-spacing: -.015em; }
.page-head__lede { margin-top: 1rem; max-width: 60ch; color: #c3d1e0; font-size: 1.08rem; }

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

.bio-grid {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3.75rem); align-items: start;
}
.prose { font-size: 1.06rem; color: #2b3138; }
.prose p { margin-bottom: 1.3em; }
.prose p:first-child::first-letter {
  float: left; font-family: var(--serif); font-size: 3.6rem; line-height: .84;
  padding: .1em .12em 0 0; color: var(--navy-700); font-weight: 700;
}

.bio-aside { display: grid; gap: 1.5rem; }
.portrait-frame--aside { width: 100%; }
.portrait-frame--aside::before { display: none; }

.fact-card {
  background: var(--paper); border: 1px solid var(--line);
  border-left: 3px solid var(--gold-500);
  border-radius: var(--radius); padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.fact-card--quiet { border-left-color: var(--navy-500); }
.fact-card__title {
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  font-family: var(--sans); font-weight: 700; color: var(--ink-faint);
  margin-bottom: 1rem;
}
.fact-list { margin: 0; display: grid; gap: .85rem; }
.fact-list > div { display: grid; gap: .1rem; }
.fact-list dt {
  font-size: .74rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--gold-600); font-weight: 700;
}
.fact-list dd { margin: 0; font-size: .97rem; color: var(--ink); }

.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.tick-list li { position: relative; padding-left: 1.55rem; font-size: .97rem; color: var(--ink-soft); }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: .52em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold-500); box-shadow: 0 0 0 3px rgba(201, 162, 39, .18);
}
.tick-list--sm li { font-size: .9rem; }

/* --- timeline ------------------------------------------------------------ */

.tl { list-style: none; margin: 2.5rem 0 0; padding: 0 0 0 1.5rem; position: relative; }
.tl::before {
  content: ""; position: absolute; left: 0; top: .4rem; bottom: .4rem;
  width: 2px; background: linear-gradient(var(--gold-500), var(--navy-100));
}
.tl__item {
  position: relative; display: grid; grid-template-columns: 5.5rem 1fr;
  gap: 1.25rem; padding: .85rem 0 .85rem 1.5rem;
}
.tl__item::before {
  content: ""; position: absolute; left: -1.5rem; top: 1.35rem;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--paper); border: 2.5px solid var(--gold-500);
  transform: translateX(-4.5px);
}
.tl__year {
  font-family: var(--serif); font-weight: 700; font-size: 1.1rem; color: var(--navy-700);
}
.tl__text { color: var(--ink-soft); }

/* --- CTA bands ----------------------------------------------------------- */

.cta-band {
  background: linear-gradient(140deg, var(--navy-600), var(--navy-900));
  color: #fff; padding-block: clamp(3rem, 6vw, 4.5rem);
  border-top: 3px solid var(--gold-500);
}
.cta-band--simple { background: var(--navy-800); }
.cta-band__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center;
}
.cta-band__inner--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.cta-band__title { font-size: clamp(1.55rem, 3vw, 2.15rem); }
.cta-band__body { margin: .9rem 0 1.75rem; max-width: 52ch; color: #c3d1e0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; }
.cta-band__qr { text-align: center; }
.cta-band__qr img {
  border-radius: var(--radius); border: 6px solid #fff; box-shadow: var(--shadow-lg);
  background: #fff;
}
.cta-band__qr p {
  margin: .85rem 0 0; font-size: .76rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold-400); font-weight: 600;
}

/* --- forms --------------------------------------------------------------- */

.form { display: grid; gap: 1.75rem; }
.form--boxed {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.fieldset {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--paper); padding: clamp(1.35rem, 3vw, 2rem);
  margin: 0; box-shadow: var(--shadow-sm);
}
.legend {
  display: flex; align-items: center; gap: .75rem;
  font-family: var(--serif); font-size: 1.3rem; font-weight: 700;
  color: var(--navy-700); padding-inline: .6rem; margin-left: -.6rem;
}
.legend__step {
  display: grid; place-items: center; width: 30px; height: 30px; flex: none;
  border-radius: 50%; background: var(--navy-700); color: var(--gold-400);
  font-family: var(--sans); font-size: .88rem; font-weight: 700;
}

.field { margin-top: 1.15rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: 2fr .7fr 1fr; gap: 1rem; }

.label {
  display: block; margin-bottom: .4rem;
  font-size: .87rem; font-weight: 600; color: var(--ink);
}
.req { color: var(--red); }

.input {
  width: 100%; padding: .72rem .85rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid #cdd4dd; border-radius: 8px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input:hover { border-color: #adb8c5; }
.input:focus {
  outline: none; border-color: var(--navy-500);
  box-shadow: 0 0 0 3px rgba(29, 69, 115, .15);
}
.input[aria-invalid="true"] { border-color: var(--red); }
.input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(155, 34, 38, .15); }
textarea.input { resize: vertical; min-height: 7rem; }

.input-money { position: relative; display: flex; align-items: center; }
.input-money > span {
  position: absolute; left: .85rem; font-weight: 600; color: var(--ink-faint);
  pointer-events: none;
}
.input-money .input { padding-left: 1.9rem; font-size: 1.15rem; font-weight: 600; }

.hint { margin: .45rem 0 0; font-size: .85rem; color: var(--ink-faint); }
.fine { margin: 1.1rem 0 0; font-size: .82rem; color: var(--ink-faint); line-height: 1.55; }

.field--amount { max-width: 320px; }

.amounts { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: .6rem; }
.amount {
  padding: .85rem .5rem; background: #fff;
  border: 1.5px solid #cdd4dd; border-radius: 8px;
  font-weight: 700; font-size: 1.05rem; color: var(--navy-700);
  cursor: pointer; transition: all .15s ease;
}
.amount:hover { border-color: var(--gold-500); background: #fffdf6; }
.amount.is-selected {
  background: var(--navy-700); border-color: var(--navy-700); color: #fff;
  box-shadow: inset 0 -3px 0 var(--gold-500);
}

.radios, .checks { display: grid; gap: .6rem; }
.radio, .check {
  display: flex; gap: .7rem; align-items: flex-start;
  font-size: .95rem; color: var(--ink-soft); cursor: pointer;
  padding: .55rem .7rem; border: 1px solid transparent; border-radius: 8px;
}
.radio:hover, .check:hover { background: #f7f4ee; }
.radio input, .check input {
  margin: .22rem 0 0; width: 18px; height: 18px; flex: none; accent-color: var(--navy-600);
}
.check + .check { margin-top: .1rem; }

.pay-choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .75rem; }
.pay-option {
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
  padding: 1rem .75rem; background: #fff;
  border: 1.5px solid #cdd4dd; border-radius: 10px;
  cursor: pointer; font-weight: 600; color: var(--navy-700);
  transition: all .15s ease; text-align: center;
}
.pay-option:hover { border-color: var(--gold-500); }
.pay-option.is-selected {
  border-color: var(--navy-700); background: #f4f7fb;
  box-shadow: inset 0 -3px 0 var(--gold-500);
}
.pay-option input { position: absolute; opacity: 0; pointer-events: none; }
.pay-option__name { font-size: 1.02rem; }
.pay-option__sub { font-size: .78rem; font-weight: 500; color: var(--ink-faint); }

.form-error {
  margin: 0; padding: .8rem 1rem;
  background: #fdecee; border: 1px solid #f3c2c6; border-left: 3px solid var(--red);
  border-radius: 8px; color: #7a1c1f; font-size: .93rem;
}

.is-hidden { display: none !important; }

/* --- notices ------------------------------------------------------------- */

.notice {
  padding: 1.1rem 1.3rem; border-radius: var(--radius);
  border: 1px solid var(--line); border-left: 4px solid var(--navy-500);
  background: var(--paper); font-size: .95rem;
}
.notice--warn { border-left-color: var(--gold-500); background: #fffbf0; }
.notice p:last-child { margin-bottom: 0; }
.notice code {
  background: #eee9df; padding: .1em .4em; border-radius: 4px; font-size: .9em;
}

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

.give-grid {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .9fr);
  gap: clamp(1.75rem, 4vw, 3rem); align-items: start;
}
.give-main { display: grid; gap: 1.5rem; }
.give-aside { display: grid; gap: 1.25rem; position: sticky; top: 100px; }

.give-card {
  background: var(--paper); border: 1px solid var(--line);
  border-top: 3px solid var(--gold-500);
  border-radius: var(--radius); padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-sm); text-align: center;
}
.give-card--quiet { border-top-color: var(--navy-500); text-align: left; }
.give-card--seal {
  text-align: left; background: #f7f9fc; border-top-color: var(--navy-700);
}
.give-card--seal .give-card__title { display: flex; align-items: center; gap: .5rem; }
.give-card--seal .give-card__title::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 3px rgba(31, 111, 67, .16);
  flex: none;
}
.give-card__title {
  font-size: 1.08rem; color: var(--navy-700); margin-bottom: .9rem;
}
.give-card__qr {
  margin-inline: auto; border: 5px solid #fff; border-radius: 8px;
  box-shadow: var(--shadow-sm); background: #fff;
}
.give-card__note { margin: .85rem 0 0; font-size: .85rem; color: var(--ink-faint); }
.give-card__strong { font-weight: 700; color: var(--navy-700); }
.give-card p { font-size: .93rem; }
.give-card p:last-child { margin-bottom: 0; }

.receipt {
  background: var(--paper); border: 1px solid var(--line);
  border-top: 3px solid var(--gold-500); border-radius: var(--radius);
  padding: 1.75rem; text-align: center; margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}
.receipt__label {
  margin: 0; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 700;
}
.receipt__ref {
  margin: .5rem 0 0; font-family: var(--serif); font-size: 2.1rem; font-weight: 700;
  color: var(--navy-700); letter-spacing: .06em;
}
.receipt__amount { margin: .35rem 0 0; font-size: 1.2rem; font-weight: 600; color: var(--gold-600); }

/* --- hand-off panel (built by contribute.js) ----------------------------- */

.handoff { display: grid; gap: 1.25rem; text-align: center; }
.handoff__ref {
  font-family: var(--serif); font-size: 1.9rem; font-weight: 700;
  color: var(--navy-700); letter-spacing: .06em; margin: 0;
}
.handoff__qr {
  margin-inline: auto; border: 6px solid #fff; border-radius: 10px;
  box-shadow: var(--shadow-md); background: #fff;
}
.handoff__hint {
  font-size: .9rem; color: var(--ink-soft);
  background: #fffbf0; border: 1px solid #f0e2bd; border-radius: 8px;
  padding: .8rem 1rem; margin: 0;
}

/* --- social follow ------------------------------------------------------- */

.social__heading {
  margin: 0 0 .6rem; font-size: .72rem; letter-spacing: .16em;
  text-transform: uppercase; font-weight: 700; color: var(--gold-400);
}
.social__links { display: flex; flex-wrap: wrap; gap: .55rem; }
.social__link {
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 50%; background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.social__link:hover {
  background: var(--gold-500); border-color: var(--gold-500); transform: translateY(-2px);
}
.social__icon { width: 20px; height: 20px; fill: #fff; }
.social__link:hover .social__icon { fill: var(--navy-900); }

.social--hero { margin-top: 2rem; }
.social--footer { margin-top: .9rem; }
.social--footer .social__link { width: 38px; height: 38px; }
.social--footer .social__icon { width: 18px; height: 18px; }

/* --- share --------------------------------------------------------------- */

.share--band {
  background: var(--navy-800);
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-block: clamp(2.25rem, 4.5vw, 3.25rem);
  color: #fff;
}
.share--band .share__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center;
}
.share__heading {
  font-size: clamp(1.3rem, 2.4vw, 1.75rem); color: #fff; margin: 0;
}
.share__sub { margin: .55rem 0 0; color: #b9c8d9; font-size: .96rem; max-width: 46ch; }

.share__btns { display: flex; flex-wrap: wrap; gap: .6rem; }

.share__btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .68rem 1.05rem;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  color: #fff; text-decoration: none;
  font-size: .9rem; font-weight: 600; white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease, color .15s ease;
}
.share__btn:hover { transform: translateY(-2px); color: #fff; }
.share__btn:active { transform: translateY(0); }
.share__icon { width: 18px; height: 18px; fill: currentColor; flex: none; }

.share__btn--facebook:hover { background: #1877f2; border-color: #1877f2; }
.share__btn--x:hover        { background: #000; border-color: #000; }
.share__btn--whatsapp:hover { background: #25d366; border-color: #25d366; color: var(--navy-900); }
.share__btn--sms:hover      { background: #34c759; border-color: #34c759; color: var(--navy-900); }
.share__btn--email:hover    { background: var(--navy-500); border-color: var(--navy-500); }
.share__btn--copy:hover,
.share__btn--native:hover   { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-900); }

.share__btn--native { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-900); }

.share__toast {
  grid-column: 1 / -1; margin: .5rem 0 0; justify-self: end;
  font-size: .85rem; font-weight: 600; color: var(--gold-400);
}

/* On a light background (used inside pages rather than as a band). */
.share:not(.share--band) .share__heading { color: var(--navy-700); font-size: 1.15rem; }
.share:not(.share--band) .share__btn {
  background: #fff; border-color: #cdd4dd; color: var(--navy-700);
}
.share:not(.share--band) .share__btns { margin-top: .9rem; }

@media (max-width: 820px) {
  .share--band .share__inner { grid-template-columns: 1fr; }
  .share__toast { justify-self: start; }
}
@media (max-width: 520px) {
  .share__btn { flex: 1 1 calc(50% - .3rem); justify-content: center; }
}

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

.footer { background: var(--navy-900); color: #9fb0c2; padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.footer__inner {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  padding-bottom: 2.5rem;
}
.footer__col { display: grid; align-content: start; gap: .5rem; }
.footer__brand .brand__mark { margin-bottom: .35rem; }
.footer__name { margin: 0; font-family: var(--serif); font-size: 1.15rem; color: #fff; font-weight: 700; }
.footer__office { margin: 0; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-400); }
.footer__head {
  margin: 0 0 .35rem; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: #fff; font-weight: 700;
}
.footer__col a { color: #9fb0c2; text-decoration: none; font-size: .93rem; }
.footer__col a:hover { color: var(--gold-400); }
.footer__line { margin: 0; font-size: .93rem; }
.footer__note { margin: 0; font-size: .85rem; color: #7d8fa2; }

.footer__legal {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-block: 1.5rem 2rem;
}
.disclaimer {
  margin: 0 0 .5rem; font-weight: 700; color: #fff;
  font-size: .88rem; letter-spacing: .04em;
}
.footer__fine { margin: 0; font-size: .78rem; color: #6f8195; line-height: 1.6; }

/* Deliberately quiet: staff need to find it, visitors have no reason to. */
.footer__staff { margin: .9rem 0 0; }
.footer__staff a {
  font-size: .76rem; color: #5d6f83; text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  padding-bottom: 1px;
}
.footer__staff a:hover { color: var(--gold-400); border-bottom-color: var(--gold-400); }

/* --- responsive ---------------------------------------------------------- */

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__figure { order: -1; }
  .portrait-frame { width: min(280px, 70%); }
  .hero__title { font-size: clamp(2.1rem, 8vw, 2.9rem); }

  .bio-grid, .give-grid { grid-template-columns: 1fr; }
  .give-aside { position: static; }
  .cta-band__inner { grid-template-columns: 1fr; justify-items: start; }
  .cta-band__inner--center { justify-items: center; }
}

@media (max-width: 760px) {
  .nav__toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-800);
    border-bottom: 3px solid var(--gold-500);
    padding: .5rem clamp(1.15rem, 4vw, 2.5rem) 1.25rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__link { padding: .85rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav__link.is-active { border-bottom-color: var(--gold-500); }
  .nav__cta { margin-top: .9rem; text-align: center; }
  .masthead__inner { position: relative; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .plank { grid-template-columns: 1fr; gap: .5rem; }
  .tl__item { grid-template-columns: 1fr; gap: .2rem; }
  .prose p:first-child::first-letter { font-size: 3rem; }
  .hero__actions .btn, .cta-band__actions .btn { flex: 1 1 100%; }
}

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

@media print {
  .masthead, .footer__inner, .nav, .cta-band, .skip-link { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .hero, .page-head { background: #fff !important; color: #000 !important; }
  .hero__title, .page-head__title { color: #000 !important; }
}
