/* ==========================================================
   CamilleHoffmanMD.com — main stylesheet
   Design system: Genesis by @chef (designmd.ai/chef/genesis, MIT).
   Rules: warm terracotta accent (replacing Genesis indigo) only for interactive elements · 4px spacing grid ·
   Lora headings (warmer than Genesis's General Sans), DM Sans body · 6px controls, 12px cards ·
   no decorative gradients (the dot grid is the only decoration) ·
   shadows only on hover, focus and popovers.
   ========================================================== */

:root {
  /* Genesis color tokens */
  --primary: #B5532F;
  --primary-hover: #964224;
  --neutral: #A1938A;
  --bg: #FBF7F2;
  --surface: #FFFDFA;
  --text: #2B231F;
  --text-2: #6F625A;
  --border: #EDE4D9;
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;

  /* Supporting neutrals (Genesis gray-100 / gray-200 / gray-600) */
  --bg-alt: #F5EDE3;
  --gray-200: #E8DCCD;
  --gray-600: #5E5048;
  --inverse: #2F2420;
  --inverse-2: #3D302A;
  --inverse-text: #FBF6F0;
  --inverse-muted: #CDBFB3;
  --inverse-border: rgba(251, 246, 240, .18);
  --success-text: #047857;
  --warning-bg: #FFFBEB;
  --error-text: #B91C1C;

  /* Type */
  --font-display: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-code: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Radius */
  --r-chip: 4px;
  --r-control: 6px;
  --r-panel: 8px;
  --r-card: 12px;
  --r-pill: 9999px;

  /* Elevation (hover, focus and popovers only) */
  --shadow-hover: 0 8px 30px rgba(79, 52, 38, .10);
  --shadow-glow: 0 4px 12px rgba(181, 83, 47, .30);
  --shadow-lg: 0 10px 15px -3px rgba(79, 52, 38, .12), 0 4px 6px -4px rgba(79, 52, 38, .10);
  --ring: 0 0 0 3px rgba(181, 83, 47, .16);

  --wrap: 1280px;

  /* Aliases kept so existing inline styles keep working */
  --shadow: none;
  --plum-100: var(--bg-alt);
  --clay-500: var(--inverse-muted);
  --radius: var(--r-card);
  --radius-lg: var(--r-card);
  --muted: var(--text-2);
  --line: var(--border);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-hover); }
strong, b { font-weight: 500; }
:focus-visible { outline: none; box-shadow: var(--ring), 0 0 0 1px var(--primary); border-radius: var(--r-chip); }
code, kbd { font-family: var(--font-code); font-size: .9em; background: var(--bg-alt); border-radius: var(--r-chip); padding: 1px 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text);
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); letter-spacing: -0.02em; line-height: 1.08; }
h2 { font-size: clamp(1.625rem, 3vw, 2rem); }
h3 { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); letter-spacing: 0; line-height: 1.3; }
h4 { font-size: 1rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
em.accent { font-style: normal; color: var(--text-2); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.narrow { max-width: 768px; }
.wrap.narrow { max-width: calc(768px + 48px); }
.center { text-align: center; margin-inline: auto; }
.section { padding: 64px 0; }
.section-sm { padding: 48px 0; }
@media (max-width: 1024px) { .section { padding: 48px 0; } .section-sm { padding: 40px 0; } }
@media (max-width: 640px) { .section, .section-sm { padding: 32px 0; } .wrap { padding-inline: 16px; } .wrap.narrow { max-width: calc(768px + 32px); } }
.bg-sand { background: var(--surface); border-block: 1px solid var(--border); }
.bg-sage { background: var(--bg-alt); }
.bg-plum { background: var(--inverse); color: var(--inverse-muted); }
.bg-plum h2, .bg-plum h3 { color: var(--inverse-text); }

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 12px;
}
.bg-plum .eyebrow { color: var(--inverse-muted); }
.lede { font-size: 1.125rem; line-height: 1.6; color: var(--text-2); max-width: 640px; }
.center .lede { margin-inline: auto; }
.bg-plum .lede { color: var(--inverse-muted); }

.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 16px; top: 16px; z-index: 1000; background: var(--surface); padding: 8px 12px; border-radius: var(--r-control); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 500 15px/1 var(--font-body);
  height: 44px;
  padding: 0 24px;
  border-radius: var(--r-control);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; box-shadow: var(--shadow-glow); }
.btn-dark { background: var(--inverse); color: var(--inverse-text); }
.btn-dark:hover { background: #45362F; color: var(--inverse-text); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--bg-alt); color: var(--text); border-color: var(--gray-200); }
.bg-plum .btn-ghost { color: var(--inverse-text); border-color: var(--inverse-border); }
.bg-plum .btn-ghost:hover { background: var(--inverse-2); color: var(--inverse-text); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.topbar { background: var(--inverse); color: var(--inverse-muted); font-size: 13px; text-align: center; padding: 8px 16px; }
.topbar strong { color: var(--inverse-text); }
.topbar a { color: var(--inverse-text); font-weight: 500; }
.topbar a:hover { color: #fff; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 242, .85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 56px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark {
  width: 32px; height: 32px; border-radius: var(--r-pill);
  display: grid; place-items: center;
  background: var(--inverse); color: var(--inverse-text);
  font: 600 12px/1 var(--font-display); letter-spacing: -0.02em;
}
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: -0.02em; line-height: 1.15; }
.brand-name small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav-drop > button {
  font: 500 14px var(--font-body);
  color: var(--text);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--r-control);
  background: none; border: 0; cursor: pointer;
  white-space: nowrap;
}
.nav > a:hover, .nav-drop > button:hover { background: var(--bg-alt); color: var(--text); }
.nav a[aria-current="page"] { color: var(--primary); }
.nav > a.btn { margin-left: 8px; height: 38px; padding: 0 16px; }
.nav > a.btn-primary, .nav > a.btn-primary:hover { background: var(--primary); color: #fff; }
.nav > a.btn-primary:hover { background: var(--primary-hover); box-shadow: var(--shadow-glow); }
.nav-drop { position: relative; }
.nav-drop > button::after { content: " ▾"; font-size: .75em; color: var(--text-2); }
.nav-menu {
  position: absolute; top: calc(100% + 8px); left: -8px;
  min-width: 280px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-panel);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  display: none;
}
.nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu, .nav-drop.open .nav-menu { display: block; }
.nav-menu a { display: block; padding: 8px 12px; border-radius: var(--r-control); text-decoration: none; color: var(--text); font-size: 14px; font-weight: 500; }
.nav-menu a span { display: block; font-size: 13px; font-weight: 400; color: var(--text-2); }
.nav-menu a:hover { background: var(--bg-alt); color: var(--text); }
.nav-menu-wide { min-width: 600px; display: none; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.nav-drop:hover .nav-menu-wide, .nav-drop:focus-within .nav-menu-wide, .nav-drop.open .nav-menu-wide { display: grid; }
.nav-group-label { display: block; font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--neutral); padding: 8px 12px 4px; }

.nav-social { display: flex; align-items: center; gap: 2px; margin-left: 4px; }
.nav-social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-control); color: var(--text-2); }
.nav-social a:hover { background: var(--bg-alt); color: var(--text); }
.nav-social svg { width: 18px; height: 18px; }
@media (min-width: 981px) and (max-width: 1140px) { .nav-social { display: none; } }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; border-radius: var(--r-control); }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); margin: 4px 0; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .nav {
    position: fixed; top: var(--nav-top, 56px); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg);
    padding: 16px 16px 40px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .25s ease;
  }
  .nav.open { transform: none; }
  .nav > a, .nav-drop > button { padding: 12px 8px; font-size: 16px; text-align: left; width: 100%; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav-menu, .nav-menu-wide { position: static; display: block; min-width: 0; box-shadow: none; border: 0; padding: 0 0 8px; background: transparent; }
  .nav-group-label { padding: 12px 8px 4px; }
  .nav-drop > button::after { content: ""; }
  .nav > a.btn { margin: 20px 0 0; height: 44px; border-bottom: 0; text-align: center; }
  .nav-social { margin: 16px 0 0; gap: 8px; }
  .nav-social a { width: 44px; height: 44px; border: 1px solid var(--border); }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero (dot grid is the only decoration) ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 80px; isolation: isolate; }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(circle, var(--gray-200) 1px, transparent 1.2px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent);
  mask-image: linear-gradient(to bottom, #000 40%, transparent);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero .lede { margin-bottom: 1.6em; }
.hero-alt { margin: 16px 0 0; font-size: 14px; color: var(--text-2); }
.hero-alt a { font-weight: 500; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; font-size: 13px; color: var(--text-2); }
.hero-proof span::before { content: "✓"; color: var(--text); font-weight: 500; margin-right: 6px; }

.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-card);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.portrait-placeholder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--text-2); font-size: 13px; padding: 24px; }
.portrait-placeholder strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--text); }
.portrait-badge {
  position: absolute; left: -16px; bottom: 32px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-panel);
  padding: 12px 16px; max-width: 240px; font-size: 13px; line-height: 1.4; color: var(--text-2);
}
.portrait-badge strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: -0.02em; color: var(--text); }
.hero-media { position: relative; }

@media (max-width: 860px) {
  .hero { padding: 40px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { max-width: 420px; margin-inline: auto; width: 100%; }
  .portrait-badge { left: 12px; }
}

/* ---------- Path cards ---------- */
.paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); gap: 20px; margin-top: 40px; }
.paths-midlife { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.path {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card);
  padding: 24px 20px; text-decoration: none; color: var(--text);
  transition: transform .2s, box-shadow .2s;
}
.path:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); color: var(--text); }
.path-icon { width: 40px; height: 40px; border-radius: var(--r-panel); display: grid; place-items: center; margin-bottom: 16px; }
.path-icon svg { width: 20px; height: 20px; }
.path .stage { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); margin-bottom: 8px; }
.path h3 { font-size: 1.0625rem; line-height: 1.3; margin-bottom: .5em; }
.path p { font-size: 14px; color: var(--text-2); flex: 1; }
.path .more { font-weight: 500; color: var(--primary); font-size: 14px; }
.path:hover .more { color: var(--primary-hover); }
.path-group-label { display: flex; align-items: center; gap: 12px; margin: 40px 0 -20px; font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.path-group-label::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.path-help { margin: 24px auto 0; max-width: 768px; text-align: center; font-size: 13px; color: var(--text-2); }
.tone-clay, .tone-sage, .tone-plum, .tone-sand { background: var(--bg-alt); color: var(--text); }

/* ---------- Generic grids ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 40px; } }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cards-2 > .card:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards-3, .cards-2 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 24px; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--text-2); }
.card p:last-child { margin-bottom: 0; }
.card ul { padding-left: 1.1em; margin: 0; color: var(--text-2); }
.card li { margin-bottom: 6px; }
.tag, .card .tag, .topic-body .tag, .follow-card .tag {
  display: inline-block; font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none;
  background: var(--bg-alt); color: var(--gray-600);
  padding: 4px 12px; border-radius: var(--r-pill); margin-bottom: 12px;
}

.check-list { list-style: none; padding: 0; margin: 0 0 1.4em; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px; border-radius: var(--r-pill);
  background: var(--bg-alt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%232B231F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.bg-plum .check-list li::before { background-color: var(--inverse-2); }

/* ---------- Pillars (legacy) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; margin-top: 40px; }
.pillar { background: var(--surface); padding: 32px; }
.pillar .num { font-family: var(--font-display); font-weight: 600; font-size: 40px; color: var(--gray-200); line-height: 1; margin-bottom: 12px; }
.pillar p { color: var(--text-2); margin: 0; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Opt-in ---------- */
.optin {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card);
  padding: clamp(24px, 5vw, 48px);
}
@media (max-width: 860px) { .optin { grid-template-columns: 1fr; gap: 32px; } }

.guide-cover {
  aspect-ratio: 3 / 4; max-width: 280px; margin-inline: auto; width: 100%;
  border-radius: var(--r-card);
  background: var(--inverse); color: var(--inverse-text);
  padding: 28px 24px;
  display: flex; flex-direction: column; justify-content: space-between;
  border: 1px solid var(--inverse);
}
.guide-cover .gc-top { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--inverse-muted); }
.guide-cover .gc-title { font-family: var(--font-display); font-weight: 600; font-size: 28px; line-height: 1.05; letter-spacing: -0.01em; }
.guide-cover .gc-title em { font-style: normal; color: var(--inverse-muted); }
.guide-cover .gc-foot { font-size: 13px; color: var(--inverse-muted); border-top: 1px solid var(--inverse-border); padding-top: 12px; }
.guide-cover-sage { background: var(--surface); color: var(--text); border-color: var(--border); }
.guide-cover-sage .gc-top, .guide-cover-sage .gc-foot { color: var(--text-2); }
.guide-cover-sage .gc-title em { color: var(--text-2); }
.guide-cover-sage .gc-foot { border-top-color: var(--border); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 12px; }
.form-fields { display: grid; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form label { font-size: 13px; font-weight: 500; color: var(--text); display: block; margin-bottom: 4px; }
.form input[type="text"], .form input[type="email"], .form select {
  width: 100%;
  font: 400 14px var(--font-body);
  padding: 10px 14px;
  border: 1px solid var(--border); border-radius: var(--r-control);
  background: var(--surface); color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.form input::placeholder { color: var(--neutral); }
.form input:focus, .form select:focus { outline: none; border-color: var(--primary); box-shadow: var(--ring); }
.form input[aria-invalid="true"] { border-color: var(--error); }
.form .btn { width: 100%; margin-top: 4px; }
.form-inline { display: flex; gap: 8px; }
.form-inline input { flex: 1; min-width: 0; }
.form-inline .btn { width: auto; margin: 0; }
@media (max-width: 560px) { .form-inline { flex-direction: column; } .form-inline .btn { width: 100%; } }
.form-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--text-2); line-height: 1.45; }
.form-consent input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--primary); }
.form-note { font-size: 12px; color: var(--text-2); margin: 4px 0 0; }
.form-status { font-size: 13px; margin: 4px 0 0; min-height: 1em; }
.form-status.ok { color: var(--success-text); font-weight: 500; }
.form-status.err { color: var(--error-text); font-weight: 500; }
.form.sent .form-fields { display: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.bg-plum .form input[type="email"], .bg-plum .form input[type="text"],
.call-card .form input[type="email"], .call-card .form input[type="text"] { background: var(--inverse-2); border-color: var(--inverse-border); color: var(--inverse-text); }
.bg-plum .form input::placeholder, .call-card .form input::placeholder { color: var(--inverse-muted); }
.bg-plum .form-note, .bg-plum .form-consent, .call-card .form-note, .call-card .small { color: var(--inverse-muted); }
.bg-plum .form-status, .call-card .form-status { color: var(--inverse-text); }
.bg-plum .form-status.ok, .call-card .form-status.ok { color: #6EE7B7; }
.bg-plum .form-status.err, .call-card .form-status.err { color: #FCA5A5; }

/* ---------- Live call ---------- */
.call-card {
  background: var(--inverse); color: var(--inverse-muted);
  border-radius: var(--r-card); padding: clamp(24px, 5vw, 48px);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
}
.call-card h2 { color: var(--inverse-text); }
.call-card .eyebrow { color: var(--inverse-muted); }
.call-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.call-meta li { background: var(--inverse-2); color: var(--inverse-text); border-radius: var(--r-pill); padding: 4px 12px; font-size: 12px; }
@media (max-width: 860px) { .call-card { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Quote / testimonial ---------- */
.quote { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 2.4vw, 1.625rem); line-height: 1.35; letter-spacing: -0.02em; color: var(--text); margin: 0 0 16px; }
.quote-by { font-size: 14px; color: var(--text-2); }
.testis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi { background: var(--surface); border-radius: var(--r-card); padding: 24px; border: 1px solid var(--border); }
.testi .who { font-weight: 500; color: var(--text); font-size: 14px; }
.stars { color: var(--warning); letter-spacing: 2px; margin-bottom: 8px; }
@media (max-width: 900px) { .testis { grid-template-columns: 1fr; } }

/* ---------- Topic cards ---------- */
.topic-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.topic {
  display: block; text-decoration: none; color: var(--text);
  border-radius: var(--r-card); overflow: hidden; background: var(--surface); border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
}
.topic:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); color: var(--text); }
.topic-thumb { aspect-ratio: 16 / 7; display: grid; place-items: center; border-bottom: 1px solid var(--border); }
.topic-thumb svg { width: 40px; height: 40px; color: var(--text-2); }
.topic-body { padding: 20px 20px 24px; }
.topic-body h3 { font-size: 1.0625rem; margin: 0 0 6px; }
.topic-body p { font-size: 14px; color: var(--text-2); margin: 0; }
@media (max-width: 900px) { .topic-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .topic-list { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer; list-style: none;
  font: 500 16px/1.4 var(--font-body); color: var(--text);
  padding: 16px 40px 16px 0; position: relative;
}
.faq summary:hover { color: var(--primary); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 22px; font-weight: 400; color: var(--text-2); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-2); padding-right: 40px; }

/* ---------- Page hero (interior) ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: 64px 0 48px; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
@media (max-width: 640px) { .page-hero { padding: 40px 0 32px; } }
.breadcrumb { font-size: 13px; color: var(--text-2); margin-bottom: 16px; }
.breadcrumb a { color: var(--text-2); }
.breadcrumb a:hover { color: var(--primary); }

/* ---------- Prose ---------- */
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.callout { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--text); border-radius: var(--r-panel); padding: 16px 20px; margin: 1.6em 0; }
.callout p:last-child { margin: 0; }
.callout.warn { background: var(--warning-bg); border-color: #FDE68A; border-left-color: var(--warning); }

.sidebar-sticky { position: sticky; top: 80px; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
@media (max-width: 960px) { .content-grid { grid-template-columns: 1fr; gap: 40px; } .sidebar-sticky { position: static; } }

/* ---------- Stats (legacy) ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat .n { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 4vw, 2.75rem); letter-spacing: -0.01em; line-height: 1; }
.stat .l { font-size: 13px; color: var(--text-2); margin-top: 8px; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--inverse); color: var(--inverse-muted); padding: 64px 0 32px; font-size: 14px; }
.site-footer a { color: var(--inverse-text); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-grid h4 { color: var(--inverse-text); font: 500 11px var(--font-body); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.site-footer .brand { color: var(--inverse-text); margin-bottom: 16px; }
.site-footer .brand-mark { background: var(--inverse-text); color: var(--inverse); }
.site-footer .brand-name small { color: var(--inverse-muted); }
.footer-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--inverse-border); font-size: 12px; color: var(--neutral); display: grid; gap: 8px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Modal (popover elevation allowed) ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; padding: 16px; background: rgba(47, 36, 32, .5); }
.modal.open { display: grid; }
.modal-box { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); max-width: 520px; width: 100%; padding: clamp(24px, 5vw, 40px); box-shadow: var(--shadow-lg); max-height: calc(100vh - 32px); overflow-y: auto; }
.modal-close { position: absolute; top: 12px; right: 12px; background: none; border: 0; font-size: 24px; line-height: 1; cursor: pointer; color: var(--text-2); padding: 4px 8px; border-radius: var(--r-control); }
.modal-close:hover { background: var(--bg-alt); color: var(--text); }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: 40px; }
.small { font-size: 13px; color: var(--text-2); }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
[id] { scroll-margin-top: 80px; }

/* ---------- Checklist / report (free products) ---------- */
.checklist .steps { list-style: none; padding: 0; }
.checklist .steps li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-panel); padding: 12px 16px; margin-bottom: 8px; }
.checklist .steps label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.checklist .steps input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin-top: 2px; flex: none; border-radius: var(--r-pill); background: var(--gray-200); cursor: pointer; transition: background .2s; }
.checklist .steps input:checked { background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5'/%3E%3C/svg%3E") center / 20px no-repeat; }
.checklist .steps input:focus-visible { box-shadow: var(--ring), 0 0 0 1px var(--primary); }

/* ---------- Credentials strip ---------- */
.creds { border-block: 1px solid var(--border); background: var(--surface); }
.creds ul { list-style: none; margin: 0; padding: 20px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 32px; }
.creds li { font-size: 13px; line-height: 1.45; color: var(--text-2); padding-left: 12px; border-left: 2px solid var(--border); }
.creds strong { display: block; color: var(--text); font-weight: 500; font-size: 14px; }
@media (max-width: 900px) { .creds ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .creds ul { grid-template-columns: 1fr; } }

/* ---------- The Three Questions ---------- */
.three-q { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; counter-reset: q; }
.three-q > div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 28px 24px; counter-increment: q; position: relative; }
.three-q > div::before { content: counter(q); position: absolute; top: 20px; right: 24px; font: 600 40px/1 var(--font-display); letter-spacing: -0.01em; color: var(--gray-200); }
.three-q h3 { font-size: 1.25rem; padding-right: 36px; }
.three-q p { color: var(--text-2); margin: 0; }
.three-q .q-words { font-style: normal; color: var(--text); font-weight: 500; margin: 0 0 8px; }
@media (max-width: 860px) { .three-q { grid-template-columns: 1fr; } }
.method-note { margin-top: 24px; text-align: center; color: var(--text-2); max-width: 680px; margin-inline: auto; }

.qa { border: 1px solid var(--border); border-radius: var(--r-card); background: var(--surface); margin: 1.2em 0 1.8em; overflow: hidden; }
.qa > div { padding: 16px 20px; border-top: 1px solid var(--border); }
.qa > div:first-child { border-top: 0; }
.qa .q { display: block; font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); margin-bottom: 6px; }
.qa p { margin: 0 0 .6em; color: var(--text); }
.qa p:last-child, .qa ul:last-child { margin-bottom: 0; }
.qa ul { margin: 0; padding-left: 1.2em; }
.prose h2 + .qa { margin-top: .4em; }
.topic-head { display: block; font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--neutral); margin-top: 2.6em; }
.topic-head + h2 { margin-top: .25em; }
.searches { font-size: 13px; color: var(--text-2); margin-top: -.3em; }
.searches q { font-style: italic; }

/* ---------- Scripts (what to say) ---------- */
.scripts { display: grid; gap: 8px; margin: 1em 0 1.6em; }
.scripts div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-panel); padding: 16px 20px; }
.scripts .who { display: block; font-size: 12px; color: var(--text-2); margin-bottom: 4px; }
.scripts .say { font: 600 1.0625rem/1.4 var(--font-display); letter-spacing: -0.01em; color: var(--text); }

/* ---------- Research, press, timeline ---------- */
.research { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .research { grid-template-columns: 1fr; } }
.press { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--border); }
.press li { padding: 12px 16px; border-bottom: 1px solid var(--border); display: flex; gap: 16px; justify-content: space-between; align-items: baseline; flex-wrap: wrap; transition: background .2s; }
.press li:hover { background: var(--bg-alt); }
.press .outlet { font-weight: 500; }
.press .date { font-size: 13px; color: var(--text-2); }
.timeline { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--border); }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.timeline .yr { font-size: 13px; color: var(--text-2); font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .timeline li { grid-template-columns: 1fr; gap: 2px; } }
.pull { font: 600 clamp(1.25rem, 2.4vw, 1.5rem)/1.35 var(--font-display); letter-spacing: -0.02em; color: var(--text); border-left: 2px solid var(--text); padding-left: 20px; margin: 1.6em 0; }
.pull cite { display: block; font: 400 13px var(--font-body); font-style: normal; letter-spacing: 0; color: var(--text-2); margin-top: 8px; }
.signoff { font: 600 1.25rem var(--font-display); letter-spacing: -0.02em; color: var(--text); }

/* ---------- Care philosophy card ---------- */
.philosophy-card { margin: 0; background: var(--inverse); color: var(--inverse-muted); border-radius: var(--r-card); padding: clamp(28px, 5vw, 48px); }
.philosophy-card .eyebrow { color: var(--inverse-muted); }
.philosophy-card blockquote { margin: 0 0 20px; font: 600 clamp(1.625rem, 3vw, 2.25rem)/1.1 var(--font-display); letter-spacing: -0.01em; color: var(--inverse-text); }
.philosophy-card figcaption { font-size: 15px; color: var(--inverse-muted); }

/* ---------- Social links ---------- */
.social { display: flex; flex-wrap: wrap; gap: 8px; }
.social a { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px 0 12px; text-decoration: none; font-weight: 500; font-size: 14px; border-radius: var(--r-control); border: 1px solid var(--border); color: var(--text); background: var(--surface); transition: background .2s, transform .2s; }
.social a:hover { background: var(--bg-alt); color: var(--text); transform: translateY(-1px); }
.social svg { width: 18px; height: 18px; flex: none; }
.site-footer .social { margin-top: 16px; }
.site-footer .social a { color: var(--inverse-text); border-color: var(--inverse-border); background: transparent; }
.site-footer .social a:hover { background: var(--inverse-2); text-decoration: none; }
.page-hero .social, .hero .social { margin-top: 20px; }

.follow-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; max-width: 900px; margin-inline: auto; }
.follow-card { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 24px; text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s; }
.follow-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); color: var(--text); }
.follow-icon { width: 44px; height: 44px; border-radius: var(--r-panel); display: grid; place-items: center; }
.follow-icon svg { width: 22px; height: 22px; }
.follow-card .tag { margin-bottom: 8px; }
.follow-card strong { display: block; font: 600 1.125rem/1.25 var(--font-display); letter-spacing: -0.02em; margin: 0 0 4px; }
.follow-desc { display: block; font-size: 14px; color: var(--text-2); }
.follow-card .more { grid-column: 2; font-weight: 500; color: var(--primary); font-size: 14px; margin-top: 8px; }

/* ---------- Motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .path:hover, .topic:hover, .follow-card:hover, .social a:hover { transform: none; }
}

@media print {
  .topbar, .site-header, .site-footer, .bg-plum, .no-print, .modal, .skip-link { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .page-hero { padding: 0 0 12pt; border: 0; }
  .page-hero::before { display: none; }
  .section-sm { padding: 0; }
  .checklist .steps li { break-inside: avoid; padding: 6pt 10pt; margin-bottom: 4pt; }
  .checklist .steps input { border: 1px solid #999; background: #fff; }
  a { color: inherit; }
}

/* ---------- Warmer type tuning (Lora headings) ---------- */
.brand-name, .portrait-badge strong, .guide-cover .gc-title, .follow-card strong, .scripts .say, .quote, .pull, .signoff, .philosophy-card blockquote { font-weight: 600; letter-spacing: -0.01em; }
.three-q > div::before, .pillar .num { font-weight: 600; letter-spacing: 0; }

/* ---------- Article text at 17px ---------- */
.prose, .prose p, .prose li { font-size: 17px; line-height: 1.7; }
.qa p, .qa li { font-size: 17px; line-height: 1.65; }
.checklist .steps li, .faq details p { font-size: 17px; line-height: 1.65; }
.prose .searches { font-size: 14px; }
.prose .small { font-size: 14px; }
