@import url('https://fonts.googleapis.com/css2?family=Cedarville+Cursive&display=swap');
/* =====================================================================
   THE BISI CODE — design system (Agent A)
   Archival collage on a dark ground. Paper, ink, six index-tab colours.
   ===================================================================== */

:root {
  /* === MOODBOARD palette (official, 17 Nov) — shared tokens === */
  --cream: #F1ECE2; --card: #F7F3EB; --ink: #1A1A1A; --muted: #5E5850;
  --pink: #F2B8C6; --yellow: #F5C518; --orange: #F07A1F; --green: #0F3D2E; --black: #161616;
  --sage: #7FB3A3; --coral: #E86A5A;
  --line: rgba(26,26,26,.14);
  /* ground + paper (light cream theme) */
  --ground: var(--cream);
  --ground-2: #E9E2D5;
  --ground-3: #DED6C7;
  --line-strong: rgba(26,26,26,.28);
  --paper: #EADBC8;
  --paper-2: #E9DFCF;
  --paper-3: #F3EBDD;
  --grey-paper: #E8E3DA;
  --ink-2: var(--muted);
  --ink-soft: rgba(26,26,26,.7);
  --text: var(--ink);
  --text-dim: var(--muted);
  --text-faint: rgba(26,26,26,.5);
  --hi: var(--ink);
  --field: rgba(255,255,255,.55);

  /* six areas, re-mapped to the moodboard palette (keys unchanged) */
  --a-ideology: var(--orange);
  --a-structure: var(--pink);
  --a-culture: var(--yellow);
  --a-governance: var(--sage);
  --a-funding: var(--green);
  --a-impact: var(--coral);

  /* type */
  --f-display: "Instrument Serif", "Times New Roman", serif;
  --f-head: "Inter Tight", "Inter", system-ui, sans-serif;
  --f-ui: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --f-body: "Fraunces", "Instrument Serif", Georgia, serif;

  /* spacing scale */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  --r-1: 4px; --r-2: 8px; --r-3: 14px; --r-pill: 999px;
  --nav-h: 64px;
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --paper-grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='p'><feTurbulence type='fractalNoise' baseFrequency='.6' numOctaves='4' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .35  0 0 0 0 .25  0 0 0 0 .15  0 0 0 .22 0'/></filter><rect width='100%' height='100%' filter='url(%23p)'/></svg>");
  --torn: polygon(0.0% 2.3px, 2.94% 1.1px, 5.88% 4.6px, 8.82% 0.5px, 11.76% 3.8px, 14.71% 2.6px, 17.65% 0.4px, 20.59% 3.6px, 23.53% 0.3px, 26.47% 3.0px, 29.41% 0.5px, 32.35% 0.6px, 35.29% 3.0px, 38.24% 5.8px, 41.18% 0.9px, 44.12% 1.6px, 47.06% 4.4px, 50.0% 6.6px, 52.94% 4.0px, 55.88% 2.8px, 58.82% 6.8px, 61.76% 0.3px, 64.71% 6.0px, 67.65% 2.0px, 70.59% 1.0px, 73.53% 0.8px, 76.47% 2.2px, 79.41% 5.7px, 82.35% 1.3px, 85.29% 4.1px, 88.24% 4.5px, 91.18% 2.6px, 94.12% 3.8px, 97.06% 0.4px, 100.0% 0.4px, 100.0% calc(100% - 1.4px), 97.06% calc(100% - 4.8px), 94.12% calc(100% - 3.0px), 91.18% calc(100% - 2.2px), 88.24% calc(100% - 4.1px), 85.29% calc(100% - 3.2px), 82.35% calc(100% - 2.1px), 79.41% calc(100% - 5.6px), 76.47% calc(100% - 4.9px), 73.53% calc(100% - 1.7px), 70.59% calc(100% - 4.0px), 67.65% calc(100% - 3.7px), 64.71% calc(100% - 6.1px), 61.76% calc(100% - 5.1px), 58.82% calc(100% - 2.0px), 55.88% calc(100% - 6.9px), 52.94% calc(100% - 0.8px), 50.0% calc(100% - 2.9px), 47.06% calc(100% - 5.3px), 44.12% calc(100% - 1.1px), 41.18% calc(100% - 3.4px), 38.24% calc(100% - 0.3px), 35.29% calc(100% - 4.7px), 32.35% calc(100% - 5.4px), 29.41% calc(100% - 4.0px), 26.47% calc(100% - 6.1px), 23.53% calc(100% - 2.2px), 20.59% calc(100% - 4.9px), 17.65% calc(100% - 4.2px), 14.71% calc(100% - 4.1px), 11.76% calc(100% - 3.2px), 8.82% calc(100% - 5.9px), 5.88% calc(100% - 6.6px), 2.94% calc(100% - 3.3px), 0.0% calc(100% - 4.6px));
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--ground);
  color: var(--text);
  font-family: var(--f-ui);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}
body::before { /* global film grain */
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: var(--grain); opacity: .07; mix-blend-mode: multiply;
}
#view, #footer { position: relative; z-index: 1; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; background: var(--paper); color: var(--ink); border-radius: var(--r-pill); text-decoration: none; font-size: 14px; }
.skip:focus { top: 10px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--hi); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--a-culture); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--a-culture); color: var(--ink); }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s-7) 0; }

h1, h2, h3, .display {
  font-family: var(--f-head); font-weight: 800; line-height: 1;
  letter-spacing: -.035em; margin: 0 0 var(--s-4);
}
h3 { font-weight: 700; letter-spacing: -.02em; }
h1 em, h2 em, h3 em, .display em { font-family: var(--f-display); font-weight: 400; letter-spacing: -.01em; }
h1 { font-size: clamp(42px, 7vw, 96px); }
h2 { font-size: clamp(32px, 4.4vw, 58px); }
h3 { font-size: clamp(24px, 3vw, 34px); }
h4 { font-family: var(--f-ui); font-size: 15px; font-weight: 600; margin: 0 0 var(--s-2); letter-spacing: .01em; }
em, .it { font-style: italic; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--hi); }
p { margin: 0 0 var(--s-4); }
.lede { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--text-dim); max-width: 60ch; }
.dim { color: var(--text-dim); }
.faint { color: var(--text-faint); }
.serif { font-family: var(--f-display); }
.body-serif { font-family: var(--f-body); }

.meta, .mono {
  font-family: var(--f-mono); font-size: 11px; line-height: 1.4;
  letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint);
}
.meta b, .meta strong { color: var(--text-dim); font-weight: 500; }
.kicker { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-dim); display: inline-flex; gap: 10px; align-items: center; margin-bottom: var(--s-4); }
.kicker::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .6; }

/* ---------- layout ---------- */
#view, main { display: block; min-height: calc(100vh - var(--nav-h)); padding-top: var(--nav-h); outline: none; }
#view.enter { animation: bc-fade .5s var(--ease) both; }
.boot { min-height: 60vh; display: flex; align-items: center; justify-content: center; }
.boot .meta { animation: bc-pulse 1.4s ease-in-out infinite; }
@keyframes bc-pulse { 50% { opacity: .35; } }
.page { display: block; }
@keyframes bc-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes bc-settle { from { opacity: 0; transform: translateY(-14px) rotate(calc(var(--rot, 0deg) * 3)); } to { opacity: 1; transform: rotate(var(--rot, 0deg)); } }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s-5); }
.wrap-narrow { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 var(--s-5); }
.section { padding: var(--s-9) 0; position: relative; }
.section-tight { padding: var(--s-7) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section.light, .light {
  background: var(--grey-paper); color: var(--ink);
  background-image: var(--paper-grain);
}
.light .meta, .light .mono { color: rgba(27,23,18,.55); }
.light .meta b { color: var(--ink); }
.light .lede, .light .dim { color: var(--ink-2); }
.light h1 em, .light h2 em, .light h3 em { color: var(--ink); }
.light a:hover { color: var(--ink); }
.light .kicker { color: var(--ink-2); }

.grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid-2 { display: grid; gap: var(--s-6); grid-template-columns: 1fr; }
.grid-3 { display: grid; gap: var(--s-5); grid-template-columns: 1fr; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.masonry { column-gap: var(--s-5); columns: 1; }
.masonry > * { break-inside: avoid; margin-bottom: var(--s-6); display: block; }
@media (min-width: 620px) { .masonry { columns: 2; } }
@media (min-width: 980px) { .masonry { columns: 3; } }
.row { display: flex; gap: var(--s-3); align-items: center; flex-wrap: wrap; }
.stack > * + * { margin-top: var(--s-4); }
.spacer { flex: 1; }
.center { text-align: center; }
.hide-sm { display: none; }
@media (min-width: 760px) { .hide-sm { display: initial; } .hide-lg { display: none; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons / inputs / chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: var(--r-pill);
  border: 1px solid var(--line-strong); background: transparent; color: var(--text);
  font-family: var(--f-ui); font-size: 15px; font-weight: 500; letter-spacing: .005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { border-color: var(--hi); color: var(--hi); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn.is-disabled { opacity: .4; pointer-events: none; }
.btn-primary {
  background: var(--ink); color: var(--cream); border-color: var(--ink);
  border-radius: 6px;
  box-shadow: 0 10px 24px -14px rgba(26,26,26,.6);
}
.btn-primary:hover { background-color: #000; color: var(--cream); border-color: #000; box-shadow: 0 16px 30px -14px rgba(26,26,26,.7); }
.btn-lg { min-height: 56px; padding: 14px 30px; font-size: 17px; }
.btn-sm { min-height: 34px; padding: 6px 14px; font-size: 13px; }
.btn-ghost { border-color: transparent; color: var(--text-dim); padding-left: 10px; padding-right: 10px; }
.btn-ghost:hover { border-color: transparent; color: var(--hi); }
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.light .btn { color: var(--ink); border-color: rgba(27,23,18,.3); }
.light .btn:hover { border-color: var(--ink); color: var(--ink); }
.light .btn-primary { background: var(--ink); color: var(--paper); border-color: var(--ink); background-image: none; }
.light .btn-primary:hover { color: var(--cream); }

.input, input[type=text], input[type=search], input[type=email], textarea, select {
  width: 100%; min-height: 46px; padding: 11px 16px;
  background: var(--field); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: var(--r-2);
  font-family: var(--f-ui); font-size: 16px; line-height: 1.4;
  transition: border-color .2s, background .2s;
}
textarea { min-height: 110px; resize: vertical; }
.input::placeholder, input::placeholder, textarea::placeholder { color: var(--text-faint); }
.input:focus, input:focus, textarea:focus, select:focus { outline: none; border-color: var(--hi); background: var(--field); }
label, .label { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 6px; }
.light .input, .light input, .light textarea { background: rgba(255,255,255,.5); color: var(--ink); border-color: rgba(27,23,18,.25); }

.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; min-height: 30px;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-dim); background: transparent; cursor: pointer; text-decoration: none;
}
.chip:hover, .chip.on, .chip[aria-pressed="true"] { border-color: var(--hi); color: var(--ground); background: var(--hi); }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; background: var(--c, var(--paper)); }

/* coloured index-tab chips (folder tab) */
.area-tab, .area-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px 4px; min-height: 26px;
  background: var(--c, var(--paper)); color: #fff;
  font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  border-radius: 8px 8px 0 0;
  clip-path: polygon(7px 0, calc(100% - 7px) 0, 100% 100%, 0 100%);
  padding-left: 16px; padding-right: 16px;
  text-decoration: none; line-height: 1.2; white-space: nowrap;
}
.area-tab.dark-ink, .area-chip.dark-ink { color: var(--ink); }
.area-tab[data-area="culture"], .area-tab[data-area="impact"] { color: var(--ink); }
.area-tab[data-area="Ideology"], .area-chip[data-area="Ideology"], .area-tab.a-ideology { --c: var(--a-ideology); color: #fff; }
.area-tab[data-area="Physical or Non-physical Structure"], .area-chip[data-area="Physical or Non-physical Structure"], .area-tab.a-structure { --c: var(--a-structure); color: #fff; }
.area-tab[data-area="Culture"], .area-chip[data-area="Culture"], .area-tab.a-culture { --c: var(--a-culture); color: var(--ink); }
.area-tab[data-area="Structure & Governance"], .area-chip[data-area="Structure & Governance"], .area-tab.a-governance { --c: var(--a-governance); color: #fff; }
.area-tab[data-area="Funding & Sustenance"], .area-chip[data-area="Funding & Sustenance"], .area-tab.a-funding { --c: var(--a-funding); color: #fff; }
.area-tab[data-area="Impact"], .area-chip[data-area="Impact"], .area-tab.a-impact { --c: var(--a-impact); color: var(--ink); }

/* ---------- nav ---------- */
#nav, .nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(241,236,226,.86);
  -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.nav-inner { height: 100%; display: flex; align-items: center; gap: var(--s-5); max-width: 1440px; margin: 0 auto; padding: 0 var(--s-5); }
.logo {
  font-family: var(--f-head); font-weight: 800; font-size: 20px; letter-spacing: -.03em; line-height: 1;
  text-decoration: none; color: var(--hi); white-space: nowrap; display: inline-flex; align-items: baseline; gap: 6px;
}
.logo i { font-style: normal; }
.logo:hover { color: var(--hi); }
.nav-links { display: none; margin-left: auto; align-items: center; gap: 2px; list-style: none; padding: 0; }
.nav-links a {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 11px; border-radius: var(--r-pill);
  font-size: 14px; color: var(--text-dim); text-decoration: none; white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: rgba(26,26,26,.05); }
.nav-links a.active { color: var(--ink); background: transparent; box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
.nav-links a.nav-create { color: var(--hi); border: 1px solid var(--line-strong); }

.badge {
  display: inline-flex; align-items: center; justify-content: center; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 10px; background: var(--a-culture); color: var(--ink);
  font-family: var(--f-mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0;
}
.badge[hidden] { display: none; }
.nav-burger {
  margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%;
  background: transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; position: relative;
}
.nav-burger span, .nav-burger span::before, .nav-burger span::after { content: ""; display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: transform .25s var(--ease), opacity .2s; }
.nav-burger span::before { position: absolute; top: -6px; }
.nav-burger span::after { position: absolute; top: 6px; }
.nav-open .nav-burger span { background: transparent; }
.nav-open .nav-burger span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-burger span::after { transform: translateY(-6px) rotate(-45deg); }
.nav-burger .badge { position: absolute; top: -4px; right: -4px; }
.nav-drawer {
  position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; z-index: 99;
  background: var(--ground); background-image: var(--grain);
  padding: var(--s-6) var(--s-5) var(--s-8); overflow-y: auto;
  transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.nav-open .nav-drawer { opacity: 1; transform: none; visibility: visible; }
.nav-drawer a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-family: var(--f-head); font-weight: 800; letter-spacing: -.03em; font-size: 32px; line-height: 1.1; text-decoration: none; color: var(--hi);
}
.nav-drawer a.active { font-style: italic; }
.nav-drawer a .meta { font-size: 10px; }
.nav-drawer .btn { margin-top: var(--s-6); width: 100%; }
@media (min-width: 1080px) {
  .nav-links { display: flex; }
  .nav-burger, .nav-drawer { display: none; }
}

/* ---------- footer ---------- */
#footer, .footer { border-top: 1px solid var(--line); margin-top: var(--s-9); padding: var(--s-8) 0 var(--s-6); color: var(--text-dim); font-size: 14px; }
.footer-grid { display: grid; gap: var(--s-6); grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer .logo, #footer .logo { font-size: 30px; margin-bottom: var(--s-3); }
.footer ul, #footer ul { list-style: none; margin: 0; padding: 0; }
.footer li a, #footer li a { display: inline-block; padding: 4px 0; text-decoration: none; color: var(--text-dim); }
.footer li a:hover, #footer li a:hover { color: var(--hi); }
.footer-base { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); justify-content: space-between; margin-top: var(--s-7); padding-top: var(--s-4); border-top: 1px solid var(--line); }

/* =====================================================================
   FRAGMENT STRIP — torn paper
   ===================================================================== */
.strip {
  --rot: 0deg;
  position: relative; isolation: isolate; display: block;
  color: var(--ink); padding: 20px 22px 16px;
  transform: rotate(var(--rot));
  filter: drop-shadow(0 8px 12px rgba(60,40,20,.22)) drop-shadow(0 1px 1px rgba(60,40,20,.2));
  transition: transform .3s var(--ease), filter .3s var(--ease);
  animation: bc-settle .55s var(--ease) both;
  text-align: left;
}
.strip::before { /* torn paper body */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-color: var(--paper);
  background-image: linear-gradient(176deg, rgba(255,255,255,.14), rgba(120,90,50,.08)), url("../assets/paper.webp"), var(--paper-grain);
  background-size: auto, 600px 600px, auto;
  clip-path: var(--torn);
}
.strip-meta::before { content: ""; width: 14px; height: 4px; border-radius: 1px; background: var(--ac, transparent); flex: none; }
.strip.img .strip-meta::before { display: none; }
.strip:nth-child(3n+2)::before { background-color: var(--paper-2); }
.strip:nth-child(5n+3)::before { background-color: #E6D4BC; }
@media (hover: hover) and (pointer: fine) { .strip:hover { transform: rotate(0deg) translateY(-3px); filter: drop-shadow(0 16px 22px rgba(0,0,0,.5)) drop-shadow(0 1px 1px rgba(0,0,0,.35)); z-index: 3; } }
.strip a { color: inherit; }
.strip a:hover { color: var(--ink); }
.strip-text, .strip .text, .strip blockquote, .strip q {
  display: block; margin: 0; quotes: none;
  font-size: 19px; line-height: 1.38; color: var(--ink);
  overflow-wrap: anywhere;
}
.strip.compact { padding: 14px 16px 12px; }
.strip.compact .strip-text, .strip.compact .text { font-size: 16px; }
.strip-meta, .strip .meta, .strip .cite, .strip-cite {
  display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center;
  margin-top: 10px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(27,23,18,.6);
}
.strip-actions, .strip .actions {
  display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; padding-top: 10px;
  border-top: 1px dashed rgba(27,23,18,.22);
}
.strip-actions button, .strip-actions a, .strip .actions button, .strip .actions a, .strip .strip-btn {
  display: inline-flex; align-items: center; gap: 4px; min-height: 30px; padding: 4px 11px;
  border: 1px solid rgba(27,23,18,.35); border-radius: var(--r-pill); background: transparent;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; cursor: pointer; transition: background .15s, color .15s;
}
.strip-actions button:hover, .strip-actions a:hover, .strip .actions button:hover, .strip .actions a:hover { background: var(--ink); color: var(--paper); }
.strip.in-basket::before { background-color: #F4E3B5; }
.strip.in-basket { filter: drop-shadow(0 0 0 transparent) drop-shadow(0 10px 18px rgba(0,0,0,.5)); }
.strip.in-basket::after {
  content: "✓ in your selection"; position: absolute; top: -10px; right: 14px;
  background: var(--a-culture); color: var(--ink); padding: 3px 9px; border-radius: 3px;
  font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase;
  transform: rotate(2deg);
}
.strip.in-basket [data-act="basket"] { background: var(--ink); color: var(--paper); }

/* image strip: the archivist's PNG/webp strip with transparent bg */
.strip.img, .strip.is-img { padding: 0; filter: drop-shadow(0 8px 12px rgba(0,0,0,.45)); }
.strip.img::before, .strip.is-img::before { display: none; }
.strip.img img, .strip.is-img img { display: block; width: 100%; max-width: 100%; height: auto; }
.strip.img .strip-meta, .strip.img .strip-actions, .strip.is-img .strip-meta, .strip.is-img .strip-actions {
  background: transparent; padding: 0 6px; margin-top: 8px; border-top: 0; color: var(--text-faint);
}
.strip.img .strip-btn { color: var(--text); border-color: var(--line-strong); }
.strip.img .strip-btn:hover { background: var(--ink); color: var(--cream); }
.strip.img.in-basket [data-act="basket"] { background: var(--a-culture); color: var(--ink); border-color: var(--a-culture); }
.strip.img.in-basket img { filter: sepia(.25) saturate(1.2); }
.collage .strip.img .strip-meta { display: none; }

.strip-ref { font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; }

/* ---------- proposition typography ---------- */
.proposition, .prop-text {
  font-family: var(--f-body); font-size: clamp(20px, 2.4vw, 28px); line-height: 1.5; color: var(--ink);
  font-variation-settings: "opsz" 48;
}
.p-archive {
  font-family: var(--f-body); font-style: normal; color: var(--ink);
  background: linear-gradient(transparent 12%, rgba(234,219,200,.95) 12%, rgba(226,208,180,.95) 92%, transparent 92%);
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
  padding: 0 .12em; border-radius: 1px;
  box-shadow: inset 0 -1px 0 rgba(27,23,18,.12);
}
.p-archive sup, .p-archive .ref {
  font-family: var(--f-mono); font-size: .42em; letter-spacing: .06em; vertical-align: super;
  color: rgba(27,23,18,.55); margin-left: 2px; text-decoration: none;
}
.p-archive sup a { color: inherit; text-decoration: none; }
.p-archive sup a:hover { text-decoration: underline; }
.p-sources { margin: var(--s-5) 0 0; padding-left: 1.4em; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; line-height: 1.6; color: inherit; opacity: .75; }
.p-sources a { text-decoration: none; }
.p-sources a:hover { text-decoration: underline; }
.p-own { font-family: var(--f-ui); font-style: italic; font-weight: 400; color: var(--ink); opacity: .75; }
/* on dark ground */
.on-dark .proposition, .on-dark .prop-text { color: var(--text); }
.on-dark .p-own { color: var(--paper); }
.on-dark .p-archive { color: var(--ink); }

/* ---------- toast / modal ---------- */
.toast, .bc-toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 300;
  background: var(--ink); color: var(--cream);
  padding: 12px 20px; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 500; box-shadow: 0 18px 40px -12px rgba(0,0,0,.7);
  max-width: calc(100vw - 32px); text-align: center;
  opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: opacity .25s, transform .3s var(--ease);
}
.toast.show, .bc-toast.show { opacity: 1; transform: translate(-50%, 0); }
body.has-basket-bar .toast { bottom: 96px; }
@keyframes bc-toast { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }
.modal, .bc-modal {
  position: fixed; inset: 0; z-index: 250; display: flex; align-items: center; justify-content: center;
  padding: var(--s-4);
  opacity: 0; transition: opacity .25s var(--ease);
}
.modal.open { opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10,9,8,.74); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal .modal-card { transform: translateY(12px) scale(.98); transition: transform .3s var(--ease); }
.modal.open .modal-card { transform: none; }
.modal-box, .modal-card, .bc-modal-box, .modal > .box {
  position: relative; width: 100%; max-width: 620px; max-height: calc(100vh - 32px); overflow: auto;
  background: var(--paper); color: var(--ink); background-image: var(--paper-grain);
  border-radius: var(--r-2); padding: var(--s-6) var(--s-5);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.8);
}
.modal-box h2, .modal-box h3, .modal-card h2, .modal-card h3 { color: var(--ink); }
.modal-x, .modal-close, .bc-modal-close {
  position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(27,23,18,.25); background: transparent; color: var(--ink); cursor: pointer; font-size: 20px; line-height: 1;
}
.modal .btn, .bc-modal .btn { color: var(--ink); border-color: rgba(27,23,18,.3); }
.modal .btn-primary, .bc-modal .btn-primary { background: var(--ink); color: var(--paper); border-color: var(--ink); background-image: none; }

/* =====================================================================
   PAGES (Agent A: home / about / archive / fragment / credits)
   ===================================================================== */

/* ---------- home hero collage ---------- */
.hero { position: relative; padding: var(--s-6) 0 var(--s-8); overflow: hidden; }
.hero-grid { display: grid; gap: var(--s-6); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: var(--s-7); min-height: calc(100vh - var(--nav-h) - 64px); } }
.hero h1 { font-size: clamp(52px, 9vw, 124px); line-height: .92; margin-bottom: var(--s-5); }
.hero h1 em { display: block; }
.hero .lede { margin-bottom: var(--s-6); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.hero-note { margin-top: var(--s-5); }
.collage { position: relative; min-height: 460px; }
@media (min-width: 980px) { .collage { min-height: 620px; } }
.collage .c-item {
  position: absolute; display: block; width: var(--w, 62%); left: var(--x, 0); top: var(--y, 0);
  transform: rotate(var(--crot, 0deg)); text-decoration: none; color: var(--ink);
}
.collage .c-item .strip { animation-delay: var(--d, 0s); }
.collage .strip-text { font-size: clamp(17px, 1.7vw, 22px); }
.collage .strip.compact { padding: 18px 20px 14px; }
.collage .tape {
  position: absolute; z-index: 4; width: 74px; height: 22px; background: rgba(242,194,48,.55);
  transform: rotate(var(--tr, -8deg)); left: var(--tx); top: var(--ty);
  mix-blend-mode: multiply; pointer-events: none;
}
.collage .label-card {
  position: absolute; z-index: 5; right: 4%; bottom: 2%; padding: 10px 14px;
  background: var(--ink); border: 1px solid var(--line-strong); color: var(--text-dim);
  transform: rotate(-2deg);
}
@media (max-width: 979px) {
  .collage { min-height: 0; display: grid; gap: 18px; padding: 10px 6px 0; }
  .collage .c-item { position: relative; left: auto; top: auto; width: auto; margin-left: var(--mx, 0); margin-right: var(--mr, 0); }
  .collage .c-item:nth-child(n+6) { display: none; }
  .collage .tape, .collage .label-card { display: none; }
}

/* ---------- how it works ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0; border-top: 1px solid var(--line-strong); }
.steps li { padding: var(--s-5) var(--s-4) var(--s-5) 0; border-bottom: 1px solid var(--line); position: relative; }
.steps .n { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--text-faint); display: block; margin-bottom: var(--s-3); }
.steps .w { font-family: var(--f-display); font-size: 30px; line-height: 1; display: block; margin-bottom: var(--s-2); }
.steps .d { font-size: 13.5px; color: var(--text-dim); line-height: 1.45; }
@media (min-width: 980px) {
  .steps { grid-template-columns: repeat(7, 1fr); }
  .steps li { border-bottom: 0; border-right: 1px solid var(--line); padding: var(--s-5) var(--s-4); }
  .steps li:last-child { border-right: 0; }
  .steps li:first-child { padding-left: 0; }
}
.light .steps { border-color: rgba(27,23,18,.3); }
.light .steps li { border-color: rgba(27,23,18,.15); }
.light .steps .n, .light .steps .d { color: var(--ink-2); }

/* ---------- experiment teaser ---------- */
.teaser {
  display: grid; gap: var(--s-6); grid-template-columns: 1fr; align-items: center;
  padding: var(--s-7) var(--s-5); border: 1px solid var(--line-strong); border-radius: var(--r-3);
  background: var(--card);
}
@media (min-width: 860px) { .teaser { grid-template-columns: 1.3fr 1fr; padding: var(--s-8) var(--s-7); } }
.teaser h2 { margin-bottom: var(--s-3); }
.ticket {
  position: relative; background: var(--paper); color: var(--ink); background-image: var(--paper-grain);
  padding: var(--s-5); border-radius: 6px; transform: rotate(1.4deg);
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.8);
}
.ticket::before, .ticket::after { content: ""; position: absolute; top: 50%; width: 22px; height: 22px; border-radius: 50%; background: var(--ground-2); transform: translateY(-50%); }
.ticket::before { left: -11px; } .ticket::after { right: -11px; }
.ticket .big { font-family: var(--f-display); font-size: 46px; line-height: 1; }
.ticket .meta { color: rgba(27,23,18,.6); }
.ticket dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: var(--s-4) 0 0; font-size: 14px; }
.ticket dt { font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(27,23,18,.55); padding-top: 3px; }
.ticket dd { margin: 0; }

/* ---------- section heads ---------- */
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-7); }
.sec-head h2 { margin: 0; max-width: 18ch; }
.sec-head p { max-width: 46ch; margin: 0; color: var(--text-dim); }
.light .sec-head p { color: var(--ink-2); }

/* ---------- about (editorial) ---------- */
.about-hero { padding: var(--s-8) 0 var(--s-8); }
.about-hero h1 { max-width: 14ch; }
.editorial { display: grid; gap: var(--s-6); grid-template-columns: 1fr; }
@media (min-width: 900px) { .editorial { grid-template-columns: 220px minmax(0, 1fr); gap: var(--s-8); } }
.editorial .side { position: relative; }
@media (min-width: 900px) { .editorial .side .meta { position: sticky; top: calc(var(--nav-h) + 24px); } }
.prose { font-family: var(--f-body); font-size: clamp(18px, 1.6vw, 20px); line-height: 1.65; max-width: 64ch; }
.prose p { margin-bottom: 1.1em; }
.prose h3 { font-family: var(--f-display); margin-top: 1.4em; }
.prose strong { font-weight: 600; }
.pullquote { margin: var(--s-8) 0; padding: 0; border: 0; }
.pullquote q, .pullquote .q {
  display: block; quotes: none; font-family: var(--f-display); font-style: italic;
  font-size: clamp(34px, 5.2vw, 72px); line-height: 1.04; letter-spacing: -.01em; color: var(--hi);
  text-indent: -.4em;
}
.pullquote figcaption { margin-top: var(--s-5); font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); max-width: 70ch; line-height: 1.6; }
.pullquote figcaption a { color: var(--hi); }
.light .pullquote q, .light .pullquote .q { color: var(--ink); }
.light .pullquote figcaption { color: var(--ink-2); }
.light .pullquote figcaption a { color: var(--ink); }
.ideas { list-style: none; margin: 0; padding: 0; counter-reset: idea; }
.ideas li { display: grid; grid-template-columns: 56px 1fr; gap: var(--s-4); padding: var(--s-5) 0; border-top: 1px solid var(--line); }
.light .ideas li { border-color: rgba(27,23,18,.15); }
.ideas li::before { counter-increment: idea; content: "0" counter(idea); font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; padding-top: 10px; color: var(--text-faint); }
.light .ideas li::before { color: var(--ink-2); }
.ideas h3 { margin-bottom: 6px; }
.ideas p { margin: 0; color: var(--text-dim); max-width: 60ch; }
.light .ideas p { color: var(--ink-2); }
.team { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.team .person { border-top: 1px solid var(--line-strong); padding-top: var(--s-3); }
.team .person .name { font-family: var(--f-display); font-size: 26px; line-height: 1.1; }

/* ---------- archive ---------- */
.archive-head { padding: var(--s-7) 0 var(--s-5); }
.toolbar { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; margin: var(--s-6) 0 var(--s-6); }
.search { position: relative; flex: 1 1 280px; max-width: 520px; }
.search input { padding-left: 42px; border-radius: var(--r-pill); }
.search::before { content: ""; position: absolute; left: 16px; top: 50%; width: 13px; height: 13px; border: 1.5px solid var(--text-dim); border-radius: 50%; transform: translateY(-60%); pointer-events: none; }
.search::after { content: ""; position: absolute; left: 28px; top: 58%; width: 6px; height: 1.5px; background: var(--text-dim); transform: rotate(45deg); pointer-events: none; }
.count { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); }
.empty { padding: var(--s-8) var(--s-5); text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--r-3); color: var(--text-dim); }
.empty .serif { font-size: 32px; color: var(--hi); display: block; margin-bottom: 8px; }
.archive-grid { padding-bottom: var(--s-9); }
.archive-grid .strip { margin-bottom: var(--s-6); }

.basket-bar {
  position: fixed; left: 50%; bottom: 16px; z-index: 90; transform: translateX(-50%);
  width: calc(100% - 24px); max-width: 720px;
  display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; justify-content: space-between;
  padding: 10px 10px 10px 20px; border-radius: var(--r-pill);
  background: rgba(27,23,18,.94); border: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px -14px rgba(0,0,0,.85);
  animation: bc-toast .3s var(--ease) both;
}
.basket-bar[hidden] { display: none; }
.basket-bar .bb-text { font-size: 14px; color: var(--paper); }
.basket-bar .bb-text b { font-family: var(--f-display); font-size: 24px; font-weight: 400; margin-right: 4px; }
.basket-bar .bb-actions { display: flex; gap: 6px; align-items: center; }
@media (max-width: 480px) { .basket-bar { border-radius: var(--r-3); padding: 12px; } .basket-bar .bb-actions { width: 100%; } .basket-bar .bb-actions .btn-primary { flex: 1; } }

/* ---------- fragment page ---------- */
.frag-page { padding: var(--s-6) 0 var(--s-8); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-bottom: var(--s-6); }
.crumbs a { text-decoration: none; }
.frag-layout { display: grid; gap: var(--s-7); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .frag-layout { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--s-8); } }
.frag-stage { padding: var(--s-6) var(--s-3); }
.frag-stage .strip { padding: 34px 34px 26px; }
.frag-stage .strip-text, .frag-stage .text { font-size: clamp(22px, 2.6vw, 32px); line-height: 1.32; }
.frag-stage .strip.img { padding: 0; }
.frag-full { font-family: var(--f-body); font-size: 19px; line-height: 1.6; color: var(--text); margin: 0 0 var(--s-5); padding-left: var(--s-4); border-left: 2px solid var(--line-strong); }
.dl { display: grid; grid-template-columns: 120px 1fr; gap: 10px 18px; margin: 0 0 var(--s-6); padding: var(--s-5) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dl dt { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); padding-top: 3px; }
.dl dd { margin: 0; font-size: 15px; color: var(--text); }
@media (max-width: 480px) { .dl { grid-template-columns: 1fr; gap: 2px; } .dl dd { margin-bottom: 10px; } }
.context { font-size: 16px; color: var(--text-dim); }
.contrast-card { display: block; padding: var(--s-4) var(--s-5); border: 1px dashed var(--line-strong); border-radius: var(--r-2); text-decoration: none; margin: var(--s-5) 0; transition: border-color .2s, background .2s; }
.contrast-card:hover { border-color: var(--hi); background: rgba(26,26,26,.03); }
.contrast-card .t { font-family: var(--f-display); font-size: 22px; line-height: 1.2; color: var(--hi); display: block; margin-top: 6px; }
.frag-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin: var(--s-5) 0; }
.pager { display: flex; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.pager a { text-decoration: none; display: flex; flex-direction: column; gap: 4px; max-width: 46%; }
.pager a .t { font-family: var(--f-display); font-size: 20px; line-height: 1.2; color: var(--hi); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pager a.next { text-align: right; margin-left: auto; }

/* ---------- credits / reading library ---------- */
.library { padding: var(--s-7) 0 var(--s-9); }
.shelf { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 700px) { .shelf { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .shelf { grid-template-columns: repeat(3, 1fr); } }
.book {
  --c: var(--a-ideology);
  position: relative; display: grid; grid-template-columns: 34px 1fr; min-height: 230px;
  background: #F6F3EE; color: var(--ink); border-radius: 3px 8px 8px 3px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(27,23,18,.08), 0 14px 30px -18px rgba(27,23,18,.45);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.book:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: 0 1px 0 rgba(27,23,18,.08), 0 24px 40px -20px rgba(27,23,18,.55); }
.book .spine {
  background: var(--c); background-image: var(--paper-grain), linear-gradient(90deg, rgba(0,0,0,.18), rgba(255,255,255,.08) 40%, rgba(0,0,0,.12));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .16em; color: rgba(255,255,255,.9);
  writing-mode: vertical-rl; transform: rotate(180deg); padding: 10px 0;
}
.book .body { padding: var(--s-5) var(--s-5) var(--s-4); display: flex; flex-direction: column; gap: 6px; }
.book .type { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgba(27,23,18,.55); }
.book .title { font-family: var(--f-display); font-size: 25px; line-height: 1.08; }
.book .by { font-size: 14px; color: var(--ink-2); }
.book .pub { font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.book .foot { margin-top: auto; padding-top: var(--s-3); display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; justify-content: space-between; border-top: 1px solid rgba(27,23,18,.12); }
.perm { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; background: rgba(27,23,18,.07); }
.perm::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #c58b1a; }
.perm.ok::before { background: var(--a-funding); }
.book a.frag-link { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.notes-grid { display: grid; gap: var(--s-5); grid-template-columns: 1fr; margin-top: var(--s-8); }
@media (min-width: 860px) { .notes-grid { grid-template-columns: repeat(3, 1fr); } }
.note-card { padding: var(--s-5); border: 1px solid rgba(27,23,18,.18); border-radius: var(--r-2); background: rgba(255,255,255,.35); }
.note-card h3 { font-size: 28px; }
.note-card p { font-size: 15px; color: var(--ink-2); margin: 0; }

/* ---------- small screens ---------- */
@media (max-width: 480px) {
  .wrap, .wrap-narrow { padding: 0 var(--s-4); }
  .section { padding: var(--s-8) 0; }
  .btn-lg { width: 100%; }
  .strip { padding: 18px 18px 14px; }
  .strip-text, .strip .text { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media (min-width: 960px) { .frag-layout > div:first-child { position: sticky; top: calc(var(--nav-h) + 24px); } }

/* =====================================================================
   BEHAVIOURS (HULKBUSTER addendum) — Agent A
   ===================================================================== */
:root { --ease-out-back: cubic-bezier(.34,1.56,.64,1); --ease-inout: cubic-bezier(.65,0,.35,1); }

/* ---------- §9 collage: hover-to-front + shared info card ---------- */
.collage .c-item { transition: transform 320ms var(--ease-out-back), filter 250ms var(--ease); outline: none; }
.collage .c-item:focus-visible .strip { outline: 2px solid var(--a-culture); outline-offset: 4px; }
.collage .c-item.sel { z-index: 20 !important; transform: rotate(0deg) scale(1.18) translateY(-6px); }
.collage.has-sel .c-item:not(.sel) { filter: brightness(.7); }
@media (hover: hover) and (pointer: fine) {
  .collage .c-item:hover { z-index: 20 !important; transform: rotate(0deg) scale(1.18) translateY(-6px); }
  .collage:has(.c-item:hover) .c-item:not(:hover) { filter: brightness(.7); }
}
.collage-card {
  --c: var(--paper);
  position: absolute; z-index: 30; left: -6%; bottom: -4%; width: min(320px, 70%);
  padding: 16px 18px; border-radius: 6px; background: var(--c); color: #fff;
  background-image: var(--paper-grain);
  box-shadow: 0 24px 50px -18px rgba(0,0,0,.85);
  opacity: 0; transform: translateY(10px) rotate(-1deg); pointer-events: none;
  transition: opacity 200ms var(--ease), transform 260ms var(--ease-out-back);
}
.collage-card.ink { color: var(--ink); }
.collage-card.show { opacity: 1; transform: rotate(-1deg); pointer-events: auto; }
.collage-card .cc-body { animation: cc-x 180ms var(--ease) both; }
@keyframes cc-x { from { opacity: 0; } to { opacity: 1; } }
.collage-card .area-tab { background: rgba(255,255,255,.92); color: var(--ink); clip-path: none; border-radius: 3px; }
.collage-card .meta { color: inherit; opacity: .8; }
.cc-text { font-family: var(--f-body); font-size: 16px; line-height: 1.4; margin: 10px 0 6px; }
.cc-cite { font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; opacity: .8; margin: 0 0 12px; line-height: 1.5; }
.cc-actions { display: flex; gap: 6px; }
.collage-card .strip-btn {
  display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px; border-radius: 999px;
  border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; text-decoration: none;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
}
.collage-card .strip-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.collage .label-card { left: auto; }
@media (max-width: 979px) {
  .collage-card { position: sticky; bottom: 12px; left: auto; width: auto; display: none; }
  .collage-card.show { display: block; }
  .collage .c-item.sel { transform: scale(1.03); }
}

/* ---------- §4 six-area stripe accordion ---------- */
.stripes { display: flex; flex-direction: column; border-radius: var(--r-2); overflow: hidden; }
.stripe {
  --c: var(--paper);
  position: relative; overflow: hidden; cursor: pointer; color: #fff;
  background: var(--c); background-image: var(--paper-grain);
  outline: none;
}
.stripe.ink { color: var(--ink); }
.stripe:focus-visible { box-shadow: inset 0 0 0 3px var(--paper); }
.s-spine {
  display: flex; align-items: center; height: 56px; padding: 0 20px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
}
.s-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 450ms var(--ease-inout); }
.stripe.open .s-wrap { grid-template-rows: 1fr; }
.s-body { min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 14px; padding: 0 20px;
  opacity: 0; transform: translateY(8px); transition: opacity 250ms var(--ease), transform 300ms var(--ease); }
.stripe.open .s-body { opacity: 1; transform: none; transition-delay: 300ms; padding-bottom: 24px; }
.stripe .s-num { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; opacity: .85; }
.stripe .s-label { font-family: var(--f-display); font-style: italic; font-size: clamp(36px, 4vw, 52px); line-height: .95; }
.stripe .s-q { font-size: 17px; line-height: 1.4; max-width: 34ch; }
.s-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.stripe .s-btn { color: inherit; border-color: currentColor; }
.stripe .s-btn:hover { color: inherit; border-color: currentColor; background: rgba(255,255,255,.25); }
.stripe .s-btn-solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.stripe .s-btn-solid:hover { background: #000; color: var(--paper-3); border-color: #000; }
@media (min-width: 720px) {
  .stripes { flex-direction: row; height: 440px; }
  .stripe { flex: 0 0 56px; min-width: 56px; transition: flex-grow 650ms var(--ease-inout); }
  .stripe.open { flex: 1 1 56px; cursor: default; }
  .s-spine { position: absolute; left: 0; bottom: 0; top: 0; width: 56px; height: auto; padding: 20px 0;
    writing-mode: vertical-rl; transform: rotate(180deg); justify-content: flex-start; }
  .s-wrap { display: block; height: 100%; }
  .s-body { height: 100%; min-width: 360px; padding: 28px 32px 28px 72px; justify-content: flex-end; }
  .stripe.open .s-body { padding-bottom: 32px; }
}
@media (hover: hover) and (pointer: fine) and (min-width: 720px) { .stripe:not(.open):hover { filter: brightness(1.08); } }

/* steps + generic reveal */
.reveal { opacity: 0; transform: translateY(24px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }

/* ---------- §8 archive index tabs + folder ---------- */
.tabs-wrap { position: relative; margin-top: var(--s-6); }
.index-tabs {
  display: flex; align-items: flex-end; padding: 16px 4px 0; overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.index-tabs::-webkit-scrollbar { display: none; }
.index-tab {
  --c: var(--paper);
  position: relative; flex: none; margin-left: -12px; margin-bottom: -14px;
  padding: 12px 26px 26px; min-height: 62px;
  background: var(--c); color: #fff; border: 0; cursor: pointer; text-align: left;
  font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; line-height: 1.2;
  clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 100%, 0 100%);
  border-radius: 10px 10px 0 0; background-image: var(--paper-grain);
  transition: transform 220ms var(--ease-out-back), filter 200ms;
  filter: brightness(.86) saturate(.9); white-space: nowrap;
}
.index-tab:first-child { margin-left: 0; }
.index-tab .cnt { font-size: .78em; opacity: .75; margin-left: 3px; vertical-align: super; line-height: 0; }
.index-tab.ink, .index-tab.all { color: var(--ink); }
.index-tab.on { transform: translateY(-12px); filter: none; z-index: 10 !important; }
.index-tab:focus-visible { transform: translateY(-8px); filter: none; outline-offset: -4px; }
@media (hover: hover) and (pointer: fine) { .index-tab:not(.on):hover { transform: translateY(-8px); filter: none; } }
.folder { --c: #EADBC8; --c-ink: var(--ink); position: relative; z-index: 11; border-radius: 0 0 var(--r-2) var(--r-2);
  border-top: 6px solid var(--c); background: var(--card);
  background: color-mix(in srgb, var(--c) 9%, var(--card)); transition: background .3s, border-color .3s; }
.folder .area-banner { padding: var(--s-4) var(--s-5); background: var(--c); color: var(--c-ink); background-image: var(--paper-grain);
  display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; justify-content: space-between; transition: background-color .3s; }
.area-banner .q { font-family: var(--f-display); font-size: clamp(20px, 2.4vw, 28px); line-height: 1.15; font-style: italic; }
.area-banner .meta { color: inherit; opacity: .75; }
.folder-inner { padding: 0 var(--s-5) var(--s-7); }
@media (max-width: 480px) { .folder-inner { padding: 0 var(--s-3) var(--s-6); } }
.archive-grid { padding-bottom: 0; transition: opacity 120ms; }
.archive-grid.leaving { opacity: 0; }
.archive-head { padding-bottom: var(--s-9); }

/* ---------- §1 about ---------- */
.big-quote { position: relative; margin: calc(var(--s-9) + 24px) 0 0; max-width: 1000px; }
.big-quote .qm { position: absolute; left: -.08em; top: -.38em; font-family: var(--f-display); font-size: clamp(120px, 16vw, 220px); line-height: 1; color: var(--qc, var(--a-culture)); opacity: .9; pointer-events: none; }
.big-quote q.q { position: relative; font-size: clamp(32px, 4.6vw, 64px); line-height: 1.08; text-indent: 0; padding-left: .55em; }
.big-quote figcaption { padding-left: 1.4em; }
.small-quote q.q { font-size: clamp(26px, 3.2vw, 40px); text-indent: 0; }
.small-quote { margin: var(--s-6) 0; }
.about-body { padding: var(--s-9) 0; }
.about-layout { display: grid; grid-template-columns: 1fr; gap: var(--s-6); }
.about-index { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; position: sticky; top: var(--nav-h); z-index: 5; padding: 10px 0; background: var(--grey-paper); }
.about-index::-webkit-scrollbar { display: none; }
.about-index button {
  flex: none; display: inline-flex; gap: 8px; align-items: baseline; border: 1px solid rgba(27,23,18,.2); background: transparent; color: var(--ink-2);
  border-radius: 999px; padding: 7px 14px; cursor: pointer; font-family: var(--f-ui); font-size: 14px; transition: background .2s, color .2s;
}
.about-index .n { font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; opacity: .6; }
.about-index button.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
@media (min-width: 900px) {
  .about-layout { grid-template-columns: 200px minmax(0, 1fr); gap: var(--s-8); }
  .about-index { flex-direction: column; align-self: start; top: calc(var(--nav-h) + 32px); background: none; padding: 0; overflow: visible; gap: 2px; }
  .about-index button { border: 0; border-radius: 0; padding: 8px 0 8px 14px; border-left: 2px solid rgba(27,23,18,.15); text-align: left; }
  .about-index button.on { background: none; color: var(--ink); border-left-color: var(--ink); }
}
.ab-sec { padding: 0 0 var(--s-8); scroll-margin-top: 96px; }
.ab-sec > .meta { margin-bottom: var(--s-4); }
.light .prose { color: var(--ink); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5); margin-top: var(--s-6); border-top: 1px solid rgba(27,23,18,.2); padding-top: var(--s-5); }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat .num { display: block; font-family: var(--f-display); font-size: clamp(48px, 6vw, 84px); line-height: 1; color: var(--ink); }
.stat .meta { display: block; margin-top: 8px; }
.team { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) {
  .team { grid-template-columns: repeat(4, 1fr); }
  .team .person:nth-child(2) { margin-top: 64px; } .team .person:nth-child(3) { margin-top: 24px; } .team .person:nth-child(4) { margin-top: 48px; }
}
.light .team .person { border-color: rgba(27,23,18,.25); }
.portrait {
  aspect-ratio: 4 / 5; margin-bottom: 12px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #b9ad9b, #6f6457); color: var(--paper); font-family: var(--f-display); font-size: 44px; font-style: italic;
  filter: grayscale(1); transition: filter 400ms var(--ease); border-radius: 2px;
}
.team .person:nth-child(1) .portrait { background: linear-gradient(160deg, var(--a-impact), var(--a-ideology)); }
.team .person:nth-child(2) .portrait { background: linear-gradient(160deg, var(--a-culture), var(--a-structure)); }
.team .person:nth-child(3) .portrait { background: linear-gradient(160deg, var(--a-funding), var(--a-culture)); }
.team .person:nth-child(4) .portrait { background: linear-gradient(160deg, var(--a-governance), var(--a-impact)); }
@media (hover: hover) and (pointer: fine) { .team .person:hover .portrait { filter: grayscale(0); } }

/* ---------- §8 fragment page: opened file ---------- */
.file { position: relative; margin-right: 0; animation: file-in 450ms var(--ease) both; }
@keyframes file-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.file-page {
  position: relative; color: var(--ink); background-color: #F1E8DA;
  background-image: radial-gradient(circle at 22px 50%, var(--ground) 0 7px, rgba(0,0,0,.18) 7.5px, transparent 8.5px), url("../assets/paper.webp");
  background-size: 44px 120px, 600px 600px; background-repeat: repeat-y, repeat;
  border-radius: 4px; padding: var(--s-6) var(--s-5) var(--s-6) 64px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.9);
}
.file-page::before { content: ""; position: absolute; left: 50px; top: 0; bottom: 0; width: 1px; background: rgba(229,67,45,.35); }
.file-head { display: flex; flex-wrap: wrap; gap: 6px 22px; color: rgba(27,23,18,.6) !important; padding-bottom: var(--s-4); border-bottom: 1px solid rgba(27,23,18,.15); margin-bottom: var(--s-6); }
.file-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-6); }
@media (min-width: 960px) { .file-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--s-7); } }
.file-text { margin: 0 0 var(--s-4); font-family: var(--f-body); font-size: clamp(24px, 2.8vw, 36px); line-height: 1.3; color: var(--ink); }
.file-cite { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(27,23,18,.6); }
.file .btn { color: var(--ink); border-color: rgba(27,23,18,.3); }
.file .btn:hover { color: var(--ink); border-color: var(--ink); }
.file .btn-primary { background: var(--ink); color: var(--paper); border-color: var(--ink); background-image: none; box-shadow: none; }
.file .btn-primary:hover { color: var(--paper-3); }
.file .btn-ghost { border-color: transparent; }
.clipped { position: relative; margin: 0 0 var(--s-6) -8px; max-width: 520px; transform: rotate(-3deg); filter: drop-shadow(0 10px 14px rgba(0,0,0,.35)); }
.clipped img { width: 100%; }
.clipped::after { /* paper clip */
  content: ""; position: absolute; top: -18px; left: 28px; width: 16px; height: 46px;
  border: 2.5px solid #8d8d8d; border-radius: 10px; border-bottom-color: #6e6e6e; transform: rotate(8deg);
  box-shadow: inset 0 0 0 3px transparent;
}
.clipped figcaption { margin-top: 8px; color: rgba(27,23,18,.55); }
.margin-note { padding-left: var(--s-4); border-left: 2px solid rgba(27,23,18,.2); margin-bottom: var(--s-5); }
.margin-note p { font-family: var(--f-body); font-style: italic; font-size: 16px; color: var(--ink-2); margin: 6px 0 0; }
.margin-note .meta, .file .dl dt { color: rgba(27,23,18,.55); }
.file .dl { border-color: rgba(27,23,18,.15); }
.file .dl dd { color: var(--ink); font-size: 14px; }
.file .contrast-card { border-color: rgba(27,23,18,.3); }
.file .contrast-card:hover { border-color: var(--ink); background: rgba(27,23,18,.04); }
.file .contrast-card .t { color: var(--ink); }
.file .contrast-card .meta { color: rgba(27,23,18,.6); }
.side-tabs { display: flex; gap: 4px; padding-left: 64px; }
.side-tab {
  --c: var(--paper); display: inline-flex; align-items: center; padding: 8px 16px 6px; background: var(--c); color: #fff;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  border-radius: 8px 8px 0 0; background-image: var(--paper-grain); transition: transform 220ms var(--ease-out-back);
}
.side-tab.ink { color: var(--ink); }
.side-tab:hover { color: inherit; }
@media (hover: hover) and (pointer: fine) { .side-tab:hover { transform: translateY(-4px); } }
@media (min-width: 900px) {
  .file { margin-right: 40px; }
  .side-tabs { position: absolute; top: 48px; right: -40px; flex-direction: column; gap: 6px; padding: 0; }
  .side-tab { writing-mode: vertical-rl; padding: 18px 9px; border-radius: 0 8px 8px 0; min-height: 120px; justify-content: center; }
  .side-tab:hover { transform: none; }
}
@media (hover: hover) and (pointer: fine) and (min-width: 900px) { .side-tab:hover { transform: translateX(4px); } }
@media (max-width: 600px) { .file-page { padding: var(--s-5) var(--s-4) var(--s-5) 48px; background-size: 34px 110px, 600px 600px; background-image: radial-gradient(circle at 17px 50%, var(--ground) 0 6px, transparent 7px), url("../assets/paper.webp"); } .file-page::before { left: 38px; } .side-tabs { padding-left: 48px; } }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .collage .c-item.sel { transform: none; }
  .stripe .s-body { transition: opacity 100ms !important; }
}

/* =====================================================================
   MOODBOARD re-skin (Angel, 17 Nov) — light cream + dark/green panels
   ===================================================================== */
body { background: var(--cream); }
.nav-links a.nav-small { font-size: 12.5px; font-family: var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.nav-links a.nav-search { padding: 8px 10px; }
.logo { color: var(--ink); }

/* ---- dark panels: re-scope text tokens ---- */
.dark {
  --text: #F1ECE2; --text-dim: rgba(241,236,226,.72); --text-faint: rgba(241,236,226,.5);
  --hi: #F7F3EB; --line: rgba(241,236,226,.14); --line-strong: rgba(241,236,226,.34); --field: rgba(241,236,226,.08);
  background: var(--black); color: var(--text);
}
.dark.green { background: var(--green); }
.dark .btn-primary { background: var(--card); color: var(--ink); border-color: var(--card); }
.dark .btn-primary:hover { background: #fff; color: var(--ink); border-color: #fff; }
.dark .meta { color: var(--text-faint); }
.panel { position: relative; overflow: hidden; padding: var(--s-8) 0; background-image: var(--grain); }
.wrap-bleed { max-width: 1260px; margin: 0 auto; padding: 0 var(--s-4); }
.wrap-bleed > .panel { border-radius: 10px; }
.panel-grid { display: grid; gap: var(--s-7); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .panel-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } }
.panel-title { font-size: clamp(48px, 7vw, 96px); line-height: .92; margin-bottom: var(--s-5); }
.panel-copy .btn { margin: 0 8px 8px 0; }
.section-tight + .section-tight { padding-top: 0; }

/* ---- collage utilities ---- */
.patch-orange, .patch-yellow, .grid-paper, .halftone { position: absolute; display: block; transform: rotate(var(--r, 0deg)); pointer-events: none; }
.patch-orange { background: var(--orange) url("../assets/mood/tex-orange.webp") center / cover; background-blend-mode: multiply; box-shadow: 0 6px 14px -8px rgba(0,0,0,.35); }
.patch-yellow { background: var(--yellow); background-image: var(--paper-grain); box-shadow: 0 6px 14px -8px rgba(0,0,0,.3); }
.grid-paper { background-color: #F8F2E4; background-image: linear-gradient(rgba(240,122,31,.28) 1px, transparent 1px), linear-gradient(90deg, rgba(240,122,31,.28) 1px, transparent 1px); background-size: 14px 14px; box-shadow: 0 6px 14px -8px rgba(0,0,0,.25); }
.halftone { background-image: radial-gradient(circle, rgba(26,26,26,.55) 1.1px, transparent 1.6px); background-size: 8px 8px; opacity: .55; }
.scribble path, .house path, .wordmark .underline path, .arc path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.scribble { position: absolute; width: 38%; right: 30%; top: 58%; stroke: var(--ink); stroke-width: 2; opacity: .7; }
.house { position: absolute; width: 26%; left: 36%; top: 48%; stroke: var(--ink); stroke-width: 1.5; opacity: .75; }
.sticky-label {
  --r: 0deg; display: inline-block; padding: 6px 16px 7px; transform: rotate(var(--r));
  font-family: var(--f-display); font-size: 22px; line-height: 1.1; color: var(--ink); text-decoration: none;
  background: var(--yellow); background-image: var(--paper-grain);
  box-shadow: 0 6px 12px -8px rgba(0,0,0,.45); transition: transform 220ms var(--ease-out-back), box-shadow 220ms;
}
.sticky-label.pink { background-color: var(--pink); } .sticky-label.yellow { background-color: #F3D77A; }
.sticky-label.orange { background-color: var(--orange); } .sticky-label.green { background-color: #B9C97A; }
.sticky-label.sage { background-color: var(--sage); } .sticky-label.grey { background-color: #CFCAC0; }
a.sticky-label:hover, a.sticky-label:focus-visible { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .sticky-label:hover { transform: rotate(0deg) translateY(-6px); box-shadow: 0 14px 20px -10px rgba(0,0,0,.5); } }
.ph-frame { position: relative; margin: 0; padding: 8px 8px 10px; background: var(--card); transform: rotate(var(--r, 0deg)); box-shadow: 0 14px 30px -16px rgba(0,0,0,.55); }
.ph-frame img, .ph-photo img { width: 100%; height: auto; image-rendering: auto; }
.ph-frame.bw img { filter: grayscale(1) contrast(1.05); }
.ph-frame figcaption { margin-top: 6px; font-size: 9.5px; }
.ph-photo { position: relative; aspect-ratio: 4/3; background: #9c968c; background-image: radial-gradient(circle, rgba(26,26,26,.4) 1px, transparent 1.5px); background-size: 6px 6px; display: flex; align-items: flex-end; padding: 8px; }
.tape { background: rgba(245,197,24,.6); }

/* ---- hero ---- */
.hero2 { padding: var(--s-7) 0 var(--s-6); }
.hero2-grid { display: grid; gap: var(--s-6); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 980px) { .hero2-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); min-height: calc(100vh - var(--nav-h) - 80px); } }
.wordmark { position: relative; font-size: clamp(72px, 10vw, 148px); line-height: .86; letter-spacing: -.05em; margin-bottom: var(--s-6); display: inline-block; }
.wordmark .underline { position: absolute; left: 0; bottom: -22px; width: 72%; stroke: var(--orange); stroke-width: 6; }
.hero2-intro { font-family: var(--f-display); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; max-width: 22ch; margin-bottom: var(--s-4); }
.hero2-q { font-weight: 700; font-size: 18px; letter-spacing: -.01em; margin-bottom: var(--s-5); }
.hero2-q em { font-family: var(--f-display); font-weight: 400; font-size: 1.25em; }
.hero-collage { min-height: 560px; }
.portrait-frame { position: absolute; left: 14%; top: 8%; width: 50%; z-index: 3; }
.hero-tags { position: absolute; right: 0; top: 40%; z-index: 12; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.hero-collage .collage-card { left: 0; bottom: -2%; }
@media (max-width: 979px) {
  .hero-collage { min-height: 0; display: block; position: relative; padding: 8px 0 0; }
  .hero-collage > .patch-orange, .hero-collage > .halftone, .hero-collage > .house, .hero-collage > .scribble, .hero-collage > .grid-paper { display: none; }
  .portrait-frame { position: relative; left: auto; top: auto; width: 78%; margin: 0 0 18px 4%; }
  .hero-tags { position: absolute; right: 0; top: 4%; }
  .hero-tags .sticky-label { font-size: 18px; }
  .hero-collage .c-item { margin: 0 0 14px; }
  .hero-collage .c-item:nth-of-type(2n) { margin-left: 12%; }
}

/* ---- light card panels (Imagining / Experiment) ---- */
.card-panel { display: grid; grid-template-columns: 1fr; gap: var(--s-6); align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: var(--s-7) var(--s-5); position: relative; overflow: hidden; }
@media (min-width: 900px) { .card-panel { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); padding: var(--s-8) var(--s-7); } }
.card-panel h2 { font-size: clamp(38px, 5vw, 68px); line-height: .98; }
.card-panel h2 em { display: block; }
.imagine-art { position: relative; min-height: 300px; }
.imagine-art .ph-frame { position: relative; width: 72%; margin: 40px 0 0 8%; z-index: 2; }
.imagine-art .patch-yellow { z-index: 3; mix-blend-mode: multiply; }
.arc { position: absolute; inset: 0 0 auto auto; width: 90%; stroke: var(--ink); stroke-width: 1.2; opacity: .55; z-index: 4; }
.exp-board { position: relative; min-height: 320px; }
.exp-board .connectors { position: absolute; inset: 0; width: 100%; height: 100%; }
.exp-board .connectors path { fill: none; stroke: var(--ink); stroke-width: .35; stroke-dasharray: 1.4 1.2; opacity: .6; vector-effect: non-scaling-stroke; stroke-width: 1.3; stroke-dasharray: 5 5; }
.exp-label { position: absolute; animation: floaty 7s ease-in-out infinite; animation-delay: calc(var(--i) * -1.3s); }
@keyframes floaty { 0%,100% { translate: 0 0; } 50% { translate: 0 -5px; } }
.plus-box { position: absolute; right: 6%; bottom: 8%; width: 46px; height: 46px; border: 1.5px dashed var(--ink); display: flex; align-items: center; justify-content: center; font-size: 22px; text-decoration: none; color: var(--ink); }
.plus-box:hover { background: var(--ink); color: var(--cream); }

/* ---- archive stack ---- */
.stack-wrap { position: relative; }
.stack { position: relative; height: 380px; outline: none; touch-action: pan-y; }
.stack:focus-visible { outline: 2px dashed var(--line-strong); outline-offset: 8px; }
.stack-card {
  --k: 0; position: absolute; left: 14%; top: 4%; width: 62%; display: block; text-decoration: none; color: var(--ink);
  background: #EFE6D6; background-image: url("../assets/paper.webp"); padding: 10px 10px 8px;
  box-shadow: 0 18px 36px -18px rgba(0,0,0,.8);
  transform: translate(calc(var(--k) * 26px), calc(var(--k) * -12px)) rotate(var(--r)) scale(calc(1 - var(--k) * .04));
  transition: transform 450ms var(--ease-inout), opacity 350ms var(--ease), filter 300ms;
}
.stack-card .sc-inner { display: block; overflow: hidden; }
.stack-card img { width: 100%; height: auto; display: block; }
.stack-card.photo img { filter: grayscale(1) contrast(1.05); }
.stack-card .note-text { margin: 10px 8px; font-size: 18px; line-height: 1.35; }
.stack-card .sc-cap { display: block; margin-top: 6px; font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(26,26,26,.55); }
.stack-card:not(.top) { filter: brightness(.82); }
.stack-card.hidden { opacity: 0; pointer-events: none; }
.stack-card.gone { opacity: 0; pointer-events: none; transform: translate(-60%, 20px) rotate(-14deg) scale(.95); }
@media (hover: hover) and (pointer: fine) { .stack-card:not(.hidden):not(.gone):hover { --r: 0deg !important; filter: none; z-index: 30 !important; } }
.stack-sticky { position: absolute; right: 4%; bottom: 10%; z-index: 40; --r: -6deg; font-size: 24px; line-height: 1; padding: 14px 18px; }
.stack-ctrl { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: var(--s-4); }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--text); cursor: pointer; font-size: 18px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; transition: background .2s, color .2s; }
.icon-btn:hover { background: var(--hi); color: var(--black); }
@media (max-width: 600px) { .stack { height: 300px; } .stack-card { left: 4%; width: 80%; } }

/* ---- build carousel (coverflow) ---- */
.carousel { position: relative; height: 400px; outline: none; touch-action: pan-y; }
.car-track { position: absolute; inset: 0; }
.bcard {
  --d: 0; --ad: 0; position: absolute; left: 50%; top: 10px; width: min(300px, 72vw);
  background: var(--card); color: var(--ink); border-radius: 8px; overflow: hidden;
  box-shadow: 0 24px 40px -20px rgba(0,0,0,.8);
  transform: translateX(calc(-50% + var(--d) * 58%)) scale(calc(1 - min(var(--ad), 1) * .15));
  opacity: calc(1 - min(var(--ad), 1) * .35);
  transition: transform 500ms var(--ease-inout), opacity 400ms;
}
.bcard.far { opacity: 0; pointer-events: none; }
.bcard:not(.centre) { cursor: pointer; }
.bcard-img { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--c); }
.bcard-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); }
.bcard-img .patch { position: absolute; right: 10px; bottom: -10px; width: 34%; height: 40%; background: var(--c); transform: rotate(-4deg); mix-blend-mode: multiply; opacity: .85; }
.bcard-body { position: relative; padding: 14px 16px 18px; }
.bcard h3 { font-size: 21px; line-height: 1.1; margin: 0 40px 6px 0; }
.bcard h3 a { text-decoration: none; }
.bcard .meta { color: var(--muted); }
.bcard-ex { font-family: var(--f-display); font-size: 16px; line-height: 1.3; margin: 8px 0 0; color: var(--muted); }
.bcard .plus { position: absolute; right: 14px; top: -20px; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 22px; text-decoration: none; }
.car-prev, .car-next { position: absolute; top: 40%; z-index: 20; background: var(--card); color: var(--ink); border: 0; }
.car-prev { left: 0; } .car-next { right: 0; }
.empty-card { position: relative; left: auto; transform: none; margin: 40px auto; }

/* ---- key experiences ---- */
.keyx-row { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 700px) { .keyx-row { grid-template-columns: repeat(5, 1fr); } }
.keyx { display: flex; gap: 12px; padding: 18px 14px 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .2s; }
.keyx:hover { background: var(--card); }
.keyx svg { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.keyx b { display: block; font-weight: 700; }
.keyx span span { font-size: 13.5px; color: var(--muted); line-height: 1.35; }

/* ---- orbit (ellipse diagram) ---- */
.orbit-panel { padding: var(--s-8) 0; }
.orbit { position: relative; aspect-ratio: 5 / 3; max-width: 900px; margin: 0 auto; }
.orbit svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit ellipse { fill: none; stroke: rgba(241,236,226,.6); stroke-width: .25; }
.orbit-dot { fill: var(--orange); }
.orbit-centre { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; font-family: var(--f-head); font-weight: 800; letter-spacing: -.04em; font-size: clamp(30px, 5vw, 64px); line-height: .92; color: var(--hi); }
.orbit-pill { position: absolute; transform: translate(-50%, -50%); padding: 10px 22px; border: 1.5px solid var(--hi); border-radius: 50%; color: var(--hi); text-decoration: none; font-size: clamp(13px, 1.6vw, 18px); background: var(--black); transition: background .25s, color .25s; white-space: nowrap; }
.orbit-pill:hover, .orbit-pill:focus-visible { background: var(--hi); color: var(--black); }

/* ---- re-skin fixes for existing pages ---- */
.teaser { background: var(--card); border-color: var(--line); }
.ticket { background-color: var(--yellow); }
.ticket::before, .ticket::after { background: var(--card); }
.pullquote q, .pullquote .q { color: var(--ink); }
.about-hero .pullquote figcaption a, .pullquote figcaption a { color: var(--ink); }
.light, .section.light { background-color: var(--card); }
.about-index { background: var(--card); }
@media (min-width: 900px) { .about-index { background: none; } }
.about-fig { max-width: 320px; margin: 8px 0 24px; }
.credits-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.book { background: #FBF8F2; }
.area-tab { color: var(--ink); }
.area-tab[data-area="funding"] { color: #fff; }
.index-tab { color: var(--ink); }
.index-tab.all { --c: var(--ink) !important; color: var(--cream); }
.archive-head { padding-top: var(--s-6); }
.basket-bar { background: rgba(26,26,26,.95); }
.basket-bar .btn-primary { background: var(--card); color: var(--ink); border-color: var(--card); }
.basket-bar .btn-ghost { color: rgba(241,236,226,.8); }
.file-page { box-shadow: 0 24px 50px -28px rgba(60,40,20,.6); }
.strip:hover { filter: drop-shadow(0 14px 18px rgba(60,40,20,.28)); }
.collage .label-card { display: none; }
@media (prefers-reduced-motion: reduce) { .exp-label { animation: none; } }
.index-tab:not(.ink):not(.all) { color: #fff; }
.stripe:not(.ink) { color: #fff; }

/* =====================================================================
   FIDELITY pass (Segun 11:54) — moodboard panels 0–7 + ambient motion
   ===================================================================== */
.nav-links a.active { box-shadow: inset 0 -1.5px 0 var(--ink); border-radius: 0; color: var(--ink); background: transparent; }
.nav-links a { color: var(--ink); font-size: 14px; }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); border-radius: 6px; }
.btn-outline:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-outline-light { background: transparent; color: var(--cream); border: 1px solid rgba(241,236,226,.7); border-radius: 6px; }
.btn-outline-light:hover { background: var(--cream); color: var(--black); border-color: var(--cream); }
.btn-white { background: #fff; color: var(--ink); border: 1px solid #fff; border-radius: 6px; }
.btn-white:hover { background: var(--cream); color: var(--ink); }
.btn-primary { border-radius: 6px; }
@media (hover: hover) and (pointer: fine) { .btn:hover .arr { transform: translateX(4px); } }

/* ambient drift (pauses with .amb-paused on the zone) */
@keyframes drift { 0% { translate: 0 0; rotate: 0deg; } 50% { translate: 5px -6px; rotate: .5deg; } 100% { translate: -4px 4px; rotate: -.5deg; } }
@keyframes bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -5px; } }
.drift { animation: drift calc(8s + var(--i, 0) * 1.1s) ease-in-out infinite alternate; animation-delay: calc(var(--i, 0) * -1.7s); }
.amb-paused .drift, .amb-paused.drift, .amb-paused .tag-paper, .amb-paused .exp-label, .amb-paused .connectors path, .amb-paused .pcard-img img { animation-play-state: paused; }

/* ---- 0 banner ---- */
.banner { background: var(--cream); padding: var(--s-6) var(--s-5) var(--s-5); border-bottom: 1px solid var(--line); overflow: hidden; }
.banner-row { display: grid; grid-template-columns: 1fr; gap: var(--s-5); align-items: center; max-width: 1440px; margin: 0 auto; }
@media (min-width: 1000px) { .banner-row { grid-template-columns: auto minmax(220px, 300px) minmax(0, 1.5fr) minmax(0, .9fr); gap: var(--s-6); } }
.wordmark { font-family: var(--f-head); font-weight: 800; font-size: clamp(64px, 8vw, 118px); line-height: .9; letter-spacing: -.05em; margin: 0 0 18px; position: relative; display: inline-block; }
.wordmark .brush { position: absolute; left: -4px; bottom: -26px; width: 82%; overflow: visible; }
.wordmark .brush path { fill: none; stroke: var(--orange); stroke-width: 7; stroke-linecap: round; }
.banner-intro { font-family: var(--f-body); font-size: clamp(20px, 1.8vw, 25px); line-height: 1.18; margin: 0; color: var(--ink); letter-spacing: -.01em; }
.banner-collage { position: relative; height: 360px; }
.banner-collage > * { position: absolute; }
.torn-paper { left: -3%; bottom: 0; width: 34%; height: 36%; background: #E2D6C1 url("../assets/mood/tex-crumpled.webp") center / cover; clip-path: var(--torn); }
.patch-grid-orange { left: 2%; top: 0; width: 26%; height: 94%; background-color: var(--orange);
  background-image: linear-gradient(rgba(255,255,255,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px), url("../assets/mood/tex-orange.webp");
  background-size: 18px 18px, 18px 18px, cover; clip-path: polygon(0 2%, 96% 0, 100% 98%, 4% 100%); }
.letter-paper { left: 42%; top: 0; width: 48%; height: 92%; background: #F4EEE2; box-shadow: 0 6px 16px -10px rgba(0,0,0,.35); clip-path: polygon(0 0, 100% 2%, 98% 100%, 1% 97%); }
.letter-paper svg { width: 100%; height: 100%; padding: 16px; }
.letter-paper path { fill: none; stroke: #6c5f4c; stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 3 2 7 2; opacity: .75; }
.hero-portrait { left: 0; top: 4%; width: 74%; margin: 0; z-index: 3; clip-path: polygon(0 1%, 98% 0, 100% 97%, 2% 100%); }
.hero-portrait img { width: 100%; display: block; }
.banner-collage .house { left: 50%; bottom: 0; width: 30%; z-index: 4; stroke: var(--ink); stroke-width: 1.3; opacity: .85; fill: none; top: auto; }
.banner-collage .house path { fill: none; }
.tags { right: -2%; top: 10%; z-index: 6; display: flex; flex-direction: column; gap: 8px; width: 46%; }
.tag-paper {
  --r: 0deg; align-self: flex-start; display: inline-block; padding: 7px 18px 8px; font-family: var(--f-display); font-size: clamp(20px, 1.9vw, 28px); line-height: 1;
  color: var(--ink); text-decoration: none; transform: rotate(var(--r)); background-image: var(--paper-grain);
  clip-path: polygon(1% 4%, 99% 0, 100% 94%, 0 100%); box-shadow: 0 4px 10px -6px rgba(0,0,0,.4);
  animation: bob calc(5s + var(--i) * .8s) ease-in-out infinite; animation-delay: calc(var(--i) * -1.2s);
  transition: transform 250ms var(--ease-out-back);
}
.tag-paper.pink { background-color: var(--pink); } .tag-paper.yellow { background-color: var(--yellow); }
.tag-paper.orange { background-color: var(--orange); } .tag-paper.teal { background-color: #7FB8C2; }
.tag-paper:hover, .tag-paper:focus-visible { color: var(--ink); transform: rotate(0) translateY(-6px) scale(1.04); }
.banner-hall { margin: 0; clip-path: polygon(3% 0, 100% 0, 100% 100%, 0 100%, 2% 60%, 0 30%); }
.banner-hall img { width: 100%; height: 360px; object-fit: cover; }
@media (hover: hover) and (pointer: fine) {
  .banner-collage .hero-portrait:hover, .banner-collage .letter-paper:hover, .bw-photo:hover { transform: rotate(0) translateY(-6px) scale(1.02); z-index: 9; transition: transform 250ms var(--ease-out-back); filter: drop-shadow(0 16px 20px rgba(0,0,0,.3)); }
}
@media (max-width: 999px) {
  .banner-collage { height: 300px; }
  .banner-hall img { height: 180px; }
  .tags { width: 52%; }
}
.keyx-box { max-width: 1440px; margin: var(--s-6) auto 0; }
.keyx-h { font-family: var(--f-head); font-weight: 700; font-size: 13px; letter-spacing: .06em; margin: 0 0 10px; }
.keyx-row { border-top: 1px solid var(--line); }
.keyx { padding: 14px 16px 14px 0; }
.keyx b { font-weight: 700; font-size: 15px; }

/* ---- light board panels ---- */
.mb-panel { padding: var(--s-8) 0; border-bottom: 1px solid var(--line); }
.light-panel { background: var(--card); }
.mb-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-6); align-items: center; }
@media (min-width: 900px) { .mb-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--s-7); } }
.mb-h { font-family: var(--f-head); font-weight: 800; font-size: clamp(42px, 5.6vw, 76px); line-height: .98; letter-spacing: -.035em; margin: 0 0 var(--s-4); }
.mb-body { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.45; max-width: 34ch; color: var(--ink); margin-bottom: var(--s-5); }
.imagine-art { position: relative; min-height: 340px; }
.imagine-art .tree { position: absolute; left: 0; bottom: 6%; width: 16%; z-index: 3; fill: rgba(26,26,26,.55); stroke: rgba(26,26,26,.75); stroke-width: 2; }
.bw-photo { position: absolute; left: 10%; top: 12%; width: 74%; margin: 0; z-index: 2; }
.bw-photo img { width: 100%; filter: grayscale(1) contrast(1.08); }
.yellow-rect { position: absolute; right: 6%; top: 0; width: 34%; height: 44%; background: var(--yellow); background-image: var(--paper-grain); mix-blend-mode: multiply; z-index: 3; }
.imagine-art .arc { position: absolute; left: 4%; top: -4%; width: 92%; z-index: 4; stroke: var(--ink); stroke-width: 1.2; fill: none; opacity: .8; inset: auto; }

/* ---- 2 archive stack ---- */
.archive-panel { padding: var(--s-8) 0; }
.stack { height: 400px; }
.stack-card { left: 18%; top: 6%; width: 56%; padding: 0; background: none; box-shadow: none; filter: drop-shadow(0 16px 22px rgba(0,0,0,.55)); }
.stack-card .sc-inner { display: block; }
.stack-card.photo .sc-inner { background: #fff; padding: 10px 10px 26px; }
.stack-card.photo img { filter: grayscale(1) contrast(1.05); }
.stack-card.letter .sc-inner { background: #E8D9B5; background-image: url("../assets/paper.webp"); background-blend-mode: multiply; padding: 26px 22px; min-height: 250px; }
.typed { font-family: "Courier Prime", "Special Elite", monospace; font-size: 14px; line-height: 1.6; color: #2b241a; margin: 0; }
.stack-card.notebook .sc-inner { background-color: #F6F1E6; padding: 22px 18px 22px 44px; min-height: 260px;
  background-image: radial-gradient(circle at 16px 50%, #222 0 4px, transparent 5px), repeating-linear-gradient(transparent 0 23px, rgba(60,90,160,.35) 23px 24px);
  background-size: 32px 34px, auto; background-repeat: repeat-y, repeat; }
.hand { font-family: "Special Elite", "Courier Prime", cursive; font-size: 16px; line-height: 24px; margin: 0; color: #24304f; }
.stack-card.scan .sc-inner { background: #EFE6D6 url("../assets/paper.webp"); padding: 18px 12px; }
.stack-card:not(.top) { filter: drop-shadow(0 12px 18px rgba(0,0,0,.5)) brightness(.88); }
@media (hover: hover) and (pointer: fine) { .stack-card:not(.hidden):not(.gone):hover { --r: 0deg !important; translate: 0 -6px; filter: drop-shadow(0 22px 28px rgba(0,0,0,.6)); z-index: 30 !important; } }
.index-card { position: absolute; right: 6%; bottom: 8%; z-index: 40; width: 150px; padding: 26px 16px 18px; background: var(--pink); background-image: var(--paper-grain), repeating-linear-gradient(transparent 0 19px, rgba(200,60,80,.25) 19px 20px);
  font-family: var(--f-display); font-size: 30px; line-height: 1; color: var(--ink); transform: rotate(-6deg); box-shadow: 0 14px 24px -12px rgba(0,0,0,.7); pointer-events: none; }
.index-card .stamp { position: absolute; top: 6px; left: 10px; font-family: var(--f-mono); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; color: rgba(26,26,26,.6); border: 1px solid rgba(26,26,26,.4); padding: 1px 4px; transform: rotate(-3deg); }
.stack-info { position: absolute; left: -2%; bottom: -2%; z-index: 45; max-width: 240px; padding: 12px 14px; background: var(--cream); color: var(--ink); border-radius: 4px; box-shadow: 0 16px 30px -14px rgba(0,0,0,.8);
  display: flex; flex-direction: column; gap: 4px; opacity: 0; transform: translateX(-12px); pointer-events: none; transition: opacity 200ms, transform 260ms var(--ease-out-back); }
.stack-info.show { opacity: 1; transform: none; pointer-events: auto; }
.si-t { font-weight: 700; } .si-s { font-size: 13px; color: var(--muted); } .stack-info a { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.stack-ctrl { gap: 14px; }
.stack-count { font-family: var(--f-ui); font-size: 14px; color: var(--text-dim); letter-spacing: .04em; }
.arrow-btn { background: none; border: 0; color: var(--text); font-size: 20px; cursor: pointer; padding: 4px; transition: transform .2s; }
.arrow-btn:hover { transform: translateX(2px); color: #fff; }
.arrow-btn[data-stack="-1"]:hover { transform: translateX(-2px); }
@media (max-width: 600px) { .stack { height: 330px; } .stack-card { left: 6%; width: 74%; } .index-card { width: 110px; font-size: 22px; } }

/* ---- 3 experiment ---- */
.exp-board { position: relative; aspect-ratio: 520 / 300; min-height: 0; width: 100%; }
.exp-board .connectors { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--ink); overflow: visible; }
.exp-board .connectors path { fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-dasharray: 6 6; opacity: .85; animation: march 1.2s linear infinite; transition: stroke .2s; vector-effect: none; }
.exp-board .connectors marker path { stroke-dasharray: none; animation: none; }
.exp-board .connectors path.hot { stroke: var(--orange); opacity: 1; }
@keyframes march { to { stroke-dashoffset: -12; } }
.exp-label { position: absolute; font-size: clamp(16px, 2.3vw, 30px); padding: 4px 16px 6px; cursor: default; animation: floaty calc(6s + var(--i) * .9s) ease-in-out infinite; animation-delay: calc(var(--i) * -1.4s); }
@keyframes floaty { 0%,100% { translate: 0 0; } 50% { translate: 3px -6px; } }
.sticky-label.cream { background-color: #F6EBC9; } .sticky-label.green { background-color: #A9C77F; } .sticky-label.grey { background-color: #D4D0C8; } .sticky-label.pink { background-color: #EBA3B6; } .sticky-label.yellow { background-color: var(--yellow); }
@media (hover: hover) and (pointer: fine) { .exp-label:hover { transform: rotate(0) translateY(-6px); box-shadow: 0 14px 20px -10px rgba(0,0,0,.45); z-index: 5; } }
.plus-box { right: 1%; bottom: 3%; width: 9%; height: auto; aspect-ratio: 1; border: 1.5px dashed var(--ink); border-radius: 4px; background: transparent; }

/* ---- 4 build carousel ---- */
.build-panel { padding: var(--s-8) 0; }
.carousel { height: 380px; }
.bcard { width: min(280px, 64vw); top: 16px; background: #fff; border-radius: 6px; transform: translateX(calc(-50% + var(--d) * 46%)) scale(calc(1 - min(var(--ad), 1) * .15)); opacity: calc(1 - min(var(--ad), 1) * .25); }
.bcard:not(.centre) { filter: brightness(.8); }
.bcard-img { aspect-ratio: 4 / 3; background: #ddd; }
.bcard-img img { transition: transform .4s var(--ease); }
.bcard-body { padding: 14px 16px 18px; }
.bcard h3 { font-family: var(--f-head); font-weight: 700; font-size: 20px; letter-spacing: -.02em; line-height: 1.12; margin: 0 48px 0 0; }
.bcard .plus { top: auto; bottom: 16px; right: 14px; width: 38px; height: 38px; background: var(--ink); transition: transform 250ms var(--ease-out-back), background .2s; }
@media (hover: hover) and (pointer: fine) {
  .bcard.centre:hover .plus { transform: rotate(90deg); background: var(--orange); }
  .bcard.centre:hover .bcard-img img { transform: scale(1.04); }
}
.round-btn { position: absolute; top: 42%; z-index: 20; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 0 6px 14px -6px rgba(0,0,0,.5); }
.round-btn.car-prev { left: 2%; } .round-btn.car-next { right: 2%; }
.round-btn:hover { background: var(--cream); }

/* ---- 5 builder + 6 proposals ---- */
.duo-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-7); }
@media (min-width: 1100px) { .duo-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } }
.builder-h { font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: clamp(32px, 3.4vw, 46px); letter-spacing: -.01em; margin-bottom: var(--s-5); }
.builder-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-5); }
@media (min-width: 640px) { .builder-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.b-rows { display: flex; flex-direction: column; gap: 8px; }
.b-row { display: grid; grid-template-columns: 44px 1fr; gap: 8px; align-items: stretch; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; font: inherit; color: var(--ink); }
.b-n { display: flex; align-items: center; justify-content: center; background: #E4DED3; border-radius: 3px; font-weight: 500; font-size: 14px; transition: background .3s, color .3s; }
.b-l { background: #fff; border-radius: 3px; padding: 8px 12px; font-size: 14px; white-space: nowrap; box-shadow: 0 2px 6px -3px rgba(0,0,0,.25); transition: transform .25s var(--ease-out-back); }
.b-row.on .b-n { background: var(--orange); color: #fff; }
.b-row.on .b-l { transform: translateX(4px); }
.b-right { position: relative; display: flex; flex-direction: column; gap: 14px; }
.b-q { font-size: 16px; line-height: 1.45; margin: 0; min-height: 5.8em; transition: opacity .18s; }
.b-q.fade { opacity: 0; }
.b-right textarea { background: #EDE7DC; border: 0; border-radius: 4px; min-height: 110px; color: var(--ink); }
.b-next { align-self: flex-end; position: relative; z-index: 2; }
.grid-scrap { position: absolute; left: -8%; bottom: -6px; width: 60%; height: 54px; background-image: linear-gradient(rgba(26,26,26,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(26,26,26,.18) 1px, transparent 1px); background-size: 16px 16px; transform: rotate(-2deg); opacity: .8; pointer-events: none; }
.p-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-bottom: var(--s-5); position: relative; padding-right: 40px; }
.p-title { font-family: var(--f-display); font-weight: 400; letter-spacing: -.01em; font-size: clamp(38px, 4vw, 56px); margin: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { border: 1px solid var(--line-strong); background: #fff; border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 13px; cursor: pointer; color: var(--ink); }
.pill.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.p-search { position: absolute; right: 0; top: 4px; color: var(--ink); }
.pgrid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
.pcard { display: flex; flex-direction: column; background: #fff; border-radius: 6px; overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: 0 4px 14px -8px rgba(0,0,0,.3); transition: transform 250ms var(--ease-out-back), box-shadow .25s; }
.pcard:hover { color: var(--ink); transform: translateY(-6px); box-shadow: 0 18px 28px -14px rgba(0,0,0,.35); }
.pcard-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #ddd; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 12s ease-in-out infinite alternate; }
@keyframes kenburns { from { scale: 1; } to { scale: 1.06; } }
.pcard-body { position: relative; padding: 12px 34px 14px 14px; display: flex; flex-direction: column; gap: 4px; }
.pcard-body b { font-family: var(--f-head); font-weight: 700; letter-spacing: -.01em; font-size: 16px; }
.pcard-line { font-size: 13.5px; line-height: 1.35; color: var(--ink); }
.pcard-arr { position: absolute; right: 12px; top: 50%; transition: transform .2s; }
.pcard:hover .pcard-arr { transform: translateX(4px); }

/* ---- 7 ellipse ---- */
.orbit-panel { padding: var(--s-8) 0; }
.orbit { aspect-ratio: 16 / 10; max-width: 820px; }
.orbit svg ellipse { fill: none; stroke: rgba(241,236,226,.85); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.orbit-centre { font-size: clamp(34px, 5.4vw, 66px); }
.orbit-pill { border-radius: 50%; padding: 10px 24px; background: var(--black); border: 1.5px solid #fff; color: #fff; font-size: clamp(13px, 1.7vw, 19px); }
.orbit-pill:hover, .orbit-pill:focus-visible { background: #fff; color: var(--black); }
.orbit-dot2 { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); transform: translate(-50%, -50%); }

@media (prefers-reduced-motion: reduce) {
  .drift, .tag-paper, .exp-label, .exp-board .connectors path, .pcard-img img { animation: none !important; }
}

/* ---- QA round 1 (SILVER CENTURION) ---- */
/* 1 dark panels: grotesk body */
.panel .panel-copy .lede, .mb-panel .mb-body, .archive-panel .lede, .build-panel .lede { font-family: var(--f-ui); }
/* 2 stack fan + CCA Lagos card over the photo's lower-left corner */
.stack-card { transform: translate(calc(var(--fx, 0%)), var(--fy, 0px)) rotate(var(--r)) scale(calc(1 - var(--k) * .03)); left: 22%; width: 52%; }
.stack-card.gone { transform: translate(-70%, 20px) rotate(-14deg) scale(.95); }
.index-card { left: 18%; top: 55%; right: auto; bottom: auto; width: 24%; min-width: 112px; transform: rotate(-3deg); font-size: clamp(22px, 2.6vw, 34px); padding: 28px 16px 18px; }
.index-card .stamp { left: 8px; right: 8px; top: 6px; text-align: center; }
/* 3 info card slides out beside the hovered card */
.stack-info { left: 0; bottom: auto; transform: translateX(16px); transition: opacity 250ms var(--ease), transform 250ms var(--ease); }
.stack-info.show { transform: translateX(0); }
/* 5 + 6 hero collage */
.banner-collage { height: 340px; }
.patch-grid-orange { left: 0; top: 0; width: 20%; height: 100%; z-index: 1; }
.letter-paper { left: 34%; top: 0; width: 38%; height: 100%; z-index: 2; clip-path: polygon(0 0, 100% 1%, 98% 100%, 2% 99%); }
.hero-portrait { left: 4%; top: auto; bottom: 0; width: 60%; z-index: 3; clip-path: none; -webkit-mask-image: linear-gradient(#000 88%, transparent); mask-image: linear-gradient(#000 88%, transparent); }
.banner-collage .house { left: 44%; bottom: 3%; width: 26%; z-index: 4; }
.torn-paper { z-index: 2; }
.tags { left: 66%; right: auto; top: 8%; width: auto; z-index: 6; gap: 10px; }
.tag-paper { align-self: flex-start; }
@media (max-width: 999px) { .tags { left: 62%; } .tag-paper { font-size: 17px; } .tags .tag-paper { margin-left: 0 !important; } .tags .tag-paper:nth-child(2n) { margin-left: 18px !important; } }
/* 7 + 8 imagining */
.bw-photo { left: 4%; top: 4%; width: 88%; }
.bw-photo img { filter: none; }
.imagine-art { min-height: 0; aspect-ratio: 508 / 394; }
.mb-h.imagine-h { font-weight: 500; letter-spacing: -.01em; }
/* 9 experiment: labels scale with the board */
.exp-board { container-type: inline-size; }
.exp-label { font-size: clamp(14px, 6.2cqi, 40px); padding: .15em .5em; line-height: 1.15; white-space: nowrap; }
/* 10 build centre card */
.carousel { height: 470px; }
.bcard { width: min(360px, 74vw); top: 10px; }
.bcard-img { aspect-ratio: 16 / 12; }
.bcard-body { padding: 16px 18px 20px; }
.bcard h3 { font-size: clamp(24px, 2.2vw, 30px); font-weight: 700; line-height: 1.05; margin-right: 52px; }
.bcard .plus { width: 44px; height: 44px; font-size: 24px; bottom: 20px; }
@media (max-width: 600px) { .carousel { height: 400px; } }
/* 12 proposals head: pills on the title row, bottom-aligned */
.p-head { align-items: flex-end; flex-wrap: nowrap; gap: 18px; padding-right: 36px; }
.p-head .pills { flex-wrap: wrap; padding-bottom: 6px; }
.pill { font-size: 12.5px; padding: 6px 12px; }
@media (max-width: 700px) { .p-head { flex-wrap: wrap; } }
.duo .builder .builder-h { font-style: normal; }
.duo .builder .builder-h em { font-style: italic; }
.letter-paper { left: 40%; width: 46%; }
.banner-collage .house { left: 60%; bottom: 2%; width: 22%; }
.p-title { font-size: clamp(34px, 3.3vw, 50px); }
.pill { padding: 5px 11px; font-size: 12px; }
/* QA round 2 */
.letter-paper .script { position: absolute; inset: 14px 14px 14px 16px; display: flex; flex-direction: column; justify-content: space-around; transform: rotate(-2deg); }
.letter-paper .script span { font-family: var(--f-display); font-style: italic; font-size: clamp(9px, .95vw, 14px); line-height: 1.15; color: #4a3b28; opacity: .55; white-space: normal; overflow: visible; overflow-wrap: normal; word-break: keep-all; letter-spacing: 0; }
.letter-paper .script span:nth-child(odd) { padding-left: 6px; }
@media (min-width: 1100px) { .duo-grid { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); } }
.p-head { padding-right: 0; gap: 14px; }
.p-head .pills { flex-wrap: nowrap; gap: 6px; }
.pill { font-size: 13px; padding: 6px 14px; white-space: nowrap; }
.p-title { font-size: clamp(34px, 3vw, 46px); }
@media (max-width: 1099px) { .p-head { flex-wrap: wrap; } .p-head .pills { flex-wrap: wrap; } .p-head { padding-right: 36px; } }
.duo .builder .builder-h { font-size: clamp(28px, 2.5vw, 38px); white-space: nowrap; }
@media (max-width: 420px) { .duo .builder .builder-h { white-space: normal; } }
@media (max-width: 600px) { .orbit-panel .wrap { padding-inline: 44px; } .orbit { aspect-ratio: 4 / 3; } .orbit-pill { padding: 7px 14px; font-size: 12.5px; } .orbit-centre { font-size: 30px; } }
/* lead: download fallback for shared-link viewers */
.dl-fallback { max-width: 640px; }
.dl-fallback p { margin: 0 0 12px; }
.dl-pages { display: grid; gap: 14px; max-height: 62vh; overflow: auto; padding: 4px; }
.dl-page { width: 100%; height: auto; display: block; box-shadow: 0 8px 24px rgba(0,0,0,.18); border-radius: 2px; -webkit-touch-callout: default; user-select: auto; }
.dl-alt { font-size: 14px; color: var(--muted, #5E5850); margin-top: 12px !important; }
.dl-alt a { color: inherit; text-decoration: underline; }

/* ---- HERO COLLAGE rebuild (Angel zoom, 12:30) ---- */
@media (min-width: 1000px) { .banner-row { grid-template-columns: auto minmax(220px, 290px) minmax(0, 1.45fr) 190px minmax(0, .85fr); gap: var(--s-5); } }
.banner .hc { position: relative; height: 380px; }
.banner .hc > * { position: absolute; margin: 0; }
.banner .hc-scrap { left: -14%; bottom: 0; width: 46%; height: 34%; z-index: 1; background: #DCCFB8 url("../assets/tex/paper-crumpled.webp") center / cover; clip-path: polygon(0% 3.0%, 8% 3.6%, 16% 10.8%, 24% 4.6%, 32% 4.1%, 40% 1.0%, 48% 1.3%, 56% 8.2%, 64% 3.4%, 72% 8.4%, 80% 5.2%, 88% 6.3%, 96% 13.4%, 100% 100%, 0% 100%); }
.banner .hc-orange { left: 6%; top: 0; width: 22%; height: 100%; z-index: 2; background-color: #EE7A22;
  background-image: linear-gradient(rgba(255,255,255,.28) 1.5px, transparent 1.5px), linear-gradient(90deg, rgba(255,255,255,.28) 1.5px, transparent 1.5px), linear-gradient(90deg, rgba(0,0,0,.06), transparent 40%, rgba(0,0,0,.08));
  background-size: 34px 30px, 34px 30px, 100% 100%; clip-path: polygon(7.6% 0%, 2.8% 4%, 2.6% 8%, 6.9% 12%, 7.6% 16%, 8.6% 20%, 0.0% 24%, 8.2% 28%, 8.8% 32%, 0.7% 36%, 7.0% 40%, 0.8% 44%, 8.7% 48%, 1.1% 52%, 0.9% 56%, 7.2% 60%, 5.0% 64%, 1.7% 68%, 1.2% 72%, 1.0% 76%, 1.9% 80%, 8.7% 84%, 2.7% 88%, 1.9% 92%, 7.7% 96%, 0.9% 100%, 91.1% 100%, 94.2% 96%, 96.5% 92%, 92.0% 88%, 92.8% 84%, 97.6% 80%, 96.2% 76%, 94.2% 72%, 93.4% 68%, 96.0% 64%, 98.4% 60%, 99.5% 56%, 97.8% 52%, 93.2% 48%, 97.0% 44%, 97.6% 40%, 94.3% 36%, 96.4% 32%, 95.8% 28%, 98.1% 24%, 92.4% 20%, 96.5% 16%, 96.4% 12%, 99.4% 8%, 97.9% 4%, 93.6% 0%); }
.banner .hc-letter { left: 40%; top: -4%; width: 62%; height: 104%; z-index: 2; overflow: hidden;
  background: #EEE6D6 url("../assets/tex/paper-xerox.webp") center / 420px; clip-path: polygon(0% 0%, 98.4% 0%, 98.0% 5%, 96.8% 10%, 98.4% 15%, 98.2% 20%, 97.9% 25%, 99.4% 30%, 98.2% 35%, 97.8% 40%, 97.2% 45%, 99.7% 50%, 98.9% 55%, 99.7% 60%, 97.2% 65%, 97.6% 70%, 99.9% 75%, 96.6% 80%, 96.6% 85%, 97.7% 90%, 97.8% 95%, 99.4% 100%, 100% 100.0%, 94% 98.7%, 88% 99.9%, 82% 99.5%, 76% 99.4%, 70% 99.9%, 64% 98.8%, 58% 98.9%, 52% 97.9%, 46% 98.7%, 40% 98.4%, 34% 98.8%, 28% 98.3%, 22% 98.9%, 16% 99.3%, 10% 97.5%, 4% 97.5%); box-shadow: none; }
.banner .hc-fold { position: absolute; left: 0; right: 0; top: 46%; height: 1px; background: linear-gradient(90deg, rgba(90,70,40,.18), rgba(90,70,40,.06)); box-shadow: 0 1px 0 rgba(255,255,255,.5); }
.banner .hc-script { position: absolute; left: 14%; top: 4%; right: -60%; display: flex; flex-direction: column; gap: 9px; transform: rotate(-3deg); transform-origin: left top; }
.banner .hc-script span { font-family: 'Cedarville Cursive', 'Homemade Apple', cursive; font-size: 14px; line-height: 1.5; color: #3a2f22; opacity: .75; white-space: nowrap; font-style: normal; letter-spacing: .02em; }
.banner .hc-script span:nth-child(3n+2) { padding-left: 18px; }
.banner .hc-portrait { left: 12%; bottom: 0; width: 64%; aspect-ratio: 150 / 186; overflow: hidden; z-index: 3; clip-path: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
.banner .hc-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 44% 0; filter: grayscale(1) contrast(1.05); }
.banner .hc-house { right: -2%; bottom: 4%; width: 30%; z-index: 4; fill: none; stroke: #2b241a; stroke-width: 1.3; opacity: .85; }
.banner .hc-house path { fill: none; }
.banner .hc-tags { position: relative; height: 250px; align-self: center; }
.banner .hc-tags .tag-paper { position: absolute; margin: 0 !important; white-space: nowrap; font-size: clamp(22px, 1.9vw, 30px); padding: 8px 18px 9px; }
.banner .hc-tags .tag-paper:nth-child(1) { left: 0; top: 0; }
.banner .hc-tags .tag-paper:nth-child(2) { left: 26%; top: 54px; z-index: 2; }
.banner .hc-tags .tag-paper:nth-child(3) { left: 6%; top: 118px; z-index: 3; }
.banner .hc-tags .tag-paper:nth-child(4) { left: 30%; top: 172px; z-index: 4; }
.banner .banner-hall { clip-path: polygon(4% 0, 100% 0, 100% 100%, 2% 100%, 0 86%, 3% 70%, 0 52%, 4% 34%, 1% 16%); }
@media (min-width: 1000px) and (max-width: 1340px) { .banner-row { grid-template-columns: auto minmax(200px, 250px) minmax(0, 1.4fr) 170px minmax(0, .7fr); } .banner .hc-tags .tag-paper { font-size: 21px; } }
@media (max-width: 999px) {
  .banner .hc { height: 300px; }
  .banner .hc-tags { height: 200px; }
  .banner .hc-tags .tag-paper { font-size: 22px; }
  .banner .hc-tags .tag-paper:nth-child(2) { left: 30%; top: 46px; }
  .banner .hc-tags .tag-paper:nth-child(3) { left: 8%; top: 96px; }
  .banner .hc-tags .tag-paper:nth-child(4) { left: 34%; top: 142px; }
}
@media (min-width: 1000px) { .banner-row { grid-template-columns: auto minmax(200px, 250px) minmax(0, 1.75fr) 180px minmax(0, .7fr); gap: 20px; } }
.banner .hc-orange { left: 4%; width: 24%; }
.banner .hc-portrait { left: 8%; width: 66%; -webkit-mask-image: radial-gradient(ellipse 62% 78% at 52% 62%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 62% 78% at 52% 62%, #000 62%, transparent 100%); }
.banner .hc-portrait img { object-position: 42% 0; }
.banner .hc-letter { left: 44%; width: 58%; }
.banner .hc-script span { font-size: 15px; }
@media (min-width: 1000px) {
  .banner .hc-tags .tag-paper:nth-child(2) { top: 44px; }
  .banner .hc-tags .tag-paper:nth-child(3) { top: 98px; }
  .banner .hc-tags .tag-paper:nth-child(4) { top: 142px; }
  .banner .hc-tags { height: 200px; }
}
/* lead fix: brush underline sized to the word "Code", never the container */
.wordmark .brush { width: 2.7em !important; max-width: 90% !important; height: auto; left: -.04em; bottom: -.22em; }
