/*
 * SOPHOBOT — a continuous editorial system
 *
 * One content rail, one chapter-heading grid, one type scale.
 * Paper carries exposition; petrol carries inward attention;
 * parchment carries the artistic lineage; deep ink bookends the page.
 * Desktop chapters are complete, header-aware viewport compositions with native
 * proximity snapping. Compact windows reflow without hiding editorial content.
 */

/* 01. Tokens --------------------------------------------------------------- */
:root {
  color-scheme: light;
  --void: #071315;
  --petrol: #0b3b3f;
  --teal: #0f565b;
  --brass: #c7a56a;
  --parchment: #e8dec9;
  --bone: #f5f0e6;
  --ink: #172623;
  --slate: #4e605a;
  --serif:
    Newsreader, "Iowan Old Style", Baskerville, "GFS Baskerville", Georgia,
    serif;
  --sans:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;

  --page-width: 1280px;
  --gutter: clamp(1.25rem, 4.5vw, 4rem);
  --page-inset: max(var(--gutter), calc((100vw - var(--page-width)) / 2));
  --header-height: 76px;
  --chapter-columns: minmax(0, 7fr) minmax(0, 5fr);
  --column-gap: clamp(2rem, 5vw, 5rem);
  --chapter-space: clamp(4.5rem, 7vw, 7rem);
  --heading-space: clamp(2rem, 3.5vw, 3rem);
  --content-space: clamp(2.5rem, 4.5vw, 4rem);
  --panel-padding: clamp(1.25rem, 2vw, 1.75rem);

  --type-title: clamp(2.375rem, 1.5rem + 2.75vw, 4.25rem);
  --type-lead: clamp(1.375rem, 1.15rem + 0.4vw, 1.625rem);
  --type-subhead: clamp(1.5rem, 1.3rem + 0.35vw, 1.75rem);
  --type-body: 1rem;
  --type-small: 0.875rem;
  --type-caption: 0.8125rem;
  --type-meta: 0.75rem;

  --surface: var(--bone);
  --heading: var(--ink);
  --body-text: var(--slate);
  --muted: #52625b;
  --accent: var(--teal);
  --line: rgb(15 60 52 / 0.21);
  --line-strong: rgb(15 60 52 / 0.4);
  --panel: #ede8dc;
  --raised: #faf7f0;
  --wash: rgb(15 86 91 / 0.055);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.theme-paper {
  --surface: var(--bone);
}
.theme-parchment {
  --surface: var(--parchment);
  --panel: #e1d7c3;
  --raised: #f0e7d7;
}
.theme-petrol,
.theme-deep {
  color-scheme: dark;
  --surface: var(--petrol);
  --heading: var(--bone);
  --body-text: #c6d0c6;
  --muted: #a6bcb1;
  --accent: var(--brass);
  --line: rgb(232 222 201 / 0.22);
  --line-strong: rgb(232 222 201 / 0.4);
  --panel: rgb(7 19 21 / 0.18);
  --raised: rgb(245 240 230 / 0.045);
  --wash: rgb(199 165 106 / 0.07);
}
.theme-deep {
  --surface: var(--void);
}

/* 02. Foundations ---------------------------------------------------------- */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--type-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
}
a {
  color: inherit;
}
button {
  font: inherit;
}
p {
  margin: 0;
  color: var(--body-text);
}
h1,
h2,
h3 {
  text-wrap: balance;
}
figure,
blockquote,
dl {
  margin: 0;
}
code {
  font-family: var(--mono);
  font-size: 0.88em;
}
::selection {
  color: var(--void);
  background: var(--brass);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
[aria-disabled="true"] {
  cursor: default;
}

.label,
.kicker,
.mono {
  font-family: var(--mono);
  font-size: var(--type-meta);
  font-weight: 400;
  line-height: 1.55;
}
.label,
.kicker {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mono {
  letter-spacing: 0.01em;
}
.kicker {
  margin: 0 0 1.125rem;
  color: var(--accent);
}
.lead {
  color: var(--heading);
  font-family: var(--serif);
  font-size: var(--type-lead);
  font-weight: 400;
  line-height: 1.38;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  transform: translateY(-200%);
  color: var(--void);
  background: var(--brass);
}
.skip-link:focus {
  transform: none;
}

/* 03. The shared chapter grammar ------------------------------------------- */
.section {
  position: relative;
  padding: var(--chapter-space) var(--page-inset);
  background: var(--surface);
  color: var(--heading);
}
/* A ruled folio always occupies the same position, independent of chapter length. */
.section > .section-folio {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0 0 var(--heading-space);
  color: var(--muted);
}
.section > .section-folio::after {
  height: 1px;
  min-width: 2rem;
  flex: 1;
  content: "";
  background: var(--line);
}
.section h2 {
  margin: 0;
  color: var(--heading);
  font-family: var(--serif);
  font-size: var(--type-title);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.06;
}
.section h2 em {
  color: var(--accent);
  font-weight: 400;
}
.chapter-heading {
  display: grid;
  grid-template-columns: var(--chapter-columns);
  align-items: start;
  gap: var(--column-gap);
}
.chapter-heading > * {
  min-width: 0;
}
.chapter-premise {
  padding-top: 2.25rem;
}
.chapter-premise .lead + p {
  margin-top: 1rem;
}
.chapter-premise p + p:not(.lead) {
  margin-top: 1rem;
}
.behavior-system,
.roc-system,
.attention-system {
  display: grid;
  grid-template-columns: var(--chapter-columns);
  gap: var(--column-gap);
  align-items: start;
  margin-top: var(--content-space);
}
.behavior-system > *,
.roc-system > *,
.attention-system > * {
  min-width: 0;
}

/* One frame/header treatment across every explanatory instrument. */
.record,
.behavior-grammar,
.roc-comparison,
.attention-path {
  border: 1px solid var(--line);
  background: var(--panel);
}
.panel-head,
.record-head,
.attention-path-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding: 1rem var(--panel-padding);
  border-bottom: 1px solid var(--line);
  color: var(--accent);
}
.panel-head .mono,
.record-head .mono,
.attention-path-head .mono {
  color: var(--muted);
}

/* Explanatory notes share a line, inset, scale, and accent hierarchy. */
.margin-note,
.roc-boundary,
.attention-boundary,
.gurdjieff-note {
  margin-top: 1.5rem;
  padding-left: 1.25rem;
  border-left: 2px solid var(--brass);
  color: var(--body-text);
  font-size: var(--type-small);
  line-height: 1.65;
}
.margin-note .label,
.roc-boundary .label,
.gurdjieff-note .label {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

/* 04. Navigation and actions ------------------------------------------------ */
.site-header {
  --accent: var(--brass);
  --reading-progress: 0;
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-height);
  padding-inline: var(--page-inset);
  border-bottom: 1px solid rgb(232 222 201 / 0.13);
  color: var(--bone);
  background: rgb(7 19 21 / 0.88);
  transition: background 200ms ease;
}
.site-header.scrolled,
.site-header.menu-open {
  background: rgb(7 19 21 / 0.98);
}
.site-header::after {
  position: absolute;
  inset: auto 0 -1px;
  height: 1px;
  transform: scaleX(var(--reading-progress));
  transform-origin: left;
  background: var(--brass);
  content: "";
}
.wordmark {
  justify-self: start;
  white-space: nowrap;
  color: var(--bone);
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 0.35rem;
  border: 1px solid var(--brass);
  border-radius: 50%;
  vertical-align: middle;
}
.desktop-nav {
  display: flex;
  gap: clamp(1rem, 1.7vw, 1.625rem);
}
.desktop-nav a {
  display: flex;
  position: relative;
  align-items: center;
  min-height: 44px;
  color: #c6cec1;
  font-size: 0.8125rem;
  text-decoration: none;
  transition: color 160ms ease;
}
.desktop-nav a::after {
  position: absolute;
  inset: auto 0 3px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--brass);
  content: "";
  transition: transform 200ms ease;
}
.desktop-nav a:hover,
.desktop-nav a[aria-current] {
  color: var(--bone);
}
.desktop-nav a:hover::after,
.desktop-nav a[aria-current]::after {
  transform: scaleX(1);
}
.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.5rem 0.875rem;
  border: 1px solid rgb(199 165 106 / 0.5);
  border-radius: 2px;
  color: var(--parchment);
  font-size: 0.8125rem;
  text-decoration: none;
  white-space: nowrap;
  transition:
    border-color 180ms ease,
    color 180ms ease;
}
.header-cta:hover {
  border-color: var(--brass);
  color: var(--brass);
}
.menu-toggle,
.mobile-nav {
  display: none;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.875rem 1.375rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  transition:
    background 180ms ease,
    border-color 180ms ease;
}
.button--primary {
  background: var(--brass);
  color: var(--void);
}
a.button--primary:hover {
  background: #d7bb86;
}
.text-link {
  display: inline-block;
  padding-block: 0.4rem;
  border-bottom: 1px solid currentColor;
  color: var(--accent);
  font-size: 0.875rem;
  line-height: 1.5;
  text-decoration: none;
  text-underline-offset: 4px;
}
.text-link:hover {
  color: var(--heading);
}

/* 05. Opening presence ----------------------------------------------------- */
.hero {
  --accent: var(--brass);
  --heading: var(--bone);
  --body-text: #c6cec1;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  column-gap: 2rem;
  min-height: max(780px, 100svh);
  padding: 11rem var(--page-inset) 9rem;
  overflow: clip;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 78% 45%, rgb(15 86 91 / 0.24), transparent 48%),
    var(--void);
  color: var(--bone);
}
.grain {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.028;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}
.hero-frame,
.invitation-frame {
  position: absolute;
  inset: 6.5rem 1.5rem 1.5rem;
  pointer-events: none;
}
.hero-frame i,
.invitation-frame i {
  position: absolute;
  width: 32px;
  height: 32px;
  border-style: solid;
  border-color: rgb(199 165 106 / 0.35);
}
.hero-frame i:nth-child(1),
.invitation-frame i:nth-child(1) {
  top: 0;
  left: 0;
  border-width: 1px 0 0 1px;
}
.hero-frame i:nth-child(2),
.invitation-frame i:nth-child(2) {
  top: 0;
  right: 0;
  border-width: 1px 1px 0 0;
}
.hero-frame i:nth-child(3),
.invitation-frame i:nth-child(3) {
  bottom: 0;
  left: 0;
  border-width: 0 0 1px 1px;
}
.hero-frame i:nth-child(4),
.invitation-frame i:nth-child(4) {
  bottom: 0;
  right: 0;
  border-width: 0 1px 1px 0;
}
.hero-folio {
  position: absolute;
  top: 7.5rem;
  left: var(--page-inset);
  color: #a6b5a7;
}
.hero-presence {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  width: calc(100% + 3rem);
  margin-left: -1.5rem;
  transform: translateY(-1rem);
}
.mark-layer {
  position: relative;
}
.hero-logo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
}
.aperture {
  position: absolute;
  z-index: -1;
  top: 68.9%;
  left: 54%;
  width: clamp(46px, 4.3vw, 64px);
  height: clamp(260px, 35vw, 480px);
  overflow: hidden;
  transform: translate(-50%, -50%);
  border: 1px solid rgb(199 165 106 / 0.24);
  border-radius: 999px;
}
.aperture span,
.manifesto-aperture span {
  position: absolute;
  inset: 10% -150%;
  background: radial-gradient(
    ellipse,
    rgb(199 165 106 / 0.13),
    transparent 68%
  );
  animation: breathe 7s ease-in-out infinite;
}
.hero-copy {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}
.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4rem, 6.7vw, 6.75rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.99;
}
.hero h1 em {
  color: var(--brass);
  font-weight: 400;
}
.hero-intro {
  max-width: 34rem;
  margin-top: 2rem;
  font-size: 1.0625rem;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
  margin-top: 2rem;
}
.hero .text-link {
  color: var(--parchment);
}
.scroll-cue {
  position: absolute;
  bottom: 3rem;
  left: var(--page-inset);
  color: #a6b5a7;
}
.hero-continuity {
  position: absolute;
  bottom: 3.625rem;
  right: var(--page-inset);
  width: 190px;
  height: 1px;
}
.hero-continuity .line {
  position: absolute;
  inset: 0;
  background: rgb(232 222 201 / 0.25);
}
.hero-continuity i {
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  transform: translate(-50%, -50%);
  border: 1px solid rgb(232 222 201 / 0.5);
  border-radius: 50%;
  background: var(--void);
}
.hero-continuity i:nth-of-type(1) {
  left: 0;
}
.hero-continuity i:nth-of-type(2) {
  left: 64%;
}
.hero-continuity i:nth-of-type(3) {
  left: 100%;
}
.hero-continuity i.active {
  border-color: var(--brass);
  background: var(--brass);
  box-shadow: 0 0 0 5px rgb(199 165 106 / 0.1);
}

/* 06. The distinction ------------------------------------------------------ */
.animating-diagram {
  display: grid;
  grid-template-columns: 1fr 64px 1fr 64px 1fr;
  align-items: stretch;
  margin-top: var(--content-space);
}
.animating-diagram article {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: var(--panel-padding);
  border: 1px solid var(--line);
}
.animating-diagram .diagram-center {
  color: var(--bone);
  background: var(--petrol);
  border-color: var(--petrol);
}
.diagram-number {
  color: var(--teal);
}
.diagram-center .diagram-number {
  color: var(--brass);
}
.animating-diagram h3 {
  margin: 2.25rem 0 0.625rem;
  font-family: var(--serif);
  font-size: var(--type-subhead);
  font-weight: 400;
  line-height: 1.2;
}
.animating-diagram p {
  max-width: 28ch;
  font-size: var(--type-small);
  line-height: 1.65;
}
.diagram-center p {
  color: #c6d0c6;
}
.diagram-path {
  position: relative;
  align-self: center;
  height: 1px;
  background: var(--line-strong);
}
.diagram-path span {
  position: absolute;
  top: -3px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}
.diagram-path i {
  position: absolute;
  top: -4px;
  right: -1px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--teal);
  border-radius: 50%;
  background: var(--bone);
}
.genesis-note {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.genesis-note > .label {
  color: var(--accent);
}
.genesis-note blockquote {
  max-width: 65ch;
  color: var(--body-text);
  font-family: var(--serif);
  font-size: 1.375rem;
  line-height: 1.5;
}

/* 07. Interior continuity -------------------------------------------------- */
.record {
  margin-top: var(--content-space);
  background: transparent;
}
.record-head {
  color: var(--muted);
}
.record-state {
  white-space: nowrap;
  color: var(--body-text);
  font-size: var(--type-meta);
}
.record-state i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: var(--brass);
}
.record-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.record-step {
  position: relative;
  min-width: 0;
  padding: var(--panel-padding);
  border-right: 1px solid var(--line);
}
.record-step:last-child {
  border-right: 0;
}
.record-step::after {
  position: absolute;
  z-index: 1;
  top: 2rem;
  right: -4px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--brass);
  border-radius: 50%;
  background: var(--petrol);
  content: "";
}
.record-step:last-child::after {
  display: none;
}
.step-meta {
  min-height: 2.5rem;
  color: var(--accent);
}
.step-meta b {
  font-weight: 500;
}
.record-step h3 {
  margin: 1.5rem 0 1rem;
  font-family: var(--serif);
  font-size: var(--type-subhead);
  font-weight: 400;
  line-height: 1.2;
}
.record-step p {
  font-size: var(--type-small);
  line-height: 1.7;
}
.record-step--interior {
  background: var(--panel);
}
.record-step--interior p,
.record-step--outward p {
  color: var(--heading);
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.5;
}
.record-step--interior p {
  font-style: italic;
}
.record-step small {
  display: block;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: var(--type-caption);
  line-height: 1.6;
}
.interior-contract {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.interior-contract article {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.interior-contract .label {
  color: var(--accent);
}
.interior-contract p {
  margin-top: 0.75rem;
  font-size: var(--type-small);
  line-height: 1.65;
}

/* 08. Architecture ledger -------------------------------------------------- */
.layer-ledger {
  margin-top: var(--content-space);
  border-top: 1px solid var(--line-strong);
}
.layer-row {
  position: relative;
  display: grid;
  grid-template-columns: var(--chapter-columns);
  align-items: center;
  gap: var(--column-gap);
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease;
}
.layer-identity {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
}
.layer-identity > .mono {
  flex: 0 0 3rem;
  color: var(--accent);
}
.layer-row h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: var(--type-subhead);
  font-weight: 400;
  line-height: 1.25;
}
.layer-row p {
  padding-right: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.65;
}
.layer-row > i {
  position: absolute;
  right: 0;
  top: calc(50% - 4px);
  width: 8px;
  height: 8px;
  border: 1px solid var(--teal);
  border-radius: 50%;
}
.layer-row:hover {
  background: var(--wash);
}
.layer-row:hover > i {
  background: var(--teal);
}
.architecture-continuity {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  align-items: start;
  gap: 2.5rem;
  margin-top: 2rem;
}
.architecture-continuity > .label {
  color: var(--accent);
  padding-top: 1rem;
}
.architecture-continuity ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.architecture-continuity li {
  position: relative;
  padding-right: 1rem;
  color: var(--body-text);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.35;
}
.architecture-continuity li:not(:last-child)::after {
  position: absolute;
  top: 0;
  right: -0.2rem;
  color: var(--teal);
  content: "→";
}

/* 09. Composable behavior -------------------------------------------------- */
.behavior-cases {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}
.behavior-case {
  min-width: 0;
  padding: var(--panel-padding);
}
.behavior-case--small {
  border-right: 1px solid var(--line);
}
.case-head {
  min-height: 5rem;
  padding-bottom: 1.25rem;
}
.case-head span,
.case-head b {
  display: block;
}
.case-head span {
  color: var(--accent);
}
.case-head b {
  margin-top: 0.5rem;
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.25;
}
.sequence-box {
  display: grid;
  gap: 0.75rem;
  padding: 0.875rem;
  border: 1px solid var(--line-strong);
}
.structure-label {
  color: var(--muted);
}
.loop-box {
  padding: 0.875rem;
  border: 1px solid var(--line-strong);
  background: var(--raised);
}
.loop-box > b,
.loop-box > small {
  display: block;
}
.loop-box > b {
  color: var(--teal);
  font-family: var(--mono);
  font-size: var(--type-meta);
  font-weight: 500;
  line-height: 1.5;
}
.loop-box > small {
  margin-top: 0.5rem;
  color: var(--body-text);
  font-family: var(--mono);
  font-size: var(--type-meta);
  line-height: 1.65;
}
.turn-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.5rem;
  color: var(--teal);
  font-family: var(--mono);
  font-size: var(--type-caption);
}
.turn-line i {
  color: var(--teal);
  font-style: normal;
}
.engine-rail {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 1.25rem var(--panel-padding);
  background: var(--petrol);
  color: #c6d0c6;
  font-size: var(--type-caption);
  line-height: 1.6;
}
.engine-rail .label {
  color: var(--brass);
}
.behavior-detail > .lead {
  margin-bottom: 1rem;
}
.behavior-detail > p:not(.lead):not(.kicker):not(.margin-note) {
  font-size: 0.9375rem;
  line-height: 1.7;
}
.behavior-terms {
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.behavior-terms > div {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 1rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--line);
}
.behavior-terms dt {
  color: var(--accent);
  font-family: var(--mono);
  font-size: var(--type-meta);
  line-height: 1.6;
}
.behavior-terms dd {
  margin: 0;
  color: var(--body-text);
  font-size: var(--type-small);
  line-height: 1.6;
}
.behavior-controls {
  margin-top: 1.5rem;
}

/* 10. Resource-oriented capability ---------------------------------------- */
.roc-comparison {
  background: var(--panel);
}
.roc-conventional .panel-head {
  color: var(--body-text);
}
.roc-silos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 1rem var(--panel-padding) 1.5rem;
}
.roc-silos span {
  padding: 0.625rem 0.875rem;
  border-right: 1px solid var(--line);
}
.roc-silos span:first-child {
  padding-left: 0;
}
.roc-silos span:last-child {
  border: 0;
  padding-right: 0;
}
.roc-silos b,
.roc-silos i {
  display: block;
  overflow-wrap: anywhere;
  font-family: var(--mono);
  font-size: var(--type-meta);
  line-height: 1.6;
}
.roc-silos b {
  color: var(--accent);
  font-weight: 500;
}
.roc-silos i {
  margin-top: 0.75rem;
  color: var(--muted);
  font-style: normal;
}
.roc-worldview {
  padding-bottom: 1.75rem;
  color: var(--bone);
  background: var(--petrol);
  text-align: center;
}
.roc-worldview .panel-head {
  border-color: rgb(232 222 201 / 0.22);
  color: var(--bone);
  text-align: left;
}
.roc-worldview .panel-head .mono {
  color: var(--brass);
}
.roc-agent {
  margin-top: 1.5rem;
  color: var(--brass);
}
.roc-arrow {
  padding: 0.5rem 0;
  color: #a6bcb1;
  line-height: 1;
}
.roc-verbs {
  margin-inline: var(--panel-padding);
  padding: 1rem;
  border: 1px solid rgb(199 165 106 / 0.55);
  color: var(--bone);
  font-size: var(--type-caption);
  line-height: 1.8;
}
.roc-resources {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  padding-inline: var(--panel-padding);
}
.roc-resources span {
  min-width: 0;
  padding: 0.625rem 0.25rem;
  border: 1px solid rgb(232 222 201 / 0.25);
  color: #c6d0c6;
  font-size: var(--type-meta);
}
.roc-detail > .label {
  color: var(--accent);
}
.roc-detail > .lead {
  margin: 1rem 0;
}
.roc-copy {
  font-size: 0.9375rem;
  line-height: 1.7;
}
.roc-calls {
  display: grid;
  gap: 0.875rem;
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: var(--panel);
}
.roc-calls code {
  overflow-wrap: anywhere;
  color: var(--teal);
  font-size: var(--type-caption);
  line-height: 1.65;
}
.roc-guards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.roc-guards article {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.roc-guards b {
  display: block;
  color: var(--accent);
  font-family: var(--mono);
  font-size: var(--type-meta);
  font-weight: 500;
  line-height: 1.6;
}
.roc-guards p {
  margin-top: 0.75rem;
  font-size: var(--type-small);
  line-height: 1.6;
}

/* 11. Faculties ------------------------------------------------------------ */
.delegation-context {
  display: block;
}
.delegation-context > p:first-child {
  font-size: var(--type-body);
}
.delegation-context .gurdjieff-note {
  margin-top: 1.5rem;
}
.delegates {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: var(--content-space);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.delegate {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.75rem 1.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease;
}
.delegate:hover {
  background: var(--raised);
}
.delegate--sophos {
  background: var(--wash);
}
.delegate-glyph {
  display: block;
  color: var(--brass);
  font-family: var(--serif);
  font-size: 2.75rem;
  line-height: 1;
}
.delegate .label {
  min-height: 2.5rem;
  margin-top: 1.75rem;
  color: var(--muted);
}
.delegate h3 {
  margin: 0.875rem 0 1rem;
  font-family: var(--serif);
  font-size: 1.875rem;
  font-weight: 400;
  line-height: 1.15;
}
.delegate p {
  flex: 1;
  margin-bottom: 1.75rem;
  font-size: var(--type-small);
  line-height: 1.65;
}
.delegate > .mono {
  color: var(--brass);
  font-size: var(--type-meta);
}

/* 12. Bounded attention ---------------------------------------------------- */
.attention-path ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.attention-path li {
  position: relative;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 1.25rem;
  align-items: baseline;
  padding: 1.5rem var(--panel-padding);
  border-bottom: 1px solid var(--line);
}
.attention-index {
  color: var(--teal);
}
.attention-path li > div {
  display: grid;
  gap: 0.5rem;
}
.attention-path li b {
  color: var(--heading);
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.25;
}
.attention-path li > div > span {
  color: var(--body-text);
  font-size: var(--type-small);
  line-height: 1.6;
}
.attention-path li:not(:last-child)::after {
  position: absolute;
  z-index: 1;
  bottom: -5px;
  left: calc(var(--panel-padding) + 0.125rem);
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--teal);
  border-bottom: 1px solid var(--teal);
  background: var(--panel);
  content: "";
  transform: rotate(45deg);
}
.attention-path .attention-retained {
  background: #dbe4d9;
}
.attention-path .attention-retained::after {
  background: #dbe4d9;
}
.attention-operations {
  padding: 1.25rem var(--panel-padding);
  color: var(--teal);
  font-size: var(--type-meta);
  line-height: 1.7;
  text-align: center;
}
.attention-detail > .label {
  color: var(--accent);
}
.attention-detail > .lead {
  margin: 1rem 0;
}
.attention-detail > p:not(.lead):not(.attention-boundary) {
  font-size: 0.9375rem;
  line-height: 1.7;
}
.attention-ask {
  margin-top: 1.5rem;
  padding: var(--panel-padding);
  border: 1px solid var(--line-strong);
  background: var(--panel);
}
.attention-ask-head {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
}
.attention-ask-head .label {
  color: var(--accent);
}
.attention-ask-head .mono {
  color: var(--muted);
}
.attention-ask blockquote {
  margin: 1.5rem 0;
  color: var(--heading);
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.4;
}
.attention-ask-flow {
  padding-block: 0.875rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--accent);
  font-size: var(--type-meta);
  line-height: 1.7;
}
.attention-ask p {
  margin-top: 1rem;
  font-size: var(--type-small);
  line-height: 1.65;
}

/* 13. The living lineage --------------------------------------------------- */
.lineage-opening > .lead {
  margin-top: 1.25rem;
}
.lineage-body {
  margin-top: var(--content-space);
}
.lineage-story {
  display: grid;
  grid-template-columns: var(--chapter-columns);
  gap: var(--column-gap);
  align-items: start;
}
.lineage-devotion > p {
  color: var(--heading);
  font-family: var(--serif);
  font-size: var(--type-lead);
  line-height: 1.4;
}
.lineage-reflection > p + p {
  margin-top: 1.25rem;
}
.lineage-vignette {
  margin-top: 1.5rem;
  padding: 1.75rem 2rem;
  border-left: 2px solid var(--brass);
  background: var(--raised);
}
.lineage-vignette h3 {
  margin: 0 0 1rem;
  color: var(--heading);
  font-family: var(--serif);
  font-size: var(--type-subhead);
  font-weight: 400;
  line-height: 1.2;
}
.lineage-vignette > p {
  font-size: 0.9375rem;
  line-height: 1.7;
}
.lineage-vignette blockquote {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.lineage-vignette blockquote p {
  color: var(--heading);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.4;
}
.lineage-vignette blockquote cite {
  display: block;
  margin-top: 1rem;
  color: var(--accent);
  font-family: var(--mono);
  font-size: var(--type-meta);
  font-style: normal;
}
.lineage-reflection .lineage-coda {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--accent);
}
.lineage-gallery-wrap {
  margin-top: var(--content-space);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-strong);
}
.lineage-gallery-label {
  margin-bottom: 1.5rem;
  color: var(--accent);
}
/* Native aspect ratios determine the five column widths, keeping a shared art baseline. */
.lineage-gallery {
  display: grid;
  grid-template-columns: 1fr 0.670573fr 1fr 1.491262fr 0.557943fr;
  gap: 1.5rem;
  align-items: start;
}
.lineage-gallery figure {
  min-width: 0;
  margin: 0;
}
.lineage-gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: var(--art-ratio);
  object-fit: contain;
  object-position: bottom left;
}
.lineage-gallery figcaption {
  display: grid;
  gap: 0.5rem;
  padding-top: 1rem;
}
.lineage-gallery cite {
  color: var(--heading);
  font-family: var(--serif);
  font-size: 1.1875rem;
  font-style: italic;
  line-height: 1.2;
}
.lineage-gallery figcaption span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: var(--type-meta);
  line-height: 1.6;
}

/* 14. The horizon and invitation: a single closing movement ----------------- */
.manifesto {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 700px;
  overflow: clip;
  text-align: center;
}
.manifesto-aperture {
  position: absolute;
  top: 44%;
  left: 50%;
  width: 90px;
  height: min(70%, 460px);
  overflow: hidden;
  border: 1px solid rgb(199 165 106 / 0.22);
  border-radius: 999px;
  transform: translate(-50%, -50%);
}
.manifesto-copy {
  position: relative;
  max-width: 980px;
}
.manifesto-copy > .label {
  color: var(--accent);
}
.manifesto-copy blockquote {
  margin: 2.5rem 0 1.75rem;
  font-family: var(--serif);
  font-size: clamp(2.75rem, 4.75vw, 4.75rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
  text-wrap: balance;
}
.manifesto-copy p {
  max-width: 620px;
  margin-inline: auto;
  font-size: var(--type-body);
  line-height: 1.75;
}
.principles {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 4.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: var(--type-meta);
  line-height: 1.6;
}
.invitation {
  display: grid;
  place-items: center;
  min-height: 660px;
  text-align: center;
  overflow: clip;
}
.invitation-frame {
  inset: 1.5rem;
}
.invitation-inner {
  position: relative;
  max-width: 1020px;
}
.invitation .section-folio {
  display: inline-block;
  color: var(--accent);
}
.invitation h2 {
  margin-top: 2.5rem;
}
.invitation p {
  max-width: 560px;
  margin: 1.75rem auto 0;
}
.invitation-actions {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}
.footer {
  --accent: var(--brass);
  padding: 2.5rem var(--page-inset) 2rem;
  background: var(--void);
  color: var(--parchment);
}
.footer > img {
  display: block;
  width: min(320px, 70vw);
  height: auto;
  aspect-ratio: 2 / 1;
  margin: 0 auto;
}
.footer > p {
  max-width: 35rem;
  margin: 0.5rem auto 3rem;
  color: #a6b5a7;
  font-family: var(--serif);
  font-size: 1.1875rem;
  font-style: italic;
  line-height: 1.5;
  text-align: center;
}
.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(232 222 201 / 0.2);
  color: #a6b5a7;
  font-size: var(--type-meta);
}
.footer-meta a {
  text-underline-offset: 4px;
}

/* 15. Restrained, optional movement ---------------------------------------- */
.reveal {
  opacity: 1;
  transform: none;
}
.has-reveals .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 600ms ease,
    transform 600ms var(--ease);
}
.has-reveals .reveal.visible {
  opacity: 1;
  transform: none;
}
@keyframes breathe {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 0.85;
  }
}

/* Viewport grouping is deliberately neutral outside presentation mode. */
.chapter-content, .stage-body { min-width: 0; }
.behavior-support, .roc-support { margin-top: var(--content-space); }
.faculty-note { max-width: none; }

/* 16. Responsive composition — the same hierarchy, not a second design ------ */
@media (max-width: 69.999rem) {
  .site-header {
    grid-template-columns: 1fr auto;
  }
  .desktop-nav,
  .header-cta {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-width: 76px;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--bone);
    font-size: var(--type-small);
    cursor: pointer;
  }
  .menu-toggle i,
  .menu-toggle i::after {
    display: block;
    width: 20px;
    height: 1px;
    background: currentColor;
    content: "";
    transition: transform 180ms ease;
  }
  .menu-toggle i::after {
    transform: translateY(6px);
  }
  .menu-open .menu-toggle i {
    transform: translateY(3px) rotate(45deg);
  }
  .menu-open .menu-toggle i::after {
    transform: rotate(-90deg);
  }
  .mobile-nav {
    position: absolute;
    top: calc(var(--header-height) - 1px);
    right: 0;
    left: 0;
    max-height: calc(100svh - var(--header-height));
    overflow-y: auto;
    padding: 1rem var(--page-inset) 1.75rem;
    border-bottom: 1px solid rgb(232 222 201 / 0.2);
    background: var(--void);
  }
  .menu-open .mobile-nav {
    display: grid;
  }
  .mobile-nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding-block: 0.625rem;
    border-bottom: 1px solid rgb(232 222 201 / 0.15);
    color: var(--parchment);
    text-decoration: none;
  }
  .mobile-nav a[aria-current] {
    color: var(--brass);
  }
  .delegates {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .delegate--sophos {
    grid-column: 1 / -1;
  }
  .delegate .label {
    min-height: 0;
  }
  .record-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .record-step:nth-child(2) {
    border-right: 0;
  }
  .record-step:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .record-step:nth-child(2)::after {
    display: none;
  }
  .record-head .mono {
    flex-basis: 100%;
    order: 3;
  }
  .step-meta {
    min-height: 0;
  }
  .lineage-gallery {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 2rem;
  }
  .lineage-gallery figure {
    grid-column: span 2;
  }
  .lineage-gallery figure:nth-child(4) {
    grid-column: span 4;
  }
  .lineage-gallery img {
    height: clamp(220px, 28vw, 300px);
    width: 100%;
    object-fit: contain;
    object-position: bottom left;
  }
}

@media (max-width: 59.999rem) {
  :root {
    --chapter-space: 5rem;
    --column-gap: 2.5rem;
  }
  .chapter-heading,
  .behavior-system,
  .roc-system,
  .attention-system,
  .lineage-story {
    grid-template-columns: minmax(0, 1fr);
  }
  .chapter-heading {
    gap: 1.75rem;
  }
  .chapter-premise {
    max-width: 42rem;
    padding-top: 0;
  }
  .chapter-heading .heading-title {
    max-width: 47rem;
  }
  .section h2 {
    max-width: 47rem;
  }
  .behavior-system,
  .roc-system,
  .attention-system {
    gap: 2.5rem;
  }
  .behavior-detail,
  .roc-detail,
  .attention-detail {
    max-width: none;
  }
  .hero {
    min-height: 800px;
    grid-template-columns: 1.1fr 0.9fr;
    padding-top: 11rem;
    padding-bottom: 8rem;
  }
  .hero h1 {
    font-size: clamp(3.5rem, 7vw, 5rem);
  }
  .hero-presence {
    width: calc(100% + 2rem);
    margin-left: -1rem;
  }
  .hero-copy .kicker {
    max-width: 32ch;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }
  .interior-contract {
    gap: 1.5rem;
  }
  .layer-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
  }
  .layer-identity {
    gap: 1rem;
  }
  .layer-identity > .mono {
    flex-basis: 1.5rem;
  }
  .genesis-note,
  .architecture-continuity {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }
  .architecture-continuity > .label {
    padding-top: 0;
  }
  .lineage-story {
    gap: 2rem;
  }
  .lineage-reflection {
    max-width: 44rem;
  }
  .principles {
    justify-content: center;
  }
}

@media (max-width: 39.999rem) {
  :root {
    --header-height: 64px;
    --chapter-space: 4rem;
    --heading-space: 2rem;
    --content-space: 2.5rem;
    --type-body: 1rem;
  }
  .site-header {
    gap: 1rem;
  }
  .wordmark {
    font-size: 1.375rem;
  }
  .section > .section-folio {
    gap: 1rem;
    align-items: baseline;
  }
  .section > .section-folio::after {
    align-self: center;
  }
  .section-folio {
    font-size: 0.6875rem;
  }
  .chapter-heading {
    gap: 1.5rem;
  }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "folio" "presence" "copy";
    row-gap: 1.5rem;
    align-content: start;
    min-height: 100svh;
    padding-top: 6rem;
    padding-bottom: 4rem;
  }
  .hero-folio {
    position: static;
    grid-area: folio;
    font-size: 0.6875rem;
  }
  .hero-presence {
    grid-area: presence;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    transform: none;
  }
  .hero-copy {
    grid-area: copy;
  }
  .hero-copy .kicker {
    max-width: 100%;
  }
  .hero h1 {
    font-size: clamp(3.5rem, 14vw, 5rem);
    line-height: 1;
  }
  .hero-intro {
    margin-top: 1.5rem;
    font-size: var(--type-body);
  }
  .hero-actions {
    margin-top: 1.5rem;
  }
  .hero-frame {
    inset: 5rem 0.625rem 0.625rem;
  }
  .hero-frame i,
  .invitation-frame i {
    width: 24px;
    height: 24px;
  }
  .hero .aperture {
    width: 40px;
    height: 210px;
    opacity: 0.6;
  }
  .scroll-cue,
  .hero-continuity {
    display: none;
  }
  .animating-diagram {
    grid-template-columns: minmax(0, 1fr);
  }
  .animating-diagram article {
    padding: 1.5rem;
  }
  .animating-diagram h3 {
    margin-top: 1.5rem;
  }
  .animating-diagram p {
    max-width: none;
  }
  .diagram-path {
    width: 1px;
    height: 36px;
    margin-inline: auto;
  }
  .diagram-path span {
    top: 0;
    left: -3px;
  }
  .diagram-path i {
    top: auto;
    right: auto;
    bottom: 0;
    left: -4px;
  }
  .genesis-note {
    margin-top: 2rem;
  }
  .genesis-note blockquote {
    font-size: 1.25rem;
  }
  .record-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.875rem;
  }
  .record-head .mono {
    flex-basis: auto;
  }
  .record-flow {
    grid-template-columns: minmax(0, 1fr);
  }
  .record-step {
    padding: 1.5rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .record-step:last-child {
    border-bottom: 0;
  }
  .record-step::after {
    display: none;
  }
  .record-step h3 {
    margin-top: 1.25rem;
  }
  .interior-contract {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }
  .layer-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.875rem;
    padding-block: 1.5rem;
  }
  .layer-row h3 {
    padding-right: 1rem;
  }
  .layer-row p {
    padding-left: 2.5rem;
    padding-right: 0;
  }
  .layer-row > i {
    top: 2rem;
  }
  .architecture-continuity ol {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    border-top: 0;
    border-left: 1px solid var(--line-strong);
    padding: 0 0 0 1.25rem;
  }
  .architecture-continuity li {
    padding: 0 0 1.75rem;
  }
  .architecture-continuity li:last-child {
    padding-bottom: 0;
  }
  .architecture-continuity li:not(:last-child)::after {
    top: auto;
    bottom: 0.2rem;
    right: auto;
    left: 0;
    content: "↓";
  }
  .behavior-cases {
    grid-template-columns: minmax(0, 1fr);
  }
  .behavior-case--small {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .case-head {
    min-height: 0;
    padding-bottom: 1.25rem;
  }
  .engine-rail {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem;
  }
  .behavior-terms > div {
    grid-template-columns: 104px minmax(0, 1fr);
  }
  .roc-silos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-block: 0.5rem;
  }
  .roc-silos span {
    padding: 1rem;
  }
  .roc-silos span:nth-child(2) {
    border-right: 0;
    padding-right: 0;
  }
  .roc-silos span:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .roc-silos span:nth-child(3) {
    padding-left: 0;
  }
  .roc-resources {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .roc-guards {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }
  .delegates {
    grid-template-columns: minmax(0, 1fr);
  }
  .delegate {
    padding: 1.5rem;
  }
  .delegate .label {
    margin-top: 1.5rem;
  }
  .delegate p {
    margin-bottom: 1.25rem;
  }
  .delegate h3 {
    margin-top: 0.75rem;
  }
  .attention-path li {
    grid-template-columns: 1.5rem minmax(0, 1fr);
    gap: 0.875rem;
  }
  .attention-ask blockquote {
    font-size: 1.375rem;
  }
  .lineage-vignette {
    padding: 1.5rem;
  }
  .lineage-gallery {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.25rem;
  }
  .lineage-gallery figure,
  .lineage-gallery figure:nth-child(4) {
    grid-column: auto;
  }
  .lineage-gallery img {
    height: auto;
    width: 100%;
    aspect-ratio: var(--art-ratio);
  }
  .lineage-gallery cite {
    font-size: 1.375rem;
  }
  .manifesto {
    min-height: 620px;
  }
  .manifesto-copy blockquote {
    font-size: clamp(2.625rem, 10.5vw, 3.5rem);
    margin: 2rem 0 1.5rem;
  }
  .manifesto-aperture {
    width: 64px;
    height: 380px;
  }
  .principles {
    margin-top: 2.5rem;
    gap: 0.75rem 1.25rem;
    font-size: 0.6875rem;
  }
  .invitation {
    min-height: 600px;
  }
  .invitation h2 {
    margin-top: 2rem;
  }
  .invitation-frame {
    inset: 0.625rem;
  }
  .footer {
    padding-top: 1rem;
  }
  .footer > p {
    margin-bottom: 2rem;
  }
  .footer-meta {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* 17. Desktop viewport compositions -----------------------------------------
 * A fixed outer frame, shared heading band, and a composed body for each chapter.
 * The browser supplies gentle snapping; no wheel interception or scripted paging.
 */
@media screen and (min-width: 64rem) and (min-height: 43.75rem) {
  :root {
    --page-width: 1480px;
    --gutter: clamp(2.5rem, 4.3vw, 5.25rem);
    --header-height: 68px;
    --chapter-columns: minmax(0, 1fr) minmax(0, 1fr);
    --column-gap: clamp(1.75rem, 3.5vw, 3.5rem);
    --heading-space: clamp(1rem, 2.1svh, 1.5rem);
    --content-space: clamp(1rem, 2.4svh, 1.875rem);
    --body-gap: clamp(1rem, 2.1svh, 1.625rem);
    --panel-padding: clamp(0.875rem, 1.8svh, 1.5rem);
    --heading-band: clamp(122px, 16svh, 176px);
    --type-title: clamp(2.625rem, min(4.2vw, 5.4svh), 4.25rem);
    --type-lead: clamp(1.1875rem, 2.45svh, 1.625rem);
    --type-subhead: clamp(1.1875rem, 2.55svh, 1.75rem);
    --type-body: clamp(0.875rem, 1.66svh, 1rem);
    --type-small: clamp(0.8125rem, 1.53svh, 0.9375rem);
    --type-caption: clamp(0.75rem, 1.4svh, 0.875rem);
    --type-meta: clamp(0.6875rem, 1.28svh, 0.78125rem);
  }
  html {
    scroll-snap-type: y proximity;
    scroll-padding-top: 0;
    scrollbar-gutter: stable;
  }
  body { line-height: 1.55; }
  main > .viewport-section {
    min-height: 100svh;
    height: 100svh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .footer { scroll-snap-align: end; }
  main > .chapter {
    height: auto;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    row-gap: var(--heading-space);
    padding-top: calc(var(--header-height) + clamp(1.125rem, 2.4svh, 2rem));
    padding-bottom: clamp(1.5rem, 3.2svh, 2.75rem);
    overflow: visible;
  }
  .chapter > .section-folio { margin: 0; }
  .chapter-content {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .chapter-heading {
    flex: 0 0 auto;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    min-height: var(--heading-band);
    align-items: start;
    margin: 0;
    gap: var(--column-gap);
  }
  .chapter-heading .kicker { margin-bottom: 0.625rem; }
  .chapter-premise { padding-top: 1.75rem; }
  .chapter-premise .lead + p,
  .chapter-premise p + p:not(.lead) { margin-top: 0.625rem; }
  .lead { line-height: 1.27; }
  .stage-body {
    flex: 1 0 auto;
    display: grid;
    align-content: center;
    gap: var(--body-gap);
    margin-top: var(--content-space);
  }
  .stage-body > * { margin-top: 0; }
  .behavior-system, .roc-system, .attention-system {
    gap: var(--column-gap);
    margin: 0;
    align-items: center;
  }
  .panel-head, .record-head, .attention-path-head {
    padding-block: 0.625rem;
    gap: 0.25rem 0.75rem;
  }
  .margin-note, .roc-boundary, .attention-boundary, .gurdjieff-note {
    margin-top: 0;
    padding-left: 1rem;
    font-size: var(--type-small);
    line-height: 1.5;
  }
  .margin-note .label, .roc-boundary .label, .gurdjieff-note .label {
    margin-bottom: 0.5rem;
  }

  /* Opening and closing share the same complete-screen outer frame. */
  .hero {
    padding-top: calc(var(--header-height) + 5rem);
    padding-bottom: 5rem;
    grid-template-columns: 1fr 1fr;
    column-gap: var(--column-gap);
  }
  .hero-folio { top: calc(var(--header-height) + 1.5rem); }
  .hero-frame { inset: calc(var(--header-height) + 0.75rem) 1.5rem 1.5rem; }
  .hero h1 { font-size: clamp(3.75rem, min(6.4vw, 9.8svh), 7rem); }
  .hero-presence { width: calc(100% + 2rem); margin-left: -1rem; }
  .hero-intro { margin-top: 1.5rem; font-size: var(--type-body); line-height: 1.65; }
  .hero-actions { margin-top: 1.5rem; gap: 1rem 1.5rem; }
  .scroll-cue { bottom: 2.5rem; }
  .hero-continuity { bottom: 3rem; }
  .manifesto, .invitation {
    padding-top: calc(var(--header-height) + 2.5rem);
    padding-bottom: 3rem;
  }
  .manifesto { justify-content: center; }
  .manifesto-copy { max-width: 1080px; }
  .manifesto-copy blockquote { font-size: clamp(3.5rem, min(5.7vw, 8svh), 6rem); }
  .principles {
    position: absolute;
    width: auto;
    bottom: 2.5rem;
    left: var(--page-inset);
    right: var(--page-inset);
    margin: 0;
  }
  .invitation-frame { inset: calc(var(--header-height) + 0.75rem) 1.5rem 1.5rem; }
  .invitation-inner { max-width: 1080px; }
  .invitation h2 { font-size: clamp(3rem, min(4.7vw, 6.7svh), 4.75rem); }

  /* 01. Three elements, then one shared marginal-note treatment. */
  .animating-diagram { margin: 0; grid-template-columns: 1fr 56px 1fr 56px 1fr; }
  .animating-diagram article { padding: var(--panel-padding); }
  .animating-diagram h3 { margin: 1.25rem 0 0.5rem; }
  .animating-diagram p { line-height: 1.5; max-width: 34ch; }
  .genesis-note {
    margin: 0;
    padding-top: var(--body-gap);
    grid-template-columns: 180px minmax(0, 1fr);
    gap: var(--column-gap);
  }
  .genesis-note blockquote {
    max-width: none;
    font-size: clamp(1.0625rem, 2.35svh, 1.5rem);
    line-height: 1.4;
  }

  /* 02. A single, uninterrupted four-part record and three aligned contracts. */
  .record { margin: 0; }
  .record-flow { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.15fr) minmax(0, 0.85fr) minmax(0, 1.2fr); }
  .record-head .mono { flex-basis: auto; order: initial; font-size: 0.9em; }
  .record-step:nth-child(-n + 2) { border-bottom: 0; }
  .record-step:nth-child(2) { border-right: 1px solid var(--line); }
  .record-step:nth-child(2)::after { display: block; }
  .record-step { padding: var(--panel-padding); }
  .step-meta { min-height: 2.25em; }
  .record-step h3 { margin: 0.875rem 0 0.625rem; }
  .record-step p { line-height: 1.5; }
  .record-step--interior p, .record-step--outward p {
    font-size: clamp(1rem, 2.15svh, 1.375rem);
    line-height: 1.36;
  }
  .record-step small { margin-top: 0.875rem; line-height: 1.45; }
  .interior-contract { margin: 0; gap: var(--column-gap); }
  .interior-contract article { padding-top: 0.75rem; }
  .interior-contract p { margin-top: 0.5rem; line-height: 1.5; }

  /* 03. A ledger, not six padded feature cards. */
  .layer-ledger { margin: 0; }
  .layer-row {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);
    gap: var(--column-gap);
    padding-block: clamp(0.5rem, 1.2svh, 1rem);
  }
  .layer-identity { gap: 1rem; }
  .layer-identity > .mono { flex-basis: 1.75rem; }
  .layer-row p { font-size: var(--type-small); line-height: 1.45; }
  .architecture-continuity {
    margin: 0;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: var(--column-gap);
  }
  .architecture-continuity li { font-size: clamp(0.9375rem, 1.8svh, 1.25rem); }
  .architecture-continuity > .label { padding-top: 0.75rem; }
  .architecture-continuity ol { padding-top: 0.75rem; }

  /* 04. The grammar and argument above; definitions and scope in one lower band. */
  .behavior-system { grid-template-columns: 1.05fr 0.95fr; }
  .behavior-case { padding: var(--panel-padding); }
  .behavior-cases { grid-template-columns: 0.75fr 1.25fr; }
  .case-head { min-height: 0; padding-bottom: 0.5rem; }
  .case-head b { font-size: var(--type-subhead); margin-top: 0.25rem; }
  .sequence-box { padding: 0.5rem; gap: 0.375rem; }
  .loop-box { padding: 0.375rem 0.5rem; }
  .loop-box > small { margin-top: 0.25rem; line-height: 1.4; }
  .turn-line { min-height: 2.75rem; }
  .engine-rail { padding: 0.75rem var(--panel-padding); line-height: 1.45; }
  .behavior-detail > .kicker { margin-bottom: 0.75rem; }
  .behavior-detail > .lead { margin-bottom: 0.875rem; }
  .behavior-detail > p:not(.lead):not(.kicker):not(.margin-note) {
    font-size: var(--type-body); line-height: 1.55;
  }
  .behavior-support {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1rem, 2.4vw, 2.5rem);
    align-items: start;
  }
  .behavior-support > * { margin: 0; }
  .behavior-terms { margin-top: 1rem; border-top: 1px solid var(--line); }
  .behavior-terms > div { grid-template-columns: 106px 1fr; gap: 0.75rem; padding-block: 0.375rem; }
  .behavior-terms dd { line-height: 1.45; }
  .behavior-controls {
    border-top: 1px solid var(--line);
    padding-top: 0.75rem;
    font-size: var(--type-small);
    line-height: 1.5;
  }

  /* 05. Comparison and operative examples; the constraints share a lower rail. */
  .roc-silos { padding: 0.5rem var(--panel-padding); }
  .roc-silos span { padding: 0.25rem 0.5rem; }
  .roc-silos i { margin-top: 0.375rem; line-height: 1.4; }
  .roc-worldview { padding-bottom: 0.75rem; }
  .roc-agent { margin-top: 0.5rem; }
  .roc-arrow { padding-block: 0.125rem; }
  .roc-verbs { padding: 0.375rem; line-height: 1.5; }
  .roc-resources { gap: 0.25rem; }
  .roc-resources span { padding: 0.25rem; }
  .roc-detail > .lead { margin: 0.75rem 0; }
  .roc-copy { font-size: var(--type-body); line-height: 1.55; }
  .roc-calls { gap: 0.5rem; margin-top: 1rem; padding: 0.875rem 1rem; }
  .roc-calls code { font-size: var(--type-meta); line-height: 1.5; }
  .roc-support { display: grid; grid-template-columns: 1fr 1fr; gap: var(--column-gap); }
  .roc-guards { gap: 1.5rem; margin: 0; }
  .roc-guards article { padding-top: 0.75rem; }
  .roc-guards p { margin-top: 0.5rem; line-height: 1.45; }

  /* 06. Five faculties form one register. Context sits beneath, not in a tall intro. */
  .delegation-context > p:first-child { font-size: var(--type-body); }
  .delegates { grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; }
  .delegate, .delegate--sophos { grid-column: auto; padding: var(--panel-padding); }
  .delegate-glyph { font-size: clamp(2rem, 4svh, 3rem); }
  .delegate .label { min-height: 2.8em; margin-top: 1rem; }
  .delegate h3 { margin: 0.625rem 0; font-size: var(--type-subhead); }
  .delegate p { margin-bottom: 1.125rem; line-height: 1.5; }
  .faculty-note { padding-top: 0.625rem; padding-bottom: 0.625rem; }
  .faculty-note .label { float: left; width: 180px; margin: 0 var(--column-gap) 0 0; }

  /* 07. An architectural path and an inquiry, with a quiet shared conclusion. */
  .attention-path li { padding-block: clamp(0.75rem, 1.6svh, 1.25rem); gap: 1rem; }
  .attention-path li > div { gap: 0.25rem; }
  .attention-path li b { font-size: var(--type-subhead); }
  .attention-path li > div > span { line-height: 1.45; }
  .attention-operations { padding-block: 0.875rem; }
  .attention-detail > .lead { margin: 0.75rem 0; }
  .attention-detail > p:not(.lead):not(.attention-boundary) { font-size: var(--type-body); line-height: 1.55; }
  .attention-ask { margin-top: 1rem; padding: var(--panel-padding); }
  .attention-ask blockquote { margin: 0.75rem 0; font-size: clamp(1.125rem, 2.4svh, 1.625rem); line-height: 1.3; }
  .attention-ask-flow { padding-block: 0.5rem; line-height: 1.45; }
  .attention-ask p { margin-top: 0.75rem; line-height: 1.5; }
  .stage-body > .attention-boundary { padding-block: 0.5rem; }

  /* 08. An editorial diptych: devotion beside the studio wall; inheritance below. */
  .lineage-opening > .lead { margin-top: 0.625rem; }
  .lineage-body {
    grid-template-columns: 1fr 1fr;
    column-gap: var(--column-gap);
    row-gap: var(--body-gap);
  }
  .lineage-story { display: contents; }
  .lineage-devotion { grid-column: 1; grid-row: 1; }
  .lineage-devotion > p { font-size: var(--type-lead); line-height: 1.3; }
  .lineage-vignette { margin-top: 0.875rem; padding: var(--panel-padding); }
  .lineage-vignette h3 { margin-bottom: 0.625rem; }
  .lineage-vignette > p { font-size: var(--type-small); line-height: 1.5; }
  .lineage-vignette blockquote { margin-top: 0.875rem; padding-top: 0.75rem; }
  .lineage-vignette blockquote p { font-size: clamp(1.125rem, 2.4svh, 1.5rem); line-height: 1.3; }
  .lineage-vignette blockquote cite { margin-top: 0.5rem; }
  .lineage-reflection {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: 1fr 1fr 0.45fr;
    gap: var(--column-gap);
    padding-top: 0.875rem;
    border-top: 1px solid var(--line-strong);
    font-size: var(--type-small);
    line-height: 1.5;
  }
  .lineage-reflection > p + p { margin: 0; }
  .lineage-reflection .lineage-coda { margin: 0; padding: 0; border: 0; align-self: center; }
  .lineage-gallery-wrap { grid-column: 2; grid-row: 1; margin: 0; padding: 0; border: 0; }
  .lineage-gallery-label { margin-bottom: 0.75rem; }
  .lineage-gallery {
    --art-height: clamp(104px, 16svh, 240px);
    grid-template-columns: 1fr 1.05fr 0.66fr;
    gap: 0.75rem 1rem;
  }
  .lineage-gallery figure { grid-column: auto; }
  .lineage-gallery figure:nth-child(1) { grid-column: 1; grid-row: 1; }
  .lineage-gallery figure:nth-child(2) { grid-column: 1; grid-row: 2; }
  .lineage-gallery figure:nth-child(3) { grid-column: 2; grid-row: 2; }
  .lineage-gallery figure:nth-child(4) { grid-column: 2 / 4; grid-row: 1; }
  .lineage-gallery figure:nth-child(5) { grid-column: 3; grid-row: 2; }
  .lineage-gallery .artwork-link { height: var(--art-height); width: fit-content; max-width: 100%; }
  .lineage-gallery img { height: var(--art-height); width: auto; max-width: 100%; object-position: left bottom; }
  .lineage-gallery figcaption { padding-top: 0.375rem; gap: 0.125rem; }
  .lineage-gallery cite { font-size: clamp(0.9375rem, 1.85svh, 1.1875rem); line-height: 1.15; }
  .lineage-gallery figcaption span { font-size: var(--type-meta); line-height: 1.4; }

  @media (max-height: 50rem), (max-width: 74.999rem) {
    :root {
      --header-height: 60px;
      --heading-space: 0.875rem;
      --content-space: 1rem;
      --body-gap: 0.75rem;
      --heading-band: 110px;
      --panel-padding: 0.75rem;
      --type-title: clamp(2.5rem, min(4vw, 5.8svh), 3.125rem);
      --type-lead: 1.125rem;
      --type-subhead: 1.1875rem;
      --type-body: 0.84375rem;
      --type-small: 0.78125rem;
    }
    main > .chapter { padding-top: calc(var(--header-height) + 1rem); padding-bottom: 1rem; }
    .roc-calls { padding: 0.625rem 0.875rem; gap: 0.375rem; margin-top: 0.75rem; }
    .roc-guards p, .roc-boundary, .lineage-reflection { line-height: 1.45; }

    .chapter-premise { padding-top: 1.375rem; line-height: 1.5; }
    .chapter-heading .kicker { margin-bottom: 0.5rem; }
    .panel-head, .record-head, .attention-path-head { padding-block: 0.375rem; }
    .behavior-case { padding: 0.625rem; }
    .engine-rail { padding-block: 0.5rem; }
    .lineage-gallery { --art-height: clamp(98px, 14svh, 124px); }
  }

  @media (max-width: 74.999rem) {
    :root {
      --gutter: 2rem;
      --column-gap: 1.75rem;
      --type-body: 0.8125rem;
      --type-small: 0.75rem;
    }
  }

  /* Safety for enlarged text / unusual metrics: reveal overflow, never crop it.
   * Normal desktop compositions are tested to fit without this escape hatch. */
  main > .viewport-section.is-overflowing {
    height: auto;
    min-height: 100svh;
  }
  .is-overflowing .chapter-content { min-height: 0; }
}

/* 18. Full-view artwork ------------------------------------------------------ */
.artwork-link {
  position: relative;
  display: block;
  max-width: 100%;
  text-decoration: none;
  cursor: zoom-in;
}
.artwork-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.artwork-expand {
  position: absolute;
  right: 0.375rem;
  bottom: 0.375rem;
  width: 28px;
  height: 28px;
  background: rgb(7 19 21 / 0.82);
  border: 1px solid rgb(232 222 201 / 0.55);
  opacity: 0.75;
  pointer-events: none;
  transition: opacity 160ms ease;
}
.artwork-expand::before, .artwork-expand::after {
  position: absolute;
  content: "";
  width: 6px;
  height: 6px;
  border: solid var(--bone);
}
.artwork-expand::before { top: 6px; right: 6px; border-width: 1px 1px 0 0; }
.artwork-expand::after { bottom: 6px; left: 6px; border-width: 0 0 1px 1px; }
.artwork-link:hover .artwork-expand, .artwork-link:focus-visible .artwork-expand { opacity: 1; }
html.lightbox-open { overflow: hidden; scroll-snap-type: none; }
.art-lightbox {
  --accent: var(--brass);
  color-scheme: dark;
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #071315;
  color: var(--bone);
  overflow: hidden;
}
.art-lightbox:not([open]) { display: none; }
.art-lightbox::backdrop { background: rgb(7 19 21 / 0.98); }
.lightbox-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: 100%;
  height: 100%;
  gap: clamp(0.75rem, 2vh, 1.5rem);
  padding: max(0.75rem, env(safe-area-inset-top)) clamp(1rem, 3vw, 3rem) max(1rem, env(safe-area-inset-bottom));
}
.art-lightbox[open] .lightbox-shell { animation: viewer-enter 160ms ease-out; }
.lightbox-toolbar, .lightbox-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.lightbox-toolbar { color: var(--brass); }
.lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  height: 100%;
  cursor: zoom-out;
}
.lightbox-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  cursor: default;
}
.lightbox-image[hidden] { display: none; }
.lightbox-error { color: var(--parchment); font-size: 1rem; }
.lightbox-footer { padding-top: 0.875rem; border-top: 1px solid rgb(232 222 201 / 0.22); }
.lightbox-caption { min-width: 0; }
.lightbox-caption h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.375rem, 2.5vw, 2rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.2;
}
.lightbox-caption p { margin-top: 0.375rem; font: 0.75rem / 1.5 var(--mono); color: #a6bcb1; }
.lightbox-navigation { display: flex; gap: 0.75rem; align-items: center; flex-shrink: 0; }
.lightbox-count { min-width: 4.5em; text-align: center; color: var(--parchment); }
.lightbox-button {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgb(232 222 201 / 0.3);
  border-radius: 2px;
  background: transparent;
  color: var(--bone);
  font: 1.5rem / 1 var(--sans);
  cursor: pointer;
}
.lightbox-button:hover { background: rgb(199 165 106 / 0.12); border-color: var(--brass); }
.lightbox-close { font-size: 2rem; }
@keyframes viewer-enter { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 39.999rem) {
  .lightbox-footer { align-items: flex-start; flex-direction: column; gap: 0.75rem; }
  .lightbox-navigation { width: 100%; justify-content: space-between; }
  .lightbox-shell { gap: 0.625rem; }
  .lightbox-toolbar .label { font-size: 0.6875rem; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .has-reveals .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  html {
    scroll-behavior: auto;
  }
  .site-header,
  .skip-link,
  .hero-frame,
  .hero-presence,
  .hero-continuity,
  .scroll-cue,
  .grain,
  .manifesto-aperture,
  .invitation-frame {
    display: none;
  }
  .section,
  .hero,
  .footer {
    min-height: 0;
    padding: 2rem 0;
    break-inside: auto;
  }
  .hero {
    display: block;
  }
  .hero-folio {
    position: static;
    margin-bottom: 1rem;
  }
  .has-reveals .reveal {
    opacity: 1;
    transform: none;
  }
  h1,
  h2,
  h3,
  .section-folio {
    break-after: avoid;
  }
  .layer-row,
  .delegate,
  .record-step,
  .lineage-gallery figure {
    break-inside: avoid;
  }
}

@media print {
  html { scroll-snap-type: none !important; }
  main > .viewport-section { height: auto !important; min-height: 0 !important; overflow: visible !important; }
  .chapter-content, .stage-body { display: block !important; }
  .chapter-heading { min-height: 0 !important; }
  .art-lightbox, .artwork-expand { display: none !important; }
}
