:root {
  --paper: #f3f3ef;
  --white: #fff;
  --ink: #11110f;
  --muted: #666761;
  --grid: rgba(17, 17, 15, 0.12);
  --purple: #9c80ff;
  --green: #caff2c;
  --orange: #ff5a1f;
  --silver: #c9cbc8;
  --mono: "SFMono-Regular", "Roboto Mono", Menlo, Consolas, monospace;
  --sans: "Arial Narrow", "Helvetica Neue", Helvetica, Arial, "PingFang SC", sans-serif;
  --header-height: 70px;
}

* { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: var(--sans); }
button, a { color: inherit; font: inherit; -webkit-tap-highlight-color: transparent; }
button { border: 0; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--purple); outline-offset: 4px; }
[hidden] { display: none !important; }

.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 10px 14px; color: white; background: #111; font: 700 12px/1 var(--mono); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.site-header { position: relative; z-index: 60; display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; height: var(--header-height); border-bottom: 1px solid #111; background: rgba(243, 243, 239, 0.96); }
.wordmark { display: flex; align-items: center; width: max-content; padding: 0 clamp(18px, 3vw, 42px); color: var(--ink); text-decoration: none; font-size: clamp(22px, 2vw, 34px); font-weight: 950; letter-spacing: -0.08em; }
.wordmark i { color: var(--orange); font-style: normal; }
.header-meta { display: flex; align-items: center; gap: 28px; color: #4d4d49; font: 650 9px/1.2 var(--mono); letter-spacing: 0.11em; }
.menu-trigger { display: flex; align-items: center; justify-content: flex-end; gap: 15px; min-width: 190px; padding: 0 clamp(18px, 3vw, 42px); border-left: 1px solid #111; background: transparent; cursor: pointer; font: 700 11px/1 var(--mono); }
.menu-trigger b { font-size: 22px; font-weight: 400; transition: transform 180ms ease; }
.menu-trigger:hover b { transform: rotate(90deg); }

.course-menu { position: fixed; z-index: 101; top: 0; right: 0; width: min(460px, 92vw); height: 100dvh; padding: 26px; visibility: hidden; pointer-events: none; border-left: 1px solid #111; background: var(--green); box-shadow: -22px 0 60px rgba(0,0,0,.18); transform: translateX(105%); transition: transform 280ms cubic-bezier(.2,.8,.2,1), visibility 0s linear 280ms; }
.course-menu.is-open { visibility: visible; pointer-events: auto; transform: translateX(0); transition-delay: 0s; }
.menu-heading { display: flex; align-items: center; justify-content: space-between; padding-bottom: 22px; border-bottom: 2px solid #111; font: 800 12px/1 var(--mono); }
.menu-heading button { width: 44px; height: 44px; background: #111; color: #fff; cursor: pointer; font-size: 28px; }
.course-menu ol { margin: 0; padding: 0; list-style: none; }
.course-menu li { border-bottom: 1px solid rgba(0,0,0,.45); }
.course-menu li button { display: grid; grid-template-columns: 45px 1fr; gap: 12px; width: 100%; padding: 18px 4px; background: transparent; text-align: left; cursor: pointer; font-weight: 900; }
.course-menu li button:hover { padding-left: 12px; background: rgba(255,255,255,.34); }
.course-menu li span { font: 700 11px/1 var(--mono); }
.course-menu > p { margin-top: 28px; font: 650 11px/1.8 var(--mono); }
.menu-backdrop { position: fixed; z-index: 100; inset: 0; background: rgba(17,17,15,.28); }

.home-view { min-height: calc(100svh - var(--header-height)); }
.course-map {
  --px: 0px;
  --py: 0px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  grid-template-rows: repeat(6, minmax(90px, 1fr));
  width: 100%;
  min-height: max(750px, calc(100svh - var(--header-height)));
  overflow: hidden;
  background-color: var(--paper);
  background-image: linear-gradient(to right, var(--grid) 1px, transparent 1px), linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 12.5% 100%, 100% 16.666666%;
  border-bottom: 1px solid #111;
}
.course-map::before { position: absolute; z-index: 0; inset: 0; pointer-events: none; content: ""; border: 12px solid var(--paper); outline: 1px solid var(--grid); outline-offset: -12px; }
.map-note { z-index: 2; font: 650 9px/1.45 var(--mono); letter-spacing: .08em; }
.map-note--top { grid-column: 1 / 3; grid-row: 1; align-self: start; margin: 20px 0 0 22px; }
.map-note--bottom { display: flex; grid-column: 1 / 3; grid-row: 6; align-self: end; justify-content: space-between; margin: 0 18px 18px 22px; border-top: 2px solid #111; padding-top: 8px; }
.map-note--bottom b { color: var(--orange); }

.manifesto { position: relative; z-index: 20; grid-column: 3 / 7; grid-row: 3 / 5; align-self: center; padding: 14px 0 12px; pointer-events: none; }
.manifesto::after { position: absolute; right: -20px; bottom: 6px; width: 66px; height: 7px; content: ""; background: var(--green); }
.manifesto-code { margin: 0 0 12px; font: 700 9px/1 var(--mono); letter-spacing: .16em; }
.manifesto h1 { margin: 0; font-size: clamp(4.7rem, 7.6vw, 9.8rem); font-weight: 950; line-height: .78; letter-spacing: -.085em; text-transform: uppercase; }
.manifesto h1 span { display: block; white-space: nowrap; }
.manifesto > p:last-child { width: min(560px, 90%); margin: 20px 0 0 4px; font: 650 clamp(10px, 1vw, 13px)/1.5 var(--mono); }

.artifact { position: relative; z-index: 10; min-width: 0; min-height: 0; }
.artifact-object { --base-rotate: 0deg; --hover-rotate: 0deg; position: relative; display: block; width: 100%; height: 100%; padding: 0; color: var(--ink); background: transparent; cursor: pointer; transform: translate(calc(var(--px) * var(--depth, .5)), calc(var(--py) * var(--depth, .5))) rotate(var(--base-rotate)); transform-origin: center; transition: transform 220ms cubic-bezier(.2,.75,.2,1), filter 220ms ease; }
.artifact:hover { z-index: 35; }
.artifact:hover .artifact-object { transform: translate(calc(var(--px) * var(--depth, .5)), calc(var(--py) * var(--depth, .5) - 9px)) rotate(var(--hover-rotate)); filter: drop-shadow(9px 13px 8px rgba(0,0,0,.18)); }
.artifact-object:active { transition-duration: 80ms; transform: translateY(-2px) scale(.985) rotate(var(--hover-rotate)); }
.artifact-cue { position: absolute; z-index: 5; font: 800 9px/1 var(--mono); letter-spacing: .05em; opacity: 0; transform: translateY(5px); transition: opacity 150ms ease, transform 150ms ease; }
.artifact:hover .artifact-cue, .artifact:focus-within .artifact-cue { opacity: 1; transform: none; }

.artifact--book { grid-column: 1 / 3; grid-row: 2 / 4; align-self: center; width: calc(100% + 34px); height: 230px; margin-left: 18px; }
.artifact--book .artifact-object { --base-rotate: -2deg; --hover-rotate: -1deg; --depth: .7; display: grid; grid-template-columns: 1fr 1fr; filter: drop-shadow(5px 8px 4px rgba(0,0,0,.13)); }
.book-page { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 24px 17px; border: 1px solid #242424; background: #fffdf4; text-align: left; }
.book-page--left { border-radius: 7px 0 0 4px; box-shadow: inset -15px 0 18px -20px #000; }
.book-page--right { border-left: 0; border-radius: 0 7px 4px 0; box-shadow: inset 15px 0 18px -20px #000; }
.book-page small { padding-bottom: 8px; border-bottom: 1px solid #111; font: 700 8px/1 var(--mono); }
.book-page b { margin-top: 16px; font-size: clamp(20px, 2vw, 31px); line-height: .95; }
.scribble { margin-top: auto; color: var(--purple); font: 900 15px/1.05 var(--mono); transform: rotate(-7deg); }
.book-route { margin-top: auto; font: 700 7px/1.4 var(--mono); }
.artifact--book .artifact-cue { right: 14px; bottom: -20px; }

.artifact--receipt { grid-column: 7 / 9; grid-row: 1 / 4; justify-self: end; width: min(82%, 240px); height: 325px; margin: 20px 24px 0 0; }
.artifact--receipt .artifact-object { --base-rotate: 1.2deg; --hover-rotate: 3deg; --depth: 1.05; padding: 23px 18px 28px; clip-path: polygon(0 3%, 3% 0, 6% 3%, 9% 0, 12% 3%, 15% 0, 18% 3%, 21% 0, 24% 3%, 27% 0, 30% 3%, 33% 0, 36% 3%, 39% 0, 42% 3%, 45% 0, 48% 3%, 51% 0, 54% 3%, 57% 0, 60% 3%, 63% 0, 66% 3%, 69% 0, 72% 3%, 75% 0, 78% 3%, 81% 0, 84% 3%, 87% 0, 90% 3%, 93% 0, 96% 3%, 100% 0, 100% 97%, 97% 100%, 94% 97%, 91% 100%, 88% 97%, 85% 100%, 82% 97%, 79% 100%, 76% 97%, 73% 100%, 70% 97%, 67% 100%, 64% 97%, 61% 100%, 58% 97%, 55% 100%, 52% 97%, 49% 100%, 46% 97%, 43% 100%, 40% 97%, 37% 100%, 34% 97%, 31% 100%, 28% 97%, 25% 100%, 22% 97%, 19% 100%, 16% 97%, 13% 100%, 10% 97%, 7% 100%, 4% 97%, 0 100%); background: #f8f8f5; box-shadow: 0 8px 20px rgba(0,0,0,.13); text-align: left; }
.receipt-head { display: flex; justify-content: space-between; font: 700 8px/1 var(--mono); }
.receipt-head i { font-style: normal; }
.receipt-title { display: block; margin: 23px 0 14px; font-size: clamp(28px, 3vw, 42px); font-weight: 950; line-height: .82; letter-spacing: -.07em; }
.receipt-line { display: block; border-top: 1px dashed #111; }
.receipt-copy { display: block; margin-top: 16px; font: 650 9px/1.7 var(--mono); }
.barcode { display: block; height: 37px; margin-top: 18px; background: repeating-linear-gradient(90deg,#111 0 2px,transparent 2px 4px,#111 4px 5px,transparent 5px 8px); }
.artifact--receipt .artifact-cue { right: 18px; bottom: 15px; }

.artifact--manual { grid-column: 1 / 4; grid-row: 4 / 7; align-self: end; width: 86%; height: 250px; margin: 0 0 28px 24px; }
.artifact--manual .artifact-object { --base-rotate: .7deg; --hover-rotate: -.5deg; --depth: .55; display: grid; grid-template-columns: 40px 1fr; color: #f4f4ef; border: 2px solid #111; background: #181918; box-shadow: 7px 8px 0 var(--silver); text-align: left; }
.manual-spine { display: grid; place-items: center; color: #111; background: var(--silver); font: 800 8px/1 var(--mono); writing-mode: vertical-rl; transform: rotate(180deg); }
.manual-body { display: flex; flex-direction: column; padding: 20px; }
.manual-body small { font: 600 8px/1 var(--mono); color: #bfc0ba; }
.manual-body b { margin-top: 10px; font-size: clamp(30px, 4vw, 55px); line-height: .78; letter-spacing: -.06em; }
.terminal-mini { margin-top: auto; padding: 10px; border: 1px solid #666; color: #d8d8d3; font: 600 8px/1.3 var(--mono); }
.terminal-mini i { color: var(--green); font-style: normal; }
.terminal-mini span { animation: blink 900ms steps(1) infinite; }
.manual-body em { margin-top: 9px; font: 650 7px/1 var(--mono); color: #999; font-style: normal; letter-spacing: .08em; }
.artifact--manual .artifact-cue { right: 14px; top: 14px; color: var(--green); }

.artifact--workbook { grid-column: 6 / 9; grid-row: 4 / 7; justify-self: end; align-self: end; width: 92%; height: 280px; margin: 0 26px 20px 0; }
.artifact--workbook .artifact-object { --base-rotate: -1.1deg; --hover-rotate: .4deg; --depth: .85; padding: 28px 25px 18px; border: 1px solid #111; background-color: #e8e4ff; background-image: linear-gradient(#9c80ff2e 1px,transparent 1px),linear-gradient(90deg,#9c80ff2e 1px,transparent 1px); background-size: 22px 22px; box-shadow: 6px 7px 0 #111; text-align: left; }
.coil { position: absolute; top: -8px; right: 20px; left: 20px; height: 18px; background: repeating-linear-gradient(90deg, transparent 0 12px, #111 12px 16px, transparent 16px 25px); }
.workbook-stamp { position: absolute; top: 29px; right: 25px; display: grid; width: 44px; height: 44px; place-items: center; border: 2px solid #111; border-radius: 50%; font: 900 15px/1 var(--mono); }
.artifact--workbook small { font: 700 8px/1 var(--mono); }
.artifact--workbook b { display: block; margin-top: 12px; font-size: clamp(29px, 4vw, 52px); line-height: .78; letter-spacing: -.06em; }
.wireframe { position: absolute; right: 25px; bottom: 48px; display: grid; grid-template-columns: repeat(2,34px); grid-template-rows: repeat(2,25px); border: 1px solid #111; }
.wireframe i { border: 1px solid #111; }
.workbook-tabs { position: absolute; bottom: 17px; left: 25px; display: flex; gap: 5px; }
.workbook-tabs i { padding: 5px 7px; border: 1px solid #111; background: #f3f3ef; font: 800 7px/1 var(--mono); font-style: normal; }
.artifact--workbook .artifact-cue { right: 20px; bottom: 22px; }

.artifact--skills { grid-column: 4 / 6; grid-row: 1 / 3; align-self: start; height: 180px; margin: 20px 10px 0; }
.artifact--skills .artifact-object { --base-rotate: -.4deg; --hover-rotate: -2deg; --depth: 1.2; display: grid; grid-template-columns: 1.2fr .9fr; gap: 11px; padding: 16px; border: 2px solid #111; background: var(--green); box-shadow: 5px 5px 0 #111; text-align: left; }
.skills-label small { display: block; margin-bottom: 17px; font: 800 7px/1 var(--mono); }
.skills-label b { font-size: clamp(20px, 2vw, 30px); line-height: .85; }
.skill-slots { display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; align-items: end; }
.skill-slots i { display: grid; aspect-ratio: 1; place-items: center; border: 1px solid #111; background: #111; color: var(--green); font: 700 7px/1 var(--mono); font-style: normal; }
.equip-status { position: absolute; left: 16px; bottom: 13px; font: 700 7px/1 var(--mono); }
.equip-status i { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #111; }
.artifact--skills .artifact-cue { right: 15px; top: -15px; }

.artifact--poster { grid-column: 4 / 6; grid-row: 5 / 7; align-self: end; height: 185px; margin: 0 12px 24px; }
.artifact--poster .artifact-object { --base-rotate: 2deg; --hover-rotate: 0deg; --depth: .65; padding: 19px 20px; overflow: hidden; color: #111; border: 1px solid #111; background: var(--orange); box-shadow: -5px 7px 0 #111; text-align: left; }
.artifact--poster .artifact-object::after { position: absolute; right: -1px; bottom: -1px; width: 54px; height: 54px; content: ""; background: linear-gradient(135deg, rgba(0,0,0,.18) 0 49%, #f3f3ef 50%); }
.poster-index { display: block; padding-bottom: 8px; border-bottom: 1px solid #111; font: 800 7px/1 var(--mono); }
.artifact--poster b { display: block; margin-top: 10px; font-size: clamp(23px, 2.4vw, 37px); line-height: .82; letter-spacing: -.05em; }
.poster-copy { position: absolute; right: 17px; bottom: 18px; font: 800 6px/1.4 var(--mono); text-align: right; }
.artifact--poster .artifact-cue { left: 18px; bottom: -16px; }

.chapter-view { min-height: calc(100svh - var(--header-height)); }
.reader-header, .reader-stage, .page-controls { display: none; }

@keyframes blink { 50% { opacity: 0; } }
@keyframes enter-artifact { from { opacity: 0; transform: translateY(18px) rotate(var(--base-rotate)); } }
.artifact-object { animation: enter-artifact 520ms both cubic-bezier(.2,.8,.2,1); }
.artifact:nth-of-type(2) .artifact-object { animation-delay: 60ms; }
.artifact:nth-of-type(3) .artifact-object { animation-delay: 110ms; }
.artifact:nth-of-type(4) .artifact-object { animation-delay: 160ms; }
.artifact:nth-of-type(5) .artifact-object { animation-delay: 210ms; }
.artifact:nth-of-type(6) .artifact-object { animation-delay: 260ms; }

@media (max-width: 920px) {
  :root { --header-height: 62px; }
  .site-header { grid-template-columns: 1fr auto; }
  .header-meta { display: none; }
  .menu-trigger { min-width: 0; }
  .course-map { grid-template-columns: repeat(4,minmax(0,1fr)); grid-template-rows: none; grid-auto-rows: 112px; min-height: auto; overflow: visible; padding-bottom: 24px; background-size: 25% 112px; }
  .manifesto { grid-column: 1 / 5; grid-row: 1 / span 2; align-self: center; padding: 30px 18px 20px; }
  .manifesto::after { right: 18px; }
  .manifesto h1 { font-size: clamp(3.15rem, 14.5vw, 6.6rem); line-height: .82; }
  .manifesto > p:last-child { margin-top: 16px; font-size: 9px; }
  .manifesto-code, .map-note--top { display: none; }
  .artifact--book { grid-column: 1 / 5; grid-row: 3 / span 2; width: calc(100% - 36px); height: 205px; margin: 12px 18px; }
  .artifact--receipt { grid-column: 1 / 3; grid-row: 5 / span 3; justify-self: start; width: calc(100% - 24px); height: 305px; margin: 13px 0 0 18px; }
  .artifact--skills { grid-column: 3 / 5; grid-row: 5 / span 2; height: 205px; margin: 14px 18px 0 8px; }
  .artifact--manual { grid-column: 3 / 5; grid-row: 7 / span 2; align-self: start; width: calc(100% - 26px); height: 206px; margin: 12px 18px 0 8px; }
  .artifact--workbook { grid-column: 1 / 5; grid-row: 9 / span 2; width: calc(100% - 36px); height: 210px; margin: 12px 18px; }
  .artifact--poster { grid-column: 1 / 5; grid-row: 11 / span 2; height: 200px; margin: 12px 18px; }
  .map-note--bottom { grid-column: 1 / 5; grid-row: 13; margin: 18px; }
  .artifact:hover .artifact-object { transform: translateY(-4px) rotate(var(--hover-rotate)); }
}

@media (max-width: 560px) {
  .wordmark { padding: 0 16px; font-size: 23px; }
  .menu-trigger { padding: 0 16px; border-left: 0; }
  .menu-trigger span { display: none; }
  .manifesto h1 { font-size: clamp(2.85rem, 14vw, 4.8rem); }
  .book-page { padding: 19px 12px; }
  .book-page b { font-size: 22px; }
  .skills-label b { font-size: 18px; }
  .manual-body { padding: 15px 12px; }
  .manual-body b { font-size: 30px; }
  .artifact--workbook b { font-size: 35px; }
}

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

/* V2 / warm paper physical workbench */
:root { --board:#f1eee5; --board-deep:#e3ded4; --board-line:rgba(49,48,43,.18); --warm-paper:#faf6ed; --fog:#c9c4b9; --hand:"Bradley Hand","Segoe Print","Kaiti SC",cursive; --header-height:0px; }
html,body { background:var(--board-deep); }
.site-header { position:fixed; z-index:80; top:18px; right:24px; left:24px; display:grid; grid-template-columns:1fr auto 1fr; height:48px; overflow:hidden; color:#1d1d1a; border:1px solid rgba(47,46,41,.18); border-radius:999px; background:rgba(248,245,237,.72); box-shadow:0 8px 28px rgba(55,49,40,.1),inset 0 1px 0 rgba(255,255,255,.72); backdrop-filter:blur(16px) saturate(.72); }
.wordmark { padding-inline:20px; color:#181816; font-size:21px; }
.wordmark i { color:#ee7141; }
.header-meta { gap:22px; color:rgba(29,29,26,.56); }
.menu-trigger { min-width:170px; padding-inline:20px; color:#181816; border-left-color:rgba(47,46,41,.16); }
.course-menu { top:12px; right:12px; height:calc(100dvh - 24px); color:#171a17; border:1px solid rgba(255,255,255,.3); border-radius:18px; background:#ede8dc; }
.course-menu li { border-bottom-color:rgba(0,0,0,.22); }
.course-menu li button:hover { background:#d9e2bf; }
.menu-backdrop { background:rgba(70,65,57,.28); backdrop-filter:blur(8px); }
.home-view { min-height:100svh; }
.course-map { --px:0px; --py:0px; isolation:isolate; position:relative; display:grid; grid-template-columns:repeat(8,minmax(0,1fr)); grid-template-rows:repeat(6,minmax(118px,1fr)); width:100%; min-height:max(780px,100svh); overflow:hidden; border:0; background-color:var(--board); background-image:linear-gradient(to right,var(--board-line) 1px,transparent 1px),linear-gradient(to bottom,var(--board-line) 1px,transparent 1px); background-size:12.5% 100%,100% 16.6667%; }
.course-map::before { z-index:0; inset:0; border:0; outline:0; background:radial-gradient(circle at 50% 43%,rgba(255,255,255,.34),transparent 57%),linear-gradient(90deg,rgba(136,125,105,.03),transparent 28%,transparent 72%,rgba(93,82,65,.045)); }
.course-map::after { position:absolute; z-index:1; inset:10px; pointer-events:none; content:""; border:1px solid rgba(47,46,41,.13); }
.map-note { z-index:24; color:rgba(35,34,31,.58); }
.map-note--top { grid-column:1 / 3; grid-row:1; margin:86px 0 0 26px; }
.map-note--bottom { grid-column:1 / 3; grid-row:6; margin:0 18px 18px 26px; border-top-color:rgba(35,34,31,.38); }
.map-note--bottom b { color:#f09a3c; }
.manifesto { isolation:isolate; z-index:22; grid-column:3 / 7; grid-row:3 / 5; align-self:center; min-width:0; padding:30px 15px 28px 28px; color:#101310; }
.manifesto::before { position:absolute; z-index:-1; inset:-6px -6% -8px -4%; content:""; background:linear-gradient(100deg,rgba(255,255,255,.48),transparent 18%),var(--warm-paper); box-shadow:0 18px 34px rgba(53,47,38,.15),0 2px 2px rgba(53,47,38,.13); transform:rotate(-.65deg); clip-path:polygon(.5% 1%,99.6% 0,100% 98%,98% 99.4%,63% 98.8%,32% 100%,0 98.5%); }
.manifesto::after { right:auto; bottom:auto; top:-17px; left:44%; width:86px; height:22px; background:rgba(209,200,173,.58); box-shadow:0 1px 2px rgba(0,0,0,.15); transform:rotate(2deg); }
.manifesto-code { margin:0 0 13px; font-size:8px; letter-spacing:.17em; }
.manifesto h1 { margin-left:-5%; font-size:clamp(4.25rem,7.35vw,8.8rem); line-height:.78; letter-spacing:-.09em; text-shadow:0 .01em 0 rgba(0,0,0,.1); }
.manifesto > p:last-child { margin-top:20px; margin-left:0; font-size:clamp(9px,.85vw,12px); }
.artifact { z-index:10; }
.artifact-object { --base-rotate:0deg; --hover-rotate:0deg; overflow:visible; filter:drop-shadow(0 16px 15px rgba(55,47,37,.24)); }
.artifact:hover { z-index:42; }
.artifact:hover .artifact-object { transform:translate(calc(var(--px) * var(--depth,.5)),calc(var(--py) * var(--depth,.5) - 11px)) rotate(var(--hover-rotate)) scale(1.025); filter:drop-shadow(0 24px 19px rgba(55,47,37,.32)); }
.artifact-image { display:block; width:100%; height:100%; object-fit:contain; pointer-events:none; user-select:none; }
.object-copy { position:absolute; z-index:3; display:flex; flex-direction:column; color:#171815; text-align:left; pointer-events:none; }
.object-copy small { font:750 7px/1 var(--mono); letter-spacing:.08em; }
.object-copy b { margin-top:8px; font-weight:950; line-height:.8; letter-spacing:-.065em; }
.object-copy i { margin-top:auto; font:750 7px/1.3 var(--mono); font-style:normal; }
.artifact-cue { z-index:5; padding:7px 9px; color:#151815; background:#f0a158; box-shadow:3px 4px 8px rgba(0,0,0,.18); }
.artifact-doodle { position:relative; z-index:27; align-self:start; justify-self:start; color:#282722; font:500 clamp(12px,1.15vw,17px)/1.08 var(--hand); letter-spacing:.01em; white-space:nowrap; text-align:left; pointer-events:none; }
.artifact-doodle b { font-weight:500; }
.artifact-doodle::after { position:absolute; width:42px; height:12px; content:""; border-top:1px solid currentColor; border-radius:50%; opacity:.72; }
.artifact-doodle--book { grid-column:4 / 5; grid-row:1 / 2; margin:80px 0 0 4px; transform:rotate(-6deg); }
.artifact-doodle--book::after { right:103%; bottom:-6px; transform:rotate(14deg); }
.artifact-doodle--receipt { grid-column:6 / 8; grid-row:2 / 3; align-self:end; justify-self:center; margin:0 16px 10px 0; transform:rotate(5deg); }
.artifact-doodle--receipt::after { top:50%; left:104%; transform:rotate(-11deg); }
.artifact-doodle--manual { grid-column:1 / 3; grid-row:4 / 5; align-self:center; justify-self:center; margin:0 0 0 12px; transform:rotate(-4deg); }
.artifact-doodle--manual::after { right:104%; bottom:-4px; transform:rotate(8deg); }
.artifact-doodle--workbook { grid-column:6 / 8; grid-row:5 / 6; margin:4px 0 0 10px; transform:rotate(-5deg); }
.artifact-doodle--workbook::after { top:105%; left:18%; transform:rotate(13deg); }
.artifact-doodle--skills { grid-column:7 / 9; grid-row:4 / 5; align-self:end; justify-self:center; margin:0 25px 8px 0; transform:rotate(6deg); }
.artifact-doodle--skills::after { right:-38px; bottom:2px; transform:rotate(-9deg); }
.artifact-doodle--poster { grid-column:4 / 6; grid-row:5 / 6; align-self:start; justify-self:center; margin:7px 0 0 12px; transform:rotate(4deg); }
.artifact-doodle--poster::after { right:102%; bottom:-5px; transform:rotate(12deg); }
.artifact--book { grid-column:1 / 4; grid-row:1 / 3; align-self:end; width:112%; height:290px; margin:45px 0 -30px -24px; }
.artifact--book .artifact-object { --base-rotate:-3deg; --hover-rotate:-1deg; --depth:.7; display:block; }
.object-copy--book { top:29%; right:12%; width:34%; height:42%; }
.object-copy--book b { font-size:clamp(20px,2.1vw,34px); }
.artifact--book .artifact-cue { right:8%; bottom:7%; }
.artifact--receipt { grid-column:7 / 9; grid-row:1 / 4; justify-self:end; width:115%; height:440px; margin:36px -35px 0 0; }
.artifact--receipt .artifact-object { --base-rotate:2deg; --hover-rotate:3.5deg; --depth:1.05; padding:0; clip-path:none; background:transparent; box-shadow:none; }
.object-copy--receipt { top:35%; left:35%; width:39%; height:42%; }
.object-copy--receipt b { margin-top:12px; font-size:clamp(17px,1.6vw,26px); }
.artifact--receipt .artifact-cue { right:16%; bottom:6%; }
.artifact--manual { grid-column:1 / 4; grid-row:4 / 7; align-self:end; width:96%; height:330px; margin:0 0 19px -30px; }
.artifact--manual .artifact-object { --base-rotate:1.6deg; --hover-rotate:-.3deg; --depth:.55; display:block; color:inherit; border:0; background:transparent; box-shadow:none; }
.object-copy--manual { top:23%; left:30%; width:39%; height:50%; color:#eeeae0; }
.object-copy--manual small { color:#aaa99f; }
.object-copy--manual b { font-size:clamp(27px,3vw,48px); }
.object-copy--manual i { padding:8px; border:1px solid #696b67; color:#d8e9c0; background:rgba(6,9,7,.5); }
.artifact--manual .artifact-cue { top:12%; right:10%; color:#111; }
.artifact--workbook { grid-column:6 / 9; grid-row:5 / 7; justify-self:end; align-self:end; width:114%; height:340px; margin:0 -32px -34px 0; }
.artifact--workbook .artifact-object { --base-rotate:-2deg; --hover-rotate:-.4deg; --depth:.85; padding:0; border:0; background:transparent; box-shadow:none; }
.object-copy--workbook { top:23%; left:31%; width:38%; height:46%; }
.object-copy--workbook b { font-size:clamp(25px,2.7vw,43px); }
.artifact--workbook .artifact-cue { right:13%; bottom:12%; }
.artifact--skills { z-index:12; grid-column:7 / 9; grid-row:3 / 6; justify-self:end; align-self:center; width:95%; height:330px; margin:20px 12px 0 0; }
.artifact--skills .artifact-object { --base-rotate:-1deg; --hover-rotate:2deg; --depth:1.2; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; }
.object-copy--skills { top:25%; left:21%; width:49%; height:44%; }
.object-copy--skills b { font-size:clamp(20px,2vw,32px); }
.artifact--skills .artifact-cue { right:3%; bottom:3%; }
.artifact--poster { grid-column:3 / 6; grid-row:5 / 7; align-self:end; width:104%; height:310px; margin:0 0 -20px -15px; }
.artifact--poster .artifact-object { --base-rotate:2.1deg; --hover-rotate:.5deg; --depth:.65; padding:0; color:inherit; background:transparent; box-shadow:none; }
.object-copy--poster { top:26%; left:29%; width:42%; height:42%; }
.object-copy--poster b { font-size:clamp(22px,2.3vw,38px); }
.artifact--poster .artifact-cue { right:10%; bottom:7%; }
@media (max-width:1000px) and (min-width:761px) { .header-meta span:last-child{display:none}.artifact--book{width:120%}.artifact--receipt{width:130%}.manifesto h1{font-size:clamp(4rem,7.5vw,6.3rem)} }

@media (min-width:921px) {
  .home-view { height:max(780px,100svh); overflow:hidden; }
  .course-map { height:max(780px,100svh); min-height:0; grid-template-rows:repeat(6,minmax(0,1fr)); }
}

/* Chapter reader */
body.reader-open { background: #cfd2cc; }
body.reader-open > .site-header { display: none; }
.chapter-view { --reader-grid: rgba(17,17,15,.1); position: relative; min-height: 100svh; background-color: #cfd2cc; background-image: linear-gradient(var(--reader-grid) 1px, transparent 1px), linear-gradient(90deg,var(--reader-grid) 1px,transparent 1px); background-size: 34px 34px; }
.reader-header { position: relative; z-index: 10; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 70px; padding: 0 clamp(18px,3vw,44px); border-bottom: 1px solid #111; background: rgba(243,243,239,.92); }
.back-button, .reader-index-button { min-height: 44px; background: transparent; cursor: pointer; font: 800 10px/1 var(--mono); letter-spacing: .04em; }
.back-button { justify-self: start; }
.reader-index-button { justify-self: end; }
.back-button:hover, .reader-index-button:hover { color: var(--chapter-accent); }
.reader-heading { display: flex; align-items: center; gap: 18px; font: 750 10px/1 var(--mono); }
.reader-heading span { padding: 7px 9px; color: #111; background: var(--chapter-accent); }

.reader-stage { display: grid; min-height: calc(100svh - 140px); place-items: center; padding: 34px clamp(28px,4vw,68px) 28px; touch-action: pan-y; }
.book-shell { position: relative; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: min(1220px,100%); min-height: min(690px,calc(100svh - 192px)); perspective: 1600px; filter: drop-shadow(0 24px 23px rgba(17,17,15,.22)); }
.book-shell::before { position: absolute; z-index: -1; inset: -9px -10px -12px; content: ""; border: 1px solid #6d6d68; border-radius: 10px 12px 12px 10px; background: #aeb0aa; box-shadow: 0 4px 0 #7d7e79; }
.binding { position: absolute; z-index: 8; top: 0; bottom: 0; left: 50%; width: 26px; pointer-events: none; transform: translateX(-50%); background: linear-gradient(90deg,transparent,rgba(0,0,0,.13) 44%,rgba(255,255,255,.82) 51%,rgba(0,0,0,.12) 58%,transparent); }
.lesson-page { position: relative; min-width: 0; overflow: hidden; border: 1px solid rgba(17,17,15,.22); background-color: var(--chapter-paper); background-image: linear-gradient(rgba(17,17,15,.035) 1px,transparent 1px); background-size: 100% 29px; transform-style: preserve-3d; transition: transform 220ms ease, opacity 170ms ease; }
.lesson-page--left { border-radius: 7px 0 0 7px; box-shadow: inset -24px 0 30px -31px #000; transform-origin: right center; }
.lesson-page--right { border-left: 0; border-radius: 0 7px 7px 0; box-shadow: inset 24px 0 30px -31px #000; transform-origin: left center; }
.book-shell.turning-next .lesson-page--right { z-index: 6; transform: rotateY(-11deg); opacity: .76; }
.book-shell.turning-prev .lesson-page--left { z-index: 6; transform: rotateY(11deg); opacity: .76; }
.book-shell.turn-settled .lesson-page { transform: none; opacity: 1; }

.page-inner { display: flex; flex-direction: column; min-height: 100%; padding: clamp(28px,3.2vw,48px); }
.page-register { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid #111; font: 750 8px/1 var(--mono); letter-spacing: .08em; }
.page-register i { font-style: normal; }
.page-content { display: flex; flex: 1; flex-direction: column; min-height: 0; padding-top: clamp(26px,3vw,44px); }
.page-content h2 { max-width: 11ch; margin: 0; font-size: clamp(2.45rem,4vw,4.8rem); font-weight: 950; line-height: .85; letter-spacing: -.065em; }
.page-lead { max-width: 42ch; margin: 22px 0 0; font-size: clamp(14px,1.25vw,18px); font-weight: 670; line-height: 1.55; }
.page-copy { display: grid; gap: 7px; max-width: 50ch; margin-top: 15px; }
.page-copy p { margin: 0; color: #50514d; font-size: 12px; line-height: 1.65; }
.page-inner footer { display: flex; justify-content: space-between; margin-top: 22px; padding-top: 12px; border-top: 1px solid #111; font: 700 8px/1 var(--mono); }
.page-inner footer b { color: var(--chapter-accent); }
.blank-page { display: grid; min-height: 100%; place-items: center; color: #777; font: 700 9px/1 var(--mono); }

.visual { margin-top: auto; }
.terminal-panel { padding: 18px; color: #ededeb; border: 2px solid #111; background: #171817; box-shadow: 6px 6px 0 var(--chapter-accent); }
.terminal-dots { display: block; margin-bottom: 16px; color: var(--chapter-accent); font-size: 8px; letter-spacing: 5px; }
.terminal-panel code { display: block; min-height: 100px; white-space: pre-wrap; font: 600 10px/1.8 var(--mono); }
.terminal-panel code b { color: var(--chapter-accent); }

.comic-strip { position: relative; display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.comic-strip > div { display: flex; min-height: 128px; flex-direction: column; padding: 12px; border: 2px solid #111; background: white; box-shadow: 3px 3px 0 #111; }
.comic-strip span { font: 700 8px/1 var(--mono); }
.comic-strip b { margin-top: auto; font-size: clamp(15px,1.5vw,24px); }
.comic-strip i { margin-top: 3px; color: var(--chapter-accent); font: 800 9px/1 var(--mono); font-style: normal; }
.comic-strip em { position: absolute; right: -8px; top: -25px; color: var(--chapter-accent); font-size: 30px; font-style: normal; transform: rotate(-20deg); }

.flow-line { display: flex; align-items: stretch; justify-content: space-between; }
.flow-line > div { display: flex; min-width: 74px; flex: 1; flex-direction: column; gap: 20px; padding: 11px; border: 1px solid #111; background: rgba(255,255,255,.5); }
.flow-line span, .step-stack span { font: 700 8px/1 var(--mono); }
.flow-line b { font-size: 13px; }
.flow-line > i { align-self: center; padding: 0 6px; color: var(--chapter-accent); font-style: normal; font-weight: 900; }

.timeline { border-top: 2px solid #111; }
.timeline > div { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid #777; }
.timeline span { font: 750 9px/1 var(--mono); color: var(--chapter-accent); }
.timeline b { font-size: 13px; }
.indexed-list { margin-bottom: 0; padding: 0; list-style: none; border-top: 2px solid #111; }
.indexed-list li { display: grid; grid-template-columns: 44px 1fr; padding: 10px 0; border-bottom: 1px solid #777; font-weight: 700; }
.indexed-list span { color: var(--chapter-accent); font: 800 9px/1.6 var(--mono); }

.inventory-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; }
.inventory-grid > div { display: flex; aspect-ratio: 1.35; flex-direction: column; justify-content: space-between; padding: 10px; color: #f6f6f1; border: 1px solid #111; background: #1b1c1b; box-shadow: inset 0 0 0 3px #3f403d; }
.inventory-grid span { color: var(--chapter-accent); font: 700 7px/1 var(--mono); }
.inventory-grid b { font-size: 11px; overflow-wrap: anywhere; }

.step-stack { display: grid; gap: 7px; }
.step-stack > div { display: grid; grid-template-columns: 45px 1fr; align-items: center; min-height: 44px; padding: 8px 12px; border: 1px solid #111; background: rgba(255,255,255,.52); box-shadow: 3px 3px 0 color-mix(in srgb,var(--chapter-accent) 70%,#111); }
.step-stack b { white-space: normal; font-size: 12px; line-height: 1.2; }
.blueprint-grid { display: grid; grid-template-columns: repeat(2,1fr); border: 2px solid #111; background-image: linear-gradient(rgba(17,17,15,.09) 1px,transparent 1px),linear-gradient(90deg,rgba(17,17,15,.09) 1px,transparent 1px); background-size: 18px 18px; }
.blueprint-grid div { min-height: 66px; padding: 13px; border: 1px solid #111; background: rgba(255,255,255,.48); font: 750 9px/1.45 var(--mono); }

.label-cloud { display: flex; flex-wrap: wrap; gap: 9px; padding: 14px; border: 1px dashed #111; }
.label-cloud span { padding: 9px 12px; border: 1px solid #111; background: white; box-shadow: 3px 3px 0 var(--chapter-accent); font: 800 9px/1 var(--mono); transform: rotate(var(--r)); }
.identity-slip { display: grid; padding: 18px; border: 1px solid #111; background: white; clip-path: polygon(0 0,100% 0,100% 95%,96% 100%,92% 95%,88% 100%,84% 95%,80% 100%,76% 95%,72% 100%,68% 95%,64% 100%,60% 95%,56% 100%,52% 95%,48% 100%,44% 95%,40% 100%,36% 95%,32% 100%,28% 95%,24% 100%,20% 95%,16% 100%,12% 95%,8% 100%,4% 95%,0 100%); }
.identity-slip span { padding-bottom: 12px; border-bottom: 1px dashed #111; font: 700 8px/1 var(--mono); }
.identity-slip b { padding: 9px 0; border-bottom: 1px dotted #888; font-size: 13px; }
.identity-slip i { height: 28px; margin: 11px 0 10px; background: repeating-linear-gradient(90deg,#111 0 2px,transparent 2px 5px,#111 5px 6px,transparent 6px 9px); }

.stamp-block { display: grid; min-height: 150px; place-items: center; padding: 22px; border: 2px dashed #111; text-align: center; transform: rotate(-1deg); }
.stamp-block b { padding: 15px; color: var(--chapter-accent); border: 4px double var(--chapter-accent); font: 900 clamp(18px,2vw,30px)/1 var(--mono); }
.stamp-block span { font: 800 8px/1 var(--mono); }
.signal-block { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; }
.signal-block div { display: grid; aspect-ratio: 1; place-items: center; border-radius: 50%; color: white; background: #111; font: 900 clamp(17px,2vw,28px)/1 var(--sans); }
.signal-block > span { color: var(--chapter-accent); font-size: 34px; }
.signal-block > b { padding: 18px 10px; border-block: 2px solid #111; font: 800 11px/1.3 var(--mono); }
.wire-board { position: relative; display: grid; grid-template-columns: repeat(2,1fr); min-height: 155px; border: 2px solid #111; background-image: linear-gradient(rgba(17,17,15,.1) 1px,transparent 1px),linear-gradient(90deg,rgba(17,17,15,.1) 1px,transparent 1px); background-size: 20px 20px; }
.wire-board span { margin: 8px; border: 1px solid #111; background: rgba(255,255,255,.5); }
.wire-board b { position: absolute; right: 9px; bottom: 8px; padding: 6px 8px; background: var(--chapter-accent); font: 800 8px/1 var(--mono); }
.media-placeholder { display: grid; aspect-ratio: 16/9; place-items: center; border: 2px solid #111; background: repeating-linear-gradient(135deg,#e0e1dc 0 8px,#d3d4cf 8px 16px); }
.media-placeholder span { display: grid; grid-row: 1; width: 48px; height: 48px; place-items: center; border-radius: 50%; color: white; background: #111; }
.media-placeholder b { grid-row: 2; font: 800 9px/1 var(--mono); }
.media-placeholder i { grid-row: 3; padding: 4px 7px; background: var(--chapter-accent); font: 700 8px/1 var(--mono); font-style: normal; }
.compare-panel { display: grid; grid-template-columns: 1fr 38px 1fr; align-items: stretch; }
.compare-panel > div { display: grid; min-height: 130px; place-items: center; padding: 15px; border: 2px solid #111; font-size: 14px; font-weight: 850; text-align: center; }
.compare-panel .compare-1 { color: #111; background: var(--chapter-accent); }
.compare-panel > b { display: grid; place-items: center; font-size: 26px; }
.letter-note { position: relative; display: flex; min-height: 170px; flex-direction: column; padding: 20px; border: 1px solid #111; background: white; box-shadow: 7px 7px 0 var(--chapter-accent); transform: rotate(-1deg); }
.letter-note span { font: 800 8px/1 var(--mono); }
.letter-note b { max-width: 20ch; margin: auto 0; font-size: clamp(19px,2.3vw,34px); line-height: .95; }
.letter-note i { align-self: flex-end; font: 700 8px/1 var(--mono); font-style: normal; }
.quote-block { position: relative; margin-bottom: 0; padding: 22px 5px; border-block: 3px solid #111; font-size: clamp(22px,3vw,43px); font-weight: 950; line-height: .95; letter-spacing: -.035em; }
.quote-block::after { position: absolute; right: 0; bottom: -3px; width: 28%; height: 8px; content: ""; background: var(--chapter-accent); }

.page-controls { position: relative; z-index: 10; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 70px; padding: 0 clamp(18px,3vw,44px); border-top: 1px solid #111; background: rgba(243,243,239,.94); }
.page-controls button { min-width: 120px; min-height: 44px; background: transparent; cursor: pointer; font: 800 10px/1 var(--mono); }
.page-controls button:first-child { justify-self: start; text-align: left; }
.page-controls button:last-child { justify-self: end; text-align: right; }
.page-controls button:hover:not(:disabled) { color: var(--chapter-accent); }
.page-controls button:disabled { cursor: not-allowed; opacity: .28; }
.page-status { display: grid; grid-template-columns: auto 84px auto; align-items: center; gap: 10px; font: 800 11px/1 var(--mono); }
.page-status i { height: 4px; background: linear-gradient(90deg,var(--chapter-accent) 50%,#111 50%); }
.artifact.is-opening .artifact-object { z-index: 80; transform: scale(1.06) rotate(0); filter: drop-shadow(18px 24px 15px rgba(0,0,0,.22)); }

@media (max-width: 760px) {
  body.reader-open { overflow-x: hidden; }
  .reader-header { position: sticky; top: 0; grid-template-columns: 1fr auto; height: 62px; padding: 0 14px; }
  .reader-heading { position: absolute; left: 50%; gap: 8px; transform: translateX(-50%); }
  .reader-heading b { display: none; }
  .reader-index-button { grid-column: 2; }
  .back-button span, .reader-index-button { font-size: 0; }
  .back-button, .reader-index-button { min-width: 44px; font-size: 19px; }
  .reader-index-button::before { content: "INDEX"; font: 800 9px/1 var(--mono); }
  .reader-stage { min-height: calc(100svh - 126px); padding: 18px 14px; align-items: start; }
  .book-shell { display: block; width: 100%; min-height: max(610px,calc(100svh - 162px)); filter: drop-shadow(0 15px 13px rgba(17,17,15,.17)); }
  .book-shell::before { inset: -6px -5px -8px; }
  .binding { display: none; }
  .lesson-page { min-height: max(610px,calc(100svh - 162px)); border-radius: 5px; transform-origin: left center; }
  .lesson-page--right { display: none; }
  .book-shell.turning-next .lesson-page--left { transform: rotateY(-8deg) translateX(-7px); opacity: .7; }
  .book-shell.turning-prev .lesson-page--left { transform: rotateY(8deg) translateX(7px); opacity: .7; }
  .page-inner { min-height: inherit; padding: 25px 22px 20px; }
  .page-content { padding-top: 26px; }
  .page-content h2 { max-width: 12ch; font-size: clamp(2.65rem,12vw,4.3rem); }
  .page-lead { font-size: 15px; }
  .page-copy p { font-size: 13px; }
  .visual { margin-top: 34px; }
  .page-inner footer { margin-top: auto; padding-top: 15px; }
  .page-controls { position: sticky; bottom: 0; height: 64px; padding: 0 14px; }
  .page-controls button { min-width: 72px; }
  .page-controls button span { display: none; }
  .page-status { grid-template-columns: auto 48px auto; }
  .comic-strip { gap: 5px; }
  .comic-strip > div { min-height: 108px; padding: 8px; }
  .comic-strip b { font-size: 12px; }
  .flow-line { display: grid; grid-template-columns: repeat(2,1fr); gap: 6px; }
  .flow-line > i { display: none; }
  .inventory-grid { grid-template-columns: repeat(3,1fr); }
  .inventory-grid > div { min-height: 78px; aspect-ratio: auto; }
}

@media (max-width: 380px) {
  .page-inner { padding-inline: 18px; }
  .page-content h2 { font-size: 2.35rem; }
  .inventory-grid { grid-template-columns: repeat(2,1fr); }
  .book-shell, .lesson-page { min-height: 625px; }
}

@media (prefers-reduced-motion: reduce) {
  .lesson-page, .book-shell, .course-menu { transition: none !important; }
}

/* V2 / tactile chapter archive */
::view-transition-old(root) { animation: 260ms ease both archive-out; }
::view-transition-new(root) { animation: 420ms cubic-bezier(.2,.8,.2,1) both archive-in; }

body.reader-open { overflow: hidden; background: var(--board-deep); }
body.reader-open .home-view {
  filter: blur(11px) brightness(.84) saturate(.55);
  transform: scale(.985);
  transition: filter 360ms ease, transform 420ms ease;
}

.chapter-view {
  --reader-grid: rgba(49,48,43,.08);
  position: fixed;
  z-index: 70;
  inset: 0;
  min-height: 100svh;
  overflow: auto;
  color: #151815;
  background-color: rgba(205,200,190,.7);
  background-image: linear-gradient(var(--reader-grid) 1px,transparent 1px),linear-gradient(90deg,var(--reader-grid) 1px,transparent 1px);
  background-size: 34px 34px;
  backdrop-filter: blur(8px) saturate(.62);
}
.chapter-view::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: "";
  background: radial-gradient(circle at 50% 46%,rgba(255,255,255,.1) 10%,transparent 48%,rgba(74,65,52,.18) 100%);
}

.reader-header,
.page-controls {
  color: #1c1c19;
  border-color: rgba(46,45,40,.18);
  background: rgba(248,245,237,.68);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
  backdrop-filter: blur(17px);
}
.reader-header { position: sticky; top: 0; z-index: 20; height: 62px; }
.reader-heading span { color: #141714; background: var(--chapter-accent); }
.back-button:hover,
.reader-index-button:hover,
.page-controls button:hover:not(:disabled) { color: var(--chapter-accent); }

.reader-stage {
  position: relative;
  min-height: calc(100svh - 128px);
  padding: 34px clamp(28px,4vw,70px) 30px;
  touch-action: pan-y;
}
.reader-stage::after {
  position: absolute;
  right: max(18px,3vw);
  bottom: 14px;
  color: rgba(35,34,31,.52);
  content: attr(data-carrier) " / PHYSICAL ARCHIVE";
  font: 650 8px/1 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.book-shell {
  width: min(1220px,100%);
  min-height: min(680px,calc(100svh - 178px));
  transform-origin: var(--origin-x,50%) var(--origin-y,50%);
  filter: drop-shadow(0 30px 28px rgba(51,43,34,.28));
}
.book-shell::before { inset:-10px -12px -13px; border-color:rgba(14,17,14,.6); background:#aaa99f; box-shadow:0 5px 0 #73756f,0 16px 28px rgba(0,0,0,.15); }
.chapter-view.is-entering .book-shell { animation: unfold-artifact 520ms cubic-bezier(.16,.82,.2,1) both; }
.lesson-page { background-image:linear-gradient(rgba(17,17,15,.038) 1px,transparent 1px),linear-gradient(90deg,rgba(17,17,15,.018) 1px,transparent 1px); background-size:100% 29px,29px 100%; }
.lesson-page::after { position:absolute; inset:10px; pointer-events:none; content:""; border:1px solid rgba(17,17,15,.065); }
.page-inner { position:relative; z-index:1; }
.page-content h2 { text-transform:none; }
.page-copy p { color:#4a4c47; }
.page-inner footer b { padding:4px 7px; color:#111; background:var(--chapter-accent); }
.page-controls { position:sticky; z-index:20; bottom:0; height:66px; }
.page-status i { background:linear-gradient(90deg,var(--chapter-accent) 50%,rgba(35,34,31,.28) 50%); }

.comic-collage { position:relative; display:grid; grid-template-columns:.72fr 1.4fr; align-items:end; gap:12px; }
.comic-collage > img { width:100%; max-height:190px; object-fit:contain; filter:contrast(.93) drop-shadow(3px 5px 4px rgba(0,0,0,.13)); transform:rotate(-2deg); }
.comic-collage .comic-strip { margin:0; }

/* Each chapter retains a different physical carrier. */
.carrier-comic-book::before { background:#9f9c91; border-radius:11px; }
.carrier-comic-book .lesson-page { background-color:#f5f0e5; }
.carrier-comic-book .binding { width:34px; opacity:.82; }

.carrier-receipt-archive { width:min(980px,88%); }
.carrier-receipt-archive::before { inset:-28px -14px -15px; border-radius:4px; background:linear-gradient(#8d9290 0 20px,#b7bab6 20px 28px,#858986 29px); }
.carrier-receipt-archive .lesson-page { border-style:dashed; border-radius:0; background-color:#f5f1e8; background-image:repeating-linear-gradient(0deg,rgba(17,17,15,.028) 0 1px,transparent 1px 4px); }
.carrier-receipt-archive .binding { width:8px; background:linear-gradient(90deg,transparent,rgba(0,0,0,.08),transparent); }

.carrier-tool-manual::before { inset:-16px; border:2px solid #090b09; border-radius:3px; background:#222522; box-shadow:0 6px 0 #70736e,0 24px 30px rgba(0,0,0,.3); }
.carrier-tool-manual::after { position:absolute; z-index:10; top:-30px; left:50%; width:170px; height:30px; content:""; border:1px solid #555a57; border-radius:5px 5px 2px 2px; background:linear-gradient(#aaaead,#5c6260 46%,#343837 48%,#858a88); transform:translateX(-50%); box-shadow:0 4px 6px rgba(0,0,0,.3); }
.carrier-tool-manual .lesson-page { background-color:#e9e9e3; }
.carrier-tool-manual .page-register { border-width:2px; }

.carrier-construction-book::before { background:#847d8c; border-radius:8px; }
.carrier-construction-book .lesson-page { background-color:#eeeaf2; background-image:linear-gradient(rgba(92,76,121,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(92,76,121,.08) 1px,transparent 1px); background-size:22px 22px; }
.carrier-construction-book .binding { width:34px; background:repeating-linear-gradient(0deg,transparent 0 15px,#171917 15px 19px,transparent 19px 31px); filter:drop-shadow(2px 0 1px rgba(0,0,0,.3)); }

.carrier-skill-binder::before { inset:-18px; border:1px solid rgba(235,241,234,.48); border-radius:20px; background:rgba(219,225,216,.48); box-shadow:inset 0 1px 0 rgba(255,255,255,.72),0 25px 34px rgba(0,0,0,.26); backdrop-filter:blur(10px); }
.carrier-skill-binder .lesson-page { border-color:rgba(17,17,15,.32); background-color:#edf0e6; }
.carrier-skill-binder .inventory-grid > div { border-radius:4px; background:#2d332e; box-shadow:inset 0 0 0 4px #4c554d,3px 4px 0 var(--chapter-accent); }

.carrier-folded-letter { width:min(1120px,94%); }
.carrier-folded-letter::before { inset:-10px -13px -14px; border-radius:1px; background:#b8a99b; transform:rotate(-.35deg); }
.carrier-folded-letter .lesson-page { border-radius:1px; background-color:#f6eee6; background-image:linear-gradient(90deg,transparent 49.8%,rgba(113,75,56,.08) 50%,transparent 50.2%),linear-gradient(transparent 49.8%,rgba(113,75,56,.07) 50%,transparent 50.2%); }
.carrier-folded-letter .binding { width:5px; opacity:.4; }

@keyframes unfold-artifact { from { opacity:0; transform:translateY(26px) scale(.74) rotateX(8deg); filter:blur(4px); } to { opacity:1; transform:none; filter:none; } }
@keyframes archive-out { to { opacity:.6; filter:blur(4px); } }
@keyframes archive-in { from { opacity:0; } }

@media (max-width:920px) {
  .site-header { top:10px; right:12px; left:12px; grid-template-columns:1fr auto; height:48px; }
  .wordmark { padding-inline:15px; }
  .header-meta { display:none; }
  .menu-trigger { min-width:52px; padding-inline:15px; }
  .menu-trigger span { display:none; }
  .course-map {
    grid-template-columns:repeat(4,minmax(0,1fr));
    grid-template-rows:repeat(27,88px);
    grid-auto-rows:88px;
    min-height:auto;
    overflow:hidden;
    padding:0 0 22px;
    background-size:25% 100%,100% 88px;
  }
  .map-note--top { display:block; grid-column:1 / 3; grid-row:1; margin:70px 0 0 16px; }
  .manifesto { grid-column:1 / 5; grid-row:5 / 8; align-self:center; margin:0 13px; padding:25px 10px 24px 22px; }
  .manifesto::before { inset:-7px -2% -8px -2%; }
  .manifesto-code { display:block; }
  .manifesto h1 { margin-left:-2px; font-size:clamp(3rem,14.2vw,5.7rem); line-height:.81; word-spacing:.1em; }
  .manifesto > p:last-child { width:92%; margin-top:16px; font-size:9px; }
  .artifact--book { grid-column:1 / 5; grid-row:2 / 5; align-self:center; width:122%; height:285px; margin:8px 0 0 -48px; }
  .object-copy--book { top:31%; right:15%; width:32%; }
  .object-copy--book b { font-size:clamp(20px,7vw,30px); }
  .artifact--receipt { grid-column:3 / 5; grid-row:8 / 13; justify-self:end; width:132%; height:430px; margin:-15px -30px 0 0; }
  .object-copy--receipt { top:36%; left:35%; width:41%; }
  .object-copy--receipt b { font-size:clamp(16px,5vw,22px); }
  .artifact--manual { grid-column:1 / 4; grid-row:10 / 14; align-self:center; width:125%; height:300px; margin:0 0 0 -72px; }
  .object-copy--manual { top:24%; left:31%; }
  .object-copy--manual b { font-size:clamp(24px,8vw,40px); }
  .artifact--workbook { grid-column:1 / 5; grid-row:14 / 18; align-self:center; width:122%; height:330px; margin:0 0 0 -45px; }
  .object-copy--workbook { top:24%; left:31%; }
  .object-copy--workbook b { font-size:clamp(25px,7.5vw,38px); }
  .artifact--skills { grid-column:1 / 3; grid-row:18 / 23; justify-self:start; width:132%; height:400px; margin:0 0 0 -24px; }
  .object-copy--skills { top:28%; left:22%; }
  .object-copy--skills b { font-size:clamp(18px,6vw,28px); }
  .artifact--poster { grid-column:2 / 5; grid-row:21 / 27; align-self:end; justify-self:end; width:120%; height:465px; margin:0 -32px -8px 0; }
  .object-copy--poster { top:31%; left:30%; width:43%; height:35%; }
  .object-copy--poster b { font-size:clamp(20px,7vw,34px); }
  .map-note--bottom { grid-column:1 / 5; grid-row:27; align-self:end; margin:0 18px 10px; }
  .artifact:hover .artifact-object { transform:translateY(-5px) rotate(var(--hover-rotate)) scale(1.012); }
  .artifact-doodle { font-size:clamp(12px,3.4vw,16px); }
  .artifact-doodle--book { grid-column:3 / 5; grid-row:2; margin:24px 0 0 4px; }
  .artifact-doodle--receipt { grid-column:1 / 3; grid-row:9; align-self:start; justify-self:center; margin:10px 0 0; }
  .artifact-doodle--manual { grid-column:1 / 3; grid-row:13; align-self:start; justify-self:center; margin:12px 0 0; }
  .artifact-doodle--workbook { grid-column:1 / 3; grid-row:15; margin:12px 0 0 18px; }
  .artifact-doodle--skills { grid-column:3 / 5; grid-row:19; align-self:start; justify-self:start; margin:10px 0 0 5px; }
  .artifact-doodle--poster { grid-column:1 / 5; grid-row:21; align-self:start; justify-self:center; margin:7px 0 0; }
}

@media (max-width:760px) {
  .chapter-view { background-color:rgba(205,200,190,.82); }
  .reader-header { height:58px; }
  .reader-index-button { display:flex; align-items:center; justify-content:flex-end; gap:7px; min-width:72px; font-size:0!important; }
  .reader-index-button::before { content:"INDEX"; font:800 9px/1 var(--mono); }
  .reader-index-button::after { content:"＋"; font:400 18px/1 var(--sans); }
  .reader-stage { min-height:calc(100svh - 120px); padding:18px 12px 28px; }
  .reader-stage::after { display:none; }
  .book-shell,
  .carrier-receipt-archive,
  .carrier-folded-letter { display:block; width:100%; min-height:max(620px,calc(100svh - 154px)); }
  .book-shell::before { inset:-6px -5px -8px; }
  .carrier-tool-manual::after { top:-18px; width:120px; height:18px; }
  .binding { display:none; }
  .lesson-page { min-height:max(620px,calc(100svh - 154px)); border-radius:4px; }
  .lesson-page--right { display:none; }
  .page-inner { min-height:inherit; padding:24px 20px 18px; }
  .page-content h2 { max-width:12ch; font-size:clamp(2.35rem,11vw,4rem); }
  .page-lead { margin-top:17px; font-size:14px; }
  .page-copy p { font-size:12px; }
  .comic-collage { grid-template-columns:.62fr 1.4fr; gap:8px; }
  .comic-collage > img { max-height:150px; }
  .comic-strip > div { min-height:105px; }
  .page-controls { height:62px; }
}

@media (max-width:430px) {
  .manifesto h1 { font-size:clamp(2.35rem,10.8vw,3rem); letter-spacing:-.075em; word-spacing:.08em; }
  .manifesto-code { margin-bottom:10px; }
  .object-copy small,.object-copy i { font-size:6px; }
  .comic-collage { grid-template-columns:1fr; }
  .comic-collage > img { position:absolute; right:-5px; bottom:102px; width:38%; opacity:.28; }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),::view-transition-new(root),.chapter-view.is-entering .book-shell { animation:none !important; }
  body.reader-open .home-view { transform:none; }
}

/* V3 / centered quiet grid */
body { background:#dedad1; }
.home-view { min-height:100svh; padding:28px; }
.course-map {
  width:min(1440px,calc(100vw - 56px));
  min-height:max(708px,calc(100svh - 56px));
  margin:0 auto;
  border:1px solid rgba(42,41,37,.22);
  box-shadow:0 18px 46px rgba(52,46,38,.11);
}
.site-header {
  top:48px;
  right:auto;
  left:50%;
  width:min(1392px,calc(100vw - 96px));
  transform:translateX(-50%);
}
.manifesto {
  justify-self:center;
  width:min(100%,760px);
  padding:0 18px;
  text-align:center;
}
.manifesto::before,
.manifesto::after { display:none; }
.manifesto-code { margin-bottom:16px; }
.manifesto h1 {
  margin:0;
  font-size:clamp(4rem,6.7vw,7.6rem);
  line-height:.82;
  letter-spacing:-.078em;
  text-align:center;
}
.manifesto > p:last-child { max-width:64ch; margin:20px auto 0; }

/* Keep artifact typography independent from the image artwork. */
.object-copy,
.artifact-cue { display:none; }
.artifact-label {
  position:absolute;
  z-index:8;
  display:grid;
  gap:5px;
  width:max-content;
  max-width:180px;
  padding-top:7px;
  color:#181816;
  border-top:1px solid currentColor;
  text-align:left;
  pointer-events:none;
}
.artifact-label small { font:750 7px/1 var(--mono); letter-spacing:.09em; }
.artifact-label b { font-size:clamp(12px,1.15vw,17px); font-weight:950; line-height:.9; letter-spacing:-.04em; }
.artifact--book {
  grid-column:1 / 4;
  grid-row:1 / 3;
  align-self:center;
  justify-self:start;
  width:102%;
  height:238px;
  margin:42px 0 0 -18px;
}
.artifact--book .artifact-label { right:4%; bottom:2%; }
.artifact--receipt {
  grid-column:7 / 9;
  grid-row:1 / 3;
  align-self:center;
  justify-self:end;
  width:104%;
  height:308px;
  margin:48px -14px 0 0;
}
.artifact--receipt .artifact-label { right:13%; bottom:9%; }
.artifact--manual {
  grid-column:1 / 3;
  grid-row:4 / 7;
  align-self:end;
  justify-self:start;
  width:125%;
  height:258px;
  margin:0 0 28px -18px;
}
.artifact--manual .artifact-label { top:28%; left:27%; color:#f2eee5; }
.artifact--workbook {
  grid-column:6 / 9;
  grid-row:5 / 7;
  align-self:end;
  justify-self:end;
  width:104%;
  height:272px;
  margin:0 -16px 8px 0;
}
.artifact--workbook .artifact-label { top:19%; right:15%; }
.artifact--skills {
  grid-column:7 / 9;
  grid-row:3 / 5;
  align-self:center;
  justify-self:end;
  width:86%;
  height:228px;
  margin:0 16px 0 0;
}
.artifact--skills .artifact-label { top:22%; left:18%; }
.artifact--poster {
  grid-column:3 / 5;
  grid-row:5 / 7;
  align-self:end;
  justify-self:center;
  width:92%;
  height:244px;
  margin:0 0 22px;
}
.artifact--poster .artifact-label { top:26%; left:26%; }

.artifact-doodle { z-index:17; font-size:clamp(10px,.9vw,14px); opacity:.76; }
.artifact-doodle--book { grid-column:3 / 4; grid-row:2; align-self:center; margin:0 0 0 18px; }
.artifact-doodle--receipt { grid-column:6 / 7; grid-row:2; align-self:center; justify-self:center; margin:0; }
.artifact-doodle--manual { grid-column:2 / 3; grid-row:5; align-self:start; justify-self:end; margin:12px -8px 0 0; }
.artifact-doodle--workbook { grid-column:6 / 7; grid-row:5; align-self:start; justify-self:start; margin:15px 0 0; }
.artifact-doodle--skills { grid-column:8 / 9; grid-row:4; align-self:end; justify-self:end; margin:0 12px 12px 0; }
.artifact-doodle--poster { grid-column:5 / 6; grid-row:6; align-self:center; justify-self:center; margin:0; }

@media (min-width:921px) {
  .home-view { height:auto; overflow:visible; }
  .course-map { height:max(708px,calc(100svh - 56px)); min-height:708px; }
}

@media (max-width:920px) {
  .home-view { padding:8px; }
  .course-map { width:calc(100vw - 16px); margin:0 auto; }
  .site-header { top:18px; width:calc(100vw - 40px); }
  .manifesto { padding-inline:14px; }
  .manifesto h1 { font-size:clamp(2.8rem,12vw,5rem); }
  .artifact-label b { font-size:clamp(12px,3.7vw,16px); }
  .artifact--book { grid-column:1 / 5; grid-row:2 / 5; align-self:center; justify-self:start; width:114%; height:265px; margin:0 0 0 -28px; }
  .artifact--receipt { grid-column:3 / 5; grid-row:8 / 13; align-self:start; justify-self:end; width:116%; height:365px; margin:0 -18px 0 0; }
  .artifact--manual { grid-column:1 / 4; grid-row:10 / 14; align-self:center; justify-self:start; width:112%; height:278px; margin:0 0 0 -40px; }
  .artifact--workbook { grid-column:1 / 5; grid-row:14 / 18; align-self:center; justify-self:end; width:112%; height:304px; margin:0 -24px 0 0; }
  .artifact--skills { grid-column:1 / 3; grid-row:18 / 23; align-self:center; justify-self:start; width:116%; height:340px; margin:0 0 0 -10px; }
  .artifact--poster { grid-column:2 / 5; grid-row:21 / 27; align-self:end; justify-self:end; width:110%; height:420px; margin:0 -20px 0 0; }
  .artifact--book .artifact-label { right:16%; }
  .artifact--receipt .artifact-label { right:24%; }
  .artifact-doodle { font-size:clamp(10px,3vw,13px); opacity:.72; }
  .artifact-doodle--book { grid-column:3 / 5; grid-row:2; align-self:start; margin:28px 0 0; }
  .artifact-doodle--receipt { grid-column:1 / 3; grid-row:9; align-self:start; margin:12px 0 0; }
  .artifact-doodle--manual { grid-column:2 / 4; grid-row:13; align-self:start; justify-self:start; margin:12px 0 0; }
  .artifact-doodle--workbook { grid-column:1 / 3; grid-row:15; margin:10px 0 0 12px; }
  .artifact-doodle--skills { grid-column:3 / 5; grid-row:19; align-self:start; justify-self:start; margin:12px 0 0; }
  .artifact-doodle--poster { grid-column:1 / 5; grid-row:21; align-self:start; justify-self:center; margin:8px 0 0; }
}

@media (max-width:430px) {
  .manifesto h1 { font-size:clamp(2.5rem,11.4vw,3.25rem); }
}

/* V4 / composition locked to the approved effect mockup */
body { background:#d9d5cc; }

.home-view {
  min-height:100svh;
  padding:clamp(32px,5vw,52px) clamp(28px,5vw,72px);
}

.course-map {
  width:min(1296px,100%);
  height:max(680px,calc(100svh - clamp(64px,10vw,104px)));
  min-height:680px;
  margin:0 auto;
  overflow:hidden;
  border:1px solid rgba(56,53,47,.18);
  background-color:#f1eee5;
  background-image:
    linear-gradient(to right,rgba(51,49,44,.115) 1px,transparent 1px),
    linear-gradient(to bottom,rgba(51,49,44,.115) 1px,transparent 1px);
  background-size:12.5% 100%,100% 16.6667%;
  box-shadow:0 18px 46px rgba(60,53,43,.13);
}

.course-map::before {
  inset:0;
  border:14px solid rgba(247,244,236,.55);
  outline:1px solid rgba(56,53,47,.1);
  outline-offset:-14px;
  background:none;
}

.course-map::after { inset:14px; border-color:rgba(56,53,47,.08); }

.site-header {
  top:clamp(48px,7.5vw,68px);
  left:50%;
  width:min(420px,calc(100vw - 64px));
  height:42px;
  grid-template-columns:1fr auto;
  transform:translateX(-50%);
  border-color:rgba(47,46,41,.13);
  background:rgba(248,245,237,.74);
  box-shadow:0 6px 22px rgba(55,49,40,.08),inset 0 1px 0 rgba(255,255,255,.78);
}

.wordmark { padding-inline:18px; font-size:18px; }
.header-meta { display:none; }
.menu-trigger { min-width:auto; padding-inline:18px; border-left-color:rgba(47,46,41,.12); font-size:8px; }
.menu-trigger b { font-size:17px; }

.map-note--top {
  grid-column:1 / 3;
  grid-row:1;
  margin:30px 0 0 34px;
  color:rgba(35,34,31,.45);
  font-size:7px;
}

.map-note--bottom {
  grid-column:1 / 3;
  grid-row:6;
  margin:0 22px 22px 34px;
  padding-top:6px;
  border-top:1px solid rgba(35,34,31,.27);
  color:rgba(35,34,31,.52);
  font-size:7px;
}

.map-note--bottom span:last-child { display:none; }

.manifesto {
  z-index:20;
  grid-column:3 / 7;
  grid-row:3 / 5;
  align-self:center;
  justify-self:center;
  width:100%;
  margin:0;
  padding:0 clamp(12px,2vw,28px);
  color:#11110f;
  text-align:center;
}

.manifesto::before,
.manifesto::after { display:none; }

.manifesto-code {
  margin:0 0 15px;
  color:rgba(17,17,15,.55);
  font-size:7px;
  letter-spacing:.18em;
}

.manifesto h1 {
  margin:0;
  font-size:clamp(3.65rem,6.4vw,6.2rem);
  line-height:.8;
  letter-spacing:-.078em;
  text-align:center;
}

.manifesto > p:last-child {
  max-width:62ch;
  margin:17px auto 0;
  color:rgba(17,17,15,.66);
  font-size:clamp(8px,.72vw,10px);
  line-height:1.45;
}

.artifact {
  z-index:10;
  align-self:center;
  justify-self:center;
  margin:0;
}

.artifact .artifact-object {
  display:block;
  width:100%;
  height:100%;
  padding:0;
  overflow:visible;
  border:0;
  border-radius:0;
  clip-path:none;
  color:inherit;
  background:none;
  box-shadow:none;
  filter:drop-shadow(0 10px 9px rgba(57,49,39,.18));
}

.artifact:hover .artifact-object {
  transform:translate(calc(var(--px) * var(--depth,.5)),calc(var(--py) * var(--depth,.5) - 7px)) rotate(var(--hover-rotate)) scale(1.018);
  filter:drop-shadow(0 16px 12px rgba(57,49,39,.24));
}

.artifact-image { filter:saturate(.72) contrast(.97); }

.artifact-label,
.artifact--book .artifact-label,
.artifact--receipt .artifact-label,
.artifact--manual .artifact-label,
.artifact--workbook .artifact-label,
.artifact--skills .artifact-label,
.artifact--poster .artifact-label {
  top:calc(100% + 4px);
  right:auto;
  bottom:auto;
  left:50%;
  display:grid;
  gap:3px;
  width:max-content;
  max-width:190px;
  padding:0;
  color:#181816;
  border:0;
  text-align:center;
  transform:translateX(-50%);
}

.artifact-label small { color:rgba(24,24,22,.58); font-size:6px; letter-spacing:.12em; }
.artifact-label b { font-size:clamp(9px,.72vw,11px); line-height:1; letter-spacing:-.025em; }

.artifact--book {
  grid-column:1 / 3;
  grid-row:1 / 3;
  align-self:start;
  justify-self:start;
  width:min(118%,300px);
  height:190px;
  margin:68px 0 0 22px;
}

.artifact--book .artifact-object { --base-rotate:-1.5deg; --hover-rotate:-.4deg; }

.artifact--receipt {
  grid-column:7 / 9;
  grid-row:1 / 3;
  align-self:start;
  justify-self:center;
  width:min(70%,156px);
  height:224px;
  margin:65px 0 0 24px;
}

.artifact--receipt .artifact-object { --base-rotate:.8deg; --hover-rotate:1.8deg; }

.artifact--skills {
  grid-column:7 / 9;
  grid-row:3 / 5;
  align-self:center;
  justify-self:center;
  width:min(72%,174px);
  height:184px;
  margin:0 0 0 40px;
}

.artifact--skills .artifact-object { --base-rotate:-.4deg; --hover-rotate:1deg; }

.artifact--manual {
  grid-column:1 / 3;
  grid-row:5 / 7;
  align-self:end;
  justify-self:start;
  width:min(88%,226px);
  height:155px;
  margin:0 0 54px 28px;
}

.artifact--manual .artifact-object { --base-rotate:.8deg; --hover-rotate:-.2deg; }

.artifact--poster {
  grid-column:4 / 6;
  grid-row:5 / 7;
  align-self:end;
  justify-self:center;
  width:min(58%,140px);
  height:168px;
  margin:0 0 46px;
}

.artifact--poster .artifact-object { --base-rotate:.8deg; --hover-rotate:0deg; }

.artifact--workbook {
  grid-column:7 / 9;
  grid-row:5 / 7;
  align-self:end;
  justify-self:center;
  width:min(84%,208px);
  height:152px;
  margin:0 0 52px 22px;
}

.artifact--workbook .artifact-object { --base-rotate:-.9deg; --hover-rotate:.15deg; }

.artifact-doodle {
  z-index:16;
  color:rgba(40,39,34,.68);
  font-size:clamp(9px,.72vw,11px);
  line-height:1.05;
  opacity:1;
}

.artifact-doodle--book {
  grid-column:3 / 4;
  grid-row:2;
  align-self:start;
  justify-self:start;
  margin:24px 0 0 4px;
  transform:rotate(-5deg);
}

.artifact-doodle--skills {
  grid-column:8 / 9;
  grid-row:4;
  align-self:start;
  justify-self:start;
  margin:10px 0 0 20px;
  transform:rotate(4deg);
}

.artifact-doodle--poster {
  grid-column:6 / 7;
  grid-row:6;
  align-self:start;
  justify-self:start;
  margin:16px 0 0 0;
  transform:rotate(3deg);
}

.artifact-doodle--receipt,
.artifact-doodle--manual,
.artifact-doodle--workbook { display:none; }

@media (min-width:921px) {
  .home-view { height:auto; overflow:visible; }
  .course-map {
    grid-template-rows:repeat(6,minmax(0,1fr));
    height:max(680px,calc(100svh - clamp(64px,10vw,104px)));
    min-height:680px;
  }
}

@media (max-width:920px) {
  body { background:#dad6cd; }
  .home-view { min-height:100svh; padding:8px; }
  .course-map {
    grid-template-columns:repeat(4,minmax(0,1fr));
    grid-template-rows:repeat(30,80px);
    grid-auto-rows:80px;
    width:calc(100vw - 16px);
    height:auto;
    min-height:0;
    background-size:25% 100%,100% 80px;
  }
  .course-map::before { border-width:8px; outline-offset:-8px; }
  .course-map::after { inset:8px; }
  .site-header { top:18px; width:calc(100vw - 40px); }
  .wordmark { padding-inline:14px; font-size:17px; }
  .menu-trigger { padding-inline:14px; }
  .menu-trigger span { display:inline; }
  .map-note--top { grid-column:1 / 3; grid-row:1; margin:66px 0 0 17px; }
  .manifesto {
    grid-column:1 / 5;
    grid-row:6 / 9;
    width:100%;
    margin:0;
    padding:0 18px;
  }
  .manifesto h1 { font-size:clamp(2.6rem,11.5vw,4.8rem); line-height:.82; }
  .manifesto > p:last-child { max-width:42ch; margin-top:15px; font-size:8px; }
  .artifact--book {
    grid-column:1 / 5;
    grid-row:2 / 5;
    align-self:center;
    justify-self:center;
    width:min(88%,330px);
    height:218px;
    margin:0;
  }
  .artifact--receipt {
    grid-column:3 / 5;
    grid-row:10 / 14;
    align-self:start;
    justify-self:center;
    width:min(72%,145px);
    height:282px;
    margin:4px 0 0;
  }
  .artifact--manual {
    grid-column:1 / 3;
    grid-row:10 / 14;
    align-self:center;
    justify-self:center;
    width:min(92%,190px);
    height:160px;
    margin:0 0 34px;
  }
  .artifact--workbook {
    grid-column:1 / 5;
    grid-row:15 / 19;
    align-self:center;
    justify-self:center;
    width:min(88%,320px);
    height:218px;
    margin:0;
  }
  .artifact--skills {
    grid-column:1 / 3;
    grid-row:20 / 24;
    align-self:center;
    justify-self:center;
    width:min(75%,145px);
    height:252px;
    margin:0;
  }
  .artifact--poster {
    grid-column:2 / 5;
    grid-row:25 / 30;
    align-self:center;
    justify-self:center;
    width:min(62%,150px);
    height:270px;
    margin:0;
  }
  .artifact-label,
  .artifact--book .artifact-label,
  .artifact--receipt .artifact-label,
  .artifact--manual .artifact-label,
  .artifact--workbook .artifact-label,
  .artifact--skills .artifact-label,
  .artifact--poster .artifact-label { top:calc(100% + 5px); }
  .artifact-label b { font-size:10px; }
  .artifact-doodle { font-size:10px; }
  .artifact-doodle--book { grid-column:3 / 5; grid-row:3; margin:12px 0 0 0; }
  .artifact-doodle--skills { grid-column:3 / 5; grid-row:21; margin:18px 0 0 10px; }
  .artifact-doodle--poster { grid-column:1 / 3; grid-row:27; justify-self:center; margin:0; }
  .map-note--bottom { grid-column:1 / 3; grid-row:30; margin:0 16px 18px; }
}

@media (max-width:430px) {
  .manifesto h1 { font-size:clamp(2.45rem,11.1vw,3.1rem); }
  .menu-trigger span { display:none; }
}

/* V4.1 / one continuous field, tighter artifact orbit */
html,
body { background:#e7e3da; }

.home-view { padding:clamp(42px,6vw,58px) clamp(42px,7vw,94px); }

.course-map {
  width:min(1252px,100%);
  height:max(680px,calc(100svh - clamp(84px,12vw,116px)));
  min-height:680px;
  border:0;
  background-color:#e7e3da;
  background-image:
    linear-gradient(to right,rgba(49,47,42,.13) 1px,transparent 1px),
    linear-gradient(to bottom,rgba(49,47,42,.13) 1px,transparent 1px);
  box-shadow:
    inset -1px 0 rgba(49,47,42,.13),
    inset 0 -1px rgba(49,47,42,.13);
}

.course-map::before,
.course-map::after { display:none; }

.site-header { top:20px; }

.manifesto { z-index:24; }
.manifesto-code { margin-bottom:13px; }
.manifesto h1 { font-size:clamp(3.55rem,6.05vw,5.8rem); }
.manifesto > p:last-child { margin-top:15px; }

.artifact { z-index:20; }
.artifact:hover { z-index:38; }
.artifact .artifact-object { filter:drop-shadow(0 11px 9px rgba(52,45,36,.2)); }
.artifact .artifact-object:focus-visible { outline:0; }
.artifact .artifact-object:focus-visible ~ .artifact-label {
  padding:4px 6px;
  color:#f5f1e8;
  background:#171715;
}
.artifact .artifact-object:focus-visible ~ .artifact-label small { color:#f5f1e8; }
.artifact-image { filter:saturate(.8) contrast(.98); }
.artifact--skills .artifact-image { clip-path:inset(0 0 0 3%); }

.artifact--book {
  grid-column:1 / 4;
  grid-row:2 / 4;
  align-self:center;
  justify-self:start;
  width:min(94%,354px);
  height:232px;
  margin:-20px 0 0 24px;
}

.artifact--receipt {
  grid-column:7 / 9;
  grid-row:1 / 4;
  align-self:center;
  justify-self:end;
  width:min(84%,178px);
  height:270px;
  margin:24px 24px 0 0;
}

.artifact--manual {
  grid-column:1 / 3;
  grid-row:4 / 6;
  align-self:center;
  justify-self:start;
  width:min(104%,242px);
  height:190px;
  margin:12px 0 0 48px;
}

.artifact--skills {
  z-index:23;
  grid-column:7 / 9;
  grid-row:3 / 5;
  align-self:center;
  justify-self:end;
  width:min(90%,196px);
  height:216px;
  margin:2px 58px 0 0;
}

.artifact--poster {
  z-index:25;
  grid-column:4 / 6;
  grid-row:4 / 7;
  align-self:center;
  justify-self:center;
  width:min(75%,174px);
  height:196px;
  margin:-78px 0 0;
}

.artifact--poster .artifact-image { clip-path:inset(0 0 0 12%); }
.artifact--poster .artifact-object::after { display:none; }

.artifact--workbook {
  grid-column:6 / 9;
  grid-row:5 / 7;
  align-self:center;
  justify-self:end;
  width:min(75%,288px);
  height:196px;
  margin:-98px 52px 0 0;
}

.artifact-label,
.artifact--book .artifact-label,
.artifact--receipt .artifact-label,
.artifact--manual .artifact-label,
.artifact--workbook .artifact-label,
.artifact--skills .artifact-label,
.artifact--poster .artifact-label {
  top:calc(100% - 3px);
  gap:2px;
  max-width:180px;
}

.artifact-label small { font-size:5.5px; }
.artifact-label b { font-size:clamp(8px,.65vw,10px); }

.artifact-doodle {
  display:block;
  color:rgba(38,36,31,.55);
  font-size:clamp(8px,.63vw,10px);
  letter-spacing:.015em;
}

.artifact-doodle::after { width:28px; opacity:.5; }
.artifact-doodle--book { grid-column:3 / 4; grid-row:2; margin:12px 0 0 -2px; }
.artifact-doodle--receipt { grid-column:6 / 7; grid-row:2; align-self:start; justify-self:center; margin:22px 0 0; transform:rotate(3deg); }
.artifact-doodle--manual { grid-column:2 / 3; grid-row:5; align-self:end; justify-self:end; margin:0 2px 22px 0; transform:rotate(-4deg); }
.artifact-doodle--workbook { grid-column:7 / 9; grid-row:5; align-self:start; justify-self:center; margin:15px 0 0; }
.artifact-doodle--skills { grid-column:6 / 7; grid-row:4; align-self:end; justify-self:end; margin:0 2px 18px 0; }
.artifact-doodle--poster { grid-column:6 / 7; grid-row:5; align-self:end; justify-self:start; margin:0 0 18px -5px; }

.map-note--top { margin-top:18px; }
.map-note--bottom { margin-bottom:16px; }

@media (min-width:921px) {
  .course-map {
    height:max(680px,calc(100svh - clamp(84px,12vw,116px)));
    min-height:680px;
  }
}

@media (max-width:920px) {
  html,
  body,
  .course-map { background-color:#e7e3da; }
  .home-view { padding:8px; }
  .site-header { top:12px; }
  .course-map {
    width:calc(100vw - 16px);
    height:auto;
    min-height:0;
  }
  .manifesto { z-index:24; }
  .manifesto h1 { font-size:clamp(2.55rem,11.2vw,4.7rem); }
  .artifact--book {
    grid-column:1 / 5;
    grid-row:2 / 6;
    width:min(94%,350px);
    height:252px;
    margin:-10px 0 0;
  }
  .artifact--receipt {
    grid-column:3 / 5;
    grid-row:10 / 14;
    width:min(82%,154px);
    height:294px;
    margin:0;
  }
  .artifact--manual {
    grid-column:1 / 3;
    grid-row:10 / 14;
    width:min(102%,196px);
    height:190px;
    margin:0 0 30px;
  }
  .artifact--workbook {
    grid-column:1 / 5;
    grid-row:15 / 19;
    width:min(92%,330px);
    height:226px;
    margin:0;
  }
  .artifact--skills {
    grid-column:1 / 3;
    grid-row:20 / 24;
    width:min(85%,158px);
    height:270px;
    margin:0;
  }
  .artifact--poster {
    grid-column:2 / 5;
    grid-row:25 / 30;
    width:min(75%,172px);
    height:292px;
    margin:0;
  }
  .artifact-doodle--book { grid-column:3 / 5; grid-row:3; margin:8px 0 0; }
  .artifact-doodle--receipt { grid-column:3 / 5; grid-row:10; margin:4px 8px 0 0; }
  .artifact-doodle--manual { grid-column:1 / 3; grid-row:13; margin:0 8px 14px 0; }
  .artifact-doodle--workbook { grid-column:1 / 3; grid-row:17; margin:18px 0 0 12px; }
  .artifact-doodle--skills { grid-column:3 / 5; grid-row:21; margin:18px 0 0 8px; }
  .artifact-doodle--poster { grid-column:1 / 3; grid-row:27; margin:0; }
}

@media (max-width:430px) {
  .manifesto h1 { font-size:clamp(2.4rem,10.9vw,3.05rem); }
}

/* V8 / chapter 01: smooth industrial field folder with live type. */
.artifact--book {
  width:min(108%,410px);
  height:278px;
  margin:-28px 0 0 18px;
}

.artifact--book .artifact-object {
  --base-rotate:-.35deg;
  --hover-rotate:.25deg;
}

.artifact--book .artifact-image {
  position:relative;
  z-index:1;
  filter:saturate(.86) contrast(.99);
}

.folder-tab-title,
.folder-deboss {
  position:absolute;
  z-index:3;
  pointer-events:none;
  white-space:nowrap;
}

.folder-tab-title {
  top:7.2%;
  left:7.2%;
  color:rgba(43,25,18,.82);
  font:800 clamp(7px,.62vw,9px)/1 var(--mono);
  letter-spacing:.015em;
  text-shadow:0 1px 0 rgba(255,174,126,.2),0 -1px 0 rgba(45,18,13,.2);
  transform:rotate(-2.8deg);
  transform-origin:left center;
}

.folder-deboss {
  bottom:9.4%;
  left:12.5%;
  color:rgba(91,65,40,.3);
  font:700 clamp(4.2px,.4vw,5.7px)/1 var(--mono);
  letter-spacing:.14em;
  text-shadow:0 1px 0 rgba(255,247,226,.62),0 -1px 0 rgba(78,52,30,.13);
  transform:rotate(-5.1deg);
  transform-origin:left center;
  mix-blend-mode:multiply;
}

.artifact--book .artifact-label {
  top:calc(100% + 20px);
  left:43%;
  gap:4px;
  min-width:124px;
}

.artifact--book .artifact-label small { font-size:7px; }
.artifact--book .artifact-label b { font-size:12px; }

.artifact--book .artifact-object:focus-visible {
  outline:2px solid rgba(31,30,27,.44);
  outline-offset:6px;
  border-radius:14px;
}

.artifact--book .artifact-object:focus-visible ~ .artifact-label {
  padding:0;
  color:#181816;
  background:transparent;
}

.artifact--book .artifact-object:focus-visible ~ .artifact-label small { color:rgba(24,24,22,.58); }

.artifact-doodle--book {
  align-self:start;
  justify-self:end;
  margin:-30px 8px 0 0;
  transform:rotate(-4deg);
}

.agent-comic-strip {
  display:grid;
  gap:12px;
  margin-top:auto;
}

.agent-comic-paper {
  padding:9px 10px 7px;
  border:1px solid rgba(35,33,29,.14);
  background:#fff;
  box-shadow:0 8px 16px rgba(52,43,34,.13);
  transform:rotate(-.35deg);
}

.agent-comic-paper img {
  display:block;
  width:100%;
  max-height:205px;
  object-fit:contain;
}

.agent-comic-strip figcaption {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin:0;
  font:700 7px/1.15 var(--mono);
  letter-spacing:.06em;
}

.agent-comic-strip figcaption span { display:grid; gap:2px; }
.agent-comic-strip figcaption i { color:#69675f; font-size:6px; font-style:normal; }
.agent-comic-strip figcaption em { color:var(--chapter-accent); font-size:13px; font-style:normal; }

@media (max-width:920px) {
  .artifact--book {
    width:min(104%,390px);
    height:274px;
    margin:-10px 0 0 -8px;
  }

  .artifact--book .artifact-label { top:calc(100% + 14px); left:49%; }
}

@media (max-width:760px) {
  .agent-comic-paper { padding:6px; }
  .agent-comic-paper img { max-height:165px; }
  .agent-comic-strip figcaption { font-size:6px; }
}

/* V9 / chapter 03 becomes a compact industrial AI tool disk. */
.artifact--manual .artifact-object {
  --base-rotate:-.8deg;
  --hover-rotate:.2deg;
}

.artifact--manual .artifact-image {
  filter:saturate(.96) contrast(1.025);
}

.floppy-howto {
  position:absolute;
  z-index:4;
  top:74.2%;
  left:29.5%;
  color:rgba(24,54,111,.72);
  font:500 clamp(9px,.72vw,11px)/1 var(--hand);
  letter-spacing:.015em;
  text-shadow:0 1px 0 rgba(255,255,255,.4);
  white-space:nowrap;
  pointer-events:none;
  transform:rotate(-4deg);
  transform-origin:left center;
  mix-blend-mode:multiply;
}

.artifact--manual .artifact-cue {
  top:7%;
  right:5%;
  color:#f5f6f8;
  background:#1c4faf;
}

.artifact--manual .artifact-label {
  top:calc(100% + 10px);
  left:50%;
  gap:3px;
  min-width:118px;
  color:#181816;
}

.artifact--manual .artifact-label small { color:rgba(24,24,22,.58); }
.artifact--manual .artifact-label b { font-size:11px; }

@media (min-width:921px) {
  .artifact--manual {
    grid-column:1 / 3;
    grid-row:4 / 6;
    align-self:center;
    justify-self:start;
    width:218px;
    height:228px;
    margin:14px 0 0 42px;
  }
}

@media (max-width:920px) {
  .artifact--manual {
    width:min(96%,210px);
    height:210px;
    margin:0 0 32px;
  }

}

/* V11 / chapter 05 becomes a collectible industrial Skill module. */
.artifact--skills .artifact-object {
  --base-rotate:1.1deg;
  --hover-rotate:2.1deg;
}

.artifact--skills .artifact-image {
  clip-path:none;
  filter:saturate(.94) contrast(1.025);
}

.artifact--skills .artifact-cue {
  top:10%;
  right:-4%;
  color:#f8f5ed;
  background:#e24f28;
}

.artifact--skills .artifact-label {
  top:calc(100% + 7px);
  left:50%;
  gap:3px;
  min-width:126px;
}

.artifact--skills .artifact-label b { font-size:11px; }

@media (min-width:921px) {
  .artifact--skills {
    z-index:23;
    grid-column:7 / 9;
    grid-row:3 / 5;
    align-self:center;
    justify-self:end;
    width:300px;
    height:319px;
    margin:10px 16px 0 0;
  }
}

@media (max-width:920px) {
  .artifact--skills {
    width:min(105%,244px);
    height:284px;
    margin:0;
  }
}

/* V12 / chapter 02 becomes an oversized printer-and-receipt artifact. */
.artifact--receipt .artifact-object {
  --base-rotate:-1.2deg;
  --hover-rotate:.2deg;
}

.artifact--receipt .artifact-image {
  filter:saturate(.8) contrast(.99);
}

.artifact--receipt .artifact-label {
  top:72%;
  right:1%;
  bottom:auto;
  left:auto;
  min-width:112px;
  text-align:left;
  transform:none;
}

@media (min-width:921px) {
  .artifact--receipt {
    z-index:21;
    grid-column:4 / 9;
    grid-row:1 / 6;
    align-self:start;
    justify-self:end;
    width:354px;
    height:384px;
    margin:92px 34px 0 0;
  }
}

.artifact--receipt .artifact-label {
  top:78%;
  right:-1%;
}

.carrier-receipt-profile {
  display:block;
  width:auto;
  height:calc(100svh - 90px);
  max-width:calc(100vw - 32px);
  aspect-ratio:561 / 1905;
  min-height:0;
  filter:none;
}

.carrier-receipt-profile::before,
.carrier-receipt-profile .binding,
.carrier-receipt-profile .lesson-page--right,
.carrier-receipt-profile .lesson-page--left::after {
  display:none;
}

.carrier-receipt-profile .lesson-page--left {
  width:100%;
  height:100%;
  min-height:0;
  overflow:visible;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

.receipt-profile-viewer {
  position:relative;
  width:100%;
  height:100%;
  margin:0;
  display:grid;
  place-items:center;
  filter:drop-shadow(0 28px 24px rgba(37,31,24,.3));
}

.receipt-profile-viewer::before {
  position:absolute;
  z-index:-1;
  top:-18px;
  left:50%;
  width:54%;
  height:18px;
  content:"";
  border-radius:3px 3px 1px 1px;
  background:linear-gradient(#a6aaa8,#555b59 48%,#252927 52%,#7d8280);
  box-shadow:0 5px 8px rgba(0,0,0,.24);
  transform:translateX(-50%);
}

.receipt-profile-viewer img {
  display:block;
  width:auto;
  height:100%;
  max-width:100%;
  object-fit:contain;
}

.chapter-view.is-full-receipt {
  height:100svh;
  min-height:100svh;
  overflow:hidden;
}

.chapter-view.is-full-receipt .reader-stage {
  height:calc(100svh - 62px);
  min-height:0;
  overflow:hidden;
  align-items:center;
  padding:14px 16px;
}

.chapter-view.is-full-receipt .page-controls { display:none; }

@media (max-width:920px) {
  .artifact--receipt .artifact-label {
    top:82%;
    right:-2%;
  }
}

@media (max-width:760px) {
  .carrier-receipt-profile {
    width:auto;
    height:calc(100svh - 82px);
    max-width:calc(100vw - 24px);
    min-height:0;
    margin:0 auto;
  }

  .carrier-receipt-profile .lesson-page--left { min-height:0; }
  .chapter-view.is-full-receipt .reader-stage {
    height:calc(100svh - 58px);
    padding:12px;
  }
}

@media (max-width:920px) {
  .artifact--receipt {
    grid-column:3 / 5;
    grid-row:9 / 14;
    align-self:start;
    justify-self:end;
    width:min(105%,192px);
    height:252px;
    margin:0 10px 0 0;
  }

  .artifact--receipt .artifact-label {
    top:76%;
    right:4%;
  }
}

/* V13 / shift the profile printer half a grid cell and protect every text layer. */
.artifact,
.artifact--receipt,
.artifact--skills,
.artifact--poster {
  z-index:auto;
}

.artifact .artifact-object { z-index:20; }
.artifact:hover .artifact-object,
.artifact:focus-within .artifact-object { z-index:38; }

.manifesto { z-index:44; }
.map-note,
.artifact-doodle { z-index:54; }
.artifact-label { z-index:55; }

@media (min-width:921px) {
  .artifact--receipt {
    margin:36px calc(34px + clamp(46px,6.25vw,78px)) 0 0;
  }

  .artifact-doodle--receipt {
    grid-column:5 / 6;
    grid-row:2;
    align-self:start;
    justify-self:end;
    margin:18px 22px 0 0;
  }
}

/* V16 / chapter 04 becomes a collectible industrial portfolio interface patch. */
.artifact--workbook {
  width:min(84%,320px);
  height:232px;
  margin:-96px 40px 0 0;
}

.artifact--workbook .artifact-object {
  --base-rotate:30deg;
  --hover-rotate:32deg;
  transform-origin:52% 54%;
}

.artifact--workbook .artifact-image {
  filter:none;
}

.artifact--workbook .artifact-label {
  top:calc(100% + 5px);
}

@media (max-width:920px) {
  .artifact--workbook {
    width:min(90%,336px);
    height:244px;
    margin:0;
  }

  .artifact--workbook .artifact-label {
    top:calc(100% + 4px);
  }

  .artifact--workbook .artifact-object {
    --base-rotate:24deg;
    --hover-rotate:26deg;
  }
}

/* V18 / refined profile printer with a restrained industrial status marker. */
.artifact--receipt {
  width:350px;
  height:430px;
}

.artifact--receipt .artifact-object {
  --base-rotate:-1deg;
  --hover-rotate:.4deg;
  transform-origin:52% 28%;
  filter:drop-shadow(0 18px 16px rgba(47,42,35,.18)) drop-shadow(0 2px 1px rgba(47,42,35,.16));
}

.artifact--receipt .artifact-image {
  filter:none;
}

.artifact--receipt .artifact-label {
  top:68%;
  right:-2px;
  bottom:auto;
  left:auto;
  min-width:126px;
  padding:7px 0 0 14px;
  border-top-color:rgba(24,24,22,.5);
  text-align:left;
  transform:none;
}

.artifact--receipt .artifact-label::before {
  position:absolute;
  top:5px;
  left:0;
  width:6px;
  height:6px;
  content:"";
  border:1px solid rgba(24,24,22,.72);
  border-radius:50%;
  background:#e26926;
  box-shadow:0 0 0 2px #e7e3da;
}

.artifact--receipt .artifact-label small {
  color:rgba(24,24,22,.62);
  font-size:6px;
  letter-spacing:.14em;
}

.artifact--receipt .artifact-label b {
  font-size:11px;
  letter-spacing:-.02em;
}

@media (min-width:921px) {
  .artifact--receipt {
    grid-column:6 / 9;
    grid-row:1 / 5;
    align-self:start;
    justify-self:end;
    margin:18px clamp(48px,4.8vw,72px) 0 0;
  }
}

@media (max-width:920px) {
  .artifact--receipt {
    grid-column:3 / 5;
    grid-row:9 / 14;
    align-self:start;
    justify-self:end;
    width:min(104%,210px);
    height:322px;
    margin:0 8px 0 0;
  }

  .artifact--receipt .artifact-label {
    top:calc(100% + 2px);
    right:6px;
  }
}

/* V20 / final placement for the standalone chapter 06 VIDEO display. */
.artifact--video {
  z-index:24;
  grid-column:3 / 7;
  grid-row:5 / 7;
  align-self:center;
  justify-self:center;
  width:min(64%,372px);
  height:206px;
  margin:-42px 0 0;
}

.artifact--video .artifact-object {
  --base-rotate:-1.2deg;
  --hover-rotate:.2deg;
  transform-origin:50% 56%;
  filter:drop-shadow(0 16px 14px rgba(47,42,35,.16)) drop-shadow(0 2px 1px rgba(47,42,35,.14));
}

.artifact--video .artifact-image {
  clip-path:none;
  filter:none;
}

.artifact--video .artifact-label {
  top:calc(100% + 4px);
  right:auto;
  left:50%;
  min-width:158px;
  padding:7px 0 0 14px;
  border-top-color:rgba(24,24,22,.48);
  text-align:left;
  transform:translateX(-50%);
}

.artifact--video .artifact-label::before {
  position:absolute;
  top:5px;
  left:0;
  width:6px;
  height:6px;
  content:"";
  border:1px solid rgba(24,24,22,.7);
  border-radius:1px;
  background:#d9672d;
  box-shadow:0 0 0 2px #e7e3da;
}

.artifact--video .artifact-label small {
  color:rgba(24,24,22,.62);
  font-size:6px;
  letter-spacing:.14em;
}

.artifact--video .artifact-label b {
  font-size:11px;
  letter-spacing:-.02em;
}

@media (max-width:920px) {
  .artifact--video {
    grid-column:1 / 5;
    grid-row:25 / 29;
    align-self:center;
    justify-self:center;
    width:min(88%,344px);
    height:196px;
    margin:0;
  }

  .artifact--video .artifact-label { top:calc(100% + 3px); }

  .artifact-doodle--poster {
    grid-column:1 / 3;
    grid-row:24;
    align-self:end;
    justify-self:center;
    margin:0 0 4px;
  }
}

/* V21 / front elevation for VIDEO; reduce and pull the heart badge inward. */
.artifact--video .artifact-object {
  --base-rotate:0deg;
  --hover-rotate:0deg;
}

@media (min-width:921px) {
  .artifact--workbook {
    width:min(67.2%,256px);
    height:186px;
    margin:-78px 94px 0 0;
  }
}

@media (max-width:920px) {
  .artifact--workbook {
    width:min(72%,269px);
    height:195px;
    margin:0;
  }
}

/* V42 / unified course nodes, grid-safe composition and responsive chapter rail. */
:root {
  --field-max:1296px;
  --field-edge:clamp(24px,4.2vw,64px);
  --node-label-width:184px;
  --node-label-gap:18px;
  --node-copy-gap:5px;
}

.home-view {
  min-height:100svh;
  padding:44px var(--field-edge);
}

.course-map {
  width:min(var(--field-max),100%);
  height:max(900px,calc(100svh - 88px));
  min-height:900px;
  grid-template-columns:repeat(8,minmax(0,1fr));
  grid-template-rows:repeat(6,minmax(0,1fr));
  overflow:hidden;
}

.artifacts-track { display:contents; }

.map-note {
  position:relative;
  z-index:70;
  color:rgba(35,34,31,.54);
  font:700 10px/1.45 var(--mono);
  letter-spacing:.08em;
  pointer-events:none;
}

.map-note--top {
  grid-column:1 / 3;
  grid-row:1;
  align-self:start;
  margin:14px 0 0 15px;
}

.map-note--status {
  grid-column:7 / 9;
  grid-row:1;
  align-self:start;
  justify-self:end;
  margin:14px 15px 0 0;
  text-align:right;
}

.map-note--bottom {
  grid-column:1 / 3;
  grid-row:6;
  align-self:end;
  margin:0 0 14px 15px;
  width:calc(100% - 15px);
  padding-top:8px;
  border-top:1px solid rgba(35,34,31,.35);
}

.map-note--bottom span:last-child { display:none; }

.manifesto {
  z-index:45;
  grid-column:3 / 7;
  grid-row:3 / 5;
  align-self:center;
  justify-self:center;
  width:min(100%,530px);
  max-width:530px;
  margin:0;
  padding:24px 16px;
  text-align:center;
}

.manifesto-code {
  margin:0 0 14px;
  font-size:10px;
}

.manifesto h1 {
  max-width:100%;
  margin:0;
  font-size:clamp(62px,5.4vw,80px);
  line-height:.82;
  letter-spacing:-.078em;
}

.manifesto > p:last-child {
  max-width:58ch;
  margin:18px auto 0;
  font-size:clamp(10px,.82vw,12px);
  line-height:1.5;
}

.artifact {
  --art-w:240px;
  --art-h:220px;
  --label-shift:0px;
  position:relative;
  z-index:20;
  width:var(--art-w);
  min-width:0;
  min-height:0;
  margin:0;
  align-self:start;
  justify-self:start;
}

.course-map .artifact-object {
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:var(--art-h) auto;
  align-items:start;
  justify-items:start;
  gap:var(--node-label-gap);
  width:100%;
  height:auto;
  min-height:44px;
  padding:0;
  overflow:visible;
  color:var(--ink);
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  text-align:left;
  cursor:pointer;
  transform:none;
  filter:none;
  animation:none;
}

.course-map .artifact-object:focus-visible {
  outline:0;
  border-radius:0;
}

.artifact-visual {
  position:relative;
  display:block;
  width:var(--art-w);
  height:var(--art-h);
  transform:translate(calc(var(--px) * var(--depth,.5)),calc(var(--py) * var(--depth,.5))) rotate(var(--base-rotate));
  transform-origin:center;
  filter:drop-shadow(0 12px 10px rgba(52,45,36,.2));
  transition:transform 210ms cubic-bezier(.2,.75,.2,1),filter 210ms ease;
}

.artifact-image {
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  pointer-events:none;
  user-select:none;
}

.artifact-label,
.artifact--book .artifact-label,
.artifact--receipt .artifact-label,
.artifact--manual .artifact-label,
.artifact--workbook .artifact-label,
.artifact--skills .artifact-label,
.artifact--poster .artifact-label,
.artifact--video .artifact-label {
  position:relative;
  z-index:8;
  top:auto;
  right:auto;
  bottom:auto;
  left:auto;
  display:grid;
  justify-self:start;
  gap:var(--node-copy-gap);
  width:var(--node-label-width);
  max-width:var(--node-label-width);
  min-height:40px;
  margin-left:clamp(0px,var(--label-shift),calc(var(--art-w) - var(--node-label-width)));
  padding:0;
  color:#151513;
  border:0;
  text-align:left;
  pointer-events:none;
  transform:none;
  align-self:start;
}

.artifact-label::before,
.artifact--receipt .artifact-label::before,
.artifact--video .artifact-label::before { display:none; }

.artifact-label small,
.artifact--book .artifact-label small,
.artifact--receipt .artifact-label small,
.artifact--manual .artifact-label small,
.artifact--skills .artifact-label small,
.artifact--video .artifact-label small {
  color:rgba(24,24,22,.62);
  font:750 10px/1.2 var(--mono);
  letter-spacing:.09em;
  white-space:nowrap;
  transition:color 210ms ease;
}

.artifact-label b,
.artifact--book .artifact-label b,
.artifact--receipt .artifact-label b,
.artifact--manual .artifact-label b,
.artifact--skills .artifact-label b,
.artifact--video .artifact-label b {
  position:relative;
  isolation:isolate;
  display:inline-block;
  justify-self:start;
  max-width:100%;
  overflow-wrap:normal;
  color:#0f0f0e;
  font-size:15px;
  font-weight:950;
  line-height:1.08;
  letter-spacing:-.025em;
  text-align:left;
  transition:color 210ms ease;
}

.artifact-label b::before {
  position:absolute;
  z-index:-1;
  inset:-3px -5px -4px;
  content:"";
  border-radius:1px;
  background:#11110f;
  transform:scaleX(0);
  transform-origin:left center;
  transition:transform 210ms cubic-bezier(.2,.75,.2,1);
}

.artifact--book {
  --art-w:410px;
  --art-h:278px;
  --label-shift:106px;
  grid-column:1 / 4;
  grid-row:1 / 3;
  align-self:start;
  justify-self:start;
  margin:30px 0 0 -70px;
}

.artifact--receipt {
  --art-w:350px;
  --art-h:430px;
  --label-shift:166px;
  grid-column:7 / 9;
  grid-row:1 / 4;
  align-self:start;
  justify-self:end;
  margin:32px -32px 0 0;
}

.artifact--manual {
  --art-w:218px;
  --art-h:228px;
  --label-shift:24px;
  grid-column:1 / 3;
  grid-row:4 / 7;
  align-self:start;
  justify-self:start;
  margin:90px 0 0 28px;
}

.artifact--poster,
.artifact--video {
  --art-w:372px;
  --art-h:206px;
  --label-shift:82px;
  grid-column:3 / 5;
  grid-row:5 / 7;
  align-self:start;
  justify-self:center;
  margin:18px 0 0;
}

.artifact--workbook {
  --art-w:256px;
  --art-h:186px;
  --label-shift:38px;
  grid-column:5 / 7;
  grid-row:5 / 7;
  align-self:start;
  justify-self:center;
  margin:40px 0 0 36px;
}

.artifact--skills {
  --art-w:300px;
  --art-h:319px;
  --label-shift:96px;
  grid-column:7 / 9;
  grid-row:4 / 7;
  align-self:start;
  justify-self:end;
  margin:76px -22px 0 0;
}

.artifact--book .artifact-visual { --base-rotate:-.35deg; --hover-rotate:.25deg; --depth:.7; }
.artifact--receipt .artifact-visual { --base-rotate:-1deg; --hover-rotate:.4deg; --depth:1.05; transform-origin:52% 28%; }
.artifact--manual .artifact-visual { --base-rotate:-.8deg; --hover-rotate:.2deg; --depth:.55; }
.artifact--workbook .artifact-visual { --base-rotate:30deg; --hover-rotate:31.5deg; --depth:.85; transform-origin:52% 54%; }
.artifact--skills .artifact-visual { --base-rotate:1.1deg; --hover-rotate:2.1deg; --depth:1.2; }
.artifact--video .artifact-visual { --base-rotate:0deg; --hover-rotate:0deg; --depth:.65; transform-origin:50% 56%; }

.artifact:hover { z-index:44; }

@media (hover:hover) and (pointer:fine) {
  .artifact:hover .artifact-visual,
  .artifact:focus-within .artifact-visual {
    transform:translate(calc(var(--px) * var(--depth,.5)),calc(var(--py) * var(--depth,.5) - 7px)) rotate(var(--hover-rotate)) scale(1.025);
    filter:drop-shadow(0 18px 13px rgba(52,45,36,.27));
  }

  .artifact:hover .artifact-label b,
  .artifact:focus-within .artifact-label b { color:#f7f4ec; }

  .artifact:hover .artifact-label b::before,
  .artifact:focus-within .artifact-label b::before { transform:scaleX(1); }

  .artifact:hover .artifact-label small,
  .artifact:focus-within .artifact-label small { color:#181816; }
}

.artifact:focus-within .artifact-label b { color:#f7f4ec; }
.artifact:focus-within .artifact-label b::before { transform:scaleX(1); }
.artifact:focus-within .artifact-label small { color:#181816; }

.artifact-object:active .artifact-visual {
  transform:translateY(-2px) rotate(var(--hover-rotate)) scale(.99);
  transition-duration:80ms;
}

.artifact-cue { display:none; }

.artifact-doodle {
  position:relative;
  z-index:30;
  color:rgba(38,36,31,.55);
  font:500 clamp(10px,.72vw,12px)/1.08 var(--hand);
  letter-spacing:.015em;
  white-space:nowrap;
  pointer-events:none;
}

.artifact-doodle::after {
  position:absolute;
  width:58px;
  height:24px;
  content:"";
  border:1px solid currentColor;
  border-color:currentColor transparent transparent transparent;
  border-radius:50%;
  opacity:.68;
}

.artifact-doodle::before {
  position:absolute;
  width:6px;
  height:6px;
  content:"";
  border-top:1px solid currentColor;
  border-right:1px solid currentColor;
  opacity:.68;
}

.artifact-doodle--book {
  grid-column:3 / 4;
  grid-row:1;
  align-self:end;
  justify-self:start;
  margin:0 0 12px clamp(20px,4vw,52px);
  transform:rotate(-4deg);
}
.artifact-doodle--book::after { right:102%; bottom:-13px; transform:rotate(9deg); }
.artifact-doodle--book::before { right:calc(102% + 49px); bottom:-5px; transform:rotate(-115deg); }

.artifact-doodle--receipt {
  grid-column:6 / 7;
  grid-row:2;
  align-self:start;
  justify-self:center;
  margin:10px 0 0;
  transform:rotate(3deg);
}
.artifact-doodle--receipt::after { top:11px; left:104%; transform:rotate(-7deg); }
.artifact-doodle--receipt::before { top:10px; left:calc(104% + 51px); transform:rotate(48deg); }

.artifact-doodle--skills {
  grid-column:6 / 7;
  grid-row:4;
  align-self:end;
  justify-self:end;
  margin:0 12px 17px 0;
  transform:rotate(5deg);
}
.artifact-doodle--skills::after { top:10px; left:103%; transform:rotate(-5deg); }
.artifact-doodle--skills::before { top:9px; left:calc(103% + 50px); transform:rotate(48deg); }

.artifact-doodle--workbook {
  grid-column:5 / 7;
  grid-row:5;
  align-self:start;
  justify-self:start;
  margin:12px 0 0 20px;
  transform:rotate(-4deg);
}
.artifact-doodle--workbook::after { top:14px; left:102%; transform:rotate(7deg); }
.artifact-doodle--workbook::before { top:19px; left:calc(102% + 49px); transform:rotate(42deg); }

.artifact-doodle--poster {
  grid-column:3 / 5;
  grid-row:6;
  align-self:end;
  justify-self:end;
  margin:0 12px 12px 0;
  transform:rotate(4deg);
}
.artifact-doodle--poster::after { right:103%; bottom:-12px; transform:rotate(9deg); }
.artifact-doodle--poster::before { right:calc(103% + 50px); bottom:-4px; transform:rotate(-118deg); }

.artifact-doodle--workbook,
.artifact-doodle--poster { display:none; }

@media (min-width:1200px) {
  .home-view { height:auto; overflow:visible; }
}

@media (min-width:768px) and (max-width:1199px) {
  :root { --field-edge:20px; }

  .home-view { padding:20px; }

  .course-map {
    width:100%;
    height:auto;
    min-height:2090px;
    grid-template-columns:repeat(6,minmax(0,1fr));
    grid-template-rows:repeat(19,110px);
    background-size:16.6667% 100%,100% 110px;
  }

  .site-header {
    top:36px;
    width:min(420px,calc(100vw - 64px));
  }

  .menu-trigger span { display:inline; }

  .map-note--top { grid-column:1 / 3; grid-row:1; }
  .map-note--status { grid-column:5 / 7; grid-row:1; }

  .manifesto {
    grid-column:1 / 7;
    grid-row:1 / 4;
    align-self:center;
    width:min(100% - 48px,760px);
    max-width:760px;
    margin-top:62px;
    padding:28px 16px;
  }

  .manifesto h1 { font-size:clamp(58px,8.4vw,84px); }

  .artifact--book {
    grid-column:1 / 4;
    grid-row:4 / 7;
    align-self:start;
    justify-self:center;
    margin:4px 0 0;
  }

  .artifact--receipt {
    grid-column:4 / 7;
    grid-row:5 / 10;
    align-self:start;
    justify-self:center;
    margin:0;
  }

  .artifact--manual {
    grid-column:1 / 4;
    grid-row:8 / 11;
    align-self:start;
    justify-self:center;
    margin:0;
  }

  .artifact--skills {
    grid-column:4 / 7;
    grid-row:10 / 14;
    align-self:start;
    justify-self:center;
    margin:0;
  }

  .artifact--poster,
  .artifact--video {
    grid-column:1 / 4;
    grid-row:12 / 15;
    align-self:start;
    justify-self:center;
    margin:0;
  }

  .artifact--workbook {
    grid-column:4 / 7;
    grid-row:15 / 18;
    align-self:start;
    justify-self:center;
    margin:0;
  }

  .artifact-doodle--book {
    grid-column:1 / 4;
    grid-row:7;
    align-self:start;
    justify-self:center;
    margin:18px 0 0 92px;
  }

  .artifact-doodle--skills {
    grid-column:4 / 7;
    grid-row:14;
    align-self:start;
    justify-self:center;
    margin:12px 0 0;
  }

  .artifact-doodle--poster {
    grid-column:1 / 4;
    grid-row:15;
    align-self:start;
    justify-self:center;
    margin:16px 0 0 80px;
  }

  .artifact-doodle--receipt,
  .artifact-doodle--workbook { display:none; }

  .map-note--bottom {
    grid-column:1 / 3;
    grid-row:19;
    width:calc(100% - 15px);
  }
}

@media (max-width:767px) {
  :root {
    --field-edge:8px;
    --node-label-width:184px;
  }

  html,
  body { background:#e7e3da; }

  .home-view { min-height:100svh; padding:8px; }

  .site-header {
    top:18px;
    width:calc(100vw - 40px);
  }

  .menu-trigger span { display:inline; }

  .course-map {
    display:grid;
    width:100%;
    height:auto;
    min-height:calc(100svh - 16px);
    grid-template-columns:repeat(4,minmax(0,1fr));
    grid-template-rows:auto auto auto;
    padding:0 0 14px;
    overflow:hidden;
    background-size:25% 100%,100% 96px;
  }

  .map-note { font-size:9px; }
  .map-note--top { grid-column:1 / 3; grid-row:1; margin:14px 0 0 13px; }
  .map-note--status { grid-column:3 / 5; grid-row:1; margin:14px 13px 0 0; }
  .map-note--status { font-size:0; }
  .map-note--status::after { content:"SWIPE / TAP TO EXPLORE\A V.56 / MOBILE GRID"; white-space:pre; font:700 9px/1.45 var(--mono); }

  .manifesto {
    grid-column:1 / 5;
    grid-row:1;
    align-self:start;
    width:calc(100% - 30px);
    max-width:none;
    margin:96px 15px 0;
    padding:18px 0 22px;
    text-align:left;
  }

  .manifesto-code { margin-bottom:12px; font-size:9px; }
  .manifesto h1 {
    font-size:clamp(42px,12.2vw,68px);
    line-height:.84;
    letter-spacing:-.073em;
    text-align:left;
  }
  .manifesto > p:last-child {
    max-width:42ch;
    margin:16px 0 0;
    font-size:10px;
  }

  .artifacts-track {
    display:flex;
    grid-column:1 / 5;
    grid-row:2;
    gap:16px;
    width:100%;
    margin-top:28px;
    padding:12px 8vw 28px;
    overflow-x:auto;
    overflow-y:hidden;
    overscroll-behavior-inline:contain;
    scroll-padding-inline:8vw;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }

  .artifacts-track::-webkit-scrollbar { display:none; }

  .artifact,
  .artifact--book,
  .artifact--receipt,
  .artifact--manual,
  .artifact--workbook,
  .artifact--skills,
  .artifact--poster,
  .artifact--video {
    flex:0 0 min(84vw,392px);
    width:auto;
    min-height:440px;
    margin:0;
    align-self:stretch;
    justify-self:auto;
    scroll-snap-align:center;
    scroll-snap-stop:always;
  }

  .course-map .artifact-object {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    grid-template-rows:360px auto;
    align-content:start;
    justify-items:start;
    gap:18px;
    width:100%;
    min-height:440px;
    padding:18px 16px 20px;
    border-top:1px solid rgba(35,34,31,.26);
    border-bottom:1px solid rgba(35,34,31,.26);
    background:rgba(246,243,235,.28);
  }

  .artifact-visual {
    align-self:center;
    justify-self:center;
    max-width:100%;
    max-height:350px;
    margin:auto;
  }

  .artifact--book .artifact-visual { width:min(410px,78vw); height:auto; aspect-ratio:410 / 278; }
  .artifact--receipt .artifact-visual { width:min(350px,70vw); height:auto; aspect-ratio:350 / 430; }
  .artifact--manual .artifact-visual { width:min(218px,60vw); height:auto; aspect-ratio:218 / 228; }
  .artifact--workbook .artifact-visual { width:min(256px,65vw); height:auto; aspect-ratio:256 / 186; }
  .artifact--skills .artifact-visual { width:min(300px,70vw); height:auto; aspect-ratio:300 / 319; }
  .artifact--video .artifact-visual { width:min(372px,78vw); height:auto; aspect-ratio:372 / 206; }

  .artifact-label,
  .artifact--book .artifact-label,
  .artifact--receipt .artifact-label,
  .artifact--manual .artifact-label,
  .artifact--workbook .artifact-label,
  .artifact--skills .artifact-label,
  .artifact--poster .artifact-label,
  .artifact--video .artifact-label {
    justify-self:start;
    align-self:end;
    width:var(--node-label-width);
    margin:0;
  }

  .artifact-label small { font-size:10px; }
  .artifact-label b { font-size:15px; }

  .artifact-doodle { display:none; }

  .map-note--bottom {
    grid-column:1 / 5;
    grid-row:3;
    align-self:end;
    width:auto;
    margin:4px 13px 0;
    padding-top:10px;
  }
  .map-note--bottom span:last-child { display:inline; }
}

@media (hover:none), (pointer:coarse) {
  .artifact-visual { transition:none; }
  .artifact:hover .artifact-visual { filter:drop-shadow(0 12px 10px rgba(52,45,36,.2)); }
  .artifact:hover .artifact-label b { color:#0f0f0e; }
  .artifact:hover .artifact-label b::before { transform:scaleX(0); }
}

@media (prefers-reduced-motion:reduce) {
  .artifact-visual,
  .artifact-label b,
  .artifact-label b::before,
  .artifact-label small { transition:none!important; }

  .artifact:hover .artifact-visual,
  .artifact:focus-within .artifact-visual {
    transform:rotate(var(--base-rotate));
    filter:drop-shadow(0 12px 10px rgba(52,45,36,.2));
  }
}

/* V43 / a unified landscape HTML-PPT dock for every chapter except the profile receipt. */
.chapter-view.is-presentation {
  height:100svh;
  min-height:100svh;
  overflow:hidden;
  background-color:rgba(202,199,190,.76);
}

.chapter-view.is-presentation::before {
  background:
    radial-gradient(circle at 50% 45%,rgba(255,255,255,.17) 0 22%,transparent 58%),
    linear-gradient(90deg,rgba(31,31,28,.045) 1px,transparent 1px),
    linear-gradient(rgba(31,31,28,.045) 1px,transparent 1px);
  background-size:auto,68px 68px,68px 68px;
}

.chapter-view.is-presentation .reader-stage {
  height:calc(100svh - 62px);
  min-height:0;
  padding:24px 28px 28px;
  place-items:center;
  overflow:hidden;
}

.chapter-view.is-presentation .reader-stage::after {
  right:28px;
  bottom:12px;
  content:"HTML PPT DOCK / LANDSCAPE INTERFACE";
}

.chapter-view.is-presentation .page-controls { display:none; }

.carrier-presentation-window {
  display:block;
  width:min(1180px,calc(100vw - 72px),calc((100svh - 118px) * 1.58));
  min-height:0;
  aspect-ratio:1.58 / 1;
  perspective:none;
  filter:drop-shadow(0 30px 28px rgba(46,39,31,.28));
}

.carrier-presentation-window::before,
.carrier-presentation-window > .binding,
.carrier-presentation-window > .lesson-page--right,
.carrier-presentation-window > .lesson-page--left::after {
  display:none;
}

.carrier-presentation-window > .lesson-page--left {
  width:100%;
  height:100%;
  min-height:0;
  overflow:visible;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

.presentation-dock {
  --dock-line:rgba(36,35,31,.36);
  position:relative;
  display:grid;
  width:100%;
  height:100%;
  grid-template-columns:minmax(0,1fr) clamp(96px,11vw,148px);
  grid-template-rows:clamp(24px,2.5vw,34px) minmax(0,1fr) clamp(94px,10vw,128px);
  gap:clamp(6px,.7vw,10px);
  padding:clamp(16px,2vw,26px);
  border:1px solid #6e6c64;
  border-radius:5px;
  background:
    linear-gradient(135deg,rgba(255,255,255,.86),rgba(235,232,223,.94)),
    #f1efe8;
  box-shadow:
    inset 0 0 0 3px rgba(255,255,255,.68),
    inset 0 0 0 4px rgba(74,72,66,.12),
    0 5px 0 #aaa79e,
    0 10px 0 rgba(91,88,81,.54);
}

.presentation-dock::before {
  position:absolute;
  z-index:3;
  top:-15px;
  left:50%;
  width:clamp(92px,13vw,160px);
  height:20px;
  content:"";
  border:1px solid #52534f;
  border-radius:4px 4px 2px 2px;
  background:linear-gradient(#b8bbb7 0 27%,#727672 30% 54%,#292c2b 56% 66%,#8e918e 69% 100%);
  box-shadow:0 4px 7px rgba(0,0,0,.22);
  transform:translateX(-50%);
}

.presentation-dock::after {
  position:absolute;
  z-index:0;
  inset:8px;
  pointer-events:none;
  content:"";
  border:1px solid rgba(62,61,56,.12);
  border-radius:2px;
}

.dock-screw {
  position:absolute;
  z-index:4;
  width:9px;
  height:9px;
  border:1px solid #73756f;
  border-radius:50%;
  background:linear-gradient(135deg,#f4f4f0,#8e918d);
  box-shadow:inset 0 0 0 2px rgba(255,255,255,.38);
}

.dock-screw::after {
  position:absolute;
  top:3px;
  left:1px;
  width:5px;
  height:1px;
  content:"";
  background:#666863;
  transform:rotate(-35deg);
}

.dock-screw--tl { top:7px; left:7px; }
.dock-screw--tr { top:7px; right:7px; }
.dock-screw--bl { bottom:7px; left:7px; }
.dock-screw--br { right:7px; bottom:7px; }

.dock-register {
  position:relative;
  z-index:1;
  display:grid;
  grid-column:1 / 3;
  grid-row:1;
  grid-template-columns:1fr auto auto;
  align-items:center;
  gap:clamp(12px,2vw,30px);
  padding:0 9px;
  border:1px solid var(--dock-line);
  background:rgba(248,247,242,.72);
  font:750 clamp(7px,.58vw,9px)/1 var(--mono);
  letter-spacing:.08em;
}

.dock-register span:last-child::before {
  display:inline-block;
  width:6px;
  height:6px;
  margin-right:6px;
  border-radius:50%;
  content:"";
  background:var(--chapter-accent);
  box-shadow:0 0 0 1px rgba(17,17,15,.42);
}

.presentation-screen {
  position:relative;
  z-index:1;
  grid-column:1;
  grid-row:2;
  min-width:0;
  min-height:0;
  overflow:hidden;
  border:1px solid #77766f;
  background:#f8f7f2;
  box-shadow:
    inset 0 0 0 5px rgba(255,255,255,.76),
    inset 0 0 22px rgba(72,67,58,.08);
}

.presentation-screen::after {
  position:absolute;
  inset:8px;
  pointer-events:none;
  content:"";
  border:1px solid rgba(50,49,45,.08);
}

.presentation-embed {
  display:block;
  width:100%;
  height:100%;
  border:0;
  background:#fff;
}

.presentation-placeholder {
  position:relative;
  display:grid;
  width:100%;
  height:100%;
  place-items:center;
  overflow:hidden;
  background-color:#f8f7f2;
  background-image:
    linear-gradient(rgba(39,38,34,.055) 1px,transparent 1px),
    linear-gradient(90deg,rgba(39,38,34,.04) 1px,transparent 1px);
  background-size:100% 16.6667%,12.5% 100%;
}

.presentation-placeholder::before,
.presentation-placeholder::after {
  position:absolute;
  width:26px;
  height:26px;
  content:"";
  opacity:.42;
}

.presentation-placeholder::before {
  top:18px;
  left:18px;
  border-top:1px solid #22221f;
  border-left:1px solid #22221f;
}

.presentation-placeholder::after {
  right:18px;
  bottom:18px;
  border-right:1px solid #22221f;
  border-bottom:1px solid #22221f;
}

.presentation-signal,
.presentation-ratio {
  position:absolute;
  z-index:2;
  color:rgba(30,30,27,.62);
  font:750 clamp(7px,.58vw,9px)/1 var(--mono);
  letter-spacing:.09em;
}

.presentation-signal { top:22px; left:24px; }
.presentation-signal i {
  display:inline-block;
  width:6px;
  height:6px;
  margin-right:7px;
  border-radius:50%;
  background:var(--chapter-accent);
}
.presentation-ratio { right:24px; bottom:22px; }

.presentation-placeholder-copy {
  position:relative;
  z-index:1;
  width:min(76%,700px);
  text-align:center;
}

.presentation-placeholder-copy small {
  display:block;
  margin-bottom:clamp(10px,1.2vw,18px);
  color:rgba(25,25,22,.58);
  font:750 clamp(8px,.68vw,11px)/1 var(--mono);
  letter-spacing:.12em;
}

.presentation-placeholder-copy h2 {
  margin:0;
  color:#11110f;
  font-size:clamp(28px,4.2vw,64px);
  font-weight:950;
  line-height:.85;
  letter-spacing:-.065em;
  text-transform:uppercase;
}

.presentation-placeholder-copy p {
  display:inline-block;
  margin:clamp(13px,1.5vw,22px) 0 0;
  padding:6px 9px;
  color:#f7f5ef;
  background:#171715;
  font:750 clamp(8px,.68vw,11px)/1 var(--mono);
  letter-spacing:.08em;
}

.presentation-sidebar {
  position:relative;
  z-index:1;
  display:flex;
  grid-column:2;
  grid-row:2;
  min-width:0;
  flex-direction:column;
  align-items:center;
  padding:clamp(11px,1.2vw,18px) 8px;
  border:1px solid var(--dock-line);
  background:linear-gradient(180deg,#eeede8,#dedcd4);
  text-align:center;
}

.presentation-sidebar > span,
.presentation-sidebar > small {
  font:750 clamp(7px,.58vw,9px)/1.35 var(--mono);
  letter-spacing:.08em;
}

.presentation-sidebar > span { align-self:flex-start; }
.presentation-sidebar > i {
  display:block;
  width:clamp(34px,4vw,54px);
  margin:auto;
  aspect-ratio:1;
  border:1px solid #6f706b;
  border-radius:50%;
  background:
    radial-gradient(circle,#f5f4ee 0 15%,#8c8e89 17% 20%,transparent 22%),
    conic-gradient(from 22deg,#b9bbb6,#f8f8f5,#929590,#dedfda,#b9bbb6);
  box-shadow:inset 0 0 0 4px rgba(255,255,255,.45),0 3px 5px rgba(0,0,0,.14);
}
.presentation-sidebar > b {
  margin-bottom:auto;
  font:900 clamp(10px,1vw,14px)/1.05 var(--sans);
  letter-spacing:-.02em;
}
.presentation-sidebar > small { align-self:flex-end; color:rgba(30,30,27,.55); text-align:right; }

.presentation-console {
  position:relative;
  z-index:1;
  display:grid;
  grid-column:1 / 3;
  grid-row:3;
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:start;
  overflow:hidden;
  border:1px solid var(--dock-line);
  background:#eceae3;
}

.presentation-console > span {
  position:relative;
  z-index:2;
  display:grid;
  min-width:0;
  gap:5px;
  padding:10px 12px;
  border-right:1px solid rgba(47,46,42,.22);
  font-family:var(--mono);
}
.presentation-console > span:last-of-type { border-right:0; }
.presentation-console small { color:rgba(31,31,28,.5); font-size:clamp(6px,.5vw,8px); letter-spacing:.1em; }
.presentation-console b { overflow:hidden; font-size:clamp(7px,.58vw,9px); text-overflow:ellipsis; white-space:nowrap; }

.presentation-cork {
  position:absolute;
  z-index:0;
  right:0;
  bottom:0;
  left:0;
  height:44%;
  background-color:#c49a6b;
  background-image:
    radial-gradient(circle at 12% 35%,rgba(79,51,29,.16) 0 1px,transparent 1.5px),
    radial-gradient(circle at 68% 65%,rgba(255,255,255,.18) 0 1px,transparent 1.6px),
    linear-gradient(90deg,rgba(118,76,42,.08),transparent 30%,rgba(255,255,255,.08));
  background-size:17px 13px,23px 19px,100% 100%;
  border-top:1px solid rgba(79,53,32,.22);
}

.presentation-ticket {
  position:absolute;
  z-index:3;
  bottom:5px;
  left:50%;
  display:flex;
  width:clamp(150px,24%,260px);
  min-height:74%;
  flex-direction:column;
  justify-content:center;
  gap:7px;
  padding:8px 12px;
  color:#171715;
  border:1px solid rgba(45,44,40,.22);
  background:#f6f4ed;
  box-shadow:0 5px 10px rgba(62,45,31,.18);
  font-style:normal;
  transform:translateX(-50%) rotate(-.45deg);
}
.presentation-ticket::before {
  position:absolute;
  top:-5px;
  left:50%;
  width:10px;
  height:10px;
  border:1px solid #797a76;
  border-radius:50%;
  content:"";
  background:radial-gradient(circle,#f7f7f2 0 25%,#9b9e99 28% 55%,#dadbd7 58%);
  transform:translateX(-50%);
}
.presentation-ticket small { font:700 clamp(6px,.5vw,8px)/1 var(--mono); letter-spacing:.08em; }
.presentation-ticket b { font:900 clamp(8px,.72vw,11px)/1.05 var(--sans); }

@media (max-width:760px) {
  .chapter-view.is-presentation .reader-stage {
    height:calc(100svh - 58px);
    padding:18px 12px;
    place-items:center;
  }

  .carrier-presentation-window {
    width:min(100%,calc((100svh - 118px) * 1.58));
    min-height:0;
    aspect-ratio:1.58 / 1;
  }

  .presentation-dock {
    grid-template-columns:minmax(0,1fr) 58px;
    grid-template-rows:20px minmax(0,1fr) 64px;
    gap:5px;
    padding:11px;
  }

  .presentation-dock::before { top:-10px; width:82px; height:14px; }
  .dock-register { gap:8px; padding-inline:5px; font-size:5px; }
  .dock-register span:nth-child(2) { display:none; }
  .presentation-signal { top:12px; left:13px; font-size:5px; }
  .presentation-ratio { right:13px; bottom:12px; font-size:5px; }
  .presentation-placeholder-copy { width:78%; }
  .presentation-placeholder-copy small { margin-bottom:7px; font-size:6px; }
  .presentation-placeholder-copy h2 { font-size:clamp(17px,6.8vw,27px); }
  .presentation-placeholder-copy p { margin-top:8px; padding:4px 5px; font-size:5px; }
  .presentation-sidebar { padding:7px 4px; }
  .presentation-sidebar > span,
  .presentation-sidebar > small { font-size:5px; }
  .presentation-sidebar > i { width:28px; }
  .presentation-sidebar > b { font-size:7px; }
  .presentation-console > span { gap:2px; padding:6px 5px; }
  .presentation-console small { font-size:4px; }
  .presentation-console b { font-size:5px; }
  .presentation-ticket { bottom:3px; width:42%; min-height:76%; gap:3px; padding:5px 7px; }
  .presentation-ticket small { font-size:4px; }
  .presentation-ticket b { font-size:6px; }
  .dock-screw { width:7px; height:7px; }
  .dock-screw::after { top:2px; width:4px; }
}

@media (prefers-reduced-motion:reduce) {
  .chapter-view.is-entering .carrier-presentation-window { animation:none!important; }
}

/* V44 / keep each label attached to its object and restore the original visual anchors. */
.course-map .artifact-object {
  transform:translate(calc(var(--px) * var(--depth,.5)),calc(var(--py) * var(--depth,.5)));
  transition:transform 210ms cubic-bezier(.2,.75,.2,1);
}

.artifact-visual {
  transform:rotate(var(--base-rotate));
}

@media (hover:hover) and (pointer:fine) {
  .artifact:hover .artifact-visual,
  .artifact:focus-within .artifact-visual {
    transform:translateY(-7px) rotate(var(--hover-rotate)) scale(1.025);
  }
}

@media (min-width:768px) {
  .artifact,
  .artifact--book,
  .artifact--receipt,
  .artifact--manual,
  .artifact--workbook,
  .artifact--skills,
  .artifact--poster,
  .artifact--video {
    height:auto;
  }
}

@media (min-width:1200px) {
  .course-map .artifact-object { gap:14px; }

  .artifact--book {
    --label-shift:106px;
    margin:34px 0 0 22px;
  }

  .artifact--receipt {
    --label-shift:84px;
    margin:32px 22px 0 0;
  }

  .artifact--manual {
    --label-shift:24px;
    margin:60px 0 0 28px;
  }

  .artifact--poster,
  .artifact--video {
    --label-shift:82px;
    margin:-2px 0 0;
  }

  .artifact--workbook {
    --label-shift:38px;
    margin:40px 0 0 36px;
  }

  .artifact--skills {
    --label-shift:58px;
    margin:54px 12px 0 0;
  }
}

@media (max-width:767px) {
  .course-map .artifact-object { transform:none; }
}

@media (prefers-reduced-motion:reduce) {
  .course-map .artifact-object { transform:none; transition:none!important; }
  .artifact:hover .artifact-visual,
  .artifact:focus-within .artifact-visual { transform:rotate(var(--base-rotate)); }
}

/* V45 / match the approved orbit composition while preserving the component system. */
@media (min-width:1200px) {
  .artifact--book {
    margin:175px 0 0 60px;
  }

  .artifact--receipt {
    grid-column:6 / 9;
    grid-row:1 / 4;
    margin:100px 138px 0 0;
  }

  .artifact--manual {
    margin:58px 0 0 90px;
  }

  .artifact--poster,
  .artifact--video {
    grid-column:4 / 6;
    grid-row:5 / 7;
    margin:28px 0 0 16px;
  }

  .artifact--workbook {
    grid-column:7 / 9;
    grid-row:5 / 7;
    justify-self:center;
    margin:30px 0 0;
    top:25px;
    left:-60px;
  }

  .artifact--skills {
    grid-column:7 / 9;
    grid-row:3 / 6;
    justify-self:end;
    margin:-8px -8px 0 0;
  }

  .artifact-doodle--skills {
    top:40px;
  }
}

/* V46 / browser-local layout and copy editor. */
.artifact {
  translate:var(--editor-x,0px) var(--editor-y,0px);
}

.artifact-visual {
  scale:var(--editor-scale,1);
}

.artifact-label {
  translate:var(--editor-label-x,0px) var(--editor-label-y,0px);
  scale:var(--editor-label-scale,1);
  transform-origin:left top;
}

.manifesto {
  translate:var(--editor-x,0px) var(--editor-y,0px);
  scale:var(--editor-scale,1);
}

.layout-editor-toggle {
  position:fixed;
  z-index:190;
  right:22px;
  bottom:22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  min-width:148px;
  min-height:42px;
  padding:0 13px 0 16px;
  color:#f6f2e9;
  border:1px solid #11110f;
  border-radius:2px;
  background:#11110f;
  box-shadow:0 10px 24px rgba(34,31,26,.18);
  font:800 10px/1 var(--mono);
  letter-spacing:.08em;
  cursor:pointer;
}

.layout-editor-toggle b {
  color:#ee6a29;
  font:400 22px/1 sans-serif;
}

.layout-editor-toggle:hover,
.layout-editor-toggle:focus-visible {
  color:#11110f;
  background:#f6f2e9;
  outline:0;
}

.layout-editor {
  position:fixed;
  z-index:220;
  top:18px;
  right:18px;
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto auto;
  width:min(350px,calc(100vw - 36px));
  max-height:calc(100svh - 36px);
  overflow:hidden;
  color:#151513;
  border:1px solid rgba(19,19,17,.78);
  border-radius:4px;
  background:#f2eee4;
  box-shadow:0 22px 60px rgba(36,31,24,.28);
}

.layout-editor[hidden] { display:none; }

.layout-editor__heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:62px;
  padding:10px 12px 10px 15px;
  color:#f5f2e9;
  background:#151513;
}

.layout-editor__heading > div {
  display:grid;
  gap:4px;
}

.layout-editor__heading small {
  color:rgba(245,242,233,.6);
  font:700 8px/1 var(--mono);
  letter-spacing:.12em;
}

.layout-editor__heading b {
  font:900 15px/1 var(--display);
  letter-spacing:.02em;
}

.layout-editor__heading button {
  width:34px;
  height:34px;
  color:#f5f2e9;
  border:1px solid rgba(245,242,233,.28);
  border-radius:1px;
  background:transparent;
  font:300 24px/1 sans-serif;
  cursor:pointer;
}

.layout-editor__heading button:hover,
.layout-editor__heading button:focus-visible {
  color:#151513;
  background:#ee6a29;
  outline:0;
}

.layout-editor__body {
  padding:14px;
  overflow:auto;
  overscroll-behavior:contain;
}

.editor-field {
  display:grid;
  gap:6px;
}

.editor-field > span,
.editor-range > span,
.editor-range > label,
.editor-group legend {
  color:rgba(21,21,19,.6);
  font:800 9px/1.2 var(--mono);
  letter-spacing:.08em;
  text-transform:uppercase;
}

.editor-field--select { margin-bottom:14px; }

.editor-field select,
.editor-field input,
.editor-field textarea {
  width:100%;
  color:#151513;
  border:1px solid rgba(21,21,19,.28);
  border-radius:1px;
  background:rgba(255,255,255,.48);
  font:700 11px/1.35 var(--mono);
}

.editor-field select,
.editor-field input { height:36px; padding:0 9px; }
.editor-field textarea { min-height:52px; padding:8px 9px; resize:vertical; }

.editor-field select:focus-visible,
.editor-field input:focus-visible,
.editor-field textarea:focus-visible {
  border-color:#151513;
  outline:1px solid #151513;
  outline-offset:1px;
}

.editor-group {
  display:grid;
  gap:10px;
  margin:0;
  padding:13px 0 14px;
  border:0;
  border-top:1px solid rgba(21,21,19,.18);
}

.editor-group legend { padding:0 8px 0 0; }
.editor-group--copy { gap:12px; }

.editor-range {
  display:grid;
  grid-template-columns:82px minmax(0,1fr) 48px;
  align-items:center;
  gap:8px;
  min-height:28px;
}

.editor-range input {
  width:100%;
  accent-color:#e96527;
  cursor:ew-resize;
}

.editor-range output {
  color:#151513;
  font:800 9px/1 var(--mono);
  text-align:right;
}

.editor-range--size { grid-template-columns:82px minmax(0,1fr) 86px; }
.editor-range > .editor-size-value {
  display:flex;
  align-items:center;
  gap:4px;
  min-width:0;
  color:#151513;
  letter-spacing:0;
  text-transform:none;
}
.editor-size-value input {
  min-width:0;
  height:32px;
  padding:3px 4px;
  border:1px solid rgba(21,21,19,.28);
  border-radius:1px;
  background:rgba(255,255,255,.48);
  color:#151513;
  font:700 11px/1.2 var(--mono);
  cursor:text;
}
.editor-size-value input:focus-visible { outline:2px solid #e96527; outline-offset:1px; }
.editor-size-value input:disabled { cursor:default; }

.layout-editor__hint {
  margin:2px 0 0;
  color:rgba(21,21,19,.55);
  font:650 9px/1.55 var(--mono);
}

.editor-text-reset {
  justify-self:start;
  min-height:32px;
  padding:5px 9px;
  border:1px solid rgba(21,21,19,.25);
  border-radius:2px;
  background:transparent;
  color:#151513;
  font:650 11px/1.4 var(--mono);
  cursor:pointer;
}
.editor-text-reset:focus-visible { outline:2px solid #e96527; outline-offset:3px; }
.editor-text-reset:disabled { opacity:.4; cursor:default; }
#editor-typography-controls .editor-range:has(input:disabled) { opacity:.45; }

.layout-editor__actions {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-top:1px solid rgba(21,21,19,.22);
}

.layout-editor__actions button {
  min-height:42px;
  padding:6px;
  color:#151513;
  border:0;
  border-right:1px solid rgba(21,21,19,.22);
  background:transparent;
  font:800 9px/1.2 var(--mono);
  cursor:pointer;
}

.layout-editor__actions button:last-child { border-right:0; }
.layout-editor__actions button:hover,
.layout-editor__actions button:focus-visible { color:#f5f2e9; background:#151513; outline:0; }

.layout-editor__status {
  min-height:24px;
  padding:7px 12px 6px;
  color:rgba(21,21,19,.58);
  border-top:1px solid rgba(21,21,19,.18);
  font:750 8px/1.2 var(--mono);
  letter-spacing:.08em;
  text-align:right;
}

.layout-editor-open .artifact,
.layout-editor-open .manifesto {
  cursor:crosshair;
  pointer-events:auto;
}

.layout-editor-open .artifact.is-editor-selected .artifact-object::after,
.layout-editor-open .manifesto.is-editor-selected::after {
  position:absolute;
  z-index:90;
  inset:-10px;
  display:block;
  content:"";
  border:1px dashed rgba(21,21,19,.62);
  pointer-events:none;
}

.layout-editor-open .artifact.is-editor-selected .artifact-object::before,
.layout-editor-open .manifesto.is-editor-selected::before {
  position:absolute;
  z-index:91;
  top:-15px;
  left:-10px;
  display:block;
  padding:3px 5px;
  content:"EDIT TARGET";
  color:#f5f2e9;
  background:#151513;
  font:800 7px/1 var(--mono);
  letter-spacing:.08em;
  pointer-events:none;
}

/* V77: editor markers must not reuse the retired full-size paper/tape geometry. */
.layout-editor-open .manifesto.is-editor-selected::before,
.layout-editor-open .manifesto.is-editor-selected::after {
  width:auto;
  height:auto;
  box-shadow:none;
  clip-path:none;
  transform:none;
}
.layout-editor-open .manifesto.is-editor-selected::before {
  inset:-15px auto auto -10px;
  width:max-content;
  white-space:nowrap;
}
.layout-editor-open .manifesto.is-editor-selected::after {
  inset:-10px;
  background:transparent;
}

/* Independent text handles, with no added overlay or filled pseudo-element. */
.layout-editor-open .manifesto [data-editor-text-role] {
  position:relative;
  pointer-events:auto;
  cursor:grab;
  touch-action:none;
}
.layout-editor-open .manifesto .is-editor-text-selected {
  outline:1px dashed #b95b32;
  outline-offset:4px;
}

.reader-open .layout-editor,
.reader-open .layout-editor-toggle { display:none; }

@media (max-width:767px) {
  .layout-editor-toggle {
    right:12px;
    bottom:12px;
    min-width:132px;
  }

  .layout-editor {
    top:auto;
    right:8px;
    bottom:8px;
    width:calc(100vw - 16px);
    max-height:calc(100svh - 74px);
  }
}

@media (prefers-reduced-motion:reduce) {
  .layout-editor-toggle,
  .layout-editor { transition:none; }
}

/* V47 / dark industrial presentation plate with a clean white 16:9 paper. */
.chapter-view.is-presentation {
  background:#d8d5cc;
}

.chapter-view.is-presentation::before {
  background:
    radial-gradient(circle at 50% 42%,rgba(255,255,255,.2),transparent 58%),
    linear-gradient(90deg,rgba(24,24,22,.055) 1px,transparent 1px),
    linear-gradient(rgba(24,24,22,.055) 1px,transparent 1px);
  background-size:auto,72px 72px,72px 72px;
}

.chapter-view.is-presentation .reader-stage::after {
  color:rgba(22,22,20,.5);
  content:"HTML PPT / DARK PLATE / WHITE PAPER";
}

.carrier-presentation-window {
  width:min(1240px,calc(100vw - 72px),calc((100svh - 110px) * 1.68));
  aspect-ratio:1.68 / 1;
  filter:drop-shadow(0 30px 32px rgba(25,23,20,.34));
}

.presentation-dock {
  --dock-line:rgba(255,255,255,.16);
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:32px minmax(0,1fr) 50px;
  gap:10px;
  padding:22px 24px 20px;
  border:1px solid #080908;
  border-radius:3px;
  background:
    linear-gradient(135deg,rgba(255,255,255,.055),transparent 30%),
    repeating-linear-gradient(0deg,rgba(255,255,255,.018) 0 1px,transparent 1px 4px),
    #171918;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.09),
    inset 0 0 0 6px #101211,
    inset 0 0 34px rgba(0,0,0,.58),
    0 5px 0 #090a09,
    0 11px 24px rgba(22,20,18,.28);
}

.presentation-dock::before {
  display:none;
}

.presentation-dock::after {
  inset:8px;
  border-color:rgba(255,255,255,.075);
  border-radius:1px;
}

.dock-screw {
  width:8px;
  height:8px;
  border-color:#050605;
  background:radial-gradient(circle at 38% 35%,#838683,#303230 48%,#090a09 72%);
  box-shadow:0 0 0 1px rgba(255,255,255,.1);
}

.dock-screw::after {
  top:3px;
  background:#111210;
}

.dock-register {
  grid-column:1;
  grid-row:1;
  padding:0 10px;
  color:rgba(248,247,242,.78);
  border-color:rgba(255,255,255,.14);
  background:#0e100f;
}

.dock-register span:last-child::before {
  background:#ee6a29;
  box-shadow:0 0 0 1px #050605,0 0 8px rgba(238,106,41,.3);
}

.presentation-screen {
  grid-column:1;
  grid-row:2;
  align-self:center;
  justify-self:center;
  width:auto;
  height:100%;
  max-width:94%;
  aspect-ratio:16 / 9;
  overflow:visible;
  border:1px solid rgba(255,255,255,.92);
  border-radius:0;
  background:#fff;
  box-shadow:
    0 0 0 6px #090b0a,
    0 0 0 7px rgba(255,255,255,.12),
    0 14px 22px rgba(0,0,0,.34),
    inset 0 0 20px rgba(42,39,34,.035);
}

.presentation-screen::before {
  position:absolute;
  z-index:8;
  top:-19px;
  left:50%;
  width:clamp(120px,18%,214px);
  height:34px;
  content:"";
  border:1px solid #575b58;
  border-radius:3px 3px 1px 1px;
  background:
    radial-gradient(circle at 13px 50%,#2e302f 0 2px,#c7cac6 2.5px 5px,#5d615e 5.5px 6px,transparent 6.5px),
    radial-gradient(circle at calc(100% - 13px) 50%,#2e302f 0 2px,#c7cac6 2.5px 5px,#5d615e 5.5px 6px,transparent 6.5px),
    linear-gradient(180deg,#d8dbd7 0,#858a86 46%,#5e625f 50%,#aeb2ae 100%);
  box-shadow:
    inset 0 1px rgba(255,255,255,.72),
    inset 0 -2px rgba(25,27,26,.32),
    0 5px 7px rgba(0,0,0,.3);
  transform:translateX(-50%);
  clip-path:polygon(8% 0,92% 0,100% 24%,100% 100%,0 100%,0 24%);
}

.presentation-screen::after {
  inset:10px;
  border-color:rgba(24,24,22,.075);
}

.presentation-placeholder {
  color:#151513;
  background-color:#fff;
  background-image:
    linear-gradient(rgba(36,35,31,.045) 1px,transparent 1px),
    linear-gradient(90deg,rgba(36,35,31,.04) 1px,transparent 1px);
  background-size:100% 16.6667%,12.5% 100%;
}

.presentation-placeholder-copy p {
  background:#151715;
}

.presentation-sidebar,
.presentation-cork,
.presentation-ticket { display:none; }

.presentation-console {
  grid-column:1;
  grid-row:3;
  grid-template-columns:1.4fr 1fr 1fr;
  border-color:rgba(255,255,255,.14);
  background:#0e100f;
}

.presentation-console > span {
  min-height:100%;
  justify-content:center;
  padding:8px 12px;
  color:rgba(248,247,242,.78);
  border-right-color:rgba(255,255,255,.12);
}

.presentation-console small { color:rgba(248,247,242,.38); }

@media (max-width:760px) {
  .carrier-presentation-window {
    width:min(calc(100vw - 24px),calc((100svh - 108px) * 1.68));
    aspect-ratio:1.68 / 1;
  }

  .presentation-dock {
    grid-template-columns:minmax(0,1fr);
    grid-template-rows:20px minmax(0,1fr) 34px;
    gap:6px;
    padding:13px 14px 12px;
  }

  .presentation-dock::before { top:-8px; width:92px; height:11px; }
  .presentation-screen { max-width:96%; }
  .presentation-console { grid-template-columns:1.3fr 1fr 1fr; }
  .presentation-console > span { padding:4px 5px; }
}

/* V49 / warm folder palette, expanded paper and a refined clipboard clamp. */
.chapter-view.is-presentation {
  background:#e7e3da;
}

.carrier-presentation-window {
  width:min(1240px,calc(100vw - 72px),calc((100svh - 110px) * 1.64));
  aspect-ratio:1.64 / 1;
}

.presentation-dock {
  --dock-line:rgba(245,231,211,.2);
  grid-template-rows:32px minmax(0,1fr);
  padding:21px 23px;
  border:1px solid rgba(50,42,33,.58);
  border-radius:14px;
  background:
    linear-gradient(135deg,rgba(226,184,132,.16),transparent 31%),
    repeating-linear-gradient(0deg,rgba(255,255,255,.017) 0 1px,transparent 1px 4px),
    linear-gradient(145deg,#40382f,#2b2823 58%,#383027);
  box-shadow:
    inset 0 0 0 1px rgba(255,244,226,.09),
    inset 0 12px 28px rgba(255,216,165,.035),
    0 4px 0 rgba(77,63,48,.48),
    0 20px 36px rgba(48,40,31,.24);
}

.presentation-dock::after {
  inset:9px;
  border-color:rgba(244,225,199,.08);
  border-radius:8px;
}

.dock-screw {
  border-color:#504c45;
  background:radial-gradient(circle at 38% 35%,#eee8dc 0 10%,#a6a39c 26%,#575954 54%,#262724 76%);
  box-shadow:0 0 0 1px rgba(255,244,225,.13),0 1px 2px rgba(0,0,0,.25);
}

.dock-register,
.presentation-console {
  color:rgba(251,244,233,.78);
  border-color:rgba(242,223,195,.17);
  border-radius:6px;
  background:rgba(20,19,17,.48);
}

.dock-register {
  padding-inline:12px;
}

.presentation-screen {
  width:100%;
  height:auto;
  max-width:none;
  justify-self:stretch;
  border:1px solid rgba(95,80,62,.36);
  border-radius:8px;
  background:#fbfaf6;
  box-shadow:
    0 0 0 2px rgba(22,20,17,.24),
    0 15px 25px rgba(10,9,8,.28),
    inset 0 0 18px rgba(90,70,48,.035);
}

.presentation-screen::before {
  top:-17px;
  width:clamp(172px,24%,278px);
  height:36px;
  border:1px solid #666660;
  border-radius:7px 7px 4px 4px;
  background:
    radial-gradient(circle at 18px 56%,#3f413e 0 2px,#d4d3cc 2.5px 5px,#62645f 5.5px 6px,transparent 6.5px),
    radial-gradient(circle at calc(100% - 18px) 56%,#3f413e 0 2px,#d4d3cc 2.5px 5px,#62645f 5.5px 6px,transparent 6.5px),
    linear-gradient(180deg,transparent 0 38%,rgba(37,39,37,.42) 40% 52%,transparent 54%),
    repeating-linear-gradient(90deg,rgba(255,255,255,.08) 0 1px,rgba(64,66,63,.035) 1px 3px),
    linear-gradient(180deg,#e4e2dc 0,#a5a6a1 42%,#696c68 53%,#c3c2bc 100%);
  box-shadow:
    inset 0 1px rgba(255,255,255,.76),
    inset 0 -2px rgba(34,36,34,.26),
    0 4px 7px rgba(0,0,0,.24);
  clip-path:polygon(7% 0,93% 0,100% 22%,100% 100%,0 100%,0 22%);
}

.presentation-screen::after {
  inset:9px;
  border-color:rgba(61,51,40,.065);
  border-radius:4px;
}

.presentation-placeholder {
  border-radius:7px;
  background-color:#fbfaf6;
}

.presentation-console > span {
  border-right-color:rgba(242,223,195,.14);
}

.presentation-console small {
  color:rgba(251,244,233,.42);
}

.presentation-console {
  display:none;
}

@media (max-width:760px) {
  .carrier-presentation-window {
    width:min(calc(100vw - 24px),calc((100svh - 108px) * 1.5));
    aspect-ratio:1.5 / 1;
  }

  .presentation-dock {
    grid-template-rows:20px minmax(0,1fr);
    padding:13px 14px;
    border-radius:9px;
  }

  .presentation-screen {
    width:100%;
    max-width:none;
    border-radius:5px;
  }
  .presentation-screen::before {
    top:-11px;
    width:116px;
    height:24px;
    border-radius:5px 5px 3px 3px;
    background:
      radial-gradient(circle at 12px 56%,#3f413e 0 1.5px,#d4d3cc 2px 3.5px,#62645f 4px 4.5px,transparent 5px),
      radial-gradient(circle at calc(100% - 12px) 56%,#3f413e 0 1.5px,#d4d3cc 2px 3.5px,#62645f 4px 4.5px,transparent 5px),
      linear-gradient(180deg,transparent 0 38%,rgba(37,39,37,.4) 40% 52%,transparent 54%),
      linear-gradient(180deg,#e4e2dc,#858782 54%,#c3c2bc);
  }
}

/* V50 / grid-aligned navigation and collision-safe home composition. */
.home-view {
  padding-top:calc(44px + clamp(16px,2vw,24px));
}

.site-header {
  top:0;
  width:min(var(--field-max),calc(100vw - (2 * var(--field-edge))));
  max-width:none;
  height:44px;
  border-radius:0 0 18px 18px;
}

@media (min-width:1200px) {
  .artifact--receipt {
    margin:100px 72px 0 0;
  }
}

@media (max-width:767px) {
  .site-header {
    grid-template-columns:minmax(0,1fr) 54px;
    overflow:hidden;
  }

  .site-header .header-meta { display:none; }

  .site-header .menu-trigger {
    grid-column:2;
    width:54px;
    min-width:54px;
    padding:0;
    justify-content:center;
  }

  .site-header .menu-trigger span,
  .map-note--status { display:none; }

  .manifesto h1 {
    font-size:clamp(36px,10.4vw,44px);
    letter-spacing:-.068em;
  }

  .layout-editor-toggle {
    width:44px;
    min-width:44px;
    padding:0;
    justify-content:center;
  }

  .layout-editor-toggle span { display:none; }
}

/* V51 / keep every project label clear of the title and neighboring objects. */
@media (min-width:1200px) {
  .artifact--book {
    margin:159px 0 0 15px;
  }

  .artifact--receipt {
    margin:100px 52px 0 0;
  }

  .artifact--book .artifact-label {
    translate:calc(var(--editor-label-x,0px) - 32px) calc(var(--editor-label-y,0px) - 6px);
  }

  .artifact--receipt .artifact-label {
    translate:calc(var(--editor-label-x,0px) - 90px) var(--editor-label-y,0px);
  }

  .artifact--skills .artifact-label {
    translate:var(--editor-label-x,0px) calc(var(--editor-label-y,0px) - 20px);
  }

  .artifact--workbook .artifact-label {
    translate:calc(var(--editor-label-x,0px) - 38px) var(--editor-label-y,0px);
  }
}

/* V55 / responsive visual editor for canvas, objects, labels and doodles. */
.artifact-visual {
  rotate:var(--editor-rotate,0deg);
  scale:var(--editor-scale,1);
}

.manifesto,
.artifact-doodle {
  translate:var(--editor-x,0px) var(--editor-y,0px);
  rotate:var(--editor-rotate,0deg);
  scale:var(--editor-scale,1);
}

@media (min-width:1200px) {
  .course-map {
    width:min(var(--editor-field-max,var(--field-max)),100%);
    height:max(var(--editor-canvas-height,900px),calc(100svh - 88px));
    min-height:var(--editor-canvas-height,900px);
    margin-inline:auto;
  }

  .site-header {
    width:min(var(--editor-field-max,var(--field-max)),calc(100vw - (2 * var(--field-edge))));
  }
}

@media (min-width:768px) and (max-width:1199px) {
  .course-map {
    width:min(var(--editor-field-max,1199px),100%);
    min-height:var(--editor-canvas-height,2090px);
    margin-inline:auto;
  }
}

@media (max-width:767px) {
  .course-map {
    width:min(var(--editor-field-max,767px),100%);
    min-height:var(--editor-canvas-height,900px);
    margin-inline:auto;
  }
}

.layout-editor-toggle {
  min-width:158px;
  border-color:#e96527;
  box-shadow:0 12px 28px rgba(34,31,26,.22),inset 3px 0 0 #e96527;
}

.layout-editor-toggle span {
  font-size:11px;
  letter-spacing:.1em;
}

.layout-editor {
  width:min(382px,calc(100vw - 36px));
}

.editor-profile {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 0 13px;
  padding:9px 10px;
  color:rgba(21,21,19,.58);
  border:1px solid rgba(21,21,19,.18);
  background:rgba(255,255,255,.3);
  font:750 8px/1 var(--mono);
  letter-spacing:.07em;
}

.editor-profile b {
  color:#151513;
  font-size:9px;
}

.editor-field select optgroup {
  color:#6e6c66;
  font-style:normal;
}

.layout-editor__actions {
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.layout-editor__actions button:nth-child(n+4) {
  border-top:1px solid rgba(21,21,19,.22);
}

.layout-editor__actions .editor-action-wide {
  grid-column:span 2;
}

.layout-editor__actions button:disabled {
  cursor:not-allowed;
  opacity:.34;
}

.layout-editor-open .artifact-doodle {
  pointer-events:auto;
  cursor:grab;
}

.layout-editor-open .artifact,
.layout-editor-open .manifesto {
  cursor:grab;
}

.layout-editor-dragging,
.layout-editor-dragging * {
  cursor:grabbing!important;
  user-select:none!important;
}

.layout-editor-open .artifact-doodle.is-editor-selected {
  outline:1px dashed rgba(21,21,19,.68);
  outline-offset:8px;
}

.layout-editor-open .artifact-doodle.is-editor-selected::selection {
  background:transparent;
}

.layout-editor-open .course-map.is-editor-selected {
  outline:2px dashed rgba(233,101,39,.8);
  outline-offset:-9px;
}

@media (max-width:767px) {
  .layout-editor-toggle {
    min-width:44px;
    box-shadow:0 10px 22px rgba(34,31,26,.2),inset 3px 0 0 #e96527;
  }
}

@media (prefers-reduced-motion:reduce) {
  .artifact-visual,
  .manifesto,
  .artifact-doodle { transition:none!important; }
}

/* V56 / keep the editing panel out of the way of whichever side is being adjusted. */
.layout-editor.is-docked-left {
  right:auto;
  left:18px;
}

.layout-editor__heading-actions {
  display:flex!important;
  align-items:center;
  gap:6px!important;
}

.layout-editor__heading-actions button {
  width:32px;
  height:32px;
  font-size:19px;
}

.layout-editor.is-collapsed {
  width:min(254px,calc(100vw - 36px));
  grid-template-rows:auto;
}

.layout-editor.is-collapsed .layout-editor__body,
.layout-editor.is-collapsed .layout-editor__actions,
.layout-editor.is-collapsed .layout-editor__status {
  display:none;
}

@media (max-width:719px) {
  .layout-editor.is-docked-left {
    left:12px;
  }

  .layout-editor:not(.is-collapsed) {
    right:12px;
    left:12px;
    width:auto;
  }
}

/* Chapter 06 only: use the existing dock with a true 16:9 content viewport. */
.is-video-course .carrier-presentation-window {
  width:min(1240px,calc(100vw - 72px),calc((100svh - 202px) * 1.7777778 + 48px));
  aspect-ratio:auto;
}

.is-video-course .carrier-presentation-window > .lesson-page--left,
.is-video-course .presentation-dock {
  height:auto;
}

.is-video-course .presentation-dock {
  grid-template-rows:32px auto;
}

.is-video-course .presentation-screen {
  aspect-ratio:16 / 9;
  border:0;
}

.is-video-course .presentation-embed {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border-radius:inherit;
}

@media (max-width:760px) {
  .is-video-course .carrier-presentation-window {
    width:min(calc(100vw - 56px),calc((100svh - 174px) * 1.7777778 + 30px));
  }

  .is-video-course .presentation-dock { grid-template-rows:20px auto; }
}

/* Small clear block in the open cell beside the Skill keyring. */
.artifact--brick {
  --art-w:88px;
  --art-h:88px;
  --label-shift:0px;
  --node-label-width:146px;
}

.artifact--brick .artifact-visual {
  --base-rotate:0deg;
  --hover-rotate:-1deg;
  width:88px;
  height:88px;
  filter:drop-shadow(0 6px 5px rgba(52,45,36,.15));
}

.artifact--brick:hover .artifact-visual,
.artifact--brick:focus-within .artifact-visual {
  filter:drop-shadow(0 9px 7px rgba(52,45,36,.18));
}

@media (min-width:1200px) {
  .artifact--brick {
    grid-column:6 / 7;
    grid-row:4;
    align-self:center;
    justify-self:end;
    height:88px;
    top:20px;
    margin:0;
  }

  .artifact--brick .artifact-label {
    opacity:0;
    transition:opacity 210ms ease;
  }

  .artifact--brick:hover .artifact-label,
  .artifact--brick:focus-within .artifact-label,
  .layout-editor-open .artifact--brick.is-editor-selected .artifact-label {
    opacity:1;
  }
}

@media (min-width:768px) and (max-width:1199px) {
  .artifact--brick {
    grid-column:1 / 4;
    grid-row:16 / 18;
    align-self:start;
    justify-self:center;
    margin:24px 0 0;
  }
}

@media (prefers-reduced-motion:reduce) {
  .artifact--brick .artifact-label { transition:none; }
}

/* Supplied masthead artwork shares the grid's width, including saved edits. */
.home-view {
  --masthead-scale:.6;
  padding-top:calc(clamp(28px,3.3vw,56px) * var(--masthead-scale));
}

.home-masthead {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  width:min(var(--editor-field-max,var(--field-max)),100%);
  margin:0 auto calc(clamp(32px,3.2vw,56px) * var(--masthead-scale));
}

.home-masthead img {
  display:block;
  height:auto;
  object-fit:contain;
}

.home-masthead__intro {
  width:calc(34% * var(--masthead-scale));
  max-width:calc(559px * var(--masthead-scale));
}

.home-masthead__logo {
  width:calc(22% * var(--masthead-scale));
  max-width:calc(357px * var(--masthead-scale));
}

@media (min-width:768px) and (max-width:1199px) {
  .home-masthead__intro { width:calc(46% * var(--masthead-scale)); }
  .home-masthead__logo { width:calc(26% * var(--masthead-scale)); }
}

@media (max-width:767px) {
  .home-view { padding-top:calc(24px * var(--masthead-scale)); }
  .home-masthead { gap:16px; margin-bottom:calc(28px * var(--masthead-scale)); }
  .home-masthead__intro { width:calc(60% * var(--masthead-scale)); }
  .home-masthead__logo { width:calc(30% * var(--masthead-scale)); }
}

/* V70 / eight columns × four rows; each numbered header spans two columns. */
.field-column-index {
  display:grid;
  grid-template-columns:repeat(8,minmax(0,1fr));
  width:min(var(--editor-field-max,var(--field-max)),100%);
  height:28px;
  margin-inline:auto;
  background:#100e0d;
  color:#eee9df;
  font:400 13px/1 var(--mono);
  letter-spacing:.08em;
}
.field-column-index span {
  grid-column:span 2;
  display:flex;
  align-items:center;
  padding-inline:16px;
  border-left:1px solid rgba(238,233,223,.22);
}
.field-column-index span:last-child { border-right:1px solid rgba(238,233,223,.22); }

.course-map--eight-four {
  container-type:inline-size;
  background-size:12.5% 100%,100% 25%;
}
.course-map--eight-four .artifact-label {
  translate:var(--editor-label-x,0px) var(--editor-label-y,0px);
}

@media (min-width:768px) {
  .course-map--eight-four {
    display:grid;
    height:var(--editor-canvas-height,1120px);
    min-height:1060px;
    padding:0;
    grid-template-columns:repeat(8,minmax(0,1fr));
    grid-template-rows:repeat(4,minmax(0,1fr));
  }
  .course-map--eight-four .map-note--top { grid-area:1 / 1 / 2 / 4; }
  .course-map--eight-four .map-note--status { grid-area:1 / 7 / 2 / 9; }
  .course-map--eight-four .map-note--bottom {
    grid-area:4 / 1 / 5 / 3;
    width:calc(100% - 32px);
    margin:0 16px 16px;
  }
  .course-map--eight-four .artifact {
    top:auto;
    right:auto;
    bottom:auto;
    left:auto;
    width:var(--art-w);
    height:auto;
    min-height:0;
    margin:0;
    align-self:start;
    justify-self:center;
  }
  .course-map--eight-four .artifact-label { --label-shift:20px; }
  .course-map--eight-four .artifact-object { gap:var(--node-label-gap); }
  .course-map--eight-four .artifact--book {
    grid-area:1 / 1 / 3 / 4;
    margin-top:94px;
  }
  .course-map--eight-four .artifact--receipt {
    grid-area:1 / 6 / 3 / 9;
    justify-self:end;
    margin:46px 30px 0 0;
  }
  .course-map--eight-four .artifact--manual {
    grid-area:3 / 1 / 5 / 3;
    margin-top:56px;
  }
  .course-map--eight-four .artifact--skills {
    --art-w:min(300px,23cqw);
    --art-h:calc(var(--art-w) * 319 / 300);
    grid-area:3 / 7 / 5 / 9;
    margin-top:56px;
  }
  .course-map--eight-four .artifact--video {
    grid-area:4 / 3 / 5 / 5;
    align-self:center;
  }
  .course-map--eight-four .artifact--workbook {
    --art-w:min(256px,20cqw);
    --art-h:calc(var(--art-w) * 186 / 256);
    --node-label-gap:44px;
    grid-area:4 / 5 / 5 / 7;
    align-self:center;
  }
  .course-map--eight-four .artifact--brick {
    grid-area:3 / 6 / 4 / 7;
    align-self:end;
    margin-bottom:8px;
  }
  .course-map--eight-four .artifact--brick .artifact-label {
    --label-shift:0px;
    opacity:1;
  }
  .course-map--eight-four .manifesto {
    grid-area:2 / 3 / 4 / 7;
    width:calc(100% - 32px);
    max-width:700px;
    margin:80px 0 0;
    padding:0;
    align-self:center;
    justify-self:center;
    text-align:left;
  }
  .course-map--eight-four .manifesto h1 {
    font-size:clamp(56px,5.2cqw,76px);
    line-height:.88;
    letter-spacing:-.065em;
    text-align:left;
  }
  .course-map--eight-four .manifesto > p:last-child {
    width:90%;
    max-width:58ch;
    margin:22px 0 0;
    font-size:12px;
  }
  .course-map--eight-four .artifact-doodle {
    top:auto;
    right:auto;
    bottom:auto;
    left:auto;
    align-self:start;
    justify-self:center;
    margin:0;
  }
  .course-map--eight-four .artifact-doodle--book { grid-area:1 / 2 / 2 / 4; margin-top:58px; }
  .course-map--eight-four .artifact-doodle--receipt { grid-area:1 / 5 / 2 / 6; margin-top:116px; }
  .course-map--eight-four .artifact-doodle--skills { grid-area:3 / 7 / 4 / 9; margin-top:24px; }
  .course-map--eight-four .artifact-doodle--skills::before,
  .course-map--eight-four .artifact-doodle--skills::after { display:none; }
}

@media (min-width:768px) and (max-width:1199px) {
  .course-map--eight-four { min-height:1800px; }
  .course-map--eight-four .manifesto {
    grid-area:1 / 1 / 2 / 9;
    width:calc(100% - 64px);
    max-width:820px;
    margin:32px 0 0;
    align-self:center;
  }
  .course-map--eight-four .manifesto h1 { font-size:clamp(52px,8cqw,84px); }
  .course-map--eight-four .artifact--book {
    --art-w:min(410px,43cqw);
    --art-h:calc(var(--art-w) * 278 / 410);
    grid-area:2 / 1 / 3 / 5;
    margin:48px 0 0;
  }
  .course-map--eight-four .artifact--receipt {
    --art-w:min(350px,40cqw);
    --art-h:calc(var(--art-w) * 430 / 350);
    grid-area:2 / 5 / 3 / 9;
    justify-self:center;
    margin:0;
  }
  .course-map--eight-four .artifact--manual { grid-area:3 / 1 / 4 / 5; margin:44px 0 0; }
  .course-map--eight-four .artifact--skills {
    --art-w:min(300px,40cqw);
    grid-area:3 / 5 / 4 / 9;
    margin:64px 0 0;
  }
  .course-map--eight-four .artifact--video {
    --art-w:min(372px,42cqw);
    --art-h:calc(var(--art-w) * 206 / 372);
    grid-area:4 / 1 / 5 / 5;
    align-self:start;
    margin:84px 0 0;
  }
  .course-map--eight-four .artifact--workbook {
    --art-w:256px;
    grid-area:4 / 5 / 5 / 9;
    align-self:start;
    margin:84px 0 0;
  }
  .course-map--eight-four .artifact--brick { grid-area:3 / 3 / 4 / 5; align-self:end; margin-bottom:0; }
  .course-map--eight-four .artifact-doodle--book { grid-area:2 / 1 / 3 / 5; margin-top:12px; }
  .course-map--eight-four .artifact-doodle--receipt { display:none; }
  .course-map--eight-four .artifact-doodle--skills { grid-area:3 / 5 / 4 / 9; margin-top:32px; }
  .course-map--eight-four .map-note--bottom { grid-area:4 / 1 / 5 / 5; }
}

@media (max-width:767px) {
  .field-column-index { height:26px; font-size:11px; }
  .field-column-index span { padding-inline:12px; }
  .course-map--eight-four {
    min-height:var(--editor-canvas-height,1000px);
    grid-template-columns:repeat(8,minmax(0,1fr));
    grid-template-rows:auto auto minmax(0,1fr) auto;
  }
  .course-map--eight-four .manifesto { grid-area:1 / 1 / 2 / 9; margin-top:72px; }
  .course-map--eight-four .artifacts-track { grid-area:2 / 1 / 3 / 9; }
  .course-map--eight-four .map-note--top { grid-area:1 / 1 / 2 / 5; }
  .course-map--eight-four .map-note--status { grid-area:1 / 5 / 2 / 9; }
  .course-map--eight-four .map-note--bottom { grid-area:4 / 1 / 5 / 9; }
  .course-map--eight-four .map-note--status::after { content:"SWIPE / TAP TO EXPLORE\A 8 × 4 SYSTEM GRID"; }
}

/* V71 / square cells. The background is a finite 2:1 board, not a stretched texture. */
.course-map--eight-four {
  background-image:none;
  border:0;
}
.course-map--eight-four::before {
  display:block;
  position:absolute;
  z-index:0;
  inset:0 0 auto;
  width:100%;
  height:auto;
  aspect-ratio:2 / 1;
  border:0;
  outline:1px solid var(--board-line);
  outline-offset:-1px;
  background-image:linear-gradient(to right,var(--board-line) 1px,transparent 1px),linear-gradient(to bottom,var(--board-line) 1px,transparent 1px);
  background-size:12.5% 100%,100% 25%;
  pointer-events:none;
}
@media (min-width:1200px) {
  .course-map--eight-four {
    height:auto;
    min-height:0;
    aspect-ratio:2 / 1;
  }
  .course-map--eight-four .artifact-label { --label-shift:0px; }
  .course-map--eight-four .artifact--book {
    --art-w:23cqw;
    --art-h:calc(var(--art-w) * 278 / 410);
    margin-top:4cqw;
  }
  .course-map--eight-four .artifact--receipt {
    --art-w:17cqw;
    --art-h:calc(var(--art-w) * 430 / 350);
    grid-area:1 / 7 / 3 / 9;
    justify-self:center;
    margin:3cqw 0 0;
  }
  .course-map--eight-four .artifact--manual {
    --art-w:13cqw;
    --art-h:calc(var(--art-w) * 228 / 218);
    margin-top:2cqw;
  }
  .course-map--eight-four .artifact--skills {
    --art-w:11cqw;
    grid-area:3 / 7 / 5 / 9;
    align-self:end;
    margin:0 0 2cqw;
  }
  .course-map--eight-four .artifact--video {
    --art-w:20cqw;
    --art-h:calc(var(--art-w) * 206 / 372);
    grid-area:3 / 3 / 5 / 5;
    align-self:end;
    margin:0 0 2cqw;
  }
  .course-map--eight-four .artifact--workbook {
    --art-w:13cqw;
    --node-label-gap:28px;
    grid-area:3 / 5 / 5 / 7;
    align-self:end;
    margin:0 0 2cqw;
  }
  .course-map--eight-four .artifact--brick {
    --art-w:52px;
    --art-h:52px;
    grid-area:1 / 5 / 2 / 6;
    align-self:start;
    margin:3cqw 0 0;
  }
  .course-map--eight-four .manifesto {
    grid-area:2 / 4 / 3 / 7;
    align-self:start;
    width:calc(100% - 24px);
    margin:0;
  }
  .course-map--eight-four .manifesto h1 { font-size:clamp(42px,4.1cqw,64px); }
  .course-map--eight-four .manifesto-code { margin-bottom:10px; }
  .course-map--eight-four .manifesto > p:last-child { width:100%; margin-top:14px; }
  .course-map--eight-four .artifact-doodle--book { margin-top:1.6cqw; }
  .course-map--eight-four .artifact-doodle--receipt { grid-area:1 / 6 / 2 / 7; margin-top:5cqw; }
  .course-map--eight-four .artifact-doodle--skills { margin-top:5.5cqw; }
}

/* Locally hosted OFL faces remain the editable-copy / failed-image fallback. */
@font-face {
  font-family:"Fuxi Terminal";
  src:url("assets/fonts/pixel/VT323-Regular.ttf") format("truetype");
  font-style:normal;
  font-weight:400;
  font-display:swap;
}
@font-face {
  font-family:"Fuxi Pixel Sans";
  src:url("assets/fonts/pixel/PixelifySans-Variable.ttf") format("truetype");
  font-style:normal;
  font-weight:400 700;
  font-display:swap;
}
.course-map .manifesto--pixel-type { container-type:inline-size; }
.course-map .manifesto--pixel-type h1 {
  display:grid;
  gap:.08em;
  width:100%;
  max-width:100%;
  margin:0;
  color:#11110f;
  font-family:"Fuxi Pixel Sans",monospace;
  font-size:clamp(28px,9cqw,64px);
  font-weight:400;
  line-height:1;
  letter-spacing:0;
  word-spacing:0;
  text-transform:none;
  text-shadow:none;
  font-synthesis:none;
  text-align:center;
}
.course-map .manifesto--pixel-type h1 > span {
  display:block;
  width:100%;
  white-space:nowrap;
}
.course-map .manifesto--pixel-type h1 > span:first-child {
  font-family:"Fuxi Terminal",monospace;
  font-size:1.75em;
  font-weight:400;
  line-height:var(--editor-text-line-height,.85);
  letter-spacing:var(--editor-text-letter-spacing,-.025em);
}
.course-map .manifesto--pixel-type h1 > span:nth-of-type(2) {
  font-size:1em;
  font-weight:700;
  line-height:var(--editor-text-line-height,1.1);
  letter-spacing:var(--editor-text-letter-spacing,-.035em);
}
.course-map .manifesto--pixel-type h1 > span:nth-of-type(3) {
  font-family:"Fuxi Terminal",monospace;
  font-size:1.5em;
  line-height:var(--editor-text-line-height,.9);
  letter-spacing:var(--editor-text-letter-spacing,.08em);
}
@media (min-width:768px) and (max-width:1199px) {
  .course-map .manifesto--pixel-type h1 { font-size:clamp(36px,6.5cqw,52px); }
}

/* V75 / rounded, stepped serif lettering. Real alpha; no blend mode or opacity. */
.course-map .manifesto--pixel-type h1 .title-artwork { display:none; }
.course-map .manifesto--pixel-type h1.has-title-artwork {
  display:block;
  position:relative;
}
.course-map .manifesto--pixel-type h1.has-title-artwork > .title-line {
  position:absolute;
  width:1px;
  height:1px;
  margin:0;
  padding:0;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
}
.course-map .manifesto--pixel-type h1.has-title-artwork .title-artwork {
  display:block;
  width:100%;
  height:auto;
  margin:0;
  pointer-events:none;
  user-select:none;
}

/* Chapter 07 only: original dock shell, one live browsing context. */
.is-site-collection .carrier-presentation-window {
  width: min(1800px, calc(100vw - 40px));
  height: min(1125px, calc((100vw - 40px) / 1.6), calc(100svh - 130px));
  min-height: 320px;
  aspect-ratio: auto;
}
.is-site-collection .presentation-screen::before,
.is-site-collection .presentation-screen::after { display: none; }
.is-site-collection .presentation-screen { height:100%; max-height:none; aspect-ratio:auto; align-self:stretch; }
.site-switch-label .sr-only { display:none; }
.site-workspace { height:100%; min-height:0; position:relative; background:#f5f2eb; }
.site-workspace.has-site { display:grid; grid-template-rows:42px minmax(0,1fr); }
.site-frame-area { min-height:0; background:#111; }
.site-frame-area:fullscreen { width:100vw; height:100dvh; }
.site-embed { pointer-events:auto; width:100%; height:100%; display:block; border:0; }
.site-toolbar { display:flex; gap:10px; align-items:center; padding:4px 10px; border-bottom:1px solid #c9c1b3; background:#eee9df; color:#332c23; font:11px/1.3 ui-monospace,monospace; }
.site-toolbar button,.site-toolbar select { min-height:32px; border:1px solid #bdb4a5; background:#f9f6ee; border-radius:4px; padding:4px 9px; cursor:pointer; color:inherit; font:inherit; }
.site-switch-label { flex:1; min-width:0; }
.site-toolbar select { width:100%; max-width:280px; }
.site-connection { white-space:nowrap; color:#635e53; }
.site-toolbar button:hover { background:#e2d6c1; }
.site-toolbar button:focus-visible,.site-toolbar select:focus-visible,.site-folder:focus-visible { outline:2px solid #b35b34; outline-offset:3px; }
.site-help { position:absolute; z-index:2; bottom:12px; left:12px; right:12px; padding:12px; margin:0; background:#fff4df; color:#34291e; border:1px solid #b7936a; font:13px/1.6 sans-serif; }
.site-help[hidden] { display:none; }
.site-help button { text-decoration:underline; cursor:pointer; }
.site-archive { height:100%; overflow:auto; padding:clamp(24px,4vw,64px); background:linear-gradient(#8572580b 1px,transparent 1px),#f5f2eb; background-size:100% 32px; color:#322c24; }
.site-archive header small,.site-archive footer { font:10px/1.5 ui-monospace,monospace; letter-spacing:1.5px; color:#776c5c; }
.site-archive h2 { margin:12px 0 8px; font:600 clamp(22px,2.4vw,36px)/1.3 sans-serif; letter-spacing:-.5px; }
.site-archive header p { font:13px/1.6 sans-serif; color:#766d60; margin:0; }
.site-folders { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(16px,2.8vw,40px); margin:52px 0 30px; }
.site-folder { position:relative; border:1px solid #b69872; border-radius:4px 9px 9px 9px; padding:18px; text-align:left; background:linear-gradient(115deg,#e6ceaa,#d6b88e); box-shadow:0 10px 18px #4d38221c,inset 0 1px 1px #fff8; cursor:pointer; transition:transform 200ms,box-shadow 200ms; }
.site-folder-tab { position:absolute; top:-22px; left:-1px; height:23px; width:44%; padding:6px 12px; background:#bd673d; border:1px solid #a95935; border-bottom:0; border-radius:6px 10px 0 0; color:#fff3df; font:10px/1 ui-monospace,monospace; }
.site-folder-sheet { display:block; padding:7px 7px 0; border:1px solid #9c876b; background:#f8f5eb; box-shadow:0 2px 4px #49372026; }
.site-folder-sheet img { display:block; width:100%; aspect-ratio:16/10; object-fit:cover; background:#282522; }
.site-folder-sheet>span { display:block; padding:10px 2px; font:9px/1 ui-monospace,monospace; letter-spacing:1px; color:#756750; }
.site-folder-caption { display:grid; gap:10px; padding:18px 2px 3px; }
.site-folder-caption b { min-height:2.6em; font:700 16px/1.3 sans-serif; }
.site-folder-caption>span { font:11px/1.6 sans-serif; color:#6a553e; }
.site-folder-caption i { font:10px/1.5 ui-monospace,monospace; font-style:normal; border-top:1px solid #a88a6355; padding-top:13px; letter-spacing:.8px; }
.site-archive footer { display:flex; justify-content:space-between; gap:12px; border-top:1px solid #bdb2a0; padding-top:16px; }
@media (hover:hover) and (pointer:fine) { .site-folder:hover { transform:translateY(-4px); box-shadow:0 14px 24px #4d38222c; } }
@media(max-width:760px) {
  .is-site-collection .carrier-presentation-window { width:calc(100vw - 16px); height:calc(100svh - 122px); }
  .is-site-collection .presentation-dock { padding:10px; grid-template-rows:20px minmax(0,1fr); }
  .site-folders { grid-template-columns:1fr; gap:42px; max-width:400px; margin-inline:auto; }
  .site-toolbar { gap:5px; padding-inline:5px; }
  .site-workspace.has-site { grid-template-rows:50px minmax(0,1fr); }
  .site-toolbar button { min-width:44px; min-height:44px; padding-inline:6px; }
  .site-toolbar select { min-height:44px; padding-inline:4px; font-size:10px; }
  .site-connection { display:none; }
  .site-archive footer { flex-direction:column; }
}
@media(prefers-reduced-motion:reduce) { .site-folder { transition:none; } .site-folder:hover { transform:none; } }

@media (hover:hover) and (pointer:fine) {
  .site-header .wordmark:hover,
  .site-header .menu-trigger:hover {
    color:#fffaf0;
    text-shadow:0 0 2px rgba(255,250,237,.95),0 0 10px rgba(255,214,162,.5),0 0 20px rgba(255,188,112,.22);
    background:rgba(255,233,205,.05);
  }
}

/* V80 / continuous reference ledger, independent of the editable course map. */
.resource-directory {
  --resource-rule: var(--board-line, rgba(49, 48, 43, .18));
  --resource-inset: clamp(20px, 2.6vw, 36px);
  container: resources / inline-size;
  width: min(var(--editor-field-max, var(--field-max)), calc(100% - (2 * var(--field-edge))));
  margin: 0 auto clamp(32px, 5vw, 72px);
  border: 1px solid var(--resource-rule);
  background: #e7e3da;
  color: #151513;
  font-family: var(--sans);
}
.reader-open .resource-directory { display: none; }
.resource-directory__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  min-height: 36px;
  padding: 10px var(--resource-inset);
  background: #100e0d;
  color: #eee9df;
  font: 11px/1.4 var(--mono);
  letter-spacing: 1.2px;
}
.resource-directory__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 36px var(--resource-inset) 32px;
}
.resource-directory__eyebrow {
  margin: 0 0 14px;
  color: #655b4f;
  font: 11px/1.5 var(--mono);
  letter-spacing: 1.1px;
}
.resource-directory__heading h2 {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  font: 750 clamp(28px, 3.2vw, 40px)/1.2 var(--sans);
  letter-spacing: -.8px;
}
.resource-directory__heading h2 > span {
  color: #af5939;
  font-size: .8em;
  font-weight: 400;
}
.resource-directory__intro p {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.7;
}
.resource-directory__intro > span {
  color: #655b4f;
  font-size: 12px;
  line-height: 1.6;
}
.resource-directory__list,
.resource-guide__grid { margin: 0; padding: 0; list-style: none; }
.resource-link {
  display: grid;
  grid-template-columns: 38px minmax(164px, 1.8fr) minmax(0, 3.3fr) 100px 24px;
  align-items: center;
  gap: 20px;
  min-height: 128px;
  padding: 26px var(--resource-inset);
  border-top: 1px solid var(--resource-rule);
  color: inherit;
  text-decoration: none;
  transition: background-color 200ms ease;
}
.resource-link > * { min-width: 0; }
.resource-number {
  align-self: start;
  padding-top: 6px;
  color: #655b4f;
  font: 12px/1.5 var(--mono);
  letter-spacing: 1px;
}
.resource-identity h3 {
  margin: 0 0 10px;
  font: 750 24px/1.25 var(--sans);
  letter-spacing: -.7px;
}
.resource-identity h3 > span {
  padding: 2px 4px;
  margin-left: -4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  transition: color 200ms ease, background-color 200ms ease;
}
.resource-url {
  display: block;
  color: #655b4f;
  font: 11px/1.6 var(--mono);
  overflow-wrap: anywhere;
}
.resource-summary {
  margin: 0;
  color: #504a42;
  font-size: 15px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.resource-summary code {
  padding: 1px 3px;
  border: 1px solid var(--resource-rule);
  color: #151513;
  font: .85em/1.5 var(--mono);
}
.resource-type {
  justify-self: start;
  padding: 5px 8px;
  border: 1px solid var(--resource-rule);
  color: #655b4f;
  font-size: 11px;
  line-height: 1.5;
}
.resource-open { font: 400 24px/1 var(--sans); text-align: right; }
.resource-link:focus-visible {
  outline: 2px solid #af5939;
  outline-offset: -3px;
  background: #f0ebe1;
}
.resource-link:focus-visible .resource-identity h3 > span {
  color: #fffaf0;
  background: #151513;
}
@media (hover: hover) and (pointer: fine) {
  .resource-link:hover { background: #f0ebe1; }
  .resource-link:hover .resource-identity h3 > span { color: #fffaf0; background: #151513; }
}
.resource-guide { border-top: 1px solid var(--resource-rule); }
.resource-guide > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding: 24px var(--resource-inset);
}
.resource-guide > header h3 { margin: 0; font-size: 18px; line-height: 1.4; }
.resource-guide > header > span {
  color: #655b4f;
  font: 10px/1.5 var(--mono);
  letter-spacing: 1px;
}
.resource-guide__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.resource-guide__grid > li {
  padding: 24px;
  border-top: 1px solid var(--resource-rule);
}
.resource-guide__grid > li + li { border-left: 1px solid var(--resource-rule); }
.resource-guide__code { color: #954d32; font: 10px/1.5 var(--mono); letter-spacing: .8px; }
.resource-guide__grid h4 { margin: 16px 0 10px; font-size: 15px; line-height: 1.6; }
.resource-guide__grid p { margin: 0; color: #655b4f; font-size: 13px; line-height: 1.8; }
.resource-directory__footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding: 16px var(--resource-inset);
  border-top: 1px solid var(--resource-rule);
  color: #655b4f;
  font: 10px/1.5 var(--mono);
  letter-spacing: .7px;
}
/* Respond to the actual shared field width, including custom editor widths. */
@container resources (max-width: 900px) {
  .resource-directory__heading { align-items: flex-start; flex-direction: column; }
  .resource-link {
    grid-template-columns: 28px minmax(0, 1fr) 24px;
    gap: 12px 16px;
  }
  .resource-number { grid-area: 1 / 1; }
  .resource-identity { grid-area: 1 / 2; }
  .resource-open { grid-area: 1 / 3; }
  .resource-summary { grid-area: 2 / 2 / 3 / 4; }
  .resource-type { grid-area: 3 / 2 / 4 / 4; }
  .resource-guide__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resource-guide__grid > li:nth-child(odd) { border-left: 0; }
}
@container resources (max-width: 540px) {
  .resource-directory__bar { letter-spacing: .4px; font-size: 10px; }
  .resource-directory__heading { padding-block: 28px; gap: 18px; }
  .resource-link { padding-block: 24px; gap: 12px; }
  .resource-identity h3 { font-size: 24px; }
  .resource-guide__grid { grid-template-columns: minmax(0, 1fr); }
  .resource-guide__grid > li + li { border-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .resource-link, .resource-identity h3 > span { transition: none; }
}

/* V81 / the original profile receipt and an adjacent, live-text reading slip. */
.chapter-view.is-full-receipt.is-receipt-pair {
  overflow-x: hidden;
  overflow-y: auto;
}
.chapter-view.is-receipt-pair .reader-stage {
  height: auto;
  min-height: calc(100svh - 62px);
  overflow: visible;
  align-items: start;
  padding: 34px 28px 56px;
}
.chapter-view.is-receipt-pair .reader-stage::after { display: none; }
.is-receipt-pair .carrier-receipt-profile {
  width: min(820px, 100%);
  max-width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
}
.is-receipt-pair .carrier-receipt-profile .lesson-page--left { height: auto; }
.receipt-pair {
  display: grid;
  grid-template-columns: clamp(240px, calc((100svh - 90px) * .29449), 340px) minmax(0, 380px);
  justify-content: center;
  align-items: start;
  gap: clamp(28px, 4vw, 56px);
}
.receipt-pair .receipt-profile-viewer {
  width: 100%;
  height: auto;
  transform: rotate(-1deg);
}
.receipt-pair .receipt-profile-viewer img { width: 100%; height: auto; }
.receipt-disc {
  display: grid;
  justify-items: center;
  align-content: center;
  width: 100%;
  margin-top: clamp(36px, 10vh, 110px);
  padding: 16px 8px 28px;
  background: transparent;
  color: #24201a;
  cursor: pointer;
}
.receipt-disc > img {
  display: block;
  width: min(100%, 340px);
  height: auto;
  filter: drop-shadow(5px 18px 13px rgba(48, 39, 28, .24));
  transform: rotate(-12deg);
  transition: transform 480ms cubic-bezier(.2,.8,.2,1), filter 480ms;
}
.receipt-disc:hover > img, .receipt-disc:focus-visible > img {
  transform: translateY(-7px) rotate(4deg);
  filter: drop-shadow(5px 24px 18px rgba(48, 39, 28, .28));
}
.receipt-disc__caption { display: grid; justify-items: center; gap: 12px; margin-top: 26px; }
.receipt-disc__caption small { font: 650 12px/1.4 var(--mono); letter-spacing: .08em; color: #686257; }
.receipt-disc__caption strong { font: 700 27px/1.3 var(--sans); letter-spacing: .02em; }
.receipt-disc__caption > span { font: 500 14px/1.5 var(--sans); color: #686257; }
.chapter-view.is-profile-notes { height: 100svh; min-height: 100svh; overflow: auto; }
.is-profile-notes .reader-stage { height: calc(100svh - 62px); min-height: 0; padding: 28px 24px 42px; display: grid; place-items: center; overflow: visible; }
.is-profile-notes .reader-stage::after, .is-profile-notes .page-controls,
.carrier-profile-notes::before, .carrier-profile-notes > .binding,
.carrier-profile-notes > .lesson-page--right, .carrier-profile-notes > .lesson-page--left::after { display: none; }
.carrier-profile-notes { display: block; width: min(1400px, 100%, calc((100svh - 170px) * 16 / 9)); height: auto; min-height: 0; aspect-ratio: auto; filter: none; perspective: none; }
.carrier-profile-notes > .lesson-page--left { display: block; width: 100%; height: auto; min-height: 0; padding: 0; overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.notes-pad { position: relative; border: 1px solid #b9aa91; border-radius: 7px 7px 2px 2px; background: #f5efe3; box-shadow: 0 3px 0 #c2b49b, 0 6px 0 #f4eddf, 0 8px 0 #c2b49b, 0 11px 0 #f4eddf, 0 22px 35px -12px #372d285e; isolation: isolate; }
.notes-pad__binding { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 36px; padding: 0 22px; border-radius: 6px 6px 0 0; border-bottom: 1px solid #4b3a29; color: #eee1cb; background: linear-gradient(#6b5440,#4b3b2e); font: 600 11px/1.3 var(--mono); letter-spacing: .08em; }
.notes-pad__frame { display: block; width: 100%; aspect-ratio: 16/9; border: 0; background: #f5efe3; }
@media (max-width: 700px) {
  .receipt-disc { margin-top: 0; }
  .receipt-disc > img { width: min(78vw, 270px); }
  .is-profile-notes .reader-stage { padding: 22px 12px 36px; align-items: start; }
  .carrier-profile-notes { width: 100%; }
  .notes-pad__binding { padding: 0 12px; font-size: 10px; }
  .notes-pad__binding > span:last-child { display: none; }
  .notes-pad__frame { aspect-ratio: auto; height: calc(100svh - 158px); min-height: 440px; }
}
@media (prefers-reduced-motion: reduce) {
  .receipt-disc > img { transition: none; }
}
.receipt-note {
  margin-top: 34px;
  padding: 28px 26px 22px;
  border: 1px solid rgba(50, 45, 38, .14);
  border-top: 2px dashed rgba(50, 45, 38, .28);
  border-bottom: 2px dashed rgba(50, 45, 38, .28);
  background: #f7f6f2;
  color: #1b1b18;
  box-shadow: 0 24px 28px -10px rgba(37, 31, 24, .25), 0 2px 3px rgba(37, 31, 24, .12);
  transform: rotate(.8deg);
  font-family: var(--mono), "PingFang SC", "Microsoft YaHei", sans-serif;
}
.receipt-note__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding-bottom: 18px;
  border-bottom: 1px dashed #85817a;
}
.receipt-note__header > span:first-child { font-size: 1.125rem; font-weight: 800; letter-spacing: -.5px; }
.receipt-note__header > span:last-child { font-size: .75rem; line-height: 1.5; color: #56534d; }
.receipt-note h2 {
  margin: 22px 0;
  font-size: 1.5rem;
  font-weight: 750;
  line-height: 1.55;
  letter-spacing: 0;
  text-wrap: pretty;
}
.receipt-note__items { margin: 0; padding: 0; list-style: none; }
.receipt-note__items > li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  padding: 16px 0;
  border-top: 1px dashed #b6b1a9;
}
.receipt-note__number { padding-top: 3px; color: #56534d; font-size: .8125rem; line-height: 1.8; }
.receipt-note__items p { margin: 0; font-size: 1rem; line-height: 1.85; overflow-wrap: anywhere; }
.receipt-note__footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px dashed #85817a;
  color: #56534d;
  font-size: .75rem;
  line-height: 1.6;
}
@media (max-width: 700px) {
  .chapter-view.is-receipt-pair .reader-stage { padding: 30px 20px 48px; }
  .receipt-pair { grid-template-columns: minmax(0, 380px); gap: 28px; }
  .receipt-pair .receipt-profile-viewer { width: min(100%, 300px); justify-self: center; transform: none; }
  .receipt-note { margin-top: 0; transform: none; }
}
@media (max-width: 380px) {
  .receipt-note { padding-inline: 20px; }
  .receipt-note h2 { font-size: 1.375rem; }
}

/* V84 / let the reference library follow the visible sign-off, not an empty screen. */
.home-view { height: auto; min-height: 0; padding-bottom: 24px; }

/* V82 / supplied sign-off artwork, aligned with the editable field edges. */
.home-signoff {
  width: min(var(--editor-field-max, var(--field-max)), 100%);
  margin: 24px auto 0;
}
.home-signoff__artwork {
  display: block;
  width: 100%;
  aspect-ratio: 1703 / 160;
  overflow: hidden;
  cursor: zoom-in;
}
.home-signoff__artwork img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
}
.home-signoff__artwork:focus-visible { outline: 2px solid #af5939; outline-offset: 6px; }
@media (max-width: 767px) {
  .home-signoff { margin-top: 20px; }
}

/* V83 — restore the user's approved V79 photograph as a proportional board.
   Coordinates are percentages of the board width, not browser-local offsets.
   Chapter readers, the resource directory and sign-off remain unchanged. */
.course-map .manifesto > p:last-child:empty { display: none; }
.course-map .manifesto-code {
  text-transform: none;
  text-align: center;
  letter-spacing: -.06em;
}
@media (min-width: 768px) {
  .course-map--eight-four {
    display: block;
    height: auto;
    min-height: 0;
    aspect-ratio: 2 / 1;
    overflow: hidden;
  }
  .course-map--eight-four .artifacts-track { display: contents; }
  .course-map--eight-four .artifact {
    position: absolute;
    inset: auto;
    grid-area: auto;
    margin: 0;
    width: var(--art-w);
    height: auto;
    --node-label-gap: 1.45cqw;
    --node-label-width: 18cqw;
    --node-copy-gap: .55cqw;
  }
  .course-map--eight-four .artifact-visual {
    width: var(--art-w);
    height: var(--art-h);
  }
  .course-map--eight-four .artifact-label {
    margin: 0;
    width: var(--node-label-width);
    max-width: var(--node-label-width);
    min-height: 0;
    --label-shift: 0px;
    opacity: 1;
  }
  .course-map--eight-four .artifact-label small {
    font-size: .8cqw;
    line-height: 1.2;
  }
  .course-map--eight-four .artifact-label b {
    font-size: 1.15cqw;
    line-height: 1.15;
  }
  .course-map--eight-four .artifact--book {
    left: 5.8%; top: 7.2cqw;
    --art-w: 23cqw;
    --art-h: calc(var(--art-w) * 278 / 410);
  }
  .course-map--eight-four .artifact--receipt {
    left: 61.2%; top: -.4cqw;
    --art-w: 33.5cqw;
    --art-h: var(--art-w);
  }
  .course-map--eight-four .artifact--receipt .artifact-label {
    position: absolute; left: 21.7cqw; top: 24cqw;
  }
  .course-map--eight-four .artifact--manual {
    left: 15.9%; top: 29.2cqw;
    --art-w: 14.3cqw;
    --art-h: calc(var(--art-w) * 228 / 218);
    --node-label-gap: 1.55cqw;
  }
  .course-map--eight-four .artifact--video {
    left: 39.8%; top: 34.5cqw;
    --art-w: 20.5cqw;
    --art-h: calc(var(--art-w) * 710 / 1627);
    --node-label-gap: 1.7cqw;
  }
  .course-map--eight-four .artifact--video .artifact-label { left: 5.3cqw; }
  .course-map--eight-four .artifact--workbook {
    left: 62.9%; top: 30.8cqw;
    --art-w: 11.2cqw;
    --art-h: calc(var(--art-w) * 186 / 256);
    --node-label-gap: 2.75cqw;
  }
  .course-map--eight-four .artifact--workbook .artifact-label { left: 1.7cqw; }
  .course-map--eight-four .artifact--skills {
    left: 75.4%; top: 25cqw;
    --art-w: 20.5cqw;
    --art-h: calc(var(--art-w) * 319 / 300);
    --node-label-gap: .2cqw;
  }
  .course-map--eight-four .artifact--skills .artifact-label { left: 2.5cqw; }
  .course-map--eight-four .artifact--brick {
    left: 30.9%; top: 27.6cqw;
    --art-w: 6.6cqw;
    --art-h: var(--art-w);
  }
  .course-map--eight-four .artifact--brick .artifact-label {
    position: absolute; left: 0; top: 5.3cqw;
  }
  .course-map--eight-four .manifesto {
    position: absolute;
    grid-area: auto;
    left: 23%; top: 10.2cqw;
    width: 54%; max-width: none;
    margin: 0; padding: 0;
    text-align: center;
  }
  .course-map--eight-four .manifesto-code {
    margin: 0;
    font: 700 clamp(10px, 1.15cqw, 15px)/1.2 var(--mono);
    letter-spacing: -.06em;
  }
  .course-map--eight-four .manifesto > p:last-child:not(:empty) {
    width: 100%; margin: 1cqw 0 0; text-align: center;
  }
  .course-map--eight-four .artifact-doodle {
    display: block;
    position: absolute;
    inset: auto;
    grid-area: auto;
    margin: 0;
    font-size: .85cqw;
  }
  .course-map--eight-four .artifact-doodle--book { left: 18.6%; top: 2cqw; }
  .course-map--eight-four .artifact-doodle--receipt { left: 2.7%; top: 33.2cqw; }
  .course-map--eight-four .artifact-doodle--skills { left: 66.8%; top: 2.5cqw; }
  .course-map--eight-four .artifact-doodle--workbook,
  .course-map--eight-four .artifact-doodle--poster { display: none; }
  .course-map--eight-four .map-note { position: absolute; font-size: .8cqw; }
  .course-map--eight-four .map-note--top { left: 1.2%; top: 1.2cqw; margin: 0; }
  .course-map--eight-four .map-note--status { right: 1.2%; top: 1.2cqw; margin: 0; }
  .course-map--eight-four .map-note--bottom {
    left: 1.25%; bottom: 1.25cqw; width: 22.5%; margin: 0;
  }
}
