@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,600;1,500;1,600&display=swap');

:root {
  --bg: #f3ede1;
  --paper: #faf5ea;
  --white: #fffdf8;
  --sage: #a9c793;
  --sage-soft: #cfe3bd;
  --blush: #f3e3ae;
  --forest: #4c7059;
  --forest-deep: #2f4938;
  --gold: #d9a441;
  --ink: #2c2f27;
  --muted: #6c7364;
  --line: rgba(47, 73, 56, .16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', Arial, sans-serif;
  line-height: 1.65;
  font-weight: 400;
}

a { color: inherit; text-decoration: none; }
::selection { background: var(--sage); color: var(--forest-deep); }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; border-radius: 4px; }

.ico { width: 18px; height: 18px; flex: none; }

/* ---------------------------------- HEADER ---------------------------------- */
.site-header {
  --h: 92px;
  height: var(--h);
  padding: 0 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(250, 247, 242, .92);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  transition: height .25s ease, background .25s ease;
}
.site-header.scrolled { --h: 64px; }

.logo { display: flex; align-items: center; }
.logo img { height: 66px; width: auto; display: block; transition: height .25s ease; }
.site-header.scrolled .logo img { height: 44px; }

.nav { display: flex; gap: 30px; font-size: 14px; font-weight: 600; color: var(--forest-deep); }
.nav a { padding: 6px 2px; border-bottom: 1px solid transparent; transition: border-color .2s ease, color .2s ease; }
.nav a:hover { color: var(--forest); border-color: var(--gold); }

.nav-button, .button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border: 1px solid var(--forest);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--forest-deep);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.nav-button:hover { background: var(--forest); color: var(--white); }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--forest);
  border-radius: 999px;
  padding: 8px 16px;
  font: 600 12px 'Manrope', sans-serif;
  letter-spacing: .04em;
  color: var(--forest-deep);
  cursor: pointer;
}

/* ---------------------------------- HERO ---------------------------------- */
.hero {
  min-height: calc(100vh - 92px);
  position: relative;
  overflow: hidden;
  background: var(--forest-deep);
  color: var(--paper);
  display: flex;
  align-items: center;
  padding: 90px 7vw;
}
.hero-grid { display: none; }

.hero-content { position: relative; z-index: 2; max-width: 640px; }

.hero-club {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  font: italic 500 22px/1 'Playfair Display', Georgia, serif;
  color: var(--sage);
}
.hero-club::before { content: ''; width: 32px; height: 1px; background: var(--gold); }
.hero-club em { font-style: italic; color: var(--blush); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 500 11px 'DM Mono', monospace;
  letter-spacing: .14em;
  color: var(--blush);
  margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--gold); }
.eyebrow.dark { color: var(--forest); }
.eyebrow.dark::before { background: var(--forest); opacity: .4; }

.hero h1 {
  font-size: clamp(52px, 7.4vw, 96px);
  line-height: .96;
  letter-spacing: -.03em;
  font-weight: 700;
}
h1 em, h2 em {
  font-style: italic;
  color: var(--sage);
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
}

.hero-text {
  max-width: 460px;
  margin: 28px 0 32px;
  color: #dce4d8;
  font-size: 16px;
}

.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }

.button-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--forest-deep);
  font-weight: 700;
}
.button-gold:hover { background: #e0b878; }

.text-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--sage);
  border-bottom: 1px solid rgba(207, 224, 194, .4);
  padding-bottom: 4px;
}
.text-link:hover { border-color: var(--sage); }

.hero-art {
  position: absolute;
  right: 4vw;
  top: 50%;
  transform: translateY(-50%);
  width: min(38vw, 460px);
  aspect-ratio: 1;
  opacity: .9;
}
.hero-art svg { width: 100%; height: 100%; overflow: visible; }
.helix { animation: floaty 8s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(-6px); } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .helix { animation: none; } }

.art-label {
  position: absolute;
  font: 500 10px 'DM Mono', monospace;
  color: #b9c6b3;
  letter-spacing: .12em;
}
.label-one { top: 15%; right: 8%; }
.label-two { bottom: 15%; left: 4%; color: var(--blush); }

.scroll-note {
  position: absolute;
  bottom: 30px;
  left: 6vw;
  color: #a6b3a0;
  font: 500 10px 'DM Mono', monospace;
  letter-spacing: .14em;
}
.scroll-note span { display: inline-block; width: 24px; height: 1px; background: var(--gold); vertical-align: middle; margin-right: 10px; }

/* ---------------------------------- GENERIC SECTION ---------------------------------- */
.section { padding: 110px 7vw; }
.section h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.04; letter-spacing: -.02em; font-weight: 700; }
.sec-lead { margin-top: 18px; max-width: 600px; color: var(--muted); font-size: 16px; }
.sec-lead.light { color: #c7d1c1; }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------------------------------- ABOUT (first section) ---------------------------------- */
.about {
  background: var(--paper);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  padding-top: 110px;
}
.about h2 { font-weight: 700; }
.about h2 em { color: var(--forest); }
.about-right > p { color: var(--muted); font-size: 16px; max-width: 500px; }
.about-stats { margin-top: 46px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.about-stats div { border-top: 2px solid var(--gold); padding-top: 12px; }
.about-stats strong { display: block; color: var(--forest); font: 600 12px 'DM Mono', monospace; }
.about-stats span { font-size: 13px; font-weight: 600; color: var(--ink); }

/* ---------------------------------- THE FIELD ---------------------------------- */
.intro {
  background: var(--bg);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 6vw;
  align-items: start;
}
.intro-copy h2 span { color: var(--forest); font-family: 'Playfair Display', Georgia, serif; font-style: italic; }
.intro-copy .lead { margin-top: 18px; max-width: 560px; color: var(--muted); font-size: 15px; }
.intro-copy .lead strong { color: var(--ink); font-weight: 700; }

.def-stack { display: grid; gap: 16px; }
.definition-card {
  padding: 32px;
  background: var(--sage-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.definition-card.alt { background: var(--blush); }
.card-tag { font: 600 10px 'DM Mono', monospace; color: var(--forest); letter-spacing: .1em; }
.circuit { margin: 30px 0 14px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font: 600 12px 'DM Mono', monospace; color: var(--forest-deep); }
.circuit span { background: var(--white); padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); }
.circuit b { color: var(--gold); }
.definition-card p { font: italic 400 14px 'Playfair Display', Georgia, serif; color: var(--forest-deep); }

/* ---------------------------------- STATS BAND ---------------------------------- */
.stats {
  background: var(--sage);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 52px 7vw;
  text-align: center;
}
.stats > div + div { border-left: 1px solid rgba(47,73,56,.25); }
.stats strong { display: block; font: 600 clamp(38px, 4.6vw, 54px)/1 'Playfair Display', Georgia, serif; color: var(--forest-deep); }
.stats span { display: block; margin-top: 10px; font: 600 11px 'DM Mono', monospace; letter-spacing: .12em; color: var(--forest-deep); }
.stats small { display: block; margin-top: 6px; font-size: 12px; color: #3f5c4a; }

/* ---------------------------------- BIOBUILDER ---------------------------------- */
.bb { background: var(--sage-soft); }
.bb h2 em { color: var(--forest); }
.bb-lead { max-width: 780px; margin-top: 20px; font-size: 16px; color: var(--muted); }
.bb h3 { font-size: 24px; font-weight: 700; margin-top: 56px; }
.bb-sub { color: var(--muted); font-size: 15px; margin: 6px 0 22px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step {
  position: relative;
  background: var(--sage-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}
.step .ico { width: 20px; height: 20px; color: var(--forest); }
.step-n { position: absolute; top: 22px; right: 24px; font: 500 16px 'DM Mono', monospace; color: var(--gold); }
.step h4 { font-size: 17px; font-weight: 700; margin: 20px 0 8px; }
.step p { font-size: 14px; color: var(--muted); }

.receive { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.receive li { display: flex; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink); }
.receive li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.receive .ico { width: 15px; height: 15px; margin-top: 3px; color: var(--forest); }
.receive li a { border-bottom: 1px solid var(--forest); }
.receive li a:hover { color: var(--forest); border-color: var(--gold); }

.bb-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 56px; }
.bb-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.bb-card:first-child { background: var(--sage-soft); }
.bb-card .tag { font: 600 11px 'DM Mono', monospace; letter-spacing: .12em; color: var(--gold); }
.bb-card h4 { font: 600 22px 'Playfair Display', Georgia, serif; margin: 10px 0 12px; }
.bb-card p { font-size: 14px; color: var(--muted); margin-top: 10px; }
.bb-wide { margin-top: 14px; }

.bb-quote {
  margin-top: 14px;
  text-align: center;
  padding: 36px 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--sage-soft);
  font: italic 500 clamp(19px, 2.4vw, 27px)/1.4 'Playfair Display', Georgia, serif;
  color: var(--forest-deep);
}
.bb-quote cite { display: block; margin-top: 16px; font: 600 11px 'DM Mono', monospace; letter-spacing: .12em; font-style: normal; color: var(--forest); }

/* ---------------------------------- EVENTS ---------------------------------- */
.events { background: var(--paper); }
.event-list { margin-top: 40px; display: grid; gap: 12px; max-width: 720px; }
.event { display: flex; gap: 24px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 24px 28px; }
.date { text-align: center; padding-right: 24px; border-right: 1px solid var(--line); }
.date strong { display: block; font: 600 38px/1 'Playfair Display', Georgia, serif; color: var(--forest-deep); }
.date span { font: 600 11px 'DM Mono', monospace; letter-spacing: .12em; color: var(--muted); }

.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: 6px; font: 600 10px 'DM Mono', monospace; letter-spacing: .08em; padding: 5px 11px; border: 1px solid var(--forest); border-radius: 999px; color: var(--forest); }
.pill-gold { border-color: var(--gold); color: #96712f; }
.pill .ico { width: 12px; height: 12px; }

.event h3 { font: 600 22px 'Playfair Display', Georgia, serif; margin: 10px 0 8px; }
.meta { display: flex; gap: 18px; flex-wrap: wrap; font: 500 12px 'DM Mono', monospace; color: var(--muted); }
.meta span { display: inline-flex; align-items: center; gap: 7px; }
.meta .ico { width: 15px; height: 15px; color: var(--forest); }

/* ---------------------------------- BOARD (dark, softened) ---------------------------------- */
.dark-section { background: var(--forest-deep); color: var(--paper); }
.board-h { font-size: clamp(36px, 4.6vw, 56px); }

.member-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 44px; }
.member {
  background: rgba(169, 199, 147, .1);
  border: 1px solid rgba(207, 227, 189, .28);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.member h3 { font: 600 20px 'Playfair Display', Georgia, serif; color: var(--paper); }
.role { display: block; margin-top: 5px; font: 600 11px 'DM Mono', monospace; letter-spacing: .1em; color: var(--sage); }
.fact { margin-top: 20px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); }
.fact small { font: 600 10px 'DM Mono', monospace; letter-spacing: .12em; color: #a7b6a2; }
.fact p { margin-top: 6px; font-size: 14px; color: #e4e9df; }
.member-mail { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; font-size: 13px; color: var(--sage); word-break: break-all; }
.member-mail .ico { width: 14px; height: 14px; color: var(--gold); }
.member-mail:hover { color: var(--gold); text-decoration: underline; }

/* ---------------------------------- RESOURCES ---------------------------------- */
.contact-section { background: var(--blush); }
.group { margin: 48px 0 16px; font: 600 11px 'DM Mono', monospace; letter-spacing: .14em; color: var(--gold); }
.rgrid { display: grid; gap: 14px; }
.rgrid.two { grid-template-columns: repeat(2, 1fr); }
.rgrid.three { grid-template-columns: repeat(3, 1fr); }
.rcard { background: var(--blush); border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.rhead { display: flex; align-items: center; gap: 14px; }
.rhead h3 { font: 600 19px/1.2 'Playfair Display', Georgia, serif; }
.ricon { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--forest-deep); background: var(--white); }
.ricon .ico { width: 20px; height: 20px; }
.rcard > p { margin: 14px 0; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.rcard ul { list-style: none; display: grid; gap: 10px; }
.rcard li { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); word-break: break-word; }
.rcard li .ico { color: var(--forest); }
.rcard li a { border-bottom: 1px solid var(--line); }
.rcard li a:hover { color: var(--forest); border-color: var(--gold); }

/* ---------------------------------- FAQ ---------------------------------- */
.faq { background: var(--bg); }
.faq-list { margin-top: 40px; max-width: 820px; display: grid; gap: 10px; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  font: 600 17px/1.3 'Playfair Display', Georgia, serif;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex: none;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font: 400 18px/1 'Manrope', sans-serif;
  color: var(--forest);
  transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 24px 22px; }
.faq-a p { font-size: 14.5px; color: var(--muted); max-width: 680px; }
.faq-a a { border-bottom: 1px solid var(--forest); }
.faq-a a:hover { color: var(--forest); border-color: var(--gold); }
#faq-ai summary { color: var(--forest); }

/* ---------------------------------- FOOTER ---------------------------------- */
footer.site-footer {
  background: var(--sage);
  color: var(--forest-deep);
  padding: 56px 7vw 0;
  text-align: center;
}
.foot-logo { width: 92px; height: 92px; margin: 0 auto; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.foot-logo img { width: 66px; height: auto; display: block; }
.foot-tag { max-width: 360px; margin: 22px auto 0; font-size: 15px; color: #3f5c4a; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; text-align: left; margin-top: 48px; padding-bottom: 46px; }
.foot-cols h5 { font: 600 11px 'DM Mono', monospace; letter-spacing: .16em; color: var(--forest-deep); margin-bottom: 16px; }
.foot-cols a, .foot-cols span { display: flex; align-items: center; gap: 9px; margin-bottom: 11px; font-size: 14px; color: #3f5c4a; }
.foot-cols a:hover { color: var(--forest); }
.foot-bottom { border-top: 1px solid rgba(47,73,56,.25); padding: 22px 0; font: 500 11px 'DM Mono', monospace; letter-spacing: .12em; color: #3f5c4a; }

/* ---------------------------------- RESPONSIVE ---------------------------------- */
@media (min-width: 901px) and (max-width: 1180px) {
  .nav { gap: 18px; font-size: 13px; }
  .nav-button { display: none; }
}

@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: 16px 6vw; border-top: 1px solid var(--line); border-bottom: none; font-size: 15px; }
  .nav-button { margin-left: auto; }
  .menu-toggle { display: block; }

  .hero { padding: 80px 6vw; }
  .hero-art { opacity: .5; right: -14vw; width: 70vw; }
  .about, .intro { grid-template-columns: 1fr; gap: 46px; }
  .about { padding-top: 90px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .member-grid { grid-template-columns: repeat(2, 1fr); }
  .rgrid.three { grid-template-columns: 1fr; }
  .bb-cards, .receive { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .site-header { padding: 0 5vw; }
  .hero { min-height: 680px; padding: 70px 6vw; align-items: start; }
  .hero h1 { font-size: 54px; margin-top: 8px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-art { display: none; }
  .section { padding: 76px 6vw; }
  .stats { grid-template-columns: 1fr; padding: 40px 6vw; }
  .stats > div + div { border-left: none; border-top: 1px solid var(--line); padding-top: 22px; }
  .steps, .member-grid, .rgrid.two, .foot-cols { grid-template-columns: 1fr; }
  .event { flex-direction: column; align-items: flex-start; }
  .date { border-right: none; padding-right: 0; text-align: left; }
  footer.site-footer { padding: 46px 6vw 0; }
  .faq-item summary { font-size: 16px; padding: 16px 18px; }
  .faq-a { padding: 0 18px 18px; }
}
