/*
Theme Name: Malaysia Bisnes
Theme URI: https://malaysiabisnes.com/
Description: Custom theme for Malaysia Bisnes. Tokens and rules follow docs/DESIGN.md.
Author: Malaysia Bisnes
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: malaysiabisnes
*/

@font-face { font-family: Newsreader; font-style: normal; font-weight: 400 600; font-display: swap; src: url(assets/fonts/newsreader-latin.woff2) format("woff2"); }
@font-face { font-family: Newsreader; font-style: italic; font-weight: 400; font-display: swap; src: url(assets/fonts/newsreader-italic-latin.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(assets/fonts/plex-sans-latin.woff2) format("woff2"); }

:root {
  --paper: #FFFFFF;
  --tin: #F2F1ED;
  --tin-2: #E6E4DE;
  --rule: #D9D7D0;
  --ink: #17201B;
  --ink-2: #2A322D;
  --muted: #5F6762;
  --merbau: #8C3B2E;
  --c-owners: #8C3B2E;
  --c-money: #2E6B45;
  --c-growth: #A24C14;
  --c-operations: #44596B;
  --c-economy: #5E4B8B;
  --series-2: #8A918C;
  --serif: Newsreader, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --gutter: 16px; --max: 1200px; --measure: 560px;
  --body: 18px; --body-lh: 1.6;
}
@media (min-width: 600px) { :root { --gutter: 32px; --body: 20px; } }
@media (min-width: 900px) { :root { --gutter: 48px; --body: 20px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink-2); font-family: var(--serif); font-size: var(--body); line-height: var(--body-lh); font-optical-sizing: auto; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: rgba(23,32,27,.35); text-underline-offset: .14em; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--ink); margin: 0; letter-spacing: -0.01em; line-height: 1.12; }
p { margin: 0 0 1.2em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sans { font-family: var(--sans); }
.num { font-family: var(--sans); font-variant-numeric: tabular-nums; }

/* section colours */
.s-owners { --sec: var(--c-owners); } .s-money { --sec: var(--c-money); } .s-growth { --sec: var(--c-growth); }
.s-operations { --sec: var(--c-operations); } .s-economy { --sec: var(--c-economy); }

/* kicker: section + format in one line, sentence case, section colour carries the meaning */
.kicker { font-family: var(--sans); font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--sec, var(--muted)); display: flex; gap: 10px; align-items: baseline; margin-bottom: 10px; }
.kicker .fmt { font-weight: 400; color: var(--muted); }
.kicker .fmt:empty { display: none; }
.kicker .fmt::before { content: ""; display: inline-block; width: 1px; height: 11px; background: var(--rule); margin-right: 10px; vertical-align: -1px; }
.byline { font-family: var(--sans); font-size: 14px; color: var(--muted); line-height: 1.5; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.byline b { font-weight: 500; color: var(--ink-2); }
.byline time { font-variant-numeric: tabular-nums; }

/* masthead */
.top { border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 48px; font-family: var(--sans); font-size: 13px; color: var(--muted); }
.top .date { font-variant-numeric: tabular-nums; }
.top .util { display: flex; gap: 18px; }
.top .util a { text-decoration: none; }
.mast { padding: 22px 0 14px; border-bottom: 2px solid var(--ink); }
.mast .wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.mast .wordmark { width: 232px; }
.mast .tag { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--muted); margin: 0; display: none; }
.nav { border-bottom: 1px solid var(--rule); background: var(--paper); }
.nav .wrap { position: relative; }
.nav .wrap::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 40px; background: linear-gradient(90deg, rgba(255,255,255,0), #fff); pointer-events: none; }
@media (min-width: 900px) { .nav .wrap::after { display: none; } }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; font-family: var(--sans); font-size: 15px; font-weight: 500; }
.nav ul::-webkit-scrollbar { display: none; }
.nav li a { display: block; padding: 12px 18px 11px; text-decoration: none; color: var(--ink); border-bottom: 3px solid transparent; white-space: nowrap; }
.nav li:first-child a { padding-left: 0; }
.nav li a[aria-current] { border-bottom-color: var(--sec); }
.nav li.sec + li.formats { margin-left: auto; }
.nav li.formats a { color: var(--muted); font-weight: 400; }
@media (min-width: 900px) { .mast { padding: 30px 0 18px; } .mast .wordmark { width: 300px; } .mast .tag { display: block; } }

/* home: lead */
.lead { padding: var(--s6) 0 var(--s6); border-bottom: 1px solid var(--rule); }
.lead .wrap { display: grid; gap: var(--s5); }
.lead h2 { font-size: clamp(30px, 6vw, 48px); line-height: 1.08; }
.lead .dek { font-size: 19px; line-height: 1.45; color: var(--ink-2); margin: 14px 0 16px; max-width: 34em; }
.lead figure { margin: 0; order: -1; }
@media (min-width: 900px) {
  .lead .wrap { grid-template-columns: 7fr 5fr; gap: var(--s7); align-items: center; }
  .lead figure { order: 0; }
  .lead h2 { font-size: 46px; }
  .lead .dek { font-size: 21px; }
}
.ill { background: var(--tin); aspect-ratio: 3 / 2; width: 100%; }
.ill svg { width: 100%; height: 100%; }
figcaption { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.45; }

/* home: three-up */
.trio { padding: var(--s6) 0; border-bottom: 1px solid var(--rule); }
.trio .wrap { display: grid; gap: var(--s6); }
.story h3 { font-size: 24px; line-height: 1.15; }
.story p.dek { font-size: 17px; line-height: 1.45; margin: 10px 0 12px; }
.story figure { margin: 0 0 14px; }
.story .byline { font-size: 13px; }
@media (min-width: 600px) { .trio .wrap { grid-template-columns: repeat(3, 1fr); gap: var(--s5); } }
@media (min-width: 900px) { .trio .wrap { gap: var(--s6); } }

/* home: the figures band (The Number) */
.figures { padding: var(--s6) 0; border-bottom: 1px solid var(--rule); }
.figures .head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--s5); }
.band-title { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--ink); }
.band-link { font-family: var(--sans); font-size: 14px; color: var(--muted); }
.figures .grid { display: grid; gap: var(--s5); }
.fig-card { border-top: 2px solid var(--sec); padding-top: 14px; }
.fig-card .big { font-family: var(--sans); font-weight: 500; font-size: 52px; line-height: 1; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.fig-card .big small { font-size: 22px; font-weight: 500; color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.fig-card .big small.pct, .opener-number .big small.pct { margin-left: 1px; }
.fig-card h3 { font-size: 21px; margin: 12px 0 6px; line-height: 1.2; }
.fig-card .src { font-family: var(--sans); font-size: 13px; color: var(--muted); }
@media (min-width: 600px) { .figures .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .figures .grid { grid-template-columns: repeat(3, 1fr); gap: var(--s6); } .figures { padding: var(--s7) 0; } }

/* home: two columns */
.two { padding: var(--s6) 0 var(--s7); }
.two .wrap { display: grid; gap: var(--s7); }
@media (min-width: 900px) { .two .wrap { grid-template-columns: 8fr 4fr; gap: var(--s8); } }
.list .story { display: grid; grid-template-columns: 1fr 112px; gap: var(--s4); padding: var(--s5) 0; border-top: 1px solid var(--rule); align-items: start; }
.list .story figure { margin: 0; }
.list .story h3 { font-size: 22px; }
@media (min-width: 600px) { .list .story { grid-template-columns: 1fr 200px; gap: var(--s5); } .list .story h3 { font-size: 24px; } }
.rail .block { border-top: 2px solid var(--ink); padding-top: 14px; margin-bottom: var(--s6); }
.rail .block + .block { border-top: 1px solid var(--rule); }
.rail .rail-h { font-family: var(--sans); font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.rail .item { padding: 12px 0; border-top: 1px solid var(--rule); }
.rail .item:first-of-type { border-top: 0; padding-top: 0; }
.rail .item h3 { font-size: 19px; line-height: 1.22; }
.rail .item .kicker { margin-bottom: 6px; font-size: 13px; }
.rail .about p { font-size: 17px; line-height: 1.5; margin: 0 0 10px; }
.rail .about a.more { font-family: var(--sans); font-size: 14px; }

/* home: by section index */
.index { background: var(--tin); padding: var(--s7) 0; }
.index .cols { display: grid; gap: var(--s5); }
.index .col { border-top: 2px solid var(--sec); padding-top: 12px; }
.index .col .col-h { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--sec); margin-bottom: 10px; }
.index .col a { display: block; font-size: 17px; line-height: 1.3; padding: 7px 0; border-top: 1px solid var(--tin-2); text-decoration: none; color: var(--ink); }
.index .col a:first-of-type { border-top: 0; }
.index .col a:hover { text-decoration: underline; }
@media (min-width: 600px) { .index .cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .index .cols { grid-template-columns: repeat(5, 1fr); gap: var(--s6); } }

/* footer */
.foot { border-top: 2px solid var(--ink); padding: var(--s6) 0 var(--s7); font-family: var(--sans); font-size: 14px; color: var(--muted); }
.foot .grid { display: grid; gap: var(--s5); }
.foot .grid .foot-h { font-size: 14px; color: var(--ink); font-family: var(--sans); font-weight: 600; margin-bottom: 8px; }
.foot .grid a { display: block; padding: 3px 0; text-decoration: none; }
.foot .grid a:hover { text-decoration: underline; }
.foot .wordmark { width: 180px; margin-bottom: 14px; }
.foot .legal { margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid var(--rule); font-size: 13px; line-height: 1.6; }
.foot .legal p { margin: 0 0 4px; }
@media (min-width: 600px) { .foot .grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

/* article */
.art-head { padding: var(--s6) 0 var(--s5); }
.art-head .inner { max-width: 820px; }
.art-head h1 { font-size: clamp(32px, 6.4vw, 48px); line-height: 1.08; }
.art-head .dek { font-size: 20px; line-height: 1.45; color: var(--ink-2); margin: 16px 0 20px; max-width: 32em; }
.art-head .byline { padding-top: 14px; border-top: 1px solid var(--rule); align-items: center; }
.avatar { width: 28px; height: 28px; background: var(--ink); color: #fff; font-family: var(--sans); font-size: 11px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; letter-spacing: .02em; }
.art-fig { padding: 0 0 var(--s6); }
.art-fig figure { margin: 0; max-width: 820px; }
.art-body { max-width: var(--measure); margin: 0 auto; padding-bottom: var(--s7); }
/* The article column and its right rail. The rail is 300px, the width of a standard ad unit. */
.art-main .wrap { max-width: none; padding: 0; }
/* Lee, 2026-11-04: article text runs the same width as the illustration above it. */
.art-main .art-body { max-width: 820px; margin-left: 0; margin-right: 0; }
.art-rail { display: none; }
@media (min-width: 1100px) {
  .art-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; column-gap: var(--s7); }
  .art-main { min-width: 0; }
  .art-main .art-fig figure, .art-main .art-head .inner, .art-main .art-body { max-width: none; }
  .art-rail { display: block; padding-top: var(--s6); }
  .art-rail-stick { position: sticky; top: var(--s5); }
  .art-rail .fig-card { border-top: 0; padding-top: 0; }
  .art-rail .fig-card .big { font-size: 42px; }
  .art-rail .fig-card .big small { font-size: 18px; }
  .art-rail .fig-card h3 { font-size: 18px; line-height: 1.3; }
  .art-rail .item h3 { font-size: 18px; }
  .art-rail .about p { font-size: 16px; }
}
.art-body h2 { font-size: 27px; line-height: 1.2; margin: var(--s6) 0 var(--s3); }
.art-body h3 { font-size: 22px; margin: var(--s5) 0 var(--s2); }
.art-body ul, .art-body ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.art-body li { margin-bottom: .35em; }
.art-body blockquote { margin: var(--s6) 0; padding: 0 0 0 var(--s5); border-left: 3px solid var(--sec); font-size: 24px; line-height: 1.3; color: var(--ink); font-weight: 500; }
.art-body blockquote cite { display: block; font-family: var(--sans); font-style: normal; font-weight: 400; font-size: 14px; color: var(--muted); margin-top: 12px; }
.art-body figure { margin: var(--s6) 0; }
.art-body figure.chart { background: var(--paper); }
.chart-title { font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.chart-sub { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.chart svg { max-width: 600px; }
.chart svg text { font-family: var(--sans); font-size: 15px; fill: var(--muted); font-variant-numeric: tabular-nums; }
.chart svg .lbl { fill: var(--ink); font-weight: 500; }

/* tables */
table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 15px; line-height: 1.4; margin: var(--s5) 0; }
caption { text-align: left; font-weight: 600; color: var(--ink); padding: 0 0 10px; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-weight: 600; color: var(--ink); border-bottom: 2px solid var(--ink); font-size: 13px; }
td.n, th.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tr.total td { font-weight: 600; color: var(--ink); border-bottom: 2px solid var(--ink); }
.tbl-scroll { overflow-x: auto; margin: var(--s5) 0; }
.tbl-scroll table { margin: 0; }
.tbl-scroll caption { white-space: normal; }
.tbl-note { font-family: var(--sans); font-size: 13px; color: var(--muted); margin: 8px 0 0; }

/* format openers */
.opener { margin: 0 0 var(--s6); }
.opener-number .big { font-family: var(--sans); font-weight: 500; font-size: clamp(44px, 14vw, 96px); line-height: .95; letter-spacing: -0.03em; color: var(--sec); font-variant-numeric: tabular-nums; }
.opener-number .big small { font-size: .32em; color: var(--muted); font-weight: 500; letter-spacing: 0; margin-left: 6px; }
.opener-number .what { font-size: 22px; line-height: 1.3; color: var(--ink); margin: 12px 0 6px; font-weight: 500; }
.opener-number .src { font-family: var(--sans); font-size: 14px; color: var(--muted); }
.opener-file { background: var(--tin); padding: var(--s5); }
.opener-file .note { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
.opener-file dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0; font-family: var(--sans); font-size: 15px; }
.opener-file dt { color: var(--muted); } .opener-file dd { margin: 0; color: var(--ink); }
.opener-brief { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.opener-brief > div { background: var(--paper); padding: 14px 16px; }
.opener-brief .k { font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--sec); margin-bottom: 4px; }
.opener-brief .v { font-size: 17px; line-height: 1.35; color: var(--ink); }
@media (min-width: 600px) { .opener-brief { grid-template-columns: repeat(3, 1fr); } }
.opener-playbook { border: 1px solid var(--rule); padding: var(--s4) var(--s5); }
.opener-playbook .pb-h { font-size: 15px; font-family: var(--sans); font-weight: 600; color: var(--ink); margin: 0 0 10px; }
.opener-playbook ul { list-style: none; padding: 0; margin: 0; font-family: var(--sans); font-size: 15px; }
.opener-playbook li { padding: 8px 0 8px 26px; border-top: 1px solid var(--rule); position: relative; }
.opener-playbook li::before { content: ""; position: absolute; left: 0; top: 12px; width: 14px; height: 14px; border: 1.5px solid var(--sec); }
.art-body h2.step { counter-increment: step; display: grid; grid-template-columns: 32px 1fr; column-gap: 12px; align-items: baseline; }
.art-body h2.step::before { content: counter(step); font-family: var(--sans); font-weight: 500; font-size: 15px; color: var(--sec); border-top: 2px solid var(--sec); padding-top: 4px; }
.art-body { counter-reset: step; }
.timeline { list-style: none; margin: var(--s6) 0; padding: 0; border-left: 2px solid var(--sec); }
.timeline li { position: relative; padding: 0 0 20px 24px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; background: var(--paper); border: 2px solid var(--sec); border-radius: 50%; }
.timeline .yr { font-family: var(--sans); font-weight: 600; font-size: 14px; color: var(--sec); display: block; }
.timeline p { margin: 2px 0 0; font-size: 17px; line-height: 1.45; }
.timeline .ref { font-family: var(--sans); font-size: 13px; color: var(--muted); }
.partner-label { background: var(--tin); border-top: 2px dotted var(--muted); font-family: var(--sans); font-size: 14px; color: var(--ink); padding: 10px 0; }
.partner-label b { font-weight: 600; }

/* sources, corrections, author, related */
.sources { border-top: 2px solid var(--ink); padding-top: var(--s4); margin-top: var(--s7); font-family: var(--sans); }
.sources h2 { font-size: 15px; font-family: var(--sans); font-weight: 600; margin: 0 0 10px; }
.sources ol { margin: 0; padding-left: 1.4em; font-size: 15px; line-height: 1.5; }
.sources li { margin-bottom: 8px; }
.sources .acc { color: var(--muted); }
.corrections { font-family: var(--sans); font-size: 14px; color: var(--muted); margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--rule); }
.author { display: grid; grid-template-columns: 56px 1fr; gap: var(--s4); margin-top: var(--s6); padding: var(--s5); background: var(--tin); }
.author .avatar { width: 56px; height: 56px; font-size: 18px; }
.author .name { font-family: var(--sans); font-weight: 600; font-size: 16px; color: var(--ink); }
.author p { font-size: 16px; line-height: 1.5; margin: 4px 0 0; }
.related { padding: var(--s6) 0 var(--s7); border-top: 1px solid var(--rule); }
.related .grid { display: grid; gap: var(--s5); }
@media (min-width: 600px) { .related .grid { grid-template-columns: repeat(3, 1fr); } }

/* section page */
.sec-head { padding: var(--s6) 0 var(--s5); border-bottom: 2px solid var(--sec); }
.sec-head h1 { font-size: clamp(36px, 7vw, 56px); color: var(--sec); line-height: 1; }
.sec-head p { font-size: 19px; max-width: 29em; margin: 12px 0 0; color: var(--ink-2); }
.sec-lead { padding: var(--s6) 0; border-bottom: 1px solid var(--rule); }
.sec-lead .wrap { display: grid; gap: var(--s5); }
.sec-lead h2 { font-size: clamp(28px, 5.4vw, 40px); line-height: 1.1; }
@media (min-width: 900px) { .sec-lead .wrap { grid-template-columns: 6fr 6fr; gap: var(--s7); align-items: center; } }
.sec-list .story { grid-template-columns: 1fr 112px; }
.sec-formats { background: var(--tin); padding: var(--s6) 0; }
.sec-formats .grid { display: grid; gap: var(--s4); }
.sec-formats .f { background: var(--paper); padding: 16px 18px; border-top: 2px solid var(--sec); }
.sec-formats .f b { font-family: var(--sans); font-size: 14px; display: block; margin-bottom: 4px; color: var(--ink); }
.sec-formats .f span { font-size: 16px; line-height: 1.4; color: var(--muted); }
@media (min-width: 600px) { .sec-formats .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .sec-formats .grid { grid-template-columns: repeat(5, 1fr); } }

/* pager: newer, numbered pages, older. The current page carries the same 3px rule as the active nav item. */
.pager { font-family: var(--sans); font-size: 16px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: var(--s4); margin-top: var(--s5); border-top: 2px solid var(--ink); }
.pager a { color: var(--ink); }
.pg-nums a { text-decoration: none; }
.pg-nums a:hover { text-decoration: underline; }
.pg-step { grid-row: 1; display: inline-flex; align-items: center; min-height: 48px; font-weight: 500; }
.pg-prev { grid-column: 1; justify-self: start; }
.pg-next { grid-column: 3; justify-self: end; }
.pg-nums { grid-row: 1; grid-column: 2; display: flex; flex-wrap: wrap; justify-content: center; list-style: none; margin: 0; padding: 0; font-variant-numeric: tabular-nums; }
.pg-nums a, .pg-nums [aria-current], .pg-gap { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 48px; }
.pg-nums [aria-current] { font-weight: 600; color: var(--ink); border-bottom: 3px solid var(--sec, var(--ink)); }
.pg-gap { color: var(--muted); }
.sec-head p.pg-note, .auth-head p.pg-note { font-family: var(--sans); font-size: 14px; color: var(--muted); margin: 12px 0 0; }
@media (max-width: 599px) {
  .pager { grid-template-columns: 1fr 1fr; column-gap: 0; }
  .pg-nums { grid-column: 1 / -1; border-bottom: 1px solid var(--rule); }
  .pg-step { grid-row: 2; justify-self: stretch; }
  .pg-next { grid-column: 2; justify-content: flex-end; }
  .pg-nums:first-child + .pg-next { grid-column: 1 / -1; }
}
/* the way out of a capped list, and the all-articles rail */
.sec-head + .two .list .story:first-child { border-top: 0; padding-top: 0; }
.list-end { border-top: 2px solid var(--ink); }
.list-end .band-link { display: inline-flex; align-items: center; min-height: 48px; color: var(--ink); font-size: 16px; font-weight: 500; }
.browse a { display: block; font-size: 17px; line-height: 1.3; padding: 7px 0; border-top: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.browse a:hover { text-decoration: underline; }
/* below 900px the rail would stack under the pager, one screen above the footer's identical lists */
@media (max-width: 899px) { .browse { display: none; } }

/* masthead page */
.page { padding: var(--s6) 0 var(--s7); }
.page .inner { max-width: var(--measure); }
.page h1 { font-size: clamp(34px, 6.4vw, 52px); line-height: 1.06; margin-bottom: var(--s4); }
.page .dek { font-size: 21px; line-height: 1.4; color: var(--ink-2); margin-bottom: var(--s6); }
.page h2 { font-size: 26px; margin: var(--s7) 0 var(--s3); }
.page h2:first-of-type { margin-top: var(--s5); }
.people { display: grid; gap: var(--s4); margin: var(--s5) 0; }
.person { display: grid; grid-template-columns: 64px 1fr; gap: var(--s4); padding: var(--s4) 0; border-top: 1px solid var(--rule); }
.person .avatar { width: 64px; height: 64px; font-size: 20px; }
.person .role { font-family: var(--sans); font-size: 13px; color: var(--muted); }
.person .name { font-family: var(--sans); font-size: 16px; font-weight: 600; color: var(--ink); }
.person p { font-size: 17px; line-height: 1.5; margin: 4px 0 0; }
.pending { font-family: var(--sans); font-size: 14px; color: var(--muted); border: 1px dashed var(--rule); padding: 8px 12px; display: inline-block; }
.pending::before { content: "Pending: "; font-weight: 600; color: var(--ink); }
.facts { font-family: var(--sans); font-size: 15px; display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: var(--s5) 0; }
.facts dt { color: var(--muted); } .facts dd { margin: 0; color: var(--ink); }


/* theme additions: real markup the mocks did not need */
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; font-family: var(--sans); font-size: 14px; z-index: 10; }
.skip:focus { left: 8px; }
.mast .wordmark { display: block; }
.mast .wordmark img, .foot .wordmark img { width: 100%; height: auto; }
.nav li a[aria-current] { border-bottom-color: var(--sec, var(--ink)); }
h2 a, h3 a, .index .col a, .nav a { text-decoration: none; }
h2 a:hover, h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.ill img { width: 100%; height: 100%; object-fit: cover; }
.ill-empty { position: relative; }
.ill-empty::after { content: ""; position: absolute; left: 8%; bottom: 14%; width: 22%; height: 3px; background: var(--sec, var(--merbau)); }
.rail .rail-h, .index .col .col-h, .foot .grid .foot-h { letter-spacing: 0; line-height: 1.3; }
.rail .item p { font-size: 16px; line-height: 1.4; margin: 4px 0 0; color: var(--muted); }
.band-title { margin: 0; letter-spacing: -0.01em; line-height: 1.2; }
.lead .byline, .sec-lead .byline { margin-top: 0; }
.sec-lead .dek { font-size: 19px; line-height: 1.45; margin: 14px 0 16px; }
.sec-formats a.f { display: block; text-decoration: none; }
.sec-formats .f span { display: block; }
.sec-formats a.f:hover b { text-decoration: underline; }
.head-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--s5); gap: var(--s4); }
.related .story h3 { font-size: 22px; }
.art-body a { text-decoration-color: rgba(23,32,27,.45); }
.art-body > :last-child { margin-bottom: 0; }
.art-body ul li::marker, .art-body ol li::marker { color: var(--muted); }
.art-body blockquote p { margin: 0; }
.art-body .tbl-note { margin-top: -12px; margin-bottom: var(--s5); }
.tbl-scroll + .tbl-note { margin-top: 8px; }
.tbl-scroll { -webkit-overflow-scrolling: touch; background: linear-gradient(90deg, var(--paper) 30%, rgba(255,255,255,0)) left center / 28px 100% no-repeat local, linear-gradient(270deg, var(--paper) 30%, rgba(255,255,255,0)) right center / 28px 100% no-repeat local, linear-gradient(270deg, rgba(23,32,27,.14), rgba(23,32,27,0)) right center / 10px 100% no-repeat scroll; }
.opener-cost { margin: 0 0 var(--s6); }
.opener-cost .tbl-scroll { margin: 0; }
.opener-interview { font-family: var(--sans); font-size: 14px; color: var(--muted); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 10px 0; }
.opener-file a { color: inherit; }
.qa dt, .art-body .qa-q { font-family: var(--sans); font-weight: 600; font-size: 15px; color: var(--ink); }
.partner-label { padding: 12px var(--s4); margin: 0 0 var(--s6); }
.art-body .partner-label { margin: var(--s6) 0 0; }
.s-partner { --sec: var(--muted); }
.company-route { margin-top: var(--s2); padding-top: 0; border-top: 0; }
.chart svg { width: 100%; }
.chart-phone { display: none; }
@media (max-width: 599px) { .chart-wide { display: none; } .chart-phone { display: block; } }
.chart figcaption { margin-top: 10px; }
/* author and format heads */
.auth-head { padding: var(--s6) 0 var(--s5); border-bottom: 2px solid var(--ink); }
.auth-head .wrap { display: grid; grid-template-columns: 64px 1fr; gap: var(--s4); }
.auth-head .avatar { width: 64px; height: 64px; font-size: 20px; }
.auth-head h1 { font-size: clamp(32px, 6vw, 44px); line-height: 1.05; }
.auth-head .role { font-family: var(--sans); font-size: 14px; color: var(--muted); margin: 6px 0 0; }
.auth-head .bio { font-size: 19px; line-height: 1.45; max-width: 34em; margin: 12px 0 0; }
.auth-head .pen { font-family: var(--sans); font-size: 14px; color: var(--muted); margin: 10px 0 0; }
.fmt-head { --sec: var(--ink); }
.fmt-head h1 { color: var(--ink); }
.solo { padding: var(--s5) 0 var(--s7); }
.solo .list .story:first-child { border-top: 0; }
.solo .wrap > .list { max-width: 800px; }
.figures.solo { border-bottom: 0; }
.person .name a { text-decoration: none; }
.person .name a:hover { text-decoration: underline; }
.page .inner ul, .page .inner ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.page .inner li { margin-bottom: .35em; }
.page h3 { font-size: 21px; margin: var(--s5) 0 var(--s2); }
.page .pending { margin: 2px 0; }
.page table { font-size: 15px; }
/* search and 404 */
.search-form { display: flex; gap: var(--s2); margin: var(--s4) 0 var(--s5); max-width: 560px; }
.search-form input[type=search] { flex: 1 1 auto; min-width: 0; font-family: var(--sans); font-size: 16px; padding: 10px 12px; border: 1px solid var(--muted); border-radius: 0; background: var(--paper); color: var(--ink); -webkit-appearance: none; appearance: none; }
.search-form button { font-family: var(--sans); font-size: 15px; font-weight: 500; padding: 10px 16px; background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: 0; cursor: pointer; }
.search-note { font-family: var(--sans); font-size: 15px; color: var(--muted); }
.two .wrap.no-list { display: block; }
.two .wrap.no-list .rail { display: grid; gap: var(--s6); }
@media (min-width: 900px) { .two .wrap.no-list .rail { grid-template-columns: repeat(3, 1fr); } .two .wrap.no-list .rail .block { margin-bottom: 0; border-top: 2px solid var(--ink); } }
@media (max-width: 599px) { .nav li a { padding: 12px 12px 11px; } }
.wayfind { display: flex; flex-wrap: wrap; gap: 8px 18px; font-family: var(--sans); font-size: 15px; margin: var(--s4) 0; }

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

/* opener-first formats: the figure or table leads, the illustration follows */
.art-opener-first { padding-bottom: 0; }
.art-opener-first + .art-fig, .wrap:has(> .art-opener-first) + .art-fig { margin-top: var(--s5); }
/* tap targets on phones */
@media (max-width: 599px) {
  .top .util a { display: inline-flex; align-items: center; min-height: 48px; }
  .band-link, .rail .about a.more { display: inline-block; padding-block: 11px; }
  .byline a { display: inline-block; padding-block: 12px; margin-block: -12px; }
  .foot .grid a { padding: 10px 0; }
}

/* one left edge: from 600px the head, the figure and the body all start at the wrap edge */
@media (min-width: 600px) { .art-body { margin-left: 0; margin-right: 0; } }
/* chart data control */
.chart-data { font-family: var(--sans); font-size: 14px; color: var(--muted); margin-top: 8px; }
.chart-data summary { cursor: pointer; display: flex; align-items: center; min-height: 44px; }
.chart-data table { font-size: 14px; }
/* the rail keeps pace with a long list */
@media (min-width: 900px) { .two .rail { position: sticky; top: var(--s5); align-self: start; } }
/* phone footer: two columns, the wordmark and the title's own pages across both */
@media (max-width: 599px) {
  .foot .grid { grid-template-columns: 1fr 1fr; gap: var(--s5) var(--s4); }
  .foot .grid > div:first-child { grid-column: 1 / -1; }
  .foot .grid > div:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s4); align-content: start; }
  .foot .grid > div:last-child .foot-h { grid-column: 1 / -1; }
}
.chart-data summary::-webkit-details-marker { display: none; }
.chart-data summary::before { content: "+"; display: inline-block; width: 1.2em; font-weight: 600; color: var(--ink); }
.chart-data[open] summary::before { content: "\2212"; }
.chart-data tbody th { border-bottom: 1px solid var(--rule); font-size: 15px; }
.chart-data table { margin: var(--s3) 0 var(--s4); }

/* contents: under the byline below 1100px, in the rail from there */
.toc { font-family: var(--sans); font-size: 14px; line-height: 1.35; }
.toc-inline { margin-top: var(--s5); max-width: var(--measure); border-top: 1px solid var(--rule); padding-top: var(--s3); }
.toc-h { font-weight: 600; color: var(--ink); margin-bottom: var(--s2); }
.toc ol { list-style: none; margin: 0; padding: 0; position: relative; }
.toc li { margin: 0; border-top: 1px solid var(--rule); }
.toc li:first-child { border-top: 0; }
.toc a { display: grid; grid-template-columns: 22px 1fr; column-gap: 6px; padding: 7px 0; color: var(--ink-2); text-decoration: none; }
.toc a:hover .t { text-decoration: underline; }
.toc .n { color: var(--sec); font-weight: 600; font-variant-numeric: tabular-nums; }
.toc-first a { grid-template-columns: 1fr; row-gap: 1px; }
.toc-first .t { font-weight: 500; color: var(--ink); }
.art-body h2, .sources h2 { scroll-margin-top: var(--s4); }
@media (max-width: 599px) { .toc a { min-height: 44px; padding: 10px 0; align-content: center; } }
@media (min-width: 1100px) {
  .toc-inline { display: none; }
  .art-rail-stick { display: flex; flex-direction: column; max-height: calc(100vh - 2 * var(--s5)); }
  .art-rail-stick > * { flex: none; }
  .art-rail-stick > .toc { flex: 0 1 auto; min-height: 150px; display: flex; flex-direction: column; border-top: 2px solid var(--ink); padding-top: 14px; margin-bottom: var(--s5); }
  .art-rail .toc .rail-h { margin-bottom: 8px; }
  .art-rail .toc ol { min-height: 0; overflow-y: auto; scrollbar-width: thin; }
  .art-rail .toc a { padding: 6px 4px 6px 8px; font-size: 14px; }
  .art-rail .toc a[aria-current] { box-shadow: inset 2px 0 var(--sec); }
  .art-rail .toc a[aria-current] .t { font-weight: 600; color: var(--ink); }
  .art-rail-stick > .block { margin-bottom: var(--s4); }
  .art-rail-own .big { font-family: var(--sans); font-weight: 500; font-size: 42px; line-height: 1; letter-spacing: -0.02em; color: var(--sec); font-variant-numeric: tabular-nums; }
  .art-rail-own .src { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-top: 8px; }
}
@media (min-width: 1100px) and (max-height: 960px) { .art-rail-stick > .art-rail-number:not(.art-rail-own) { display: none; } }
@media (min-width: 1100px) and (max-height: 720px) { .art-rail-stick > .about { display: none; } }
/* the figure card gives way to the contents, which is what this column is for */
@media (min-width: 1100px) {
  .art-rail-stick .fig-card .big { font-size: 32px; }
  .art-rail-stick .fig-card .big small { font-size: 15px; }
  .art-rail-stick .fig-card h3 { font-family: var(--sans); font-size: 14px; font-weight: 500; line-height: 1.35; margin: 6px 0 4px; }
  .art-rail-stick .fig-card .src { font-size: 12px; line-height: 1.35; }
  .art-rail-stick .about p { font-size: 15px; line-height: 1.4; margin-bottom: 4px; }
  .art-rail-stick .block { padding-top: 10px; }
  .art-rail-stick .rail-h { margin-bottom: 8px; }
}
/* key figure strip, Company File and Cost Sheet, only from the opener's own figure */
.keyfig { display: grid; gap: var(--s2); margin-top: var(--s4); padding: 14px 0 0; border-top: 2px solid var(--sec); max-width: var(--measure); font-family: var(--sans); }
.keyfig .fig { font-weight: 500; font-size: 36px; line-height: 1; letter-spacing: -0.02em; color: var(--sec); font-variant-numeric: tabular-nums; }
.keyfig p { margin: 0; font-size: 15px; line-height: 1.4; color: var(--ink); }
.keyfig .src { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* data bars: under the value, never a fill behind it. Scale in --l and --f, set per cell at render. */
td.b { position: relative; }
td.b::after { content: ""; position: absolute; bottom: 5px; height: 3px; left: calc((100% - 12px) * var(--l)); width: calc((100% - 12px) * var(--f)); min-width: 1px; background: var(--sec); }

/* a table that is a time sequence */
.tl-cap { font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--ink); margin: var(--s5) 0 var(--s3); }
.art-body .timeline { padding-left: 0; }
.art-body .timeline li { margin-bottom: 0; }
.timeline .tl-more { font-family: var(--sans); font-size: 14px; line-height: 1.4; margin-top: 4px; color: var(--ink-2); }
.timeline .tl-more .k { color: var(--muted); }
.timeline .tl-more .k::after { content: ":"; }

/* wide tables on phones: rows become labelled cards, five showing, the rest behind a native control */
.rows-more { display: none; }
@media (max-width: 599px) {
  .tbl-scroll.cards { overflow: visible; background: none; }
  .cards table, .cards tbody, .cards tr, .cards td { display: block; width: 100%; }
  .cards caption { display: block; padding-bottom: 6px; }
  .cards thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .cards tr { padding: 10px 0 8px; border-bottom: 1px solid var(--rule); }
  .cards tr:first-child { border-top: 2px solid var(--ink); }
  .cards tr.total { border-bottom: 2px solid var(--ink); }
  .cards td { position: relative; border: 0; padding: 2px 0; text-align: left; white-space: normal; }
  tr.total td { border-bottom: 0; }
  .cards td:first-child { font-weight: 600; color: var(--ink); padding-bottom: 6px; }
  .cards td:first-child:has(strong) { font-weight: 400; color: var(--ink-2); }
  .cards td:first-child strong { font-weight: 600; color: var(--ink); }
  .cards td:empty { display: none; }
  .cards td[data-label] { display: flow-root; padding-left: 40%; }
  .cards td[data-label]::before { content: attr(data-label); float: left; width: 61%; margin-left: -66.667%; padding-top: 1px; font-size: 13px; line-height: 1.3; font-weight: 400; color: var(--muted); }
  .cards td.b { padding-bottom: 9px; }
  .cards table.bars-multi td.b::after { display: none; }
  .cards td.b::after { bottom: 3px; left: calc(40% + 60% * var(--l)); width: calc(60% * var(--f)); }
  @supports selector(:has(a)) {
    .cards:has(> .rows-more:not([open])) tr.more { display: none; }
    .rows-more { display: block; font-family: var(--sans); font-size: 14px; margin-top: 2px; }
    .rows-more summary { display: flex; align-items: center; min-height: 44px; font-weight: 500; color: var(--ink); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
    .rows-more summary::-webkit-details-marker { display: none; }
    .toc-inline:has(> .rows-more:not([open])) li.toc-extra { display: none; }
    .rows-more .c, .rows-more[open] .o { display: none; }
    .rows-more[open] .c { display: inline; }
  }
}

/* list views on phones: two lines of dek, so a list reads as a list */
@media (max-width: 599px) {
  .list .story .dek, .trio .story .dek { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
  /* the home's three-up sits under a full-width lead: on a phone its cards take the list row's shape */
  .trio .story { display: grid; grid-template-columns: 1fr 112px; column-gap: var(--s4); align-items: start; }
  .trio .story > figure { grid-column: 2; grid-row: 1 / span 4; margin: 0; }
  .trio .story > :not(figure) { grid-column: 1; }
  .trio .story h3 { font-size: 22px; }
  .trio .wrap { gap: var(--s5); }
}

/* standing pages (page template, 2026-11-04): the article's column and rail. One left edge, text the width of the
   figure above it (820px, as an article), a 300px rail from 1100px. .page-fig is a full-column figure; .side
   sits beside the text from 700px and stacks on phones. Owned by the About-page lane; edit nothing above. */
.page-layout .inner { max-width: 820px; }
.page .dek { max-width: 32em; }
.page h2 { clear: both; }
.page-fig { margin: 0 0 var(--s6); }
.page-fig img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: var(--tin); }
.page-fig.lede { margin: var(--s2) 0 var(--s6); }
.page-rail { display: none; }
.page-rail .page-links a { display: block; padding: 9px 0; border-top: 1px solid var(--rule); font-family: var(--sans); font-size: 15px; text-decoration: none; color: var(--ink-2); }
.page-rail .page-links a:first-child { border-top: 0; }
.page-rail .page-links a:hover { text-decoration: underline; }
.page-rail .page-links a[aria-current] { font-weight: 600; color: var(--ink); }
@media (min-width: 700px) {
  .page-fig.side { float: right; width: 46%; margin: 6px 0 var(--s4) var(--s6); }
  .page .people { clear: both; }
}
@media (min-width: 1100px) {
  .page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; column-gap: var(--s7); align-items: start; }
  .page-layout .inner { max-width: none; min-width: 0; }
  .page-rail { display: block; position: sticky; top: var(--s5); padding-top: 6px; }
}

/* Consent bar, added by the production export's analytics.js */
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; padding: 14px var(--gutter); background: var(--paper); border-top: 2px solid var(--ink); font-family: var(--sans); font-size: 14px; line-height: 1.45; color: var(--ink); }
.cookie-bar p { flex: 1 1 320px; margin: 0; }
.cookie-bar a { color: inherit; text-decoration: underline; }
.cookie-bar div { display: flex; gap: 8px; }
.cookie-bar button { min-height: 44px; padding: 8px 18px; font: 500 14px var(--sans); cursor: pointer; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); }
.cookie-bar button:first-child { background: var(--ink); color: var(--paper); }
