:root {
  --ink: #12261f;
  --ink-soft: #3d5249;
  --paper: #eef3f1;
  --paper-deep: #e2ebe6;
  --panel: #f7faf8;
  --teal: #1f5c4c;
  --teal-deep: #123d33;
  --sage: #6f8f7d;
  --sand: #d8c4a4;
  --line: rgba(18, 38, 31, 0.12);
  --shadow: 0 24px 60px rgba(18, 38, 31, 0.12);
  --radius: 18px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", "Segoe UI", sans-serif;
  --shell: min(1120px, calc(100% - 2.5rem));
  --header-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(111, 143, 125, 0.18), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(216, 196, 164, 0.22), transparent 50%),
    linear-gradient(180deg, #f4f8f6 0%, var(--paper) 40%, #e9f0ec 100%);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--teal-deep);
  color: white;
  text-decoration: none;
  border-radius: 999px;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  backdrop-filter: blur(14px);
  background: rgba(238, 243, 241, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(247, 250, 248, 0.92);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.85rem;
  flex-shrink: 0;
}

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

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

.brand-text span {
  font-size: 0.72rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--panel);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
}

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

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

.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: grid;
  align-items: end;
  color: #f4f8f6;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  transform: scale(1.04);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 22, 20, 0.22) 0%, rgba(8, 22, 20, 0.48) 42%, rgba(8, 22, 20, 0.9) 100%),
    linear-gradient(105deg, rgba(8, 22, 20, 0.82) 0%, rgba(8, 22, 20, 0.55) 42%, rgba(8, 22, 20, 0.12) 72%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: var(--shell);
  margin-inline: auto;
  padding: 7.5rem 0 4.75rem;
  animation: rise 1s ease both;
}

.hero-copy {
  max-width: min(52rem, 100%);
  text-align: left;
}

.brand-hero {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 11vw, 8rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.045em;
}

.hero h1 {
  margin: 1.25rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.45rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.02em;
  max-width: 22rem;
}

.hero h1 .h1-sub {
  display: block;
  margin-top: 0.4rem;
  color: #c9ddd4;
  font-size: 0.88em;
  font-weight: 500;
}

.lede {
  margin: 1.6rem 0 0;
  max-width: 40rem;
  color: rgba(244, 248, 246, 0.9);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.7;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
  background: #f4f8f6;
  color: var(--teal-deep);
}

.btn-ink {
  background: var(--teal);
  color: #f4f8f6;
}

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

.btn-ghost {
  border: 1px solid rgba(244, 248, 246, 0.45);
  color: #f4f8f6;
  background: rgba(244, 248, 246, 0.06);
}

.section {
  padding: 5.5rem 0;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.about-copy p {
  color: var(--ink-soft);
  max-width: 42ch;
}

.meta-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2.25rem 0 0;
  padding: 0;
}

.meta-list div {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.meta-list dt {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
}

.meta-list dd {
  margin: 0.35rem 0 0;
  font-weight: 600;
}

.about-figure {
  margin: 0;
}

.about-figure img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-figure figcaption {
  margin-top: 0.85rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.purpose {
  padding-top: 0;
}

.purpose-band {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0;
  overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
  background: var(--teal-deep);
  color: #eef6f2;
  box-shadow: var(--shadow);
}

.purpose-media img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
}

.purpose-copy {
  padding: clamp(2rem, 4vw, 3.5rem);
  display: grid;
  align-content: center;
  gap: 1rem;
}

.purpose-copy .eyebrow {
  color: var(--sand);
}

.purpose-copy h2 {
  max-width: 14ch;
  color: #f4f8f6;
}

.purpose-list {
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.purpose-list li {
  position: relative;
  padding-left: 1.4rem;
  color: rgba(238, 246, 242, 0.9);
}

.purpose-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--sand);
}

.section-intro {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-intro p:last-child {
  color: var(--ink-soft);
}

.member-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.member-grid li {
  padding: 1.4rem 1.35rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(247, 250, 248, 0.9);
}

.member-grid h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.member-grid p {
  margin: 0.55rem 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

.resource-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.resource-list a {
  display: grid;
  gap: 0.4rem;
  padding: 1.25rem 1.35rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(247, 250, 248, 0.9);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.resource-list a:hover,
.resource-list a:focus-visible {
  border-color: rgba(31, 92, 76, 0.35);
  transform: translateY(-2px);
}

.resource-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--teal-deep);
}

.resource-desc {
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.55;
}

.footer-brand {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.footer-brand img {
  border-radius: 0.7rem;
  flex-shrink: 0;
}

.community-visual {
  margin: 0 0 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.community-visual img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.community-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1.25rem;
}

.community-grid li {
  padding: 1.1rem 1.2rem;
  background: rgba(247, 250, 248, 0.85);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-weight: 500;
  color: var(--ink);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: stretch;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: calc(var(--radius) + 8px);
  background:
    linear-gradient(145deg, rgba(31, 92, 76, 0.08), transparent 45%),
    var(--panel);
  border: 1px solid var(--line);
}

.contact-panel > div:first-child p:last-of-type {
  color: var(--ink-soft);
  max-width: 38ch;
}

.contact-card {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  padding: 1.75rem;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--line);
}

.contact-label {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
}

.contact-email {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  text-decoration: none;
  color: var(--teal-deep);
  word-break: break-word;
}

.contact-note {
  margin: 0 0 0.5rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--line);
  background: rgba(226, 235, 230, 0.55);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-inner strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.footer-inner p,
.footer-meta p,
.footer-base p {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.footer-meta {
  text-align: right;
}

.footer-meta a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
}

.footer-base {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .about-grid,
  .purpose-band,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .meta-list {
    grid-template-columns: 1fr;
  }

  .community-grid,
  .member-grid,
  .resource-list {
    grid-template-columns: 1fr;
  }

  .footer-meta {
    text-align: left;
  }

  .community-visual img {
    aspect-ratio: 16 / 10;
  }
}

@media (min-width: 701px) and (max-width: 1100px) {
  .member-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(1120px, calc(100% - 1.5rem));
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: calc(var(--header-h) - 0.25rem);
    right: 0.75rem;
    left: 0.75rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: rgba(247, 250, 248, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.95rem 1rem;
    border-radius: 0.75rem;
  }

  .site-nav a:hover {
    background: rgba(31, 92, 76, 0.06);
  }

  .hero-content {
    padding-bottom: 3.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media img,
  .hero-content,
  [data-reveal] {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
