/* Kensington Medical Services — site styles
   One memorable device: the logo's double-rule frame. Everything else stays quiet. */

@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --navy: #323565;        /* brand, from the wordmark */
  --navy-deep: #22254a;   /* full-bleed sections */
  --ink: #1d1f33;         /* body text */
  --slate: #555a7c;       /* secondary text, 6.6:1 on white */
  --rule: #c9cce0;        /* hairlines */
  --mist: #f1f2f7;        /* quiet section ground */
  --paper: #ffffff;
  --on-navy: #ffffff;
  --on-navy-quiet: #c8cbe6; /* 8:1 on navy-deep */

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  /* Type scale, ratio ~1.25 from an 19px serif body */
  --t-sm: 0.875rem;
  --t-ui: 0.9375rem;
  --t-body: 1.1875rem;
  --t-lead: 1.4375rem;
  --t-h3: 1.5rem;
  --t-h2: clamp(1.875rem, 1.4rem + 1.6vw, 2.625rem);
  --t-h1: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem);

  --measure: 36rem;
  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --space: clamp(4rem, 3rem + 4vw, 7rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--t-body);
  line-height: 1.6;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 2px; }
.on-navy :focus-visible { outline-color: #fff; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: -0.012em; margin: 0 0 0.5em; color: var(--navy-deep); }
h1 { font-size: var(--t-h1); letter-spacing: -0.02em; line-height: 1.04; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.25; }
p { margin: 0 0 1em; max-width: var(--measure); }
.lead { font-size: var(--t-lead); line-height: 1.5; color: var(--ink); }

.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 0.75rem 1rem; font-family: var(--sans); z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Buttons (sans, the only UI voice) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--sans); font-size: var(--t-ui); font-weight: 600; letter-spacing: 0.01em;
  padding: 0.85rem 1.4rem; min-height: 48px;
  border: 1.5px solid var(--navy); border-radius: 2px;
  background: var(--navy); color: #fff; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--navy-deep); text-decoration: none; }
/* Buttons, direction A: square, outline secondaries that fill on hover, a pressed state, flush focus */
.btn { border-radius: 0; letter-spacing: .02em; transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .05s ease; }
.btn:active { transform: translateY(1px); }
.btn:not(.btn--quiet):active { background: #1a1c3a; border-color: #1a1c3a; }
.btn:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.btn--quiet { background: var(--paper); color: var(--navy); border: 1.5px solid var(--navy); }
.btn--quiet:hover { background: var(--navy); color: #fff; }
.btn--quiet:active { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.btn--quiet:focus-visible { outline: 3px solid var(--navy); outline-offset: 0; }
.on-navy .btn { background: #fff; color: var(--navy-deep); border-color: #fff; }
.on-navy .btn:hover { background: var(--mist); }
.on-navy .btn:not(.btn--quiet):active { background: #e2e4ef; border-color: #e2e4ef; }
.on-navy .btn:focus-visible { outline-color: #fff; }
.on-navy .btn--quiet { background: transparent; color: #fff; border-color: #fff; }
.on-navy .btn--quiet:hover { background: #fff; color: var(--navy-deep); }
.on-navy .btn--quiet:active { background: #e2e4ef; border-color: #e2e4ef; color: var(--navy-deep); }
.on-navy .btn--quiet:focus-visible { outline: 3px solid #fff; outline-offset: 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--rule); background: var(--paper); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 92px; }
.brand { flex: none; display: block; }
.brand img { height: 60px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.6rem; margin-left: auto; font-family: var(--sans); font-size: var(--t-ui); }
.nav a { color: var(--ink); text-decoration: none; padding: 0.4rem 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); text-decoration: underline; }
.nav .tel { color: var(--slate); white-space: nowrap; }
.nav .btn { padding: 0.6rem 1.1rem; min-height: 44px; color: #fff; }
.nav .btn:hover { text-decoration: none; color: #fff; }
.menu-toggle { display: none; margin-left: auto; font-family: var(--sans); font-weight: 600; font-size: var(--t-ui); background: none; border: 1.5px solid var(--navy); color: var(--navy); padding: 0.55rem 0.9rem; min-height: 44px; border-radius: 2px; cursor: pointer; }
@media (max-width: 960px) {
  .menu-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--rule); padding: 0.5rem var(--gutter) 1.25rem; }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.85rem 0; border-bottom: 1px solid var(--mist); }
  .nav .btn { margin-top: 1rem; }
  .brand img { height: 46px; }
}

/* ---------- The frame: the logo's double rule ---------- */
.frame { position: relative; border: 2px solid var(--navy); padding: 6px; }
.frame > .frame-inner { border: 1px solid var(--navy); padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--paper); }
.on-navy .frame { border-color: #fff; }
.on-navy .frame > .frame-inner { border-color: #fff; background: transparent; }

/* ---------- Hero ---------- */
.hero { padding: clamp(3.5rem, 2rem + 6vw, 7.5rem) 0 var(--space); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.hero h1 { max-width: 13ch; }
.hero .lead { max-width: 30rem; margin-top: 1.5rem; }
.hero-facts { list-style: none; margin: 0; padding: 0; }
.hero-facts li { padding: 1.1rem 0; border-top: 1px solid var(--rule); }
.hero-facts li:first-child { border-top: 0; padding-top: 0; }
.hero-facts li:last-child { padding-bottom: 0; }
.hero-facts strong { display: block; font-weight: 500; font-size: 1.375rem; line-height: 1.25; color: var(--navy-deep); }
.hero-facts span { display: block; font-family: var(--sans); font-size: var(--t-ui); color: var(--slate); margin-top: 0.3rem; line-height: 1.5; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }

.trust { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--mist); }
.trust p { margin: 0 auto; max-width: none; text-align: center; padding: 1.4rem 0; font-size: 1.125rem; color: var(--navy-deep); font-style: italic; }

/* ---------- Sections ---------- */
.section { padding: var(--space) 0; }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy-deep); color: var(--on-navy); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: var(--on-navy-quiet); }
.section--navy .lead { color: #fff; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* Services: a plain two-column list, not cards */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 4.5rem); margin: 0; }
.services div { padding: 1.4rem 0; border-top: 1px solid var(--rule); }
.services dt { font-weight: 500; font-size: 1.3125rem; color: var(--navy-deep); line-height: 1.3; }
.services dd { margin: 0.35rem 0 0; color: var(--slate); font-family: var(--sans); font-size: var(--t-ui); line-height: 1.55; max-width: 30rem; }
@media (max-width: 720px) { .services { grid-template-columns: 1fr; } }
.scope-note { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 2rem; }
.scope-note p { margin: 0; font-size: 1.0625rem; }
.scope-note .not { color: var(--slate); }
@media (max-width: 720px) { .scope-note { grid-template-columns: 1fr; gap: 1rem; } }

/* C&P rebuttals */
.rebuttal .wrap { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.defects { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.defects li { padding: 1rem 0 1rem 2rem; border-top: 1px solid rgba(255,255,255,.18); position: relative; color: #fff; font-size: 1.125rem; line-height: 1.45; }
.defects li::before { content: ""; position: absolute; left: 0; top: 1.55rem; width: 0.9rem; height: 0.9rem; border: 1.5px solid var(--on-navy-quiet); }
.defects li:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
@media (max-width: 860px) { .rebuttal .wrap { grid-template-columns: 1fr; } }

/* Process: a real sequence, so it is numbered */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(1.5rem, 3vw, 3rem); }
.steps li { counter-increment: step; border-top: 2px solid var(--navy); padding-top: 1.1rem; }
.steps li::before { content: counter(step); display: block; font-size: 2.25rem; line-height: 1; font-weight: 400; color: var(--navy); margin-bottom: 0.9rem; font-variant-numeric: oldstyle-nums; }
.steps h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.steps p { font-family: var(--sans); font-size: var(--t-ui); color: var(--slate); line-height: 1.55; margin: 0; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 2rem; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.process-note { margin-top: 2.5rem; font-size: 1.0625rem; }

/* Results */
.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); margin-bottom: clamp(3rem, 5vw, 4.5rem); }
.board figure { margin: 0; padding-top: 1.25rem; border-top: 2px solid var(--navy); }
.board blockquote { margin: 0; font-size: 1.1875rem; line-height: 1.5; font-style: italic; color: var(--ink); }
.board figcaption { margin-top: 1rem; font-family: var(--sans); font-size: var(--t-sm); color: var(--slate); }
.pending { background: repeating-linear-gradient(135deg, var(--mist) 0 10px, #fff 10px 20px); outline: 1px dashed var(--rule); padding: 0.15em 0.35em; font-style: normal; font-family: var(--sans); font-size: var(--t-sm); color: var(--slate); }
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(2rem, 5vw, 4.5rem); }
.quotes figure { margin: 0; }
.quotes blockquote { margin: 0; font-size: var(--t-lead); line-height: 1.45; color: var(--navy-deep); }
.quotes blockquote::before { content: "\201C"; display: block; font-size: 4rem; line-height: 0.6; color: var(--rule); margin-bottom: 0.6rem; }
.quotes figcaption { margin-top: 1rem; font-family: var(--sans); font-size: var(--t-ui); color: var(--slate); }
.disclaim { margin-top: 2.5rem; font-family: var(--sans); font-size: var(--t-sm); color: var(--slate); max-width: 48rem; }
@media (max-width: 860px) { .board, .quotes { grid-template-columns: 1fr; } }

/* About */
.about .wrap { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.quals { list-style: none; margin: 0; padding: 0; }
.quals li { padding: 0.95rem 0; border-top: 1px solid var(--rule); font-size: 1.125rem; line-height: 1.45; }
.quals li:last-child { border-bottom: 1px solid var(--rule); }
@media (max-width: 860px) { .about .wrap { grid-template-columns: 1fr; } }

/* Fees */
.fees .frame-inner { display: grid; grid-template-columns: minmax(0,1.3fr) auto; gap: 2rem; align-items: center; }
.fees h2 { margin-bottom: 0.4em; }
.fees p { margin-bottom: 0.6em; }
.fees p:last-child { margin-bottom: 0; }
@media (max-width: 760px) { .fees .frame-inner { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 48rem; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 1.25rem 2.5rem 1.25rem 0; position: relative; font-size: 1.25rem; font-weight: 500; color: var(--navy-deep); line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 1.05rem; font-family: var(--sans); font-size: 1.5rem; font-weight: 400; color: var(--navy); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 1.4rem; }
.faq details > div p { font-size: 1.0625rem; }
.faq details > div p:last-child { margin-bottom: 0; }

/* Closing CTA */
.closing .frame-inner { text-align: center; padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 3rem); }
.closing h2 { margin-bottom: 0.4em; }
.closing p { margin-left: auto; margin-right: auto; }
.closing .btn-row { justify-content: center; }

/* ---------- Inner pages ---------- */
.page-head { padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0 clamp(2rem, 3vw, 3rem); border-bottom: 1px solid var(--rule); }
.page-head h1 { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem); max-width: 20ch; }
.page-head .lead { max-width: 38rem; }
.page-body { padding: clamp(2.5rem, 4vw, 4rem) 0 var(--space); }
.split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.aside h2 { font-size: 1.375rem; }
.aside p, .aside li { font-size: 1.0625rem; }
.aside ul { padding-left: 1.1rem; margin: 0 0 1.5rem; }
.aside li { margin-bottom: 0.4rem; }

.prose { max-width: 42rem; }
.prose h2 { font-size: 1.75rem; margin-top: 2.25em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.45rem; max-width: var(--measure); }
.prose .updated { font-family: var(--sans); font-size: var(--t-sm); color: var(--slate); }

/* ---------- Forms ---------- */
.form { font-family: var(--sans); }
.form fieldset { border: 0; padding: 0; margin: 0 0 2rem; }
.form legend { font-family: var(--serif); font-size: 1.375rem; font-weight: 500; color: var(--navy-deep); margin-bottom: 1rem; padding: 0; }
.field { margin-bottom: 1.35rem; }
.field label, .field .label { display: block; font-weight: 600; font-size: var(--t-ui); color: var(--ink); margin-bottom: 0.4rem; }
.field .hint { display: block; font-weight: 400; color: var(--slate); font-size: var(--t-sm); margin-top: 0.15rem; line-height: 1.45; }
.req { color: var(--slate); font-weight: 400; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"], .field input[type="date"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 0.75rem 0.85rem; min-height: 48px;
  border: 1.5px solid #8d91ad; border-radius: 2px; background: #fff;
}
.field textarea { min-height: 8rem; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.field [aria-invalid="true"] { border-color: #a12a2a; }
.field .error { display: block; color: #a12a2a; font-size: var(--t-sm); margin-top: 0.35rem; }
.field-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 0 1.25rem; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }
.check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: var(--t-ui); line-height: 1.5; }
.check input { width: 1.25rem; height: 1.25rem; margin-top: 0.15rem; flex: none; accent-color: var(--navy); }
.hp { position: absolute; left: -5000px; }
.form-status { margin-top: 1rem; font-size: var(--t-ui); }
.form-status[data-state="error"] { color: #a12a2a; }
.notice { font-family: var(--sans); font-size: var(--t-sm); color: var(--slate); background: var(--mist); padding: 1rem 1.15rem; border-left: 3px solid var(--navy); margin-bottom: 2rem; line-height: 1.55; }
.notice p { max-width: none; margin: 0; }

/* Insights list */
.articles { list-style: none; margin: 0; padding: 0; max-width: 48rem; }
.articles li { padding: 1.35rem 0; border-top: 1px solid var(--rule); }
.articles li:last-child { border-bottom: 1px solid var(--rule); }
.articles h2 { font-size: 1.375rem; margin: 0 0 0.3rem; }
.articles p { margin: 0; font-family: var(--sans); font-size: var(--t-ui); color: var(--slate); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-navy-quiet); font-family: var(--sans); font-size: var(--t-ui); padding: clamp(3rem, 5vw, 4.5rem) 0 2rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 2rem; }
.footer-grid img { height: 72px; width: auto; margin-bottom: 1.25rem; outline: 1px solid rgba(255,255,255,.5); outline-offset: 3px; }
.footer-grid p { margin: 0 0 0.5rem; max-width: 26rem; }
.footer-grid h2 { font-family: var(--sans); font-size: var(--t-ui); font-weight: 600; color: #fff; margin: 0 0 0.9rem; letter-spacing: 0; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.55rem; }
.footer-legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.18); font-size: var(--t-sm); line-height: 1.6; }
.footer-legal p { margin: 0 0 0.4rem; max-width: 60rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Consent banner (only rendered when tracking is configured) ---------- */
.consent { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 90; max-width: 34rem; margin-left: auto; background: #fff; border: 2px solid var(--navy); box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--navy); padding: 1.25rem 1.35rem; font-family: var(--sans); font-size: var(--t-ui); }
.consent p { margin: 0 0 1rem; max-width: none; line-height: 1.5; }
.consent .btn-row { margin-top: 0; }
.field label.check { font-weight: 400; display: flex; margin-bottom: 0.6rem; }
.nav .btn[aria-current="page"] { color: #fff; text-decoration: none; }

/* ---------- Home hero, on navy, with the process video ---------- */
.hero.on-navy { background: var(--navy-deep); color: #fff; padding: clamp(3rem, 2rem + 4vw, 6rem) 0; }
.hero.on-navy .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.hero.on-navy h1 { color: #fff; max-width: 14ch; font-size: clamp(2.4rem, 1.6rem + 3vw, 3.9rem); }
.hero.on-navy .lead { color: var(--on-navy-quiet); }
.eyebrow { font-family: var(--sans); font-size: var(--t-sm); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-navy-quiet); margin: 0 0 1.25rem; }
.hero-video { margin: 0; }
.hero-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #fff; border: 2px solid #fff; outline: 1px solid rgba(255,255,255,.55); outline-offset: 6px; }
.hero-video figcaption { margin-top: 1.1rem; font-family: var(--sans); font-size: var(--t-sm); color: var(--on-navy-quiet); }
.transcript { margin-top: 0.4rem; font-family: var(--sans); font-size: var(--t-sm); color: var(--on-navy-quiet); }
.transcript summary { cursor: pointer; color: #fff; text-decoration: underline; text-underline-offset: 0.18em; width: max-content; padding: 0.4rem 0; }
.transcript div { margin-top: 0.75rem; background: rgba(255,255,255,.06); padding: 1rem 1.25rem; }
.transcript p { font-size: var(--t-sm); color: var(--on-navy-quiet); margin: 0 0 0.6rem; max-width: none; }
.hero.on-navy .wrap { align-items: center; }
@media (max-width: 860px) { .hero.on-navy .wrap { grid-template-columns: 1fr; } }

/* Three reasons */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); }
.why > div { border-top: 2px solid var(--navy); padding-top: 1.25rem; }
.why h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.why p { font-family: var(--sans); font-size: var(--t-ui); color: var(--slate); line-height: 1.6; }
.why a { font-family: var(--sans); font-size: var(--t-ui); font-weight: 600; }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; } }

/* Recent requests */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.chips li { font-family: var(--sans); font-size: var(--t-ui); color: var(--navy-deep); background: #fff; border: 1px solid var(--rule); border-radius: 0; padding: 0.55rem 1.1rem; }

.fees-plain { display: grid; grid-template-columns: minmax(0,1.3fr) auto; gap: 2rem; align-items: center; border-top: 2px solid var(--navy); border-bottom: 1px solid var(--rule); padding: 2.5rem 0; }
.fees-plain h2 { margin-bottom: 0.4em; }
.fees-plain p:last-child { margin-bottom: 0; }
@media (max-width: 760px) { .fees-plain { grid-template-columns: 1fr; } }
.section.fees + .section.closing { padding-top: 0; }

/* ---------- Sales homepage ---------- */
.hero-note { margin-top: 1.25rem; font-family: var(--sans); font-size: var(--t-ui); color: var(--on-navy-quiet); max-width: 30rem; }
.hero-note a { color: #fff; }
.trust-line { text-align: center; max-width: none; margin: 0 auto clamp(2rem, 4vw, 3rem); font-size: var(--t-lead); font-style: italic; color: var(--navy-deep); }
.anatomy-wrap { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.anatomy { list-style: none; margin: 0; padding: 0; counter-reset: part; }
.anatomy li { counter-increment: part; display: grid; grid-template-columns: 2.75rem 1fr; column-gap: 1rem; padding: 1.15rem 0; border-top: 1px solid var(--rule); }
.anatomy li:last-child { border-bottom: 1px solid var(--rule); }
.anatomy li::before { content: counter(part); grid-row: span 2; width: 2.25rem; height: 2.25rem; border: 1.5px solid var(--navy); border-radius: 0; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; color: var(--navy); margin-top: 0.15rem; }
.anatomy li:last-child::before { background: var(--navy); color: #fff; }
.anatomy h3 { font-size: 1.3125rem; margin: 0 0 0.25rem; }
.anatomy p { margin: 0; font-family: var(--sans); font-size: var(--t-ui); color: var(--slate); line-height: 1.55; }
.sample-card h3 { font-size: 1.5rem; }
.sample-card p { font-family: var(--sans); font-size: var(--t-ui); color: var(--slate); line-height: 1.6; }
@media (max-width: 860px) { .anatomy-wrap { grid-template-columns: 1fr; } }
.scope-note--top { margin-top: 0; }
.section--navy .steps li { border-top-color: rgba(255,255,255,.6); }
.section--navy .steps li::before { color: #fff; }
.section--navy .steps p { color: var(--on-navy-quiet); }
.steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem clamp(1rem, 2vw, 2rem); }
@media (max-width: 1000px) { .steps--5 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .steps--5 { grid-template-columns: 1fr; } }
.terms { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.5rem clamp(1.25rem, 3vw, 2.5rem); margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.2); }
.terms dt { font-weight: 500; font-size: 1.1875rem; color: #fff; }
.terms dd { margin: 0.35rem 0 0; font-family: var(--sans); font-size: var(--t-ui); color: var(--on-navy-quiet); line-height: 1.55; }
.terms a { color: #fff; }
@media (max-width: 1000px) { .terms { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .terms { grid-template-columns: 1fr; } }
.closing-note { margin-top: 1.5rem; font-family: var(--sans); font-size: var(--t-ui); color: var(--slate); }
.hero-video { margin: 0 7px; }

/* Copy email */
.copy { font-family: var(--sans); font-size: var(--t-sm); font-weight: 600; background: none; border: 1px solid currentColor; border-radius: 2px; padding: 0.3rem 0.65rem; min-height: 32px; min-width: 44px; cursor: pointer; color: inherit; margin-left: 0.25rem; }
.hero-note .addr { color: #fff; font-weight: 600; }
.hero-note .copy { color: #fff; }
.closing-note .addr { color: var(--navy-deep); }

/* Pull quotes */
#results .pull { margin: 0 auto; max-width: 54rem; text-align: center; }
#results .pull blockquote { margin: 0; }
#results .pull blockquote p { max-width: none; font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.25rem); line-height: 1.3; color: var(--navy-deep); letter-spacing: -0.01em; }
#results .pull figcaption { font-family: var(--sans); font-size: var(--t-ui); color: var(--slate); }
#results .pull--small { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--rule); max-width: 42rem; }
#results .pull--small blockquote p { font-size: var(--t-lead); }
#results .disclaim { margin: 2.5rem auto 0; text-align: center; }

/* What you get: the opinion as an object */
.opinion { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.doc { background: #fff; border: 1px solid var(--rule); box-shadow: 0 30px 60px -30px rgba(34,37,74,.35), 0 2px 6px rgba(34,37,74,.06); padding: clamp(1.5rem, 3vw, 2.5rem); }
.doc-title { font-size: 1.6rem; color: var(--navy-deep); padding-bottom: 1rem; margin: 0 0 0.25rem; border-bottom: 1px solid var(--rule); max-width: none; }
.doc ol { list-style: none; margin: 0; padding: 0; counter-reset: d; }
.doc li { counter-increment: d; display: grid; grid-template-columns: 2.25rem 1fr; column-gap: 0.9rem; padding: 0.85rem 0; border-bottom: 1px solid var(--rule); }
.doc li:last-child { border-bottom: 0; }
.doc li::before { content: counter(d); grid-row: span 2; width: 1.9rem; height: 1.9rem; border: 1.5px solid var(--navy); border-radius: 0; display: flex; align-items: center; justify-content: center; font-size: 0.95rem; color: var(--navy); margin-top: 0.1rem; }
.doc li:last-child::before { background: var(--navy); color: #fff; }
.doc b { font-weight: 500; font-size: 1.2rem; color: var(--navy-deep); line-height: 1.3; }
.doc span { font-family: var(--sans); font-size: var(--t-ui); color: var(--slate); }
.doc li:last-child span { color: var(--navy); font-weight: 600; }
@media (max-width: 860px) { .opinion { grid-template-columns: 1fr; } }

/* Physician tiles */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.tiles li { background: #fff; border-top: 3px solid var(--navy); padding: 1.5rem 1.4rem 1.6rem; }
.tiles b { display: block; font-weight: 500; font-size: clamp(1.5rem, 1.2rem + 0.8vw, 1.9rem); line-height: 1.15; color: var(--navy-deep); }
.tiles span { display: block; margin-top: 0.5rem; font-family: var(--sans); font-size: var(--t-ui); color: var(--slate); line-height: 1.5; }
@media (max-width: 960px) { .tiles { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } }

/* ---------- Institutional pass: photography, credentials, quote cards ---------- */
.hero.hero--photo { position: relative; background: var(--navy-deep) var(--hero, url('/img/photo-court.jpg')) center 50% / cover no-repeat; isolation: isolate; }
.hero--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(34,37,74,.94) 0%, rgba(34,37,74,.8) 42%, rgba(34,37,74,.45) 100%); }
.hero.hero--photo { padding: clamp(4rem, 3rem + 5vw, 8rem) 0; }

.creds { background: var(--navy); color: #fff; border-top: 1px solid rgba(255,255,255,.18); }
.creds ul { list-style: none; margin: 0; padding: clamp(1.75rem, 3vw, 2.5rem) 0 1.25rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.creds li { border-left: 1px solid rgba(255,255,255,.3); padding-left: 1.25rem; }
.creds li:first-child { border-left: 0; padding-left: 0; }
.creds b { display: block; font-weight: 500; font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.3rem); line-height: 1.1; color: #fff; }
.creds span { display: block; margin-top: 0.35rem; font-family: var(--sans); font-size: var(--t-ui); color: var(--on-navy-quiet); }
.creds p { margin: 0; max-width: none; padding: 1rem 0 1.5rem; border-top: 1px solid rgba(255,255,255,.18); font-style: italic; color: var(--on-navy-quiet); text-align: center; font-size: 1.0625rem; }
@media (max-width: 860px) { .creds ul { grid-template-columns: repeat(2, minmax(0,1fr)); } .creds li:nth-child(3) { border-left: 0; padding-left: 0; } }

.qcard { margin: 2rem 0 0; padding: 1.5rem 1.6rem; background: var(--mist); border-left: 3px solid var(--navy); }
.qcard blockquote { margin: 0; }
.qcard blockquote p { margin: 0; max-width: none; font-size: 1.125rem; line-height: 1.5; color: var(--navy-deep); }
.qcard figcaption { margin-top: 0.8rem; font-family: var(--sans); font-size: var(--t-sm); color: var(--slate); }

.photo-band { position: relative; isolation: isolate; background: var(--navy-deep) var(--photo) center / cover no-repeat; }
.photo-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(34,37,74,.9); }
.photo-band h2 { color: #fff; }
.photo-band .disclaim { color: var(--on-navy-quiet); }
.qgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.75rem); margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.qcard--dark { margin: 0; background: rgba(255,255,255,.07); border-left-color: #fff; backdrop-filter: blur(2px); }
.qcard--dark blockquote p { color: #fff; font-size: 1.1875rem; }
.qcard--dark figcaption { color: var(--on-navy-quiet); }
@media (max-width: 760px) { .qgrid { grid-template-columns: 1fr; } }

.photo-band--close::before { background: rgba(34,37,74,.86); }
.photo-band--close .frame-inner { text-align: center; padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 3rem); }
.photo-band--close .lead { color: #fff; margin-left: auto; margin-right: auto; }
.photo-band--close .btn-row { justify-content: center; }
.photo-band--close .closing-note, .photo-band--close .closing-note a { color: var(--on-navy-quiet); }
.photo-band--close .addr { color: #fff; }
.photo-band--close .copy { color: #fff; }
@media (max-width: 860px) { .hero--photo::before { background: rgba(34,37,74,.88); } }
.closing-note { max-width: none; text-align: center; }

/* Simplified pass */
.trustband { background: var(--navy); }
.trustband p { margin: 0 auto; max-width: none; text-align: center; padding: clamp(1.6rem, 3vw, 2.4rem) 0; color: #fff; font-size: clamp(1.4rem, 1rem + 1.4vw, 2.1rem); letter-spacing: -0.01em; line-height: 1.25; }
.tiles li { display: flex; align-items: flex-end; min-height: 7.5rem; }
.steps--bare li { padding-top: 1.1rem; }
.steps--bare h3 { font-size: 1.375rem; margin: 0; }
.doc li { padding: 1rem 0; align-items: center; }
.doc li::before { grid-row: auto; }
.doc b { font-size: 1.3rem; }
.hero-video figcaption.visually-hidden + .transcript { margin-top: 1rem; }

/* Veterans page */
.hero--short.hero.hero--photo { padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0; }
.hero--short .wrap { grid-template-columns: minmax(0, 1fr); }
.hero--short h1 { max-width: 18ch; }
.hero--short .lead { max-width: 40rem; }
.vet-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.vet-steps { margin: 0 0 1.75rem; padding-left: 1.25rem; }
.vet-steps li { margin-bottom: 0.9rem; padding-left: 0.25rem; }
.vet-form { background: var(--mist); padding: clamp(1.5rem, 3vw, 2.25rem); border-top: 3px solid var(--navy); }
.vet-form .hint { font-family: var(--sans); font-size: var(--t-sm); color: var(--slate); }
.fine { margin-top: 1.25rem; font-family: var(--sans); font-size: var(--t-sm); color: var(--slate); line-height: 1.55; }
.crisis { margin: 0 auto; text-align: center; max-width: none; font-size: 1.125rem; }
@media (max-width: 860px) { .vet-grid { grid-template-columns: 1fr; } }

.vet-grid .prose h2 { font-size: 1.75rem; margin-top: 2rem; }
.vet-grid .prose h2:first-child { margin-top: 0; }

/* ---------- Cycle 1 ---------- */
.vid { position: relative; }
.vid .play { position: absolute; left: 50%; bottom: 14%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--sans); font-weight: 600; font-size: var(--t-ui); color: var(--navy-deep); background: #fff; border: 0; padding: 0.8rem 1.25rem; min-height: 48px; cursor: pointer; }
.vid .play span { width: 0; height: 0; border-left: 12px solid var(--navy-deep); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.vid .play:hover { background: var(--mist); }
.vid.is-playing .play { display: none; }
.hero-note { margin-top: 1rem; }

.credrow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--navy); border-bottom: 1px solid var(--rule); }
.credrow li { padding: 1.5rem 1.25rem 1.6rem; font-size: clamp(1.3rem, 1rem + 0.9vw, 1.7rem); line-height: 1.2; color: var(--navy-deep); border-left: 1px solid var(--rule); }
.credrow li:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 860px) { .credrow { grid-template-columns: 1fr 1fr; } .credrow li:nth-child(3) { border-left: 0; padding-left: 0; } .credrow li:nth-child(n+3) { border-top: 1px solid var(--rule); } }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: t; position: relative; }
.timeline::before { content: ""; position: absolute; left: 1.1rem; right: 10%; top: 1.1rem; height: 2px; background: var(--navy); }
.timeline li { counter-increment: t; position: relative; padding-top: 3.25rem; padding-right: 1rem; font-size: 1.25rem; line-height: 1.25; color: var(--navy-deep); }
.timeline li::before { content: counter(t); position: absolute; top: 0; left: 0; width: 2.25rem; height: 2.25rem; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; }
@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { left: 1.1rem; right: auto; top: 0.5rem; bottom: 0.5rem; width: 2px; height: auto; }
  .timeline li { padding: 0.35rem 0 1.1rem 3.25rem; }
}

.page-head--photo { position: relative; isolation: isolate; border-bottom: 0; background: var(--navy-deep) var(--hero) center / cover no-repeat; color: #fff; }
.page-head--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(34,37,74,.94), rgba(34,37,74,.8) 55%, rgba(34,37,74,.6)); }
.page-head--photo h1 { color: #fff; }
.page-head--photo .lead { color: var(--on-navy-quiet); }
@media (max-width: 860px) { .page-head--photo::before { background: rgba(34,37,74,.88); } }

.services--labels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.services--labels div { padding: 1.1rem 0; }
.services--labels dt { font-size: 1.375rem; }
@media (max-width: 860px) { .services--labels { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .services--labels { grid-template-columns: 1fr; } }
.field-row { align-items: end; }
.crisis-band { background: var(--mist); padding: 1.6rem 0; border-top: 1px solid var(--rule); }

/* Video gets its own section */
.hero--solo .wrap { grid-template-columns: minmax(0, 1fr); }
.hero--solo h1 { max-width: 16ch; }
.hero--solo .lead { max-width: 34rem; }
.wrap--wide { max-width: 96rem; }
.video-section { padding-bottom: clamp(3rem, 2rem + 3vw, 5rem); }
.video-section h2 { text-align: center; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.feature-video { margin: 0 auto; max-width: 92rem; }
.feature-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--navy-deep); box-shadow: 0 40px 80px -40px rgba(34,37,74,.45); outline: 1px solid var(--rule); outline-offset: 8px; }
.feature-video .vid .play { bottom: 12%; font-size: 1.0625rem; padding: 1rem 1.6rem; min-height: 56px; }
.feature-video .transcript { color: var(--slate); text-align: center; }
.feature-video .transcript summary { color: var(--navy); margin: 0.75rem auto 0; }
.feature-video .transcript div { background: var(--mist); text-align: left; max-width: 48rem; margin: 0.75rem auto 0; }
.feature-video .transcript p { color: var(--ink); }

/* Team */
.credrow--detail li b { display: block; font-weight: 500; }
.credrow--detail li span { display: block; margin-top: 0.45rem; font-family: var(--sans); font-size: var(--t-ui); line-height: 1.5; color: var(--slate); }
.credrow--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .credrow--3 { grid-template-columns: 1fr; } .credrow--3 li { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); } .credrow--3 li:first-child { border-top: 0; } }
.team-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
@media (max-width: 860px) { .team-grid { grid-template-columns: 1fr; } }
.cv-band { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cv-band h2 { margin-bottom: 0.3em; }
.cv-band p { margin: 0; }
.qcard--wide { grid-column: 1 / -1; }
.qcard--wide blockquote p { font-size: clamp(1.25rem, 1rem + 0.7vw, 1.55rem); line-height: 1.45; }
.qcard--dark figcaption b { color: #fff; font-weight: 600; }
.qwall { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: clamp(1.75rem, 3vw, 2.25rem); border-top: 1px solid rgba(255,255,255,.22); }
.qwall-title { font-family: var(--sans); font-size: var(--t-sm); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-navy-quiet); margin: 0 0 1.25rem; }
.qwall ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem clamp(1.25rem, 2.5vw, 2rem); }
.qwall li { border-top: 1px solid rgba(255,255,255,.22); padding-top: 0.9rem; }
.qwall q { display: block; font-style: italic; font-size: 1.0625rem; line-height: 1.45; color: #fff; quotes: "\201C" "\201D"; }
.qwall span { display: block; margin-top: 0.45rem; font-family: var(--sans); font-size: var(--t-sm); color: var(--on-navy-quiet); }
@media (max-width: 1000px) { .qwall ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .qwall ul { grid-template-columns: 1fr; } }

/* Physicians with photo */
.phys { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.phys-photo { margin: 0; }
.phys-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 35%; border: 1px solid var(--rule); }
.section-head--stack { display: block; }
.section-head--stack .lead { margin-top: 1rem; }
.phys .credrow { grid-template-columns: 1fr 1fr; }
.phys .credrow li:nth-child(3) { border-left: 0; padding-left: 0; }
.phys .credrow li:nth-child(n+3) { border-top: 1px solid var(--rule); }
@media (max-width: 860px) { .phys { grid-template-columns: 1fr; } .phys-photo img { aspect-ratio: 16 / 9; } }

/* Quotes: three equal, then a moving strip */
.qgrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.qgrid--3 .qcard { display: flex; flex-direction: column; justify-content: space-between; }
.qgrid--3 .qcard blockquote p { font-size: 1.125rem; line-height: 1.55; }
@media (max-width: 960px) { .qgrid--3 { grid-template-columns: 1fr; } }
.marquee { margin-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: kms-marquee 70s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee ul { list-style: none; margin: 0; padding: 0; display: flex; }
.marquee li { flex: none; width: 22rem; padding: 1.4rem 2rem; border-right: 1px solid rgba(255,255,255,.18); }
.marquee q { display: block; font-style: italic; color: #fff; font-size: 1.0625rem; line-height: 1.45; }
.marquee span { display: block; margin-top: 0.4rem; font-family: var(--sans); font-size: var(--t-sm); color: var(--on-navy-quiet); }
@keyframes kms-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; width: auto; }
  .marquee ul[aria-hidden] { display: none; }
  .marquee ul { flex-wrap: wrap; max-width: var(--wrap); margin: 0 auto; }
}
#results .disclaim { margin-top: 2rem; text-align: center; margin-left: auto; margin-right: auto; }
/* Quotes: Kyle left spanning two rows, Brady and Meredith stacked right */
.qgrid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.qgrid--3 .qcard:first-child { grid-row: span 2; }
.qgrid--3 .qcard { padding: 1.75rem 2rem; }
.qgrid--3 .qcard blockquote p::before { content: "\201C"; display: block; font-size: 3rem; line-height: 0.6; color: var(--on-navy-quiet); margin-bottom: 0.75rem; }
.qgrid--3 .qcard:first-child blockquote p { font-size: clamp(1.2rem, 1rem + 0.5vw, 1.375rem); line-height: 1.55; }
@media (max-width: 860px) { .qgrid--3 { grid-template-columns: 1fr; } .qgrid--3 .qcard:first-child { grid-row: auto; } }
.marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
/* Three equal quotes */
.qgrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.qgrid--3 .qcard:first-child { grid-row: auto; }
.qgrid--3 .qcard:first-child blockquote p, .qgrid--3 .qcard blockquote p { font-size: 1.125rem; line-height: 1.55; }
@media (max-width: 960px) { .qgrid--3 { grid-template-columns: 1fr; } }
/* Quotes as full-width horizontal rows */
.qrows { display: grid; gap: 1.25rem; margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.qrows .qcard { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) 15rem; gap: 2.5rem; align-items: center; padding: 1.75rem 2.25rem; }
.qrows .qcard blockquote p { font-size: clamp(1.125rem, 1rem + 0.35vw, 1.3rem); line-height: 1.55; }
.qrows .qcard blockquote p::before { content: none; }
.qrows .qcard figcaption { margin: 0; padding-left: 1.5rem; border-left: 1px solid rgba(255,255,255,.25); font-size: var(--t-ui); line-height: 1.5; }
.qrows .qcard figcaption b { display: block; font-size: 1.0625rem; }
@media (max-width: 860px) { .qrows .qcard { grid-template-columns: 1fr; gap: 1rem; } .qrows .qcard figcaption { border-left: 0; padding-left: 0; } }

.page-head--photo[style*='photo-physician'] { background-position: center 30%; }

/* Soft blur on banner photos: image moves to a blurred layer under the navy overlay */
.hero.hero--photo, .page-head--photo, .photo-band { background-image: none; overflow: hidden; }
.hero--photo::after, .page-head--photo::after { content: ""; position: absolute; inset: -16px; z-index: -2; background: var(--hero, url('/img/photo-court.jpg')) center / cover no-repeat; filter: blur(3px); }
.photo-band::after { content: ""; position: absolute; inset: -16px; z-index: -2; background: var(--photo) center / cover no-repeat; filter: blur(3px); }

/* Video: the title card itself is the play control */
.vid .play, .feature-video .vid .play { inset: 0; left: 0; bottom: 0; transform: none; width: 100%; height: 100%; min-height: 0; padding: 0 0 6%; display: flex; align-items: flex-end; justify-content: center; background: transparent; color: rgba(255,255,255,.62); font-family: var(--sans); font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; transition: color .2s; }
.vid .play:hover, .vid .play:focus-visible { background: transparent; color: #fff; }
.vid .play:focus-visible { outline: 2px solid #fff; outline-offset: -6px; }
.vid .play span { display: none; }

/* ===== Homepage top, white: offer on the left, strongest testimonial on the right ===== */
.hero2 { background: #fff; padding: clamp(3.5rem, 2rem + 5vw, 6.5rem) 0 clamp(3rem, 2rem + 4vw, 5.5rem); border-bottom: 1px solid var(--rule); }
.hero2-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.hero2 .eyebrow { color: var(--navy); }
.hero2 h1 { color: var(--navy-deep); font-size: clamp(2.3rem, 1.6rem + 2.6vw, 3.6rem); line-height: 1.08; max-width: 15ch; margin: 0; }
.hero2 .lead { color: var(--slate); max-width: 31rem; margin-top: 1.4rem; }
.hero2 .btn-row { margin-top: 2rem; }
.hero2-quote { margin: 7px; padding: clamp(1.75rem, 3vw, 2.5rem); border: 1px solid var(--navy); outline: 1px solid var(--navy); outline-offset: 6px; background: #fff; }
.hero2-quote blockquote { margin: 0; }
.hero2-quote p { margin: 0; max-width: none; font-size: clamp(1.15rem, 1rem + 0.45vw, 1.35rem); line-height: 1.55; color: var(--navy-deep); }
.hero2-quote p::before { content: "\201C"; display: block; font-size: 3.2rem; line-height: 0.7; color: var(--navy); margin-bottom: 0.5rem; }
.hero2-quote figcaption { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--rule); font-family: var(--sans); font-size: var(--t-ui); color: var(--slate); }
.hero2-quote figcaption b { color: var(--navy-deep); font-weight: 600; }
@media (max-width: 900px) { .hero2-grid { grid-template-columns: 1fr; } .hero2-quote { margin: 0 7px; } }

/* Testimonials, light */
.tq { background: var(--mist); }
.tq h2 { text-align: center; color: var(--navy-deep); max-width: none; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.tq-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 2.5vw, 2rem); }
.tq-pair figure { margin: 0; background: #fff; border-left: 3px solid var(--navy); padding: clamp(1.5rem, 2.5vw, 2rem); display: flex; flex-direction: column; justify-content: space-between; }
.tq-pair blockquote { margin: 0; }
.tq-pair p { margin: 0; max-width: none; font-size: 1.125rem; line-height: 1.55; color: var(--navy-deep); }
.tq-pair figcaption { margin-top: 1.1rem; font-family: var(--sans); font-size: var(--t-ui); color: var(--slate); }
.tq-pair figcaption b { color: var(--navy-deep); font-weight: 600; }
.tq-wall { list-style: none; margin: clamp(2.25rem, 4vw, 3rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem clamp(1.25rem, 2.5vw, 2rem); }
.tq-wall li { border-top: 1px solid var(--rule); padding-top: 0.9rem; }
.tq-wall q { display: block; font-style: italic; font-size: 1.0625rem; line-height: 1.45; color: var(--navy-deep); }
.tq-wall span { display: block; margin-top: 0.45rem; font-family: var(--sans); font-size: var(--t-sm); color: var(--slate); }
.tq-disclaim { text-align: center; margin: clamp(2rem, 4vw, 2.75rem) auto 0; font-family: var(--sans); font-size: var(--t-sm); color: var(--slate); max-width: none; }
@media (max-width: 1000px) { .tq-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .tq-pair, .tq-wall { grid-template-columns: 1fr; } }

/* Embedded Google Form on Submit a case */
.gform iframe { display: block; width: 100%; height: 2050px; border: 1px solid var(--rule); background: #fff; }
.gform-alt { margin-top: 0.9rem; font-family: var(--sans); font-size: var(--t-sm); color: var(--slate); }
@media (max-width: 700px) { .gform iframe { height: 2300px; } }

/* ===== Standard navy photo banner (same height on every page) ===== */
.banner { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-deep); color: #fff; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(34,37,74,.95) 0%, rgba(34,37,74,.85) 50%, rgba(34,37,74,.7) 100%); }
.banner::after { content: ""; position: absolute; inset: -16px; z-index: -2; background: var(--hero) center / cover no-repeat; filter: blur(3px); }
.banner, .page-head--photo, .hero--short.hero.hero--photo { min-height: 30rem; display: flex; align-items: center; padding: clamp(3rem, 2rem + 3vw, 4.5rem) 0; box-sizing: border-box; }
.banner > .wrap, .page-head--photo > .wrap, .hero--short.hero.hero--photo > .wrap { width: 100%; }
.banner h1 { color: #fff; font-size: clamp(2.2rem, 1.6rem + 2.2vw, 3.3rem); line-height: 1.1; max-width: 16ch; margin: 0; }
.banner .lead { color: var(--on-navy-quiet); max-width: 30rem; margin-top: 1.25rem; }
.banner .btn-row { margin-top: 1.75rem; }
.banner-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (max-width: 900px) { .banner, .page-head--photo, .hero--short.hero.hero--photo { min-height: 0; } .banner-grid { grid-template-columns: 1fr; } }

/* Rotating quote card */
.rq { background: #fff; color: var(--navy-deep); padding: clamp(1.5rem, 2.5vw, 2.1rem) clamp(1.5rem, 2.5vw, 2.25rem) 1.1rem; outline: 1px solid rgba(255,255,255,.7); outline-offset: 7px; margin: 7px; }
.rq-track { display: grid; }
.rq-slide { grid-area: 1 / 1; margin: 0; display: flex; flex-direction: column; justify-content: center; transition: opacity .6s ease; }
.rq-slide[hidden] { display: flex; visibility: hidden; opacity: 0; }
.rq-slide blockquote { margin: 0; }
.rq-slide p { margin: 0; max-width: none; font-size: clamp(1.05rem, 0.95rem + 0.3vw, 1.2rem); line-height: 1.55; color: var(--navy-deep); }
.rq-slide p::before { content: "\201C"; display: block; font-size: 2.8rem; line-height: 0.7; color: var(--navy); margin-bottom: 0.4rem; }
.rq-slide figcaption { margin-top: 1rem; font-family: var(--sans); font-size: var(--t-ui); color: var(--slate); }
.rq-slide figcaption b { color: var(--navy-deep); font-weight: 600; }
.rq-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid var(--rule); }
.rq-prev, .rq-next { background: none; border: 0; font-size: 1.6rem; line-height: 1; color: var(--navy); cursor: pointer; min-width: 44px; min-height: 44px; }
.rq-prev:hover, .rq-next:hover { color: var(--navy-deep); }
.rq-dots { display: flex; gap: 0.25rem; }
.rq-dot { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.rq-dot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; border: 1px solid var(--navy); }
.rq-dot[aria-current="true"]::after { background: var(--navy); }

/* Quote marks on the testimonial pair */
.tq-pair p::before { content: "\201C"; display: block; font-size: 2.6rem; line-height: 0.7; color: var(--navy); margin-bottom: 0.4rem; }

/* What you get */
.gets { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.gets li { padding: 0.85rem 0; border-top: 1px solid var(--rule); font-size: 1.0625rem; line-height: 1.5; color: var(--ink); }
.gets li:last-child { border-bottom: 1px solid var(--rule); }
.gets b { color: var(--navy-deep); font-weight: 600; }
.price { margin-top: 1.25rem; font-family: var(--sans); font-size: var(--t-ui); color: var(--slate); }
.tq-pair { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .tq-pair { grid-template-columns: 1fr; } }

/* Every photo banner is the same height on desktop */
@media (min-width: 901px) {
  .banner, .page-head--photo, .hero--short.hero.hero--photo { height: 37.5rem; min-height: 0; padding: 3rem 0; }
}
/* Slide of three short quotes */
.rq-slide--short blockquote + figcaption { margin-top: 0.35rem; margin-bottom: 1.1rem; }
.rq-slide--short figcaption:last-child { margin-bottom: 0; }
.rq-slide--short p { font-size: clamp(1.05rem, 0.95rem + 0.3vw, 1.2rem); }
.rq-slide--short blockquote + blockquote, .rq-slide--short figcaption + blockquote p::before { display: none; }

/* "What you get" and "Who writes the opinions" share one grid so their columns line up */
.opinion, .phys { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
@media (max-width: 860px) { .opinion, .phys { grid-template-columns: 1fr; } }

/* How it works: clickable steps */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.steps::before { content: ""; position: absolute; left: 1.1rem; right: 10%; top: 1.1rem; height: 2px; background: var(--navy); }
.step { position: relative; display: block; text-align: left; background: none; border: 0; padding: 3.25rem 1rem 0.75rem 0; cursor: pointer; font: inherit; color: var(--slate); }
.step-n { position: absolute; top: 0; left: 0; width: 2.25rem; height: 2.25rem; display: flex; align-items: center; justify-content: center; background: #fff; border: 2px solid var(--navy); color: var(--navy); font-family: var(--sans); font-weight: 600; }
.step-t { display: block; font-size: 1.25rem; line-height: 1.25; }
.step[aria-selected="true"] { color: var(--navy-deep); }
.step[aria-selected="true"] .step-n { background: var(--navy); color: #fff; }
.step[aria-selected="true"] .step-t { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.step:hover { color: var(--navy-deep); }
.step:focus-visible { outline: 2px solid var(--navy); outline-offset: 4px; }
.step-panels { margin-top: 1.5rem; background: var(--mist); border-left: 3px solid var(--navy); padding: 1.4rem 1.75rem; min-height: 5.5rem; }
.step-panel p { margin: 0; max-width: 46rem; font-size: 1.125rem; line-height: 1.6; color: var(--ink); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .steps::before { left: 1.1rem; right: auto; top: 0.5rem; bottom: 0.5rem; width: 2px; height: auto; }
  .step { padding: 0.35rem 0 0.9rem 3.25rem; }
}

/* Section heads: heading and lead share a baseline */
.section-head { align-items: baseline; }
.section-head .sub { margin-top: 0.6rem; color: var(--slate); font-size: 1.0625rem; max-width: 36rem; }

/* How it works: hover tiles */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.flow li { position: relative; min-height: 11.5rem; padding: 1.4rem 1.25rem; border: 1px solid var(--navy); background: #fff; color: var(--navy-deep); cursor: default; transition: background .25s ease, color .25s ease; overflow: hidden; }
.flow-n { display: flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; background: var(--navy); color: #fff; font-family: var(--sans); font-weight: 600; transition: background .25s, color .25s; }
.flow-t { display: block; margin-top: 1rem; font-size: 1.3rem; line-height: 1.25; }
.flow-d { display: block; margin-top: 0.75rem; font-family: var(--sans); font-size: var(--t-ui); line-height: 1.5; opacity: 0; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease; }
.flow li::after { content: "+"; position: absolute; right: 1rem; top: 1rem; font-family: var(--sans); font-size: 1.2rem; color: var(--navy); transition: opacity .2s; }
.flow li:hover, .flow li:focus-visible { background: var(--navy); color: #fff; outline: none; }
.flow li:hover .flow-n, .flow li:focus-visible .flow-n { background: #fff; color: var(--navy); }
.flow li:hover .flow-d, .flow li:focus-visible .flow-d { opacity: 1; transform: none; }
.flow li:hover::after, .flow li:focus-visible::after { opacity: 0; }
@media (hover: none), (max-width: 860px) { .flow-d { opacity: 1; transform: none; } .flow li::after { display: none; } }
@media (max-width: 1000px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .flow { grid-template-columns: 1fr; } .flow li { min-height: 0; } }

/* For law firms: "At a glance" card in the banner */
.terms-card { background: #fff; color: var(--navy-deep); padding: clamp(1.5rem, 2.5vw, 2rem) clamp(1.5rem, 2.5vw, 2.25rem); outline: 1px solid rgba(255,255,255,.7); outline-offset: 7px; margin: 7px; }
.terms-title { margin: 0 0 0.5rem; font-family: var(--sans); font-size: var(--t-sm); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }
.terms-card ul { list-style: none; margin: 0; padding: 0; }
.terms-card li { display: flex; justify-content: space-between; gap: 1.5rem; align-items: baseline; padding: 0.85rem 0; border-top: 1px solid var(--rule); }
.terms-card li:first-child { border-top: 0; }
.terms-card b { font-weight: 500; font-size: 1.2rem; color: var(--navy-deep); }
.terms-card span { font-family: var(--sans); font-size: var(--t-ui); color: var(--slate); text-align: right; }
.banner .eyebrow { color: var(--on-navy-quiet); }

/* For law firms: C&P band and examples grid */
.cp-band .wrap { max-width: 52rem; text-align: center; }
.cp-band .lead { margin: 1rem auto 0; color: var(--on-navy); }
.exgrid { list-style: none; margin: clamp(1.5rem, 3vw, 2.25rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 4vw, 3rem); }
.exgrid li { padding: 1.1rem 0; border-top: 1px solid var(--rule); }
.exgrid b { display: block; font-weight: 500; font-size: 1.25rem; color: var(--navy-deep); }
.exgrid span { display: block; margin-top: 0.25rem; font-family: var(--sans); font-size: var(--t-ui); color: var(--slate); }
@media (max-width: 860px) { .exgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .exgrid { grid-template-columns: 1fr; } .terms-card li { flex-direction: column; gap: 0.2rem; } .terms-card span { text-align: left; } }

/* How it works, v2: timeline at rest; hovering a step fills its column navy and shows the detail */
.flow { gap: 0; position: relative; }
.flow::before { content: ""; position: absolute; left: 2.35rem; right: 10%; top: 2.35rem; height: 2px; background: var(--navy); z-index: 0; }
.flow li { min-height: 0; border: 0; background: transparent; padding: 1.25rem 1.25rem 1.4rem; z-index: 1; }
.flow li::after { content: none; }
.flow-n { background: #fff; color: var(--navy); border: 2px solid var(--navy); position: relative; z-index: 1; }
.flow-t { margin-top: 1.1rem; }
.flow-d { min-height: 4.5em; }
.flow li:hover, .flow li:focus-visible { background: var(--navy); color: #fff; }
.flow li:hover .flow-n, .flow li:focus-visible .flow-n { background: #fff; color: var(--navy); border-color: #fff; }
@media (max-width: 1000px) { .flow::before { display: none; } .flow { gap: 0.5rem; } }
@media (hover: none), (max-width: 860px) { .flow-d { min-height: 0; } }
/* Details always readable; hover highlights the step */
.flow-d { opacity: 1; transform: none; min-height: 0; color: var(--slate); }
.flow li:hover .flow-d, .flow li:focus-visible .flow-d { color: rgba(255,255,255,.88); }

/* Recent opinions: slow, continuous ticker */
.ticker { position: relative; display: flex; overflow: hidden; margin-top: clamp(1.5rem, 3vw, 2.25rem); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-row { list-style: none; margin: 0; padding: 0; display: flex; flex: none; animation: tick 60s linear infinite; }
.ticker:hover .ticker-row { animation-play-state: paused; }
.ticker-row li { flex: none; padding: 1.25rem 2.5rem 1.25rem 0; margin-right: 2.5rem; border-right: 1px solid var(--rule); white-space: nowrap; }
.ticker-row b { display: block; font-weight: 500; font-size: 1.25rem; color: var(--navy-deep); }
.ticker-row span { display: block; margin-top: 0.25rem; font-family: var(--sans); font-size: var(--t-ui); color: var(--slate); }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker { -webkit-mask-image: none; mask-image: none; }
  .ticker-row { animation: none; flex-wrap: wrap; }
  .ticker-row[aria-hidden="true"] { display: none; }
}
/* C&P band: heading left, text right, no centered funnel */
.cp-band .wrap.cp-head { max-width: var(--wrap, 75rem); text-align: left; margin-bottom: 0; }
.cp-band h2 { color: #fff; }
.cp-band .cp-head .lead { margin: 0; color: var(--on-navy); }

/* For law firms: stat tiles in the banner */
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.25); border: 1px solid rgba(255,255,255,.25); }
.stats li { background: rgba(34,37,74,.72); padding: clamp(1.4rem, 2.5vw, 2rem); }
.stats b { display: block; font-weight: 500; font-size: clamp(2rem, 1.5rem + 1.6vw, 2.9rem); line-height: 1; color: #fff; }
.stats span { display: block; margin-top: 0.7rem; font-family: var(--sans); font-size: var(--t-ui); line-height: 1.45; color: var(--on-navy-quiet); }
/* Why firms work with us */
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.why > div { border-top: 2px solid var(--navy); padding-top: 1.1rem; }
.why h3 { margin: 0; font-size: 1.3rem; font-weight: 500; color: var(--navy-deep); }
.why p { margin: 0.6rem 0 0; font-size: 1.0625rem; line-height: 1.55; color: var(--ink); }
@media (max-width: 1000px) { .why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why, .stats { grid-template-columns: 1fr; } }
.ticker-row { animation-duration: 110s; }
.ticker--rev { margin-top: 0; border-top: 0; }
.ticker--rev .ticker-row { animation-direction: reverse; animation-duration: 125s; }
.ticker-note { margin: 1rem 0 0; font-family: var(--sans); font-size: var(--t-sm); color: var(--slate); max-width: none; }
.ticker--long .ticker-row { animation-duration: 210s; }
.why--key { background: var(--navy); border-top-color: var(--navy) !important; padding: 1.1rem 1.25rem 1.3rem !important; }
.why--key h3, .why--key p { color: #fff; }

/* ---------- Comparison table (For law firms) ---------- */
.vs { width: 100%; border-collapse: collapse; margin-top: clamp(1.5rem, 3vw, 2.25rem); background: var(--paper); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.45; }
.vs th, .vs td { text-align: left; vertical-align: top; padding: 1.05rem 1.25rem; border-bottom: 1px solid var(--rule); }
.vs thead th { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; color: var(--navy-deep); border-bottom: 2px solid var(--navy); padding-top: 1.25rem; }
.vs thead th.vs-us { background: var(--navy-deep); color: #fff; border-bottom-color: var(--navy-deep); }
.vs tbody th { font-weight: 600; color: var(--navy-deep); width: 26%; }
.vs td { width: 37%; color: var(--slate); }
.vs td.vs-us { color: var(--ink); background: #f7f8fc; font-weight: 500; }
.vs tbody tr:last-child th, .vs tbody tr:last-child td { border-bottom: 0; }
.vs-y, .vs-n { display: inline-block; width: 1.25rem; height: 1.25rem; border-radius: 50%; margin: 0.1rem 0.65rem 0 0; vertical-align: -0.2rem; position: relative; flex: none; }
.vs-y { background: var(--navy); }
.vs-y::after { content: ""; position: absolute; left: 0.42rem; top: 0.22rem; width: 0.3rem; height: 0.6rem; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.vs-n { border: 1.5px solid #a3a7c2; }
.vs-n::before, .vs-n::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0.6rem; height: 1.5px; background: #8a8fb0; }
.vs-n::before { transform: translate(-50%, -50%) rotate(45deg); }
.vs-n::after { transform: translate(-50%, -50%) rotate(-45deg); }
.vs-note { margin: 0.9rem 0 0; font-family: var(--sans); font-size: var(--t-sm); color: var(--slate); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 700px) {
  .vs thead { display: none; }
  .vs, .vs tbody, .vs tr, .vs th, .vs td { display: block; width: 100%; }
  .vs tr { border-bottom: 1px solid var(--rule); padding: 0.9rem 1rem; }
  .vs tbody th, .vs td, .vs td.vs-us { width: 100%; border: 0; padding: 0.25rem 0; background: none; }
  .vs tbody th { padding-bottom: 0.4rem; }
  .vs td.vs-us::before { content: "Kensington: "; font-weight: 600; }
  .vs td:not(.vs-us)::before { content: "Large expert networks: "; font-weight: 600; }
}
@media (min-width: 701px) {
  .vs td { position: relative; padding-left: 3.25rem; }
  .vs td .vs-y, .vs td .vs-n { position: absolute; left: 1.25rem; top: 1.15rem; margin: 0; }
}

/* Veteran form: decision question + deadline note */
.vet-form fieldset.radios { border: 0; padding: 0; margin: 0 0 1.1rem; }
.vet-form fieldset.radios legend { font-family: var(--sans); font-weight: 600; font-size: var(--t-ui); margin-bottom: 0.6rem; padding: 0; line-height: 1.45; }
.vet-form fieldset.radios .check { margin-bottom: 0.4rem; }
.deadline-note { border-left: 3px solid var(--navy); background: var(--mist); padding: 0.9rem 1.1rem; margin: 0 0 1.1rem; font-family: var(--sans); font-size: var(--t-sm); line-height: 1.55; color: var(--ink); }
.deadline-note strong { color: var(--navy-deep); }

.gform--vet iframe { height: 2100px; }
@media (max-width: 700px) { .gform--vet iframe { height: 2380px; } }

.gform--req iframe { height: 2100px; }
@media (max-width: 700px) { .gform--req iframe { height: 2360px; } }

/* Quote wall as a slow scroller */
.ticker--quotes { margin-top: clamp(2.25rem, 4vw, 3rem); border: 0; }
.ticker--quotes .tq-wall { display: flex; margin: 0; gap: 0; grid-template-columns: none; animation-duration: 140s; }
.ticker--quotes .tq-wall li { width: 19rem; white-space: normal; border-top: 1px solid var(--rule); border-right: 0; padding: 0.9rem 0 0; margin-right: 2.25rem; }
@media (max-width: 760px) { .ticker--quotes .tq-wall li { width: 15rem; } }
@media (prefers-reduced-motion: reduce) { .ticker--quotes .tq-wall { flex-wrap: nowrap; overflow-x: auto; } }

.tq-sub { text-align: center; margin: -1.5rem auto 2.75rem; max-width: 40rem; }
.stats--3 { grid-template-columns: 1fr; }
.stats--3 li { display: grid; grid-template-columns: 11.5rem 1fr; align-items: center; gap: 1.25rem; }
.stats--3 b { white-space: nowrap; }
.stats--3 span { margin-top: 0; }
@media (max-width: 560px) { .stats--3 li { grid-template-columns: 1fr; gap: 0; } .stats--3 span { margin-top: 0.6rem; } }
.stats--3 li.stat-word b { white-space: normal; font-size: clamp(1.6rem, 1.2rem + 1.1vw, 2.15rem); line-height: 1.1; }

/* Board of Veterans' Appeals excerpts */
.bva-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); margin-top: clamp(1.75rem, 3.5vw, 2.5rem); }
.bva-grid figure { margin: 0; display: flex; flex-direction: column; justify-content: space-between; border-top: 3px solid var(--navy); padding-top: 1.25rem; }
.bva-grid blockquote { margin: 0; }
.bva-grid blockquote p { margin: 0; font-size: 1.125rem; line-height: 1.55; color: var(--ink); }
.bva-grid figcaption { margin-top: 1.25rem; font-family: var(--sans); }
.bva-grid figcaption b { display: block; font-weight: 600; font-size: var(--t-ui); color: var(--navy-deep); }
.bva-grid figcaption span { display: block; margin-top: 0.2rem; font-size: var(--t-sm); color: var(--slate); }
.bva-note { margin: clamp(1.5rem, 3vw, 2rem) 0 0; font-family: var(--sans); font-size: var(--t-sm); color: var(--slate); max-width: none; }
@media (max-width: 900px) { .bva-grid { grid-template-columns: 1fr; } }
.bva-grid figure { justify-content: flex-start; }
.bva-grid figcaption { order: -1; margin: 0 0 0.9rem; }
.bva-grid figcaption { order: 0; margin: 1.25rem 0 0; padding-top: 0.9rem; border-top: 1px solid var(--rule); }
.bva-grid figure { justify-content: space-between; }
.bva-grid blockquote p::before { content: "“"; } .bva-grid blockquote p::after { content: "”"; }

.tq .ticker--quotes { margin-top: 0; }

/* FAQ page */
.faq-page { padding-block: clamp(1.75rem, 3.5vw, 2.75rem); }
.faq-page + .faq-page { padding-top: 0; }
.faq-page h2 { margin-bottom: 1rem; }
.faq-page .faq details div p + p { margin-top: 0.8rem; }

/* Header: Submit a case as a button; on phones it sits beside Menu */
.header-cta { display: none; }
.nav .btn[aria-current="page"] { text-decoration: none; }
@media (max-width: 960px) {
  .header-cta { display: inline-flex; margin-left: auto; padding: 0.55rem 0.9rem; min-height: 44px; font-size: var(--t-ui); }
  .header-cta + .menu-toggle { margin-left: 0.5rem; }
  .nav .btn { display: none; }
}
@media (max-width: 380px) { .header-cta { padding: 0.55rem 0.7rem; } .brand img { height: 40px; } }
@media (max-width: 960px) { .site-header .wrap { gap: 0.6rem; } .header-cta { white-space: nowrap; } }
@media (max-width: 430px) { .brand img { height: 38px; } .header-cta, .menu-toggle { padding: 0.5rem 0.65rem; font-size: 0.875rem; } }
@media (max-width: 360px) { .brand img { height: 32px; } }
@media (max-width: 360px) { .site-header .wrap { gap: 0.4rem; padding-inline: 12px; } .header-cta, .menu-toggle { padding: 0.45rem 0.5rem; font-size: 0.8125rem; } .brand img { height: 30px; } }

/* ---------- "Submit a case": the logo's ring (solid button, gap, thin outer line) ---------- */
a.btn[href="/submit/"] { position: relative; border-radius: 0; }
a.btn[href="/submit/"]::before { content: ""; position: absolute; inset: -5px; border: 2px solid var(--navy); pointer-events: none; transition: inset .15s ease; }
a.btn[href="/submit/"]:hover::before { inset: -4px; }
a.btn[href="/submit/"]:focus-visible { outline-offset: 9px; }
.on-navy a.btn[href="/submit/"]::before { border-color: rgba(255,255,255,.9); }
.banner a.btn[href="/submit/"] { font-size: 1.0625rem; padding: 1.05rem 2rem; min-height: 56px; }
.banner a.btn[href="/submit/"]::before { inset: -6px; }
.banner a.btn[href="/submit/"]:hover::before { inset: -4px; }
/* not inside panels that already carry the double frame, and not on the phone header (it would read as a second logo) */
.frame a.btn[href="/submit/"]::before, a.btn.header-cta::before { display: none; }

/* ---------- Scotch rule: thick over thin, the logo's double rule laid flat ---------- */
.credrow, .fees-plain { border-top: 0; position: relative; padding-top: 6px; }
.credrow::before, .fees-plain::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-top: 2px solid var(--navy); border-bottom: 1px solid var(--navy); }
.fees-plain { padding-top: calc(2.5rem + 6px); }
.why > div:not(.why--key), .bva-grid figure { border-top: 0; position: relative; padding-top: calc(1.1rem + 6px); }
.why > div:not(.why--key)::before, .bva-grid figure::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-top: 2px solid var(--navy); border-bottom: 1px solid var(--navy); }
hr.scotch { border: 0; height: 6px; border-top: 2px solid var(--navy); border-bottom: 1px solid var(--navy); margin: 0 auto; max-width: var(--wrap); }
.why--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .why--3 { grid-template-columns: 1fr; } }
.why--key a { color: #fff; }
.why-link { margin-top: 0.9rem; white-space: nowrap; }
.more-link { margin-top: 1rem; font-family: var(--sans); font-size: var(--t-ui); font-weight: 600; }
.more-link a { color: var(--navy); text-underline-offset: 3px; }
.on-navy .more-link a { color: #fff; }

/* ---------- Tidy-up and accessibility pass (Nov 9) ---------- */
strong, b { font-weight: 600; }
button { font-family: inherit; }
.menu-toggle { border-radius: 0; }
.more-link a { text-underline-offset: 0.18em; }
/* connector lines stop at the last step */
.timeline::before { right: calc(20% - 1.1rem); }
.flow::before { right: calc(20% - 2.35rem + 1.25rem); }
@media (max-width: 860px) { .timeline::before { right: auto; } }
/* team: two-up standards row */
.credrow--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .credrow--2 { grid-template-columns: 1fr; } .credrow--2 li { border-left: 0; padding-left: 0; } .credrow--2 li + li { border-top: 1px solid var(--rule); } }
/* scope note: the "we don't do" line reads as a note, not a link */
.scope-note .not { font-family: var(--sans); font-size: var(--t-ui); color: var(--slate); text-align: left; }
/* law firms: tighten the gap after the why-cards */
section[aria-labelledby="why-title"] { padding-bottom: calc(var(--space) * 0.55); }
section[aria-labelledby="why-title"] + section { padding-top: calc(var(--space) * 0.55); }
/* video: a visible play cue */
.vid .play, .feature-video .vid .play { flex-direction: column; align-items: center; justify-content: flex-end; gap: 0.7rem; padding: 0 0 8%; color: rgba(255,255,255,.9); font-size: var(--t-sm); }
.vid .play .play-disc { display: block; width: 72px; height: 72px; border: 2px solid #fff; border-radius: 50%; position: relative; background: rgba(34,37,74,.35); transition: background .2s, transform .2s; }
.vid .play .play-disc::after { content: ""; position: absolute; left: 29px; top: 23px; border-left: 20px solid #fff; border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.vid .play:hover .play-disc, .vid .play:focus-visible .play-disc { background: rgba(34,37,74,.6); transform: scale(1.04); }
/* carousel: visible focus, bigger dots, pause */
.rq :focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.rq-dot { width: 44px; height: 44px; }
.rq-pause { background: none; border: 0; font-family: var(--sans); font-size: var(--t-sm); font-weight: 600; color: var(--navy); text-decoration: underline; text-underline-offset: 0.18em; min-height: 44px; padding: 0 0.5rem; cursor: pointer; order: 3; }
/* moving strips: pausable */
.ticker.is-paused .ticker-row { animation-play-state: paused; }
.ticker-toggle { display: block; margin: 0.5rem 0 0 auto; background: none; border: 0; font-family: var(--sans); font-size: var(--t-sm); font-weight: 600; color: var(--slate); text-decoration: underline; text-underline-offset: 0.18em; min-height: 44px; padding: 0 0.25rem; cursor: pointer; }
.on-navy .ticker-toggle { color: var(--on-navy-quiet); }
@media (prefers-reduced-motion: reduce) { .ticker-toggle { display: none; } }
/* tap targets */
.footer-grid li { margin-bottom: 0; }
.footer-grid li a { display: inline-block; padding: 0.55rem 0; }
.more-link a, .why-link a { display: inline-block; padding: 0.6rem 0; }
.transcript summary { min-height: 44px; display: flex; align-items: center; }
/* remove the unused comparison-table styles' effect: nothing uses .vs anymore */
/* Play cue: disc only, no visible label */
.vid .play, .feature-video .vid .play { justify-content: flex-end; padding: 0 0 7%; }
@media (max-width: 640px) {
  .vid .play, .feature-video .vid .play { padding: 0 0 4%; }
  .vid .play .play-disc { width: 48px; height: 48px; }
  .vid .play .play-disc::after { left: 19px; top: 15px; border-left-width: 14px; border-top-width: 9px; border-bottom-width: 9px; }
}
/* Our physicians: practice banner, attorney quote, stat band */
.cp-band .band-cite { margin: 1.1rem auto 0; font-family: var(--sans); font-size: var(--t-sm); color: var(--on-navy-quiet); }
.team-quote { max-width: 46rem; margin: 0 auto; text-align: center; }
.team-quote blockquote p { font-family: var(--serif); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); line-height: 1.3; color: var(--navy-deep); }
.team-quote blockquote p::before { content: "\201C"; }
.team-quote blockquote p::after { content: "\201D"; }
.team-quote figcaption { margin-top: 1.4rem; font-family: var(--sans); font-size: var(--t-ui); color: var(--slate); }
.team-quote figcaption b { color: var(--navy-deep); font-weight: 600; margin-right: 0.4rem; }
.team-quote::before { content: ""; display: block; width: 4rem; margin: 0 auto 2rem; border-top: 3px solid var(--navy); box-shadow: 0 5px 0 -4px var(--navy); height: 5px; }
.stat-band { background: var(--navy); color: #fff; text-align: center; }
.stat-big { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.stat-big b { font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 2rem + 5vw, 5.5rem); line-height: 1; color: #fff; letter-spacing: -0.01em; }
.stat-big span { font-family: var(--sans); font-size: var(--t-ui); letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-navy); max-width: 30rem; line-height: 1.6; }
.stat-band .stat-big { max-width: none; width: 100%; }
/* Our physicians: training block anchored by attorney quote */
.train-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.train-grid .quals { margin-top: 1.75rem; }
.team-quote--side { text-align: left; margin: 0; max-width: none; }
.team-quote--side::before { margin: 0 0 1.75rem; }
.team-quote--side blockquote p { font-size: clamp(1.4rem, 1.1rem + 1.1vw, 1.9rem); }
@media (max-width: 860px) { .train-grid { grid-template-columns: 1fr; } }
.team-quote blockquote { margin: 0; }
/* For law firms: "Not sure? Just ask" row under claims */
.ask-row { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--rule); }
.ask-row p { margin: 0; font-size: 1.125rem; color: var(--ink, var(--navy-deep)); }
.ask-row strong { color: var(--navy-deep); }
.ask-row p { font-size: 1.3rem; }
.gform--contact iframe { height: 1460px; } @media (max-width: 700px) { .gform--contact iframe { height: 1620px; } }
/* Footer: big Contact us button */
.site-footer a.footer-cta { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 22rem; min-height: 64px; margin-top: 2rem; font-size: 1.125rem; text-decoration: none; color: var(--navy-deep); }
.site-footer a.footer-cta { position: relative; border-radius: 0; }
.site-footer a.footer-cta::before { content: ""; position: absolute; inset: -6px; border: 2px solid rgba(255,255,255,.9); pointer-events: none; transition: inset .15s ease; }
.site-footer a.footer-cta:hover::before { inset: -4px; }
.site-footer a.footer-cta:focus-visible { outline-offset: 9px; }
.site-footer a.footer-cta { display: inline-flex; width: auto; max-width: none; min-height: 44px; margin-top: 1.4rem; padding: 0.7rem 1.4rem; font-size: var(--t-ui); }
.vid.is-playing .play, .feature-video .vid.is-playing .play { display: none !important; }
