/* ==========================================================
   Gigi's Behavior · site styles (redesign, Oct 27 2026)
   Direction D + the handwritten layer. One stylesheet for every page.
   Square corners everywhere. Every graphic carries a hand-drawn element.
   ========================================================== */
:root {
  --cream: #F4F1E9;
  --cream-soft: #FAF8F2;
  --cream-deep: #E8E5DC;
  --line: #D6D1C5;
  --ink: #1B1A18;
  --ink-2: #4A453E;
  --black: #0A0A0A;
  --black-deep: #050505;
  --kale: #16291F;
  --kale-panel: #0F1F17;
  --kale-rule: #2A4A47;
  --teal: #2AD2C9;
  --teal-deep: #0E8079;
  --teal-text: #0A6660;
  --butter: #E8C46B;
  --butter-text: #8A6A12;
  --n100: #E4EDEC;
  --n200: #C7D8D6;
  --n300: #9DB8B5;
  --n700: #19352F;
  --display: 'EB Garamond', Georgia, serif;
  --body: 'Montserrat', system-ui, sans-serif;
  --hand: 'Gluten', cursive;
  --data: 'Courier New', Courier, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--teal-text); }
p, ul, ol, figure, blockquote { margin: 0; }
section { scroll-margin-top: 88px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Grounds ---------- */
.band { padding: 96px 0; }
.band-sm { padding: 72px 0; }
.on-black { background: var(--black); color: #fff; }
.on-kale { background: var(--kale); color: #fff; }
.on-soft { background: var(--cream-soft); }
.on-deep { background: var(--cream-deep); }
.on-white { background: #fff; }
.rule-top { border-top: 1px solid var(--line); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 500; letter-spacing: -0.012em; }
.h1, .h1-sm, .h2, .h2-sm, .h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.012em; }
.h1 { font-size: clamp(44px, 5.6vw, 78px); line-height: 0.98; }
.h1-sm { font-size: clamp(40px, 4.8vw, 64px); line-height: 1; }
.h2 { font-size: clamp(34px, 4vw, 54px); line-height: 1.02; }
.h2-sm { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.06; }
.h3 { font-size: clamp(24px, 2.3vw, 30px); line-height: 1.1; }
.h4 { font-family: var(--body); font-weight: 700; font-size: 18px; line-height: 1.35; letter-spacing: 0; }
.eyebrow { display: block; margin: 0 0 16px; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal-text); }
.on-black .eyebrow, .on-kale .eyebrow, .card-dark .eyebrow, .card-black .eyebrow { color: var(--teal); }
.lede { margin: 20px 0 0; font-size: 18px; color: var(--ink-2); max-width: 640px; }
.on-black .lede, .on-kale .lede { color: var(--n100); }
.muted { color: var(--ink-2); }
.on-black .muted, .on-kale .muted, .card-dark .muted, .card-black .muted { color: var(--n200); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; }
.data { font-family: var(--data); font-weight: 700; }
.quote { font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.25; }
i.svc { font-style: italic; text-transform: uppercase; letter-spacing: 0.04em; }
.tm { font-size: .5em; letter-spacing: 0; position: relative; top: -.42em; }
.stack > * + * { margin-top: 14px; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* Stage label colors */
.lab-train { color: var(--butter-text); }
.lab-mod { color: var(--teal-text); }
.lab-med { color: var(--ink); }
.on-black .lab-train, .on-kale .lab-train, .card-dark .lab-train { color: var(--butter); }
.on-black .lab-mod, .on-kale .lab-mod, .card-dark .lab-mod { color: var(--teal); }
.on-black .lab-med, .on-kale .lab-med, .card-dark .lab-med { color: #fff; }

/* ---------- Hand-drawn layer ---------- */
.mk { position: relative; display: inline-block; white-space: nowrap; }
.mk > svg { position: absolute; left: -2%; bottom: -0.08em; width: 104%; height: 0.24em; z-index: 0; }
.mk > span { position: relative; z-index: 1; }
.ph { position: relative; }
.ph > img { width: 100%; object-fit: cover; }
.note { position: absolute; margin: 0; font-family: var(--hand); font-size: 24px; line-height: 1.05; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,0.55); pointer-events: none; }
.note-lg { font-size: 28px; }
.note-butter { color: var(--butter); }
.note-ink { color: var(--ink); text-shadow: none; }
.note-teal { color: var(--teal-text); text-shadow: none; }
.hand { font-family: var(--hand); font-weight: 400; }
.dd { position: absolute; pointer-events: none; overflow: visible; }
.ph-empty { background: var(--black); color: var(--n300); display: flex; align-items: center; justify-content: center; text-align: center; font-size: 13px; letter-spacing: 0.04em; padding: 0 24px; }
.ring { position: relative; display: inline-block; }
.ring > svg { position: absolute; inset: -14% -22%; width: 144%; height: 128%; pointer-events: none; }
.ring > * { position: relative; }
@media (max-width: 600px) { .note { font-size: 20px; } .note-lg { font-size: 23px; } }

/* ---------- Buttons (square, all caps; never rounded) ---------- */
.btn { display: inline-block; font-family: var(--body); font-weight: 800; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; text-align: center; padding: 15px 22px; border: 1px solid transparent; border-radius: 0; line-height: 1.2; cursor: pointer; transition: opacity 150ms ease-out; }
.btn:hover { opacity: 0.85; }
.btn-teal { background: var(--teal); color: var(--black); }
.btn-deep { background: var(--teal-deep); color: #fff; }
.btn-black { background: var(--black); color: #fff; }
.btn-butter { background: var(--butter); color: var(--ink); }
.btn-line-light { background: transparent; color: #fff; border-color: #fff; }
.btn-line-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.go { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; color: var(--teal-text); }
.go::after { content: " \2192"; }
.on-black .go, .on-kale .go, .card-dark .go, .card-black .go { color: var(--teal); }

/* ---------- Layout ---------- */
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.split > * { flex: 1 1 440px; min-width: 0; }
.split-top { align-items: flex-start; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; margin-bottom: 44px; }
.head-row > p { max-width: 460px; }
.mt-s { margin-top: 16px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: 44px; }

/* ---------- Cards ---------- */
.card { background: var(--cream-soft); border: 1px solid var(--line); padding: 28px; }
.card-white { background: #fff; border: 1px solid var(--line); padding: 28px; }
.card-dark { background: var(--kale-panel); color: #fff; padding: 28px; }
.card-black { background: var(--black); color: #fff; padding: 32px; }
.card .h3, .card-white .h3 { margin-bottom: 8px; }
.top-train { border-top: 6px solid var(--butter); }
.top-mod { border-top: 6px solid var(--teal); }
.top-mod-deep { border-top: 6px solid var(--teal-deep); }
.top-med { border-top: 6px solid #fff; }
.top-med-ink { border-top: 6px solid var(--ink); }
.top-teal { border-top: 4px solid var(--teal); }
.left-teal { border-left: 4px solid var(--teal-deep); }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 16px; margin-top: auto; border-top: 1px solid var(--line); }
.card-dark .price-row, .on-kale .price-row { border-top-color: var(--kale-rule); }
.price { font-family: var(--data); font-weight: 700; font-size: 22px; }
.price-lg { font-family: var(--data); font-weight: 700; font-size: clamp(34px, 4vw, 48px); line-height: 1; }
.meta { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.card-dark .meta, .card-black .meta, .on-black .meta, .on-kale .meta { color: var(--n200); }
.flex-card { display: flex; flex-direction: column; gap: 10px; }
.chip { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 10px; border: 1px solid currentColor; }
.list { padding-left: 20px; display: grid; gap: 8px; }
.ticks { list-style: none; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 14px; height: 8px; border-left: 2.5px solid var(--teal-deep); border-bottom: 2.5px solid var(--teal-deep); transform: rotate(-45deg) translateY(-3px); }
.on-black .ticks li::before, .on-kale .ticks li::before { border-color: var(--teal); }
.num { font-family: var(--data); font-weight: 700; font-size: 20px; color: var(--teal-text); }
.on-black .num, .on-kale .num, .card-dark .num { color: var(--teal); }
.num-lg { font-family: var(--data); font-weight: 700; font-size: 44px; line-height: 1; color: var(--teal-text); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.steps > div { padding: 28px 28px 8px 0; display: flex; flex-direction: column; gap: 10px; }
.on-black .steps, .on-kale .steps { border-top-color: #fff; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: #fff; }
table.t { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
table.t th { text-align: left; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; padding: 14px 18px; background: var(--cream-deep); }
table.t td { padding: 14px 18px; border-top: 1px solid var(--line); vertical-align: top; }
table.t td.n { font-family: var(--data); font-weight: 700; white-space: nowrap; }

/* ---------- Top menu ---------- */
.util { background: var(--black-deep); font-size: 13px; }
.util-in { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 6px 28px; padding-top: 8px; padding-bottom: 8px; }
.util a { color: var(--n200); text-decoration: none; }
.util a:hover { color: #fff; }
.util a.util-hi { color: var(--teal); font-weight: 600; }
#nav { position: sticky; top: 0; z-index: 900; background: var(--black); border-bottom: 1px solid var(--n700); }
.nav-in { display: flex; align-items: center; gap: 32px; min-height: 72px; }
.nav-logo img { height: 22px; width: auto; }
.nav-links { display: flex; flex: 1; gap: 22px; align-self: stretch; }
.nl { display: flex; align-items: center; color: #fff; text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; white-space: nowrap; border-bottom: 3px solid transparent; padding-top: 3px; }
.nl:hover { border-bottom-color: rgba(255,255,255,0.35); }
.nl.is-active.nl-training, .nl.is-active.nl-cost, .nl.is-active.nl-team { border-bottom-color: var(--butter); }
.nl.is-active.nl-mod { border-bottom-color: var(--teal); }
.nl.is-active.nl-med { border-bottom-color: #fff; }
.nl.is-active.nl-vets { border-bottom-color: var(--cream); }
.nav-burger { display: none; margin-left: auto; width: 48px; height: 48px; background: none; border: 1px solid rgba(255,255,255,0.4); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-burger span { display: block; width: 20px; height: 2px; background: #fff; }
.nav-menu { background: var(--black); border-top: 1px solid var(--n700); padding: 8px 20px 24px; }
.nav-menu[hidden] { display: none; }
.nav-menu a.nl { padding: 14px 0; border-bottom: 1px solid var(--n700); font-size: 14px; }
.nav-menu .btn { margin-top: 18px; display: block; }
@media (min-width: 1181px) { .nav-menu { display: none !important; } }
@media (max-width: 1180px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .nav-cta { display: none; }
  .nav-logo img { height: 18px; }
  .band { padding: 72px 0; }
  .band-sm { padding: 56px 0; }
}

/* ---------- Stage tracker (heroes, pricing, team) ---------- */
.stage-tracker { display: grid; grid-template-columns: repeat(3, 132px); column-gap: 8px; margin-bottom: 28px; font-family: var(--body); }
.st-col { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.stage-tag { display: block; text-align: center; font-size: 10px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; padding: 4px 6px; border: 1px solid currentColor; }
.st-seg { display: block; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; padding: 7px 6px; border: 1px solid rgba(255,255,255,0.35); color: rgba(255,255,255,0.7); }
.st-seg:hover { border-color: #fff; color: #fff; }
.st-training.is-active { background: var(--butter); border-color: var(--butter); color: var(--ink); }
.st-mod.is-active { background: var(--teal); border-color: var(--teal); color: var(--black); }
.st-med.is-active { background: #fff; border-color: #fff; color: var(--black); }
.t-training { color: var(--butter); }
.t-mod { color: var(--teal); }
.t-med { color: #fff; }
.on-light .st-seg { border-color: var(--line); color: var(--ink-2); }
.on-light .st-seg:hover { border-color: var(--ink); color: var(--ink); }
.on-light .st-training.is-active { background: var(--butter); border-color: var(--butter); color: var(--ink); }
.on-light .st-mod.is-active { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.on-light .st-med.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.on-light .t-training { color: var(--butter-text); }
.on-light .t-mod { color: var(--teal-text); }
.on-light .t-med { color: var(--ink); }
@media (max-width: 600px) { .stage-tracker { grid-template-columns: repeat(3, 1fr); max-width: 360px; } .st-seg { font-size: 10px; letter-spacing: 0.05em; padding: 7px 2px; } .stage-tag { font-size: 9px; letter-spacing: 0.08em; } }

/* ---------- Page heroes ---------- */
.hero { padding: 64px 0 96px; }
.hero .split { align-items: center; }
.hero .ph > img, .hero .ph-empty { height: 480px; }
@media (max-width: 600px) { .hero { padding: 40px 0 72px; } .hero .ph > img, .hero .ph-empty { height: 340px; } }

/* ---------- Homepage: four doors ---------- */
.doors { position: relative; margin-top: -88px; }
.doors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); background: var(--cream-soft); border: 1px solid var(--ink); }
.door { display: flex; flex-direction: column; gap: 10px; padding: 28px 26px; text-decoration: none; color: var(--ink); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.door strong { font-family: var(--display); font-weight: 500; font-size: 26px; line-height: 1.1; }
.door span.small { color: var(--ink-2); }
.door .go { margin-top: auto; }
.door:hover { background: #fff; }

/* ---------- Homepage: concern finder ---------- */
.finder { display: flex; flex-wrap: wrap; gap: 40px; align-items: stretch; }
.finder > :first-child { flex: 3 1 520px; min-width: 0; }
.finder > :last-child { flex: 2 1 380px; min-width: 0; }
.concerns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 10px; border: 0; padding: 0; margin: 0; }
.concern { text-align: left; font-family: var(--body); font-size: 16px; font-weight: 600; line-height: 1.35; padding: 18px; min-height: 64px; cursor: pointer; background: var(--cream-soft); color: var(--ink); border: 1px solid var(--line); border-left: 6px solid var(--line); border-radius: 0; }
.concern:hover { border-color: var(--ink); }
.concern[aria-pressed="true"] { background: var(--black); color: #fff; border-color: var(--black); border-left-color: var(--teal); }
.concern:focus-visible { outline: 3px solid var(--teal-deep); outline-offset: 2px; }
.result { display: flex; flex-direction: column; gap: 14px; }
.result .btn { align-self: flex-start; margin-top: auto; }
.result ol { padding-left: 22px; display: grid; gap: 8px; color: var(--n100); font-size: 15px; }

/* ---------- Sticky bottom bar ---------- */
#stage-bar-wrap { position: fixed; left: 0; right: 0; bottom: 0; z-index: 800; transform: translateY(100%); opacity: 0; pointer-events: none; transition: transform 220ms ease-out, opacity 220ms ease-out; box-shadow: 0 -8px 28px rgba(0,0,0,0.25); }
#stage-bar-wrap.visible { transform: none; opacity: 1; pointer-events: auto; }
#stage-bar { display: flex; }
.sbar-item, .sbar-cta, .sbar-vet { text-decoration: none; padding: 12px 20px; display: flex; flex-direction: column; justify-content: center; min-height: 72px; }
.sbar-item { flex: 1 1 0; }
.sbar-eyebrow { font-size: 10px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.8; }
.sbar-label { font-size: 15px; font-weight: 700; }
.sbar-price { font-family: var(--data); font-size: 12px; font-weight: 700; }
.sbar-training { background: var(--butter); color: var(--ink); }
.sbar-mod { background: var(--teal-deep); color: #fff; }
.sbar-med { background: var(--black); color: #fff; }
.sbar-cta { flex: 0 0 200px; background: var(--teal); color: var(--black); align-items: center; text-align: center; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.sbar-vet { flex: 0 0 180px; background: var(--cream); color: var(--ink); align-items: center; text-align: center; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.sbar-item:hover, .sbar-cta:hover, .sbar-vet:hover { filter: brightness(1.06); }
.sbar-item.is-current { box-shadow: inset 0 -4px 0 rgba(0,0,0,0.35); }
@media (max-width: 760px) {
  .sbar-item, .sbar-cta, .sbar-vet { padding: 8px 8px; min-height: 56px; }
  .sbar-eyebrow { display: none; }
  .sbar-label { font-size: 12px; }
  .sbar-price { font-size: 10px; }
  .sbar-cta { flex: 0 0 76px; font-size: 9px; letter-spacing: 0.06em; }
  .sbar-vet { flex: 0 0 72px; font-size: 9px; letter-spacing: 0.06em; }
}

/* ---------- Footer ---------- */
#footer { background: var(--black-deep); color: var(--n200); padding: 64px 0 120px; font-size: 14px; }
.ft-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.ft-grid strong { display: block; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.ft-links { display: grid; gap: 8px; }
.ft-links a { color: var(--n200); text-decoration: none; }
.ft-links a:hover { color: #fff; }
.ft-logo { height: 24px; width: auto; }
.ft-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--n700); font-size: 12.5px; color: var(--n300); }
.ft-parent { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: 0.14em; }
.ft-parent img { height: 64px; width: auto; }
@media (max-width: 860px) { .ft-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { #footer { padding-bottom: 96px; } }

/* ---------- Forms (For Vets referral) ---------- */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--n200); }
.field input, .field textarea, .field select { font-family: var(--body); font-size: 15px; padding: 12px 14px; border: 1px solid var(--kale-rule); background: var(--black-deep); color: #fff; border-radius: 2px; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--teal); outline-offset: 1px; }

/* ---------- Class readiness quiz (gbs-class-quiz.js) ---------- */
html.cq-lock, html.cq-lock body { overflow: hidden; }
.cq-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(10,10,10,0.72); display: flex; align-items: center; justify-content: center; padding: 20px; }
.cq-overlay[hidden] { display: none; }
.cq-card { position: relative; width: 100%; max-width: 540px; max-height: calc(100vh - 40px); overflow-y: auto; background: var(--cream); color: var(--ink); border-top: 6px solid var(--butter); padding: 40px 40px 32px; box-shadow: 0 24px 64px rgba(0,0,0,0.45); font-family: var(--body); }
.cq-card.cq-nav { border-top-color: var(--teal-deep); }
.cq-close { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; background: none; border: none; font-size: 26px; line-height: 1; color: var(--ink-2); cursor: pointer; }
.cq-close:hover { color: var(--ink); }
.cq-tag { display: inline-block; border: 1px solid var(--butter-text); color: var(--butter-text); font-size: 10px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; padding: 4px 10px; margin-bottom: 20px; }
.cq-nav .cq-tag { border-color: var(--teal-deep); color: var(--teal-text); }
.cq-progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
.cq-progress span { height: 4px; background: var(--line); }
.cq-progress span.done { background: var(--butter-text); }
.cq-progress span.on { background: var(--butter); }
.cq-count { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; }
.cq-q, .cq-result-h { font-family: var(--display); font-weight: 500; font-size: clamp(24px, 3.2vw, 30px); line-height: 1.18; color: var(--ink); margin-bottom: 28px; }
.cq-result-h { margin-bottom: 14px; }
.cq-answers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cq-answer { padding: 16px; background: transparent; border: 2px solid var(--ink); border-radius: 0; color: var(--ink); font-family: var(--body); font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; }
.cq-answer:hover { background: var(--ink); color: var(--cream); }
.cq-answer:focus-visible { outline: 3px solid var(--butter); outline-offset: 2px; }
.cq-note { margin-top: 20px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.cq-back { display: inline-block; margin-top: 18px; background: none; border: none; padding: 0; font-family: var(--body); font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); cursor: pointer; border-bottom: 1px solid currentColor; }
.cq-back:hover { color: var(--ink); }
.cq-result-body { font-size: 16px; line-height: 1.6; color: var(--ink-2); margin-bottom: 26px; }
.cq-cta { display: block; text-align: center; padding: 16px 24px; background: var(--butter); color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; }
.cq-nav .cq-cta { background: var(--teal-deep); color: #fff; }
.cq-cta:hover { opacity: 0.88; }
.cq-cta[aria-disabled="true"] { cursor: default; }
.cq-cta + .cq-back { display: table; margin: 18px auto 0; }
@media (max-width: 600px) { .cq-card { padding: 32px 22px 24px; } }

/* ---------- Photo + text story band ---------- */
.story { display: flex; flex-wrap: wrap; align-items: stretch; }
.story > .ph { flex: 1 1 520px; min-width: 0; margin: 0 -32px; }
.story > .ph > img { height: 100%; min-height: 520px; }
.story-text { flex: 1 1 420px; min-width: 0; padding: 72px 0 72px 64px; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
@media (max-width: 1000px) { .story > .ph { margin: 0 -32px; flex-basis: 100%; } .story > .ph > img { min-height: 380px; } .story-text { padding: 56px 0; } }
@media (max-width: 600px) { .story > .ph { margin: 0 -20px; } }
/* Decorative drawn marks may bleed past their box; never let them cause sideways scroll */
main { overflow-x: clip; }

/* ===== Customer-first menu (Nov 9) ===== */
.nav2 .nav-in { position: relative; }
.nav2 .nav-links { gap: 30px; }
.nl2 { display: flex; align-items: center; gap: 7px; color: #fff; background: none; border: 0; border-bottom: 3px solid transparent; padding: 3px 0 0; font: 700 12px/1 var(--body); letter-spacing: 0.09em; text-transform: uppercase; cursor: pointer; white-space: nowrap; text-decoration: none; }
.nl2:hover { border-bottom-color: rgba(255,255,255,0.35); }
.nl2 .car { width: 9px; height: 9px; }
.nl2.is-active { border-bottom-color: var(--butter); }
.nl2.is-active.act-mod { border-bottom-color: var(--teal); }
.nl2.is-active.act-med { border-bottom-color: #fff; }
.dd-wrap { position: static; display: flex; }
.dd-wrap.open > .nl2 { border-bottom-color: var(--teal); }
.dd-wrap.open .car { transform: rotate(180deg); }
.ddp { display: none; position: absolute; top: 100%; left: 216px; background: #111; border: 1px solid var(--n700); border-top: 3px solid var(--teal); padding: 26px; gap: 26px; z-index: 60; box-shadow: 0 18px 40px rgba(0,0,0,0.45); }
.dd-wrap.open .ddp { display: flex; }
@media (hover: hover) and (min-width: 1181px) { .dd-wrap:hover .ddp { display: flex; } .dd-wrap:hover > .nl2 { border-bottom-color: var(--teal); } }
.dd-col { display: grid; min-width: 300px; }
.dd-k { font: 800 11px/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); margin: 0 0 10px; }
.dd-c { display: flex; justify-content: space-between; gap: 20px; color: #fff; text-decoration: none; font-size: 15px; padding: 12px 0; border-top: 1px solid var(--n700); }
.dd-c:hover { color: var(--teal); }
#dd-svc .ddp { left: 0; right: 0; }
#dd-svc .ddp > div:first-child { flex: 1; }
.dd-svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dd-s { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: #fff; border-top: 4px solid; padding-top: 14px; }
.dd-s:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.dd-eb { font: 800 10.5px/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; }
.dd-s strong { font-family: var(--display); font-weight: 500; font-size: 22px; line-height: 1.1; }
.dd-d { font-size: 13.5px; color: var(--n200); line-height: 1.45; }
.dd-p { font-family: var(--data); font-weight: 700; font-size: 14px; color: var(--teal); margin-top: auto; }
.dd-call { position: relative; background: var(--kale); padding: 22px 22px 24px; width: 250px; display: flex; flex-direction: column; gap: 10px; }
.dd-call-h { font-family: var(--display); font-size: 22px; line-height: 1.1; color: #fff; margin: 0; padding-right: 28px; }
.dd-call-p { font-size: 13.5px; color: var(--n200); margin: 0 0 6px; }
.dd-call .btn { align-self: flex-start; }
.nav2 .nav-cta { margin-left: auto; }
.util a.util-on { color: #fff; font-weight: 600; box-shadow: inset 0 -2px 0 var(--cream); }
@media (max-width: 1180px) {
  .nav2 .nav-cta { display: inline-block !important; padding: 11px 12px; font-size: 11px; letter-spacing: 0.06em; white-space: nowrap; margin-left: auto; }
  .nav2 .nav-burger { margin-left: 10px; }
}
/* phone menu: main sections = uppercase rows; subsections = indented, lighter */
.m2 .m-top { display: flex; justify-content: space-between; align-items: center; width: 100%; background: none; border: 0; border-bottom: 1px solid var(--n700); padding: 16px 0; color: #fff; font: 700 14px/1 var(--body); letter-spacing: 0.09em; text-transform: uppercase; text-decoration: none; cursor: pointer; text-align: left; }
.m2 .m-top.is-active { color: var(--teal); }
.m2 .m-top .pm { font-size: 20px; font-weight: 400; line-height: 1; color: var(--teal); }
.m2 .m-sub { border-bottom: 1px solid var(--n700); padding: 4px 0 12px 16px; border-left: 2px solid var(--teal); margin: 0 0 0 2px; }
.m2 .m-sub[hidden] { display: none; }
.m2 .m-sub a { display: flex; justify-content: space-between; gap: 12px; color: var(--n100); text-decoration: none; font-size: 15px; padding: 10px 0; }
.m2 .m-sub a small { display: block; font: 800 10px/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 5px; }
.m2 .m-sec { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 18px 0 4px; }
.m2 .m-sec a { color: var(--n200); text-decoration: none; font-size: 14px; }
.m2 .m-call { position: sticky; bottom: 0; background: var(--black); padding-top: 16px; }
.m2 .m-call .btn { display: block; margin-top: 0; }
/* Subsections on cream with black text (chosen Nov 9) */
.ddp { background: var(--cream); border-color: var(--line); }
.dd-k { color: var(--teal-text); }
.dd-c { color: var(--ink); border-top-color: var(--line); }
.dd-c:hover { color: var(--teal-text); }
.dd-s { color: var(--ink); }
.dd-s:nth-child(1) { border-top-color: var(--butter) !important; }
.dd-s:nth-child(2) { border-top-color: var(--teal-deep) !important; }
.dd-s:nth-child(3) { border-top-color: var(--ink) !important; }
.dd-s:nth-child(1) .dd-eb { color: var(--butter-text) !important; }
.dd-s:nth-child(2) .dd-eb { color: var(--teal-text) !important; }
.dd-s:nth-child(3) .dd-eb { color: var(--ink) !important; }
.dd-d { color: var(--ink-2); }
.dd-p { color: var(--teal-text); }
.m2 .m-sub { background: var(--cream); border-left: 3px solid var(--teal); padding: 6px 16px 10px; margin: 0; border-bottom: 0; }
.m2 .m-sub a { color: var(--ink); border-bottom: 1px solid var(--line); }
.m2 .m-sub a:last-child { border-bottom: 0; }
.m2 .m-sub a:nth-child(1) small { color: var(--butter-text) !important; }
.m2 .m-sub a:nth-child(2) small { color: var(--teal-text) !important; }
.m2 .m-sub a:nth-child(3) small { color: var(--ink) !important; }

/* Finder, wide result layout (Nov 9) */
.finder-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: 32px; }
.concerns-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .concerns-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .concerns-3 { grid-template-columns: 1fr; } }
.result-wide { margin-top: 28px; padding: 44px 48px; gap: 18px; }
.rw-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; align-items: start; }
.rw-left { display: flex; flex-direction: column; gap: 14px; }
.result-wide ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 44px; counter-reset: step; font-size: 15px; line-height: 1.5; }
.result-wide ol li { position: relative; counter-increment: step; padding-top: 6px; }
.result-wide ol li::before { content: counter(step); display: block; font-family: var(--data); font-weight: 700; font-size: 26px; line-height: 1; color: var(--teal); margin-bottom: 10px; }
.result-wide ol li:not(:last-child)::after { content: ""; position: absolute; top: 8px; right: -40px; width: 34px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 30' fill='none' stroke='%23E8C46B' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 16 C 14 8, 32 10, 50 15'/%3E%3Cpath d='M42 7.5 L 51 15 L 41.5 21'/%3E%3C/svg%3E") no-repeat center / contain; }
.rw-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--n700); }
.rw-cta .btn { margin-top: 0; }
@media (max-width: 900px) {
  .result-wide { padding: 32px 24px; }
  .rw-grid { grid-template-columns: 1fr; }
  .result-wide ol { grid-template-columns: 1fr; gap: 18px; }
  .result-wide ol li { padding-left: 40px; padding-top: 0; }
  .result-wide ol li::before { position: absolute; left: 0; top: 0; margin: 0; font-size: 22px; }
  .result-wide ol li:not(:last-child)::after { display: none; }
}
@media (max-width: 900px) {
  #concerns > .wrap { display: flex; flex-direction: column; }
  .finder-top { display: contents; }
  .finder-top > :first-child { margin-bottom: 28px; flex: none !important; }
  .finder-stat { order: 9; margin-top: 36px; }
}
/* Header buttons (Nov 9): two teal outlines + solid call */
.btn-line-teal { background: transparent; color: var(--teal); border: 1px solid var(--teal); }
.btn-line-teal:hover, .btn-line-teal[aria-current] { background: rgba(42,210,201,0.12); }
.nav-btns { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav2 .nav-btns .btn { padding: 13px 16px; font-size: 12px; white-space: nowrap; }
.nav2 .nav-btns .nav-cta { margin-left: 0; }
@media (max-width: 1340px) { .nav2 .nav-links { gap: 22px; } .nav-in { gap: 24px; } }
@media (max-width: 1180px) {
  .nav-btns .nav-sec { display: none; }
  .nav2 .nav-btns .btn.nav-cta { display: inline-block !important; padding: 11px 12px; font-size: 11px; letter-spacing: 0.06em; }
}
/* Logo prominence (Nov 9, option C) + one continuous black header */
.util { background: var(--black); }
.nav2 .nav-in { min-height: 88px; gap: 36px; }
.nav2 .nav-logo { align-self: stretch; display: flex; align-items: center; padding-right: 36px; border-right: 1px solid var(--n700); }
.nav2 .nav-logo img { height: 36px; width: auto; }
.nav2 .nav-links { gap: 26px; }
.nav2 .ddp { left: 300px; }
@media (max-width: 1340px) { .nav2 .nav-in { gap: 26px; } .nav2 .nav-logo { padding-right: 26px; } .nav2 .nav-links { gap: 20px; } .nav2 .nav-logo img { height: 32px; } }
@media (max-width: 1180px) { .nav2 .nav-logo { border-right: 0; padding-right: 0; } .nav2 .nav-in { min-height: 76px; } .nav2 .nav-logo img { height: 28px; } }
@media (max-width: 600px) { .nav2 .nav-logo img { height: 24px; } }
/* Never distort the logo (Nov 9 fix) */
.nav-logo, .nav2 .nav-logo { flex: 0 0 auto; }
.nav-logo img, .ft-logo { flex: 0 0 auto; max-width: none; width: auto; object-fit: contain; }
@media (max-width: 1340px) { .nav2 .nav-logo img { height: 28px; } }
@media (max-width: 1180px) { .nav2 .nav-logo img { height: 26px; } }
@media (max-width: 600px) {
  .nav2 .nav-logo img { height: 18px; }
  .nav2 .nav-in { gap: 10px; }
  .nav2 .nav-btns .btn.nav-cta { padding: 10px 10px; font-size: 10.5px; letter-spacing: 0.05em; }
  .nav2 .nav-burger { width: 44px; height: 44px; margin-left: 6px; }
}
@media (max-width: 380px) { .nav2 .nav-logo img { height: 15px; } .wrap { padding: 0 16px; } }

/* Finder result: give "what happens next" its own surface (Nov 9) */
.result-wide .rw-right { background: var(--kale); padding: 26px 28px 30px; margin: -6px 0; }
.result-wide ol { font-size: 16px; color: #fff; }
.result-wide ol li::before { width: 48px; height: 40px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin: 0 0 12px -4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 160' preserveAspectRatio='none' fill='none' stroke='%232AD2C9' stroke-width='9' stroke-linecap='round'%3E%3Cpath d='M30 84 C 22 30, 120 8, 190 12 C 270 16, 296 54, 288 92 C 278 140, 180 154, 110 150 C 40 146, 8 112, 34 62'/%3E%3C/svg%3E") no-repeat center / 100% 100%; }
.result-wide ol li:not(:last-child)::after { top: 18px; }
@media (max-width: 900px) {
  .result-wide .rw-right { margin: 0 -24px; padding: 24px; }
  .result-wide ol li { padding-left: 58px; }
  .result-wide ol li::before { margin: 0; top: -8px; }
}
@media (min-width: 1181px) and (max-width: 1260px) { .nav2 .nav-links { gap: 16px; } .nav2 .nav-btns { gap: 8px; } .nav2 .nav-btns .btn { padding: 12px 12px; } }
/* Finder: the starting point is step 1 of the journey (Nov 9) */
.result-wide ol { counter-reset: step 1; }
.rw-step1 { position: relative; }
.rw-step1::before { content: "1"; width: 48px; height: 40px; display: flex; align-items: center; justify-content: center; font-family: var(--data); font-weight: 700; font-size: 22px; color: var(--teal); margin: 0 0 4px -4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 160' preserveAspectRatio='none' fill='none' stroke='%232AD2C9' stroke-width='9' stroke-linecap='round'%3E%3Cpath d='M30 84 C 22 30, 120 8, 190 12 C 270 16, 296 54, 288 92 C 278 140, 180 154, 110 150 C 40 146, 8 112, 34 62'/%3E%3C/svg%3E") no-repeat center / 100% 100%; }
.rw-step1::after { content: ""; position: absolute; top: 14px; right: -54px; width: 40px; height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 30' fill='none' stroke='%23E8C46B' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 16 C 14 8, 32 10, 50 15'/%3E%3Cpath d='M42 7.5 L 51 15 L 41.5 21'/%3E%3C/svg%3E") no-repeat center / contain; }
.result-wide .rw-right { margin-top: 0; }
@media (max-width: 900px) {
  .rw-step1 { padding-left: 58px; }
  .rw-step1::before { position: absolute; left: 0; top: 0; margin: 0; }
  .rw-step1::after { display: none; }
}
.rw-step1 { padding-left: 62px; }
.rw-step1::before { position: absolute; left: 0; top: 2px; margin: 0; }
@media (max-width: 900px) { .rw-step1 { padding-left: 58px; } }
/* Specialists band: details hidden until asked (Nov 9) */
.fn-more { display: grid; gap: 10px; }
.fn-more[hidden] { display: none; }
.fn-toggle { margin-top: 28px; background: none; border: 0; padding: 4px 0; cursor: pointer; color: var(--teal); font: 800 12px/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase; display: inline-flex; gap: 10px; align-items: center; }
.fn-toggle span { font-size: 18px; font-weight: 400; }
.fn-toggle:hover { text-decoration: underline; text-underline-offset: 5px; }

/* Heading hierarchy B (Nov 9): serif = every heading level; Montserrat = text and labels */
:root { --ink-2: #5A544B; }
.h3 { font-size: clamp(28px, 2.8vw, 36px); line-height: 1.06; }
.h4 { font-family: var(--display); font-weight: 500; font-size: 23px; line-height: 1.15; letter-spacing: -0.01em; }
.eyebrow { margin-bottom: 12px; }
.h3 + p, .h3 + .muted { margin-top: 14px; }
.small.muted { color: #6E685E; }
.on-black .small.muted, .on-kale .small.muted, .card-dark .small.muted, .card-black .small.muted { color: var(--n200); }
.h4 + .small, .h4 + p.small { margin-top: 8px; }

/* Care Navigation Call popup (Nov 9) */
.cnm { position: fixed; inset: 0; z-index: 2100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.cnm[hidden] { display: none; }
.cnm-backdrop { position: absolute; inset: 0; background: rgba(10,10,10,0.72); }
.cnm-panel { position: relative; background: var(--cream); color: var(--ink); width: min(620px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 40px 44px 32px; border-top: 6px solid var(--teal); box-shadow: 0 24px 60px rgba(0,0,0,0.45); }
.cnm-x { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; background: none; border: 0; font-size: 30px; line-height: 1; color: var(--ink); cursor: pointer; }
.cnm-lede { margin: 14px 0 0; font-size: 17px; color: var(--ink-2); }
.cnm-steps { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.cnm-steps li { display: flex; gap: 18px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cnm-n { position: relative; flex: 0 0 auto; width: 46px; height: 38px; display: flex; align-items: center; justify-content: center; font-family: var(--data); font-weight: 700; font-size: 20px; color: var(--teal-text); }
.cnm-n svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cnm-n span { position: relative; }
.cnm-steps .h4 { margin: 4px 0 0; }
.cnm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; }
.cnm-later { background: none; border: 0; padding: 6px 0; cursor: pointer; font: 700 12px/1 var(--body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.cnm-note { font-size: 21px; line-height: 1; color: var(--butter-text); }
.cnm-fine { margin: 18px 0 0; }
html.cnm-lock { overflow: hidden; }
@media (max-width: 600px) { .cnm-panel { padding: 32px 22px 24px; } .cnm-note { flex-basis: 100%; } }
/* For Vets: collapsible clinical reference (Nov 9) */
.appt-details > summary { list-style: none; cursor: pointer; display: inline-flex; gap: 10px; align-items: center; font: 800 12px/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-text); padding: 6px 0; }
.appt-details > summary::-webkit-details-marker { display: none; }
.appt-details > summary span { font-size: 18px; font-weight: 400; }
.appt-details[open] > summary span { transform: rotate(45deg); }
@media (max-width: 600px) { #footer { padding-bottom: 40px; } } /* sticky bar removed Nov 9 */
/* Vet referral portal popup (Nov 9) */
.vpm-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 24px; border-top: 1px solid var(--line); }
.vpm-opt { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 6px 0; }
.vpm-opt + .vpm-opt { padding-left: 24px; padding-right: 0; border-left: 1px solid var(--line); }
.vpm-opt .btn { align-self: flex-start; margin-top: 8px; }
.vpm-help { margin: 10px 0 0; }
@media (max-width: 600px) { .vpm-opts { grid-template-columns: 1fr; } .vpm-opt + .vpm-opt { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 16px; } }
/* Homepage collaboration band on cream, to break from the black specialists band (Nov 9) */
.collab-light { background: var(--cream-soft); color: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.collab-light .eyebrow { color: var(--teal-text); }
.collab-light .muted, .collab-light .small.muted { color: var(--ink-2); }
.collab-light .quote { color: var(--ink); }
/* Voice notes: handwritten asides in the flow (Nov 9) */
.vn { display: flex; align-items: flex-end; gap: 6px; margin: 10px 0 0; font-family: var(--hand); font-size: 22px; line-height: 1.05; }
.vn span { padding-bottom: 2px; }
.vn-butter { color: var(--butter); }
.vn-teal { color: var(--teal-text); }
.on-black .vn-teal, .on-kale .vn-teal, .card-dark .vn-teal { color: var(--teal); }
.vn-center { justify-content: center; }
.band:not(.on-black):not(.on-kale) .vn-butter, .card .vn-butter, .card-white .vn-butter { color: var(--butter-text); }
/* For Vets: service lines under hero + bulleted model cards (Nov 9) */
.vet-stages { gap: 16px; }
.vs-card { display: flex; flex-direction: column; gap: 10px; padding: 26px 26px 24px; background: var(--cream-soft); border: 1px solid var(--line); border-top: 6px solid; color: var(--ink); text-decoration: none; }
.vs-card .go { margin-top: auto; padding-top: 6px; }
.vs-feat { background: var(--black); color: #fff; border-color: var(--black); border-top-color: var(--teal); }
.vs-feat .vs-list { color: var(--n100); }
.vs-list, .model-list { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.vs-list li, .model-list li { position: relative; padding-left: 20px; }
.vs-list li::before, .model-list li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 9px; height: 2px; background: var(--teal-deep); border-radius: 1px; transform: rotate(-8deg); }
.vs-feat .vs-list li::before, .card-black .model-list li::before { background: var(--teal); }
.card-black .model-list { color: var(--n100); }
.model-list { margin-top: 18px; }
.vs-feat .go { color: var(--teal); }
/* Vet popup: equal buttons (Nov 9) */
.vpm-opt .btn { align-self: stretch; display: flex; align-items: center; justify-content: center; min-height: 58px; text-align: center; }
.vpm-opt > .small { min-height: 3em; }
.vpm .btn:focus-visible { outline: 2px solid var(--teal-deep); outline-offset: 3px; border-radius: 0; }
.vpm-opt .btn { height: 60px; min-height: 0; padding: 0 12px; white-space: nowrap; font-size: 12px; }
.vpm-opt > .small { height: 3.2em; min-height: 0; margin: 0; }
@media (max-width: 600px) { .vpm-opt { padding-right: 0; } }
.vpm-opt .btn { align-self: stretch; display: flex; align-items: center; justify-content: center; min-height: 52px; white-space: nowrap; }
/* Model card footer: labels stacked above values (Nov 9) */
.model-foot { grid-template-columns: 1fr 1fr !important; gap: 16px 18px !important; align-items: start !important; }
.model-foot > .eyebrow { display: none; }
.mf-item { display: flex; flex-direction: column; gap: 4px; }
.mf-item .eyebrow { margin: 0; font-size: 10.5px; }
.mf-wide { grid-column: 1 / -1; }
#nav { border-bottom: 0; } /* header bottom line removed Nov 9 */
/* Team page: people cards (Nov 9) */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.person { background: var(--cream-soft); border: 1px solid var(--line); display: flex; flex-direction: column; }
.person-ph { position: relative; height: 260px; border: 0; border-bottom: 1px solid var(--line); }
.person-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; }
.person-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 4px; }
.person-chips .chip { font-size: 10px; padding: 4px 8px; color: var(--ink); }
.person-dog { margin: 6px 0 0; color: var(--ink-2); }
.person-dark { background: #141414; border-color: var(--n700); }
.person-dark .person-ph { border-bottom-color: var(--n700); }
.person-dark .person-chips .chip { color: var(--teal); }
.person-dark .person-dog { color: var(--n200); }
.person-dark .person-dog strong { color: #fff; }
/* Service-line analogy under hero H1 (Nov 9) */
.analogy { margin: 14px 0 0; font-family: var(--display); font-style: italic; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; }
/* Client portal: features folded into hero (Nov 9) */
.portal-feats { list-style: none; padding: 0; margin: 26px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
.portal-feats li { border-top: 2px solid var(--teal); padding-top: 12px; }
.portal-feats .h4 { color: #fff; font-size: 20px; }
.portal-feats .small { color: var(--n200); margin: 4px 0 0; }
@media (max-width: 600px) { .portal-feats { grid-template-columns: 1fr; } }
.analogy { font-family: var(--hand); font-style: normal; font-weight: 500; font-size: clamp(26px, 2.5vw, 32px); line-height: 1.1; margin-top: 16px; }

/* Gluten color rule (Justin, Nov 9): butter on black / deep teal / kale; dark teal on white / cream */
.hand, .vn, .analogy, .cnm-note { color: var(--teal-text); }
.on-black .hand, .on-black .vn, .on-black .analogy,
.on-kale .hand, .on-kale .vn, .on-kale .analogy,
.card-black .hand, .card-black .vn, .card-dark .hand, .card-dark .vn,
.result .hand, .result .vn, .result-wide .hand,
.bg-deep .hand, .bg-deep .vn { color: var(--butter); }
/* Gluten is never bold (Justin, Nov 9) */
.hand, .vn, .vn span, .analogy, .note, .cnm-note { font-weight: 400 !important; }
/* Gluten tilt (Justin, Nov 9): -2deg, rising right; inline-block so it rotates as a unit */
.hand, .vn span, .analogy, .cnm-note { display: inline-block; transform: rotate(-2deg); transform-origin: left center; }
.note { transform: rotate(-2deg); }
.analogy { display: block; width: max-content; max-width: 100%; }
/* Tilted Gluten clearance (Nov 9): keep the rising end clear of the line above */
.analogy { margin-top: 30px; }
.vn { margin-top: 18px; }
/* Gluten weight: Light 300 everywhere (Justin, Nov 9) */
.hand, .vn, .vn span, .analogy, .note, .cnm-note { font-weight: 300 !important; }
/* Gluten weight: 250 everywhere (Justin, Nov 9) */
.hand, .vn, .vn span, .analogy, .note, .cnm-note { font-weight: 250 !important; }

/* Client portal quick links + urgent (Nov 20) */
.ql-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 18px; }
.ql-card { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; background: var(--cream-soft); border: 1px solid var(--line); border-top: 6px solid var(--ink); }
.ql-feat { border-top-color: var(--teal); }
.ql-card .btn { align-self: flex-start; margin-top: auto; }
.ql-note { color: var(--ink-2); margin: 0 0 6px; }
.ql-card .vn { margin-top: 10px; }
.btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
.urg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 56px; }
.urg-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; color: var(--n100); font-size: 15px; line-height: 1.5; }
.urg-list li { position: relative; padding-left: 20px; }
.urg-list li::before { content: ""; position: absolute; left: 2px; top: 0.66em; width: 9px; height: 2px; background: #F26157; transform: rotate(-8deg); }
.urg-emergency { background: #F26157; color: var(--ink); padding: 24px 26px; }
.urg-emergency .small { color: var(--ink); margin: 6px 0 0; }
.urg-list-dark { color: var(--ink); grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.urg-list-dark li::before { background: var(--ink); }
.btn-urgent { background: #F26157; color: var(--ink); border: 1px solid #F26157; display: inline-block; }
.btn-urgent:hover { background: #ff7a70; }
@media (max-width: 900px) { .urg-grid { grid-template-columns: 1fr; } .urg-list-dark { grid-template-columns: 1fr; } }

/* Urgent form gate popup (Nov 23) */
.ugm-panel { border-top-color: #F26157; }
.ugm .cnm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 24px; }
.ugm .cnm-lede + .cnm-lede { margin-top: 12px; }

/* Header buttons fit longer labels: Referring Vets / Current Clients (Nov 23) */
@media (min-width:1181px){.nav2 .nav-btns{gap:8px}.nav2 .nav-btns .btn{padding-left:14px;padding-right:14px;letter-spacing:.08em}}@media (min-width:1181px) and (max-width:1440px){.nav2 .nav-links{gap:16px}.nav2 .nav-in{gap:20px}.nav2 .nav-logo{padding-right:20px}}@media (min-width:1181px) and (max-width:1260px){.nav2 .nav-btns .btn{padding-left:10px;padding-right:10px}.nav2 .nav-links{gap:14px}}

/* Services dropdown: bold the analogy role (Nov 23) */
.dd-an { font-weight: 700; color: var(--ink); }

/* Mobile menu: Referring Vets / Current Clients as outline buttons (Nov 23) */
.m2 .m-sec { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 20px 0 4px; }
.m2 .m-sec a.btn { color: var(--teal); font-size: 12px; text-align: center; justify-content: center; padding: 14px 10px; }
.m2 .m-sec a:not(.btn) { grid-column: 1 / -1; padding-top: 6px; }

/* Medicine Starting Point journey list (Nov 23) */
.jr { list-style: none; margin: 18px 0 0; padding: 0; max-width: 820px; position: relative; }
.jr::before { content: ""; position: absolute; left: 22px; top: 20px; bottom: 40px; width: 1px; background: var(--n700); }
.jr li { position: relative; display: flex; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--n700); }
.jr li:last-child { border-bottom: 0; }
.jr-n { position: relative; flex: 0 0 auto; width: 46px; height: 38px; display: flex; align-items: center; justify-content: center; background: var(--black); font-family: var(--data); font-weight: 700; font-size: 18px; color: var(--teal); }
.jr-n svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.jr-n span { position: relative; }
.jr-t { font-family: var(--display); font-weight: 500; font-size: 22px; line-height: 1.2; color: #fff; }
.jr-tag { display: inline-block; margin-left: 10px; vertical-align: middle; padding: 3px 8px; border: 1px solid var(--butter); color: var(--butter); font: 700 10px/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; }
.jr-m { margin-top: 6px; font: 700 11px/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.jr-d { margin-top: 8px; color: var(--n200); font-size: 15px; line-height: 1.55; }
.jr-fine { margin-top: 14px; color: var(--n300); max-width: 820px; }
.jr-w { font-family: var(--data); font-weight: 700; font-size: 13px; letter-spacing: .02em; color: var(--butter); margin-bottom: 4px; }
.jr-box { border: 1px solid var(--n700); border-top: 4px solid var(--teal); padding: 22px 24px; color: var(--n200); font-size: 15px; line-height: 1.55; max-width: 360px; align-self: start; }

/* Medicine hero: cats line, a little more presence (Nov 23) */
.cats { display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid var(--n700); color: var(--n100); font-size: 16px; }
.cats strong { font-family: var(--display); font-weight: 500; font-size: 22px; color: #fff; margin-right: 6px; }
.cats-ast { width: 26px; height: 26px; flex: 0 0 auto; }

/* Training hero: trainer credentials with awarding agencies (Nov 23) */
.creds { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 4px; font-size: 14px; color: var(--n200); }
.creds strong { color: #fff; font-weight: 700; }
.creds a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }

/* Training hero: credential badges (Nov 24) */
.cred-wrap { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--n700); }
.cred-h { font: 700 11px/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.cred-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.cred { display: flex; flex-direction: column; gap: 8px; padding: 14px 12px; border: 1px solid var(--n700); text-decoration: none; transition: border-color .15s; }
.cred:hover, .cred:focus-visible { border-color: var(--teal); }
.cred-a { position: relative; display: inline-block; white-space: nowrap; align-self: flex-start; font-family: var(--data); font-weight: 700; font-size: 15px; color: #fff; padding-bottom: 6px; }
.cred-u { position: absolute; left: -2px; right: -2px; bottom: 0; height: 6px; }
.cred-u svg { display: block; width: 100%; height: 100%; }
.cred-n { font-size: 11px; line-height: 1.35; color: var(--n300); }
@media (max-width: 1100px) { .cred-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cred-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Training offerings: Book button on each row (Nov 24) */
.offer { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; padding: 18px 0; border-top: 1px solid var(--line); }
.offer-btn { flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 560px) { .offer { flex-direction: column; align-items: flex-start; } }

/* Cost page: class cards as link targets (Nov 24) */
[id^="price-"] { scroll-margin-top: 110px; }
[id^="price-"]:target { outline: 2px solid var(--butter); outline-offset: 4px; }

/* Care team: credential chips link to awarding agencies (Nov 24) */
a.chip { text-decoration: none; color: inherit; transition: background .15s; }
a.chip:hover, a.chip:focus-visible { background: rgba(0,0,0,.05); }

/* Credential tiles inside care team cards (light background) (Nov 24) */
.cred-row-card { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important; margin-top: 4px; }
.card .cred { border-color: var(--line); }
.card .cred:hover, .card .cred:focus-visible { border-color: var(--teal-deep); }
.card .cred-a { color: var(--ink); }
.card .cred-n { color: var(--n500, #5f5a52); }

/* Bright teal never sits on cream or white: light cards use deep teal (Justin, Nov 24) */
.card.top-mod, .card-white.top-mod { border-top-color: var(--teal-deep); }

/* Cost page: price rows and conflict boxes (Nov 24) */
.pkg { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; }
.pkg b { font-family: var(--data); font-weight: 700; }
.card-dark .pkg { border-color: var(--kale-rule); color: var(--n100); }
.conf-row { display: flex; justify-content: space-between; gap: 16px; padding-top: 16px; margin-top: 18px; border-top: 1px solid var(--line); }
.card-dark .conf-row { border-color: var(--kale-rule); }

/* Bright teal top bars on cream/white become dark teal for contrast (Justin, Nov 24) */
.cnm-panel { border-top-color: var(--teal-deep); }
.card.top-mod, .card-white.top-mod, .card.top-teal, .card-white.top-teal, .ql-feat { border-top-color: var(--teal-deep); }

/* Class details popup sections (Nov 24) */
.cd-panel { max-width: 640px; width: min(640px, 100%); }
.cd-m { margin-top: 6px; }
.cd-o { margin-top: 14px; font-size: 15px; }
.cd-sec { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.cd-h { font: 700 11px/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-text, #0A6660); margin-bottom: 10px; }
.cd-sec .ticks { font-size: 14px; gap: 8px; }
.soon { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 2px 8px; border: 1px solid currentColor; font: 700 10px/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--butter-text); }
.card-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }
.webinars .offer:first-of-type { margin-top: 14px; }
.webinars { padding: 32px 34px; }
.web-head { display: flex; gap: 16px; align-items: flex-start; }
.web-item { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px; border: 1px solid var(--kale-rule); }
.web-item .btn { align-self: flex-start; margin-top: auto; }
.soon-dark { color: var(--butter); }
.cd-bullets { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14px; }
.cd-bullets li::marker { color: var(--butter-text); }
/* Class details popup: wide two-column layout on desktop so it fits without scrolling */
@media (min-width: 900px) {
  .cd-panel { max-width: 1040px; width: min(1040px, calc(100vw - 48px)); padding: 36px 44px 30px; }
  .cd-secs { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; align-items: start; }
  .cd-secs > .cd-sec:first-child { grid-column: 1; grid-row: 1 / span 4; }
  .cd-secs > .cd-sec:not(:first-child) { grid-column: 2; }
}
@media (min-width: 900px) and (max-height: 820px) {
  .cd-panel { padding: 26px 40px 22px; }
  .cd-o { margin-top: 10px; font-size: 14px; }
  .cd-sec { margin-top: 12px; padding-top: 12px; }
  .cd-sec .ticks, .cd-bullets { gap: 5px; font-size: 13.5px; }
  .cd-panel .btn { margin-top: 14px; }
}

/* Training formats: group cards + 1-on-1 card, shared by Training and Cost pages (Nov 24) */
.fmt-head { max-width: 720px; margin-bottom: 20px; }
.fmt-head .muted { margin-top: 8px; }
.fmt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fmt-one { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 40px; align-items: start; }
.fmt-one .fmt-head { margin-bottom: 0; }
@media (max-width: 1180px) { .fmt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .fmt-grid, .fmt-one { grid-template-columns: 1fr; } }
/* Divider lines between group classes, 1-on-1 and webinars (Nov 24) */
.fmt-one, .fmt + .webinars, .fmt-one + .webinars { position: relative; }
.fmt-one { margin-top: 48px !important; padding-top: 48px; border-top: 1px solid var(--line); }
.fmt-one + .webinars { margin-top: 96px !important; }
.fmt-one + .webinars::before { content: ""; position: absolute; left: 0; right: 0; top: -49px; border-top: 1px solid var(--line); }
#classes { scroll-margin-top: 100px; }
html { scroll-behavior: smooth; }
/* Light cards sitting on dark sections keep dark text */
.on-kale .card, .on-black .card { color: var(--ink); }
.on-kale .card .h3, .on-black .card .h3 { color: var(--ink); }
.on-kale .card .lab-train, .on-black .card .lab-train { color: var(--butter-text); }
.on-kale .card .lab-mod, .on-black .card .lab-mod { color: var(--teal-text); }
.on-kale .card .lab-med, .on-black .card .lab-med { color: var(--ink); }
/* Homepage quick links label (sits on the hero's dark edge) */
.doors { margin-top: -116px; }
.doors-label { color: var(--teal); margin: 0 0 12px; }

/* For Vets model cards: rows line up across cards; description in its own inset box (Nov 24) */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 900px) {
    .models-grid > div { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
    .models-grid > div > * { min-width: 0; }
    .models-grid .model-foot { align-self: stretch; }
  }
}
.models-grid .model-desc { border-top: 0 !important; padding: 18px 20px !important; margin-top: 20px !important; background: var(--cream); border: 1px solid var(--line) !important; }
.models-grid .card-black .model-desc { background: #151515; border-color: var(--n700) !important; }
.models-grid .model-desc .model-list { margin-top: 0; }
.models-grid .model-desc > p:first-child { margin-top: 0; }
.models-grid .btn { justify-self: start; align-self: start; }
.models-grid .model-foot { align-content: start; }
.models-grid .model-desc > p:first-child + .model-list { margin-top: 12px; }
.models-grid .card-black .model-desc { background: #1E1E1E; border-color: rgba(255,255,255,0.22) !important; }

/* For Vets: sticky Submit a referral button, bottom-right on every screen (Nov 24) */
.ref-tab { position: fixed; z-index: 9000; right: 28px; bottom: calc(28px + env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 12px; background: var(--teal); color: var(--ink); text-decoration: none; font: 800 14px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; padding: 20px 28px; border: 2px solid var(--ink); box-shadow: 0 14px 34px rgba(0,0,0,.35); }
.ref-tab svg { width: 24px; height: 24px; flex: 0 0 auto; }
.ref-tab:hover, .ref-tab:focus-visible { background: #fff; color: var(--ink); }
@media (max-width: 760px) { .ref-tab { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); padding: 15px 18px; font-size: 12px; gap: 10px; } .ref-tab svg { width: 20px; height: 20px; } }
.models-grid > div { grid-row: span 4 !important; }
.refer-notes > div { padding-top: 22px; border-top: 1px solid var(--n700); }
/* Active menu underline sits just under the label, not at the header's bottom edge (Nov 24) */
.nl2 { align-self: center; height: auto; padding: 8px 0 6px; }
.conf-h { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.card-dark .conf-h { border-color: var(--kale-rule); }
.conf-h + .conf-row { border-top: 0; margin-top: 8px; padding-top: 6px; }
.conf-row-2 { margin-top: 10px; padding-top: 10px; }
.conf-l { font-weight: 600; font-size: 15px; }
/* Cream conflict box on the green Modification section */
.conflict-light { background: var(--cream-soft); }
.on-kale .card .muted { color: var(--ink-2); }
.on-kale .card .price { color: var(--ink); }
.conflict-light .conf-h, .conflict-light .conf-row { border-color: var(--line) !important; }
.conf-note { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); font-style: italic; }
.conf-row-mid { align-items: center; }
.conf-price { text-align: right; }
.conf-price .tiny { margin-top: 2px; }

/* Triage tool (Nov 20): full option list, inline follow-ups, one result */
.tri-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin: 4px 0 10px; }
.tri-count { margin: 0; font-family: var(--data); font-size: 15px; color: var(--ink-2); }
.tri-count span { font-weight: 700; color: var(--ink); }
.tri-clear { margin-left: 12px; background: none; border: 0; padding: 0; font: inherit; font-family: var(--body); font-size: 13px; font-weight: 700; color: var(--teal-text); text-decoration: underline; cursor: pointer; }
.tri-pick { display: flex; align-items: flex-end; gap: 4px; }
.tri-pick .hand { font-size: 22px; line-height: 1; margin-bottom: 14px; }
.tri-pick svg { width: 34px; height: 26px; flex: 0 0 auto; }
.tri-groups { columns: 3 300px; column-gap: 16px; }
.tri-groups > .tri-group { break-inside: avoid; margin-bottom: 16px; }
.tri-group { margin: 0; min-width: 0; background: var(--cream-soft); border: 1px solid var(--line); border-top: 4px solid var(--ink); padding: 18px 20px 12px; }
.tri-group.tri-focus { border-top-color: var(--teal-deep); box-shadow: 0 0 0 2px var(--teal-deep); }
.tri-group legend { float: left; width: 100%; padding: 0; margin: 0 0 8px; font-size: 21px; }
.tri-group legend + * { clear: both; }
.tri-box { display: flex; align-items: flex-start; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); cursor: pointer; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.tri-box input { appearance: none; -webkit-appearance: none; flex: 0 0 auto; width: 20px; height: 20px; margin: 1px 0 0; border: 1.5px solid var(--ink); border-radius: 0; background: #fff; display: grid; place-content: center; cursor: pointer; }
.tri-box input::after { content: ""; width: 11px; height: 6px; border-left: 2.5px solid var(--black); border-bottom: 2.5px solid var(--black); transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.tri-box input:checked { background: var(--teal); border-color: var(--black); }
.tri-box input:checked::after { opacity: 1; }
.tri-box input:focus-visible { outline: 3px solid var(--teal-deep); outline-offset: 2px; }
.tri-box:has(input:checked) { color: var(--ink); font-weight: 600; }
.tri-kids { margin: 0 0 6px 9px; padding-left: 21px; border-left: 2px solid var(--teal-deep); }
.tri-kids[hidden] { display: none; }
.tri-sub > .tri-box { border-top: 0; padding: 6px 0; font-size: 14.5px; }
.tri-urgent { margin: 4px 0 0; padding: 12px 14px; border-left: 4px solid var(--butter); background: rgba(232, 196, 107, 0.12); color: #fff; font-weight: 600; font-size: 15px; line-height: 1.5; }
.tri-urgent[hidden] { display: none; }
/* Result: lean is the headline; steps count from 1 */
.tri-result ol { counter-reset: step 0; }
@media (max-width: 560px) { .tri-group { padding: 16px 16px 10px; } }

/* Triage popups (Nov 20): follow-up popup + result popup */
.tri-head .tri-bar { flex: 1 1 auto; }
.tri-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.tri-bar .tri-see { margin: 0; }
.tri-bar-end { margin-top: 8px; padding-top: 22px; border-top: 1px solid var(--line); }
.tri-end-note { display: inline-flex; align-items: center; gap: 6px; }
.tri-end-note svg { width: 40px; height: 22px; flex: 0 0 auto; }
.tri-end-note .hand { font-size: 21px; line-height: 1; }
.tri-more { margin: -2px 0 8px 32px; font-size: 13.5px; line-height: 1.4; color: var(--teal-text); font-weight: 600; }
.tri-more[hidden] { display: none; }
.tri-edit { margin-left: 6px; background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; cursor: pointer; }
.trm { position: fixed; inset: 0; z-index: 1900; display: flex; align-items: center; justify-content: center; padding: 20px; }
.trm[hidden] { display: none; }
.trm-backdrop { position: absolute; inset: 0; background: rgba(10,10,10,0.72); }
.trm .result-wide { position: relative; margin: 0; width: min(1080px, 100%); max-height: calc(100vh - 40px); overflow: auto; box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
.trm-x { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; background: none; border: 0; font-size: 30px; line-height: 1; color: #fff; cursor: pointer; z-index: 2; }
.tfm-panel { position: relative; background: var(--cream); color: var(--ink); width: min(560px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 36px 40px 28px; border-top: 6px solid var(--teal-deep); box-shadow: 0 24px 60px rgba(0,0,0,0.45); }
.tfm-h { margin: 8px 40px 18px 0; font-size: 28px; }
.tfm-list > .tri-item:first-child > .tri-box { border-top: 1px solid var(--line); }
.tfm-list .tri-kids { margin-top: 2px; }
.tfm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 22px; }
.tfm-actions .btn { margin: 0; }
.tfm-actions .hand { font-size: 21px; line-height: 1; }
@media (max-width: 600px) {
  .tfm-panel { padding: 30px 20px 22px; }
  .trm { padding: 10px; align-items: flex-start; }
  .trm .result-wide { max-height: calc(100vh - 20px); }
  .tri-bar .tri-see { flex: 1 1 100%; }
}
/* Follow-up alternative answer (Nov 20) */
.tfm-list .tri-alt > .tri-box { border-top: 1px dashed var(--line); }
.tfm-list .tri-kids .tri-alt > .tri-box { border-top: 0; }
/* Follow-up popups are select-one (Nov 20): radios keep the square box look */
.tri-box input[type="radio"] { border-radius: 0; }
/* Follow-up popup: independent "Also true?" items (Nov 24) */
.tfm-also { margin: 18px 0 2px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-text); }
.tfm-also + .tri-item > .tri-box { border-top: 1px solid var(--line); }

/* ==========================================================================
   Triage option browser (Nov 24 UX): topic tabs, search, tap tiles, live summary
   ========================================================================== */
.trx { margin-top: 8px; }
.trx-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 24px; margin-bottom: 18px; }
.trx-search { position: relative; flex: 1 1 360px; max-width: 620px; display: block; }
.trx-search svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--ink-2); pointer-events: none; }
.trx-search input { width: 100%; height: 54px; box-sizing: border-box; padding: 0 16px 0 48px; border: 1.5px solid var(--ink); border-radius: 0; background: #fff; font: 500 16px/1 var(--body); color: var(--ink); -webkit-appearance: none; appearance: none; }
.trx-search input::placeholder { color: #8A847A; }
.trx-search input:focus-visible { outline: 3px solid var(--teal-deep); outline-offset: 2px; }
.trx-note { display: inline-flex; align-items: flex-end; gap: 6px; }
.trx-note svg { width: 40px; height: 27px; flex: 0 0 auto; }
.trx-note .hand { font-size: 22px; line-height: 1; font-weight: 250; transform: rotate(-2deg); display: inline-block; color: var(--teal-text); margin-bottom: 2px; }

.trx-layout { display: grid; grid-template-columns: 228px minmax(0, 1fr) 320px; gap: 24px; align-items: start; }

/* Topic tabs */
.trx-cats { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.trx-cat { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; text-align: left; padding: 13px 14px; background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; font: 600 15px/1.3 var(--body); color: var(--ink-2); cursor: pointer; }
.trx-cat:hover { background: var(--cream-deep); color: var(--ink); }
.trx-cat[aria-selected="true"] { background: var(--black); color: #fff; }
.trx-cat:focus-visible { outline: 3px solid var(--teal-deep); outline-offset: -3px; }
.trx-badge { flex: 0 0 auto; min-width: 22px; height: 22px; padding: 0 6px; box-sizing: border-box; display: inline-grid; place-items: center; background: var(--teal); color: var(--black); font: 700 12px/1 var(--data); }

/* Panel */
.trx-main { background: var(--cream-soft); border: 1px solid var(--line); border-top: 4px solid var(--ink); padding: 24px 26px 22px; min-width: 0; scroll-margin-top: 110px; }
.trx-main:focus { outline: none; }
.trx-panel-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 16px; }
.trx-step { width: 100%; margin: 0; font: 700 12px/1 var(--data); letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-text); }
.trx-h { margin: 0; font-size: 30px; line-height: 1.15; }
.trx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 10px; }
.trx-sub { grid-column: 1 / -1; margin: 10px 0 0; font: 700 12px/1 var(--data); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.trx-sub:first-child { margin-top: 0; }
.trx-none { margin: 0 0 8px; color: var(--ink-2); }

/* Tiles */
.trx-tile { position: relative; background: #fff; border: 1.5px solid var(--line); transition: border-color .15s, background-color .15s; }
.trx-tile:hover { border-color: var(--ink); }
.trx-tile.is-on { border-color: var(--black); background: #EAF8F7; }
.trx-tile:has(.trx-input:focus-visible) { outline: 3px solid var(--teal-deep); outline-offset: 2px; }
.trx-hit { display: flex; align-items: flex-start; gap: 14px; padding: 15px 16px; cursor: pointer; min-height: 56px; box-sizing: border-box; }
.trx-input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.trx-box { flex: 0 0 auto; width: 22px; height: 22px; box-sizing: border-box; margin-top: 1px; border: 1.5px solid var(--ink); background: #fff; display: grid; place-content: center; }
.trx-box::after { content: ""; width: 11px; height: 6px; border-left: 2.5px solid var(--black); border-bottom: 2.5px solid var(--black); transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.trx-tile.is-on .trx-box { background: var(--teal); border-color: var(--black); }
.trx-tile.is-on .trx-box::after { opacity: 1; }
.trx-t { font-size: 15.5px; line-height: 1.4; color: var(--ink); }
.trx-tile.is-on .trx-t { font-weight: 600; }
.trx-fu { margin-top: -6px; padding: 0 16px 13px 52px; font-size: 13.5px; line-height: 1.4; }
.trx-fu-hint { color: var(--ink-2); }
.trx-fu-t { color: var(--teal-text); font-weight: 600; margin-right: 8px; }
.trx-link { background: none; border: 0; padding: 0; font: 700 14px/1.3 var(--body); color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.trx-link:focus-visible, .trx-x:focus-visible, .trx-clear:focus-visible { outline: 3px solid var(--teal-deep); outline-offset: 2px; }
.trx-fu .trx-link { font-size: 13.5px; }

/* Step nav */
.trx-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.trx-nav .btn { margin: 0; margin-left: auto; }

/* Live summary */
.trx-sum { position: sticky; top: 108px; background: var(--kale); color: #fff; padding: 22px 22px 18px; border-top: 4px solid var(--teal); }
.trx-sum .eyebrow { color: var(--teal); }
.trx-sum-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.trx-n { min-width: 30px; height: 30px; padding: 0 8px; box-sizing: border-box; display: inline-grid; place-items: center; border: 1.5px solid var(--kale-rule); font: 700 15px/1 var(--data); color: var(--n200); }
.trx-n.is-on { background: var(--teal); border-color: var(--teal); color: var(--black); }
.trx-picks { list-style: none; margin: 0; padding: 0; max-height: 46vh; overflow: auto; }
.trx-pick { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 11px 0; border-top: 1px solid var(--kale-rule); }
.trx-pick-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.trx-pick-l { font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.trx-pick-f { font-size: 13px; line-height: 1.35; color: var(--n200); }
.trx-pick-f.is-open { color: var(--butter); }
.trx-pick-a { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.trx-pick-a .trx-link { color: #fff; font-size: 13px; }
.trx-x { width: 28px; height: 28px; background: none; border: 1px solid var(--kale-rule); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.trx-x:hover { border-color: #fff; }
.trx-empty { margin: 4px 0 6px; font-size: 14.5px; line-height: 1.5; color: var(--n200); }
.trx-empty[hidden] { display: none; }
.trx-sum .trx-see { width: 100%; margin: 16px 0 0; background: var(--teal); color: var(--black); border-color: var(--teal); }
.trx-sum .trx-see:hover { background: #fff; border-color: #fff; }
.trx-sum-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin-top: 12px; }
.trx-sum-foot .muted { color: var(--n300); }
.trx-clear { background: none; border: 0; padding: 0; font: 700 13px/1 var(--body); color: #fff; text-decoration: underline; cursor: pointer; }
.trx-clear[hidden] { display: none; }

/* Tablet: tabs become a scrolling row above panel + summary */
@media (max-width: 1099px) {
  .trx-layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .trx-cats { grid-column: 1 / -1; flex-direction: row; gap: 8px; overflow-x: auto; border-top: 0; padding: 2px 2px 6px; scroll-snap-type: x proximity; scrollbar-width: thin; }
  .trx-cat { width: auto; flex: 0 0 auto; white-space: nowrap; border: 1.5px solid var(--ink); padding: 10px 14px; scroll-snap-align: start; }
}
/* Phone: one column; summary follows the panel */
@media (max-width: 760px) {
  .trx-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .trx-main { padding: 20px 16px 18px; }
  .trx-h { font-size: 26px; }
  .trx-sum { position: static; }
  .trx-picks { max-height: none; }
  .trx-note { display: none; }
  .trx-nav .btn { width: 100%; }
}

/* Triage guided steps (Nov 24 rev): progress bar, dog/cat choice, two-column layout */
.trx-top { align-items: center; flex-wrap: nowrap; gap: 16px; }
.trx-prog { flex: 1 1 auto; height: 8px; background: var(--cream-deep); border: 1px solid var(--line); position: relative; overflow: hidden; }
.trx-prog span { position: absolute; inset: 0 auto 0 0; width: 12%; background: var(--teal-deep); transition: width .35s cubic-bezier(.4,0,.2,1); }
.trx-prog-t { flex: 0 0 auto; font: 700 12px/1 var(--data); letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-text); }
.trx-layout { grid-template-columns: minmax(0, 1fr) 320px; }
.trx-hint { width: 100%; margin: 4px 0 0; font-size: 14.5px; color: var(--ink-2); }
.trx-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.trx-choice { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 16px; row-gap: 4px; align-items: center; text-align: left; padding: 22px 22px; background: #fff; border: 1.5px solid var(--line); border-radius: 0; cursor: pointer; color: var(--ink); transition: border-color .15s, background-color .15s; }
.trx-choice:hover { border-color: var(--black); background: #EAF8F7; }
.trx-choice:focus-visible { outline: 3px solid var(--teal-deep); outline-offset: 2px; }
.trx-ico { grid-row: 1 / span 2; width: 64px; height: 64px; color: var(--teal-text); }
.trx-choice-t { font: 500 28px/1.1 var(--display); align-self: end; }
.trx-choice-s { font-size: 14px; line-height: 1.4; color: var(--ink-2); align-self: start; }
.trx-catnote { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.trx-pick-sp .trx-pick-f { order: -1; text-transform: uppercase; letter-spacing: 0.08em; font-size: 11px; font-weight: 700; color: var(--teal); }
@media (max-width: 1099px) { .trx-layout { grid-template-columns: minmax(0, 1fr) 300px; } }
@media (max-width: 760px) { .trx-layout { grid-template-columns: minmax(0, 1fr); } .trx-top { flex-wrap: wrap; } .trx-prog { flex-basis: 100%; order: 2; } }
.trx-sum .trx-see[hidden] { display: none; }
.stat-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 24px; }
.stat-inline p { flex: 1 1 240px; font-size: 15px; }
/* Stat callout box on green (Nov 24) */
.stat-inline { background: var(--kale-panel); border: 1px solid var(--kale-rule); border-left: 6px solid var(--teal); padding: 22px 26px; margin-top: 28px; }
.stat-inline p { font-size: 16px; }
/* Follow-up Done stays disabled until a required answer is picked (Nov 24) */
.tfm-actions .btn[disabled] { background: var(--cream-deep); border-color: var(--line); color: #8A847A; cursor: not-allowed; }
/* Clear "Start over" (Nov 24) */
.trx-clear { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 10px; padding: 12px 16px; background: transparent; border: 1.5px solid var(--n300); color: #fff; font: 700 13px/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.trx-clear:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
.trx-clear svg, .trx-reset svg { width: 16px; height: 16px; flex: 0 0 auto; }
.trx-reset { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
/* Cat path: one frame, no repeated answers panel (Nov 24) */
.trx.is-cat .trx-layout { grid-template-columns: minmax(0, 1fr); }
.trx.is-cat .trx-sum { display: none; }
.trx-nav .trx-reset { margin-left: 0; }
.trx.is-cat .trx-note { display: none; }

/* For Clients hero: Vello portal example (Nov 24) */
.vl-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.vl-phone { width: min(360px, 100%); border-radius: 34px; overflow: hidden; background: #f8f9fa; border: 8px solid #1b1b1b; box-shadow: 0 30px 60px rgba(0,0,0,.45); font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: #202124; }
.vl-head { background: linear-gradient(120deg, #1E4B43 0%, #2E695E 100%); padding: 22px 18px 26px; color: #fff; }
.vl-top { display: flex; align-items: center; gap: 14px; }
.vl-burger { display: grid; gap: 4px; width: 20px; } .vl-burger i { display: block; height: 2px; background: #fff; border-radius: 2px; }
.vl-logo { height: 34px; width: auto; }
.vl-hello { margin: 18px 0 16px; font-size: 26px; font-weight: 400; letter-spacing: -.01em; }
.vl-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vl-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px; background: rgba(255,255,255,.12); border-radius: 12px; font-size: 13px; font-weight: 500; text-align: center; }
.vl-tile svg { width: 24px; height: 24px; }
.vl-body { position: relative; margin-top: -14px; background: #f8f9fa; border-radius: 16px 16px 0 0; padding: 20px 16px 64px; }
.vl-row { display: flex; justify-content: space-between; align-items: baseline; }
.vl-k { display: block; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #5f6368; }
.vl-k2 { margin-top: 20px; }
.vl-link { font-size: 14px; font-weight: 600; color: #1a56c4; }
.vl-card { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 14px; background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.vl-card > div { flex: 1; min-width: 0; }
.vl-av { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid #1a56c4; }
.vl-prac { width: 92px; height: auto; filter: brightness(0); }
.vl-name { font-size: 16px; font-weight: 600; line-height: 1.2; }
.vl-sub { font-size: 12px; color: #5f6368; margin-top: 2px; line-height: 1.35; }
.vl-caps { text-transform: uppercase; }
.vl-chev { width: 18px; height: 18px; flex: 0 0 auto; }
.vl-act { position: absolute; right: 16px; bottom: 16px; padding: 10px 18px; background: #2a5bc4; color: #fff; border-radius: 999px; font-size: 14px; font-weight: 600; box-shadow: 0 4px 12px rgba(42,91,196,.4); }
.vl-cap { font-size: 12px; color: var(--n300); }
/* For Clients: emergency box cream with thick coral top; jump bar (Nov 24) */
.urg-emergency { background: var(--cream-soft); color: var(--ink); border-top: 8px solid #F26157; }
.urg-emergency .h3, .urg-emergency .h4 { color: var(--ink); }
.cp-jump { background: var(--black); padding: 0 0 36px; }
.cp-jump-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cp-j { display: flex; align-items: center; justify-content: center; text-align: center; padding: 18px 16px; font: 800 12px/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: #fff; border: 2px solid var(--teal); }
.cp-j:hover, .cp-j:focus-visible { background: var(--teal); color: var(--ink); }
.cp-j-urg { background: #F26157; border-color: #F26157; color: var(--ink); }
.cp-j-urg:hover, .cp-j-urg:focus-visible { background: #fff; border-color: #fff; }
@media (max-width: 640px) { .cp-jump-row { grid-template-columns: 1fr; } }
#urgent, #quick-links, #scheduling { scroll-margin-top: 90px; }
.urg-emergency .urg-list-dark li::before { background: #F26157; }
