/* ============================================================
   LightTree Makerspace — shared stylesheet
   ------------------------------------------------------------
   Brand colors pulled from the logo: a dark tree with
   glowing golden lights. Deep green-blacks for the base,
   leaf green for action, warm gold for the glow.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --bg:        #060a08;   /* page background — deepest shadow */
  --bg-2:      #0a100c;   /* slightly lighter band */
  --surface:   #0e1711;   /* cards / panels */
  --surface-2: #131f16;   /* raised cards, hover fills */
  --line:      #1e2f23;   /* borders */
  --line-soft: #162418;

  --text:      #e9f1ea;   /* primary text */
  --dim:       #9db3a4;   /* secondary text */
  --faint:     #6d8374;   /* tertiary / captions */

  --green:     #67c26f;   /* leaf green — actions */
  --green-deep:#2f7d4f;
  --gold:      #f3b009;   /* glowing light — highlights */
  --gold-soft: #ffd36e;

  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", "Cascadia Code", Consolas, monospace;

  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 1120px;
  --header-h: 72px;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.65);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--gold-soft); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.22rem; }
h4 { font-size: 1rem; }

p  { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--gold); color: #1a1402; }

/* Skip link for keyboard users */
.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--gold); color: #1a1402;
  padding: 10px 16px; border-radius: 8px; font-weight: 700;
  z-index: 200;
}
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.98rem;
  padding: 12px 22px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease,
              background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }

.btn-gold {
  background: linear-gradient(180deg, #ffc53a, var(--gold));
  color: #241a02;
  box-shadow: 0 8px 24px -8px rgba(243, 176, 9, 0.55);
}
.btn-gold:hover { color: #241a02; box-shadow: 0 10px 30px -8px rgba(243, 176, 9, 0.75); transform: translateY(-1px); }

.btn-green {
  background: var(--green-deep); color: #eaffea;
  border-color: rgba(103, 194, 111, 0.35);
}
.btn-green:hover { background: var(--green); color: #07130a; }

.btn-ghost {
  background: transparent; color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--green); color: var(--green); }

.btn-sm { padding: 8px 15px; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* ---------- Layout ---------- */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

main { display: block; }

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-tight { padding: clamp(40px, 6vw, 64px) 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line-soft); }

/* Kicker — the mono "// 01 · about" labels */
.kicker {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 14px;
}
.kicker::before {
  content: ""; width: 26px; height: 1px;
  background: var(--gold); opacity: 0.7;
}

.lead {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--dim);
  max-width: 62ch;
  margin-bottom: 0;
}

.lede-center { text-align: center; max-width: 680px; margin-inline: auto; }
.lede-center .lead { margin-inline: auto; }
.center { text-align: center; }

/* Section head with a "see all" link on the right */
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 18px; flex-wrap: wrap; margin-bottom: 34px;
}
.section-head h2 { margin-bottom: 0; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6, 10, 8, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.nav-row {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 22px;
  height: var(--header-h);
  display: flex; align-items: center; gap: 24px;
}

.brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--text); font-family: var(--font-display);
  font-weight: 700; font-size: 1.25rem; letter-spacing: 0.01em;
  margin-right: auto;
}
.brand:hover { color: var(--text); }
.brand img { height: 40px; width: auto; filter: drop-shadow(0 0 10px rgba(243, 176, 9, 0.35)); }
.brand small {
  display: block; font-family: var(--font-mono);
  font-size: 0.62rem; font-weight: 400; color: var(--faint);
  letter-spacing: 0.18em; text-transform: uppercase;
}

.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: block; padding: 9px 13px; border-radius: 999px;
  color: var(--dim); font-weight: 500; font-size: 0.95rem;
  transition: color 0.15s ease, background 0.15s ease;
}
.main-nav a:hover { color: var(--text); background: var(--surface-2); }
.main-nav a[aria-current="page"] {
  color: var(--gold-soft); background: rgba(243, 176, 9, 0.08);
}

.nav-cta { display: flex; align-items: center; gap: 10px; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: 10px;
  width: 44px; height: 44px; cursor: pointer;
  color: var(--text); align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 10vw, 130px) 0 clamp(56px, 8vw, 100px);
  /* faint blueprint grid — a quiet nod to the workshop */
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 46px 46px;
}

/* Glowing orbs echoing the logo's lights */
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(70px); pointer-events: none;
}
.hero::before {
  width: 480px; height: 480px; top: -160px; right: -120px;
  background: radial-gradient(circle, rgba(243, 176, 9, 0.20), transparent 65%);
}
.hero::after {
  width: 520px; height: 520px; bottom: -220px; left: -160px;
  background: radial-gradient(circle, rgba(103, 194, 111, 0.14), transparent 65%);
}

.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.hero h1 { margin-bottom: 22px; }
.hero h1 .line { display: block; }
.hero h1 .light { color: var(--gold); text-shadow: 0 0 30px rgba(243, 176, 9, 0.35); }
.hero h1 .green { color: var(--green); }

.hero-sub { color: var(--dim); font-size: clamp(1.02rem, 1.7vw, 1.18rem); max-width: 52ch; margin-bottom: 30px; }

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-trust {
  display: flex; gap: 26px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--faint);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 15px; height: 15px; color: var(--green); }

.hero-logo { text-align: center; }
.hero-logo img {
  width: min(430px, 100%);
  filter: drop-shadow(0 0 45px rgba(243, 176, 9, 0.25));
}

/* Scroll cue */
.scroll-cue {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  color: var(--faint); font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.scroll-cue::after {
  content: ""; width: 1px; height: 34px;
  background: linear-gradient(var(--gold), transparent);
  animation: cue 2s ease-in-out infinite;
}
@keyframes cue {
  0%   { transform: scaleY(0);   transform-origin: top; }
  45%  { transform: scaleY(1);   transform-origin: top; }
  55%  { transform: scaleY(1);   transform-origin: bottom; }
  100% { transform: scaleY(0);   transform-origin: bottom; }
}

/* ---------- Stat band ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line-soft);
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  background: var(--surface);
  padding: 26px 18px; text-align: center;
}
.stat b {
  display: block; font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700;
  color: var(--gold-soft); margin-bottom: 4px;
}
.stat span {
  font-family: var(--font-mono); font-size: 0.76rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim);
}

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 18px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(243, 176, 9, 0.4);
  box-shadow: var(--shadow);
}
.card .ico {
  font-size: 1.7rem; line-height: 1; margin-bottom: 14px; display: block;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--dim); font-size: 0.95rem; margin-bottom: 0; }

.card-link {
  margin-top: 14px; display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 0.92rem;
}
.card-link svg { width: 15px; height: 15px; transition: transform 0.15s ease; }
.card-link:hover svg { transform: translateX(3px); }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 22px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border: 1px solid rgba(243, 176, 9, 0.4);
  border-radius: 50%; margin-bottom: 14px; background: rgba(243, 176, 9, 0.06);
}
.step h3 { margin-bottom: 6px; font-size: 1.05rem; }
.step p { color: var(--dim); font-size: 0.92rem; margin-bottom: 0; }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 46px 46px;
  border-bottom: 1px solid var(--line-soft);
  padding: clamp(48px, 7vw, 88px) 0;
}
.page-hero::after {
  content: ""; position: absolute; width: 420px; height: 420px;
  top: -190px; right: -140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 176, 9, 0.14), transparent 65%);
  pointer-events: none;
}
.page-hero .kicker, .page-hero h1, .page-hero .lead { position: relative; }
.page-hero h1 { margin-bottom: 12px; }
.page-hero .lead { max-width: 62ch; margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, #0d1a10, #101a08 60%, #141102);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(36px, 6vw, 56px);
  text-align: center;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 90% at 50% 0%, rgba(243, 176, 9, 0.10), transparent 70%);
}
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { color: var(--dim); max-width: 56ch; margin: 0 auto 26px; }
.cta-band .btn { position: relative; z-index: 1; }

/* ---------- Tools page ---------- */
.tool-cat { margin-bottom: 46px; }
.tool-cat h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.tool-cat h3 .ico { font-size: 1.5rem; }

.tool-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tool {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 20px 20px 18px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.tool:hover { border-color: rgba(103, 194, 111, 0.45); transform: translateY(-2px); }
.tool h4 { margin: 0 0 6px; font-size: 1.02rem; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.tool p { color: var(--dim); font-size: 0.92rem; margin: 0 0 10px; }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px;
  border: 1px solid currentColor;
}
.tag-cert { color: var(--gold); background: rgba(243, 176, 9, 0.07); }
.tag-intro { color: var(--green); background: rgba(103, 194, 111, 0.07); }

/* Safety note */
.safety {
  display: flex; gap: 18px; align-items: flex-start;
  background: rgba(243, 176, 9, 0.05);
  border: 1px solid rgba(243, 176, 9, 0.28);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.safety .ico { font-size: 1.6rem; line-height: 1.2; }
.safety h4 { margin: 0 0 6px; color: var(--gold-soft); }
.safety p { color: var(--dim); margin: 0; font-size: 0.95rem; }

/* ---------- Programs page ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.filter-btn {
  background: var(--surface); color: var(--dim);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 18px; font-weight: 600; font-size: 0.9rem; cursor: pointer;
  transition: all 0.15s ease;
}
.filter-btn:hover { color: var(--text); border-color: var(--green); }
.filter-btn[aria-pressed="true"] {
  background: var(--green-deep); border-color: var(--green-deep); color: #eaffea;
}

.event-list { display: grid; gap: 14px; }
.event {
  display: grid; grid-template-columns: 92px 1fr auto;
  gap: 18px; align-items: center;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 18px 20px;
  transition: border-color 0.18s ease;
}
.event:hover { border-color: rgba(243, 176, 9, 0.4); }

.event-date {
  text-align: center;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 10px 6px;
}
.event-date b {
  display: block; font-family: var(--font-display);
  font-size: 1.25rem; color: var(--gold-soft); line-height: 1.1;
}
.event-date span { font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; color: var(--faint); letter-spacing: 0.08em; }

.event h3 { font-size: 1.08rem; margin: 0 0 4px; }
.event p { color: var(--dim); font-size: 0.92rem; margin: 0; }
.event-type {
  font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--green);
}
.event-cta { font-weight: 600; font-size: 0.92rem; white-space: nowrap; }

/* ---------- Membership page ---------- */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.price-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 22px;
  display: flex; flex-direction: column;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.price-card:hover { transform: translateY(-3px); }
.price-card.featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(243, 176, 9, 0.06), var(--surface) 60%);
  box-shadow: 0 0 0 1px rgba(243, 176, 9, 0.25), var(--shadow);
  position: relative;
}
.price-card.featured .ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #241a02;
  font-family: var(--font-mono); font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.price-card h3 { font-size: 1.12rem; margin-bottom: 2px; }
.price-card .who { font-family: var(--font-mono); font-size: 0.72rem; color: var(--faint); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.price {
  font-family: var(--font-display); font-weight: 700;
  font-size: 2.3rem; color: var(--gold-soft); line-height: 1;
  margin-bottom: 2px;
}
.price small { font-family: var(--font-body); font-size: 0.85rem; font-weight: 500; color: var(--faint); }
.price-note { color: var(--faint); font-size: 0.8rem; margin-bottom: 16px; }
.price-card ul { margin: 0 0 20px; flex: 1; }
.price-card li {
  display: flex; gap: 9px; align-items: flex-start;
  color: var(--dim); font-size: 0.9rem; padding: 5px 0;
}
.price-card li::before {
  content: "✓"; color: var(--green); font-weight: 700; flex-shrink: 0;
}

/* Day pass strip */
.day-pass {
  margin-top: 20px; display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
  background: var(--bg-2); border: 1px dashed var(--line);
  border-radius: var(--radius-sm); padding: 16px 22px;
}
.day-pass b { color: var(--gold-soft); }
.day-pass p { margin: 0; color: var(--dim); font-size: 0.92rem; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 780px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: var(--font-display); font-size: 1.06rem; font-weight: 600;
  color: var(--text); padding: 20px 42px 20px 0; position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-q::after {
  content: "+"; position: absolute; right: 2px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono); font-size: 1.3rem; color: var(--gold);
  transition: transform 0.2s ease;
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a {
  overflow: hidden; max-height: 0;
  transition: max-height 0.28s ease;
}
.faq-a p { color: var(--dim); padding: 0 0 22px; margin: 0; max-width: 62ch; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.9rem; }
.field input, .field select, .field textarea {
  background: var(--surface-2); border: 1px solid var(--line);
  color: var(--text); border-radius: var(--radius-sm);
  padding: 12px 14px; font-family: var(--font-body); font-size: 0.98rem;
  transition: border-color 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--green); outline: none;
}
.field textarea { resize: vertical; min-height: 130px; }
.field .hint { color: var(--faint); font-size: 0.8rem; }
.field.invalid input, .field.invalid textarea { border-color: #e06666; }
.field-error { color: #f0a0a0; font-size: 0.8rem; display: none; }
.field.invalid .field-error { display: block; }

.form-shell {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(24px, 4vw, 40px);
}
.form-success {
  display: none; text-align: center; padding: 30px 10px;
}
.form-success .big { font-size: 2.4rem; margin-bottom: 10px; }
.form-success h3 { margin-bottom: 6px; }
.form-success p { color: var(--dim); margin-bottom: 18px; }
.form-success.show { display: block; }
.form-body.hide { display: none; }

/* ---------- Contact info cards ---------- */
.info-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
}
.info-card h3 { font-size: 1.02rem; margin-bottom: 10px; }
.info-card p { color: var(--dim); font-size: 0.92rem; margin: 0 0 6px; }
.info-card a { font-weight: 600; }

/* ---------- Team (about) ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.team-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 20px; text-align: center;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.team-card:hover { border-color: rgba(243, 176, 9, 0.4); transform: translateY(-3px); }
.avatar {
  width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
  color: #0a140c;
  background: linear-gradient(135deg, var(--green), var(--gold));
}
.team-card h3 { font-size: 1.02rem; margin-bottom: 2px; }
.team-card .role { font-family: var(--font-mono); font-size: 0.72rem; color: var(--gold); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.team-card p { color: var(--dim); font-size: 0.88rem; margin: 0; }

/* Values */
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.value {
  background: var(--surface); border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: var(--radius-sm); padding: 22px 24px;
}
.value.gold { border-left-color: var(--gold); }
.value h3 { margin-bottom: 6px; font-size: 1.08rem; }
.value p { color: var(--dim); font-size: 0.93rem; margin: 0; }

/* Quote block */
.quote {
  border-left: 3px solid var(--gold);
  padding: 6px 0 6px 26px; margin: 30px 0;
  font-family: var(--font-display); font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  line-height: 1.35; color: var(--text);
}
.quote cite { display: block; margin-top: 12px; font-family: var(--font-mono); font-size: 0.8rem; color: var(--faint); font-style: normal; letter-spacing: 0.06em; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line-soft);
  background: var(--bg-2);
  padding: clamp(44px, 7vw, 72px) 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 36px; padding-bottom: 44px;
}
.footer-grid h4 {
  font-family: var(--font-mono); font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 16px;
}
.footer-brand p { color: var(--dim); font-size: 0.9rem; max-width: 34ch; margin-top: 14px; }
.footer-brand img { height: 44px; width: auto; filter: drop-shadow(0 0 12px rgba(243, 176, 9, 0.3)); }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--dim); font-size: 0.92rem; }
.footer-links a:hover { color: var(--gold-soft); }

.newsletter p { color: var(--dim); font-size: 0.9rem; }
.newsletter form { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.nl-row { display: flex; gap: 8px; }
.newsletter input {
  flex: 1; min-width: 0;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; color: var(--text);
  padding: 11px 16px; font-family: var(--font-body);
}
.newsletter input:focus { border-color: var(--green); outline: none; }

.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
  color: var(--faint); font-size: 0.84rem;
}
.footer-bottom .legal a { color: var(--faint); }
.footer-bottom .legal a:hover { color: var(--gold-soft); }

/* ---------- Modal (donate) ---------- */
.modal {
  position: fixed; inset: 0; z-index: 300;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(3, 6, 4, 0.8);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.modal-panel {
  position: relative;
  width: min(480px, 100%);
  max-height: min(88vh, 760px); overflow-y: auto;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--line);
  color: var(--dim); cursor: pointer; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { color: var(--text); border-color: var(--gold); }

.amount-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 0 14px; }
.amount-btn {
  background: var(--surface-2); border: 1px solid var(--line);
  color: var(--text); border-radius: var(--radius-sm);
  padding: 12px 4px; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem;
  cursor: pointer; transition: all 0.15s ease;
}
.amount-btn:hover { border-color: var(--gold); }
.amount-btn[aria-pressed="true"] {
  background: var(--gold); border-color: var(--gold); color: #241a02;
}
.amount-custom { width: 100%; margin-top: 8px; }
.toggle-row { display: flex; gap: 6px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 5px; margin: 14px 0 20px; }
.toggle-row button {
  flex: 1; background: none; border: none; cursor: pointer; border-radius: 999px;
  padding: 9px 10px; font-family: var(--font-body); font-weight: 600; font-size: 0.9rem; color: var(--dim);
}
.toggle-row button[aria-pressed="true"] { background: var(--green-deep); color: #eaffea; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 80px);
  z-index: 400;
  background: var(--surface-2); border: 1px solid var(--green);
  color: var(--text); border-radius: 12px;
  padding: 14px 20px; display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow);
  opacity: 0; transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
  max-width: min(90vw, 420px);
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex-shrink: 0; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .card-grid.cols-4, .price-grid, .team-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-logo { order: -1; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }

  .main-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: rgba(6, 10, 8, 0.98);
    border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-open .main-nav { max-height: 420px; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 12px 22px 20px; gap: 2px; }
  .main-nav a { padding: 13px 14px; border-radius: 10px; }

  .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4,
  .price-grid, .team-grid, .steps, .value-grid, .tool-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }

  .event { grid-template-columns: 74px 1fr; }
  .event .event-cta { grid-column: 1 / -1; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { justify-content: center; text-align: center; }

  .hero-trust { gap: 14px; }
  .hero-cta .btn { flex: 1 1 100%; }

  .nav-cta .btn { display: none; } /* Donate stays reachable via footer */
}
