/* Sidearm design system.
 * A precise typographic field guide with an explorable modular foundation.
 */
@font-face { font-family: 'Space Grotesk'; src: url('./assets/fonts/space-grotesk.ttf') format('truetype'); font-style: normal; font-weight: 300 700; font-display: swap; }
@font-face { font-family: Manrope; src: url('./assets/fonts/manrope.ttf') format('truetype'); font-style: normal; font-weight: 200 800; font-display: swap; }
:root {
  color-scheme: light;
  --paper: #edf0ee; --ink: #192322; --muted: #586460; --line: #bdc8c1;
  --orange: #ed5129; --on-orange: #101815; --orange-ink: #ad3013;
  --dark: #182521; --on-dark: #eaf0e7; --on-dark-muted: #b6c6bb;
  --display: 'Space Grotesk', Arial, sans-serif; --body: Manrope, 'Segoe UI', sans-serif;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  --text-small: .875rem; --text-meta: .75rem;
  --space-1: .5rem; --space-2: 1rem; --space-3: 1.5rem; --space-4: 2.5rem; --space-5: 4rem; --space-6: 7.5rem;
  --gutter: clamp(1.25rem, 4vw, 4rem); --width: 1320px; --border: 1px solid var(--line);
  --motion: 240ms; --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--body); -webkit-font-smoothing: antialiased; }
::selection { background: var(--ink); color: var(--paper); }
h1,h2,h3,p,figure { margin: 0; }
h1,h2,h3 { font-family: var(--display); }
h2 { text-wrap: balance; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a,button,summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible,button:focus-visible,summary:focus-visible { outline: 3px solid var(--orange-ink); outline-offset: 5px; }
.wrap { width: min(var(--width), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.mono { font: var(--text-meta)/1.5 var(--mono); letter-spacing: .055em; }
.skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 10; transform: translateY(-160%); padding: 1rem; background: var(--ink); color: var(--paper); }
.skip-link:focus { transform: none; }
.brand-symbol { display: block; width: 31px; height: 31px; fill: currentColor; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 82px; border-bottom: var(--border); }
.brand-link { display: inline-flex; align-items: center; gap: 13px; font-size: var(--text-small); font-weight: 600; min-height: 44px; }
.brand-link .brand-symbol { color: var(--orange); }
.site-header nav { display: flex; align-items: center; gap: 32px; font-size: var(--text-small); }
.site-header nav a { position: relative; padding-block: 12px; }
.site-header nav a::after { content: ''; position: absolute; bottom: 5px; left: 0; right: 0; border-bottom: 1px solid currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--motion) var(--ease); }
.site-header nav a:hover::after { transform: scaleX(1); }
.nav-github { display: inline-flex; gap: 16px; align-items: center; }
.nav-github > span { font-size: 1.4rem; line-height: 1; }
.masthead { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-block: 30px 32px; }
.masthead h1 { font-size: clamp(7rem, 21.5vw, 19.35rem); font-weight: 500; letter-spacing: -.092em; line-height: .86; margin-left: -.065em; padding-right: .055em; }
.masthead-aside { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding-top: 16px; }
.masthead-symbol { display: grid; place-items: center; background: var(--orange); width: clamp(72px, 8.4vw, 122px); aspect-ratio: 1; position: relative; }
.masthead-symbol::after { content: ''; position: absolute; inset: -5px; border: 1px solid var(--orange); border-right-color: transparent; border-bottom-color: transparent; }
.masthead-symbol .brand-symbol { width: 60%; height: 60%; }
.masthead-aside > .mono { letter-spacing: .025em; }
.masthead-rule { display: flex; justify-content: space-between; gap: 16px; border-block: var(--border); padding-block: 12px; }
.hero-grid { display: grid; grid-template-columns: .93fr 1.07fr; align-items: center; gap: 28px; padding-block: 36px 30px; }
.section-label { display: flex; gap: 18px; font: var(--text-meta)/1.5 var(--mono); letter-spacing: .07em; }
.section-label > span { color: var(--orange-ink); white-space: nowrap; }
.hero-copy { padding-block: 16px; }
.hero-copy h2 { font-size: clamp(2.5rem, 4.1vw, 3.75rem); line-height: 1.06; font-weight: 400; letter-spacing: -.052em; margin-top: 28px; max-width: 590px; text-wrap: initial; }
.hero-copy h2 > span { color: var(--ink); }
.hero-description { max-width: 445px; color: var(--muted); line-height: 1.85; margin-top: 28px; font-size: 1.0625rem; }
.action-link { display: inline-flex; gap: 26px; align-items: center; margin-top: 30px; font-size: var(--text-small); font-weight: 700; }
.action-icon { display: grid; place-items: center; width: 46px; height: 46px; background: var(--orange); color: var(--on-orange); font-size: 1.5rem; transition: transform var(--motion) var(--ease); }
.action-link:hover .action-icon { transform: translateY(4px); }
.hero-footnote { display: flex; gap: 13px; align-items: flex-start; margin-top: 38px; color: var(--muted); font-size: var(--text-meta); }
.footnote-rule { width: 26px; border-top: 1px solid var(--orange-ink); margin-top: 9px; }
.runtime-figure { min-width: 0; }
.figure-heading { display: flex; align-items: center; justify-content: space-between; color: var(--muted); padding-inline: 10px; }
.figure-cross { font: 1.5rem/1 var(--mono); }
.diagram-stage { isolation: isolate; }
.stack-diagram { display: block; width: 100%; height: auto; overflow: visible; }
.stack-scaffold { fill: none; stroke: #9eafa4; stroke-width: .7; stroke-dasharray: 3 7; }
.stack-position { transition: transform 650ms var(--ease); }
.diagram-stage[data-separated='true'] .stack-position-world { transform: translateY(-34px); }
.diagram-stage[data-separated='true'] .stack-position-runtime { transform: translateY(34px); }
.stack-layer { --plate-fill: #e8eeea; --plate-edge: #8b9e92; --plate-ink: #455a4d; transition: transform 420ms var(--ease); }
.stack-layer[data-selected='true'] { --plate-fill: var(--orange); --plate-edge: #a0381d; --plate-ink: var(--on-orange); transform: translateY(-8px); }
.plate-face { fill: var(--plate-fill); stroke: var(--plate-edge); stroke-width: 1.2; }
.plate-edge-right { fill: var(--plate-edge); stroke: var(--plate-edge); stroke-width: .6; }
.plate-edge-front { fill: var(--plate-edge); stroke: var(--plate-edge); stroke-width: .6; filter: brightness(.85); }
.plate-grid { fill: none; stroke: var(--plate-edge); stroke-width: .65; opacity: .28; }
.plate-track { fill: none; stroke: var(--plate-ink); stroke-width: 1.5; }
.plate-node { fill: var(--plate-fill); stroke: var(--plate-ink); stroke-width: 1.5; }
.plate-glyph,.plate-core { fill: var(--plate-ink); }
.plate-label-rule { fill: none; stroke: var(--plate-ink); opacity: .5; }
.plate-label { fill: var(--plate-ink); font: 600 23px var(--display); letter-spacing: .025em; }
.plate-detail { fill: var(--plate-ink); font: 13px var(--mono); }
.plate-number { fill: var(--plate-ink); font: 16px var(--mono); }
.plate-screws { fill: var(--plate-ink); opacity: .6; }
.stack-annotation { font: 11px var(--mono); fill: #52675a; letter-spacing: .06em; }
.stack-rule { stroke: #a9b6ae; stroke-width: .7; }
.runtime-figure figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-inline: 10px; font-size: var(--text-meta); line-height: 1.55; color: var(--muted); }
.separate-button { display: inline-flex; align-items: center; gap: 9px; background: none; border: var(--border); color: var(--ink); padding: 10px 13px; min-height: 44px; font-size: var(--text-small); cursor: pointer; }
.separate-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.separate-button:hover { border-color: var(--ink); }
.separate-button[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.runtime-explorer { display: grid; grid-template-columns: .68fr 1.7fr; border-block: var(--border); gap: 52px; padding-block: 32px 34px; scroll-margin-top: min(65vh, 42rem); }
.explorer-controls > .mono { color: var(--muted); margin-bottom: 15px; }
.layer-buttons { display: grid; gap: 1px; }
.layer-button { display: flex; align-items: center; gap: 16px; width: 100%; border: 0; background: none; text-align: left; color: var(--ink); padding: 12px 14px; min-height: 48px; font-size: var(--text-small); cursor: pointer; }
.layer-index { font: var(--text-meta)/1 var(--mono); }
.layer-arrow { margin-left: auto; font-size: 1.25rem; }
.layer-button:hover { background: #dbe3dd; }
.layer-button[aria-pressed='true'] { background: var(--ink); color: var(--paper); }
.layer-button:disabled { cursor: default; }
.layer-description { display: grid; grid-template-columns: 1.3fr .8fr; align-items: start; gap: 36px; padding-top: 2px; }
.explorer-controls[hidden] + .layer-description { grid-column: 1 / -1; }
.layer-main h3 { font-size: 1.625rem; line-height: 1.2; font-weight: 400; letter-spacing: -.035em; margin-bottom: 15px; max-width: 420px; }
.layer-main > p { color: var(--muted); font-size: 1rem; line-height: 1.8; max-width: 470px; }
.layer-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 21px; padding: 0; margin: 22px 0 0; }
.layer-facts li { font: var(--text-meta)/1.5 var(--mono); }
.layer-facts li::before { content: '/'; margin-right: 8px; color: var(--orange-ink); }
.layer-use { border-left: var(--border); padding-left: 25px; }
.layer-use > .mono { color: var(--orange-ink); }
.layer-use p { margin-top: 13px; font-size: var(--text-small); line-height: 1.9; }
.script-free-layers { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-block: 30px; }
.script-free-layers h3 { margin-bottom: 10px; }
.script-free-layers p { color: var(--muted); }
.script-free-layers .fallback-example { margin-top: 16px; font-size: var(--text-small); }
.section-space { padding-block: var(--space-6); }
.section-heading { display: grid; grid-template-columns: .68fr 1.7fr; gap: 52px; margin-bottom: 55px; }
.section-heading h2 { font-size: clamp(2.7rem, 4.8vw, 4.4rem); line-height: 1.04; font-weight: 400; letter-spacing: -.055em; }
.section-heading h2 > span { color: var(--muted); }
.section-heading > div > p { color: var(--muted); margin-top: 23px; line-height: 1.8; }
.project-directory { border-top: 1px solid var(--ink); }
.project-row { border-bottom: var(--border); }
.project-row summary { list-style: none; display: grid; grid-template-columns: 130px 1fr 1fr 40px; gap: 30px; align-items: center; padding-block: 25px; cursor: pointer; }
.project-row summary::-webkit-details-marker { display: none; }
.project-row summary:hover .project-name strong { color: var(--orange-ink); }
.project-identity { display: flex; align-items: center; gap: 10px; }
.project-symbol { display: block; width: 82px; height: 78px; fill: #dbe4dd; stroke: #6e8777; stroke-width: .8; }
.symbol-soft { fill: #c8d7cc; }.symbol-accent { fill: var(--orange); stroke: var(--orange-ink); }.symbol-ink { fill: var(--ink); stroke: none; }.symbol-line { stroke: var(--on-orange); fill: none; stroke-width: 2; }
.project-index { color: var(--muted); font: var(--text-meta)/1.5 var(--mono); }
.project-name { display: flex; flex-direction: column; gap: 7px; }
.project-name strong { font: 400 clamp(1.7rem, 3.2vw, 2.875rem)/1.1 var(--display); letter-spacing: -.055em; }
.project-name small { font: var(--text-meta)/1.5 var(--mono); color: var(--muted); letter-spacing: .04em; }
.project-summary { max-width: 345px; color: var(--muted); font-size: 1rem; line-height: 1.8; }
.project-toggle { justify-self: end; display: grid; place-items: center; width: 38px; height: 38px; border: var(--border); font: 1.5rem/1 var(--display); color: var(--orange-ink); transition: transform var(--motion) var(--ease); }
.project-row[open] .project-toggle { transform: rotate(45deg); border-color: var(--orange-ink); }
.project-body { display: grid; grid-template-columns: 1.15fr 1fr; gap: 50px; padding: 4px 70px 36px 160px; }
.project-body p { font-size: 1rem; line-height: 1.85; max-width: 510px; }
.project-body ul { border-left: var(--border); padding: 0 0 0 25px; list-style: none; margin: 0; color: var(--muted); font-size: var(--text-small); }
.project-body li { padding-block: 6px; }
.project-body li::before { content: '+'; color: var(--orange-ink); margin-right: 12px; }
.principles-section { background: var(--dark); color: var(--on-dark); position: relative; overflow: hidden; }
.principles-section::before { content: ''; position: absolute; left: 0; top: 0; height: 6px; width: 24%; background: var(--orange); }
.principles-inner { padding-block: 55px 30px; }
.principles-section .section-label > span { color: #ff8b66; }
.principles-statement { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding-block: 46px 67px; }
.principles-statement h2 { font-size: clamp(3rem, 7.6vw, 7rem); line-height: 1.02; font-weight: 400; letter-spacing: -.055em; }
.principles-statement h2 > span { color: #f58b63; }
.principles-break { display: none; }
.principles-emblem { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 40px; width: 230px; height: 294px; flex-shrink: 0; }
.emblem-grid { position: absolute; inset: 0; border: 1px solid #536959; background: repeating-linear-gradient(90deg, transparent 0 27px, #8ca48e1a 27px 28px),repeating-linear-gradient(0deg, transparent 0 27px, #8ca48e1a 27px 28px); transform: rotate(-7deg); }
.principles-emblem .brand-symbol { position: relative; width: 122px; height: 122px; color: #d5e3d1; }
.principles-emblem > span { position: relative; font: var(--text-meta)/1.5 var(--mono); letter-spacing: .075em; color: #b6c6bb; }
.principles-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 42px; border-top: 1px solid #536557; padding-block: 34px 42px; }
.principle-number { color: #b6c6bb; font: var(--text-meta)/1.5 var(--mono); }
.principles-list h3 { font-size: 1.375rem; font-weight: 400; letter-spacing: -.025em; margin-top: 22px; }
.principles-list p { color: var(--on-dark-muted); margin-top: 14px; line-height: 1.85; max-width: 355px; }
.principles-bottom { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid #536557; padding-top: 23px; color: var(--on-dark-muted); font-size: var(--text-meta); }
.follow-section { display: grid; grid-template-columns: .68fr 1.7fr; gap: 52px; padding-block: 108px 100px; }
.follow-intro > p:last-child { color: var(--muted); font-size: var(--text-small); line-height: 1.9; margin-top: 28px; }
.follow-main h2 { font-size: clamp(3.25rem,6.8vw,6.2rem); line-height: 1.04; font-weight: 400; letter-spacing: -.055em; }
.follow-main h2 > span { color: var(--orange-ink); }
.github-action { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--orange); color: var(--on-orange); min-height: 92px; padding: 22px 28px; margin-top: 35px; font: 500 1.125rem/1.4 var(--display); }
.github-action > :last-child { font: 3.1rem/1 var(--display); transition: transform var(--motion) var(--ease); }
.github-action:hover > :last-child { transform: translate(5px,-5px); }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; border-top: var(--border); padding-block: 25px 30px; }
.footer-brand { display: flex; align-items: center; gap: 11px; min-height: 44px; font: 500 1.6rem/1 var(--display); letter-spacing: -.075em; }
.footer-brand .brand-symbol { width: 24px; height: 24px; }
.parent-link { display: inline-flex; align-items: center; gap: .45rem; }
.parent-link .roubiniol-mark { width: 1rem; height: 1rem; flex-shrink: 0; fill: var(--orange-ink); }
.site-footer > span,.site-footer > a:last-child { font-size: var(--text-meta); }
.site-footer > a:last-child { display: flex; align-items: center; gap: 30px; min-height: 44px; }
@media (max-width:70rem) {
  .site-header nav { gap: 23px; }
  .masthead-aside > .mono { display: none; }
  .hero-grid { gap: 20px; }
  .hero-copy h2 { font-size: clamp(2.5rem,4.2vw,3.25rem); }
  .hero-description { font-size: 1rem; }
  .hero-footnote { margin-top: 26px; }
  .runtime-explorer,.section-heading,.follow-section { gap: 32px; grid-template-columns: .75fr 1.65fr; }
  .layer-description { grid-template-columns: 1fr; gap: 23px; }
  .layer-use { padding-left: 0; padding-top: 18px; border-left: 0; border-top: var(--border); }
  .layer-use p { margin-top: 8px; }
  .layer-main h3 { max-width: none; }
  .project-row summary { grid-template-columns: 100px 1fr 1fr 32px; gap: 24px; }
  .project-symbol { width: 64px; height: 64px; }
  .project-body { padding-left: 124px; padding-right: 40px; gap: 30px; }
  .principles-emblem { width: 170px; height: 240px; }
  .principles-emblem .brand-symbol { width: 100px; height: 100px; }
  .principles-list { gap: 30px; }
}
@media (max-width:52rem) {
  :root { --space-6: 5.5rem; }
  .site-header { min-height: 74px; }
  .brand-link > span { display: none; }
  .masthead { padding-block: 28px; }
  .masthead h1 { font-size: 23.5vw; }
  .masthead-symbol { width: 66px; }
  .masthead-rule > :last-child { display: none; }
  .hero-grid { grid-template-columns: .92fr 1.08fr; padding-top: 24px; }
  .hero-copy h2 { font-size: 2.25rem; margin-top: 24px; }
  .hero-description { margin-top: 20px; line-height: 1.75; }
  .hero-footnote { display: none; }
  .figure-heading .mono { letter-spacing: 0; }
  .runtime-figure figcaption { flex-direction: column; align-items: flex-start; padding: 0; }
  .runtime-figure figcaption br { display: none; }
  .runtime-explorer { grid-template-columns: 1fr; gap: 27px; }
  .layer-buttons { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; }
  .layer-button { border-bottom: var(--border); gap: 10px; }
  .layer-arrow { display: none; }
  .layer-description { grid-template-columns: 1.3fr 1fr; gap: 30px; }
  .layer-use { padding: 0 0 0 23px; border-top: 0; border-left: var(--border); }
  .section-heading { grid-template-columns: .55fr 1.45fr; gap: 28px; margin-bottom: 35px; }
  .section-heading h2 { font-size: 2.75rem; }
  .project-row summary { grid-template-columns: 74px 1fr 1fr 30px; gap: 17px; }
  .project-index { display: none; }
  .project-symbol { width: 68px; height: 68px; }
  .project-summary { font-size: var(--text-small); }
  .project-name strong { font-size: 1.95rem; }
  .project-body { padding-left: 91px; padding-right: 15px; gap: 25px; }
  .principles-statement { padding-block: 38px 50px; }
  .principles-statement h2 { font-size: 3.4rem; }
  .principles-emblem { width: 120px; height: 190px; gap: 23px; }
  .principles-emblem .brand-symbol { width: 70px; height: 70px; }
  .principles-emblem > span { font-size: var(--text-meta); letter-spacing: 0; }
  .principles-list { gap: 24px; }
  .principles-list h3 { font-size: 1.125rem; }
  .follow-section { grid-template-columns: .6fr 1.4fr; padding-block: 80px; gap: 28px; }
  .follow-main h2 { font-size: 3.7rem; }
}
@media (max-width:40rem) {
  .site-header nav { gap: 20px; }
  .site-header nav > a:nth-child(1),.site-header nav > a:nth-child(3) { display: none; }
  .brand-link .brand-symbol { width: 26px; height: 26px; }
  .masthead { gap: 13px; padding-block: 28px 25px; }
  .masthead h1 { font-size: 25vw; }
  .masthead-aside { padding-top: 8px; }
  .masthead-symbol { width: 44px; }
  .masthead-symbol::after { inset: -3px; }
  .masthead-rule .mono { letter-spacing: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; padding-block: 34px 26px; }
  .hero-copy { padding: 0; }
  .hero-copy h2 { font-size: clamp(2.55rem,8.1vw,3.5rem); margin-top: 24px; max-width: 480px; }
  .hero-description { margin-top: 23px; max-width: 470px; }
  .action-link { margin-top: 25px; }
  .runtime-figure { width: 100%; max-width: 500px; margin-inline: auto; }
  .figure-heading { padding-inline: 0; }
  .runtime-figure figcaption { flex-direction: row; align-items: center; gap: 14px; }
  .runtime-figure figcaption > span { max-width: 145px; }
  .separate-button { padding-inline: 9px; gap: 7px; font-size: .875rem; white-space: nowrap; }
  .stack-annotation,.stack-rule { display: none; }
  .runtime-explorer { padding-block: 24px 28px; gap: 25px; }
  .layer-buttons { gap: 4px; }
  .layer-button { flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: 12px 7px; gap: 9px; font-size: .875rem; line-height: 1.4; min-height: 76px; }
  .layer-description { grid-template-columns: 1fr; gap: 23px; }
  .layer-main h3 { font-size: 1.6rem; }
  .layer-use { border-left: 0; border-top: var(--border); padding: 20px 0 0; }
  .layer-use p { font-size: 1rem; line-height: 1.8; }
  .layer-facts { gap: 10px 15px; margin-top: 20px; }
  .script-free-layers { grid-template-columns: 1fr; }
  .section-space { padding-block: 65px; }
  .section-heading { grid-template-columns: 1fr; gap: 26px; margin-bottom: 34px; }
  .section-heading h2 { font-size: 2.7rem; }
  .section-heading > div > p { margin-top: 20px; }
  .section-heading p br { display: none; }
  .project-row summary { grid-template-columns: 55px minmax(0,1fr) 29px; gap: 12px; padding-block: 25px; }
  .project-identity { align-self: start; }
  .project-symbol { width: 52px; height: 58px; }
  .project-name strong { font-size: 1.875rem; }
  .project-name small { font-size: var(--text-meta); }
  .project-summary { grid-column: 2 / 4; grid-row: 2; max-width: 310px; margin-top: 0; }
  .project-toggle { grid-column: 3; grid-row: 1; width: 28px; height: 28px; font-size: 1.25rem; }
  .project-body { padding: 0 0 29px; grid-template-columns: 1fr; gap: 20px; }
  .project-body ul { padding-left: 0; border-left: 0; }
  .project-body p { font-size: 1rem; }
  .principles-inner { padding-block: 42px 26px; }
  .principles-statement { padding-block: 34px 39px; }
  .principles-statement h2 { font-size: clamp(2.65rem,8.5vw,3.5rem); }
  .principles-emblem { display: none; }
  .principles-break { display: initial; }
  .principles-list { grid-template-columns: 1fr; gap: 25px; padding-block: 28px 35px; }
  .principles-list article + article { border-top: 1px solid #536557; padding-top: 25px; }
  .principles-list h3 { font-size: 1.375rem; margin-top: 12px; }
  .principles-list p { margin-top: 12px; max-width: 470px; }
  .principles-bottom { flex-direction: column; gap: 13px; }
  .follow-section { grid-template-columns: 1fr; gap: 32px; padding-block: 64px 58px; }
  .follow-intro > p:last-child { margin-top: 20px; }
  .follow-main h2 { font-size: clamp(3rem,10.4vw,4rem); }
  .github-action { margin-top: 28px; padding: 22px 19px; font-size: 1rem; min-height: 86px; }
  .github-action > :last-child { font-size: 2.6rem; }
  .site-footer { padding-block: 22px; gap: 12px; }
  .site-footer > span { display: none; }
  .site-footer > a:last-child { gap: 15px; }
}
/* The shared-project map illustrates continuity without imitating live product data. */
.practice-section { background: #dce5de; border-block: var(--border); padding-block: 80px 35px; margin-top: 80px; }
.practice-heading { display: grid; grid-template-columns: .68fr 1.7fr; gap: 52px; }
.practice-heading h2 { font-size: clamp(2.8rem,5.4vw,5rem); line-height: 1.03; letter-spacing: -.06em; font-weight: 400; }
.practice-heading > div > p { margin-top: 25px; color: #43544a; line-height: 1.8; }
.work-map { position: relative; display: grid; grid-template-columns: 1fr .45fr 1.4fr .45fr 1fr; align-items: center; padding: 60px 45px 28px; margin-block: 48px; background: var(--paper); background-image: radial-gradient(#b7c6ba .7px, transparent .7px); background-size: 18px 18px; border: 1px solid #adbdaf; }
.work-surface { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 5px; }
.surface-icon { display: grid; place-items: center; width: 68px; height: 60px; background: #dce5de; border: 1px solid #8b9e92; border-radius: 12px 12px 12px 0; font: 2rem/1 var(--display); margin-bottom: 17px; }
.code-icon { border-radius: 0; background: var(--ink); color: var(--paper); font: 1.6rem/1 var(--mono); }
.work-surface strong { font: 500 1.25rem/1.3 var(--display); letter-spacing: -.025em; }
.work-surface > span:last-child { color: var(--muted); font-size: var(--text-small); }
.work-center { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 200px; padding: 24px 16px; background: var(--orange); border: 1px solid #a83e22; box-shadow: 8px 8px 0 #becbc1; color: var(--on-orange); text-align: center; }
.work-center .brand-symbol { width: 38px; height: 38px; margin-bottom: 22px; }
.work-center strong { font: 500 clamp(1.5rem,2.5vw,2.3rem)/1.1 var(--display); letter-spacing: -.055em; }
.work-center > span { margin-top: 12px; font-size: var(--text-meta); }
.work-connection { display: flex; align-items: center; gap: 7px; font: 1.5rem/1 var(--display); color: #52675a; padding-inline: 12px; }
.work-connection span { height: 1px; background: #8b9e92; flex: 1; }
.board-connection { grid-column: 3; justify-self: center; border-left: 1px solid #8b9e92; height: 40px; }
.board-surface { grid-column: 3; display: flex; justify-content: center; align-items: center; gap: 12px; background: var(--paper); border: var(--border); padding: 12px; }
.board-surface > span { font: 2rem/1 var(--display); color: var(--orange-ink); }
.board-surface > div { display: flex; flex-direction: column; }
.board-surface strong { font-size: var(--text-small); }
.board-surface div > span { color: var(--muted); font-size: var(--text-meta); }
.work-map figcaption { grid-column: 1 / -1; text-align: center; font: var(--text-meta)/1.5 var(--mono); color: var(--muted); margin-top: 32px; }
.scenario-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; }
.scenario-list article { border-top: 1px solid #93a797; padding-top: 23px; }
.scenario-list .mono { color: #43544a; }
.scenario-list h3 { font-size: 1.7rem; font-weight: 400; letter-spacing: -.045em; line-height: 1.15; margin-block: 20px 16px; }
.scenario-list p { color: #43544a; line-height: 1.85; }
.scenario-detail { display: block; font: var(--text-meta)/1.5 var(--mono); margin-top: 24px; }
.practice-note { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-top: 25px; margin-top: 45px; border-top: 1px solid #93a797; }
.practice-note p { color: #43544a; font-size: var(--text-small); max-width: 620px; }
.workshop-note { display: grid; grid-template-columns: 1fr 1.5fr; gap: 22px 60px; border: var(--border); border-left: 4px solid var(--orange); padding: 30px; margin-top: 40px; }
.workshop-note .mono { color: var(--orange-ink); }
.workshop-note h3 { font-size: 1.7rem; line-height: 1.15; font-weight: 400; letter-spacing: -.035em; margin-top: 16px; }
.workshop-note p { color: var(--muted); line-height: 1.85; }
.development-label { grid-column: 2; font: var(--text-meta)/1.5 var(--mono); }
.development-label::before { content: ''; display: inline-block; width: 6px; height: 6px; background: var(--orange-ink); border-radius: 50%; margin-right: 10px; }
.availability-copy { color: var(--muted); line-height: 1.9; max-width: 610px; margin-top: 28px; }
@media (max-width:70rem) {
  .practice-heading { grid-template-columns: .75fr 1.65fr; gap: 32px; }
  .work-map { padding-inline: 25px; }
  .scenario-list { gap: 25px; }
}
@media (max-width:52rem) {
  .practice-section { margin-top: 55px; padding-top: 55px; }
  .practice-heading { grid-template-columns: 1fr; gap: 25px; }
  .work-map { grid-template-columns: 1fr .25fr 1.35fr .25fr 1fr; padding-inline: 15px; }
  .work-connection { padding-inline: 4px; }
  .work-center { min-height: 190px; }
  .work-center > span { max-width: 130px; }
  .work-surface strong { font-size: 1rem; }
  .work-surface > span:last-child { font-size: var(--text-meta); }
  .scenario-list { grid-template-columns: 1fr; gap: 28px; }
  .scenario-list article { display: grid; grid-template-columns: 1fr 1.2fr; gap: 12px 30px; }
  .scenario-list .mono { grid-column: 1; }
  .scenario-list h3 { grid-column: 1; margin: 0; }
  .scenario-list p { grid-column: 2; grid-row: 1 / 4; }
  .scenario-detail { grid-column: 1; margin-top: 8px; }
  .practice-note { align-items: flex-start; flex-direction: column; gap: 14px; }
  .workshop-note { gap: 20px 30px; }
}
@media (max-width:40rem) {
  .practice-section { margin-top: 45px; padding-block: 42px 28px; }
  .practice-heading h2 { font-size: clamp(2.45rem,8.5vw,3.4rem); }
  .practice-heading p br { display: none; }
  .work-map { grid-template-columns: 1fr; padding: 28px 22px 20px; margin-block: 30px; }
  .work-surface { flex-direction: row; justify-content: flex-start; flex-wrap: wrap; gap: 4px 14px; }
  .surface-icon { width: 42px; height: 42px; margin-bottom: 0; font-size: 1.5rem; }
  .work-surface strong { font-size: 1.05rem; }
  .work-surface > span:last-child { display: none; }
  .work-connection { height: 35px; width: 1px; padding: 0; margin-left: 21px; background: #8b9e92; font-size: 0; }
  .work-connection span { display: none; }
  .work-center { min-height: 158px; }
  .work-center .brand-symbol { width: 32px; height: 32px; margin-bottom: 14px; }
  .work-center strong { font-size: 1.85rem; }
  .work-center > span { max-width: none; }
  .board-connection { grid-column: 1; margin-left: 21px; justify-self: start; height: 28px; }
  .board-surface { grid-column: 1; justify-content: flex-start; }
  .work-map figcaption { font-size: .7rem; }
  .scenario-list article { display: block; }
  .scenario-list h3 { margin-block: 16px; }
  .scenario-detail { margin-top: 20px; }
  .workshop-note { grid-template-columns: 1fr; padding: 24px; gap: 18px; }
  .development-label { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { transition-duration: 0s !important; animation: none !important; }
}

/* Thread Atlas composition keeps the illustrated route behind readable document content. */
.journey-section { position: relative; overflow: clip; background: #dce5de; border-block: var(--border); margin-top: 80px; padding-block: clamp(3.5rem, 8vw, 7rem); }
.journey-section::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(68,85,75,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(68,85,75,.055) 1px, transparent 1px); background-size: 28px 28px; }
.journey-section > .wrap { position: relative; }
.journey-heading { display: grid; grid-template-columns: minmax(10rem,.62fr) minmax(0,1.38fr); gap: clamp(2rem,5vw,5rem); align-items: start; }
.journey-heading h2 { max-width: 11ch; font-size: clamp(3rem,5.7vw,5.5rem); line-height: 1; letter-spacing: -.065em; font-weight: 400; }
.journey-heading p:not(.section-label) { max-width: 39rem; margin-top: 1.5rem; color: #43544a; line-height: 1.85; }
.journey-disclosure { display: inline-flex; align-items: baseline; gap: .75rem; margin-top: 1.5rem; padding: .45rem .65rem; border: 1px solid #8b9e92; color: #43544a; background: rgba(237,240,238,.62); }

.journey-atlas { position: relative; isolation: isolate; margin-top: clamp(2.5rem,5vw,4.5rem); padding: clamp(1.25rem,3vw,2.6rem); border: 1px solid #aab9ae; background: var(--paper); }
.journey-route { position: absolute; z-index: -1; inset: 0; display: block; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.journey-route path,.journey-route .route-line { fill: none; stroke: #8b9e92; stroke-width: 1.2; stroke-dasharray: 3 6; }
.journey-route .route-node { fill: var(--paper); stroke: var(--orange-ink); stroke-width: 1.4; }
.journey-stages { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(.75rem,2.2vw,2rem); align-items: stretch; }
.journey-stage { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 17rem; padding: 1.25rem; border: 1px solid #aebdb2; background: rgba(237,240,238,.9); box-shadow: 0 0 0 1px transparent; transition: opacity 520ms var(--ease), transform 520ms var(--ease), border-color 520ms var(--ease), background-color 520ms var(--ease); }
.journey-stage::before { content: attr(data-stage-index); display: block; margin-bottom: 1.35rem; color: var(--orange-ink); font: var(--text-meta)/1 var(--mono); letter-spacing: .08em; }
.journey-stage h3 { font-size: clamp(1.35rem,1.8vw,1.8rem); font-weight: 400; line-height: 1.08; letter-spacing: -.045em; }
.journey-stage > p:not(.journey-status):not(.journey-truth) { margin-top: 1rem; color: #43544a; font-size: .92rem; line-height: 1.75; }
.journey-status { display: inline-flex; align-items: center; width: fit-content; margin-top: auto; padding-top: 1.5rem; color: var(--ink); font: var(--text-meta)/1.4 var(--mono); letter-spacing: .045em; }
.journey-status::before { content: ''; width: .5rem; height: .5rem; margin-right: .55rem; background: var(--orange); border-radius: 50%; }
.journey-truth { margin-top: .65rem; color: #586460; font: .68rem/1.45 var(--mono); letter-spacing: .025em; }
.journey-stage[data-current='true'],.journey-stage.is-current { z-index: 1; border-color: var(--ink); background: #f5f7f5; box-shadow: 7px 7px 0 rgba(25,35,34,.16); }

.task-ticket { position: relative; z-index: 3; display: grid; gap: .55rem; width: min(15rem,100%); margin: clamp(1rem,3vw,2.4rem) auto 0; padding: 1rem 1.05rem; border: 1px solid var(--ink); border-left: 5px solid var(--orange); background: var(--paper); color: var(--ink); box-shadow: 5px 5px 0 #c5d0c7; transition: transform 520ms var(--ease), opacity 520ms var(--ease); }
.task-ticket > span:first-child,.task-ticket .task-id { color: var(--orange-ink); font: var(--text-meta)/1 var(--mono); letter-spacing: .08em; }
.task-ticket strong,.task-ticket .task-title { font: 500 1.08rem/1.15 var(--display); letter-spacing: -.025em; }
.task-ticket > span:last-child,.task-ticket .task-state { color: var(--muted); font: .7rem/1.3 var(--mono); }
.journey-atlas[data-stage='conversation'] .task-ticket { transform: translateX(-32%); }
.journey-atlas[data-stage='coding'] .task-ticket { transform: translateX(-11%); }
.journey-atlas[data-stage='approval'] .task-ticket { transform: translateX(11%); }
.journey-atlas[data-stage='review'] .task-ticket { transform: translateX(32%); }
.task-ticket .bef-symbol,.task-ticket svg { position: absolute; right: .75rem; top: .65rem; width: 1.55rem; height: 1.55rem; color: var(--orange); }

.journey-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-top: 1.4rem; }
.journey-controls button { min-height: 46px; padding: .65rem .9rem; border: 1px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); cursor: pointer; font: .78rem/1.2 var(--mono); letter-spacing: .035em; }
.journey-controls button:hover { background: var(--ink); color: var(--paper); }
.journey-controls button[disabled],.journey-controls button[aria-disabled='true'] { cursor: not-allowed; opacity: .45; }
.journey-controls button:focus-visible { outline: 3px solid var(--orange-ink); outline-offset: 4px; }
.journey-controls [data-journey-play],.journey-controls .journey-play { margin-left: auto; border-color: var(--orange-ink); background: var(--orange); color: var(--on-orange); }
.journey-controls [data-journey-replay],.journey-controls .journey-replay { border-color: #8b9e92; }
.journey-status[role='status'] { display: block; min-height: 1.5rem; margin: .85rem 0 0; color: #43544a; font: var(--text-meta)/1.45 var(--mono); letter-spacing: .04em; }
.journey-status[role='status']::before { display: none; }

/* The runtime lives below the human-visible thread as the system under the surface. */
.system-section { --muted: var(--on-dark-muted); --orange-ink: #ff8b66; position: relative; overflow: clip; background: var(--dark); color: var(--on-dark); border-block: 1px solid #2e4138; }
.system-section::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 80% 20%,rgba(237,81,41,.16),transparent 30rem), linear-gradient(125deg,rgba(255,255,255,.04),transparent 32%); }
.system-section .wrap { position: relative; }
.system-section .section-label,.system-section .figure-heading,.system-section .runtime-figure figcaption,.system-section .explorer-controls > .mono,.system-section .layer-description,.system-section .layer-use,.system-section .layer-button { color: var(--on-dark-muted); }
.system-section .section-label > span { color: var(--orange-ink); }
.system-section .runtime-figure { padding-top: clamp(2.5rem,5vw,5rem); }
.system-section .figure-heading { padding-inline: 0; }
.system-section .runtime-explorer { border-color: #43554b; }
.system-section .layer-button:hover,.system-section .layer-button[aria-pressed='true'],.system-section .layer-button[data-selected='true'] { background: rgba(234,240,231,.12); color: var(--on-dark); }
.system-section .layer-use { border-color: #43554b; }
.system-section .separate-button { border-color: #708277; color: var(--on-dark); }
.system-section .separate-button[aria-pressed='true'] { background: var(--orange); border-color: var(--orange); color: var(--on-orange); }
.system-section .script-free-layers { color: var(--on-dark-muted); }
.system-section .stack-scaffold { stroke: #6e8276; }
.system-section .stack-layer { --plate-fill: #25382f; --plate-edge: #697e71; --plate-ink: #eaf0e7; }
.system-section .stack-layer[data-selected='true'] { --plate-fill: var(--orange); --plate-edge: #f17d58; --plate-ink: var(--on-orange); }

/* The workshop frame depicts feedback and an un-applied proposal. */
.workshop-section { background: #e6ece7; border-bottom: var(--border); }
.workshop-section .section-heading { margin-bottom: 2.5rem; }
.godot-vignette { position: relative; display: grid; grid-template-columns: minmax(0,1.4fr) minmax(13rem,.6fr); gap: 0; overflow: hidden; border: 1px solid #8b9e92; background: #26382f; color: #eaf0e7; }
.godot-vignette::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .3; background-image: linear-gradient(#72877a 1px,transparent 1px),linear-gradient(90deg,#72877a 1px,transparent 1px); background-size: 24px 24px; }
.godot-canvas,.godot-editor { position: relative; min-height: 24rem; }
.godot-canvas { border-right: 1px solid #54695b; }
.godot-canvas svg { display: block; width: 100%; height: 100%; }
.godot-canvas .trajectory,.godot-vignette .proposed-trajectory { fill: none; stroke: var(--orange); stroke-width: 3; stroke-dasharray: 8 7; }
.godot-canvas .feedback-marker,.godot-vignette .feedback-marker { fill: var(--orange); stroke: #ffe2d7; stroke-width: 2; }
.godot-editor { display: flex; flex-direction: column; gap: 1.15rem; padding: 1.5rem; background: rgba(15,25,21,.68); }
.godot-editor > .mono,.godot-vignette .development-label { color: #f5a18b; }
.godot-editor h3 { font-size: clamp(1.7rem,2.6vw,2.5rem); font-weight: 400; line-height: 1.04; letter-spacing: -.055em; }
.godot-editor p { color: #c0d0c4; line-height: 1.7; }
.godot-editor .task-ticket,.godot-vignette .task-ticket { width: 100%; margin: auto 0 0; color: var(--ink); }
.review-pending,.awaiting-review { display: inline-flex; align-items: center; gap: .55rem; color: #f6d6ca; font: var(--text-meta)/1.4 var(--mono); letter-spacing: .04em; }
.review-pending::before,.awaiting-review::before { content: ''; width: .55rem; height: .55rem; border: 1px solid var(--orange); border-radius: 50%; }

/* The final chapter is a return path, while GitHub remains secondary public context. */
.availability-section .return-journey,.follow-section .return-journey { display: inline-flex; align-items: center; gap: .85rem; min-height: 44px; margin-top: 2rem; border-bottom: 1px solid currentColor; font: .8rem/1.2 var(--mono); letter-spacing: .04em; }
.site-footer .footer-github,.site-footer .private-repository-note { color: var(--muted); font-size: var(--text-meta); }

@media (max-width: 70rem) {
  .journey-heading { grid-template-columns: .7fr 1.3fr; gap: 2rem; }
  .journey-stages { gap: .8rem; }
  .journey-stage { min-height: 18.5rem; padding: 1rem; }
  .journey-stage h3 { font-size: 1.35rem; }
  .journey-atlas[data-stage='conversation'] .task-ticket { transform: translateX(-20%); }
  .journey-atlas[data-stage='coding'] .task-ticket { transform: translateX(-7%); }
  .journey-atlas[data-stage='approval'] .task-ticket { transform: translateX(7%); }
  .journey-atlas[data-stage='review'] .task-ticket { transform: translateX(20%); }
}

@media (max-width: 52rem) {
  .site-header { align-items: flex-start; padding-block: 1rem; }
  .site-header nav { flex-wrap: wrap; justify-content: flex-end; gap: .2rem .9rem; }
  .site-header nav a { min-height: 42px; padding: .65rem 0; }
  .site-header nav a[href='#practice'] { display: inline-flex; }
  .journey-section { margin-top: 3.5rem; }
  .journey-heading { grid-template-columns: 1fr; gap: 1.25rem; }
  .journey-heading h2 { max-width: 13ch; }
  .journey-atlas { padding: 1rem; }
  .journey-route { display: none; }
  .journey-stages { grid-template-columns: 1fr; gap: 1rem; }
  .journey-stage { min-height: 0; padding: 1.25rem; }
  .journey-stage::before { margin-bottom: .8rem; }
  .journey-stage > p:not(.journey-status):not(.journey-truth) { max-width: 40rem; }
  .journey-status { margin-top: 1.25rem; padding-top: 0; }
  .task-ticket,.journey-atlas[data-stage] .task-ticket { transform: none; width: min(100%,25rem); margin-inline: 0; }
  .journey-controls { gap: .5rem; }
  .journey-controls [data-journey-play],.journey-controls .journey-play { margin-left: 0; }
  .system-section .runtime-explorer { grid-template-columns: 1fr; gap: 1.5rem; }
  .godot-vignette { grid-template-columns: 1fr; }
  .godot-canvas { min-height: 18rem; border-right: 0; border-bottom: 1px solid #54695b; }
  .godot-editor { min-height: 20rem; }
}

@media (max-width: 25rem) {
  :root { --gutter: 1rem; }
  .brand-link > span { display: none; }
  .site-header { gap: .75rem; }
  .site-header nav { max-width: calc(100% - 3rem); gap-inline: .65rem; font-size: .74rem; }
  .journey-controls button { padding-inline: .7rem; font-size: .7rem; }
  .journey-heading h2 { font-size: clamp(2.55rem,12vw,3.3rem); }
  .journey-stage { padding: 1rem; }
  .godot-editor { padding: 1.1rem; }
}

@media (prefers-reduced-motion: reduce), (max-width: 52rem) {
  .journey-stage,.task-ticket,.journey-route path,.journey-route .route-line { transition-duration: 0s !important; animation: none !important; }
  .journey-route { animation: none !important; }
  .journey-atlas[data-stage] .task-ticket { transform: none; }
}

/* The public wordmark is a headline; compact marks carry the system vocabulary. */
.masthead-wordmark { margin-left: -.065em; padding-right: .06em; font: 500 clamp(5.8rem,20.5vw,18.8rem)/.82 var(--display); letter-spacing: -.092em; overflow-wrap: anywhere; }
.atlas-symbol { display: block; width: 100%; height: 100%; }
.atlas-symbol .symbol-ink { fill: currentColor; }
.atlas-symbol .symbol-accent { fill: var(--orange); }
.atlas-symbol .symbol-soft { fill: #bac9be; }
.atlas-symbol .symbol-line { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: square; stroke-linejoin: miter; }
.brand-link .atlas-symbol { width: 28px; height: 28px; color: var(--ink); }
.masthead-symbol .atlas-symbol { width: 62%; height: 62%; color: var(--ink); }
/* The fist remains visible against the orange masthead tile. */
.masthead-symbol .symbol-accent { fill: #f7b19d; stroke: var(--ink); stroke-width: 2.2; }
.hero-atlas-note { display: grid; align-content: center; justify-items: start; gap: 1rem; min-width: 0; min-height: 24rem; padding: clamp(1.4rem,3.3vw,3rem); border: 1px solid #9caf9f; background: linear-gradient(145deg,#dce5de 0%,#c8d5cb 100%); overflow: hidden; }
.hero-atlas-symbol { display: block; width: min(100%,19rem); aspect-ratio: 1.05; color: var(--ink); }
.hero-atlas-note > p:not(.mono) { max-width: 24rem; color: #43544a; line-height: 1.75; }
.hero-atlas-note > .mono { color: var(--orange-ink); }

/* The route belongs to the atlas field and never alters the document flow. */
.journey-atlas { min-height: 31rem; overflow: hidden; }
.journey-route-field { position: absolute; z-index: 0; inset: 0; pointer-events: none; overflow: hidden; }
.journey-route-field .journey-route { position: absolute; inset: 7% 3%; display: block; width: 94%; height: 86%; max-width: none; max-height: none; overflow: hidden; }
.journey-route-line { fill: none; stroke: #829589; stroke-width: 2.2; }
.journey-route-dash { fill: none; stroke: var(--orange); stroke-width: 2.3; stroke-dasharray: 4 11; }
.journey-route-nodes circle { fill: var(--paper); stroke: var(--orange-ink); stroke-width: 2.5; }
.journey-stages { position: relative; z-index: 1; }
.journey-stage { background: rgba(237,240,238,.94); }
.journey-stage[data-active='true'] { z-index: 2; opacity: 1; border-color: var(--ink); background: #f5f7f5; box-shadow: 7px 7px 0 rgba(25,35,34,.16); }
.journey-stage[data-system-related='true'] { border-color: var(--orange-ink); background: #f5e7e1; box-shadow: inset 4px 0 0 var(--orange); }
.journey-stage[data-system-related='true']::after { content: 'UNDER THE SURFACE'; position: absolute; right: .8rem; bottom: .75rem; color: var(--orange-ink); font: .6rem/1 var(--mono); letter-spacing: .05em; }
.journey-companion { position: absolute; z-index: 3; right: clamp(1rem,3vw,2.7rem); top: 1.25rem; width: clamp(2.8rem,5vw,4.5rem); height: clamp(2.8rem,5vw,4.5rem); padding: .45rem; background: var(--orange); color: var(--on-orange); box-shadow: 4px 4px 0 rgba(25,35,34,.17); }
.journey-companion .atlas-symbol { color: var(--on-orange); }
.journey-companion .symbol-accent { fill: #f7b19d; }
.task-ticket { position: relative; z-index: 4; width: min(15rem,calc(100% - 3rem)); margin: 0 auto 2rem; }
.task-ticket-symbol { position: absolute; right: .75rem; top: .7rem; width: 1.55rem; height: 1.55rem; color: var(--orange); }
.task-ticket-symbol .atlas-symbol { color: var(--orange); }
.task-ticket-context { color: var(--muted); font: .7rem/1.3 var(--mono); }
.journey-scene[data-active-stage='conversation'] .task-ticket { transform: translateX(-42%); }
.journey-scene[data-active-stage='coding'] .task-ticket { transform: translateX(-14%); }
.journey-scene[data-active-stage='approval'] .task-ticket { transform: translateX(14%); }
.journey-scene[data-active-stage='review'] .task-ticket { transform: translateX(42%); }

/* Sidearm reads as a depth layer without shrinking its operational diagrams. */
.system-section { padding-block: clamp(3.5rem,7vw,7rem); }
.system-section .section-heading { margin-bottom: clamp(2.5rem,5vw,4rem); }
.system-section .section-heading h2,.system-section .system-aside h2 { color: var(--on-dark); }
.system-section .section-heading > div > p,.system-section .system-aside > p:not(.mono) { color: var(--on-dark-muted); }
.system-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(16rem,.55fr); gap: clamp(2rem,5vw,5rem); align-items: center; }
.system-aside { display: grid; justify-items: start; gap: 1.2rem; padding: clamp(1.5rem,3vw,2.5rem); border-left: 1px solid #53675b; }
.system-aside > span { display: block; width: clamp(4rem,8vw,7rem); aspect-ratio: 1; color: var(--on-dark); }
.system-aside .atlas-symbol .symbol-soft { fill: #607569; }
.system-aside .atlas-symbol .symbol-accent { fill: var(--orange); }
.system-aside .action-link { color: var(--on-dark); }
.system-aside .action-icon { background: var(--orange); }
.system-section .runtime-figure { padding-top: 0; }
.system-section .diagram-stage { min-width: 0; }
.system-section .stack-diagram { max-height: min(42rem,70vw); }

/* The Godot drawing stays an SVG inside its figure frame. */
.workshop-section { padding-block: clamp(3.5rem,7vw,7rem); }
.workshop-grid { display: grid; grid-template-columns: minmax(15rem,.6fr) minmax(0,1.4fr); gap: clamp(2rem,5vw,5rem); align-items: center; }
.workshop-copy { display: grid; justify-items: start; gap: 1.35rem; }
.workshop-copy h2 { font-size: clamp(2.6rem,4.7vw,4.5rem); font-weight: 400; line-height: 1.02; letter-spacing: -.065em; }
.workshop-copy > p:not(.section-label):not(.development-label) { color: var(--muted); line-height: 1.85; }
.workshop-copy .development-label { margin: 0; }
.workshop-symbol { width: clamp(4.5rem,8vw,7rem); aspect-ratio: 1; padding: .7rem; color: var(--ink); border: 1px solid #8b9e92; background: var(--paper); }
figure.godot-vignette { display: grid; grid-template-rows: minmax(0,1fr) auto; min-width: 0; margin: 0; border: 1px solid #54695b; background: #26382f; color: #eaf0e7; overflow: hidden; }
figure.godot-vignette::before { display: none; }
figure.godot-vignette > svg.godot-vignette { display: block; width: 100%; height: auto; min-height: 0; background: #26382f; color: #d6e3d9; }
figure.godot-vignette figcaption { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 1rem; border-top: 1px solid #54695b; background: #19271f; color: #c0d0c4; font: var(--text-meta)/1.5 var(--mono); }
figure.godot-vignette figcaption strong { color: #f5a18b; font-weight: 500; }
.workshop-ticket { display: grid; gap: .25rem; padding-bottom: .8rem; margin-bottom: .35rem; border-bottom: 1px solid #53685b; color: var(--on-dark); }
.workshop-ticket > span { color: #f5a18b; font: var(--text-meta)/1 var(--mono); letter-spacing: .07em; }
.workshop-ticket > strong { color: var(--on-dark) !important; font: 500 1rem/1.25 var(--display); }
.godot-frame { fill: #23352b; stroke: #7a8e81; stroke-width: 2; }
.godot-bar,.godot-panel-line,.godot-ground { fill: none; stroke: #819688; stroke-width: 2; }
.godot-window-dot { fill: #d8e2dc; }
.godot-grid { fill: none; stroke: #547062; stroke-width: 1; opacity: .48; }
.godot-current-arc { fill: none; stroke: #9bb0a1; stroke-width: 3; stroke-dasharray: 4 5; }
.godot-proposed-arc { fill: none; stroke: var(--orange); stroke-width: 4; stroke-dasharray: 9 7; }
.godot-player { fill: #d6e3d9; }
.godot-proposed-player,.godot-feedback-marker { fill: var(--orange); }
.godot-feedback-line,.godot-feedback-plus,.godot-review-stamp,.godot-review-rule,.godot-status-rule { fill: none; stroke: #f5a18b; stroke-width: 2; }

@media (max-width: 52rem) {
  .masthead { align-items: flex-end; }
  .masthead-wordmark { font-size: clamp(4.2rem,20vw,9rem); }
  .hero-atlas-note { min-height: 0; grid-template-columns: minmax(4rem,8rem) minmax(0,1fr); column-gap: 1.25rem; align-items: center; }
  .hero-atlas-symbol { grid-row: span 2; width: 100%; }
  .hero-atlas-note > p:not(.mono) { grid-column: 2; }
  .journey-atlas { min-height: 0; overflow: visible; }
  .journey-route-field { display: none; }
  .journey-companion { position: static; width: 3.5rem; height: 3.5rem; margin: 0 0 1rem auto; }
  .journey-stages { z-index: auto; }
  .task-ticket,.journey-scene[data-active-stage] .task-ticket { position: static; transform: none; width: min(100%,25rem); margin: 1rem 0 1.25rem; }
  .system-grid,.workshop-grid { grid-template-columns: 1fr; }
  .system-aside { border-left: 0; border-top: 1px solid #53675b; }
  .system-section .stack-diagram { max-height: none; }
  figure.godot-vignette figcaption { flex-direction: column; }
}

@media (max-width: 25rem) {
  .journey-disclosure { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; }
  .masthead { gap: 1rem; }
  .masthead-wordmark { font-size: clamp(3.6rem,19vw,5.4rem); }
  .masthead-aside { max-width: 4.25rem; }
  .masthead-aside > .mono { font-size: .62rem; }
  .hero-atlas-note { padding: 1rem; }
  .hero-atlas-symbol { width: 4.4rem; }
  .journey-companion { width: 3rem; height: 3rem; }
  figure.godot-vignette figcaption { padding: .75rem; }
}

@media (prefers-reduced-motion: reduce), (max-width: 52rem) {
  .journey-scene[data-active-stage] .task-ticket { transform: none !important; }
  .journey-route-dash { animation: none !important; }
}
