:root {
  --ink: #16221f;
  --muted: #4e5a55;
  --green: #103b37;
  --deep: #0d322f;
  --teal: #0f5a50;
  --cream: #fffdf8;
  --sand: #f5f0e4;
  --gold: #f6c65b;
  --coral: #d94f2b;
  --coral-dark: #c54122;
  --line: #e2ded1;
  --soft-green: #e7f2ed;
  --soft-gold: #fff6e5;
  --shadow: 0 14px 40px rgba(22, 34, 31, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.container {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(13, 50, 47, 0.9);
  color: #fff;
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 6px;
  background: var(--gold);
  color: var(--deep);
  font-weight: 900;
}

.brand-copy {
  display: grid;
  min-width: 0;
}

.brand-name,
.footer-brand {
  font-weight: 900;
  letter-spacing: 0;
}

.brand-sub {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  gap: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 800;
}

.desktop-nav a:hover {
  color: #fff;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 12px 20px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-small {
  min-height: 40px;
  padding: 9px 14px;
  font-size: 14px;
}

.button-coral {
  background: var(--coral);
  color: #fff;
}

.button-coral:hover {
  background: var(--coral-dark);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.button-ghost:hover {
  background: #fff;
  color: var(--ink);
}

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.button-outline-light:hover {
  background: #fff;
  color: var(--ink);
}

.button-outline-dark {
  border-color: rgba(15, 90, 80, 0.34);
  background: #fff;
  color: var(--teal);
}

.button-outline-dark:hover {
  border-color: var(--teal);
  background: var(--soft-green);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  background: var(--deep);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 24, 22, 0.78), rgba(5, 24, 22, 0.42), rgba(5, 24, 22, 0.08)),
    rgba(6, 26, 24, 0.44);
}

.hero-content {
  position: relative;
  display: flex;
  min-height: 88svh;
  align-items: flex-end;
  padding: 120px 0 44px;
}

.hero-copy {
  max-width: 820px;
  color: #fff;
}

.location-pill {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 24px 0 0;
  max-width: 780px;
  font-size: clamp(48px, 8vw, 92px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
}

.hero-lead {
  margin: 24px 0 0;
  max-width: 780px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 800;
  line-height: 1.7;
}

.hero-sub {
  margin: 18px 0 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.76);
}

.hero-metrics {
  display: grid;
  max-width: 760px;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 40px;
}

.hero-metrics div {
  min-height: 92px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  padding: 16px;
  backdrop-filter: blur(8px);
}

.hero-metrics span {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-metrics strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 20px;
  line-height: 1.35;
}

.intro-band {
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.intro-grid {
  padding-block: 56px;
}

.section {
  scroll-margin-top: 84px;
  padding-block: 88px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #b4492e;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.gold {
  color: var(--gold);
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4.4vw, 48px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.18;
}

h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.35;
}

p {
  margin: 0;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 48px;
}

.align-center {
  align-items: center;
}

.align-start {
  align-items: start;
}

.copy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  color: var(--muted);
}

.body-copy {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.section-lead {
  margin-top: 18px;
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.8;
}

.lead-copy p:first-child {
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

blockquote {
  margin: 4px 0;
  border-left: 4px solid var(--coral);
  background: var(--soft-gold);
  padding: 20px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.7;
}

.green-quote {
  border-left-color: var(--teal);
  background: var(--soft-green);
}

.image-frame {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid #d9d2bf;
  border-radius: 8px;
  background: var(--green);
  box-shadow: var(--shadow);
}

.placeholder::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(135deg, #123d38 0%, #17655c 46%, #f4c25a 100%),
    #123d38;
}

.placeholder::after {
  position: absolute;
  inset: auto 0 0;
  padding: 64px 24px 24px;
  background: linear-gradient(0deg, rgba(6, 26, 24, 0.9), transparent);
  color: #fff;
  content: attr(data-label);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.5;
}

.dark-section,
.supporter-section,
.final-section {
  background: var(--green);
  color: #fff;
}

.dark-section h2,
.supporter-section h2,
.final-section h2 {
  color: #fff;
}

.muted-on-dark {
  color: rgba(255, 255, 255, 0.74);
}

.dark-placeholder {
  border-color: rgba(255, 255, 255, 0.12);
}

.specialist-section {
  background: #fff;
}

.specialist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.specialist-card {
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: var(--shadow);
  padding: 24px;
}

.specialist-card span {
  display: inline-flex;
  border-radius: 999px;
  background: var(--soft-green);
  color: var(--teal);
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 900;
}

.specialist-card h3 {
  margin-top: 18px;
}

.specialist-card p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.funding-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  padding: 24px;
}

.funding-note strong {
  font-size: 22px;
  line-height: 1.45;
}

.funding-note p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.8;
}

.activity-layout {
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.stat-card,
.use-grid article,
.flow-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.stat-card {
  min-height: 140px;
  padding: 22px;
}

.stat-card strong {
  display: block;
  color: #b4492e;
  font-size: 36px;
  font-weight: 900;
  line-height: 1.1;
}

.stat-card span {
  display: block;
  margin-top: 12px;
  color: #485550;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.7;
}

.circulation {
  border-block: 1px solid var(--line);
  background: var(--sand);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.flow-grid article {
  padding: 22px;
}

.flow-grid span {
  color: #b4492e;
  font-size: 13px;
  font-weight: 900;
}

.flow-grid h3 {
  margin-top: 10px;
}

.flow-grid p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.use-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.use-grid article {
  padding: 22px;
}

.icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 6px;
  background: var(--soft-green);
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
}

.use-grid h3 {
  margin-top: 18px;
}

.use-grid p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.tier-grid article {
  border-radius: 8px;
  background: var(--green);
  padding: 22px;
  color: #fff;
}

.tier-grid h3 {
  color: var(--gold);
  font-size: 15px;
}

.tier-grid p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.8;
}

.support-form {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  padding: 24px;
}

.form-icon {
  color: var(--gold);
  font-size: 28px;
  line-height: 1;
}

.support-form > p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.support-form label {
  display: grid;
  gap: 8px;
}

.support-form span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 800;
}

.support-form input,
.support-form select {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0 12px;
  outline: none;
}

.support-form select option {
  color: var(--ink);
}

.support-form input:focus,
.support-form select:focus {
  border-color: var(--gold);
}

.support-form .button {
  width: 100%;
  cursor: pointer;
}

.syncable-guide {
  margin-top: 26px;
  border: 1px solid rgba(246, 198, 91, 0.34);
  border-radius: 8px;
  background: rgba(246, 198, 91, 0.1);
  padding: 20px;
}

.syncable-guide h3 {
  color: #fff;
  font-size: 20px;
}

.syncable-guide p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.8;
}

.form-message {
  min-height: 20px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
}

.corporate-section {
  border-block: 1px solid var(--line);
  background: #fff;
}

.sponsor-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--sand);
  box-shadow: var(--shadow);
  padding: 28px;
}

.sponsor-amount {
  color: #b4492e;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 900;
  line-height: 1.1;
}

.sponsor-panel > p:not(.sponsor-amount) {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.8;
}

.contact-section {
  background: #fff;
}

.contact-form {
  background: var(--green);
  color: #fff;
}

.contact-form input,
.contact-form select {
  border: 1.5px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.contact-form input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.contact-form input:focus,
.contact-form select:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.2);
}

.contact-form .form-icon {
  color: var(--gold);
}

.contact-form .form-message {
  color: rgba(255, 255, 255, 0.66);
}

.report-section {
  border-block: 1px solid var(--line);
  background: var(--soft-gold);
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.report-grid p {
  position: relative;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 16px 16px 16px 42px;
  color: #33413c;
  font-size: 14px;
  font-weight: 800;
}

.report-grid p::before {
  position: absolute;
  top: 16px;
  left: 16px;
  color: var(--teal);
  content: "✓";
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 20px;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  font-weight: 900;
  line-height: 1.6;
}

.faq-list summary::after {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 6px;
  background: var(--sand);
  color: #33413c;
  content: "›";
  font-size: 22px;
  transition: transform 160ms ease;
}

.faq-list details[open] summary::after {
  background: var(--teal);
  color: #fff;
  transform: rotate(90deg);
}

.faq-list details p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.profile-panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  padding: 24px;
}

.profile-panel h3 {
  color: #fff;
  font-size: 26px;
}

.profile-panel p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.8;
}

.profile-panel .small {
  color: rgba(255, 255, 255, 0.54);
  font-size: 12px;
}

.site-footer {
  background: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 40px;
  color: var(--muted);
  font-size: 14px;
}

.footer-brand {
  color: var(--ink);
  font-size: 18px;
}

.site-footer a {
  color: var(--teal);
  font-weight: 900;
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .two-column,
  .activity-layout {
    grid-template-columns: 1fr;
  }

  .copy-grid,
  .hero-metrics,
  .specialist-grid,
  .use-grid,
  .tier-grid {
    grid-template-columns: 1fr;
  }

  .funding-note {
    display: grid;
  }

  .image-frame {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .header-inner {
    min-height: 62px;
  }

  .brand-sub {
    display: none;
  }

  .site-header .button {
    max-width: 152px;
    white-space: normal;
  }

  .hero-content {
    padding-top: 94px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .section {
    padding-block: 68px;
  }

  .stat-grid,
  .flow-grid,
  .report-grid {
    grid-template-columns: 1fr;
  }

  blockquote {
    font-size: 18px;
  }
}

/* Scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header scroll state */
.site-header.scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background: rgba(13, 50, 47, 0.97);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

/* Stat card hover */
.stat-card:hover,
.use-grid article:hover,
.flow-grid article:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 48px rgba(22, 34, 31, 0.14);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

/* FAQ details open/close animation */
.faq-list details p {
  animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero parallax subtle */
.hero-content {
  animation: heroFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-content {
    animation: none;
  }
}
