@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Source Serif 4'; font-style: italic; font-weight: 200; font-display: swap; src: url("/assets/fonts/source-serif-4-latin-200-italic.woff2") format("woff2"); }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/source-serif-4-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'Source Serif 4'; font-style: italic; font-weight: 300; font-display: swap; src: url("/assets/fonts/source-serif-4-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/source-serif-4-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Source Serif 4'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/source-serif-4-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/source-serif-4-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Source Serif 4'; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/source-serif-4-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/source-serif-4-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Source Serif 4'; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/source-serif-4-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/source-serif-4-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Source Serif 4'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/source-serif-4-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/source-serif-4-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Source Serif 4'; font-style: italic; font-weight: 800; font-display: swap; src: url("/assets/fonts/source-serif-4-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/source-serif-4-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'Source Serif 4'; font-style: italic; font-weight: 900; font-display: swap; src: url("/assets/fonts/source-serif-4-latin-900-italic.woff2") format("woff2"); }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/source-serif-4-latin-900-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #f7ddcb;
  --fg-light-base-body: #000000;
  --fg-light-base-heading: #000000;
  --fg-light-base-muted: #553a30;
  --fg-light-base-link: #7b1e2c;
  --fg-light-base-inverse: #000000;
  --bg-light-card: #eec6ad;
  --fg-light-card-body: #000000;
  --fg-light-card-heading: #000000;
  --fg-light-card-muted: #553a30;
  --fg-light-card-link: #7b1e2c;
  --fg-light-card-inverse: #000000;
  --bg-light-elevated: #fbebe0;
  --fg-light-elevated-body: #000000;
  --fg-light-elevated-heading: #000000;
  --fg-light-elevated-muted: #553a30;
  --fg-light-elevated-link: #7b1e2c;
  --fg-light-elevated-inverse: #000000;
  --brand-light-accent: #7b1e2c;
  --brand-light-accent-hover: #56121d;
  --brand-light-on-accent: #fbebe0;
  --focus-light-ring: #7b1e2c;
  --border-light-default: #000000;
  --border-light-subtle: #b88a72;
}
.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; }
.text-role-link:hover { color: var(--brand-light-accent-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus-light-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; }
: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-light-ring); }

:root {
  --paper: #f7ddcb;
  --paper-deep: #eec6ad;
  --paper-light: #fbebe0;
  --ink: #000000;
  --ink-soft: #553a30;
  --oxblood: #7b1e2c;
  --oxblood-deep: #56121d;
  --news: 'Instrument Serif', 'Times New Roman', serif;
  --text: 'Source Serif 4', Georgia, serif;
  --measure: 76rem;
  --gutter: clamp(1rem, 3.2vw, 2.25rem);
  --rule: 1px solid var(--ink);
  --double: 4px double var(--ink);
}

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

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

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variant-numeric: oldstyle-nums proportional-nums;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--news);
  font-weight: 400;
  line-height: 1.02;
  margin: 0;
}

p, ul, ol, figure, blockquote { margin: 0 0 1rem; }

a { text-underline-offset: 0.16em; text-decoration-thickness: 1px; }

:focus-visible { outline: 2px solid var(--oxblood); outline-offset: 3px; }

/* ---------- masthead header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: var(--double);
}

.masthead {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0.7rem var(--gutter) 0.6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  text-decoration: none;
}

.brand .site-logo { width: auto; height: 2.5rem; }

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

/* mega-panel: the renderer's details.site-menu opens a wide ruled panel */

.site-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.9rem;
  border: var(--rule);
  font-family: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.site-menu > summary:hover { background: var(--paper-deep); }

.site-menu[open] > summary {
  background: var(--ink);
  color: var(--paper-light);
}

.site-menu .menu-icon {
  display: inline-block;
  width: 1rem;
  height: 0.7rem;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat;
}

.site-menu > ul {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin: 4px 0 0;
  padding: 1.25rem max(var(--gutter), calc((100% - var(--measure)) / 2 + var(--gutter))) 1.5rem;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  background: var(--paper-light);
  border-bottom: var(--double);
}

.site-menu > ul > li {
  padding: 0.4rem 1.1rem 0.6rem;
  border-left: var(--rule);
}

.site-menu > ul > li:first-child { border-left: 0; padding-left: 0; }

.site-menu > ul a {
  display: block;
  min-height: 2.75rem;
  padding-top: 0.3rem;
  font-family: var(--news);
  font-size: 1.7rem;
  line-height: 1.05;
  text-decoration: none;
  color: var(--ink);
}

.site-menu > ul a:hover { color: var(--oxblood); text-decoration: underline; }

.site-menu > ul ul {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}

.site-menu > ul ul a {
  font-family: var(--text);
  font-size: 0.95rem;
  border-bottom: 1px dotted var(--ink);
}

/* ---------- breadcrumbs ---------- */

.breadcrumbs {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0.8rem var(--gutter) 0;
  font-size: 0.875rem;
  font-style: italic;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--ink-soft); }

.breadcrumbs a { color: var(--ink); }

/* ---------- shared prose ---------- */

main {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 var(--gutter) 3.5rem;
}

.prose h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  padding-top: 0.55rem;
  margin: 1.8rem 0 0.7rem;
  border-top: var(--rule);
  break-after: avoid;
}

.prose h3 { font-size: 1.4rem; margin: 1.4rem 0 0.5rem; }

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

.prose ul, .prose ol { padding-left: 1.25rem; }

.prose li { margin-bottom: 0.45rem; }

.prose li::marker { color: var(--oxblood); }

.prose strong { font-weight: 600; }

.prose hr { border: 0; border-top: var(--rule); margin: 1.6rem 0; }

.table-scroll {
  overflow-x: auto;
  margin: 1.2rem 0 1.4rem;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  font-variant-numeric: oldstyle-nums tabular-nums;
}

.prose th, .prose td {
  text-align: left;
  vertical-align: baseline;
  padding: 0.5rem 0.75rem 0.5rem 0;
  border-bottom: var(--rule);
}

.prose th {
  font-family: var(--text);
  font-weight: 600;
  font-size: 0.85rem;
  font-style: italic;
}

.prose td:last-child, .prose th:last-child { text-align: right; padding-right: 0; }

.prose tr:last-child td { border-bottom: 0; }

.prose td a { color: var(--ink); text-decoration-style: dotted; }

.prose tbody tr:first-child td:last-child a { color: var(--oxblood); font-weight: 600; }

.photo-hero, .photo-inline {
  margin: 0 0 1.4rem;
  padding-bottom: 0.6rem;
  border-bottom: var(--rule);
}

.photo-hero img, .photo-inline img { width: 100%; filter: saturate(0.85); }

section[data-section][style] {
  margin: 1.8rem 0;
  padding: clamp(4rem, 12vw, 9rem) clamp(1rem, 3vw, 2rem) clamp(1rem, 3vw, 2rem);
  background-size: cover;
  background-position: center;
}

section[data-section][style] > .bg-surface-card {
  max-width: 40rem;
  padding: 1.1rem 1.4rem 0.6rem;
  border-top: var(--double);
}

section[data-section][style] h2 { border-top: 0; padding-top: 0; margin-top: 0; }

/* ---------- column heads, notes and dotted leaders ---------- */

.col-head {
  font-size: 1.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 0.5rem;
}

.col-note {
  font-size: 0.85rem;
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 0.6rem;
}

.leaders {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.leaders li {
  display: flex;
  align-items: last baseline;
  gap: 0.4rem;
  padding: 0.5rem 0;
  font-size: 0.97rem;
  overflow-wrap: break-word;
  hyphens: manual;
  border-bottom: 1px solid var(--ink);
  line-height: 1.3;
}

.leaders li::before {
  content: "";
  order: 1;
  flex: 1 1 1.25rem;
  min-width: 1.25rem;
  border-bottom: 2px dotted var(--ink);
}

.leaders li > :first-child { order: 0; }

.leaders a {
  display: inline-block;
  overflow-wrap: break-word;
  padding: 0.35rem 0;
  color: var(--ink);
  text-decoration: none;
}

.leaders a:hover { color: var(--oxblood); text-decoration: underline; }

.fig {
  order: 2;
  font-family: var(--text);
  font-weight: 600;
  font-variant-numeric: oldstyle-nums tabular-nums;
  white-space: nowrap;
}

/* ---------- home: front-page grid ---------- */

.dateline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.2rem 1rem;
  margin-top: 1.1rem;
  padding: 0.35rem 0;
  border-top: var(--rule);
  border-bottom: var(--rule);
  font-size: 0.875rem;
  font-style: italic;
}

.front-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr));
  margin: 1.4rem 0 2.2rem;
  padding-bottom: 1.6rem;
  border-bottom: var(--double);
}

.front-grid .col { padding: 0 1.25rem; border-left: var(--rule); }

.front-grid .col-lead { padding-left: 0; border-left: 0; }

.col-lead h1 {
  font-size: clamp(3.1rem, 5.6vw, 5.8rem);
  line-height: 0.9;
  letter-spacing: -0.012em;
  margin-bottom: 1.2rem;
}

.lead-lines .display-line {
  font-size: 1.12rem;
  line-height: 1.5;
  max-width: 34rem;
  padding-top: 0.6rem;
  border-top: var(--rule);
}

.lead-lines .display-line:first-child {
  font-size: 1.3rem;
  font-style: italic;
}

.front-body {
  column-count: 3;
  column-gap: 2.5rem;
  column-rule: var(--rule);
}

.front-body h2 { break-inside: avoid; }

.front-body .photo-hero { break-inside: avoid; }

.front-body p, .front-body li { orphans: 3; widows: 3; }

/* ---------- topn_list: stepped stock table ---------- */

.page-head {
  padding: 1.1rem 0 0.9rem;
  margin-bottom: 1.6rem;
  border-bottom: var(--double);
}

.page-head h1 {
  font-size: clamp(2.6rem, 5.6vw, 5rem);
  line-height: 0.93;
  max-width: 22ch;
}

.stock-table > p, .stock-table > h2, .stock-table > section { max-width: 46rem; }

.stock-table ol {
  max-width: none;
  list-style-position: inside;
  padding: 0;
  margin: 1rem 0 1.6rem;
  border-top: 2px solid var(--ink);
}

.stock-table ol > li {
  display: list-item;
  padding: 0.7rem 0;
  margin: 0;
  border-bottom: var(--rule);
  font-size: 1.15rem;
}

.stock-table ol > li:nth-child(2) { padding-left: 1.5rem; }
.stock-table ol > li:nth-child(3) { padding-left: 3rem; }
.stock-table ol > li:nth-child(4) { padding-left: 4.5rem; }
.stock-table ol > li:nth-child(5) { padding-left: 6rem; }

.stock-table ol > li::marker {
  font-family: var(--news);
  font-size: 2.2rem;
  color: var(--oxblood);
  font-variant-numeric: oldstyle-nums tabular-nums;
}

.stock-foot {
  margin-top: 2rem;
  padding: 1rem 1.25rem 0.5rem;
  border-top: var(--double);
}

.items-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2 16rem;
  column-gap: 2rem;
  column-rule: var(--rule);
}

.items-list li {
  break-inside: avoid;
  border-bottom: 1px dotted var(--ink);
}

.items-list a {
  display: block;
  padding: 0.6rem 0;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--news);
  font-size: 1.35rem;
}

.items-list a:hover { color: var(--oxblood); text-decoration: underline; }

/* ---------- provider_review: report beside fact column ---------- */

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

.report-text, .standards-text { max-width: 42rem; }

.fact-col, .criteria {
  padding: 1rem 1.15rem 0.6rem;
  border-top: var(--double);
}

/* ---------- comparison: split ledger ---------- */

.ledger-main {
  column-count: 2;
  column-gap: 3rem;
  column-rule: var(--rule);
}

.ledger-main .table-scroll,
.ledger-main .photo-inline,
.ledger-main section[data-section][style] { column-span: all; }

.ledger-main h2 { break-inside: avoid; }

.ledger-strip {
  margin-top: 1.8rem;
  padding: 1rem 1.25rem 0.4rem;
  border-top: var(--double);
}

.ledger-strip .leaders { columns: 2 16rem; column-gap: 2rem; }

.ledger-strip .leaders li { break-inside: avoid; }

/* ---------- contact: classified boxes ---------- */

.classified-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.classified-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: var(--rule);
  border-left: var(--rule);
}

.box {
  padding: 0.75rem 0.9rem 0.9rem;
  border-right: var(--rule);
  border-bottom: var(--rule);
}

.classified-notes { border: var(--rule); padding: 1rem 1.15rem 0.4rem; }

.box-message, .box-send { grid-column: 1 / -1; }

.field-label {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--news);
  font-size: 1.35rem;
}

.classified-form input,
.classified-form textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.5rem 0.6rem;
  font: inherit;
  color: var(--ink);
  background: #ffffff;
  border: var(--rule);
  border-radius: 0;
}

.classified-form textarea { resize: vertical; }

.send {
  min-height: 2.75rem;
  padding: 0.6rem 1.4rem;
  font: inherit;
  font-weight: 600;
  color: var(--paper-light);
  background: var(--oxblood);
  border: 0;
  border-radius: 0;
  cursor: pointer;
}

.send:hover { background: var(--oxblood-deep); }

/* ---------- thank_you: printed notice ---------- */

.notice { padding-top: 2.5rem; }

.notice-sheet {
  max-width: 38rem;
  margin: 0 auto;
  padding: 1.4rem 0 0.6rem;
  border-top: var(--double);
  border-bottom: var(--double);
  text-align: left;
}

.notice-head h1 {
  font-size: clamp(2.6rem, 6vw, 4rem);
  margin-bottom: 1rem;
}

.notice-body h2 { font-size: 1.6rem; }

.return-link {
  font-weight: 600;
  color: var(--oxblood);
}

/* ---------- footer ---------- */

.site-foot { border-top: var(--double); }

.foot-grid {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 1.6rem var(--gutter) 2rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.5rem 2rem;
  align-items: baseline;
}

.foot-name { margin: 0; font-family: var(--news); font-size: 1.8rem; line-height: 1.1; }

.foot-line { margin: 0; font-style: italic; }

.foot-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
}

.foot-links a { display: inline-block; padding: 0.55rem 0; color: var(--ink); }

.foot-links a:hover { color: var(--oxblood); }

/* ---------- responsive ---------- */

@media (max-width: 64rem) {
  .front-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1.6rem; }
  .front-grid .col-lead { grid-column: 1 / -1; padding: 0 0 1.2rem; border-bottom: var(--rule); }
  .front-grid .col:nth-child(2) { padding-left: 0; border-left: 0; }
  .front-body { column-count: 2; }
  .foot-grid { grid-template-columns: 1fr; }
}

@media (max-width: 46rem) {
  .brand .site-logo { height: 1.75rem; }
  .front-grid { grid-template-columns: minmax(0, 1fr); }
  .front-grid .col { padding: 0; border-left: 0; }
  .front-body, .ledger-main { column-count: 1; }
  .report-grid, .standards-grid, .classified-grid { grid-template-columns: minmax(0, 1fr); }
  .fact-col, .criteria { margin-top: 1.5rem; }
  .classified-form { grid-template-columns: minmax(0, 1fr); }
  .stock-table ol > li:nth-child(n) { padding-left: 0; }
  .site-menu > ul { grid-template-columns: minmax(0, 1fr); max-height: calc(100dvh - 7rem); overflow: auto; }
  .site-menu > ul > li { border-left: 0; padding-left: 0; border-bottom: var(--rule); }
}
