/* Plenty Group — "sheets over land" (v11, November 2026)

   The 2026 design: slow, warm-monochrome photographs ("the land"), copy on paper
   sheets that lap over them, and the gate logo. Used by every page of the site.

   Rules of the house, unchanged from v9:
   - components read role tokens (--ground, --text, --accent, --card ...), never the
     palette constants, so a block works on a dark band and on paper alike;
   - three accents carry meaning, one per lifecycle stage: brass = pre-award,
     teal = post-award, terracotta = exploitation;
   - no inline styles anywhere: the server's CSP is style-src 'self'.
   New in v10: nothing is set below 13px, and mono is for figures only. */

/* The six font files are variable (Source Serif 4: weight 200-900 and optical size;
   JetBrains Mono: weight 400-800), so each is declared once with its range. The
   "-500-" files on the server are byte-for-byte copies of these and are not used. */
@font-face {
  font-family: 'Source Serif 4'; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url(/fonts/source-serif-4-normal-400-latin-ext.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'Source Serif 4'; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url(/fonts/source-serif-4-normal-400-latin.woff2) format('woff2');
  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: 'Source Serif 4'; font-style: italic; font-weight: 200 900; font-display: swap;
  src: url(/fonts/source-serif-4-italic-400-latin-ext.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'Source Serif 4'; font-style: italic; font-weight: 200 900; font-display: swap;
  src: url(/fonts/source-serif-4-italic-400-latin.woff2) format('woff2');
  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: 'JetBrains Mono'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/fonts/jetbrains-mono-normal-400-latin-ext.woff2) format('woff2');
  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;
}
@font-face {
  font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/fonts/jetbrains-mono-normal-400-latin.woff2) format('woff2');
  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;
}

/* =========== TOKENS =========== */
/* Palette constants: raw values, never used directly in components */
:root {
  --coffee: #17130f;   /* warm dark ground */
  --ivory:  #e8e3d6;   /* text on dark */
  --paper:  #f5f1e6;   /* warm light ground */
  --soot:   #1a1713;   /* text on light */

  /* three semantic accents, dark-ground / light-ground variants (light ones pass WCAG AA) */
  --brass-d: #d9a441;  --brass-l: #8a6318;
  --teal-d:  #7fa8a0;  --teal-l:  #46706a;
  --terra-d: #c96f4a;  --terra-l: #a84c33;
  --glow-fund-d: rgba(217, 164, 65, 0.16);
  --glow-fund-l: rgba(138, 99, 24, 0.14);

  --serif: 'Source Serif 4', 'Iowan Old Style', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  --head-h: 76px;                        /* the fixed header */
  --gutter: clamp(20px, 5vw, 72px);      /* page side margin */
  --lap: 140px;                          /* how far a sheet laps over the photograph above it */
  --col-gap: clamp(30px, 6vw, 90px);     /* between the two columns of a split */
  --measure: 34em;                       /* longest comfortable line of body copy */
}

/* Role tokens. Dark is the :root default, so anything outside a wrapper still renders. */
:root, .mode-dark {
  --ground: var(--coffee);
  --text:   var(--ivory);
  --text-1: rgba(232, 227, 214, 0.90);
  --text-2: rgba(232, 227, 214, 0.82);
  --text-3: rgba(232, 227, 214, 0.70);
  --text-4: rgba(232, 227, 214, 0.62);
  --text-5: rgba(232, 227, 214, 0.42);
  --rule: rgba(232, 227, 214, 0.12);
  --rule-strong: rgba(232, 227, 214, 0.26);
  --wash: rgba(232, 227, 214, 0.05);
  --card: #1c2024;
  --a-fund: var(--brass-d);
  --a-impl: var(--teal-d);
  --a-comm: var(--terra-d);
  --accent: var(--a-fund);
  --glow-fund: var(--glow-fund-d);
  --focus: var(--brass-d);
}
.mode-light {
  --ground: var(--paper);
  --text:   var(--soot);
  --text-1: rgba(26, 23, 19, 0.92);
  --text-2: rgba(26, 23, 19, 0.82);
  --text-3: rgba(26, 23, 19, 0.70);
  --text-4: rgba(26, 23, 19, 0.66);
  --text-5: rgba(26, 23, 19, 0.44);
  --rule: rgba(26, 23, 19, 0.13);
  --rule-strong: rgba(26, 23, 19, 0.24);
  --wash: rgba(26, 23, 19, 0.035);
  --card: #fbf8f2;                       /* the sheet */
  --a-fund: var(--brass-l);
  --a-impl: var(--teal-l);
  --a-comm: var(--terra-l);
  --accent: var(--a-fund);
  --glow-fund: var(--glow-fund-l);
  --focus: var(--teal-l);
}
.mode-dark, .mode-light { background: var(--ground); color: var(--text); }
[hidden] { display: none !important; }   /* class selectors outspecify the UA [hidden] */

/* =========== BASE =========== */
* { box-sizing: border-box; }
html { background: var(--coffee); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--serif); font-size: 18px; line-height: 1.65; font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); text-wrap: balance; }
p { text-wrap: pretty; }
img, svg { max-width: 100%; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--ground); }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.fig { font-family: var(--mono); font-size: 13px; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ivory); color: var(--coffee); padding: 8px 12px; text-decoration: none;
}
.skip-link:focus { left: 8px; top: 8px; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }   /* gradients + the name outline */

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px;
}

/* Buttons and links */
.btn {
  display: inline-block; border: 0; border-radius: 2px; cursor: pointer;
  font: 600 17px/1.2 var(--serif); padding: 14px 24px 15px; text-decoration: none;
  background: var(--brass-d); color: var(--coffee);
  transition: background 200ms ease;
}
.btn:hover { background: #e8b95a; }
.textlink { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.textlink:hover { text-decoration-thickness: 2px; }

/* =========== HEADER ===========
   One dark bar on every page. It is solid by default (so it also works without
   JS) and main.v7.js clears it while the page sits at the very top, over the
   opening photograph. */
header.site {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--head-h);
  background: rgba(23, 19, 15, 0.95); box-shadow: 0 1px 0 rgba(232, 227, 214, 0.09);
  font-size: 15.5px; line-height: 1.2;
  transition: background 350ms ease, box-shadow 350ms ease;
}
header.site.clear { background: rgba(23, 19, 15, 0); box-shadow: none; }
header.site > .wrap { display: flex; align-items: center; gap: 26px; height: 100%; }
header.site .brand { display: block; flex: none; color: var(--ivory); }
.logo { display: block; height: 30px; width: auto; aspect-ratio: 1057.18 / 195.97; }   /* 30px: the header size on the logo sheet */

/* Research | Defence: two pages that read as one toggle; same spot on both. */
.mode-switch {
  display: inline-flex; flex: none; padding: 2px;
  border: 1px solid rgba(232, 227, 214, 0.28); border-radius: 3px; font-size: 14px;
}
.mode-switch a {
  padding: 5px 13px 6px; border-radius: 2px; text-decoration: none;
  color: rgba(232, 227, 214, 0.76);
  transition: color 200ms ease, background 200ms ease;
}
.mode-switch a:hover { color: #fff; }
.mode-switch a[aria-current="page"] { background: var(--ivory); color: var(--coffee); }

header.site nav { margin-left: auto; display: flex; gap: 26px; }
header.site nav a {
  color: rgba(232, 227, 214, 0.86); text-decoration: none; white-space: nowrap;
  transition: color 200ms ease;
}
header.site nav a:hover { color: #fff; }

/* Path switcher. Once the stage chooser has scrolled away, main.v7.js adds .show
   and the three stages take the menu's place, so the chosen stage stays visible
   and switchable from anywhere on the page. It sits before <nav> in the markup,
   which is what lets one sibling selector hide the menu. */
.path-sticky { display: none; margin-left: auto; }
.path-sticky.show { display: block; animation: fade 300ms ease both; }
.path-sticky.show + nav { display: none; }
.path-sticky-tabs { display: flex; align-items: center; gap: 6px; }
.ps-tab {
  font: inherit; font-size: 15px; color: rgba(232, 227, 214, 0.8);
  background: none; border: 0; border-bottom: 2px solid transparent;
  padding: 9px 12px 8px; cursor: pointer; white-space: nowrap;
  transition: color 200ms ease, border-color 200ms ease;
}
.ps-tab span { font-family: var(--mono); font-size: 13px; color: rgba(232, 227, 214, 0.55); margin-right: 8px; }
.ps-tab:hover { color: #fff; }
.ps-tab[aria-current="true"] span { color: inherit; }
.ps-tab[data-path="funding"][aria-current="true"]           { color: var(--a-fund); border-bottom-color: var(--a-fund); }
.ps-tab[data-path="implementation"][aria-current="true"]    { color: var(--a-impl); border-bottom-color: var(--a-impl); }
.ps-tab[data-path="commercialisation"][aria-current="true"] { color: var(--a-comm); border-bottom-color: var(--a-comm); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* =========== THE LAND: full-bleed photographs ===========
   Every photograph carries the same warm monochrome, which is built into the
   files by _mockups/build_photos.py (no filter here), and drifts very slowly.
   Each band darkens the side its text stands on with its own ::after gradient. */
.land {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--coffee); color: var(--ivory);
}
.land > .land-img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; max-width: none; object-fit: cover;
  transform-origin: 60% 55%;
  animation: drift 46s ease-in-out infinite alternate;
}
.land::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
@keyframes drift {
  from { transform: scale(1.03); }
  to   { transform: scale(1.13) translate3d(-1.6%, -1.2%, 0); }
}

/* =========== HERO =========== */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--head-h) + 56px) 0 calc(var(--lap) + clamp(48px, 8vh, 92px));
}
.hero::after {
  background:
    linear-gradient(180deg, rgba(23, 19, 15, 0.55) 0, rgba(23, 19, 15, 0) 22%),
    linear-gradient(90deg, rgba(23, 19, 15, 0.90) 0%, rgba(23, 19, 15, 0.66) 38%, rgba(23, 19, 15, 0.18) 78%, rgba(23, 19, 15, 0.05) 100%),
    linear-gradient(0deg, rgba(23, 19, 15, 0.96) 0%, rgba(23, 19, 15, 0) 38%);
}
.hero > .wrap, .quote > .wrap { width: 100%; }   /* a flex child with auto margins would shrink to its text */
.hero h1 {
  font-weight: 480; font-size: clamp(44px, 7vw, 116px); line-height: 0.98;
  letter-spacing: -0.018em; max-width: 11.5em;
}
/* The one coloured word on the page. */
.hero h1 em { font-style: italic; font-weight: 420; color: var(--brass-d); }
.hero-lead {
  margin: 30px 0 0; max-width: 30em;
  font-size: clamp(19px, 1.55vw, 23px); line-height: 1.5; color: rgba(232, 227, 214, 0.93);
}
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; margin: 38px 0 0; font-size: 17px; }

/* The opening sequence: the only motion the page starts on its own. The photograph
   settles, the words rise, the first sheet follows, the gate in the header draws itself. */
.hero > .land-img { animation: settle 2.4s ease-out both, drift 46s ease-in-out 2.4s infinite alternate; }
@keyframes settle { from { opacity: 0; transform: scale(1.09); } to { opacity: 1; transform: scale(1.03); } }
.rise { animation: rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.rise.r1 { animation-delay: 0.25s; }
.rise.r2 { animation-delay: 0.55s; }
.rise.r3 { animation-delay: 0.8s; }
.rise.r4 { animation-delay: 1.05s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
/* The gate's resting state is fully drawn: if the animation never runs, the logo is still there. */
.draw { stroke-dasharray: 1; animation: draw 1.7s 0.35s cubic-bezier(0.3, 0.6, 0.2, 1) backwards; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* =========== ROOMS AND SHEETS ===========
   A room is a stretch of paper ground between two photographs. A room.lap starts
   with a sheet pulled up over the photograph above it; its own first strip stays
   dark so the sheet seems to lie across the edge of the picture. */
.room { background: var(--ground); padding-bottom: clamp(72px, 9vw, 132px); }
.room.lap { background: linear-gradient(var(--coffee) 0, var(--coffee) var(--lap), var(--paper) var(--lap)); }
.sheet {
  position: relative; z-index: 2;
  background: var(--card); border-radius: 3px;
  padding: clamp(28px, 5vw, 76px);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.55), inset 0 2px 0 rgba(255, 255, 255, 0.5);
}
.room.lap > .wrap > .sheet:first-child { margin-top: calc(var(--lap) * -1); }
.plain { padding-top: clamp(72px, 9vw, 132px); }

.sheet h2, .plain h2, .band h2 {
  font-weight: 520; font-size: clamp(30px, 3.5vw, 54px); line-height: 1.08; letter-spacing: -0.012em;
}
.split {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 30px var(--col-gap); align-items: start;
}
.body p {
  margin: 0 0 18px; max-width: var(--measure);
  font-size: 19px; line-height: 1.62; color: var(--text-1);
}
.body p:last-child { margin-bottom: 0; }
#paths, #approach, #engagements, #experience, #perspective, #plenty-nexus, #contact, #who, #record {
  scroll-margin-top: calc(var(--head-h) + 20px);
}

/* =========== FIRST SHEET: facts, the stage chooser, the arc =========== */
.sheet.first { padding-top: clamp(28px, 3.4vw, 46px); }
.facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px;
  margin: 0 0 clamp(34px, 4.4vw, 60px); padding: 0 0 26px;
  border-bottom: 1px solid var(--rule);
  font-size: 16.5px; line-height: 1.45; color: var(--text-2);
}
.facts dt { font-style: italic; color: var(--text-3); }
.facts dd { margin: 2px 0 0; }
.facts b { display: block; font-weight: 600; color: var(--text); }

.paths .split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; }
.sheet h2.paths-h { font-size: clamp(28px, 2.9vw, 42px); }
.paths-h .ask { display: block; font-style: italic; font-weight: 440; color: var(--a-fund); }
.paths-more { margin: 8px 0 0; max-width: var(--measure); font-size: 18px; line-height: 1.6; color: var(--text-2); }

/* Three doors. Shipped as plain buttons in a hidden container; main.v7.js turns
   them into a tablist. Each carries its stage colour and a plus that turns into
   a minus while its panel is open, so it reads as something to press. */
.paths-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 34px; margin-top: 44px; }
.path-tab {
  position: relative; font: inherit; color: inherit; text-align: left;
  background: none; border: 0; border-top: 3px solid var(--c);
  padding: 18px 48px 18px 0; cursor: pointer;
  transition: opacity 300ms var(--ease), background 250ms var(--ease), padding 250ms var(--ease);
}
.path-tab[data-path="funding"]           { --c: var(--a-fund); }
.path-tab[data-path="implementation"]    { --c: var(--a-impl); }
.path-tab[data-path="commercialisation"] { --c: var(--a-comm); }
.path-tab .path-n { display: block; font-family: var(--mono); font-size: 13px; letter-spacing: 0.02em; color: var(--c); }
.path-tab .path-q { display: block; margin: 10px 0 8px; font-size: clamp(21px, 2vw, 27px); line-height: 1.22; font-weight: 500; }
.path-tab .path-by { display: block; font-size: 16px; color: var(--text-3); }
.path-tab::after {
  content: ""; position: absolute; right: 4px; top: 20px; width: 30px; height: 30px;
  border: 1px solid var(--rule-strong); border-radius: 50%;
  background:
    linear-gradient(var(--c), var(--c)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--c), var(--c)) center / 1.5px 12px no-repeat;
  transition: border-color 200ms ease, background-size 250ms ease;
}
.path-tab:hover, .path-tab[aria-selected="true"] { background: var(--wash); padding-left: 14px; }
.path-tab:hover::after, .path-tab[aria-selected="true"]::after { border-color: var(--c); }
.path-tab[aria-selected="true"]::after { background-size: 12px 1.5px, 1.5px 0; }
/* once one door is open, the other two step back */
.paths-tabs:has([aria-selected="true"]) .path-tab[aria-selected="false"]:not(:hover) { opacity: 0.5; }

/* The arc: the seven steps of the lifecycle. main.v7.js sets --arc-cols and, per
   step, its display, column and colour. Before a stage is chosen the rail is a
   compact map (numbers and titles); choosing a stage keeps only that stage's
   steps and opens their descriptions. Without JS there is no chooser and the
   whole arc shows with every description. */
.arc { margin-top: 36px; }
.arc-rail {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: var(--arc-cols, repeat(7, 1fr));
}
.arc-rail[data-active="implementation"], .arc-rail[data-active="commercialisation"] { column-gap: 34px; }   /* lines the single step up under its door */
.arc-rail[data-active="implementation"] h3, .arc-rail[data-active="commercialisation"] h3 { min-height: 0; }
.arc-step {
  --accent: var(--a-fund);
  position: relative; display: flex; flex-direction: column;
  padding: 16px 18px 0 0; border-top: 2px solid var(--rule-strong);
}
.arc-step:nth-child(6) { --accent: var(--a-impl); }
.arc-step:nth-child(7) { --accent: var(--a-comm); }
.arc-step::before {
  content: ""; position: absolute; top: -5px; left: 0;
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}
.arc-step.mark::before { width: 12px; height: 12px; top: -7px; box-shadow: 0 0 0 4px var(--glow-fund); }
.arc-n { display: block; margin-bottom: 6px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.02em; color: var(--text-4); }
.arc-step h3 { font-size: 18px; line-height: 1.25; font-weight: 600; margin: 0 0 10px; min-height: 2.5em; }
.arc-step.mark h3 { color: var(--accent); }
.arc-step p { flex: 1 1 auto; margin: 0 0 14px; font-size: 15.5px; line-height: 1.5; color: var(--text-2); }
.arc-by { display: block; padding-bottom: 4px; font-style: italic; font-size: 15px; color: var(--accent); }
.paths:has([role="tablist"]) ~ .arc .arc-rail:not([data-active]) .arc-step p,
.paths:has([role="tablist"]) ~ .arc .arc-rail:not([data-active]) .arc-by { display: none; }
.paths:has([role="tablist"]) ~ .arc .arc-rail:not([data-active]) .arc-step h3 { margin-bottom: 0; }
/* In the compact map the columns follow the length of their titles ("Carefully crafted
   proposal concept" and "Implementation" need the most), so no title runs past two lines. */
@media (min-width: 901px) {
  .paths:has([role="tablist"]) ~ .arc .arc-rail:not([data-active]) {
    grid-template-columns: 1.1fr 0.8fr 1.6fr 1fr 0.8fr 1.4fr 0.95fr;
  }
}

/* =========== PATH PANELS: one full block per stage, opened by its door ===========
   The panel scopes --accent, so its heading, buttons and status notes take the
   stage's colour. */
.path-panels {
  margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--rule);
  scroll-margin-top: calc(var(--head-h) + 20px);
}
.path-panel { animation: fade 500ms ease both; }
.path-panel[data-path="funding"]           { --accent: var(--a-fund); }
.path-panel[data-path="implementation"]    { --accent: var(--a-impl); }
.path-panel[data-path="commercialisation"] { --accent: var(--a-comm); }
.path-panel:not([hidden]) ~ .path-panel:not([hidden]) { margin-top: 72px; }     /* only without JS, when all three show */
.path-head {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: var(--col-gap); align-items: start;
}
.path-lead-col { display: contents; }     /* its heading spans the sheet; its buttons take the left column */
.path-eyebrow { grid-column: 1 / -1; margin-bottom: 12px; font-style: italic; font-size: 17px; color: var(--accent); }
.path-panel .path-h {
  grid-column: 1 / -1; max-width: 21em; margin-bottom: 30px;
  font-weight: 520; font-size: clamp(27px, 2.9vw, 42px); line-height: 1.1; letter-spacing: -0.01em;
}
.path-panel .path-h em { font-style: italic; font-weight: 440; color: var(--accent); }
.path-lead { grid-column: 2; grid-row: 3 / span 2; margin: 0; max-width: var(--measure); font-size: 19px; line-height: 1.6; color: var(--text-1); }
.path-cta {
  grid-column: 1; justify-self: start; border-radius: 2px;
  font-weight: 600; font-size: 16.5px; line-height: 1.2; padding: 12px 20px 13px;
  background: var(--accent); color: var(--card); text-decoration: none;
  transition: filter 200ms ease;
}
.path-cta:hover { filter: brightness(1.14); }
.path-cta + .path-cta {
  margin-top: 6px; padding-left: 0; padding-right: 0;
  background: none; color: var(--accent);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
}

/* =========== ENGAGEMENT ROWS (in the panels and under Approach) =========== */
.eng-list { margin-top: 44px; border-top: 1px solid var(--rule); }
.eng-item {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-rows: auto auto 1fr;
  grid-template-areas: "title text" "status text" "shot text";
  column-gap: var(--col-gap);
  padding: 34px 0 38px; border-bottom: 1px solid var(--rule);
}
.eng-item h3 { grid-area: title; font-size: clamp(22px, 2vw, 26px); line-height: 1.2; font-weight: 600; }
.eng-item .status { grid-area: status; margin-top: 6px; font-style: italic; font-size: 16px; color: var(--accent); }
.eng-item > p { grid-area: text; margin: 0; max-width: var(--measure); font-size: 17.5px; line-height: 1.62; color: var(--text-2); }
/* Rows that show one of our own tools (.shot): the words on the left, a large picture of
   the tool on the right. All five pictures have one shape and size (_mockups/build_shots.py)
   and sit on a white mount, like a print on card. A picture that opens the tool itself
   carries an arrow in its corner. */
.eng-item.shot {
  grid-template-areas: "title shot" "status shot" "text shot";
  padding: 46px 0 50px;
}
.eng-item.shot > p { margin-top: 18px; }
.eng-shot {
  grid-area: shot; align-self: start;
  padding: 10px; background: #fff; border: 1px solid var(--rule); border-radius: 3px;
  box-shadow: 0 24px 46px -28px rgba(26, 23, 19, 0.55);
}
.eng-shot a { display: block; position: relative; }
.eng-shot img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: 2px; outline: 1px solid rgba(26, 23, 19, 0.1); outline-offset: -1px;
}
.eng-shot a::after {
  content: "\2197"; position: absolute; right: 12px; bottom: 12px;
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--soot); color: var(--ivory); font-size: 16px; line-height: 1;
  transition: background 200ms ease, transform 200ms ease;
}
.eng-shot a:hover::after { background: var(--accent); transform: translate(2px, -2px); }
.mail-inline { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.mail-inline:hover { text-decoration-thickness: 2px; }

/* =========== QUOTATION: a pause between two sheets =========== */
.quote {
  min-height: 78vh; display: flex; align-items: center;
  padding: 120px 0 calc(var(--lap) + 90px);
}
.quote::after {
  background:
    linear-gradient(90deg, rgba(23, 19, 15, 0.84) 0%, rgba(23, 19, 15, 0.52) 55%, rgba(23, 19, 15, 0.2) 100%),
    linear-gradient(0deg, rgba(23, 19, 15, 0.92) 0%, rgba(23, 19, 15, 0) 34%);
}
.quote figure, .quote blockquote { margin: 0; }
.quote blockquote p {
  margin: 0; max-width: 12.5em;
  font-style: italic; font-weight: 400; font-size: clamp(34px, 5vw, 82px); line-height: 1.08; letter-spacing: -0.012em;
}
.quote figcaption { margin-top: 30px; font-size: 18px; color: rgba(232, 227, 214, 0.78); }

/* =========== APPROACH: the three levers =========== */
.levers { list-style: none; margin: 34px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.levers li {
  display: grid; grid-template-columns: 3.2em minmax(0, 1fr); column-gap: 14px; align-items: baseline;
  padding: 19px 0 21px; border-bottom: 1px solid var(--rule);
}
.levers .fig { grid-row: 1 / span 2; color: var(--a-fund); }
.levers h3 { font-size: 21px; line-height: 1.3; font-weight: 600; }
.levers p { grid-column: 2; margin: 3px 0 0; font-size: 17.5px; line-height: 1.5; color: var(--text-2); }

/* =========== PHOTOGRAPH BANDS WITH A HEADING (state support, the pair) =========== */
.band { padding: clamp(96px, 11vw, 170px) 0 calc(var(--lap) + clamp(56px, 7vw, 100px)); }
.band h2 { color: var(--ivory); max-width: 13em; }
.band-lead { margin: 26px 0 0; max-width: 31em; font-size: 19px; line-height: 1.6; color: rgba(232, 227, 214, 0.92); }
.pays::after {
  background:
    linear-gradient(90deg, rgba(23, 19, 15, 0.9) 0%, rgba(23, 19, 15, 0.7) 46%, rgba(23, 19, 15, 0.28) 100%),
    linear-gradient(0deg, rgba(23, 19, 15, 0.94) 0%, rgba(23, 19, 15, 0) 40%);
}

/* =========== STATE SUPPORT: a country list that drives one panel ===========
   The list ships hidden and main.v7.js turns it into a tablist; each row carries
   the country's headline figure, so the list is the summary too. Without JS there
   is no list and every country's panel shows, one after another. */
.pay-grid {
  display: grid; grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr);
  column-gap: clamp(30px, 5vw, 70px); align-items: start;
}
.pay-tabs {
  grid-column: 1; grid-row: 1 / span 9;
  position: sticky; top: calc(var(--head-h) + 24px);
  border-top: 1px solid var(--rule);
}
.pay-tab {
  position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 6px 14px; flex-wrap: wrap;
  width: 100%; font: inherit; color: inherit; text-align: left; cursor: pointer;
  background: none; border: 0; border-bottom: 1px solid var(--rule);
  padding: 13px 30px 14px 14px;
  transition: background 200ms var(--ease);
}
.pay-tab .pay-c { font-size: 18px; font-weight: 500; }
.pay-tab .pay-s { font-family: var(--mono); font-size: 13px; letter-spacing: 0.01em; color: var(--text-2); }
.pay-tab.off .pay-s { color: var(--text-4); }
.pay-tab::after {
  content: ""; position: absolute; right: 12px; top: 50%; width: 7px; height: 7px; margin-top: -4px;
  border-top: 1.5px solid var(--text-5); border-right: 1.5px solid var(--text-5);
  transform: rotate(45deg); transition: border-color 200ms ease;
}
.pay-tab:hover { background: var(--wash); }
.pay-tab:hover::after { border-color: var(--accent); }
.pay-tab[aria-selected="true"] { background: var(--wash); box-shadow: inset 3px 0 0 var(--accent); }
.pay-tab[aria-selected="true"] .pay-c { font-weight: 600; }
.pay-tab[aria-selected="true"]::after { border-color: var(--accent); }
.pay-tab:focus-visible { outline-offset: -2px; }
.pay-panel, .pay-foot { grid-column: 2; min-width: 0; }
.pay-tabs[hidden] ~ .pay-panel, .pay-tabs[hidden] ~ .pay-foot { grid-column: 1 / -1; }
.pay-panel:not([hidden]) ~ .pay-panel:not([hidden]) { margin-top: 56px; }     /* only without JS, when all panels show */
.pay-tabs, .pay-panel { scroll-margin-top: calc(var(--head-h) + 28px); }   /* clear the header on a #pay-xx link */
.pay-panel h3 { margin: 0 0 24px; font-size: 22px; line-height: 1.28; font-weight: 600; }
.sig-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 26px; margin-bottom: 26px; }
.sig-card { border-top: 2px solid var(--accent); padding-top: 14px; }
/* The sum is the heading. */
.sig-card h4 { margin: 0 0 8px; font-weight: 520; font-size: clamp(24px, 2.1vw, 29px); line-height: 1.1; letter-spacing: -0.01em; }
.sig-card p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--text-2); }
/* Countries with no grant: one plain statement where the figures would be. */
.pay-none { margin: 0 0 22px; max-width: 22em; font-style: italic; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; }
.sector-more { margin: 18px 0 0; max-width: 41em; font-size: 16.5px; line-height: 1.62; color: var(--text-2); }
.pay-foot { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 15.5px; color: var(--text-3); }

/* =========== EXPERIENCE =========== */
.exp-block { margin-top: clamp(44px, 5vw, 66px); }
.exp-head { margin: 0 0 12px; font-style: italic; font-weight: 400; font-size: 19px; color: var(--text-3); }
.sector-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--col-gap);
  border-top: 1px solid var(--rule);
}
.sector {
  display: grid; grid-template-columns: 3.4em minmax(0, 1fr); column-gap: 14px; align-items: baseline;
  align-content: start;
  padding: 22px 0 24px; border-bottom: 1px solid var(--rule);
}
.sector .fig { grid-row: 1 / span 2; color: var(--a-fund); }
.sector h4 { font-size: 22px; line-height: 1.25; font-weight: 600; }
.sector p { grid-column: 2; margin: 3px 0 0; font-size: 17px; line-height: 1.5; color: var(--text-2); }

.strengths { border-top: 1px solid var(--rule); }
.strength {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: var(--col-gap);
  padding: 26px 0 28px; border-bottom: 1px solid var(--rule);
}
.strength h4 { font-size: 23px; line-height: 1.25; font-weight: 600; }
.strength p { grid-column: 2; margin: 0; max-width: 38em; font-size: 17.5px; line-height: 1.6; color: var(--text-2); }
.strength .textlink { grid-column: 2; justify-self: start; margin-top: 12px; font-size: 17px; color: var(--accent); }

/* What we do: the three stages again, in their colours. */
.stage-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 34px; margin-top: 4px; }
.stage-card { --stage: var(--accent); border-top: 3px solid var(--stage); padding-top: 18px; }
.stage-card--fund { --stage: var(--a-fund); }
.stage-card--impl { --stage: var(--a-impl); }
.stage-card--comm { --stage: var(--a-comm); }
.stage-label { display: block; margin-bottom: 10px; font-size: 23px; line-height: 1.25; font-weight: 600; color: var(--stage); }
.stage-card p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--text-2); }
.stage-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 14px; }
.stage-link { font-size: 16.5px; color: var(--stage); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.stage-link:hover { text-decoration-thickness: 2px; }

/* =========== ABOUT: one statement on a dark band =========== */
.about { padding: clamp(84px, 10vw, 150px) 0; }
.about p {
  margin: 0; max-width: 25em;
  font-weight: 420; font-size: clamp(23px, 2.5vw, 35px); line-height: 1.36; letter-spacing: -0.005em;
}

/* =========== PERSPECTIVE LIST =========== */
.persp { margin-top: 34px; border-top: 1px solid var(--rule); }
.persp-item {
  display: grid; grid-template-columns: 7.5em minmax(0, 1fr) auto; column-gap: 24px; align-items: baseline;
  padding: 24px 14px 26px 0; border-bottom: 1px solid var(--rule);
  color: inherit; text-decoration: none;
  transition: background 300ms var(--ease), padding 300ms var(--ease);
}
.persp-item:hover { background: var(--wash); padding-left: 14px; }
.persp-item .date { font-family: var(--mono); font-size: 13px; letter-spacing: 0.02em; color: var(--text-3); }
.persp-item h3 {
  font-size: clamp(21px, 2vw, 25px); line-height: 1.25; font-weight: 500;
  text-decoration: underline; text-decoration-color: var(--rule-strong);
  text-decoration-thickness: 1px; text-underline-offset: 6px;
}
.persp-item:hover h3 { text-decoration-color: currentColor; }
.persp-item .len { font-style: italic; font-size: 16px; color: var(--text-3); }

/* =========== THE PAIR: Plenty Group and Plenty Nexus ===========
   Each mark stands on its own small sheet in its own colours. The Nexus leaf is
   shown exactly as Plenty Nexus publishes it and is never recoloured. */
.pair::after { background: linear-gradient(0deg, rgba(23, 19, 15, 0.95) 0%, rgba(23, 19, 15, 0.6) 60%, rgba(23, 19, 15, 0.82) 100%); }
.pair h2 { max-width: 15em; }
.pair-cols {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px var(--col-gap);
  max-width: 980px; margin-top: 46px;
}
.pair-col { border-top: 1px solid rgba(232, 227, 214, 0.26); padding-top: 24px; }
.pair-mark {
  display: grid; place-items: center; width: 78px; height: 78px; margin-bottom: 18px;
  background: #fbf8f2; border-radius: 3px;
}
.pair-mark svg, .pair-mark img { display: block; width: 52px; height: 52px; }
.pair-col h3 { font-size: 23px; line-height: 1.25; font-weight: 600; }
.pair-col p { margin: 8px 0 12px; max-width: 24em; font-size: 18px; line-height: 1.55; color: rgba(232, 227, 214, 0.88); }

/* =========== DEFENCE PAGE ===========
   The page is built from the same parts as the home page. These are its own. */
/* A small label above a heading, where the heading alone would not say what the block is. */
.kicker { margin: 0 0 10px; font-style: italic; font-size: 17px; line-height: 1.4; color: var(--text-3); }
.person-role { margin: 14px 0 0; font-style: italic; font-size: 17px; line-height: 1.45; color: var(--accent); }

/* Who it is for: three kinds of company, side by side. */
.audiences {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 34px;
  margin-top: clamp(36px, 4.4vw, 58px);
}
.aud { border-top: 2px solid var(--rule-strong); padding-top: 16px; }
.aud-tag { display: block; margin-bottom: 6px; font-style: italic; font-size: 16px; color: var(--accent); }
.aud h3 { font-size: 22px; line-height: 1.25; font-weight: 600; }
.aud p { margin: 8px 0 0; font-size: 17px; line-height: 1.6; color: var(--text-2); }

/* Its engagement rows name the lifecycle stage, in the stage's colour. */
.eng-item.st-fund { --accent: var(--a-fund); }
.eng-item.st-impl { --accent: var(--a-impl); }
.eng-item.st-comm { --accent: var(--a-comm); }
.eng-item.st-adv  { --accent: var(--text-3); }

/* The motto: the quotation band, with one line of our own under it. */
.motto-text {
  margin: 46px 0 0; max-width: 25em; padding-top: 22px; border-top: 1px solid rgba(232, 227, 214, 0.28);
  font-size: clamp(20px, 2vw, 26px); line-height: 1.45; color: rgba(232, 227, 214, 0.94);
}

/* The terms stand on the last photograph, four rules in two columns. */
.terms::after { background: linear-gradient(0deg, rgba(23, 19, 15, 0.96) 0%, rgba(23, 19, 15, 0.74) 55%, rgba(23, 19, 15, 0.86) 100%); }
.rules {
  list-style: none; margin: 46px 0 0; padding: 0; max-width: 1040px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px var(--col-gap);
}
.rules li {
  display: grid; grid-template-columns: 2.7em minmax(0, 1fr); column-gap: 10px; align-items: baseline;
  align-content: start;      /* a rule beside a longer one keeps its text under its title */
  border-top: 1px solid rgba(232, 227, 214, 0.26); padding-top: 20px;
}
.rules .fig { grid-row: 1 / span 2; color: var(--brass-d); }
.rules h3 { font-size: 22px; line-height: 1.25; font-weight: 600; }
.rules p { grid-column: 2; margin: 6px 0 0; font-size: 17.5px; line-height: 1.55; color: rgba(232, 227, 214, 0.9); }

/* =========== TEXT PAGES: perspective and the privacy notice ===========
   A band with the page's title, then one sheet to read on. The band carries a
   photograph where the page has one (perspective) and stays plain where it has
   none (the privacy notice). Each article sets its number or date in a narrow
   left column and its text in the reading column. */
.page-top { padding-top: calc(var(--head-h) + clamp(64px, 9vw, 128px)); }
.page-top::after {
  background:
    linear-gradient(180deg, rgba(23, 19, 15, 0.55) 0, rgba(23, 19, 15, 0) 30%),
    linear-gradient(90deg, rgba(23, 19, 15, 0.92) 0%, rgba(23, 19, 15, 0.72) 50%, rgba(23, 19, 15, 0.34) 100%),
    linear-gradient(0deg, rgba(23, 19, 15, 0.95) 0%, rgba(23, 19, 15, 0) 44%);
}
.page-top h1 {
  max-width: 17em; color: var(--ivory);
  font-weight: 480; font-size: clamp(32px, 4.3vw, 62px); line-height: 1.07; letter-spacing: -0.014em;
}
.page-top h1 em { font-style: italic; font-weight: 420; color: var(--brass-d); }   /* the page's one coloured word */
.page-top .kicker { margin-bottom: 14px; color: rgba(232, 227, 214, 0.8); }

.lede-row, .essay {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 10px var(--col-gap);
}
.lede { grid-column: 2; padding-bottom: clamp(34px, 4.4vw, 58px); }
.lede p { margin: 0 0 16px; max-width: 33em; font-size: clamp(19px, 1.65vw, 22px); line-height: 1.55; color: var(--text-1); }
.lede p:last-child { margin-bottom: 0; }
.essay {
  padding: clamp(34px, 4.4vw, 58px) 0; border-top: 1px solid var(--rule);
  scroll-margin-top: calc(var(--head-h) + 12px);
}
.essay:last-child { padding-bottom: 0; }
.essay-meta { padding-top: 9px; font-family: var(--mono); font-size: 13px; line-height: 1.75; letter-spacing: 0.02em; color: var(--text-3); }
.essay-meta .num { margin-right: 6px; color: var(--accent); }
.sheet .essay h2 { margin: 0 0 20px; font-weight: 520; font-size: clamp(25px, 2.5vw, 35px); line-height: 1.15; letter-spacing: -0.01em; }
.essay .body a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; overflow-wrap: anywhere; }
.essay .body a:hover { text-decoration-thickness: 2px; }
header.site nav a[aria-current="page"], header.site nav a[aria-current="true"] { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; }

/* =========== CONTACT: the inquiry form on the last sheet =========== */
.inquiry-note { margin: 22px 0 0; max-width: 23em; font-size: 16.5px; line-height: 1.55; color: var(--text-3); }
.inquiry { max-width: 640px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { margin-bottom: 24px; }
.frow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 24px; }
.flabel { display: block; margin-bottom: 8px; font-size: 16px; line-height: 1.3; font-weight: 600; color: var(--text); }
.flabel .opt { margin-left: 4px; font-weight: 400; font-style: italic; color: var(--text-3); }
.inquiry input[type="text"],
.inquiry input[type="email"],
.inquiry select,
.inquiry textarea {
  width: 100%; font: 400 18px/1.4 var(--serif); color: var(--text);
  background: #fff; border: 1px solid var(--rule-strong); border-radius: 2px;
  padding: 11px 13px;
  transition: border-color 200ms var(--ease);
}
.inquiry textarea { resize: vertical; line-height: 1.55; }
.inquiry input::placeholder, .inquiry textarea::placeholder { color: var(--text-5); }
.inquiry input:hover, .inquiry select:hover, .inquiry textarea:hover { border-color: var(--text-4); }
.inquiry input:focus, .inquiry select:focus, .inquiry textarea:focus { border-color: var(--focus); }
.inquiry select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 36px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%231a1713' stroke-width='1.4'/></svg>");
  background-repeat: no-repeat; background-position: right 13px center;
}
.seg { display: flex; flex-wrap: wrap; gap: 10px; }
.seg label { position: relative; cursor: pointer; font-size: 16.5px; line-height: 1.2; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span {
  display: block; padding: 10px 18px 11px;
  background: #fff; border: 1px solid var(--rule-strong); border-radius: 2px; color: var(--text-2);
  transition: color 200ms var(--ease), border-color 200ms var(--ease), background 200ms var(--ease);
}
.seg label:hover span { color: var(--text); border-color: var(--text-4); }
.seg input:checked + span { color: var(--card); background: var(--soot); border-color: var(--soot); font-weight: 600; }
.seg input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.inquiry-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 30px; }
.submit {
  border: 0; border-radius: 2px; cursor: pointer;
  font: 600 17px/1.2 var(--serif); padding: 14px 26px 15px;
  background: var(--soot); color: var(--ivory);
  transition: background 200ms ease, opacity 200ms ease;
}
.submit:hover { background: #2e271e; }
.submit:disabled { opacity: 0.5; cursor: default; }
.inquiry-status { margin: 0; font-size: 16px; line-height: 1.45; color: var(--text-3); }
.inquiry-status.ok { color: var(--a-impl); }
.inquiry-status.err { color: var(--a-comm); }

/* =========== FOOTER =========== */
footer.site {
  padding: clamp(48px, 6vw, 78px) 0 34px;
  border-top: 1px solid rgba(232, 227, 214, 0.1);
  font-size: 15px; line-height: 1.6; color: rgba(232, 227, 214, 0.72);
}
footer.site > .wrap {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 34px 44px;
}
.foot-brand .logo { height: 34px; color: var(--ivory); }
.foot-brand p { margin: 16px 0 0; font-style: italic; font-size: 17px; color: rgba(232, 227, 214, 0.84); }
footer.site h4 { margin: 0 0 8px; font-size: 15px; line-height: 1.6; font-weight: 600; color: var(--ivory); }
footer.site p { margin: 0 0 3px; }
footer.site a { color: var(--brass-d); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
footer.site a:hover { text-decoration-thickness: 2px; }
footer.site .copy {
  grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid rgba(232, 227, 214, 0.1);
  font-size: 14px; color: rgba(232, 227, 214, 0.58);
}

/* On a wide screen the heading of a long split stays in view while its column is read. */
@media (min-width: 1025px) {
  #approach .split > h2, .contact .split > div:first-child { position: sticky; top: calc(var(--head-h) + 36px); }
}

/* =========== VIEW TRANSITIONS (between the site's pages) =========== */
::view-transition-old(root),
::view-transition-new(root) { animation-duration: 480ms; animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes vt-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes vt-fade-out { to { opacity: 0; } }
::view-transition-old(root) { animation-name: vt-fade-out; }
::view-transition-new(root) { animation-name: vt-fade-in; }

/* =========== NARROWER SCREENS =========== */
/* The menu needs about 1,150px beside the logo and the switch. Between there and
   960px it tightens; below that it goes, and the logo and the switch stay. */
@media (max-width: 1180px) {
  header.site > .wrap { gap: 20px; }
  header.site nav { gap: 18px; font-size: 14.5px; }
  .logo { height: 28px; }
}
@media (max-width: 1024px) {
  header.site nav { display: none; }
  .split, .paths .split, .path-head { grid-template-columns: minmax(0, 1fr); }
  .path-lead { grid-column: 1; grid-row: auto; margin-bottom: 26px; order: -1; }
  .path-eyebrow, .path-panel .path-h { order: -2; }
  .eng-item {
    grid-template-columns: minmax(0, 1fr); grid-template-rows: none;
    grid-template-areas: "title" "status" "text" "shot";
  }
  .eng-item > p { margin-top: 14px; }
  .eng-item.shot { grid-template-areas: "title" "status" "shot" "text"; padding: 36px 0 40px; }
  .eng-shot { margin-top: 20px; }
  .eng-item.shot > p { margin-top: 22px; }
  .pay-grid { grid-template-columns: minmax(0, 1fr); }
  .pay-tabs { position: static; grid-row: auto; margin-bottom: 34px; }
  .pay-panel, .pay-foot { grid-column: 1; }
  .strength { grid-template-columns: minmax(0, 1fr); }
  .strength p, .strength .textlink { grid-column: 1; }
  .strength p { margin-top: 8px; }
  .stage-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .lede-row, .essay { grid-template-columns: minmax(0, 1fr); }
  .lede { grid-column: 1; }
  .essay-meta { padding-top: 0; }
  .essay-meta > div { display: inline; margin-right: 14px; }
  footer.site > .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
}
/* Below 900px seven columns no longer hold the arc: it becomes a numbered list. */
@media (max-width: 900px) {
  .audiences { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .arc-rail { grid-template-columns: minmax(0, 1fr); }
  .arc-step { grid-column: auto !important; padding: 14px 0 14px 0; }
  .arc-step h3 { min-height: 0; }
  .arc-step p { margin-bottom: 8px; }
  .paths:has([role="tablist"]) ~ .arc .arc-rail:not([data-active]) .arc-step {
    flex-direction: row; align-items: baseline; gap: 14px; padding: 11px 0;
  }
  .paths:has([role="tablist"]) ~ .arc .arc-rail:not([data-active]) .arc-n { margin: 0; min-width: 1.7em; }
}
@media (max-width: 767px) {
  :root { --head-h: 64px; --lap: 96px; }
  body { font-size: 17px; }
  header.site > .wrap { gap: 14px; }
  .logo { height: 26px; }
  .mode-switch { font-size: 13.5px; margin-left: auto; }
  .mode-switch a { padding: 8px 11px 9px; }
  header.site .brand { padding: 8px 0; }
  /* text links that stand alone get a taller touch area */
  .stage-link, .strength .textlink, .pair-col .textlink { display: inline-block; padding: 6px 0; }
  /* On a phone the three stages take the whole bar. */
  .path-sticky.show {
    position: absolute; inset: 0; display: flex; align-items: center;
    padding: 0 var(--gutter); background: var(--coffee); overflow-x: auto;
  }
  .path-sticky-tabs { width: 100%; justify-content: space-between; gap: 2px; }
  .ps-tab { padding: 9px 4px 8px; font-size: 14px; }
  .ps-tab span { display: none; }

  .hero { padding-top: calc(var(--head-h) + 40px); }
  .acts { margin-top: 30px; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .paths-tabs { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 30px; }
  .path-tab .path-q { margin: 6px 0 4px; }
  .quote { min-height: 0; padding-top: 110px; }
  .sig-grid { grid-template-columns: minmax(0, 1fr); }
  .sector-grid, .pair-cols, .frow, .rules { grid-template-columns: minmax(0, 1fr); }
  .persp-item { grid-template-columns: minmax(0, 1fr); row-gap: 4px; }
  /* long reading on a narrow column: a little smaller, so a line holds more words */
  .essay .body p { font-size: 17.5px; line-height: 1.6; }
  .lede p { font-size: 18.5px; }
  footer.site > .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* =========== REDUCED MOTION ===========
   main.v7.js gates view transitions; everything CSS-driven stops here. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .land > .land-img, .hero > .land-img, .rise, .path-panel, .path-sticky.show { animation: none; }
  .draw { animation: none; }
  .path-tab, .path-tab::after, .persp-item, header.site { transition: none; }
}

/* =========== PERSPECTIVE: the index and the piece pages ===========
   Added in v11 (13 Nov 2026). perspective.html lists every piece:
   its type, date and reading time in the narrow left column, its title and one
   line in the reading column; the whole row is the link. Each piece has its own
   page in perspective/, made from _templates/perspective-piece.html, with the
   same two columns. Nothing here is new design: the rows reuse the text pages'
   grid (.essay) and the home page's list manners (a faint underline that darkens). */

/* The type of a piece ("Essay", "Note") is a word, so it is set in the serif; the
   figures under it stay in mono. */
.essay-meta .type {
  font-family: var(--serif); font-style: italic; font-size: 16.5px; line-height: 1.6;
  letter-spacing: 0; color: var(--accent);
}

/* The left column stands on the baseline of the title beside it (on the index) or of
   the first line of the text (on a piece's page), whatever size the title has. */
.piece, .piece-page > .essay:first-child { align-items: baseline; }
.piece .essay-meta, .piece-page > .essay:first-child .essay-meta { padding-top: 0; }

/* The index: one row per piece. */
.piece { position: relative; padding: clamp(28px, 3.4vw, 44px) 0; }
.sheet .piece h2 { margin: 0 0 10px; }
.piece h2 a {
  text-decoration: underline; text-decoration-color: var(--rule-strong);
  text-decoration-thickness: 1px; text-underline-offset: 6px;
}
.piece h2 a::after { content: ""; position: absolute; inset: 0; }   /* the whole row is the link */
.piece:hover h2 a, .piece h2 a:focus-visible { text-decoration-color: currentColor; }
.piece .body p { margin: 0; color: var(--text-2); }

/* A piece's own page: the article starts the sheet, and the last row leads back. */
.piece-page > .essay:first-child { border-top: 0; padding-top: 0; }
.piece-foot { padding: 26px 0 0; }
.piece-foot p { margin: 0; font-size: 17px; }
.page-top .kicker a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.page-top .kicker a:hover { color: #fff; }

/* The home page's short list ends with the way to all pieces. */
.persp-all { margin: 26px 0 0; font-size: 17px; }
