/* ============================================
   Perrenia-style reference site
   Warm neutrals · sage/olive · editorial serif
   ============================================ */

:root {
  --cream: #F5F0E6;
  --paper: #FAF6EF;
  --paper-2: #EFE7D8;
  --ink: #2A2620;
  --ink-2: #4A4238;
  --muted: #7A7060;
  --line: #D8CFBE;
  --line-soft: #E8DFCE;
  --olive: #5A6B4A;
  --olive-2: #4A5A3D;
  --sage: #8A9878;
  --terra: #B87A5A;
  --serif: 'Cormorant Garamond', 'Cormorant', Garamond, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.75rem); line-height: 1.02; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.2; }
h4 { font-size: 1.15rem; line-height: 1.3; }

p { color: var(--ink-2); font-size: 1.0625rem; line-height: 1.65; text-wrap: pretty; }
p.lede { font-size: 1.1875rem; line-height: 1.55; color: var(--ink-2); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--olive);
  border-radius: 50%;
  display: inline-block;
}

.section-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

/* ---------- Layout ---------- */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 2rem; }
.wrap-narrow { max-width: 920px; margin: 0 auto; padding: 0 2rem; }

section { padding: 6rem 0; position: relative; }
@media (max-width: 720px) { section { padding: 4rem 0; } }

.rule { height: 1px; background: var(--line); margin: 0; border: 0; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 239, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, padding .3s;
}
.nav.scrolled { border-bottom-color: var(--line-soft); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 2rem;
  max-width: 1240px;
  margin: 0 auto;
  transition: padding .3s;
}
.nav.scrolled .nav-inner { padding-top: 1rem; padding-bottom: 1rem; }
.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  line-height: 0;
}
.brand img {
  height: 44px;
  width: auto;
  display: block;
}
.foot-brand .brand img { height: 52px; }
@media (max-width: 520px) {
  .brand img { height: 36px; }
}
.nav-links {
  display: flex; gap: 2.25rem;
  align-items: center;
  list-style: none;
}
.nav-links a {
  font-size: 0.875rem;
  color: var(--ink-2);
  transition: color .2s;
}
.nav-links a:hover { color: var(--olive); }
.nav-links a.nav-cta {
  padding: 0.7rem 1.35rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  transition: background .2s, transform .2s, color .2s;
}
.nav-links a.nav-cta:hover { background: var(--olive); color: var(--cream); }
@media (max-width: 820px) {
  .nav-links { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.75rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .25s;
  background: var(--ink);
  color: var(--paper);
}
.btn:hover { background: var(--olive); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-arrow::after {
  content: '→';
  display: inline-block;
  transition: transform .2s;
}
.btn:hover .btn-arrow::after,
.btn-arrow:hover::after { transform: translateX(3px); }

.text-link {
  color: var(--olive);
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--olive);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
  display: inline-block;
}
.text-link:hover { color: var(--terra); border-color: var(--terra); }

/* ---------- Hero ---------- */
.hero {
  padding: 4.5rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 5rem;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
}
.hero h1 { margin: 1.5rem 0 1.75rem; }
.hero h1 em { font-style: italic; color: var(--olive); }
.hero-lede { max-width: 34rem; margin-bottom: 2.5rem; }
.hero-cta-row { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
}
.hero-visual::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(42,38,32,0.35));
  z-index: 1;
}
.hero-visual .caption {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  z-index: 2;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  max-width: 70%;
}
.hero-meta {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.hero-meta-item .num {
  font-family: var(--serif);
  font-size: 2.25rem;
  color: var(--olive);
  display: block;
  line-height: 1;
  margin-bottom: 0.35rem;
}
.hero-meta-item .lbl {
  font-size: 0.8125rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ---------- Placeholder image ---------- */
.ph {
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(
      135deg,
      #E8DFCE 0px, #E8DFCE 2px,
      #EFE7D8 2px, #EFE7D8 14px
    );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-family: 'IBM Plex Mono', 'Menlo', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 2rem;
  position: relative;
}
.ph::before {
  content: '';
  position: absolute; inset: 1rem;
  border: 1px solid rgba(122, 112, 96, 0.25);
}
.ph span {
  background: var(--paper);
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line);
  position: relative;
  z-index: 1;
  max-width: 80%;
}
.ph.sage {
  background:
    repeating-linear-gradient(
      135deg,
      #C7CFB8 0px, #C7CFB8 2px,
      #D8DFC8 2px, #D8DFC8 14px
    );
}

/* ---------- How It Works ---------- */
.section-header {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
  align-items: end;
}
@media (max-width: 820px) {
  .section-header { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 3rem; }
}
.section-header .label-col { display: flex; flex-direction: column; gap: 1.25rem; }
.section-header h2 { max-width: 20ch; }

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px)  { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .steps { grid-template-columns: 1fr; } }
.step {
  padding: 2.5rem 1.5rem 2rem 0;
  border-right: 1px solid var(--line);
  position: relative;
}
.step:last-child { border-right: none; }
/* Reset border-right on last visible column at each breakpoint */
@media (max-width: 1100px) {
  .step { border-right: 1px solid var(--line); }
  .step:nth-child(3n) { border-right: none; }
  .step:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 780px) {
  .step:nth-child(3n) { border-right: 1px solid var(--line); }
  .step:nth-child(2n) { border-right: none; }
  .step:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .step:last-child:nth-child(odd) { border-bottom: none; }
}
@media (max-width: 520px) {
  .step { border-right: none; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: none; }
}
.step-num {
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--olive);
  line-height: 1;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.step h3 { margin-bottom: 0.75rem; }
.step p { font-size: 0.9375rem; }

/* ---------- Perrenia difference ---------- */
.difference-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (max-width: 900px) { .difference-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .difference-grid { grid-template-columns: 1fr; } }
.difference-item {
  padding: 2.5rem 1.75rem 2rem 0;
  border-right: 1px solid var(--line);
  position: relative;
}
.difference-item:nth-child(3n) { border-right: none; }
.difference-item:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
@media (max-width: 900px) {
  .difference-item { border-right: 1px solid var(--line); padding-right: 1.5rem; }
  .difference-item:nth-child(3n) { border-right: 1px solid var(--line); }
  .difference-item:nth-child(2n) { border-right: none; }
  .difference-item:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .difference-item { border-right: none; border-bottom: 1px solid var(--line); padding-right: 0; }
  .difference-item:last-child { border-bottom: none; }
}
.difference-item h3 { margin-bottom: 0.75rem; max-width: 22ch; }
.difference-item p { font-size: 0.9375rem; }

/* ---------- Overview / mission ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 3rem; }
}
.split.reverse .col-image { order: 2; }
@media (max-width: 900px) { .split.reverse .col-image { order: initial; } }
.split .col-image { aspect-ratio: 4 / 5; }

.checklist { list-style: none; margin-top: 2rem; }
.checklist li {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 1rem;
  color: var(--ink-2);
  font-size: 0.9375rem;
}
.checklist li:last-child { border-bottom: 1px solid var(--line); }
.checklist li::before {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px;
  border: 1px solid var(--olive);
  border-radius: 50%;
  background: radial-gradient(circle, var(--olive) 40%, transparent 42%);
  margin-top: 2px;
}

.callout {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--paper-2);
  border-left: 3px solid var(--olive);
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  transition: background .2s;
}
a.callout:hover { background: var(--cream); }
.callout .price {
  font-family: var(--serif);
  font-size: 1.75rem;
  color: var(--ink);
}
.callout .price small {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.2rem;
}

.lab-options {
  margin-top: 3.25rem;
  padding: 2.25rem;
  background: var(--paper-2);
  border-left: 3px solid var(--olive);
}
.lab-options-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.75rem;
}
.lab-options-header h3 { margin-top: 0.65rem; }
.lab-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.lab-option {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 150px;
  padding: 1.75rem;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: background .2s, border-color .2s;
}
.lab-option:hover { background: var(--cream); }
.lab-option strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }
.lab-option span { color: var(--muted); font-size: 0.875rem; line-height: 1.5; }
.lab-option em { color: var(--olive); font-size: 0.8125rem; font-style: normal; margin-top: auto; }
.lab-options-note { margin-top: 1rem; color: var(--muted); font-size: 0.8125rem; font-style: italic; }
@media (max-width: 620px) {
  .lab-options { padding: 1.25rem; }
  .lab-options-header { align-items: start; flex-direction: column; gap: 0.75rem; }
  .lab-options-grid { grid-template-columns: 1fr; }
}

.lab-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.lab-step {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem 1.25rem 0 0;
  border-right: 1px solid var(--line);
}
.lab-step:last-child { border-right: none; }
.lab-step-num {
  font-family: var(--serif);
  font-size: 1.75rem;
  color: var(--olive);
  line-height: 1;
  font-style: italic;
}
.lab-step strong { font-family: var(--serif); font-size: 1.0625rem; font-weight: 400; }
.lab-step span { color: var(--muted); font-size: 0.8125rem; line-height: 1.5; }
@media (max-width: 620px) {
  .lab-steps { grid-template-columns: 1fr; }
  .lab-step {
    padding: 1.25rem 0 1.25rem;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .lab-step:last-child { border-bottom: none; }
}

/* ---------- Services grid ---------- */
.services-bg { background: var(--paper-2); }
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 900px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } }
.svc-card {
  background: var(--paper);
  padding: 2.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background .3s;
  cursor: pointer;
  position: relative;
  min-height: 320px;
}
.svc-card:hover { background: var(--cream); }
.svc-card .svc-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.svc-card h3 {
  margin-top: 0.5rem;
  color: var(--ink);
}
.svc-card p {
  font-size: 0.9375rem;
  color: var(--ink-2);
  flex: 1;
}
.svc-card .svc-arrow {
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  color: var(--olive);
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap .25s;
}
.svc-card:hover .svc-arrow { gap: 0.85rem; color: var(--terra); }
.svc-card .svc-arrow::after { content: '→'; }

/* ---------- Membership pricing ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }
.tier {
  border: 1px solid var(--line);
  padding: 2.5rem 2rem;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  transition: border-color .3s, transform .3s;
}
.tier:hover { border-color: var(--olive); transform: translateY(-4px); }
.tier.featured {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.tier.featured h3,
.tier.featured .price-main { color: var(--paper); }
.tier.featured .tier-label { color: var(--sage); }
.tier.featured .tier-item { color: rgba(245, 240, 230, 0.75); border-color: rgba(245, 240, 230, 0.15); }
.tier.featured .btn { background: var(--paper); color: var(--ink); }
.tier.featured .btn:hover { background: var(--sage); color: var(--ink); }
.tier.featured .badge {
  position: absolute;
  top: -12px; left: 2rem;
  background: var(--terra);
  color: var(--paper);
  font-size: 0.7rem;
  padding: 0.3rem 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.tier-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive);
}
.price-main {
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 1;
  color: var(--ink);
}
.price-main small {
  font-family: var(--sans);
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: normal;
  margin-left: 0.35rem;
}
.tier.featured .price-main small { color: var(--sage); }
.tier .save {
  font-size: 0.8125rem;
  color: var(--terra);
  font-style: italic;
}
.tier.featured .save { color: var(--terra); }
.tier ul { list-style: none; margin: 0.5rem 0; }
.tier .tier-item {
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--ink-2);
  display: flex;
  gap: 0.75rem;
}
.tier .tier-item:last-child { border-bottom: 1px solid var(--line); }
.tier.featured .tier-item:last-child { border-bottom: 1px solid rgba(245, 240, 230, 0.15); }
.tier .tier-item::before { content: '·'; color: var(--olive); font-weight: bold; }
.tier.featured .tier-item::before { color: var(--sage); }
.tier .btn { justify-content: center; margin-top: auto; }

/* ---------- Comprehensive tier inclusions ---------- */
.tier .tier-price {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--ink);
  line-height: 1;
  margin: 0.25rem 0 0.5rem;
}
.tier .tier-price small {
  font-family: var(--sans);
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: normal;
  margin-left: 0.3rem;
}
.tier .tier-price + .tier-pay {
  font-size: 0.8125rem;
  color: var(--terra);
  font-style: italic;
  margin-bottom: 0.25rem;
}
.tier .tier-flag {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--olive);
  margin-top: 0.4rem;
}
.tier-includes {
  list-style: none;
  margin: 0.5rem 0 0.25rem;
  padding: 0;
}
.tier-includes li {
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--ink-2);
  display: flex;
  gap: 0.75rem;
  line-height: 1.45;
}
.tier-includes li:last-child { border-bottom: 1px solid var(--line); }
.tier-includes li::before {
  content: '';
  flex-shrink: 0;
  margin-top: 6px;
  width: 12px; height: 12px;
  border: 1px solid var(--olive);
  border-radius: 50%;
  background: radial-gradient(circle, var(--olive) 40%, transparent 42%);
}

/* ---------- Paired-care upgrade band ---------- */
.paired-band {
  margin-top: 3rem;
  padding: 2.5rem;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 900px) {
  .paired-band { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem; }
}
.paired-band .label {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.paired-band .label::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--sage);
  border-radius: 50%;
}
.paired-band h3 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.15;
  color: var(--paper);
  margin-bottom: 1rem;
  font-weight: 400;
  max-width: 18ch;
}
.paired-band .lede {
  font-size: 0.95rem;
  color: rgba(245, 240, 230, 0.75);
  line-height: 1.55;
  margin-bottom: 1.75rem;
}
.paired-band .paired-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.paired-band .pillar {
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(245, 240, 230, 0.25);
  border-radius: 999px;
  font-size: 0.8125rem;
  color: rgba(245, 240, 230, 0.85);
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.02em;
}
.paired-prices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(245, 240, 230, 0.18);
}
@media (max-width: 600px) { .paired-prices { grid-template-columns: 1fr; } }
.paired-price {
  padding: 1.5rem 1.25rem;
  border-right: 1px solid rgba(245, 240, 230, 0.18);
}
.paired-price:last-child { border-right: none; }
@media (max-width: 600px) {
  .paired-price { border-right: none; border-bottom: 1px solid rgba(245, 240, 230, 0.18); }
  .paired-price:last-child { border-bottom: none; }
}
.paired-price .cadence {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.4rem;
}
.paired-price .amount {
  font-family: var(--serif);
  font-size: 1.85rem;
  color: var(--paper);
  line-height: 1;
}
.paired-price .amount small {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: rgba(245, 240, 230, 0.6);
  margin-left: 0.25rem;
  font-weight: normal;
}
.paired-band .paired-cta {
  margin-top: 1.5rem;
  display: inline-flex;
}
.paired-band .paired-cta .btn {
  background: var(--paper);
  color: var(--ink);
}
.paired-band .paired-cta .btn:hover { background: var(--sage); color: var(--ink); }
.paired-note {
  font-size: 0.8125rem;
  color: rgba(245, 240, 230, 0.55);
  margin-top: 1rem;
  line-height: 1.5;
  max-width: 44rem;
}

/* ---------- Thorne supplements table ---------- */
.thorne-bg { background: var(--paper-2); }
.thorne-table {
  border-top: 1px solid var(--line);
  margin-top: 1.5rem;
}
.thorne-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
@media (max-width: 780px) {
  .thorne-row { grid-template-columns: 1fr; gap: 0.4rem; padding: 1.25rem 0; }
}
.thorne-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--ink);
}
.thorne-desc {
  font-size: 0.9375rem;
  color: var(--ink-2);
  line-height: 1.6;
}

/* ---------- Multi-program bundle ---------- */
.bundle-bg { background: var(--cream); }
.bundle-header {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 3.5rem;
  align-items: end;
}
@media (max-width: 820px) {
  .bundle-header { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2.5rem; }
}
.bundle-header h2 { max-width: 22ch; }

.bundle-tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  background: var(--paper);
}
@media (max-width: 900px) { .bundle-tiers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .bundle-tiers { grid-template-columns: 1fr; } }

.bundle-tier {
  padding: 2.5rem 1.75rem;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: background .3s;
}
.bundle-tier:last-child { border-right: none; }
@media (max-width: 900px) {
  .bundle-tier:nth-child(2n) { border-right: none; }
  .bundle-tier:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .bundle-tier { border-right: none; border-bottom: 1px solid var(--line); }
  .bundle-tier:last-child { border-bottom: none; }
}
.bundle-tier.top { background: var(--ink); color: var(--paper); }
.bundle-tier.top .bundle-count,
.bundle-tier.top .bundle-desc { color: rgba(245, 240, 230, 0.75); }
.bundle-tier.top .bundle-save { color: var(--sage); }

.bundle-save {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1;
  color: var(--olive);
  font-style: italic;
}
.bundle-count {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.75rem;
}
.bundle-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--ink);
  margin-top: 0.15rem;
}
.bundle-tier.top .bundle-title { color: var(--paper); }
.bundle-desc {
  font-size: 0.875rem;
  color: var(--ink-2);
  margin-top: auto;
  padding-top: 1.5rem;
}
.bundle-note {
  margin-top: 2rem;
  font-size: 0.8125rem;
  color: var(--muted);
  max-width: 46rem;
  line-height: 1.6;
}

/* ---------- About ---------- */
.about-bg { background: var(--cream); }

/* ---------- Contact / CTA ---------- */
.cta-final {
  background: var(--ink);
  color: var(--paper);
  padding: 8rem 0;
  text-align: center;
}
.cta-final .eyebrow { color: var(--sage); }
.cta-final .eyebrow::before { background: var(--sage); }
.cta-final h2 { color: var(--paper); margin: 1.5rem 0; }
.cta-final p { color: rgba(245, 240, 230, 0.75); max-width: 40rem; margin: 0 auto 2.5rem; }
.cta-final .btn { background: var(--paper); color: var(--ink); }
.cta-final .btn:hover { background: var(--sage); }
.cta-final .btn-outline { background: transparent; color: var(--paper); border-color: rgba(245, 240, 230, 0.5); }
.cta-final .btn-outline:hover { background: rgba(245, 240, 230, 0.1); color: var(--paper); }
.cta-final .phone {
  margin-top: 2rem;
  font-size: 0.9375rem;
  color: rgba(245, 240, 230, 0.6);
}
.cta-final .phone a { color: var(--sage); border-bottom: 1px solid rgba(138, 152, 120, 0.4); }

/* ---------- Footer ---------- */
.foot {
  background: var(--paper-2);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--line);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 780px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-col h5 {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
  font-weight: 500;
}
.foot-col a {
  display: block;
  padding: 0.35rem 0;
  color: var(--ink-2);
  font-size: 0.9375rem;
  transition: color .2s;
}
.foot-col a:hover { color: var(--olive); }
.foot-brand p {
  font-size: 0.875rem;
  margin-top: 1rem;
  max-width: 26rem;
}
.foot-bottom {
  border-top: 1px solid var(--line);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--muted);
}
.disclaimer {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

/* ---------- Reveal animation ----------
   Only applied when the .js-ready flag is on <html>. Otherwise reveal
   elements render visible immediately (fallback for delayed/absent JS). */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform, opacity;
}
.js-ready .reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .js-ready .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Service page specific ---------- */
.svc-hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 8rem 2rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
@media (max-width: 900px) { .svc-hero { grid-template-columns: 1fr; padding-top: 5rem; } }
.svc-hero .col-image { aspect-ratio: 4/5; }
.breadcrumb {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}
.breadcrumb a { color: var(--olive); border-bottom: 1px solid transparent; }
.breadcrumb a:hover { border-bottom-color: var(--olive); }

.tier-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.stacking-banner {
  margin-top: 2.5rem;
  padding: 1.75rem 2rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 3px solid var(--terra);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.stacking-banner h3 { margin: 0.6rem 0 0.55rem; }
.stacking-banner p { font-size: 0.9375rem; }
.stacking-banner strong { color: var(--olive-2); font-weight: 600; }
.stacking-recommendation {
  padding-left: 2rem;
  border-left: 1px solid var(--line);
}
.stacking-recommendation p { margin-top: 0.6rem; }
@media (max-width: 720px) {
  .stacking-banner { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.5rem; }
  .stacking-recommendation { padding-left: 0; border-left: none; border-top: 1px solid var(--line); padding-top: 1.5rem; }
}

.compound-table {
  border-top: 1px solid var(--line);
  margin-top: 3rem;
}
.compound-row {
  display: grid;
  grid-template-columns: 180px 1.5fr 2fr;
  gap: 2rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
@media (max-width: 780px) {
  .compound-row { grid-template-columns: 1fr; gap: 0.5rem; padding: 1.5rem 0; }
}
.compound-status {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.compound-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--ink);
}
.compound-desc {
  font-size: 0.9375rem;
  color: var(--ink-2);
  line-height: 1.6;
}
.compound-desc em {
  color: var(--muted);
  font-style: italic;
  font-size: 0.875rem;
  display: block;
  margin-top: 0.4rem;
}

/* ---------- Sports & Performance: IV infusion menu ---------- */
.iv-menu {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) { .iv-menu { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .iv-menu { grid-template-columns: 1fr; } }
.iv-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: border-color .25s, transform .25s;
}
.iv-card:hover { border-color: var(--olive); transform: translateY(-4px); }
.iv-tagline {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--olive);
}
.iv-card h3 { margin: 0.15rem 0 0.5rem; }
.iv-includes { list-style: none; margin: 0 0 1rem; }
.iv-includes li {
  font-size: 0.875rem;
  color: var(--ink-2);
  padding: 0.4rem 0;
  border-top: 1px solid var(--line-soft);
}
.iv-includes li:first-child { border-top: none; }
.iv-price {
  font-family: var(--serif);
  font-size: 1.75rem;
  color: var(--ink);
  margin-top: auto;
}
.iv-flower {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.25rem;
}
.iv-flower span {
  text-transform: none;
  letter-spacing: normal;
  font-style: italic;
}

/* ---------- misc ---------- */
::selection { background: var(--olive); color: var(--paper); }
