:root {
  /* Restrained palette pulled from the logo */
  --paper: #fff9ef;
  --paper-warm: #fdf2e2;
  --paper-strong: #f8e9d4;
  --ink: #221913;
  --muted: #6c5f53;
  --maroon: #8e0d1c;
  --red: #b51626;
  --orange: #d4561f;
  --saffron: #e09a1f;
  --green: #1c6b39;
  --forest: #133a2b;
  --teal: #155f47;

  --line: rgba(34, 25, 19, 0.1);
  --glass: rgba(255, 249, 239, 0.82);
  --shadow-soft: 0 14px 38px rgba(60, 30, 15, 0.08);
  --shadow-strong: 0 26px 64px rgba(70, 25, 12, 0.16);

  --maxw: 1180px;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  font-family: var(--sans);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

::selection {
  background: rgba(142, 13, 28, 0.16);
  color: var(--maroon);
}

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

/* ---------- Soft static backdrop (very subtle) ---------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(60vw 50vw at 88% -8%, rgba(212, 86, 31, 0.07), transparent 60%),
    radial-gradient(50vw 45vw at -6% 18%, rgba(142, 13, 28, 0.05), transparent 60%),
    radial-gradient(55vw 50vw at 70% 108%, rgba(28, 107, 57, 0.05), transparent 60%);
}

.aurora-blob {
  display: none; /* toned down: no animated blobs */
}

.mandala {
  display: none; /* toned down: no spinning motifs */
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 240ms ease, border-color 240ms ease, box-shadow 240ms ease, padding 240ms ease;
}

.site-header.is-scrolled {
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  border-color: var(--line);
  box-shadow: 0 8px 24px rgba(60, 30, 15, 0.06);
  padding-top: 10px;
  padding-bottom: 10px;
}

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

.brand-logo {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(60, 30, 15, 0.08);
  transition: transform 260ms ease;
}

.brand:hover .brand-logo {
  transform: scale(1.05);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  border-radius: 50%;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--maroon);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  color: #3a2f27;
  font-size: 0.92rem;
  font-weight: 600;
}

.site-nav a:not(.nav-cta) {
  position: relative;
  padding: 6px 0;
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--maroon);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.site-nav a:not(.nav-cta):hover {
  color: var(--maroon);
}

.site-nav a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 10px 20px !important;
  border-radius: 999px;
  color: #fff !important;
  background: var(--maroon);
  box-shadow: 0 8px 18px rgba(142, 13, 28, 0.2);
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  background: var(--red);
  box-shadow: 0 12px 24px rgba(142, 13, 28, 0.28);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--maroon);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
}

/* ---------- Typography ---------- */
.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--saffron);
}

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

h1 {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(3.8rem, 11vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--maroon);
}

h1 .line {
  display: block;
}

h1 .line--accent {
  color: var(--ink);
}

h2 {
  margin-bottom: 22px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--ink);
}

h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 1.38rem;
  font-weight: 600;
  line-height: 1.2;
}

.large-copy em,
h2 em {
  font-style: italic;
  color: var(--maroon);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(128px, 16vh, 168px) clamp(20px, 5vw, 40px) clamp(56px, 9vh, 96px);
}

.hero-copy,
.hero-mark {
  position: relative;
  z-index: 1;
}

.hero-lede {
  max-width: 520px;
  margin-bottom: 32px;
  color: #3b3027;
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.6;
}

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

.hero-tagline {
  margin: 0;
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--maroon);
  text-transform: uppercase;
}

.hero-tagline span {
  color: var(--saffron);
  margin: 0 6px;
}

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.96rem;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.button-arrow {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 220ms ease;
}

.button:hover .button-arrow {
  transform: translateX(4px);
}

.button.primary {
  color: #fff;
  background: var(--maroon);
  box-shadow: 0 12px 28px rgba(142, 13, 28, 0.22);
}

.button.primary:hover {
  transform: translateY(-2px);
  background: var(--red);
  box-shadow: 0 18px 36px rgba(142, 13, 28, 0.3);
}

.button.secondary {
  color: var(--maroon);
  background: #fff;
  border-color: rgba(142, 13, 28, 0.2);
}

.button.secondary:hover {
  transform: translateY(-2px);
  border-color: var(--maroon);
  box-shadow: var(--shadow-soft);
}

.button.ghost {
  color: var(--maroon);
  background: transparent;
  border-color: rgba(142, 13, 28, 0.28);
}

.button.ghost:hover {
  transform: translateY(-2px);
  border-color: var(--maroon);
  background: rgba(142, 13, 28, 0.05);
}

/* ---------- Hero mark ---------- */
.hero-mark {
  position: relative;
  padding: clamp(14px, 2vw, 26px);
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.hero-mark-glow {
  display: none;
}

.hero-mark img {
  width: 100%;
  aspect-ratio: 1672 / 941;
  object-fit: contain;
  border-radius: 12px;
}

/* ---------- Intro band ---------- */
.intro-band {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(36px, 5vw, 60px) clamp(20px, 5vw, 40px);
}

.intro-item {
  position: relative;
  padding: clamp(26px, 3vw, 36px);
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.intro-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
}

.intro-item:nth-child(1)::before { background: var(--maroon); }
.intro-item:nth-child(2)::before { background: var(--saffron); }
.intro-item:nth-child(3)::before { background: var(--green); }

.intro-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.intro-num {
  display: block;
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
}

.intro-item:nth-child(1) .intro-num { color: var(--maroon); }
.intro-item:nth-child(2) .intro-num { color: var(--orange); }
.intro-item:nth-child(3) .intro-num { color: var(--green); }

.intro-item p {
  margin: 0;
  color: var(--muted);
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 110px) clamp(20px, 5vw, 40px);
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(300px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.large-copy {
  margin: 0;
  color: #2f261e;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.42;
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(28px, 5vw, 54px);
}

/* ---------- Values ---------- */
.values {
  position: relative;
  max-width: calc(var(--maxw) + 80px);
  margin: 0 auto;
  border-radius: clamp(0px, 3vw, 30px);
  background: #f1f5ee;
  color: var(--ink);
  border: 1px solid var(--line);
  overflow: hidden;
}

.values .section-kicker {
  color: var(--green);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.value-card {
  position: relative;
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

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

.value-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 26px;
  border-radius: 14px;
  color: #fff;
}

.value-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service .value-icon { background: var(--maroon); }
.community .value-icon { background: var(--orange); }
.health .value-icon { background: var(--green); }

/* ---------- Purpose ---------- */
.purpose-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.purpose-list article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 24px 26px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.purpose-list article:last-child {
  grid-column: 1 / -1;
  background: var(--paper-warm);
}

.purpose-list article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.purpose-list span {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--saffron);
}

.purpose-list p {
  margin: 0;
  color: #2f261e;
  font-size: 1.04rem;
}

/* ---------- Membership ---------- */
.membership {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(320px, 0.78fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.membership-copy p:not(.section-kicker) {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.1rem;
}

.criteria-panel {
  position: relative;
  padding: clamp(28px, 4vw, 42px);
  border-radius: 22px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--maroon);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.criteria-glow {
  display: none;
}

.criteria-panel h3 {
  margin-bottom: 24px;
  color: var(--maroon);
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
}

.criteria-panel ul {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0 0 24px;
  list-style: none;
}

.criteria-panel li {
  position: relative;
  padding-left: 32px;
  font-size: 1.04rem;
}

.criteria-panel li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--saffron);
}

.region-note {
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Join ---------- */
.join {
  position: relative;
  z-index: 1;
  max-width: calc(var(--maxw) + 80px);
  margin: 0 auto clamp(0px, 2vw, 24px);
  padding: clamp(68px, 9vw, 120px) clamp(24px, 5vw, 64px);
  border-radius: clamp(0px, 3vw, 30px);
  background: var(--paper-warm);
  border: 1px solid var(--line);
  color: var(--ink);
  overflow: hidden;
}

.join-inner {
  position: relative;
  max-width: 820px;
}

.join .section-kicker {
  color: var(--green);
}

.join h2 {
  max-width: 820px;
  color: var(--maroon);
}

.join p {
  max-width: 680px;
  color: #43382e;
  font-size: 1.14rem;
}

.join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

/* ---------- Contact ---------- */
.contact-lede {
  max-width: 560px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(142, 13, 28, 0.24);
}

.contact-card.is-soon {
  opacity: 0.72;
}

.contact-card.is-soon:hover {
  transform: none;
  box-shadow: var(--shadow-soft);
}

.contact-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  color: #fff;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-email { background: var(--maroon); }
.icon-meetup { background: var(--green); }
.icon-x { background: #1c140f; }
.icon-youtube { background: var(--red); }
.icon-instagram { background: var(--orange); }

.contact-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contact-label {
  font-weight: 700;
  color: var(--ink);
}

.contact-handle {
  color: var(--muted);
  font-size: 0.92rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 44px clamp(20px, 5vw, 40px);
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logo--sm {
  width: 54px;
  height: 54px;
}

.footer-brand strong {
  font-family: var(--serif);
  font-size: 1.08rem;
  color: var(--maroon);
}

.footer-brand p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-meta p {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-meta strong {
  font-size: 1rem;
}

.footer-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 700;
  color: var(--maroon);
  transition: background 220ms ease, transform 220ms ease;
}

.footer-top svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 220ms ease;
}

.footer-top:hover {
  background: var(--paper-warm);
}

.footer-top:hover svg {
  transform: translateY(-3px);
}

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms cubic-bezier(0.22, 1, 0.36, 1), transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

[data-reveal-delay="1"] { transition-delay: 90ms; }
[data-reveal-delay="2"] { transition-delay: 180ms; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: fixed;
    top: 78px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: var(--shadow-strong);
    color: var(--ink);
  }

  .site-nav a:not(.nav-cta) {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:not(.nav-cta):last-of-type {
    border-bottom: none;
  }

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

  .site-nav a {
    padding: 14px 12px;
  }

  .nav-cta {
    margin-top: 6px;
    text-align: center;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 120px;
  }

  .hero-mark {
    max-width: 600px;
  }

  .intro-band,
  .value-grid,
  .split,
  .membership {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .hero {
    padding: 104px 18px 44px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .footer-top {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

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