/* Original local design. No remote resources or font requests. */
:root {
  color-scheme: light;
  --paper: #f6f4ed;
  --surface: #eeeee5;
  --ink: #203c34;
  --muted: #53645a;
  --accent: #8b462c;
  --line: #c5cbbf;
  --focus: #99502f;
  --on-ink: #f6f4ed;
  --field: #245b46;
  --field-soft: #6f8b7a;
  --blue: #315d6a;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #14231f;
    --surface: #1c2d27;
    --ink: #edece2;
    --muted: #b3c2b5;
    --accent: #e8b294;
    --line: #485b50;
    --focus: #efbb96;
    --on-ink: #14231f;
    --field: #b7d2bd;
    --field-soft: #809b87;
    --blue: #b2d9e2;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #14231f;
  --surface: #1c2d27;
  --ink: #edece2;
  --muted: #b3c2b5;
  --accent: #e8b294;
  --line: #485b50;
  --focus: #efbb96;
  --on-ink: #14231f;
  --field: #b7d2bd;
  --field-soft: #809b87;
  --blue: #b2d9e2;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-wrap: anywhere; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
a, button, summary { -webkit-tap-highlight-color: transparent; cursor: pointer; }
a, button { transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease; }
button { font: inherit; }
button, .site-nav a, .utility a, .footer-links a, .text-link { min-height: 44px; min-width: 44px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; border-radius: 2px; }
p { margin: 0 0 1.25rem; max-width: 65ch; }
h1, h2, h3 { line-height: 1.08; font-weight: 400; margin: 0; text-wrap: balance; hyphens: auto; }
h1, h2 { font-family: var(--serif); letter-spacing: -.045em; }
h1 { font-size: clamp(2.8rem, 5.3vw, 5.3rem); }
h2 { font-size: clamp(2.2rem, 3.5vw, 3.35rem); }
h3 { font-size: 1.25rem; line-height: 1.35; letter-spacing: -.025em; }
ul, ol { padding-left: 1.3rem; }
li { padding-left: .25rem; margin-block: .65rem; }
svg { display: block; max-width: 100%; }
.container { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 1rem; z-index: 10; padding: .75rem 1.25rem; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 1rem; }
.site-header { background: #0a1715; color: #f6f4ed; border-bottom: 1px solid #40514b; --ink: #f6f4ed; --surface: #20332d; --accent: #e8b294; --line: #667970; --muted: #c5d0c9; --focus: #efbb96; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; min-height: 100px; padding-block: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; min-height: 44px; }
.brand svg { width: 39px; height: 45px; flex-shrink: 0; }
.brand-name { display: grid; font-size: .77rem; font-weight: 650; line-height: 1.45; letter-spacing: .16em; }
.brand-name strong { font-size: 1.45rem; font-weight: 550; letter-spacing: .25em; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.9rem; }
.site-nav a { display: inline-flex; align-items: center; font-size: .9rem; text-decoration: none; border-bottom: 1px solid transparent; }
.site-nav a[aria-current="page"] { border-color: var(--ink); }
.utility { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-left: auto; }
.utility a { display: inline-flex; align-items: center; font-size: .8rem; font-weight: 600; text-decoration: none; min-width: 44px; justify-content: center; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 1px solid var(--line); padding: .4rem .65rem; background: transparent; color: var(--ink); font-size: .76rem; border-radius: 2rem; }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle:hover, .theme-toggle[aria-pressed="true"] { background: var(--surface); border-color: var(--muted); }
.eyebrow, .micro { font-family: var(--mono); text-transform: uppercase; letter-spacing: .09em; font-size: .68rem; line-height: 1.65; }
.eyebrow { color: var(--accent); margin-bottom: 1.5rem; }
.micro { color: var(--muted); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.5rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 52px; max-width: 100%; padding: .85rem 1.3rem; background: var(--ink); color: var(--on-ink); border: 1px solid var(--ink); text-decoration: none; font-size: .9rem; border-radius: 0; }
.button:hover { background: var(--field); color: var(--on-ink); border-color: var(--field); }
.button:disabled { cursor: default; background: var(--surface); border-color: var(--muted); color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 1rem; font-size: .9rem; }
.neural-figure { margin: 0; min-width: 0; }
.field-topline { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: .6rem; gap: 1rem; }
.neural-svg { width: 100%; height: auto; overflow: visible; }
.field-rings { fill: none; stroke: var(--line); stroke-width: .75; }
.field-lines { fill: none; stroke: var(--field-soft); stroke-width: 1; }
.field-path { fill: none; stroke: var(--field); stroke-width: 1.8; transition: opacity 200ms ease, stroke-width 200ms ease; }
.path-memory { stroke: var(--blue); }
.path-review { stroke: var(--accent); }
.field-points { fill: var(--paper); stroke: var(--field-soft); stroke-width: 1.3; }
.field-core { fill: var(--paper); stroke: var(--field); stroke-width: 1.5; }
.field-center { fill: var(--field); }
.field-label { fill: var(--ink); font-family: var(--mono); font-size: 15px; letter-spacing: .05em; }
.field-small { fill: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .05em; }
.field-orbit { fill: var(--accent); }
.field-controls { display: flex; gap: .4rem; flex-wrap: wrap; padding-top: .75rem; border-top: 1px solid var(--line); }
.field-controls button { border: 1px solid transparent; border-radius: 2rem; background: transparent; color: var(--muted); font-size: .77rem; padding: .35rem .75rem; }
.field-controls button:hover { border-color: var(--muted); color: var(--ink); }
.field-controls button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.neural-figure figcaption { font-size: .78rem; line-height: 1.6; color: var(--muted); min-height: 5em; margin-top: 1rem; max-width: 58ch; }
.neural-svg[data-view="memory"] .path-review, .neural-svg[data-view="memory"] .path-scope,
.neural-svg[data-view="review"] .path-memory, .neural-svg[data-view="review"] .path-scope,
.neural-svg[data-view="scope"] .path-memory, .neural-svg[data-view="scope"] .path-review { opacity: .2; }
.neural-svg[data-view="memory"] .path-memory, .neural-svg[data-view="review"] .path-review,
.neural-svg[data-view="scope"] .path-scope { stroke-width: 3; }
.section-heading { display: grid; grid-template-columns: 1.15fr 1fr; gap: 4rem; margin-bottom: 3rem; align-items: end; }
.section-heading .eyebrow { margin-bottom: 1rem; }
.section-heading p:last-child { margin-bottom: .2rem; color: var(--muted); }
.method-band { background: var(--surface); }
.gate-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; margin: 4rem 0 2rem; gap: 2.5rem 2rem; }
.gate-list li { position: relative; margin: 0; padding: 1.5rem 1rem 0 0; border-top: 1px solid var(--muted); }
.gate-list li::before { content: ""; position: absolute; width: 9px; height: 9px; background: var(--field); border-radius: 50%; top: -5px; left: 0; }
.gate-number { display: block; font-family: var(--mono); font-size: .7rem; color: var(--accent); margin-bottom: .9rem; }
.gate-list h3 { margin-bottom: .65rem; }
.gate-list p { color: var(--muted); font-size: .88rem; }
.gate-list .gate-stop { font-size: .78rem; color: var(--accent); margin-bottom: 0; }
.gate-note { padding: 1rem 0; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.status-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; }
.status-layout h2 { margin-bottom: 1.5rem; }
.status-rows { margin: 0; }
.status-row { display: grid; grid-template-columns: 145px 1fr; gap: 1.7rem; border-top: 1px solid var(--line); padding-block: 1.4rem; }
.status-row:first-child { border-color: var(--muted); }
.status-row dt { font-family: var(--mono); text-transform: uppercase; font-size: .66rem; letter-spacing: .06em; color: var(--accent); padding-top: .25rem; }
.status-row dd { margin: 0; font-size: .95rem; }
.status-row dd span { display: block; color: var(--muted); font-size: .85rem; margin-top: .4rem; }
.site-footer { background: #203c34; color: #f6f4ed; padding-block: 3.5rem 1.5rem; }
.footer-top { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; }
.footer-top .brand { margin-bottom: 1rem; }
.footer-location { color: #d0d9cc; font-size: .87rem; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.footer-links a { display: inline-flex; align-items: center; font-size: .9rem; text-decoration: none; width: fit-content; }
.site-footer a:hover { color: #efbb96; }
.site-footer :focus-visible { outline-color: #efbb96; }
.footer-bottom { border-top: 1px solid #688075; margin-top: 2rem; padding-top: 1.3rem; display: grid; grid-template-columns: 1.6fr 1fr; gap: 2rem; }
.footer-bottom p { font-size: .73rem; color: #d0d9cc; margin: 0; }
.footer-bottom p:last-child { text-align: right; }
.page-hero { position: relative; padding-block: clamp(3.5rem, 7vw, 7rem); border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 95% 10%, #203d3c, transparent 65%), #0a1715; }
.page-hero::after { content: ""; position: absolute; bottom: 0; left: 0; width: 38%; height: 2px; background: linear-gradient(90deg, #e8b294, #b2d9e2); }
.page-hero h1 { max-width: 18ch; margin-bottom: 1.5rem; }
.page-hero .lead { color: var(--muted); font-size: 1.12rem; max-width: 59ch; margin-bottom: 0; }
.page-grid { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 5rem; padding-block: 4rem 5rem; }
.page-aside { font-size: .85rem; color: var(--muted); }
.page-aside p { margin-top: 1rem; }
.page-content { max-width: 790px; }
.page-content section + section { margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--line); }
.page-content h2 { font-size: 2.25rem; margin-bottom: 1.5rem; }
.page-content h3 { margin: 1.5rem 0 .75rem; }
.page-content p, .page-content li { color: var(--muted); }
.page-content strong { color: var(--ink); font-weight: 600; }
.page-content .gate-list { grid-template-columns: 1fr 1fr; gap: 2rem; }
.page-content .gate-list h3 { margin-top: 0; }
.note { border-left: 2px solid var(--accent); background: var(--surface); padding: 1.4rem 1.6rem; margin-block: 2rem; }
.note p:last-child { margin-bottom: 0; }
.boundary-list { list-style: none; padding: 0; }
.boundary-list li { padding: 1rem 0 1rem 1.6rem; position: relative; border-bottom: 1px solid var(--line); }
.boundary-list li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.contact-box { padding: 2rem; background: var(--surface); border: 1px solid var(--line); }
.contact-box h2 { margin-bottom: 1rem; }
.contact-box .button { margin-top: .5rem; }
.prose-links { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* Organismo Verificável: distinct warm/cool roles, shared evidence surfaces. */
.dark-field {
  --paper: #0a1715; --surface: #10211e; --ink: #f6f4ed;
  --muted: #c5d0c9; --accent: #e8b294; --line: #52665d;
  --focus: #efbb96; --on-ink: #0a1715; --field: #b7d2bd;
  --field-soft: #809b87; --blue: #b2d9e2;
  background-color: var(--paper); color: var(--ink);
}
.chapter { padding-block: clamp(4.5rem, 9vw, 9rem); }
.chapter h2 { font-size: clamp(2.8rem, 4.6vw, 4.8rem); }
.chapter h2 em { font-weight: inherit; color: var(--accent); }
.editorial-lead { font-family: var(--serif); font-size: clamp(1.7rem, 2.5vw, 2.5rem); line-height: 1.35; letter-spacing: -.025em; }
.immersive-hero { isolation: isolate; position: relative; min-height: calc(100vh - 100px); min-height: calc(100svh - 100px); display: flex; flex-direction: column; justify-content: center; background: radial-gradient(ellipse at 75% 45%, #203d3c, #0a1715 70%); }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; z-index: -2; }
.immersive-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0a1715 0%, rgb(10 23 21 / 91%) 27%, rgb(10 23 21 / 58%) 47%, transparent 72%), linear-gradient(0deg, rgb(10 23 21 / 78%), transparent 32%); }
.hero-content { padding-block: clamp(4rem, 7vw, 7rem) 3rem; }
.immersive-hero h1 { font-size: clamp(3.6rem, 7.5vw, 7.8rem); line-height: .98; max-width: 12ch; margin: 0 0 2rem; letter-spacing: -.055em; }
.immersive-hero h1 em { display: block; font-weight: inherit; color: #f6f4ed; }
.hero-proof { max-width: 34ch; font-size: clamp(1rem, 1.3vw, 1.2rem); color: var(--muted); }
.hero-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 3rem; padding-block: 1.5rem; border-top: 1px solid #52665d; margin-top: auto; }
.hero-bottom p { margin: 0; max-width: 44ch; }
.manifesto .statement { font-size: clamp(3.2rem, 6.7vw, 7rem); max-width: 18ch; }
.manifesto-body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 7rem); margin-top: 4rem; }
.manifesto-body > div { color: var(--muted); padding-top: .5rem; }
.coevolution-note { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 2rem; }
.coevolution-note h3 { color: var(--accent); }
.coevolution-note p { color: var(--muted); margin: 0; }
.roles-chapter { background-image: radial-gradient(ellipse at 0% 75%, rgb(151 83 47 / 12%), transparent 50%), radial-gradient(ellipse at 100% 40%, rgb(116 185 207 / 10%), transparent 55%); }
.roles-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 4rem; }
.roles-grid article { padding: 2.5rem 4rem 2.5rem 0; border-top: 1px solid var(--accent); }
.roles-grid .ai-role { padding: 2.5rem 0 2.5rem 4rem; border-color: var(--blue); border-left: 1px solid var(--line); }
.role-label { font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .09em; color: var(--accent); }
.ai-role .role-label { color: var(--blue); }
.roles-grid h3 { font-family: var(--serif); font-size: clamp(2.2rem, 3.7vw, 3.7rem); margin-block: 2.5rem 1.75rem; letter-spacing: -.035em; }
.roles-grid article > p:last-child { color: var(--muted); max-width: 43ch; }
.shared-limit { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.shared-limit p { margin: 0; max-width: 60ch; }
.continuity-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; }
.continuity h2 { font-size: clamp(3rem, 6vw, 6rem); }
.continuity-caption { margin-top: 2.5rem; color: var(--muted); }
.continuity-copy > p:not(.editorial-lead) { color: var(--muted); }
.evidence-notes { margin: 2.5rem 0; }
.evidence-notes > div { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; border-top: 1px solid var(--line); padding-block: 1.4rem; }
.evidence-notes dt { color: var(--accent); font-size: .9rem; }
.evidence-notes dd { margin: 0; color: var(--muted); font-size: .95rem; }
.audit-note { border-left: 2px solid var(--blue); padding-left: 1.5rem; }
.method-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.method-intro h2 { margin-bottom: 2rem; }
.method-intro p:not(.eyebrow) { color: var(--muted); max-width: 42ch; }
.topology-panel { padding: 1.5rem; border: 1px solid var(--line); border-radius: 50% 50% 0 0 / 8% 8% 0 0; }
.research-row { display: grid; grid-template-columns: 3rem 1fr 1fr; align-items: baseline; gap: 2rem; padding-block: 2.5rem; border-top: 1px solid var(--line); }
.research-index { color: var(--accent); font-family: var(--mono); font-size: .8rem; }
.research-row h3 { font-family: var(--serif); font-size: clamp(1.9rem, 2.6vw, 2.7rem); }
.research-row p { color: var(--muted); margin: 0; }
.research .status-layout { margin-top: 5rem; padding-top: 3rem; border-top: 1px solid var(--muted); }
.status-layout h3 { font-family: var(--serif); font-size: 2rem; margin-bottom: 1.25rem; }
.status-layout > div > p:not(.eyebrow) { color: var(--muted); font-size: .95rem; }
.origin { position: relative; background-image: radial-gradient(ellipse at 0% 100%, #354336, transparent 70%); }
.origin-title { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 2rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line); }
.origin-title h2 { font-size: clamp(6rem, 18vw, 18rem); line-height: .9; letter-spacing: -.07em; }
.origin-title h2 span { color: var(--accent); }
.origin-title p { margin: 0 0 .5rem; }
.origin-body { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; padding-top: 3rem; }
.origin-body > p:last-child { color: var(--muted); }
.invitation h2 { font-size: clamp(2.8rem, 5.5vw, 5.8rem); max-width: 22ch; }
.invitation-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; margin-top: 3rem; }
.invitation-bottom > p { max-width: 43ch; color: var(--muted); }
.channel-status { color: var(--muted); font-size: .85rem; margin-top: 2rem; margin-bottom: .5rem; }
.inactive-channel { display: block; min-height: 44px; max-width: 100%; background: transparent; color: var(--muted); border: 0; border-bottom: 1px solid var(--line); padding: .5rem 0; cursor: default; font-size: .9rem; }
.invitation .text-link { margin-top: .5rem; }
.error-hero { min-height: 65vh; }

/* The duet is a quiet hinge between the two roles and their shared history. */
.duet-interlude {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  min-height: min(860px, 86svh);
  border-block: 1px solid #52665d;
  background:
    radial-gradient(ellipse at 17% 49%, rgb(171 96 62 / 25%), transparent 47%),
    radial-gradient(ellipse at 86% 44%, rgb(87 164 188 / 22%), transparent 43%),
    linear-gradient(115deg, #101c1b 0%, #0a1715 50%, #0c1d22 100%);
}
.duet-interlude::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .27;
  background-image: linear-gradient(rgb(192 211 199 / 12%) 1px, transparent 1px), linear-gradient(90deg, rgb(192 211 199 / 12%) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, #000 8%, transparent 78%);
}
.duet-frame {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .58fr);
  align-items: end;
  gap: 1.5rem 3rem;
  width: min(1280px, calc(100% - 112px));
  margin-inline: auto;
  padding-block: clamp(5rem, 10vw, 10rem);
  border-block: 1px solid rgb(199 215 204 / 32%);
}
.duet-frame::before,
.duet-frame::after {
  content: "";
  position: absolute;
  width: 4.5rem;
  height: 4.5rem;
  pointer-events: none;
}
.duet-frame::before { left: 0; top: 0; border-top: 1px solid var(--accent); border-left: 1px solid var(--accent); }
.duet-frame::after { right: 0; bottom: 0; border-right: 1px solid var(--blue); border-bottom: 1px solid var(--blue); }
.duet-kicker {
  grid-column: 1 / -1;
  margin: 0 0 clamp(1rem, 3vw, 3rem);
  color: var(--muted);
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.duet-interlude .duet-title {
  grid-column: 1 / -1;
  max-width: 15ch;
  margin: 0;
  font-size: clamp(2.35rem, 8.15vw, 8.5rem);
  line-height: .96;
  letter-spacing: -.063em;
  text-wrap: balance;
}
.duet-human,
.duet-ai { display: block; }
.duet-human { color: #f4cfb8; }
.duet-ai { color: #c6e3ea; padding-left: clamp(0px, 5.2vw, 5rem); }
.duet-copy {
  grid-column: 2;
  justify-self: end;
  max-width: 37ch;
  margin: clamp(1rem, 3vw, 3rem) 0 0;
  padding-left: 1.5rem;
  border-left: 1px solid rgb(198 227 234 / 60%);
  color: #d8e4de;
  font-size: clamp(.95rem, 1.3vw, 1.13rem);
}

/* Memory: daylight and human-scale relationships after the dark typographic hinge. */
.memory-chapter {
  --paper: #f6f3ea;
  --surface: #ecebe0;
  --ink: #203c34;
  --muted: #53645a;
  --accent: #8b462c;
  --line: #c5cbbf;
  --focus: #99502f;
  --on-ink: #f6f4ed;
  --field: #245b46;
  --field-soft: #6f8b7a;
  --blue: #315d6a;
  position: relative;
  isolation: isolate;
  overflow: clip;
  background:
    radial-gradient(ellipse at 5% 28%, rgb(235 166 119 / 16%), transparent 37%),
    radial-gradient(ellipse at 92% 72%, rgb(103 177 178 / 14%), transparent 46%),
    #f6f3ea;
  color: var(--ink);
}
.memory-chapter::before {
  content: "";
  position: absolute;
  top: 0;
  left: max(56px, calc((100% - 1280px) / 2));
  width: min(1280px, calc(100% - 112px));
  height: 1px;
  background: linear-gradient(90deg, var(--accent), rgb(178 217 226 / 42%), transparent);
}
.memory-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: end;
  gap: 1rem clamp(2rem, 6vw, 7rem);
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
}
.memory-intro .eyebrow { grid-column: 1 / -1; margin-bottom: 1rem; }
.memory-intro h2 { max-width: 16ch; hyphens: none; overflow-wrap: normal; }
.memory-intro p:not(.eyebrow) { max-width: 46ch; margin: 0 0 .25rem; color: #41554b; font-size: clamp(1rem, 1.45vw, 1.2rem); }
.memory-intro p.editorial-lead { max-width: 35ch; font-size: clamp(1.45rem, 2.2vw, 2.15rem); line-height: 1.36; }
.memory-panorama {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0;
  border: 1px solid #d4d4c8;
  background: #e8eee7;
  box-shadow: 0 24px 65px rgb(38 65 56 / 12%);
}
.memory-panorama::after {
  content: "";
  position: absolute;
  inset: 42% 0 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(0deg, rgb(4 14 17 / 86%), transparent 82%);
}
.memory-panorama img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1902 / 827;
  object-fit: cover;
  object-position: center;
}
.memory-panorama figcaption {
  position: absolute;
  z-index: 1;
  left: clamp(1rem, 3vw, 3rem);
  bottom: clamp(.9rem, 2.4vw, 2.25rem);
  max-width: 58ch;
  padding-right: 1rem;
  color: #f6f4ed;
  font-family: var(--mono);
  font-size: clamp(.78rem, 1vw, .86rem);
  line-height: 1.55;
  letter-spacing: .04em;
  text-shadow: 0 2px 10px #071210;
}
.memory-body {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: start;
  gap: clamp(2.5rem, 8vw, 9rem);
  margin-top: clamp(4rem, 9vw, 9rem);
}
.memory-portrait {
  position: sticky;
  top: 2rem;
  min-width: 0;
  margin: 0;
  padding: 1rem 1rem 1.25rem;
  border: 1px solid #c9cec1;
  background: #fffdf7;
}
.memory-portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  background: #e8eee7;
}
.memory-portrait figcaption {
  margin-top: 1rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: .68rem;
  line-height: 1.6;
  letter-spacing: .04em;
}
.memory-story { min-width: 0; }
.memory-story > p:not(.eyebrow),
.memory-step p { color: #4d6055; }
.memory-story > p.editorial-lead { color: #203c34; max-width: 32ch; }
.memory-step {
  display: grid;
  grid-template-columns: minmax(3rem, .23fr) minmax(0, 1fr);
  gap: 0 clamp(1rem, 3vw, 3rem);
  padding-block: clamp(1.7rem, 3vw, 2.8rem);
  border-top: 1px solid #bfc9bb;
}
.memory-step:last-of-type { border-bottom: 1px solid #bfc9bb; }
.memory-step:focus-within { border-top-color: var(--blue); }
.memory-index {
  margin: 0 0 1.25rem;
  color: #8b462c;
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .11em;
}
.memory-step > .micro {
  grid-column: 1;
  grid-row: 1 / span 3;
  margin: .32rem 0 0;
  color: #8b462c;
  font-size: .72rem;
}
.memory-step > :not(.micro) { grid-column: 2; }
.memory-step h3 {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 2.4vw, 2.45rem);
  letter-spacing: -.04em;
  line-height: 1.12;
  margin-bottom: .85rem;
}
.memory-step p { max-width: 46ch; margin-bottom: 0; font-size: .94rem; }
.memory-proof {
  max-width: 54ch;
  margin: 1.8rem 0 0;
  padding: 1.2rem 1.4rem;
  border-left: 2px solid var(--accent);
  background: rgb(139 70 44 / 6%);
  color: #3f5549;
  font-size: .88rem;
  line-height: 1.6;
}
.memory-outro {
  max-width: 52ch;
  margin: clamp(2rem, 4vw, 4rem) 0 0;
  padding: 1.5rem 0 0 1.5rem;
  border-top: 1px solid #83a6a9;
  border-left: 1px solid #83a6a9;
  color: #294b45;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.35;
  letter-spacing: -.02em;
}
.motion-ready .memory-panorama.reveal img,
.motion-ready .memory-portrait.reveal img { transition: transform 900ms cubic-bezier(.2, .7, .2, 1); }
.motion-ready .memory-panorama.reveal:not(.is-visible) img,
.motion-ready .memory-portrait.reveal:not(.is-visible) img { transform: scale(1.04); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .memory-panorama:hover img,
  .memory-portrait:hover img { transform: scale(1.015); }
}
.reveal { opacity: 1; transform: none; }
.motion-ready .reveal { transition: opacity 650ms ease, transform 650ms ease; }
.motion-ready .reveal:not(.is-visible) { opacity: 0; transform: translateY(18px); }
.motion-ready .reveal.is-visible, .motion-ready .reveal:focus-within { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .container { width: calc(100% - 64px); }
  .header-inner { gap: 1rem; }
  .site-nav { gap: 1.1rem; }
  .utility { gap: .4rem; }
  .section-heading, .status-layout { gap: 2rem; }
  .continuity-grid, .method-intro { gap: 3rem; }
  .page-grid { grid-template-columns: 160px minmax(0, 1fr); gap: 3rem; }
  .duet-frame { width: calc(100% - 64px); }
  .memory-chapter::before { left: 32px; width: calc(100% - 64px); }
}
@media (max-width: 780px) {
  .container { width: calc(100% - 40px); }
  .header-inner { flex-wrap: wrap; padding-top: 1.2rem; gap: .8rem 1rem; }
  .utility { margin-left: auto; }
  .site-nav { width: 100%; margin: 0; justify-content: space-between; gap: .5rem; padding-bottom: .5rem; }
  .site-nav a { font-size: .86rem; }
  .immersive-hero { min-height: calc(100svh - 150px); }
  .hero-art { height: 22rem; object-position: 78% top; }
  .immersive-hero::before { background: linear-gradient(0deg, #0a1715 0%, #0a1715 calc(100% - 20rem), rgb(10 23 21 / 65%) calc(100% - 15rem), transparent calc(100% - 10rem)); }
  .hero-content { padding-top: 21rem; padding-bottom: 2.5rem; }
  .immersive-hero h1 { font-size: clamp(3.4rem, 10vw, 5rem); max-width: 13ch; }
  .hero-bottom { gap: .6rem; }
  .manifesto-body, .coevolution-note, .continuity-grid, .method-intro, .origin-body, .invitation-bottom { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .roles-grid article { padding-right: 1.5rem; }
  .roles-grid .ai-role { padding-left: 1.5rem; }
  .shared-limit { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .research-row { grid-template-columns: 2rem minmax(0, 1fr); gap: .75rem 1rem; }
  .research-row p { grid-column: 2; }
  .neural-figure { width: min(100%, 540px); margin-inline: auto; }
  .section-heading { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2rem; }
  .gate-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
  .status-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { grid-template-columns: 1fr; gap: 1rem; }
  .footer-bottom p:last-child { text-align: left; }
  .page-hero { padding-block: 3rem; }
  .page-grid { grid-template-columns: 1fr; gap: 1.5rem; padding-block: 2rem 3.5rem; }
  .page-aside { border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
  .page-aside p { display: inline; }
  .duet-interlude { min-height: 0; }
  .duet-frame { width: calc(100% - 40px); grid-template-columns: minmax(0, 1fr); padding-block: clamp(4.5rem, 11vw, 7rem); }
  .duet-title, .duet-kicker, .duet-copy { grid-column: 1; }
  .duet-interlude .duet-title { font-size: clamp(2.35rem, 9.2vw, 5rem); }
  .duet-ai { padding-left: min(6vw, 2rem); }
  .duet-copy { justify-self: start; margin-top: 1.5rem; }
  .memory-chapter::before { left: 20px; width: calc(100% - 40px); }
  .memory-intro, .memory-body { grid-template-columns: minmax(0, 1fr); }
  .memory-intro { gap: 1rem; }
  .memory-intro .eyebrow { grid-column: 1; }
  .memory-intro h2 { max-width: 16ch; }
  .memory-panorama img { aspect-ratio: 4 / 3; object-position: 80% center; }
  .memory-body { gap: 3.5rem; margin-top: 4rem; }
  .memory-portrait { position: static; width: min(100%, 550px); }
}
@media (max-width: 420px) {
  .brand-name { font-size: .65rem; }
  .brand-name strong { font-size: 1.15rem; }
  .brand svg { width: 31px; }
  .theme-toggle { font-size: .7rem; }
  .roles-grid { grid-template-columns: minmax(0, 1fr); }
  .roles-grid article, .roles-grid .ai-role { padding-inline: 0; border-left: 0; }
  .evidence-notes > div { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .topology-panel { padding: .75rem; }
  .gate-list, .page-content .gate-list { grid-template-columns: 1fr; gap: 1.5rem; }
  .gate-list li { padding-top: 1.3rem; }
  .status-row { grid-template-columns: 1fr; gap: .5rem; }
  .contact-box { padding: 1.3rem; }
  .field-controls { gap: .1rem; }
  .field-controls button { padding-inline: .5rem; }
  .site-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); justify-content: stretch; gap: .1rem .35rem; }
  .site-nav a { font-size: .81rem; }
  .theme-toggle { width: 44px; padding-inline: 0; }
  .theme-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; white-space: nowrap; clip-path: inset(50%); }
  .duet-interlude .duet-title { font-size: clamp(2.1rem, 8.5vw, 2.65rem); }
  .duet-frame::before, .duet-frame::after { width: 2.5rem; height: 2.5rem; }
  .memory-step { grid-template-columns: minmax(0, 1fr); }
  .memory-step > .micro { grid-column: 1; grid-row: auto; margin: 0 0 .85rem; }
  .memory-step > :not(.micro) { grid-column: 1; }
  .memory-panorama figcaption { font-size: .84rem; max-width: 38ch; }
  .memory-portrait { padding: .65rem; }
  .memory-proof { padding: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .motion-ready .reveal:not(.is-visible) { opacity: 1; transform: none; }
  .motion-ready .memory-panorama.reveal:not(.is-visible) img,
  .motion-ready .memory-portrait.reveal:not(.is-visible) img { transform: none; }
}
@media print {
  :root, :root[data-theme], :root:not([data-theme="light"]) {
    color-scheme: light; --paper: #fff; --surface: #fff; --ink: #000;
    --muted: #333; --accent: #333; --line: #999; --field: #222; --field-soft: #555; --blue: #333;
  }
  body { font-size: 11pt; }
  .container { width: 100%; }
  .site-nav, .utility, .skip-link, .field-controls, .actions, .footer-links { display: none; }
  .header-inner { min-height: 60px; }
  .chapter, .page-hero, .hero-content, .page-grid, .section-heading, .status-layout { display: block; padding-block: 1.5rem; }
  .dark-field, .site-header { --paper: #fff; --surface: #fff; --ink: #000; --muted: #333; --accent: #333; --line: #999; --blue: #333; --field: #222; --on-ink: #fff; background: #fff; color: #000; }
  .hero-art, .immersive-hero::before, .page-hero::after { display: none; }
  .immersive-hero, .error-hero { min-height: 0; background: #fff; }
  h1, .immersive-hero h1 { font-size: 32pt; }
  .immersive-hero h1 em { color: #000; }
  h2, .chapter h2, .manifesto .statement, .origin-title h2 { font-size: 24pt; }
  .motion-ready .reveal:not(.is-visible), .reveal { opacity: 1; transform: none; }
  .manifesto-body, .coevolution-note, .roles-grid, .shared-limit, .continuity-grid, .method-intro, .origin-body, .invitation-bottom { display: block; }
  .roles-grid article, .roles-grid .ai-role { padding: 1rem 0; border-left: 0; }
  .roles-grid h3 { font-size: 20pt; margin-block: 1rem; }
  .editorial-lead { font-size: 16pt; }
  .origin-title { padding-bottom: 1rem; }
  .topology-panel { border: 0; padding: 0; }
  .neural-figure { max-width: 320px; margin: 1.5rem auto; break-inside: avoid; }
  .research-row, .gate-list li, .note, .status-row { break-inside: avoid; }
  .site-footer { background: #fff; color: #000; border-top: 1px solid #999; padding-block: 1rem; }
  .footer-location, .footer-bottom p { color: #333; }
  .footer-bottom { margin-top: .5rem; }
  .page-aside { margin-bottom: 1rem; }
  .duet-interlude, .memory-chapter { min-height: 0; background: #fff; border-color: #999; }
  .duet-interlude::before, .duet-frame::before, .duet-frame::after,
  .memory-chapter::before, .memory-panorama::after { display: none; }
  .duet-frame { display: block; width: 100%; padding-block: 1rem; }
  .duet-interlude .duet-title { font-size: 28pt; }
  .duet-human, .duet-ai, .duet-copy, .memory-intro p:not(.eyebrow),
  .memory-story > p.editorial-lead, .memory-step p, .memory-outro, .memory-proof { color: #000; }
  .duet-ai { padding-left: 0; }
  .duet-copy, .memory-outro { border-color: #777; }
  .memory-intro, .memory-body { display: block; }
  .memory-panorama, .memory-portrait { position: static; width: 100%; margin-block: 1rem; box-shadow: none; break-inside: avoid; }
  .memory-panorama img { max-height: 3.8in; object-fit: contain; }
  .memory-portrait img { max-height: 5in; object-fit: contain; }
  .memory-panorama figcaption { position: static; color: #000; padding: .5rem; text-shadow: none; }
  .memory-step { break-inside: avoid; }
  .memory-index, .memory-step > .micro { color: #333; }
  .memory-proof { background: #fff; }
}
