:root {
  color-scheme: dark;
  --canvas: #101014;
  --surface: #16151c;
  --surface-raised: #1c1b24;
  --text: #e8e6ef;
  --text-muted: #aaa5b2;
  --heading: #fff;
  --accent: #b18cff;
  --accent-rgb: 177, 140, 255;
  --flow: #5ee0c4;
  --border: #302e39;
  --border-strong: #47434f;
  --filled-text: #181120;
  --header-bg: rgba(16, 16, 20, .86);
  --shadow: 0 24px 80px rgba(0, 0, 0, .20);
  --font-display: "Space Grotesk", "Aptos Display", "Segoe UI", sans-serif;
  --font-body: "Sora", "Aptos", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
}
html[data-accent="rose"] { --accent: #f472b6; --accent-rgb: 244, 114, 182; }
html[data-theme="light"] {
  color-scheme: light;
  --canvas: #fbf9fc;
  --surface: #fff;
  --surface-raised: #f3eff7;
  --text: #2a2333;
  --text-muted: #6e6579;
  --heading: #1c1524;
  --accent: #6d3fc4;
  --accent-rgb: 109, 63, 196;
  --flow: #08735f;
  --border: #e7e0ed;
  --border-strong: #c8bbd2;
  --filled-text: #fff;
  --header-bg: rgba(251, 249, 252, .90);
  --shadow: 0 18px 60px rgba(48, 25, 66, .07);
}
html[data-theme="light"][data-accent="rose"] { --accent: #c22e7b; --accent-rgb: 194, 46, 123; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; min-width: 280px; background: var(--canvas); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
body, button, input, select { font-family: var(--font-body); }
button, input, select { font-size: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img, svg { max-width: 100%; }
::selection { color: var(--heading); background: rgba(var(--accent-rgb), .35); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 16px; padding: 9px 15px; transform: translateY(-160%); border-radius: 4px; background: var(--accent); color: var(--filled-text); font-weight: 700; }
.skip-link:focus { transform: translateY(0); color: var(--filled-text); }
.container { width: min(100% - 128px, 1320px); margin-inline: auto; }
.eyebrow { margin: 0; color: var(--text-muted); font-family: var(--font-mono); font-size: .73rem; font-weight: 600; letter-spacing: .13em; line-height: 1.5; }
.accent-text { color: var(--accent); }
.text-link { display: inline-flex; align-items: center; gap: .55em; color: var(--accent); font-weight: 700; border-bottom: 1px solid rgba(var(--accent-rgb), .45); }
.text-link:hover { border-color: var(--accent); }
.muted-link { color: var(--text); border-color: var(--border-strong); }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 1.25rem; min-height: 48px; padding: .7rem 1.22rem; border: 1px solid transparent; border-radius: 6px; font-size: .85rem; font-weight: 700; line-height: 1.25; white-space: nowrap; transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: var(--filled-text); }
.button-primary:hover { background: var(--accent); color: var(--filled-text); box-shadow: 0 8px 30px rgba(var(--accent-rgb), .20); }
.button-outline { border-color: var(--border-strong); background: transparent; color: var(--text); }
.button-outline:hover { border-color: var(--accent); color: var(--accent); }
.button-text { padding-inline: 0; color: var(--accent); }
.button-small { min-height: 36px; padding: .45rem .8rem; font-size: .76rem; }
.site-header { position: sticky; z-index: 30; top: 0; height: 68px; border-bottom: 1px solid var(--border); background: var(--header-bg); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }
.header-inner { display: flex; align-items: center; gap: 2rem; height: 100%; }
.brand { font-family: var(--font-display); font-size: 1.32rem; font-weight: 700; letter-spacing: -.05em; line-height: 1; color: var(--heading); white-space: nowrap; }
.brand:hover { color: var(--heading); }
.brand-dot { color: var(--accent); }
.primary-nav { display: flex; justify-content: center; gap: clamp(.75rem, 1.65vw, 1.8rem); margin-left: auto; }
.primary-nav > a { position: relative; padding: .55rem .05rem; font-size: .77rem; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.primary-nav > a::after { position: absolute; right: 0; bottom: .25rem; left: 0; height: 1px; background: var(--accent); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.primary-nav > a:hover, .primary-nav > a:focus-visible { color: var(--heading); }
.primary-nav > a:hover::after { transform: scaleX(1); }
.primary-nav a[aria-current="location"] { color: var(--accent); }
.primary-nav a[aria-current="location"]::after { transform: scaleX(1); }
.mobile-only { display: none; }
.header-actions { display: flex; align-items: center; gap: .55rem; margin-left: .35rem; }
.icon-button { display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid var(--border-strong); border-radius: 6px; background: var(--surface); color: var(--text); font-family: var(--font-mono); font-size: 1rem; line-height: 1; }
.icon-button:hover { border-color: var(--accent); color: var(--accent); }
.palette-button { color: var(--accent); }
.menu-button { display: none; }

.hero { position: relative; overflow: clip; border-bottom: 1px solid var(--border); }
.hero::before { position: absolute; inset: 0; z-index: 0; opacity: .28; background-image: linear-gradient(rgba(var(--accent-rgb), .13) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--accent-rgb), .13) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(90deg, transparent 12%, black 70%); content: ""; pointer-events: none; }
.hero-glow { position: absolute; z-index: 0; top: -250px; right: -120px; width: 850px; height: 850px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--accent-rgb), .10) 0, rgba(var(--accent-rgb), .035) 35%, transparent 65%); pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); align-items: center; gap: 2rem; min-height: min(720px, calc(100svh - 68px)); padding-top: 88px; padding-bottom: 64px; }
.hero-copy { position: relative; z-index: 1; }
.hero-kicker { display: flex; align-items: center; gap: .85rem; color: var(--flow); }
.signal-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--flow); box-shadow: 0 0 0 4px color-mix(in srgb, var(--flow) 13%, transparent); }
.eyebrow-separator { color: var(--text-muted); }
.hero h1 { margin: 1.45rem 0 1.25rem; color: var(--heading); font-family: var(--font-display); font-size: clamp(3.4rem, 6.5vw, 6.3rem); font-weight: 700; letter-spacing: -.07em; line-height: 1.03; }
.hero-last-name { white-space: nowrap; }
.hero-role { margin: 0 0 1rem; color: var(--heading); font-family: var(--font-display); font-size: clamp(1.1rem, 1.8vw, 1.45rem); font-weight: 500; letter-spacing: -.025em; }
.hero-role span { padding-inline: .28rem; color: var(--accent); }
.hero-summary { max-width: 620px; margin: 0; color: var(--text-muted); font-size: 1rem; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: 2.1rem; }
.hero-social { display: flex; flex-wrap: wrap; align-items: center; gap: 1.35rem; margin-top: 2.5rem; }
.hero-social .eyebrow { padding-right: .25rem; }
.hero-social a { color: var(--text); font-size: .79rem; font-weight: 600; }
.hero-social a:hover { color: var(--accent); }
.hero-visual { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin: auto; }
.visual-orbit { position: absolute; inset: 9%; border: 1px solid rgba(var(--accent-rgb), .25); border-radius: 50%; }
.orbit-one::after { position: absolute; top: 8%; right: 12%; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 24px var(--accent); content: ""; }
.orbit-two { inset: 24%; border-style: dashed; border-color: rgba(var(--accent-rgb), .32); transform: rotate(-22deg); }
.visual-core { position: absolute; inset: 32%; display: flex; flex-direction: column; justify-content: center; align-items: center; border: 1px solid rgba(var(--accent-rgb), .52); border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(var(--accent-rgb), .2), var(--surface) 70%); box-shadow: 0 0 65px rgba(var(--accent-rgb), .1), inset 0 0 45px rgba(var(--accent-rgb), .07); color: var(--heading); font-family: var(--font-mono); font-size: clamp(.45rem, .9vw, .7rem); font-weight: 600; letter-spacing: .17em; text-align: center; }
.visual-core b { color: var(--flow); font-size: 1.6rem; font-weight: 400; line-height: 1.4; }
.visual-node { position: absolute; padding: .4rem .65rem; border: 1px solid var(--border-strong); border-radius: 4px; background: var(--surface); color: var(--flow); font-family: var(--font-mono); font-size: .55rem; letter-spacing: .07em; white-space: nowrap; }
.node-one { top: 16%; left: 2%; }.node-two { top: 40%; right: -2%; }.node-three { bottom: 12%; left: 7%; }
.visual-cross { position: absolute; color: var(--accent); font-family: var(--font-mono); font-size: 1.1rem; opacity: .45; }
.cross-one { top: 8%; right: 18%; }.cross-two { bottom: 23%; right: 8%; }
.evidence-wrap { position: relative; z-index: 2; }
.evidence-strip { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); border-bottom: 0; background: var(--surface); }
.evidence-item { position: relative; display: flex; flex-direction: column; gap: .2rem; min-height: 151px; padding: 1.35rem 1.55rem; }
.evidence-item + .evidence-item { border-left: 1px solid var(--border); }
.evidence-index { color: var(--accent); font-family: var(--font-mono); font-size: .63rem; font-weight: 600; letter-spacing: .1em; }
.evidence-item strong { margin: .35rem 0 .05rem; color: var(--heading); font-family: var(--font-display); font-size: clamp(1.3rem, 2vw, 1.9rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.2; }
.evidence-item > span:nth-last-child(2) { max-width: 29ch; color: var(--text-muted); font-size: .73rem; line-height: 1.5; }
.evidence-arrow { position: absolute; top: 1.25rem; right: 1.35rem; color: var(--text-muted); }
.evidence-item:hover { background: var(--surface-raised); }.evidence-item:hover .evidence-arrow { color: var(--accent); }

.section { padding-block: 104px; border-bottom: 1px solid var(--border); }
.section-tinted { background: var(--surface); }
.section-tinted .panel { background: var(--surface-raised); }
.section-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(3rem, 8vw, 8rem); }
.section-number { margin-bottom: 1.65rem; color: var(--accent); }
.section-number span { color: var(--text-muted); }
h1, h2, h3, p { overflow-wrap: anywhere; }
h2, h3 { color: var(--heading); font-family: var(--font-display); }
h2 { margin: 0; font-size: clamp(2.25rem, 3.7vw, 3.65rem); font-weight: 700; letter-spacing: -.058em; line-height: 1.13; }
h2 em { color: var(--accent); font-style: normal; }
h3 { letter-spacing: -.04em; }
.section-body { padding-top: 2.3rem; }
.section-body p { max-width: 68ch; color: var(--text-muted); }
.section-body .lead, .lead { color: var(--text); font-size: clamp(1.04rem, 1.35vw, 1.2rem); line-height: 1.7; }
.section-body p + p { margin-top: 1.25rem; }
.facts-list { margin: 2.5rem 0 0; border-top: 1px solid var(--border); }
.facts-list > div { display: grid; grid-template-columns: 150px 1fr; gap: 1.2rem; padding: .85rem 0; border-bottom: 1px solid var(--border); }
.facts-list dt { color: var(--text-muted); font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; }
.facts-list dd { margin: 0; color: var(--text); font-size: .86rem; }
.section-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 3rem; margin-bottom: 3rem; }
.section-aside { max-width: 310px; margin: 0; color: var(--text-muted); font-size: .88rem; line-height: 1.7; }
.project-feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); overflow: hidden; }
.project-text { padding: clamp(1.6rem, 3.5vw, 3.3rem); }
.project-text .eyebrow { color: var(--accent); }
.project-text h3 { margin: 1.1rem 0 1rem; font-size: clamp(2rem, 3vw, 3.2rem); line-height: 1.12; }
.project-text p:not(.eyebrow) { max-width: 64ch; color: var(--text-muted); font-size: .92rem; }
.tag-list, .chip-list { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; list-style: none; }
.tag-list { margin: 1.65rem 0 2rem; }.tag-list span, .chip-list li { padding: .3rem .64rem; border: 1px solid var(--border-strong); border-radius: 4px; color: var(--text); font-family: var(--font-mono); font-size: .69rem; line-height: 1.3; }
.inline-actions { display: flex; flex-wrap: wrap; gap: 1.7rem; font-size: .85rem; }
.pipeline-art { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 1.65rem; min-height: 390px; padding: 2.4rem; border-left: 1px solid var(--border); background: radial-gradient(circle at 50% 52%, rgba(var(--accent-rgb), .12), transparent 55%), linear-gradient(135deg, rgba(var(--accent-rgb), .045), transparent 50%); }
.diagram-caption, .diagram-foot { position: absolute; left: 2.4rem; color: var(--text-muted); font-family: var(--font-mono); font-size: .63rem; letter-spacing: .12em; }.diagram-caption { top: 2rem; }.diagram-foot { bottom: 1.6rem; }
.pipeline-row { display: flex; justify-content: center; align-items: center; gap: .4rem; }.pipeline-row.reverse { flex-direction: row-reverse; }
.pipeline-step { display: grid; place-items: center; min-width: 128px; min-height: 48px; padding: .3rem .55rem; border: 1px solid rgba(var(--accent-rgb), .55); border-radius: 5px; background: var(--surface); color: var(--heading); font-family: var(--font-mono); font-size: .66rem; font-weight: 600; letter-spacing: .04em; text-align: center; }
.pipeline-step.highlight { border-color: var(--flow); color: var(--flow); }
.pipeline-line { flex: 0 1 54px; height: 1px; background: var(--accent); }.pipeline-line::after { display: block; float: right; width: 5px; height: 5px; margin-top: -2px; border-top: 1px solid var(--accent); border-right: 1px solid var(--accent); content: ""; transform: rotate(45deg); }
.reverse .pipeline-line::after { float: left; transform: rotate(-135deg); }
.timeline { padding-left: 2rem; border-left: 1px solid var(--border-strong); }
.timeline-entry { position: relative; }.timeline-point { position: absolute; top: .1rem; left: calc(-2rem - 5px); width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(var(--accent-rgb), .12); }
.timeline-date { color: var(--accent); }.timeline-entry h3 { margin: .65rem 0 .2rem; font-size: clamp(1.55rem, 2.1vw, 2.15rem); line-height: 1.2; }.timeline-entry h3 span { color: var(--text-muted); font-weight: 400; }.timeline-company { margin: 0; color: var(--text) !important; font-weight: 700; }.timeline-note { margin-top: .25rem !important; font-size: .8rem; }
.achievement-list { display: grid; gap: 1.2rem; padding: 1.3rem 0 0 1.15rem; color: var(--text-muted); font-size: .9rem; }.achievement-list li { padding-left: .2rem; }.achievement-list li::marker { color: var(--accent); }.achievement-list strong { color: var(--text); }
.lab-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: center; gap: 5rem; }.lab-feature h2 { margin-bottom: 1.2rem; }.lab-feature .lead { max-width: 55ch; }.disclosure { max-width: 54ch; margin: 1.25rem 0 1.65rem; color: var(--text-muted); font-size: .82rem; }
.lab-preview { overflow: hidden; min-height: 330px; padding: 1.55rem 1.8rem; border-color: var(--border-strong); transform: rotate(1deg); }
.preview-top, .preview-bottom { display: flex; justify-content: space-between; align-items: center; color: var(--text-muted); font-family: var(--font-mono); font-size: .62rem; letter-spacing: .1em; }.preview-dots { color: var(--accent); letter-spacing: .3em; }.preview-meter { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin-top: 2rem; }.preview-meter > div { display: flex; flex-direction: column; padding: .6rem; border: 1px solid var(--border); border-radius: 4px; }.preview-meter b { color: var(--heading); font-family: var(--font-display); font-size: 1.8rem; line-height: 1.1; }.preview-meter > div:nth-child(2) b { color: var(--flow); }.preview-meter > div:nth-child(3) b { color: var(--accent); }.preview-meter span { color: var(--text-muted); font-family: var(--font-mono); font-size: .55rem; }
.preview-bars { display: flex; align-items: end; gap: .55rem; height: 92px; margin-top: 1.65rem; border-bottom: 1px solid var(--border-strong); }.bar { display: block; flex: 1; min-width: 4px; border-radius: 2px 2px 0 0; }.bar:nth-child(1) { height: 82%; }.bar:nth-child(2) { height: 60%; }.bar:nth-child(3) { height: 35%; }.bar:nth-child(4) { height: 72%; }.bar:nth-child(5) { height: 94%; }.bar:nth-child(6) { height: 45%; }.bar:nth-child(7) { height: 79%; }.bar:nth-child(8) { height: 32%; }.bar:nth-child(9) { height: 68%; }.bar:nth-child(10) { height: 88%; }.bar:nth-child(11) { height: 40%; }.bar:nth-child(12) { height: 75%; }.bar.accepted { background: var(--flow); }.bar.flagged { background: var(--accent); }.preview-bottom { justify-content: start; gap: 1.2rem; margin-top: 1rem; }.legend-dot { display: inline-block; width: 6px; height: 6px; margin-right: .3rem; border-radius: 50%; }.legend-dot.ok { background: var(--flow); }.legend-dot.warn { background: var(--accent); }
.architecture-list { border-top: 1px solid var(--border-strong); }.architecture-item { border-bottom: 1px solid var(--border); }.architecture-item summary { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) 2rem; align-items: center; gap: 1.5rem; min-height: 99px; padding: 1rem .4rem; list-style: none; cursor: pointer; }.architecture-item summary::-webkit-details-marker { display: none; }.architecture-index { color: var(--accent); font-family: var(--font-mono); font-size: .7rem; }.architecture-item summary strong { display: block; color: var(--heading); font-family: var(--font-display); font-size: clamp(1.1rem, 1.5vw, 1.4rem); letter-spacing: -.025em; }.architecture-item summary small { display: block; margin-top: .2rem; color: var(--text-muted); font-size: .75rem; }.details-icon { justify-self: end; color: var(--accent); font-size: 1.5rem; font-weight: 300; transition: transform .2s ease; }.architecture-item[open] .details-icon { transform: rotate(45deg); }.architecture-content { max-width: 76ch; padding: 0 0 1.6rem 6.4rem; color: var(--text-muted); font-size: .9rem; }.architecture-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }.architecture-caption { margin-top: 1.2rem; padding-left: .9rem; border-left: 2px solid var(--accent); font-size: .76rem; }
.capability-tabs { display: none; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.25rem; padding-bottom: .8rem; border-bottom: 1px solid var(--border-strong); }.capability-tabs button { padding: .6rem .95rem; border: 1px solid var(--border-strong); border-radius: 5px; background: transparent; color: var(--text-muted); font-size: .78rem; font-weight: 700; }.capability-tabs button[aria-selected="true"] { border-color: var(--accent); background: rgba(var(--accent-rgb), .13); color: var(--accent); }.capability-tabs button:hover { border-color: var(--accent); color: var(--accent); }
html[data-js="true"] .capability-tabs { display: flex; }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }html[data-js="true"] .capability-grid { grid-template-columns: 1fr; }.capability-card[hidden] { display: none; }.capability-card { min-height: 340px; padding: 1.75rem; box-shadow: none; }html[data-js="true"] .capability-card { min-height: 250px; }.capability-index { color: var(--accent); font-family: var(--font-mono); font-size: .64rem; font-weight: 600; letter-spacing: .06em; }.capability-card h3 { margin: 2.2rem 0 .65rem; font-size: 1.45rem; line-height: 1.2; }.capability-card p { color: var(--text-muted); font-size: .85rem; }.chip-list { margin: 1.5rem 0 0; }.chip-list li { color: var(--text-muted); }
.education-block { padding: 0 0 2.3rem; border-bottom: 1px solid var(--border); }.education-block .eyebrow { color: var(--accent); }.education-block h3 { margin: .8rem 0 .3rem; font-size: 1.6rem; }.education-block p { margin: 0; }.resume-block { padding-top: 1.6rem; }.resume-block h3 { margin: 0; font-size: 1.55rem; }.resume-block > p { margin: .5rem 0 1.4rem; font-size: .85rem; }.resume-list { border-top: 1px solid var(--border); }.resume-list a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .75rem .4rem; border-bottom: 1px solid var(--border); }.resume-list a:hover { background: var(--surface-raised); }.resume-list strong, .resume-list small { display: block; }.resume-list strong { color: var(--heading); font-size: .88rem; }.resume-list small { color: var(--text-muted); font-size: .7rem; }.resume-list a > span:last-child { color: var(--accent); font-size: 1.2rem; }
.contact-section { position: relative; overflow: clip; background: radial-gradient(circle at 78% 65%, rgba(var(--accent-rgb), .11), transparent 40%), var(--surface); text-align: center; }.contact-inner { position: relative; }.contact-inner h2 { margin: 0 auto 1.2rem; }.contact-inner > p:not(.eyebrow) { max-width: 53ch; margin: 0 auto; color: var(--text-muted); }.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem; margin-top: 2.5rem; }.contact-email { color: var(--heading); font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.65rem); font-weight: 700; letter-spacing: -.025em; }.contact-email span { color: var(--accent); }.copy-status { min-width: 0; color: var(--flow); font-size: .78rem; }.contact-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.5rem; margin-top: 2.5rem; }.contact-links a { color: var(--text-muted); font-size: .82rem; font-weight: 600; }.contact-links a:hover { color: var(--accent); }
.site-footer { padding-block: 1.75rem; background: var(--canvas); }.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }.footer-inner p, .footer-inner > a:last-child { margin: 0; color: var(--text-muted); font-size: .75rem; }.footer-inner > a:last-child:hover { color: var(--accent); }

/* Shared page and workbench primitives */
.page-intro { padding: 95px 0 60px; border-bottom: 1px solid var(--border); background: radial-gradient(circle at 85% 20%, rgba(var(--accent-rgb), .11), transparent 35%); }
.page-intro h1 { max-width: 15ch; margin: 1rem 0; color: var(--heading); font-family: var(--font-display); font-size: clamp(2.5rem, 5.5vw, 5.2rem); letter-spacing: -.065em; line-height: 1.08; }
.page-intro p:not(.eyebrow) { max-width: 70ch; color: var(--text-muted); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .6rem; color: var(--text-muted); font-family: var(--font-mono); font-size: .73rem; }.breadcrumbs a { color: var(--accent); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .32fr); align-items: start; gap: 4rem; }
.prose { max-width: 72ch; }.prose h2 { margin: 2.5rem 0 1rem; font-size: clamp(1.7rem, 2.7vw, 2.5rem); }.prose h3 { margin: 2rem 0 .65rem; font-size: 1.3rem; }.prose p, .prose li { color: var(--text-muted); }.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }.prose ul { padding-left: 1.35rem; }.prose li + li { margin-top: .5rem; }
.side-nav { position: sticky; top: 100px; padding: 1.4rem; }.side-nav a { display: block; padding: .35rem 0; color: var(--text-muted); font-size: .8rem; }.side-nav a:hover { color: var(--accent); }
.accent { color: var(--accent); }
.header-inner > nav:not(.primary-nav) { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; }.header-inner > nav:not(.primary-nav) a { color: var(--text-muted); font-size: .8rem; font-weight: 600; }.header-inner > nav:not(.primary-nav) a:hover { color: var(--accent); }
.appearance-controls { display: flex; gap: .45rem; align-items: center; margin-left: .4rem; }.appearance-controls button { min-height: 34px; padding: .3rem .65rem; border: 1px solid var(--border-strong); border-radius: 5px; background: var(--surface); color: var(--text); font-size: .72rem; }.appearance-controls button:hover { border-color: var(--accent); color: var(--accent); }
.button-secondary { border-color: var(--border-strong); background: transparent; color: var(--text); }.button-secondary:hover { border-color: var(--accent); color: var(--accent); }
.lede { max-width: 70ch; color: var(--text-muted); font-size: clamp(1.04rem, 1.5vw, 1.2rem); line-height: 1.75; }
.compact-section { padding-block: 3rem; border-bottom: 1px solid var(--border); }.compact-section:first-child { padding-top: 0; }.compact-section h2 { margin: .6rem 0 1rem; font-size: clamp(1.8rem, 2.5vw, 2.55rem); }.compact-section p { max-width: 72ch; color: var(--text-muted); }.compact-section a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.flow-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: .6rem; padding: 0; list-style: none; counter-reset: flow; }.flow-list li { position: relative; min-height: 145px; padding: 1rem; border: 1px solid var(--border-strong); border-radius: 6px; background: var(--surface); }.flow-list li::before { display: block; margin-bottom: .7rem; color: var(--accent); font-family: var(--font-mono); font-size: .65rem; content: "0" counter(flow); counter-increment: flow; }.flow-list strong, .flow-list span { display: block; }.flow-list strong { color: var(--heading); font-size: .85rem; }.flow-list span { margin-top: .35rem; color: var(--text-muted); font-size: .72rem; line-height: 1.5; }
.toc { position: sticky; top: 90px; padding: 1.2rem; }.toc nav { display: grid; gap: .35rem; margin-top: .8rem; }.toc a { padding: .2rem 0; color: var(--text-muted); font-size: .78rem; }.toc a:hover { color: var(--accent); }
.note { padding: .9rem 1rem; border-left: 2px solid var(--accent); background: rgba(var(--accent-rgb), .07); color: var(--text-muted); font-size: .8rem; }

@media (max-width: 1180px) {
  .container { width: min(100% - 80px, 1320px); }
  .header-inner { gap: 1.1rem; }
  .primary-nav { gap: .9rem; }
  .hero-inner { grid-template-columns: minmax(0, 1.18fr) minmax(270px, .82fr); }
  .hero h1 { font-size: clamp(3rem, 6vw, 5.2rem); }
}
@media (max-width: 1080px) {
  .site-header { height: 64px; }
  .primary-nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; padding: .75rem max(40px, calc((100vw - 1320px)/2)); border-bottom: 1px solid var(--border-strong); background: var(--surface); box-shadow: var(--shadow); }
  html[data-js="true"] .primary-nav:not(.is-open):not([data-open="true"]) { display: none; }
  .primary-nav > a, .mobile-nav-extra a { padding: .65rem .8rem; font-size: .85rem; }
  .mobile-only { display: contents; }
  .mobile-nav-extra a { display: block; color: var(--text-muted); font-weight: 600; }
  .mobile-nav-extra a:hover { color: var(--accent); }
  html[data-js="true"] .menu-button { display: inline-grid; }
  .header-actions { margin-left: auto; }
  .menu-lines { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 16px; }.menu-lines span { display: block; height: 1.5px; background: currentColor; }
  .header-inner > nav:not(.primary-nav) { gap: .6rem; }.header-inner > nav:not(.primary-nav) a { font-size: .7rem; }
  .hero-inner { min-height: 620px; }
  .hero h1 { font-size: clamp(2.9rem, 6vw, 4.8rem); }
  .hero-visual { opacity: .72; }
  .section-grid { gap: 3.5rem; }
  .lab-feature { gap: 2.5rem; }
}
@media (max-width: 800px) {
  .container { width: min(100% - 40px, 1320px); }
  .hero-inner { display: block; min-height: 0; padding-top: 92px; padding-bottom: 76px; }
  .hero-copy { max-width: 680px; }.hero h1 { font-size: clamp(3.5rem, 9vw, 5.4rem); }
  .hero-visual { position: absolute; top: 0; right: -220px; width: 580px; opacity: .19; pointer-events: none; }
  .evidence-strip { grid-template-columns: 1fr; }.evidence-item { min-height: 0; padding: 1rem 1.3rem; }.evidence-item + .evidence-item { border-top: 1px solid var(--border); border-left: 0; }.evidence-item strong { font-size: 1.5rem; }
  .section { padding-block: 76px; }.section-grid, .project-feature, .lab-feature { grid-template-columns: 1fr; gap: 1.5rem; }.section-body { padding-top: 0; }.section-heading-row { align-items: start; flex-direction: column; gap: 1.2rem; }.section-aside { max-width: 60ch; }
  .pipeline-art { min-height: 330px; border-top: 1px solid var(--border); border-left: 0; }.capability-grid { grid-template-columns: 1fr; }.capability-card { min-height: 0; }.capability-card h3 { margin-top: 1.2rem; }.lab-preview { transform: none; }.content-grid { grid-template-columns: 1fr; }.side-nav { position: static; }
  .flow-list { grid-template-columns: repeat(2, 1fr); }.toc { position: static; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 40px, 1320px); }
  .header-inner { gap: .5rem; }.header-actions { gap: .4rem; }.header-cv { display: none; }.icon-button { width: 33px; height: 33px; }
  .primary-nav { grid-template-columns: 1fr; padding: .5rem 20px 1rem; }
  .header-inner > nav:not(.primary-nav) { display: none; }.appearance-controls button span { display: none; }
  .hero-inner { padding-top: 72px; padding-bottom: 64px; }.hero-kicker { font-size: .62rem; }.hero h1 { margin-top: 1.1rem; font-size: clamp(2.6rem, 10.5vw, 4.2rem); }.hero-role { font-size: 1.05rem; }.hero-summary { font-size: .94rem; }.hero-actions { align-items: stretch; flex-direction: column; gap: .7rem; }.hero-actions .button { justify-content: space-between; width: 100%; }.hero-social { margin-top: 2rem; }
  .section { padding-block: 58px; }.section-number { margin-bottom: 1.2rem; }h2 { font-size: clamp(2.05rem, 8vw, 3rem); }.facts-list > div { grid-template-columns: 1fr; gap: .1rem; }.project-text { padding: 1.4rem; }.project-text h3 { font-size: 2rem; }.pipeline-art { padding-inline: 1rem; }.diagram-caption, .diagram-foot { left: 1rem; }.pipeline-step { min-width: 100px; font-size: .56rem; }.lab-preview { padding: 1.2rem; }.preview-meter { gap: .3rem; }.preview-meter b { font-size: 1.4rem; }.preview-meter span { font-size: .47rem; }.architecture-item summary { grid-template-columns: 2rem minmax(0, 1fr) 1.5rem; gap: .65rem; }.architecture-content { padding-left: 2.65rem; }.contact-actions { flex-direction: column; }.contact-email { font-size: 1.2rem; }.footer-inner { flex-wrap: wrap; }.footer-inner p { order: 3; flex-basis: 100%; }
  .flow-list { grid-template-columns: 1fr; }.flow-list li { min-height: 0; }
}
@media (max-width: 350px) { .container { width: min(100% - 32px, 1320px); }.hero h1 { font-size: 2.38rem; }.hero-kicker { gap: .4rem; }.hero-role { font-size: .95rem; }.hero-social { gap: .75rem; }.pipeline-step { min-width: 89px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; } }
