/* ==========================================================================
   POSSIBLE MUSHROOM — single shared stylesheet
   Dark editorial system. No frameworks, no build step.
   --------------------------------------------------------------------------
   1. Tokens            6. Cards & grids
   2. Reset & base      7. Page blocks (hero, rows, badges, bars, forms)
   3. Typography        8. Footer
   4. Layout            9. Reveal animation
   5. Header & nav     10. Responsive
   ========================================================================== */

/* 1. Tokens -------------------------------------------------------------- */
:root {
  --bg: #17110D;
  --bg-2: #211913;
  --surface: #2A2018;
  --cream: #F2E8DC;
  --cream-muted: rgba(242, 232, 220, 0.62);
  --cream-faint: rgba(242, 232, 220, 0.4);
  --gold: #C89B5A;
  --gold-deep: #A87F42;
  --gold-soft: rgba(200, 155, 90, 0.4);
  --line: rgba(242, 232, 220, 0.12);
  --line-strong: rgba(242, 232, 220, 0.22);

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

  --container: 1160px;
  --gutter: 24px;
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  background-color: var(--bg);
  background-image: url("bg-site.jpg");
  background-size: cover;
  background-position: center bottom;
  background-attachment: fixed;
  background-repeat: no-repeat;
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--gold); text-decoration: none; transition: color 180ms var(--ease); }
a:hover { color: var(--gold-deep); }

::selection { background: var(--gold); color: #17110D; }

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

body.nav-open { overflow: hidden; }

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

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--gold); color: #17110D;
  padding: 10px 16px; border-radius: 0 0 8px 8px;
  font-size: 14px; font-weight: 600; transition: top 160ms var(--ease);
}
.skip-link:focus { top: 0; color: #17110D; }

/* 3. Typography ---------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  color: var(--cream);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); line-height: 1.12; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
h4 {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-muted);
  margin-bottom: 1.1em;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(1.075rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  color: var(--cream-muted);
  max-width: 62ch;
}

.small { font-size: 0.875rem; color: var(--cream-faint); line-height: 1.6; }
.gold { color: var(--gold); }

.kicker {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}

/* 4. Layout -------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: 104px 0; border-top: 1px solid var(--line); }
.section:first-of-type { border-top: 0; }
.section--flush { padding: 88px 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }

.section-head p.last { margin-top: 1.4em; }

.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.icon {
  width: 24px; height: 24px; flex: 0 0 auto;
  fill: none; stroke: currentColor;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.icon-sm { width: 18px; height: 18px; }
/* solid brand glyphs (social) sit alongside stroked line icons */
.icon-fill { fill: currentColor; stroke: none; }

/* 5. Header & nav -------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(23, 17, 13, 0.8);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; height: var(--header-h);
}

.brand {
  font-family: var(--sans);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--cream);
  white-space: nowrap;
}
.brand:hover { color: var(--gold); }

.site-nav { display: flex; align-items: center; gap: 28px; }

.nav-list {
  display: flex; align-items: center; gap: 26px;
  list-style: none; margin: 0; padding: 0;
}

.nav-list a {
  font-size: 14px; font-weight: 500;
  color: var(--cream-muted);
  padding: 6px 0;
}
.nav-list a:hover { color: var(--cream); }
.nav-list a[aria-current="page"] { color: var(--gold); }

.nav-cta { white-space: nowrap; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line);
  border-radius: 10px;
  width: 44px; height: 40px;
  padding: 0; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle-bar {
  display: block; width: 18px; height: 1.5px;
  background: var(--cream);
  transition: transform 220ms var(--ease), opacity 180ms var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(4) { transform: translateY(-6.5px) rotate(-45deg); }

/* 6. Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 24px;
  background: var(--gold); color: #17110D;
  border: 1px solid var(--gold);
  border-radius: var(--radius-sm);
  font-family: var(--sans); font-size: 15px; font-weight: 600;
  line-height: 1.2; text-align: center; cursor: pointer;
  transition: background 180ms var(--ease), border-color 180ms var(--ease),
              transform 180ms var(--ease), color 180ms var(--ease);
}
.btn:hover {
  background: var(--gold-deep); border-color: var(--gold-deep);
  color: #17110D; transform: translateY(-1px);
}
.btn:active { transform: translateY(0); }
.btn .icon { stroke-width: 1.75; }

.btn-ghost {
  background: transparent; color: var(--cream);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover {
  background: rgba(242, 232, 220, 0.06);
  border-color: var(--gold-soft); color: var(--cream);
  transform: translateY(-1px);
}

.btn-lg { padding: 15px 30px; font-size: 16px; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; color: var(--gold);
}
.text-link .icon { width: 17px; height: 17px; transition: transform 180ms var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }

/* 7. Cards & grids ------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: border-color 200ms var(--ease), transform 200ms var(--ease),
              background 200ms var(--ease);
}
a.card, .card-link { display: block; color: inherit; }
a.card:hover, .card-hover:hover {
  border-color: var(--gold-soft);
  transform: translateY(-2px);
  color: inherit;
}

.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--gold);
  margin-bottom: 20px;
  background: rgba(242, 232, 220, 0.03);
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--cream-muted); font-size: 15.5px; margin: 0; }
.card .card-meta { margin-top: 18px; }

/* 8. Page blocks --------------------------------------------------------- */
/* Hero */
.hero {
  position: relative;
  display: flex; align-items: center;
  min-height: min(88vh, 860px);
  padding: 112px 0;
  background-color: var(--bg);
  background-image:
    linear-gradient(90deg, rgba(23, 17, 13, 0.97) 0%, rgba(23, 17, 13, 0.88) 38%, rgba(23, 17, 13, 0.52) 68%, rgba(23, 17, 13, 0.28) 100%),
    url("hero.jpg");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-mycelium {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;   /* gold threads glow over the photo */
  opacity: 0.85;
}
@media (prefers-reduced-motion: reduce) {
  .hero-mycelium { opacity: 0.5; }  /* static single frame still renders */
}
.hero-inner { max-width: 700px; position: relative; z-index: 1; }
.hero h1 { margin-bottom: 24px; }
.hero h1 span { display: block; }
.hero .lede { margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero--short {
  min-height: 0; padding: 96px 0;
  background-image:
    linear-gradient(90deg, rgba(23, 17, 13, 0.96) 0%, rgba(23, 17, 13, 0.82) 55%, rgba(23, 17, 13, 0.55) 100%),
    url("hero-tall.jpg");
  background-position: center 32%, center 30%;
}
.hero--short .hero-inner { max-width: 760px; }

/* Page hero (interior pages) */
.page-hero {
  padding: 88px 0 72px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(200, 155, 90, 0.09) 0%, rgba(200, 155, 90, 0) 55%),
    var(--bg-2);
}
.page-hero .lede { margin-bottom: 0; }

/* Mushroom rows (mushrooms.html, index.html compact list) */
.mush-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
  padding: 56px 0;
  border-top: 1px solid var(--line);
}
.mush-row:first-child { border-top: 0; padding-top: 0; }
.mush-row:nth-child(even) { grid-template-columns: 1fr 220px; }
.mush-row:nth-child(even) .mush-mark { order: 2; }

.mush-mark { display: flex; align-items: center; gap: 18px; }
.mush-initial {
  font-family: var(--serif);
  font-size: clamp(3.4rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold-soft);
  letter-spacing: -0.02em;
}
.mush-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; flex: 0 0 auto;
  border: 1px solid var(--line); border-radius: 14px;
  color: var(--gold);
  background: rgba(242, 232, 220, 0.03);
}
.mush-icon .icon { width: 26px; height: 26px; }

.mush-role {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold);
  display: block; margin-bottom: 10px;
}
.mush-body h2 { margin-bottom: 14px; }
.mush-body p { color: var(--cream-muted); max-width: 62ch; }
.mush-evidence {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px;
  margin-top: 20px; padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.mush-evidence dt {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cream-faint);
}
.mush-evidence dd { margin: 0; color: var(--cream); }

/* Compact list on home */
.mush-list { list-style: none; margin: 0; padding: 0; }
.mush-list li { border-top: 1px solid var(--line); }
.mush-list li:first-child { border-top: 0; }
.mush-list a {
  display: flex; align-items: center; gap: 20px;
  padding: 22px 8px;
  color: var(--cream);
  transition: background 180ms var(--ease), padding 180ms var(--ease);
}
.mush-list a:hover { background: rgba(242, 232, 220, 0.035); color: var(--cream); }
.mush-list .mush-icon { width: 42px; height: 42px; border-radius: 12px; }
.mush-list .mush-icon .icon { width: 22px; height: 22px; }
.mush-list .mush-name {
  font-family: var(--serif); font-size: 1.2rem; font-weight: 600;
  min-width: 168px;
}
.mush-list .mush-tag { color: var(--cream-muted); font-size: 15px; flex: 1; }
.mush-list .text-link { font-size: 14px; }

/* Badges */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--sans);
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.11em; text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--cream-muted);
  white-space: nowrap;
}
.badge::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; opacity: 0.85;
}
.badge-gold { color: var(--gold); border-color: rgba(200, 155, 90, 0.38); background: rgba(200, 155, 90, 0.08); }
.badge-cream { color: var(--cream); border-color: var(--line-strong); background: rgba(242, 232, 220, 0.05); }
.badge-line { color: var(--cream-faint); border-color: var(--line); }

/* Research sections */
.research-section { padding: 64px 0; border-top: 1px solid var(--line); }
.research-section:first-of-type { border-top: 0; padding-top: 0; }
.research-grid {
  display: grid; grid-template-columns: 300px 1fr;
  gap: 48px; align-items: start;
}
.research-grid h2 { margin-bottom: 14px; }
.research-grid .badge-row { display: flex; gap: 8px; flex-wrap: wrap; }
.research-copy p { color: var(--cream-muted); }
.research-copy p strong { color: var(--cream); font-weight: 600; }
.research-facts {
  margin: 26px 0 0; padding: 0;
  border-top: 1px solid var(--line);
}
.research-facts li {
  display: grid; grid-template-columns: 190px 1fr; gap: 18px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.research-facts li:last-child { border-bottom: 0; }
.research-facts .fact-label {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cream-faint); padding-top: 3px;
}
.research-facts .fact-value { color: var(--cream); margin: 0; }

/* Jump nav (research library index) */
.jump-nav {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 8px;
}
.jump-nav a {
  font-size: 14px; font-weight: 500;
  color: var(--cream-muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}
.jump-nav a:hover { color: var(--gold); border-color: var(--gold-soft); }

/* Ritual steps (wellness) */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  display: grid; grid-template-columns: 88px 1fr; gap: 32px;
  padding: 40px 0; border-top: 1px solid var(--line);
}
.step:first-child { border-top: 0; padding-top: 0; }
.step-num {
  font-family: var(--serif);
  font-size: 3rem; font-weight: 700; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold-soft);
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--cream-muted); margin: 0; max-width: 60ch; }

/* Comparison bars (wellness) */
.compare {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
}
.compare-head {
  display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 20px;
  padding-bottom: 18px; margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cream-faint);
}
.compare-head .col-blend { color: var(--gold); }
.compare-row {
  display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 20px;
  align-items: center;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.compare-row:last-child { border-bottom: 0; padding-bottom: 0; }
.compare-row .attr { font-weight: 500; font-size: 15.5px; }
.bar { height: 8px; border-radius: 999px; background: rgba(242, 232, 220, 0.1); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 999px; }
.bar-plain i { background: var(--cream-faint); }
.bar-blend i { background: var(--gold); }
.compare-row .cell { display: grid; gap: 8px; }
.compare-row .cell span { font-size: 13px; color: var(--cream-muted); }
.compare-note { margin-top: 24px; }

/* Editorial rows (grow) */
.pillar {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px;
  padding: 64px 0; border-top: 1px solid var(--line);
}
.pillar:first-child { border-top: 0; padding-top: 0; }
.pillar h2 { margin-bottom: 6px; }
.pillar .pillar-kicker { margin-bottom: 22px; }
.pillar-body p { color: var(--cream-muted); }
.pillar-body .pull {
  font-family: var(--serif);
  font-size: 1.15rem; line-height: 1.5; color: var(--cream);
  border-left: 2px solid var(--gold);
  padding-left: 20px; margin: 26px 0 0;
}

/* Pricing strip */
.pricing-strip {
  position: relative;
  padding: 112px 0;
  border-top: 1px solid var(--line);
  background-image:
    linear-gradient(180deg, rgba(23, 17, 13, 0.9), rgba(23, 17, 13, 0.94)),
    url("texture.jpg");
  background-size: cover, cover;
  background-position: center, center;
}
.promise { padding: 30px; }
.promise .card-icon { margin-bottom: 18px; }
.promise h3 { font-size: 1.15rem; }
.promise p { font-size: 15px; }

/* CTA band */
.cta-band {
  padding: 96px 0;
  background:
    linear-gradient(rgba(23, 17, 13, 0.88), rgba(23, 17, 13, 0.94)),
    url("bg-mycelium.jpg");
  background-size: auto, cover;
  background-position: center, center;
  border-top: 1px solid var(--line);
  text-align: center;
}
.cta-band .section-head { margin-bottom: 32px; }
.cta-band .lede { margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-band .small { margin-top: 22px; }

/* Update cards (news) */
.update {
  display: flex; flex-direction: column; gap: 16px;
  height: 100%;
}
.update-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.update p { font-size: 15.5px; }

/* Feature/notice panel */
.notice {
  display: flex; gap: 16px; align-items: flex-start;
  background: rgba(200, 155, 90, 0.07);
  border: 1px solid rgba(200, 155, 90, 0.28);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.notice .icon { color: var(--gold); margin-top: 2px; }
.notice p { margin: 0; font-size: 15.5px; color: var(--cream); }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-list { list-style: none; margin: 28px 0 0; padding: 0; }
.contact-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 0; border-top: 1px solid var(--line);
  font-size: 15.5px; color: var(--cream-muted);
}
.contact-list li:first-child { border-top: 0; padding-top: 0; }
.contact-list .icon { color: var(--gold); margin-top: 3px; }
.contact-list a { color: var(--cream); border-bottom: 1px solid var(--line-strong); }
.contact-list a:hover { color: var(--gold); border-color: var(--gold-soft); }

.form-card { padding: 36px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cream-muted);
  margin-bottom: 9px;
}
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--cream);
  font-family: var(--sans); font-size: 15.5px;
  padding: 13px 15px;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--cream-faint); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 155, 90, 0.16);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-status { margin: 18px 0 0; font-size: 14.5px; color: var(--gold); min-height: 1.4em; }
.form-note { margin-top: 14px; }

/* Transparency block (home) */
.transparency {
  display: grid; grid-template-columns: 1fr 0.85fr; gap: 64px; align-items: center;
}
.label-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.label-panel .label-rule { border: 0; border-top: 1px dashed var(--line-strong); margin: 22px 0; }
.label-line {
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 15px; padding: 7px 0;
}
.label-line span:first-child { color: var(--cream-muted); }
.label-line span:last-child { color: var(--cream); font-weight: 500; }
.label-line.label-total { border-top: 1px solid var(--line-strong); margin-top: 12px; padding-top: 14px; }
.label-line .hidden {
  color: var(--cream-faint); font-style: italic;
}

/* 9. Footer -------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 72px 0 40px;
}

.footer-grid {
  display: grid; grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.footer-wordmark {
  font-family: var(--sans);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.18em;
  margin-bottom: 16px; color: var(--cream);
}
.footer-brand p { color: var(--cream-muted); font-size: 15px; max-width: 34ch; }

.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 11px; }
.footer-col a {
  font-size: 15px; color: var(--cream-muted);
}
.footer-col a:hover { color: var(--cream); }
.footer-col p { font-size: 15px; color: var(--cream-muted); }
.footer-col p a { color: var(--cream); border-bottom: 1px solid var(--line-strong); }
.footer-col p a:hover { color: var(--gold); border-color: var(--gold-soft); }

/* exactly ONE social row */
.footer-social {
  display: flex; align-items: center; gap: 10px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--cream-muted);
  transition: color 180ms var(--ease), border-color 180ms var(--ease),
              transform 180ms var(--ease);
}
.footer-social a:hover {
  color: var(--gold); border-color: var(--gold-soft); transform: translateY(-2px);
}
.footer-social .icon { width: 17px; height: 17px; }

.footer-legal {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  padding-top: 28px;
}
.footer-legal p { margin: 0; font-size: 13.5px; color: var(--cream-faint); }

/* 10. Reveal animation --------------------------------------------------- */
/* hidden only when JS is running (html.js) — content is never lost without it */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn, .card, a.card, .footer-social a, .text-link .icon { transition: none; }
  .btn:hover, a.card:hover { transform: none; }
}

/* 11. Responsive --------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .research-grid { grid-template-columns: 1fr; gap: 24px; }
  .pillar { grid-template-columns: 1fr; gap: 20px; padding: 52px 0; }
  .transparency { grid-template-columns: 1fr; gap: 40px; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .mush-row { grid-template-columns: 1fr; gap: 26px; }
  .mush-row:nth-child(even) { grid-template-columns: 1fr; }
  .mush-row:nth-child(even) .mush-mark { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  /* no backdrop-filter here: it would become the containing block for the
     fixed-position overlay below and clip the menu to the 72px header */
  .site-header {
    background: rgba(23, 17, 13, 0.94);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  /* full-screen overlay: the whole .site-nav slides down */
  .site-nav {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center;
    gap: 8px;
    background: var(--bg);
    padding: 96px 32px 48px;
    transform: translateY(-100%);
    visibility: hidden;
    transition: transform 320ms var(--ease), visibility 320ms var(--ease);
    z-index: 1;
  }
  body.nav-open .site-nav { transform: translateY(0); visibility: visible; }
  .nav-toggle { position: relative; z-index: 2; }
  .brand { position: relative; z-index: 2; }

  .nav-list {
    flex-direction: column; justify-content: center;
    gap: 8px; margin: 0;
  }
  .nav-list li { width: 100%; text-align: center; }
  .nav-list a {
    display: block;
    font-family: var(--serif);
    font-size: clamp(1.8rem, 8vw, 2.4rem);
    font-weight: 600;
    line-height: 1.4;
    color: var(--cream);
    padding: 6px 0;
  }
  .nav-list a[aria-current="page"] { color: var(--gold); }
  .nav-cta { margin-top: 24px; width: min(320px, 100%); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .section--flush { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }
  .page-hero { padding: 64px 0 52px; }
  .hero { padding: 80px 0; min-height: 0;
    background-image:
      linear-gradient(180deg, rgba(23, 17, 13, 0.82) 0%, rgba(23, 17, 13, 0.92) 55%, rgba(23, 17, 13, 0.98) 100%),
      url("hero.jpg");
    background-position: center, center 40%;
  }
  .hero--short { padding: 72px 0; }
  .hero-actions .btn { width: 100%; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .step { grid-template-columns: 60px 1fr; gap: 20px; }
  .step-num { font-size: 2.2rem; }
  .compare { padding: 24px; }
  .compare-head { grid-template-columns: 1fr; gap: 8px; padding-bottom: 12px; }
  .compare-head .col-blend::before { content: ""; }
  .compare-row { grid-template-columns: 1fr; gap: 12px; padding: 18px 0; }
  .compare-row .attr { margin-bottom: 2px; }
  .research-facts li { grid-template-columns: 1fr; gap: 6px; }
  .mush-row { padding: 44px 0; }
  .mush-list .mush-tag { display: none; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 36px; }
  .site-footer { padding: 56px 0 32px; }
  .cta-band { padding: 72px 0; }
  .footer-legal { flex-direction: column; }
}

@media (max-width: 768px) {
  body {
    background-image: url("bg-site-mobile.jpg");
    background-attachment: scroll;
  }
}
