/* Reversing Diabetes Revolution website.
   One look for every page, modeled on Superpower's site from Mobbin: a warm paper
   ground, big tight sans headlines, white cards, deep forest bands, one amber pill
   button and real photos of her. Borrowed features are built into that same look:
   lab result cards (Hims), the stories row (Function), the founder split (Kalstore)
   and the date and time booking card (Calendly).
   Type is Atkinson Hyperlegible Next, made by the Braille Institute for low vision
   readers, which matters because diabetes is a leading cause of vision loss. Its mono
   cut has one job: lab values, the way a lab report prints them.
   Contrast: --ink-2 is 6.5:1 on paper, --ink-3 is 4.8:1, white on --amber is 5.3:1. */

:root {
  --paper: #FAF7F1;
  --paper-2: #F3EEE4;
  --card: #FFFFFF;
  --line: #E7E0D3;
  --line-2: #D6CCB9;
  --ink: #1C2418;
  --ink-2: #545B50;
  --ink-3: #697064;
  --forest: #1F2E1C;
  --forest-2: #2A3C26;
  --forest-line: rgba(245, 241, 232, .14);
  --leaf: #46663A;
  --sage: #E4EBDA;
  --amber: #A0590C;
  --amber-hover: #864A09;
  --gold: #E9B872;
  --on-forest: #F5F1E8;
  --on-forest-2: #C5CBBB;
  --z-normal: #5C9A4C;
  --z-pre: #E0A43A;
  --z-high: #D4683F;
  /* Old names, kept so nothing that still uses them breaks. */
  --cream: var(--paper);
  --tan: var(--paper-2);

  --sans: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Atkinson Hyperlegible Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --serif: var(--sans);

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --pill: 999px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --shadow: 0 1px 2px rgba(28, 36, 24, .05), 0 10px 30px rgba(28, 36, 24, .07);
  --shadow-lg: 0 2px 6px rgba(28, 36, 24, .07), 0 24px 60px rgba(28, 36, 24, .16);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.forest :focus-visible, .cta-band :focus-visible, .program :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }
::selection { background: var(--gold); color: var(--ink); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--forest); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Type ---------- */

h1, h2, h3, h4 { margin: 0; color: inherit; font-family: var(--sans); }
h1, .h1 {
  font-weight: 600;
  font-size: clamp(2.6rem, 1.55rem + 4.2vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -.035em;
  text-wrap: balance;
}
h2, .h2 {
  font-weight: 600;
  font-size: clamp(2.05rem, 1.5rem + 2.2vw, 3.3rem);
  line-height: 1.06;
  letter-spacing: -.03em;
  text-wrap: balance;
}
h3, .h3 {
  font-weight: 700;
  font-size: 1.22rem;
  line-height: 1.3;
  letter-spacing: -.01em;
}
.serif-3 {
  font-weight: 600;
  font-size: clamp(1.45rem, 1.25rem + .7vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -.02em;
}
.label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--ink-2);
  margin-bottom: 16px;
}
h1 .label, h2 .label { margin-bottom: 18px; }
.forest .label, .cta-band .label, .program .label { color: var(--on-forest-2); }
.lede {
  font-size: clamp(1.15rem, 1.06rem + .35vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 34em;
}
.forest .lede, .cta-band .lede, .program .lede { color: var(--on-forest-2); }
.muted { color: var(--ink-2); }
.small { font-size: 1rem; }
.center { text-align: center; }
.mono { font-family: var(--mono); font-feature-settings: "tnum" 1; letter-spacing: -.02em; }

/* ---------- Layout ---------- */

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 9vw, 128px); }
.section.tight { padding-block: clamp(48px, 6vw, 80px); }
.tan { background: var(--paper-2); }
.forest { background: var(--forest); color: var(--on-forest); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 4.5vw, 60px); }
.section-head .lede { margin-top: 20px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lede { margin-inline: auto; }
.section-head.row {
  max-width: none; display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 520px);
  align-items: end; justify-content: space-between; gap: 28px 48px;
}
@media (max-width: 980px) { .section-head.row { grid-template-columns: minmax(0, 1fr); } }
.section-foot { margin-top: clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.section-foot.center { justify-content: center; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}
.split.media-left > .split-media { order: -1; }
.split-media > img { width: 100%; aspect-ratio: 4 / 5; border-radius: var(--r-lg); object-fit: cover; }
.split-text h2 { margin-bottom: 24px; }
.split-text .lede { margin-bottom: 20px; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split.media-left > .split-media { order: 0; }
  .split-media > img { aspect-ratio: 4 / 3.4; object-position: 50% 30%; }
}

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 56px; padding: .8em 1.6em;
  border-radius: var(--pill); border: 1.5px solid transparent;
  font-family: var(--sans); font-weight: 600; font-size: 1.0625rem; line-height: 1.2; letter-spacing: -.005em;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .25s var(--ease), box-shadow .25s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--amber); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 6px 18px rgba(160, 89, 12, .22);
}
.btn-primary:hover { background: var(--amber-hover); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 10px 26px rgba(160, 89, 12, .3); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: var(--card); }
.btn-ghost:hover { border-color: var(--ink); }
.forest .btn-ghost, .cta-band .btn-ghost, .program .btn-ghost, .article-cta .btn-ghost {
  border-color: rgba(245, 241, 232, .4); color: var(--on-forest); background: transparent;
}
.forest .btn-ghost:hover, .cta-band .btn-ghost:hover, .program .btn-ghost:hover, .article-cta .btn-ghost:hover {
  border-color: var(--on-forest); background: rgba(245, 241, 232, .08);
}
.btn-sm { min-height: 44px; padding: .55em 1.2em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn svg { flex: none; }
.btn[disabled] { opacity: .55; cursor: default; transform: none; }

.text-link {
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 600; color: var(--ink); text-decoration: underline;
}
.text-link svg { transition: transform .2s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }
.forest .text-link, .program .text-link { color: var(--on-forest); }

/* ---------- Top bar and header ---------- */

.topbar {
  background: var(--forest); color: var(--on-forest-2);
  font-size: .95rem; line-height: 1.4; text-align: center;
  padding: .55rem var(--gutter);
}
.topbar svg { display: inline-block; vertical-align: -3px; margin-right: 8px; color: var(--gold); }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 247, 241, .86);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background-color .25s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); background: rgba(250, 247, 241, .94); }
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter);
  height: 76px; display: flex; align-items: center; gap: 20px;
}
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  text-decoration: none; color: var(--ink); flex: none;
}
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-name { font-weight: 700; font-size: 1.1rem; line-height: 1.1; letter-spacing: -.015em; }
.brand-name span { display: block; font-weight: 400; font-size: .84rem; letter-spacing: 0; color: var(--ink-3); margin-top: 3px; }
.brand:hover { text-decoration: none; }

.nav-inner > nav { margin-left: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; padding: 0; margin: 0; }
.nav-links a {
  display: block; padding: .5em .85em; border-radius: var(--pill);
  font-weight: 500; font-size: 1rem; text-decoration: none; color: var(--ink-2);
  transition: background-color .2s ease, color .2s ease;
}
.nav-links a:hover { background: rgba(28, 36, 24, .05); color: var(--ink); }
.nav-links a[aria-current="page"] { background: rgba(28, 36, 24, .07); color: var(--ink); }
.nav-cta { flex: none; }
.menu-btn {
  display: none; margin-left: auto;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid var(--line-2); background: var(--card);
  align-items: center; justify-content: center; cursor: pointer;
}
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
.mobile-nav {
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 8px var(--gutter) 24px;
  max-height: calc(100vh - 76px); overflow-y: auto;
}
.mobile-nav ul { list-style: none; padding: 0; margin: 0 0 16px; }
.mobile-nav li a {
  display: block; padding: 15px 2px; border-bottom: 1px solid var(--line);
  font-size: 1.2rem; font-weight: 600; text-decoration: none; letter-spacing: -.01em;
}
.mobile-nav .btn { width: 100%; margin-top: 10px; }

@media (max-width: 1120px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; margin-left: 0; }
  .nav-cta { margin-left: auto; }
}
@media (min-width: 1121px) { .mobile-nav { display: none !important; } }
@media (max-width: 560px) {
  .nav-inner { height: 66px; gap: 10px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-name { font-size: 1.02rem; }
  .brand-name span { display: none; }
  .nav-cta { display: none; }
  .menu-btn { margin-left: auto; }
}

/* ---------- Hero ---------- */

.hero { padding-block: clamp(36px, 5vw, 72px) clamp(64px, 8vw, 112px); }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(36px, 5.5vw, 88px); align-items: center;
}
.hero h1 { margin-bottom: 26px; }
.hero .lede { margin-bottom: 34px; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  list-style: none; padding: 0; margin: 30px 0 0;
  font-size: 1rem; color: var(--ink-2); font-weight: 500;
}
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { color: var(--leaf); flex: none; }
.hero-media { position: relative; }
.hero-media > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); }
.hero-media .bio-card { position: absolute; left: -36px; bottom: 40px; width: min(330px, 78%); box-shadow: var(--shadow-lg); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media > img { aspect-ratio: 1 / 1.02; object-position: 50% 30%; }
  .hero-media .bio-card { left: 14px; bottom: 14px; }
}
@media (max-width: 520px) {
  .hero-media .bio-card { position: relative; left: auto; bottom: auto; width: auto; margin: -64px 14px 0; }
}

/* Faces next to the main button, linking to the stories. */
.hero-proof {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 30px;
  text-decoration: none; color: var(--ink-2); font-size: 1rem; line-height: 1.4;
}
.hero-proof:hover { text-decoration: none; color: var(--ink); }
.hero-proof b { color: var(--ink); font-weight: 600; }
.faces { display: flex; flex: none; }
.faces img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2.5px solid var(--paper); }
.faces img + img { margin-left: -12px; }

.result-chip {
  position: absolute; left: -28px; bottom: 36px;
  display: flex; align-items: center; gap: 14px;
  background: var(--card); border-radius: var(--r); box-shadow: var(--shadow-lg);
  padding: 14px 20px 14px 14px; max-width: 320px;
  text-decoration: none; color: var(--ink); transition: transform .25s var(--ease);
}
a.result-chip:hover { transform: translateY(-2px); }
.result-chip img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.result-chip b { display: block; font-size: 1.02rem; line-height: 1.3; }
.result-chip span { display: block; font-size: .98rem; line-height: 1.35; color: var(--ink-2); }
@media (max-width: 900px) { .result-chip { left: 14px; bottom: 14px; right: 14px; max-width: none; } }

.page-hero { padding-block: clamp(40px, 6vw, 88px) clamp(44px, 5.5vw, 76px); }
.page-hero h1 { margin-bottom: 24px; max-width: 15em; font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4.2rem); }
.page-hero .lede { margin-bottom: 0; }
.page-hero .btn-row { margin-top: 32px; }
.page-hero.center { text-align: center; }
.page-hero.center h1, .page-hero.center .lede { margin-inline: auto; }
.page-hero.center .btn-row { justify-content: center; }

.crumbs { font-size: .98rem; color: var(--ink-3); margin-bottom: 24px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Press row ---------- */

.press { border-block: 1px solid var(--line); padding-block: 26px; }
.press .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 48px; }
.press-label { font-size: .98rem; font-weight: 500; color: var(--ink-3); }
.press ul { display: contents; list-style: none; }
.press li { font-weight: 700; font-size: 1.32rem; line-height: 1.2; letter-spacing: -.03em; color: #8A8478; }

/* ---------- Lab result cards ---------- */

.bio-card {
  display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 18px 20px 20px; text-decoration: none; color: var(--ink);
  transition: transform .3s var(--ease), box-shadow .3s ease, border-color .2s ease;
}
a.bio-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
.bio-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.bio-top img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.bio-top b { display: block; font-size: 1.02rem; line-height: 1.25; font-weight: 700; }
.bio-top span { display: block; font-size: .94rem; line-height: 1.3; color: var(--ink-3); }
.bio-top > div { min-width: 0; }
.bio-play {
  margin-left: auto; width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--paper-2); color: var(--ink);
  transition: background-color .2s ease, color .2s ease;
}
.bio-play svg { margin-left: 2px; }
a.bio-card:hover .bio-play { background: var(--forest); color: #fff; }
.bio-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; }
.bio-watch { font-size: .94rem; font-weight: 600; color: var(--ink-2); text-decoration: underline; text-underline-offset: .2em; white-space: nowrap; }
a.bio-card:hover .bio-watch { color: var(--ink); }
.bio-val { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 14px; }
.bio-val .now { font-family: var(--mono); font-weight: 500; font-size: 2.5rem; line-height: 1; letter-spacing: -.11em; margin-right: .1em; }
.bio-val .unit { font-family: var(--mono); font-size: 1.05rem; color: var(--ink-3); margin-left: -8px; }
.bio-val .was { font-size: .96rem; color: var(--ink-3); }
.bio-val .was s { font-family: var(--mono); text-decoration-thickness: 1.5px; }
.zone-tag {
  flex: none; align-self: center; white-space: nowrap;
  font-size: .84rem; font-weight: 600; line-height: 1; padding: .45em .7em; border-radius: 8px;
}
.zone-tag.normal { background: #E3F0DC; color: #2F5A25; }
.zone-tag.pre { background: #FBEBC9; color: #6E4B07; }
.zone-tag.high { background: #F8DDD0; color: #84361A; }
.range { position: relative; height: 8px; display: flex; gap: 3px; }
.range i { display: block; height: 100%; border-radius: 4px; }
.range .z1 { background: var(--z-normal); }
.range .z2 { background: var(--z-pre); }
.range .z3 { background: var(--z-high); }
.range .dot, .range .ghost {
  position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%;
}
.range .dot { background: var(--ink); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .3); }
.range .ghost { background: #fff; border: 2px dashed var(--ink-3); width: 14px; height: 14px; margin: -7px 0 0 -7px; }
.range .trail { position: absolute; top: 50%; height: 2px; margin-top: -1px; background: var(--ink); opacity: .55; }
.range-scale { position: relative; height: 1.1em; margin-top: 8px; font-family: var(--mono); font-size: .8rem; line-height: 1.1; color: var(--ink-3); }
.range-scale span { position: absolute; top: 0; }
.range-scale span:nth-child(2) { transform: translateX(-50%); }
.bio-note { margin-top: 12px; font-size: .95rem; color: var(--ink-2); line-height: 1.4; }

.results { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; }
.results > li { display: flex; }
.results .bio-card { width: 100%; }
@media (max-width: 1100px) { .results { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .results { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .results > li { scroll-snap-align: start; }
}

.stats { display: flex; flex-wrap: wrap; gap: 20px 32px; list-style: none; padding: 0; margin: 0; }
.stats li { flex: 1 1 140px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.stats b { display: block; font-weight: 600; font-size: clamp(2rem, 1.6rem + 1.4vw, 2.8rem); line-height: 1; letter-spacing: -.04em; white-space: nowrap; }
.stats b small { font-size: .5em; letter-spacing: -.01em; font-weight: 600; }
@media (max-width: 600px) {
  .stats { gap: 14px; flex-wrap: nowrap; }
  .stats li { flex: 1 1 0; min-width: 0; padding-top: 14px; }
  .stats b { font-size: 1.6rem; }
  .stats span { font-size: .86rem; }
}
.stats span { display: block; margin-top: 8px; font-size: .98rem; line-height: 1.35; color: var(--ink-2); max-width: 13em; }

/* ---------- Mechanism figures ---------- */

.figure-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.figure-pair figure {
  margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 12px 12px 18px;
}
.figure-pair img { width: 100%; border-radius: var(--r-sm); }
.figure-pair figcaption { margin-top: 14px; padding-inline: 6px; font-size: 1rem; line-height: 1.45; color: var(--ink-2); }
.figure-pair figcaption b { color: var(--ink); display: block; margin-bottom: 2px; }
@media (max-width: 640px) { .figure-pair { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; padding: 0; margin: 0; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px 26px 30px; display: flex; flex-direction: column;
}
.step-icon {
  width: 56px; height: 56px; border-radius: 16px; background: var(--sage); color: var(--forest);
  display: grid; place-items: center; margin-bottom: 22px; flex: none;
}
.step-num { font-size: .96rem; font-weight: 600; color: var(--ink-3); margin-bottom: 6px; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--ink-2); font-size: 1.05rem; }
@media (max-width: 1040px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

.steps-wide { grid-template-columns: repeat(2, 1fr); }
.steps-wide .step { flex-direction: row; gap: 22px; align-items: flex-start; }
.steps-wide .step-icon { margin-bottom: 0; }
@media (max-width: 760px) { .steps-wide { grid-template-columns: 1fr; } .steps-wide .step { flex-direction: column; } .steps-wide .step-icon { margin-bottom: 4px; } }

/* The home page's steps: heading held on the left, the four steps as one list on the right. */
.steps-split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.steps-split .steps-side { position: sticky; top: 120px; }
.steps-split .steps-side h2 { margin-bottom: 20px; }
.steps-split .steps-side .lede { margin-bottom: 30px; }
.step-list { list-style: none; padding: 0; margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); }
.step-list li { display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding: 30px clamp(22px, 3vw, 36px); }
.step-list li + li { border-top: 1px solid var(--line); }
.step-list .step-icon { margin: 0; }
.step-list h3 { font-size: 1.35rem; margin-bottom: 8px; }
.step-list p { color: var(--ink-2); }
@media (max-width: 900px) {
  .steps-split { grid-template-columns: 1fr; }
  .steps-split .steps-side { position: static; }
}
@media (max-width: 480px) { .step-list li { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- Stories row ---------- */

.proof-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 18px; align-items: stretch; }
@media (max-width: 1000px) { .proof-row { grid-template-columns: 1fr 1fr; } .proof-row > :first-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .proof-row { grid-template-columns: 1fr; } }

.video-card {
  display: flex; flex-direction: column;
  background: var(--forest); color: var(--on-forest);
  border-radius: var(--r); overflow: hidden; text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s ease;
}
.video-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.video-card .thumb { position: relative; aspect-ratio: 16 / 9; }
.video-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-card .body { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.video-card .name { font-weight: 600; font-size: 1.75rem; line-height: 1.1; letter-spacing: -.03em; }
.video-card .result { color: var(--on-forest-2); font-size: 1.05rem; }
.video-card .watch { margin-top: auto; padding-top: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; color: var(--gold); }

.play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 66px; height: 66px; border-radius: 50%;
  background: rgba(255, 255, 255, .95); color: var(--forest);
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  transition: transform .25s var(--ease);
}
.play svg { margin-left: 4px; }
a:hover .play, button:hover .play { transform: translate(-50%, -50%) scale(1.07); }

.quote-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px 28px; display: flex; flex-direction: column; gap: 24px; margin: 0;
}
.quote-card blockquote {
  margin: 0; font-weight: 500;
  font-size: clamp(1.18rem, 1.08rem + .35vw, 1.32rem); line-height: 1.45; letter-spacing: -.01em; color: var(--ink);
}
.quote-card figcaption { margin-top: auto; font-size: 1rem; color: var(--ink-3); }
.quote-card figcaption b { color: var(--ink); display: block; font-size: 1.05rem; }

.mini-stories { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; list-style: none; padding: 0; }
.mini-stories a {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 12px; height: 100%;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  text-decoration: none; transition: border-color .2s ease, transform .25s var(--ease);
}
.mini-stories a:hover { border-color: var(--line-2); transform: translateY(-2px); }
.mini-stories img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.mini-stories b { display: block; font-size: 1rem; line-height: 1.25; }
.mini-stories span { display: block; font-size: .95rem; line-height: 1.3; color: var(--ink-2); }
@media (max-width: 1000px) { .mini-stories { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .mini-stories { grid-template-columns: 1fr; } }

.fine { margin-top: 22px; font-size: .96rem; color: var(--ink-3); }
.forest .fine, .program .fine { color: var(--on-forest-2); }

/* ---------- Checklists ---------- */

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.checklist svg { color: var(--leaf); margin-top: 3px; }
.checklist.two { grid-template-columns: 1fr 1fr; gap: 18px 40px; }
@media (max-width: 760px) { .checklist.two { grid-template-columns: 1fr; } }
.split-text .checklist { margin: 4px 0 32px; }

/* ---------- Program (dark band with the plan card) ---------- */

.program { background: var(--forest); color: var(--on-forest); }
.program-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); align-items: stretch; }
.program-photo { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 420px; }
.program-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.phases {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.phase {
  background: rgba(20, 30, 18, .72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; padding: 14px 16px; color: #fff;
}
.phase small { display: block; font-size: .9rem; color: var(--on-forest-2); }
.phase b { display: block; font-size: 1.05rem; line-height: 1.3; font-weight: 600; margin-top: 2px; }
.plan-card {
  background: var(--card); color: var(--ink); border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column;
}
.plan-card h3 { font-size: clamp(1.6rem, 1.35rem + .9vw, 2.1rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.plan-card .plan-sub { color: var(--ink-2); margin: 10px 0 26px; }
.plan-card .checklist { padding-top: 24px; border-top: 1px solid var(--line); margin-bottom: 30px; }
.plan-card .btn { width: 100%; margin-top: auto; }
.program .plan-card .fine { text-align: center; margin-top: 16px; color: var(--ink-3); }
.plan-card .fine a { color: var(--ink); }
@media (max-width: 900px) {
  .program-grid { grid-template-columns: 1fr; }
  .program-photo { min-height: 0; aspect-ratio: 4 / 4.2; }
}
@media (max-width: 420px) { .phases { grid-template-columns: 1fr; } }

/* ---------- Founder ---------- */

.founder { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.founder-photo { position: relative; }
.founder-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); }
.founder h2 { margin-bottom: 24px; }
.founder p { max-width: 34em; }
.mission {
  margin: 30px 0; padding: 6px 0 6px 24px; border-left: 3px solid var(--gold);
  font-weight: 600; font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem); line-height: 1.3; letter-spacing: -.02em;
}
.creds { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 30px; }
.creds li {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: .5em .95em; font-size: .98rem; font-weight: 600;
}
@media (max-width: 900px) {
  .founder { grid-template-columns: 1fr; }
  .founder-photo img { aspect-ratio: 1 / 1; object-position: 50% 25%; }
}

/* ---------- FAQ ---------- */

.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.faq-side { position: sticky; top: 120px; }
.faq-side h2 { margin-bottom: 18px; }
.faq-side .lede { margin-bottom: 28px; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h3 { font-size: 1rem; font-weight: 600; color: var(--ink-3); margin-bottom: 4px; }
.qa { border-bottom: 1px solid var(--line-2); }
.qa summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 24px 56px 24px 0; font-weight: 600; font-size: 1.18rem; line-height: 1.4; letter-spacing: -.01em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 32px; height: 32px; margin-top: -16px;
  border-radius: 50%; background: var(--card)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%231C2418' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 13px no-repeat;
  border: 1px solid var(--line);
  transition: transform .25s var(--ease), background-color .2s ease;
}
.qa summary:hover::after { background-color: var(--paper-2); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa .answer { padding: 0 56px 26px 0; color: var(--ink-2); }
@media (max-width: 860px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-side { position: static; }
  .qa .answer { padding-right: 0; }
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--forest); color: var(--on-forest);
  border-radius: var(--r-lg); overflow: hidden;
  display: grid; grid-template-columns: 1.25fr .75fr; align-items: stretch;
}
.cta-band .cta-text { padding: clamp(36px, 6vw, 80px); }
.cta-band h2 { margin-bottom: 18px; }
.cta-band .lede { margin-bottom: 32px; }
.cta-band .cta-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 340px; }
@media (max-width: 860px) {
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .cta-photo { order: -1; }
  .cta-band .cta-photo img { min-height: 0; aspect-ratio: 16 / 10; object-position: 50% 25%; }
}

/* ---------- Cards and grids ---------- */

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 960px) { .cards-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cards-3 { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px 28px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-2); }
.card .serif-3 { margin-bottom: 12px; }
.part-num { display: block; font-weight: 600; color: var(--ink-3); margin-bottom: 10px; font-size: 1rem; }

.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fit .card h3 { margin-bottom: 18px; }
.fit .no svg { color: var(--ink-3); }
@media (max-width: 760px) { .fit { grid-template-columns: 1fr; } }

.a1c-scale { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 8px 0 22px; }
.a1c-scale div { border-radius: var(--r); padding: 20px 18px 22px; border-top: 6px solid; background: var(--card); min-width: 0; }
.a1c-scale .n { display: block; font-family: var(--mono); font-weight: 500; font-size: clamp(1.15rem, .9rem + .6vw, 1.34rem); line-height: 1.15; letter-spacing: -.05em; margin-bottom: 8px; }
.a1c-scale .t { font-weight: 600; }
.a1c-normal { border-color: var(--z-normal) !important; }
.a1c-pre { border-color: var(--z-pre) !important; }
.a1c-dia { border-color: var(--z-high) !important; }
@media (max-width: 640px) { .a1c-scale { grid-template-columns: 1fr; } }

.myths { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.myths .card h3 { font-weight: 600; font-size: 1.5rem; line-height: 1.2; letter-spacing: -.025em; margin-bottom: 12px; }
.myths .card h3 small { display: block; font-size: .95rem; font-weight: 600; letter-spacing: 0; color: var(--z-high); margin-bottom: 8px; }
@media (max-width: 760px) { .myths { grid-template-columns: 1fr; } }

.prose { max-width: 680px; }
.side-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px clamp(40px, 6vw, 96px); align-items: start; }
.side-split h2 { margin: 0; }
.side-split .lede { margin-top: 20px; }
.side-split .prose p:last-child, .side-split .a1c-note { margin-bottom: 0; }
.side-split .a1c-note { margin-top: 24px; color: var(--ink-2); }
@media (max-width: 900px) { .side-split { grid-template-columns: minmax(0, 1fr); } }
.prose h2 { margin: 1.6em 0 .6em; font-size: clamp(1.8rem, 1.45rem + 1.3vw, 2.4rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.4em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--leaf); }

/* ---------- Team ---------- */

.team { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.person { display: grid; grid-template-columns: 128px 1fr; gap: 24px; align-items: start; }
.person img { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; }
.person .role { color: var(--ink-3); font-weight: 600; font-size: 1rem; margin: 2px 0 12px; }
.person blockquote { margin: 0; color: var(--ink-2); }
@media (max-width: 900px) { .team { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .person { grid-template-columns: 1fr; } .person img { width: 104px; height: 104px; } }

/* ---------- Stories page ---------- */

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip {
  min-height: 46px; padding: .5em 1.1em;
  border: 1px solid var(--line-2); border-radius: var(--pill); background: var(--card);
  font-weight: 600; font-size: 1rem; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.chip:hover { border-color: var(--ink-2); }
.chip[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.chip .count { font-weight: 400; opacity: .75; margin-left: 6px; font-family: var(--mono); font-size: .92em; }
.story-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; }
.story-grid li[hidden] { display: none; }
.story {
  display: flex; flex-direction: column; height: 100%;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s ease;
}
.story:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
.story .thumb { position: relative; aspect-ratio: 16 / 9; background: var(--paper-2); }
.story .thumb img { width: 100%; height: 100%; object-fit: cover; }
.story .play { width: 54px; height: 54px; }
.story .body { padding: 16px 18px 20px; }
.story .name { font-weight: 700; font-size: 1.1rem; letter-spacing: -.01em; }
.story .result { color: var(--ink-2); font-size: 1rem; line-height: 1.45; margin-top: 2px; }
.story .tags { color: var(--ink-3); font-size: .92rem; font-weight: 600; margin-top: 10px; }

.reviews { columns: 2 360px; column-gap: 20px; }
.review {
  break-inside: avoid; margin: 0 0 20px; display: block;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 28px 24px;
}
.review figcaption { font-weight: 700; margin-bottom: 12px; font-size: 1.1rem; }
.review blockquote { margin: 0; color: var(--ink-2); font-size: 1.05rem; }
.review blockquote p { margin-bottom: .8em; }
.js .review.is-long:not(.open) .review-text { max-height: 15.5em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
.review .more { display: none; margin-top: 12px; background: none; border: 0; padding: 6px 0; font-weight: 600; text-decoration: underline; cursor: pointer; }
.js .review.is-long .more { display: inline-block; }

/* ---------- Book page ---------- */

.book { padding-block: clamp(28px, 4vw, 56px) clamp(64px, 8vw, 112px); }
.book-grid {
  display: grid; grid-template-columns: .82fr 1.18fr; grid-template-rows: auto 1fr;
  grid-template-areas: "info booker" "details booker"; gap: 0 clamp(32px, 5vw, 72px); align-items: start;
}
.book-info { grid-area: info; }
.book-details { grid-area: details; }
.booker { grid-area: booker; }
.book-info h1 { font-size: clamp(2.3rem, 1.5rem + 2.8vw, 3.5rem); margin-bottom: 18px; }
.host { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.host img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.host b { display: block; font-size: 1.02rem; line-height: 1.25; }
.host span { display: block; font-size: .95rem; color: var(--ink-3); }
.book-facts { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.book-facts li {
  display: inline-flex; align-items: center; gap: 8px; padding: .45em .85em;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; font-size: .98rem; font-weight: 600;
}
.book-facts svg { color: var(--leaf); }
.book-list { margin: 0 0 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.ready { background: var(--paper-2); border-radius: var(--r); padding: 22px 24px; font-size: 1.02rem; }
.ready b { display: block; margin-bottom: 6px; }
@media (max-width: 960px) {
  .book-grid { grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: "info" "booker" "details"; }
  .book-info .book-facts { margin-bottom: 24px; }
  .book-details { margin-top: 36px; }
  .booker { min-height: 480px; }
}

/* The booking card: questions, then a time, then their details. */
.booker {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow); overflow: hidden; position: relative; min-height: 560px;
  display: flex; flex-direction: column;
}
.bk-head { padding: 20px clamp(20px, 3.5vw, 36px) 0; }
.bk-steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0; }
.bk-steps li { flex: 1; }
.bk-steps i { display: block; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; position: relative; }
.bk-steps i::after { content: ""; position: absolute; inset: 0; width: var(--fill, 0%); background: var(--leaf); border-radius: 2px; transition: width .4s var(--ease); }
.bk-steps span { display: block; margin-top: 8px; font-size: .9rem; font-weight: 600; color: var(--ink-3); }
.bk-steps .on span { color: var(--ink); }
.bk-body { padding: clamp(24px, 3.5vw, 40px) clamp(20px, 3.5vw, 36px) clamp(24px, 3.5vw, 36px); flex: 1; display: flex; flex-direction: column; }
.bk-body > * { animation: bk-in .35s var(--ease) both; }
.bk-body.still > * { animation: none; }
@keyframes bk-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.bk-count { font-size: .95rem; font-weight: 600; color: var(--ink-3); margin-bottom: 10px; }
.bk-title { font-size: clamp(1.45rem, 1.25rem + .8vw, 1.85rem); font-weight: 600; line-height: 1.2; letter-spacing: -.025em; margin-bottom: 8px; outline: none; }
.bk-hint { color: var(--ink-2); font-size: 1.02rem; margin-bottom: 22px; }
.bk-options { display: grid; gap: 10px; list-style: none; padding: 0; margin: 8px 0 0; }
.bk-opt {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 58px; padding: 14px 18px;
  background: var(--card); border: 1.5px solid var(--line-2); border-radius: 14px;
  font-weight: 600; font-size: 1.06rem; text-align: left; cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, transform .2s var(--ease);
}
.bk-opt::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); flex: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.bk-opt:hover { border-color: var(--ink-2); }
.bk-opt[aria-pressed="true"] { border-color: var(--forest); background: #F4F7EF; }
.bk-opt[aria-pressed="true"]::before { border-color: var(--forest); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 10px var(--forest); }
.bk-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 26px; }
.bk-back {
  background: none; border: 0; padding: 10px 4px; cursor: pointer; font-weight: 600; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 8px; font-size: 1rem; line-height: 1;
}
.bk-back svg { flex: none; transition: transform .2s var(--ease); }
.bk-back:hover { color: var(--ink); }
.bk-back:hover svg { transform: translateX(-3px); }


.bk-days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; margin: 4px -2px 22px; scroll-snap-type: x proximity; }
.bk-day {
  flex: none; min-width: 86px; padding: 12px 10px; border-radius: 14px; text-align: center; cursor: pointer;
  background: var(--card); border: 1.5px solid var(--line-2); scroll-snap-align: start;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.bk-day small { display: block; font-size: .88rem; font-weight: 600; color: var(--ink-3); }
.bk-day b { display: block; font-size: 1.35rem; line-height: 1.15; font-weight: 600; letter-spacing: -.02em; }
.bk-day em { display: block; font-style: normal; font-size: .86rem; color: var(--ink-3); }
.bk-day:hover { border-color: var(--ink-2); }
.bk-day[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.bk-day[aria-pressed="true"] small, .bk-day[aria-pressed="true"] em { color: var(--on-forest-2); }
.bk-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 480px) { .bk-slots { grid-template-columns: repeat(2, 1fr); } }
.bk-slot {
  width: 100%; min-height: 52px; border-radius: 12px; cursor: pointer;
  border: 1.5px solid var(--leaf); background: var(--card); color: var(--forest);
  font-weight: 600; font-size: 1.04rem; transition: background-color .15s ease, color .15s ease;
}
.bk-slot:hover { background: var(--sage); }
.bk-tz { margin-top: 18px; font-size: .95rem; color: var(--ink-3); }

.bk-picked {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-bottom: 24px;
  background: var(--paper-2); border-radius: 14px;
}
.bk-picked svg { color: var(--leaf); flex: none; }
.bk-picked b { display: block; line-height: 1.3; }
.bk-picked span { display: block; font-size: .95rem; color: var(--ink-2); }
.bk-picked button { margin-left: auto; background: none; border: 0; font-weight: 600; text-decoration: underline; cursor: pointer; padding: 8px 4px; }
.bk-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.bk-picked + .bk-title { margin-top: 4px; }
.bk-field { display: grid; gap: 6px; }
.bk-field.full { grid-column: 1 / -1; }
.bk-field label { font-size: .98rem; font-weight: 600; }
.bk-field input {
  width: 100%; min-height: 54px; padding: 12px 16px; border-radius: 12px;
  border: 1.5px solid var(--line-2); background: var(--card); font-size: 1.06rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.bk-field input:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 4px rgba(70, 102, 58, .18); }
.bk-field input[aria-invalid="true"] { border-color: var(--z-high); }
@media (max-width: 520px) { .bk-form { grid-template-columns: 1fr; } }
.bk-consent { grid-column: 1 / -1; display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .9rem; line-height: 1.45; color: var(--ink-3); margin-top: 4px; cursor: pointer; }
.bk-consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--forest); }
.bk-consent a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.bk-consent + .bk-consent { margin-top: -4px; }
.bk-error { grid-column: 1 / -1; color: #9A3412; background: #FDF0EA; border-radius: 12px; padding: 12px 14px; font-size: 1rem; font-weight: 600; }
.bk-submit { grid-column: 1 / -1; margin-top: 8px; }
.bk-safe { grid-column: 1 / -1; text-align: center; font-size: .92rem; color: var(--ink-3); }

.bk-center { text-align: center; margin: auto 0; padding-block: 12px; }
.bk-center .bk-title { margin-inline: auto; max-width: 18em; }
.bk-center p { color: var(--ink-2); max-width: 30em; margin-inline: auto; }
.bk-center .btn-row { justify-content: center; margin-top: 24px; }
.bk-badge { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 20px; background: var(--sage); color: var(--forest); }
.bk-when {
  display: inline-block; margin: 6px 0 18px; padding: 14px 20px; border-radius: 14px;
  background: var(--paper-2); font-weight: 600; font-size: 1.12rem; line-height: 1.4;
}
.bk-when span { display: block; font-weight: 400; font-size: .95rem; color: var(--ink-2); }
.bk-skel { display: grid; gap: 12px; }
.bk-skel i { display: block; height: 58px; border-radius: 14px; background: linear-gradient(90deg, var(--paper-2), #FBF9F4, var(--paper-2)); background-size: 200% 100%; animation: bk-shine 1.2s linear infinite; }
.bk-skel i:first-child { height: 30px; width: 70%; margin-bottom: 14px; }
@keyframes bk-shine { to { background-position: -200% 0; } }
.cal-fallback { padding: 40px 28px; text-align: center; margin: auto 0; }
.cal-fallback p { color: var(--ink-2); max-width: 26em; margin-inline: auto; }
.cal-fallback .btn { margin-top: 20px; }

/* ---------- Blog ---------- */

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 960px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.post-card:hover { text-decoration: none; }
.post-card .thumb { aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--paper-2); margin-bottom: 18px; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.post-card:hover .thumb img { transform: scale(1.03); }
.post-card .meta { font-size: .96rem; color: var(--ink-3); margin-bottom: 8px; }
.post-card h2, .post-card h3 { font-weight: 600; font-size: 1.45rem; line-height: 1.2; letter-spacing: -.025em; margin-bottom: 10px; }
.post-card p { color: var(--ink-2); font-size: 1.04rem; }
.post-card:hover h2, .post-card:hover h3 { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .18em; }

.post-feature { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 56px); align-items: center; margin-bottom: clamp(48px, 6vw, 80px); }
.post-feature .thumb { margin-bottom: 0; }
.post-feature h2 { font-size: clamp(1.9rem, 1.5rem + 1.5vw, 2.6rem); }
@media (max-width: 860px) { .post-feature { grid-template-columns: 1fr; } .post-feature .thumb { margin-bottom: 6px; } }

.article-head { max-width: 820px; margin: 0 auto; padding-inline: var(--gutter); }
.article-head h1 { font-size: clamp(2.3rem, 1.5rem + 3vw, 3.7rem); margin-bottom: 20px; }
.article-head .dek { font-size: clamp(1.18rem, 1.08rem + .35vw, 1.32rem); color: var(--ink-2); margin-bottom: 22px; }
.byline { display: flex; align-items: center; gap: 12px; font-size: 1rem; color: var(--ink-3); }
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.byline b { color: var(--ink); }
.article-video { max-width: 960px; margin: clamp(32px, 4vw, 48px) auto; padding-inline: var(--gutter); }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--forest); }
.yt button { all: unset; position: absolute; inset: 0; cursor: pointer; display: block; }
.yt button:focus-visible { outline: 3px solid var(--amber); outline-offset: -3px; }
.yt img { width: 100%; height: 100%; object-fit: cover; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.article-body { max-width: 720px; margin: 0 auto; padding-inline: var(--gutter); }
.article-body p, .article-body li { font-size: 1.15rem; line-height: 1.7; }
.takeaways { background: var(--paper-2); border-radius: var(--r); padding: 26px 28px; margin: 0 0 40px; }
.takeaways h2 { font-weight: 700; font-size: 1.1rem; letter-spacing: -.01em; margin: 0 0 14px; }
.takeaways ul { padding-left: 1.2em; margin: 0; }
.takeaways li { margin-bottom: .4em; }
.pull {
  margin: 36px 0; padding: 6px 0 6px 24px; border-left: 3px solid var(--gold);
  font-weight: 600; font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); line-height: 1.35; letter-spacing: -.02em;
}
.pull cite { display: block; font-style: normal; font-weight: 500; font-size: 1rem; letter-spacing: 0; color: var(--ink-3); margin-top: 10px; }
.note { border: 1px solid var(--line-2); border-radius: var(--r); padding: 18px 22px; margin: 32px 0; font-size: 1rem !important; color: var(--ink-2); }
.article-cta { margin: 48px 0 0; background: var(--forest); color: var(--on-forest); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); }
.article-cta h2 { color: var(--on-forest); margin: 0 0 12px !important; font-size: clamp(1.7rem, 1.45rem + 1vw, 2.2rem); }
.article-cta p { color: var(--on-forest-2); }
.article-cta .btn-row { margin-top: 22px; }

/* ---------- Links page ---------- */

.links-page { max-width: 560px; margin: 0 auto; padding: clamp(32px, 6vw, 64px) var(--gutter) 64px; text-align: center; }
.links-page img.avatar { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; margin: 0 auto 18px; }
.links-page h1 { font-size: clamp(2rem, 1.7rem + 1.6vw, 2.6rem); margin-bottom: 10px; }
.links-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.links-list a {
  display: block; padding: 18px 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line);
  font-weight: 700; text-decoration: none; transition: border-color .2s ease, transform .25s var(--ease);
}
.links-list a:hover { border-color: var(--ink-2); transform: translateY(-1px); }
.links-list a.primary { background: var(--amber); border-color: var(--amber); color: #fff; }
.links-list a.primary:hover { background: var(--amber-hover); }
.links-list small { display: block; font-weight: 400; color: var(--ink-2); font-size: .95rem; margin-top: 2px; }
.links-list a.primary small { color: #FBE9D3; }

/* ---------- Footer ---------- */

.site-footer { background: var(--forest); color: var(--on-forest-2); padding-block: clamp(56px, 7vw, 88px) 36px; }
.site-footer .brand { color: var(--on-forest); }
.site-footer .brand-name span { color: var(--on-forest-2); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.footer-grid h2 { font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--on-forest); margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; color: var(--on-forest-2); transition: color .2s ease; }
.footer-grid a:hover { color: var(--on-forest); text-decoration: underline; }
.footer-grid a.btn, .footer-grid a.btn:hover { color: #fff; text-decoration: none; }
.footer-grid .muted { color: var(--on-forest-2); }
.footer-brand p { margin-top: 18px; max-width: 24em; font-size: 1.04rem; }
.footer-brand .btn { margin-top: 24px; }
.footer-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--forest-line);
  display: grid; gap: 10px; font-size: .94rem;
}
.footer-bottom p { max-width: 70em; }
.footer-bottom a { color: var(--on-forest); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Video lightbox ---------- */

.lb {
  width: min(960px, calc(100vw - 32px)); max-width: none; max-height: none;
  padding: 0; border: 0; background: transparent; overflow: visible;
}
.lb::backdrop { background: rgba(18, 26, 16, .92); }
.lb-title { color: #fff; font-weight: 600; text-align: center; margin: 0 48px 12px; font-size: 1.05rem; }
.lb-box { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000; }
.lb-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lb-x {
  position: absolute; right: 0; top: -6px; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: #fff; color: var(--forest); cursor: pointer; display: grid; place-items: center;
}

/* ---------- 404 ---------- */

.notfound { text-align: center; padding-block: clamp(72px, 12vw, 160px); }
.notfound h1 { margin-bottom: 18px; }
.notfound .btn-row { justify-content: center; margin-top: 28px; }

/* ---------- Motion ---------- */

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
