:root {
  --bg: #fffefa;
  --paper: #ffffff;
  --ink: #242820;
  --soft: #565b51;
  --muted: #73786e;
  --line: #eaece4;
  --line-strong: #dce0d4;
  --gold: #936014;
  --honey: #ffc44b;
  --forest: #315744;
  --gold-bg: #fff4d8;
  --foil-ink: linear-gradient(112deg, #8c5411 0%, #bc8422 26%, #815015 43%, #cc9a38 49%, #936014 57%, #b67a1b 80%, #8c5411 100%);
  --foil-edge: linear-gradient(118deg, #d4ab5c 0%, #efd9a3 24%, #bc8c32 42%, #fff1c7 50%, #c89b42 64%, #edce88 82%, #ceaa62 100%);
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
html[lang="en"] { --sans: "Inter", "Noto Sans SC", "PingFang SC", sans-serif; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; color: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { text-wrap: pretty; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.wrap { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: fixed; top: -60px; left: 16px; z-index: 100; background: var(--ink); color: white; padding: 10px 18px; }
.skip:focus { top: 10px; }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
::selection { color: #263a2c; background: #f5d88e; }

/* Warm white surfaces and amber accents keep the navigation light. */
.site-header { position: sticky; top: 0; z-index: 30; background: rgb(255 255 255 / 94%); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo-mark { position: relative; display: grid; place-items: center; flex: none; width: 38px; height: 42px; padding-left: 3px; color: #f6d68a; font: 600 19px/1 var(--mono); letter-spacing: -.08em; background: #294536; border: 1px solid #203a2c; border-radius: 3px 7px 7px 3px; box-shadow: inset -2px 0 0 rgb(255 255 255 / 8%); }
.logo-mark::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: 1px; background: linear-gradient(#e8c879, #a87c31, #f2da9e); }
.logo-mark::after { content: ""; position: absolute; bottom: 5px; left: 10px; right: 6px; height: 1px; background: #a3874b; opacity: .6; }
.logo-word { font: 700 25px/1.2 var(--sans); letter-spacing: .01em; white-space: nowrap; }
.brand-note { margin-left: 10px; padding-left: 19px; border-left: 1px solid var(--line-strong); color: var(--muted); font-size: 12px; letter-spacing: .06em; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.language-switch { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; min-height: 40px; padding: 4px 8px; border: 1px solid var(--line-strong); border-radius: 7px; color: var(--gold); text-decoration: none; font-size: 12px; white-space: nowrap; }
.language-switch:hover { background: var(--gold-bg); border-color: #d4ab5c; }
.translation-note { padding: 12px 16px; background: var(--gold-bg); border-radius: 8px; color: var(--soft); font-size: 13px; }
html[lang="en"] .logo-word { font-size: 23px; letter-spacing: -.025em; }
html[lang="en"] .brand-note { display: none; }
html[lang="en"] .hero h1 { letter-spacing: -.045em; }
@media (min-width: 601px) and (max-width: 720px) {
  .header-inner { flex-wrap: wrap; padding-top: 12px; }
  .language-switch { margin-left: auto; order: 2; }
  .nav { width: 100%; order: 3; justify-content: space-between; }
}
.nav a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; position: relative; color: var(--soft); text-decoration: none; font-size: 13px; white-space: nowrap; transition: color .18s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { content: ""; height: 3px; border-radius: 3px; background: var(--honey); position: absolute; bottom: 0; left: 0; right: 0; }
.nav .nav-rules { color: var(--muted); }
.nav-count { font: 500 10px/1 var(--mono); color: var(--gold); }
.nav-local { padding: 2px 4px; border: 1px solid var(--line); border-radius: 3px; color: var(--muted); font-size: 9px; line-height: 1.2; }

/* A local golden glow frames the introduction and the opening case. */
.hero-band { background: radial-gradient(ellipse at 80% 25%, rgb(255 212 112 / 33%), transparent 58%), radial-gradient(ellipse at 18% 0%, rgb(255 235 177 / 22%), transparent 52%); }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; padding-block: 38px 42px; align-items: center; }
.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 0 0 12px; color: var(--gold); font-size: 11px; font-weight: 500; letter-spacing: .12em; }
.kicker-en { font: 400 10px/1.7 var(--mono); color: var(--muted); letter-spacing: .12em; }
.hero h1 { font: 700 clamp(36px, 3.7vw, 48px)/1.4 var(--sans); letter-spacing: -.045em; margin: 0; }
.ink-accent { color: #a76a0b; }
.lede { color: var(--soft); font-size: 14px; line-height: 1.85; margin: 13px 0 0; max-width: 42em; }
.hero-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 16px; }
.hero-update { color: var(--muted); font-size: 12px; }
.hero-link { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; font-size: 13px; font-weight: 600; text-decoration: none; padding: 10px 18px; border: 1px solid #edb333; border-radius: 8px; background: var(--honey); color: #3c3017; box-shadow: inset 0 1px 0 rgb(255 255 255 / 50%), 0 4px 12px rgb(206 149 31 / 10%); transition: background .18s, transform .18s; }
.hero-link:hover { background: #ffd16c; transform: translateY(-1px); }
.hero-link .icon { width: 15px; height: 15px; transition: transform .2s; }
.hero-link:hover .icon { transform: translate(2px,-2px); }
.spotlight { position: relative; padding: 24px 28px 22px; }
.spotlight, .card.is-featured {
  color: var(--ink);
  border: 1px solid transparent;
  border-radius: 14px;
  background:
    radial-gradient(ellipse at 100% 0%, rgb(255 228 153 / 42%), transparent 65%) padding-box,
    linear-gradient(135deg, #ffffff, #fffdf6) padding-box,
    var(--foil-edge) border-box;
  background-size: auto, auto, 250% 100%;
  background-position: 0 0, 0 0, 0% 50%;
  box-shadow: 0 10px 30px -18px rgb(156 112 25 / 25%), 0 2px 6px rgb(114 90 39 / 3%);
  transition: background-position .9s ease, box-shadow .3s ease, transform .3s ease;
}
.spotlight:hover, .card.is-featured:hover { background-position: 0 0, 0 0, 100% 50%; box-shadow: 0 12px 32px -18px rgb(156 112 25 / 30%); }
.spotlight-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 12px; }
.spotlight-top { color: var(--gold); font-size: 12px; font-weight: 500; }
.spotlight-category { color: var(--muted); font-size: 11px; }
.spotlight h2 { margin: 0; max-width: 24em; font: 600 22px/1.6 var(--sans); letter-spacing: -.025em; }
.spotlight h2 a { text-decoration: none; }
.spotlight h2 a:hover { color: var(--gold); }
.spotlight-summary { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: var(--soft); font-size: 13px; line-height: 1.85; margin: 10px 0 16px; }
.spotlight-bottom { display: flex; justify-content: space-between; gap: 16px; align-items: end; padding-top: 14px; border-top: 1px solid #f0e5cb; }
.spotlight-bottom > div { display: flex; align-items: baseline; flex-wrap: wrap; flex: 1; min-width: 0; gap: 9px; }
.spotlight-bottom strong { font: 500 29px/1.3 var(--mono); letter-spacing: -.06em; }
.spotlight-bottom span { color: var(--muted); font-size: 11px; }
.spotlight-bottom .spotlight-author { color: var(--soft); font-size: 13px; }
.spotlight-link { display: inline-flex; gap: 6px; align-items: center; min-height: 36px; white-space: nowrap; color: var(--gold); font-size: 12px; text-decoration: none; }
.spotlight-link .icon { width: 14px; height: 14px; }
.spotlight-bottom strong, .card.is-featured .card-revenue strong {
  color: var(--gold);
  background: var(--foil-ink);
  background-size: 200% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 1px 0 rgb(255 255 255 / 20%);
  transition: background-position .9s ease;
}
.spotlight:hover .spotlight-bottom strong, .card.is-featured:hover .card-revenue strong { background-position: 100% 50%; }
.spotlight-bottom strong.written-result { font: 500 20px/1.6 var(--sans); letter-spacing: 0; }

.spotlight-empty { min-height: 220px; display: flex; flex-direction: column; justify-content: center; }

/* The archive controls share a single rule instead of another panel. */
.explorer { padding-bottom: 56px; scroll-margin-top: 20px; }
.explorer-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--line); padding-top: 22px; }
.explorer-head h2 { display: flex; align-items: center; gap: 16px; margin: 0; font: 600 21px/1.4 var(--sans); }
.sync-note { display: inline-flex; align-items: center; gap: 7px; margin: 0; color: var(--muted); font-size: 11px; }
.sync-note::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #8d977e; }
.filters-form { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.filters { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.filter { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 5px 10px; color: var(--soft); text-decoration: none; font-size: 12px; border-radius: 7px; transition: background .15s, color .15s; }
.filter .icon { width: 13px; height: 13px; color: var(--muted); }
.filter:hover { background: #f7f7f0; }
.filter[aria-current="page"] { background: var(--gold-bg); color: #82540f; font-weight: 500; }
.filter[aria-current="page"] .icon { color: #a56d18; }
.toolbar-top { display: flex; align-items: center; gap: 14px; }
.search { display: flex; align-items: center; gap: 8px; min-width: 0; width: 235px; height: 40px; padding-inline: 12px; border: 1px solid var(--line-strong); background: var(--paper); border-radius: 8px; }
.search:focus-within { border-color: var(--gold); }
.search .icon { width: 14px; height: 14px; color: var(--muted); }
.search input { min-width: 0; width: 100%; background: none; border: 0; outline: 0; font-size: 12px; }
.search input::placeholder { color: var(--muted); }
.sort { display: flex; align-items: center; gap: 7px; font-size: 11px; white-space: nowrap; }
.sort-label { color: var(--muted); }
.sort select { min-height: 40px; padding: 5px 0; background: transparent; border: 0; max-width: 105px; font-size: 12px; cursor: pointer; }
.results-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding-block: 12px; }
.result-meta { margin: 0; color: var(--muted); font-size: 11px; }
.sort-note { margin: 0; color: var(--muted); font-size: 11px; max-width: 60em; }
#results[aria-busy="true"] { opacity: .55; }
.notice { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 25px 0 0; padding-block: 14px; color: var(--muted); font-size: 11px; border-top: 1px solid var(--line); }
.notice > span { display: inline-flex; align-items: flex-start; gap: 7px; }
.notice .icon { width: 14px; height: 14px; margin-top: 2px; }
.notice a { color: var(--soft); white-space: nowrap; text-decoration: none; }
.notice a:hover { text-decoration: underline; }
.sample-notice .notice { margin-top: 16px; padding: 10px 14px; border: 1px solid #dfceb0; background: var(--gold-bg); color: var(--soft); }

/* Ordinary notes stay light; foil belongs to the occasional featured story. */
.cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; align-items: stretch; }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 20px 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); box-shadow: 0 3px 10px rgb(38 47 29 / 2%); transition: border-color .2s, box-shadow .2s; }
.card:hover { border-color: #dfc68d; box-shadow: 0 8px 24px -12px rgb(115 90 31 / 16%); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 28px; }
.card-labels { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; min-width: 0; }
.featured-badge { display: inline-flex; align-items: center; flex: none; padding: 3px 8px; border: 1px solid #dfc58b; border-radius: 4px; background: #fff2cf; color: #805611; font-size: 11px; font-weight: 600; line-height: 1.5; letter-spacing: .03em; white-space: nowrap; }
.tag { display: inline-flex; align-items: center; gap: 7px; color: var(--gold); font-size: 11px; font-weight: 500; letter-spacing: .06em; white-space: nowrap; }
.tag::before { content: ""; width: 4px; height: 4px; background: currentColor; border-radius: 50%; }
.card h2 { font: 600 21px/1.5 var(--sans); letter-spacing: -.025em; margin: 16px 0 0; overflow-wrap: anywhere; }
.card h2 a { text-decoration: none; }
.card-link > span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 12px; }
.card-link:focus-visible { outline: none; }
.card-link:focus-visible::after { outline: 2px solid var(--gold); outline-offset: 4px; }
.card .save { position: relative; z-index: 2; }
.card:hover h2, .spotlight:hover h2 { color: var(--gold); }
.card.is-featured .card-bottom { border-color: #f0e5cb; }

.summary { font-size: 14px; line-height: 1.85; color: var(--soft); margin: 14px 0 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.card-chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 13px 0 0; }
.card-chips li { padding: 3px 7px; background: #f4f3eb; color: #626553; border-radius: 4px; font-size: 11px; line-height: 1.6; }
.card-footer { margin-top: auto; padding-top: 26px; }
.card-result { padding-bottom: 18px; }
.card-angle { color: var(--muted); font-size: 11px; line-height: 1.6; margin: 0 0 6px; }
.card-revenue { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 8px; }
.card-revenue strong { color: var(--forest); font: 500 28px/1.35 var(--mono); letter-spacing: -.065em; }
.card-revenue > span { color: var(--muted); font-size: 11px; }
.card-revenue.is-quiet strong { font: 500 16px/1.7 var(--sans); letter-spacing: 0; background: none; -webkit-text-fill-color: currentColor; text-shadow: none; }
.card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.who { display: flex; align-items: center; gap: 8px; min-width: 0; }
.avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; flex: none; background: #f1f5ee; color: #5f735d; font: 500 10px/1 var(--mono); }
.who-meta { display: flex; flex-direction: column; min-width: 0; line-height: 1.6; }
.who-name { display: flex; align-items: baseline; gap: 5px; min-width: 0; }
.who strong { font-size: 11px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 170px; }
.handle { color: var(--muted); font-size: 11px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.who time { color: var(--muted); font: 400 11px/1.6 var(--mono); }
.read-case { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; color: var(--muted); transition: background .2s, color .2s; }
.read-case:hover { background: var(--ink); color: white; }
.card .read-case { width: 40px; height: 40px; color: #805611; background: #fff3d6; }
.card:hover .read-case { background: var(--honey); color: #382e1a; }
.save, .text-button { display: inline-flex; justify-content: center; align-items: center; gap: 7px; min-height: 40px; border: 1px solid var(--line-strong); border-radius: 7px; background: transparent; padding: 7px 12px; font-size: 12px; color: var(--soft); transition: color .15s, background .15s; }
.save:hover, .text-button:hover { background: var(--gold-bg); color: var(--gold); }
.save .icon { width: 15px; height: 15px; }
.save-icon { min-height: 40px; height: 40px; width: 40px; padding: 0; border: 0; color: var(--muted); }
.save[aria-pressed="true"] { color: var(--gold); }
.save[aria-pressed="true"] .icon { fill: #ffdb88; }
.cover { display: block; margin-top: 10px; background: #f5f7f0; overflow: hidden; aspect-ratio: 16/9; border: 1px solid var(--line); border-radius: 6px; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.text-link { color: var(--gold); font-size: 12px; text-decoration: underline; text-underline-offset: 5px; }

/* Long-form case studies. */
.detail { padding-block: 24px 64px; }
.crumb { display: flex; flex-wrap: wrap; gap: 9px; color: var(--muted); font-size: 11px; margin-bottom: 32px; }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--gold); }
.crumb > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 26em; }
.detail-header { max-width: 960px; padding-bottom: 28px; }
.detail h1 { font: 600 clamp(30px,3.2vw,40px)/1.55 var(--sans); letter-spacing: -.025em; margin: 0; max-width: 25em; }
.detail-header .lede { max-width: 54em; font-size: 15px; margin-top: 15px; }
.detail-context { margin: 18px 0 0; color: var(--soft); font-size: 16px; font-weight: 500; line-height: 1.7; }
.detail-byline { display: flex; align-items: center; gap: 24px; margin-top: 22px; }
.detail-byline .who strong { font-size: 11px; max-width: none; white-space: normal; overflow-wrap: anywhere; }
.detail-byline .avatar { width: 30px; height: 30px; }
.detail-updated { display: grid; gap: 3px; padding-left: 24px; border-left: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.detail-grid { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 70px; align-items: start; border-top: 1px solid var(--line-strong); padding-top: 28px; }
.detail-main { grid-column: 1; grid-row: 1; min-width: 0; }
.detail-side { grid-column: 2; grid-row: 1; position: sticky; top: 105px; }
.case-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 0; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.case-facts > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.case-facts dt { font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.case-facts dt span { font: 400 10px/1 var(--mono); color: var(--gold); margin-right: 5px; }
.case-facts dd { margin: 0; }
.case-facts.is-single { grid-template-columns: 1fr; }
.case-facts dd p { font-size: 13px; color: var(--soft); line-height: 1.9; margin: 0; }
.case-facts a, .prose a { color: var(--gold); text-underline-offset: 3px; }
.case-facts dd .muted-text { color: var(--muted); font-size: 11px; }
.story { padding-top: 8px; }
.story-card { padding-block: 23px; }
.story > .story-card:first-child { padding-top: 0; }
.source-excerpt blockquote { margin: 0; border-left: 2px solid #d5b777; padding-left: 18px; color: var(--soft); font-size: 15px; line-height: 1.9; overflow-wrap: anywhere; }
.story .source-credit { color: var(--muted); font-size: 12px; margin: 12px 0 0; line-height: 1.8; }
.source-credit a { display: inline-flex; gap: 5px; align-items: center; color: var(--gold); text-underline-offset: 4px; }
.source-credit .icon { width: 13px; height: 13px; }
.story-card + .story-card { border-top: 1px solid var(--line); }
.story-card h2, .doc h2 { font: 600 20px/1.6 var(--sans); margin: 0 0 13px; }
.prose p, .doc p, .doc li, .story p { font-size: 14px; line-height: 2; color: var(--soft); margin: 0; }
.prose p + p { margin-top: 16px; }
.prose li { color: var(--soft); font-size: 14px; line-height: 2; }
.money-card { padding: 20px 22px; background: linear-gradient(145deg, #fff9e9, #ffffff 60%); border: 1px solid #ece2c9; border-radius: 12px; }
.side-kicker { display: flex; align-items: center; gap: 10px; font: 400 11px/1.5 var(--mono); color: var(--muted); letter-spacing: .1em; margin: 0 0 23px; }
.side-kicker span { font: 400 11px/1.5 var(--sans); letter-spacing: 0; }
.money-label { margin: 0; font-size: 11px; color: var(--soft); }
.money-card .money { color: var(--forest); font: 500 40px/1.3 var(--mono); letter-spacing: -.06em; margin: 6px 0 18px; }
.money-card.is-quiet .money { font: 500 25px/1.5 var(--sans); color: var(--muted); margin-top: 10px; }
.money-lines { border-top: 1px solid var(--line); padding-top: 10px; }
.money-details { margin-top: 12px; border-top: 1px solid var(--line); }
.money-details summary { min-height: 44px; padding-block: 13px; cursor: pointer; color: var(--gold); font-size: 12px; }
.money-details .money-lines { border: 0; padding-top: 0; }
.amount-original { margin: 14px 0 0; color: var(--soft); font-size: 12px; line-height: 1.9; overflow-wrap: anywhere; }
.amount-original span { display: block; color: var(--muted); font-size: 11px; }
.fine { font-size: 11px; line-height: 1.9; color: var(--muted); margin: 5px 0 0; }
.side-facts { margin: 15px 0 0; border-top: 1px solid var(--line); padding-top: 12px; }
.side-facts > div { display: grid; grid-template-columns: 80px 1fr; gap: 10px; font-size: 11px; line-height: 1.9; margin-block: 6px; }
.side-facts dt { color: var(--muted); }
.side-facts dd { margin: 0; color: var(--soft); }
.side-actions { display: flex; gap: 8px; margin-top: 12px; }
.origin { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 1; padding: 9px 12px; color: var(--paper); background: var(--ink); font-size: 12px; text-decoration: none; border-radius: 7px; }
.origin:hover { background: #424a3b; }
.origin .icon { width: 14px; height: 14px; }
.source-note { margin-top: 12px; }
.case-feedback { margin: 24px 0 0; font-size: 12px; }
.case-feedback a { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); text-underline-offset: 4px; }
.case-feedback .icon { width: 14px; height: 14px; }
.related { margin-top: 48px; border-top: 1px solid var(--line-strong); padding-top: 22px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-heading h2 { font: 600 22px/1.5 var(--sans); margin: 0; }
.section-heading > span { font: 400 10px/1.5 var(--mono); color: var(--muted); letter-spacing: .08em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { font-size: 11px; border: 1px solid var(--line); padding: 4px 10px; color: var(--soft); }
.gallery { display: grid; gap: 16px; }
.gallery img { width: 100%; border: 1px solid var(--line); }
.workflow { padding: 22px; margin-block: 16px; border-left: 2px solid var(--honey); background: #fffbef; }
.workflow-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.workflow-title { font-weight: 600; margin: 0; }
.workflow-kicker { font: 400 9px/1.5 var(--mono) !important; color: var(--muted); }
.workflow ol { list-style: none; margin: 14px 0 0; padding: 0; }
.workflow li { display: flex; align-items: baseline; gap: 12px; font-size: 13px; line-height: 1.9; padding-block: 8px; }
.workflow b { color: var(--gold); font: 400 10px/1.5 var(--mono); }

/* The rest of the publication. */
.page-intro, .doc { padding-block: 42px 72px; min-height: calc(100vh - 250px); }
.page-intro h1, .doc h1 { font: 600 clamp(30px,3.6vw,40px)/1.6 var(--sans); letter-spacing: -.03em; margin: 0; }
.page-intro > .cards, #saved-root { margin-top: 30px; }
.saved-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.saved-info { display: flex; align-items: flex-start; gap: 13px; margin-top: 25px; padding: 18px 20px; border: 1px solid #f0dfb7; border-radius: 10px; background: #fffaf0; }
.saved-info > .icon { margin-top: 4px; color: var(--gold); }
.saved-info h2 { margin: 0 0 4px; font-size: 13px; font-weight: 600; }
.saved-info p { margin: 0; color: var(--soft); font-size: 12px; line-height: 1.9; }
.save-notice { position: fixed; z-index: 60; right: 28px; bottom: 24px; width: max-content; max-width: min(380px, calc(100% - 36px)); padding: 14px 18px; border: 1px solid #53634b; border-left: 3px solid var(--honey); border-radius: 5px; background: var(--forest); color: #fff8e6; font-size: 13px; line-height: 1.8; box-shadow: 0 8px 24px rgb(29 48 32 / 18%); pointer-events: none; }
.doc-card { max-width: 740px; margin-inline: auto; }
.doc .lede { font-size: 15px; margin-block: 16px 35px; }
.doc h2 { margin-top: 30px; }
.doc ul { padding-left: 1.3em; margin: 0; }
.doc li + li { margin-top: 7px; }
.contact-card { margin-top: 40px; padding: 26px 28px 18px; border: 1px solid #ead7ab; border-radius: 12px; background: linear-gradient(120deg, #fffdf7, #fff7e2); }
.doc .contact-card h2 { margin: 0; font-size: 22px; }
.contact-card > p { margin: 10px 0 20px; color: var(--soft); font-size: 14px; line-height: 1.9; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.contact-email { display: inline-flex; align-items: center; gap: 8px; color: var(--forest); font: 500 clamp(17px, 3.8vw, 22px)/1.6 var(--mono); text-decoration-color: #bfc8b7; text-underline-offset: 6px; }
.contact-email:hover { color: var(--gold); text-decoration-color: currentColor; }
.contact-copy { min-height: 40px; padding: 7px 13px; border: 1px solid #e4d2a7; border-radius: 6px; background: var(--paper); color: var(--gold); font-size: 12px; }
.contact-copy:hover { background: var(--gold-bg); }
.doc .contact-status { min-height: 1.9em; margin: 12px 0 0; color: var(--forest); font-size: 12px; }
.empty-box { border-block: 1px solid var(--line); padding: 48px 20px; text-align: center; }
.empty { color: var(--muted); font-size: 13px; padding-block: 24px; margin: 0; }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 26px; margin-top: 22px; border-top: 1px solid var(--line); }
.pager a, .pager > span { min-height: 38px; display: inline-flex; align-items: center; font-size: 11px; text-decoration: none; }
.pager a:hover { color: var(--gold); }
.pager .is-disabled { color: #a4a99c; }
.pager-status { color: var(--muted); font-family: var(--mono); }
.site-footer { border-top: 1px solid var(--line); background: var(--paper); padding-block: 28px; }
.site-footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand > strong { font: 700 21px/1.4 var(--sans); }
.footer-brand p { margin: 5px 0 0; font-size: 10px; color: var(--muted); }
.footer-note { margin: 0; color: var(--muted); font-size: 11px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 0; }
.footer-links a { text-decoration: none; font-size: 11px; color: var(--soft); }
.footer-links a:hover { color: var(--gold); }
@keyframes arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.hero-copy, .spotlight { animation: arrive .5s ease both; }
.spotlight { animation-delay: .08s; }

@media (max-width: 1100px) {
  .wrap { width: calc(100% - 56px); }
  .brand-note { display: none; }
  .hero { gap: 40px; }
  .search { width: 190px; }
  .filter { padding-inline: 8px; gap: 4px; }
  .toolbar-top { gap: 10px; }
  .sort-label { display: none; }
  .detail-grid { gap: 40px; grid-template-columns: minmax(0,1fr) 280px; }
  .card { padding-inline: 18px; }
  .footer-note { max-width: 220px; }
}
@media (max-width: 850px) {
  .nav { gap: 14px; }
  .header-inner { gap: 14px; }
  html[lang="en"] .logo-word { font-size: 20px; }
  .hero { gap: 28px; padding-block: 30px; }
  .hero h1 { font-size: 36px; }
  .spotlight { padding: 18px 20px; }
  .spotlight h2 { font-size: 19px; }
  .spotlight-bottom { gap: 10px; }
  .filters-form { align-items: start; flex-direction: column; gap: 12px; }
  .toolbar-top { width: 100%; gap: 20px; }
  .search { width: 100%; }
  .cards { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  .detail-grid { grid-template-columns: minmax(0,1fr) 245px; gap: 28px; }
  .case-facts { grid-template-columns: 1fr; gap: 18px; }
  .case-facts > div + div { padding-left: 0; border-left: 0; }
  .money-card { padding: 18px; }
  .money-card .money { font-size: 34px; }
  .site-footer .wrap { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 115px; }
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 0; flex-wrap: wrap; gap: 8px; padding-top: 14px; }
  .logo { gap: 8px; }
  .language-switch { margin-left: auto; order: 2; min-height: 34px; }
  .logo-mark { width: 30px; height: 34px; font-size: 15px; }
  .logo-word { font-size: 23px; }
  .nav { width: 100%; gap: 0; justify-content: space-between; order: 3; }
  html[lang="en"] .logo-word { font-size: 19px; }
  html[lang="en"] .nav a { font-size: 10px; }
  html[lang="en"] .spotlight-bottom { display: grid; grid-template-columns: 1fr; gap: 10px; }
  html[lang="en"] .spotlight-bottom .written-result { font-size: 20px; }
  html[lang="en"] .spotlight-link { justify-self: end; }
  .nav a { min-height: 42px; font-size: 12px; }
  .hero { grid-template-columns: 1fr; gap: 20px; padding-block: 22px; }
  .kicker { font-size: 11px; gap: 10px; margin-bottom: 12px; }
  .kicker-en { font-size: 8px; }
  .hero h1 { font-size: clamp(30px,8.2vw,40px); line-height: 1.45; }
  .hero .lede { font-size: 13px; line-height: 1.85; margin-top: 12px; }
  .hero-foot { margin-top: 15px; gap: 18px; }
  .hero-link { font-size: 12px; padding-inline: 14px; gap: 12px; }
  .spotlight { padding: 17px 20px; }
  .spotlight-top { font-size: 11px; }
  .spotlight-heading { gap: 8px 12px; margin-bottom: 10px; }
  .spotlight-category { font-size: 10px; }
  .spotlight h2 { font-size: 18px; line-height: 1.6; }
  .spotlight-summary { margin-bottom: 12px; }
  .spotlight-bottom { margin-top: 13px; padding-top: 11px; flex-wrap: nowrap; }
  .spotlight-bottom strong { font-size: 22px; }
  .spotlight-bottom > div { gap: 6px; }
  .spotlight-bottom span { font-size: 10px; }
  .spotlight-link { font-size: 11px; }
  .explorer-head { padding-top: 15px; align-items: baseline; }
  .explorer-head h2 { font-size: 19px; gap: 10px; }
  .sync-note { font-size: 11px; }
  .sync-note::before { display: none; }
  .filters-form { padding-block: 12px; gap: 12px; }
  .filters { width: 100%; gap: 4px; flex-wrap: nowrap; overflow-x: auto; }
  .filter { padding-inline: 7px; gap: 4px; font-size: 11px; min-height: 38px; flex-shrink: 0; }
  .filter .icon { width: 11px; height: 11px; }
  .toolbar-top { gap: 12px; }
  .search { height: 42px; }
  .search input { font-size: 16px; }
  .sort select { max-width: 90px; font-size: 12px; }
  .results-head { padding-block: 10px; }
  .cards { grid-template-columns: 1fr; gap: 14px; }
  .card { padding: 18px 20px 15px; }
  .card h2 { font-size: 21px; line-height: 1.5; margin-block: 12px 0; }
  .summary { font-size: 13px; line-height: 1.85; }
  .card-footer { padding-top: 22px; }
  .card-result { padding-bottom: 15px; }
  .who strong { font-size: 11px; max-width: 200px; }
  .notice { flex-direction: column; align-items: start; gap: 8px; }
  .detail { padding-top: 18px; }
  .crumb { margin-bottom: 24px; font-size: 11px; }
  .crumb > span:last-child { max-width: 19em; }
  .detail h1 { font-size: 29px; line-height: 1.6; }
  .detail-header .lede { font-size: 13px; line-height: 1.95; }
  .detail-header { padding-bottom: 22px; }
  .detail-byline { flex-wrap: wrap; gap: 12px; margin-top: 18px; }
  .detail-updated { font-size: 11px; padding-left: 12px; }
  .detail-grid { display: flex; flex-direction: column; gap: 28px; padding-top: 22px; }
  .detail-side { width: 100%; position: static; }
  .money-card { padding: 16px 20px; }
  .side-kicker { margin-bottom: 12px; }
  .money-card .money { font-size: 34px; margin-block: 4px 12px; }
  .money-lines { display: flex; flex-wrap: wrap; gap: 0 14px; }
  .side-facts { margin-top: 12px; padding-top: 8px; }
  .side-facts > div { grid-template-columns: 76px 1fr; }
  .source-note { font-size: 11px; }
  .detail-main { width: 100%; }
  .case-facts { grid-template-columns: 1fr; gap: 18px; }
  .case-facts > div + div { border-left: 0; padding-left: 0; }
  .case-facts dt { font-size: 13px; }
  .case-facts dt span { display: block; margin-bottom: 9px; }
  .case-facts dd p { font-size: 14px; }
  .story-card { padding-block: 20px; }
  .story-card h2, .doc h2 { font-size: 20px; }
  .prose p, .doc p, .doc li { font-size: 14px; }
  .related { margin-top: 32px; }
  .section-heading h2 { font-size: 20px; }
  .section-heading > span { font-size: 8px; }
  .page-intro, .doc { padding-block: 28px 48px; }
  .page-intro h1, .doc h1 { font-size: 30px; }
  .page-intro .lede { font-size: 13px; }
  .contact-card { margin-top: 30px; padding: 20px 18px 14px; }
  .contact-card .contact-actions { gap: 16px; }
  .saved-head { flex-direction: column; align-items: start; gap: 18px; }
  .saved-info { gap: 10px; padding: 15px; }
  .save-notice { left: 18px; right: 18px; bottom: 18px; width: auto; max-width: none; font-size: 12px; }
  .site-footer { padding-block: 23px; }
  .site-footer .wrap { align-items: start; gap: 20px; }
  .footer-brand { width: 100%; }
  .footer-note { max-width: 100%; width: 100%; font-size: 11px; }
  .footer-links { gap: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .card:hover { transform: none; }
}
@media (forced-colors: active) {
  .featured-badge { color: CanvasText; background: Canvas; border-color: CanvasText; }
  .card, .spotlight, .card.is-featured { color: CanvasText; border-color: CanvasText; background: Canvas; box-shadow: none; }
  .card .tag, .card-revenue strong, .spotlight-bottom strong, .card.is-featured .card-revenue strong { background: none; -webkit-text-fill-color: CanvasText; text-shadow: none; }
}
