/* īther — v1.0 Website Styles
   Charcoal #1C2526 · Terracotta #A67B5B · Teal #00B2A9 · Off-white #F5F2EC
   Canela (Fraunces fallback) + Inter + IBM Plex Mono */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* Macron-glyph override.
   Forces ī / Ī (U+012A–012B) to always render from the web fonts, even when a
   local font (e.g. a trial Canela that lacks macron glyphs) would otherwise
   shadow them. Scoped by unicode-range so every other character keeps using the
   normal brand font stack. */
@font-face {
  font-family: 'MacronSerif';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/fraunces/v38/6NUh8FyLNQOQZAnv9bYEvDiIdE9Ea92uemAk_WBq8U_9v0c2Wa0K7iN7hzFUPJH58nib1603gg7S2nfgRYIchRuTB_7TtUs.woff2) format('woff2');
  unicode-range: U+012A-012B;
}
@font-face {
  font-family: 'MacronSans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfAZFhiI2B.woff2) format('woff2');
  unicode-range: U+012A-012B;
}
@font-face {
  font-family: 'MacronMono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/ibmplexmono/v20/-F63fjptAgt5VM-kVkqdyU8n1iEq129k.woff2) format('woff2');
  unicode-range: U+012A-012B;
}

:root {
  --charcoal: #1C2526;
  --charcoal-soft: #2A3334;
  --off-white: #F5F2EC;
  --off-white-soft: #EDE8DE;
  --terracotta: #A67B5B;
  --terracotta-deep: #8C6548;
  --teal: #00B2A9;
  --teal-deep: #008A82;
  --ink-soft: #3A3F40;
  --ink-mute: #6A6E6E;
  --rule: #D8D3C7;
  --rule-dark: #3A4243;

  --serif: 'MacronSerif', 'Canela', 'Fraunces', Georgia, serif;
  --sans: 'MacronSans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'MacronMono', 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--off-white);
  color: var(--charcoal);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
em { font-style: italic; }

/* ——— Utility bar ——— */
.utility {
  background: var(--charcoal);
  color: var(--off-white);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  padding: 11px 20px;
  opacity: 0.92;
}

/* ——— Nav ——— */
nav.primary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 48px;
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  background: var(--off-white);
  z-index: 50;
}
.wordmark {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: 0.02em;
  font-weight: 500;
  color: var(--charcoal);
}
nav.primary ul {
  display: flex;
  gap: 28px;
  list-style: none;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
nav.primary ul a {
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  color: var(--charcoal);
  transition: all 0.2s;
}
nav.primary ul a:hover { color: var(--teal-deep); border-bottom-color: var(--teal-deep); }

/* ——— Sections ——— */
section { padding: 120px 48px; border-bottom: 1px solid var(--rule); }
.section.dark {
  background: var(--charcoal);
  color: var(--off-white);
  border-bottom: 1px solid var(--rule-dark);
}
.section.dark .section-label { color: var(--teal); }
.section.dark h1, .section.dark h2, .section.dark h3 { color: var(--off-white); }
.section.dark p { color: rgba(245,242,236,0.78); }
.section.dark .subhead { color: rgba(245,242,236,0.85); }

.section.warm { background: var(--off-white-soft); }

.section-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 32px;
  display: block;
}

/* ——— Typography ——— */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.08;
  color: var(--charcoal);
}
h1 { font-size: clamp(44px, 6.2vw, 88px); }
h2 { font-size: clamp(34px, 4.6vw, 60px); margin-bottom: 28px; }
h3 { font-size: clamp(22px, 2.3vw, 30px); margin-bottom: 14px; }
p { max-width: 640px; font-size: 17px; color: var(--ink-soft); }
p + p { margin-top: 18px; }

.subhead {
  font-family: var(--serif);
  font-size: clamp(19px, 2vw, 24px);
  font-style: italic;
  color: var(--ink-soft);
  margin: 22px 0 36px;
  max-width: 720px;
  font-weight: 400;
  line-height: 1.4;
}

/* ——— Buttons ——— */
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.cta-row.center { justify-content: center; }

.btn {
  display: inline-block;
  padding: 15px 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--charcoal);
  transition: all 0.2s;
  cursor: pointer;
  background: transparent;
  color: var(--charcoal);
}
.btn:hover { background: var(--charcoal); color: var(--off-white); }
.btn.primary {
  background: var(--terracotta);
  color: var(--off-white);
  border-color: var(--terracotta);
}
.btn.primary:hover { background: var(--terracotta-deep); border-color: var(--terracotta-deep); }
.btn.teal {
  background: var(--teal);
  color: var(--charcoal);
  border-color: var(--teal);
}
.btn.teal:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: var(--off-white); }
.btn.ghost {
  padding: 0;
  border: none;
  border-bottom: 1px solid var(--teal-deep);
  padding-bottom: 3px;
  color: var(--teal-deep);
}
.btn.ghost:hover { background: transparent; color: var(--charcoal); border-bottom-color: var(--charcoal); }
.section.dark .btn { border-color: var(--off-white); color: var(--off-white); }
.section.dark .btn:hover { background: var(--off-white); color: var(--charcoal); }
.section.dark .btn.primary { background: var(--terracotta); border-color: var(--terracotta); color: var(--off-white); }
.section.dark .btn.primary:hover { background: var(--terracotta-deep); border-color: var(--terracotta-deep); color: var(--off-white); }
.section.dark .btn.ghost { color: var(--teal); border-bottom-color: var(--teal); }
.section.dark .btn.ghost:hover { color: var(--off-white); border-bottom-color: var(--off-white); }

/* ——— Hero ——— */
.hero {
  background: var(--charcoal);
  color: var(--off-white);
  padding: 140px 48px 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--rule-dark);
}
/* Homepage-only: full-height soil hero. Top-weighted gradient keeps the headline legible;
   the lower-center is left clearer for the pill baked into images/hero-soil.png.
   Tune background-position / min-height once the final image is in place. */
.hero.soil {
  background-color: #1a1308;
  background-image:
    linear-gradient(180deg, rgba(12,9,4,0.82) 0%, rgba(12,9,4,0.46) 28%, rgba(12,9,4,0.18) 52%, rgba(12,9,4,0.40) 78%, rgba(12,9,4,0.74) 100%),
    url('images/hero-soil.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: max(100vh, 900px);
  padding-top: 72px;
}
.hero .eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 32px;
  display: inline-block;
}
.hero h1 {
  color: var(--off-white);
  max-width: 960px;
  margin: 0 auto 28px;
  font-weight: 500;
}
.hero .subhead { color: rgba(245,242,236,0.82); margin: 0 auto 36px; }
.hero .cta-row { justify-content: center; }
.hero .footnote {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.55);
  margin-top: 48px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.hero-visual {
  margin: 80px auto 0;
  width: min(820px, 94%);
  position: relative;
}
.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* ——— Page hero ——— */
.page-hero {
  padding: 140px 48px 100px;
  text-align: center;
  border-bottom: 1px solid var(--rule);
}
.page-hero.dark { background: var(--charcoal); color: var(--off-white); }
.page-hero.dark h1 { color: var(--off-white); }
.page-hero.dark .subhead { color: rgba(245,242,236,0.85); }
.page-hero.dark .eyebrow { color: var(--teal); }
.page-hero .eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 28px;
  display: inline-block;
}
.page-hero h1 { max-width: 960px; margin: 0 auto 24px; }
.page-hero .subhead { margin: 0 auto; }

/* ——— Trust bar ——— */
.trust-bar {
  padding: 40px 48px;
  background: var(--off-white-soft);
  border-bottom: 1px solid var(--rule);
}
.trust-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  align-items: center;
}
.trust-item {
  text-align: center;
  border-right: 1px solid var(--rule);
  padding-right: 40px;
}
.trust-item:last-child { border-right: none; padding-right: 0; }
.trust-item .big {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--charcoal);
  margin-bottom: 4px;
}
.trust-item .lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-mute);
  line-height: 1.5;
}

/* ——— Splits ——— */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}
.split.narrow { max-width: 1100px; gap: 60px; }
.container { max-width: 1280px; margin: 0 auto; }
.container-narrow { max-width: 900px; margin: 0 auto; }

/* ——— Mechanism diagram ——— */
.diagram {
  background: var(--off-white-soft);
  border: 1px solid var(--rule);
  padding: 48px 40px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}
.diagram.dark { background: var(--charcoal-soft); border-color: var(--rule-dark); color: var(--off-white); }
.diagram .dtitle {
  font-family: var(--serif);
  font-size: 20px;
  margin-bottom: 8px;
  color: inherit;
}
.diagram .dtitle .tag-teal {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-left: 8px;
}
.diagram .row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.diagram .row.muted { color: var(--ink-mute); }
.diagram .row.highlight { color: var(--teal); }
.diagram.dark .row.muted { color: rgba(245,242,236,0.4); }
.diagram.dark .row.highlight { color: var(--teal); }
.diagram .row .label { min-width: 160px; }
.diagram .row .arrow {
  flex: 1;
  height: 1px;
  background: currentColor;
  position: relative;
}
.diagram .row .arrow::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  border-left: 7px solid currentColor;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}
.diagram .caption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-mute);
  margin-top: 20px;
  text-transform: none;
  letter-spacing: 0;
}
.diagram.dark .caption { color: rgba(245,242,236,0.55); }

/* ——— Model figures (illustration pairs) ——— */
.model-figures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 1180px;
  margin: 0 auto;
  align-items: start;
}
.model-figure {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.model-figure img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--rule);
  background: var(--off-white);
}
.model-figure figcaption {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 4px;
}
.figcap-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.figcap-body {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
}
@media (max-width: 960px) {
  .model-figures { grid-template-columns: 1fr; gap: 48px; }
}

/* ——— Mechanism rows (stacked Three Mechanisms section) ——— */
.mechanism-rows {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 96px;
}
.mechanism-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.mechanism-row.reverse .mechanism-figure { order: 2; }
.mechanism-row.reverse .mechanism-content { order: 1; }
.mechanism-figure {
  margin: 0;
  padding: 0;
}
.mechanism-figure img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--rule);
  background: var(--off-white);
}
.mechanism-content .mech-num {
  font-family: var(--serif);
  font-size: 64px;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: 18px;
}
.mechanism-content .mechanism-tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 14px;
}
.mechanism-content h3 {
  font-size: clamp(28px, 3vw, 38px);
  margin-bottom: 18px;
  line-height: 1.2;
}
.mechanism-content p {
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 22px;
  max-width: none;
}
.mechanism-cite {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  line-height: 1.7;
}
@media (max-width: 960px) {
  .mechanism-row,
  .mechanism-row.reverse { grid-template-columns: 1fr; gap: 32px; }
  .mechanism-row.reverse .mechanism-figure { order: 1; }
  .mechanism-row.reverse .mechanism-content { order: 2; }
  .mechanism-rows { gap: 64px; }
}

/* ——— Data block ——— */
.data-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 1100px;
  margin: 60px auto 32px;
  border-top: 1px solid var(--charcoal);
  border-bottom: 1px solid var(--charcoal);
}
.section.dark .data-grid { border-color: var(--off-white); }
.data-cell {
  padding: 56px 28px;
  text-align: center;
  border-right: 1px solid var(--rule);
}
.section.dark .data-cell { border-right-color: var(--rule-dark); }
.data-cell:last-child { border-right: none; }
.data-cell .stat {
  font-family: var(--serif);
  font-size: clamp(56px, 8.5vw, 104px);
  line-height: 1;
  font-weight: 500;
  color: var(--terracotta);
  margin-bottom: 18px;
}
.section.dark .data-cell .stat { color: var(--terracotta); }
.data-cell .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  max-width: 240px;
  margin: 0 auto;
  line-height: 1.6;
}
.section.dark .data-cell .label { color: rgba(245,242,236,0.7); }

.footnote {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.7;
}
.section.dark .footnote { color: rgba(245,242,236,0.55); }

/* ——— Flow (3-step) ——— */
.flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  max-width: 1200px;
  margin: 60px auto 0;
  align-items: stretch;
}
.flow .node {
  padding: 40px 28px;
  border: 1px solid var(--charcoal);
  background: var(--off-white);
  text-align: left;
  display: flex;
  flex-direction: column;
}
.section.dark .flow .node { background: var(--charcoal-soft); border-color: var(--off-white); color: var(--off-white); }
.flow .node .num {
  font-family: var(--mono);
  color: var(--teal-deep);
  margin-bottom: 16px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.section.dark .flow .node .num { color: var(--teal); }
.flow .node .title {
  font-family: var(--serif);
  font-size: 24px;
  margin-bottom: 14px;
  color: var(--charcoal);
}
.section.dark .flow .node .title { color: var(--off-white); }
.flow .node .desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.section.dark .flow .node .desc { color: rgba(245,242,236,0.78); }
.flow .connector {
  width: 56px;
  align-self: center;
  height: 1px;
  background: var(--teal-deep);
  position: relative;
}
.flow .connector::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  border-left: 7px solid var(--teal-deep);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

/* ——— Product showcase ——— */
.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}
.feature-list {
  list-style: none;
  margin: 28px 0 36px;
}
.feature-list li {
  font-size: 15px;
  color: var(--ink-soft);
  padding-left: 22px;
  position: relative;
  line-height: 1.55;
  margin-bottom: 12px;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 12px; height: 1px;
  background: var(--terracotta);
}

.product-photo {
  aspect-ratio: 4/5;
  background:
    radial-gradient(ellipse at 50% 95%, rgba(28,37,38,0.35) 0%, transparent 50%),
    linear-gradient(180deg, var(--off-white) 0%, var(--off-white-soft) 100%);
  border: 1px solid var(--rule);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-photo .bottle {
  width: 38%;
  aspect-ratio: 2/5;
  background: linear-gradient(180deg, #1C2526 0%, #0f1516 100%);
  border-radius: 4px 4px 10px 10px;
  position: relative;
  box-shadow: 0 30px 70px rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-photo .bottle::before {
  content: 'īther';
  color: var(--off-white);
  font-family: var(--serif);
  letter-spacing: 0.04em;
  font-size: 14px;
  font-weight: 500;
  position: absolute;
  top: 32%;
}
.product-photo .bottle::after {
  content: 'NeuroAlly™';
  color: var(--terracotta);
  font-family: var(--mono);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 8px;
  position: absolute;
  top: 45%;
}
.product-photo .cap-top {
  position: absolute;
  top: 0; left: 10%;
  width: 80%;
  height: 9%;
  background: #2a3334;
  border-radius: 3px 3px 0 0;
}
.product-photo .capsule {
  position: absolute;
  right: 14%;
  bottom: 20%;
  width: 52px;
  height: 18px;
  background: linear-gradient(90deg, #1C2526 50%, #2A3334 50%);
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

/* ——— Pricing box ——— */
.pricing-box {
  border: 1px solid var(--rule);
  padding: 8px;
  background: var(--off-white);
  margin-bottom: 28px;
}
.price-opt {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px;
  cursor: pointer;
  transition: background 0.15s;
}
.price-opt:hover { background: var(--off-white-soft); }
.price-opt.featured {
  background: rgba(0,178,169,0.06);
  border-left: 2px solid var(--teal);
}
.price-opt .label-col { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.price-opt .opt-label { font-weight: 500; font-size: 15px; color: var(--charcoal); }
.price-opt .opt-sub { font-family: var(--mono); font-size: 11px; color: var(--ink-mute); letter-spacing: 0.02em; line-height: 1.6; }
.price-opt .price { font-family: var(--serif); font-size: 26px; color: var(--charcoal); white-space: nowrap; }
.price-opt .price .per { font-family: var(--mono); font-size: 12px; color: var(--ink-mute); letter-spacing: 0.05em; }
.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: var(--teal);
  color: var(--charcoal);
  padding: 4px 9px;
  margin-left: 8px;
  vertical-align: 2px;
}

/* ——— Comparison table ——— */
.table-wrap { max-width: 1200px; margin: 0 auto; overflow-x: auto; }
table.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
table.compare th, table.compare td {
  padding: 20px 18px;
  text-align: left;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
  line-height: 1.5;
}
table.compare thead th {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  border-bottom: 1px solid var(--charcoal);
}
table.compare thead th:first-child { font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-mute); font-weight: 400; }
table.compare tbody th {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 400;
  width: 26%;
}
table.compare td { color: var(--ink-soft); }
table.compare .col-ithir {
  background: rgba(0,178,169,0.05);
  color: var(--charcoal);
  font-weight: 400;
}
table.compare thead .col-ithir {
  background: rgba(0,178,169,0.1);
  color: var(--charcoal);
  border-top: 2px solid var(--terracotta);
  position: relative;
}

/* ——— Chart ——— */
.chart {
  max-width: 760px;
  margin: 40px auto 12px;
  height: 220px;
  position: relative;
  border-left: 1px solid var(--charcoal);
  border-bottom: 1px solid var(--charcoal);
  padding: 16px 0 0 16px;
}
.section.dark .chart { border-color: var(--off-white); }
.chart svg { width: 100%; height: 100%; }
.chart-caption {
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  margin-top: 14px;
}
.section.dark .chart-caption { color: rgba(245,242,236,0.6); }

/* ——— Bar chart ——— */
.bar-chart {
  max-width: 620px;
  margin: 24px 0 0;
  height: 200px;
  display: flex;
  align-items: flex-end;
  gap: 20px;
  border-bottom: 1px solid var(--charcoal);
  padding: 12px;
}
.bar-chart .bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.bar-chart .bar .b { width: 100%; }
.bar-chart .bar .b.placebo { background: var(--ink-mute); }
.bar-chart .bar .b.ithir { background: var(--terracotta); }
.bar-chart .bar .lbl { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); text-align: center; line-height: 1.4; }

/* ——— Quotes ——— */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 1280px;
  margin: 40px auto 0;
  border-top: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
}
.section.dark .quote { border-right: 1px solid var(--rule-dark); }
.quote {
  padding: 56px 40px;
}
.quote:last-child { border-right: none !important; }
.quote .mark {
  font-family: var(--serif);
  font-size: 52px;
  line-height: 0.4;
  color: var(--terracotta);
  margin-bottom: 24px;
}
.quote .body {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  line-height: 1.5;
  margin-bottom: 24px;
}
.section.dark .quote .body { color: rgba(245,242,236,0.9); }
.quote .attr {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
}

/* ——— Logo strip ——— */
.logo-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  padding: 28px 0 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.5);
  flex-wrap: wrap;
}
.logo-strip span { opacity: 0.8; }

/* ——— Documentary card ——— */
.doc-card {
  margin: 48px auto 0;
  max-width: 820px;
  border: 1px solid var(--rule-dark);
  padding: 48px;
  background: var(--charcoal-soft);
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 32px;
  align-items: center;
}
.doc-card .play {
  width: 80px; height: 80px;
  border: 1px solid var(--terracotta);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.doc-card .play::after {
  content: '';
  width: 0; height: 0;
  border-left: 20px solid var(--terracotta);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 4px;
}
.doc-card .meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}
.doc-card h3 { color: var(--off-white); margin-bottom: 8px; }
.doc-card p { color: rgba(245,242,236,0.7); font-size: 14px; margin: 0; }

/* ——— Story hero ——— */
.story-hero {
  min-height: 70vh;
  background:
    linear-gradient(180deg, rgba(28,37,38,0.85) 0%, rgba(28,37,38,0.95) 100%),
    radial-gradient(ellipse at 30% 40%, #6b5540 0%, transparent 60%),
    radial-gradient(ellipse at 70% 60%, #2a1f12 0%, transparent 60%),
    linear-gradient(135deg, #2a1f12 0%, #0a0604 100%);
  color: var(--off-white);
  display: flex; align-items: flex-end;
  padding: 100px 48px 80px;
}
.story-hero h1 { color: var(--off-white); max-width: 880px; }
.story-hero .subhead { color: rgba(245,242,236,0.8); max-width: 680px; }

/* ——— Trust items horizontal ——— */
.trust-row {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 8px 0 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.6);
}
.trust-row span::before { content: '· '; color: var(--terracotta); margin-right: 6px; }
.trust-row span:first-child::before { content: ''; margin: 0; }

/* ——— Pull quote ——— */
.pull-quote {
  max-width: 780px;
  margin: 48px auto;
  padding: 32px 40px;
  border-left: 3px solid var(--terracotta);
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: var(--charcoal);
}
.pull-quote cite {
  display: block;
  font-family: var(--mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 16px;
}

/* ——— FAQ ——— */
.faq { max-width: 880px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--rule);
  padding: 26px 0;
  cursor: pointer;
}
.faq summary {
  font-family: var(--serif);
  font-size: 22px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--charcoal);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 26px; font-weight: 300;
  color: var(--terracotta);
  margin-left: 16px;
}
.faq details[open] summary::after { content: '–'; }
.faq details p { margin-top: 14px; color: var(--ink-soft); }

/* ——— Pricing table ——— */
.pricing-table {
  max-width: 900px;
  margin: 60px auto 0;
  border-top: 1px solid var(--charcoal);
  border-bottom: 1px solid var(--charcoal);
}
.pricing-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  padding: 22px 20px;
  border-bottom: 1px solid var(--rule);
  align-items: center;
  font-size: 15px;
}
.pricing-row:last-child { border-bottom: none; }
.pricing-row.head {
  font-family: var(--serif);
  font-size: 20px;
  border-bottom: 1px solid var(--charcoal);
  padding: 28px 20px;
}
.pricing-row.head .col-head {
  font-family: var(--serif);
  font-size: 20px;
}
.pricing-row.head .col-sub {
  color: var(--teal-deep);
}
.pricing-row .col-sub-val {
  color: var(--teal-deep);
  font-weight: 500;
}
.pricing-row .col-first { color: var(--ink-mute); font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.pricing-row.total {
  background: rgba(0,178,169,0.05);
  border-top: 1px solid var(--teal);
}
.pricing-row.total .col-first { color: var(--charcoal); font-weight: 600; }
.pricing-row.total .col-sub-val {
  font-family: var(--serif);
  font-size: 24px;
}

/* ——— Subscribe band ——— */
.subscribe-band {
  background: var(--charcoal);
  color: var(--off-white);
  padding: 120px 48px;
  text-align: center;
  border-bottom: 1px solid var(--rule-dark);
}
.subscribe-band h2 { color: var(--off-white); }
.subscribe-band .subhead { color: rgba(245,242,236,0.8); margin-left: auto; margin-right: auto; }
.subscribe-band .section-label { color: var(--teal); }
.chips {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 36px 0;
  flex-wrap: wrap;
}
.chip {
  border: 1px solid rgba(245,242,236,0.3);
  padding: 12px 20px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--off-white);
}

/* ——— Footer CTA band ——— */
.footer-cta {
  background: var(--charcoal);
  color: var(--off-white);
  padding: 140px 48px;
  text-align: center;
  border-bottom: 1px solid var(--rule-dark);
}
.footer-cta h2 { color: var(--off-white); }
.footer-cta .subhead { color: rgba(245,242,236,0.8); margin-left: auto; margin-right: auto; }
.footer-cta .cta-row { justify-content: center; }

/* ——— Site footer ——— */
footer.site {
  background: var(--off-white);
  padding: 80px 48px 40px;
  border-top: 1px solid var(--rule);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr;
  gap: 60px;
  max-width: 1280px;
  margin: 0 auto 48px;
}
.footer-grid h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; font-size: 14px; }
.footer-grid li a:hover { color: var(--terracotta-deep); }
.footer-brand .wordmark { margin-bottom: 20px; display: inline-block; }
.footer-brand p { font-size: 14px; max-width: 320px; margin-bottom: 24px; }
.news-form {
  display: flex;
  gap: 0;
  max-width: 320px;
  border-bottom: 1px solid var(--charcoal);
}
.news-form input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 0;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--charcoal);
  outline: none;
}
.news-form input::placeholder { color: var(--ink-mute); font-style: italic; }
.news-form button {
  border: none;
  background: transparent;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-deep);
  cursor: pointer;
  padding: 10px 0 10px 16px;
}
.news-form button:hover { color: var(--terracotta-deep); }
.news-note { font-family: var(--serif); font-style: italic; font-size: 13px; color: var(--ink-mute); margin-top: 12px; }
.disclaimer {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.6;
}
.copy-row {
  max-width: 1280px;
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ——— PDP grid ——— */
.pdp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  padding: 80px 48px 100px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: start;
}
.pdp-gallery {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
}
.pdp-thumbs { display: flex; flex-direction: column; gap: 10px; }
.pdp-thumb {
  aspect-ratio: 1;
  border: 1px solid var(--rule);
  background: var(--off-white-soft);
  cursor: pointer;
  position: relative;
  transition: border-color 0.15s;
}
.pdp-thumb:hover { border-color: var(--charcoal); }
.pdp-thumb.active { border-color: var(--terracotta); }
.pdp-main {
  aspect-ratio: 4/5;
  background:
    radial-gradient(ellipse at 50% 95%, rgba(28,37,38,0.3) 0%, transparent 45%),
    linear-gradient(180deg, var(--off-white) 0%, var(--off-white-soft) 100%);
  border: 1px solid var(--rule);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.pdp-info .eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 18px;
  display: block;
}
.pdp-info h1 { font-size: clamp(38px, 4.2vw, 60px); margin-bottom: 18px; }
.pdp-info .descriptor {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--ink-soft);
  margin-bottom: 32px;
  line-height: 1.4;
}

/* ——— Numbered blocks (subscribe) ——— */
.numbered-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.section.dark .numbered-grid { border-color: var(--rule-dark); }
.numbered-card {
  padding: 56px 40px;
  border-right: 1px solid var(--rule);
}
.section.dark .numbered-card { border-right-color: var(--rule-dark); }
.numbered-card:last-child { border-right: none; }
.numbered-card .num {
  font-family: var(--serif);
  font-size: 48px;
  color: var(--terracotta);
  margin-bottom: 20px;
  line-height: 1;
}

/* ——— Timeline (origin) ——— */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.timeline .pt .year {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--terracotta);
  margin-bottom: 8px;
}
.timeline .pt .note {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  line-height: 1.6;
  letter-spacing: 0.02em;
}

/* ——— Archival photo (story page Act One) ——— */
.archive-photo {
  margin: 32px 0 40px;
  padding: 0;
}
.archive-photo img {
  width: 100%;
  height: auto;
  display: block;
}
.archive-photo figcaption {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  line-height: 1.6;
  font-style: normal;
  text-align: center;
}

/* ——— Story body ——— */
.story-body { max-width: 760px; margin: 0 auto; padding: 100px 48px; }
.story-body section { padding: 0 0 80px; border-bottom: none; }
.story-body p { font-size: 18px; line-height: 1.7; }
.story-body h2 { margin-top: 0; }

.image-frame {
  aspect-ratio: 16/9;
  margin-bottom: 48px;
  border: 1px solid var(--rule);
  background:
    radial-gradient(ellipse at 40% 40%, #4a3f2f 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, #2a2218 0%, transparent 55%),
    linear-gradient(135deg, #3d3528 0%, #1a140c 100%);
  overflow: hidden;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.image-frame.archive {
  filter: grayscale(0.6) contrast(1.1);
  background:
    radial-gradient(ellipse at 50% 40%, #7a6a55 0%, transparent 50%),
    linear-gradient(135deg, #4a3e2f 0%, #1a140c 100%);
}
.image-frame.petri {
  background:
    radial-gradient(circle at 50% 50%, rgba(0,178,169,0.2) 0%, rgba(0,138,130,0.05) 40%, transparent 70%),
    radial-gradient(ellipse at 40% 40%, #4a3f2f 0%, transparent 50%),
    linear-gradient(135deg, #2a2218 0%, #0a0604 100%);
  position: relative;
}
.image-frame.petri::after {
  content: '';
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  border: 2px solid rgba(0,178,169,0.2);
  box-shadow: inset 0 0 60px rgba(0,178,169,0.1);
}

/* ——— Scientists ——— */
.lineage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  max-width: 1180px;
  margin: 0 auto;
  align-items: start;
}
@media (max-width: 900px) {
  .lineage-grid { grid-template-columns: 1fr; gap: 48px; }
}
.scientist {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.scientist .portrait {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6a6e6e 0%, #3a3f40 100%);
  filter: grayscale(1);
  margin-bottom: 8px;
}
.scientist h3 { margin-bottom: 4px; }
.scientist .aff {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--teal-deep);
  margin-bottom: 12px;
}

/* ——— Figure container ——— */
.figure {
  max-width: 760px;
  margin: 60px auto 0;
}
.figure h3 { font-size: 20px; margin-bottom: 16px; }

/* ——— Citations list ——— */
.cite-list {
  max-width: 860px;
  margin: 0 auto;
  border-top: 1px solid var(--rule);
}
.cite-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 32px;
  align-items: start;
}
.cite-item .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-deep);
  padding-top: 3px;
}
.cite-item .title {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--charcoal);
  line-height: 1.4;
}
.cite-item .ext {
  color: var(--terracotta);
  font-family: var(--mono);
  font-size: 14px;
}

/* ——— Responsive ——— */
@media (max-width: 960px) {
  section, .hero, .page-hero { padding-left: 24px; padding-right: 24px; }
  nav.primary { padding: 16px 24px; flex-wrap: wrap; gap: 14px; }
  nav.primary ul { gap: 16px; font-size: 10px; flex-wrap: wrap; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .trust-item { border-right: none; padding-right: 0; border-bottom: 1px solid var(--rule); padding-bottom: 16px; }
  .split, .product-showcase, .pdp-grid, .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .data-grid, .numbered-grid { grid-template-columns: 1fr; }
  .data-cell, .numbered-card { border-right: none; border-bottom: 1px solid var(--rule); }
  .data-cell:last-child, .numbered-card:last-child { border-bottom: none; }
  .flow { grid-template-columns: 1fr; }
  .flow .connector { width: 1px; height: 40px; margin: 0 auto; }
  .flow .connector::after { right: 50%; top: auto; bottom: 0; transform: translateX(50%); border: none; border-top: 7px solid var(--teal-deep); border-left: 5px solid transparent; border-right: 5px solid transparent; }
  .quote-grid { grid-template-columns: 1fr; }
  .quote { border-right: none !important; border-bottom: 1px solid var(--rule-dark); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .pdp-gallery { grid-template-columns: 1fr; }
  .pdp-thumbs { flex-direction: row; }
  .pricing-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 20px; }
  .pricing-row.head { display: none; }
  .cite-item { grid-template-columns: 1fr; gap: 8px; }
  .doc-card { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .doc-card .play { margin: 0 auto; }
}

/* ——— Dose tiers (shop page: Roots 1mg / Canopy 5mg) ——— */
.dose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1080px;
  margin: 0 auto;
  align-items: start;
}
.dose-card {
  border: 1px solid var(--rule);
  background: var(--off-white);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.dose-card.featured { border: 1px solid var(--terracotta); }
.dose-visual {
  aspect-ratio: 16/11;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.dose-visual.roots {
  background:
    radial-gradient(ellipse at 50% 125%, #6b5540 0%, transparent 55%),
    linear-gradient(180deg, #2a2218 0%, #0f0b06 100%);
}
.dose-visual.canopy {
  background:
    radial-gradient(ellipse at 50% -25%, #7f9168 0%, transparent 55%),
    linear-gradient(180deg, #39402f 0%, #1c2526 100%);
}
.dose-bottle {
  width: 60px;
  aspect-ratio: 2/5;
  background: linear-gradient(180deg, #1C2526 0%, #0f1516 100%);
  border-radius: 4px 4px 8px 8px;
  box-shadow: 0 16px 34px rgba(0,0,0,0.42);
}
.dose-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 10px;
}
.dose-badge.teal { background: var(--teal); color: var(--charcoal); }
.dose-badge.terracotta { background: var(--terracotta); color: var(--off-white); }
.dose-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}
.dose-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.dose-name { font-family: var(--serif); font-size: 34px; font-weight: 500; margin: 0; line-height: 1; }
.dose-mg {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  white-space: nowrap;
}
.dose-desc { font-size: 15px; color: var(--ink-soft); line-height: 1.6; margin: 0; }
.dose-claims { list-style: none; margin: 0; padding: 0; }
.dose-claims li {
  font-size: 14px;
  color: var(--ink-soft);
  padding-left: 20px;
  position: relative;
  margin-bottom: 10px;
  line-height: 1.5;
}
.dose-claims li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 1px;
  background: var(--terracotta);
}
.dose-pricing {
  border-top: 1px solid var(--rule);
  padding-top: 18px;
  margin-top: auto;
}
.dose-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
  margin-bottom: 8px;
}
.dose-price-row strong { font-family: var(--serif); font-size: 24px; font-weight: 500; }
.dose-price-row .per { font-family: var(--mono); font-size: 12px; color: var(--ink-mute); }
.dose-price-row.muted { color: var(--ink-mute); }
.dose-card .btn { display: block; text-align: center; margin-top: 4px; }
.dose-foot {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.03em;
  line-height: 1.6;
  color: var(--ink-mute);
  margin: 6px 0 0;
}

/* ——— Single-SKU layout, sold-out state, and restock notify ——— */
/* Definite track (not minmax) — a minmax(0, N) track collapses to 0 under justify-content: center. */
.dose-grid.single { grid-template-columns: min(560px, 100%); justify-content: center; }
.btn.disabled {
  background: var(--rule);
  border-color: var(--rule);
  color: var(--ink-mute);
  cursor: not-allowed;
  pointer-events: none;
}
.restock {
  max-width: 560px;
  margin: 40px auto 0;
  padding: 32px;
  border: 1px solid var(--rule);
  background: var(--off-white-soft);
  text-align: center;
}
.restock-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  margin-bottom: 12px;
}
.restock-title { font-size: 24px; margin-bottom: 10px; }
.restock-body { font-size: 15px; color: var(--ink-soft); margin: 0 auto 20px; max-width: 44ch; }
.restock-form { display: flex; gap: 10px; }
.restock-input {
  flex: 1;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid var(--rule);
  background: var(--off-white);
  font-family: var(--sans);
  font-size: 15px;
  color: var(--charcoal);
  outline: none;
}
.restock-input:focus { border-color: var(--terracotta); }
.restock-btn {
  flex-shrink: 0;
  background: var(--terracotta);
  border: 1px solid var(--terracotta);
  color: var(--off-white);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 13px 20px;
  cursor: pointer;
}
.restock-btn:hover { background: var(--terracotta-deep); border-color: var(--terracotta-deep); }
.restock-confirm {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--charcoal);
  margin: 0;
  padding: 12px 0;
}
@media (max-width: 860px) {
  .dose-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ——————————————————————————————————————————————
   GATE / INVITATION LANDING PAGE (index.html)
   —————————————————————————————————————————————— */
.gate-body {
  margin: 0;
  min-height: 100vh;
  color: var(--off-white);
  /* Deep-umber fallback behind the photo; gradient overlay layered on top of the image */
  background-color: #1a1308;
  background-image:
    linear-gradient(180deg, rgba(12,9,4,0.74) 0%, rgba(12,9,4,0.30) 38%, rgba(12,9,4,0.46) 64%, rgba(12,9,4,0.88) 100%),
    url('images/landing-soil-dawn.png');
  background-size: cover, cover;
  background-position: center center, center center;
  background-repeat: no-repeat, no-repeat;
}
.gate {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 56px 24px 36px;
  box-sizing: border-box;
}
.gate-inner {
  max-width: 520px;
  width: 100%;
  margin: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gate-wordmark {
  font-family: var(--serif);
  font-size: 38px;
  letter-spacing: 0.04em;
  font-weight: 500;
  color: var(--off-white);
  margin-bottom: 44px;
}
.gate-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.72);
  margin-bottom: 28px;
}
.gate-catchphrase {
  font-family: var(--serif);
  font-size: clamp(24px, 5vw, 37px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--off-white);
  margin: 0 0 24px;
}
.gate-catchphrase span { display: block; }
.gate-catchphrase span:first-child { white-space: nowrap; }
.gate-catchphrase span + span { margin-top: 0.5em; }
.gate-subhead {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(245,242,236,0.82);
  max-width: 440px;
  margin: 0 0 48px;
}
.gate-path {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}
.gate-label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.7);
  margin-bottom: 12px;
}
.gate-form {
  display: flex;
  gap: 10px;
}
.gate-input {
  flex: 1;
  min-width: 0;
  background: rgba(245,242,236,0.08);
  border: 1px solid rgba(245,242,236,0.32);
  color: var(--off-white);
  font-family: var(--sans);
  font-size: 15px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.gate-input::placeholder { color: rgba(245,242,236,0.45); }
.gate-input:focus { border-color: var(--terracotta); background: rgba(245,242,236,0.12); }
.gate-btn {
  flex-shrink: 0;
  background: var(--terracotta);
  border: 1px solid var(--terracotta);
  color: var(--off-white);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 14px 22px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.gate-btn:hover { background: transparent; color: var(--off-white); }
.gate-msg {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: rgba(245,242,236,0.88);
  line-height: 1.5;
  margin: 14px 0 0;
}
.gate-divider {
  width: 100%;
  max-width: 420px;
  margin: 30px auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.gate-divider::before,
.gate-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(245,242,236,0.22);
}
.gate-divider span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(245,242,236,0.55);
}
.gate-confirm {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.5;
  color: var(--off-white);
  margin: 0;
  padding: 14px 0;
}
.gate-footer {
  position: relative;
  z-index: 1;
  max-width: 540px;
  margin: 48px auto 0;
  text-align: center;
}
.gate-disclaimer {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  line-height: 1.65;
  color: rgba(245,242,236,0.55);
  margin: 0 0 10px;
}
.gate-copy {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(245,242,236,0.55);
  margin: 0;
}
@media (max-width: 520px) {
  .gate-form { flex-direction: column; }
  .gate-btn { width: 100%; }
  .gate-wordmark { font-size: 30px; margin-bottom: 36px; }
}
