/* =========================================================
   AhA Living — styles.css
   Earthen-folk, ritual-centered, retro-warm. Light + dark.
   Easy to edit: all color & spacing tokens live in :root.
   ========================================================= */

/* ---------- Design tokens: LIGHT (default) ---------- */
:root {
  /* Earthen palette */
  --parchment:   #f5ecdb;
  --parchment-2: #efe2cb;
  --sand:        #e6d3b3;
  --clay:        #c98a5e;
  --amber:       #d99838;
  --gold:        #c8862b;
  --olive:       #6f7848;
  --olive-deep:  #54603a;
  --forest:      #3f5a3a;       /* cabin-in-the-forest green */
  --forest-deep: #2c4530;
  --moss:        #7a8c52;
  --sunset-1:    #e7a85a;       /* warm sunset gold */
  --sunset-2:    #d98a5b;       /* sunset coral */
  --ember:       #c25a3a;       /* campfire ember */
  --tobacco:     #8a5a36;
  --brown:       #4a3322;
  --brown-deep:  #33231a;
  --ink:         #3a2a1d;

  /* Semantic */
  --bg:          var(--parchment);
  --bg-tint:     var(--parchment-2);
  --bg-deep:     #2c2117;
  --surface:     #fbf4e6;
  --surface-2:   #f1e4cb;
  --text:        #36281c;
  --text-soft:   #6a5640;
  --text-invert: #f6ecd8;
  --accent:      var(--gold);
  --accent-2:    var(--clay);
  --green-accent:var(--forest);
  --ember-glow:  var(--ember);
  --line:        #ddc9a6;
  --line-soft:   #e7d8bb;
  --halo:        #ecd9b4;

  /* Illustration tokens */
  --cap-hi:    #f0c074;
  --cap-mid:   #d8983f;
  --cap-edge:  #ecdcbd;
  --cap-sheen: #fff3d8;
  --cap-spot:  #8a5a36;
  --gill:      #6b5135;
  --gill-line: #3a2a1d;
  --stem-hi:   #f3e9d3;
  --stem-mid:  #e3d3b3;
  --stem-shade:#cdb98f;
  --bruise:    #5c7e7a;

  /* Brand mark */
  --mark-cap:    #d8983f;
  --mark-cap-hi: #f0c074;
  --mark-gill:   #6b5135;
  --mark-stem:   #cdb98f;

  /* Shape & motion */
  --radius:    20px;
  --radius-lg: 30px;
  --radius-sm: 14px;
  /* softer, more diffuse shadows — tactile rather than hard */
  --shadow:    0 22px 60px -30px rgba(70, 46, 22, .42), 0 4px 14px -8px rgba(70,46,22,.18);
  --shadow-sm: 0 12px 34px -20px rgba(70, 46, 22, .34);
  --maxw:      1120px;
  --ease:      cubic-bezier(.22,.61,.36,1);

  /* Fluid editorial type scale */
  --step--1: clamp(0.86rem, 0.83rem + 0.12vw, 0.92rem);
  --step-0:  clamp(1.02rem, 0.98rem + 0.2vw, 1.1rem);
  --step-1:  clamp(1.2rem, 1.12rem + 0.4vw, 1.4rem);
  --step-2:  clamp(1.45rem, 1.3rem + 0.7vw, 1.85rem);
  --step-3:  clamp(1.9rem, 1.55rem + 1.7vw, 2.9rem);
  --step-4:  clamp(2.6rem, 1.9rem + 3.4vw, 4.7rem);

  /* Section rhythm */
  --space-section: clamp(4.5rem, 10vw, 8.5rem);

  --font-serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-sans:  "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Design tokens: DARK (candlelit cabin) ---------- */
[data-theme="dark"] {
  /* deep brown-charcoal earth — never harsh black */
  --bg:          #241c14;
  --bg-tint:     #2b2218;
  --bg-deep:     #1d160e;
  --surface:     #302619;
  --surface-2:   #382c1d;
  --text:        #f3e7d2;
  --text-soft:   #ccb591;
  --text-invert: #f6ecd8;
  --accent:      #ecbb5c;
  --accent-2:    #e0a06a;
  --forest:      #5a7a54;
  --forest-deep: #3a5238;
  --moss:        #8fa063;
  --sunset-1:    #e7a85a;
  --sunset-2:    #cf7f54;
  --ember:       #d8693f;
  --green-accent:#7f9a6f;
  --ember-glow:  #d8693f;
  --line:        #43341f;
  --line-soft:   #3a2d1c;
  --halo:        #3a2c18;

  --cap-hi:    #e9b75f;
  --cap-mid:   #c08a3a;
  --cap-edge:  #6f5a38;
  --cap-sheen: #f6dca0;
  --cap-spot:  #2c1c10;
  --gill:      #2c2014;
  --gill-line: #d9bf91;
  --stem-hi:   #cbb88f;
  --stem-mid:  #a08c63;
  --stem-shade:#75623f;
  --bruise:    #6f9b94;

  --mark-cap:    #c08a3a;
  --mark-cap-hi: #e9b75f;
  --mark-gill:   #2c2014;
  --mark-stem:   #a08c63;

  --shadow:    0 24px 64px -30px rgba(0,0,0,.62), 0 4px 14px -8px rgba(0,0,0,.4);
  --shadow-sm: 0 14px 38px -22px rgba(0,0,0,.55);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .5s var(--ease), color .5s var(--ease);
  overflow-x: hidden;
}

/* subtle paper grain over the whole page */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
}
[data-theme="dark"] body::before { mix-blend-mode: screen; opacity: .28; }

main, header, footer { position: relative; z-index: 1; }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 500; line-height: 1.1; letter-spacing: -0.018em; color: var(--text); text-wrap: balance; }
h1 em, h2 em { font-style: italic; color: var(--accent); }
p { margin: 0 0 1.1rem; max-width: 68ch; text-wrap: pretty; }
a { color: var(--accent-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
strong { color: var(--text); font-weight: 700; }
em { color: inherit; }

.wrap { width: min(100% - 2.6rem, var(--maxw)); margin-inline: auto; }
.narrow { max-width: 720px; margin-inline: auto; }
.center { text-align: center; }
.center-text { text-align: center; }

.visually-hidden, .skip-link {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 12px; left: 12px; width: auto; height: auto;
  clip: auto; z-index: 200; background: var(--accent); color: #2a1c0e;
  padding: .6rem 1rem; border-radius: var(--radius-sm); font-weight: 700;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .55rem; font-family: var(--font-sans); font-weight: 700;
  font-size: var(--step-0); letter-spacing: .01em;
  padding: .95rem 1.7rem; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn-primary {
  color: #2a1b0c;
  background: linear-gradient(135deg, var(--sunset-1), var(--accent) 55%, var(--accent-2));
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.4); }
.btn-primary::after {
  content: "→"; font-weight: 400; transition: transform .3s var(--ease);
}
.btn-primary:hover::after { transform: translateX(3px); }
.btn-ghost {
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  color: var(--text); border-color: var(--line);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent-2); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--line-soft);
  transition: background-color .5s var(--ease);
}
.header-inner { display: flex; align-items: center; gap: 1rem; padding: .7rem 0; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--text); }
.brand-mark { display: inline-grid; place-items: center; }
.brand-text { font-family: var(--font-serif); font-weight: 600; font-size: 1.4rem; letter-spacing: -.02em; }
.brand-sub { color: var(--accent-2); margin-left: .12em; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 1.4rem; }
.nav a { color: var(--text-soft); text-decoration: none; font-weight: 600; font-size: .95rem; transition: color .2s var(--ease); }
.nav a:hover { color: var(--accent-2); }
.nav-cta { color: var(--text) !important; padding: .45rem 1rem; border: 1.5px solid var(--line); border-radius: 999px; }
.nav-cta:hover { border-color: var(--accent); }

/* mobile menu toggle — hidden on desktop */
.nav-toggle {
  display: none; width: 42px; height: 42px; margin-left: auto;
  border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface);
  cursor: pointer; place-items: center;
  transition: border-color .2s var(--ease);
}
.nav-toggle:hover { border-color: var(--accent); }
.nav-toggle:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.nav-toggle-bars { display: grid; gap: 4px; width: 18px; }
.nav-toggle-bars span {
  display: block; height: 2px; width: 100%; border-radius: 2px;
  background: var(--text); transition: transform .3s var(--ease), opacity .25s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.theme-toggle {
  display: inline-grid; place-items: center; width: 42px; height: 42px;
  border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface);
  color: var(--accent-2); cursor: pointer; transition: transform .3s var(--ease), border-color .2s, color .2s;
}
.theme-toggle:hover { transform: rotate(-12deg); border-color: var(--accent); }
.theme-toggle:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

/* ---------- Eyebrows & section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  text-transform: uppercase; letter-spacing: .26em; font-size: var(--step--1);
  font-weight: 700; color: var(--accent-2); margin: 0 0 1.1rem;
}
/* small folk mark before each eyebrow — understated ritual cue */
.eyebrow::before {
  content: ""; width: 1.6rem; height: 1px;
  background: linear-gradient(90deg, transparent, currentColor);
}
.section-head .eyebrow::before { display: none; }
.eyebrow-light { color: var(--accent); }
.section { padding: var(--space-section) 0; }
.section-head { max-width: 720px; margin: 0 auto clamp(2.4rem, 5vw, 3.6rem); text-align: center; }
.section-head h2, .section-head .eyebrow { text-align: center; }
.section-head .eyebrow { display: inline-flex; justify-content: center; }
.section-intro { color: var(--text-soft); font-size: var(--step-1); line-height: 1.6; }
h2 { font-size: var(--step-3); margin: 0 0 1.1rem; }
h3 { font-size: var(--step-1); margin: 0 0 .55rem; }

/* understated chapter divider — a small sun/seed glyph between sections */
.ritual-divider {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  width: min(100% - 2.6rem, 680px); margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}
.ritual-divider::before,
.ritual-divider::after {
  content: ""; height: 1px; flex: 1;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.ritual-divider span {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent); opacity: .7;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 16%, transparent);
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 6rem); }
.hero-texture {
  position: absolute; inset: 0; z-index: 0;
  background:
    /* sunset glow, top */
    radial-gradient(130% 80% at 78% -8%, color-mix(in srgb, var(--sunset-1) 36%, transparent), transparent 58%),
    radial-gradient(90% 60% at 92% 4%, color-mix(in srgb, var(--sunset-2) 30%, transparent), transparent 52%),
    /* campfire ember warmth, lower right */
    radial-gradient(60% 50% at 88% 86%, color-mix(in srgb, var(--ember) 22%, transparent), transparent 60%),
    /* forest green, lower left */
    radial-gradient(95% 75% at -6% 104%, color-mix(in srgb, var(--forest) 30%, transparent), transparent 56%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}
.hero-copy { max-width: 640px; }
.hero h1 {
  font-size: var(--step-4); font-weight: 400; line-height: 1.02;
  letter-spacing: -0.03em; margin: 0 0 1.4rem; text-wrap: balance;
}
.hero h1 em { font-weight: 500; }
.lede {
  font-size: var(--step-1); color: var(--text-soft);
  max-width: 50ch; line-height: 1.62;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2.2rem 0 1.3rem; }
.hero-note {
  font-size: var(--step--1); color: var(--text-soft); opacity: .8; margin: 0;
  display: inline-flex; align-items: center; gap: .5em;
}
.hero-note::before { content: "❧"; color: var(--green-accent); opacity: .8; }

.hero-art { display: flex; justify-content: center; align-items: center; width: 100%; }
.shroom-illustration {
  display: block; width: min(100%, 340px); height: auto; margin-inline: auto;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 24px 34px rgba(70,45,20,.26));
}
[data-theme="dark"] .shroom-illustration {
  mix-blend-mode: normal; border-radius: var(--radius-lg);
  filter: drop-shadow(0 24px 38px rgba(0,0,0,.6));
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid var(--line); border-radius: 999px;
  display: grid; justify-items: center; padding-top: 7px; z-index: 2;
}
.scroll-cue span { width: 4px; height: 8px; border-radius: 4px; background: var(--accent); animation: cue 1.6s var(--ease) infinite; }
@keyframes cue { 0%{opacity:0; transform: translateY(-4px);} 40%{opacity:1;} 100%{opacity:0; transform: translateY(10px);} }
@media (prefers-reduced-motion: reduce){ .scroll-cue span{ animation: none; } }

/* ---------- Two-column blocks ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 5vw, 4rem); align-items: center; }
.two-col.reverse .col-art { order: 2; }
.col-copy p { color: var(--text-soft); }
.col-copy strong, .col-copy { }
.art-card {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: 1.4rem; box-shadow: var(--shadow);
  display: grid; place-items: center;
  background-image: radial-gradient(120% 120% at 30% 10%, color-mix(in srgb,var(--amber) 12%, transparent), transparent 60%);
}
.art-card-soft { background-image: radial-gradient(120% 120% at 70% 10%, color-mix(in srgb,var(--olive) 16%, transparent), transparent 60%); }
.art-card picture { display: block; width: 100%; }
.cluster-illustration, .path-illustration {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius);
}
/* blend the parchment art into the warm card in light mode */
.cluster-illustration { mix-blend-mode: multiply; }
[data-theme="dark"] .cluster-illustration { mix-blend-mode: normal; }

/* ---------- Callouts ---------- */
.callout {
  display: flex; gap: .9rem; align-items: flex-start;
  margin-top: 1.6rem; padding: 1.1rem 1.25rem;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--surface-2);
}
.callout p { margin: 0; color: var(--text-soft); }
.callout-warm { border-left: 5px solid var(--clay); }
.callout-icon { font-size: 1.3rem; line-height: 1.4; color: var(--clay); }

/* ---------- Section tints ---------- */
.section-tint { background: var(--bg-tint); border-block: 1px solid var(--line-soft); }
.section-deep {
  background:
    /* campfire glow rising from below */
    radial-gradient(80% 90% at 50% 118%, color-mix(in srgb, var(--ember) 30%, transparent), transparent 58%),
    /* sunset gold from above */
    radial-gradient(100% 110% at 50% -10%, color-mix(in srgb, var(--sunset-1) 20%, transparent), transparent 55%),
    /* forest green edges */
    radial-gradient(70% 80% at 0% 50%, color-mix(in srgb, var(--forest) 26%, transparent), transparent 60%),
    var(--bg-deep);
  color: var(--text-invert);
}
.section-deep h2, .section-deep .section-intro { color: var(--text-invert); }
.section-deep .section-intro { opacity: .9; }

/* ---------- DYOR banner ---------- */
.banner-dyor {
  max-width: 880px; margin: 0 auto clamp(2rem,4vw,2.6rem);
  background: color-mix(in srgb, var(--clay) 14%, var(--surface));
  border: 1px dashed var(--clay); border-radius: var(--radius);
  padding: 1.1rem 1.3rem; color: var(--text-soft); font-size: .98rem;
}
.banner-dyor strong { color: var(--accent-2); }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 1.3rem; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  position: relative;
  background:
    radial-gradient(140% 120% at 12% 0%, color-mix(in srgb, var(--amber) 7%, transparent), transparent 55%),
    var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: 1.6rem 1.5rem 1.7rem;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.card h3 { color: var(--text); }
.card p { color: var(--text-soft); margin: 0; font-size: var(--step-0); }
.card-meta { font-size: var(--step--1) !important; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-2) !important; margin-bottom: .6rem !important; font-weight: 700; }

.fine-print { color: var(--text-soft); font-size: .95rem; max-width: 760px; margin: 1.6rem auto 0; }

/* ---------- Inline testimonials (woven quietly) ---------- */
.quote {
  margin: 1.6rem auto 0; max-width: 640px;
  padding: 1.1rem 1.4rem; position: relative;
  border-left: 4px solid var(--green-accent);
  background: color-mix(in srgb, var(--forest) 8%, var(--surface));
  border-radius: var(--radius-sm);
}
.quote p {
  font-family: var(--font-serif); font-style: italic; font-size: 1.12rem;
  line-height: 1.5; color: var(--text); margin: 0 0 .5rem;
}
.quote cite {
  font-style: normal; font-family: var(--font-sans); font-weight: 700;
  font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-2);
}
.quote cite::before { content: "— "; }
.quote.center-q { text-align: center; border-left: none; border-top: 3px solid var(--green-accent); }
.section-deep .quote {
  background: color-mix(in srgb, #fff 6%, transparent);
  border-left-color: var(--accent);
}
.section-deep .quote p { color: var(--text-invert); }
.section-deep .quote cite { color: var(--accent); }

/* small experiential body-note block */
.body-note {
  max-width: 760px; margin: 2.4rem auto 0; text-align: center;
}
.body-note h3 { color: var(--text); margin-bottom: .6rem; }
.body-note p { color: var(--text-soft); }

/* ---------- Pull quote ---------- */
.pull {
  font-family: var(--font-serif); font-style: italic; font-size: 1.3rem;
  line-height: 1.4; color: var(--text); border-left: 4px solid var(--accent);
  padding: .3rem 0 .3rem 1.1rem; margin-top: 1.4rem;
}

/* ---------- Intention ritual ---------- */
.ritual { list-style: none; margin: 2.2rem auto 0; padding: 0; max-width: 640px; text-align: left; display: grid; gap: 1.1rem; }
.ritual li {
  display: flex; gap: 1.1rem; align-items: flex-start;
  background: color-mix(in srgb, #fff 6%, transparent);
  border: 1px solid color-mix(in srgb, #f6ecd8 22%, transparent);
  border-radius: var(--radius); padding: 1.1rem 1.25rem;
}
.ritual-num { font-family: var(--font-serif); font-size: 1.5rem; color: var(--accent); font-weight: 600; min-width: 2ch; }
.ritual h3 { color: var(--text-invert); margin-bottom: .3rem; }
.ritual p { color: var(--text-invert); opacity: .85; margin: 0; font-size: .98rem; }

/* ---------- Integration pillar ---------- */
.section-pillar { background: var(--bg-tint); border-block: 1px solid var(--line-soft); }
.integration-cards { margin-top: .5rem; }
.card-int { position: relative; padding-top: 1.5rem; }
.int-icon {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: 14px; background: color-mix(in srgb, var(--amber) 22%, var(--surface));
  color: var(--accent-2); font-size: 1.3rem; margin-bottom: .7rem;
}
/* a few icons carry the forest note for variety & warmth */
.int-icon.is-green {
  background: color-mix(in srgb, var(--forest) 20%, var(--surface));
  color: var(--green-accent);
}
.card-int-wide { grid-column: 1 / -1; }
.card-int-wide p { font-size: 1.04rem; }

/* ---------- Connect / newsletter (an invitation, not a form) ---------- */
.section-connect { background: var(--bg); }
.invite-card {
  max-width: 640px; margin: 0 auto; padding: clamp(2rem, 5vw, 3.4rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  background:
    radial-gradient(120% 110% at 50% -10%, color-mix(in srgb, var(--sunset-1) 12%, transparent), transparent 60%),
    radial-gradient(90% 90% at 0% 110%, color-mix(in srgb, var(--forest) 12%, transparent), transparent 60%),
    var(--surface);
  box-shadow: var(--shadow);
}
.invite-card .eyebrow { justify-content: center; }
.newsletter { margin-top: 1.8rem; }
.newsletter-row { display: flex; gap: .7rem; max-width: 480px; margin: 0 auto; }
.newsletter input[type="email"] {
  flex: 1; min-width: 0; font-family: var(--font-sans); font-size: var(--step-0);
  padding: .95rem 1.3rem; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--bg); color: var(--text); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.newsletter input::placeholder { color: color-mix(in srgb, var(--text-soft) 65%, transparent); }
.newsletter input:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 26%, transparent); }
.newsletter-help { font-size: var(--step--1); color: var(--text-soft); margin: 1rem 0 0; opacity: .9; }
.newsletter-status { font-size: var(--step-0); font-weight: 600; margin: .7rem 0 0; min-height: 1.2em; }
.newsletter-status.ok { color: var(--olive-deep); }
[data-theme="dark"] .newsletter-status.ok { color: #b6cd76; }
.newsletter-status.err { color: var(--clay); }
[data-theme="dark"] .newsletter-status.err { color: #e6a884; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-deep); color: var(--text-invert);
  padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem; border-top: 1px solid var(--line);
}
.footer-inner { display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(1.8rem, 5vw, 4rem); }
.footer-brand .brand-text { color: var(--text-invert); font-size: 1.6rem; }
.footer-brand .brand-sub { color: var(--accent); }
.footer-tag { color: var(--text-invert); opacity: .75; font-size: .95rem; margin-top: .6rem; max-width: 28ch; }
.footer-h { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 600; color: var(--accent); margin: 0 0 .8rem; letter-spacing: .01em; }
.footer-disclaimer p { color: var(--text-invert); opacity: .8; font-size: .92rem; line-height: 1.65; }
.footer-disclaimer strong { color: var(--text-invert); opacity: 1; }
/* ---------- Footer inquiry disclosure ---------- */
.inquire { margin-top: 1.4rem; }
.inquire summary {
  list-style: none; cursor: pointer; display: inline-block;
}
.inquire summary::-webkit-details-marker { display: none; }
.inquire-link {
  font-family: var(--font-sans); font-weight: 700; font-size: var(--step--1);
  letter-spacing: .04em; color: var(--accent);
  border-bottom: 1px dashed color-mix(in srgb, var(--accent) 55%, transparent);
  padding-bottom: 2px; transition: color .2s var(--ease);
}
.inquire summary:hover .inquire-link { color: var(--text-invert); }
.inquire summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.inquire[open] summary { margin-bottom: 1rem; }

.inquire-body {
  max-width: 420px; padding: 1.3rem; border-radius: var(--radius);
  background: color-mix(in srgb, #fff 5%, transparent);
  border: 1px solid color-mix(in srgb, #f6ecd8 14%, transparent);
  animation: inquire-in .35s var(--ease);
}
@keyframes inquire-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.inquire-intro { color: var(--text-invert); opacity: .8; font-size: var(--step--1); margin: 0 0 1rem; }

.inquiry-form .field { margin-bottom: .9rem; }
.inquiry-form label {
  display: block; font-size: var(--step--1); font-weight: 700;
  color: var(--text-invert); opacity: .85; margin-bottom: .35rem;
}
.field-opt { font-weight: 400; opacity: .6; }
.field-help { display: block; font-size: .78rem; color: var(--text-invert); opacity: .55; margin-top: .3rem; }
.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%; font-family: var(--font-sans); font-size: var(--step-0);
  padding: .7rem .9rem; border-radius: var(--radius-sm);
  background: color-mix(in srgb, #000 18%, transparent);
  border: 1.5px solid color-mix(in srgb, #f6ecd8 18%, transparent);
  color: var(--text-invert); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.inquiry-form textarea { resize: vertical; min-height: 3.4rem; }
.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder { color: color-mix(in srgb, var(--text-invert) 45%, transparent); }
.inquiry-form input:focus-visible,
.inquiry-form select:focus-visible,
.inquiry-form textarea:focus-visible {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 26%, transparent);
}
.inquiry-form .btn-primary { margin-top: .4rem; }
.inquiry-status { font-size: var(--step--1); font-weight: 600; margin: .7rem 0 0; min-height: 1.1em; color: var(--accent); }
.inquiry-status.err { color: #e6a884; }

.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem;
  margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line);
}
.footer-base p { margin: 0; color: var(--text-invert); opacity: .6; font-size: .85rem; }
.footer-tiny em { color: var(--accent); font-style: italic; opacity: .9; }

/* ---------- Drifting spores (decorative motion) ---------- */
.spores {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.spores span {
  position: absolute; bottom: -5vh; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, color-mix(in srgb, var(--accent) 75%, transparent), transparent 70%);
  opacity: 0; will-change: transform, opacity;
}
[data-theme="dark"] .spores span {
  background: radial-gradient(circle at 35% 35%, color-mix(in srgb, var(--accent) 60%, transparent), transparent 70%);
}
/* each spore: size, lane, duration, delay */
.spores span:nth-child(1)  { left: 6%;  width: 6px;  height: 6px;  animation: drift 26s linear  1s infinite; }
.spores span:nth-child(2)  { left: 16%; width: 4px;  height: 4px;  animation: drift 34s linear  6s infinite; }
.spores span:nth-child(3)  { left: 27%; width: 8px;  height: 8px;  animation: drift 30s linear  3s infinite; }
.spores span:nth-child(4)  { left: 38%; width: 5px;  height: 5px;  animation: drift 38s linear 12s infinite; }
.spores span:nth-child(5)  { left: 47%; width: 3px;  height: 3px;  animation: drift 28s linear  9s infinite; }
.spores span:nth-child(6)  { left: 56%; width: 7px;  height: 7px;  animation: drift 32s linear  2s infinite; }
.spores span:nth-child(7)  { left: 64%; width: 4px;  height: 4px;  animation: drift 40s linear 15s infinite; }
.spores span:nth-child(8)  { left: 72%; width: 6px;  height: 6px;  animation: drift 27s linear  5s infinite; }
.spores span:nth-child(9)  { left: 80%; width: 5px;  height: 5px;  animation: drift 36s linear 10s infinite; }
.spores span:nth-child(10) { left: 88%; width: 3px;  height: 3px;  animation: drift 30s linear  7s infinite; }
.spores span:nth-child(11) { left: 93%; width: 7px;  height: 7px;  animation: drift 33s linear 14s infinite; }
.spores span:nth-child(12) { left: 50%; width: 4px;  height: 4px;  animation: drift 44s linear 18s infinite; }

@keyframes drift {
  0%   { transform: translateY(0) translateX(0) scale(.8); opacity: 0; }
  10%  { opacity: .5; }
  50%  { transform: translateY(-55vh) translateX(22px) scale(1); }
  90%  { opacity: .35; }
  100% { transform: translateY(-110vh) translateX(-14px) scale(.9); opacity: 0; }
}
/* honor reduced-motion: hide the drifting layer entirely */
@media (prefers-reduced-motion: reduce) {
  .spores { display: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 920px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-toggle { display: grid; }
  /* ritual slide-down menu */
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem clamp(1.2rem, 5vw, 2rem) 1.2rem;
    background: color-mix(in srgb, var(--bg) 96%, transparent);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-soft);
    box-shadow: var(--shadow);
    margin-left: 0;
    /* collapsed state */
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s var(--ease);
  }
  .site-header.nav-open .nav { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav a {
    padding: .95rem .4rem; font-size: var(--step-1); font-family: var(--font-serif);
    font-weight: 500; color: var(--text); border-bottom: 1px solid var(--line-soft);
  }
  .nav a:last-child { border-bottom: none; }
  .nav-cta {
    margin-top: .8rem; text-align: center; border: 1.5px solid var(--line) !important;
    border-radius: 999px !important; color: var(--accent-2) !important;
  }
  .header-inner { justify-content: space-between; flex-wrap: wrap; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .lede { margin-inline: auto; }
  .hero-art { order: -1; }
  .shroom-illustration { width: min(72%, 260px); }
  .two-col, .two-col.reverse { grid-template-columns: 1fr; }
  .two-col.reverse .col-art { order: -1; }
  .col-copy { text-align: left; }
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cards-4, .cards-3 { grid-template-columns: 1fr; }
  .newsletter-row { flex-direction: column; }
  .newsletter input[type="email"], .newsletter .btn { width: 100%; }
  .pull { font-size: 1.15rem; }
  h2 { font-size: clamp(1.7rem, 1.3rem + 3vw, 2.3rem); }
}

/* ---------- Gentle reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .reveal.is-in { opacity: 1; transform: none; }
}
