/* ==========================================================================
   Rwanda Watch: Ghost theme
   Look: imigongo (the black, cream and red geometric art of eastern Rwanda),
   newsprint type, BBC-style news front.
   ========================================================================== */

/* Self-hosted fonts (SIL Open Font License, see assets/fonts). No third-party font requests: visitors' IPs are not shared with Google. */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-var.woff") format("woff"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4-var.woff") format("woff"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4-italic-var.woff") format("woff"); font-weight: 200 900; font-style: italic; font-display: swap; }

:root {
    --ink: #12100e;
    --ink-2: #1d1a16;
    --ink-3: #2a2621;
    --paper: #f6f2eb;
    --white: #ffffff;
    --cream: #efe5d3;
    --red: #b4271b;
    --red-deep: #8f1c12;
    --line: #ddd5c7;
    --line-dark: #3a352e;
    --muted: #5d564c;
    --muted-light: #b9b0a2;

    --font-head: var(--gh-font-heading, "Archivo"), "Arial Narrow", system-ui, sans-serif;
    --font-ui: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-body: var(--gh-font-body, "Source Serif 4"), Georgia, "Times New Roman", serif;

    --wrap: 1280px;
    --gutter: clamp(16px, 4vw, 40px);
    --gap: clamp(16px, 2.2vw, 28px);
    --head-h: 64px;

    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

    /* imigongo tiles */
    --pat-zig: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='16'%3E%3Cpath d='M0 15 8 1l8 14 8-14 8 14' fill='none' stroke='%23efe5d3' stroke-width='2.4'/%3E%3C/svg%3E");
    --pat-zig-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='16'%3E%3Cpath d='M0 15 8 1l8 14 8-14 8 14' fill='none' stroke='%2312100e' stroke-width='2.4'/%3E%3C/svg%3E");
    --pat-saw: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='14'%3E%3Cpath d='M0 14 12 0l12 14Z' fill='%23b4271b'/%3E%3C/svg%3E");
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font-ui);
    font-size: 17px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: 800; line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
figure { margin: 0; }
dialog { padding: 0; border: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
    position: fixed; top: 8px; left: 8px; z-index: 1000;
    padding: 10px 16px; background: var(--white); color: var(--ink); font-weight: 700;
    transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.eyebrow {
    font-family: var(--font-ui); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--red); margin-bottom: 18px;
}
.eyebrow--light { color: var(--cream); }

/* Bands: imigongo strips used as dividers */
.band { height: 16px; background-repeat: repeat-x; background-position: left center; }
.band--zig { background-image: var(--pat-zig-ink); }
.band--saw { background-image: var(--pat-saw); height: 14px; }

/* ---------- Buttons & links ---------- */
.btn {
    --b-bg: var(--ink); --b-fg: var(--white); --b-bd: var(--ink);
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 12px 22px;
    background: var(--b-bg); color: var(--b-fg); border: 2px solid var(--b-bd);
    font-family: var(--font-ui); font-weight: 700; font-size: 16px; line-height: 1; letter-spacing: 0.01em;
    transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease;
    white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn--sm { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.btn--lg { min-height: 56px; padding: 16px 26px; font-size: 17px; }
.btn--red { --b-bg: var(--red); --b-bd: var(--red); }
.btn--dark { --b-bg: var(--ink); --b-bd: var(--ink); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--white); --b-bd: rgba(239, 229, 211, 0.55); }
.btn--outline { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--ink); }
@media (hover: hover) and (pointer: fine) {
    .btn--red:hover { --b-bg: var(--red-deep); --b-bd: var(--red-deep); }
    .btn--dark:hover { --b-bg: var(--red); --b-bd: var(--red); }
    .btn--ghost:hover { --b-bg: var(--cream); --b-fg: var(--ink); --b-bd: var(--cream); }
    .btn--outline:hover { --b-bg: var(--ink); --b-fg: var(--white); }
    .btn:hover svg { transform: translateX(3px); }
}

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; min-height: 44px; }
.link-arrow svg { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover svg { transform: translateX(4px); } }

.link-draw { background: linear-gradient(currentColor, currentColor) left bottom / 0% 2px no-repeat; transition: background-size 260ms var(--ease-out); padding-bottom: 2px; }
@media (hover: hover) and (pointer: fine) { .link-draw:hover { background-size: 100% 2px; } }

.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; color: inherit; transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease; }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:active { transform: scale(0.94); }
.icon-btn--line { border: 1px solid var(--line-dark); }
@media (hover: hover) and (pointer: fine) { .icon-btn:hover { background: rgba(255, 255, 255, 0.08); } }

/* ---------- Masthead ---------- */
.masthead { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--white); }
.masthead__bar { display: flex; align-items: center; gap: 24px; height: var(--head-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); flex: none; min-height: 44px; }
.brand .mark { width: 32px; height: 32px; color: var(--cream); }
.brand__logo { max-height: 40px; width: auto; }
.brand__word { font-family: var(--font-head); font-stretch: 75%; font-weight: 800; font-size: 25px; letter-spacing: 0.02em; text-transform: uppercase; line-height: 1; }
.brand__word b { color: var(--red); font-weight: 800; margin-left: 0.18em; }
.masthead .brand__word b { color: #e2483a; }

.masthead__nav { flex: 1; display: flex; justify-content: center; }
.nav { display: flex; gap: 4px; }
.nav__link {
    position: relative; display: inline-flex; align-items: center; height: var(--head-h); padding: 0 14px;
    font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, 0.86); transition: color 200ms ease;
}
.nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 4px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease-out); }
.nav__link.is-current { color: var(--white); }
.nav__link.is-current::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .nav__link:hover { color: var(--white); } .nav__link:hover::after { transform: scaleX(1); } }

.masthead__tools { display: flex; align-items: center; gap: 8px; }
.masthead__menu { display: none; }
.masthead__menu .i-close { display: none; }
.masthead__menu[aria-expanded="true"] .i-open { display: none; }
.masthead__menu[aria-expanded="true"] .i-close { display: block; }

.menu-panel { display: none; }

@media (max-width: 960px) {
    .masthead__nav, .masthead__cta { display: none; }
    .masthead__bar { justify-content: space-between; }
    .masthead__menu { display: inline-grid; }
    .menu-panel {
        display: block; position: fixed; inset: var(--head-h) 0 0 0; background: var(--ink);
        opacity: 0; visibility: hidden; transform: translateY(-8px);
        transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), visibility 0s linear 220ms;
        overflow-y: auto;
    }
    .menu-open .menu-panel { opacity: 1; visibility: visible; transform: none; transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out); }
    .menu-panel__inner { padding-top: 24px; padding-bottom: 40px; display: grid; gap: 24px; }
    .menu-panel .nav { flex-direction: column; gap: 0; }
    .menu-panel .nav__link { height: auto; padding: 16px 0; font-family: var(--font-head); font-stretch: 80%; font-size: 34px; font-weight: 800; border-bottom: 1px solid var(--line-dark); width: 100%; }
    .menu-panel .nav__link::after { display: none; }
    .menu-panel .nav__link.is-current { color: #e2483a; }
    .menu-panel .btn { width: 100%; }
    .menu-open { overflow: hidden; }
}

/* Section (topic) nav, BBC-style */
.section-nav { background: var(--white); border-bottom: 1px solid var(--line); }
.section-nav .section-nav__inner { max-width: none; padding-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2)); overflow-x: auto; scrollbar-width: none; }
.section-nav__inner::-webkit-scrollbar { display: none; }
.section-nav__list { display: flex; gap: 0; white-space: nowrap; }
.section-nav__link {
    position: relative; display: inline-flex; align-items: center; height: 48px; padding: 0 14px;
    font-size: 15px; font-weight: 600; color: var(--ink);
}
.section-nav__list li:first-child .section-nav__link { padding-left: 0; }
.section-nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 4px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease-out); }
.section-nav__list li:first-child .section-nav__link::after { left: 0; }
.section-nav__link.is-current::after { transform: scaleX(1); background: var(--red); }
@media (hover: hover) and (pointer: fine) { .section-nav__link:hover::after { transform: scaleX(1); } }

/* ==========================================================================
   Landing page
   ========================================================================== */
.hero {
    position: relative; isolation: isolate; overflow: hidden;
    min-height: calc(100svh - var(--head-h));
    display: flex; flex-direction: column;
    background: var(--ink); color: var(--white);
}
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; filter: grayscale(1) contrast(1.1); opacity: 0.35; }
.hero.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, var(--ink) 30%, rgba(18, 16, 14, 0.4)); }

.hero__art { position: absolute; z-index: -1; top: 0; bottom: 0; right: 0; width: min(52%, 760px); }
.hero__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink), rgba(18, 16, 14, 0) 38%); }
.hero-art { width: 100%; height: 100%; }
.art-line { fill: none; stroke-width: 7; stroke-linejoin: miter; vector-effect: non-scaling-stroke; }
.a-soft { stroke: rgba(239, 229, 211, 0.22); stroke-width: 5; }
.a-strong { stroke: rgba(239, 229, 211, 0.5); }
.a-red { stroke: var(--red); stroke-width: 9; }
.art-core { fill: var(--red); }

.hero__hills { position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; height: 34%; pointer-events: none; }
.hills { width: 100%; height: 100%; }
.hill-3 { fill: #221e19; }
.hill-2 { fill: #2b1612; }
.hill-1 { fill: #0b0a08; }

.hero__inner { flex: 1; display: flex; align-items: center; padding-top: clamp(32px, 6vh, 80px); padding-bottom: clamp(32px, 5vh, 64px); }
.hero__copy { max-width: 760px; }
.hero__title {
    font-stretch: 72%; font-weight: 850; text-transform: uppercase;
    font-size: clamp(52px, min(6.6vw, 11vh), 104px); line-height: 0.9; letter-spacing: -0.005em;
    margin-bottom: 24px;
}
.hero__lede { font-family: var(--font-body); font-size: clamp(18px, 1.4vw, 21px); line-height: 1.5; color: rgba(255, 255, 255, 0.84); max-width: 600px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__latest { position: relative; background: var(--red); color: var(--white); }
.hero__latest-inner { display: flex; align-items: stretch; gap: 24px; min-height: 64px; }
.hero__latest-label { display: inline-flex; align-items: center; gap: 10px; flex: none; font-weight: 800; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); animation: pulse 2.4s var(--ease-out) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); } }
.hero__latest-list { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hero__latest-list li { border-left: 1px solid rgba(255, 255, 255, 0.28); }
.hero__latest-list a { display: flex; flex-direction: column; justify-content: center; gap: 2px; height: 100%; padding: 12px 18px; font-weight: 600; font-size: 15px; line-height: 1.3; }
.hero__latest-list a span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero__latest-list time { font-size: 12px; opacity: 0.8; font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .hero__latest-list a:hover span { text-decoration: underline; text-underline-offset: 3px; } }

/* Hero entrance (once, on load) */
.js [data-enter] .hero__eyebrow, .js [data-enter] .hero__lede, .js [data-enter] .hero__actions, .js [data-enter] .hero__latest,
.js [data-enter] .wwd-hero__sub, .js [data-enter] .eyebrow, .js [data-enter] .people-head__intro { opacity: 0; transform: translateY(14px); }
.js .is-entered .hero__eyebrow, .js .is-entered .hero__lede, .js .is-entered .hero__actions, .js .is-entered .hero__latest,
.js .is-entered .wwd-hero__sub, .js .is-entered .eyebrow, .js .is-entered .people-head__intro {
    opacity: 1; transform: none; transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.js .is-entered .hero__lede, .js .is-entered .wwd-hero__sub, .js .is-entered .people-head__intro { transition-delay: 420ms; }
.js .is-entered .hero__actions { transition-delay: 540ms; }
.js .is-entered .hero__latest { transition-delay: 800ms; }

.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.split-word > span { display: inline-block; }
.js [data-enter] .split-word > span { transform: translateY(105%); }
.js .is-entered .split-word > span { transform: none; transition: transform 900ms var(--ease-out); transition-delay: calc(80ms + var(--w) * 55ms); }

.js .hero .art-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .hero.is-entered .art-line { stroke-dashoffset: 0; transition: stroke-dashoffset 1400ms var(--ease-in-out); transition-delay: calc(var(--i) * 45ms); }
.js .hero .art-core { opacity: 0; transform: scale(0.6); transform-box: fill-box; transform-origin: center; }
.js .hero.is-entered .art-core { opacity: 1; transform: none; transition: opacity 500ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(var(--i) * 45ms + 500ms); }
.js .hero .hill-3, .js .hero .hill-2, .js .hero .hill-1 { transform: translateY(40px); opacity: 0; }
.js .hero.is-entered .hill-3, .js .hero.is-entered .hill-2, .js .hero.is-entered .hill-1 { transform: none; opacity: 1; transition: transform 1200ms var(--ease-out), opacity 900ms var(--ease-out); }
.js .hero.is-entered .hill-2 { transition-delay: 120ms; }
.js .hero.is-entered .hill-1 { transition-delay: 240ms; }

/* Section heads */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; border-top: 4px solid var(--ink); padding-top: 12px; margin-bottom: 20px; }
.sec-head__title { font-size: clamp(22px, 2vw, 28px); font-stretch: 85%; }
.sec-head__title a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.sec-head__title svg { width: 20px; height: 20px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .sec-head__title a:hover svg { transform: translateX(4px); } .sec-head__title a:hover { color: var(--red); } }

/* Home: latest news */
.home-news { padding: clamp(56px, 8vw, 104px) 0; background: var(--white); }
.home-news .sec-head__title { font-size: clamp(30px, 3.4vw, 48px); font-stretch: 78%; text-transform: uppercase; }
.home-news__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); }
.home-news__side { display: grid; gap: 0; align-content: start; }

/* Home: statement (word highlight moment) */
.statement { background: var(--paper); padding: clamp(80px, 12vw, 160px) 0; }
.statement__inner > * { max-width: 1080px; }
.statement__text { font-size: clamp(34px, 4.6vw, 68px); font-stretch: 78%; font-weight: 800; line-height: 1.02; letter-spacing: -0.01em; margin-bottom: 36px; text-wrap: initial; }
.statement__text .hl-word { color: var(--ink); transition: color 300ms ease; }
.js .statement__text .hl-word { color: rgba(18, 16, 14, 0.16); }
.js .statement__text .hl-word.is-lit { color: var(--ink); }
.js .statement__text .hl-word.is-key.is-lit { color: var(--red); }
.statement__sub { font-family: var(--font-body); font-size: clamp(18px, 1.6vw, 22px); color: var(--muted); max-width: 720px; }

/* Home: the record */
.record { background: var(--red); color: var(--white); padding-bottom: clamp(64px, 9vw, 120px); }
.record .band { background-image: var(--pat-zig-ink); margin-bottom: clamp(48px, 7vw, 96px); }
.record__title { font-size: clamp(30px, 3.4vw, 48px); font-stretch: 78%; text-transform: uppercase; margin-bottom: clamp(32px, 5vw, 64px); }
.record__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.record__fig { display: block; font-family: var(--font-head); font-stretch: 70%; font-weight: 850; font-size: clamp(56px, 7vw, 108px); line-height: 0.92; letter-spacing: -0.01em; }
.record__rule { display: block; height: 16px; margin: 18px 0 20px; background: var(--pat-zig-ink) left center repeat-x; }
.js .record__rule { clip-path: inset(0 100% 0 0); }
.js .is-drawn .record__rule { clip-path: inset(0 0 0 0); transition: clip-path 1100ms var(--ease-in-out); }
.js .record__item:nth-child(2).is-drawn .record__rule { transition-delay: 140ms; }
.js .record__item:nth-child(3).is-drawn .record__rule { transition-delay: 280ms; }
.record__item p { font-family: var(--font-body); font-size: 18px; line-height: 1.5; color: rgba(255, 255, 255, 0.92); max-width: 34ch; }

/* Home: what we do */
.work { background: var(--white); padding: clamp(72px, 10vw, 136px) 0; }
.work__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap); align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.work__title { font-size: clamp(44px, 6vw, 88px); font-stretch: 72%; text-transform: uppercase; line-height: 0.92; }
.work__lede { font-family: var(--font-body); font-size: clamp(19px, 1.7vw, 24px); line-height: 1.45; color: var(--ink-3); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); counter-reset: pillar; margin-bottom: clamp(40px, 6vw, 72px); }
.pillar { border-top: 2px solid var(--ink); padding-top: 22px; }
.pillar__swatch { display: block; height: 120px; margin-bottom: 22px; background-color: var(--ink); }
.pillar__swatch--1 { background-image: var(--pat-zig); background-size: 32px 16px; }
.pillar__swatch--2 { background-color: var(--red); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M20 2 38 20 20 38 2 20Z M20 10 30 20 20 30 10 20Z' fill='none' stroke='%2312100e' stroke-width='2.6'/%3E%3Cpath d='M20 16 24 20 20 24 16 20Z' fill='%2312100e'/%3E%3C/svg%3E"); }
.pillar__swatch--3 { background-color: var(--cream); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M0 28 14 14 28 28Z M0 14 14 0 28 14Z' fill='%2312100e'/%3E%3C/svg%3E"); background-size: 28px 28px; }
.pillar__title { font-size: 30px; font-stretch: 78%; text-transform: uppercase; margin-bottom: 10px; }
.pillar__title::before { counter-increment: pillar; content: "0" counter(pillar); display: block; font-family: var(--font-ui); font-size: 13px; letter-spacing: 0.1em; color: var(--red); margin-bottom: 6px; font-stretch: 100%; }
.pillar p { font-family: var(--font-body); font-size: 18px; color: var(--ink-3); }
.demands { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 40px; align-items: center; padding: 28px 32px; background: var(--paper); border-left: 6px solid var(--red); }
.demands__label { font-weight: 800; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.demands__list { display: flex; flex-wrap: wrap; gap: 8px 28px; font-family: var(--font-head); font-stretch: 85%; font-weight: 750; font-size: 20px; line-height: 1.25; }
.demands__list li { position: relative; padding-left: 18px; }
.demands__list li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 9px; height: 9px; background: var(--red); transform: rotate(45deg); }

/* Home: people */
.home-people { background: var(--paper); padding: clamp(72px, 10vw, 128px) 0; }
.home-people .sec-head__title { font-size: clamp(30px, 3.4vw, 48px); font-stretch: 78%; text-transform: uppercase; }
.home-people__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.home-people__lede { font-family: var(--font-body); font-size: clamp(19px, 1.6vw, 22px); color: var(--ink-3); margin-bottom: 24px; }
.people-grid--home { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Home: contribute */
.contribute { background: var(--ink); color: var(--white); padding: clamp(72px, 10vw, 136px) 0; position: relative; overflow: hidden; }
.contribute::after { content: ""; position: absolute; right: -40px; top: 0; bottom: 0; width: 34%; background: var(--pat-zig) center / 40px 20px; opacity: 0.12; pointer-events: none; }
.contribute__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.contribute__title { font-size: clamp(48px, 7vw, 104px); font-stretch: 72%; text-transform: uppercase; line-height: 0.9; margin-bottom: 24px; }
.contribute__lede { font-family: var(--font-body); font-size: clamp(19px, 1.6vw, 22px); color: rgba(255, 255, 255, 0.84); max-width: 600px; margin-bottom: 32px; }
.contribute__note { margin-top: 18px; font-size: 15px; color: var(--muted-light); }
.contribute__side:empty { display: none; }

/* Sign-up form (Ghost members) */
.signup { display: grid; gap: 12px; }
.signup__label { font-family: var(--font-head); font-stretch: 85%; font-weight: 800; font-size: 22px; }
.signup__row { display: flex; gap: 8px; }
.signup__input {
    flex: 1; min-width: 0; min-height: 48px; padding: 10px 14px;
    font: inherit; font-size: 16px; color: var(--ink); background: var(--white); border: 2px solid var(--ink); border-radius: 0;
}
.signup__input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(180, 39, 27, 0.25); }
.signup--dark .signup__input { border-color: var(--white); }
.signup__msg { display: none; font-size: 15px; }
.signup.success .signup__msg--ok, .signup.error .signup__msg--err { display: block; }
.signup--dark .signup__msg { color: var(--cream); }
.signup.loading .signup__btn-text { opacity: 0.5; }
.signup--pending { padding: 20px 22px; border: 2px dashed var(--line); }
.signup--pending.signup--dark { border-color: var(--line-dark); }
.signup__pending { font-family: var(--font-body); font-size: 17px; color: var(--muted); }
.signup--dark .signup__pending { color: var(--muted-light); }
.signup__pending a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.signup--pending.signup--dark .signup__pending a { color: var(--white); }

/* ==========================================================================
   News: story cards & grids
   ========================================================================== */
.news-block { padding-top: clamp(28px, 3.5vw, 44px); }
.news-block:last-child { padding-bottom: clamp(48px, 6vw, 80px); }

.story { position: relative; }
.story__link { display: flex; flex-direction: column; height: 100%; gap: 12px; }
.story__media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink-2); }
.story__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 8%; transition: transform 500ms var(--ease-out); }
.story__body { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.story__label { align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); }
.story__title { font-family: var(--font-head); font-stretch: 92%; font-weight: 750; font-size: 19px; line-height: 1.18; letter-spacing: -0.005em; }
.story__title span { background: linear-gradient(currentColor, currentColor) left 100% / 0% 2px no-repeat; transition: background-size 260ms var(--ease-out); }
.story__excerpt { font-family: var(--font-body); font-size: 17px; line-height: 1.5; color: var(--ink-3); }
.story__meta { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 0; font-size: 13px; color: var(--muted); }
.story__tag::before { content: ""; display: inline-block; width: 1px; height: 12px; background: var(--line); margin: 0 10px; vertical-align: -1px; }
.story.is-opinion .story__title { font-style: normal; }

@media (hover: hover) and (pointer: fine) {
    .story__link { transition: transform 220ms var(--ease-out); }
    .story__link:hover { transform: translateY(-2px); }
    .story__link:hover .story__media img { transform: scale(1.03); }
    .story__link:hover .story__title span { background-size: 100% 2px; }
}

.story--lead .story__title { font-size: clamp(26px, 2.6vw, 38px); font-stretch: 85%; font-weight: 800; line-height: 1.05; }
.story--lead .story__excerpt { font-size: 18px; }
.story--side .story__title { font-size: 19px; }
.story--text { border-top: 1px solid var(--line); padding-top: 14px; }
.story--text .story__title { font-size: 17px; }
.story--compact { border-top: 1px solid var(--line); padding: 16px 0; }
.home-news__side .story--compact:first-child, .topic-block__side .story--compact:first-child { border-top: 0; padding-top: 0; }
.story--compact .story__link { flex-direction: row; align-items: flex-start; gap: 16px; }
.story--compact .story__media { flex: none; width: 34%; max-width: 200px; }
.story--compact .story__title { font-size: 18px; }
.story--row { border-top: 1px solid var(--line); padding: 20px 0; }
.story--row .story__link { flex-direction: row; gap: 24px; }
.story--row .story__media { flex: none; width: 280px; }
.story--row .story__title { font-size: 22px; }
.story-list--spaced { margin-top: 32px; }

/* Fallback when a post has no image: an imigongo tile, cycled by position */
.fallback { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 12px; background: var(--ink) var(--pat-zig) center / 32px 16px; }
.fallback::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18, 16, 14, 0.35), rgba(18, 16, 14, 0) 50%); }
.fallback__tag { position: relative; z-index: 1; display: inline-block; padding: 4px 8px; background: var(--ink); color: var(--cream); font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.fallback[data-v="1"] { background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M28 3 53 28 28 53 3 28Z M28 14 42 28 28 42 14 28Z' fill='none' stroke='%2312100e' stroke-width='3'/%3E%3Cpath d='M28 23 33 28 28 33 23 28Z' fill='%2312100e'/%3E%3C/svg%3E") center / 56px 56px; }
.fallback[data-v="2"] { background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M0 28 14 14 28 28Z M0 14 14 0 28 14Z' fill='%2312100e'/%3E%3C/svg%3E") center / 28px 28px; }
.fallback[data-v="3"] { background: var(--ink-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M0 24 24 0 48 24 24 48Z' fill='none' stroke='%23b4271b' stroke-width='3'/%3E%3Cpath d='M12 24 24 12 36 24 24 36Z' fill='none' stroke='%23efe5d3' stroke-width='2'/%3E%3C/svg%3E") center / 48px 48px; }
.story--lead .fallback:not([data-v]), .story--lead .fallback[data-v="0"] { background-size: 48px 24px; }

/* Grids */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--gap); }
.grid-3--cards { gap: var(--gap); }

.news-top { padding-top: clamp(24px, 3vw, 36px); }
.news-top__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: var(--gap); }
.news-top__mid { display: grid; gap: var(--gap); align-content: start; }
.news-top__list { display: grid; align-content: start; }
.news-top__list .story--text:first-child { border-top: 0; padding-top: 0; }
.news-top__list .story--text { padding-bottom: 14px; }

.topic-block__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); }
.topic-block__side { display: grid; align-content: start; }

.news-opinion { margin-top: clamp(28px, 3.5vw, 44px); padding: clamp(28px, 3.5vw, 44px) 0 clamp(36px, 4vw, 56px); background: var(--paper); }
.news-opinion .sec-head { border-top-color: var(--red); }
.opinion__link { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto 1fr; column-gap: 14px; height: 100%; padding: 20px; background: var(--white); border-top: 3px solid var(--ink); transition: transform 220ms var(--ease-out), border-color 200ms ease; }
.opinion__avatar { grid-row: 1 / 3; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: var(--ink); color: var(--cream); display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.opinion__avatar img { width: 100%; height: 100%; object-fit: cover; }
.opinion__quote { font-family: var(--font-body); font-size: 54px; line-height: 0.6; color: var(--red); height: 26px; }
.opinion__title { grid-column: 1 / -1; margin-top: 14px; font-family: var(--font-body); font-weight: 600; font-size: 20px; line-height: 1.25; letter-spacing: 0; }
.opinion__title span { background: linear-gradient(currentColor, currentColor) left 100% / 0% 2px no-repeat; transition: background-size 260ms var(--ease-out); }
.opinion__author { grid-column: 2; grid-row: 2; font-size: 14px; font-weight: 700; color: var(--muted); align-self: start; }
@media (hover: hover) and (pointer: fine) { .opinion__link:hover { transform: translateY(-2px); border-color: var(--red); } .opinion__link:hover .opinion__title span { background-size: 100% 2px; } }

.news-picks { margin-top: clamp(28px, 3.5vw, 44px); padding: clamp(28px, 3.5vw, 44px) 0; background: var(--ink); color: var(--white); }
.news-picks .sec-head { border-top-color: var(--red); }
.picks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.picks__link { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; min-height: 44px; }
.picks__num { font-family: var(--font-head); font-stretch: 70%; font-weight: 850; font-size: 56px; line-height: 0.85; color: #e2483a; }
.picks__title { font-family: var(--font-head); font-stretch: 92%; font-weight: 700; font-size: 18px; line-height: 1.2; }
.picks__title span { background: linear-gradient(currentColor, currentColor) left 100% / 0% 2px no-repeat; transition: background-size 260ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .picks__link:hover .picks__title span { background-size: 100% 2px; } }

.news-signup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; padding: clamp(28px, 4vw, 48px); background: var(--paper); border-top: 4px solid var(--red); }
.news-signup__title { font-size: clamp(26px, 2.6vw, 36px); font-stretch: 80%; text-transform: uppercase; margin-bottom: 10px; }
.news-signup p { font-family: var(--font-body); font-size: 18px; color: var(--ink-3); margin-bottom: 20px; }
.news-signup .signup__label { font-size: 20px; }

.topic-head { padding: clamp(32px, 5vw, 64px) var(--gutter) 8px; }
.topic-head__title { font-size: clamp(40px, 5.4vw, 76px); font-stretch: 75%; text-transform: uppercase; line-height: 0.95; }
.topic-head__sub { margin-top: 14px; font-family: var(--font-body); font-size: 20px; color: var(--muted); max-width: 720px; }
.news-archive { padding-bottom: 64px; }

.author-head { display: flex; gap: 28px; align-items: center; padding-top: clamp(32px, 5vw, 64px); padding-bottom: 8px; }
.author-head__img { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; flex: none; }
.author-head__links { display: flex; gap: 20px; margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--muted); }

.pagination { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 32px 0 0; border-top: 1px solid var(--line); margin-top: 8px; }
.pagination__count { font-size: 14px; color: var(--muted); }

/* Category grid */
.categories__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--gap); }
.category { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; height: 100%; padding: 16px 0; border-bottom: 1px solid var(--line); transition: transform 220ms var(--ease-out); }
.category__mark { grid-row: 1 / 3; width: 18px; height: 18px; border: 3px solid var(--ink); transform: rotate(45deg); position: relative; transition: border-color 200ms ease, background-color 200ms ease; }
.category__mark::after { content: ""; position: absolute; inset: 3px; background: var(--red); }
.category__name { font-family: var(--font-head); font-stretch: 88%; font-weight: 750; font-size: 19px; line-height: 1.15; }
.category__count { font-size: 13px; color: var(--muted); }
@media (hover: hover) and (pointer: fine) {
    .category:hover { transform: translateX(2px); }
    .category:hover .category__name { color: var(--red); }
    .category:hover .category__mark { border-color: var(--red); }
}

/* Category bar: fade the edge that has more to scroll */
.section-nav { position: relative; }
.section-nav::before, .section-nav::after { content: ""; position: absolute; top: 0; bottom: 1px; width: 56px; pointer-events: none; opacity: 0; transition: opacity 200ms ease; z-index: 1; }
.section-nav::before { left: 0; background: linear-gradient(90deg, var(--white), rgba(255, 255, 255, 0)); }
.section-nav::after { right: 0; background: linear-gradient(270deg, var(--white), rgba(255, 255, 255, 0)); }
.section-nav.can-left::before, .section-nav.can-right::after { opacity: 1; }

/* ==========================================================================
   Article
   ========================================================================== */
.article { padding-top: clamp(28px, 4vw, 48px); }
.article__head, .article__body, .article__foot { width: 100%; max-width: calc(720px + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.article__kicker { display: inline-flex; align-items: center; min-height: 32px; font-size: 14px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.article__kicker--opinion { background: var(--red); color: var(--white); padding: 4px 10px; }
.article__title { font-size: clamp(34px, 4.4vw, 54px); font-stretch: 85%; font-weight: 800; line-height: 1.04; margin-bottom: 18px; }
.article--opinion .article__title { font-family: var(--font-body); font-weight: 600; font-stretch: 100%; letter-spacing: -0.015em; }
.article__standfirst { font-family: var(--font-body); font-size: clamp(20px, 1.8vw, 23px); font-weight: 500; line-height: 1.45; color: var(--ink-3); margin-bottom: 22px; }
.article__byline { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 14px 0; border-top: 1px solid var(--line); }
.byline { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.byline__author { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; min-height: 44px; }
.byline__img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
@media (hover: hover) and (pointer: fine) { .byline__author:hover .byline__name { text-decoration: underline; text-underline-offset: 3px; } }
.article__meta { display: flex; gap: 14px; font-size: 14px; color: var(--muted); }
.article__meta span::before { content: "·"; margin-right: 14px; }

.share { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.share__label { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.share__list { display: flex; flex-wrap: wrap; gap: 6px; }
.share__btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); color: var(--ink); transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease; }
.share__btn svg { width: 19px; height: 19px; }
.share__btn:active { transform: scale(0.92); }
@media (hover: hover) and (pointer: fine) {
    .share__btn:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }
    .share__btn--wa:hover { background: #25d366; color: var(--white); }
    .share__btn--fb:hover { background: #0866ff; }
    .share__btn--li:hover { background: #0a66c2; }
    .share__btn--tg:hover { background: #26a5e4; }
}
.share__btn--native { background: var(--ink); color: var(--white); }

.article__figure { max-width: 1040px; margin: 28px auto 8px; padding-inline: var(--gutter); }
.article__figure img { width: auto; max-width: 100%; max-height: min(78vh, 760px); margin-inline: auto; }
.article__figure figcaption, .gh-content figcaption { margin-top: 10px; font-size: 14px; line-height: 1.45; color: var(--muted); }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 200; padding: 12px 18px; background: var(--ink); color: var(--white); font-weight: 600; font-size: 15px; transform: translate(-50%, 0); opacity: 1; transition: opacity 300ms ease, transform 300ms ease; }
@starting-style { .toast { opacity: 0; transform: translate(-50%, 12px); } }
.toast.is-leaving { opacity: 0; transform: translate(-50%, 12px); transition-duration: 200ms; }

/* Post content (Koenig) */
.gh-content { font-family: var(--font-body); font-size: 20px; line-height: 1.65; color: var(--ink); }
.article__body { padding-top: 28px; }
.gh-content > * + * { margin-top: 1.15em; }
.gh-content > p:first-child { font-size: 1.08em; }
.gh-content h2 { font-size: 30px; font-stretch: 88%; margin-top: 1.8em; }
.gh-content h3 { font-size: 24px; font-stretch: 90%; margin-top: 1.6em; }
.gh-content h2 + *, .gh-content h3 + * { margin-top: 0.6em; }
.gh-content a { color: var(--red); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.gh-content a:hover { text-decoration-thickness: 2px; }
.gh-content strong { font-weight: 700; }
.gh-content ul, .gh-content ol { padding-left: 1.3em; }
.gh-content ul { list-style: none; }
.gh-content ul li { position: relative; }
.gh-content ul li::before { content: ""; position: absolute; left: -1.05em; top: 0.62em; width: 8px; height: 8px; background: var(--red); transform: rotate(45deg); }
.gh-content ol { list-style: decimal; }
.gh-content li + li { margin-top: 0.4em; }
.gh-content blockquote:not(.kg-blockquote-alt) { margin-inline: 0; padding: 4px 0 4px 24px; border-left: 5px solid var(--red); font-size: 1.1em; font-style: italic; }
.gh-content .kg-blockquote-alt { margin-inline: 0; padding: 0; font-family: var(--font-head); font-stretch: 85%; font-weight: 800; font-size: 1.5em; line-height: 1.2; text-align: left; font-style: normal; color: var(--red); }
.gh-content hr { border: 0; height: 16px; background: var(--pat-zig-ink) left center repeat-x; margin: 2.2em 0; opacity: 0.85; }
.gh-content code { font-size: 0.85em; background: var(--paper); padding: 0.1em 0.3em; }
.gh-content pre { overflow-x: auto; background: var(--ink); color: var(--white); padding: 20px; font-size: 15px; }
.gh-content figure img { width: 100%; }
.gh-content .kg-width-wide { position: relative; width: min(1040px, 100vw - 2 * var(--gutter)); left: 50%; transform: translateX(-50%); max-width: none; }
.gh-content .kg-width-full { position: relative; width: 100vw; left: 50%; transform: translateX(-50%); max-width: none; }
.gh-content .kg-width-full figcaption { padding-inline: var(--gutter); }
.gh-content .kg-image-card img { margin-inline: auto; }
.gh-content .kg-callout-card { font-family: var(--font-ui); font-size: 17px; }
.gh-content .kg-bookmark-card a { color: inherit; text-decoration: none; }
.gh-content table { width: 100%; border-collapse: collapse; font-family: var(--font-ui); font-size: 16px; }
.gh-content th, .gh-content td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); }

.article__foot { padding-top: 32px; padding-bottom: 16px; display: grid; gap: 28px; }
.article__disclaimer { font-family: var(--font-body); font-style: italic; color: var(--muted); padding: 16px 20px; background: var(--paper); }
.article__disclaimer a { color: var(--red); text-decoration: underline; }
.related-topics__h { font-size: 20px; font-stretch: 88%; margin-bottom: 12px; }
.related-topics__list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--ink); font-weight: 600; font-size: 15px; transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out); }
.chip:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .chip:hover { background: var(--ink); color: var(--white); } }
.author-box { display: flex; gap: 20px; align-items: flex-start; padding: 24px; background: var(--paper); }
.author-box__img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.author-box__name { font-size: 20px; margin-bottom: 6px; }
.author-box p { font-family: var(--font-body); font-size: 17px; color: var(--ink-3); }
.more-story { margin-top: 24px; }

/* ==========================================================================
   Pages
   ========================================================================== */
.page-head { background: var(--paper); }
.page-head__inner { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(32px, 4vw, 48px); max-width: calc(1000px + var(--gutter) * 2); }
.page-head__title { font-size: clamp(44px, 6vw, 88px); font-stretch: 72%; text-transform: uppercase; line-height: 0.92; }
.page-head__sub { margin-top: 18px; font-family: var(--font-body); font-size: 22px; color: var(--muted); }
.page__body { padding-bottom: 80px; }

/* What we do */
.wwd-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: var(--white); min-height: min(78svh, 760px); display: flex; align-items: flex-end; }
.wwd-hero__art { position: absolute; inset: 0 0 0 auto; width: 58%; z-index: -1; opacity: 0.9; }
.wwd-hero__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink), rgba(18, 16, 14, 0.2) 55%); }
.wwd-hero__inner { padding-top: 120px; padding-bottom: clamp(48px, 7vw, 96px); }
.wwd-hero__title { font-size: clamp(60px, 10vw, 156px); font-stretch: 70%; font-weight: 850; text-transform: uppercase; line-height: 0.88; max-width: 10ch; }
.wwd-hero__sub { margin-top: 24px; font-family: var(--font-body); font-size: clamp(20px, 1.8vw, 24px); color: rgba(255, 255, 255, 0.84); max-width: 640px; }
.wwd__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(56px, 8vw, 112px); }
.wwd__aside { align-self: start; position: sticky; top: calc(var(--head-h) + 32px); border-top: 4px solid var(--ink); padding-top: 16px; }
.wwd__aside-label { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-bottom: 16px; }
.wwd__facts li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.wwd__facts b { display: block; font-family: var(--font-head); font-stretch: 80%; font-size: 24px; text-transform: uppercase; }
.wwd__body { font-size: 21px; }
.wwd__body > p:first-child { font-family: var(--font-head); font-stretch: 85%; font-weight: 750; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.2; }
.wwd-cta { background: var(--ink); color: var(--white); padding-bottom: clamp(56px, 8vw, 104px); }
.wwd-cta .band { margin-bottom: clamp(48px, 6vw, 80px); }
.wwd-cta__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); align-items: stretch; }
.wwd-cta__title { font-size: clamp(36px, 4vw, 56px); font-stretch: 72%; text-transform: uppercase; line-height: 0.95; }
.wwd-cta__card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px 24px 64px; border: 1px solid var(--line-dark); transition: transform 220ms var(--ease-out), background-color 200ms ease, border-color 200ms ease; }
.wwd-cta__k { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #e2483a; }
.wwd-cta__t { font-family: var(--font-head); font-stretch: 85%; font-weight: 750; font-size: 24px; line-height: 1.15; }
.wwd-cta__card svg { position: absolute; left: 24px; bottom: 22px; width: 24px; height: 24px; transition: transform 200ms var(--ease-out); }
.wwd-cta__card:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .wwd-cta__card:hover { transform: translateY(-2px); background: var(--ink-2); border-color: var(--red); } .wwd-cta__card:hover svg { transform: translateX(4px); } }

/* Our people */
.people-head { background: var(--paper); border-bottom: 1px solid var(--line); }
.people-head__inner { padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(40px, 5vw, 64px); }
.people-head__title { font-size: clamp(52px, 8vw, 120px); font-stretch: 70%; font-weight: 850; text-transform: uppercase; line-height: 0.88; max-width: 12ch; margin-bottom: 28px; }
.people-head__intro { max-width: 760px; font-size: 21px; color: var(--ink-3); }
.people { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(64px, 8vw, 112px); }
.people__empty { font-family: var(--font-body); color: var(--muted); }
.people-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 36px) var(--gap); }
.person { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; width: 100%; text-align: left; transition: transform 220ms var(--ease-out); }
.person__photo { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink); margin-bottom: 10px; container-type: inline-size; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: transform 500ms var(--ease-out), filter 400ms ease; }
.person__monogram { position: absolute; inset: 0; display: grid; place-items: center; background: var(--ink) var(--pat-zig) center / 32px 16px; color: var(--cream); font-family: var(--font-head); font-stretch: 70%; font-weight: 850; font-size: 56px; font-size: 20cqi; }
.person__monogram::before { content: ""; position: absolute; width: 58%; aspect-ratio: 1; background: var(--red); transform: rotate(45deg); }
.person__monogram > span, .person__monogram { z-index: 0; }
.person__monogram b { position: relative; z-index: 1; font-weight: 850; }
.person__name { font-family: var(--font-head); font-stretch: 85%; font-weight: 800; font-size: 22px; line-height: 1.1; }
.person__role { font-size: 15px; font-weight: 600; color: var(--red); }
.person__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 14px; font-weight: 700; min-height: 32px; }
.person__more svg { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }
.person:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) {
    .person:hover { transform: translateY(-2px); }
    .person:hover .person__photo img { transform: scale(1.03); filter: grayscale(0); }
    .person:hover .person__more svg { transform: translateX(4px); }
}

/* Profile dialog */
.profile { width: min(1000px, calc(100vw - 32px)); max-height: calc(100svh - 48px); background: var(--white); color: var(--ink); overflow: auto; }
.profile::backdrop { background: rgba(18, 16, 14, 0.72); }
.profile[open] { animation: dialog-in 260ms var(--ease-out); }
.profile[open]::backdrop { animation: fade-in 260ms ease; }
.profile.is-closing { animation: dialog-out 180ms var(--ease-out) forwards; }
.profile.is-closing::backdrop { animation: fade-out 180ms ease forwards; }
@keyframes dialog-in { from { opacity: 0; transform: scale(0.96); } }
@keyframes dialog-out { to { opacity: 0; transform: scale(0.97); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
.profile__inner { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.profile__close { position: absolute; top: 8px; right: 8px; z-index: 2; background: var(--white); }
.profile__photo .person__photo { margin: 0; height: 100%; aspect-ratio: auto; min-height: 420px; }
.profile__photo .person__photo img { filter: none; }
.profile__text { padding: clamp(28px, 4vw, 48px); }
.profile__name { font-size: clamp(32px, 3.4vw, 46px); font-stretch: 80%; line-height: 1; padding-right: 40px; }
.profile:focus, .profile:focus-visible { outline: none; }
.profile__role { margin-top: 8px; font-weight: 700; font-style: italic; color: var(--red); font-family: var(--font-body); font-size: 19px; }
.profile__bio { margin-top: 22px; font-size: 18px; }
.profile__foot { margin-top: 28px; display: grid; gap: 12px; }

/* Single profile page */
.profile-page__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(56px, 8vw, 112px); }
.profile-page__photo .person__photo { margin: 0; }
.profile-page__photo .person__photo img { filter: none; }
.profile-page__name { font-size: clamp(44px, 5.4vw, 80px); font-stretch: 72%; line-height: 0.95; }
.profile-page__role { margin-top: 12px; font-family: var(--font-body); font-style: italic; font-weight: 600; font-size: 22px; color: var(--red); }
.profile-page__bio { margin: 28px 0; }

/* Error */
.error-page { min-height: 100svh; display: grid; place-items: center; background: var(--ink) var(--pat-zig) center / 40px 20px; color: var(--white); text-align: left; }
.error-page .wrap { background: var(--ink); padding-block: 48px; max-width: 760px; }
.error-page__code { font-family: var(--font-head); font-stretch: 70%; font-weight: 850; font-size: 120px; line-height: 0.9; color: #e2483a; }
.error-page__title { font-size: 44px; font-stretch: 80%; text-transform: uppercase; margin: 12px 0; }
.error-page__msg { color: var(--muted-light); margin-bottom: 28px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.86); margin-top: 0; }
body:has(.wwd-cta) .site-footer > .band { height: 1px; background: var(--line-dark); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 72px); padding-top: clamp(48px, 6vw, 80px); padding-bottom: 40px; }
.site-footer__brand p { margin-top: 18px; font-family: var(--font-body); font-size: 17px; max-width: 380px; color: var(--muted-light); }
.site-footer__h { font-family: var(--font-ui); font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #e2483a; margin-bottom: 14px; }
.site-footer .nav { flex-direction: column; gap: 0; }
.site-footer .nav__link { height: auto; min-height: 44px; padding: 0; font-size: 16px; }
.site-footer .nav__link::after { display: none; }
.site-footer__contact p { margin-bottom: 10px; font-size: 16px; color: var(--muted-light); }
.site-footer__contact > a { display: inline-block; font-weight: 700; color: var(--white); min-height: 32px; }
.social { display: flex; gap: 8px; margin-top: 20px; }
.site-footer__base { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid var(--line-dark); font-size: 14px; color: var(--muted-light); }
.site-footer__base a { min-height: 32px; display: inline-flex; align-items: center; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
    .news-top__grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
    .news-top__list { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); }
    .news-top__list .story--text:nth-child(2) { border-top: 0; padding-top: 0; }
    .grid-4, .picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .categories__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .people-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .wwd-cta__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .wwd-cta__title { grid-column: 1 / -1; }
    .demands { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    body { font-size: 16px; }
    .hero__art { width: 100%; opacity: 0.35; }
    .hero__art::after { background: linear-gradient(180deg, rgba(18, 16, 14, 0.2), var(--ink) 85%); }
    .hero__latest-list { grid-template-columns: 1fr; }
    .hero__latest-list li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.28); }
    .hero__latest-list li:first-child { border-top: 0; }
    .hero__latest-list li:nth-child(n+2) { display: none; }
    .hero__latest-list a { padding: 12px 0; }
    .home-news__grid, .home-people__grid, .topic-block__grid, .news-signup, .contribute__inner, .work__head, .wwd__grid, .profile-page__grid, .site-footer__grid { grid-template-columns: 1fr; }
    .record__list, .pillars, .grid-3 { grid-template-columns: 1fr; }
    .categories__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .record__list { gap: 40px; }
    .news-top__grid { grid-template-columns: 1fr; }
    .news-top__mid { grid-template-columns: 1fr 1fr; }
    .news-top__list { grid-template-columns: 1fr; }
    .news-top__list .story--text:nth-child(2) { border-top: 1px solid var(--line); padding-top: 14px; }
    .story--row .story__media { width: 38%; }
    .story--row .story__title { font-size: 19px; }
    .story--row .story__excerpt { display: none; }
    .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wwd-cta__grid { grid-template-columns: 1fr; }
    .wwd__aside { position: static; }
    .wwd-hero__art { width: 100%; opacity: 0.4; }
    .profile__inner { grid-template-columns: 1fr; }
    .profile__photo .person__photo { min-height: 0; aspect-ratio: 4 / 3; }
    .profile__photo .person__photo img { object-position: center 25%; }
    .gh-content { font-size: 19px; }
}

@media (max-width: 520px) {
    .hero__title { font-size: clamp(46px, 14vw, 64px); }
    .hero__actions .btn { width: 100%; }
    .news-top__mid { grid-template-columns: 1fr; }
    .grid-4, .picks, .categories__grid { grid-template-columns: 1fr; }
    .story--compact .story__media { width: 38%; }
    .story--compact .story__title, .story--row .story__title { font-size: 17px; }
    .story--row .story__link { gap: 14px; }
    .signup__row { flex-direction: column; }
    .signup__row .btn, .contribute .btn, .news-signup .btn { width: 100%; }
    .people-grid { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
    .person__name { font-size: 18px; }
    .author-head { flex-direction: column; align-items: flex-start; }
    .share { flex-direction: column; align-items: flex-start; gap: 8px; }
    .site-footer__base { flex-direction: column; }
    .demands { padding: 22px; }
    .pagination { flex-wrap: wrap; }
}

/* ==========================================================================
   Reduced motion: everything rests, nothing hidden
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
    .js [data-enter] *, .js .split-word > span, .js .hero .art-line, .js .hero .art-core, .js .hero [class^="hill-"] { opacity: 1 !important; transform: none !important; stroke-dashoffset: 0 !important; }
    .js .statement__text .hl-word { color: var(--ink) !important; }
    .js .record__rule { clip-path: none !important; }
    .pulse { animation: none; }
}
