:root {
  --ink: #14221d;
  --ink-muted: #4d5d56;
  --forest: #10251f;
  --forest-mid: #183a30;
  --leaf: #85b76d;
  --leaf-bright: #a7d68e;
  --sand: #f1eee6;
  --mist: #f5f7f4;
  --white: #ffffff;
  --line: rgba(20, 34, 29, 0.14);
  --shadow: 0 18px 55px rgba(7, 24, 18, 0.14);
  --radius: 1rem;
  --shell: 74rem;
  --font-display: "Aptos Display", "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif;
  --font-body: "Aptos", "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body:has(dialog[open]) {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

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

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--leaf-bright);
  outline-offset: 4px;
}

.shell {
  width: min(calc(100% - 2.5rem), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 0.4rem;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.site-header__inner {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-decoration: none;
}

.brand__mark {
  width: 1.6rem;
  height: 1.6rem;
  border: 2px solid var(--leaf-bright);
  border-radius: 50% 50% 48% 52%;
  position: relative;
  transform: rotate(-18deg);
}

.brand__mark::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 1.2rem;
  left: 50%;
  top: 0.2rem;
  background: var(--leaf-bright);
  transform: rotate(24deg);
  transform-origin: bottom;
}

.site-nav {
  display: flex;
  gap: 1.65rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--white);
}

.hero {
  position: relative;
  min-height: max(44rem, 92svh);
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background-color: var(--forest);
  background-image: url("images/hero.jpg");
  background-position: center;
  background-size: cover;
}

.hero__overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 20, 15, 0.9) 0%, rgba(5, 20, 15, 0.7) 48%, rgba(5, 20, 15, 0.48) 100%),
    linear-gradient(0deg, rgba(4, 16, 12, 0.45), transparent 55%);
}

.hero__content {
  padding-block: 9rem 7rem;
}

.hero__content > * {
  max-width: 52rem;
}

.eyebrow {
  margin: 0 0 1.2rem;
  color: var(--leaf-bright);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow--dark {
  color: #477638;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  text-wrap: balance;
}

h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(3.3rem, 7vw, 6.8rem);
  font-weight: 720;
  letter-spacing: -0.06em;
  line-height: 0.93;
}

h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.2rem, 4vw, 3.75rem);
  font-weight: 680;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p {
  margin-bottom: 1.2rem;
}

.hero__lead {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.5;
}

.hero__promise {
  margin-bottom: 2.2rem;
  color: var(--leaf-bright);
  font-size: 1.03rem;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.hero__scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 2rem;
  margin: 0.55rem auto 0;
  background: rgba(255, 255, 255, 0.55);
}

.button {
  min-height: 3.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

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

.button--primary {
  background: var(--leaf-bright);
  color: #0c2119;
}

.button--primary:hover {
  background: #bce6a7;
}

.button--secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.button--secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.13);
}

.button--dark {
  margin-top: 0.6rem;
  background: var(--forest);
  color: var(--white);
}

.section {
  padding-block: clamp(5rem, 9vw, 8.5rem);
}

.section--intro {
  background: var(--white);
}

.section--dark {
  background: var(--forest);
  color: var(--white);
}

.section--soft {
  background: var(--mist);
}

.prose {
  max-width: 45rem;
}

.prose--wide {
  max-width: 66rem;
}

.prose--light {
  color: rgba(255, 255, 255, 0.78);
}

.prose--light a {
  color: var(--leaf-bright);
}

.intro {
  color: var(--ink);
  font-size: clamp(1.15rem, 1.8vw, 1.38rem);
  line-height: 1.55;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3.5rem;
}

.benefit-card {
  min-height: 15rem;
  padding: 1.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
}

.benefit-card__number {
  display: block;
  margin-bottom: 3rem;
  color: #548142;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.benefit-card p {
  margin-bottom: 0;
  color: var(--ink-muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.facilitator-note {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
}

.membership-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(19rem, 0.8fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}

.membership-panel {
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius);
  background: var(--sand);
  box-shadow: var(--shadow);
}

.membership-panel__label {
  margin-bottom: 1.25rem;
  color: #477638;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 0.95rem 0 0.95rem 1.8rem;
  border-top: 1px solid rgba(20, 34, 29, 0.12);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35rem;
  width: 0.7rem;
  height: 0.35rem;
  border-bottom: 2px solid #477638;
  border-left: 2px solid #477638;
  transform: rotate(-45deg);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.7fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
  margin-bottom: 3rem;
}

.section-heading > p {
  color: var(--ink-muted);
}

.events-embed {
  min-height: 18rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.events-placeholder {
  min-height: 18rem;
  display: grid;
  place-content: center;
  padding: 2rem;
  text-align: center;
}

.events-placeholder__title {
  margin-bottom: 0.35rem;
  font-size: 1.2rem;
  font-weight: 750;
}

.events-placeholder p:last-child {
  margin-bottom: 0;
  color: var(--ink-muted);
}

.founding-note {
  padding-block: 4.5rem;
  background: var(--forest-mid);
  color: var(--white);
}

.founding-note__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
}

.founding-note h2 {
  max-width: 48rem;
  margin-bottom: 0;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
}

.site-footer {
  padding-block: 1.6rem;
  background: #091612;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.84);
}

.interest-dialog {
  width: min(52rem, calc(100% - 2rem));
  max-height: calc(100svh - 2rem);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.33);
  overflow: hidden;
}

.interest-dialog::backdrop {
  background: rgba(3, 13, 10, 0.78);
  backdrop-filter: blur(5px);
}

.interest-dialog__header {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid var(--line);
}

.interest-dialog__header h2 {
  margin-bottom: 0;
  font-size: 1.8rem;
}

.interest-dialog__header .eyebrow {
  margin-bottom: 0.45rem;
}

.interest-dialog__body {
  padding: 0;
}

.interest-dialog iframe {
  width: 100%;
  min-height: min(68svh, 43rem);
  display: block;
  border: 0;
}

.dialog-close {
  width: 2.6rem;
  height: 2.6rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.form-fallback {
  margin: 0;
  padding: 0.8rem 1.5rem 1rem;
  color: var(--ink-muted);
  font-size: 0.82rem;
  text-align: center;
}

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

  .brand__name {
    font-size: 0.93rem;
  }

  .hero {
    min-height: 48rem;
    background-position: 62% center;
  }

  .hero__overlay {
    background: linear-gradient(90deg, rgba(5, 20, 15, 0.92), rgba(5, 20, 15, 0.64));
  }

  .benefit-grid,
  .split,
  .membership-layout,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    min-height: auto;
  }

  .benefit-card__number {
    margin-bottom: 1.5rem;
  }

  .founding-note__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .shell {
    width: min(calc(100% - 1.5rem), var(--shell));
  }

  .site-header__inner {
    min-height: 4.4rem;
  }

  .hero__content {
    padding-block: 7.5rem 6.5rem;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .site-footer__inner {
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
