:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem; --space-5: 1.25rem;
  --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem; --space-12: 3rem; --space-16: 4rem;
  --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;

  --color-bg: #f6f1e7;
  --color-surface: #fbf8f2;
  --color-surface-2: #efe7d8;
  --color-border: rgb(46 58 40 / .14);
  --color-text: #24291f;
  --color-text-muted: #5d6255;
  --color-primary: #2f4a33;
  --color-primary-hover: #223825;
  --color-accent: #a4532f;
  --color-cream: #f6f1e7;

  --font-display: 'Zodiak', 'Georgia', serif;
  --font-body: 'Work Sans', 'Helvetica Neue', sans-serif;

  --radius-sm: .375rem; --radius-md: .625rem; --radius-lg: 1rem;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; background: var(--color-bg); color: var(--color-text);
  font-family: var(--font-body); font-size: var(--text-base); line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0 0 var(--space-4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: var(--space-2); background: var(--color-primary); color: #fff; padding: var(--space-2) var(--space-4); z-index: 100; }
.skip:focus { left: var(--space-2); }
.wrap { width: min(100% - 2 * clamp(var(--space-5), 5vw, var(--space-12)), var(--wrap)); margin-inline: auto; }
.small { font-size: var(--text-xs); }

h2 { font-family: var(--font-display); font-weight: 500; font-size: var(--text-2xl); line-height: 1.08; letter-spacing: -.01em; }
h3 { font-family: var(--font-body); font-weight: 600; font-size: var(--text-lg); line-height: 1.3; }

.eyebrow { font-size: var(--text-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: var(--space-4); }
.eyebrow-dark { color: var(--color-accent); }
.eyebrow-light { color: #e9c9a6; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: var(--space-3) var(--space-6); border-radius: var(--radius-sm);
  background: var(--color-primary); color: #fff; text-decoration: none;
  font-size: var(--text-sm); font-weight: 600; letter-spacing: .01em;
  border: 1px solid transparent; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { background: var(--color-primary-hover); }
.btn-ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / .7); }
.btn-ghost:hover { background: rgb(255 255 255 / .14); }
.btn-light { background: var(--color-cream); color: var(--color-primary); }
.btn-light:hover { background: #fff; }
.btn-small { min-height: 44px; padding: var(--space-2) var(--space-4); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; color: #fff;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease);
}
.site-header.scrolled { background: rgb(246 241 231 / .94); backdrop-filter: blur(12px); color: var(--color-text); box-shadow: 0 1px 0 var(--color-border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); min-height: 4.5rem; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-size: 1.375rem; font-weight: 500; }
.brand-sub { font-size: var(--text-xs); letter-spacing: .04em; opacity: .85; }
.nav { display: flex; align-items: center; gap: var(--space-6); }
.nav a:not(.btn) { white-space: nowrap; text-decoration: none; font-size: var(--text-sm); font-weight: 500; padding-block: var(--space-2); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease); }
.nav a:not(.btn):hover { background-size: 100% 1px; }
.site-header:not(.scrolled) .nav .btn { background: var(--color-cream); color: var(--color-primary); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
.menu-btn span:first-child { top: 17px; } .menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 1180px) {
  .menu-btn { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--color-bg); color: var(--color-text); padding: var(--space-2) clamp(var(--space-5), 5vw, var(--space-12)) var(--space-6);
    box-shadow: 0 12px 24px rgb(36 41 31 / .12); display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding-block: var(--space-3); border-bottom: 1px solid var(--color-border); }
  .nav .btn { margin-top: var(--space-4); }
  .site-header:not(.scrolled) .nav .btn { background: var(--color-primary); color: #fff; }
  .site-header:has(.nav.open) { background: var(--color-bg); color: var(--color-text); }
}

/* Hero */
.hero { position: relative; min-height: max(36rem, 92vh); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(20 26 17 / .72) 0%, rgb(20 26 17 / .45) 45%, rgb(20 26 17 / 0) 75%), linear-gradient(180deg, rgb(25 32 22 / .55) 0%, rgb(25 32 22 / .15) 28%, rgb(25 32 22 / .35) 55%, rgb(22 28 19 / .86) 100%); }
.hero-content { position: relative; padding-block: var(--space-32) clamp(var(--space-12), 8vw, var(--space-20)); }
.hero h1 { font-family: var(--font-display); font-weight: 500; font-size: var(--text-3xl); line-height: 1.02; letter-spacing: -.02em; max-width: 15ch; margin-bottom: var(--space-6); text-shadow: 0 2px 24px rgb(0 0 0 / .25); }
.hero-lede { font-size: var(--text-lg); line-height: 1.5; max-width: 40ch; margin-bottom: var(--space-8); color: rgb(255 255 255 / .92); }
.hero .eyebrow { color: #fff; text-shadow: 0 1px 12px rgb(0 0 0 / .6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* Mission */
.mission { padding-block: clamp(var(--space-16), 10vw, var(--space-32)); }
.mission-grid { display: grid; grid-template-columns: 1fr 3fr; gap: var(--space-8); }
.mission-quote { margin: 0; }
.mission-quote p { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.35; color: var(--color-primary); }

/* Believe */
.believe { padding-bottom: clamp(var(--space-16), 10vw, var(--space-32)); }
.believe-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(var(--space-8), 6vw, var(--space-20)); align-items: center; }
.believe-fig { margin: 0; }
.believe-fig img { border-radius: var(--radius-lg); aspect-ratio: 5 / 4; object-fit: cover; }
.believe-text h2 { font-size: var(--text-xl); margin-bottom: var(--space-6); }
.believe-list { list-style: none; padding: 0; margin: 0; counter-reset: b; }
.believe-list li { counter-increment: b; display: grid; grid-template-columns: 2.5rem 1fr; padding-block: var(--space-4); border-top: 1px solid var(--color-border); font-size: var(--text-lg); line-height: 1.4; }
.believe-list li:last-child { border-bottom: 1px solid var(--color-border); }
.believe-list li::before { content: counter(b, decimal-leading-zero); font-size: var(--text-xs); font-weight: 600; color: var(--color-accent); padding-top: .35em; }

/* Village */
.village { background: var(--color-surface-2); padding-block: clamp(var(--space-16), 9vw, var(--space-24)); }
.section-head { max-width: 46rem; margin-bottom: clamp(var(--space-10), 5vw, var(--space-16)); }
.section-head h2 { margin-bottom: var(--space-5); }
.section-lede { color: var(--color-text-muted); }
.village-feature { display: grid; grid-template-columns: 1.6fr 1fr; gap: 0; background: var(--color-surface); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: clamp(var(--space-10), 5vw, var(--space-16)); }
.village-feature img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.village-feature-text { padding: clamp(var(--space-6), 4vw, var(--space-12)); align-self: center; }
.village-feature-text h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); margin-bottom: var(--space-4); }
.village-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(var(--space-6), 4vw, var(--space-12)); }
.vcol h3 { padding-bottom: var(--space-3); border-bottom: 2px solid var(--color-primary); margin-bottom: var(--space-4); }
.vcol ul { list-style: none; padding: 0; margin: 0; }
.vcol li { padding-block: var(--space-2); color: var(--color-text-muted); }
.vcol li + li { border-top: 1px solid var(--color-border); }
.why { margin-top: clamp(var(--space-12), 6vw, var(--space-20)); display: grid; grid-template-columns: 1fr 2fr; gap: var(--space-8); padding-top: var(--space-8); border-top: 1px solid var(--color-border); }
.why h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); }
.why p { max-width: 52ch; }

/* Features */
.feature { display: grid; grid-template-columns: 1.35fr 1fr; background: var(--color-surface); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: clamp(var(--space-6), 3vw, var(--space-10)); }
.feature img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.feature-text { padding: clamp(var(--space-6), 4vw, var(--space-12)); align-self: center; }
.feature-text h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); line-height: 1.15; margin-bottom: var(--space-4); }
.feature-text p:not(.feature-tag) { color: var(--color-text-muted); }
.feature-tag { font-size: var(--text-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--color-accent); margin-bottom: var(--space-3); }
.feature-reverse { grid-template-columns: 1fr 1.35fr; }
.feature-reverse img { order: 2; }
.feature-wide { grid-template-columns: 1fr 1.7fr; }
.feature-wide img { aspect-ratio: 16 / 9; }
.village-more { padding-top: clamp(var(--space-12), 6vw, var(--space-20)); }
.village-more .why { margin-top: clamp(var(--space-12), 6vw, var(--space-16)); }


.open-to { max-width: 46rem; margin-top: clamp(var(--space-6), 3vw, var(--space-10)); font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.45; color: var(--color-primary); }

/* Serene */
.serene { position: relative; min-height: max(32rem, 80vh); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.serene-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.serene-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(20 26 17 / 0) 35%, rgb(20 26 17 / .55) 65%, rgb(18 24 16 / .88) 100%); }
.serene-content { position: relative; padding-block: var(--space-24) clamp(var(--space-12), 7vw, var(--space-20)); }
.serene-content h2 { font-size: var(--text-3xl); margin-bottom: var(--space-5); }
.serene-content p:not(.eyebrow) { max-width: 52ch; color: rgb(255 255 255 / .9); }
.serene .eyebrow { color: #fff; }

/* Pilot */
.pilot { background: var(--color-primary); color: var(--color-cream); padding-block: clamp(var(--space-16), 10vw, var(--space-32)); }
.pilot-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(var(--space-8), 6vw, var(--space-20)); align-items: center; }
.pilot h2 { margin-bottom: var(--space-6); }
.pilot p { color: rgb(246 241 231 / .86); max-width: 50ch; }
.pilot-fig { margin: 0; }
.pilot-fig img { border-radius: var(--radius-lg); }

/* Path */
.path { padding-block: clamp(var(--space-16), 9vw, var(--space-24)); }
.phases { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--color-border); }
.phases li { padding: var(--space-8) var(--space-6) var(--space-8) 0; position: relative; }
.phases li + li { padding-left: var(--space-6); border-left: 1px solid var(--color-border); }
.phase-num { display: block; font-family: var(--font-display); font-size: var(--text-2xl); color: var(--color-accent); line-height: 1; margin-bottom: var(--space-5); }
.phases h3 { margin-bottom: var(--space-2); }
.phases p { color: var(--color-text-muted); font-size: var(--text-sm); }

/* Events */
.events { padding-block: clamp(var(--space-16), 9vw, var(--space-24)); background: var(--color-surface-2); }
.events-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--space-6), 3vw, var(--space-10)); }
.event { background: var(--color-surface); border-radius: var(--radius-lg); overflow: hidden; }
.event img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.event-text { padding: clamp(var(--space-6), 3vw, var(--space-10)); }
.event-text h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); line-height: 1.15; margin-bottom: var(--space-3); }
.event-text p { color: var(--color-text-muted); }
.events-cta { margin-top: clamp(var(--space-8), 4vw, var(--space-12)); display: flex; justify-content: space-between; align-items: center; gap: var(--space-8); flex-wrap: wrap; padding-top: var(--space-8); border-top: 1px solid var(--color-border); }
.events-ways { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-8); }
.events-ways li { font-weight: 600; display: flex; align-items: center; gap: var(--space-2); }
.events-ways li::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--color-accent); }
.events-action { display: flex; flex-direction: column; gap: var(--space-2); }
.events-action .small { color: var(--color-text-muted); }

/* Founder */
.founder { background: var(--color-surface); padding-block: clamp(var(--space-16), 9vw, var(--space-24)); border-block: 1px solid var(--color-border); }
.founder-grid { display: grid; grid-template-columns: 1fr 3fr; gap: var(--space-8); }
.founder h2 { font-size: var(--text-xl); margin-bottom: var(--space-5); }
.founder p { max-width: 62ch; }
.founder-quote { font-family: var(--font-display); font-size: var(--text-lg); color: var(--color-primary); margin-top: var(--space-6); }

/* Join */
.join { background: #1f2b20; color: var(--color-cream); padding-block: clamp(var(--space-16), 10vw, var(--space-32)); }
.join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--space-8), 6vw, var(--space-20)); }
.join h2 { font-size: var(--text-3xl); line-height: 1; margin-bottom: var(--space-6); }
.join-lede { color: rgb(246 241 231 / .82); max-width: 42ch; }
.ways { list-style: none; padding: 0; margin: 0; }
.ways li { padding-block: var(--space-5); border-top: 1px solid rgb(246 241 231 / .16); }
.ways li:last-child { border-bottom: 1px solid rgb(246 241 231 / .16); }
.ways h3 { font-size: var(--text-base); margin-bottom: var(--space-1); color: #f1d9bb; }
.ways p { color: rgb(246 241 231 / .78); font-size: var(--text-sm); }
.join-cta { grid-column: 2; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); }
.join-cta .small { color: rgb(246 241 231 / .7); }

/* Footer */
.site-footer { background: #1a241b; color: rgb(246 241 231 / .72); padding-block: var(--space-10); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-6); flex-wrap: wrap; }
.footer-name { font-family: var(--font-display); color: var(--color-cream); font-size: var(--text-base); margin-bottom: var(--space-1); }

/* Responsive */
@media (max-width: 860px) {
  .mission-grid, .founder-grid, .why { grid-template-columns: 1fr; gap: var(--space-4); }
  .feature, .feature-reverse, .feature-wide, .events-grid { grid-template-columns: 1fr; }
  .events-ways { flex-direction: column; }
  .feature-reverse img { order: 0; }
  .believe-grid, .pilot-grid, .join-grid, .village-feature { grid-template-columns: 1fr; }
  .village-cols { grid-template-columns: 1fr; }
  .phases { grid-template-columns: 1fr 1fr; }
  .phases li:nth-child(3) { padding-left: 0; border-left: 0; }
  .phases li:nth-child(n+3) { border-top: 1px solid var(--color-border); }
  .join-cta { grid-column: auto; }
}
@media (max-width: 520px) {
  .phases { grid-template-columns: 1fr; }
  .phases li, .phases li + li { padding: var(--space-6) 0; border-left: 0; }
  .phases li + li { border-top: 1px solid var(--color-border); }
  .brand-name { font-size: 1.2rem; }
  .hero-actions .btn { flex: 1 1 100%; }
}
