:root {
  color-scheme: dark;
  --bg: #0c0c0d;
  --surface: #121213;
  --surface-hover: #19191b;
  --text: #f5f4f2;
  --body: #c7c7c7;
  --muted: #aaa9ad;
  --line: #333335;
  --red: #ff4848;
  --signal: #c30000;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --gutter: clamp(1.25rem, 5.5vw, 6rem);
  --headroom: 5.5rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--headroom); }
body { margin: 0; background: var(--bg); color: var(--text); font: 1rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
::selection { background: #9c1719; color: white; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a, button, input, summary, canvas[tabindex] { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #ff7272; outline-offset: 5px; }
button { border: 0; }
button:disabled { cursor: default; }
[hidden] { display: none !important; }
.js-only { display: none !important; }
.enhanced .js-only { display: inline-flex !important; }
main:focus { outline: none; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
code, kbd { font-family: var(--mono); }
.icon { display: inline-flex; flex: 0 0 auto; width: 1.13rem; height: 1.13rem; align-items: center; justify-content: center; line-height: 1; }
.icon canvas { width: 100%; height: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: var(--gutter); top: .5rem; z-index: 20; padding: .7rem 1rem; background: var(--text); color: var(--bg); transform: translateY(-160%); }
.skip:focus { transform: none; }
.wrap { width: min(100%, 96rem); margin-inline: auto; padding-inline: var(--gutter); }
.red { color: var(--red); }
.masthead { position: sticky; z-index: 10; top: 0; background: #0d0d0ef5; border-bottom: 1px solid var(--line); }
.nav-row { min-height: 4.65rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 1.5rem; }
.brand { display: inline-flex; justify-self: start; align-items: center; gap: .77rem; font: 700 1.28rem/1 var(--mono); letter-spacing: -.08em; }
.brand-ext { color: #a9a7ab; }
.brand-mark { height: 1.68rem; width: 1.76rem; position: relative; display: inline-flex; align-items: flex-end; gap: 3px; transform: skewX(-19deg); }
.brand-mark i { display: block; width: 5px; background: #ff4040; }
.brand-mark i:nth-child(1) { height: 45%; }
.brand-mark i:nth-child(2) { height: 74%; }
.brand-mark i:nth-child(3) { height: 100%; }
.nav-row nav { display: flex; align-self: stretch; gap: clamp(1rem, 2.45vw, 2.6rem); }
.nav-row nav a { position: relative; display: flex; gap: .53rem; align-items: center; color: var(--muted); font: 400 .9rem/1.2 var(--mono); }
.nav-row nav a::before { content: ""; width: 5px; height: 5px; background: transparent; }
.nav-row nav a[aria-current] { color: var(--text); }
.nav-row nav a[aria-current]::before { background: var(--red); box-shadow: 0 0 9px #fa444437; }
.nav-row nav a[aria-current]::after { content:""; position: absolute; bottom: -1px; height: 2px; left: 0; right: 0; background: var(--red); }
.nav-row nav a:hover { color: white; }
.terminal-launch { align-items: center; justify-self: end; gap: .62rem; min-height: 2.45rem; padding: .35rem .65rem .35rem .78rem; border: 1px solid #424244; background: #181819; border-radius: 4px; font: .87rem/1.15 var(--mono); }
.terminal-launch .icon { color: var(--red); }
kbd { font-size: .77rem; line-height: 1.35; text-align: center; min-width: 1.38rem; padding: .02rem .22rem; color: #b6b6b6; border: 1px solid #454546; border-radius: 3px; }
.terminal-launch:hover, .icon-btn:hover, .console-enter:hover { background: #262628; border-color: #626266; }
.reading-progress { position: absolute; bottom: -1px; left: 0; width: 100%; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.hero { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); background: #0d0d0e; }
.hero::before { content:""; position: absolute; inset:0; z-index:-1; background: radial-gradient(ellipse at 80% 45%,#28111571,transparent 50%), linear-gradient(90deg,transparent 60%,#17141636); }
.hero-grid { display: grid; grid-template-columns: .97fr 1.09fr; align-items: center; gap: clamp(1.7rem, 4vw, 5rem); padding-top: clamp(3.4rem, 6.8vh, 6.3rem); }
.hero-copy { position: relative; z-index: 1; }
.command { display: flex; gap: .8rem; align-items: center; color: #d4d3d4; font: .93rem/1.3 var(--mono); }
.command>span { width: 1.9rem; height: 2px; background: var(--red); }
.command b { color: var(--red); font-weight: 500; }
.hero h1 { margin: 1.4rem 0 1.45rem -.061em; font: 700 clamp(5.1rem, 7.7vw, 7.9rem)/.93 var(--mono); letter-spacing: -.093em; }
.cursor { color: var(--red); margin-left: .055em; font-weight: 700; }
.hero-role { color: #f1f0ee; font: 550 clamp(1.08rem, 1.35vw, 1.45rem)/1.45 var(--sans); letter-spacing: -.025em; }
.hero-role span { color: #bdbcbf; }
.role-break { display: none; }
.hero-intro { color: #aaa9ae; max-width: 45ch; margin-top: .72rem; font-size: clamp(1rem, 1.12vw, 1.125rem); line-height: 1.65; }
.hero-links { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.8rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .66rem; min-height: 3rem; padding: .72rem 1.13rem; border: 1px solid transparent; border-radius: 3px; white-space: nowrap; font: 550 .9rem/1.25 var(--mono); letter-spacing: -.025em; transition: background .18s,border-color .18s,transform .18s; }
.primary { background: var(--signal); color: white; border-color: #d62222; }
.primary:hover { background: #df1818; border-color: #ff5555; }
.secondary { border-color: #49494b; background: #171718; color: var(--text); }
.secondary:hover { background: #242426; border-color: #77777a; }
.btn:active { transform: translateY(1px); }
.scroll-cue { padding: .7rem 0; margin-top: clamp(1.9rem, 4.2vh, 4.4rem); margin-bottom: clamp(1.05rem, 2.6vh, 2.3rem); display: inline-flex; align-items: center; gap: .7rem; font: .78rem/1.4 var(--mono); color: #b2b1b5; }
.mouse { display: inline-flex; justify-content: center; padding-top: 3px; width: 12px; height: 18px; border: 1px solid #858589; border-radius: 7px; }
.mouse::after { content:""; width: 2px; height: 4px; background: var(--red); }
.cue-rule { width: 2.6rem; height: 1px; background: #4e4e51; transition: width .2s; }
.scroll-cue:hover .cue-rule { width: 3.6rem; background: var(--red); }

.viewer { position: relative; width: 100%; min-width: 0; isolation: isolate; aspect-ratio: 1.26; align-self: center; background: #101011; }
.stage-grid { position:absolute; inset: 0; z-index: -1; background-color: #0f0f10; background-image: linear-gradient(#aaaaaa0c 1px,transparent 1px),linear-gradient(90deg,#aaaaaa0c 1px,transparent 1px),radial-gradient(ellipse at 56% 49%,#41171b78 0%,#21131540 47%,transparent 78%); background-size: 28px 28px,28px 28px,100% 100%; background-position: center; }
.viewer::before { content: ""; pointer-events: none; position: absolute; inset: 0; z-index: -1; border: 1px solid #343035; }
.corner { position: absolute; width: 14px; height: 14px; z-index: 2; pointer-events: none; border-color: #797477; border-style: solid; }
.tl { top: 0; left: 0; border-width: 1px 0 0 1px; }.tr { top: 0; right: 0; border-width: 1px 1px 0 0; }
.bl { bottom: 0; left: 0; border-width: 0 0 1px 1px; }.br { bottom: 0; right: 0; border-width: 0 1px 1px 0; }
.viewer-head, .viewer figcaption { position: absolute; left: clamp(.8rem,1.4vw,1.5rem); right: clamp(.8rem,1.4vw,1.5rem); display: flex; align-items: center; justify-content: space-between; z-index: 2; pointer-events: none; }
.viewer-head { top: clamp(.7rem,1.15vw,1.2rem); }
.view-label, .drag-hint { display: inline-flex; align-items: center; gap: .55rem; color: #c3bec1; font: .78rem/1.3 var(--mono); }
.view-label { text-transform: uppercase; font-size: .75rem; letter-spacing: .105em; font-weight: 500; }
.view-label .icon { color: #ff5858; width: 1rem; height: 1rem; }
.render-switch { border: 1px solid #3b373a; border-radius: 3px; overflow: hidden; background: #111113; pointer-events: auto; }
.render-switch button { padding: .36rem .53rem; color: #aaa7aa; background: transparent; font: .75rem/1.15 var(--mono); }
.render-switch button[aria-pressed="true"] { color: #ff8d8d; background: #391719; }
.render-switch button:focus-visible { outline-offset: -2px; }
.model-area { position: absolute; inset: 2.55rem .5rem 2.55rem; }
#key-model { display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y pinch-zoom; }
#key-model.is-dragging { cursor: grabbing; }
.viewer figcaption { bottom: clamp(.6rem,.95vw,1.05rem); }
.drag-hint { color: #b5afb2; background: transparent; padding: .4rem 0; pointer-events: auto; }
.drag-hint:hover { color: white; }
.drag-hint i { width: 5px; height: 5px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.drag-hint .icon { width: .98rem; height: .98rem; }
.viewer-actions { display: inline-flex; gap: .33rem; pointer-events: auto; }
.icon-btn, .console-enter { display: inline-flex; align-items: center; justify-content: center; width: 2.15rem; height: 2.15rem; color: #cbcbcc; background: #151516; border: 1px solid #3c393d; border-radius: 3px; }
.icon-btn .icon { width: 1rem; height: 1rem; }
.fallback-key { position: absolute; inset: 43% 16% auto 18%; height: 12%; pointer-events:none; transform: rotate(-30deg); border: 2px solid var(--red); background: repeating-linear-gradient(90deg,#3c1011 0 6px,#e14b4b 7px,#3c1011 8px); }
.fallback-key::before { content:""; position:absolute; width:35%; aspect-ratio:1.15; right:-8%; top:50%; transform:translateY(-50%); border:clamp(9px,1.8vw,25px) double var(--red); background:#140f11; border-radius:26%; }
.fallback-key::after { content:""; position:absolute; top:98%; left:6%; width:30%; height:60%; background:repeating-linear-gradient(90deg,#b62c2c 0 18%,transparent 18% 29%); }
.viewer.ready .fallback-key { display: none; }

.focus-section { padding: clamp(2.3rem, 4.5vw, 4.6rem) 0 clamp(3.5rem,6vw,6rem); background: #101011; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1.2rem; margin-bottom: clamp(1.4rem,2.5vw,2.25rem); }
.section-heading h2, .lab-title h2 { font: 650 clamp(2rem, 3.4vw, 3.6rem)/1.07 var(--mono); letter-spacing: -.078em; }
.section-code { color: #9c999f; font: .8rem/1.35 var(--mono); }
.focus-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .9rem; }
.focus-card { position: relative; display: block; padding: clamp(1.25rem,2vw,2rem); min-height: 12rem; background: #161617; border: 1px solid #313133; border-radius: 3px; transition: background .2s,border-color .2s,transform .2s; overflow: hidden; }
.focus-card:hover { background: #1c191b; border-color: #774043; transform: translateY(-3px); }
.focus-meta { display: flex; align-items: center; justify-content: space-between; font: .75rem/1 var(--mono); text-transform: uppercase; letter-spacing: .095em; color: #aaa7ad; }
.focus-icon { width: 2.3rem; height: 2.3rem; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #553033; border-radius: 3px; background: #2a191b; color: #ff6666; }
.focus-icon .icon { width: 1.22rem; height: 1.22rem; }
.focus-card h3 { margin: 1.15rem 0 .45rem; font: 600 clamp(1.12rem,1.42vw,1.42rem)/1.25 var(--mono); letter-spacing: -.055em; }
.focus-card p { color: #b7b5b9; line-height: 1.55; max-width: 40ch; }
.card-line { position: absolute; left: -1px; top: 1.35rem; width: 2px; height: 0; background: var(--red); transition: height .22s; }
.focus-card:hover .card-line, .focus-card:focus-visible .card-line { height: 2.3rem; }
.footer { border-top: 1px solid var(--line); background: #0b0b0c; }
.footer-inner { min-height: 5.65rem; display: flex; align-items: center; gap: 1.25rem; }
.footer .brand { font-size: 1.05rem; gap: .55rem; }.footer .brand-mark { transform: skewX(-19deg) scale(.78); transform-origin:left center; width:1.3rem; }
.footer-description, .social { font: .82rem/1.4 var(--mono); }
.footer-description { color: #969499; border-left: 1px solid var(--line); padding-left: 1.2rem; }
.social { margin-left: auto; display: inline-flex; align-items: center; gap: .5rem; color: var(--body); min-height: 2.75rem; }.social:hover { color: white; text-decoration: underline; text-underline-offset: .3rem; }

.page-intro { padding: clamp(3rem,6vw,6.7rem) 0 clamp(2.6rem,5vw,5rem); border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 94% 15%,#26151580,transparent 50%),#101011; }
.intro-grid { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(14rem,.8fr); gap: clamp(3rem,7vw,8rem); align-items: end; }
.page-intro h1 { margin: 1.1rem 0 1rem -.055em; font: 700 clamp(3.5rem,6.4vw,7rem)/1 var(--mono); letter-spacing: -.09em; }
.page-lead { color: var(--body); max-width: 60ch; font-size: clamp(1.06rem,1.35vw,1.33rem); line-height: 1.55; }
.intro-facts { border-top: 1px solid #444043; font-family: var(--mono); }
.intro-facts>div { padding: .85rem 0; border-bottom: 1px solid #333133; }
.intro-facts dt { color: #b1aeb3; font-size: .79rem; }
.intro-facts dd { margin-top: .24rem; font-size: .95rem; line-height: 1.45; color: var(--text); }
.fact-link { text-decoration:underline; text-decoration-color:#ae565b; text-underline-offset:.26em; }
.fact-link:hover { color:#ff9a9a; }
.section-space { padding: clamp(3rem,5.3vw,5.4rem) 0; }
.journey-grid { display: grid; grid-template-columns: minmax(12rem,.72fr) minmax(0,2fr); gap: clamp(1.7rem,4.5vw,5.5rem); align-items: start; }
.timeline-rail { position: sticky; top: calc(var(--headroom) + .6rem); display: flex; flex-direction: column; font: .93rem/1.35 var(--mono); }
.timeline-rail a { position: relative; display: flex; align-items: flex-start; gap: .85rem; padding: .72rem 0 .95rem; color: #bab8bc; }
.timeline-rail a:not(:last-child)::after { position: absolute; content:""; width: 1px; top: 1.5rem; bottom: -.9rem; left: .23rem; background: #3a373a; }
.rail-node { position:relative; z-index:1; width: .52rem; height: .52rem; flex: 0 0 auto; margin-top: .39rem; border: 1px solid #777478; background: var(--bg); }
.timeline-rail a[aria-current] .rail-node { background: var(--red); border-color: var(--red); box-shadow:0 0 0 3px #391d20; }
.timeline-rail a.before-current .rail-node { border-color:#d65a60; }
.timeline-rail a.before-current::after { background:#9a4046; }
.timeline-rail a[aria-current], .timeline-rail a:hover { color: white; }
.timeline-rail small { display:block; margin-top:.3rem; color:#a6a3a9; font-size:.78rem; }
.timeline-records { display: grid; gap: .8rem; min-width:0; }
.milestone { border: 1px solid #363437; border-radius: 3px; background: #141415; }
.milestone[open] { border-color:#594244; background: linear-gradient(110deg,#1a1618, #151516 62%); }
summary { list-style: none; cursor:pointer; }summary::-webkit-details-marker { display:none; }
.milestone summary { position:relative; display:grid; padding:1.45rem 3.7rem 1.45rem 1.6rem; gap:.25rem; border-radius:2px; }
.milestone summary:hover, .cert-row summary:hover { background:#ffffff04; }
.step-date { color:#c1bfc3; font: .83rem/1.45 var(--mono); }
.milestone[open] .step-date { color:#ff8585; }
.step-title { margin:.32rem 0 .15rem; font:600 clamp(1.22rem,2vw,2rem)/1.18 var(--mono); letter-spacing:-.06em; }
.step-org { color:var(--body); font: .95rem/1.45 var(--mono); }
.expand-sign { display:inline-block; width:1.7rem; height:1.7rem; border:1px solid #484548; border-radius:3px; color:var(--body); position:relative; }
.expand-sign::before,.expand-sign::after { content:""; position:absolute; left:50%; top:50%; width:.64rem; height:1px; background:currentColor; transform: translate(-50%,-50%); }
.expand-sign::after { transform:translate(-50%,-50%) rotate(90deg); }
details[open]>summary .expand-sign::after { transform:translate(-50%,-50%); }
.milestone .expand-sign { position:absolute; right:1.2rem; top:1.65rem; }
.step-body { border-top:1px solid #393437; margin:0 1.6rem; padding:1.2rem 0 1.45rem; }
.step-body p, .step-body li, .lab-grid article p, .cert-detail p { color:var(--body); font-size:1.02rem; line-height:1.65; max-width:71ch; }
.step-body ul { display:grid; gap:.45rem; padding-left:1.2rem; margin:1rem 0 0; }
.step-body li::marker { color:#cf5457; }
.tags { display:flex; gap:.48rem; flex-wrap:wrap; margin-top:1.2rem; }
.tags span { display:inline-block; padding:.25rem .55rem; border:1px solid #484448; color:#c8c5ca; background:#1c1b1d; font:.78rem/1.5 var(--mono); border-radius:2px; }
.lab-section, .cert-section { border-top:1px solid var(--line); background:#111112; }
.lab-grid { display:grid; grid-template-columns:.72fr 2fr; gap:clamp(1.7rem,4.5vw,5.5rem); }
.lab-title .focus-icon { margin-bottom:1.1rem; }
.lab-grid article h3 { font:600 clamp(1.3rem,2.15vw,2.2rem)/1.2 var(--mono); letter-spacing:-.055em; margin-bottom:.8rem; }
.filters { flex-wrap:wrap; gap:.5rem; margin-bottom:1.3rem; }
.filters button { display:inline-flex; gap:.55rem; align-items:center; border:1px solid #454246; border-radius:3px; background:#1a191b; color:#d0cdd2; padding:.55rem .8rem; font:.9rem/1.35 var(--mono); }
.filters button span { color:#a9a4ab; font-size:.78rem; }.filters button[aria-pressed="true"] { border-color:#ae4247; color:#ff9a9a; background:#311a1d; }.filters button[aria-pressed="true"] span { color:#ff9a9a; }
.cert-list { border-top:1px solid #4a454a; }
.cert-row { border-bottom:1px solid var(--line); }.cert-row[open] { background:#181719; }
.cert-row summary { display:grid; grid-template-columns:minmax(12rem,1.5fr) minmax(7.5rem,.6fr) minmax(7rem,.6fr) 1.7rem; align-items:center; gap:.8rem; padding:1.1rem .85rem; }
.cert-name { font:600 1.1rem/1.35 var(--mono); letter-spacing:-.035em; }
.cert-name small { display:block; margin-top:.2rem; color:#aeabb1; font: .82rem/1.4 var(--mono); }
.cert-date,.cert-status { font: .87rem/1.4 var(--mono); }
.cert-date { color:var(--muted); }.cert-status { display:inline-flex; align-items:center; gap:.5rem; }
.cert-status i { width:7px; height:7px; border:1px solid currentColor; }.earned { color:#e1dedf; }.earned i { background:currentColor; }.in-progress { color:#ff8989; }.in-progress i { background:linear-gradient(90deg,currentColor 50%,transparent 50%); }.planned { color:#b5b1ba; }
.cert-detail { padding:0 .85rem 1.25rem; }

dialog { position:fixed; width:min(39rem,calc(100% - 2rem)); max-height:min(75dvh,42rem); padding:0; border:1px solid #625155; border-radius:5px; background:#131314; color:var(--text); box-shadow:0 28px 120px #000c; font-family:var(--mono); }
dialog[open] { display:flex; flex-direction:column; }
dialog::backdrop { background:#050506bd; backdrop-filter:blur(5px); }
.console-head { display:flex; gap:.7rem; align-items:center; padding:.7rem 1rem; border-bottom:1px solid var(--line); background:#1b191b; }
.console-head>.icon { color:var(--red); }.console-head h2 { font:600 1rem/1.35 var(--mono); }.console-head button { margin-left:auto; }
.console-body { padding:1.2rem; overflow-y:auto; min-height:9rem; font:.92rem/1.6 var(--mono); overscroll-behavior:contain; }
.console-welcome { color:var(--muted); }.console-welcome strong { color:var(--text); font-weight:500; }
.console-output { overflow-wrap:anywhere; }.console-output p { margin:.65rem 0; white-space:pre-wrap; }.console-output .echo,.prompt { color:#ff8888; }.console-output a { text-decoration:underline; text-underline-offset:.25rem; color:#ffc0c0; }
.console-form { display:flex; gap:.6rem; align-items:center; margin-top:.9rem; }.console-form input { flex:1; min-width:0; background:transparent; padding:.4rem .25rem; border:0; border-bottom:1px solid #454045; border-radius:0; caret-color:var(--red); }
.console-form input:focus { outline:none; border-color:var(--red); }.console-enter { flex-shrink:0; }
.console-shortcuts { display:flex; gap:.5rem; align-items:center; padding:.7rem 1rem; border-top:1px solid var(--line); font-size:.8rem; color:var(--muted); flex-wrap:wrap; }
.console-shortcuts button { border:1px solid #454246; border-radius:3px; background:#1d1b1e; padding:.25rem .55rem; }.console-shortcuts button:hover { color:white; border-color:#8a5c61; }

@media(min-width:1040px) and (max-height:800px) { .hero-grid { padding-top:2.65rem; }.scroll-cue { margin-top:1.15rem; margin-bottom:.95rem; } }
@media(max-width:1000px) { .hero-grid { gap:1.6rem; grid-template-columns:1fr 1.03fr; }.hero h1 { font-size:clamp(4.6rem,8vw,6rem); }.hero-links { gap:.55rem; }.btn { padding-inline:.86rem; }.viewer { aspect-ratio:1.1; }.role-break { display:initial; } }
@media(max-width:780px) {
  :root { --gutter:clamp(1.2rem,5vw,2.6rem); }
  .hero-grid { grid-template-columns:minmax(0,1fr); gap:2.2rem; padding-top:2.8rem; }
  .hero h1 { font-size:clamp(4.7rem,12vw,6rem); margin:.95rem 0 1.2rem -.06em; }
  .hero-role { font-size:1.13rem; }.role-break { display:none; }.hero-intro { max-width:48ch; }
  .hero-links { margin-top:1.35rem; }.btn { min-height:2.85rem; }
  .viewer { aspect-ratio:1.65; }.scroll-cue { margin:.9rem 0 .7rem; }
  .focus-grid { grid-template-columns:1fr; gap:.65rem; }.focus-card { min-height:0; padding:1.18rem 1.25rem; }.focus-card h3 { margin:.75rem 0 .3rem; }.focus-card p { max-width:60ch; }.focus-icon { width:2rem; height:2rem; }
  .intro-grid { gap:1.65rem; grid-template-columns:minmax(0,1.3fr) minmax(11rem,.7fr); }
  .journey-grid { grid-template-columns:minmax(0,1fr); gap:1.2rem; }.timeline-rail { position:static; flex-direction:row; flex-wrap:wrap; gap:.5rem 1.3rem; }.timeline-rail a { gap:.55rem; padding:.25rem 0; font-size:.85rem; }.timeline-rail a:not(:last-child)::after { display:none; }.timeline-rail small { display:none; }
  .lab-grid { grid-template-columns:1fr; gap:1.5rem; }.lab-title { display:flex; align-items:center; gap:1rem; }.lab-title .focus-icon { margin:0; }
  .cert-row summary { grid-template-columns:minmax(8rem,1.4fr) minmax(6rem,.8fr) minmax(6.4rem,.65fr) 1.7rem; }
}
@media(max-width:580px) {
  :root { --headroom:4.45rem; }
  .nav-row { min-height:3.8rem; grid-template-columns:1fr auto auto; gap:.85rem; }.brand { font-size:1.04rem; gap:.43rem; }.brand-mark { transform:skewX(-19deg) scale(.8); transform-origin:left center; width:1.3rem; }
  .nav-row nav { gap:.82rem; }.nav-row nav a { font-size:.8rem; }.nav-row nav a::before { display:none; }
  .terminal-launch { width:2.27rem; min-height:2.27rem; justify-content:center; padding:0; }.terminal-launch>span:not(.icon), .terminal-launch kbd { display:none; }
  .hero-grid { padding-top:2.25rem; gap:1.65rem; }.hero h1 { font-size:clamp(4.4rem,16vw,5.35rem); }
  .hero-role { max-width:32ch; }.hero-links { gap:.5rem; }.btn { padding-inline:.76rem; gap:.46rem; font-size:.84rem; }
  .viewer { aspect-ratio:1.22; }.viewer-head { top:.66rem; }.viewer figcaption { bottom:.55rem; }.model-area { inset:2.25rem .2rem 2.35rem; }
  .focus-section { padding-top:2rem; }.section-heading { margin-bottom:1.3rem; }.section-code { font-size:.76rem; }
  .footer-inner { min-height:4.5rem; gap:.5rem; }.footer-description { display:none; }
  .page-intro { padding:2.4rem 0 2rem; }.intro-grid { grid-template-columns:1fr; }.intro-facts { display:grid; grid-template-columns:1fr 1fr; gap:1rem; border-bottom:1px solid var(--line); }.intro-facts>div { border:0; }.intro-facts dd { font-size:.88rem; }
  .section-space { padding:2.6rem 0; }.milestone summary { padding:1.15rem 3.25rem 1.15rem 1.05rem; }.milestone .expand-sign { top:1.1rem; right:.85rem; }.step-body { margin:0 1.05rem; }.tags { gap:.35rem; }
  .cert-row summary { grid-template-columns:minmax(0,1fr) auto 1.5rem; gap:.65rem; padding:.95rem .24rem; }.cert-row .cert-date { grid-row:2; grid-column:1 / 3; font-size:.78rem; }.cert-row .expand-sign { grid-row:1; grid-column:3; margin-right:.15rem; }.cert-name { font-size:.98rem; }.cert-status { font-size:.78rem; }
  .filters { gap:.35rem; }.filters button { font-size:.8rem; gap:.4rem; padding:.46rem .56rem; }
}
@media(max-width:360px) { :root { --gutter:1rem; }.nav-row { gap:.5rem; }.nav-row nav { gap:.56rem; }.btn { font-size:.78rem; }.hero-links { gap:.4rem; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*::before,*::after { transition-duration:0s !important; animation-duration:0s !important; } }
@media (prefers-reduced-motion:no-preference) {
  @supports (animation-timeline:view()) {
    .focus-card,.timeline-records>.milestone { animation:enter-panel linear both; animation-timeline:view(); animation-range:entry 0% entry 80%; }
    @keyframes enter-panel { from { translate:0 9px; opacity:.78; } to { translate:0 0; opacity:1; } }
  }
}
@media print {
  .masthead,.footer,.skip,.viewer,.terminal-launch,.hero-links,.scroll-cue,.timeline-rail,.filters,dialog,.section-code { display:none !important; }
  :root { --text:#111; --body:#222; --muted:#333; --gutter:0; --line:#aaa; } body,main,section,.milestone,.milestone[open],.cert-row[open],.page-intro { background:white!important; color:#111; }
  .journey-grid,.intro-grid,.lab-grid,.hero-grid { display:block; }.hero h1 { font-size:4rem; }.section-space,.page-intro { padding:1.25rem 0; }.step-body p,.step-body li { color:#222; }
}
