/* itsmanar: editorial layout.
   Type: Charter (serif, reading and headlines) + Libre Franklin (labels, navigation). Both self-hosted in /fonts.
   Palette: ink on white, thin rules, no colour accents. Dark mode inverts. */

@font-face { font-family: "Charter"; src: url("fonts/charter_regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Charter"; src: url("fonts/charter_italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Charter"; src: url("fonts/charter_bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Charter"; src: url("fonts/charter_bold_italic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Libre Franklin"; src: url("fonts/libre-franklin-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Libre Franklin"; src: url("fonts/libre-franklin-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #ffffff;
  --fg: #121212;
  --muted: #5e5e5e;
  --line: #e2e2e2;
  --rule: #121212;
  --band-bg: #121212;
  --band-fg: #f1f1f1;
  --band-muted: #a8a8a8;
  --band-line: #333333;
  --wrap: 1240px;
  --radius: 14px;
  --radius-lg: 22px;
  --gut: 24px;
  --serif: "Charter", Georgia, serif;
  --sans: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111111; --fg: #ededed; --muted: #a3a3a3; --line: #2c2c2c; --rule: #ededed;
          --band-bg: #1b1b1b; --band-fg: #ededed; --band-muted: #a3a3a3; --band-line: #333; }
}
@media (max-width: 760px) { :root { --gut: 16px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 18px/1.6 var(--serif); font-kerning: normal; text-rendering: optimizeLegibility; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.12; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .85em; }
img { max-width: 100%; display: block; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 10; background: var(--bg); padding: .5rem; }

/* Labels */
.kicker, .status, .meta, .section-label, .more, .soon, .byline-name, nav, .lang, .site-footer, table, dl, .small, .contact h3 { font-family: var(--sans); }
.kicker, .status, .meta { font-size: .72rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin: 0 0 .6rem; }
.section-label { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding-top: .7rem; border-top: 2px solid var(--rule); margin-bottom: 1.6rem; }
.dek { color: var(--muted); font-size: 1.02rem; line-height: 1.5; margin: .5rem 0 0; }
.soon { font-size: .8rem; color: var(--muted); margin: .7rem 0 0; }
.soon::before { content: "— "; }
.more { display: inline-block; margin-top: 1rem; font-size: .8rem; font-weight: 600; letter-spacing: .04em; }
.more::after, .open::after { content: " →"; }
.empty { color: var(--muted); font-style: italic; }
h3 a { text-decoration: none; }
h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }

/* Masthead */
.masthead { position: sticky; top: 0; z-index: 5; background: var(--bg); border-bottom: 1px solid var(--rule); }
.masthead-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); display: flex; align-items: center; gap: 2.5rem; min-height: 64px; }
.brand { font-family: var(--serif); font-weight: 700; font-size: 1.55rem; letter-spacing: -.02em; text-decoration: none; }
nav.primary { display: flex; gap: 1.8rem; font-size: .78rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
nav.primary a { text-decoration: none; color: var(--muted); padding: .3rem 0; border-bottom: 2px solid transparent; white-space: nowrap; }
nav.primary a:hover { color: var(--fg); }
nav.primary a[aria-current="page"] { color: var(--fg); border-bottom-color: var(--rule); }
.lang { margin-left: auto; font-size: .75rem; font-weight: 600; letter-spacing: .06em; }
.lang a { text-decoration: none; color: var(--muted); }
.lang a:hover { color: var(--fg); }
.lang .sep { color: var(--line); margin: 0 .35rem; }
@media (max-width: 760px) {
  .masthead-inner { flex-wrap: wrap; gap: 0; min-height: 0; padding-top: .7rem; }
  .brand { font-size: 1.35rem; }
  nav.primary { order: 3; width: 100%; gap: 1.3rem; overflow-x: auto; padding: .5rem 0 .4rem; scrollbar-width: none; }
}

/* Page frame */
main { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut) 4rem; }
.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); }

/* Front page: intro */
.intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: calc(var(--gut) * 2); padding: 4.5rem 0 4rem; border-bottom: 1px solid var(--line); }
.intro-text { grid-column: 1 / span 8; }
.display { font-size: clamp(2.5rem, 5.4vw, 4.9rem); line-height: 1.02; letter-spacing: -.025em; }
.byline { grid-column: 9 / span 4; border-left: 1px solid var(--line); padding-left: calc(var(--gut) * 1.2); font-size: .98rem; line-height: 1.55; align-self: end; }
.byline .portrait { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin-bottom: 1rem; }
.byline-name { font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; margin-bottom: .5rem; }
.pronouns { font-weight: 500; letter-spacing: .02em; text-transform: none; color: var(--muted); margin-left: .35rem; }

/* Front page: featured */
.featured { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: calc(var(--gut) * 2); padding-top: 3.5rem; }
.featured > .section-label { grid-column: 1 / -1; }
.lead { grid-column: 1 / span 7; }
.lead h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-top: .2rem; }
.lead .dek { font-size: 1.2rem; max-width: 34rem; }
.side { grid-column: 8 / span 5; border-left: 1px solid var(--line); padding-left: calc(var(--gut) * 1.2); }
.teaser { padding-bottom: 1.6rem; margin-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.teaser:last-child { border-bottom: 0; margin-bottom: 0; }
.teaser .cover { aspect-ratio: 2.2 / 1; margin: 0 0 .9rem; }
.teaser .credit { margin: .5rem 0 0; }
.teaser h3 { font-size: 1.3rem; }
.teaser .dek { font-size: .95rem; }

/* Covers: typographic panels until real images exist */
.cover { display: flex; align-items: flex-end; aspect-ratio: 16 / 10; margin-bottom: 1.1rem; padding: 1rem 1.1rem; text-decoration: none; overflow: hidden; border-radius: var(--radius); }
.cover span { font-family: var(--serif); line-height: .95; }
.cover-map { background-color: #121212; color: #f1f1f1;
  background-image: radial-gradient(circle, rgba(255,255,255,.32) 1px, transparent 1.6px); background-size: 14px 14px; }
.cover-map span { font-size: clamp(4rem, 11vw, 9rem); font-weight: 700; letter-spacing: -.04em; }
.cover-video { background: #e8e3db; color: #121212; }
.cover-video span { font-style: italic; font-size: 1.35rem; }
.cover-explainer { background: #efe8da; color: #121212; border: 1px solid #121212; }
.cover-explainer span { font-weight: 700; font-size: 1.15rem; }
@media (prefers-color-scheme: dark) {
  .cover-map { background-color: #000; }
  .cover-video { background: #2a2825; color: #ededed; }
  .cover-explainer { background: #1f1d19; color: #ededed; border-color: #555; }
}

/* Front page: strands */
.strands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: calc(var(--gut) * 2); padding-top: 4rem; }
.strands > .section-label { grid-column: 1 / -1; }
.strand { display: block; text-decoration: none; padding: 1.4rem 0 1.6rem; border-top: 1px solid var(--line); }
.strand h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: .6rem; }
.strand p:not(.status) { color: var(--muted); max-width: 30rem; }
.strand:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Section pages */
.page-head { padding: 4rem 0 3rem; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.3rem, 4.8vw, 4.2rem); line-height: 1.04; letter-spacing: -.025em; max-width: 18ch; }
.page-head .lede { font-size: 1.25rem; color: var(--muted); max-width: 40rem; margin: 1.2rem 0 0; }
main > section:not(.intro):not(.featured):not(.strands) { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); column-gap: calc(var(--gut) * 2); padding: 3rem 0 1rem; border-bottom: 1px solid var(--line); }
main > section:not(.intro):not(.featured):not(.strands) > h2 { grid-column: 1; grid-row: 1 / span 20; align-self: start; position: sticky; top: 88px;
  font-family: var(--sans); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding-top: .7rem; border-top: 2px solid var(--rule); }
main > section:not(.intro):not(.featured):not(.strands) > :not(h2) { grid-column: 2; max-width: 46rem; }
main > section:last-of-type { border-bottom: 0; }
.project, .item { padding: 0 0 1.6rem; margin-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.project:last-of-type, .item:last-of-type { border-bottom: 0; }
.project h3, .item h3 { font-size: 1.55rem; margin-bottom: .4rem; }
.project p, .item p { margin: .4rem 0; }
.links { list-style: none; padding: 0; margin: .9rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.open { font-family: var(--sans); font-size: .82rem; font-weight: 600; text-decoration: none; }
.open:hover { text-decoration: underline; }

/* Contact band */
.contact { background: var(--band-bg); color: var(--band-fg); max-width: calc(var(--wrap) - 2 * var(--gut)); margin: 2rem auto 0; border-radius: var(--radius-lg); }
@media (max-width: 1288px) { .contact { margin-left: var(--gut); margin-right: var(--gut); } }
.contact-inner { margin: 0 auto; padding: 4rem clamp(20px, 4vw, 56px) 3.5rem; }
.contact .kicker { color: var(--band-muted); }
.contact h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.02em; margin-bottom: 2.5rem; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 2.5rem calc(var(--gut) * 2); }
.contact h3 { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--band-muted); padding-top: .7rem; border-top: 1px solid var(--band-line); margin-bottom: 1rem; }
.rates { border-collapse: collapse; width: 100%; font-size: .95rem; }
.rates th, .rates td { text-align: left; font-weight: 400; padding: .6rem 0; border-bottom: 1px solid var(--band-line); vertical-align: top; }
.rates td { text-align: right; padding-left: 1rem; font-weight: 600; white-space: nowrap; }
dl { margin: 0; font-size: .95rem; display: grid; grid-template-columns: max-content 1fr; gap: .55rem 1.4rem; }
dt { color: var(--band-muted); }
dd { margin: 0; overflow-wrap: anywhere; }
.contact a { color: var(--band-fg); }
.fpr { word-spacing: .3em; }
.small { font-size: .8rem; color: var(--band-muted); margin-top: 1.2rem; }
@media (max-width: 480px) { dl { grid-template-columns: 1fr; gap: .1rem; } dd { margin-bottom: .6rem; } }

/* Footer */
.site-footer { max-width: var(--wrap); margin: 0 auto; padding: 1.4rem var(--gut) 2.5rem; font-size: .75rem; color: var(--muted); }
.site-footer p { margin: 0; }

/* Tablet and phone */
@media (max-width: 960px) {
  .intro-text, .byline, .lead, .side { grid-column: 1 / -1; }
  .byline { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 1.5rem; margin-top: 2.5rem; display: grid; grid-template-columns: 96px 1fr; column-gap: 1.2rem; }
  .side { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 1.6rem; margin-top: 2rem; }
  .strands { grid-template-columns: 1fr; }
  main > section:not(.intro):not(.featured):not(.strands) { grid-template-columns: 1fr; }
  main > section:not(.intro):not(.featured):not(.strands) > h2 { position: static; grid-row: auto; margin-bottom: 1.5rem; }
  main > section:not(.intro):not(.featured):not(.strands) > :not(h2) { grid-column: 1; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .intro { padding: 2.5rem 0 2.5rem; }
  .byline { grid-template-columns: 72px 1fr; }
  .byline .portrait { width: 72px; height: 72px; }
  .page-head { padding: 2.5rem 0 2rem; }
}

/* Highlighter: reserved for short display lines such as the tagline */
.hl { background: linear-gradient(transparent 62%, rgba(255, 214, 0, .45) 0); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
@media (prefers-color-scheme: dark) { .hl { background: linear-gradient(transparent 62%, rgba(255, 214, 0, .28) 0); } }
/* Draft copy is not styled; build.py --check still blocks publishing while any remains */

/* Images in covers, photo credits */
.cover-img { padding: 0; background: var(--line); }
.cover-img img { width: 100%; height: 100%; object-fit: cover; }
.cover-paper { background: #efe8da; }
.cover-paper img { object-fit: contain; }
.credit { font-family: var(--sans); font-size: .68rem; color: var(--muted); margin: .4rem 0 0; }

/* Embedded map on the Reporting page */
.map-embed { margin: 0; padding: 3rem 0 3rem; border-bottom: 1px solid var(--line); }
.map-embed figcaption { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); column-gap: calc(var(--gut) * 2); margin-bottom: 1.5rem; }
.map-embed figcaption > * { grid-column: 2; max-width: 46rem; }
.map-embed figcaption .kicker { grid-column: 1; grid-row: 1 / span 4; padding-top: .7rem; border-top: 2px solid var(--rule); align-self: start; }
.map-embed h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: .4rem; }
.map-embed iframe { display: block; width: 100%; height: 860px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
@media (max-width: 960px) {
  .map-embed figcaption { grid-template-columns: 1fr; }
  .map-embed figcaption > *, .map-embed figcaption .kicker { grid-column: 1; grid-row: auto; }
  .map-embed iframe { height: 720px; }
}

/* Request a quote */
.contact .quote { display: inline-block; margin-top: 1.4rem; padding: .75rem 1.3rem; border-radius: 999px; background: var(--band-fg); color: var(--band-bg); font-family: var(--sans); font-size: .85rem; font-weight: 600; letter-spacing: .02em; text-decoration: none; }
.contact .quote::after { content: " →"; }
.contact .quote:hover { opacity: .88; }

/* ===== No separator lines: the page flows on spacing alone ===== */
.masthead { border-bottom: 0; }
.section-label, main > section:not(.intro):not(.featured):not(.strands) > h2, .map-embed figcaption .kicker { border-top: 0; padding-top: 0; }
.intro, .page-head, .map-embed, main > section:not(.intro):not(.featured):not(.strands) { border-bottom: 0; }
.byline, .side { border-left: 0; }
.teaser, .project, .item { border-bottom: 0; }
.strand { border-top: 0; }
.site-footer { border-top: 0; }
.contact h3 { border-top: 0; padding-top: 0; }
.rates th, .rates td { border-bottom: 0; padding: .35rem 0; }
@media (max-width: 960px) { .byline, .side { border-top: 0; } }
.intro { padding-bottom: 3rem; }
.featured { padding-top: 2rem; }
.strands { padding-top: 5rem; }
main > section:not(.intro):not(.featured):not(.strands) { padding: 2.5rem 0 1.5rem; }

/* ===== Featured: the map leads, full width ===== */
.lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: calc(var(--gut) * 2); align-items: start; margin-bottom: 3.5rem; }
.lead > :not(.lead-map) { grid-column: 1; }
.lead-map { grid-column: 2; grid-row: 1 / span 6; }
.lead-map iframe { display: block; width: 100%; height: 760px; border: 0; border-radius: var(--radius); background: var(--bg); box-shadow: 0 0 0 1px var(--line); }
.side { grid-column: 1 / -1; padding-left: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: calc(var(--gut) * 2); }
.teaser { margin-bottom: 0; }
@media (max-width: 960px) {
  .lead { grid-template-columns: 1fr; }
  .lead-map { grid-column: 1; grid-row: auto; margin-top: 1.2rem; }
  .lead-map iframe { height: 680px; }
  .side { grid-template-columns: 1fr; margin-top: 0; padding-top: 0; }
}

/* Editorial statement (Reporting) */
.statement { max-width: 44rem; margin-top: 1.4rem; }
.statement p { font-size: 1.25rem; line-height: 1.55; margin: 0 0 1rem; }
.statement .beats { font-size: 1rem; color: var(--muted); }

/* About page */
.about-head { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.about-head .portrait { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; flex: none; }
.about-head > div { flex: 1 1 22rem; }
.about-head h1 { max-width: 20ch; }
main > section p { font-size: 1.12rem; line-height: 1.6; }
.byline-name a { text-decoration: none; }
.byline-name a:hover { text-decoration: underline; }

.about-intro { font-size: 1.2rem; line-height: 1.55; max-width: 40rem; margin: 1.2rem 0 0; }

/* ===== About page: magazine profile ===== */
:root { --tint: #f4f2ee; --tint-2: #ebe8e1; }
@media (prefers-color-scheme: dark) { :root { --tint: #1a1a1a; --tint-2: #222222; } }

/* Opening spread: headline and standfirst beside a portrait */
.profile-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: calc(var(--gut) * 2); align-items: end; padding: 4.5rem 0 3rem; }
.profile-title { grid-column: 1 / span 8; }
.profile-title .display { max-width: 15ch; }
.standfirst { font-size: clamp(1.25rem, 1.9vw, 1.55rem); line-height: 1.45; font-style: italic; max-width: 34rem; margin: 2rem 0 0; }
.profile-portrait { grid-column: 9 / span 4; margin: 0; }
.profile-portrait img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 35%; border-radius: var(--radius); }
.profile-portrait figcaption { font-family: var(--sans); font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: .8rem; }
.profile-portrait figcaption strong { color: var(--fg); font-weight: 700; }

/* Body: numbered chapters with the label in the margin */
.profile-body { padding: 4.5rem 0 1rem; }
.chapter { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: calc(var(--gut) * 2); margin-bottom: 3.5rem; }
.chapter h2 { grid-column: 1 / span 3; font-family: var(--sans); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.3; }
.chapter .num { display: block; font-family: var(--serif); font-size: 2.4rem; font-weight: 400; font-style: italic; letter-spacing: 0; text-transform: none; line-height: 1; color: var(--muted); margin-bottom: .55rem; }
.chapter-text { grid-column: 4 / span 7; }
.chapter-text p { font-size: 1.2rem; line-height: 1.68; max-width: 38rem; }
.chapter-text p:last-child { margin-bottom: 0; }
.opener::first-letter { float: left; font-size: 4.25em; font-weight: 700; line-height: .82; margin: .07em .09em 0 -.02em; }

/* Pull quote */
.pull { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: calc(var(--gut) * 2); margin: 0 0 4rem; }
.pull p { grid-column: 4 / span 8; font-size: clamp(1.7rem, 3.1vw, 2.6rem); line-height: 1.18; font-style: italic; letter-spacing: -.015em; margin: 0; text-indent: -.42em; text-wrap: balance; }
.profile-title .display, .standfirst { text-wrap: balance; }
.pull p::before { content: "“"; }
.pull p::after { content: "”"; }
.pull p:lang(fr) { text-indent: -.6em; }
.pull p:lang(fr)::before { content: "« "; }
.pull p:lang(fr)::after { content: " »"; }

/* Read on: the two practices */
.read-on { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gut); padding-top: 2.5rem; font-family: var(--serif); }
.read-on > .section-label { grid-column: 1 / -1; margin: 0 0 .4rem; }
.read-on-card { display: flex; flex-direction: column; text-decoration: none; background: var(--tint); border-radius: var(--radius-lg); padding: 2rem clamp(20px, 2.6vw, 36px) 1.8rem; transition: background-color .2s ease; }
.read-on-card:hover { background: var(--tint-2); }
.read-on-card h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: .6rem; }
.read-on-card p:not(.status) { color: var(--muted); max-width: 30rem; margin-bottom: 1.4rem; }
.read-on-card .open { margin-top: auto; }
.read-on-card:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

@media (max-width: 960px) {
  .profile-head { padding: 3rem 0 2.5rem; }
  .profile-title, .profile-portrait { grid-column: 1 / -1; }
  .profile-portrait { max-width: 20rem; margin-top: 2.5rem; }
  .profile-body { padding-top: 3.5rem; }
  .chapter h2, .chapter-text, .pull p { grid-column: 1 / -1; }
  .chapter h2 { margin-bottom: 1.2rem; }
  .chapter .num { font-size: 2rem; }
  .read-on { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .profile-head { padding-top: 2.2rem; }
  .profile-portrait { max-width: 15rem; }
  .chapter-text p { font-size: 1.1rem; }
  .pull p, .pull p:lang(fr) { text-indent: 0; }
}

/* ===== Phone and tablet: layouts designed for small screens, not just squeezed ===== */

/* Compact menu (no JavaScript: a native disclosure), shown on phones only */
.menu { display: none; }
.map-cover { display: none; }

/* Tablet: keep the portrait beside the headline */
@media (min-width: 761px) and (max-width: 960px) {
  .profile-title { grid-column: 1 / span 7; }
  .profile-portrait { grid-column: 8 / span 5; max-width: none; margin-top: 0; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 72px; }
  a, summary { -webkit-tap-highlight-color: transparent; }

  /* Masthead: one slim sticky row: brand, language, menu */
  .masthead-inner { flex-wrap: nowrap; gap: 1.1rem; min-height: 56px; padding-top: 0; position: relative; }
  .brand { font-size: 1.3rem; }
  nav.primary { display: none; }
  .lang { margin-left: auto; }
  .lang a, .lang span[aria-current] { display: inline-block; padding: .7rem .1rem; }
  .menu { display: block; }
  .menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .55rem; min-height: 44px;
    font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu summary:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
  .menu-icon { position: relative; width: 18px; height: 10px; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease, top .2s ease; }
  .menu-icon::before { top: 0; }
  .menu-icon::after { top: 8px; }
  .menu[open] .menu-icon::before { top: 4px; transform: rotate(45deg); }
  .menu[open] .menu-icon::after { top: 4px; transform: rotate(-45deg); }
  .menu-panel { position: absolute; top: 100%; left: 0; right: 0; display: flex; flex-direction: column; align-items: flex-start;
    padding: .6rem var(--gut) 1.8rem; background: var(--bg); box-shadow: 0 24px 32px -24px rgba(0, 0, 0, .35); }
  .menu-panel a { font-family: var(--serif); font-size: 1.85rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.15;
    text-transform: none; text-decoration: none; color: var(--muted); padding: .55rem 0; }
  .menu-panel a[aria-current="page"] { color: var(--fg); background: linear-gradient(transparent 62%, rgba(255, 214, 0, .45) 0) no-repeat 0 0 / 100% calc(100% - .55rem); }

  /* Home: headline, then the portrait, then the standfirst */
  .profile-head { display: flex; flex-direction: column; align-items: stretch; padding: 2rem 0 1rem; }
  .profile-title { display: contents; }
  .profile-title .kicker { order: 1; }
  .profile-title .display { order: 2; font-size: clamp(2.35rem, 10.5vw, 3.2rem); line-height: 1.04; }
  .profile-portrait { order: 3; max-width: none; margin: 1.9rem 0 0; }
  .profile-portrait img { aspect-ratio: 1 / 1; object-position: 50% 30%; }
  .standfirst { order: 4; font-size: 1.22rem; margin-top: 1.6rem; }
  .profile-body { padding-top: 2.6rem; }
  .chapter { margin-bottom: 2.6rem; }
  .chapter h2 { display: flex; align-items: baseline; gap: .7rem; margin-bottom: 1rem; }
  .chapter .num { display: inline; font-size: 1.7rem; margin: 0; }
  .pull { margin-bottom: 2.8rem; }
  .pull p { font-size: 1.65rem; line-height: 1.22; }
  .read-on { padding-top: 1rem; gap: 14px; }
  .read-on-card { padding: 1.5rem 1.3rem 1.4rem; border-radius: var(--radius); }

  /* Section pages: tighter head, comfortable reading */
  .page-head { padding: 2.2rem 0 1.6rem; }
  .page-head h1 { font-size: clamp(2.3rem, 10vw, 3rem); }
  .page-head .lede, .statement p { font-size: 1.15rem; }
  main > section:not(.intro):not(.featured):not(.strands) { padding: 2rem 0 .5rem; }
  .project h3, .item h3 { font-size: 1.35rem; }
  .project, .item { padding-bottom: 1rem; margin-bottom: 1rem; }
  .open { display: inline-block; padding: .55rem 0; }

  /* Reporting: a tappable cover replaces the embedded map, which is hard to use inside a scrolling page */
  .map-embed { padding: 1.5rem 0 1.5rem; }
  .map-embed iframe { display: none; }
  .map-embed figcaption { margin-bottom: 1.1rem; }
  .map-embed figcaption .open { display: none; }
  .map-cover { display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 4 / 3; padding: 1.1rem 1.2rem 1.2rem;
    border-radius: var(--radius); text-decoration: none; background-color: #121212; color: #f1f1f1;
    background-image: radial-gradient(circle, rgba(255,255,255,.3) 1px, transparent 1.6px); background-size: 14px 14px; }
  .map-cover-year { font-family: var(--serif); font-size: clamp(4.5rem, 24vw, 6.5rem); font-weight: 700; letter-spacing: -.04em; line-height: .9; }
  .map-cover-cta { align-self: flex-start; font-family: var(--sans); font-size: .85rem; font-weight: 600; padding: .7rem 1.1rem; border-radius: 999px; background: #f1f1f1; color: #121212; }
  .map-cover-cta::after { content: " →"; }

  /* Contact band */
  .contact { margin-top: 1.5rem; border-radius: var(--radius); }
  .contact-inner { padding: 2.6rem 20px 2.4rem; }
  .contact h2 { font-size: 2.1rem; margin-bottom: 1.8rem; }
  .contact-grid { gap: 2.4rem; }
  .rates, .rates tbody, .rates tr, .rates th, .rates td { display: block; }
  .rates tr { padding: .55rem 0; }
  .rates th, .rates td { padding: 0; text-align: left; }
  .rates td { padding: .15rem 0 0; font-size: 1.05rem; }
  .contact .quote { display: block; text-align: center; padding: .95rem 1.3rem; font-size: .9rem; }
  dl { grid-template-columns: 1fr; gap: .1rem; }
  dd { margin-bottom: .8rem; }
  .fpr { display: inline-block; max-width: 28.5ch; line-height: 1.7; }
  .site-footer { padding-bottom: 2rem; }
}
@media (max-width: 760px) and (prefers-color-scheme: dark) {
  .map-cover { background-color: #000; }
  .menu-panel { box-shadow: 0 24px 32px -24px rgba(0, 0, 0, .8); }
  .menu-panel a[aria-current="page"] { background-image: linear-gradient(transparent 62%, rgba(255, 214, 0, .28) 0); }
}

/* ===== Long-form article (src/articles) ===== */
:root { --c1: #c8553d; --c2: #2a7f8f; --c3: #d99a1e; --c4: #3b5ba9; --c5: #8c5e9c; --c6: #5b8c3a; --c7: #8f8f8f; --band-hl: rgba(255, 214, 0, .32); }
@media (prefers-color-scheme: dark) {
  :root { --c1: #e07a63; --c2: #4fb0c0; --c3: #f0c04d; --c4: #7f9cf0; --c5: #b58ac4; --c6: #8bbf63; --c7: #a8a8a8; --band-hl: rgba(255, 214, 0, .18); }
}
.story { max-width: 44rem; margin: 0 auto; }
.story-head { padding: 4rem 0 2.6rem; }
.story-head .kicker a { text-decoration: none; }
.story-head .kicker a:hover { text-decoration: underline; }
.story-head .display { font-size: clamp(2.3rem, 5.2vw, 3.8rem); line-height: 1.04; max-width: 18ch; text-wrap: balance; }
.story-head .standfirst { margin-top: 1.3rem; }
.story-byline { font-family: var(--sans); font-size: .8rem; letter-spacing: .03em; color: var(--muted); margin: 1.5rem 0 0; }
.story-byline strong { color: var(--fg); font-weight: 600; }
.story-body p, .story-body li { font-size: 1.15rem; line-height: 1.7; }
.story-body h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 3.2rem 0 1rem; }
.story-body h3 { font-size: 1.3rem; margin: 2.4rem 0 .8rem; }
.story-body ol { padding-left: 1.5rem; margin: 0 0 1.2rem; }
.story-body li { margin-bottom: .3rem; }
.story-body a { text-decoration-thickness: 1px; }
.story-body .document { margin: 1.6rem 0 .6rem; padding: 1.2rem 1.4rem; background: var(--tint); border-radius: var(--radius); }
.story-body .document p { font-size: .98rem; line-height: 1.6; margin: 0; }
.story-body .source-link { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .8rem; margin: 0 0 1.6rem; font-size: 1rem; }
.story-body .source-link span { font-family: var(--sans); font-size: .72rem; letter-spacing: .04em; color: var(--muted); }
.story-body .disclaimer { font-style: italic; color: var(--muted); font-size: 1.05rem; }
.story-body .pull { display: block; margin: 1.8rem 0 1rem; }
.story-body .pull p { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.2; }
.story-foot { margin: 3.5rem 0 1rem; }
.story-foot .small-note { font-family: var(--sans); font-size: .78rem; line-height: 1.5; color: var(--muted); max-width: 36rem; }

/* Charts: static SVG drawn by make_charts.py */
.chart { margin: 2.8rem 0; }
.chart .chart-head { margin-bottom: .9rem; }
.chart .chart-title { font-family: var(--serif); font-size: 1.22rem; font-weight: 700; line-height: 1.25; margin: 0 0 .35rem; }
.chart .chart-sub { font-size: 1rem; line-height: 1.45; color: var(--fg); margin: 0 0 .35rem; }
.chart .chart-desc { font-size: .92rem; line-height: 1.5; color: var(--muted); margin: 0; }
.chart-legend { list-style: none; padding: 0; margin: 0 0 .7rem; display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; font-family: var(--sans); font-size: .76rem; }
.chart-legend li { display: flex; align-items: center; gap: .45rem; }
.sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; flex: none; }
.chart-plot svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart-plot .chart-narrow { display: none; }
.chart .chart-note, .chart .chart-source { font-family: var(--sans); font-size: .76rem; line-height: 1.5; color: var(--muted); margin: .6rem 0 0; }
.chart .chart-source a { color: inherit; }
.chart svg .ch-text { fill: var(--muted); font-family: var(--sans); }
.chart svg .ch-strong, .chart svg .ch-label { fill: var(--fg); }
.chart svg .ch-strong { font-weight: 600; }
.chart svg .ch-value { fill: var(--fg); font-weight: 700; }
.ch-grid { stroke: var(--line); stroke-width: 1; }
.ch-base { stroke: var(--muted); }
.ch-band { fill: var(--band-hl); }
.ch-marker { stroke: var(--fg); stroke-width: 1; stroke-dasharray: 3 3; }
.ch-line { fill: none; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.ch-line.s-thick { stroke-width: 3.4; }
.ch-dot { stroke: var(--bg); stroke-width: 1.2; }
.ch-area { stroke: var(--bg); stroke-width: .8; }
.ch-hit { fill: transparent; }
.ch-cell { fill: var(--c4); }
.ch-cell-empty { fill: var(--line); }
.chart svg .ch-on-cell { fill: var(--fg); }
.chart svg .ch-on-dark { fill: #ffffff; }
@media (prefers-color-scheme: dark) { .chart svg .ch-on-dark { fill: #111111; } }
.ch-line.s1 { stroke: var(--c1); } .ch-line.s2 { stroke: var(--c2); } .ch-line.s3 { stroke: var(--c3); } .ch-line.s4 { stroke: var(--c4); }
.ch-line.s5 { stroke: var(--c5); } .ch-line.s6 { stroke: var(--c6); } .ch-line.s7 { stroke: var(--c7); } .ch-line.s-ink { stroke: var(--fg); }
.ch-dot.s1, .ch-area.s1, .ch-bar.s1, .sw.s1 { fill: var(--c1); background: var(--c1); }
.ch-dot.s2, .ch-area.s2, .ch-bar.s2, .sw.s2 { fill: var(--c2); background: var(--c2); }
.ch-dot.s3, .ch-area.s3, .ch-bar.s3, .sw.s3 { fill: var(--c3); background: var(--c3); }
.ch-dot.s4, .ch-area.s4, .ch-bar.s4, .sw.s4 { fill: var(--c4); background: var(--c4); }
.ch-dot.s5, .ch-area.s5, .ch-bar.s5, .sw.s5 { fill: var(--c5); background: var(--c5); }
.ch-dot.s6, .ch-area.s6, .ch-bar.s6, .sw.s6 { fill: var(--c6); background: var(--c6); }
.ch-dot.s7, .ch-area.s7, .ch-bar.s7, .sw.s7 { fill: var(--c7); background: var(--c7); }
.ch-dot.s-ink, .ch-area.s-ink, .ch-bar.s-ink, .sw.s-ink { fill: var(--fg); background: var(--fg); }

/* "Show the data" tables */
.chart-data { margin-top: .7rem; font-family: var(--sans); }
.chart-data summary { display: inline-block; cursor: pointer; font-size: .78rem; font-weight: 600; padding: .35rem 0; }
.chart-data summary:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
.table-scroll { overflow-x: auto; margin-top: .4rem; }
.chart-data table { border-collapse: collapse; width: 100%; font-size: .76rem; font-variant-numeric: tabular-nums; }
.chart-data th, .chart-data td { padding: .32rem .55rem; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; font-weight: 400; }
.chart-data thead th { font-weight: 700; color: var(--muted); }
.chart-data th[scope="row"], .chart-data thead th:first-child { text-align: left; }

/* Additional visualizations */
.story-body .extra { margin: 3rem 0 0; }
.story-body .extra > summary { display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; list-style: none; padding: .75rem 1.2rem; border-radius: 999px; background: var(--tint);
  font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.story-body .extra > summary::-webkit-details-marker { display: none; }
.story-body .extra > summary::after { content: "+"; font-size: 1.1rem; line-height: 1; }
.story-body .extra[open] > summary::after { content: "–"; }
.story-body .extra > p { margin-top: 2rem; color: var(--muted); font-size: 1.02rem; }

@media (max-width: 560px) {
  .chart-plot .chart-wide { display: none; }
  .chart-plot .chart-narrow { display: block; }
  .chart { margin: 2.2rem 0; }
}
@media (max-width: 760px) {
  .story-head { padding: 2rem 0 1.6rem; }
  .story-head .display { font-size: clamp(2.1rem, 9.5vw, 3rem); }
  .story-body p, .story-body li { font-size: 1.08rem; }
  .story-body h2 { margin-top: 2.6rem; }
  .story-body .document { padding: 1rem 1.1rem; }
}

/* Sign-off above the contact band, on every page */
.signoff { max-width: var(--wrap); margin: 4.5rem auto 0; padding: 0 var(--gut); text-align: center;
  font-family: var(--serif); font-style: italic; font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.2; letter-spacing: -.01em; }
@media (max-width: 760px) { .signoff { margin-top: 3rem; } }
