/* ==========================================================
   Equine Performance Labs — Brand Stylesheet
   ========================================================== */

/* Self-host brand fonts */
@font-face {
  font-family: "Playfair";
  src: url("../fonts/Playfair.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair";
  src: url("../fonts/Playfair-Italic.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Italic.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ---------- Design Tokens ---------- */
:root {
  --teal-900: #0d3d36;
  --teal-800: #11473e;
  --teal-700: #185d51;
  --sage-500: #a1c9bf;
  --sage-300: #c2dbd4;
  --sage-100: #e8f1ee;
  --gray-900: #1e1e1e;
  --gray-700: #2c2e2d;
  --gray-500: #6a716e;
  --gray-300: #c8cbc7;
  --gray-200: #e6e8e3;
  --gray-100: #f1f1ee;
  --paper:    #fdfdfd;
  --cream:    #f7f5ef;
  --line:     #e1e3df;
  --rule:     #c9cdc6;

  --display: "Playfair", "Playfair Display", Georgia, serif;
  --sans:    "Montserrat", -apple-system, BlinkMacSystemFont, system-ui, "Helvetica Neue", sans-serif;

  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(72px, 9vw, 140px);
  --radius: 4px;
  --radius-md: 10px;
  --radius-pill: 999px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.005em;
  margin: 0 0 0.5em;
  color: var(--teal-900);
}
h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
h4 { font-size: 1.1rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0; color: var(--gray-900); }

.italic-accent { font-style: italic; font-weight: 400; color: var(--sage-500); }
.italic-accent--ink { color: var(--teal-900); }

p { margin: 0 0 1em; color: var(--gray-700); font-weight: 500; }
.lead { font-size: 1.05rem; color: var(--gray-700); max-width: 60ch; }
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin: 0 0 1.4em;
  display: inline-block;
}
.eyebrow--light { color: rgba(255,255,255,0.7); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: var(--section-y) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--cream { background: var(--cream); }
.section--sage { background: var(--sage-100); }
.section--paper { background: var(--paper); }
.text-center { text-align: center; }
.maxw-prose { max-width: 60ch; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.8em;
  border-radius: var(--radius-pill);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  background: transparent;
  transition: all 240ms ease;
  white-space: nowrap;
}
.btn--solid { background: var(--teal-900); color: var(--paper); }
.btn--solid:hover { background: var(--teal-700); transform: translateY(-1px); }
.btn--outline { border-color: var(--teal-900); color: var(--teal-900); }
.btn--outline:hover { background: var(--teal-900); color: var(--paper); }
.btn--ghost-light { border-color: rgba(255,255,255,0.5); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn--solid-light { background: var(--paper); color: var(--teal-900); }
.btn--solid-light:hover { background: var(--sage-100); }
.btn--small { padding: 0.7em 1.4em; font-size: 0.7rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 253, 253, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 64px; width: auto; }
@media (max-width: 600px) {
  .brand img { height: 52px; }
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav__list {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__list a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gray-900);
  position: relative;
  padding: 6px 0;
  transition: color 200ms;
}
.nav__list a:hover { color: var(--teal-700); }
.nav__list a.is-active { color: var(--teal-900); }
.nav__list a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--teal-700);
}
.nav__cta {
  background: var(--gray-900);
  color: var(--paper);
  padding: 0.85em 1.4em;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 200ms, transform 200ms;
  white-space: nowrap;
}
.nav__cta:hover { background: var(--teal-900); color: #fff; transform: translateY(-1px); }

/* Header right cluster — CTA + hamburger always together */
.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  width: 44px;
  height: 44px;
  position: relative;
  flex-shrink: 0;
  transition: border-color 200ms, background 200ms;
}
.menu-toggle:hover { border-color: var(--teal-900); background: var(--cream); }
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--gray-900);
  position: absolute;
  left: 11px;
  transition: 220ms ease;
}
.menu-toggle span { top: 50%; transform: translateY(-50%); }
.menu-toggle span::before { content: ""; top: -7px; left: 0; }
.menu-toggle span::after { content: ""; top: 7px; left: 0; }
.menu-toggle.is-open span { background: transparent; }
.menu-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.menu-toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

/* Show hamburger + collapse nav links from 1100px down (vet account label is long) */
@media (max-width: 1100px) {
  .nav__list { display: none; }
  .menu-toggle { display: block; }
  .nav.is-open .nav__list {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 24px var(--gutter);
    gap: 20px;
    box-shadow: 0 12px 32px rgba(13,61,54,0.08);
  }
  .nav.is-open .nav__list a {
    font-size: 1rem;
    padding: 8px 0;
  }
}

/* Tighter CTA on small phones to keep it visible */
@media (max-width: 480px) {
  .nav__cta {
    padding: 0.75em 1em;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }
  .site-header__bar { gap: 12px; padding: 12px var(--gutter); }
}

/* ---------- Hero (with green wave texture bg) ---------- */
.hero {
  background: var(--teal-900) url("../images/textures/green-wave.jpg") center/cover no-repeat;
  color: #fff;
  padding: clamp(40px, 5vw, 72px) 0;
  position: relative;
  overflow: hidden;
  height: 680px;
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,61,54,0.55) 0%, rgba(13,61,54,0.35) 50%, rgba(13,61,54,0.65) 100%);
  pointer-events: none;
}
.hero > .container { width: 100%; }
.hero__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero__inner--single {
  grid-template-columns: minmax(0, 720px);
}
.hero h1 {
  color: #fff;
  font-weight: 500;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  margin-bottom: 0.4em;
  line-height: 1.08;
}
.hero p {
  color: rgba(255,255,255,0.84);
  max-width: 54ch;
  font-size: 1rem;
  line-height: 1.7;
}
.hero__media { display: grid; place-items: center; position: relative; }
.hero__media img { border-radius: var(--radius-md); width: 100%; max-width: 460px; }

@media (max-width: 800px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero { height: auto; min-height: 480px; padding: 56px 0; }
}

/* ---------- Hero light variant ---------- */
.hero--light {
  background: var(--paper);
  color: var(--teal-900);
  padding: clamp(48px, 6vw, 90px) 0;
}
.hero--light::before { display: none; }
.hero--light h1 { color: var(--teal-900); }
.hero--light p { color: var(--gray-700); }

/* ---------- Hero cinematic variant (full-bleed image, content overlay) ---------- */
.hero--cinematic {
  background-color: #051f1c;
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero--cinematic::before {
  /* Stronger left-side gradient for reliable text contrast across varied images */
  background: linear-gradient(90deg, rgba(5,31,28,0.85) 0%, rgba(5,31,28,0.65) 30%, rgba(5,31,28,0.25) 55%, transparent 75%);
}
/* Stronger variant for heroes with wider headlines or busier source images */
.hero--cinematic-strong::before {
  background: linear-gradient(90deg, rgba(5,31,28,0.92) 0%, rgba(5,31,28,0.8) 38%, rgba(5,31,28,0.45) 58%, transparent 80%);
}
@media (max-width: 800px) {
  .hero--cinematic {
    background-position: 65% center;
  }
  .hero--cinematic::before,
  .hero--cinematic-strong::before {
    background: linear-gradient(180deg, rgba(5,31,28,0.7) 0%, rgba(5,31,28,0.4) 60%, rgba(5,31,28,0.7) 100%);
  }
}

/* ---------- Stats strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 50px);
  padding: clamp(40px, 5vw, 64px) 0;
  border-bottom: 1px solid var(--line);
}
.stats__item .num {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
  color: var(--teal-900);
  margin-bottom: 0.4em;
  font-weight: 500;
}
.stats__item .label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-500);
  font-weight: 500;
}
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Recipe band ---------- */
.recipe-band {
  background: linear-gradient(180deg, var(--sage-500) 0%, #88b8ac 100%);
  color: var(--teal-900);
  padding: clamp(70px, 9vw, 120px) var(--gutter);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.recipe-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 60% at 20% 50%, rgba(255,255,255,0.18), transparent),
    radial-gradient(50% 70% at 80% 70%, rgba(13,61,54,0.10), transparent);
  pointer-events: none;
}
.recipe-band > * { position: relative; }
.recipe-band h2 {
  font-style: italic;
  font-weight: 400;
  color: var(--teal-900);
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  margin-bottom: 0.3em;
}
.recipe-band__sub {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--teal-900);
  margin-bottom: 1em;
  text-transform: uppercase;
}
.recipe-band p {
  color: rgba(13,61,54,0.85);
  max-width: 56ch;
  margin: 0 auto 2em;
  font-size: 1rem;
}

/* ---------- Feature card ---------- */
.feature-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 44px;
}
.feature-card__text { padding: clamp(28px, 4vw, 52px); }
.feature-card__media img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
@media (max-width: 800px) { .feature-card { grid-template-columns: 1fr; } }

/* ---------- Split (alternating image/text) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(48px, 6vw, 80px) 0;
}
.split--reverse > :first-child { order: 2; }
.split img { border-radius: var(--radius-md); width: 100%; }
@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
}

/* ---------- Persona cards ---------- */
.persona-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.persona {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 280px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  isolation: isolate;
  padding: 40px 28px;
}
.persona img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.persona::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,61,54,0.30) 0%, rgba(13,61,54,0.78) 100%);
  z-index: -1;
}
.persona h3 {
  color: #fff;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.9rem, 3.4vw, 2.4rem);
  margin-bottom: 0.5em;
}
.persona p {
  color: rgba(255,255,255,0.86);
  margin: 0 auto 1.4em;
  max-width: 32ch;
}
@media (max-width: 700px) { .persona-grid { grid-template-columns: 1fr; } }

/* ---------- Evidence grid ---------- */
.evidence-head { text-align: center; margin-bottom: 36px; }
.evidence-head__title {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-900);
  margin-bottom: 14px;
}
.evidence-head__filter a {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin: 0 8px;
  text-decoration: underline;
}
.evidence-head__filter a:hover { color: var(--teal-900); }

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.case-card { display: flex; flex-direction: column; gap: 10px; }
.case-card__media {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sage-100);
  margin-bottom: 4px;
}
.case-card__media img { width: 100%; height: 100%; object-fit: cover; }
.case-card__tag {
  align-self: flex-start;
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-top: 0;
  background: var(--sage-100);
  color: var(--teal-700);
}
/* Tag variants kept as classes but now visually identical (single style across types) */
.case-card__tag--clinical,
.case-card__tag--testimonial,
.case-card__tag--science,
.case-card__tag--article,
.case-card__tag--owners {
  background: var(--sage-100);
  color: var(--teal-700);
  border: none;
  padding: 4px 12px;
}
.case-card__meta {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-500);
  font-weight: 500;
}
.case-card h4 {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--teal-900);
  margin: 6px 0;
  line-height: 1.25;
}
.case-card p { font-size: 0.86rem; color: var(--gray-700); margin: 0; }
@media (max-width: 900px) { .evidence-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px) { .evidence-grid { grid-template-columns: 1fr; } }

/* ---------- Section labels ---------- */
.label-rule {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin: 0 0 36px;
  font-weight: 500;
}

/* ---------- Testimonials ---------- */
.testimonials-wrap {
  background:
    linear-gradient(180deg, rgba(13,61,54,0.45), rgba(13,61,54,0.55)),
    url("../images/photography/horse-1.jpg") center/cover no-repeat,
    var(--teal-900);
  position: relative;
  padding: clamp(80px, 9vw, 130px) 0;
  text-align: center;
  color: #fff;
}
.testimonials-wrap h2 {
  color: #fff;
  font-style: italic;
  font-weight: 400;
  margin-bottom: 1.4em;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
}
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.quote {
  background: var(--sage-100);
  color: var(--teal-900);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  text-align: center;
  font-family: var(--display);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
}
.quote .icon {
  display: inline-block;
  font-family: var(--display);
  font-size: 2rem;
  color: var(--teal-700);
  line-height: 1;
  margin-bottom: 8px;
  font-style: normal;
}
.quote cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--teal-900);
}
.quote a {
  display: inline-block;
  margin-top: 10px;
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-500);
  text-decoration: underline;
  font-weight: 500;
}
@media (max-width: 800px) { .testimonials { grid-template-columns: 1fr; } }

/* ---------- News band ---------- */
.news-band {
  background: linear-gradient(135deg, var(--teal-700), var(--teal-900));
  color: #fff;
  text-align: center;
  padding: clamp(60px, 7vw, 100px) var(--gutter);
}
.news-band .eyebrow { color: rgba(255,255,255,0.7); }
.news-band h2 {
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  margin: 0 0 1em;
  color: #fff;
}
.news-band .btn--outline {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}
.news-band .btn--outline:hover {
  background: #fff;
  color: var(--teal-900);
  border-color: #fff;
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--sage-100); padding: clamp(60px, 7vw, 100px) 0; }
.cta-band__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.cta-band h2 {
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.2rem, 3.6vw, 2.8rem);
  margin-bottom: 0.6em;
}
.cta-band__media img { border-radius: var(--radius-md); }
@media (max-width: 800px) { .cta-band__inner { grid-template-columns: 1fr; } }

/* ---------- Comparison table ---------- */
.compare-wrap { overflow-x: auto; margin-top: 32px; }
.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  min-width: 720px;
}
.compare th, .compare td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}
.compare thead th {
  background: var(--teal-900);
  color: #fff;
  font-weight: 500;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.compare th:first-child { background: var(--teal-800); }
.compare tbody th {
  background: var(--sage-100);
  font-weight: 500;
  font-family: var(--display);
  font-size: 1rem;
  color: var(--teal-900);
  width: 22%;
}
.compare td:nth-child(2) {
  background: #f6faf8;
  font-weight: 500;
  color: var(--teal-900);
}

/* ---------- Pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.pillar {
  background: var(--teal-900) url("../images/textures/green-wave.jpg") center/cover no-repeat;
  color: #fff;
  border-radius: var(--radius-md);
  padding: 36px 26px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pillar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,61,54,0.55), rgba(13,61,54,0.85));
}
.pillar > * { position: relative; }
.pillar h4 {
  color: #fff;
  font-family: var(--display);
  font-weight: 500;
  margin-bottom: 0.6em;
  font-size: 1.2rem;
}
.pillar p {
  color: rgba(255,255,255,0.82);
  font-size: 0.86rem;
  margin-bottom: 1.4em;
}
@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 4px;
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--teal-900);
  font-weight: 500;
  transition: color 200ms;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.4rem;
  color: var(--teal-900);
  transition: transform 220ms;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { color: var(--teal-700); }
.faq-item__body {
  padding: 0 4px 22px;
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 70ch;
}
.faq-footnote {
  margin: 24px 4px 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--gray-500);
  letter-spacing: 0.02em;
}

/* ---------- Info cards ---------- */
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.info-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 26px;
  border-radius: var(--radius-md);
}
.info-card h4 {
  margin-bottom: 0.6em;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--teal-900);
}
.info-card p { font-size: 0.92rem; color: var(--gray-700); margin-bottom: 0.8em; }
.info-card .more {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-700);
  text-decoration: underline;
  font-weight: 500;
}
@media (max-width: 700px) { .info-grid { grid-template-columns: 1fr; } }

/* ---------- Treatment cards ---------- */
.treatments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 42px;
}
.treatment {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.treatment__media { aspect-ratio: 4/3; background: var(--teal-900); }
.treatment__media img { width: 100%; height: 100%; object-fit: cover; }
.treatment__body { padding: 26px; text-align: center; }
.treatment__body h4 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--teal-900);
  margin-bottom: 0.5em;
}
.treatment__body p {
  font-size: 0.9rem;
  color: var(--gray-700);
  margin-bottom: 1.4em;
  text-align: left;
}
@media (max-width: 800px) { .treatments { grid-template-columns: 1fr; } }

/* ---------- Accordion ---------- */
.accordion { border-top: 1px solid var(--line); margin-top: 30px; }
.accordion details {
  border-bottom: 1px solid var(--line);
  padding: 16px 4px;
}
.accordion summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--teal-900);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--gray-500);
  font-weight: 300;
}
.accordion details[open] summary::after { content: "−"; }
.accordion__body {
  padding: 16px 4px 6px;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  align-items: center;
}
.accordion__body img {
  border-radius: var(--radius);
  aspect-ratio: 1;
  object-fit: cover;
  width: 90px;
}
.accordion__body p { font-size: 0.92rem; color: var(--gray-700); margin: 0; }
.accordion__body .tag {
  font-family: var(--display);
  font-style: italic;
  color: var(--teal-700);
  margin-bottom: 4px;
  font-size: 1rem;
}

/* ---------- Logo strip ---------- */
.logo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: center;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 0 0 60px;
}
.logo-strip img {
  max-height: 56px;
  width: auto;
  margin: 0 auto;
  opacity: 1;
  transition: transform 240ms ease;
}
.logo-strip img:hover { transform: translateY(-2px); }
@media (max-width: 700px) { .logo-strip { grid-template-columns: repeat(2, 1fr); gap: 24px; } }

/* ---------- Citation cards ---------- */
.cite-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 36px;
}
.cite-grid--four { grid-template-columns: repeat(4, 1fr); }
.cite-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}
.cite-card__media {
  aspect-ratio: 16 / 9;
  background: var(--sage-100);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 4px;
}
.cite-card__media img { width: 100%; height: 100%; object-fit: cover; }
.cite-card__body { padding: 0; }
.cite-card__tag {
  align-self: flex-start;
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-top: 0;
  background: var(--sage-100);
  color: var(--teal-700);
}
.cite-card__meta {
  font-size: 0.66rem;
  color: var(--gray-500);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}
.cite-card h4 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--teal-900);
  margin: 6px 0;
  line-height: 1.25;
}
.cite-card p { font-size: 0.86rem; color: var(--gray-700); margin: 0 0 4px; }
.cite-card__more {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-top: 4px;
}
.cite-card:hover h4 { color: var(--teal-700); }
.cite-card:hover .cite-card__more { color: var(--teal-900); }
@media (max-width: 1000px) { .cite-grid, .cite-grid--four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cite-grid, .cite-grid--four { grid-template-columns: 1fr; } }

/* ---------- Definition list ---------- */
.dl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 0;
  margin-top: 40px;
}
.dl-grid h4 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--teal-900);
  margin-bottom: 0.4em;
}
.dl-grid p { font-size: 0.9rem; color: var(--gray-700); margin: 0; }
@media (max-width: 800px) { .dl-grid { grid-template-columns: 1fr; } }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding: 30px 0 0; }
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0; bottom: 60px;
  width: 1px;
  background: var(--rule);
}
.timeline__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  margin-bottom: 90px;
  align-items: center;
  position: relative;
}
.timeline__row::before {
  content: "";
  position: absolute;
  left: 50%; top: 32px;
  transform: translateX(-50%);
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--teal-900);
  border: 3px solid var(--cream);
  z-index: 2;
}
.timeline__year {
  font-family: var(--display);
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  line-height: 1;
  color: var(--teal-900);
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 4px;
  font-weight: 500;
}
.timeline__year small {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-500);
  font-family: var(--sans);
  font-weight: 500;
}
.timeline__row .stage {
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gray-500);
  font-weight: 500;
  margin-bottom: 14px;
  display: block;
}
.timeline__row h3 { font-size: 1.5rem; margin: 8px 0 14px; }
.timeline-link {
  color: var(--teal-900);
  text-decoration: underline;
  text-decoration-color: rgba(13, 61, 54, 0.25);
  text-underline-offset: 4px;
  transition: text-decoration-color 200ms ease, color 200ms ease;
}
.timeline-link:hover,
.timeline-link:focus-visible {
  color: var(--teal-700);
  text-decoration-color: var(--teal-700);
}
.timeline__row p { font-size: 0.95rem; line-height: 1.7; }
.timeline__row.is-right > .timeline__text { grid-column: 2; }
.timeline__row.is-right > .timeline__media { grid-column: 1; order: -1; }
.timeline__media img,
.timeline__media .placeholder {
  border-radius: var(--radius-md);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}
.timeline__media a {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 280ms cubic-bezier(.4,0,.2,1), box-shadow 280ms ease;
}
.timeline__media a:hover,
.timeline__media a:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(13, 61, 54, 0.18);
  outline: none;
}
.timeline__media a:focus-visible {
  box-shadow: 0 0 0 3px var(--teal-700);
}
.timeline__media .placeholder {
  background: var(--teal-900) url("../images/textures/green-wave.jpg") center/cover;
  display: grid;
  place-items: center;
  color: var(--sage-300);
  font-family: var(--display);
  font-style: italic;
}
.timeline__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

/* Compact sub-event row: no media, narrower, indented under the year column */
.timeline__row--compact {
  display: block;
  margin-bottom: 36px;
  padding: 20px 28px;
  border-left: 1px solid var(--line);
  margin-left: calc(50% - 1px);
  padding-left: 32px;
  max-width: 50%;
  position: relative;
}
.timeline__row--compact.is-right {
  margin-left: 0;
  margin-right: 50%;
  border-left: none;
  border-right: 1px solid var(--line);
  padding-left: 0;
  padding-right: 32px;
  text-align: right;
}
.timeline__row--compact::before {
  content: "";
  position: absolute;
  left: -5px; top: 28px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gray-500);
  border: 2px solid var(--cream);
  z-index: 2;
}
.timeline__row--compact.is-right::before {
  left: auto;
  right: -5px;
}
.timeline__row--compact .timeline__date {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 4px;
  font-family: var(--sans);
}
.timeline__row--compact h4 {
  font-size: 1.15rem;
  margin: 0 0 6px;
  color: var(--teal-900);
  font-weight: 500;
}
.timeline__row--compact p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--gray-700);
  margin: 0;
}
@media (max-width: 800px) {
  .timeline__row--compact,
  .timeline__row--compact.is-right {
    margin-left: 24px;
    margin-right: 0;
    max-width: none;
    border-left: 1px solid var(--line);
    border-right: none;
    padding-left: 24px;
    padding-right: 0;
    text-align: left;
  }
  .timeline__row--compact::before,
  .timeline__row--compact.is-right::before {
    left: -5px;
    right: auto;
  }
}
.timeline__stats .v {
  font-family: var(--display);
  font-size: 1.7rem;
  color: var(--teal-900);
  margin-bottom: 4px;
  font-weight: 500;
}
.timeline__stats .l {
  font-size: 0.62rem;
  color: var(--gray-500);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
}
@media (max-width: 800px) {
  .timeline::before { left: 12px; }
  .timeline__row { grid-template-columns: 1fr; gap: 18px; padding-left: 36px; }
  .timeline__row::before { left: 12px; }
  .timeline__row.is-right > .timeline__text,
  .timeline__row.is-right > .timeline__media { grid-column: 1; order: 0; }
}

/* ---------- Mission quote ---------- */
.mission-quote {
  text-align: center;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  color: var(--teal-900);
  line-height: 1.45;
  max-width: 56ch;
  margin: 0 auto;
  padding: 70px 0;
}
.mission-quote small {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-top: 26px;
  font-weight: 500;
}

/* ---------- Team grid ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 36px;
  margin-top: 40px;
}
.team-member {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.team-member__photo {
  width: 80px; height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--sage-100);
}
.team-member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.team-member__info h4 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  color: var(--teal-900);
  margin: 0 0 4px;
}
.team-member__info p {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin: 0;
  line-height: 1.45;
}
.team-member__info em { font-style: italic; color: var(--gray-700); }
@media (max-width: 700px) { .team-grid { grid-template-columns: 1fr; } }

/* ---------- Gradient grid ---------- */
.gradient-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 540px;
}
.gradient-tile {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}
.gradient-tile::before { content: ""; position: absolute; inset: 0; }
.gradient-tile--a::before { background: linear-gradient(135deg, #e9e8f5, #cad3eb); }
.gradient-tile--b::before { background: linear-gradient(135deg, #d6d0e8, #b8c4e2); }
.gradient-tile--c::before { background: linear-gradient(135deg, #ccd5e4, #d8e0d0); }
.gradient-tile--d::before { background: linear-gradient(135deg, #e9eadb, #d4dbc9); }
.gradient-tile .orb {
  position: absolute;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, rgba(255,255,255,0.5) 50%, transparent 75%);
  filter: blur(1px);
  opacity: 0.85;
}
.gradient-tile--a .orb { left: 30%; bottom: 5%; width: 40%; }
.gradient-tile--b .orb { right: -10%; top: -10%; width: 80%; }
.gradient-tile--d .orb { right: -10%; bottom: -10%; width: 70%; }

/* ---------- Principle photo grid (team page) ---------- */
.principle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.principle-tile {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--gray-100);
}
.principle-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms cubic-bezier(.4,0,.2,1);
}
.principle-tile:hover img {
  transform: scale(1.04);
}
@media (max-width: 600px) {
  .principle-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}

/* ---------- The Cord podcast banner ---------- */
.podcast-band {
  padding: clamp(40px, 5vw, 64px) 0 clamp(48px, 6vw, 80px);
  background: var(--cream);
}
.podcast-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 20px 28px 20px 20px;
  background: linear-gradient(135deg, #1a4942 0%, #0a302a 100%);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(13, 61, 54, 0.18);
  text-decoration: none;
  color: #f7f5ef;
  transition: transform 280ms cubic-bezier(.4,0,.2,1), box-shadow 280ms ease;
}
.podcast-card:hover,
.podcast-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(13, 61, 54, 0.28);
  outline: none;
  color: #f7f5ef;
}
.podcast-card__cover {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--sage-100);
}
.podcast-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.podcast-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.podcast-card__kicker {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a8c8c0;
  font-weight: 500;
  margin: 0;
}
.podcast-card__title {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.25;
  color: #f7f5ef;
  margin: 2px 0;
}
.podcast-card__source {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: #d9f5e8;
  margin: 0 0 6px;
}
.podcast-card__listen {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #1ed760;
  margin: 4px 0 0;
}
.podcast-card__listen svg {
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .podcast-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px 24px 28px;
  }
  .podcast-card__cover {
    margin: 0 auto;
    width: 140px;
    height: 140px;
  }
  .podcast-card__listen {
    justify-content: center;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--paper);
  padding: 70px 0 32px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer-grid h5 {
  font-family: var(--sans);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--teal-900);
  margin: 0 0 16px;
  font-weight: 600;
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: var(--gray-700);
  font-size: 0.86rem;
}
.footer-grid a { color: var(--gray-700); }
.footer-grid a:hover { color: var(--teal-700); }
.footer-grid .brand { margin-bottom: 18px; }
.footer-blurb {
  color: var(--gray-500);
  max-width: 32ch;
  line-height: 1.6;
  font-size: 0.82rem;
}
.footer-bottom {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.74rem;
  color: var(--gray-500);
}
.footer-bottom a { color: var(--gray-500); text-decoration: underline; }
.footer-bottom .footer-legal { flex: 1 1 auto; }
.footer-bottom .footer-disclaimer {
  flex: 0 1 auto;
  text-align: right;
  max-width: 44ch;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ---------- Footer certification row ---------- */
.footer-cert {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.footer-cert img {
  height: 44px;
  width: auto;
  flex-shrink: 0;
}
.footer-cert span {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--gray-700);
  font-weight: 500;
}
@media (max-width: 540px) {
  .footer-cert { flex-direction: column; gap: 10px; text-align: center; }
  .footer-bottom { flex-direction: column; }
  .footer-bottom .footer-disclaimer { text-align: left; max-width: none; }
}

@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } .footer-grid > div:first-child { grid-column: auto; } }

/* ---------- Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 800ms cubic-bezier(.4,0,.2,1), transform 800ms cubic-bezier(.4,0,.2,1);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Pull quote ---------- */
.pullquote {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.3;
  color: var(--teal-900);
  max-width: 38ch;
}
.pullquote em { font-style: italic; color: var(--teal-700); font-weight: 500; }

/* ---------- Lists ---------- */
ul.bullet-list, ol.bullet-list {
  margin: 0 0 1.2em;
  padding-left: 1.3em;
  color: var(--gray-700);
}
ul.bullet-list li, ol.bullet-list li { margin-bottom: 0.5em; }

/* ---------- Product showcase ---------- */
.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.product-showcase__media {
  background: linear-gradient(135deg, var(--teal-700), var(--teal-900));
  border-radius: var(--radius-md);
  padding: 40px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.product-showcase__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(40% 50% at 30% 30%, rgba(161,201,191,0.18), transparent 60%);
}
.product-showcase__media img { position: relative; max-width: 320px; }
@media (max-width: 800px) { .product-showcase { grid-template-columns: 1fr; } }

/* ---------- Sourcing block ---------- */
.sourcing-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  margin-top: 36px;
}
.sourcing-block__text { padding: clamp(28px, 4vw, 48px); }
.sourcing-block__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}
@media (max-width: 800px) { .sourcing-block { grid-template-columns: 1fr; } }

.link-underline {
  color: var(--teal-700);
  text-decoration: underline;
  font-weight: 500;
}
.link-underline:hover { color: var(--teal-900); }

/* ============================================================
   Responsive polish — make sure things feel right on phones/tablets
   ============================================================ */

/* Smaller hero padding on phones so the fold doesn't get pushed too low */
@media (max-width: 600px) {
  .hero h1 { font-size: clamp(2rem, 7.2vw, 2.6rem); }
  .hero p { font-size: 0.95rem; }

  /* Buttons: full-width feels too aggressive; just stack with right margin */
  .btn-row { gap: 0.6rem; }
  .btn { padding: 0.85em 1.4em; font-size: 0.72rem; }

  /* Section spacing tightened */
  :root { --section-y: clamp(56px, 12vw, 90px); }
}

/* Stats stack 2x2 already — make sure numbers don't truncate */
@media (max-width: 480px) {
  .stats__item .num { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .stats__item .label { font-size: 0.66rem; letter-spacing: 0.12em; }
}

/* Recipe band: tighten on phones so the headline doesn't dominate */
@media (max-width: 600px) {
  .recipe-band h2 { font-size: clamp(1.9rem, 7vw, 2.6rem); }
  .recipe-band p { font-size: 0.95rem; }
}

/* Compare table: enable smooth horizontal scroll on touch */
.compare-wrap {
  -webkit-overflow-scrolling: touch;
}
.compare-wrap::after {
  content: "← scroll →";
  display: none;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-500);
  padding: 12px;
}
@media (max-width: 760px) {
  .compare-wrap::after { display: block; }
}

/* FAQ: bigger touch targets */
@media (max-width: 600px) {
  .faq-item summary { padding: 20px 4px; font-size: 1rem; }
  .accordion summary { padding: 6px 4px; }
  .accordion__body { grid-template-columns: 70px 1fr; gap: 14px; }
  .accordion__body img { width: 70px; }
}

/* Persona cards smaller min-height on phones */
@media (max-width: 600px) {
  .persona { min-height: 240px; padding: 32px 22px; }
  .persona h3 { font-size: 1.7rem; }
}

/* Footer tightening */
@media (max-width: 600px) {
  .site-footer { padding: 50px 0 24px; }
  .footer-grid { gap: 32px; }
  .footer-grid .brand img { height: 40px; }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* Lock body scroll when mobile menu is open */
body.menu-open { overflow: hidden; }

/* ============================================================
   Protein article pages — narrow editorial layout
   ============================================================ */
.article-hero {
  padding: clamp(40px, 5vw, 70px) 0 clamp(20px, 3vw, 30px);
  background: var(--paper);
}
.article-hero__breadcrumb {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 18px;
  font-weight: 600;
}
.article-hero__breadcrumb a { color: var(--gray-500); text-decoration: none; }
.article-hero__breadcrumb a:hover { color: var(--teal-700); }
.article-hero__breadcrumb .sep { margin: 0 10px; opacity: 0.5; }

.article {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(60px, 7vw, 100px);
}
.article__meta {
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-bottom: 18px;
  font-weight: 500;
}
.article h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  margin-bottom: 0.5em;
  font-weight: 500;
}
.article__lead {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  color: var(--teal-900);
  line-height: 1.5;
  margin: 0 0 36px;
  font-weight: 400;
}
.article__body p,
.article__body li {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--gray-700);
  font-weight: 500;
}
.article__body h2 {
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-500);
  font-family: var(--sans);
  font-weight: 600;
  margin: 48px 0 6px;
}
.article__body h3 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 500;
  margin: 0 0 18px;
  color: var(--teal-900);
  line-height: 1.25;
}
.article__body h4 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  color: var(--teal-900);
  margin: 22px 0 4px;
}

.article__diagram {
  margin: 36px 0 44px;
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 40px);
}
.article__diagram svg { width: 100%; height: auto; display: block; }
.article__diagram-caption {
  text-align: center;
  font-size: 0.82rem;
  color: var(--gray-500);
  font-style: italic;
  margin-top: 16px;
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.article__pullquote {
  margin: 36px 0;
  padding: 28px 0 28px 28px;
  border-left: 3px solid var(--sage-500);
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  line-height: 1.5;
  color: var(--teal-900);
  font-weight: 400;
}

.article__cta-block {
  margin-top: 56px;
  padding: 36px;
  background: var(--sage-100);
  border-radius: var(--radius-md);
  text-align: center;
}
.article__cta-block h4 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.2vw, 1.7rem);
  color: var(--teal-900);
  margin: 0 0 12px;
}
.article__cta-block p {
  font-size: 0.95rem;
  color: var(--teal-900);
  margin: 0 auto 22px;
  max-width: 48ch;
  font-weight: 500;
}

.article__nav {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.article__nav a {
  display: block;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  transition: all 200ms;
}
.article__nav a:hover { border-color: var(--teal-900); background: var(--cream); }
.article__nav .label {
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-500);
  font-weight: 600;
  margin-bottom: 6px;
}
.article__nav .title {
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--teal-900);
  font-weight: 500;
  line-height: 1.3;
}
.article__nav .next { text-align: right; }
@media (max-width: 600px) {
  .article__nav { grid-template-columns: 1fr; }
  .article__nav .next { text-align: left; }
}

/* All proteins index grid */
.protein-index {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.protein-card {
  display: block;
  padding: 26px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: all 200ms;
}
.protein-card:hover {
  border-color: var(--teal-900);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13,61,54,0.08);
}
.protein-card .num {
  font-family: var(--display);
  font-size: 0.82rem;
  font-style: italic;
  color: var(--gray-500);
  margin-bottom: 10px;
}
.protein-card h4 {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--teal-900);
  margin: 0 0 6px;
  line-height: 1.25;
}
.protein-card .nick {
  font-style: normal;
  font-weight: 500;
  color: var(--teal-900);
  font-family: var(--sans);
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}
@media (max-width: 900px) { .protein-index { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .protein-index { grid-template-columns: 1fr; } }

/* Article body lists & emphasis */
.article__body ul, .article__body ol {
  padding-left: 1.4em;
  margin: 1em 0 1.4em;
}
.article__body ul li, .article__body ol li { margin-bottom: 0.6em; }
.article__body strong { color: var(--teal-900); font-weight: 600; }

/* ============================================================
   Vet article pages — slightly wider, includes hero image,
   data tables, study sections
   ============================================================ */
.article--wide { max-width: 800px; }

.article__hero-image {
  width: 100%;
  border-radius: var(--radius-md);
  margin: 30px 0 40px;
  overflow: hidden;
}
.article__hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.article__data-table {
  margin: 30px 0;
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 24px;
}
.article__data-table img { width: 100%; height: auto; }
.article__data-table-caption {
  font-size: 0.82rem;
  color: var(--gray-500);
  font-style: italic;
  margin-top: 12px;
  text-align: center;
}

.article__methods {
  background: var(--cream);
  border-left: 3px solid var(--sage-500);
  padding: 28px 32px;
  margin: 32px 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.article__methods h4 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.1rem;
  margin: 0 0 8px;
  color: var(--teal-900);
}
.article__methods p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Findings table for cases */
.findings-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 0.88rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.findings-table th, .findings-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.findings-table thead th {
  background: var(--sage-100);
  font-family: var(--display);
  color: var(--teal-900);
  font-weight: 500;
  font-size: 0.92rem;
}
.findings-table th:first-child { width: 28%; }

/* Hero image variant for article — full-bleed dark band */
.article-hero-banner {
  background: var(--teal-900);
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
}
.article-hero-banner img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  display: block;
  opacity: 0.95;
}

/* Author/journal badge for published study summaries */
.article__published-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--sage-100);
  color: var(--teal-900);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.article__published-badge::before {
  content: "•";
  color: var(--sage-500);
  font-size: 1.4rem;
  line-height: 0;
}

/* Citation list at bottom of article */
.article__refs {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--gray-500);
}
.article__refs h4 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin: 0 0 10px;
}
.article__refs p { font-size: 0.82rem; line-height: 1.55; margin: 0 0 8px; color: var(--gray-500); }

/* Numbered checklist items in articles (case studies) */
.article__numbered-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  counter-reset: numlist;
}
.article__numbered-list li {
  counter-increment: numlist;
  position: relative;
  padding: 8px 0 8px 50px;
  font-size: 0.95rem;
  line-height: 1.6;
}
.article__numbered-list li::before {
  content: counter(numlist);
  position: absolute;
  left: 0; top: 8px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--teal-900);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 500;
}

/* ============================================================
   Clickable case cards (Evidence in Action)
   ============================================================ */
a.case-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 240ms ease;
}
a.case-card:hover {
  transform: translateY(-3px);
}
a.case-card:hover h4 { color: var(--teal-700); }
a.case-card h4 { transition: color 200ms; }

/* Clickable cite-cards (vet articles) */
a.cite-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 240ms ease, border-color 200ms;
}
a.cite-card:hover {
  transform: translateY(-3px);
  border-color: var(--teal-700);
}
a.cite-card:hover h4 { color: var(--teal-700); }
a.cite-card h4 { transition: color 200ms; }

/* ============================================================
   ────────────  WEBSITE UPDATE PASS — May 2026  ────────────
   Global rules, refinements, and new components.
   ============================================================ */

/* ---------- Brand presence (logo size) ---------- */
.brand img { height: 96px; }                     /* was 72px (was 64px before) */
@media (max-width: 900px) { .brand img { height: 76px; } }
@media (max-width: 600px) { .brand img { height: 64px; } }
.site-footer .brand img { height: 96px !important; }    /* footer matches header */
@media (max-width: 900px) { .site-footer .brand img { height: 76px !important; } }
@media (max-width: 600px) { .site-footer .brand img { height: 64px !important; } }

/* ---------- Universal section spacing baseline ----------
   24px universal top breathing room; existing var(--section-y)
   provides the larger, responsive rhythm. */
.section, .section--cream, .section--paper, .section--sage { padding-top: clamp(24px, 4vw, var(--section-y)); }
.section--tight { padding-top: clamp(24px, 3vw, 56px); padding-bottom: clamp(24px, 3vw, 56px); }
.no-pad-top { padding-top: 0 !important; }

/* ---------- Evidence-in-Action card — refined treatment ---------- */
a.case-card { text-decoration: none; color: inherit; cursor: pointer; display: block; transition: transform 240ms ease; }
a.case-card:hover { transform: translateY(-3px); }
a.case-card:hover h4 { color: var(--teal-700); }
a.case-card:hover .case-card__more { color: var(--teal-900); border-color: var(--teal-900); }
a.case-card .case-card__media img { transition: transform 600ms ease; }
a.case-card:hover .case-card__media img { transform: scale(1.04); }

.case-card__meta {
  color: rgba(106, 113, 110, 0.7);                         /* 70% gray */
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  font-weight: 500;
}
.case-card h4 {
  font-family: var(--display);
  font-size: 1.32rem;                                     /* enlarged */
  font-weight: 600;                                       /* bolder */
  line-height: 1.22;
  color: var(--teal-900);
  margin: 8px 0 8px;
  transition: color 200ms;
}
.case-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--teal-700);
  border-bottom: 1px solid var(--sage-300);
  padding-bottom: 4px;
  transition: color 200ms, border-color 200ms;
}
.case-card__more::after { content: "→"; transition: transform 220ms ease; }
a.case-card:hover .case-card__more::after { transform: translateX(3px); }

/* ---------- Cite cards — meta in 70% gray (vet science section) ---------- */
.cite-card__meta { color: rgba(106, 113, 110, 0.7); }
a.cite-card .cite-card__media img { transition: transform 600ms ease; }
a.cite-card:hover .cite-card__media img { transform: scale(1.04); }
.cite-card__media { aspect-ratio: 16 / 9; }
.cite-card__media img { width: 100%; height: 100%; object-fit: cover; }

/* "Read More" cue inside cite-cards (vet page) */
.cite-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--teal-700);
  border-bottom: 1px solid var(--sage-300);
  padding-bottom: 3px;
}
.cite-card__more::after { content: "→"; transition: transform 220ms ease; }
a.cite-card:hover .cite-card__more::after { transform: translateX(3px); }

/* ---------- Trust logo strip — clickable ---------- */
.logo-strip a {
  display: inline-flex;
  transition: transform 240ms ease;
  opacity: 1;
}
.logo-strip a:hover { transform: translateY(-2px); }
.logo-strip a img { display: block; }

/* ---------- Owner page — Treatment overview pillars ---------- */
.owner-treatment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 36px;
}
.owner-treatment-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 30px;
  position: relative;
  overflow: hidden;
  transition: border-color 220ms ease, transform 240ms ease, box-shadow 240ms ease;
}
.owner-treatment-card:hover {
  border-color: var(--sage-300);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -28px rgba(13, 61, 54, 0.4);
}
.owner-treatment-card .ot-num {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--teal-900);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.owner-treatment-card h3 {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--teal-900);
  margin: 0 0 14px;
  line-height: 1.22;
}
.owner-treatment-card p { font-size: 0.93rem; color: var(--gray-700); margin: 0 0 0.8em; }
.owner-treatment-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--gray-700);
}
.owner-treatment-card ul li {
  position: relative;
  padding-left: 18px;
}
.owner-treatment-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6em;
  width: 8px; height: 1px;
  background: var(--sage-500);
}
.owner-treatment-card .ot-aside {
  font-style: italic;
  color: var(--gray-500);
  font-size: 0.84rem;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
@media (max-width: 720px) { .owner-treatment-grid { grid-template-columns: 1fr; } }

/* ---------- Comparison table v2 (responsive, single component) ---------- */
.compare-v2 {
  --col-feature: 200px;
  --teal-light: #f0f8f7;
  --teal-mid: #d6eeeb;
  --offwhite: #fafafa;
  margin-top: 32px;
}
.compare-v2__intro {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto 28px;
  color: var(--gray-700);
}

/* Mobile switcher (hidden by default; shown only on small screens) */
.compare-v2__switcher { display: none; }

/* DESKTOP / TABLET TABLE — scrollable wrapper, never breaks page width */
.compare-v2 .cmp-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  border-radius: var(--radius-md);
}
.compare-v2 .cmp-table-wrap table {
  width: 100%;
  min-width: 720px;       /* only the desktop wrapped table uses this */
  border-collapse: collapse;
  font-family: var(--sans);
  font-size: 0.84rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.compare-v2 table {
  border-collapse: collapse;
  font-family: var(--sans);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.compare-v2 thead th {
  background: var(--teal-900);
  color: #fff;
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.82rem;
  padding: 16px 18px;
  text-align: left;
  vertical-align: bottom;
  border-right: 1px solid rgba(255,255,255,0.08);
  line-height: 1.4;
}
.compare-v2 thead th:last-child { border-right: none; }
.compare-v2 thead th:first-child { width: var(--col-feature); }
.compare-v2 thead th.cmp-flagship {
  background: #0a312b;
  border-bottom: 3px solid var(--sage-500);
}
.compare-v2 .cmp-badge {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--sage-500);
  color: var(--teal-900);
  padding: 3px 8px;
  border-radius: 2px;
}
.compare-v2 tbody tr { border-bottom: 1px solid var(--line); }
.compare-v2 tbody tr:hover td { background-color: #f7f7f5; }
.compare-v2 tbody tr:hover td.cmp-flagship-cell { background-color: #e6f4f2; }
.compare-v2 tbody tr:last-child { border-bottom: 2px solid var(--teal-900); }
.compare-v2 tbody td {
  padding: 14px 18px;
  vertical-align: top;
  line-height: 1.55;
  border-right: 1px solid var(--line);
  color: var(--gray-700);
  font-size: 0.82rem;
}
.compare-v2 tbody td:last-child { border-right: none; }
.compare-v2 tbody td:first-child {
  font-weight: 600;
  font-size: 0.82rem;
  font-family: var(--sans);
  color: var(--teal-900);
  background: var(--cream);
  border-right: 1px solid var(--line);
}
.compare-v2 tbody td.cmp-flagship-cell {
  background: var(--teal-light);
  border-right: 1px solid var(--teal-mid);
  font-weight: 500;
  color: var(--teal-900);
}
.compare-v2 tbody tr:nth-child(even) td:first-child { background: #f0eee6; }
.compare-v2 tbody tr:nth-child(even) td.cmp-flagship-cell { background: #e6f4f2; }
.compare-v2 tbody td:empty::after { content: "—"; color: var(--gray-300); }

/* MOBILE (<= 820px) — switcher view */
@media (max-width: 820px) {
  .compare-v2 .cmp-table-wrap { display: none; }
  .compare-v2__switcher { display: block; }

  .cmp-switch-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 0 0 18px;
    border: 1.5px solid var(--teal-900);
    border-radius: 8px;
    overflow: hidden;
    background: var(--paper);
    width: 100%;
    max-width: 100%;
  }
  .cmp-switch-buttons button {
    padding: 11px 6px;
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-align: center;
    border: none;
    background: var(--paper);
    color: var(--gray-500);
    cursor: pointer;
    transition: all 200ms ease;
    border-right: 1px solid var(--line);
    line-height: 1.3;
    word-break: break-word;
    overflow-wrap: anywhere;
    min-width: 0;
  }
  .cmp-switch-buttons button:last-child { border-right: none; }
  .cmp-switch-buttons button.is-active {
    background: var(--teal-900);
    color: #fff;
  }
  .cmp-switch-label {
    text-align: center;
    font-size: 0.72rem;
    color: var(--gray-500);
    letter-spacing: 0.04em;
    margin: 0 0 14px;
    word-wrap: break-word;
  }

  .cmp-mobile-table {
    width: 100%;
    max-width: 100%;
    table-layout: fixed;            /* forces 50/50 columns, ignores intrinsic content width */
    border-collapse: collapse;
    font-family: var(--sans);
    font-size: 0.82rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
  }
  .cmp-mobile-table thead th {
    background: var(--teal-900);
    color: #fff;
    font-family: var(--display);
    font-weight: 500;
    font-size: 0.78rem;
    padding: 12px 12px;
    text-align: left;
    vertical-align: bottom;
    line-height: 1.35;
    width: 50%;
    word-wrap: break-word;
    overflow-wrap: anywhere;
  }
  .cmp-mobile-table thead th.mob-flagship {
    background: #0a312b;
    border-bottom: 3px solid var(--sage-500);
    border-right: 1px solid rgba(255,255,255,0.08);
  }
  .cmp-mobile-table tbody tr.row-feature td {
    background: var(--cream);
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--teal-900);
    padding: 9px 12px 7px;
    border-bottom: 1px solid var(--line);
    border-top: 1px solid var(--line);
    word-wrap: break-word;
  }
  .cmp-mobile-table tbody tr.row-data td {
    padding: 11px 12px;
    vertical-align: top;
    line-height: 1.5;
    font-size: 0.78rem;
    color: var(--gray-700);
    width: 50%;
    word-wrap: break-word;
    overflow-wrap: anywhere;
  }
  .cmp-mobile-table tbody tr.row-data td:first-child {
    background: var(--teal-light, #f0f8f7);
    border-right: 1px solid var(--teal-mid, #d6eeeb);
    font-weight: 500;
    color: var(--teal-900);
  }
  .cmp-mobile-table tbody tr.row-data td:empty::after { content: "—"; color: var(--gray-300); }
}

/* TINY PHONES (<= 420px) — tighten further */
@media (max-width: 420px) {
  .cmp-mobile-table thead th { font-size: 0.72rem; padding: 10px 9px; }
  .cmp-mobile-table tbody tr.row-data td { font-size: 0.72rem; padding: 9px 9px; line-height: 1.45; }
  .cmp-mobile-table tbody tr.row-feature td { font-size: 0.64rem; padding: 8px 9px 6px; }
  .cmp-switch-buttons button { font-size: 0.62rem; padding: 10px 4px; letter-spacing: 0.02em; }
  .compare-v2 .cmp-badge { font-size: 0.55rem; padding: 2px 6px; }
}

/* ---------- Owner hero refresh — clean two-column ---------- */
.owner-hero-band { background: var(--cream); }

/* ---------- "Coming Soon" page ---------- */
.coming-soon-wrap {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(60px, 10vw, 140px) 24px;
}
.coming-soon-wrap h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.4em; }
.coming-soon-wrap p { max-width: 50ch; margin: 0 auto 1.6em; color: var(--gray-700); }

/* ---------- Resources index page ---------- */
.resources-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin: 0 0 36px;
}
.resources-filter button {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--gray-700);
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 200ms ease;
}
.resources-filter button:hover { border-color: var(--teal-700); color: var(--teal-900); }
.resources-filter button.is-active {
  background: var(--teal-900);
  color: #fff;
  border-color: var(--teal-900);
}
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
}
@media (max-width: 900px) { .resources-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .resources-grid { grid-template-columns: 1fr; } }

/* ---------- Footer Resources column / social icons ---------- */
.footer-grid .footer-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-grid .footer-social a {
  display: inline-grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--gray-300);
  color: var(--teal-900);
  transition: background 200ms, border-color 200ms, transform 200ms;
}
.footer-grid .footer-social a:hover {
  background: var(--teal-900);
  border-color: var(--teal-900);
  color: #fff;
  transform: translateY(-2px);
}
.footer-grid .footer-social svg { width: 16px; height: 16px; display: block; }

/* ---------- Tighten home & inner section gaps ---------- */
.section--mission-tight { padding-top: clamp(36px, 5vw, 72px); padding-bottom: clamp(36px, 5vw, 72px); }

/* ---------- Persona card (home) — readability ensured ---------- */
.persona::after {
  background: linear-gradient(180deg, rgba(13,61,54,0.55) 0%, rgba(13,61,54,0.92) 100%) !important;
}
.persona h3 {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.persona p {
  color: #ffffff !important;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0,0,0,0.45);
  opacity: 1 !important;
}


/* ---------- Team — department groupings ---------- */
.team-dept {
  margin-top: 56px;
}
.team-dept:first-of-type { margin-top: 32px; }
.team-dept__heading {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 4px;
  padding-bottom: 14px;
}
.team-dept__heading h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--teal-900);
  margin: 0;
  font-style: italic;
}
.team-dept__heading .count {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-500);
  font-weight: 500;
}
.team-dept .team-grid {
  margin-top: 4px;
}
.team-member__photo--initials {
  background: linear-gradient(135deg, var(--sage-100) 0%, var(--sage-300) 100%);
  display: grid;
  place-items: center;
  color: var(--teal-900);
  font-family: var(--display);
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 500;
}
.team-member__email {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--teal-700);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--sage-300);
  padding-bottom: 1px;
  transition: color 200ms, border-color 200ms;
}
.team-member__email:hover {
  color: var(--teal-900);
  border-color: var(--teal-900);
}

/* ---------- HubSpot embedded form on contact page ---------- */
.hs-form-section {
  background: var(--cream);
}
.hs-form-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  background: var(--paper);
  padding: clamp(32px, 4vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px -40px rgba(13, 61, 54, 0.18);
}
.hs-form-wrap .hs-form-intro h2 {
  font-family: var(--display);
  margin: 0.2em 0 0.4em;
}
.hs-form-wrap .hs-form-intro p { color: var(--gray-700); }
.hs-form-wrap .hs-form-intro ul {
  margin-top: 24px;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}
.hs-form-wrap .hs-form-intro ul li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9rem;
  color: var(--gray-700);
}
.hs-form-wrap .hs-form-intro ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6em;
  width: 12px; height: 1px;
  background: var(--sage-500);
}

/* HubSpot form skin — match brand */
.hs-form-target { min-height: 360px; }
.hs-form-target .hs-form,
.hs-form-target form {
  font-family: var(--sans) !important;
}
.hs-form-target .hs-form-field { margin-bottom: 18px; }
.hs-form-target label,
.hs-form-target .hs-form-field > label {
  display: block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-900);
  margin-bottom: 6px;
}
.hs-form-target input[type="text"],
.hs-form-target input[type="email"],
.hs-form-target input[type="tel"],
.hs-form-target input[type="number"],
.hs-form-target input[type="url"],
.hs-form-target select,
.hs-form-target textarea {
  width: 100% !important;
  padding: 12px 14px !important;
  font-family: var(--sans) !important;
  font-size: 0.95rem !important;
  color: var(--ink) !important;
  background: var(--paper) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  transition: border-color 200ms, box-shadow 200ms !important;
  box-sizing: border-box;
}
.hs-form-target input:focus,
.hs-form-target select:focus,
.hs-form-target textarea:focus {
  outline: none !important;
  border-color: var(--teal-700) !important;
  box-shadow: 0 0 0 3px rgba(13, 61, 54, 0.12) !important;
}
.hs-form-target textarea { min-height: 120px; resize: vertical; }
.hs-form-target .hs-error-msgs,
.hs-form-target .hs-error-msg {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  font-size: 0.78rem;
  color: #b94a48;
}
.hs-form-target .hs-form-required { color: #b94a48; }
.hs-form-target .legal-consent-container {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 8px;
}
.hs-form-target .hs-button,
.hs-form-target input[type="submit"] {
  background: var(--teal-900) !important;
  color: #fff !important;
  font-family: var(--sans) !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  padding: 14px 32px !important;
  border: none !important;
  border-radius: var(--radius-pill) !important;
  cursor: pointer !important;
  transition: background 200ms, transform 200ms !important;
  margin-top: 8px;
}
.hs-form-target .hs-button:hover,
.hs-form-target input[type="submit"]:hover {
  background: var(--teal-700) !important;
  transform: translateY(-1px);
}
.hs-form-target .submitted-message {
  background: var(--sage-100);
  border: 1px solid var(--sage-300);
  border-radius: var(--radius-md);
  padding: 24px;
  color: var(--teal-900);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Fallback (no script loaded yet) — keep visible action */
.hs-form-fallback {
  text-align: center;
  padding: 32px 0;
}

@media (max-width: 800px) {
  .hs-form-wrap {
    grid-template-columns: 1fr;
    padding: clamp(24px, 5vw, 36px);
  }
}

/* ---------- HubSpot form: centered single-column variant ---------- */
.hs-form-wrap--centered {
  display: block;
  max-width: 720px;
  margin: 0 auto;
}
.hs-form-helper {
  margin-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-500);
}
.form-topic-notice {
  background: var(--sage-100);
  border-left: 3px solid var(--teal-700);
  padding: 18px 22px;
  margin-bottom: 28px;
  border-radius: 6px;
}
.form-topic-notice p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--teal-900);
  line-height: 1.55;
}
.form-topic-notice strong {
  color: var(--teal-900);
  font-weight: 600;
}
.hs-form-helper a {
  color: var(--teal-700);
  text-decoration: none;
  border-bottom: 1px solid var(--sage-300);
  padding-bottom: 1px;
  transition: color 200ms, border-color 200ms;
  font-weight: 500;
}
.hs-form-helper a:hover {
  color: var(--teal-900);
  border-color: var(--teal-900);
}

/* ============================================================
   ────────────  EQUICENTA CTM PAGE — refinements  ────────────
   ============================================================ */

/* Tighten vertical rhythm across the equicenta page */
.page-equicenta .section,
.page-equicenta .section--cream,
.page-equicenta .section--paper,
.page-equicenta .section--sage {
  padding-top: clamp(28px, 3.5vw, 56px);
  padding-bottom: clamp(28px, 3.5vw, 56px);
}
.page-equicenta .section--mission-tight,
.page-equicenta .section--tight {
  padding-top: clamp(24px, 3vw, 48px);
  padding-bottom: clamp(24px, 3vw, 48px);
}
.page-equicenta .testimonials-wrap {
  padding-top: clamp(48px, 6vw, 96px);
  padding-bottom: clamp(48px, 6vw, 96px);
}
.page-equicenta .news-band {
  padding-top: clamp(40px, 5vw, 72px);
  padding-bottom: clamp(40px, 5vw, 72px);
}

/* Comparison table — alternating row tint update */
.compare-v2 tbody tr:nth-child(odd) td:first-child  { background: #F9F9F9; }
.compare-v2 tbody tr:nth-child(even) td:first-child { background: #F0F0F0; }
.compare-v2 tbody tr:nth-child(odd) td.cmp-flagship-cell  { background: #f0f8f7; }   /* mint, default */
.compare-v2 tbody tr:nth-child(even) td.cmp-flagship-cell { background: #e6f4f2; }   /* mint, slightly deeper */


/* ---------- Case-page inline media ---------- */
.article__hero-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 8px 0 32px;
  background: var(--cream);
}
.article__hero-media img,
.article__hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article__inline-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 28px 0;
  background: var(--cream);
}
.article__inline-media img,
.article__inline-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article__inline-media + .article__caption,
.article__hero-media + .article__caption {
  font-size: 0.82rem;
  color: var(--gray-500);
  font-style: italic;
  text-align: center;
  margin-top: -16px;
  margin-bottom: 24px;
}

/* ---------- Case-page progression / before-after grids ---------- */
.case-progression {
  display: grid;
  gap: 24px;
  margin: 28px 0 32px;
}
.case-progression__phase {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
}
.case-progression__phase-label {
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--teal-700);
  margin: 0 0 4px;
}
.case-progression__phase h4 {
  font-family: var(--display);
  font-size: 1.32rem;
  font-weight: 500;
  color: var(--teal-900);
  margin: 0 0 16px;
}
.case-progression__media {
  width: 100%;
  margin: 0 0 12px;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.case-progression__media img,
.case-progression__media video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  background: #fff;
}
.case-progression__phase p {
  font-size: 0.9rem;
  color: var(--gray-700);
  margin: 0;
  line-height: 1.55;
}
.case-progression--two { grid-template-columns: 1fr 1fr; }
.case-progression--three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .case-progression--two,
  .case-progression--three { grid-template-columns: 1fr; }
}

/* Case media row: video + still side-by-side */
.case-media-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  align-items: stretch;
}
.case-media-row > div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-media-row video,
.case-media-row img {
  width: 100%;
  height: auto;
  max-height: 480px;
  display: block;
  object-fit: contain;
  background: #fff;
}
@media (max-width: 800px) {
  .case-media-row { grid-template-columns: 1fr; }
}

.article__media-label {
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--teal-700);
  margin: 24px 0 10px !important;
}

/* ---------- Legal pages (privacy / terms) ---------- */
.legal-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) var(--gutter) clamp(72px, 9vw, 120px);
}
.legal-wrap .eyebrow { margin-bottom: 8px; }
.legal-wrap h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  font-weight: 500;
  color: var(--teal-900);
  margin: 0 0 12px;
  line-height: 1.15;
}
.legal-wrap .legal-updated {
  font-size: 0.82rem;
  color: var(--gray-500);
  letter-spacing: 0.06em;
  margin: 0 0 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.legal-wrap h2 {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--teal-900);
  margin: 40px 0 14px;
  line-height: 1.3;
}
.legal-wrap h2 .legal-num {
  font-family: var(--display);
  font-style: italic;
  color: var(--sage-500);
  margin-right: 12px;
  font-weight: 400;
}
.legal-wrap p,
.legal-wrap li {
  font-size: 0.96rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin: 0 0 1.1em;
}
.legal-wrap ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.1em;
}
.legal-wrap ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 0.6em;
}
.legal-wrap ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.7em;
  width: 12px; height: 1px;
  background: var(--sage-500);
}
.legal-wrap a {
  color: var(--teal-700);
  border-bottom: 1px solid var(--sage-300);
  padding-bottom: 1px;
  transition: color 200ms, border-color 200ms;
}
.legal-wrap a:hover {
  color: var(--teal-900);
  border-color: var(--teal-900);
}
.legal-wrap .legal-contact {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--gray-700);
}
.legal-wrap .legal-contact strong {
  color: var(--teal-900);
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.05rem;
  display: block;
  margin-bottom: 8px;
}
