/* Reconstructed from final kit values, without copying the original stylesheet. */
:root { color-scheme: dark; --night: #101c24; --petrol: #1c3039; --paper: #eee7da; --ink: #1b2b34; --coral: #df7254; --aqua: #83bfc0; --muted: #b5bdb8; --line: #a3b3ad30; --display: 'Bricolage Grotesque',sans-serif; --body: 'DM Sans',sans-serif; --hand: 'Caveat',cursive; --ease: cubic-bezier(.16,1,.3,1); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 26px; }
body { margin: 0; background: var(--night); color: var(--paper); font: 16px/1.65 var(--body); overflow-x: clip; }
h1,h2,h3,h4,p { margin-top: 0; }
h1,h2,h3,h4 { font-family: var(--display); }
h2 { margin-bottom: 25px; font-size: clamp(36px,4.2vw,60px); font-weight: 600; line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
button,input { font: inherit; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-underline-offset: 5px; }
button,a { -webkit-tap-highlight-color: transparent; }
button:focus-visible,a:focus-visible,input:focus-visible { outline: 2px solid var(--coral); outline-offset: 5px; }
::selection { background: var(--coral); color: var(--night); }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-thumb { background: #617573; border: 2px solid var(--night); border-radius: 5px; }
::-webkit-scrollbar-track { background: var(--night); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip: rect(0,0,0,0); overflow: hidden; white-space: nowrap; }
.skip-link { position: fixed; left: 20px; top: 14px; z-index: 100; background: var(--paper); color: var(--ink); padding: 12px; clip-path: inset(50%); }
.skip-link:focus { clip-path: none; }
.icon { display: inline-block; width: 18px; height: 18px; background: currentColor; mask-position: center; mask-size: contain; mask-repeat: no-repeat; vertical-align: middle; }
.arrow-icon,.back-arrow { mask-image: url('../assets/arrow-up-right.svg'); }
.back-arrow { transform: rotate(-135deg); }
.site-header { position: absolute; inset: 0 0 auto; z-index: 12; height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 0 4.5%; max-width: 1800px; margin-inline: auto; }
.wordmark { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 20px var(--display); letter-spacing: -.035em; }
.brand-dot { display: grid; place-items: center; width: 36px; height: 37px; border: 3px solid var(--paper); border-radius: 13px 14px 12px 11px; font: 600 31px/1 var(--hand); padding-bottom: 5px; transform: rotate(-5deg); }
.wordmark-period { margin-left: -9px; color: var(--coral); }
.site-header nav { display: flex; gap: 34px; font-size: 13px; }
.site-header nav a { text-decoration: none; transition: color .2s; }
.site-header nav a:hover { color: var(--coral); }
.hello-link { font-size: 13px; text-decoration: none; border: 1px solid #eee7da9c; border-radius: 30px; padding: 9px 19px; white-space: nowrap; }
.hello-link .icon { margin-left: 12px; }
.hero { position: relative; min-height: 850px; height: 100svh; max-height: 1100px; isolation: isolate; background: #111a1e; overflow: clip; }
.stage { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.stage canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg,#071015a6 0%,#08101865 25%,transparent 53%),linear-gradient(0deg,var(--night) 0%,transparent 28%); }
.hero-copy { position: absolute; z-index: 3; left: 5%; top: clamp(130px,17vh,185px); max-width: 520px; pointer-events: none; transition: transform .8s var(--ease),opacity .6s; }
.hero h1 { margin: 0 0 24px; font: 700 clamp(58px,5.6vw,88px)/1.03 var(--display); letter-spacing: -.04em; text-wrap: balance; color: #f6f1e7; text-shadow: 0 3px 25px #0003; animation: invitation-arrives .8s var(--ease) both; }
.hero h1 span { position: relative; color: #ec7a52; }
.hero h1 span::after { content: ''; position: absolute; left: 0; right: -6px; bottom: -6px; border-bottom: 3px solid #ec7a52; border-radius: 50%; transform: rotate(-3deg); }
.hero-copy > p { margin: 0; font-size: 14px; line-height: 1.7; color: #e3e0d7; }
.hero-copy .hand-note { margin: 49px 0 0 4px; font: 28px/1.2 var(--hand); color: var(--paper); transform: rotate(-7deg); }
.hand-note span { display: inline-block; transform: rotate(25deg); margin-left: 8px; }
.hero.exploring .hero-copy { opacity: 0; transform: translateY(-15px); visibility: hidden; }
.hotspots { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.hotspot { position: absolute; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 9px; transform: translate(-50%,-50%); border: 0; background: transparent; pointer-events: auto; white-space: nowrap; opacity: 0; visibility: hidden; transition: opacity .35s,color .25s; }
.scene-ready .hotspot { opacity: 1; }
.hotspot-dot { position: relative; flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; background: #f1d9b2; box-shadow: 0 1px 4px #0009; }
.hotspot-dot::after { content: ''; position: absolute; inset: -5px; border: 1px solid #e8d8b475; border-radius: 50%; transition: transform .3s; }
.hotspot-label { font-size: 11px; font-weight: 500; background: #101a1dd9; color: #f4eddf; padding: 5px 9px; border-radius: 3px; box-shadow: 0 4px 12px #0003; transition: background .25s; }
.hotspot:hover .hotspot-label,.hotspot:focus-visible .hotspot-label,.hotspot[aria-pressed='true'] .hotspot-label { background: #ece3d4; color: var(--ink); }
.hotspot:hover .hotspot-dot::after,.hotspot:focus-visible .hotspot-dot::after { transform: scale(1.5); }
.hero.exploring .hotspot:not([aria-pressed='true']) { opacity: .6; visibility: hidden !important; pointer-events: none; }
.scene-controls { position: absolute; left: 5%; right: 4.6%; bottom: 205px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 10px; color: #d1d5cc; }
.motion-button { border: 1px solid #c6c5af52; background: #101b21b8; padding: 8px 13px; border-radius: 20px; min-height: 36px; font-size: 11px; white-space: nowrap; }
.motion-button > span:first-child { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--aqua); margin-right: 8px; }
.motion-button[aria-pressed='true'] > span:first-child { background: var(--coral); }
.motion-button:disabled { cursor: default; }
.project-strip { position: absolute; bottom: 31px; left: 10.8%; right: 5%; z-index: 5; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.project-preview { position: relative; overflow: hidden; text-align: left; min-height: 151px; background: #1c2626; border: 1px solid #d4c4aa24; border-radius: 14px; padding: 68px 20px 17px; box-shadow: 0 9px 25px #0002; isolation: isolate; transition: transform .35s var(--ease),border-color .3s; }
.project-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .9; transition: transform .7s var(--ease); }
.project-preview::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg,#101517f5 0%,#10151780 64%,#10151710); }
.preview-copy { display: block; max-width: 85%; }
.preview-copy strong { display: block; font: 600 18px var(--display); margin-bottom: 7px; }
.preview-copy > span { display: block; font-size: 12px; line-height: 1.6; color: #deddd2; max-width: 220px; }
.project-preview > .icon { position: absolute; right: 16px; bottom: 19px; width: 15px; height: 15px; }
.project-preview:hover { transform: translateY(-5px); border-color: #e2b68c73; }
.project-preview:hover img { transform: scale(1.04); }
.project-preview[aria-pressed='true'] { border-color: var(--coral); }
.hero.exploring .project-strip { left: 4%; right: 43%; gap: 9px; }
.hero.exploring .project-preview { min-height: 115px; padding: 44px 12px 13px; }
.hero.exploring .preview-copy strong { font-size: 14px; }
.hero.exploring .preview-copy > span { display: none; }
.hero.exploring .scene-controls { right: 43%; bottom: 165px; }
.story-panel { position: absolute; z-index: 8; right: 4.5%; top: 93px; bottom: 32px; width: min(450px,36.5%); background: var(--paper); color: var(--ink); border-radius: 18px 23px 18px 18px; box-shadow: 0 22px 65px #0006; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #a69d8c var(--paper); overscroll-behavior: contain; animation: sheet-arrives .65s var(--ease) both; }
.story-panel::before { content: ''; position: absolute; right: 25px; top: 0; width: 22px; height: 25px; background: #d7b45d8c; transform: rotate(8deg); z-index: 3; }
.sheet-header { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 15px; background: var(--paper); padding: 22px 27px 15px; border-bottom: 1px solid #283b4117; }
.story-object { font: 18px var(--hand); color: #675c4c; margin-right: 16px; }
.back-button { display: flex; align-items: center; gap: 8px; background: transparent; border: 0; color: #536068; font-size: 11px; padding: 6px 0; min-height: 32px; }
.back-button .icon { width: 13px; height: 13px; }
.sheet-content { padding: 25px 28px 22px; }
.story-panel h2 { font-size: clamp(28px,2.5vw,37px); line-height: 1.1; max-width: 400px; margin-bottom: 16px; }
.story-project { font-size: 11px; line-height: 1.6; color: #9e452f; margin: 0 0 13px; }
.story-quick-link { display: inline-flex; border-radius: 24px; background: #172a34; color: var(--paper); padding: 9px 16px; font-size: 12px; text-decoration: none; margin: 0 0 22px; }
.story-quick-link:hover { background: #304b54; }
.story-opening { font-size: 15px; line-height: 1.75; margin: 0 0 22px; }
.story-summary { border-top: 1px solid #1c303926; padding-top: 8px; margin-bottom: 22px; }
.story-summary > div { margin: 16px 0; }
.story-summary h3 { font: 600 14px var(--display); margin: 0 0 8px; }
.story-summary p { font-size: 13px; line-height: 1.75; margin: 0; }
#story-details { border-block: 1px solid #1c303926; padding: 15px 0; }
#story-details summary { font: 600 15px/1.5 var(--display); cursor: pointer; padding: 11px 14px; min-height: 46px; color: #8f3f2b; background: #9e452f09; border: 1px solid #9e452f38; border-radius: 7px; }
#story-details summary::marker { color: #9e452f; }
#story-details summary:hover { background: #9e452f14; border-color: #9e452f70; }
#story-details[open] > summary { background: #9e452f10; border-color: #9e452f58; }
#story-details summary:focus-visible { outline: 2px solid #9e452f; outline-offset: 4px; }
.story-entry { padding-top: 20px; margin-top: 21px; border-top: 1px solid #1c30391c; }
.story-entry h3,.story-proof > h3 { font-size: 15px; line-height: 1.4; font-weight: 600; margin-bottom: 10px; }
.story-entry p { font-size: 14px; line-height: 1.8; margin: 0; }
.story-proof { margin-top: 32px; }
.proof-flow { display: flex; gap: 8px; margin: 18px 0; }
.proof-flow > span { flex: 1; position: relative; background: #d9d5c7; padding: 15px 9px; text-align: center; font-size: 11px; line-height: 1.5; }
.proof-flow > span:not(:last-child)::after { content: '→'; position: absolute; right: -8px; top: 35%; z-index: 1; color: #7b5a42; }
.proof-caption { font-size: 11px; line-height: 1.7; color: #59615f; }
.proof-links { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 20px; }
.proof-links a { font-size: 12px; padding: 10px 14px; background: #172a34; color: var(--paper); border-radius: 25px; text-decoration: none; }
.proof-links a:hover { background: #314b54; }
.story-qualifier { font-size: 11px; line-height: 1.7; color: #59615f; border-top: 1px solid #1c303924; padding-top: 18px; margin: 27px 0 0; }
.chapter-nav { display: flex; flex-wrap: wrap; gap: 4px 10px; padding: 17px 28px 22px; border-top: 1px solid #1c303924; }
.chapter-button { font-size: 10px; padding: 6px 0; background: transparent; border: 0; color: #526169; min-height: 32px; }
.chapter-button[aria-pressed='true'] { color: #9e452f; text-decoration: underline; text-underline-offset: 5px; }
.genuine-media { margin: 20px 0; }
.genuine-media img { width: 100%; height: auto; }
.genuine-media figcaption { font-size: 11px; }
.story-panel :is(button,a,input):focus-visible { outline-color: #9e452f; }
.story-panel .little-terminal :is(button,a,input):focus-visible { outline-color: var(--coral); }
.story-index { max-width: 1320px; padding: 98px 6% 90px; margin-inline: auto; display: grid; grid-template-columns: .85fr 1.15fr; gap: 9%; align-items: start; }
.story-index-intro p { font-size: 14px; line-height: 1.9; color: var(--muted); margin: 0; }
.story-list { border-top: 1px solid var(--line); }
.editorial-row { display: grid; width: 100%; grid-template-columns: 35px minmax(0,1fr) auto 18px; gap: 15px; align-items: center; padding: 23px 0; text-align: left; background: transparent; border: 0; border-bottom: 1px solid var(--line); transition: padding .3s; }
.editorial-row:hover { padding-inline: 8px; }
.editorial-row img { width: 26px; height: 26px; filter: invert(.75) sepia(.2); }
.row-title { display: block; font: 500 20px/1.3 var(--display); }
.editorial-row small { display: block; font-size: 11px; line-height: 1.7; margin-top: 7px; color: var(--muted); }
.row-proof { max-width: 140px; font-size: 10px; line-height: 1.6; color: var(--aqua); }
.terminal-section { background: #17282e; padding: 69px max(6%,calc((100% - 1160px)/2)); display: grid; grid-template-columns: .85fr 1.15fr; gap: 9%; align-items: center; }
.terminal-section h2 { font-size: 46px; }
.terminal-section > div > p { color: var(--muted); font-size: 14px; max-width: 320px; }
.hand-annotation { display: block; font: 24px var(--hand); transform: rotate(-4deg); margin-top: 23px; color: #d8b895; }
.little-terminal { background: #0b171b; border: 1px solid #8fb0a132; border-radius: 9px; color: #d1decf; overflow: hidden; font: 12px/1.7 Consolas,monospace; box-shadow: 0 14px 35px #050c101f; }
.terminal-title { padding: 12px 16px; background: #203435; font-size: 10px; color: #a0b7ac; border-bottom: 1px solid #88a8a023; }
.terminal-output { height: 150px; overflow: auto; padding: 17px 19px; font-size: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.terminal-output p { margin: 0 0 10px; }
.terminal-echo { color: #dcac78; }
.terminal-form { display: flex; gap: 10px; align-items: center; padding: 12px 17px; border-top: 1px solid #8fb0a12b; }
.terminal-form label { color: #debd87; font: 400 16px Consolas,monospace; }
.terminal-form input { width: 0; flex: 1; min-width: 0; min-height: 48px; background: #102126; border: 1px solid #405953; border-radius: 4px; color: #eee8db; font: 16px/1.4 Consolas,monospace; padding: 11px 12px; caret-color: var(--coral); }
.terminal-form input::placeholder { color: #a8bbb2; opacity: 1; }
.terminal-form input:hover { border-color: #718b80; }
.terminal-form input:focus-visible { border-color: var(--coral); outline: 2px solid var(--coral); outline-offset: 2px; }
.terminal-form button { min-width: 72px; min-height: 48px; border: 1px solid #60796c; border-radius: 4px; background: #233632; color: #e5ddc8; font: 400 14px Consolas,monospace; padding: 10px 14px; cursor: pointer; }
.terminal-form button:hover { background: #30463f; border-color: #8ba092; }
.terminal-form button:focus-visible { outline: 2px solid #eee8db; outline-offset: 3px; }
.terminal-suggestions { display: flex; gap: 16px; padding: 5px 20px; }
.terminal-suggestions button { background: transparent; border: 0; border-bottom: 1px solid #8fb0a14d; color: #a4c5bc; font: 10px var(--body); padding: 5px 0; }
.little-terminal .terminal-disclosure { font: 9px/1.7 var(--body); color: #a8b5ad; margin: 9px 19px 14px; max-width: none; }
.story-proof .terminal-title { font-size: 9px; }
.story-proof .terminal-output { font-size: 11px; height: 125px; }
.personal-section { max-width: 1200px; margin-inline: auto; padding: 110px 6%; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16%; align-items: center; }
.personal-mark { background: #d9b77b; color: #3e392d; transform: rotate(-5deg); width: 280px; min-height: 290px; padding: 38px 33px; box-shadow: 8px 22px 50px #0003; margin-left: 10%; }
.personal-mark > span { display: block; font: 600 43px/1.07 var(--hand); }
.personal-mark small { display: block; font: 22px var(--hand); margin-top: 28px; }
.personal-section h2 { font-size: 43px; }
.personal-section p { font-size: 14px; line-height: 1.9; color: var(--muted); }
.text-button { padding: 8px 0; border: 0; border-bottom: 1px solid var(--paper); background: transparent; font-size: 12px; }
.text-button .icon { margin-left: 10px; }
.voice-section { max-width: 1200px; margin-inline: auto; padding: 75px 6% 90px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12%; }
.voice-section > div > p { font-size: 15px; line-height: 1.9; color: var(--muted); max-width: 370px; }
.process-journal { padding-top: 4px; }
.process-journal h3 { font-size: 23px; line-height: 1.3; font-weight: 500; margin: 0 0 18px; }
.voice-section .process-journal > p,.process-entry p { font-size: 13px; line-height: 1.9; color: var(--muted); max-width: none; }
.process-entry { display: flex; gap: 17px; margin-top: 30px; }
.process-rule { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); margin-top: 8px; flex-shrink: 0; }
.process-entry h4,.process-pending h4 { font-size: 15px; line-height: 1.3; font-weight: 500; margin: 0 0 9px; }
.process-entry p { margin: 0 0 12px; }
.process-entry .process-caption { font-size: 10px; color: #a7b5b4; }
.process-pending { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 24px; }
.process-pending p { font-size: 12px; line-height: 1.9; color: var(--muted); }
.site-footer { max-width: 1200px; margin-inline: auto; padding: 70px 6% 65px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 10%; border-top: 1px solid var(--line); align-items: end; }
.site-footer h2 { font-size: 49px; }
.site-footer > div > p { font-size: 13px; }
.footer-hello { display: inline-block; font-size: 20px; color: #ee987b; margin-top: 9px; }
.footer-hello .icon { margin-left: 20px; }
.site-footer .footer-details > p { font-size: 13px; line-height: 2; color: var(--muted); margin: 0 0 30px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 25px; font-size: 11px; }
.prototype-note { font-size: 10px; line-height: 1.8; color: #a5b3ad; text-align: center; padding: 12px 24px 30px; margin: 0; }
/* The fallback remains hidden until the later failure-path implementation. */
.scene-fallback { position: absolute; inset: 18% 10%; width: 80%; height: 65%; object-fit: contain; opacity: .85; }
.scene-unavailable .hero-copy { max-width: 45%; }
.scene-unavailable .scene-controls { bottom: 205px; }
.scene-unavailable.exploring .scene-fallback { width: 50%; left: 0; }
@keyframes invitation-arrives { from { clip-path: inset(0 0 25%); transform: translateY(10px); } to { clip-path: inset(0); transform: none; } }
@keyframes sheet-arrives { from { opacity: 0; transform: translateY(22px) rotate(.7deg); } to { opacity: 1; transform: none; } }
/* Additive final breakpoint rules, preserving the kit's selector specificity. */
@media (min-width: 1600px) {
  .hero-copy { left: 7%; top: 20%; }
  .project-strip { left: 12%; right: 7%; bottom: 42px; }
  .scene-controls { bottom: 220px; }
}
@media (max-width: 1150px) {
  .site-header { height: 80px; padding: 0 4%; }
  .site-header nav { gap: 22px; }
  .hero h1 { font-size: 64px; }
  .hero-copy { left: 4%; max-width: 420px; top: 140px; }
  .hero-copy > p { font-size: 13px; }
  .hero-copy .hand-note { font-size: 25px; margin-top: 40px; }
  .project-strip { left: 4%; right: 4%; gap: 10px; }
  .project-preview { min-height: 145px; padding: 60px 15px 16px; }
  .preview-copy strong { font-size: 17px; }
  .preview-copy > span { font-size: 11px; }
  .story-panel { right: 3%; width: 40%; }
  .sheet-content { padding: 22px; }
  .sheet-header { padding: 18px 22px 12px; }
  .story-panel h2 { font-size: 30px; }
  .story-index { gap: 6%; padding: 75px 5%; grid-template-columns: .9fr 1.1fr; }
  .row-proof { display: none; }
  .editorial-row { grid-template-columns: 30px minmax(0,1fr) 18px; }
  .personal-section { gap: 10%; }
  .voice-section { gap: 8%; }
}
@media (min-width: 761px) and (max-width: 900px) {
  .hero { min-height: 950px; height: 100svh; }
  .hero-copy { top: 130px; }
  .hero h1 { font-size: 61px; }
  .hero-copy > p { max-width: 290px; }
  .hero-copy .hand-note { margin-top: 25px; }
  .project-strip { bottom: 30px; }
  .project-preview { min-height: 135px; padding: 63px 12px 12px; }
  .preview-copy strong { font-size: 15px; }
  .preview-copy > span { font-size: 10px; }
  .story-panel { top: 100px; bottom: 190px; width: 43%; }
  .hero.exploring .project-strip { right: 4%; }
  .hero.exploring .project-preview { min-height: 115px; }
  .hero.exploring .scene-controls { right: 4%; bottom: 157px; }
  .story-index { grid-template-columns: 1fr; gap: 35px; }
  .story-index-intro { display: flex; gap: 40px; align-items: center; }
  .story-index-intro h2,.story-index-intro p { flex: 1; }
  .story-index h2 { font-size: 44px; }
  .terminal-section h2 { font-size: 36px; }
  .personal-section h2 { font-size: 35px; }
  .site-footer h2 { font-size: 42px; }
  .personal-mark { width: 230px; min-height: 260px; margin: 0; }
}
@media (max-width: 760px) {
  .site-header { height: 75px; padding: 0 22px; gap: 15px; }
  .wordmark { font-size: 17px; }
  .brand-dot { width: 30px; height: 32px; border-width: 2px; font-size: 26px; }
  .hello-link { padding: 7px 13px; font-size: 11px; }
  .hello-link .icon { width: 14px; margin-left: 8px; }
  .site-header nav { position: absolute; top: 70px; left: 24px; right: 24px; display: flex; gap: 27px; font-size: 11px; border-top: 1px solid #d5d3b827; }
  .site-header nav a { display: flex; align-items: center; min-height: 40px; }
  .site-header nav a[href='#home'] { display: none; }
  .hero { height: auto; min-height: 950px; max-height: none; padding-top: 1px; }
  .hero::after { height: 750px; background: linear-gradient(180deg,#0812163d,transparent 45%,var(--night) 99%),linear-gradient(90deg,#07101560,transparent 90%); }
  .hero-copy { left: 25px; right: 20px; max-width: 440px; top: 139px; }
  .hero h1 { font-size: clamp(48px,10.5vw,68px); line-height: 1.04; margin-bottom: 22px; }
  .hero-copy > p { font-size: 13px; max-width: 320px; }
  .hero-copy .hand-note { font-size: 22px; line-height: 1.1; margin-top: 13px; }
  .hand-note br { display: none; }
  .stage { height: 660px; inset: 0 0 auto; }
  .scene-controls { left: 24px; right: 24px; top: 610px; bottom: auto; }
  #scene-caption { font-size: 9px; max-width: 180px; line-height: 1.6; }
  .motion-button { font-size: 10px; min-height: 34px; padding: 7px 10px; }
  .project-strip { position: relative; inset: auto; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 650px 20px 25px; }
  .project-preview { min-height: 135px; padding: 64px 14px 14px; }
  .preview-copy { max-width: 100%; }
  .preview-copy strong { font-size: 17px; }
  .preview-copy > span { font-size: 10px; max-width: 140px; }
  .project-preview > .icon { display: none; }
  .hotspot { padding: 10px 6px; gap: 6px; }
  .hotspot-label { font-size: 10px; padding: 4px 6px; }
  .hotspot-dot { width: 6px; height: 6px; }
  .hero.exploring .stage { height: 540px; top: 55px; }
  .hero.exploring .scene-controls { top: 537px; bottom: auto; left: 24px; right: 24px; }
  .hero.exploring #scene-caption { visibility: hidden; }
  .hero.exploring .hero-copy { display: none; }
  .hero.exploring .story-panel { position: relative; top: auto; right: auto; bottom: auto; width: auto; margin: 590px 18px 0; max-height: none; border-radius: 16px; }
  .hero.exploring .project-strip { margin: 25px 20px 35px; left: auto; right: auto; gap: 10px; }
  .hero.exploring .project-preview { min-height: 105px; padding: 52px 13px 12px; }
  .hero.exploring .preview-copy strong { font-size: 16px; }
  .sheet-header { padding: 18px 22px 12px; }
  .sheet-content { padding: 22px; }
  .story-panel h2 { font-size: 34px; }
  .chapter-nav { padding: 15px 22px 20px; }
  .chapter-button { min-height: 38px; font-size: 11px; }
  .story-index { display: block; padding: 55px 25px 65px; }
  .story-index h2 { font-size: 43px; }
  .story-index-intro p { font-size: 13px; margin-bottom: 35px; }
  .editorial-row { padding: 24px 0; gap: 14px; }
  .row-title { font-size: 19px; }
  .terminal-section { display: block; padding: 45px 25px; }
  .terminal-section h2 { font-size: 39px; }
  .terminal-section > div > p { font-size: 13px; max-width: 100%; }
  .hand-annotation { font-size: 23px; margin: 15px 0 32px; }
  .little-terminal { max-width: 100%; }
  .terminal-output { height: 155px; }
  .personal-section { display: flex; flex-direction: column; align-items: stretch; padding: 65px 25px; gap: 50px; }
  .personal-mark { width: 240px; min-height: 245px; padding: 30px; margin: 10px auto; }
  .personal-mark > span { font-size: 39px; }
  .personal-mark small { font-size: 20px; }
  .personal-section h2 { font-size: 40px; }
  .voice-section { display: block; padding: 55px 25px 60px; margin: 0 20px; }
  .voice-section h2 { font-size: 39px; }
  .voice-section > div:first-child > p { font-size: 14px; margin-bottom: 38px; }
  .voice-section .process-journal > p { font-size: 13px; }
  .process-journal h3 { font-size: 23px; }
  .site-footer { display: block; padding: 50px 25px 40px; margin: 0 20px; }
  .site-footer h2 { font-size: 39px; }
  .footer-details { margin-top: 45px; }
  .site-footer .footer-details > p { font-size: 13px; }
  .prototype-note { font-size: 9px; padding: 10px 25px 25px; }
  .scene-unavailable .hero-copy { max-width: 90%; }
  .scene-unavailable .scene-fallback { inset: 310px 0 auto; width: 100%; height: 360px; }
  .scene-unavailable.exploring .scene-fallback { inset: 70px 0 auto; width: 100%; height: 380px; }
}
.motion-paused * { animation: none !important; }
.motion-paused *,.motion-paused *::before,.motion-paused *::after { transition-duration: .01ms !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Preserve reference geometry while making the smallest narrow-screen controls easier to tap. */
@media (max-width: 900px) {
  .terminal-suggestions button,.terminal-form button { position: relative; }
  .terminal-suggestions button::before { content: ''; position: absolute; inset: -10.2px -4px; }
  .terminal-form button::before { content: none; }
}
@media (min-width: 761px) and (max-width: 900px) {
  .site-header nav a { position: relative; }
  .site-header nav a::before { content: ''; position: absolute; inset: -11.3px 0; }
}

/* User-requested finishing changes; retain the workshop's established palette and type. */
.site-header { display: grid; grid-template-columns: 1fr auto 1fr; }
.site-header nav { justify-content: center; }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 14px; }
.github-link { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--paper); transition: color .2s,background .2s; }
.github-link:hover { color: #ee987b; background: #eee7da0b; }
.github-icon { width: 21px; height: 21px; mask-image: url('../assets/github-mark.svg'); }
.contact-dropdown { position: relative; }
.contact-dropdown .hello-link { display: inline-flex; align-items: center; gap: 13px; background: transparent; }
.contact-chevron { width: 6px; height: 6px; border: solid currentColor; border-width: 0 1px 1px 0; transform: translateY(-2px) rotate(45deg); transition: transform .22s var(--ease); }
.contact-dropdown[data-open='true'] .contact-chevron { transform: translateY(1px) rotate(225deg); }
.contact-menu { position: absolute; top: calc(100% + 10px); right: 0; min-width: 184px; padding: 7px; border: 1px solid #eee7da30; border-radius: 13px; background: #14262e; box-shadow: 0 14px 32px #0005; opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .18s,transform .22s var(--ease); }
.contact-menu::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.contact-dropdown[data-open='true'] .contact-menu { opacity: 1; transform: none; pointer-events: auto; }
.contact-menu a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 10px 12px; font-size: 13px; text-decoration: none; border-radius: 7px; }
.contact-menu a:hover,.contact-menu a:focus-visible { color: #ee987b; background: #eee7da09; }
.contact-menu .icon { width: 14px; height: 14px; margin-left: 25px; }
.terminal-section { grid-template-columns: .75fr 1.25fr; gap: 7%; }
.little-terminal { font-size: 13px; line-height: 1.75; }
.terminal-title { font-size: 11px; padding: 14px 18px; }
.terminal-output { height: 195px; font-size: 13px; padding: 19px 20px; }
.terminal-form input { font-size: 16px; padding-block: 11px; }
.terminal-form button { font-size: 14px; }
.terminal-suggestions button { font-size: 11px; }
.little-terminal .terminal-disclosure { font-size: 10px; }
.story-proof .terminal-title { font-size: 10px; }
.story-proof .terminal-output { height: 170px; font-size: 12px; }
.media-gallery { margin: 24px 0; display: grid; gap: 21px; }
.media-gallery .genuine-media { margin: 0; }
.genuine-media img { display: block; max-width: 100%; height: auto; border: 1px solid #1c303926; border-radius: 7px; }
.genuine-media figcaption { margin-top: 8px; font-size: 11px; line-height: 1.7; color: #59615f; }
.genuine-media figcaption a { color: #8f3f2b; white-space: nowrap; }
@media (max-width: 1150px) { .site-header { gap: 20px; } .site-header nav { gap: 20px; } .header-actions { gap: 8px; } }
@media (max-width: 900px) and (min-width: 761px) { .terminal-section { grid-template-columns: .85fr 1.15fr; } .site-header { gap: 14px; } .site-header nav { gap: 16px; } }
@media (max-width: 760px) {
  .site-header { display: flex; gap: 12px; padding-inline: 18px; }
  .site-header nav { justify-content: flex-start; gap: 27px; }
  .header-actions { gap: 6px; }
  .github-link { width: 34px; height: 38px; }
  .github-icon { width: 20px; height: 20px; }
  .contact-dropdown .hello-link { padding: 7px 11px; gap: 10px; }
  .contact-menu { min-width: 174px; }
  .terminal-output { height: 200px; }
}
@media (max-width: 360px) { .wordmark { font-size: 15px; gap: 7px; } .site-header { gap: 6px; } .site-header nav { gap: 22px; } .contact-dropdown .hello-link { padding-inline: 9px; } }

/* Requested lower-page reading-size adjustment; retain the established type and spacing. */
.personal-section p { font-size: 16px; }
.personal-section .text-button { font-size: 14px; }
.voice-section > div:first-child > p { font-size: 16px; }
.voice-section .process-journal > p,.process-entry p { font-size: 15px; }
.process-entry .process-caption { font-size: 12px; }
.process-pending p { font-size: 14px; }
.process-entry h4,.process-pending h4 { font-size: 16px; }
.site-footer > div > p,.site-footer .footer-details > p { font-size: 14px; }
.footer-links { font-size: 12px; }
.prototype-note { font-size: 11px; }

/* Readability adjustments requested from the supplied close-up screenshots. */
.story-index-intro p { font-size: 16px; }
.editorial-row small { font-size: 14px; }
.row-proof { font-size: 13px; }
.voice-section .process-journal > p,.process-entry p,.process-pending p { font-size: 16px; }
.process-entry .process-caption { font-size: 14px; }
.story-project,.proof-caption,.story-qualifier { font-size: 13px; }
.story-summary p { font-size: 15px; }
.chapter-button { font-size: 13px; }
.preview-copy > span { font-size: 14px; }
@media (max-width: 760px) { .editorial-row { grid-template-columns: 28px minmax(0,1fr) 18px; } }

.genuine-media figcaption { font-size: 13px; }
.little-terminal .terminal-disclosure { font-size: 12px; }
.prototype-note { font-size: 13px; }
.footer-links { font-size: 14px; }

/* Concept-inspired lower workshop: restrained materials, real keepsakes, unchanged stories. */
@media (min-width: 761px) {
  .project-preview { height: 96px; min-height: 96px; padding: 7px 12px; display: flex; align-items: center; }
  .preview-copy { max-width: 92%; }
  .preview-copy strong { font-size: 16px; line-height: 1.2; margin-bottom: 3px; }
  .preview-copy > span { font-size: 14px; line-height: 1.35; max-width: 235px; }
  .project-preview > .icon { right: 10px; bottom: 10px; width: 12px; height: 12px; }
  .scene-controls { bottom: 151px; }
  .hero.exploring .project-preview { height: 72px; min-height: 72px; padding: 12px; }
  .hero.exploring .scene-controls { bottom: 125px; }
}
.story-index { gap: 7%; padding-bottom: 68px; }
.story-index-intro { position: relative; padding-bottom: 185px; }
.shelf-study { position: absolute; bottom: 0; left: -12px; width: min(330px,100%); height: 174px; pointer-events: none; opacity: .9; }
.story-list { border-top: 0; display: grid; gap: 12px; position: relative; }
.editorial-row { padding: 20px 17px; border: 1px solid #b6b9a525; border-left-color: #b88b5b66; border-radius: 9px; background: #17282c; grid-template-columns: 40px minmax(0,1fr) minmax(95px,118px) 16px; gap: 14px; transition: background .2s,border-color .2s; }
.editorial-row:hover { padding-inline: 17px; background: #1c3033; border-color: #b88b5b80; }
.editorial-row > span:first-child { display: grid; place-items: center; width: 40px; height: 46px; background: #d3c19b0b; border-radius: 7px; }
.editorial-row .row-title { font-size: 19px; }
.editorial-row small { margin-top: 5px; }
.row-proof { border-left: 1px solid #c6c7ac25; padding-left: 13px; color: #bcc9bd; }
.terminal-section { position: relative; background: transparent; padding-top: 76px; padding-bottom: 104px; border-block: 1px solid var(--line); }
.terminal-section::after { content: ''; position: absolute; left: 43%; right: 5%; bottom: 92px; height: 12px; border-top: 2px solid #a57a50; border-bottom: 4px solid #3d3027; background: #624732; box-shadow: 0 12px 19px #0002; pointer-events: none; }
.terminal-section .little-terminal { position: relative; z-index: 1; border-color: #b0b6a346; border-radius: 11px; box-shadow: 0 13px 24px #050d102b; }
.terminal-section .terminal-title { display: flex; align-items: center; gap: 13px; color: #c5d0bf; }
.terminal-section .terminal-title::before { content: ''; width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #c77d58; box-shadow: 12px 0 #bba06c,24px 0 #6b8a72; margin-right: 26px; }
.hand-annotation { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; }
.personal-section { gap: 12%; padding-block: 105px 120px; }
.personal-keepsakes { position: relative; min-height: 390px; }
.personal-mark { position: relative; z-index: 1; margin: 16px 0 0 3%; box-shadow: 5px 12px 20px #0003; }
.personal-mark::before { content: ''; position: absolute; top: -10px; left: 49%; width: 18px; height: 18px; border-radius: 50%; background: #995331; border: 2px solid #b9794d; box-shadow: 1px 5px 4px #40281766; }
.aquarium-keepsake { position: absolute; margin: 0; right: -12px; bottom: -5px; width: 215px; padding: 10px 10px 27px; background: #d3cbb8; transform: rotate(7deg); box-shadow: 2px 8px 19px #0004; }
.aquarium-keepsake img { width: 100%; height: 148px; object-fit: cover; display: block; filter: saturate(.8); }
.voice-section { gap: 8%; padding-block: 75px 90px; }
.process-journal { padding: 0 0 26px; align-self: start; border: 1px solid #acbaa533; border-radius: 11px; background: #14262b; overflow: hidden; }
.process-journal h3 { padding: 21px 25px; margin: 0 0 22px; border-bottom: 1px solid #acbaa526; background: #1d3033; font-size: 21px; }
.voice-section .process-journal > p { margin-inline: 25px; }
.process-entry { position: relative; margin: 28px 25px 0 29px; padding-left: 20px; border-left: 1px solid #8da29555; }
.process-rule { position: absolute; left: -4px; top: 2px; margin: 0; width: 7px; height: 7px; }
.process-pending { margin: 24px 25px 0; }
.site-footer { margin: 0 auto 24px; width: calc(100% - 64px); padding: 47px 4.5%; gap: 7%; border: 1px solid #b7b69a40; border-radius: 15px; background: #17282c; align-items: center; }
.site-footer .footer-details { border-left: 1px solid #b7b69a33; padding-left: 30px; }
.site-footer h2 { font-size: clamp(36px,3.5vw,49px); }
@media (min-width: 761px) and (max-width: 1150px) {
  .editorial-row { grid-template-columns: 40px minmax(0,1fr) 16px; gap: 8px 12px; }
  .row-proof { grid-column: 2; grid-row: 2; max-width: none; border: 0; padding: 0; }
  .editorial-row > .arrow-icon { grid-column: 3; grid-row: 1 / span 2; }
  .personal-mark { width: 240px; padding: 30px; }
  .aquarium-keepsake { width: 190px; right: -8px; }
}
@media (max-width: 760px) {
  .project-preview,.hero.exploring .project-preview { min-height: 96px; padding: 12px; }
  .preview-copy strong { margin-bottom: 5px; }
  .preview-copy > span { line-height: 1.45; }
  .story-index-intro { padding-bottom: 0; }
  .shelf-study { display: none; }
  .story-list { gap: 10px; }
  .editorial-row { grid-template-columns: 34px minmax(0,1fr) 14px; padding: 18px 12px; gap: 12px; }
  .editorial-row:hover { padding-inline: 12px; }
  .editorial-row > span:first-child { width: 34px; height: 42px; }
  .editorial-row .row-title { font-size: 18px; }
  .editorial-row small { font-size: 14px; }
  .row-proof { display: none; }
  .terminal-section { padding: 50px 25px 70px; }
  .terminal-section::after { left: 22px; right: 22px; bottom: 60px; height: 10px; }
  .personal-section { padding-block: 65px 75px; gap: 45px; }
  .personal-keepsakes { width: min(100%,330px); min-height: 390px; margin-inline: auto; }
  .personal-mark { margin-left: 0; width: 240px; }
  .aquarium-keepsake { right: 0; width: 185px; }
  .voice-section { padding-block: 50px 60px; }
  .process-journal { margin-top: 30px; }
  .process-journal h3 { padding: 19px; }
  .voice-section .process-journal > p { margin-inline: 19px; }
  .process-entry { margin-inline: 23px 19px; padding-left: 16px; }
  .process-pending { margin-inline: 19px; }
  .site-footer { width: calc(100% - 36px); margin-inline: 18px; padding: 32px 22px; }
  .site-footer .footer-details { border-left: 0; border-top: 1px solid #b7b69a33; padding: 26px 0 0; margin-top: 30px; }
  .footer-links { gap: 17px; }
}

/* Small personal additions and a footer contact disclosure using the existing controller. */
.personal-keepsakes { min-height: 500px; }
.minecraft-keepsake { position: absolute; z-index: 0; bottom: 5px; left: -10px; width: 280px; margin: 0; padding: 9px 9px 24px; background: #d3cbb8; transform: rotate(-7deg); box-shadow: 2px 8px 19px #0004; }
.minecraft-keepsake img { display: block; width: 100%; height: auto; }
.aquarium-keepsake { bottom: 39px; z-index: 1; }
.personal-mark { z-index: 2; }
.terminal-section::after { content: none; }
.terminal-dock { position: relative; min-width: 0; padding-bottom: 10px; isolation: isolate; }
.terminal-dock::after { content: ''; position: absolute; z-index: 0; left: -8px; right: -8px; bottom: 0; height: 8px; border-top: 1px solid #a57a50; border-bottom: 2px solid #443327; border-radius: 2px; background: #735138; box-shadow: 0 8px 15px #0002; pointer-events: none; }
.footer-contact { display: inline-block; position: relative; }
.footer-contact .footer-hello { border: 0; border-radius: 0; background: none; padding: 6px 0; min-height: 44px; text-decoration: underline; text-underline-offset: 6px; }
.footer-contact .footer-contact-options { display: flex; gap: 10px; top: 50%; bottom: auto; left: calc(100% + 14px); right: auto; min-width: 0; width: max-content; padding: 6px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; transform: translate(-6px,-50%) scale(.96); transform-origin: left center; }
.footer-contact-options::before { top: 0; bottom: 0; left: -16px; right: auto; width: 16px; height: 100%; }
.footer-contact .footer-contact-options a { position: relative; padding: 0; display: grid; place-items: center; place-content: center; flex: 0 0 48px; width: 48px; height: 48px; min-height: 48px; border: 1px solid #b7b69a66; border-radius: 50%; background: #20363b; color: #eee7da; box-shadow: 0 4px 12px #0003; transition: background .18s,border-color .18s,transform .18s; }
.footer-contact .footer-contact-options a:hover,.footer-contact .footer-contact-options a:focus-visible { background: #2a4246; color: #efaa85; border-color: #d19a73; transform: translateY(-2px); }
.footer-contact[data-open='true'] .footer-contact-options { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
@media (min-width: 761px) and (max-width: 1150px) { .personal-keepsakes { min-height: 580px; } .minecraft-keepsake { width: 230px; left: -8px; bottom: 0; } .aquarium-keepsake { right: -5px; bottom: 180px; } }
@media (max-width: 760px) { .personal-keepsakes { min-height: 580px; } .minecraft-keepsake { width: min(250px,94%); left: 0; bottom: 0; } .aquarium-keepsake { bottom: 190px; right: 0; } .terminal-dock::after { left: -5px; right: -5px; } }

@media (max-width: 360px) {
  .footer-contact .footer-contact-options { left: calc(100% + 8px); gap: 8px; }
  .footer-contact .footer-contact-options a { width: 44px; height: 44px; min-height: 44px; flex-basis: 44px; }
}

.pointer-grass { position: fixed; top: 0; left: 0; z-index: 40; width: 28px; height: 32px; pointer-events: none; user-select: none; -webkit-user-drag: none; contain: layout style; transform-origin: center; filter: drop-shadow(0 3px 2px #0003); }
@media (prefers-reduced-motion: reduce), (hover: none), (pointer: coarse), (max-width: 760px) { .pointer-grass { display: none; } }
