/* Observatory: a self-hosted editorial layer over the existing chat UI. */
@font-face {
  font-family: "Instrument Serif"; src: url("./instrument-serif.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif"; src: url("./instrument-serif-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "DM Sans"; src: url("./dm-sans.woff2") format("woff2");
  font-weight: 100 1000; font-style: normal; font-display: swap;
}
:root {
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", "Segoe UI", sans-serif;
  --paper: #f5f5ef; --paper-2: #eaece6; --raised: #fffef9;
  --ink: #202f32; --ink-2: #4a5c60; --ink-3: #59686a;
  --line: #d4ddda; --line-2: #b6c9c6;
  --clay: #285e59; --clay-2: #194842; --clay-lit: #4b8b7f;
  --clay-soft: #285e5912; --clay-ink: #fffef6;
  --obs-accent: #9a492d; --obs-surface: #fffef8b8;
  --obs-shadow: 0 24px 60px -35px #344e5860;
}
html[data-theme="dark"] {
  --paper: #101d22; --paper-2: #1a2b30; --raised: #20333a;
  --ink: #f0f1e7; --ink-2: #bfcdcc; --ink-3: #a3b7b8;
  --line: #31474b; --line-2: #49656a;
  --clay: #a9d5bd; --clay-2: #c7ead4; --clay-lit: #a9d5bd;
  --clay-soft: #a9d5bd15; --clay-ink: #172b29;
  --obs-accent: #f1af8f; --obs-surface: #182d32d9;
  --obs-shadow: 0 24px 60px -35px #0009;
}
html { scroll-padding-top: 100px; }
body { font-family: var(--sans); }
::selection { background: #b7d2c5; color: #172d2c; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--obs-accent); outline-offset: 5px;
}
.scene .sky { background: var(--paper); }
.range { height: 1060px; opacity: .46; }
.range-sky { background: linear-gradient(180deg, #bcd9e4 0%, #e5ece7 60%, var(--paper)); }
.range .dawn { opacity: .5; }
.range .ridges { opacity: .24; }
.range .haze { background: linear-gradient(transparent, var(--paper) 85%); }
html[data-theme="dark"] .range-sky { background: linear-gradient(#183b49, #162c32 65%, var(--paper)); }
html[data-theme="dark"] .range { opacity: .8; }
.bar { padding-top: 18px; }
.bar-island { gap: 54px; padding: 9px 10px 9px 20px; }
.bar-island, html.reveals .bar:not(.solid) .bar-island, .bar.solid .bar-island {
  background: var(--obs-surface); border: 1px solid var(--line);
  box-shadow: 0 6px 30px -16px #203b4a40;
}
.bar-island::before { opacity: .3; }
.bar-left { gap: 11px; }
.mobile-menu-toggle { display: none; }
.brand-mark { font: 32px/.8 var(--serif); letter-spacing: -5px; margin-right: 6px; }
.brand-mark > span { color: var(--obs-accent); }
.bar-left .name { font-size: 14px; letter-spacing: -.4px; font-weight: 600; }
.bar-left .name em { color: var(--obs-accent); }
.bar-right .q, .bar-right a { font-size: 12px; padding: 9px 11px; }
.bar-right .q.strong { padding: 10px 17px; }
.bar-right .q.strong span { margin-left: 8px; }
.deck {
  display: block; width: min(1240px, 100%); max-width: 1240px;
  padding: 58px 42px 0; min-height: 0; overflow: clip;
}
.deck .ask-hero {
  display: grid; grid-template-columns: 1.06fr 1fr; gap: 0 36px;
  width: 100%; max-width: none; margin: 0; padding: 0 0 30px;
  align-items: center; min-height: 0;
}
#intro { text-align: left; padding: 20px 0 32px; min-width: 0; }
.ask-hero > #intro p { max-width: none; margin-inline: 0; }
.hero-eyebrow {
  display: flex; align-items: center; gap: 8px; font: 10px/1.6 var(--mono);
  text-transform: uppercase; letter-spacing: .09em; white-space: normal;
  padding: 0; margin: 0 0 32px; color: var(--ink-2); background: none;
  border: 0; border-radius: 0; box-shadow: none;
}
.hero-eyebrow i { width: 6px; height: 6px; flex: 0 0 6px; background: #43876a; box-shadow: 0 0 0 4px #43876a13; }
.eyebrow-divider { padding: 0 4px; opacity: .5; }
.hero-name { font-size: 15px; font-weight: 500; letter-spacing: -.2px; margin-bottom: 15px; }
.ask-hero h1 {
  font: 400 clamp(76px, 7.6vw, 111px)/.91 var(--serif);
  letter-spacing: -.048em; text-wrap: initial;
}
.ask-hero h1 em { color: var(--obs-accent); font-style: italic; font-weight: 400; }
.hero-lead { font-size: 16px; line-height: 1.75; font-weight: 400; letter-spacing: -.2px; margin-top: 26px; }
.hero-actions { display: flex; align-items: center; gap: 27px; margin-top: 27px; }
.hero-actions a { font-size: 13px; font-weight: 500; text-decoration: none; }
.hero-primary { padding: 14px 19px; border-radius: 6px; color: var(--clay-ink); background: var(--clay); transition: transform .2s, box-shadow .2s; }
.hero-primary span { margin-left: 24px; }
.hero-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 20px -8px #285e5980; }
.hero-secondary { padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.hero-secondary span { margin-left: 8px; }
/* The sculpture is CSS geometry. No WebGL bundle or render loop is required. */
.observatory { min-width: 0; width: 100%; margin: 0; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.orbit-caption, .observatory figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 9px/1.5 var(--mono); letter-spacing: .06em; color: var(--ink-3); }
.orbit-caption { padding-bottom: 16px; border-bottom: 1px solid var(--line-2); }
.orbit-cross { font-size: 20px; font-weight: 300; color: var(--obs-accent); }
.orbit-caption > span:last-child { margin-left: auto; font-size: 9px; }
.orbit-stage { position: relative; height: 405px; isolation: isolate; }
.orbit-halo { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(ellipse, #d3b59c38, #9bc4c03a 45%, transparent 70%); }
.orbit-guide { position: absolute; top: 50%; left: 50%; border: 1px solid var(--line-2); border-radius: 50%; transform: translate(-50%, -50%); opacity: .6; }
.guide-one { width: 330px; height: 330px; }
.guide-two { width: 400px; height: 400px; border-style: dashed; opacity: .35; }
.orbit-axis { position: absolute; background: var(--line-2); opacity: .45; }
.axis-x { left: 3%; right: 3%; top: 50%; height: 1px; }
.axis-y { top: 0; bottom: 0; left: 50%; width: 1px; }
.orbit-sculpture { position: absolute; width: 340px; height: 340px; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.twin-core {
  position: absolute; inset: 71px; overflow: hidden; border-radius: 50%;
  background: radial-gradient(circle at 32% 23%, #fcfff2 0%, #e2e4cf 14%, #9ebbb4 34%, #507a79 56%, #244b55 74%, #112f3c 86%, #6d9395 97%);
  box-shadow: inset 2px 3px 6px #fffffbbb, inset -8px -8px 16px #14303b66, 18px 32px 40px -20px #1c475c70;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  color: #f8fbec; z-index: 2;
}
.twin-core::after { content: ""; position: absolute; inset: 1px; border: 1px solid #f4ffe557; border-radius: 50%; }
.core-grid { position: absolute; inset: 0; opacity: .15; background: repeating-linear-gradient(0deg, transparent 0 23px, #fbffee 24px 25px), repeating-linear-gradient(90deg, transparent 0 23px, #fbffee 24px 25px); transform: rotate(-22deg) scale(1.3); border-radius: 50%; }
.core-monogram { position: relative; font: italic 86px/.8 var(--serif); letter-spacing: -8px; margin: 0 9px 18px 0; text-shadow: 0 2px 12px #173e4890; }
.core-monogram > span { color: #efb397; }
.core-label { position: relative; font: 7px/1 var(--mono); letter-spacing: .16em; }
.orbit-ring { position: absolute; border-radius: 50%; border: 1px solid #7c9e9c; width: 338px; height: 132px; top: 104px; left: 1px; box-shadow: 0 1px 0 #fffffbc0, inset 0 1px 0 #ffffff80; }
.ring-one { transform: rotate(-32deg); border-width: 2px; z-index: 3; border-color: #af785a; border-top-color: transparent; box-shadow: 0 2px 1px #e3c0a080; }
.ring-two { transform: rotate(49deg); height: 150px; top: 95px; z-index: 1; border-width: 3px; border-color: #719295; }
.ring-three { transform: rotate(96deg); z-index: 3; border-top-color: transparent; border-left-color: transparent; }
.orbit-satellite { position: absolute; width: 19px; height: 19px; border-radius: 50%; z-index: 4; background: radial-gradient(circle at 30% 25%, #fff4df, #cc9675 40%, #8d513d 75%); box-shadow: 3px 5px 8px #4e493035; }
.satellite-one { left: 27px; top: 211px; }
.satellite-two { right: 58px; top: 49px; width: 13px; height: 13px; background: radial-gradient(circle at 30% 25%, #f1ffed, #659b91 45%, #234e4e 80%); }
.orbit-node {
  position: absolute; display: flex; align-items: center; gap: 10px; z-index: 5;
  background: var(--obs-surface); border: 1px solid var(--line-2); border-radius: 9px;
  padding: 10px 13px; color: var(--ink); text-align: left; cursor: pointer;
  box-shadow: 0 8px 22px -14px #173d4f66; transition: transform .2s, border-color .2s, box-shadow .2s;
  font: 500 11px/1.4 var(--sans);
}
.orbit-node > span:first-child { color: var(--obs-accent); font-size: 21px; }
.orbit-node small { display: block; font: 9px/1.6 var(--sans); color: var(--ink-3); }
.orbit-node img { border-radius: 50%; object-fit: cover; }
.orbit-node:hover, .orbit-node:focus-visible { transform: translateY(-5px); border-color: var(--obs-accent); box-shadow: var(--obs-shadow); }
.node-code { top: 52px; right: 0; }
.node-evidence { top: 210px; left: 0; }
.node-person { bottom: 28px; right: 15px; }
.orbit-coordinate { position: absolute; bottom: 20px; left: 12px; font: 9px/1.8 var(--mono); letter-spacing: .08em; color: var(--ink-3); }
.observatory figcaption { border-top: 1px solid var(--line-2); padding-top: 16px; letter-spacing: 0; font-size: 9px; }
.observatory figcaption i, .chat-heading i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--clay); margin-right: 6px; vertical-align: middle; }
.observatory figcaption > span:last-child { color: var(--obs-accent); }
@media (prefers-reduced-motion: no-preference) {
  .orbit-sculpture { animation: orbital-arrival 1.5s cubic-bezier(.16, 1, .3, 1) both; }
  .orbit-node { animation: node-arrival 1s .25s both; }
  .node-person { animation-delay: .45s; }
  @keyframes orbital-arrival { from { opacity: 0; transform: translate(-50%, -46%) rotate(-12deg) scale(.92); } to { opacity: 1; transform: translate(-50%, -50%) rotate(0) scale(1); } }
  @keyframes node-arrival { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
}
/* The conversation is the functional centerpiece, with a calm, bounded input. */
.ask-hero > .thread, .ask-hero > .visitor, .ask-hero > .people { grid-column: 1 / -1; width: 100%; max-width: 780px; margin-inline: auto; }
.thread:empty { display: none; }
.ask-hero > .dock {
  grid-column: 1 / -1; justify-self: center; width: 100%; max-width: 850px;
  margin-top: 48px; padding: 24px 28px 20px; border: 1px solid var(--line-2);
  border-radius: 16px; background: var(--obs-surface); box-shadow: var(--obs-shadow);
}
.chat-heading { display: flex; justify-content: space-between; gap: 12px; font: 9px/1.5 var(--mono); letter-spacing: .08em; color: var(--clay); margin-bottom: 10px; }
.chat-heading > span:last-child { color: var(--ink-3); font-size: 8px; }
.chat-invitation { font: 400 25px/1.2 var(--serif); margin-bottom: 18px; color: var(--ink); }
.dock .clawd-float { top: 72px; left: auto; right: 40px; width: 30px; height: 18px; animation: none; --clawd-travel: 0px; }
.dock .clawd-float svg { width: 30px; height: 18px; }
#composer { border-radius: 8px; padding: 12px 12px 12px 18px; background: var(--paper); border: 1px solid var(--line-2); box-shadow: none; }
#composer::before, #composer::after { display: none; }
#composer:focus-within { border-color: var(--clay); box-shadow: 0 0 0 3px var(--clay-soft); }
#composer textarea { color: var(--ink); font: 400 15px/1.5 var(--sans); }
.send { border-radius: 6px; width: 38px; height: 38px; background: var(--clay); color: var(--clay-ink); box-shadow: none; }
.suggestions { justify-content: flex-start; gap: 7px; margin-top: 12px; }
.suggestions button { background: transparent; box-shadow: none; border: 1px solid var(--line); border-radius: 5px; padding: 7px 9px; font: 11px/1.4 var(--sans); }
.suggestions button:hover { background: var(--clay-soft); box-shadow: none; }
.dock-note { text-align: left; font: 9px/1.6 var(--sans); color: var(--ink-3); margin-top: 12px; }
.quickfacts {
  grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr);
  width: 100%; gap: 0; margin: 52px 0 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2);
}
.quickfacts > span { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; padding: 25px 25px 25px 0; border: 0; border-radius: 0; box-shadow: none; background: none; }
.quickfacts > span + span { border-left: 1px solid var(--line); padding-left: 30px; }
.quickfacts b { font: 400 45px/1 var(--serif); color: var(--ink); letter-spacing: -.025em; }
.quickfacts .fact-plus { display: inline; padding: 0; border: 0; box-shadow: none; background: none; color: var(--obs-accent); font-size: 30px; }
.quickfacts small { font: 10px/1.5 var(--sans); color: var(--ink-2); }
.scroll-cue { grid-column: 1 / -1; justify-self: center; margin-top: 24px; font-size: 9px; color: var(--ink-3); }
body.has-thread .observatory { display: none; }
body.has-thread .deck { padding-top: 28px; }
body.has-thread .deck .ask-hero { display: flex; max-width: 850px; margin: auto; padding-bottom: 40px; }
body.has-thread .ask-hero > .dock { position: sticky; inset: auto; bottom: 16px; transform: none; max-width: 850px; width: 100%; margin-top: 22px; padding: 16px; background: var(--paper); z-index: 8; }
body.has-thread .chat-invitation, body.has-thread .chat-heading, body.has-thread .clawd-float { display: none; }
body.has-thread .ask-hero > .dock::before { display: none; }
body.has-thread .thread { padding: 16px 0; }
/* Editorial chapters: whitespace, large type and a consistent ink palette. */
.bands { background: var(--paper); padding: 20px 0 80px; }
.bands::before { display: none; }
#experience, #skills, #projects, #ai-systems, #work, #faq { --section-accent: 40, 94, 89; }
html[data-theme="dark"] .bands > .band { --section-accent: 169, 213, 189; }
.bands > .band, html[data-theme="dark"] .bands > .band {
  width: min(calc(100% - 84px), 1156px); max-width: 1156px; padding: 72px 0;
  margin: 0 auto; background: none; border: 0; border-bottom: 1px solid var(--line);
  border-radius: 0; box-shadow: none; overflow: visible; content-visibility: visible;
  scroll-margin-top: 0;
}
.bands > .band[data-system]::after, .bands > .band:not(#cta)::before { display: none; }
.band-head { text-align: left; max-width: none; margin: 0 0 35px; }
.band-head h2 { font: 400 clamp(42px, 4.5vw, 64px)/1.02 var(--serif); letter-spacing: -.025em; max-width: 22ch; text-wrap: balance; margin: 16px 0 0; }
.band-head h2 em { color: var(--obs-accent); font-weight: 400; }
.kicker { color: var(--clay); font-size: 10px; }
.kicker i { color: var(--obs-accent); border-color: var(--line-2); background: none; }
.band-head .chapter-meta { justify-content: flex-start; margin-top: 20px; gap: 14px; font-size: 10px; }
.system-chip { font-size: 9px; color: var(--ink-3); background: none; border: 0; box-shadow: none; }
.timeline { margin-top: 35px; }
.timeline li { background: none; border-radius: 0; box-shadow: none; border: 0; border-top: 1px solid var(--line); padding-block: 28px; }
.timeline li:hover { transform: none; background: none; box-shadow: none; }
.timeline li:first-child { background: var(--paper-2); border: 1px solid var(--line); border-radius: 10px; box-shadow: none; }
.timeline h3 { font-size: 18px; letter-spacing: -.4px; }
.timeline p { font-size: 14px; line-height: 1.8; max-width: 70ch; }
.timeline .when { color: var(--obs-accent); font-size: 11px; }
.edu { background: var(--paper-2); box-shadow: none; border: 1px solid var(--line); border-radius: 10px; padding: 25px; }
.skillcard, .project, .card, .retrieval, .mcp, .faq, .how-grid .panel {
  background: var(--obs-surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: none;
}
.skillcard { padding: 25px; }
.skillcard h3 { font-size: 15px; }
.stack-chip { box-shadow: none; border-radius: 5px; }
.projects { gap: 18px; }
.project, .project:first-of-type { padding: 30px 25px; }
.project::before { display: none; }
.project-year { color: var(--obs-accent); font-size: 11px; }
.project h3 { font: 400 32px/1.08 var(--serif); margin-top: 20px; letter-spacing: -.5px; }
.project p { font-size: 13px; line-height: 1.8; }
.project .stack span { border-radius: 4px; background: var(--paper-2); }
.project:hover, .card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--obs-shadow); }
.retrieval::before { color: var(--clay); }
.retrieval-form input { border-radius: 6px; }
.rank { background: var(--paper); border-radius: 7px; }
.work-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 12px; color: var(--ink-2); }
.work-toolbar a { white-space: nowrap; text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 4px; color: var(--clay); }
.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 25px; }
.card { display: flex; flex-direction: column; min-height: 255px; padding: 24px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card { gap: 0; }
.card::after, .card h3::before, .skillcard::after, .skillcard h3::before { display: none; }
.card:hover { background: var(--obs-surface); }
.repo-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; color: var(--ink-3); font: 9px/1 var(--mono); }
.repo-symbol { font-size: 19px; color: var(--obs-accent); }
.card h3 { font: 400 30px/1.1 var(--serif); letter-spacing: -.5px; }
.card h3 a { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.repo-arrow { font: 18px/1 var(--sans); color: var(--clay); transition: transform .2s; }
.card:hover .repo-arrow { transform: translate(2px, -2px); }
.card p { display: block; -webkit-line-clamp: unset; overflow: visible; font-size: 12px; line-height: 1.75; margin-top: 14px; }
.card .topics { margin-top: 20px; gap: 5px; }
.card .topics span { font-size: 9px; border-radius: 4px; padding: 5px 6px; }
.repo-footer { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid var(--line); padding-top: 15px; margin-top: auto; font: 9px/1.4 var(--mono); color: var(--ink-3); }
.card .topics + .repo-footer, .card p + .repo-footer { margin-top: 22px; }
.repo-language::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--obs-accent); margin-right: 6px; }
.card:first-child { grid-column: span 2; background: var(--paper-2); }
.card:first-child h3 { font-size: 40px; }
.card:first-child p { max-width: 60ch; }
.certs { margin-top: 28px; }
.certrow span { border-radius: 5px; box-shadow: none; }
.faq { padding: 0 28px; }
.faq summary { padding-block: 24px; font-size: 15px; }
.faq details[open] summary { color: var(--obs-accent); }
.bands > #cta { width: min(calc(100% - 84px), 1156px); padding: 60px 0 0; border-bottom: 0; }
.cta { position: relative; padding: 60px 40px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--paper-2); box-shadow: none; }
.cta::before, .cta::after { display: none; }
.cta .system-chip { display: none; }
.cta-spark { display: block; font-size: 42px; color: var(--obs-accent); margin-bottom: 22px; line-height: 1; }
.cta h2 { font: 400 clamp(48px, 5.5vw, 78px)/.98 var(--serif); letter-spacing: -.025em; }
.cta h2 em { color: var(--obs-accent); }
.cta p { font-size: 14px; line-height: 1.8; max-width: 50ch; }
.btn { border-radius: 6px; box-shadow: none; }
.foot { max-width: 1240px; margin: auto; padding: 20px 42px 35px; border: 0; font-size: 11px; }
.foot strong { font-family: var(--serif); font-size: 22px; font-weight: 400; }
.foot-runtime { display: none; }
@media (min-width: 1450px) { .deck { padding-top: 78px; } }
@media (max-width: 1000px) {
  .deck { padding: 45px 32px 0; }
  .deck .ask-hero { gap: 0 24px; }
  .ask-hero h1 { font-size: 82px; }
  .hero-eyebrow { font-size: 8px; letter-spacing: .02em; }
  .orbit-stage { height: 370px; }
  .orbit-sculpture { scale: .85; }
  .guide-one { width: 280px; height: 280px; }
  .guide-two { width: 335px; height: 335px; }
  .orbit-caption { font-size: 7px; }
  .observatory figcaption { font-size: 8px; }
  .node-evidence { left: -6px; }
  .orbit-node { padding: 8px 9px; font-size: 10px; }
  .bar-island { gap: 22px; }
  .bar-right a, .bar-right .q { font-size: 11px; padding-inline: 9px; }
  .bands > .band, .bands > #cta { width: calc(100% - 64px); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .bar { padding: 10px 15px 0; }
  .bar-island { width: 100%; padding: 7px 7px 7px 15px; gap: 8px; }
  .bar-left .name { font-size: 12px; }
  .mobile-menu-toggle { display: block; margin-left: auto; font-size: 11px; padding: 9px 7px; }
  .bar-right { margin-left: 0; }
  .brand-mark { font-size: 28px; }
  .bar-right > a, .bar-right #bell, .bar-right #jd-button { display: none !important; }
  .bar-right #theme-button { display: inline-flex; font-size: 11px; }
  .bar-right .q.strong { padding: 10px 12px; font-size: 11px; }
  .bar-right .q.strong span { margin-left: 3px; }
  .nav-open .bar-right {
    position: absolute; top: calc(100% + 9px); left: 0; right: 0;
    display: grid; grid-template-columns: 1fr 1fr; padding: 12px; gap: 6px;
    background: var(--paper); border: 1px solid var(--line-2); border-radius: 13px;
    box-shadow: var(--obs-shadow);
  }
  .nav-open .bar-right > a, .nav-open .bar-right #bell, .nav-open .bar-right #jd-button { display: block !important; }
  .nav-open .bar-right a, .nav-open .bar-right .q { text-align: left; padding: 12px; min-height: 44px; }
  .deck { padding: 28px 24px 0; }
  .deck .ask-hero { grid-template-columns: minmax(0, 1fr); }
  #intro { padding: 15px 0 26px; }
  .hero-eyebrow { font-size: 8px; gap: 7px; letter-spacing: .045em; margin-bottom: 25px; }
  .hero-name { font-size: 13px; margin-bottom: 15px; }
  .ask-hero h1 { font-size: clamp(72px, 14vw, 98px); }
  .hero-lead { font-size: 14px; line-height: 1.7; margin-top: 23px; }
  .hero-actions { margin-top: 23px; }
  .hero-actions a { font-size: 12px; }
  .observatory { max-width: 440px; justify-self: center; margin-top: 16px; }
  .orbit-stage { height: 340px; }
  .orbit-caption { font-size: 8px; }
  .orbit-node { font-size: 10px; }
  .node-code { top: 36px; }
  .node-evidence { top: 176px; left: 0; }
  .node-person { right: 0; bottom: 14px; }
  .orbit-coordinate { bottom: 13px; left: 5px; font-size: 8px; }
  .observatory figcaption { font-size: 8px; }
  .ask-hero > .dock { margin-top: 32px; padding: 19px 16px 16px; border-radius: 12px; }
  .chat-heading { font-size: 8px; letter-spacing: .02em; }
  .chat-heading > span:last-child { display: none; }
  .chat-invitation { font-size: 24px; padding-right: 12px; }
  .dock .clawd-float { top: 86px; right: 28px; }
  #composer { padding: 10px; }
  #composer textarea { font-size: 16px; }
  .suggestions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .suggestions button { font-size: 10px; min-height: 42px; white-space: normal; text-align: left; padding: 8px; }
  .suggestions button:nth-child(n + 3) { display: block; }
  .dock-note { font-size: 9px; line-height: 1.7; }
  .quickfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 32px; }
  .quickfacts > span, .quickfacts > span + span { padding: 22px 14px; border-left: 0; }
  .quickfacts > span:nth-child(even) { border-left: 1px solid var(--line); }
  .quickfacts > span:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .quickfacts b { font-size: 39px; }
  .quickfacts small { font-size: 9px; }
  .scroll-cue { font-size: 8px; margin-top: 22px; }
  .bands { padding: 0 0 35px; }
  .bands > .band, html[data-theme="dark"] .bands > .band { width: calc(100% - 48px); padding: 48px 0; }
  .band-head h2 { font-size: 44px; max-width: 22ch; }
  .band-head .chapter-meta { gap: 9px; font-size: 9px; flex-wrap: wrap; }
  .system-chip { font-size: 8px; margin-left: 5px; }
  .timeline h3 { font-size: 17px; }
  .timeline p { font-size: 13px; }
  .timeline li { padding: 23px 0; }
  .skills, .projects, .cards { grid-template-columns: minmax(0, 1fr); }
  .card:first-child { grid-column: auto; }
  .card { min-height: 0; }
  .work-toolbar { align-items: flex-start; flex-direction: column; gap: 10px; }
  .card:first-child h3 { font-size: 34px; }
  .repo-topline { margin-bottom: 20px; }
  .bands > #cta { width: calc(100% - 32px); padding: 20px 0 0; }
  .cta { padding: 37px 24px; }
  .cta h2 { font-size: 49px; }
  .cta p { font-size: 13px; }
  .cta-row { display: flex; flex-direction: column; gap: 10px; }
  .cta-row .btn { width: 100%; }
  .foot { padding: 15px 24px 30px; gap: 20px; flex-wrap: wrap; }
  body.has-thread .deck { padding-inline: 18px; }
  body.has-thread .ask-hero > .dock { position: relative; bottom: auto; }
  body.has-thread .thread { padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .orbit-sculpture, .orbit-node { animation: none; }
  .orbit-node, .hero-primary, .card, .repo-arrow { transition: none; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .orbit-node, .ask-hero > .dock, .card, .project, .skillcard { background: var(--paper); }
}
@media (forced-colors: active) {
  .orbit-node, .ask-hero > .dock, .card, .hero-primary { border: 1px solid CanvasText; }
  .twin-core { background: Canvas; color: CanvasText; border: 1px solid CanvasText; }
}
