:root {
  color-scheme: light;
  --paper: #f7f8f4;
  --surface: #ffffff;
  --ink: #111313;
  --muted: #555e5a;
  --line: #aeb7b2;
  --blue: #1557ff;
  --blue-wash: #dce5ff;
  --red: #b72a18;
  --red-wash: #ffe0da;
  --display: "Barlow Condensed", "Avenir Next Condensed", "Arial Narrow", sans-serif;
  --body: "Source Sans 3", "Avenir Next", "Helvetica Neue", sans-serif;
  --wide: min(1440px, calc(100% - 64px));
  --read: min(760px, calc(100% - 40px));
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0f1211;
  --surface: #191d1b;
  --ink: #f3f5ef;
  --muted: #b7c0bb;
  --line: #637069;
  --blue: #91adff;
  --blue-wash: #1b2b50;
  --red: #ff9b89;
  --red-wash: #49251f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.58 var(--body); text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: .22em; }
a:hover { color: var(--blue); }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 14px; background: var(--ink); color: var(--surface); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.site-banner { margin: 0; padding: 9px max(20px, calc((100vw - 1440px) / 2)); background: var(--blue); color: #fff; font: 700 13px/1.2 var(--display); letter-spacing: .075em; text-transform: uppercase; }
:root[data-theme="dark"] .site-banner { color: #111313; }

.masthead { width: var(--wide); min-height: 104px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 2px solid var(--ink); }
.brand { display: inline-flex; min-height: 44px; align-items: center; gap: 13px; font: 800 22px/.84 var(--display); letter-spacing: -.015em; text-transform: uppercase; text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 43px; height: 43px; fill: currentColor; stroke: none; }
.brand-mark { transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.brand:hover .brand-mark { transform: rotate(45deg) scale(.92); }
.brand-copy small { display: block; margin-top: 5px; color: var(--muted); font: 650 11px/1.15 var(--display); letter-spacing: .09em; }
.masthead-tools { display: flex; align-items: center; gap: 18px; }
.site-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); font: 700 16px/1 var(--display); letter-spacing: .075em; text-transform: uppercase; }
.site-nav a { display: inline-flex; min-height: 44px; align-items: center; gap: 7px; padding: 8px 0; border-bottom: 2px solid transparent; text-decoration: none; }
.nav-icon { width: 15px; height: 15px; fill: currentColor; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-color: var(--red); color: var(--ink); }
.nav-toggle, .theme-toggle { min-height: 44px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: 700 14px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.nav-toggle { display: none; padding: 9px 13px; border-width: 2px; }
.theme-toggle { display: inline-flex; align-items: center; gap: 9px; padding: 8px 11px; }
.theme-icon { width: 16px; height: 16px; fill: currentColor; stroke: none; }

main { overflow: clip; }
h1, h2, h3 { margin: 0; font-family: var(--display); line-height: .95; text-wrap: balance; }
p { text-wrap: pretty; }
.display { font-size: clamp(4rem, 7vw, 6rem); font-weight: 750; letter-spacing: -.035em; }
.page-title { max-width: 900px; font-size: clamp(3.4rem, 6vw, 6rem); font-weight: 750; letter-spacing: -.03em; }
.section-title { max-width: 800px; font-size: clamp(2.4rem, 4vw, 3.8rem); font-weight: 740; letter-spacing: -.02em; }
.lede { max-width: 68ch; font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.45; }
.metadata { color: var(--muted); font-size: .94rem; }
.evidence-label { display: flex; align-items: center; gap: 10px; color: var(--blue); font: 700 14px/1.15 var(--display); letter-spacing: .105em; text-transform: uppercase; }
.evidence-label::before { content: ""; width: 7px; height: 7px; flex: 0 0 auto; background: currentColor; box-shadow: 4px 4px 0 color-mix(in srgb, currentColor 45%, transparent); }
.inference-label { color: var(--red); }

.read-link { display: inline-flex; min-height: 44px; align-items: center; gap: 24px; padding: 14px 0 9px; border-bottom: 4px solid var(--red); font: 700 18px/1 var(--display); letter-spacing: .035em; text-transform: uppercase; text-decoration: none; }
.read-link svg { width: 31px; height: 18px; fill: currentColor; stroke: none; transition: transform .18s ease-out; }
.read-link:hover svg { transform: translateX(5px); }
.text-link { display: inline-flex; min-height: 44px; align-items: center; font-weight: 650; }
.action-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 34px; }

.research-intro { position: fixed; z-index: 1000; inset: 0; display: none; place-items: center; overflow: hidden; background: #090b0b; color: #f7f8f4; transition: opacity .58s ease, visibility .58s ease; }
.intro-enabled .research-intro { display: grid; }
.intro-grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, 1fr); gap: 3px; padding: 3px; }
.intro-tile { position: relative; min-width: 0; min-height: 0; margin: 0; overflow: hidden; background: #191d1b; opacity: 0; transform: scale(.84); animation: intro-tile-in .82s cubic-bezier(.16,1,.3,1) forwards; animation-delay: calc(180ms + var(--tile-index) * 70ms); }
.intro-tile img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.62) contrast(1.1); transform: scale(1.12); animation: intro-image-settle 2.2s cubic-bezier(.16,1,.3,1) forwards; animation-delay: calc(180ms + var(--tile-index) * 45ms); }
.intro-tile figcaption { position: absolute; inset: auto 0 0; padding: 5px 7px; background: rgba(9,11,11,.84); color: #fff; font: 700 10px/1.1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.intro-title { position: relative; z-index: 2; width: min(880px, calc(100% - 40px)); padding: 28px 32px 30px; overflow: hidden; border: 3px solid #fff; background: #090b0b; opacity: 0; transform: translateY(24px); animation: intro-title-in .7s cubic-bezier(.16,1,.3,1) .65s forwards; }
.intro-title > span { display: block; font: 700 13px/1 var(--display); letter-spacing: .13em; text-transform: uppercase; }
.intro-title strong { display: block; margin: 18px 0 16px; font: 750 clamp(3rem, 6vw, 6rem)/.88 var(--display); letter-spacing: -.035em; text-transform: uppercase; }
.intro-title p { max-width: 48ch; margin: 0 0 28px; color: #c9cfcb; font-size: clamp(1rem, 1.6vw, 1.25rem); line-height: 1.35; }
.intro-enter { display: inline-flex; min-height: 48px; align-items: center; gap: 24px; padding: 13px 17px; border: 2px solid #f7f8f4; background: #f7f8f4; color: #090b0b; font: 700 15px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.intro-enter svg { width: 28px; fill: #1557ff; transition: transform .18s ease-out; }
.intro-enter:hover svg { transform: translateX(5px); }
.intro-countdown { display: block; margin-top: 14px; color: #c9cfcb; font: 650 12px/1.2 var(--body); }
.research-intro.is-leaving { opacity: 0; visibility: hidden; pointer-events: none; }
.research-intro.is-leaving .intro-tile:nth-child(odd) { transform: translateY(-28px) scale(1.05); }
.research-intro.is-leaving .intro-tile:nth-child(even) { transform: translateY(28px) scale(1.05); }
.research-intro.is-complete { display: none; }
.intro-active { overflow: hidden; }
@keyframes intro-tile-in { to { opacity: .78; transform: scale(1); } }
@keyframes intro-image-settle { to { transform: scale(1); } }
@keyframes intro-title-in { to { opacity: 1; transform: translateY(0); } }

.home-intro { width: var(--wide); margin: 0 auto; padding: clamp(48px, 7vh, 86px) 0 36px; }
.home-intro h1 { max-width: 16ch; font-size: clamp(3rem, 5.2vw, 5.25rem); font-weight: 720; letter-spacing: -.025em; }
.home-intro p { margin: 16px 0 0; color: var(--muted); }
.home-intro strong { color: var(--ink); }
.home-primary-action { display: inline-flex; min-height: 52px; align-items: center; gap: 20px; margin-top: 26px; padding: 15px 19px; background: linear-gradient(135deg, #ff806f 0%, #8f78ff 52%, #1557ff 100%); box-shadow: 0 12px 26px rgba(21, 87, 255, .2); color: #fff; font: 700 16px/1 var(--display); letter-spacing: .055em; text-transform: uppercase; text-decoration: none; transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease, filter .3s ease; }
.home-primary-action svg { width: 27px; height: 17px; fill: currentColor; transition: transform .22s ease-out; }
.home-primary-action:hover { color: #fff; filter: saturate(1.08); transform: translateY(-3px); box-shadow: 0 17px 34px rgba(21, 87, 255, .26); }
.home-primary-action:hover svg { transform: translateX(4px); }
.home-topics { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 24px; }
.home-topics a { padding-bottom: 3px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .9rem; text-decoration: none; }
.home-topics a:hover { color: var(--blue); border-color: var(--blue); }

.lead-stage { width: var(--wide); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .45fr); gap: 10px; padding-bottom: clamp(70px, 9vw, 124px); }
.lead-stack { display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lead-story { min-width: 0; color: #fff; text-decoration: none; }
.lead-story figure { position: relative; height: 100%; min-height: 0; margin: 0; overflow: hidden; background: #111313; }
.lead-story-main figure { min-height: min(610px, 64vw); }
.lead-story img { width: 100%; height: 100%; object-fit: cover; transition: transform .75s cubic-bezier(.16,1,.3,1), filter .3s ease; }
.lead-story figcaption { position: absolute; inset: auto 0 0; padding: clamp(18px, 2.5vw, 34px); background: linear-gradient(0deg, rgba(7,9,9,.94), rgba(7,9,9,.6) 68%, transparent); }
.lead-story figcaption span { color: #b8c9ff; font: 700 12px/1.15 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.lead-story h2 { max-width: 18ch; margin-top: 8px; color: #fff; font-size: clamp(1.75rem, 3.2vw, 4.1rem); line-height: .98; letter-spacing: -.015em; }
.lead-stack .lead-story h2 { font-size: clamp(1.45rem, 2vw, 2.4rem); }
.lead-story:hover { color: #fff; }
.lead-story:hover img { transform: scale(1.035); filter: saturate(1.06); }

.proof-frame { position: relative; margin: 0; border: 3px solid var(--ink); background: var(--surface); }
.proof-frame img { width: 100%; height: auto; object-fit: cover; }
.proof-frame figcaption { padding: 16px 18px 18px; border-top: 1px solid var(--line); font-size: .92rem; line-height: 1.45; }
.crop { position: absolute; z-index: 3; width: 28px; height: 28px; pointer-events: none; }
.crop::before, .crop::after { content: ""; position: absolute; background: var(--ink); }
.crop::before { width: 28px; height: 2px; }
.crop::after { width: 2px; height: 28px; }
.crop-a { top: -12px; left: -12px; }
.crop-b { right: -12px; bottom: -12px; transform: rotate(180deg); }

.page-intro, .collection, .about-layout, .article-wrap, .visual-wrap { width: var(--wide); margin-inline: auto; }

.research-archive { width: var(--wide); margin: 0 auto; padding: 0 0 116px; }
.latest-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 30px; padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
.archive-link { gap: 12px; text-decoration: none; }
.archive-link svg { width: 25px; fill: var(--blue); transition: transform .18s ease-out; }
.archive-link:hover svg { transform: translateX(4px); }
.topic-filter { display: flex; flex-wrap: wrap; gap: 4px 26px; }
.topic-filter button { min-height: 44px; padding: 10px 0 8px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font: 650 14px/1 var(--body); cursor: pointer; }
.topic-filter button:hover, .topic-filter button:focus-visible { color: var(--blue); }
.topic-filter button[aria-pressed="true"] { border-color: var(--blue); color: var(--ink); }
.filter-status { margin: 0; color: var(--muted); font-size: .82rem; white-space: nowrap; }
[data-filter-items] > [hidden] { display: none !important; }
.research-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(30px, 4vw, 58px) 18px; }
.research-card { min-width: 0; color: inherit; text-decoration: none; }
.research-card figure { height: 100%; margin: 0; }
.research-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: #111313; transition: transform .65s cubic-bezier(.16,1,.3,1), filter .3s ease; }
.research-card figcaption { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: start; padding: 14px 0 0; }
.research-copy { min-width: 0; }
.research-copy strong { display: block; color: var(--blue); font: 700 12px/1.15 var(--display); letter-spacing: .075em; text-transform: uppercase; }
.research-copy em { display: block; margin-top: 7px; color: var(--ink); font: 650 clamp(1.2rem, 1.7vw, 1.6rem)/1.18 var(--body); letter-spacing: -.01em; }
.research-card svg { width: 22px; margin-top: 3px; fill: var(--red); transition: transform .18s ease-out; }
.research-card:hover { color: inherit; }
.research-card:hover img { transform: scale(1.025); filter: saturate(1.06); }
.research-card:hover svg { transform: translateX(4px); }
.library-intro { width: var(--wide); margin: 0 auto; display: flex; align-items: end; justify-content: space-between; gap: 36px; padding: clamp(56px, 8vw, 104px) 0 26px; border-bottom: 1px solid var(--ink); }
.library-intro .page-title { font-family: var(--body); font-size: clamp(2.5rem, 4vw, 4.25rem); font-weight: 650; line-height: 1; letter-spacing: -.035em; }
.archive-jump { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 22px; }
.archive-jump a { color: var(--muted); font-size: .9rem; text-decoration: none; }
.archive-jump a:hover { color: var(--blue); }
.article-library { padding-bottom: 116px; }
.archive-chapter { padding: clamp(58px, 7vw, 92px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 32px; }
.archive-chapter-head { margin-bottom: 26px; }
.archive-chapter-head h2 { font-family: var(--body); font-size: clamp(2rem, 3.2vw, 3.3rem); font-weight: 630; line-height: 1; letter-spacing: -.03em; }
.archive-feature { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); gap: clamp(26px, 4vw, 64px); align-items: center; margin-bottom: 34px; color: inherit; text-decoration: none; }
.archive-feature figure { margin: 0; overflow: hidden; background: #111313; }
.archive-feature img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .65s cubic-bezier(.16,1,.3,1), filter .3s ease; }
.archive-feature h3 { margin-top: 10px; font: 650 clamp(2rem, 3.7vw, 4.4rem)/.98 var(--body); letter-spacing: -.035em; }
.archive-read { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; color: var(--ink); font: 700 13px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.archive-read svg { width: 24px; fill: var(--red); }
.archive-feature:hover { color: inherit; }
.archive-feature:hover img { transform: scale(1.025); filter: saturate(1.06); }
.archive-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 34px; border-top: 1px solid var(--line); }
.archive-entry { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 18px; align-items: center; min-height: 118px; padding: 16px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.archive-entry figure { margin: 0; overflow: hidden; background: #111313; }
.archive-entry img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .45s ease; }
.archive-entry h3 { margin-top: 5px; font: 620 clamp(1.05rem, 1.45vw, 1.3rem)/1.18 var(--body); letter-spacing: -.012em; }
.archive-game { color: var(--muted); font-size: .92rem; text-align: right; }
.archive-feature .archive-game, .archive-entry .archive-game { color: var(--blue); text-align: left; }
.archive-entry:hover { color: var(--blue); }
.archive-entry:hover img { transform: scale(1.035); }

.page-intro { padding: 76px 0 64px; border-bottom: 2px solid var(--ink); }
.page-intro .lede { margin: 28px 0 0; }
.collection { padding: 0 0 110px; }
.collection-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 44px 0 24px; }
.collection-heading p { margin: 0; color: var(--muted); }
.note-list { border-top: 1px solid var(--ink); }
.note-row { display: grid; grid-template-columns: 145px minmax(0, 1fr) 130px; gap: 28px; align-items: start; padding: 30px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.note-row:hover { color: var(--ink); }
.note-row h2 { font-size: clamp(2rem, 3vw, 3.25rem); }
.note-row .note-type { color: var(--blue); font: 700 13px/1.2 var(--display); letter-spacing: .09em; text-transform: uppercase; }
.note-row .note-meta { color: var(--muted); text-align: right; font-size: .9rem; }
.note-row p { max-width: 68ch; margin: 12px 0 0; color: var(--muted); }

.guide-index { padding: 56px 0 44px; border-top: 2px solid var(--ink); }
.guide-row { display: grid; grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr); min-height: 340px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.guide-row figure { margin: 0; overflow: hidden; background: var(--ink); }
.guide-row img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; transition: transform .7s cubic-bezier(.16,1,.3,1), filter .3s ease; }
.guide-row-copy { display: grid; align-content: center; padding: clamp(34px, 6vw, 72px); }
.guide-meta { color: var(--blue); font: 700 13px/1.45 var(--display); letter-spacing: .07em; text-transform: uppercase; }
.guide-row h2 { max-width: 14ch; margin-top: 16px; font-size: clamp(2.8rem, 5vw, 5.5rem); }
.guide-row p { max-width: 58ch; margin: 18px 0 0; color: var(--muted); }
.guide-row:hover, .guide-row:focus-visible { color: inherit; }
.guide-row:hover img, .guide-row:focus-visible img { transform: scale(1.045); filter: saturate(1.08) contrast(1.04); }
.guide-open { display: inline-flex; align-items: center; gap: 12px; margin-top: 24px; color: var(--blue); font: 700 14px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.guide-open svg { width: 25px; fill: currentColor; }

.workbench-lead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .85fr); gap: clamp(42px, 7vw, 90px); padding: 70px 0 90px; border-bottom: 1px solid var(--line); }
.workbench-lead .proof-frame img { aspect-ratio: 5 / 3; }
.workbench-lead h2 { margin-top: 14px; font-size: clamp(3rem, 6vw, 6rem); }
.proof-list { margin: 34px 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.proof-list li { padding: 13px 0; border-bottom: 1px solid var(--line); }

.index-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--ink); border-left: 1px solid var(--line); }
.index-group { min-height: 280px; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.index-group h2 { font-size: clamp(2.3rem, 4vw, 4rem); }
.index-group ul { margin: 26px 0 0; padding: 0; list-style: none; }
.index-group li { border-top: 1px solid var(--line); }
.index-group a { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 18px; text-decoration: none; }
.index-group a::after { content: ""; width: 10px; height: 10px; border-top: 2px solid var(--red); border-right: 2px solid var(--red); transform: rotate(45deg); }

.about-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(48px, 8vw, 120px); padding: 82px 0 120px; }
.identity-proof { align-self: start; border: 3px solid var(--ink); background: var(--blue-wash); padding: clamp(34px, 7vw, 82px); }
.identity-proof span { display: block; color: var(--blue); font: 700 14px/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.identity-proof strong { display: block; margin-top: 18px; font: 750 clamp(4rem, 10vw, 6rem)/.9 var(--display); letter-spacing: -.04em; }
.identity-proof p { max-width: 24ch; margin: 28px 0 0; }
.about-copy h1 { font-size: clamp(4rem, 8vw, 6rem); }
.about-copy .role { margin: 18px 0 42px; color: var(--blue); font: 700 1.15rem/1.2 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.about-copy section { max-width: 68ch; padding: 34px 0; border-top: 1px solid var(--line); }
.about-copy section h2 { margin-bottom: 16px; font-size: 2.4rem; }

.article-hero { width: var(--wide); margin: 0 auto; padding: 70px 0 64px; }
.article-hero h1 { max-width: 1080px; font-size: clamp(4rem, 8vw, 6rem); letter-spacing: -.035em; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 24px 0 42px; color: var(--muted); }
.article-meta .evidence-label { margin: 0; }
.article-hero .proof-frame img { aspect-ratio: 15 / 7; object-position: center 88%; }
.page-art-note .article-hero .proof-frame img, .page-guide-article .article-hero .proof-frame img { aspect-ratio: 16 / 9; object-position: center; }
.page-ai-art .article-hero .proof-frame img { aspect-ratio: 16 / 9; object-fit: contain; object-position: center; background: #0f1211; }
.article-wrap { display: grid; grid-template-columns: 250px minmax(0, 760px); justify-content: center; gap: clamp(48px, 7vw, 110px); padding: 78px 0 120px; }
.evidence-rail { align-self: start; position: sticky; top: 24px; }
.evidence-rail dl { margin: 0; border-top: 2px solid var(--ink); }
.evidence-rail div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.evidence-rail dt { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.evidence-rail dd { margin: 5px 0 0; font-weight: 650; }
.prose { font-size: 1.13rem; line-height: 1.72; }
.prose > p:first-child { margin-top: 0; font-size: 1.38rem; line-height: 1.55; }
.prose h2 { margin: 64px 0 22px; font-size: clamp(2.7rem, 5vw, 4.4rem); }
.fact-comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 46px 0 62px; border: 2px solid var(--ink); }
.fact-comparison section { padding: 26px; }
.fact-comparison section + section { border-left: 1px solid var(--line); }
.fact-comparison h2 { margin: 0 0 14px; font-size: clamp(2.2rem, 4vw, 3.4rem); }
.fact-comparison p { margin: 0; }
.guide-sequence { margin: 46px 0 62px; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.guide-sequence li { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.guide-sequence strong { color: var(--blue); font-family: var(--display); letter-spacing: .04em; text-transform: uppercase; }
.fact-strip { display: flex; flex-wrap: wrap; gap: 8px; margin: 38px 0 56px; }
.fact-strip span { padding: 10px 12px; border: 1px solid var(--ink); color: var(--blue); font: 700 .78rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.support-layers { margin: 46px 0 62px; border-top: 2px solid var(--ink); }
.support-layers div { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.support-layers dt { color: var(--blue); font: 700 1rem/1.2 var(--display); text-transform: uppercase; }
.support-layers dd { margin: 0; }
.boundary-note { margin: 64px 0; padding: 34px; background: var(--blue-wash); border: 2px solid var(--blue); }
.boundary-note h2 { margin-top: 0; }
.source-list { padding-left: 1.2em; }
.source-list li { margin: 12px 0; }

.visual-wrap { padding: 70px 0 120px; }
.visual-wrap > header h1 { max-width: 1000px; font-size: clamp(4rem, 8vw, 6rem); }
.visual-wrap > header .lede { margin: 26px 0 42px; }
.visual-wrap .proof-frame img { aspect-ratio: 5 / 3; object-fit: cover; object-position: center; }
.visual-section { display: grid; grid-template-columns: minmax(220px, .55fr) minmax(0, 1.45fr); gap: clamp(40px, 8vw, 110px); padding: 84px 0; border-bottom: 1px solid var(--line); }
.visual-section h2 { font-size: clamp(2.8rem, 5vw, 5rem); }
.observation-list { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.observation-list li { display: grid; grid-template-columns: 42px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.observation-list strong { color: var(--blue); font: 700 1.2rem/1 var(--display); }
.timing-diagram { padding: 34px; background: var(--surface); border: 2px solid var(--ink); }
.timing-diagram svg { width: 100%; height: auto; }
.diagram-caption { margin: 18px 0 0; color: var(--muted); font-size: .92rem; }
.private-warning { margin: 0 0 48px; padding: 22px 24px; border: 2px solid var(--red); background: var(--red-wash); }
.private-warning strong { display: block; margin-bottom: 4px; font-family: var(--display); font-size: 1.25rem; text-transform: uppercase; letter-spacing: .05em; }

.site-footer { border-top: 2px solid var(--ink); }
.footer-inner { width: var(--wide); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 36px; padding: 42px 0 54px; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px 30px; }

@media (prefers-reduced-motion: no-preference) {
  body, .site-banner, .masthead, .identity-proof, .boundary-note { transition: background-color .35s ease, color .35s ease, border-color .35s ease; }
  .motion-ready .reveal-item { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .36s ease, transform .5s cubic-bezier(.16,1,.3,1); }
  .motion-ready .reveal-item.reveal-side { transform: translate3d(26px, 0, 0); }
  .motion-ready .reveal-item.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }
  .motion-ready .proof-frame.reveal-item img { clip-path: inset(0 100% 0 0); transition: clip-path 1.05s cubic-bezier(.77,0,.18,1) calc(var(--reveal-index, 0) * 55ms); }
  .motion-ready .proof-frame.reveal-item.is-visible img { clip-path: inset(0); }
  .note-row, .index-group { transition: transform .34s cubic-bezier(.16,1,.3,1), border-color .25s ease, background-color .25s ease; }
  .note-row:hover { transform: translateX(10px); }
  .index-group:hover { transform: translateY(-8px); background: var(--surface); }
  .diagram-live path[stroke="var(--red)"] { stroke-dasharray: 245; animation: draw-playhead 1.15s cubic-bezier(.16,1,.3,1) both; }
  .diagram-live rect[stroke="var(--red)"] { transform-box: fill-box; transform-origin: left center; animation: reveal-contact .9s cubic-bezier(.16,1,.3,1) .35s both; }
  @keyframes draw-playhead { from { stroke-dashoffset: 245; } to { stroke-dashoffset: 0; } }
  @keyframes reveal-contact { from { opacity: 0; transform: scaleX(.15); } to { opacity: 1; transform: scaleX(1); } }
}

@media (max-width: 1000px) {
  .workbench-lead, .about-layout { grid-template-columns: 1fr; }
  .lead-stage { grid-template-columns: minmax(0, 1.35fr) minmax(250px, .65fr); }
  .lead-story-main figure { min-height: 530px; }
  .proof-frame { max-width: 900px; }
  .article-wrap { grid-template-columns: 1fr; max-width: 800px; }
  .evidence-rail { position: static; }
  .evidence-rail dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .evidence-rail div { padding-right: 22px; }
  .research-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .archive-feature { grid-template-columns: minmax(0, 1.15fr) minmax(240px, .85fr); }
}

@media (max-width: 1040px) {
  .masthead { min-height: 82px; flex-wrap: wrap; padding: 12px 0; }
  .brand-copy small { display: none; }
  .masthead-tools { margin-left: auto; gap: 8px; }
  .theme-toggle { width: 44px; justify-content: center; padding: 0; }
  .theme-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav { order: 3; width: 100%; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; padding-bottom: 12px; }
  .site-nav a { gap: 9px; border-bottom: 1px solid var(--line); }
}

@media (min-width: 1001px) and (max-height: 850px) {
  .home-intro { padding-top: 42px; }
  .lead-story-main figure { min-height: min(520px, 66vh); }
  .proof-frame figcaption { padding-block: 11px 13px; }
}

@media (max-width: 760px) {
  :root { --wide: calc(100% - 28px); }
  .site-banner { padding-inline: 14px; }
  .home-intro { padding: 40px 0 28px; }
  .home-intro h1 { font-size: clamp(2.8rem, 13vw, 4rem); }
  .home-topics { gap: 8px 18px; }
  .lead-stage { grid-template-columns: 1fr; padding-bottom: 76px; }
  .lead-story-main figure { min-height: 0; aspect-ratio: 4 / 3; }
  .lead-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
  .lead-stack .lead-story figure { aspect-ratio: 4 / 5; }
  .lead-story figcaption { padding: 16px; }
  .lead-story h2 { font-size: clamp(2rem, 9vw, 3.2rem); }
  .lead-stack .lead-story h2 { font-size: 1.45rem; }
  .identity-proof { display: none; }
  .display, .page-title, .article-hero h1, .visual-wrap > header h1, .about-copy h1 { font-size: clamp(3.1rem, 14.5vw, 4.6rem); }
  .page-intro { padding: 52px 0 46px; }
  .collection-heading { align-items: start; flex-direction: column; }
  .note-row { grid-template-columns: 1fr; gap: 9px; }
  .note-row .note-meta { text-align: left; }
  .guide-index { padding-top: 36px; }
  .guide-row { grid-template-columns: 1fr; min-height: 0; }
  .guide-row img { min-height: 0; aspect-ratio: 16 / 10; }
  .guide-row-copy { padding: 30px 20px 42px; }
  .guide-row h2 { font-size: clamp(2.8rem, 13vw, 4.4rem); }
  .index-grid { grid-template-columns: 1fr; }
  .index-group { min-height: auto; padding: 28px 20px; }
  .article-hero { padding: 52px 0 42px; }
  .article-hero .proof-frame img { aspect-ratio: 4 / 3; }
  .page-art-note .article-hero .proof-frame img, .page-guide-article .article-hero .proof-frame img, .page-ai-art .article-hero .proof-frame img { aspect-ratio: 16 / 10; }
  .article-wrap { padding: 50px 0 88px; }
  .evidence-rail dl { grid-template-columns: 1fr 1fr; }
  .prose { font-size: 1.06rem; }
  .fact-comparison { grid-template-columns: 1fr; }
  .fact-comparison section + section { border-top: 1px solid var(--line); border-left: 0; }
  .guide-sequence li, .support-layers div { grid-template-columns: 1fr; gap: 7px; }
  .boundary-note { margin: 48px 0; padding: 24px 20px; }
  .visual-wrap { padding: 52px 0 90px; }
  .visual-section { grid-template-columns: 1fr; gap: 26px; padding: 58px 0; }
  .timing-diagram { padding: 18px 12px; overflow-x: auto; }
  .timing-diagram svg { min-width: 620px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .intro-grid { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(4, 1fr); }
  .intro-tile figcaption { display: none; }
  .intro-title { padding: 20px; }
  .intro-title strong { font-size: clamp(2.7rem, 13vw, 4.3rem); }
  .intro-title p { margin-bottom: 20px; font-size: .98rem; }
  .intro-enter { width: 100%; justify-content: space-between; }
  .research-archive { padding-bottom: 88px; }
  .latest-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .research-grid { grid-template-columns: 1fr; gap: 42px; }
  .research-card figcaption { padding-top: 12px; }
  .library-intro { align-items: flex-start; flex-direction: column; gap: 18px; padding: 52px 0 24px; }
  .archive-jump { justify-content: flex-start; }
  .archive-feature { grid-template-columns: 1fr; gap: 18px; }
  .archive-feature h3 { font-size: clamp(2rem, 10vw, 3.2rem); }
  .archive-list { grid-template-columns: 1fr; }
  .archive-entry { grid-template-columns: 96px minmax(0, 1fr); min-height: 96px; gap: 14px; padding: 12px 0; }
  .topic-filter { gap-inline: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .research-intro { display: none; }
}


/* Unified shell bridge for retained Strategy C articles and legacy utility pages. */
:root { --accent-pink: #f24f7b; --accent-violet: #715cff; --accent-cyan: #20bdd4; --accent-gradient: linear-gradient(115deg, #ff6a78 0%, #7b5cff 52%, #2fcbd4 100%); }
:root[data-theme="dark"] { --accent-pink: #ff839c; --accent-violet: #9f90ff; --accent-cyan: #60e3ee; --accent-gradient: linear-gradient(115deg, #ff839c 0%, #9b87ff 52%, #55e0e8 100%); }
.site-unified-shell > .masthead { width: var(--wide); max-width: none; margin: 0 auto; padding: 0; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; background: transparent; box-shadow: none; position: static; backdrop-filter: none; }
.site-unified-shell > .masthead .brand { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.site-unified-shell > .masthead .site-nav,
.site-unified-shell > .site-footer .footer-links { width: auto; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.site-unified-shell > .masthead .site-nav a,
.site-unified-shell > .site-footer .footer-links a { border-radius: 0; background: transparent; box-shadow: none; }
.site-unified-shell > .site-footer { display: block; width: 100%; max-width: none; margin: 0; padding: 0; border: 0; border-top: 2px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); box-shadow: none; }
.site-unified-shell > .site-footer .footer-inner { align-items: start; }
.site-unified-shell > .site-footer p { max-width: none; color: inherit; }
.site-unified-shell > main { border-top: 0; }
.site-unified-shell > main > .page-title { width: var(--wide); max-width: none; margin: 0 auto; padding: clamp(64px, 8vw, 104px) 0 56px; border: 0; border-bottom: 2px solid var(--ink); background: transparent; color: var(--ink); }
.site-unified-shell > main > .page-title .eyebrow { margin: 0 0 18px; color: var(--blue); font: 700 13px/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.site-unified-shell > main > .page-title h1 { max-width: 12ch; font: 750 clamp(3.5rem, 7vw, 6rem)/.9 var(--display); letter-spacing: -.035em; }
.site-unified-shell > main > .page-title > p:last-child { max-width: 66ch; margin: 26px 0 0; color: var(--muted); font: 400 clamp(1.08rem, 1.8vw, 1.35rem)/1.55 var(--body); letter-spacing: 0; }
.site-unified-shell > main > .section-block.policy-page { width: min(760px, calc(100% - 40px)); max-width: none; margin: 0 auto; padding: 72px 0 112px; border: 0; border-radius: 0; background: transparent; color: var(--ink); box-shadow: none; }
.site-unified-shell > main > .section-block.policy-page h2 { margin: 58px 0 18px; color: var(--ink); font: 680 clamp(2.25rem, 4vw, 3.7rem)/.98 var(--display); letter-spacing: -.02em; }
.site-unified-shell > main > .section-block.policy-page h2:first-child { margin-top: 0; }
.site-unified-shell > main > .section-block.policy-page p,
.site-unified-shell > main > .section-block.policy-page li { color: var(--ink); font: 400 1.08rem/1.72 var(--body); letter-spacing: 0; }
.site-unified-shell > main > .section-block.policy-page a { color: var(--blue); }
.site-unified-shell > main > .section-block.policy-page .contact-email { display: inline-block; min-height: 0; padding: 2px 5px; border: 0; border-bottom: 2px solid currentColor; border-radius: 0; background: transparent; box-shadow: none; font: 650 1.08rem/1.4 var(--body); }
.contact-panel { width: var(--wide); margin: 0 auto; padding: clamp(52px, 8vw, 96px) 0 112px; display: grid; grid-template-columns: minmax(220px, .55fr) minmax(0, 1fr); gap: clamp(32px, 8vw, 116px); align-items: end; }
.contact-panel h2 { margin: 0 0 18px; font: 720 clamp(2.7rem, 5.5vw, 5.4rem)/.9 var(--display); letter-spacing: -.03em; }
.contact-panel p { max-width: 38ch; margin: 0; color: var(--muted); font: 400 1.08rem/1.6 var(--body); }
.contact-panel .contact-email-action { width: 100%; justify-content: space-between; text-transform: none; letter-spacing: 0; font-size: clamp(1rem, 2.2vw, 1.45rem); overflow-wrap: anywhere; }

/* Title artwork: solid display type and a small pixel rail keep the hierarchy authored and readable. */
:where(.home-intro, .library-intro, .page-intro, .article-hero, .visual-wrap > header, .about-copy, .guide-library-head, .lesson-library-head, .lesson-article .article-body, .legacy-guide-page .hero-copy, .legacy-guide-page .article-body, .lens-article, .tool-hero) h1 {
  width: fit-content;
  max-width: min(100%, 14ch);
  color: var(--ink);
  position: relative;
}
:where(.home-intro, .library-intro, .page-intro, .article-hero, .visual-wrap > header, .about-copy, .guide-library-head, .lesson-library-head, .lesson-article .article-body, .legacy-guide-page .hero-copy, .legacy-guide-page .article-body, .lens-article, .tool-hero) h1::after {
  content: '';
  display: block;
  width: clamp(92px, 18vw, 240px);
  height: 7px;
  margin-top: .18em;
  background: var(--accent-gradient);
  box-shadow: 12px 8px 18px color-mix(in srgb, var(--accent-violet) 28%, transparent);
}
.read-link,
.intro-enter,
.legacy-guide-page .button.primary {
  min-height: 50px;
  padding: 14px 18px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--accent-gradient);
  color: #090b0b;
  box-shadow: 0 10px 22px color-mix(in srgb, var(--accent-violet) 24%, transparent);
  transition: transform .2s cubic-bezier(.16,1,.3,1), box-shadow .2s cubic-bezier(.16,1,.3,1), filter .2s ease;
}
.read-link:hover,
.intro-enter:hover,
.legacy-guide-page .button.primary:hover {
  color: #090b0b;
  filter: saturate(1.12);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px color-mix(in srgb, var(--accent-violet) 30%, transparent);
}
.read-link { border-bottom-width: 2px; }
.read-link svg, .intro-enter svg { fill: currentColor; }
.site-unified-shell .tool-hero-lede { color: var(--muted); }

/* A small location rail makes retained guide pages feel native to the new site. */
.guide-context {
  width: var(--wide);
  min-height: 48px;
  margin: 0 auto;
  padding: 14px 0 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font: 650 12px/1.2 var(--display);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.guide-context a { min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--ink); text-decoration: none; }
.guide-context a:hover { color: var(--accent-violet); }
.guide-context strong { color: var(--accent-pink); }

/* Strategy C guide hubs: preserve URLs and substance, replace the old detached visual shell. */
.legacy-guide-page > main { width: var(--wide); max-width: none; margin: 0 auto; overflow: visible; }
.legacy-guide-page .hero-section { width: 100%; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: 14px; padding: clamp(46px, 7vw, 92px) 0 20px; }
.legacy-guide-page .hero-copy,
.legacy-guide-page .radar-card,
.legacy-guide-page .section-block,
.legacy-guide-page .guide-card,
.legacy-guide-page .article-shell,
.legacy-guide-page .review-card {
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--surface);
  color: var(--ink);
  box-shadow: none;
}
.legacy-guide-page .hero-copy { padding: clamp(32px, 5vw, 70px); }
.legacy-guide-page .hero-copy .eyebrow,
.legacy-guide-page .section-block > .eyebrow,
.legacy-guide-page .section-block > div > .eyebrow { color: var(--accent-violet); letter-spacing: .1em; }
.legacy-guide-page .hero-copy p,
.legacy-guide-page .radar-card p,
.legacy-guide-page .section-block p,
.legacy-guide-page .guide-card p,
.legacy-guide-page .article-body p,
.legacy-guide-page .article-body li { color: var(--muted); }
.legacy-guide-page .hero-copy h1 { font: 750 clamp(3.5rem, 6.4vw, 6rem)/.86 var(--display); letter-spacing: -.035em; }
.legacy-guide-page .guide-links { gap: 9px; margin-top: 30px; }
.legacy-guide-page .button { min-height: 42px; padding: 10px 13px; border: 1px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); font: 700 13px/1 var(--display); letter-spacing: .035em; }
.legacy-guide-page .button.primary { min-height: 46px; border: 2px solid var(--ink); background: var(--accent-gradient); color: #090b0b; box-shadow: 0 10px 22px color-mix(in srgb, var(--accent-violet) 24%, transparent); }
.legacy-guide-page .button.secondary:hover { border-color: var(--accent-violet); background: color-mix(in srgb, var(--accent-violet) 10%, var(--surface)); color: var(--ink); }
.legacy-guide-page .radar-card { justify-content: flex-start; padding: 0 0 26px; overflow: hidden; }
.legacy-guide-page .radar-card .cover-frame { display: block; aspect-ratio: 16 / 9; border-bottom: 2px solid var(--ink); overflow: hidden; background: #111; }
.legacy-guide-page .radar-card .cover-frame img { width: 100%; height: 100%; object-fit: cover; }
.legacy-guide-page .radar-card h2,
.legacy-guide-page .radar-card p { margin-right: 24px; margin-left: 24px; }
.legacy-guide-page .radar-card h2 { margin-top: 24px; color: var(--ink); font: 720 2rem/.95 var(--display); }
.legacy-guide-page .official-link-list { margin: 28px 0 0; }
.legacy-guide-page .official-link-list a { color: var(--ink); text-decoration-color: var(--accent-violet); }
.legacy-guide-page .section-block { margin: 14px 0; padding: clamp(30px, 4vw, 54px); }
.legacy-guide-page .section-block > h2,
.legacy-guide-page .section-block > div > h2 { color: var(--ink); font: 730 clamp(2.5rem, 4.5vw, 4.8rem)/.9 var(--display); letter-spacing: -.025em; }
.legacy-guide-page .guide-grid { gap: 10px; margin-top: 30px; }
.legacy-guide-page .guide-card { padding: 22px; transition: transform .3s cubic-bezier(.16,1,.3,1), border-color .2s ease, background-color .2s ease; }
.legacy-guide-page .guide-card:hover { transform: translateY(-5px); border-color: var(--accent-violet); background: color-mix(in srgb, var(--accent-violet) 7%, var(--surface)); }
.legacy-guide-page .guide-card span { color: var(--accent-violet); font: 700 12px/1.2 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.legacy-guide-page .guide-card h3 { margin-top: 13px; color: var(--ink); font: 720 clamp(1.65rem, 2.6vw, 2.5rem)/.95 var(--display); }
.legacy-guide-page .process-list { color: var(--ink); }
.legacy-guide-page .process-list li { padding-block: 10px; border-bottom: 1px solid var(--line); }
.legacy-guide-page .guide-table { border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.legacy-guide-page .guide-table .guide-row { border-color: var(--line); background: transparent; color: var(--ink); }
.legacy-guide-page .guide-table .guide-heading { background: var(--ink); color: var(--paper); }
.legacy-guide-page .guide-table a { color: var(--accent-violet); }

/* Retained guide articles use the same editorial paper, title treatment and navigation rhythm. */
.legacy-guide-article .article-shell { grid-template-columns: minmax(0, 860px) minmax(220px, 280px); align-items: start; gap: 16px; margin: clamp(46px, 7vw, 88px) auto 110px; padding: 0; border: 0; background: transparent; }
.legacy-guide-article .article-body { max-width: none; padding: clamp(30px, 5vw, 68px); border: 2px solid var(--ink); background: var(--surface); color: var(--ink); }
.legacy-guide-article .article-body > h1 { max-width: 12ch; font: 750 clamp(3.35rem, 6.5vw, 6rem)/.87 var(--display); letter-spacing: -.035em; }
.legacy-guide-article .article-body h2 { margin-top: 64px; color: var(--ink); font: 720 clamp(2.2rem, 4vw, 3.8rem)/.95 var(--display); letter-spacing: -.018em; }
.legacy-guide-article .article-body h3 { color: var(--ink); font-family: var(--display); }
.legacy-guide-article .editorial-byline,
.legacy-guide-article .meta-row { color: var(--muted); }
.legacy-guide-article .editorial-byline { margin: 24px 0 20px; }
.legacy-guide-article .meta-row span { border: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--accent-violet); }
.legacy-guide-media { margin: 28px 0 42px; border: 2px solid var(--ink); background: #111; overflow: hidden; }
.legacy-guide-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .7s cubic-bezier(.16,1,.3,1), filter .3s ease; }
.legacy-guide-media figcaption { padding: 10px 13px; border-top: 2px solid var(--ink); background: var(--surface); color: var(--muted); font: 700 11px/1.3 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.legacy-guide-media:hover img { transform: scale(1.025); filter: saturate(1.08); }
.legacy-guide-article .quick-answer,
.legacy-guide-article .review-note,
.legacy-guide-article .note-box { border: 1px solid var(--accent-pink); border-radius: 0; background: color-mix(in srgb, var(--accent-pink) 10%, var(--surface)); color: var(--ink); }
.legacy-guide-article .quick-answer p,
.legacy-guide-article .review-note p,
.legacy-guide-article .note-box p { color: var(--ink); }
.legacy-guide-article .side-nav { position: sticky; top: 18px; padding: 24px; border: 2px solid var(--ink); border-radius: 0; background: var(--ink); color: var(--paper); box-shadow: none; }
.legacy-guide-article .side-nav h2 { color: var(--paper); font: 720 1.8rem/1 var(--display); }
.legacy-guide-article .side-nav a { display: block; min-height: 0; padding: 7px 0; color: var(--paper); text-decoration: none; }
.legacy-guide-article .side-nav a:hover { color: var(--accent-cyan); }
.legacy-guide-article .data-table,
.legacy-guide-article .database-table,
.legacy-guide-article table { color: var(--ink); }
.legacy-guide-article .data-row,
.legacy-guide-article .guide-row,
.legacy-guide-article tr { border-color: var(--line); background: transparent; color: var(--ink); }
.legacy-guide-article .data-heading,
.legacy-guide-article .guide-heading,
.legacy-guide-article thead { background: var(--ink); color: var(--paper); }
.legacy-guide-article .article-body a { color: var(--accent-violet); }
.article-inline-media { width: 100%; margin: clamp(38px, 6vw, 68px) 0; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); overflow: hidden; }
.article-inline-media img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #1a1e1e; }
.article-inline-media figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 12px 14px; border-top: 2px solid var(--ink); color: var(--ink); font: 650 12px/1.35 var(--display); letter-spacing: .045em; text-transform: uppercase; }
.article-inline-media figcaption a { flex: 0 0 auto; color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.guide-library { width: var(--wide); margin: 0 auto; padding: clamp(68px, 9vw, 124px) 0 112px; }
.guide-library-head { padding-bottom: 48px; border-bottom: 2px solid var(--ink); }
.guide-library-head .eyebrow { margin: 0 0 18px; color: var(--blue); font: 700 13px/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.guide-library-head h1 { max-width: 9ch; margin: 0; font: 750 clamp(4.6rem, 9vw, 6rem)/.86 var(--display); letter-spacing: -.04em; }
.game-directory-modern { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; padding-top: 24px; }
.game-directory-card { position: relative; grid-column: span 4; min-height: 260px; border: 2px solid var(--ink); overflow: hidden; background: #111515; color: #f3f5f1; isolation: isolate; }
.game-directory-card:nth-child(-n + 2) { grid-column: span 6; min-height: 360px; }
.game-directory-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.75,.2,1), filter .55s ease; }
.game-directory-card::after { content: ''; position: absolute; inset: 38% 0 0; z-index: 1; background: linear-gradient(180deg, transparent, rgba(6,9,10,.9)); pointer-events: none; }
.game-directory-card span { position: absolute; right: 0; bottom: 0; left: 0; z-index: 2; display: flex; align-items: end; justify-content: space-between; gap: 18px; padding: 22px; }
.game-directory-card strong { color: inherit; font: 720 clamp(1.8rem, 3.2vw, 3.3rem)/.92 var(--display); letter-spacing: -.025em; }
.game-directory-card small { flex: 0 0 auto; color: #ff9389; font: 700 11px/1.2 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.game-directory-card:hover img { transform: scale(1.025); filter: saturate(1.08); }
.game-directory-card:focus-visible { outline: 4px solid var(--blue); outline-offset: 4px; }
.guide-library-link { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); gap: clamp(24px, 6vw, 84px); align-items: end; margin-top: 22px; padding: clamp(30px, 5vw, 62px) 0 0; border-top: 2px solid var(--ink); color: var(--ink); }
.guide-library-link span { color: var(--blue); font: 700 13px/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.guide-library-link strong { display: flex; align-items: center; justify-content: space-between; gap: 18px; font: 720 clamp(2.2rem, 5vw, 5rem)/.92 var(--display); letter-spacing: -.025em; }
.guide-library-link .pixel-arrow { width: 38px; fill: currentColor; }
.lesson-index-main { width: var(--wide); margin: 0 auto; padding: clamp(66px, 8vw, 116px) 0 112px; }
.lesson-library-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr); gap: clamp(28px, 7vw, 104px); align-items: end; padding-bottom: clamp(42px, 7vw, 74px); border-bottom: 2px solid var(--ink); }
.lesson-library-head .eyebrow { grid-column: 1 / -1; margin: 0 0 -8px; color: var(--blue); font: 700 13px/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.lesson-library-head h1 { max-width: 9.5ch; margin: 0; font: 750 clamp(4.2rem, 8.5vw, 6rem)/.86 var(--display); letter-spacing: -.04em; }
.lesson-library-head .lede { max-width: 36ch; margin: 0 0 6px; color: var(--muted); font: 400 clamp(1.08rem, 1.8vw, 1.35rem)/1.52 var(--body); }
.lesson-story-list { display: grid; gap: 0; padding-top: 24px; background: transparent; }
.lesson-story { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr); min-height: 410px; background: var(--paper); color: var(--ink); overflow: hidden; }
.lesson-story:first-child { border-top: 2px solid var(--ink); }
.lesson-story { border-bottom: 2px solid var(--ink); }
.lesson-story:nth-child(even) figure { order: 2; }
.lesson-story figure { position: relative; min-height: 360px; margin: 0; border-right: 2px solid var(--ink); overflow: hidden; background: #111515; }
.lesson-story:nth-child(even) figure { border-right: 0; border-left: 2px solid var(--ink); }
.lesson-story img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.75,.2,1), filter .6s ease; }
.lesson-story-copy { display: flex; flex-direction: column; justify-content: end; gap: 18px; padding: clamp(28px, 5vw, 64px); }
.lesson-story-copy span { color: var(--blue); font: 700 12px/1.2 var(--display); letter-spacing: .09em; text-transform: uppercase; }
.lesson-story-copy h2 { max-width: 15ch; margin: 0; font: 720 clamp(2.4rem, 4.6vw, 5rem)/.9 var(--display); letter-spacing: -.03em; }
.lesson-story-copy p { max-width: 42ch; margin: 0; color: var(--muted); font: 400 1.06rem/1.56 var(--body); }
.lesson-story-copy strong { display: inline-flex; align-items: center; gap: 18px; width: fit-content; margin-top: 6px; padding: 13px 16px; border: 2px solid var(--ink); background: var(--accent-gradient); color: #fff; font: 700 12px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.lesson-story-copy .pixel-arrow { width: 28px; fill: currentColor; }
.lesson-story:hover img { transform: scale(1.025); filter: saturate(1.08); }
.lesson-story:focus-visible { outline: 4px solid var(--blue); outline-offset: 4px; }
.lesson-article .guide-context { width: var(--wide); margin: 0 auto; }
.lesson-article > main.article-shell { display: block; width: min(900px, calc(100% - 40px)); margin: 0 auto; padding: clamp(50px, 8vw, 96px) 0 112px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.lesson-article .article-body { width: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--ink); box-shadow: none; }
.lesson-article .article-body > .eyebrow { color: var(--blue); font: 700 13px/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.lesson-article .article-body > h1 { max-width: 14ch; margin: 20px 0 24px; font: 750 clamp(3.5rem, 7vw, 6rem)/.88 var(--display); letter-spacing: -.04em; }
.lesson-article .editorial-byline,
.lesson-article .meta-row { color: var(--muted); }
.lesson-article .meta-row { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.lesson-article .meta-row span { padding: 0 16px 0 0; border: 0; border-radius: 0; background: transparent; }
.lesson-lead-media { width: 100%; margin: clamp(34px, 6vw, 64px) 0; border: 2px solid var(--ink); background: var(--paper); overflow: hidden; }
.lesson-lead-media img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #171b1b; }
.lesson-lead-media figcaption { display: flex; justify-content: space-between; gap: 18px; padding: 12px 14px; border-top: 2px solid var(--ink); font: 650 12px/1.35 var(--display); letter-spacing: .045em; text-transform: uppercase; }
.lesson-lead-media figcaption a { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.lesson-article .article-body h2 { margin: clamp(52px, 7vw, 78px) 0 18px; color: var(--ink); font: 700 clamp(2.15rem, 4vw, 3.8rem)/.98 var(--display); letter-spacing: -.025em; }
.lesson-article .article-body p,
.lesson-article .article-body li { color: var(--ink); font: 400 1.08rem/1.72 var(--body); letter-spacing: 0; }
.lesson-article .article-body a { color: var(--accent-violet); }
.lesson-article .quick-answer { margin: 38px 0; padding: 24px; border: 1px solid var(--accent-cyan); background: color-mix(in srgb, var(--accent-cyan) 10%, var(--paper)); }
.lesson-article .guide-table { margin: 28px 0; border: 2px solid var(--ink); overflow-x: auto; }
.lesson-article .guide-row { min-width: 720px; border-color: var(--line); background: transparent; color: var(--ink); }
.lesson-article .guide-heading { background: var(--ink); color: var(--paper); }
.updates-index-main,
.pattern-library-page > main { width: var(--wide); max-width: none; margin: 0 auto; padding: clamp(66px, 8vw, 116px) 0 112px; }
.updates-library-head,
.pattern-library-page .index-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr); gap: clamp(28px, 7vw, 104px); align-items: end; padding: 0 0 clamp(42px, 7vw, 74px); border-bottom: 2px solid var(--ink); }
.updates-library-head .eyebrow { grid-column: 1 / -1; margin: 0 0 -8px; color: var(--blue); font: 700 13px/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.updates-library-head h1,
.pattern-library-page .index-hero h1 { max-width: 10ch; margin: 0; font: 750 clamp(4.2rem, 8.5vw, 6rem)/.86 var(--display); letter-spacing: -.04em; }
.updates-library-head .lede,
.pattern-library-page .index-hero p { max-width: 36ch; margin: 0 0 6px; color: var(--muted); font: 400 clamp(1.08rem, 1.8vw, 1.35rem)/1.52 var(--body); }
.updates-library-head h1,
.pattern-library-page .index-hero h1 { width: fit-content; color: var(--ink); }
.updates-library-head h1::after,
.pattern-library-page .index-hero h1::after { content: ''; display: block; width: clamp(92px, 18vw, 240px); height: 7px; margin-top: .18em; background: var(--accent-gradient); box-shadow: 12px 8px 18px color-mix(in srgb, var(--accent-violet) 28%, transparent); }
.update-story-list,
.pattern-library-page .pattern-index { display: grid; gap: 0; padding-top: 24px; }
.update-story,
.pattern-library-page .pattern-index article { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr); min-height: 390px; border-bottom: 2px solid var(--ink); background: var(--paper); color: var(--ink); overflow: hidden; }
.update-story:first-child,
.pattern-library-page .pattern-index article:first-child { border-top: 2px solid var(--ink); }
.update-story:nth-child(even) figure,
.pattern-library-page .pattern-index article:nth-child(even) .pattern-image { order: 2; border-right: 0; border-left: 2px solid var(--ink); }
.update-story figure,
.pattern-library-page .pattern-image { position: relative; min-height: 340px; margin: 0; border-right: 2px solid var(--ink); overflow: hidden; background: #111515; }
.update-story img,
.pattern-library-page .pattern-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.75,.2,1), filter .6s ease; }
.update-story-copy,
.pattern-library-page .pattern-index article > div:last-child { display: flex; flex-direction: column; justify-content: end; gap: 18px; padding: clamp(28px, 5vw, 64px); }
.update-story-copy span,
.pattern-library-page .evidence-label { order: -1; margin: 0; color: var(--blue); font: 700 12px/1.2 var(--display); letter-spacing: .09em; text-transform: uppercase; }
.update-story-copy h2,
.pattern-library-page .pattern-index h2 { max-width: 15ch; margin: 0; font: 720 clamp(2.35rem, 4.4vw, 4.8rem)/.9 var(--display); letter-spacing: -.03em; }
.update-story-copy h2 a,
.pattern-library-page .pattern-index h2 a { color: inherit; text-decoration: none; }
.update-story-copy p,
.pattern-library-page .pattern-index article p:not(.evidence-label):not(.game-names) { max-width: 42ch; margin: 0; color: var(--muted); font: 400 1.06rem/1.56 var(--body); }
.pattern-library-page .game-names { margin: 0; color: var(--accent-pink); font: 650 12px/1.45 var(--display); letter-spacing: .035em; text-transform: uppercase; }
.update-story-copy strong { display: inline-flex; align-items: center; gap: 18px; width: fit-content; margin-top: 6px; padding: 13px 16px; border: 2px solid var(--ink); background: var(--accent-gradient); color: #fff; font: 700 12px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.update-story-copy .pixel-arrow { width: 28px; fill: currentColor; }
.update-story:hover img,
.pattern-library-page .pattern-index article:hover img { transform: scale(1.025); filter: saturate(1.08); }
.update-story:focus-visible { outline: 4px solid var(--blue); outline-offset: 4px; }
.not-found-main { width: var(--wide); margin: 0 auto; padding: clamp(82px, 12vw, 170px) 0 140px; }
.not-found { max-width: 900px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.not-found .eyebrow { color: var(--blue); font: 700 13px/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.not-found h1 { width: fit-content; max-width: 10ch; margin: 24px 0 30px; color: var(--ink); font: 750 clamp(4.3rem, 9vw, 6rem)/.86 var(--display); letter-spacing: -.04em; }
.not-found h1::after { content: ''; display: block; width: clamp(92px, 18vw, 240px); height: 7px; margin-top: .18em; background: var(--accent-gradient); box-shadow: 12px 8px 18px color-mix(in srgb, var(--accent-violet) 28%, transparent); }
.not-found > p:not(.eyebrow) { max-width: 42ch; color: var(--muted); font: 400 clamp(1.08rem, 1.8vw, 1.35rem)/1.55 var(--body); }
.not-found-actions { display: flex; align-items: center; gap: 28px; margin-top: 40px; }
@media (max-width: 1040px) {
  .site-unified-shell > .masthead { padding: 12px 0; }
  .site-unified-shell > .masthead .site-nav { width: 100%; padding-bottom: 12px; }
  .game-directory-card { grid-column: span 6; }
  .legacy-guide-page .hero-section,
  .legacy-guide-article .article-shell { grid-template-columns: 1fr; }
  .legacy-guide-article .side-nav { position: static; }
  .lesson-library-head { grid-template-columns: 1fr; }
  .updates-library-head,
  .pattern-library-page .index-hero { grid-template-columns: 1fr; }
  .contact-panel { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .article-inline-media figcaption { display: block; }
  .article-inline-media figcaption a { display: block; width: fit-content; margin-top: 7px; }
  .guide-library { width: calc(100% - 28px); padding: 52px 0 80px; }
  .guide-library-head { padding-bottom: 30px; }
  .guide-library-head h1 { font-size: clamp(4rem, 21vw, 6rem); }
  .game-directory-modern { display: block; padding-top: 14px; }
  .game-directory-card, .game-directory-card:nth-child(-n + 2) { display: block; min-height: 245px; margin-top: 12px; }
  .game-directory-card span { padding: 18px; }
  .guide-library-link { display: block; padding-top: 28px; }
  .guide-library-link strong { margin-top: 16px; }
  .contact-panel { width: calc(100% - 28px); padding: 44px 0 80px; gap: 28px; }
  .contact-panel .contact-email-action { align-items: flex-start; gap: 12px; padding-inline: 14px; }
  .guide-context { width: calc(100% - 28px); overflow-x: auto; white-space: nowrap; }
  .legacy-guide-page > main { width: calc(100% - 28px); }
  .legacy-guide-page .hero-section { padding-top: 34px; }
  .legacy-guide-page .hero-copy,
  .legacy-guide-page .section-block,
  .legacy-guide-article .article-body { padding: 24px 18px; }
  .legacy-guide-page .hero-copy h1,
  .legacy-guide-article .article-body > h1 { font-size: clamp(3.15rem, 15vw, 4.7rem); }
  .legacy-guide-page .guide-grid { grid-template-columns: 1fr; }
  .legacy-guide-article .article-shell { margin-top: 34px; }
  .lesson-index-main { width: calc(100% - 28px); padding: 52px 0 80px; }
  .lesson-library-head { padding-bottom: 30px; }
  .lesson-library-head h1 { font-size: clamp(3.7rem, 19vw, 5.8rem); }
  .lesson-story-list { display: block; padding-top: 14px; background: transparent; border: 0; }
  .lesson-story { display: flex; flex-direction: column; min-height: 0; margin-top: 14px; border: 2px solid var(--ink); }
  .lesson-story:nth-child(even) figure { order: 0; }
  .lesson-story figure,
  .lesson-story:nth-child(even) figure { min-height: 230px; border: 0; border-bottom: 2px solid var(--ink); }
  .lesson-story-copy { padding: 24px 18px 28px; }
  .lesson-story-copy h2 { font-size: clamp(2.3rem, 12vw, 3.7rem); }
  .lesson-article .guide-context,
  .lesson-article > main.article-shell { width: calc(100% - 28px); }
  .lesson-article .article-body > h1 { font-size: clamp(3.05rem, 15vw, 4.7rem); }
  .lesson-lead-media figcaption { display: block; }
  .lesson-lead-media figcaption a { display: block; width: fit-content; margin-top: 7px; }
  .updates-index-main,
  .pattern-library-page > main { width: calc(100% - 28px); padding: 52px 0 80px; }
  .updates-library-head,
  .pattern-library-page .index-hero { padding-bottom: 30px; }
  .updates-library-head h1,
  .pattern-library-page .index-hero h1 { font-size: clamp(3.7rem, 19vw, 5.8rem); }
  .update-story-list,
  .pattern-library-page .pattern-index { display: block; padding-top: 14px; }
  .update-story,
  .pattern-library-page .pattern-index article { display: flex; flex-direction: column; min-height: 0; margin-top: 14px; border: 2px solid var(--ink); }
  .update-story:nth-child(even) figure,
  .pattern-library-page .pattern-index article:nth-child(even) .pattern-image { order: 0; }
  .update-story figure,
  .update-story:nth-child(even) figure,
  .pattern-library-page .pattern-image,
  .pattern-library-page .pattern-index article:nth-child(even) .pattern-image { min-height: 230px; border: 0; border-bottom: 2px solid var(--ink); }
  .update-story-copy,
  .pattern-library-page .pattern-index article > div:last-child { padding: 24px 18px 28px; }
  .update-story-copy h2,
  .pattern-library-page .pattern-index h2 { font-size: clamp(2.3rem, 12vw, 3.7rem); }
  .not-found-main { width: calc(100% - 28px); padding: 70px 0 100px; }
  .not-found-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
}
