:root {
  --ink: #1a3a42;
  --ink-deep: #102a30;
  --teal: #1a5560;
  --teal-light: #2e7382;
  --green: #3a8c7a;
  --green-soft: #d9ebe4;
  --coral: #e8625a;
  --coral-soft: #fbe3e1;
  --mist: #eef3f1;
  --paper: #ffffff;
  --sand: #f7f5f1;
  --line: rgba(26, 58, 66, 0.12);
  --line-strong: rgba(26, 58, 66, 0.22);
  --muted: #5c7278;
  --shadow-sm: 0 1px 2px rgba(16, 42, 48, 0.06), 0 4px 12px rgba(16, 42, 48, 0.06);
  --shadow-md: 0 2px 6px rgba(16, 42, 48, 0.08), 0 18px 40px rgba(16, 42, 48, 0.10);
  --shadow-lg: 0 4px 12px rgba(16, 42, 48, 0.10), 0 32px 70px rgba(16, 42, 48, 0.16);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --shell: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(64px, 9vw, 128px);
  --font: "Host Grotesk", "Segoe UI", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.06;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.6rem, 6.4vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  line-height: 1.08;
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.72rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

h4 {
  font-size: 1.12rem;
  letter-spacing: -0.012em;
  line-height: 1.3;
}

p {
  margin: 0 0 1.15em;
}

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

ul,
ol {
  margin: 0 0 1.2em;
  padding-left: 1.25em;
}

li {
  margin-bottom: 0.5em;
}

strong {
  font-weight: 700;
}

::selection {
  background: var(--green);
  color: #fff;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.shell-narrow {
  max-width: 860px;
}

.section {
  padding-block: var(--section);
}

.section-tight {
  padding-block: clamp(48px, 6vw, 84px);
}

.bg-mist {
  background: var(--mist);
}

.bg-sand {
  background: var(--sand);
}

.bg-ink {
  background: var(--ink);
  color: #fff;
}

.bg-ink h2,
.bg-ink h3,
.bg-ink h4 {
  color: #fff;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 12px 0;
}

.skip-link:focus {
  left: 0;
}

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

/* ---------- Eyebrow, lede, dividers ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
}

.bg-ink .eyebrow {
  color: var(--green-soft);
}

.lede {
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 62ch;
}

.bg-ink .lede {
  color: rgba(255, 255, 255, 0.78);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head p {
  margin-top: 20px;
}

.split-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease,
    color 0.22s ease, border-color 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 10px 26px rgba(232, 98, 90, 0.34);
}

.btn-primary:hover {
  background: #d9524a;
  box-shadow: 0 16px 34px rgba(232, 98, 90, 0.42);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 26px rgba(16, 42, 48, 0.24);
}

.btn-dark:hover {
  background: var(--ink-deep);
}

.btn-green {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 26px rgba(58, 140, 122, 0.3);
}

.btn-green:hover {
  background: #2f7967;
}

.btn-outline {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}

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

.btn-ghost-light {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

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

.btn-sm {
  padding: 12px 22px;
  font-size: 0.92rem;
}

.btn-lg {
  padding: 19px 38px;
  font-size: 1.06rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--teal);
  border-bottom: 2px solid rgba(26, 85, 96, 0.25);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease, gap 0.2s ease;
}

.textlink:hover {
  color: var(--coral);
  border-color: var(--coral);
  gap: 12px;
}

.textlink::after {
  content: "\2192";
  font-weight: 600;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-stuck {
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(16, 42, 48, 0.07);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

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

.brand img {
  height: 50px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1.04rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.brand-text span {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: block;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--ink);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  background: var(--mist);
}

.nav-links a.is-active {
  color: var(--teal);
  background: var(--green-soft);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  position: relative;
  display: block;
  width: 19px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: background 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 19px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 18px var(--gutter) 30px;
}

.mobile-panel.is-open {
  display: block;
}

.mobile-panel ul {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.mobile-panel a.mobile-link {
  display: block;
  padding: 13px 4px;
  font-size: 1.08rem;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

.mobile-panel .btn {
  width: 100%;
}

.mobile-panel .btn + .btn {
  margin-top: 10px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-block: clamp(56px, 8vw, 104px) clamp(64px, 9vw, 120px);
  background:
    radial-gradient(1100px 600px at 88% -8%, rgba(58, 140, 122, 0.16), transparent 60%),
    radial-gradient(760px 520px at 4% 108%, rgba(232, 98, 90, 0.12), transparent 62%),
    var(--paper);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px 9px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 26px;
}

.hero-badge .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(58, 140, 122, 0.18);
}

.hero h1 {
  margin-bottom: 26px;
}

.hero h1 .mark {
  display: inline-block;
  position: relative;
  padding: 0.04em 0.24em;
  margin-inline: -0.06em;
  color: #fff;
  background: var(--green);
  border-radius: 14px;
  transform: rotate(-1.1deg);
}

.hero h1 .accent {
  color: var(--coral);
}

.hero-sub {
  font-size: clamp(1.06rem, 1.6vw, 1.24rem);
  line-height: 1.62;
  color: var(--muted);
  max-width: 56ch;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 38px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  max-width: 560px;
}

.hero-facts dt {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 6px;
}

.hero-facts dd {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--muted);
}

.hero-visual {
  position: relative;
}

.hero-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background: var(--ink);
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 42, 48, 0) 42%, rgba(16, 42, 48, 0.82) 100%);
}

.hero-frame-caption {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  z-index: 2;
  color: #fff;
}

.hero-frame-caption strong {
  display: block;
  font-size: 1.24rem;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.hero-frame-caption span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}

.spin-badge {
  position: absolute;
  top: -34px;
  left: -34px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 16px 40px rgba(232, 98, 90, 0.36);
  z-index: 3;
}

.spin-badge svg {
  width: 100%;
  height: 100%;
  animation: spin 18s linear infinite;
}

.spin-badge .badge-core {
  position: absolute;
  font-size: 1.5rem;
  line-height: 1;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .spin-badge svg,
  .marquee-track {
    animation: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ---------- Page hero (interior) ---------- */

.page-hero {
  position: relative;
  padding-block: clamp(56px, 7vw, 96px) clamp(46px, 6vw, 76px);
  background:
    radial-gradient(900px 460px at 92% 0%, rgba(58, 140, 122, 0.16), transparent 62%),
    radial-gradient(620px 420px at 0% 100%, rgba(232, 98, 90, 0.1), transparent 60%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.9rem);
  max-width: 20ch;
  margin-bottom: 22px;
}

.page-hero .lede {
  max-width: 66ch;
}

.crumbs {
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 22px;
}

.crumbs a:hover {
  color: var(--teal);
}

.crumbs span {
  opacity: 0.5;
  margin-inline: 7px;
}

/* ---------- Cards ---------- */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 38px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(58, 140, 122, 0.4);
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  color: var(--muted);
}

.card .textlink {
  margin-top: auto;
  padding-top: 22px;
  align-self: flex-start;
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--teal);
  margin-bottom: 22px;
  font-size: 1.42rem;
}

.card-icon.coral {
  background: var(--coral-soft);
  color: #c94a42;
}

.card-icon.mist {
  background: var(--mist);
  color: var(--ink);
}

.grid {
  display: grid;
  gap: clamp(18px, 2.4vw, 28px);
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ---------- Feature split ---------- */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 78px);
  align-items: center;
}

.split-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 5 / 4;
  background: var(--ink);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.tile-note {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
}

.tile-note strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 2px;
}

.tile-note span {
  font-size: 0.86rem;
  color: var(--muted);
}

/* ---------- Checklist ---------- */

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.checklist li {
  position: relative;
  padding-left: 36px;
  margin: 0;
  color: var(--muted);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-soft);
  box-shadow: inset 0 0 0 2px rgba(58, 140, 122, 0.35);
}

.checklist li::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 10px;
  width: 6px;
  height: 10px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(42deg);
}

.checklist strong {
  color: var(--ink);
}

.bg-ink .checklist li {
  color: rgba(255, 255, 255, 0.78);
}

.bg-ink .checklist strong {
  color: #fff;
}

/* ---------- Event feature ---------- */

.event-feature {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  isolation: isolate;
}

.event-feature img.event-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.event-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, rgba(16, 42, 48, 0.95) 0%, rgba(16, 42, 48, 0.86) 46%, rgba(16, 42, 48, 0.5) 100%);
}

.event-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
  padding: clamp(34px, 5vw, 68px);
}

.event-inner h2,
.event-inner h3 {
  color: #fff;
}

.event-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.event-meta {
  display: grid;
  gap: 16px;
  padding: 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.event-meta div {
  display: block;
}

.event-meta dt {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 3px;
}

.event-meta dd {
  margin: 0;
  font-weight: 700;
  font-size: 1.02rem;
}

/* ---------- Community board / marquee ---------- */

.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.marquee-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: marquee 46s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.board-card {
  width: 360px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.board-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--mist);
  color: var(--teal);
}

.pill-live {
  background: var(--green-soft);
  color: #24705f;
}

.pill-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.pill-coral {
  background: var(--coral-soft);
  color: #c1443c;
}

.board-card p {
  color: var(--muted);
  font-size: 0.98rem;
  margin: 0;
}

/* ---------- Partner logos ---------- */

.logo-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
  align-items: stretch;
}

.logo-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.logo-cell {
  --logo-h: clamp(34px, 3.4vw, 46px);
  min-height: clamp(92px, 8vw, 118px);
  display: grid;
  place-items: center;
  padding: clamp(16px, 1.8vw, 26px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.logo-cell[data-shape="square"] {
  --logo-h: clamp(40px, 3.9vw, 52px);
}

.logo-cell[data-shape="wide"] {
  --logo-h: clamp(29px, 2.8vw, 38px);
}

.logo-cell[data-shape="ultra"] {
  --logo-h: clamp(22px, 2.2vw, 30px);
}

.logo-cell:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(58, 140, 122, 0.35);
}

.logo-cell img {
  display: block;
  width: 100%;
  height: var(--logo-h);
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.82;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.logo-cell:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* ---------- Stats / goals ---------- */

.goal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}

.goal {
  padding: clamp(28px, 3vw, 40px);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.goal .goal-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-soft);
  margin-bottom: 20px;
}

.goal .goal-figure {
  font-size: clamp(3rem, 6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.92;
  margin-bottom: 12px;
}

.goal h3 {
  font-size: 1.16rem;
  margin-bottom: 10px;
}

.goal p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.96rem;
  margin: 0;
}

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: clamp(40px, 5.5vw, 76px);
  background: linear-gradient(125deg, var(--teal) 0%, var(--ink) 62%);
  color: #fff;
}

.cta-band::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  right: -140px;
  top: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 140, 122, 0.55), transparent 68%);
}

.cta-band-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 16px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-actions .btn {
  width: 100%;
}

.cta-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}

.cta-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(30px, 3.4vw, 46px);
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.cta-tile h3 {
  color: #fff;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  margin-bottom: 14px;
}

.cta-tile p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 28px;
}

.cta-tile .btn {
  align-self: flex-start;
  margin-top: auto;
}

.cta-tile.donate {
  background: linear-gradient(135deg, #e8625a 0%, #c8433b 100%);
}

.cta-tile.volunteer {
  background: linear-gradient(135deg, #2f7d6f 0%, #1a5560 100%);
}

.cta-tile .tile-num {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.72;
  margin-bottom: 20px;
}

/* ---------- Newsletter ---------- */

.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
  padding: clamp(32px, 4vw, 56px);
  border-radius: var(--radius-lg);
  background: var(--mist);
  border: 1px solid var(--line);
}

.form-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.form-row input {
  flex: 1 1 220px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 15px 18px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(58, 140, 122, 0.16);
}

textarea {
  min-height: 170px;
  resize: vertical;
}

label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.field {
  margin-bottom: 20px;
}

.form-note {
  font-size: 0.84rem;
  color: var(--muted);
  margin-top: 14px;
}

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

.form-alert {
  display: block;
  border-left: 4px solid var(--coral);
  background: var(--coral-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  margin-bottom: 26px;
  color: #7c322c;
  font-size: 0.96rem;
}

.form-alert strong {
  display: block;
  margin-bottom: 4px;
  color: #6d2a24;
}

.form-alert a {
  color: #6d2a24;
  font-weight: 700;
  text-decoration: underline;
}

.form-alert[hidden] {
  display: none;
}

/* ---------- Accordion ---------- */

.accordion {
  border-top: 1px solid var(--line);
}

.accordion details {
  border-bottom: 1px solid var(--line);
}

.accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 44px 24px 0;
  position: relative;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--teal);
  transition: transform 0.25s ease;
}

.accordion details[open] summary::after {
  content: "\2212";
}

.accordion .accordion-body {
  padding-bottom: 26px;
  color: var(--muted);
  max-width: 74ch;
}

/* ---------- Resource directory ---------- */

.resource {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.resource:hover {
  border-color: rgba(58, 140, 122, 0.45);
  box-shadow: var(--shadow-sm);
}

.resource h3 {
  font-size: 1.14rem;
}

.resource p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.resource .resource-contact {
  font-weight: 700;
  color: var(--teal);
  font-size: 1.02rem;
}

.directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 30px);
}

.directory-group {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 36px) 0 clamp(8px, 1vw, 14px);
  box-shadow: var(--shadow-sm);
}

.directory-group > .directory-head {
  padding-inline: clamp(26px, 3vw, 36px);
  margin-bottom: 20px;
}

.directory-head .eyebrow {
  margin-bottom: 10px;
}

.directory-head p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.directory-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.directory-list li {
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.directory-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px clamp(26px, 3vw, 36px);
  font-size: 0.99rem;
  font-weight: 600;
  line-height: 1.35;
  transition: background 0.2s ease, color 0.2s ease;
}

.directory-list a:hover {
  background: var(--mist);
  color: var(--teal);
}

.directory-list a::after {
  content: "\2197";
  flex-shrink: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--teal);
  transition: transform 0.2s ease;
}

.directory-list a:hover::after {
  transform: translate(2px, -2px);
}

.directory-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 26px;
}

.directory-note a {
  color: var(--teal);
  font-weight: 700;
  border-bottom: 1px solid rgba(26, 85, 96, 0.3);
}

.directory-note a:hover {
  color: var(--coral);
  border-color: var(--coral);
}

@media (max-width: 780px) {
  .directory {
    grid-template-columns: minmax(0, 1fr);
  }
}

.crisis-box {
  border-left: 4px solid var(--coral);
  background: var(--coral-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 26px 28px;
  margin-block: 36px;
}

.crisis-box h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}

.crisis-box ul {
  margin: 0;
  padding-left: 1.15em;
}

.crisis-box li {
  color: #7c322c;
  margin-bottom: 6px;
}

.crisis-box p {
  margin-bottom: 10px;
  color: #7c322c;
}

/* ---------- Blog ---------- */

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 30px);
}

.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 2.6vw, 32px);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(58, 140, 122, 0.4);
}

.post-card {
  padding: 0;
  overflow: hidden;
}

.post-thumb {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--mist);
}

.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.post-card:hover .post-thumb img {
  transform: scale(1.05);
}

.post-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(22px, 2.4vw, 30px);
}

.post-card .pill {
  align-self: flex-start;
  margin-bottom: 18px;
}

.article-hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 8;
  margin-bottom: clamp(30px, 4vw, 48px);
  box-shadow: var(--shadow-md);
  background: var(--ink);
}

.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.article-figure {
  margin: 2.4em 0;
}

.article-figure img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.article-figure figcaption {
  margin-top: 12px;
  font-size: 0.86rem;
  color: var(--muted);
  text-align: center;
}

.post-card h3 {
  font-size: 1.24rem;
  margin-bottom: 12px;
}

.post-card p {
  color: var(--muted);
  font-size: 0.97rem;
  margin-bottom: 20px;
}

.post-card .post-meta {
  margin-top: auto;
  font-size: 0.82rem;
  color: var(--muted);
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.post-card.featured {
  grid-column: span 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  background: var(--ink);
  border-color: transparent;
  color: #fff;
}

.post-card.featured .post-thumb {
  aspect-ratio: auto;
  height: 100%;
  min-height: 320px;
}

.post-card.featured .post-body {
  padding: clamp(30px, 4vw, 54px);
  justify-content: center;
}

.post-card.featured h3 {
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.post-card.featured p {
  color: rgba(255, 255, 255, 0.76);
}

.post-card.featured .pill {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.article {
  max-width: 760px;
  margin-inline: auto;
  font-size: 1.08rem;
}

.article h2 {
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  margin-top: 2.1em;
  margin-bottom: 0.6em;
}

.article h3 {
  font-size: clamp(1.2rem, 2vw, 1.42rem);
  margin-top: 1.7em;
  margin-bottom: 0.55em;
}

.article p,
.article li {
  color: #384f55;
  line-height: 1.78;
}

.article ul,
.article ol {
  padding-left: 1.35em;
  margin-bottom: 1.5em;
}

.article blockquote {
  margin: 2em 0;
  padding: 26px 30px;
  border-left: 4px solid var(--green);
  background: var(--mist);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink);
}

.article blockquote p {
  color: var(--ink);
  margin: 0;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  font-size: 0.88rem;
  color: var(--muted);
  padding-top: 22px;
  margin-top: 26px;
  border-top: 1px solid var(--line);
}

.toc {
  padding: 26px 30px;
  border-radius: var(--radius);
  background: var(--sand);
  border: 1px solid var(--line);
  margin-bottom: 40px;
}

.toc strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

.toc ol {
  margin: 0;
  padding-left: 1.15em;
}

.toc li {
  margin-bottom: 7px;
}

.toc a:hover {
  color: var(--coral);
}

.author-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--mist);
  margin-top: 48px;
}

.author-mark {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.author-box p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--muted);
}

.author-box strong {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
}

/* ---------- Director feature ---------- */

.director {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: linear-gradient(155deg, #f7f9f8 0%, var(--mist) 58%, #e4ede9 100%);
  border: 1px solid var(--line);
  padding: clamp(30px, 4.4vw, 68px);
}

.director::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -190px;
  top: -230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 140, 122, 0.22), transparent 66%);
}

.director::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  left: -160px;
  bottom: -190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 98, 90, 0.16), transparent 68%);
}

.director-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(30px, 4.5vw, 70px);
  align-items: center;
}

.director-portrait {
  position: relative;
}

.director-portrait figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(150deg, var(--teal), var(--ink));
  box-shadow: var(--shadow-lg);
}

.director-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}


.director-seal {
  position: absolute;
  right: -18px;
  bottom: -18px;
  z-index: 3;
  background: var(--coral);
  color: #fff;
  border-radius: 20px;
  padding: 16px 22px;
  box-shadow: 0 18px 40px rgba(232, 98, 90, 0.36);
  max-width: 200px;
}

.director-seal strong {
  display: block;
  font-size: 1.62rem;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 4px;
}

.director-seal span {
  font-size: 0.74rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  opacity: 0.92;
  line-height: 1.25;
  display: block;
}

.director-role {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.director h2 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  margin-bottom: 8px;
}

.director-title {
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 24px;
}

.credential-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 28px;
  padding: 0;
  list-style: none;
}

.credential-row li {
  margin: 0;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}

.director-quote {
  border-left: 3px solid var(--green);
  padding: 4px 0 4px 22px;
  margin-bottom: 26px;
  font-size: clamp(1.06rem, 1.7vw, 1.24rem);
  line-height: 1.6;
  font-weight: 600;
  color: var(--ink);
}

.director-body p {
  color: var(--muted);
}

@media (max-width: 900px) {
  .director-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .director-portrait {
    max-width: 380px;
  }

  .director-seal {
    right: 10px;
  }
}

@media (max-width: 640px) {
  .credential-row li {
    white-space: normal;
  }

  .director-portrait {
    max-width: none;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding-block: clamp(56px, 7vw, 88px) 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand img {
  height: 76px;
  width: auto;
  margin-bottom: 22px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 38ch;
  font-size: 0.97rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 11px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.97rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.56);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 1px;
}

.footer-bottom a:hover {
  color: #fff;
  border-color: #fff;
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.social-row a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  display: grid;
  place-items: center;
  color: #fff;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.social-row a:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.5);
}

.social-row svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Responsive ---------- */

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

  .nav-actions .btn-donate-desktop {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .logo-strip,
  .logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .event-inner,
  .cta-band-inner,
  .newsletter,
  .split-head,
  .post-card.featured {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .hero-visual {
    order: -1;
  }

  .hero-frame {
    aspect-ratio: 16 / 11;
  }

  .spin-badge {
    width: 96px;
    height: 96px;
    top: -22px;
    left: -14px;
  }

  .grid-3,
  .goal-grid,
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-card.featured {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16.5px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .goal-grid,
  .post-grid,
  .cta-duo {
    grid-template-columns: minmax(0, 1fr);
  }

  .post-card.featured {
    grid-column: span 1;
  }

  .post-card.featured .post-thumb {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .article-hero {
    aspect-ratio: 4 / 3;
  }

  .logo-strip,
  .logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .logo-cell {
    min-height: 86px;
    padding: 16px;
  }

  .logo-cell[data-shape="ultra"] {
    padding-inline: 10px;
  }

  .hero-facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .board-card {
    width: 280px;
  }

  .btn-row .btn,
  .hero-actions .btn,
  .form-row .btn,
  .cta-tile .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .nav-actions .btn {
    padding-inline: 18px;
  }

  .brand-text span {
    display: none;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .author-box {
    flex-direction: column;
  }
}
