/* AsbestosClaims.Law — site styles. Tokens and measurements come from the locked design canvas. */

:root {
  --onyx: #141311;
  --graphite: #383b40;
  --grey: #eceef0;
  --ink: #1a1a1a;
  --text: #3b3d41;
  --muted: #5a5d62;
  --rule: #e3e6e8;
  --rule-strong: #c4c6c9;
  --field: #7d8187;
  --on-dark: #d4d6d9;
  --on-dark-strong: #e6e6e4;
  --gold: #C3AB50;
  --gold-text: #7a5a22;
  --gold-btn: #86622a;
  --gold-btn-hover: #6e5022;
  --green: #1f6b3a;
  --heading: 'Jost', 'Source Sans 3', sans-serif;
  --body: 'Source Sans 3', system-ui, sans-serif;
  --quote: 'Source Serif 4', Georgia, serif;
  --wrap: 1200px;
  --gutter: 24px;
}

/* Base size is set on <html> so the A−/A+ control scales everything that uses rem. */
html { font-size: 19px; }
html[data-text-size="1"] { font-size: 21px; }
html[data-text-size="2"] { font-size: 23px; }
html[data-text-size="-1"] { font-size: 17px; }

*, *::before, *::after { box-sizing: border-box; }
/* Layout rules like `.header .wrap { display: flex }` must never override the hidden attribute. */
[hidden] { display: none !important; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: #fff; line-height: 1.65; }
img { max-width: 100%; height: auto; }
a { color: var(--onyx); }
a:hover { color: var(--gold-text); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 3px;
}
h1, h2, h3 { font-family: var(--heading); font-weight: 600; line-height: 1.15; color: var(--onyx); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--onyx); padding: 12px 16px; z-index: 100; font-weight: 700; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; font: inherit; font-weight: 700;
  text-decoration: none; border: 0; cursor: pointer; line-height: 1.2; text-align: center; }
.btn--gold { background: var(--gold-btn); color: #fff; }
.btn--gold:hover { background: var(--gold-btn-hover); color: #fff; }
.btn--bright { background: var(--gold); color: var(--onyx); }
.btn--bright:hover { background: #d4bf6a; color: var(--onyx); }
.btn--onyx { background: var(--onyx); color: #fff; }
.btn--onyx:hover { background: #000; color: #fff; }
.btn--outline { border: 2px solid var(--onyx); color: var(--onyx); background: transparent; }
.btn--outline-gold { border: 2px solid var(--gold); color: #fff; background: transparent; }
.btn--outline-gold:hover { color: var(--gold); }

/* ---------------------------------------------------------------- top bar */
.topbar { background: var(--onyx); color: var(--on-dark-strong); font-size: 0.84rem; line-height: 1.5; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; padding-top: 6px; padding-bottom: 6px; }
.topbar__tools { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.topbar a { color: var(--on-dark-strong); }
.topbar__phone { color: var(--gold) !important; font-weight: 700; text-decoration: none; }
.topbar__phone span { color: var(--on-dark-strong); font-weight: 400; }
.topbar .btn { min-height: 44px; padding: 8px 16px; }
.textsize { display: inline-flex; gap: 6px; align-items: center; }
.textsize button { font: inherit; font-weight: 700; min-width: 36px; min-height: 32px; background: transparent; color: var(--on-dark-strong); border: 1px solid var(--muted); cursor: pointer; }

/* ---------------------------------------------------------------- header and mega-menu */
.header { background: #fff; border-bottom: 1px solid var(--rule); position: relative; z-index: 20; }
.header__bar { display: flex; gap: 24px; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.header__logo { display: flex; align-items: center; flex: none; }
.header__logo img { height: 40px; width: auto; display: block; }
.header__right { display: flex; gap: 8px; align-items: center; }
.nav { display: flex; gap: 2px; white-space: nowrap; margin: 0; padding: 0; list-style: none; }
.nav__tab { font-family: var(--heading); font-weight: 600; font-size: 16px; text-transform: uppercase; letter-spacing: 0.05em;
  background: none; border: 0; color: var(--onyx); padding: 10px; cursor: pointer; min-height: 44px; }
.nav__tab[aria-expanded="true"] { background: var(--onyx); color: #fff; }
.nav__tab.is-current { box-shadow: inset 0 -3px 0 var(--gold-btn); }
.icon-btn { width: 44px; height: 44px; border: 1px solid var(--rule-strong); background: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; color: var(--onyx); }
.menu-btn__label { position: static; }
.menu-btn { display: none; height: 44px; padding: 0 14px; gap: 8px; align-items: center; border: 1px solid var(--field); background: #fff;
  font-family: var(--heading); font-weight: 600; font-size: 16px; letter-spacing: 0.06em; color: var(--onyx); cursor: pointer; }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 3px solid var(--onyx); box-shadow: 0 12px 24px rgba(20, 19, 17, 0.12); }
.mega[hidden] { display: none; }
.mega__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)) 280px; gap: 32px; padding-top: 32px; padding-bottom: 28px; }
.mega__col h2 { margin: 0 0 8px; font-family: var(--body); font-size: 15px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-text); }
.mega__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 17px; }
.mega__col a { text-decoration: none; display: inline-block; padding: 2px 0; }
.mega__promo { border: 2px solid var(--gold); padding: 20px; align-self: start; }
.mega__promo p { margin: 0 0 8px; }
.mega__promo strong { display: block; font-family: var(--heading); font-size: 20px; color: var(--onyx); }
.mega__foot { border-top: 1px solid var(--rule); padding-top: 14px; padding-bottom: 14px; font-weight: 700; }

/* Below 1100px the tabs give way to the Menu button and a full-width panel. */
.mobile-menu { background: #fff; border-bottom: 1px solid var(--rule); }
.mobile-menu[hidden] { display: none; }
.mobile-menu details { border-top: 1px solid var(--rule); }
.mobile-menu summary { padding: 14px var(--gutter); font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; min-height: 48px; }
.mobile-menu summary::after { content: '+'; }
.mobile-menu details[open] summary::after { content: '−'; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0 var(--gutter) 12px calc(var(--gutter) + 12px); background: var(--grey); }
.mobile-menu li a { display: block; padding: 10px 0; text-decoration: none; }
.mobile-menu__search { padding: 12px var(--gutter); }
@media (max-width: 1100px) {
  .nav, .mega { display: none !important; }
  .menu-btn { display: inline-flex; }
}

/* ---------------------------------------------------------------- forms */
label.field { display: flex; flex-direction: column; gap: 4px; font-size: 0.84rem; font-weight: 600; }
.field .optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea, input[type="search"] {
  font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid var(--field); border-radius: 0; min-height: 48px; background: #fff; width: 100%; }
.form-note { margin: 0; font-size: 0.84rem; color: var(--muted); }
.form-errors { background: #fdecec; border: 1px solid #b42318; padding: 12px 16px; color: #7a1a12; }
.form-success { background: #f2f8f4; border: 1px solid #b9d3c2; padding: 16px; color: var(--green); font-weight: 700; }
.honeypot { display: none; }

/* ---------------------------------------------------------------- shared blocks */
.eyebrow { margin: 0 0 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.79rem; color: var(--gold-text); }
.on-dark .eyebrow { color: var(--gold); }
.section { padding: 88px 0; }
.section--grey { background: var(--grey); }
.section--graphite { background: var(--graphite); color: #fff; }
.section--onyx { background: var(--onyx); color: #fff; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark p { color: var(--on-dark); }
.section h2 { font-size: clamp(30px, 3.4vw, 40px); margin: 0 0 12px; }
.lead { font-size: 1.1rem; color: var(--text); max-width: 46em; }
.frame { outline: 2px solid var(--gold); outline-offset: 6px; }
.frame-inset { outline: 2px solid var(--gold); outline-offset: -10px; }

/* ---------------------------------------------------------------- home */
.hero { background: var(--graphite); color: #fff; padding: 80px 0 88px; }
.hero h1 { color: #fff; font-size: clamp(36px, 5vw, 60px); margin: 0 0 20px; max-width: 900px; font-weight: 700; }
.hero__intro { margin: 0 0 44px; font-size: 1.05rem; color: var(--on-dark); max-width: 720px; }
.paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.path { text-decoration: none; color: var(--ink); background: #fff; padding: 32px; display: flex; flex-direction: column; gap: 10px; outline: 2px solid var(--gold); outline-offset: 6px; }
.path strong { font-family: var(--heading); font-size: 26px; font-weight: 600; color: var(--onyx); line-height: 1.2; }
.path__blurb { color: var(--text); }
.path em { font-style: normal; font-weight: 700; color: var(--gold-text); margin-top: auto; }
.hero__call { margin: 40px 0 0; font-size: 1.1rem; }
.hero__call a { color: var(--gold); font-weight: 700; text-decoration: none; }
/* With a photo: heading and framed photo side by side, the paths full width below; on phones the photo goes last. */
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 460px; grid-template-areas: "text photo" "paths paths" "call call"; column-gap: 64px; align-items: center; }
.hero__grid .hero__text { grid-area: text; min-width: 0; }
.hero__grid .hero__intro { margin-bottom: 0; max-width: 620px; }
.hero__grid .paths { grid-area: paths; margin-top: 48px; }
.hero__grid .hero__call { grid-area: call; }
.hero__photo { grid-area: photo; margin: 0; padding: 10px; }
.hero__frame { outline: 2px solid var(--gold); outline-offset: 10px; }
.hero__frame img { display: block; width: 100%; height: auto; }
.hero__photo figcaption { margin: 20px 0 0; font-size: 16px; line-height: 1.45; color: var(--on-dark); }
.hero__photo figcaption a { color: var(--gold); font-weight: 700; text-decoration: none; white-space: nowrap; }
@media (max-width: 1100px) { .hero__grid { grid-template-columns: minmax(0, 1fr) 360px; column-gap: 40px; } }
@media (max-width: 767px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "paths" "call" "photo"; }
  .hero__photo { margin-top: 40px; }
}
.reassure { background: var(--grey); border-bottom: 1px solid #d6d9dc; }
.reassure .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px 32px; padding-top: 32px; padding-bottom: 32px; }
.reassure p { margin: 0; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; margin-top: 40px; }
.tile { border: 1px solid var(--rule); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.tile h3 { margin: 0; font-size: 24px; }
.tile p { margin: 0; color: var(--text); font-size: 0.89rem; }
.tile > a { font-weight: 700; margin-top: auto; }
.channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; margin-top: 40px; }
.channel { text-decoration: none; color: #fff; display: flex; flex-direction: column; gap: 8px; border-top: 2px solid var(--gold); padding-top: 20px; }
.channel strong { font-family: var(--heading); font-size: 22px; font-weight: 600; }
.channel span { color: var(--on-dark); font-size: 0.89rem; }
.proof { margin: 16px 0 0; font-size: 1.1rem; color: #fff !important; }
.proof strong, .trust-only strong { color: var(--gold); }
.trust-only { margin: 40px 0 0; padding: 20px 24px; border-left: 4px solid var(--gold); background: rgba(255, 255, 255, .06); font-size: 1.05rem; max-width: 46em; color: #fff !important; }
.tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; margin-top: 40px; }
.tools:empty { display: none; }
.tools .tile { background: #fff; color: var(--ink); border: 0; outline: 2px solid var(--gold); outline-offset: 4px; }
.tools .tile h3 { color: var(--onyx); }
.tools .tile p { color: var(--text); }
.tools .field { color: var(--ink); }
.asbestos-strip { margin-bottom: 56px; padding-bottom: 48px; border-bottom: 1px solid var(--rule-strong); }
.asbestos-strip .linklist { align-self: center; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; }
.linklist { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.linklist li { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.linklist a { text-decoration: none; font-weight: 600; }
.founder { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.founder__photo { flex: 1 1 300px; max-width: 400px; aspect-ratio: 4 / 5; background: #d6d9dc; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 0.84rem; }
.founder__photo--framed { background: none; outline: 2px solid var(--gold); outline-offset: 10px; }
.founder__photo--framed img { display: block; width: 100%; height: 100%; object-fit: cover; }
.quote { margin: 0; background: #fff; border: 2px solid var(--gold); padding: 40px; flex: 999 1 460px; }
.quote blockquote { margin: 0 0 20px; font-family: var(--quote); font-size: clamp(21px, 2vw, 26px); line-height: 1.5; color: var(--onyx); }
.quote figcaption { font-weight: 700; }
.review { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.review__text { flex: 999 1 460px; }
.review__phone { display: block; font-family: var(--heading); font-size: 36px; font-weight: 700; color: var(--gold); text-decoration: none; }
.review__digits { margin: 4px 0 0; font-size: 22px; color: #fff !important; }
.review-form { flex: 1 1 360px; background: #fff; color: var(--ink); padding: 32px; display: flex; flex-direction: column; gap: 14px; outline: 2px solid var(--gold); outline-offset: 6px; }
.review-form h2, .review-form h3 { color: var(--onyx); margin: 0; font-size: 24px; }

/* ---------------------------------------------------------------- inner pages */
.page-head { background: var(--grey); border-bottom: 1px solid #d6d9dc; padding: 32px 0 48px; }
.crumbs { font-size: 0.84rem; color: var(--muted); margin-bottom: 20px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs li + li::before { content: '›'; margin-right: 4px; }
.page-head h1 { font-size: clamp(32px, 4vw, 52px); margin: 0 0 20px; max-width: 860px; }
.page-meta { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; font-size: 0.84rem; color: var(--muted); }
.reviewed { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-weight: 700; }
.reviewer { display: inline-flex; align-items: center; gap: 12px; font-size: 0.95rem; color: var(--ink); }
.reviewer__photo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); flex: 0 0 auto; }
.reviewer__check { color: var(--green); vertical-align: -2px; margin-right: 2px; }
.reviewer a { font-weight: 700; }
.layout { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-top: 48px; padding-bottom: 80px; }
.layout__aside { flex: 1 1 240px; max-width: 300px; min-width: 0; display: flex; flex-direction: column; gap: 24px; position: sticky; top: 16px; }
.layout__main { flex: 999 1 600px; min-width: 0; max-width: 760px; font-size: 1.05rem; line-height: 1.7; }
.toc-wrap summary { display: none; }
/* Below 960px the sidebar can't sit beside the text, so it stops sticking and "On this page" becomes a dropdown
   (otherwise it wraps above the text and, still sticky, floats over it while scrolling). */
@media (max-width: 959px) {
  .layout__aside { position: static; max-width: none; }
  .toc-wrap summary { min-height: 48px; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--field); padding: 0 14px; font-weight: 600; cursor: pointer; }
  .toc-wrap summary::after { content: '▾'; }
  .toc-wrap .toc { border-left: 0; padding: 12px 0 0; }
  .toc-wrap .toc a { margin-left: 0; }
  .toc-wrap .toc p { display: none; }

  /* The pinned bar: one 48px row with the current section and a gold reading-progress line. */
  .toc-bar { display: block; position: fixed; top: 0; left: 0; right: 0; z-index: 25; background: #fff;
    border-bottom: 1px solid var(--rule); box-shadow: 0 2px 10px rgba(20, 19, 17, 0.08); }
  .toc-bar button { width: 100%; min-height: 48px; display: flex; gap: 10px; align-items: center; padding: 0 var(--gutter);
    background: none; border: 0; font: inherit; font-size: 17px; font-weight: 600; color: var(--onyx); text-align: left; cursor: pointer; }
  .toc-bar__label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .toc-bar__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--gold);
    transform: scaleX(0); transform-origin: left center; }
  /* Section jumps land below the bar, not under it. */
  main [id], main .prose h2 { scroll-margin-top: 64px; }

  /* The full-screen section list. */
  .toc-sheet { position: fixed; inset: 0; z-index: 60; background: #fff; overflow-y: auto; padding: 0 var(--gutter) 32px; }
  .toc-sheet__head { position: sticky; top: 0; background: #fff; display: flex; justify-content: space-between; align-items: center;
    min-height: 64px; border-bottom: 2px solid var(--gold); margin-bottom: 8px; }
  .toc-sheet__head strong { font-family: var(--heading); font-size: 22px; font-weight: 600; color: var(--onyx); }
  .toc-sheet__close { min-height: 48px; padding: 0 16px; border: 1px solid var(--field); background: #fff; font: inherit; font-weight: 700; color: var(--onyx); cursor: pointer; }
  .toc-sheet nav a { display: block; min-height: 48px; padding: 12px 0 12px 14px; border-left: 3px solid transparent;
    border-bottom: 1px solid var(--rule); font-size: 19px; line-height: 1.35; color: var(--text); text-decoration: none; }
  .toc-sheet nav a[aria-current="location"] { color: var(--onyx); font-weight: 700; border-left-color: var(--gold-btn); background: var(--grey); }
  body.toc-sheet-open { overflow: hidden; }
}
@media (min-width: 960px) { .toc-bar, .toc-sheet { display: none !important; } }
.toc { border-left: 2px solid var(--rule); padding-left: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 0.84rem; line-height: 1.35; }
.toc p { margin: 0 0 4px; font-size: 0.79rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.toc a { text-decoration: none; color: var(--text); display: block; margin-left: -18px; padding: 2px 0 2px 16px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--onyx); }
/* The section you're reading (set by site.js as you scroll): bold, dark, with the gold bar from the design. */
.toc a[aria-current="location"] { color: var(--onyx); font-weight: 700; border-left-color: var(--gold-btn); }
/* Every in-page target lands with a little breathing room, not flush against the top of the window. */
[id] { scroll-margin-top: 16px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.toc-wrap summary span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.callbox { background: var(--graphite); color: #fff; padding: 26px; outline: 2px solid var(--gold); outline-offset: -8px; display: flex; flex-direction: column; gap: 6px; }
.callbox strong { font-family: var(--heading); font-size: 20px; }
.callbox p { margin: 0; font-size: 0.84rem; color: var(--on-dark); }
.callbox a { color: var(--gold); font-weight: 700; font-size: 22px; text-decoration: none; }
.callbox span { font-size: 18px; }
.prose h2 { font-size: clamp(26px, 2.6vw, 32px); margin: 56px 0 16px; scroll-margin-top: 16px; }
.prose h3 { font-size: 22px; margin: 32px 0 12px; }
.prose p, .prose ul, .prose ol { margin: 0 0 20px; }
.prose li { margin-bottom: 8px; }
.prose p a, .prose li a { text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.89rem; margin: 0 0 24px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px; border: 1px solid var(--rule); }
.prose thead th { background: var(--grey); }
.prose th[align="right"], .prose td[align="right"] { text-align: right; }   /* a Markdown table's --: columns */
.prose td[align="right"] { white-space: nowrap; }
.prose blockquote { margin: 0 0 20px; padding: 4px 20px; border-left: 3px solid var(--gold); color: var(--text); }
.prose blockquote > :first-child { margin-top: 0; }
.prose blockquote > :last-child { margin-bottom: 0; }
.prose img { display: block; margin: 8px 0 24px; }
.cta-box { background: var(--grey); padding: 24px 28px; margin: 0 0 40px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.cta-box p { margin: 0; flex: 999 1 320px; font-size: 0.95rem; }
.cta-box div { display: flex; flex-wrap: wrap; gap: 10px; }
.attorney { border: 1px solid #b9d3c2; background: #f2f8f4; padding: 20px 24px; margin: 0 0 48px; font-size: 0.84rem; }
.attorney strong { color: var(--green); }
.answers { border: 1px solid var(--rule); margin: 0 0 48px; overflow-x: auto; }
.answers table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 0.89rem; line-height: 1.5; }
.answers th { text-align: left; vertical-align: top; padding: 16px 18px; width: 38%; background: var(--grey); }
.answers td { padding: 16px 18px; }
.answers tr + tr { border-top: 1px solid var(--rule); }
.page-quote { margin: 0 0 56px; padding: 32px; border: 2px solid var(--gold); }
.page-quote blockquote { margin: 0 0 16px; font-family: var(--quote); font-size: 23px; line-height: 1.5; color: var(--onyx); }
.page-quote figcaption { font-weight: 700; font-size: 0.84rem; }
.collapsible { border: 1px solid var(--rule); padding: 16px 20px; margin: 0 0 24px; }
.collapsible summary, .faq summary { font-weight: 700; cursor: pointer; min-height: 48px; display: flex; align-items: center; }
.faq details { border-bottom: 1px solid var(--rule); padding: 8px 0; }
.faq details > div { padding: 4px 0 8px; color: var(--text); }
.cta-band { background: var(--graphite); color: #fff; padding: 44px; margin: 56px 0; outline: 2px solid var(--gold); outline-offset: -10px; }
.cta-band h2 { color: #fff; margin: 0 0 12px; font-size: 28px; }
.cta-band p { color: var(--on-dark); }
.cta-band a:not(.btn) { color: var(--gold); }
.cta-band a:not(.btn):hover, .cta-band a:not(.btn):active { color: var(--onyx); }
.cta-band .buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 32px; margin: 0 0 48px; font-size: 0.89rem; }
.related h3 { margin: 0 0 6px; font-family: var(--body); font-size: 0.79rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-text); }
.related ul { list-style: none; margin: 0; padding: 0; }
.related li { padding: 6px 0; }
/* "Cite this page" (partials/page/cite): each suggested citation with its copy button. */
section.cite { margin: 0 0 48px; padding: 20px 22px; background: #fff; border: 1px solid var(--rule-strong); border-left: 4px solid var(--gold); }
section.cite h2 { margin: 0 0 12px; font-size: 1.2rem; }
.cite__item { display: flex; gap: 16px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--rule); }
.cite__item:first-of-type { border-top: 0; padding-top: 0; }
.cite__label { flex-basis: 100%; margin: 0 0 4px; font-size: 0.79rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-text); }
.cite__item:has(.cite__label) { flex-wrap: wrap; }
.cite__text { flex: 1; margin: 0; font-size: 0.89rem; overflow-wrap: anywhere; }
.cite__copy { flex: none; min-height: 40px; padding: 6px 16px; }
.cite__note { margin: 12px 0 0; font-size: 0.79rem; color: var(--muted); }
@media (max-width: 479px) { .cite__item { flex-direction: column; gap: 8px; } }
.sources { border-top: 1px solid var(--rule); padding: 20px 0; font-size: 0.84rem; }
.disclaimer { margin: 8px 0 0; font-size: 0.79rem; color: var(--muted); }

/* Lexicon terms: dotted gold underline; the card is built by site.js from the link's data attributes. */
.prose a.term, a.term { color: inherit; text-decoration: underline dotted var(--gold-btn) 2px; text-underline-offset: 4px; cursor: help; }
.prose a.term:hover, a.term:hover, a.term[aria-expanded="true"] { color: var(--gold-text); text-decoration-style: solid; }
.term-card { position: absolute; z-index: 50; width: min(340px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--rule-strong);
  box-shadow: 0 8px 24px rgba(20, 19, 17, 0.16); padding: 16px 18px; font-size: 16px; line-height: 1.5; color: var(--text); }
.term-card[hidden] { display: none; }
.term-card strong { display: block; font-family: var(--heading); font-size: 18px; font-weight: 600; color: var(--onyx); }
.term-card em { display: block; margin: 2px 0 0; color: var(--muted); }
.term-card p { margin: 8px 0 10px; }
.term-card a { font-weight: 700; color: var(--gold-text); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }

/* hubs */
.az { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 24px; padding: 0; list-style: none; }
.az a { display: inline-flex; min-width: 40px; min-height: 40px; align-items: center; justify-content: center; border: 1px solid var(--rule-strong); text-decoration: none; font-weight: 700; }
.az-group h3 { font-size: 26px; margin: 32px 0 8px; border-bottom: 2px solid var(--gold); padding-bottom: 4px; }
.card-list { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 32px; }
.card-list li { border-bottom: 1px solid var(--rule); padding: 10px 0; }
.card-list a { text-decoration: none; font-weight: 600; }
.offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin: 0 0 40px; }
.office { background: #fff; border: 1px solid var(--rule); border-top: 3px solid var(--gold); padding: 24px; }
.office h2, .office h3 { margin: 0 0 8px; font-size: 1.3rem; }
.office-photo { margin: 0 0 24px; }
.office-photo img { display: block; width: 100%; height: auto; }
.office-photo--placeholder { display: grid; place-items: center; aspect-ratio: 16 / 9; border: 2px dashed var(--rule); color: var(--muted); }
.office address { font-style: normal; font-size: 1.05rem; line-height: 1.5; }
.office__hours { margin: 8px 0 16px; color: var(--muted); }
.office__links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
/* Products preview (docs/products-ih.md): a row not yet checked by a person. Never shown in production. */
.badge { display: inline-block; padding: 0 6px; border-radius: 3px; background: var(--muted); color: #fff; font-size: 0.7rem; font-weight: 600; letter-spacing: .02em; vertical-align: middle; }
.card-list small { display: block; color: var(--muted); font-size: 0.79rem; font-weight: 400; }

/* "In this section" on hubs: framed cards, each wholly clickable. */
.section-cards { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.section-cards li { position: relative; background: #fff; border: 1px solid var(--rule-strong); border-top: 4px solid var(--gold); padding: 20px 22px 22px; transition: border-color .15s, box-shadow .15s; }
.section-cards li:hover, .section-cards li:focus-within { border-color: var(--onyx); border-top-color: var(--gold); box-shadow: 0 6px 18px rgba(20, 19, 17, .12); }
.section-cards a { font-family: var(--heading); font-size: 1.2rem; font-weight: 500; line-height: 1.3; color: var(--ink); text-decoration: none; }
.section-cards a::after { content: ""; position: absolute; inset: 0; }
.section-cards a::before { content: "→"; float: right; margin-left: 12px; color: var(--gold-text); transition: transform .15s; }
.section-cards li:hover a::before { transform: translateX(4px); }
.section-cards p { margin: 10px 0 0; color: var(--muted); font-size: 0.95rem; line-height: 1.55; }

/* ---------------------------------------------------------------- videos */
.player { position: relative; aspect-ratio: 16 / 9; background: var(--onyx); overflow: hidden; }
.player--short { aspect-ratio: 9 / 16; max-width: 340px; }
.player__start, .player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.player__start img, .video-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.player__play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; display: grid; place-items: center;
  background: rgba(20, 19, 17, .82); color: #fff; border: 3px solid var(--gold); border-radius: 50%; transition: transform .15s, background .15s; }
.player__play svg { margin-left: 4px; }
.player__start:hover .player__play, .player__start:focus-visible .player__play { background: var(--gold-btn); transform: scale(1.06); }
.player__start:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.player__length { position: absolute; right: 8px; bottom: 8px; background: rgba(20, 19, 17, .85); color: #fff; font-size: 0.84rem; font-weight: 600; padding: 2px 8px; }
.watch { margin: 0 0 32px; outline: 2px solid var(--gold); outline-offset: 6px; }
.watch figcaption { padding: 12px 0 0; font-size: 1rem; }
.watch figcaption a { font-weight: 600; }
.watch__label { display: inline-block; background: var(--onyx); color: var(--gold); font-size: 0.79rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; margin-right: 6px; }
.watch__length { color: var(--muted); }
.watch--page { margin-bottom: 24px; }
.video-grid { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px 24px; }
.video-card { display: flex; flex-direction: column; gap: 8px; }
.video-card__title { font-weight: 600; line-height: 1.35; text-decoration: none; }
.video-card small { color: var(--muted); font-size: 0.84rem; }
.video-card__link { display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.video-card__link:hover .video-card__title { text-decoration: underline; }
.video-card__thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--onyx); }
.videos__more { margin: 0 0 32px; font-weight: 600; }
.video-description { margin-bottom: 24px; }
.video-pages { margin: 0 0 24px; }
.topic-jump ul { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.topic-jump a { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 14px; border: 1px solid var(--rule-strong); background: #fff; text-decoration: none; font-weight: 600; }
.topic-jump small { color: var(--muted); font-weight: 400; }
.video-topic { scroll-margin-top: 16px; }
.video-topic h2 { border-bottom: 2px solid var(--gold); padding-bottom: 4px; }
.feature-video { background: var(--onyx); color: var(--on-dark); padding: 44px 0; }
.feature-video__inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.feature-video__player .player { outline: 2px solid var(--gold); outline-offset: 8px; }
.feature-video h2 { color: #fff; margin: 4px 0 10px; font-size: clamp(26px, 2.8vw, 34px); }
.feature-video__text > p { margin: 0 0 14px; }
.feature-video .chapters { display: grid; grid-template-columns: 1fr; column-gap: 24px; margin-bottom: 20px; }
@media (min-width: 1024px) { .feature-video .chapters { grid-template-columns: 1fr 1fr; border-top: 0; } }
.feature-video .chapter { gap: 10px; }
.feature-video .eyebrow { color: var(--gold); margin: 0; }
.feature-video__jump { font-weight: 700; color: #fff; margin-bottom: 8px !important; }
.feature-video__more { margin: 24px 0 8px !important; font-size: 0.95rem; }
.feature-video__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.feature-video__links a { display: inline-flex; align-items: center; min-height: 40px; color: var(--gold); font-weight: 600; }
.chapters { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.chapters li { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.chapter { display: flex; align-items: center; gap: 14px; min-height: 48px; padding: 6px 4px; color: #fff; text-decoration: none; font-weight: 600; }
.chapter:hover .chapter__label, .chapter:focus-visible .chapter__label { text-decoration: underline; }
.chapter__time { flex: 0 0 auto; min-width: 3.4em; color: var(--gold); font-variant-numeric: tabular-nums; }
.video-chapters .chapters { border-color: var(--rule); }
.video-chapters .chapters li { border-color: var(--rule); }
.video-chapters .chapter { color: var(--ink); }
.video-chapters .chapter__time { color: var(--gold-text); }
@media (max-width: 1023px) { .feature-video__inner { gap: 32px; } }
@media (max-width: 767px) { .feature-video { padding: 36px 0; } .feature-video__inner { grid-template-columns: 1fr; gap: 28px; } }

@media (max-width: 599px) { .video-grid { grid-template-columns: 1fr; } .player__play { width: 64px; height: 64px; margin: -32px 0 0 -32px; } }

/* ---------------------------------------------------------------- footer */
.footer { background: var(--onyx); color: var(--on-dark); font-size: 0.84rem; }
.footer a { color: var(--on-dark); }
.footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px; padding-top: 64px; padding-bottom: 32px; }
.footer h2 { margin: 0 0 8px; font-family: var(--body); font-size: 0.84rem; font-weight: 700; color: #fff; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer__phone { color: var(--gold) !important; font-weight: 700; }
.footer__offices span { display: block; color: var(--on-dark); opacity: .8; font-style: normal; }
.footer__offices a { font-weight: 700; }
.footer__bottom { border-top: 1px solid #2c2a25; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; padding-top: 16px; padding-bottom: 40px; }
.footer__bottom img { height: 30px; width: auto; }

/* ---------------------------------------------------------------- phone call bar */
.callbar { display: none; }
@media (max-width: 767px) {
  html { font-size: 19px; }
  .topbar__text, .textsize, .topbar__review { display: none; }
  .header__logo img { height: auto; width: 100%; max-width: 200px; }
  .header__logo { flex: 1 1 auto; min-width: 0; }
  .menu-btn { width: 44px; padding: 0; justify-content: center; }
  .menu-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .header__bar { padding-top: 10px; padding-bottom: 10px; }
  /* Phones: quick answers stack as question-then-answer cards instead of a sideways-scrolling table. */
  .answers { overflow: visible; border: 0; }
  .answers table, .answers tbody, .answers tr, .answers th, .answers td { display: block; width: auto; min-width: 0; }
  .answers tr { border: 1px solid var(--rule); margin-bottom: 12px; }
  .answers tr + tr { border-top: 1px solid var(--rule); }
  .answers th { padding: 14px 16px 10px; font-size: 1rem; line-height: 1.35; }
  .answers td { padding: 12px 16px 14px; }
  .answers td p:last-child { margin-bottom: 0; }
  /* Phones: the breadcrumb collapses to a single "‹ parent" link. */
  .crumbs li { display: none; }
  .crumbs li:nth-last-child(2) { display: block; }
  .crumbs li:nth-last-child(2)::before { content: '‹ '; margin: 0; }
  .crumbs a { display: inline-flex; min-height: 40px; align-items: center; font-weight: 600; }
  .callbar { display: grid; grid-template-columns: 3fr 2fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    background: var(--onyx); padding: 10px 12px 14px; box-shadow: 0 -6px 18px rgba(20, 19, 17, 0.3); }
  .callbar a { min-height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; text-align: center; line-height: 1.15; font-weight: 700; }
  .callbar__call { background: var(--gold); color: var(--onyx); }
  .callbar__call small { font-size: 15px; font-weight: 600; }
  .callbar__review { border: 2px solid var(--gold); color: #fff; font-size: 17px; }
  body { padding-bottom: 84px; }
  .path { padding: 18px; flex-direction: row; justify-content: space-between; align-items: center; outline-offset: 4px; }
  .path__blurb, .path__go { display: none; }
  .path em { margin: 0; font-size: 24px; }
  .section { padding: 56px 0; }
}

/* Folded sections (fold_sections): a long, indexed run of <h3>s, one collapsible each. */
.folds { border-top: 1px solid var(--rule-strong); margin: 0 0 40px; }
.folds__all { margin: 0; padding: 12px 0; display: flex; justify-content: flex-end; }
.folds__toggle { border: 1px solid var(--gold-btn); color: var(--gold-btn); background: none; cursor: pointer; }
.folds__toggle:hover { background: var(--grey); color: var(--gold-btn-hover); }
.fold { border-bottom: 1px solid var(--rule-strong); }
.fold summary { list-style: none; cursor: pointer; min-height: 48px; padding: 14px 44px 14px 0; position: relative; display: block; }
.fold summary::-webkit-details-marker { display: none; }
.fold summary::after { content: '+'; position: absolute; right: 8px; top: 12px; font-size: 26px; line-height: 1; color: var(--gold-text); }
.fold[open] summary::after { content: '−'; }
.fold summary:hover h3 { color: var(--gold-text); }
.prose .fold summary h3 { margin: 0; font-size: 21px; }
.fold__name { display: block; font-family: var(--heading); font-weight: 600; font-size: 21px; line-height: 1.3; color: var(--onyx); }
.fold__text { display: block; margin-top: 6px; font-weight: 400; color: var(--text); }
.fold__group { margin: 16px 0 6px; }
.fold__body ul { margin: 0 0 12px; }
.fold summary:hover .fold__name { color: var(--gold-text); }
.fold__meta { display: block; margin-top: 4px; font-size: 0.84rem; font-weight: 700; color: var(--muted); }
.fold__body { padding: 4px 0 8px; }
.fold__back { font-size: 0.84rem; }
@media print { .folds__all { display: none; } .fold summary::after { content: none; } }

/* Videos placed in the text (video_embeds): thumbnail beside the title, full width once playing. */
.video-inline { display: grid; grid-template-columns: 200px 1fr; gap: 16px; align-items: center; margin: 20px 0 24px; padding: 12px; background: #fff; border: 1px solid var(--rule-strong); }
.video-inline .player__play { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
.video-inline .player__play svg { width: 24px; height: 24px; }
.video-inline .player__length { display: none; }
.video-inline__text { margin: 0; line-height: 1.35; }
.video-inline__label { display: block; margin-bottom: 4px; font-size: 0.84rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--gold-text); }
.video-inline__title { font-weight: 600; text-decoration: none; color: var(--ink); }
.video-inline__title:hover { text-decoration: underline; }
.video-inline:has(iframe) { grid-template-columns: 1fr; }
@media (max-width: 479px) { .video-inline { grid-template-columns: 128px 1fr; gap: 12px; padding: 10px; } }

/* Citations (citations modifier): linked numbers, and the reference they point to highlighted on arrival. */
sup.cite { line-height: 0; }
sup.cite a { text-decoration: none; font-weight: 700; color: var(--gold-text); padding: 0 1px; }
sup.cite a:hover, sup.cite a:focus-visible { text-decoration: underline; }
sup.cite a:target, ol.references li:target { background: #fbf3d9; outline: 2px solid var(--gold); outline-offset: 2px; }
ol.references li { scroll-margin-top: 96px; }
.ref__back { text-decoration: none; color: var(--gold-text); font-weight: 700; }

/* Library documents (partials/page/document): the record, then the download. */
.doc-record { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 24px 0 32px; padding: 18px 22px; background: #fff; border: 1px solid var(--rule-strong); border-left: 4px solid var(--gold); }
.doc-record dt { font-weight: 700; color: var(--ink); }
.doc-record dd { margin: 0; overflow-wrap: anywhere; }
/* Library films (partials/page/film): the 4:3 player or its poster, at full content width. */
.film { margin: 0 0 32px; }
.film__player, .film__poster img { width: 100%; aspect-ratio: 4 / 3; background: var(--onyx, #141311); }
.film__player iframe { width: 100%; height: 100%; border: 0; display: block; }
.film__poster { margin: 0 0 12px; }
.film__poster img { display: block; object-fit: cover; }
.film__poster figcaption { color: var(--muted); font-size: .95rem; margin-top: 6px; }
/* A film clip placed in a page's text (video_embeds): poster with a play button, then the caption. */
.film-clip { margin: 24px 0 28px; padding: 12px; background: #fff; border: 1px solid var(--rule-strong); }
.player--film { aspect-ratio: 4 / 3; }
.film-clip figcaption { padding: 12px 2px 0; font-size: 0.97rem; line-height: 1.55; }
.film-clip figcaption p { margin: 0 0 8px; }
.film-clip__label { display: block; margin-bottom: 4px; font-size: 0.84rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--gold-text); }
.film-clip__more { margin: 0; }
.film-clip__more a { font-weight: 600; }
.doc-file { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.doc-file span { color: var(--muted); }
.doc-files { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 4px 24px; }
.doc-files li { padding: 8px 0; border-bottom: 1px solid var(--rule); }
.doc-files small a { font-weight: 400; }
.doc-files small { display: block; color: var(--muted); }
/* A document's cover beside its record; an image document shown in full. */
.doc-head { display: flex; gap: 24px; align-items: flex-start; margin: 24px 0 32px; }
.doc-head .doc-record { flex: 1; margin: 0; }
.doc-cover { flex: 0 0 auto; width: 180px; height: auto; border: 1px solid var(--rule-strong); box-shadow: 0 4px 14px rgba(20, 19, 17, .12); }
.doc-image { margin: 0 0 16px; }
.doc-image img { display: block; max-width: 100%; height: auto; border: 1px solid var(--rule-strong); }
@media (max-width: 599px) { .doc-head { flex-direction: column; } .doc-cover { width: 140px; } }

/* The in-page PDF reader (PDF.js in an iframe), opened by Read online. */
.pdf-reader { margin: 24px 0 32px; border: 1px solid var(--rule-strong); border-top: 4px solid var(--gold); background: #fff; scroll-margin-top: 80px; }
.pdf-reader__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 10px 14px; border-bottom: 1px solid var(--rule); }
.pdf-reader__title { flex: 1 1 240px; font-family: var(--heading); font-weight: 500; }
.pdf-reader__close { min-height: 40px; padding: 6px 14px; border: 1px solid var(--rule-strong); background: #fff; cursor: pointer; font: inherit; }
.pdf-reader__close:hover { border-color: var(--onyx); }
.pdf-reader iframe { display: block; width: 100%; height: 85vh; min-height: 560px; border: 0; }
.doc-files li > a:first-child { font-weight: 600; }
/* A trust's annual reports, one section a fiscal year (partials/page/report_years), and the latest one on its trust page. */
.report-year { padding: 8px 0 24px; border-bottom: 1px solid var(--rule); scroll-margin-top: 80px; }
.report-year h2 { margin-top: 24px; }
.report-year__filed, .trust-reports h3 small { color: var(--muted); font-size: 15px; font-weight: 400; }
.report-year__files { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.report-year__files li { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.report-year__files small { color: var(--muted); }
.trust-reports { margin: 40px 0; padding: 24px; border: 1px solid var(--rule-strong); border-top: 4px solid var(--gold); }
.trust-reports h2 { margin-top: 0; }
.trust-reports .buttons-row { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-bottom: 0; }
.trust-reports__notices { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 0.94rem; }
/* A trust's notices page (partials/page/notice_years): one block per notice, newest first by year. */
.notice-list { list-style: none; margin: 0 0 32px; padding: 0; }
.notice { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.notice p { margin: 0; }
.notice__head { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; }
.notice__date { color: var(--muted); font-size: 0.92rem; }
.notice__what { margin-top: 4px !important; }
.notice__superseded, .notice__applies { color: var(--muted); }
.notice__applies { margin-top: 4px !important; font-size: 0.92rem; }
.notice__links { margin-top: 6px !important; }
.notice__links small { color: var(--muted); margin-left: 8px; }
/* A trust page's key facts (partials/page/trust_facts): label and value side by side, stacked on phones. */
.key-facts { margin: 0 0 48px; padding: 20px 24px; border: 1px solid var(--rule-strong); border-top: 4px solid var(--gold); }
.key-facts h2 { margin: 0 0 12px; }
.key-facts h3 { margin: 18px 0 6px; font-size: 1.05rem; }
.key-facts dl { margin: 0; }
.key-facts dl + dl { margin-top: 0; border-top: 1px solid var(--rule); }
.key-facts dl > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 4px 20px; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.key-facts dl > div:last-child { border-bottom: 0; }
.key-facts dt { color: var(--muted); }
.key-facts dd { margin: 0; font-weight: 600; color: var(--ink); }
.key-facts dd small { display: block; font-weight: 400; color: var(--muted); }
.key-facts__note { margin: 14px 0 0; font-size: 0.89rem; color: var(--muted); }
@media (max-width: 640px) { .key-facts dl > div { grid-template-columns: 1fr; } }
/* A trust's trend chart (Tags/TrustTrend): inline SVG in the site's gold and graphite. */
.trend { margin: 32px 0 8px; scroll-margin-top: 80px; }
.trend svg { display: block; width: 100%; height: auto; font-family: var(--body); }
.trend__title { font: 600 15px var(--body); fill: var(--ink); }
.trend__axis { font-size: 13px; fill: var(--muted); }
.trend__value { font-size: 13px; font-weight: 600; fill: var(--text); }
.trend__grid { stroke: var(--rule); stroke-width: 1; }
.trend__line { fill: none; stroke: var(--gold-btn); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.trend__area { fill: var(--gold); fill-opacity: 0.14; }
.trend__dot { fill: var(--gold-btn); stroke: #fff; stroke-width: 2; }
.trend__bar { fill: var(--graphite); }
.trend__rate { fill: var(--gold); }
.trend figcaption { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* Plant maps (Catalog/PlantMap): an outline map image with linked dots over it, inline SVG, no tiles. */
.plant-map { margin: 24px 0 16px; }
.plant-map svg { display: block; width: 100%; height: auto; font-family: var(--body); }
.plant-map__dot { fill: var(--gold-btn); fill-opacity: 0.88; stroke: #fff; stroke-width: 1.5; }
.plant-map__ring { fill: var(--gold); fill-opacity: 0.25; }
.plant-map a:hover .plant-map__dot, .plant-map a:focus-visible .plant-map__dot { fill: var(--onyx); fill-opacity: 1; }
.plant-map a:focus-visible { outline: none; }
.plant-map a:focus-visible .plant-map__dot { stroke: var(--gold); stroke-width: 3; }
.plant-map__count { font-size: 11px; font-weight: 700; fill: #fff; text-anchor: middle; pointer-events: none; }
.plant-map__dot--open { fill: #fff; fill-opacity: 1; stroke: var(--gold-btn); stroke-width: 2; }
.plant-map__count--open { fill: var(--onyx); }
.plant-map figcaption { margin-top: 8px; font-size: 15px; color: var(--muted); }
.plant-map--small { max-width: 420px; }

/* A case file (partials/page/case_file): key documents, a filter, then a folded docket table per stage. */
.case-keys h3, .case-filter label { font-family: var(--heading); font-weight: 500; }
.case-keys h3 { margin: 0 0 8px; }
.case-filter { margin: 8px 0 20px; }
.case-filter label { display: block; margin-bottom: 6px; font-size: 1.15rem; }
.case-filter input { width: 100%; max-width: 480px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--rule-strong); font: inherit; background: #fff; }
.case-filter input:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.case-filter__none { color: var(--muted); }
.case-table tr[hidden], .case-stage[hidden] { display: none; }
.case-stage { margin: 0 0 10px; border: 1px solid var(--rule-strong); background: #fff; scroll-margin-top: 80px; }
.case-stage > summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 12px 16px; cursor: pointer; }
.case-stage[open] > summary { border-bottom: 1px solid var(--rule); }
.case-stage__name { font-family: var(--heading); font-weight: 500; font-size: 1.15rem; }
.case-stage__count { color: var(--muted); font-size: .92rem; }
.case-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.case-table th { text-align: left; font-weight: 700; padding: 8px 12px; border-bottom: 1px solid var(--rule-strong); }
.case-table td { padding: 8px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.case-table tr:last-child td { border-bottom: 0; }
.case-table .num { text-align: right; }
.case-table__date { white-space: nowrap; }
.case-table td:last-child a { white-space: nowrap; font-weight: 400; }
.case-table tr.is-key td { background: #fbf6e6; }
.case-table tr.is-key td:first-child { box-shadow: inset 4px 0 0 var(--gold); }
.case-key { display: inline-block; margin-left: 4px; padding: 0 6px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--gold-text); border: 1px solid var(--gold); }
/* Phones: each document a short block (date and party on one line, then the title and its links). */
@media (max-width: 639px) {
  .case-table thead { display: none; }
  .case-table, .case-table tbody, .case-table tr { display: block; }
  .case-table tr { padding: 10px 14px; border-bottom: 1px solid var(--rule); }
  .case-table td { display: inline; padding: 0; border: 0; }
  .case-table td:nth-child(2):not(:empty)::before { content: " · "; }
  .case-table td:nth-child(3) { display: block; margin: 2px 0; }
  .case-table td.num::after { content: " pp. · "; }
  .case-table td.num { color: var(--muted); }
  .case-table tr.is-key td { background: none; }
  .case-table tr.is-key { background: #fbf6e6; box-shadow: inset 4px 0 0 var(--gold); }
  .case-table tr.is-key td:first-child { box-shadow: none; }
}

@media (max-width: 479px) { .doc-record { grid-template-columns: 1fr; gap: 2px; } .doc-record dd { margin-bottom: 8px; } }

/* A magazine year (partials/page/magazine): the issues as covers, the topical index, the other years. */
.mag-grid { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 24px 20px; }
.mag-grid li { margin: 0; }
.mag-cover { display: block; text-decoration: none; color: var(--ink); }
.mag-cover img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border: 1px solid var(--rule-strong); background: var(--grey); }
a.mag-cover:hover img, a.mag-cover:focus-visible img { outline: 3px solid var(--gold); outline-offset: 0; }
.mag-cover span { display: block; margin-top: 6px; font-family: var(--heading); font-weight: 500; font-size: 1.1rem; }
.mag-grid small { display: block; color: var(--muted); }
.mag-grid small a { font-weight: 400; }
.mag-topics { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0 0 20px; }
.mag-topics a { padding: 6px 10px; border: 1px solid var(--rule-strong); text-decoration: none; font-size: .95rem; line-height: 1.3; }
.mag-topics a:hover, .mag-topics a:focus-visible { border-color: var(--gold); background: #fbf6e6; }
.mag-topic { margin: 0 0 24px; scroll-margin-top: 80px; }
.mag-topic[hidden], .mag-topic li[hidden] { display: none; }
.mag-topic h3 { margin: 0 0 6px; padding-bottom: 4px; border-bottom: 1px solid var(--rule-strong); }
.mag-topic ul { list-style: none; margin: 0; padding: 0; }
.mag-topic li { padding: 6px 0; border-bottom: 1px solid var(--rule); }
.mag-topic li small { color: var(--muted); white-space: nowrap; }
.mag-jm__list { list-style: none; margin: 0 0 32px; padding: 0; }
.mag-jm__list li { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.mag-jm__list p { margin: 0; }
.mag-jm__cite { font-weight: 600; margin-bottom: 2px !important; }
.mag-jm__cite small { font-weight: 400; margin-left: 8px; }
.mag-years ul, .mag-decade ul { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mag-years a, .mag-years strong { display: inline-block; min-width: 64px; min-height: 44px; padding: 10px 12px; text-align: center; border: 1px solid var(--rule-strong); text-decoration: none; }
.mag-years strong { background: var(--ink); color: #fff; border-color: var(--ink); }
.mag-decade li { min-width: 120px; padding: 10px 12px; border: 1px solid var(--rule-strong); }
.mag-decade li a { font-family: var(--heading); font-weight: 500; font-size: 1.15rem; }
.mag-decade li small { display: block; color: var(--muted); }

/* Long reference URLs wrap instead of widening the page on phones. */
.prose p, .prose li { overflow-wrap: anywhere; }

/* Collapsibles written into the page text ("The properties in detail"): a framed, indented aside. */
.prose details:not(.fold) { margin: 24px 0; padding: 0 22px 6px 26px; border: 1px solid var(--rule-strong); border-left: 4px solid var(--gold); background: #f7f8f9; }
.prose details:not(.fold) > summary { list-style: none; cursor: pointer; min-height: 48px; margin: 0 -22px 0 -26px; padding: 13px 48px 13px 22px; position: relative; background: #fff; }
.prose details:not(.fold) > summary::-webkit-details-marker { display: none; }
.prose details:not(.fold) > summary::after { content: '+'; position: absolute; right: 16px; top: 10px; font-size: 26px; line-height: 1; color: var(--gold-text); }
.prose details:not(.fold)[open] > summary { border-bottom: 1px solid var(--rule); margin-bottom: 16px; }
.prose details:not(.fold)[open] > summary::after { content: '−'; }
.prose details:not(.fold) > summary:hover { color: var(--gold-text); }
.prose details:not(.fold) > :last-child { margin-bottom: 14px; }
@media print { .prose details:not(.fold) > summary::after { content: none; } }

/* Trust-list search on the state exposure-sites pages (site.js). */
.site-search { border: 1px solid var(--rule-strong); padding: 20px; margin: 0 0 32px; background: #fff; }
.site-search__label { display: block; font-weight: 700; margin-bottom: 8px; }
.site-search__input { width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; border: 1px solid var(--field); border-radius: 0; }
.site-search__status { margin: 10px 0 0; font-size: 0.89rem; color: var(--muted); }
.site-search__results { list-style: none; margin: 12px 0 0; padding: 0; }
.prose .site-search__results li { padding: 10px 0; margin: 0; border-top: 1px solid var(--rule); }
.site-search__where { display: block; font-size: 0.89rem; }
.site-search__trusts { display: block; font-size: 0.84rem; color: var(--muted); }
.site-search__filters { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 12px; }
.site-search__filters label { display: flex; flex-direction: column; gap: 4px; font-size: 0.89rem; font-weight: 700; flex: 1 1 220px; min-width: 0; }
.site-search__filters select { min-height: 44px; padding: 8px 10px; font: inherit; font-weight: 400; border: 1px solid var(--field); border-radius: 0; background: #fff; max-width: 100%; }
.site-search__more { margin-top: 12px; }

/* ---------------------------------------------------------------- blog (canvas: Blog index, Blog post) */
.post-kind { margin: 0 0 10px; font-size: 0.79rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text); line-height: 1.4; }
.post-kind a { color: inherit; text-decoration: none; }
.post-head__text { max-width: 820px; }
.post-head h1 { margin-bottom: 24px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; padding: 16px 0 0; border-top: 1px solid #d6d9dc; font-size: 0.84rem; line-height: 1.4; color: var(--muted); }
.post-meta strong { display: block; color: var(--onyx); }
.take { background: var(--graphite); color: #fff; outline: 2px solid var(--gold); outline-offset: -10px; padding: 40px 44px; margin: 48px 0; }
.take__label { margin: 0 0 8px; font-size: 0.79rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.take h2 { color: #fff; font-size: 28px; line-height: 1.25; margin: 0 0 14px; }
.take .prose { color: var(--on-dark-strong); }
.take .prose a { color: var(--gold); }
.story { margin: 0 0 48px; }
.story h2 { font-size: 26px; margin: 0 0 6px; }
.story__sub { margin: 0 0 16px; font-size: 0.89rem; color: var(--muted); }
.story__line { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--gold); font-size: 0.95rem; line-height: 1.45; }
.story__line li { position: relative; padding: 0 0 20px 24px; }
.story__line li::before { content: ''; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; background: var(--gold); }
.story__line li.is-current::before { background: var(--onyx); }
.story__line span { display: block; font-size: 0.84rem; color: var(--muted); }
.story__line a { font-weight: 700; text-decoration: none; }
.about-panel { border: 1px solid var(--rule); padding: 20px 22px; display: flex; flex-direction: column; font-size: 0.89rem; line-height: 1.45; }
.about-panel p { margin: 0 0 10px; font-size: 0.79rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.about-panel a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); text-decoration: none; min-height: 44px; }
.about-panel a > span:last-child { color: var(--gold-text); }
.about-panel__type { display: block; font-size: 0.74rem; color: var(--muted); }
.more-posts { display: flex; flex-direction: column; font-size: 0.89rem; line-height: 1.4; }
.more-posts p { margin: 0 0 8px; font-size: 0.79rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.more-posts a { padding: 10px 0; border-top: 1px solid var(--rule); text-decoration: none; }
.blog-head__intro { max-width: 760px; margin: 0 0 24px; font-size: 1.05rem; color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--rule-strong); background: #fff; text-decoration: none; font-size: 0.89rem; font-weight: 600; }
.chips a[aria-current="page"] { background: var(--onyx); border-color: var(--onyx); color: #fff; }
.chips button { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--rule-strong); background: #fff; color: var(--onyx); font: inherit; font-size: 0.89rem; font-weight: 600; cursor: pointer; }
.chips button:hover { border-color: var(--gold-btn); }
.chips button[aria-pressed="true"] { background: var(--onyx); border-color: var(--onyx); color: #fff; }
/* A hub's sort buttons above its cards (partials/page/books). */
.sort-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 20px; }
.sort-bar > span { font-size: 0.79rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.blog-main { max-width: 820px; }
.blog-section-title { font-size: 28px; margin: 0 0 20px; }
.blog-lead { border-top: 3px solid var(--onyx); padding-top: 20px; margin: 0 0 32px; }
.blog-lead h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.15; margin: 0 0 12px; }
.blog-lead h2 a, .blog-grid h3 a, .post-row h3 a { text-decoration: none; }
.blog-lead > p { margin: 0 0 10px; color: var(--text); }
.blog-lead__meta, .blog-grid__date { font-size: 0.84rem; color: var(--muted); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px 32px; margin: 0 0 56px; }
.blog-grid article { border-top: 3px solid var(--onyx); padding-top: 14px; }
.blog-grid h3 { font-size: 21px; line-height: 1.25; margin: 0 0 8px; }
.blog-grid__date { margin: 0; }
.stories { margin: 0 0 56px; }
.stories > p { margin: -8px 0 16px; color: var(--muted); font-size: 0.89rem; }
.stories__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.stories__grid a { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; background: var(--grey); text-decoration: none; }
.stories__grid strong { font-family: var(--heading); font-size: 20px; color: var(--onyx); }
.stories__grid span { font-size: 0.89rem; color: var(--text); }
.stories__count { color: var(--gold-text) !important; font-weight: 700; }
.post-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; padding: 22px 0; border-top: 1px solid var(--rule); }
.post-row__date { margin: 0; font-size: 0.84rem; color: var(--muted); line-height: 1.3; }
.post-row__date strong { display: block; font-family: var(--heading); font-size: 20px; color: var(--onyx); }
.post-row h3 { font-size: 22px; line-height: 1.25; margin: 0 0 6px; }
.post-row__dek { margin: 0 0 6px; color: var(--text); font-size: 0.95rem; }
.post-row__about { margin: 0; font-size: 0.84rem; color: var(--muted); }
.pager { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; padding: 24px 0 0; border-top: 1px solid var(--rule); font-size: 0.89rem; }
.pager a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 700; text-decoration: none; }
@media (max-width: 600px) {
  .post-row { grid-template-columns: 1fr; gap: 6px; }
  .post-row__date strong { display: inline; font-size: inherit; font-family: inherit; }
  .take { padding: 32px 28px; }
}

/* Artifacts: photo gallery on the page (partials/page/artifact_gallery) and the photo grid on the hub (partials/page/artifacts). */
.artifact-gallery { margin: 0 0 32px; }
.artifact-gallery__main { margin: 0 0 12px; background: var(--grey); border: 1px solid var(--rule-strong); border-left: 4px solid var(--gold); }
.artifact-gallery__main img { display: block; width: 100%; height: auto; max-height: 75vh; object-fit: contain; }
.artifact-gallery__thumbs { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.artifact-gallery__thumbs a { display: block; border: 2px solid var(--rule-strong); }
.artifact-gallery__thumbs a[aria-current="true"] { border-color: var(--gold-btn); }
.artifact-gallery__thumbs img { display: block; width: 96px; height: 96px; object-fit: cover; }
/* Government Reports, by country and agency (partials/page/reports, report_list, agency). */
.report-country > h2 { margin-top: 40px; }
.report-agency-jump a { min-height: 36px; padding: 0 10px; font-weight: 600; font-size: 0.9rem; gap: 6px; }
.report-agency-jump span { color: var(--muted); font-weight: 400; }
.report-agency { margin: 0 0 32px; }
.report-agency h3 { font-size: 22px; margin: 28px 0 4px; border-bottom: 2px solid var(--gold); padding-bottom: 4px; }
.report-agency h3 a { text-decoration: none; }
.report-agency__meta { color: var(--muted); font-size: 0.85rem; margin: 0 0 6px; }
.report-list { list-style: none; margin: 0 0 24px; padding: 0; }
.report-list li { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; border-bottom: 1px solid var(--rule); padding: 10px 0; }
.report-list__year { color: var(--muted); font-variant-numeric: tabular-nums; }
.report-list a { text-decoration: none; font-weight: 600; }
.report-list small { display: block; color: var(--muted); font-size: 0.79rem; }
.artifact-group { margin: 0 0 40px; }
.artifact-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.artifact-grid a { display: block; height: 100%; text-decoration: none; background: #fff; border: 1px solid var(--rule-strong); }
.artifact-grid a:hover { border-color: var(--gold-btn); }
.artifact-grid img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--grey); }
.artifact-grid span { display: block; padding: 10px 12px 14px; font-weight: 600; line-height: 1.35; color: var(--onyx); }
.artifact-grid small { display: block; margin-top: 4px; font-weight: 400; color: var(--muted); }
.artifact-grid--covers img { aspect-ratio: 200 / 260; object-position: top; }
/* Product pictures (ProductPages::grid): labels and catalog pages shown whole, not cropped. */
.artifact-grid--pictures img { object-fit: contain; background: #fff; border-bottom: 1px solid var(--rule); }
.artifact-grid__blank { display: flex; align-items: center; justify-content: center; aspect-ratio: 200 / 260; background: var(--grey); color: var(--muted); font-weight: 400; text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 479px) { .artifact-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .artifact-gallery__thumbs img { width: 72px; height: 72px; } }
/* Site search (search.antlers.html): results, filters in use, and the filters in the aside. */
.search-form { display: flex; gap: 10px; max-width: 760px; }
.search-form input { flex: 1; min-width: 0; }
.search-count { color: var(--muted); margin: 0 0 8px; }
.search-list { list-style: none; margin: 0 0 24px; padding: 0; }
.search-list li { border-bottom: 1px solid var(--rule); padding: 16px 0; }
.search-list h2 { font-size: 21px; line-height: 1.3; margin: 0 0 4px; }
.search-list h2 a { text-decoration: none; }
.search-list mark, .search-hit__snippet mark { background: #f3e9c2; color: inherit; padding: 0 1px; }
.search-hit__type { margin: 0 0 2px; font-size: 0.79rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-text); }
.search-hit__type span { font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); }
.search-hit__snippet { margin: 0; font-size: 0.95rem; overflow-wrap: anywhere; }
.search-hit__in { color: var(--muted); font-size: 0.85rem; }
.search-chips { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.search-chips a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid var(--rule-strong); text-decoration: none; font-size: 0.89rem; }
.search-chips a:hover { border-color: var(--gold-btn); }
.search-facets { margin: 0 0 32px; }
.search-facet { border-top: 1px solid var(--rule); padding: 8px 0; }
.search-facet > summary { cursor: pointer; font-weight: 700; min-height: 36px; display: flex; align-items: center; }
.search-facet ul { list-style: none; margin: 4px 0; padding: 0; }
.search-facet li a { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; text-decoration: none; font-size: 0.92rem; line-height: 1.35; }
.search-facet li a span { color: var(--muted); font-variant-numeric: tabular-nums; }
.search-facet li a.is-active { font-weight: 700; box-shadow: inset 3px 0 0 var(--gold-btn); padding-left: 10px; }
.search-facet__more > summary { cursor: pointer; color: var(--gold-text); font-size: 0.89rem; padding: 4px 0; }
.search-years { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.search-years label { display: flex; flex-direction: column; font-size: 0.85rem; }
.search-years input { width: 6.5em; }
.search-names { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.search-names label { display: flex; flex-direction: column; width: 100%; font-size: 0.85rem; }
.search-names input { width: 100%; }
@media (max-width: 600px) { .search-form { flex-wrap: wrap; } .search-form .btn { width: 100%; } }
/* The filters can be taller than the screen, so the search aside never sticks; on a narrow screen the filters come
   before the results and the call box (the phone bar already shows the number) is left out. */
.search-aside { position: static; }
.search-facets > summary { display: none; }
@media (max-width: 959px) {
  .search-aside { order: -1; }
  .search-aside .callbox { display: none; }
  .search-facets { margin: 0; }
  .search-facets > summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 14px; border: 1px solid var(--field); font-weight: 600; cursor: pointer; }
  .search-facets > summary::after { content: '▾'; }
  .search-facets[open] > summary { margin-bottom: 8px; }
}

/* ---------------------------------------------------------------- library hub (/library) */
.library-search { background: var(--grey); border-top: 4px solid var(--gold); padding: 22px 24px 24px; margin: 8px 0 24px; }
.library-search label { display: block; font-family: var(--heading); font-size: 1.15rem; font-weight: 500; color: var(--ink); margin-bottom: 12px; }
.library-stats { list-style: none; margin: 0 0 48px; padding: 0; display: flex; flex-wrap: wrap; gap: 1px; background: var(--rule-strong); border: 1px solid var(--rule-strong); }
.library-stats li { flex: 1 1 110px; background: #fff; padding: 14px 16px; color: var(--muted); font-size: 0.95rem; line-height: 1.35; }
.library-stats strong { display: block; font-family: var(--heading); font-size: 1.5rem; font-weight: 500; color: var(--ink); }
.library-group { margin-bottom: 8px; }
.library-group__intro { color: var(--muted); margin: -4px 0 20px; max-width: 760px; }
.section-cards__count { display: block; margin-top: 12px; color: var(--gold-text); font-size: 0.9rem; font-weight: 600; }
.section-cards--lead { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.section-cards--lead li { background: var(--onyx); border-color: var(--onyx); border-top-color: var(--gold); }
.section-cards--lead a { color: #fff; font-size: 1.35rem; }
.section-cards--lead a::before { color: var(--gold); }
.section-cards--lead p { color: var(--on-dark); }
.section-cards--lead .section-cards__count { color: var(--gold); }
