@font-face { font-family: 'Taviraj'; font-style: italic; font-weight: 100; font-display: swap; src: url("/assets/fonts/taviraj-latin-100-italic.woff2") format("woff2"); }
@font-face { font-family: 'Taviraj'; font-style: normal; font-weight: 100; font-display: swap; src: url("/assets/fonts/taviraj-latin-100-normal.woff2") format("woff2"); }
@font-face { font-family: 'Taviraj'; font-style: italic; font-weight: 200; font-display: swap; src: url("/assets/fonts/taviraj-latin-200-italic.woff2") format("woff2"); }
@font-face { font-family: 'Taviraj'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/taviraj-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'Taviraj'; font-style: italic; font-weight: 300; font-display: swap; src: url("/assets/fonts/taviraj-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: 'Taviraj'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/taviraj-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Taviraj'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/taviraj-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Taviraj'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/taviraj-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Taviraj'; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/taviraj-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: 'Taviraj'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/taviraj-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Taviraj'; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/taviraj-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: 'Taviraj'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/taviraj-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Taviraj'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/taviraj-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Taviraj'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/taviraj-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Taviraj'; font-style: italic; font-weight: 800; font-display: swap; src: url("/assets/fonts/taviraj-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: 'Taviraj'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/taviraj-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'Taviraj'; font-style: italic; font-weight: 900; font-display: swap; src: url("/assets/fonts/taviraj-latin-900-italic.woff2") format("woff2"); }
@font-face { font-family: 'Taviraj'; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/taviraj-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: 'Geist'; font-style: italic; font-weight: 100; font-display: swap; src: url("/assets/fonts/geist-latin-100-italic.woff2") format("woff2"); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 100; font-display: swap; src: url("/assets/fonts/geist-latin-100-normal.woff2") format("woff2"); }
@font-face { font-family: 'Geist'; font-style: italic; font-weight: 200; font-display: swap; src: url("/assets/fonts/geist-latin-200-italic.woff2") format("woff2"); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/geist-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'Geist'; font-style: italic; font-weight: 300; font-display: swap; src: url("/assets/fonts/geist-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/geist-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Geist'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/geist-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/geist-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Geist'; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/geist-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/geist-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Geist'; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/geist-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/geist-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Geist'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/geist-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/geist-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Geist'; font-style: italic; font-weight: 800; font-display: swap; src: url("/assets/fonts/geist-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/geist-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'Geist'; font-style: italic; font-weight: 900; font-display: swap; src: url("/assets/fonts/geist-latin-900-italic.woff2") format("woff2"); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/geist-latin-900-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #f8f4ea;
  --fg-light-base-body: #1d211a;
  --fg-light-base-heading: #1d211a;
  --fg-light-base-muted: #4c5146;
  --fg-light-base-link: #136234;
  --fg-light-base-inverse: #1f2a24;
  --bg-light-card: #efe8d8;
  --fg-light-card-body: #1d211a;
  --fg-light-card-heading: #1d211a;
  --fg-light-card-muted: #4c5146;
  --fg-light-card-link: #136234;
  --fg-light-card-inverse: #1f2a24;
  --bg-light-elevated: #e4dcc8;
  --fg-light-elevated-body: #1d211a;
  --fg-light-elevated-heading: #1d211a;
  --fg-light-elevated-muted: #4c5146;
  --fg-light-elevated-link: #136234;
  --fg-light-elevated-inverse: #1f2a24;
  --brand-light-accent: #136234;
  --brand-light-accent-hover: #0e4d29;
  --brand-light-on-accent: #ffffff;
  --focus-light-ring: #136234;
  --focus-ring: var(--focus-light-ring);
  --border-light-default: #77766a;
  --border-light-subtle: #d6ceba;
}
.bg-surface-base { background: var(--bg-light-base); --fg-body: var(--fg-light-base-body); --fg-heading: var(--fg-light-base-heading); --fg-muted: var(--fg-light-base-muted); --fg-link: var(--fg-light-base-link); --fg-inverse: var(--fg-light-base-inverse); }
.bg-surface-card { background: var(--bg-light-card); --fg-body: var(--fg-light-card-body); --fg-heading: var(--fg-light-card-heading); --fg-muted: var(--fg-light-card-muted); --fg-link: var(--fg-light-card-link); --fg-inverse: var(--fg-light-card-inverse); }
.bg-surface-elevated { background: var(--bg-light-elevated); --fg-body: var(--fg-light-elevated-body); --fg-heading: var(--fg-light-elevated-heading); --fg-muted: var(--fg-light-elevated-muted); --fg-link: var(--fg-light-elevated-link); --fg-inverse: var(--fg-light-elevated-inverse); }
.text-role-body { color: var(--fg-body); overflow-wrap: anywhere; }
.text-role-heading { color: var(--fg-heading); overflow-wrap: anywhere; }
.text-role-muted { color: var(--fg-muted); }
.text-role-link { color: var(--fg-link); }
.text-role-inverse { color: var(--fg-inverse); }
.text-role-link { text-decoration: underline; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.site-logo { max-width: 100%; height: auto; }
.site-menu > summary { list-style: none; cursor: pointer; }
.site-menu > summary::-webkit-details-marker { display: none; }
html:has(:focus-visible) :is(details.site-menu, details.site-nav-group)[open]:not(:focus-within) > ul { visibility: hidden; }
:where(section[data-section][style]) { background-size: cover; background-position: center; padding: clamp(1.5rem, 4vw, 3rem); }
:where(section[data-section][style] > .bg-surface-card) { padding: clamp(1rem, 3vw, 2rem); }
:where(section[data-section][style] > .bg-surface-card > :first-child) { margin-top: 0; }
:where(section[data-section][style] > .bg-surface-card > :last-child) { margin-bottom: 0; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: static; padding: 0.25rem 0.5rem; outline: 2px solid var(--focus-ring); }

/* Westchester Integrative Compare: consumer-report clarity */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6.5rem; }

body.ledger {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Geist', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.62;
}

h1, h2, h3, h4 {
  font-family: 'Taviraj', Georgia, serif;
  color: var(--fg-heading);
  margin: 0;
}

h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); font-weight: 500; line-height: 1.06; letter-spacing: -0.015em; }

h2 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); font-weight: 500; line-height: 1.15; margin: 2.6rem 0 0.8rem; }

h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.2; margin: 1.8rem 0 0.5rem; }

p { margin: 0 0 1.1rem; }

ul, ol { margin: 0 0 1.4rem; padding-left: 1.4rem; }

li { margin-bottom: 0.4rem; }

a { color: var(--fg-link); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }

a:hover { color: var(--brand-light-accent-hover); text-decoration-thickness: 2px; }

strong { font-weight: 600; color: var(--fg-heading); }

/* ---------- Drawing inks ---------- */

svg { display: block; }

.art-line { stroke: var(--fg-heading); }

.art-track { fill: var(--border-light-subtle); }

.art-fill, .art-dot, .art-disc { fill: var(--brand-light-accent); }

.art-tick { stroke: var(--brand-light-accent); }

.art-dash { stroke: var(--border-light-default); }

.art-mark { stroke: var(--brand-light-on-accent); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--border-light-subtle);
  overflow-wrap: normal;
}

.bar {
  max-width: 78rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem clamp(1rem, 4vw, 2rem);
}

.site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  text-decoration: none;
  overflow-wrap: normal;
}

.brand .site-logo { display: block; width: 2.4rem; height: 2.4rem; flex: none; }

.brand-text { display: flex; flex-direction: column; overflow-wrap: normal; }

.brand-name {
  font-family: 'Taviraj', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--fg-heading);
  overflow-wrap: normal;
}

.brand-tag { display: none; font-size: 0.875rem; line-height: 1.3; white-space: nowrap; }

.site-header .brand:hover .brand-name { color: var(--brand-light-accent-hover); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }

.menu-slot { display: flex; flex: none; }

.site-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0.35rem 0.9rem;
  list-style: none;
  cursor: pointer;
  font-family: 'Taviraj', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--brand-light-on-accent);
  background: var(--brand-light-accent);
  border-radius: 0.4rem;
}

.site-menu > summary::-webkit-details-marker { display: none; }

.site-menu > summary:hover { background: var(--brand-light-accent-hover); color: var(--brand-light-on-accent); }

.site-menu .menu-icon {
  position: relative;
  flex: none;
  width: 1.1rem;
  height: 0.8rem;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.site-menu .menu-icon::before,
.site-menu .menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: calc(50% - 1px);
  width: 65%;
  height: 2px;
  background: currentColor;
}

.site-menu .menu-icon::before { display: none; }

.site-menu[open] .menu-icon { border-top-color: transparent; border-bottom-color: transparent; }

.site-menu[open] .menu-icon::before { display: block; width: 100%; transform: rotate(-45deg); }

.site-menu[open] .menu-icon::after { width: 100%; transform: rotate(45deg); }

.site-menu .menu-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* the open panel: full-width under the sticky header */
.site-menu > ul {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 50;
  max-height: calc(100vh - 4.5rem);
  overflow-y: auto;
  margin: 0;
  padding: 0.75rem clamp(1rem, 4vw, 2rem) 1.25rem;
  list-style: none;
  background: var(--bg-light-card);
  border-bottom: 3px solid var(--brand-light-accent);
}

.site-menu li { margin: 0; }

.site-menu > ul > li + li { border-top: 1px solid var(--border-light-subtle); }

.site-menu a {
  display: block;
  padding: 0.8rem 0.25rem;
  font-family: 'Taviraj', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--fg-heading);
  text-decoration: none;
}

.site-menu a:hover { color: var(--brand-light-accent-hover); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }

.site-menu a[aria-current="page"] { color: var(--brand-light-accent); }

@media (min-width: 30rem) {
  .site-menu .menu-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}

@media (min-width: 48rem) {
  .brand-tag { display: block; }
  .brand-name { font-size: 1.3rem; }
}

/* desktop: the panel becomes a mega-panel of ranking columns */
@media (min-width: 64rem) {
  .bar { padding-top: 0.75rem; padding-bottom: 0.75rem; }
  .brand .site-logo { width: 2.75rem; height: 2.75rem; }
  .site-menu > summary { padding: 0.5rem 1.1rem; font-size: 1.1rem; }

  .site-menu > ul {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0 1.5rem;
    padding: 1.5rem max(2rem, calc((100vw - 74rem) / 2)) 1.5rem;
    overflow: visible;
    max-height: none;
  }

  .site-menu > ul > li + li { border-top: 0; }

  .site-menu > ul > li:nth-child(-n+4) {
    padding: 1rem 1.1rem 1.1rem;
    background: var(--bg-light-base);
    border: 1px solid var(--border-light-subtle);
    border-top: 4px solid var(--brand-light-accent);
    border-radius: 0.35rem;
  }

  .site-menu > ul > li:nth-child(-n+4) > a {
    padding: 0 0 0.9rem;
    font-size: 1.3rem;
    font-weight: 700;
  }

  /* a small score bar under each ranking column */
  .site-menu > ul > li:nth-child(-n+4)::after {
    content: "";
    display: block;
    height: 0.5rem;
    border-radius: 1rem;
    background: linear-gradient(to right, var(--brand-light-accent) 0 72%, var(--border-light-subtle) 72% 100%);
  }

  .site-menu > ul > li:nth-child(n+5) { grid-column: span 2; margin-top: 1rem; }

  .site-menu > ul > li:nth-child(n+5) > a { padding: 0.5rem 0; font-size: 1.05rem; color: var(--fg-link); }
}

/* ---------- Page frame ---------- */

.frame {
  flex: 1 0 auto;
  width: 100%;
  max-width: 78rem;
  margin: 0 auto;
  padding: 1.5rem clamp(1rem, 4vw, 2rem) 4.5rem;
}

.breadcrumbs ol {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.5rem;
  font-size: 0.95rem;
}

.breadcrumbs li { margin: 0; }

.breadcrumbs li + li::before { content: "›"; margin-right: 0.5rem; color: var(--fg-muted); }

.photo-hero, .photo-inline { margin: 0 0 2rem; }

.photo-hero img, .photo-inline img { display: block; width: 100%; height: auto; border-radius: 0; }

.photo-hero img { aspect-ratio: 16 / 9; object-fit: cover; }

.prose { max-width: 42rem; }

.prose > :first-child { margin-top: 0; }

/* checkmark lists */
.prose ul { list-style: none; padding-left: 0; }

.prose ul > li { position: relative; padding-left: 2rem; }

.prose ul > li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.32em;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--brand-light-accent);
}

.prose ul > li::after {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 0.5em;
  width: 0.32rem;
  height: 0.6rem;
  border-right: 2px solid var(--brand-light-on-accent);
  border-bottom: 2px solid var(--brand-light-on-accent);
  transform: rotate(45deg);
}

.prose ol > li::marker {
  font-family: 'Taviraj', Georgia, serif;
  font-weight: 700;
  color: var(--brand-light-accent);
}

.table-scroll { overflow-x: auto; margin: 0 0 1.75rem; }

table { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 1rem; }

th, td { text-align: left; vertical-align: top; padding: 0.7rem 0.85rem; border-bottom: 1px solid var(--border-light-subtle); }

thead th {
  font-family: 'Taviraj', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fg-heading);
  background: var(--bg-light-elevated);
  border-bottom: 3px solid var(--brand-light-accent);
}

tbody tr:nth-child(even) td { background: var(--bg-light-card); }

tbody td:first-child { font-weight: 600; color: var(--fg-heading); }

blockquote {
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--bg-light-card);
  border-left: 4px solid var(--brand-light-accent);
}

/* ---------- Home: split ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  padding-bottom: 2.75rem;
  margin-bottom: 2.75rem;
  border-bottom: 1px solid var(--border-light-subtle);
}

.split-title h1 { font-size: clamp(2.6rem, 6.8vw, 4.6rem); line-height: 0.98; }

.split-lines { margin-top: 1.5rem; max-width: 34rem; }

.split-lines .display-line {
  position: relative;
  margin: 0;
  padding: 0.8rem 0 0.8rem 2rem;
  font-size: 1.1rem;
  line-height: 1.5;
  border-top: 1px solid var(--border-light-subtle);
}

.split-lines .display-line::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 1.15rem;
  width: 0.45rem;
  height: 0.8rem;
  border-right: 3px solid var(--brand-light-accent);
  border-bottom: 3px solid var(--brand-light-accent);
  transform: rotate(45deg);
}

.split-board {
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 0.5rem;
  border: 1px solid var(--border-light-subtle);
}

.board-art { width: 100%; height: auto; }

.home-body { max-width: 44rem; }

@media (min-width: 56rem) {
  .split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 3.5rem; align-items: center; }
}

/* ---------- Top-N list: one column ---------- */

.rank { max-width: 60rem; }

.rank-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--fg-heading);
  box-shadow: 0 4px 0 var(--bg-light-base), 0 5px 0 var(--fg-heading);
}

.rank-title { order: 1; }

.rank-icon { order: 2; flex: none; width: 4.5rem; height: 4.5rem; }

.rank-body { max-width: none; }

.rank-body > :not(.photo-hero) { max-width: 40rem; }

.rank-body .photo-hero img { aspect-ratio: 3 / 2; box-shadow: 0.6rem 0.6rem 0 var(--brand-light-accent); }

@media (min-width: 48rem) {
  .rank-body .photo-hero { float: right; width: 36%; margin: 0.4rem 0 1.5rem 2.5rem; }
  .rank-body .photo-hero img { aspect-ratio: 4 / 5; }
}

.rank-body ol { padding-left: 4rem; margin-top: 1.25rem; }

.rank-body ol > li { margin-bottom: 1rem; padding: 0.35rem 0 1rem 0.4rem; border-bottom: 1px solid var(--border-light-subtle); font-size: 1.1rem; }

.rank-body ol > li::marker { font-size: 2.6rem; line-height: 1; }

.rank-pages {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: 0.5rem;
  border-top: 4px solid var(--brand-light-accent);
}

.rank-pages ul { list-style: none; margin: 0; padding: 0; columns: 1; }

.rank-pages li { margin: 0; }

.rank-pages a {
  display: block;
  padding: 0.55rem 0;
  font-family: 'Taviraj', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
}

.rank-pages a:hover { text-decoration: underline; text-decoration-thickness: 2px; }

@media (min-width: 40rem) {
  .rank-pages ul { columns: 2; column-gap: 2rem; }
}

/* ---------- Provider review: two columns ---------- */

.profile { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }

.scorecard {
  padding: 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-light-subtle);
  border-top: 4px solid var(--brand-light-accent);
}

.scope-art { width: 3.5rem; height: 3.5rem; margin-bottom: 1rem; }

.scorecard-title h1 { font-size: clamp(2rem, 4.5vw, 2.9rem); line-height: 1.04; }

.card-bars { width: 100%; height: auto; margin-top: 1.5rem; }

.profile-body h2 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.profile-body h2::before {
  content: "";
  flex: none;
  width: 1.6rem;
  height: 1.6rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23136234' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3H4v6a5 5 0 0 0 10 0V3h-2'/%3E%3Cpath d='M9 14v2a5 5 0 0 0 10 0v-3'/%3E%3Ccircle cx='19' cy='11' r='2'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (min-width: 56rem) {
  .profile { grid-template-columns: minmax(16rem, 20rem) minmax(0, 1fr); gap: 3.5rem; align-items: start; }
  .scorecard { position: sticky; top: 6rem; }
}

/* ---------- Comparison: grid ---------- */

.versus { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }

.versus-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 3px solid var(--fg-heading);
}

.versus-title { max-width: 46rem; }

.versus-art { width: 7.5rem; height: auto; flex: none; }

.versus-body { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr); }

.versus-body > * { max-width: 42rem; }

.versus-body > .table-scroll, .versus-body > h2 { max-width: none; }

@media (min-width: 64rem) {
  .versus-body { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2rem; }
  .versus-body > * { grid-column: 1 / 9; }
  .versus-body > h2 { grid-column: 1 / 13; padding-top: 1rem; border-top: 1px solid var(--border-light-subtle); }
  .versus-body > .table-scroll { grid-column: 1 / 13; overflow: visible; }
  .versus-body thead th { position: sticky; top: 4.6rem; z-index: 1; }
}

/* ---------- About: one column ---------- */

.method { max-width: 60rem; }

.method-body { max-width: none; }

.method-body > :not(.photo-hero) { max-width: 40rem; }

.method-body .photo-hero img { aspect-ratio: 3 / 2; box-shadow: 0.6rem 0.6rem 0 var(--brand-light-accent); }

@media (min-width: 48rem) {
  .method-body .photo-hero { float: right; width: 36%; margin: 0.4rem 0 1.5rem 2.5rem; }
  .method-body .photo-hero img { aspect-ratio: 4 / 5; }
}

.method-art { width: 5.5rem; height: auto; margin-bottom: 1.5rem; }

.method-title { margin-bottom: 1.75rem; }

.method-body h2 { padding-top: 1.1rem; border-top: 1px solid var(--border-light-subtle); }

/* ---------- Contact: two columns ---------- */

.report { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }

.report-title { margin-bottom: 1.5rem; }

.report-form {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  border-radius: 0.5rem;
  border: 1px solid var(--border-light-subtle);
  border-top: 4px solid var(--brand-light-accent);
}

.report-field {
  font-family: 'Taviraj', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
}

.report-form input, .report-form textarea {
  width: 100%;
  min-height: 46px;
  margin-bottom: 1rem;
  padding: 0.6rem 0.75rem;
  font: inherit;
  color: var(--fg-body);
  background: var(--bg-light-base);
  border: 1px solid var(--border-light-default);
  border-radius: 0.35rem;
}

.report-form textarea { resize: vertical; }

.report-form input:focus-visible, .report-form textarea:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 1px; }

.report-button {
  align-self: flex-start;
  min-height: 46px;
  padding: 0.6rem 1.6rem;
  font-family: 'Taviraj', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brand-light-on-accent);
  background: var(--brand-light-accent);
  border: 0;
  border-radius: 0.4rem;
  cursor: pointer;
}

.report-button:hover { background: var(--brand-light-accent-hover); }

.report-button:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

@media (min-width: 56rem) {
  .report { grid-template-columns: minmax(0, 1fr) minmax(20rem, 26rem); gap: 4rem; align-items: start; }
  .report-form { position: sticky; top: 6rem; }
}

/* ---------- Thank you: one column ---------- */

.done { max-width: 40rem; margin: 0 auto; }

.done-card {
  padding: clamp(1.5rem, 5vw, 2.75rem);
  border-radius: 0.5rem;
  border: 1px solid var(--border-light-subtle);
  border-top: 4px solid var(--brand-light-accent);
}

.done-art { width: 4.5rem; height: 4.5rem; margin-bottom: 1.25rem; }

.done-title { margin-bottom: 1.25rem; }

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

.site-footer { border-top: 4px solid var(--brand-light-accent); }

.footer-grid {
  max-width: 78rem;
  margin: 0 auto;
  padding: 2rem clamp(1rem, 4vw, 2rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 3rem;
  align-items: baseline;
  justify-content: space-between;
}

.footer-name { margin: 0; font-family: 'Taviraj', Georgia, serif; font-size: 1.25rem; font-weight: 700; }

.footer-line { margin: 0; max-width: 36rem; font-size: 1rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
