:root {
  --ink: #30251e;
  --ink-soft: #66584d;
  --umber: #3a2b23;
  --umber-2: #513b2e;
  --umber-3: #755744;
  --paper: #f0e8dc;
  --paper-2: #faf6ef;
  --white: #fffdf9;
  --brass: #94673e;
  --brass-light: #dfbc85;
  --rust: #874b32;
  --line: #d9cbb9;
  --line-dark: rgba(255,255,255,0.16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --shell: 1180px;
  --narrow: 780px;
  --radius: 0;
  --radius-small: 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper-2);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: rgba(135,75,50,.5); text-underline-offset: .18em; }
a:hover { text-decoration-color: currentColor; }
button, input, select, textarea { font: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--brass-light); color: var(--umber); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 4px; border-radius: 3px; }

.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.shell.narrow, .narrow { width: min(calc(100% - 40px), var(--narrow)); margin-inline: auto; }
.section-pad { padding: 56px 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; z-index: 1000; left: 18px; top: 12px; padding: 10px 16px;
  background: var(--white); color: var(--umber); border-radius: 6px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

h1, h2, h3, h4 { margin: 0; color: var(--umber); font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.025em; }
h1 { font-size: clamp(3rem, 7vw, 6.8rem); }
h2 { font-size: clamp(2.2rem, 4vw, 4rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
p { margin: 0; }
.eyebrow {
  margin: 0 0 18px; color: var(--rust); font-size: .75rem; font-weight: 800;
  letter-spacing: .14em; line-height: 1.2; text-transform: uppercase;
}
.eyebrow-light { color: var(--brass-light); }
.text-link { color: var(--rust); font-size: .88rem; font-weight: 800; text-decoration: none; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 30px; }
.button {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 20px;
  border: 1px solid transparent; border-radius: 999px; font-size: .86rem; font-weight: 800;
  letter-spacing: .01em; text-decoration: none; transition: transform .2s ease, background .2s ease, border .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--umber); color: var(--white); }
.button-primary:hover { background: var(--umber-2); }
.button-quiet { border-color: var(--line); background: rgba(255,253,249,.6); color: var(--umber); }
.button-quiet:hover { border-color: var(--umber-3); background: var(--white); }
.button-brass { background: var(--brass-light); color: var(--umber); }
.button-brass:hover { background: #e9c995; }

/* Header */
.site-header { position: relative; z-index: 100; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.header-inner { display: grid; min-height: 80px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--umber); font-family: var(--serif); font-size: 1.15rem; font-weight: 600; text-decoration: none; }
.brand img { width: 44px; height: 44px; flex: 0 0 auto; }
.brand { justify-self: start; white-space: nowrap; }
.desktop-nav { display:flex; min-height:42px; align-items:center; justify-content:center; gap:24px; border-top:1px solid var(--line); }
.desktop-nav a { color:var(--ink); font-size:.68rem; font-weight:700; letter-spacing:.11em; text-decoration:none; text-transform:uppercase; }
.desktop-nav a:hover, .desktop-nav a[aria-current] { color:var(--ink-soft); text-decoration:underline; text-underline-offset:5px; }
.header-actions { display: flex; align-items: center; justify-self: end; gap: 10px; }
.search-link { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--umber); }
.search-link svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.home-library-hero { background: var(--paper); border-bottom: 1px solid var(--line); }
.home-library-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(240px, .7fr); gap: 64px; padding: 48px 0; }
.home-library-copy { max-width: 820px; }
.home-library-copy h1 { max-width: 760px; font-size: clamp(3rem, 5vw, 4.5rem); line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
.home-library-deck { max-width: 680px; margin-top: 28px; color: var(--ink-soft); font-size: clamp(1.1rem, 2vw, 1.38rem); line-height: 1.5; }
.home-search { max-width: 760px; margin-top: 34px; }
.home-search .search-box { margin-top: 0; }
.home-search .search-box input { height: 68px; font-size: 1.04rem; }
.home-search-suggestions { margin-top: 15px; }
.home-library-note { align-self: end; border-top: 1px solid var(--ink); }
.home-library-note .eyebrow { margin: 16px 0 8px; }
.home-library-note a { display: grid; grid-template-columns: 72px 1fr; gap: 10px; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.home-library-note a:hover { background: var(--white); }
.home-library-note strong { font-family: var(--serif); font-size: 2rem; font-weight: 400; line-height: 1; }
.home-library-note span { align-self: center; color: var(--ink-soft); font-size: .82rem; line-height: 1.35; }
.home-search-results { padding-top: 34px; background: var(--white); }
.home-search-results .search-filters { margin-bottom: 18px; }
.home-full-search { margin: 26px 0 0; text-align: center; }
.home-subject-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 24px; background: var(--line); border: 1px solid var(--line); }
.home-subject-links a { display: grid; gap: 8px; min-height: 110px; padding: 18px; background: var(--white); color: var(--ink); text-decoration: none; }
.home-subject-links a:hover { background: var(--paper-2); }
.home-subject-links strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }
.home-subject-links span { color: var(--ink-soft); font-size: .82rem; line-height: 1.35; }
.home-editorial-band { background: var(--paper-2); border-block: 1px solid var(--line); }
.home-editorial-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr); gap: 80px; align-items: center; }
.home-editorial-grid > div { max-width: 650px; }
.home-editorial-grid figure { margin: 0; }
.home-editorial-grid picture { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.home-editorial-grid img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: grayscale(1); }
.home-editorial-grid figcaption { padding-top: 10px; color: var(--ink-soft); font-size: .8rem; line-height: 1.4; }
.home-starting-points { background: var(--white); }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { display: grid; width: 42px; height: 42px; cursor: pointer; list-style: none; place-content: center; gap: 4px; border: 1px solid var(--line); border-radius: 50%; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary span { width: 17px; height: 1.5px; background: var(--umber); }
.mobile-nav nav { position: absolute; right: 0; top: 52px; display: grid; max-height: calc(100vh - 72px); min-width: 245px; padding: 12px; overflow-y: auto; overscroll-behavior: contain; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-small); }
.mobile-nav nav a { padding: 10px 12px; border-radius: var(--radius-small); color: var(--umber); font-size: .9rem; font-weight: 700; text-decoration: none; }
.mobile-nav nav a:hover, .mobile-nav nav a[aria-current] { background: var(--paper); color: var(--umber); }

/* Home sections */
.section-heading { max-width: 760px; margin-bottom: 42px; }
.split-heading { display: flex; max-width: none; align-items: end; justify-content: space-between; gap: 30px; }
.split-heading h2 { max-width: 720px; }
.pathway-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.pathway-card { min-height: 250px; padding: 28px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); text-decoration: none; transition: background .2s ease; }
.pathway-card:hover, .pathway-card:focus-visible { position: relative; z-index: 2; background: var(--paper); color: var(--ink); }
.card-number { color: var(--rust); font-family: var(--mono); font-size: .72rem; }
.pathway-card h3 { margin-top: 55px; font-size: 2rem; }
.pathway-card p { min-height: 78px; margin: 13px 0 18px; color: var(--ink-soft); font-size: .9rem; line-height: 1.5; }
.journey-directory { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.journey-directory-index { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 18px; }
.journey-directory-index a { display: inline-flex; gap: 8px; align-items: center; min-height: 42px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--umber); font-family: var(--sans); font-size: .82rem; font-weight: 700; text-decoration: none; }
.journey-directory-index a:hover { border-color: var(--brass); }
.journey-directory-index span { color: var(--rust); font-family: var(--mono); font-size: .7rem; }
.journey-directory-list { display: grid; gap: 18px; }
.journey-directory-card { padding: clamp(20px, 4vw, 34px); scroll-margin-top: 96px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-small); }
.journey-directory-card header { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; max-width: 780px; }
.journey-directory-card h2 { margin: 0; color: var(--umber); font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.65rem); line-height: 1.05; }
.journey-directory-card header > p:not(.eyebrow), .journey-directory-card footer p { margin: 0; color: var(--ink-soft); font-family: var(--sans); line-height: 1.58; }
.journey-directory-card footer strong { display: block; margin-bottom: 5px; color: var(--umber); font-family: var(--sans); font-size: .83rem; }
.journey-step-list { display: grid; gap: 0; padding: 0; margin: 0; list-style: none; }
.journey-step-list li { display: block; padding: 15px 0; border-top: 1px solid var(--line); }
.journey-step-list li > span { display: grid; width: 26px; height: 26px; place-items: center; margin-top: 2px; background: var(--paper-2); border-radius: 50%; color: var(--rust); font-family: var(--mono); font-size: .72rem; }
.journey-step-list a { color: var(--umber); text-decoration: none; }
.journey-step-list strong, .journey-step-list small { display: block; }
.journey-step-list strong { font-family: var(--serif); font-size: 1.14rem; font-weight: 600; }
.journey-step-list small { margin-top: 4px; color: var(--ink-soft); font-family: var(--sans); font-size: .88rem; line-height: 1.5; }
.journey-directory-card footer { padding-top: 16px; margin-top: 2px; border-top: 1px solid var(--line); }
.feature-band { background: var(--paper-2); }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.article-card { min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 0; transition: background .2s ease; }
.article-card:hover { background: var(--paper); }
.article-card a { display: flex; height: 100%; flex-direction: column; padding: 24px; text-decoration: none; }
.article-section { margin-bottom: 30px; color: var(--rust); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.article-card h2, .article-card h3 { font-size: 1.52rem; line-height: 1.15; }
.article-card p { margin: 14px 0 22px; color: var(--ink-soft); font-size: .88rem; line-height: 1.55; }
.article-meta { margin-top: auto; color: var(--ink-soft); font-family: var(--mono); font-size: .78rem; text-transform: uppercase; }
.article-grid.compact { grid-template-columns: repeat(3, 1fr); }
.article-grid.compact .article-card a { min-height: 0; }

/* Article and page */
.encyclopedia-manuscript h4 { scroll-margin-top: 90px; }
.encyclopedia-manuscript { margin-top: 28px; }
.encyclopedia-manuscript:not([open]) > :not(summary) { display: none; }
.encyclopedia-manuscript > summary { padding: 16px; cursor: pointer; background: var(--paper); font-family: var(--sans); font-weight: 700; }
.article-hero, .simple-hero, .hub-hero, .tool-hero { background: var(--paper); border-bottom: 1px solid var(--line); }
.article-hero-inner { max-width: var(--shell); padding-block: 48px; margin-inline: auto; }
.article-hero h1 { max-width: 1000px; font-size: clamp(2.5rem, 4.5vw, 4rem); text-wrap: balance; }
.article-deck { max-width: 760px; margin-top: 25px; color: var(--ink-soft); font-family: var(--serif); font-size: 1.3rem; line-height: 1.5; }
.breadcrumbs { display: flex; overflow: hidden; align-items: center; gap: 8px; margin-bottom: 34px; color: var(--ink-soft); font-size: .875rem; white-space: nowrap; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs span:last-child { overflow: hidden; text-overflow: ellipsis; }
.byline { display: flex; align-items: center; gap: 12px; margin-top: 35px; }
.byline-mark { display: grid; width: 38px; height: 38px; place-items: center; background: var(--umber); border-radius: 50%; }
.byline-mark img { display: block; width: 25px; height: 25px; }
.byline strong, .byline div > span { display: block; }
.byline strong { color: var(--umber); font-size: .78rem; }
.byline div > span { margin-top: 2px; color: var(--ink-soft); font-size: .875rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 270px; justify-content: space-between; gap: 80px; padding-top: 70px; padding-bottom: 100px; }
.article-aside { position: relative; min-width: 0; }
.toc-card { position: sticky; top: 100px; max-height: calc(100vh - 130px); overflow-y: auto; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-small); }
.toc-card .toctitle { margin-bottom: 12px; color: var(--umber); font-size: .68rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.toc-card ul { padding: 0; margin: 0; list-style: none; }
.toc-card ul ul { display: block; padding: 6px 0 0 12px; }
.toc-card li + li { margin-top: 8px; }
.toc-card a { display: block; color: var(--ink-soft); font-size: .73rem; line-height: 1.35; text-decoration: none; }
.toc-card a:hover { color: var(--rust); }
.mini-cta { display: block; margin-top: 14px; padding: 18px; background: var(--umber); border-radius: var(--radius-small); color: var(--white); text-decoration: none; }
.mini-cta span, .mini-cta strong { display: block; }
.mini-cta span { color: var(--brass-light); font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.mini-cta strong { margin-top: 7px; font-family: var(--serif); font-size: .95rem; font-weight: 500; line-height: 1.3; }
.prose { min-width: 0; color: var(--ink); font-family: var(--serif); font-size: 1.08rem; line-height: 1.78; }
.prose > :first-child { margin-top: 0; }
.prose h2 { padding-top: 36px; margin: 48px 0 18px; font-size: clamp(2rem, 3.2vw, 2.75rem); scroll-margin-top: 90px; }
.prose h3 { padding-top: 20px; margin: 34px 0 12px; font-size: 1.55rem; scroll-margin-top: 90px; }
.prose h4 { margin: 28px 0 8px; font-family: var(--sans); font-size: 1rem; font-weight: 800; letter-spacing: 0; }
.prose p { margin: 0 0 1.15em; }
.prose a { color: var(--rust); overflow-wrap: anywhere; }
.prose strong { color: var(--umber); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.4em; }
.prose li { padding-left: .25em; margin: .42em 0; }
.prose li:has(> input[type="checkbox"]) { list-style: none; margin-left: -1.1em; }
.prose li > input[type="checkbox"] { width: 1em; height: 1em; margin: 0 .45em 0 0; accent-color: var(--umber); vertical-align: -.08em; opacity: 1; }
.prose blockquote { padding: 24px 28px; margin: 32px 0; background: var(--paper); border-left: 4px solid var(--brass); color: var(--umber); font-size: 1.12rem; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose hr { height: 1px; margin: 50px 0; background: var(--line); border: 0; }
.prose code { padding: .1em .32em; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; font-family: var(--mono); font-size: .82em; }
.prose pre { overflow-x: auto; padding: 20px; background: var(--umber); border-radius: var(--radius-small); color: var(--white); }
.table-scroll { margin: 32px 0 40px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-small); outline-offset: 3px; }
.table-scroll:focus { outline: 3px solid rgba(148,103,62,.55); }
.table-scroll-hint { display: block; padding: 8px 12px; background: var(--paper); color: var(--ink-soft); font-size: .875rem; }
.prose table { width: 100%; margin: 0; border-spacing: 0; border-collapse: collapse; font-family: var(--sans); font-size: .9rem; line-height: 1.5; }
.prose th, .prose td { min-width: 135px; padding: 12px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--umber); color: var(--white); font-size: .82rem; letter-spacing: .03em; }
.prose tr:nth-child(even) td { background: rgba(240,232,220,.65); }
.source-list { padding-top: 15px; margin-top: 70px; border-top: 1px solid var(--line); }
.source-list h2 { font-size: 2rem; }
.source-status { margin: 12px 0 18px; color: var(--ink-soft); font-family: var(--sans); font-size: .9rem; }
.source-list ol { font-family: var(--sans); font-size: .9rem; line-height: 1.55; }
.source-list li { margin: .4rem 0; }
.source-context { display: block; margin-top: .2rem; color: var(--ink-soft); font-size: .92em; }
.share-panel { display: grid; grid-template-columns: 1fr auto; gap: 16px 24px; align-items: center; padding: 24px; margin-top: 42px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-small); font-family: var(--sans); }
.share-panel strong { color: var(--umber); font-family: var(--serif); font-size: 1.18rem; font-weight: 600; }
.share-panel > div:first-child p { margin: 5px 0 0; color: var(--ink-soft); font-size: .9rem; line-height: 1.45; }
.share-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.share-status { grid-column: 1 / -1; min-height: 1.2em; margin: 0; color: var(--ink-soft); font-size: .82rem; }
.embed-fallback { max-width: 860px; margin: 18px auto 0; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-small); font-family: var(--sans); }
.embed-fallback summary { color: var(--umber); cursor: pointer; font-size: .875rem; font-weight: 780; }
.embed-fallback label { display: block; margin: 14px 0 6px; color: var(--umber); font-size: .82rem; font-weight: 780; }
.embed-fallback textarea { width: 100%; padding: 10px 12px; resize: vertical; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-small); color: var(--ink); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .78rem; line-height: 1.5; }
.embed-fallback p { margin: 8px 0 0; color: var(--ink-soft); font-size: .82rem; line-height: 1.45; }
.correction-note { padding: 22px; margin-top: 34px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-small); font-family: var(--sans); font-size: .95rem; }
.correction-note p { margin: 4px 0 0; }
.article-hero-visual { margin: 0 0 42px; }
.article-hero-visual img { display: block; width: 100%; height: auto; border: 1px solid var(--umber); border-radius: 0; background: var(--paper); box-shadow: none; }
.article-hero-visual figcaption { margin-top: 10px; color: var(--ink-soft); font-family: var(--sans); font-size: .875rem; line-height: 1.5; }
.image-provenance { margin-top: 12px; padding: 12px 14px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-small); color: var(--ink-soft); font-family: var(--sans); font-size: .875rem; line-height: 1.5; }
.image-provenance summary { cursor: pointer; color: var(--umber); font-weight: 760; }
.image-provenance p { margin: 8px 0 0; }
.article-summary { margin-top: 0; }
.article-status { margin-top: 0; }
.article-status summary { color: var(--umber); cursor: pointer; font-weight: 800; }
.article-status[open] summary { margin-bottom: 8px; }
.article-record { padding: 14px 16px; margin: 16px 0 30px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-small); color: var(--ink-soft); font-family: var(--sans); font-size: .875rem; line-height: 1.5; }
.article-record summary { cursor: pointer; color: var(--umber); font-weight: 800; }
.article-record[open] summary { margin-bottom: 12px; }
.article-record dl { display: grid; grid-template-columns: minmax(140px, .65fr) 1.35fr; gap: 7px 14px; margin: 0; }
.article-record dt { color: var(--umber); font-weight: 750; }
.article-record dd { margin: 0; }
.article-record p { margin: 14px 0 0; }
.brand-finder { padding: 26px; margin: 34px 0 44px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-small); color: var(--ink); font-family: var(--sans); }
.brand-finder-heading { max-width: 700px; }
.brand-finder-heading .eyebrow { margin: 0 0 8px; }
.brand-finder-heading h2 { padding: 0; margin: 0; color: var(--umber); font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.35rem); }
.brand-finder-heading > p:last-child { margin: 10px 0 0; color: var(--ink-soft); font-size: .94rem; line-height: 1.55; }
.brand-finder-form { margin-top: 22px; }
.brand-finder-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.brand-finder-grid .field.full { grid-column: 1 / -1; }
.brand-finder-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.brand-finder-status { min-height: 1.5em; margin: 18px 0 0; color: var(--ink-soft); font-size: .9rem; line-height: 1.45; }
.brand-finder-noscript { padding: 12px 14px; margin: 16px 0 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-small); color: var(--ink-soft); font-size: .9rem; line-height: 1.45; }
.brand-index-results { display: grid; gap: 13px; padding: 0; margin: 18px 0 0; list-style: none; }
.brand-index-card { padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-small); }
.brand-index-card h3 { padding: 0; margin: 0; color: var(--umber); font-family: var(--serif); font-size: 1.4rem; }
.brand-index-meta { margin: 5px 0 0; color: var(--ink-soft); font-size: .82rem; font-weight: 750; line-height: 1.4; }
.brand-index-card dl { display: grid; grid-template-columns: minmax(115px, .72fr) 1.28fr; gap: 5px 14px; margin: 15px 0; font-size: .85rem; line-height: 1.45; }
.brand-index-card dt { color: var(--umber); font-weight: 780; }
.brand-index-card dd { margin: 0; color: var(--ink-soft); }
.brand-index-history { margin: 0; color: var(--ink-soft); font-family: var(--serif); font-size: .98rem; line-height: 1.58; }
.brand-index-source-labels, .brand-index-note { margin: 12px 0 0; color: var(--ink-soft); font-size: .84rem; line-height: 1.48; }
.brand-index-entry { margin: 14px 0 0; font-size: .84rem; font-weight: 800; }
.brand-index-entry a, .brand-index-card h3 a { color: var(--rust); text-decoration-thickness: 1px; }
.brand-index-note { padding-top: 11px; border-top: 1px solid var(--line); }
.tool-index-card .brand-index-note { margin-top: 10px; }
.prose tr[id^="wt-"] { scroll-margin-top: 96px; }
.prose tr[id^="wt-"]:target td, .prose tr[id^="wt-"]:focus td { background: var(--paper); box-shadow: inset 0 2px 0 var(--brass), inset 0 -2px 0 var(--brass); }
.image-zoom { display: block; width: 100%; padding: 0; cursor: zoom-in; background: transparent; border: 0; border-radius: var(--radius-small); }
.image-zoom img { transition: transform .2s ease, box-shadow .2s ease; }
.image-zoom:hover img { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(58,43,35,.2); }
.image-lightbox { width: min(1200px, calc(100vw - 28px)); max-width: none; max-height: calc(100vh - 28px); padding: 14px; overflow: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-small); }
.image-lightbox::backdrop { background: rgba(14,14,14,.78); backdrop-filter: blur(4px); }
.image-lightbox-inner { position: relative; }
.image-lightbox img { width: 100%; height: auto; }
.image-lightbox-close { position: sticky; z-index: 1; float: right; top: 0; min-width: 44px; min-height: 44px; margin: 4px; background: var(--white); border: 1px solid var(--line); border-radius: 50%; color: var(--umber); cursor: pointer; font-size: 1.35rem; line-height: 1; }
.image-lightbox p { margin: 12px 6px 2px; color: var(--ink-soft); font-size: .9rem; line-height: 1.45; }
.tool-export { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 20px; margin-top: 24px; border-top: 1px solid var(--line); }
.tool-export p { max-width: 390px; margin: 0; color: var(--ink-soft); font-family: var(--sans); font-size: .875rem; line-height: 1.5; }
.related { background: var(--paper); border-top: 1px solid var(--line); }
.simple-hero .narrow { padding-block: 42px; }
.tool-hero .narrow { padding-top: 42px; padding-bottom: 42px; }
.simple-hero h1, .tool-hero h1 { font-size: clamp(2.5rem, 4.5vw, 4rem); text-wrap: balance; }
.simple-hero .narrow > h1 + p, .tool-hero .narrow > h1 + p { max-width: 700px; margin-top: 22px; color: var(--ink-soft); font-family: var(--serif); font-size: 1.25rem; }
.page-layout { padding-top: 70px; padding-bottom: 100px; }
.dataset-release { position: relative; padding: 28px; margin-top: -24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.dataset-release-heading h2 { font-size: clamp(1.7rem, 3vw, 2.45rem); }
.dataset-release-heading > p:last-child { margin-top: 10px; color: var(--ink-soft); }
.dataset-downloads { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.dataset-checksums { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 8px 18px; padding-top: 20px; margin: 22px 0 0; border-top: 1px solid var(--line); font-size: .84rem; }
.dataset-checksums dt { color: var(--ink-soft); font-weight: 750; }
.dataset-checksums dd { min-width: 0; margin: 0; }
.dataset-checksums code { display: block; overflow-wrap: anywhere; color: var(--umber); font-family: var(--mono); font-size: .78rem; line-height: 1.45; }
.dataset-supporting { padding-top: 22px; margin-top: 24px; border-top: 1px solid var(--line); }
.dataset-supporting h3 { font-size: 1.35rem; }
.dataset-supporting > p { max-width: 680px; margin-top: 8px; color: var(--ink-soft); font-size: .9rem; line-height: 1.55; }
.hub-hero .shell { padding-block: 42px; }
.hub-hero h1 { max-width: 900px; font-size: clamp(2.5rem, 4.5vw, 4rem); text-wrap: balance; }
.hub-hero .shell > p:last-child { max-width: 720px; margin-top: 24px; color: var(--ink-soft); font-family: var(--serif); font-size: 1.25rem; }
.hub-grid { grid-template-columns: repeat(3, 1fr); }
.hub-grid .featured-card { grid-column: span 2; }
.hub-grid .featured-card h2 { max-width: 620px; font-size: 2.35rem; }
.empty-state { padding: 60px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-small); text-align: center; }
.empty-state p { margin-top: 15px; color: var(--ink-soft); }

/* Tools */
.tool-hero { background: var(--umber); color: rgba(255,255,255,.76); }
.tool-hero h1 { color: var(--white); }
.tool-hero .eyebrow { color: var(--brass-light); }
.tool-hero .breadcrumbs, .tool-hero .breadcrumbs a { color: rgba(255,255,255,.55); }
.tool-hero .narrow > p:not(.eyebrow) { color: rgba(255,255,255,.7); }
.tool-promise { display: inline-flex; padding: 7px 12px; margin-top: 18px; border: 1px solid var(--line-dark); border-radius: 999px; color: var(--brass-light); font-size: .82rem; font-weight: 750; }
.tool-reviewed { display: block; margin-top: 10px; color: rgba(255,255,255,.72); font-size: .875rem; }
.tool-layout { display: grid; grid-template-columns: minmax(0, 660px) minmax(0, 400px); justify-content: space-between; gap: 80px; padding-top: 70px; padding-bottom: 110px; }
.tool-app { align-self: start; padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.tool-app h2 { margin-bottom: 8px; font-family: var(--sans); font-size: 1.25rem; font-weight: 800; letter-spacing: 0; }
.tool-app--hold { border-color: color-mix(in srgb, var(--brass) 50%, var(--line)); }
.tool-hold { display: grid; gap: 16px; }
.tool-hold .eyebrow { margin: 0; }
.tool-hold p { margin: 0; color: var(--ink-soft); line-height: 1.6; }
.tool-hold .tool-disclaimer { padding-top: 14px; border-top: 1px solid var(--line); font-size: .88rem; }
.tool-intro { margin-bottom: 24px; color: var(--ink-soft); font-size: .9rem; line-height: 1.5; }
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label, .field > span, fieldset legend { color: var(--umber); font-size: .875rem; font-weight: 780; }
.field small { color: var(--ink-soft); font-size: .875rem; line-height: 1.45; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-small); color: var(--umber);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brass); outline: 3px solid rgba(148,103,62,.2); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--rust); box-shadow: 0 0 0 2px rgba(135,75,50,.16); }
.field input:disabled, .field select:disabled { cursor: not-allowed; color: var(--ink-soft); opacity: .8; }
.field-error { min-height: 1.25em; margin: 0; color: var(--rust); font-size: .875rem; font-weight: 650; line-height: 1.4; }
.field-error[hidden] { display: none; }
.tool-actions { display: flex; gap: 10px; margin-top: 22px; }
.tool-actions button { cursor: pointer; }
.tool-result { padding: 24px; margin-top: 28px; background: var(--umber); border-radius: var(--radius-small); color: rgba(255,255,255,.72); }
.tool-result[hidden] { display: none; }
.tool-result h3 { color: var(--white); font-family: var(--sans); font-size: .83rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.result-label { display: block; margin-top: 12px; color: rgba(255,255,255,.72); font-size: .875rem; font-weight: 700; }
.result-big { margin: 8px 0; color: var(--brass-light); font-family: var(--serif); font-size: 2.6rem; line-height: 1; }
.result-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 18px; }
.result-cell { padding: 12px; background: rgba(255,255,255,.07); border-radius: var(--radius-small); }
.result-cell span, .result-cell strong { display: block; }
.result-cell span { color: rgba(255,255,255,.78); font-size: .82rem; line-height: 1.35; }
.result-cell strong { margin-top: 5px; color: var(--white); font-size: 1rem; }
.tool-disclaimer { margin-top: 17px; color: rgba(255,255,255,.72); font-size: .875rem; line-height: 1.5; }
.tool-context { margin: 16px 0 0; color: rgba(255,255,255,.82); font-size: .875rem; line-height: 1.5; }
.tool-result-stale { padding: 10px 12px; margin: 12px 0 0; background: rgba(223,188,133,.16); border: 1px solid rgba(223,188,133,.48); border-radius: var(--radius-small); color: var(--brass-light); font-size: .9rem; font-weight: 700; line-height: 1.45; }
.tool-result.is-stale .result-big, .tool-result.is-stale .result-grid, .tool-result.is-stale .tool-context, .tool-result.is-stale .tool-disclaimer { opacity: .56; }
.tool-explainer { font-size: .98rem; }
.tool-method { padding: 12px 14px; margin: -6px 0 22px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-small); }
.tool-method summary { cursor: pointer; color: var(--umber); font-size: .875rem; font-weight: 800; }
.tool-method p { margin: 10px 0 0; color: var(--ink-soft); font-size: .875rem; line-height: 1.5; }
.tool-no-script { padding: 18px; margin-top: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-small); }
.tool-no-script h3 { color: var(--umber); font-family: var(--sans); font-size: 1rem; font-weight: 800; letter-spacing: 0; }
.tool-no-script p { margin: 9px 0 0; color: var(--ink-soft); font-size: .9rem; line-height: 1.55; }
.tool-print-summary { display: none; }
.recommendation-list { display: grid; gap: 9px; margin-top: 16px; }
.recommendation { padding: 13px; background: rgba(255,255,255,.07); border-radius: var(--radius-small); }
.recommendation strong { display: block; color: var(--white); font-family: var(--serif); font-size: 1.05rem; font-weight: 500; }
.recommendation p { margin-top: 4px; font-size: .875rem; line-height: 1.5; }
.recommendation-reasons { color: rgba(255,255,255,.76); font-weight: 650; }
.checklist-group { min-width: 0; padding: 0; margin: 0; border: 0; }
.checklist-group + .checklist-group { margin-top: 24px; }
.checklist-group legend { padding: 0; margin-bottom: 10px; font-size: .875rem; }
.checklist { display: grid; gap: 8px; }
.checklist label { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 11px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-small); color: var(--umber); font-size: .9rem; line-height: 1.45; cursor: pointer; }
.checklist input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--umber-2); }
.worksheet-progress { margin-top: 22px; }
.worksheet-progress > label { display: block; color: var(--umber); font-size: .875rem; font-weight: 780; }
.worksheet-progress progress { display: block; width: 100%; height: 12px; margin: 10px 0 7px; accent-color: var(--rust); }
.progress-label { margin: 0; color: var(--ink-soft); font-size: .875rem; line-height: 1.4; }
.printable-resource .interactive-checklist-item { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; margin-left: 0; list-style: none; }
.printable-resource .interactive-checklist-item input, .printable-resource .interactive-checklist-cell input { width: 18px; height: 18px; margin: 4px 0 0; accent-color: var(--umber-2); }
.printable-resource .interactive-checklist-item label { cursor: pointer; }
.printable-resource .interactive-checklist-cell { text-align: center; vertical-align: middle; }

/* Visuals */
.visual-stage { padding: 65px 0 100px; }
.visual-stage figure { padding: 22px; margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.visual-stage figure img { width: 100%; height: auto; }
.visual-stage figcaption { padding: 15px 8px 0; color: var(--ink-soft); font-size: .875rem; }
.article-visual { margin: 48px 0; }
.article-visual a { display: block; border-radius: var(--radius); overflow: hidden; }
.article-visual img { width: 100%; height: auto; }
.article-visual figcaption { margin-top: 12px; color: var(--ink-soft); font-family: var(--sans); font-size: .875rem; line-height: 1.5; }
.visual-actions { display: flex; gap: 10px; margin-top: 22px; }
.visual-citation{display:grid;grid-template-columns:1fr minmax(260px,.9fr);gap:22px;padding:22px;margin-top:18px;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-small)}
.visual-citation textarea{width:100%;min-height:78px;padding:10px 12px;background:var(--white);border:1px solid var(--line);border-radius:8px;color:var(--ink);resize:vertical}
.visual-notes { max-width: 760px; margin-top: 45px; }
.visual-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.visual-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-small); transition: transform .2s ease, box-shadow .2s ease; }
.visual-card:hover { transform: translateY(-5px); }
.visual-card a { text-decoration: none; }
.visual-card img { width: 100%; aspect-ratio: 1.58; object-fit: cover; background: var(--paper); border-bottom: 1px solid var(--line); }
.visual-card div { padding: 25px; }
.visual-card h2 { font-size: 1.7rem; }
.visual-card p { margin: 12px 0 16px; color: var(--ink-soft); font-size: .9rem; }

/* Search and 404 */
.search-box { position: relative; display: block; margin-top: 32px; }
.search-box input { width: 100%; height: 60px; padding: 0 54px 0 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-small); color: var(--umber); }
.search-box kbd { position: absolute; right: 16px; top: 50%; padding: 2px 7px; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; color: var(--ink-soft); font-family: var(--mono); font-size: .7rem; transform: translateY(-50%); }
.search-privacy-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 10px; }
.search-privacy-note { margin: 0; color: var(--ink-soft); font-size: .9rem; line-height: 1.45; }
.search-share-link { min-height: 38px; flex: 0 0 auto; padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--umber); cursor: pointer; font-family: var(--sans); font-size: .84rem; font-weight: 750; }
.search-share-link:hover { border-color: var(--umber-3); }
.search-results-section { min-height: 450px; padding: 55px 0 100px; }
.search-filters { display: grid; gap: 16px; padding: 18px; margin-bottom: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-small); }
.search-filter-label { display: block; margin-bottom: 8px; color: var(--umber); font-size: .82rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.search-filter-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.search-filter-buttons button { min-height: 36px; padding: 7px 11px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; color: var(--umber); cursor: pointer; font-family: var(--sans); font-size: .83rem; font-weight: 750; }
.search-filter-buttons button[aria-pressed="true"] { background: var(--umber); border-color: var(--umber); color: var(--white); }
.search-filter-buttons button:hover { border-color: var(--umber-3); }
.no-script-message { padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-small); }
.contact-composer-band { padding-top: 42px; }
.contact-composer { padding: 26px; margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-composer > p { margin-bottom: 22px; color: var(--ink-soft); }
.contact-status { min-height: 1.5em; margin: 14px 0 0; color: var(--umber); font-weight: 700; }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.mobile-toc { display: none; }
.search-status { margin-bottom: 20px; color: var(--ink-soft); font-size: .9rem; }
.search-results { display: grid; gap: 10px; }
.search-result { display: block; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-small); text-decoration: none; }
.search-result:hover { border-color: var(--umber-3); }
.search-result span { color: var(--rust); font-size: .82rem; font-weight: 800; text-transform: uppercase; }
.search-result strong { display: block; margin: 5px 0; color: var(--umber); font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }
.search-result p { color: var(--ink-soft); font-size: .9rem; }
.search-result mark { padding: 0 .08em; background: var(--brass-light); color: var(--ink); }
.search-empty-state { padding: 34px; margin-bottom: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-small); }
.search-empty-state h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.search-empty-state p { max-width: 620px; margin-top: 10px; color: var(--ink-soft); }
.search-suggestions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.search-suggestions a { padding: 9px 12px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; color: var(--umber); font-size: .9rem; font-weight: 700; text-decoration: none; }
.search-suggestions a:hover { border-color: var(--umber-3); }
.search-fallback { display: grid; gap: 28px; padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-small); }
.search-fallback > h2 { margin: 0; }
.search-fallback > p { max-width: 680px; margin: -16px 0 0; color: var(--ink-soft); }
.search-fallback section { padding-top: 22px; border-top: 1px solid var(--line); }
.search-fallback h3 { margin: 0 0 12px; font-family: var(--sans); font-size: 1rem; letter-spacing: 0; }
.search-fallback ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 22px; padding: 0; margin: 0; list-style: none; }
.search-fallback li { display: grid; gap: 2px; }
.search-fallback a { color: var(--umber); font-weight: 800; }
.search-fallback span { color: var(--ink-soft); font-size: .86rem; line-height: 1.42; }
.not-found { min-height: 68vh; display: grid; place-items: center; background: var(--paper); text-align: center; }
.not-found h1 { font-size: clamp(3rem, 7vw, 6rem); }
.not-found p { max-width: 580px; margin: 24px auto 0; color: var(--ink-soft); }
.not-found .button-row { justify-content: center; }
.not-found-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 32px auto 0; }
.not-found-links a { padding: 9px 13px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; color: var(--umber); font-size: .9rem; font-weight: 750; text-decoration: none; }
.not-found-links a:hover { border-color: var(--umber-3); background: var(--paper-2); }

/* Footer */
.site-footer { padding: 68px 0 20px; background: #2f231c; color: rgba(255,253,249,.72); }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 60px; }
.brand-light { color: var(--white); }
.footer-brand p { max-width: 330px; margin-top: 18px; font-family: var(--serif); font-size: 1rem; }
.footer-brand .fine-print { color: rgba(255,255,255,.76); font-family: var(--sans); font-size: .875rem; line-height: 1.45; }
.footer-grid h2 { margin: 3px 0 12px; color: var(--brass-light); font-family: var(--sans); font-size: .875rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid > div:not(.footer-brand) a { display: flex; align-items: center; width: fit-content; min-height: 32px; margin: 2px 0; font-size: .875rem; text-decoration: none; }
.footer-grid a:hover { color: var(--white); }
.footer-newsletter { display: grid; grid-template-columns: minmax(0, .8fr) minmax(320px, 1.2fr); gap: 60px; align-items: end; padding-top: 38px; margin-top: 48px; border-top: 1px solid var(--line-dark); }
.footer-newsletter h2 { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.5rem); }
.footer-newsletter > div > p:last-child { max-width: 500px; margin-top: 12px; font-size: .9rem; }
.newsletter-form label { display: block; margin-bottom: 8px; color: var(--white); font-size: .875rem; font-weight: 800; }
.newsletter-form > div { display: flex; gap: 8px; }
.newsletter-form input { min-width: 0; flex: 1; min-height: 48px; padding: 10px 14px; border: 1px solid rgba(255,253,249,.32); border-radius: var(--radius-small); background: var(--white); color: var(--umber); }
.newsletter-disclosure { margin-top: 9px; color: rgba(255,255,255,.78); font-size: .875rem; line-height: 1.5; }
.newsletter-disclosure a { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; margin-top: 55px; border-top: 1px solid var(--line-dark); color: rgba(255,255,255,.76); font-size: .875rem; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: none; }

/* Brand directory and bounded dossiers */
[hidden] { display: none !important; }
.button-dark { background: var(--umber); color: var(--white); }
.button-dark:hover { background: var(--umber-2); }
.brand-directory-hero { padding: 62px 0 70px; background: var(--umber); color: rgba(255,255,255,.76); border-bottom: 5px solid var(--brass); }
.brand-directory-hero .breadcrumbs { color: rgba(255,255,255,.7); }
.brand-directory-hero .breadcrumbs a, .brand-directory-hero h1 { color: var(--white); }
.brand-directory-hero .eyebrow { color: var(--brass-light); }
.brand-directory-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 80px; align-items: end; }
.brand-directory-hero h1 { max-width: 790px; font-size: clamp(2.5rem, 4.5vw, 4rem); text-wrap: balance; }
.brand-directory-deck { max-width: 740px; margin-top: 24px; font-family: var(--serif); font-size: 1.24rem; line-height: 1.48; }
.brand-directory-tally { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid rgba(255,255,255,.25); }
.brand-directory-tally div { padding: 18px 13px 0 0; }
.brand-directory-tally dt { color: var(--brass-light); font-family: var(--serif); font-size: 2.5rem; line-height: 1; }
.brand-directory-tally dd { margin: 8px 0 0; color: rgba(255,255,255,.72); font-size: .72rem; font-weight: 700; line-height: 1.35; }
.brand-directory-intro { padding: 68px 0; background: var(--white); border-bottom: 1px solid var(--line); }
.brand-directory-intro-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 90px; align-items: start; }
.brand-directory-intro .prose { max-width: 760px; }
.brand-directory-intro .prose p { margin: 0 0 18px; font-family: var(--serif); font-size: 1.18rem; line-height: 1.65; }
.brand-directory-boundary { padding: 25px; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--rust); }
.brand-directory-boundary .eyebrow { margin-bottom: 10px; }
.brand-directory-boundary h2 { font-size: 1.55rem; }
.brand-directory-boundary p:not(.eyebrow) { margin: 13px 0 18px; color: var(--ink-soft); font-size: .88rem; line-height: 1.55; }
.brand-directory-section { padding: 62px 0 100px; background: var(--paper-2); }
.brand-directory-controls { display: grid; grid-template-columns: minmax(0, 1fr); gap: 15px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.brand-directory-controls .field.full { grid-column: 1 / -1; }
.brand-directory-controls input, .brand-directory-controls select { min-width: 0; width: 100%; }
.brand-directory-actions { display: flex; grid-column: 1 / -1; flex-wrap: wrap; gap: 9px; align-items: center; padding-top: 3px; }
.brand-directory-status { margin: 28px 0 16px; color: var(--ink-soft); font-size: .86rem; font-weight: 750; }
.brand-letter-nav { position: sticky; z-index: 20; top: 84px; display: flex; overflow-x: auto; gap: 5px; padding: 10px; background: rgba(240,232,220,.96); border: 1px solid var(--line); border-radius: var(--radius-small); backdrop-filter: blur(12px); scrollbar-width: thin; }
.brand-letter-nav a { display: grid; min-width: 34px; height: 34px; place-items: center; border-radius: 6px; color: var(--umber); font-family: var(--mono); font-size: .73rem; font-weight: 800; text-decoration: none; }
.brand-letter-nav a:hover { background: var(--white); color: var(--rust); }
.brand-directory-list { display: grid; gap: 48px; margin-top: 38px; }
.brand-letter-group { scroll-margin-top: 150px; }
.brand-letter-group > h2 { padding-bottom: 12px; border-bottom: 3px solid var(--umber); font-size: 2.8rem; }
.brand-directory-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-left: 1px solid var(--line); }
.brand-directory-card { display: flex; min-width: 0; min-height: 250px; flex-direction: column; padding: 26px; background: var(--white); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brand-directory-card[id] { scroll-margin-top: 11rem; }
.brand-directory-card-heading { display: flex; gap: 18px; align-items: start; justify-content: space-between; }
.brand-directory-card h3 { min-width: 0; font-size: 1.65rem; }
.brand-directory-card h3 a { color: var(--umber); text-decoration-color: rgba(135,75,50,.42); overflow-wrap: anywhere; }
.brand-record-state { flex: 0 0 auto; padding: 5px 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; color: var(--umber-3); font-size: .62rem; font-weight: 850; letter-spacing: .07em; line-height: 1.25; text-transform: uppercase; }
.brand-record-state.is-review { background: var(--paper-2); border-color: var(--brass-light); color: var(--umber-2); }
.brand-directory-card > p { margin-top: 16px; color: var(--ink-soft); font-family: var(--serif); font-size: .98rem; line-height: 1.52; }
.brand-directory-card dl { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 4px 12px; margin: 18px 0; color: var(--ink-soft); font-size: .76rem; line-height: 1.4; }
.brand-directory-card dl div { display: contents; }
.brand-directory-card dt { color: var(--umber); font-weight: 800; }
.brand-directory-card dd { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.brand-directory-next { margin-top: auto; color: var(--rust); font-size: .78rem; font-weight: 800; text-decoration: none; }
.brand-directory-empty { padding: 60px 25px; text-align: center; }
.brand-directory-empty h2 { font-size: 2rem; }
.brand-directory-empty p { margin-top: 10px; color: var(--ink-soft); }
.brand-dossier-hero { padding: 58px 0 66px; background: var(--paper); border-bottom: 1px solid var(--line); }
.brand-dossier-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 90px; align-items: end; }
.brand-dossier-hero h1 { max-width: 850px; font-size: clamp(3.2rem, 7vw, 6.4rem); }
.brand-dossier-identity { max-width: 800px; margin-top: 24px; color: var(--ink-soft); font-family: var(--serif); font-size: 1.3rem; line-height: 1.48; }
.brand-dossier-scope { max-width: 760px; margin-top: 15px; color: var(--ink-soft); font-size: .88rem; line-height: 1.55; }
.brand-watch-index ul { display: grid; gap: 10px; }
.brand-watch-index li { line-height: 1.45; }
.brand-watch-index .brand-dossier-scope { display: block; margin: 2px 0 0; font-size: .86rem; }
.watchmaker-hero-aside { display: grid; gap: 14px; }
.watchmaker-portrait { overflow: hidden; margin: 0; border: 1px solid var(--line); }
.watchmaker-portrait-image { display: block; width: 100%; max-height: 390px; object-fit: cover; }
.watchmaker-portrait figcaption { padding: 10px; color: var(--ink-soft); font-size: .7rem; }
.brand-dossier-release { padding: 23px; background: var(--umber); border-top: 4px solid var(--brass); color: rgba(255,255,255,.75); }
.brand-dossier-release span, .brand-dossier-release strong { display: block; }
.brand-dossier-release span { color: var(--brass-light); font-size: .68rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.brand-dossier-release strong { margin-top: 12px; color: var(--white); font-family: var(--serif); font-size: 1.45rem; font-weight: 500; }
.brand-dossier-release p { margin-top: 10px; font-size: .8rem; line-height: 1.5; }
.brand-dossier-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 72px; padding-top: 68px; padding-bottom: 110px; }
.brand-dossier-main { min-width: 0; }
.brand-guide-contents { padding: 28px; margin-top: 32px; background: var(--paper); border: 1px solid var(--line); }
.brand-guide-contents ol { padding-left: 22px; margin: 18px 0 0; }
.brand-guide-contents li + li { margin-top: 10px; }
.brand-guide-contents a { color: var(--umber); text-underline-offset: 4px; }
.brand-narrative, .brand-sources li { scroll-margin-top: 110px; }
.brand-evidence summary { cursor: pointer; padding: 16px 0; color: var(--umber); font-weight: 700; }
.brand-dossier-main > section, .brand-correction { padding: 42px 0; border-bottom: 1px solid var(--line); }
.brand-dossier-main > section:first-child { padding-top: 0; }
.brand-dossier-main h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); }
.brand-dossier-main h3 { font-size: 1.3rem; }
.watchmaker-article-section { margin-top: 30px; }
.brand-dossier-main section > p:not(.eyebrow), .brand-dossier-main section > ul { max-width: 790px; margin-top: 17px; color: var(--ink-soft); font-family: var(--serif); font-size: 1.05rem; line-height: 1.72; }
.brand-fact-strip dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 25px 0 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.brand-fact-strip dl div { padding: 17px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brand-fact-strip dt { color: var(--ink-soft); font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.brand-fact-strip dd { margin: 7px 0 0; color: var(--umber); font-family: var(--serif); font-size: 1rem; line-height: 1.4; }
.brand-chronology ol { padding: 0; margin: 27px 0 0; list-style: none; }
.brand-chronology li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 28px; padding: 20px 0; border-top: 1px solid var(--line); }
.brand-chronology li > span { color: var(--rust); font-family: var(--mono); font-size: .82rem; font-weight: 800; }
.brand-chronology li p { margin-top: 7px; color: var(--ink-soft); font-family: var(--serif); line-height: 1.6; }
.brand-safety-note { padding: 15px 17px; background: var(--paper); border-left: 3px solid var(--rust); font-family: var(--sans) !important; font-size: .88rem !important; }
.brand-claim-list { padding: 0; margin: 25px 0 38px; list-style: none; }
.brand-claim-list > li { padding: 19px 0; border-top: 1px solid var(--line); }
.brand-claim-list > li > span { color: var(--rust); font-size: .66rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.brand-claim-list p { margin-top: 7px; font-family: var(--serif); }
.brand-claim-list li > div { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.brand-claim-list li > div a { color: var(--ink-soft); font-size: .75rem; font-weight: 700; }
.brand-sources ol { padding: 0; margin: 24px 0 0; list-style: none; counter-reset: sources; }
.brand-sources li { position: relative; padding: 19px 0 19px 44px; border-top: 1px solid var(--line); counter-increment: sources; }
.brand-sources li::before { position: absolute; left: 0; color: var(--rust); font-family: var(--mono); font-size: .75rem; content: "S" counter(sources); }
.brand-sources li > a { color: var(--umber); font-family: var(--serif); font-size: 1.08rem; font-weight: 600; }
.brand-sources li > span { display: block; margin-top: 5px; color: var(--ink-soft); font-size: .74rem; }
.brand-sources li p { margin-top: 8px; color: var(--ink-soft); font-size: .8rem; }
.brand-correction { padding-inline: 24px; background: var(--paper); border: 1px solid var(--line) !important; }
.brand-correction p:not(.eyebrow) { margin: 13px 0 18px; color: var(--ink-soft); }
.brand-dossier-aside { align-self: start; position: sticky; top: 106px; }
.brand-dossier-aside > div { padding: 21px; background: var(--white); border: 1px solid var(--line); }
.brand-dossier-aside .eyebrow { margin-bottom: 13px; }
.brand-dossier-aside dl { margin: 0; font-size: .78rem; }
.brand-dossier-aside dt { margin-top: 12px; color: var(--ink-soft); font-weight: 750; }
.brand-dossier-aside dd { margin: 3px 0 0; color: var(--umber); line-height: 1.45; }
.brand-dossier-aside .mini-cta.secondary { background: var(--paper); color: var(--umber); }
.brand-dossier-aside .mini-cta.secondary span { color: var(--umber-2); }

/* Editorial surfaces are square; form controls use a small radius; filter chips
   and icon buttons retain rounded shapes to distinguish their interaction. */
.button { border-radius: 4px; }
.field input, .field select, .field textarea, .search-box input { border-radius: 4px; }
.mobile-nav nav { border-radius: 0; }
.mobile-nav nav a[aria-current] { background: var(--paper); text-decoration: underline; text-underline-offset: 4px; }
.brand-filter-disclosure { min-width: 0; }
.brand-filter-disclosure > summary { cursor: pointer; font-weight: 700; padding: 10px 0; }
.brand-filter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-top: 12px; }
.brand-letter-nav { top: 0; border-radius: 0; background: var(--paper-2); }
.brand-letter-nav a[aria-current] { background: var(--ink); color: var(--white); }
.brand-show-more { margin-top: 24px; }
.brand-directory-section { padding-block: 40px; }
.brand-directory-list .brand-directory-card { min-height: 0; padding: 20px; }
.brand-directory-list .brand-directory-card > p { font-size: .95rem; }
.brand-directory-list .brand-directory-card dl { margin-block: 12px; }
.calculator-grid .article-card a { min-height: 0; }
.article-hero, .simple-hero, .hub-hero, .tool-hero, .brand-dossier-hero { overflow-wrap: break-word; }
.brand-dossier-hero h1 { font-size: clamp(2.5rem, 4.5vw, 4rem); text-wrap: balance; }
.search-box kbd { pointer-events: none; }
.brand-directory-hero .button-gold { background: var(--white); color: var(--ink); margin-top: 20px; }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .pathway-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-aside { display: none; }
  .mobile-toc { display: block; padding: 14px; margin: 0 0 30px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-small); }
  .mobile-toc summary { cursor: pointer; color: var(--umber); font-weight: 800; }
  .mobile-toc .toc { margin-top: 14px; }
  .tool-layout { grid-template-columns: 1fr; gap: 55px; }
  .visual-citation { grid-template-columns: 1fr; align-items: start; }
  .tool-app { max-width: 700px; }
  .brand-directory-hero-grid, .brand-directory-intro-grid { grid-template-columns: 1fr; gap: 42px; }
  .brand-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-dossier-hero-grid { grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; }
  .brand-dossier-layout { grid-template-columns: minmax(0, 1fr); }
  .brand-dossier-aside { position: static; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .brand-dossier-aside .mini-cta { margin-top: 0; }
  .footer-grid { grid-template-columns: 2fr repeat(3, 1fr); gap: 30px; }
}

@media (max-width: 760px) {
  .home-library-grid, .home-editorial-grid { grid-template-columns: 1fr; gap: 38px; }
  .home-library-grid { padding: 42px 0 34px; }
  .home-library-copy h1 { font-size: clamp(2.5rem, 11vw, 3.75rem); }
  .home-library-deck { font-size: 1.05rem; }
  .home-library-note { align-self: stretch; }
  .home-subject-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-editorial-grid{grid-template-columns:minmax(0,1fr);gap:28px}
  .home-editorial-grid>*{min-width:0}
  body { font-size: 16px; }
  .shell, .shell.narrow, .narrow { width: min(calc(100% - 28px), var(--shell)); }
  .section-pad { padding: 40px 0; }
  .site-header { min-height: 66px; }
  .header-inner { min-height: 66px; }
  .brand { font-size: 1.02rem; }
  .brand img { width: 40px; height: 40px; }
  .pathway-grid { grid-template-columns: 1fr; }
  .pathway-card { min-height: 230px; }
  .pathway-card h3 { margin-top: 35px; }
  .pathway-card p { min-height: 0; }
  .split-heading { display: block; }
  .split-heading .text-link { display: inline-block; margin-top: 18px; }
  .article-grid, .article-grid.compact, .hub-grid { grid-template-columns: 1fr; }
  .article-card a { min-height: 0; }
  .hub-grid .featured-card { grid-column: auto; }
  .hub-grid .featured-card h2 { font-size: 1.55rem; }
  .article-hero-inner { padding-top: 34px; padding-bottom: 38px; margin-inline: auto; }
  .article-hero h1 { font-size: clamp(2.35rem, 11vw, 3.6rem); }
  .article-deck { font-size: 1.08rem; }
  .article-layout { padding-top: 45px; padding-bottom: 70px; }
  .prose { font-size: 1.02rem; }
  .prose h2 { font-size: 2rem; }
  .simple-hero .narrow, .hub-hero .shell { padding-top: 34px; padding-bottom: 38px; }
  .tool-hero .narrow { padding-top: 28px; padding-bottom: 30px; }
  .simple-hero h1, .hub-hero h1 { font-size: clamp(2.45rem, 11vw, 3.6rem); }
  .tool-hero h1 { font-size: clamp(2.3rem, 10.5vw, 3.35rem); }
  .tool-hero .narrow > p:not(.eyebrow) { margin-top: 14px; font-size: 1.08rem; }
  .breadcrumbs { margin-bottom: 22px; font-size: .82rem; }
  .field-grid, .result-grid { grid-template-columns: 1fr; }
  .search-fallback { padding: 22px 18px; }
  .search-fallback ul { grid-template-columns: 1fr; }
  .search-filter-buttons { gap: 7px; }
  .search-filter-buttons button { min-height: 40px; padding: 8px 10px; }
  .search-privacy-actions { align-items: flex-start; flex-direction: column; }
  .article-record dl { grid-template-columns: 1fr; gap: 2px; }
  .article-record dd { margin-bottom: 8px; }
  .brand-finder { padding: 20px 16px; }
  .brand-finder-grid { grid-template-columns: 1fr; }
  .brand-finder-grid .field.full { grid-column: auto; }
  .brand-finder-actions { align-items: stretch; flex-direction: column; }
  .brand-finder-actions .button { justify-content: center; }
  .brand-index-card { padding: 15px; }
  .brand-index-card dl { grid-template-columns: 1fr; gap: 2px; }
  .brand-index-card dd { margin-bottom: 7px; }
  .brand-directory-hero { padding: 34px 0 44px; }
  .brand-directory-hero h1, .brand-dossier-hero h1 { font-size: clamp(2.1rem, 9vw, 2.75rem); }
  .brand-directory-hero-grid { gap: 24px; }
  .brand-directory-tally { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand-directory-tally div { padding: 14px 10px 0 0; }
  .brand-directory-tally dt { font-size: 2rem; }
  .brand-directory-tally dd { margin-top: 8px; }
  .brand-directory-intro { padding: 45px 0; }
  .brand-directory-controls { grid-template-columns: 1fr; padding: 19px 15px; }
  .brand-filter-grid { grid-template-columns: 1fr; }
  .brand-directory-controls .field.full, .brand-directory-actions { grid-column: auto; }
  .brand-directory-actions { align-items: stretch; flex-direction: column; }
  .brand-letter-nav { top: 0; }
  .brand-directory-grid { grid-template-columns: 1fr; }
  .brand-directory-card { min-height: 0; padding: 21px 18px; }
  .brand-directory-card-heading { display: grid; gap: 10px; }
  .brand-record-state { width: fit-content; }
  .brand-dossier-hero { padding: 34px 0 42px; }
  .brand-dossier-hero-grid { grid-template-columns: 1fr; }
  .brand-dossier-layout { gap: 45px; padding-top: 44px; padding-bottom: 75px; }
  .watchmaker-hero-aside { grid-template-columns: 1fr; }
  .watchmaker-portrait { max-width: 360px; }
  .brand-fact-strip dl { grid-template-columns: 1fr; }
  .brand-chronology li { grid-template-columns: 1fr; gap: 5px; }
  .brand-dossier-aside { grid-template-columns: 1fr; }
  .dataset-release { padding: 20px 16px; margin-top: -16px; border-radius: var(--radius-small); }
  .dataset-downloads { align-items: stretch; flex-direction: column; }
  .dataset-checksums { grid-template-columns: 1fr; gap: 2px; }
  .dataset-checksums dd { margin-bottom: 8px; }
  .field.full { grid-column: auto; }
  .tool-app { padding: 22px 18px; }
  .tool-layout { padding-top: 40px; padding-bottom: 75px; }
  .visual-grid { grid-template-columns: 1fr; }
  .visual-stage figure { padding: 8px; }
  .visual-actions { flex-direction: column; }
  .share-panel { grid-template-columns: 1fr; }
  .share-status { grid-column: auto; }
  .share-actions { align-items: stretch; flex-direction: column; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-newsletter { grid-template-columns: 1fr; gap: 24px; }
  .newsletter-form > div { align-items: stretch; flex-direction: column; }
  .footer-bottom { display: grid; gap: 8px; }
}

@media (max-width: 350px) {
  .header-inner { gap: 10px; }
  .brand { gap: 6px; font-size: .93rem; }
  .brand img { width: 36px; height: 36px; }
  .header-actions { gap: 6px; }
}

@media (max-width: 980px) and (max-height: 500px) and (orientation: landscape) {
  .site-header { height: 60px; }
  .mobile-nav nav { width: min(520px, calc(100vw - 28px)); min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 4px; max-height: calc(100vh - 66px); }
  .mobile-nav nav a { padding: 8px 10px; font-size: .82rem; }
}

@media (min-width: 981px) and (max-height: 850px) {
  .hub-hero .shell { padding-top: 40px; padding-bottom: 42px; }
}

@media print {
  .site-header, .site-footer, .article-aside, .breadcrumbs, .related, .button-row, .visual-actions, .share-panel, .tool-actions, .tool-export, .mobile-toc, .brand-finder, .brand-directory-controls, .brand-letter-nav, .brand-dossier-aside { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .article-hero, .simple-hero, .tool-hero { background: #fff; }
  .article-layout, .page-layout, .tool-layout { display: block; padding: 0; }
  .shell, .shell.narrow, .narrow { width: auto; max-width: none; }
  .prose a { color: inherit; text-decoration: none; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-family: var(--sans); font-size: 8pt; }
  .tool-app { padding: 0; border: 0; box-shadow: none; }
  .tool-app > form, .tool-app > .tool-result, .tool-app > .tool-export, .tool-explainer { display: none !important; }
  .tool-print-summary { display: block !important; padding: 0; color: #000; }
  .tool-print-summary h2 { margin: 0 0 10pt; color: #000; font-family: var(--serif); font-size: 20pt; }
  .tool-print-summary p { max-width: 100%; color: #000; line-height: 1.45; }
  .tool-print-summary dl { display: grid; grid-template-columns: minmax(150px, .7fr) 1.3fr; gap: 5pt 14pt; margin: 14pt 0; }
  .tool-print-summary dt { font-weight: 700; }
  .tool-print-summary dd { margin: 0; }
  .tool-app--worksheet > form#valuation-worksheet-form { display: block !important; }
  .tool-app--worksheet > .tool-result, .tool-app--worksheet > .tool-print-summary { display: none !important; }
  .tool-app--worksheet .tool-actions, .tool-app--worksheet .worksheet-progress { display: none !important; }
  .tool-app--worksheet .checklist-group { break-inside: avoid; page-break-inside: avoid; }
  .tool-app--worksheet .checklist label { grid-template-columns: 20px 1fr; padding: 8pt; background: #fff; border-color: #999; color: #000; }
  .tool-app--worksheet .checklist input { appearance: auto; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .image-lightbox { display: none !important; }
  @page { margin: 18mm; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
