/* ==========================================================================
   The Penny Power Project — site styles
   Palette (client-mandated greens). Contrast notes (WCAG 2.x):
     white   on #38761d  5.6:1  AA body
     white   on #284e13  9.6:1
     lime    on #284e13  4.7:1  AA body     lime on #38761d 2.7:1 -> never
     lime    on #1c3a0c  6.2:1
     #1c3a0c on #f6f8f2 11.9:1
   ========================================================================== */

:root {
  --green-deep: #1c3a0c;
  --green-dark: #284e13;
  --green: #38761d;
  --lime: #8cc63f;
  --paper: #f6f8f2;
  --white: #ffffff;
  --ink: #1c3a0c;
  --ink-soft: #3d5530;          /* 8.4:1 on paper */
  --line-light: rgba(255, 255, 255, 0.22);
  --line-paper: #d5dfca;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-small: 0.875rem;
  --fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --fs-lede: clamp(1.125rem, 1.04rem + 0.45vw, 1.375rem);
  --fs-h3: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
  --fs-h2: clamp(2rem, 1.55rem + 2vw, 3.25rem);
  --fs-h1: clamp(2.25rem, 1.4rem + 4.2vw, 5.25rem);

  --s1: 0.5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2rem; --s5: 2.5rem;
  --s6: 3rem; --s8: 4rem; --s10: 5rem; --s12: 6rem;
  --band-pad: clamp(4rem, 2.8rem + 5vw, 7.5rem);

  --maxw: 1160px;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2rem);
  --radius-card: 14px;
  --radius-img: 10px;
  --shadow: 0 1px 2px rgba(16, 36, 6, 0.25), 0 12px 32px -12px rgba(16, 36, 6, 0.45);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--white);
  background: var(--green-dark);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  font-variation-settings: "SOFT" 30, "WONK" 0;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }
ul { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}
.band--paper :focus-visible, .form-card :focus-visible { outline-color: var(--green); }

.sr-only {
  position: absolute !important; 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: var(--s2); top: -100px; z-index: 100;
  background: var(--lime); color: var(--green-deep); font-weight: 700;
  padding: 0.6rem 1rem; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: var(--s2); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(780px + 2 * var(--gutter)); }

.band { padding-block: var(--band-pad); position: relative; }
.band--deep { background: var(--green-deep); }
.band--dark { background: var(--green-dark); }
.band--green { background: var(--green); }
.band--paper { background: var(--paper); color: var(--ink); }
.band--tight { padding-block: clamp(3rem, 2.4rem + 2.5vw, 4.5rem); }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  letter-spacing: 0.01em; margin: 0 0 var(--s3);
  color: var(--lime);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.band--green .eyebrow { color: var(--white); }
.band--paper .eyebrow { color: var(--green); }

.h2 { font-size: var(--fs-h2); margin-bottom: var(--s3); }
.h3 { font-size: var(--fs-h3); }
.lede { font-size: var(--fs-lede); line-height: 1.55; max-width: 44rem; }
.band--dark .lede, .band--deep .lede { color: rgba(255, 255, 255, 0.9); }
.prose { max-width: 42rem; }
.prose p + p { margin-top: 1.1em; }
.prose a, .link {
  color: inherit; text-decoration: underline; text-decoration-color: var(--lime);
  text-decoration-thickness: 2px; text-underline-offset: 4px;
  transition: text-decoration-color 0.2s var(--ease), color 0.2s var(--ease);
}
.band--green .prose a, .band--green .link { text-decoration-color: rgba(255,255,255,0.7); }
.prose a:hover, .link:hover { text-decoration-color: currentColor; }
.band--dark .prose a:hover, .band--deep .prose a:hover { color: var(--lime); }

.section-head { margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head--center { text-align: center; }
.section-head--center .lede { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--lime); --btn-fg: var(--green-deep);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 48px; padding: 0.75rem 1.5rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; border-radius: 999px; border: 2px solid var(--btn-bg);
  background: var(--btn-bg); color: var(--btn-fg); cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:hover { --btn-bg: #a3d65f; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--white); border-color: rgba(255,255,255,0.55); }
.btn--ghost:hover { --btn-bg: rgba(255,255,255,0.1); border-color: var(--white); }
.btn--white { --btn-bg: var(--white); --btn-fg: var(--green-deep); }
.btn--white:hover { --btn-bg: var(--paper); }
.btn--solid { --btn-bg: var(--green); --btn-fg: var(--white); }
.btn--solid:hover { --btn-bg: var(--green-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s2); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--green-deep);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--white); border-radius: 12px; }
.brand__mark {
  width: 46px; height: 46px; border-radius: 50%; background: var(--paper);
  display: grid; place-items: center; flex: none; overflow: hidden;
}
.brand__mark img { width: 36px; height: 36px; object-fit: contain; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; white-space: nowrap; line-height: 1.05; letter-spacing: -0.01em; }
.brand__name small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.02em; color: var(--lime); margin-top: 2px; }

.nav__links { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.nav__links a:not(.btn) {
  display: inline-block; padding: 0.55rem 0.85rem; border-radius: 8px;
  color: rgba(255,255,255,0.88); text-decoration: none; font-weight: 600; font-size: 0.98rem;
  position: relative; transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav__links a:not(.btn):hover { color: var(--white); background: rgba(255,255,255,0.07); }
.nav__links a[aria-current="page"]:not(.btn) { color: var(--white); }
.nav__links a[aria-current="page"]:not(.btn)::after {
  content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.2rem;
  height: 2px; background: var(--lime); border-radius: 2px;
}
.nav__links .btn { min-height: 42px; padding: 0.55rem 1.2rem; margin-left: 0.5rem; }
.nav__links .btn[aria-current="page"] { box-shadow: 0 0 0 3px rgba(140,198,63,0.35); }

.nav__toggle {
  display: none; width: 48px; height: 48px; border-radius: 10px;
  background: transparent; border: 1px solid rgba(255,255,255,0.25); cursor: pointer;
  align-items: center; justify-content: center; color: var(--white);
  transition: background-color 0.2s var(--ease);
}
.nav__toggle:hover { background: rgba(255,255,255,0.08); }
.nav__toggle svg { width: 24px; height: 24px; }
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-open { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 900px) {
  .js .nav__toggle { display: inline-flex; }
  .nav { flex-wrap: wrap; }
  /* Without JS the links simply wrap under the brand */
  .nav__links { flex-wrap: wrap; width: 100%; padding-bottom: var(--s2); }
  .js .nav__links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--green-deep); padding: var(--s1) var(--gutter) var(--s3);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 18px 30px -18px rgba(0,0,0,0.6);
  }
  .js .nav__links.is-open { display: flex; }
  .js .nav__links a:not(.btn) { display: block; padding: 0.85rem 0.25rem; border-bottom: 1px solid rgba(255,255,255,0.08); border-radius: 0; font-size: 1.05rem; }
  .js .nav__links a[aria-current="page"]:not(.btn)::after { left: 0.25rem; right: auto; width: 28px; bottom: 0.45rem; }
  .js .nav__links .btn { margin: var(--s2) 0 0; width: 100%; min-height: 48px; }
}
@media (max-width: 420px) {
  .brand__name { font-size: 1.02rem; }
  .brand__mark { width: 40px; height: 40px; }
  .brand__mark img { width: 31px; height: 31px; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--green-dark);
  padding-block: clamp(3.5rem, 2rem + 6vw, 7.5rem) clamp(4rem, 2.5rem + 6vw, 8rem);
  min-height: min(calc(100svh - 76px), 900px);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero::before { /* faint coin-edge rings, purely decorative */
  content: ""; position: absolute; width: 900px; height: 900px; right: -320px; top: -260px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle at center, rgba(255,255,255,0.035) 0 1px, transparent 1px 34px);
  pointer-events: none;
}
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
  gap: clamp(2.5rem, 1rem + 5vw, 6rem); align-items: center; position: relative;
}
.hero__title { font-size: var(--fs-h1); font-weight: 600; line-height: 1.04; letter-spacing: -0.025em; margin-bottom: var(--s4); }
.hero__title .typed-line { display: block; min-height: 1.1em; }
.type-word {
  font-style: italic; font-weight: 500; color: var(--lime);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.caret {
  display: inline-block; width: 0.07em; height: 0.82em; margin-left: 0.06em;
  background: var(--lime); vertical-align: -0.04em; border-radius: 1px;
  animation: blink 1.05s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.hero__sub { font-size: var(--fs-lede); line-height: 1.55; color: rgba(255,255,255,0.9); max-width: 36rem; margin-bottom: var(--s5); }

.hero__media { position: relative; justify-self: end; width: 100%; max-width: 460px; }
.hero__photo {
  aspect-ratio: 4 / 5; border-radius: var(--radius-img); overflow: hidden;
  box-shadow: 0 30px 60px -25px rgba(0,0,0,0.6);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; left: -38px; bottom: 36px;
  width: 124px; height: 124px; border-radius: 50%; background: var(--paper);
  display: grid; place-items: center; box-shadow: 0 16px 30px -14px rgba(0,0,0,0.55);
  border: 6px solid var(--green-dark);
}
.hero__badge img { width: 84px; height: 84px; object-fit: contain; }
.hero__caption {
  margin-top: var(--s2); font-size: var(--fs-small); color: rgba(255,255,255,0.8);
  padding-left: 110px;
}

@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__media { justify-self: start; max-width: 520px; }
  .hero__photo { aspect-ratio: 4 / 3; }
  .hero__badge { left: auto; right: 18px; bottom: auto; top: -46px; width: 96px; height: 96px; border-width: 5px; }
  .hero__badge img { width: 64px; height: 64px; }
  .hero__caption { padding-left: 0; }
}

/* ---------- Stats ---------- */
.stats { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: var(--s2) clamp(1rem, 0.5rem + 1.5vw, 2rem); border-left: 1px solid var(--line-light); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.75rem, 2rem + 3vw, 4.25rem); line-height: 1; letter-spacing: -0.03em;
  color: var(--lime); margin-bottom: var(--s2); font-variant-numeric: lining-nums tabular-nums;
}
.stat__label { display: block; color: rgba(255,255,255,0.9); font-size: 1rem; line-height: 1.45; max-width: 15rem; }
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s5); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 480px) {
  .stat { padding-right: 0.5rem; }
  .stat:nth-child(even) { padding-left: 1rem; }
  .stat__label { font-size: 0.92rem; }
  .btn-row .btn { flex: 1 1 100%; }
}

/* ---------- Mission ---------- */
.mission { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.mission .h2 { position: sticky; top: 110px; }
.mission .prose { font-size: var(--fs-lede); line-height: 1.6; max-width: none; }
@media (max-width: 900px) {
  .mission { grid-template-columns: minmax(0, 1fr); gap: var(--s2); }
  .mission .h2 { position: static; }
}

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: center; }
.split { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.split__media { border-radius: var(--radius-img); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); max-width: 480px; width: 100%; }
@media (max-width: 900px) { .split__media { aspect-ratio: 4 / 3; max-width: 560px; } }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: var(--s4); }
.chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.95rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.45); font-weight: 600; font-size: 0.95rem; line-height: 1.2;
}
.chip svg { width: 16px; height: 16px; flex: none; }

/* ---------- Quotes ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: var(--s4); }
.quote {
  margin: 0; padding: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  border-radius: var(--radius-card); position: relative;
  display: flex; flex-direction: column; gap: var(--s3);
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
}
.band--green .quote { background: rgba(28, 58, 12, 0.28); border-color: rgba(255,255,255,0.18); }
.quote__mark { width: 40px; height: 32px; color: var(--lime); flex: none; }
.band--green .quote__mark { color: var(--white); opacity: 0.85; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.2rem, 1.08rem + 0.5vw, 1.45rem); line-height: 1.45; font-weight: 400; letter-spacing: -0.005em; }
.quote figcaption { margin-top: auto; font-weight: 600; font-size: 0.98rem; padding-top: var(--s2); border-top: 1px solid rgba(255,255,255,0.18); }
.quote figcaption span { display: block; font-weight: 400; color: rgba(255,255,255,0.88); font-size: 0.92rem; }
.quote--feature { grid-column: 1 / -1; }
.quote--feature blockquote { font-size: clamp(1.4rem, 1.15rem + 1.1vw, 2rem); line-height: 1.35; max-width: 52rem; }
.below-link { margin-top: var(--s5); }

/* ---------- CTA band ---------- */
.cta { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; }
.cta__title { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3.1rem); max-width: 24ch; }
.cta--center { flex-direction: column; text-align: center; justify-content: center; }
.cta--center .cta__title { margin-inline: auto; }

/* ---------- Page header ---------- */
.page-head { background: var(--green-dark); padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem) clamp(3rem, 2rem + 3.5vw, 5rem); position: relative; overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; width: 640px; height: 640px; right: -240px; top: -300px; border-radius: 50%;
  background: repeating-radial-gradient(circle at center, rgba(255,255,255,0.035) 0 1px, transparent 1px 30px);
  pointer-events: none;
}
.page-head h1 { font-size: clamp(2.5rem, 1.8rem + 3.4vw, 4.5rem); letter-spacing: -0.025em; margin-bottom: var(--s3); max-width: 18ch; }
.page-head .lede { color: rgba(255,255,255,0.9); }

/* ---------- Locations ---------- */
.loc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4.5vw, 5.5rem); align-items: center; }
.loc--flip .loc__media { order: 2; }
.loc__name { font-size: clamp(1.75rem, 1.35rem + 1.7vw, 2.6rem); margin-bottom: var(--s2); }
.loc__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin: 0 0 var(--s3); font-weight: 600; font-size: 0.98rem; }
.loc__meta .place { display: inline-flex; align-items: center; gap: 0.4rem; }
.loc__meta svg { width: 18px; height: 18px; flex: none; }
.band--dark .loc__meta .place svg, .band--deep .loc__meta .place svg { color: var(--lime); }
.grade {
  display: inline-block; padding: 0.25rem 0.75rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.5); font-size: 0.875rem; font-weight: 600;
}
.loc__text p { max-width: 36rem; }

.frame { border-radius: var(--radius-img); overflow: hidden; background: rgba(0,0,0,0.15); box-shadow: var(--shadow); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.loc__media { width: 100%; }
.loc__media > .frame--portrait { aspect-ratio: 4 / 5; max-width: 440px; }
.loc--flip .loc__media > .frame--portrait { margin-left: auto; }
.loc__media > .frame--landscape { aspect-ratio: 4 / 3; }

.gallery { display: grid; gap: var(--s2); grid-template-columns: 1fr 1fr; }
.gallery .frame { aspect-ratio: 3 / 4; }
.gallery .frame--wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }

@media (max-width: 900px) {
  .loc { grid-template-columns: minmax(0, 1fr); }
  .loc--flip .loc__media { order: 0; }
  .loc__media > .frame--portrait { aspect-ratio: 4 / 3; max-width: none; }
}
@media (max-width: 480px) {
  .gallery { gap: 0.6rem; }
}

.notes { font-size: 0.95rem; line-height: 1.6; color: rgba(255,255,255,0.9); }
.notes h2 { font-size: 1.35rem; margin-bottom: var(--s2); }
.notes ul { list-style: none; display: grid; gap: var(--s2); max-width: 52rem; }
.notes li { padding-left: 1.4rem; position: relative; }
.notes li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }

/* ---------- News ---------- */
.news { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: var(--s4); }
.news-card {
  border-radius: var(--radius-card); background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16); padding: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  display: flex; flex-direction: column; gap: var(--s2);
}
.news-card__source { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; color: var(--lime); font-size: 0.98rem; }
.news-card__source svg { width: 20px; height: 20px; }
.news-card h3 { font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.7rem); line-height: 1.2; }
.news-card blockquote { margin: 0; padding-left: var(--s3); border-left: 3px solid var(--lime); color: rgba(255,255,255,0.92); font-size: 1.02rem; }
.news-card .btn { align-self: flex-start; margin-top: auto; }
.news-card__foot { margin-top: auto; font-size: 0.92rem; color: rgba(255,255,255,0.85); }

/* ---------- Team ---------- */
.team-grid {
  display: grid; gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 460px));
  justify-content: center;
}
.member {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-card); overflow: hidden; display: flex; flex-direction: column;
}
.member__photo { aspect-ratio: 1 / 1; overflow: hidden; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member__body { padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); }
.member__name { font-size: clamp(1.6rem, 1.35rem + 1vw, 2.1rem); margin-bottom: 0.35rem; }
.member__role { display: inline-block; font-weight: 700; color: var(--lime); margin-bottom: var(--s3); }
.member__body p { color: rgba(255,255,255,0.92); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-person { margin-bottom: var(--s4); }
.contact-person h2 { font-size: clamp(1.6rem, 1.35rem + 1vw, 2.1rem); margin-bottom: 0.2rem; }
.contact-person .role { color: var(--lime); font-weight: 700; }
.contact-list { list-style: none; display: grid; gap: var(--s2); margin-bottom: var(--s5); }
.contact-list a {
  display: flex; align-items: center; gap: 0.9rem; text-decoration: none;
  padding: 0.35rem 0; border-radius: 8px; word-break: break-word;
  transition: color 0.2s var(--ease);
}
.contact-list a:hover { color: var(--lime); }
.contact-list a:hover span { text-decoration: underline; text-underline-offset: 4px; }
.contact-list .ico {
  width: 44px; height: 44px; flex: none; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.3);
}
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-size: 0.85rem; color: rgba(255,255,255,0.8); }
.contact-aside h3 { font-size: 1.25rem; margin-bottom: var(--s2); }

.social { display: flex; gap: 0.75rem; list-style: none; }
.social a {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  color: var(--white); border: 1px solid rgba(255,255,255,0.35);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.social a:hover { background: var(--lime); color: var(--green-deep); border-color: var(--lime); }
.social svg { width: 20px; height: 20px; }

.form-card {
  background: var(--paper); color: var(--ink); border-radius: var(--radius-card);
  padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.55);
}
.form-card h2 { font-size: clamp(1.6rem, 1.35rem + 1vw, 2.1rem); margin-bottom: 0.4rem; }
.form-card .form-intro { color: var(--ink-soft); margin-bottom: var(--s4); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
@media (max-width: 560px) { .form-row { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: var(--s3); }
.field label { font-weight: 700; font-size: 0.95rem; }
.field .req { color: #2f6317; }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 0.75rem 0.95rem; border-radius: 10px;
  border: 1.5px solid #b9c8aa; background: var(--white); color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23284e13' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 18px;
}
.field textarea { min-height: 160px; resize: vertical; line-height: 1.55; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--green); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(56,118,29,0.25); border-radius: 10px;
}
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.form-foot .btn { min-width: 200px; }
.form-foot .btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }
.form-note { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }
.form-status { margin-top: var(--s3); border-radius: 10px; padding: 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-success { background: #e3f0d6; color: #1c3a0c; padding: 1rem 1.2rem; border: 1px solid #9fc47a; }
.form-status.is-error { background: #fbe9e7; color: #7a1d10; padding: 1rem 1.2rem; border: 1px solid #e3a79c; }

/* ---------- 404 ---------- */
.notfound { min-height: calc(100svh - 76px - 280px); display: flex; align-items: center; }
.notfound__code { font-family: var(--font-display); font-size: clamp(5rem, 3rem + 10vw, 10rem); line-height: 0.9; color: var(--lime); font-weight: 600; font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1; margin-bottom: var(--s3); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-deep); padding-block: clamp(3.5rem, 2.5rem + 3vw, 5rem) var(--s4); border-top: 1px solid rgba(255,255,255,0.08); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 1fr); gap: var(--s5); padding-bottom: var(--s5); border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-logo { width: 150px; background: var(--paper); border-radius: var(--radius-card); padding: 0.75rem 1rem; margin-bottom: var(--s3); }
.footer-logo img { width: 100%; height: auto; }
.footer-tag { color: rgba(255,255,255,0.88); max-width: 22rem; }
.site-footer h2 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: var(--lime); letter-spacing: 0.01em; margin-bottom: var(--s2); }
.footer-links { list-style: none; display: grid; gap: 0.35rem; }
.footer-links a { text-decoration: none; color: rgba(255,255,255,0.9); padding: 0.15rem 0; display: inline-block; border-radius: 4px; transition: color 0.2s var(--ease); word-break: break-word; }
.footer-links a:hover { color: var(--lime); text-decoration: underline; text-underline-offset: 4px; }
.footer-contact .social { margin-top: var(--s3); }
.footer-bottom { padding-top: var(--s4); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s2); font-size: 0.9rem; color: rgba(255,255,255,0.8); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Reveal (JS-only enhancement) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .caret { display: none; }
}

/* Locations run as a long sequence of bands: tighter rhythm than marketing sections */
.band--loc { padding-block: clamp(3.5rem, 2.6rem + 3.5vw, 5.5rem); }

/* Contrast guards: lime is only allowed on #284e13 or darker */
.member { background: var(--green-deep); border-color: rgba(255,255,255,0.1); box-shadow: var(--shadow); }
.news-card { background: var(--green-deep); border-color: rgba(255,255,255,0.1); }
.band--green .contact-person .role { color: var(--white); }
.band--green .contact-list a:hover { color: var(--white); }

/* Testimonials page: one featured quote, then an even 2-up grid */
.quote-grid--page { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .quote-grid--page { grid-template-columns: minmax(0, 1fr); } }
.band--green .contact-list small { color: var(--white); }
