:root {
  color-scheme: light dark;
  --paper: #fcfbf7;
  --surface: #ffffff;
  --soft: #edf1ea;
  --ink: #233b31;
  --muted: #405046;
  --green: #204d3c;
  --green-hover: #133929;
  --on-green: #ffffff;
  --gold: #8b6c2b;
  --rule: #c8d0c5;
  --focus: #5c4400;
  --footer: #17392d;
  --footer-ink: #ffffff;
  --footer-muted: #e0e9dd;
  --support-background: #204d3c;
  --support-ink: #ffffff;
  --support-button-background: #ffffff;
  --support-button-ink: #204d3c;
  --radius: 5px;
  --content: 1240px;
}

* { box-sizing: border-box; }

html {
  font-size: 100%;
  scroll-behavior: auto;
  scroll-padding-top: 220px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  font-size: 22px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

button, summary { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }

a {
  color: var(--green);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
}

a:hover { text-decoration-thickness: 3px; }

button { cursor: pointer; }

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

h1, h2, h3, p, figure, dl { margin: 0; }

h1, h2, h3, .brand-acronym {
  font-family: "Lora", Georgia, serif;
  font-weight: 500;
}

h1 {
  font-size: clamp(46px, 4.7vw, 68px);
  line-height: 1.17;
  letter-spacing: -1.7px;
}

h2 {
  font-size: clamp(36px, 3.3vw, 46px);
  line-height: 1.25;
  letter-spacing: -.7px;
  margin-bottom: 22px;
  max-width: 23ch;
}

h3 {
  font-size: 29px;
  line-height: 1.35;
  letter-spacing: -.25px;
}

p, li, dd { max-width: 55ch; }
p + p { margin-top: 20px; }
strong { font-weight: 650; }
img { display: block; max-width: 100%; height: auto; }
svg { flex-shrink: 0; }

.wrap {
  width: min(var(--content), calc(100% - 96px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 20px;
  z-index: 10;
  padding: 14px 24px;
  min-height: 56px;
  background: var(--surface);
  transform: translateY(-160%);
}

.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-top: 5px solid var(--green);
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 22px 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 64px;
  text-decoration: underline;
}

.brand-symbol { width: 58px; height: 58px; color: var(--green); }
.brand-copy { display: flex; flex-direction: column; }
.brand-acronym { font-size: 34px; letter-spacing: 2px; line-height: 1.15; }
.brand-name { font-size: 20px; line-height: 1.6; }

.language-switch {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 20px;
}

.language-switch a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding-inline: 8px;
}

.language-switch a[aria-current] { font-weight: 700; }
.language-switch span { color: var(--muted); }

.desktop-nav { border-top: 1px solid var(--rule); }
.desktop-nav ul, .mobile-menu ul, .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.desktop-nav ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 9px;
}

.desktop-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-size: 20px;
  padding-inline: 3px;
}

.desktop-nav .nav-contact {
  padding-inline: 23px;
  border: 1px solid var(--green);
  border-radius: var(--radius);
  font-weight: 650;
}

.mobile-menu { display: none; }

.hero { padding-block: 66px 62px; }

.hero-grid {
  display: grid;
  grid-template-columns: .92fr 1.18fr;
  align-items: center;
  gap: 60px;
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 650;
  margin-bottom: 22px;
}

.hero-location::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero-acronym { margin-top: 14px; font-size: 24px; font-weight: 650; }
.hero-mission { margin-top: 22px; max-width: 37ch; font-size: 24px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 60px;
  padding: 12px 28px;
  border: 2px solid var(--green);
  border-radius: var(--radius);
  background: var(--green);
  color: var(--on-green);
  font-weight: 650;
  text-align: center;
  line-height: 1.6;
}

.button:hover { background: var(--green-hover); border-color: var(--green-hover); }
.button:focus-visible { outline-color: var(--focus); }
.hero .button { margin-top: 28px; }

.hero-photo { position: relative; }
.hero-photo::before {
  content: "";
  position: absolute;
  inset: -14px 14px 65px -14px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
}

.photo-link {
  display: block;
  min-height: 48px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}

.photo-link img { width: 100%; }

.photo-view {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 6px 16px;
  font-size: 20px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  background: var(--surface);
}

.photo-view svg { width: 19px; height: 19px; }

figcaption {
  padding-top: 12px;
  font-size: 20px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 55ch;
}

.values-band { background: var(--soft); border-block: 1px solid var(--rule); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 27px; }
.value { padding-inline: 34px; border-left: 1px solid var(--rule); }
.value:first-child { padding-left: 0; border-left: 0; }
.value:last-child { padding-right: 0; }
.value strong { display: block; font-size: 24px; color: var(--ink); }
.value p { font-size: 20px; color: var(--muted); }

.section { padding-block: 94px; }
.section-intro { max-width: 55ch; margin-bottom: 42px; }
.section-intro p { color: var(--muted); }

.about-grid { display: grid; grid-template-columns: .94fr 1.06fr; gap: 70px; align-items: center; }
.about-copy > p { max-width: 49ch; }
.about-facts { margin-top: 30px; padding-left: 24px; border-left: 3px solid var(--gold); }
.about-facts > div + div { margin-top: 20px; }
dt { font-weight: 650; }
dd { margin: 3px 0 0; }
.about-facts dd { color: var(--muted); font-size: 20px; }

.actions { background: var(--soft); border-block: 1px solid var(--rule); }
.action-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px; }
.action-card {
  grid-column: span 2;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}

.action-card:nth-child(n + 4) { grid-column: span 3; }
.action-card figure { border-bottom: 1px solid var(--rule); }
.action-card .photo-link { border: 0; border-radius: 0; }
.action-card .photo-image { aspect-ratio: 16 / 9; position: relative; display: block; background: var(--soft); }
.action-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.action-card figcaption { padding: 0 22px 16px; }
.action-copy { padding: 26px 27px 30px; }
.action-copy h3 { margin-bottom: 18px; }
.statutory-objective { font-weight: 600; }
.action-note { font-size: 20px; color: var(--muted); }

.community-row { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.community-copy h3 { margin-bottom: 18px; font-size: 32px; }
.community-copy p { max-width: 44ch; }
.community-secondary { margin-top: 30px; }
.community-row + .community-row { margin-top: 68px; padding-top: 68px; border-top: 1px solid var(--rule); }
.community-row.civic { grid-template-columns: .85fr 1.15fr; }

.legal { background: var(--soft); border-block: 1px solid var(--rule); }
.legal-grid { display: grid; grid-template-columns: 1.35fr .75fr; gap: 88px; align-items: start; }
.legal-facts { margin-top: 27px; }
.legal-facts > div { padding-block: 17px; border-bottom: 1px solid var(--rule); }
.legal-facts > div:first-child { padding-top: 0; }
.legal-facts dd { font-size: 20px; color: var(--muted); }
.legal-name { margin-top: 25px; font-size: 20px; }
.receipt-photo { max-width: 390px; margin-top: 9px; }

.gallery-help { font-size: 20px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; align-items: start; }
.gallery-column { display: grid; gap: 34px; }

.support {
  background: var(--support-background);
  color: var(--support-ink);
  position: relative;
}

.support h2 { color: var(--support-ink); }
.support .section-intro p { color: var(--support-ink); max-width: 48ch; font-size: 24px; }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-bottom: 36px; }
.support-grid h3 { margin-bottom: 16px; }
.support-grid p { max-width: 49ch; }
.support .button { background: var(--support-button-background); color: var(--support-button-ink); border-color: var(--support-button-background); }
.support .button:hover { text-decoration-thickness: 3px; }
.support :focus-visible { outline-color: var(--support-ink); }
.site-footer :focus-visible { outline-color: var(--footer-ink); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-copy p { max-width: 41ch; }
.contact-card { padding: 32px 36px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); }
.contact-card dt { font-size: 20px; }
.contact-card > div + div { margin-top: 25px; }
.email-link { display: inline-flex; min-height: 54px; align-items: center; font-size: 28px; font-weight: 650; }
address { font-style: normal; }

.site-footer { background: var(--footer); color: var(--footer-ink); padding-block: 43px 24px; }
.footer-top { display: flex; justify-content: space-between; gap: 60px; padding-bottom: 30px; }
.site-footer a, .site-footer .brand-symbol { color: var(--footer-ink); }
.site-footer .brand-name { color: var(--footer-muted); }
.footer-description { max-width: 40ch; font-size: 20px; margin-top: 19px; color: var(--footer-muted); }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; column-gap: 36px; }
.footer-links a { display: flex; align-items: center; min-height: 48px; font-size: 20px; }
.footer-bottom { border-top: 1px solid #6d8778; padding-top: 23px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px; }
.footer-bottom p { font-size: 20px; color: var(--footer-muted); }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 48px; }

.photo-dialog {
  width: min(1100px, calc(100% - 48px));
  max-height: calc(100dvh - 48px);
  padding: 24px;
  border: 2px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  overflow: auto;
}

.photo-dialog::backdrop { background: rgb(8 22 15 / 85%); }
.dialog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.dialog-toolbar h2 { margin: 0; font-size: 28px; }
.dialog-toolbar form { margin: 0; }
.dialog-toolbar .button { min-width: 132px; }
.dialog-figure img { width: 100%; max-height: 65dvh; object-fit: contain; background: var(--soft); }
.dialog-figure figcaption { color: var(--ink); }
.dialog-original { display: inline-flex; align-items: center; min-height: 48px; margin-top: 12px; font-size: 20px; }
.dialog-help { font-size: 20px; color: var(--muted); }
.lightbox-open { overflow: hidden; }

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121f19;
    --surface: #1b2c23;
    --soft: #21362b;
    --ink: #f3f5e9;
    --muted: #d4decf;
    --green: #c0dec4;
    --green-hover: #deefdb;
    --on-green: #14291d;
    --gold: #d6bb77;
    --rule: #536a59;
    --focus: #f4d790;
    --footer: #0e1c15;
    --footer-ink: #f3f5e9;
    --footer-muted: #d4decf;
    --support-background: #284937;
    --support-ink: #f3f5e9;
    --support-button-background: #c0dec4;
    --support-button-ink: #14291d;
  }
}

@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .hero-grid { gap: 38px; grid-template-columns: 1fr 1fr; }
  h1 { font-size: 52px; }
  .about-grid, .community-row, .community-row.civic, .legal-grid { gap: 42px; }
  .desktop-nav ul { gap: 10px; }
  .action-copy { padding-inline: 22px; }
  .hero-mission { font-size: 22px; }
}

@media (max-width: 960px) {
  html { scroll-padding-top: 24px; }
  .site-header { position: static; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; padding-block: 0 18px; }
  .mobile-menu summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    padding: 9px 18px;
    border: 1px solid var(--green);
    border-radius: var(--radius);
    color: var(--green);
    font-weight: 650;
    cursor: pointer;
    list-style: none;
  }

  .mobile-menu summary::-webkit-details-marker { display: none; }
  .menu-symbol { width: 24px; height: 24px; }
  .mobile-menu ul { padding-top: 10px; }
  .mobile-menu li + li { border-top: 1px solid var(--rule); }
  .mobile-menu a { display: flex; align-items: center; min-height: 56px; padding: 8px 18px; }
  .hero { padding-block: 50px; }
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero-copy { max-width: 600px; }
  h1 { font-size: 60px; }
  .hero-mission { max-width: 47ch; font-size: 24px; }
  .hero-photo { max-width: 760px; margin-left: 14px; }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
  .value { padding-inline: 20px; }
  .value strong { font-size: 22px; }
  .section { padding-block: 70px; }
  .action-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .action-card, .action-card:nth-child(n + 4) { grid-column: auto; }
  .action-card:last-child { grid-column: 1 / -1; }
  .action-card:last-child .photo-image { aspect-ratio: 2.2; }
  .community-row, .community-row.civic { grid-template-columns: 1fr 1fr; gap: 36px; }
  .legal-grid { grid-template-columns: 1.2fr .8fr; gap: 36px; }
  .gallery-grid { gap: 22px; }
  .support-grid, .contact-grid { gap: 38px; }
  .contact-card { padding: 25px; }
  .email-link { font-size: 25px; }
}

@media (max-width: 700px) {
  .wrap { width: calc(100% - 40px); }
  .header-top { flex-wrap: wrap; gap: 12px; padding-block: 19px 14px; }
  .brand { gap: 12px; }
  .brand-symbol { width: 48px; height: 48px; }
  .brand-acronym { font-size: 31px; }
  .brand-name { font-size: 20px; }
  .language-switch { gap: 8px; }
  .language-switch a:first-child { padding-left: 0; }
  .hero { padding-block: 38px 42px; }
  h1 { font-size: clamp(43px, 8.8vw, 58px); letter-spacing: -1px; }
  .hero-location { margin-bottom: 17px; }
  .hero-acronym { font-size: 22px; }
  .hero-mission { font-size: 22px; }
  .hero .button { margin-top: 24px; }
  .hero-grid { gap: 34px; }
  .hero-photo { margin-left: 9px; }
  .hero-photo::before { inset: -9px 9px 82px -9px; }
  .values-grid { grid-template-columns: 1fr; padding-block: 4px; }
  .value, .value:first-child, .value:last-child { padding: 19px 0; border-left: 0; }
  .value + .value { border-top: 1px solid var(--rule); }
  .section { padding-block: 54px; }
  .section-intro { margin-bottom: 30px; }
  h2 { font-size: 36px; }
  h3 { font-size: 28px; }
  .about-grid, .community-row, .community-row.civic, .legal-grid, .support-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-copy { grid-row: 1; }
  .about-facts { padding-left: 19px; }
  .action-grid { grid-template-columns: 1fr; gap: 26px; }
  .action-card:last-child { grid-column: auto; }
  .action-card:last-child .photo-image { aspect-ratio: 16 / 9; }
  .action-copy { padding: 22px; }
  .community-copy h3 { font-size: 29px; }
  .community-row + .community-row { padding-top: 38px; margin-top: 38px; }
  .community-row.civic .community-copy { grid-row: 1; }
  .receipt-photo { margin-inline: auto; margin-top: 0; }
  .gallery-grid { grid-template-columns: 1fr; gap: 30px; }
  .gallery-column { gap: 30px; }
  .support-grid { margin-bottom: 28px; }
  .support .section-intro p { font-size: 22px; }
  .contact-card { padding: 24px 22px; }
  .email-link { font-size: 25px; }
  .footer-top { flex-direction: column; gap: 28px; }
  .footer-links { column-gap: 20px; }
  .footer-bottom { flex-direction: column; }
  .photo-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px); padding: 15px; }
  .dialog-toolbar { align-items: center; gap: 12px; }
  .dialog-toolbar h2 { font-size: 23px; }
  .dialog-toolbar .button { padding-inline: 16px; min-width: 98px; }
  .dialog-figure img { max-height: 58dvh; }
}

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

@media (forced-colors: active) {
  .button, .photo-link, .contact-card, .mobile-menu summary { border: 2px solid ButtonText; }
  :focus-visible { outline: 3px solid Highlight; }
}
