:root {
  color-scheme: light;
  --paper: #faf8f4;
  --card: #fff;
  --ink: #0f2a4a;
  --text: #344557;
  --muted: #586777;
  --amber: #d97706;
  --rule: #e2e8f0;
  --serif: Georgia, Cambria, Charter, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1.25rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1.0625rem/1.65 var(--sans); }
button, input, select { font: inherit; color: inherit; }
button, select, summary { cursor: pointer; }
button, input, select { border-radius: 5px; }
button { background: var(--card); }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration: underline; text-decoration-thickness: 1.5px; }
button:hover, select:hover { border-color: var(--ink); }
:focus-visible { outline: 3px solid #a25706; outline-offset: 3px; }
[hidden] { display: none !important; }
p { margin: 0 0 1rem; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; line-height: 1.13; text-wrap: pretty; }
h1, h2 { letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.1vw, 2.55rem); }
h3 { font-size: 1.45rem; }
.wrap { width: min(1200px, 90%); margin-inline: auto; }
.ico { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.16em; }
.skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { z-index: 10; top: .5rem; left: .5rem; width: auto; height: auto; padding: .5rem 1rem; background: white; clip-path: none; }
.mast { background: #fffefa; border-top: 3px solid var(--ink); border-bottom: 1px solid #d4d7d7; }
.mast-inner { display: flex; align-items: center; gap: 3.2rem; min-height: 79px; }
.brand, .mast nav a, .digest-link { text-decoration: none; }
.brand:hover { text-decoration: none; }
.wordmark { display: inline-flex; align-items: center; gap: .55rem; white-space: nowrap; font: bold clamp(1.38rem,2.1vw,1.86rem)/1 var(--serif); letter-spacing: -.055em; }
.sunmark { color: #b77618; width: 42px; height: 36px; }
.mast nav { align-self: stretch; display: flex; align-items: stretch; gap: 1.7rem; }
.mast nav a { display: inline-flex; align-items: center; position: relative; font-size: .9rem; font-weight: 560; }
.mast nav .current::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--amber); }
.digest-link, .primary, .outline { display: inline-flex; gap: .55rem; align-items: center; justify-content: center; min-height: 42px; padding: .52rem .98rem; border: 1px solid var(--ink); font-size: .88rem; line-height: 1.35; font-weight: 640; }
.digest-link, .primary { background: var(--ink); color: white; border-radius: 5px; }
.digest-link { margin-left: auto; }
.digest-link:hover, .primary:hover { background: #254260; text-decoration: none; }
.outline { border-color: #bdc7cd; }
.outline:hover { background: #f4f5f3; }
.eyebrow, .plate-label { font: 700 .75rem/1.45 var(--sans); letter-spacing: .13em; text-transform: uppercase; }
.eyebrow { display: flex; gap: .63rem; align-items: center; margin: 0 0 .7rem; color: #785014; }
.rule { width: 27px; height: 2px; display: inline-block; background: var(--amber); }
.library-hero { position: relative; overflow: hidden; border-bottom: 1px solid #bcc1c1; padding: 42px 0 37px; isolation: isolate; }
.hero-text { position: relative; z-index: 1; width: 69%; }
.library-hero h1 { font-size: clamp(2.05rem, 3.6vw, 3.1rem); line-height: 1.12; letter-spacing: -.04em; }
.library-hero p { margin: .78rem 0 0; max-width: 53ch; font: 1.14rem/1.5 var(--serif); color: var(--text); }
.library-hero h1 + p { font-size: clamp(1.12rem, 1.6vw, 1.3rem); max-width: 58ch; }
/* Live proof strip: three quiet facts under the promise */
.hero-proof { display: flex; flex-wrap: wrap; gap: .35rem 0; margin: 1.05rem 0 0; padding: 0; list-style: none; font: 650 .8rem/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.hero-proof li + li::before { content: "·"; margin: 0 .7rem; color: var(--amber); font-weight: 800; }
.hero-proof strong { color: var(--ink); font-weight: 800; }
/* Three quick-entry doors (buttons on the homepage, links on 404) */
.hero-doors { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; margin-top: 1.6rem; max-width: 900px; }
.hero-door { display: flex; flex-direction: column; align-items: flex-start; gap: .2rem; min-height: 64px; padding: .8rem 1rem .85rem; text-align: left; text-decoration: none; color: var(--ink); background: #fffefa; border: 1px solid #d8d1c2; border-top: 3px solid var(--ink); border-radius: 5px; transition: border-color .15s, background-color .15s; }
.hero-door strong { font: 600 1.08rem/1.25 var(--serif); letter-spacing: -.01em; }
.hero-door span { font-size: .8rem; line-height: 1.35; color: var(--muted); }
.hero-door:hover { text-decoration: none; background: #fdf6e7; border-color: #c9b58f; border-top-color: var(--amber); }
.hero-door:hover strong { text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 1.5px; }
.section-top, .card-meta, .card-foot, .modal-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.section-top { padding: 1.65rem 0 1rem; }
.section-top h2 { font-size: clamp(1.65rem,2.9vw,2.15rem); }
.date, .card-meta > span, .filter-note, .card-foot > span { color: var(--muted); font-size: .8rem; }
.date, .card-foot > span { display: inline-flex; align-items: center; gap: .45rem; }
.filter-bar { padding: .66rem .85rem; display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; background: #fff; border: 1px solid #d9dedf; border-radius: 7px; }
.filter-group { display: flex; gap: .6rem; align-items: center; }
.filter-group label { font-size: .82rem; font-weight: 650; display: flex; align-items: center; gap: .4rem; }
.filter-group label .ico { color: #526477; }
.filter-bar select, input { background: white; border: 1px solid #cdd4db; }
.filter-bar select { padding: .5rem 2rem .5rem .7rem; appearance: none; background: #fbfbfa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' stroke='%23344557' stroke-width='1.4' fill='none'/%3E%3C/svg%3E") right .7rem center / 10px no-repeat; font-size: .84rem; min-height: 39px; }
.search-group { position: relative; flex: 1; max-width: 330px; min-width: 165px; margin-left: auto; }
.search-group .ico { position: absolute; left: .75rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-group input { width: 100%; height: 39px; padding: .4rem .65rem .4rem 2.25rem; font-size: .85rem; background: #fcfcfb; }
.filter-note { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem .06rem 1.12rem; font-size: .765rem; }
.filter-note output { white-space: nowrap; font-weight: 600; }
/* Status row: active-filter summary + result count + Clear all */
.filter-status { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1rem; min-height: 2.6rem; padding: .45rem .06rem .9rem; color: var(--muted); font-size: .8rem; }
.filter-status-end { display: inline-flex; align-items: center; gap: .85rem; margin-left: auto; }
.filter-status output { white-space: nowrap; font-weight: 650; color: var(--ink); }
.clear-filters { padding: .28rem .7rem; font-size: .78rem; font-weight: 650; color: var(--ink); background: #fffefa; border: 1px solid #bdc7cd; border-radius: 99px; }
.clear-filters:hover { border-color: var(--amber); background: #fdf6e7; }
.cards, .tier-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem; }
.story-card { background: var(--card); border: 1px solid #d8dddf; border-radius: 8px; overflow: hidden; min-width: 0; display: flex; flex-direction: column; }
.cover { position: relative; display: block; aspect-ratio: 2.2; overflow: hidden; background: #efe9dc; border-bottom: 1px solid #cbd0d1; }
.cover:focus-visible { outline-offset: -4px; }
.plate { display: block; width: 100%; height: 100%; }
.card-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.plate-label { position: absolute; bottom: 12px; left: 12px; display: inline-flex; align-items: center; gap: .46rem; color: #573d26; background: #fff9ed; border: 1px solid #cebc9c; border-radius: 3px; font-size: .67rem; padding: .25rem .48rem; box-shadow: 0 1px 3px rgb(15 42 74 / 22%); }
.cover:has(.card-photo) .plate-label { color: var(--ink); background: rgb(255 254 250 / 94%); border-color: rgb(255 255 255 / 70%); }
.story-card[data-sector="Transportation"] .plate-label { background: #f4f8f7; border-color: #b5c9ce; color: #304f5d; }
.plate-label i { background: currentColor; width: 5px; height: 5px; border-radius: 50%; }
.card-inner { display: flex; flex-direction: column; flex: 1; padding: clamp(1.15rem,2.25vw,1.85rem); }
.card-meta { margin-bottom: .85rem; }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: .38rem; padding: .28rem .63rem; width: fit-content; border: 1px solid; border-radius: 99px; font: 730 .69rem/1.4 var(--sans); letter-spacing: .065em; white-space: nowrap; }
.pill .ico { width: 15px; height: 15px; }
.gold, .gold:hover { background: #FEF3C7; border-color: #D97706; color: #92400E; }
.green, .green:hover { background: #DCFCE7; border-color: #16A34A; color: #166534; }
button.pill:hover { box-shadow: 0 0 0 2px currentColor; }
.story-card h2 { font-size: clamp(1.6rem,2.35vw,2.18rem); line-height: 1.17; letter-spacing: -.036em; }
.story-card h2 a { text-decoration: none; }
.story-card h2 a:hover { text-decoration: underline; }
.hook { margin: .8rem 0 .2rem; color: var(--text); font-size: .98rem; line-height: 1.55; }
/* Headline number sits directly under the title so it reads first */
.card-metric { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .8rem; margin: .95rem 0 0; padding: .1rem 0 .1rem .85rem; border-left: 3px solid var(--amber); }
.card-metric strong { font: 700 clamp(1.7rem, 2.3vw, 2.05rem)/1.05 var(--serif); white-space: nowrap; letter-spacing: -.04em; color: var(--ink); }
.card-metric span { flex: 1 1 14ch; color: var(--muted); font-size: .8rem; font-weight: 550; line-height: 1.4; }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: 1rem 0 .95rem; list-style: none; }
.story-card .tags { margin-top: auto; padding-top: 1rem; }
.tags li { border: 1px solid #dce2e4; background: #f7f8f7; color: #455566; border-radius: 99px; padding: .15rem .55rem; font-size: .75rem; line-height: 1.55; }
.card-foot { border-top: 1px solid var(--rule); margin-top: .25rem; padding-top: .85rem; font-size: .84rem; }
.card-foot a { font-weight: 650; }
#empty { padding: 2rem; text-align: center; background: #fff; border: 1px solid var(--rule); }
.method { margin: 3rem 0 1.6rem; padding: 2rem 0; border-block: 1px solid #b8c2c6; }
.tier-grid { margin-top: 1.4rem; }
.tier-grid > div { padding: .25rem 1.5rem .25rem 0; }
.tier-grid > div + div { border-left: 1px solid #cbd2d7; padding-left: 1.5rem; }
.tier-grid p { margin: .75rem 0 0; color: var(--text); }
.signup { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 1.6rem; padding: 1.8rem; background: #f5eedf; border: 1px solid #e2d8c4; border-radius: 7px; }
.signup h2 { font-size: 1.8rem; }
.signup p { color: var(--text); font-size: .95rem; margin: .35rem 0 0; }
.signup-icon { font-size: 1.8rem; }
.signup > .primary { justify-self: end; white-space: nowrap; }

footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem 1rem; padding: 1.35rem 1rem 2rem; font-size: .72rem; font-weight: 650; letter-spacing: .13em; }
footer a { color: #73501d; }
footer a.contact-link { letter-spacing: .04em; }
.crumb { padding: 1.45rem 0; font-size: .85rem; color: var(--muted); }
.crumb a { font-weight: 600; }
.resource-head { padding: 1rem 0 1.5rem; border-top: 1px solid #c8cdd0; }
.resource-head .eyebrow { margin: .9rem 0; }
.resource-head h1 { max-width: 34ch; font-size: clamp(1.8rem, 3.1vw, 2.7rem); line-height: 1.15; letter-spacing: -.038em; }
.subtitle { font: 1.28rem/1.55 var(--serif); max-width: 78ch; margin: 1rem 0; color: var(--text); }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1rem; color: var(--muted); font-size: .82rem; }
.byline time + span { border-left: 1px solid #c9cfd4; padding-left: 1rem; }
.resource-head .tags { margin-bottom: 0; }
.impact {
  padding: 1rem clamp(.85rem, 2vw, 1.5rem) 1.3rem;
  background: #fffdf8;
  border-block: 2px solid var(--ink);
}
.impact .eyebrow { color: var(--ink); margin: 0; }
.impact dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: .95rem 0 0; }
.impact dl > div { display: flex; flex-direction: column; padding-inline: clamp(.65rem, 1.5vw, 1.3rem); border-left: 1px solid #d9d4c7; }
.impact dl > div:first-child { padding-left: 0; border: 0; }
.impact dl > div:last-child { padding-right: 0; }
.impact dt { font-size: .9rem; font-weight: 650; line-height: 1.4; }
.impact dd { margin: 0; }
.impact-value { order: -1; }
.impact-value strong { display: block; font: 650 clamp(1.65rem, 3vw, 2.6rem)/1.12 var(--serif); letter-spacing: -.055em; margin: .55rem 0 .3rem; }
.impact-figure { display: block; width: 100%; height: clamp(76px, 7.7vw, 100px); background: #fbf4e5; border-radius: 3px; }
.impact-united .impact-figure { background: #f2f5ed; }
.figure-label { font: 600 12px var(--sans); }
.attribution { font-size: .78rem; color: var(--muted); line-height: 1.45; padding-top: .24rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 68ch) minmax(245px, 315px); justify-content: space-between; gap: clamp(1.5rem,4vw,5rem); margin: 2.5rem 0; align-items: start; }
.reading { min-width: 0; font-size: 1.1rem; color: var(--text); line-height: 1.65; }
.reading h2, .reading h3, .reading strong { color: var(--ink); }
.story-section + .story-section, .article-module { margin-top: 2.65rem; }
.story-section.editorial-chapter + .story-section.editorial-chapter { margin-top: 2.35rem; padding-top: 2rem; border-top: 1px solid #d9d4c7; }
.chapter-kicker { display: flex; align-items: center; gap: .55rem; margin: 0 0 .45rem; font: 700 .7rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #785014; }
.chapter-kicker .num { color: var(--amber); }

/* 1. Hairline comparison table (no card boxes) */
.ruled-table { width: 100%; border-collapse: collapse; margin: 1.35rem 0 1.45rem; font-size: .95rem; line-height: 1.5; }
.ruled-table th, .ruled-table td { text-align: left; vertical-align: top; padding: .68rem .85rem .68rem 0; border-bottom: 1px solid #d9d4c7; }
.ruled-table thead th { font: 700 .72rem/1.35 var(--sans); letter-spacing: .11em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--ink); padding-bottom: .5rem; }
.ruled-table thead th.accent { color: #8c4d08; }
.ruled-table tbody th { width: 22%; font: 650 .82rem/1.45 var(--sans); color: var(--ink); padding-right: 1rem; }
.ruled-table td + td, .ruled-table th + th { padding-left: 1rem; }

/* 2. Inline editorial figure + open vertical defense timeline */
.inline-media { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 1.35rem; align-items: center; margin: 0 0 1.35rem; }
.inline-media p { margin: 0; }
.inline-figure { margin: 0; }
.inline-figure svg { display: block; width: 100%; height: auto; background: #fbf4e5; border: 1px solid #e2d7c0; border-radius: 4px; }
.inline-figure figcaption { margin-top: .4rem; font: 600 .73rem/1.4 var(--sans); color: var(--muted); }
/* Editorial photograph: full-column frame, serif caption, muted credit line */
.editorial-photo { margin: 1.6rem 0 1.7rem; padding: 0; }
.editorial-photo img { display: block; width: 100%; height: auto; background: #efe9dc; border: 1px solid #d9d0bd; box-shadow: 0 0 0 4px #fffefa, 0 0 0 5px #e2d7c0; border-radius: 1px; }
.editorial-photo figcaption { margin: .85rem 0 0; padding: .6rem 0 0; border-top: 2px solid var(--ink); }
.editorial-photo .photo-caption { margin: 0; font: italic 1rem/1.5 var(--serif); color: var(--ink); max-width: 68ch; }
.editorial-photo .photo-credit { margin: .3rem 0 0; font: 500 .72rem/1.45 var(--sans); letter-spacing: .04em; color: var(--muted); }
.editorial-photo .photo-credit a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 2px; }
.editorial-photo .photo-credit a:hover, .editorial-photo .photo-credit a:focus-visible { color: #92400E; }
.timeline-list { list-style: none; margin: 1.15rem 0 1.35rem; padding: 0 0 0 1.65rem; border-left: 2px solid #dfd5c0; }
.timeline-list li { position: relative; padding: 0 0 1.15rem .55rem; }
.timeline-list li:last-child { padding-bottom: 0; }
.timeline-list .step-dot { position: absolute; left: -2.52rem; top: .08rem; width: 1.65rem; height: 1.65rem; border-radius: 99px; background: var(--paper); border: 2px solid var(--amber); color: var(--ink); font: 750 .75rem/1 var(--sans); display: grid; place-items: center; }
.timeline-list h3 { font: 600 1.08rem/1.28 var(--serif); color: var(--ink); margin: 0 0 .32rem; }
.timeline-list .step-tag { font: 700 .68rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #785014; margin-left: .45rem; }
.timeline-list p { margin: 0; font-size: .98rem; line-height: 1.58; color: var(--text); }

/* 3. Chart feature band (reusing At-a-Glance SVG) + unboxed typographic ledger */
.chart-feature { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 1.35rem; align-items: center; margin: 1.45rem 0 1.15rem; padding: 1.15rem 0; border-top: 2px solid var(--ink); border-bottom: 1px solid #d9d4c7; }
.chart-feature svg { display: block; width: 100%; height: auto; background: #fbf4e5; border-radius: 3px; }
.chart-feature .chart-copy p { margin: 0; font: 500 1.24rem/1.42 var(--serif); color: var(--ink); letter-spacing: -.015em; }
.chart-feature .chart-copy cite { display: block; margin-top: .45rem; font: 700 .7rem/1.4 var(--sans); font-style: normal; letter-spacing: .11em; text-transform: uppercase; color: #785014; }
.ledger-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 1.45rem; padding: .9rem 0; border-bottom: 1px solid #d9d4c7; }
.ledger-row > div { padding: 0 1rem; border-left: 1px solid #d9d4c7; }
.ledger-row > div:first-child { padding-left: 0; border-left: 0; }
.ledger-row strong { display: block; font: 600 1.6rem/1.15 var(--serif); color: var(--ink); letter-spacing: -.03em; }
.ledger-row span { display: block; margin-top: .22rem; font-size: .8rem; line-height: 1.4; color: var(--muted); }

/* 4. Single asymmetric stat band */
.stat-band { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.3rem; align-items: center; margin: 1.35rem 0 1.4rem; padding: 1rem 1.2rem; background: #f5efe2; border-left: 3.5px solid var(--amber); border-radius: 0 5px 5px 0; }
.stat-band .stat-big { font: 650 2.05rem/1 var(--serif); color: var(--ink); letter-spacing: -.04em; white-space: nowrap; }
.stat-band .stat-big small { display: block; margin-top: .25rem; font: 700 .66rem/1.3 var(--sans); letter-spacing: .11em; text-transform: uppercase; color: #785014; }
.stat-band p { margin: 0; font-size: .96rem; line-height: 1.55; color: var(--text); }

/* 4b. Amber-ruled editorial pull-callout */
.pull-callout { margin: 1.45rem 0; padding: .95rem 1.25rem; border-left: 3.5px solid var(--amber); background: #fffdf7; }
.pull-callout p { margin: 0; font: 500 1.22rem/1.44 var(--serif); color: var(--ink); letter-spacing: -.015em; }
.pull-callout cite { display: block; margin-top: .48rem; font: 700 .7rem/1.4 var(--sans); font-style: normal; letter-spacing: .11em; text-transform: uppercase; color: #785014; }

/* 5. Playbook Field-Guide Dossier (short & long lists) */
.playbook-dossier { margin-top: 2.35rem; padding: 1.45rem 1.65rem 1.55rem; background: #fffdf8; border: 1px solid #dfd7c7; border-top: 3px solid var(--ink); border-radius: 5px; }
.playbook-dossier h2 { margin-bottom: .3rem; }
.playbook-intro { margin: 0 0 1.1rem; font-size: .92rem; color: var(--muted); }
.playbook-phase { margin: 1.25rem 0 .2rem; padding-bottom: .38rem; border-bottom: 1.5px solid var(--ink); font: 750 .68rem/1.3 var(--sans); letter-spacing: .13em; text-transform: uppercase; color: #785014; }
.playbook-phase:first-of-type { margin-top: .6rem; }
.playbook-rows { list-style: none; margin: 0; padding: 0; }
.playbook-rows li { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: .25rem .95rem; padding: .95rem 0; border-bottom: 1px solid #e7e1d4; align-items: start; }
.playbook-rows li:last-child { border-bottom: 0; padding-bottom: .35rem; }
.playbook-num { font: 500 1.68rem/1 var(--serif); color: #b46918; letter-spacing: -.03em; padding-top: .06rem; }
.playbook-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .35rem .75rem; }
.playbook-top h4 { font: 600 1.07rem/1.3 var(--serif); color: var(--ink); margin: 0; }
.playbook-tag { font: 700 .63rem/1 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: #6b4a17; background: #f3ede0; border: 1px solid #e0d6c2; border-radius: 3px; padding: .26rem .5rem; white-space: nowrap; }
.playbook-body p { margin: .38rem 0 0; font-size: .95rem; line-height: 1.58; color: var(--text); }

.story-section h2, .article-module > h2 { margin-bottom: 1.1rem; }
.story-section h2 { font-size: clamp(1.65rem,2.7vw,2.2rem); }
.playbook { padding-left: 1.45rem; }
.playbook li { padding-left: .35rem; margin: .9rem 0; }
.playbook li::marker { font: bold 1.15rem var(--serif); color: #875d25; }
/* Sticky on desktop; tall content scrolls inside the rail instead of being cut off.
   Padding + matching negative margin keep focus outlines from clipping at the scroll edge. */
.sidebar { position: static; align-self: start; max-height: none; overflow: visible; padding: 0; margin: 0; }
.sidebar > * + * { margin-top: .8rem; }
.side-box { background: white; border: 1px solid var(--rule); border-radius: 5px; padding: 1.3rem; }
.side-box { border-top: 3px solid var(--ink); }
.side-box h2 { font-size: 1.48rem; margin-bottom: .75rem; }
.jumps a { display: block; width: fit-content; padding: .24rem 0; color: var(--text); font-size: .9rem; text-decoration-color: #b6b7ad; }
.jumps a:hover { color: var(--ink); text-decoration-color: var(--ink); }
.side-signup { display: block; padding: 1.15rem; margin-top: .8rem; }
.side-signup .signup-icon { float: right; font-size: 1.3rem; }
.side-signup > .primary { display: flex; width: 100%; margin-top: .9rem; white-space: normal; overflow-wrap: anywhere; text-align: center; }
.side-signup h2 { font-size: 1.5rem; }
.side-signup p { font-size: .85rem; }
.article-module { border-top: 1px solid #bac2c7; padding-top: 1.6rem; }
.footnotes { margin-top: 2rem; border-top: 1px solid #cfcac0; padding-top: 1.2rem; font-size: .85rem; color: var(--muted); line-height: 1.5; }
.footnotes h2 { font-size: 1.3rem; margin-bottom: .5rem; }
.footnotes h3 { font: 650 .85rem/1.5 var(--sans); }
.footnotes ol { padding-left: 1.4rem; margin: .75rem 0 0; }
.footnotes li { padding-left: .2rem; margin-top: .7rem; }
.footnotes p { margin: .12rem 0 .25rem; }
.footnotes .source-links { font-size: inherit; font-weight: 450; gap: .15rem .85rem; }
.source-links { display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .86rem; font-weight: 575; }
.source-links a { color: #244e6a; }
.next { margin: 2rem 0; }
.next a { font: 1.5rem/1.35 var(--serif); }
dialog { color: var(--ink); background: var(--paper); max-width: min(510px,92vw); border: 1px solid #b8c1c5; border-top: 4px solid var(--amber); border-radius: 7px; padding: clamp(1.2rem,3vw,2rem); max-height: 86dvh; }
dialog::backdrop { background: rgb(13 30 48 / 48%); }
.modal-top { margin-bottom: .75rem; }
.modal-top .eyebrow { margin: 0; }
.modal-top button { line-height: 1; font-size: 1.5rem; padding: .2rem; width: 34px; height: 34px; border: 1px solid #cbd2d7; }
dialog h2 { margin-bottom: 1.25rem; }
dialog p { margin: .65rem 0 1.1rem; font-size: 1rem; }

/* ---- BUILD 33 shared Resource components (contract with Resource page HTML) ---- */

/* 1.4 Mobile chapter jump bar: hidden on desktop, slim sticky pill rail on phones */
.mobile-jump-bar { display: none; }

/* 1.4 The Win in 30 Seconds (sidebar summary card — BUILD 34 stacked editorial table) */
.win-30s { background: #fffefa; border: 1px solid #e2d8c4; border-top: 3px solid var(--ink); border-radius: 5px; padding: 1.15rem 1.2rem 1.2rem; }
.win-30s h2, .win-30s h3, .win-30s .win-30s-title { margin: 0 0 .6rem; font: 700 .72rem/1.3 var(--sans); letter-spacing: .13em; text-transform: uppercase; color: #785014; }
.win-30s-for { margin: 0 0 .55rem; padding-bottom: .55rem; border-bottom: 1px solid #ebe4d6; font-size: .84rem; line-height: 1.45; color: var(--muted); }
.win-30s-for strong { color: var(--ink); font-weight: 700; }
.win-30s-ai { margin: 0 0 .8rem; font-size: .86rem; line-height: 1.5; color: var(--text); }
.win-30s-ai strong { color: var(--ink); }
.win-30s-table, .win-30s-metrics { display: grid; gap: 0; margin: 0 0 .95rem; padding: 0; list-style: none; border-top: 1px solid #ebe4d6; }
.win-30s-row, .win-30s-metrics > * { display: block; margin: 0; padding: .58rem 0; border-bottom: 1px solid #ebe4d6; }
.win-30s-row dt, .win-30s-metrics strong, .win-30s-metrics dt { display: block; font: 700 1.22rem/1.18 var(--serif); letter-spacing: -.025em; color: var(--ink); margin: 0 0 .18rem; }
.win-30s-row dd, .win-30s-metrics span, .win-30s-metrics dd { display: block; margin: 0; font-size: .82rem; line-height: 1.45; color: var(--muted); overflow-wrap: break-word; }
.win-30s-move { margin: 0; padding: .58rem .75rem; border-left: 3px solid var(--amber); background: #fdf6e7; font-size: .86rem; line-height: 1.5; color: var(--text); border-radius: 0 4px 4px 0; }
.win-30s-move strong { color: #8c4d08; }

/* ---- BUILD 34: Infographics, Newsletter, Suggest a Win, Patterns & Compare ---- */
.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; }
.hp-field { display: none !important; }
textarea { font: inherit; color: inherit; background: #fff; border: 1px solid #cdd4db; border-radius: 5px; padding: .6rem .75rem; width: 100%; resize: vertical; }
textarea:focus, input:focus, select:focus { border-color: var(--ink); }

/* Resource Infographic Promo Card */
.infographic-card { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 1.4rem; align-items: center; margin: 2.2rem 0 2.4rem; padding: 1.35rem 1.45rem; background: #fffdf8; border: 1px solid #dfd7c7; border-top: 3px solid var(--amber); border-radius: 6px; }
.infographic-preview a { display: block; border: 1px solid #d9d0bd; border-radius: 4px; overflow: hidden; box-shadow: 0 2px 8px rgb(15 42 74 / 10%); transition: transform .15s, border-color .15s; }
.infographic-preview a:hover { border-color: var(--amber); transform: translateY(-2px); }
.infographic-preview img { display: block; width: 100%; height: auto; }
.infographic-copy h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin: 0 0 .55rem; color: var(--ink); }
.infographic-copy p { font-size: .95rem; line-height: 1.55; color: var(--text); margin: 0 0 .95rem; }
.infographic-copy .eyebrow { margin: 0 0 .45rem; }
.infographic-actions { display: flex; flex-wrap: wrap; gap: .65rem; }

/* Twice-Weekly Newsletter Promo (Homepage + Sidebar) */
.newsletter-section { margin: 2.2rem 0 2rem; padding: 2rem 2.1rem; background: #f5eedf; border: 1px solid #e2d8c4; border-top: 4px solid var(--ink); border-radius: 8px; }
.newsletter-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 1.6rem 2.2rem; align-items: center; }
.newsletter-section h2 { font-size: clamp(1.65rem, 2.8vw, 2.2rem); margin: 0 0 .55rem; }
.newsletter-section p { color: var(--text); font-size: .98rem; margin: 0; }
.newsletter-meta { margin-top: .75rem; font-size: .82rem; color: var(--muted); }
.newsletter-form { display: grid; gap: .65rem; }
.newsletter-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .55rem; }
.newsletter-form input[type="email"] { width: 100%; min-height: 44px; padding: .5rem .8rem; border: 1px solid #c6ced6; border-radius: 5px; background: #fff; font-size: .94rem; }
.newsletter-form .primary { min-height: 44px; white-space: nowrap; }
.newsletter-status { margin: 0; font-size: .84rem; line-height: 1.45; color: var(--ink); min-height: 1.25em; }
.newsletter-status.is-error { color: #991b1b; }
.newsletter-status.is-ok { color: #166534; }
.side-newsletter { background: #f8f2e4; border-color: #e2d8c4; }
.side-newsletter .eyebrow { margin: 0 0 .4rem; font-size: .66rem; }
.side-newsletter h2 { font-size: 1.25rem; margin: 0 0 .35rem; }
.side-newsletter > p { font-size: .84rem; line-height: 1.48; color: var(--text); margin: 0 0 .75rem; }
.newsletter-compact input[type="email"] { min-height: 40px; font-size: .86rem; }
.newsletter-compact .primary { width: 100%; min-height: 40px; }

/* Suggest a Win Page & Form */
.suggest-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .75fr); gap: 2rem 2.6rem; align-items: start; margin: 2rem 0 2.5rem; }
.suggest-form { background: #fff; border: 1px solid #d8dddf; border-top: 3px solid var(--ink); border-radius: 7px; padding: 1.6rem 1.75rem; display: grid; gap: 1.15rem; }
.suggest-field { display: grid; gap: .32rem; }
.suggest-field label { font-size: .88rem; font-weight: 680; color: var(--ink); }
.suggest-field label span { font-weight: 450; color: var(--muted); font-size: .82rem; }
.suggest-field input, .suggest-field select { width: 100%; min-height: 44px; padding: .5rem .75rem; border: 1px solid #cdd4db; border-radius: 5px; background: #fff; font-size: .95rem; }
.suggest-hint { margin: 0; font-size: .8rem; color: var(--muted); line-height: 1.45; }
.suggest-actions { display: grid; gap: .6rem; margin-top: .25rem; }
.suggest-actions .primary { width: fit-content; min-height: 44px; padding-inline: 1.4rem; }
#suggest-status { font-size: .9rem; line-height: 1.5; color: var(--ink); }
#suggest-status.is-error { color: #991b1b; }
#suggest-status.is-ok { color: #166534; }
.suggest-direct { margin: .2rem 0 0; font-size: .85rem; color: var(--muted); }
.suggest-checklist { background: #fffdf8; border: 1px solid #dfd7c7; border-top: 3px solid var(--amber); border-radius: 7px; padding: 1.4rem 1.5rem; }
.suggest-checklist h2 { font-size: 1.35rem; margin: 0 0 .65rem; }
.suggest-checklist p { font-size: .92rem; color: var(--text); }
.suggest-checklist ol { margin: .8rem 0 1rem; padding-left: 1.25rem; display: grid; gap: .65rem; font-size: .9rem; color: var(--text); }

/* Live Patterns Page (2.4) */
.filter-role { margin: 1.6rem 0 .85rem; }
.filter-label { margin: 0 0 .5rem; font: 700 .74rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #785014; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips button { min-height: 40px; padding: .4rem .9rem; font-size: .84rem; font-weight: 600; color: var(--ink); background: #fffefa; border: 1px solid #cdd4db; border-radius: 99px; transition: background-color .15s, border-color .15s; }
.chips button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.ledger-summary { margin: 0 0 1.2rem; font-size: .86rem; font-weight: 650; color: var(--muted); }
.pattern-list { display: grid; gap: 1.5rem; margin-bottom: 2.4rem; }
.pattern-card { background: #fff; border: 1px solid #d8dddf; border-top: 3px solid var(--ink); border-radius: 8px; overflow: hidden; }
.pattern-intro { padding: 1.35rem 1.5rem 1.15rem; background: #fffdf8; border-bottom: 1px solid #e5dfd1; }
.pattern-intro h2 { font-size: clamp(1.45rem, 2.3vw, 1.9rem); margin: .25rem 0 .45rem; }
.pattern-intro > p { margin: 0 0 .7rem; color: var(--text); font-size: .98rem; max-width: 72ch; }
.pattern-intro .roles { display: flex; flex-wrap: wrap; gap: .4rem; }
.pattern-intro .roles span { font-size: .74rem; font-weight: 650; color: #785014; background: #f3ede0; border: 1px solid #e0d6c2; border-radius: 99px; padding: .16rem .6rem; }
.examples { padding: .6rem 1.5rem 1.2rem; }
.example-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 1.4rem; padding: .5rem 0; border-bottom: 1.5px solid var(--ink); font: 700 .7rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.examples ul { list-style: none; margin: 0; padding: 0; }
.examples li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: .5rem 1.4rem; padding: .85rem 0; border-bottom: 1px solid #ebe4d6; align-items: start; }
.examples li:last-child { border-bottom: 0; padding-bottom: .25rem; }
.examples h3 { font-size: 1.05rem; margin: 0 0 .2rem; color: var(--ink); }
.examples .step-link { font-size: .88rem; font-weight: 620; color: #244e6a; }
.examples p { margin: 0; font-size: .92rem; line-height: 1.52; color: var(--text); }

/* Live Compare Page (2.5) */
.pair-tabs { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.6rem 0 1.4rem; }
.pair-tabs button { display: flex; flex-direction: column; align-items: flex-start; gap: .12rem; min-height: 48px; padding: .6rem .95rem; text-align: left; background: #fffefa; border: 1px solid #d4ccc0; border-top: 3px solid transparent; border-radius: 6px; font-size: .86rem; color: var(--ink); }
.pair-tabs button .pair-name { font-weight: 720; }
.pair-tabs button .pair-teams { font-size: .78rem; color: var(--muted); }
.pair-tabs button[aria-selected="true"] { background: #fdf6e7; border-color: #c9b58f; border-top-color: var(--amber); }
.pair-panel { margin-bottom: 2.4rem; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; background: #fff; border: 1px solid #d8dddf; border-top: 3px solid var(--ink); border-radius: 7px; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: .94rem; line-height: 1.55; }
.compare-table th, .compare-table td { text-align: left; vertical-align: top; padding: .95rem 1.15rem; border-bottom: 1px solid #e5dfd1; }
.compare-table thead th { background: #fffdf8; font: 700 .78rem/1.35 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--ink); border-bottom: 2px solid var(--ink); }
.compare-table tbody th { width: 21%; font: 680 .84rem/1.45 var(--sans); color: var(--ink); background: #faf8f4; border-right: 1px solid #ebe4d6; }
.compare-table td { width: 39.5%; color: var(--text); }
.compare-table td + td { border-left: 1px solid #ebe4d6; }
.compare-metric { display: block; font: 700 1.25rem/1.2 var(--serif); color: var(--ink); margin: 0 0 .35rem; }
.compare-links { margin-top: .55rem; font-size: .84rem; font-weight: 600; }
.compare-links a { color: #244e6a; }
.about-cta-actions { display: flex; flex-wrap: wrap; gap: .65rem; justify-content: flex-end; }

/* 1.5 Paired next reads */
.next-paired { margin: 2.4rem 0 2rem; padding-top: 1.4rem; border-top: 2px solid var(--ink); }
.next-paired > h2, .next-paired > .eyebrow { margin-bottom: 1rem; }
.next-paired > h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.next-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.next-grid .next-card { display: flex; flex-direction: column; gap: .4rem; padding: 1rem 1.1rem 1.1rem; font: inherit; color: var(--ink); text-decoration: none; background: #fff; border: 1px solid #ddd6c6; border-radius: 6px; transition: border-color .15s, background-color .15s; }
.next-grid .next-card:hover { text-decoration: none; border-color: var(--amber); background: #fffdf8; }
.next-grid .next-card:hover strong { text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 1.5px; }
.next-why { display: block; font: 650 .74rem/1.4 var(--sans); letter-spacing: .04em; color: #785014; }
.next-grid .next-card strong { display: block; font: 600 1.12rem/1.3 var(--serif); letter-spacing: -.015em; color: var(--ink); }

/* 1.5 Field context: industry-study numbers kept visually apart from the company's own results */
.field-context-block { margin: 1.35rem 0 1.45rem; padding: .85rem 1.05rem .95rem; background: #f6f4ef; border: 1px solid #dcd6ca; border-radius: 4px; color: var(--text); }
.field-context-block p { margin: .35rem 0 0; font-size: .95rem; line-height: 1.55; }
.field-context-block p:first-of-type { margin-top: .4rem; }
.field-context-label { display: block; font: 700 .68rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #586777; }

@media (min-width: 1120px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.35rem; }
  .cards .cover { aspect-ratio: 16 / 9; }
  .cards .card-inner { padding: 1.2rem 1.25rem 1.25rem; }
  .story-card h2 { font-size: clamp(1.35rem, 1.75vw, 1.6rem); line-height: 1.2; letter-spacing: -.028em; }
}
@media (max-height: 640px) and (min-width: 761px) {
  .sidebar { position: static; max-height: none; overflow: visible; }
}

@media (max-width: 900px) {
  .mast-inner { gap: 1.6rem; }
  .filter-bar { gap: .8rem; }
  .signup:not(.side-signup) { grid-template-columns: minmax(0,1fr) auto; }
  .signup:not(.side-signup) .signup-icon { display: none; }
  .article-layout { grid-template-columns: minmax(0,1fr) 245px; }
  .impact dl > div { padding-inline: .8rem; }
}
@media (max-width: 760px) {
  .wrap { width: min(92%, 660px); }
  .mast-inner { display: grid; grid-template-columns: 1fr auto; gap: .65rem; padding-top: .8rem; min-height: 0; }
  .mast nav { grid-column: 1 / -1; grid-row: 2; gap: 1.5rem; }
  .mast nav a { padding: .35rem 0 .65rem; }
  .digest-link { grid-row: 1; grid-column: 2; min-height: 34px; font-size: .8rem; padding: .4rem .6rem; }
  .sunmark { width: 34px; height: 30px; }
  .hero-text { width: 82%; }
  .library-hero { padding: 1.7rem 0; }
  .library-hero p { max-width: 37ch; }
  .filter-group { flex: 1; flex-direction: column; align-items: stretch; gap: .25rem; }
  .search-group { flex-basis: 100%; max-width: none; }
  .cards { gap: 1.2rem; grid-template-columns: minmax(0,1fr); }
  .card-inner { padding: 1.35rem; }
  .story-card h2 { font-size: 1.9rem; }
  .article-layout { display: flex; flex-direction: column; }
  .sidebar { position: static; max-height: none; overflow: visible; width: 100%; }
  .side-box, .side-signup { padding: 1.2rem; }
  .impact dl { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem 0; }
  .impact dl > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .impact dl > div:nth-child(n+3) { border-top: 1px solid var(--rule); padding-top: 1rem; }
  .tier-grid { grid-template-columns: 1fr; }
  .tier-grid > div + div { border-left: 0; border-top: 1px solid var(--rule); padding: 1rem 0 0; }
  .inline-media, .chart-feature, .stat-band { grid-template-columns: 1fr; gap: .85rem; }
  .ledger-row { grid-template-columns: 1fr; gap: .75rem; }
  .ledger-row > div { padding: .65rem 0 0; border-left: 0; border-top: 1px solid #d9d4c7; }
  .ledger-row > div:first-child { padding-top: 0; border-top: 0; }
  .playbook-dossier { padding: 1.15rem 1.1rem 1.25rem; }
  .playbook-rows li { grid-template-columns: 2.15rem minmax(0, 1fr); gap: .2rem .65rem; }
  .playbook-num { font-size: 1.4rem; }
  .editorial-photo { margin: 1.25rem 0 1.35rem; }
  .editorial-photo img { box-shadow: 0 0 0 3px #fffefa, 0 0 0 4px #e2d7c0; }
  .editorial-photo .photo-caption { font-size: .95rem; }
  .editorial-photo .photo-credit { font-size: .7rem; overflow-wrap: anywhere; }
  .hero-doors { grid-template-columns: minmax(0, 1fr); gap: .6rem; margin-top: 1.25rem; }
  .hero-door { min-height: 0; padding: .7rem .9rem; }
  .filter-group { flex: 1 1 calc(50% - .8rem); }
  .filter-group select { width: 100%; }
  .next-grid { grid-template-columns: minmax(0, 1fr); }
  .mobile-jump-bar {
    display: flex; position: sticky; top: 0; z-index: 20; overflow-x: auto; gap: .4rem;
    margin: 0 -4vw 1rem; padding: .55rem 4vw; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    background: rgb(250 248 244 / 92%); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    border-bottom: 1px solid #e2d8c4;
  }
  .mobile-jump-bar::-webkit-scrollbar { display: none; }
  .mobile-jump-bar a { flex: none; display: inline-flex; align-items: center; gap: .3rem; min-height: 36px; padding: .3rem .8rem; font: 650 .78rem/1 var(--sans); color: var(--ink); text-decoration: none; white-space: nowrap; background: #fffefa; border: 1px solid #d8d1c2; border-radius: 99px; }
  .mobile-jump-bar a:hover, .mobile-jump-bar a[aria-current] { border-color: var(--amber); background: #fdf6e7; text-decoration: none; }
  .mobile-jump-bar .num { color: var(--amber); font-weight: 800; }
  .mobile-jump-bar a:focus-visible { outline-offset: -2px; }
  .win-30s { padding: 1rem 1.05rem 1.05rem; }
  .infographic-card { grid-template-columns: minmax(0, 1fr); gap: 1rem; padding: 1.15rem; }
  .infographic-preview { max-width: 240px; }
  .newsletter-section { padding: 1.35rem 1.2rem; }
  .newsletter-grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .newsletter-row { grid-template-columns: minmax(0, 1fr); }
  .suggest-layout { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
  .suggest-form { padding: 1.25rem; }
  .example-head { display: none; }
  .examples { padding: .6rem 1.1rem 1rem; }
  .examples li { grid-template-columns: minmax(0, 1fr); gap: .35rem; }
  .pattern-intro { padding: 1.15rem; }
  .pair-tabs { display: grid; grid-template-columns: minmax(0, 1fr); }
  .ruled-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .about-cta-actions { justify-content: flex-start; }
}
@media (max-width: 490px) {
  .library-hero h1 { font-size: clamp(1.85rem, 7.2vw, 2.45rem); }
  .library-hero p { font-size: 1.05rem; max-width: 33ch; }
  .hero-text { width: 100%; }
  .section-top { gap: .5rem; align-items: baseline; }
  .date { font-size: .7rem; }
  .date .ico { display: none; }
  .filter-note { align-items: flex-start; }
  .filter-group select { width: 100%; }
  .signup:not(.side-signup) { grid-template-columns: minmax(0,1fr); gap: .9rem; }
  .signup:not(.side-signup) > .primary { justify-self: stretch; white-space: normal; overflow-wrap: anywhere; text-align: center; }
  .card-meta { gap: .3rem; }
  .resource-head .subtitle { font-size: 1.14rem; }
  .article-layout { margin-top: 1.7rem; }
}
@media (max-width: 400px) {
  .mast-inner { grid-template-columns: minmax(0,1fr) auto; gap: .5rem; }
  .wordmark { font-size: 1.2rem; gap: .4rem; }
  .sunmark { width: 28px; height: 24px; }
  .digest-link { gap: .35rem; padding: .35rem .5rem; font-size: .75rem; white-space: nowrap; }
  .digest-link .ico { display: none; }
  .mast nav { gap: 1.1rem; flex-wrap: wrap; }
  footer { letter-spacing: .08em; }
}
@media print {
  .mast nav, .digest-link, .sidebar, .filter-bar, .filter-status, .hero-doors, .mobile-jump-bar, .signup, footer a, .next, .next-paired { display: none; }
  .article-layout { display: block; }
  .wrap { width: 100%; }
  body { background: white; }
  .impact, .footnotes li, .playbook-rows li { break-inside: avoid; }
  .editorial-photo { break-inside: avoid; page-break-inside: avoid; }
  .editorial-photo img { box-shadow: none; max-height: 9cm; width: auto; max-width: 100%; }
  .footnotes a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; word-break: break-all; }
}
a.fn {
  font-size: 0.72em;
  vertical-align: super;
  line-height: 0;
  color: #92400E;
  text-decoration: none;
  font-weight: 600;
  margin-left: 1px;
  padding: 0 2px;
}
a.fn:hover, a.fn:focus-visible {
  text-decoration: underline;
  color: #0F2A4A;
}
.footnotes li:target {
  background: #FEF3C7;
  border-radius: 6px;
  padding: 0.25rem 0.5rem;
}
.footnotes ol {
  margin: 0.75rem 0 0;
  padding-left: 1.45rem;
  display: grid;
  gap: 0.34rem;
}
.footnotes li {
  font-size: 0.86rem;
  line-height: 1.45;
  color: #475569;
  padding: 0.1rem 0;
  border: 0;
}
.footnotes li a {
  color: #0F2A4A;
  text-decoration: none;
  border-bottom: 1px solid #CBD5E1;
}
.footnotes li a:hover {
  color: #92400E;
  border-bottom-color: #D97706;
}

/* CSP-safe SVG text helpers (replace inline style attributes); kept last so they override .figure-label */
.svg-fs-10 { font-size: 10px; }
.svg-fs-15 { font-size: 15px; }
.svg-serif-13 { font: 700 13px var(--serif); }
.svg-serif-19 { font: 700 19px var(--serif); }
.svg-serif-30 { font: 700 30px var(--serif); }

/* ---- BUILD 34 Mobile Optimization Pass (Codex + Haiku + Chromium 375/390/768px triple-check) ---- */
.suggest-form,
.suggest-field {
  grid-template-columns: minmax(0, 1fr);
}
.suggest-field,
.suggest-field :is(input, select, textarea) {
  min-width: 0;
}

@media screen and (min-width: 761px) and (max-width: 900px) {
  .mast-inner,
  .mast nav {
    column-gap: 1.05rem;
  }
  .mast .digest-link {
    white-space: nowrap;
  }
  .reading :is(.infographic-card, .inline-media, .chart-feature, .stat-band),
  .newsletter-section .newsletter-grid,
  .newsletter-section .newsletter-row,
  .suggest-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .infographic-preview {
    max-width: 240px;
  }
}

@media screen and (max-width: 900px) {
  .stat-band .stat-big small {
    white-space: normal;
  }
  .impact dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 1rem;
  }
  .impact dl > div:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }
  .impact dl > div:nth-child(n+3) {
    border-top: 1px solid var(--rule);
    padding-top: 1rem;
  }
  .impact-figure {
    width: 100%;
    max-width: 240px;
    height: auto;
    aspect-ratio: 200 / 96;
  }
  /* Ensure generous >=40px mobile/tablet touch targets */
  .mast .brand,
  .card-foot a,
  .examples .step-link,
  .compare-links a,
  .jumps a,
  footer .contact-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }
  .jumps a {
    display: flex;
  }
  .mast nav a,
  .mast .digest-link,
  .mobile-jump-bar a,
  .filter-bar select,
  .search-group input,
  .clear-filters,
  button.pill {
    min-height: 40px;
  }
  .mast nav a,
  .modal-top button {
    min-width: 40px;
    min-height: 40px;
  }
}

@media screen and (max-width: 760px) {
  html {
    scroll-padding-top: 4.25rem;
  }
  .sidebar {
    padding: 0;
    margin: 0;
  }
  /* Prevent iOS Safari auto-zoom when focusing form controls */
  input, select, textarea {
    font-size: 16px;
  }
  .pair-panel::before {
    content: "Swipe table horizontally to compare both organizations →";
    display: block;
    margin: 0 0 .5rem;
    color: var(--muted);
    font-size: .8rem;
  }
}

@media screen and (max-width: 490px) {
  [aria-labelledby="audience-title"] .ruled-table tbody th {
    width: 38%;
  }
}

/* Shared masthead and site search */
.mast-actions { display: flex; align-items: center; gap: .6rem; margin-inline-start: auto; white-space: nowrap; }
.mast-actions .digest-link { margin: 0; }
.search-trigger { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 42px; border: 1px solid #b9c2c9; padding: .4rem .75rem; font-size: .88rem; font-weight: 640; }
.search-trigger kbd { font: .75rem/1.2 var(--sans); border: 1px solid var(--rule); border-radius: 3px; padding: .06rem .3rem; color: var(--muted); }
.site-search-dialog { padding: 0; width: min(720px, 94vw); max-width: none; max-height: 90dvh; overflow: auto; box-shadow: 0 18px 70px #0f2a4a33; }
.site-search-dialog[open] { display: flex; flex-direction: column; }
body:has(.site-search-dialog[open]) { overflow: hidden; }
.search-dialog-head, .search-footer, .search-controls, .search-panel { padding-inline: clamp(1rem, 3vw, 1.8rem); }
.search-dialog-head, .search-footer { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.search-dialog-head { padding-block: .9rem .45rem; }
.search-dialog-head h2 { margin: 0; font-size: clamp(1.6rem, 4vw, 2.1rem); }
.search-close, .search-clear { padding: .3rem .7rem; border: 1px solid #b9c2c9; font-size: .85rem; font-weight: 600; min-height: 40px; min-width: 40px; }
.search-input-label, .search-facet { display: block; font-size: .83rem; font-weight: 650; }
.search-input-row { display: flex; align-items: center; gap: .45rem; padding: .25rem; border: 1px solid #98a4af; border-radius: 6px; background: white; margin-top: .3rem; }
.search-input-row:focus-within { outline: 2px solid #a25706; outline-offset: 1px; }
.site-search-input { flex: 1; min-width: 0; width: 100%; min-height: 44px; padding: .5rem .7rem; border: 0; background: transparent; font-size: 1rem; }
.site-search-input:focus { outline: 0; }
.site-search-input::-webkit-search-cancel-button { display: none; }
.search-clear { border: none; color: #45596a; }
.search-tabs, .search-chips { display: flex; flex-wrap: wrap; gap: .35rem .45rem; }
.search-tabs { border-bottom: 1px solid #c4cdd1; padding-block: .65rem .4rem; }
.search-tab, .search-chip { min-width: 40px; min-height: 40px; padding: .35rem .65rem; font: 600 .83rem/1.25 var(--sans); border: 1px solid transparent; border-radius: 4px; }
.search-tab { background: transparent; }
.search-tab[aria-selected="true"] { background: var(--ink); color: white; }
.search-chip { background: #fffefa; border-color: #ccd2d5; }
.search-chip:hover, .search-tab:not([aria-selected="true"]):hover { background: #f6eddc; }
.site-search-dialog .search-panel { overflow-y: auto; overscroll-behavior: contain; min-height: min(9rem, 25dvh); }
.search-panel { overflow-wrap: anywhere; padding-bottom: 1rem; }
.search-count { margin: .8rem 0 .4rem; color: var(--muted); font: 600 .85rem/1.5 var(--sans); }
.search-count:empty { margin: 0; }
.search-group-title { margin: 1.2rem 0 .6rem; font: 600 1rem/1.35 var(--serif); letter-spacing: 0; }
.search-results { list-style: none; padding: 0; margin: 0; }
.search-results li + li { border-top: 1px solid #d1d6d8; }
.search-result { display: grid; gap: .4rem; padding: 1rem .7rem; border-left: 3px solid transparent; text-decoration: none; }
.search-result:hover, .search-result.is-active, .search-result:focus-visible { background: #f4ecd9; border-left-color: var(--amber); text-decoration: none; }
.search-result:focus-visible { outline-offset: -3px; }
.search-result-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.search-kind { font: 750 .7rem/1.35 var(--sans); letter-spacing: .075em; text-transform: uppercase; border-radius: 3px; padding: .25rem .45rem; color: #30485e; background: #e8edf0; }
.search-result-title { font: bold clamp(1.12rem, 2.5vw, 1.35rem)/1.2 var(--serif); }
.search-metric, .search-orgs { font: 600 .8rem/1.45 var(--sans); }
.search-metric { width: fit-content; padding: .14rem .45rem; color: #70450f; background: #f7ecd5; border-radius: 3px; }
.search-excerpt { color: var(--text); font: .94rem/1.5 var(--sans); }
.search-excerpt mark { background: #ffe3a3; color: var(--ink); }
.search-footer { border-top: 1px solid #c4cdd1; padding-block: .35rem; font-size: .8rem; color: var(--muted); }
.search-full-link { display: inline-flex; align-items: center; min-height: 40px; font-weight: 650; color: var(--ink); }
.search-page { max-width: 880px; min-height: 65vh; padding-block: clamp(2rem, 5vw, 4rem); }
.search-page h1 { margin-bottom: 1.4rem; font-size: clamp(2.7rem, 6vw, 4.25rem); }
.search-page .search-controls, .search-page .search-panel { padding-inline: 0; }
.search-facets { display: flex; flex-wrap: wrap; gap: .6rem 1.25rem; margin-top: .8rem; }
.search-facet select { display: block; min-height: 40px; max-width: 100%; margin-top: .2rem; padding: .35rem .5rem; background: white; border: 1px solid #b9c2c9; }
@media (min-width: 761px) and (max-width: 1000px) {
  .mast-inner, .mast nav { gap: .85rem; }
  .mast-inner { width: 94%; }
  .mast .sunmark { width: 34px; }
  .mast-actions { gap: .375rem; }
  .mast-actions .digest-link, .search-trigger { padding-inline: .55rem; }
  .search-trigger kbd { display: none; }
}
@media (max-width: 490px) {
  .mast-actions .digest-link .ico { display: none; }
}
@media (max-width: 760px) {
  .mast-actions { grid-row: 1; grid-column: 2; gap: .35rem; }
  .search-trigger { min-height: 40px; padding-inline: .5rem; font-size: .8rem; gap: .3rem; }
  .search-trigger kbd { display: none; }
  .site-search-dialog { max-height: 94dvh; }
  .site-search-input, .search-facet select { font-size: 16px; }
  .search-tabs { gap: .2rem; }
  .search-tab { padding-inline: .45rem; }
  .search-keys { display: none; }
  .search-full-link { margin-left: auto; }
}
@media (max-height: 480px) { .site-search-dialog[open] { display: block; } .site-search-dialog .search-panel { overflow: visible; } }
@media print { .mast-actions { display: none; } }

/* Industry navigation stays inside the masthead's content bounds. */
.mast-inner { position: relative; }
.nav-dropdown { display: flex; align-items: stretch; }
.nav-drop-btn {
  position: relative; display: inline-flex; align-items: center; gap: .3rem;
  background: transparent; border: 0; border-radius: 0; padding: 0;
  font-size: .9rem; font-weight: 560;
}
.nav-drop-btn:hover, .nav-drop-btn[aria-expanded="true"] { color: #884a08; }
.nav-drop-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-drop-panel {
  position: absolute; z-index: 30; top: 100%; left: clamp(0px, 19%, calc(100% - 40rem));
  width: min(40rem, 100%); max-height: min(68vh, 35rem); overflow-y: auto;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 .8rem;
  padding: .65rem; background: #fffefa; border: 1px solid var(--ink);
  border-top: 3px solid var(--ink); border-radius: 0 0 6px 6px; box-shadow: 0 10px 28px #0f2a4a24;
}
.mast nav .nav-drop-panel a {
  justify-content: space-between; gap: .5rem; padding: .55rem .65rem;
  min-height: 40px; line-height: 1.3; border-bottom: 1px solid var(--rule);
}
.nav-count { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .8rem; }
.mast nav .nav-drop-panel a:is(:hover, :focus-visible, [aria-current="page"]) {
  background: #fbefdb; color: #733e05; text-decoration: none; box-shadow: inset 3px 0 var(--amber);
}
.mast nav a.nav-drop-all { grid-column: 1 / -1; border-bottom: 0; font-weight: 700; }
.industry-crumbs { display: flex; flex-wrap: wrap; gap: .45rem; padding-top: 1.25rem; color: var(--muted); font-size: .85rem; }
.industry-heading { border-bottom: 1px solid var(--ink); padding: clamp(1.6rem, 4vw, 3rem) 0 1.5rem; }
.industry-heading h1 { font-size: clamp(2.25rem, 4.5vw, 3.8rem); max-width: 26ch; }
.industry-hook { margin: .75rem 0 0; font: 1.22rem/1.5 var(--serif); max-width: 62ch; }
.industry-directory { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2rem; }
.industry-tile { position: relative; display: flex; flex-direction: column; padding: 1.5rem .2rem; border-bottom: 1px solid #c5cbd0; }
.industry-tile .eyebrow, .industry-heading .eyebrow { color: #80501e; margin-bottom: .6rem; }
.industry-tile h2 { font-size: 1.6rem; margin-bottom: .6rem; }
.industry-tile h2 a { text-decoration: none; }
.industry-tile h2 a::after { content: ""; position: absolute; inset: 0; }
.industry-tile:hover h2 a, .industry-tile a:focus-visible { text-decoration: underline; text-decoration-color: var(--amber); }
.industry-orgs { margin: auto 0 0; font-size: .85rem; color: var(--muted); }
.industry-brief { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.25rem, 5vw, 5rem); padding-block: 2rem; }
.industry-narrative { font: 1.18rem/1.65 var(--serif); max-width: 65ch; }
.industry-takeaways { list-style: none; padding: 0 0 0 1.2rem; margin: 0; border-left: 3px solid var(--amber); font-size: .98rem; }
.industry-takeaways li + li { margin-top: .8rem; }
.industry-takeaways strong { display: block; }
#industry-resources { border-top: 1px solid #c5cbd0; padding: 1.45rem 0; }
.industry-related { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.4rem; margin-top: 2rem; padding-block: 1rem; border-block: 1px solid #c5cbd0; }
.industry-related h2 { font-size: 1.4rem; }
.industry-related a { font-size: .95rem; }
@media (max-width: 840px) {
  .mast-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; padding-top: .7rem; min-height: 0; }
  .mast nav { grid-column: 1 / -1; grid-row: 2; gap: clamp(.45rem, 2.3vw, 1.5rem); flex-wrap: wrap; }
  .mast nav > a, .nav-drop-btn { min-height: 40px; padding: .35rem 0 .65rem; }
  .mast-actions { grid-column: 2; grid-row: 1; }
  .nav-drop-panel { left: 0; }
}
@media (max-width: 760px) {
  .industry-directory, .industry-brief, .nav-drop-panel { grid-template-columns: minmax(0, 1fr); }
  .nav-drop-panel { width: 100%; max-height: 60vh; max-height: 60dvh; }
  .industry-brief { gap: .65rem; }
}
