/* ENGINEERING UNIVERSE 2.0 — multi-page design language
   Geometry: 1px engineered strokes / 4px spacing grid / editorial typography. */
:root {
  --stroke-subtle: 1px solid var(--line);
  --stroke: 1px solid var(--line-strong);
  --surface: var(--panel);
  --surface-raised: var(--panel-2);
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
}
.inner-page { min-width: 320px; overflow-x: clip; }
.inner-page.dialog-open { overflow: hidden; }
.inner-page main { min-height: 80vh; padding-top: 88px; padding-bottom: 140px; }
.shell { width: min(100% - clamp(40px, 10vw, 160px), 1472px); margin-inline: auto; }
.page-header { position: fixed; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(18px); }
.page-header-trail { display: flex; align-items: center; gap: 14px; color: var(--muted); font: 9px var(--font-mono); letter-spacing: .15em; white-space: nowrap; }
.page-header-trail span:not(.live-pulse) { color: var(--dim); }
.micro-label { display: inline-block; font: 10px/1.5 var(--font-mono); letter-spacing: .13em; color: var(--cyan); text-transform: uppercase; }
.page-hero { padding-top: clamp(64px, 8vw, 132px); min-height: 590px; display: flex; flex-direction: column; justify-content: space-between; }
.page-topline { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.hero-location { font: 9px var(--font-mono); letter-spacing: .12em; color: var(--dim); }
.hero-location span { padding-inline: 16px; color: var(--cyan); }
.page-hero-layout { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; padding-block: 64px 40px; }
.page-title { margin: 0; font-size: clamp(70px, 8.7vw, 142px); line-height: .98; font-weight: 560; letter-spacing: -.087em; max-width: 1080px; }
.page-title em, .section-intro-new em, .feature-narrative em, .about-editorial em, .contact-editorial em, .page-nav-body h2 em { color: var(--cyan); font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.075em; }
.page-intro { margin: 35px 0 0; max-width: 660px; color: var(--muted); line-height: 1.75; font-size: clamp(16px, 1.4vw, 19px); }
.page-hero-index { min-width: 180px; align-self: center; color: transparent; -webkit-text-stroke: 1px rgba(131,220,224,.25); font: 500 clamp(90px,12vw,210px)/1 var(--font-sans); letter-spacing: -.1em; text-align: right; }
.page-hero-index span { display: block; -webkit-text-stroke: 0; color: var(--dim); font: 9px var(--font-mono); letter-spacing: .18em; margin-top: 5px; }
.hero-rule { padding: 19px 0; border-top: var(--stroke); border-bottom: var(--stroke-subtle); display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--dim); font: 9px var(--font-mono); letter-spacing: .17em; }
.section-heading-new { margin: 105px 0 40px; display: flex; gap: 26px; align-items: center; color: var(--muted); font: 10px/1.4 var(--font-mono); letter-spacing: .12em; }
.section-heading-new span:first-child { color: var(--cyan); white-space: nowrap; }
.section-heading-new span:nth-child(2) { white-space: nowrap; }
.section-heading-new i { display: block; height: 1px; background: var(--line); flex: 1; }
.section-intro-new { margin-bottom: 52px; }
.section-intro-new h2 { font-size: clamp(45px, 5vw, 82px); letter-spacing: -.073em; font-weight: 560; margin: 22px 0; line-height: 1.06; }
.section-intro-new p { color: var(--muted); max-width: 600px; line-height: 1.8; }
.tech-chip { font: 10px var(--font-mono); color: var(--muted); border: 1px solid var(--line-strong); padding: 9px 11px; white-space: nowrap; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.state-pill { border: 1px solid rgba(181,233,155,.32); color: var(--lime); padding: 7px 10px; font: 9px var(--font-mono); white-space: nowrap; letter-spacing: .08em; }
.action-link, .outline-link { display: inline-flex; gap: 20px; align-items: center; justify-content: space-between; min-height: 51px; padding: 14px 19px; background: var(--cyan); color: #06121c; border: 1px solid var(--cyan); font: 10px var(--font-mono); font-weight: 700; letter-spacing: .07em; text-align: left; cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.outline-link { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.action-link:hover, .outline-link:hover { transform: translateY(-2px); }
.outline-link:hover { border-color: var(--cyan); color: var(--cyan); }
.action-link:disabled { opacity: .35; cursor: not-allowed; }
.end-link-strip { border-block: var(--stroke); margin-top: 95px; padding: 36px 0; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.end-link-strip h3 { font-size: clamp(20px, 2.6vw, 36px); font-weight: 490; letter-spacing: -.04em; margin: 10px 0 0; }
.page-footer { border-top: var(--stroke); padding: 37px 0 160px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 30px; color: var(--muted); }
.page-footer .footer-brand { font-size: 24px; font-weight: 800; letter-spacing: .12em; }
.page-footer p { margin: 14px 0 0; font-size: 12px; }
.page-footer small { color: var(--dim); font: 9px var(--font-mono); }
.footer-routes { display: flex; gap: 24px; align-self: start; flex-wrap: wrap; font: 11px var(--font-mono); }
.footer-routes a:hover { color: var(--cyan); }
.quick-dock { position: fixed; z-index: 50; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; padding: 9px; border: 1px solid rgba(138,190,206,.44); border-radius: 18px; background: color-mix(in srgb, var(--bg2) 94%, transparent); box-shadow: 0 20px 60px rgba(0,0,0,.32); backdrop-filter: blur(22px); }
.quick-dock a, .quick-dock button { border: 1px solid transparent; background: transparent; min-width: 66px; min-height: 54px; border-radius: 10px; color: var(--muted); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px; font-size: 21px; }
.quick-dock span { font: 8px var(--font-mono); letter-spacing: .05em; }
.quick-dock a:hover, .quick-dock button:hover, .quick-dock a[aria-current=page] { background: var(--panel-2); color: var(--cyan); border-color: var(--line-strong); }
/* Orbital navigation */
.page-overlay { position: fixed; z-index: 110; inset: 0; display: grid; place-items: center; padding: 24px; }
.overlay-dimmer { position: absolute; inset: 0; background: rgba(2,8,16,.94); backdrop-filter: blur(14px); }
.page-nav-dialog { position: relative; z-index: 1; width: min(100%, 1320px); max-height: min(92vh, 980px); overflow: auto; border: var(--stroke); background: #0b1928; color: #e7edf3; box-shadow: 0 30px 130px rgba(0,0,0,.4); }
.page-overlay-top, .page-overlay-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 25px 30px; font: 9px var(--font-mono); color: #91a9b8; letter-spacing: .12em; }
.page-overlay-top { border-bottom: 1px solid #8ca8be29; }
.page-overlay-bottom { border-top: 1px solid #8ca8be29; }
.page-overlay-top .soft { opacity: .55; }
.page-overlay-top button, .palette-top button { padding: 12px 17px; background: transparent; border: 1px solid #7894a943; font: 10px var(--font-mono); color: #d0e4eb; }
.page-nav-body { min-height: 500px; display: grid; grid-template-columns: .85fr 1.3fr .85fr; gap: 46px; padding: 46px; align-items: center; background: radial-gradient(circle at 42% 48%,#13384a65,transparent 55%); }
.orbital-mark { aspect-ratio: 1; display: grid; place-items: center; position: relative; min-width: 0; }
.orbit { position: absolute; border: 1px solid #83dce035; border-radius: 50%; }
.orbit-one { inset: 4%; }
.orbit-two { inset: 14%; border-style: dashed; }
.orbit-three { inset: 29%; }
.orbit-center { font: 200 105px Georgia,serif; color: #c9f4f4; }
.orbit-dot { position: absolute; width: 9px; height: 9px; border: 1px solid #83dce0; background: #09212d; transform: rotate(45deg); }
.d1 { top: 17%; left: 22%; }.d2 { bottom: 17%; right: 16%; }.d3 { top: 28%; right: 9%; }
.nav-destinations h2 { font-size: clamp(48px, 5vw, 82px); letter-spacing: -.078em; font-weight: 500; margin: 26px 0 30px; }
.nav-destination-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 25px; }
.nav-destination { color: #c3d4dc; border-bottom: 1px solid #99b0c526; display: flex; align-items: center; gap: 12px; min-height: 54px; transition: color .16s, padding .16s; }
.nav-destination > span { color: #7594a8; font: 9px var(--font-mono); }
.nav-destination strong { flex: 1; font-weight: 460; font-size: 15px; }
.nav-destination small { color: #83dce0; }
.nav-destination:hover, .nav-destination:focus-visible, .nav-destination.selected { color: #83dce0; padding-left: 5px; }
.nav-preview { display: flex; flex-direction: column; border: 1px solid #8ca8be33; min-height: 350px; padding: 20px; }
.nav-preview .preview-glyph { display: grid; flex: 1; place-items: center; font-size: 104px; color: #83dce038; }
.nav-preview h3 { margin: 0 0 8px; font-size: 26px; font-weight: 550; letter-spacing: -.045em; }
.nav-preview p { font-size: 13px; line-height: 1.5; color: #94b1c4; }
.preview-cta { font: 9px var(--font-mono); color: #83dce0; margin-top: 15px; }
.palette-dialog { width: min(100%, 750px); max-height: min(80vh, 850px); display: flex; flex-direction: column; position: relative; z-index: 1; border: 1px solid #89aebe70; background: #0c1827; color: #e7edf3; box-shadow: 0 25px 100px rgba(0,0,0,.4); }
.palette-top { padding: 16px 20px; display: flex; gap: 14px; align-items: center; border-bottom: 1px solid #85afc033; }
.palette-top label { font-size: 28px; color: #83dce0; }
.palette-top input { flex: 1; min-width: 0; background: transparent; border: 0; color: white; outline: 0; font-size: 17px; }
.palette-top button { padding: 7px; font-size: 9px; }
.palette-list { overflow: auto; padding: 10px; }
.palette-item { display: flex; align-items: center; padding: 15px; gap: 18px; border: 1px solid transparent; }
.palette-item > span { color: #83dce0; font-size: 24px; width: 38px; text-align: center; }
.palette-item strong { flex: 1; font-weight: 450; font-size: 14px; }
.palette-item small { color: #91a9b8; font: 9px var(--font-mono); }
.palette-item b { font-weight: 400; color: #83dce0; }
.palette-item:hover, .palette-item.active { background: #83dce013; border-color: #83dce03b; }
.palette-bottom { display: flex; justify-content: space-between; gap: 15px; padding: 15px 20px; border-top: 1px solid #85afc033; font: 9px var(--font-mono); color: #7798ae; }
.empty-line { color: var(--muted); padding: 30px; line-height: 1.7; }
/* Featured case-study */
.feature-split { display: grid; grid-template-columns: 1.05fr 1fr; border: var(--stroke); }
.feature-illustration { position: relative; overflow: hidden; background: radial-gradient(circle at center,#143a45 0,#081322 66%); min-height: 540px; display: grid; place-items: center; isolation: isolate; border-right: var(--stroke); }
.feature-illustration:before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px); background-size: 38px 38px; opacity: .48; }
.radar-circle { position: absolute; border: 1px solid #83dce03e; border-radius: 50%; aspect-ratio: 1; }
.r1 { width: 26%; }.r2 { width: 51%; border-style: dashed; }.r3 { width: 82%; }
.radar-sweep { width: 38%; aspect-ratio: 1; position: absolute; transform-origin: right center; right: 50%; background: linear-gradient(145deg,transparent 40%,#83dce01c 90%); clip-path: polygon(0 50%,100% 0,100% 100%); animation: scan 16s linear infinite; }
@keyframes scan { to { transform: rotate(360deg); } }
.radar-center { border: 1px solid #83dce09e; width: 112px; aspect-ratio: 1; display: grid; place-items: center; background: #123340; color: #c9ffff; font: 20px var(--font-mono); z-index: 1; box-shadow: 0 0 65px #83dce019; }
.radar-stamp { position: absolute; left: 26px; bottom: 24px; font: 9px var(--font-mono); color: #b4d0d5; letter-spacing: .13em; }
.feature-narrative { padding: clamp(35px, 5.2vw, 85px); display: flex; flex-direction: column; justify-content: center; }
.feature-narrative h2 { font-weight: 550; letter-spacing: -.07em; font-size: clamp(46px, 4.5vw, 78px); line-height: 1.02; margin: 24px 0; }
.feature-narrative p { font-size: 16px; color: var(--muted); line-height: 1.8; }
.feature-narrative .action-link { margin-top: 40px; align-self: flex-start; }
.three-facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; border: var(--stroke); }
.three-facts article { padding: clamp(23px,3vw,45px); border-right: var(--stroke-subtle); min-height: 240px; }
.three-facts article:last-child { border: 0; }.fact-n { color: var(--cyan); font: 10px var(--font-mono); }
.three-facts h3 { margin: 44px 0 15px; font-size: 23px; font-weight: 500; letter-spacing: -.04em; }
.three-facts p, .method-grid p { color: var(--muted); font-size: 14px; line-height: 1.7; margin-bottom: 0; }
/* Dissertation */
.research-question { max-width: 1100px; border-left: 2px solid var(--cyan); padding: 8px 0 8px 40px; }
.research-question > span { font: 10px var(--font-mono); letter-spacing: .15em; color: var(--cyan); }
.research-question h2 { font-size: clamp(27px,3.7vw,58px); line-height: 1.3; letter-spacing: -.047em; font-weight: 460; margin: 25px 0; }
.research-question p { font: 11px/1.8 var(--font-mono); color: var(--muted); }
.pipeline-layout { display: grid; grid-template-columns: .85fr 1.15fr; border: var(--stroke); min-height: 410px; }
.pipeline-stack { border-right: var(--stroke); }
.pipeline-button { width: 100%; border: 0; border-bottom: var(--stroke-subtle); background: transparent; display: flex; align-items: center; gap: 25px; text-align: left; padding: 28px 30px; min-height: 100px; }
.pipeline-button:last-child { border-bottom: 0; }
.pipeline-button small { font: 10px var(--font-mono); color: var(--dim); }
.pipeline-button strong { flex: 1; font: 12px var(--font-mono); letter-spacing: .1em; }
.pipeline-button span { color: var(--cyan); }
.pipeline-button.active, .pipeline-button:hover { background: var(--panel); box-shadow: inset 3px 0 var(--cyan); }
.pipeline-active { position: relative; background: radial-gradient(circle at 75% 50%,#83dce015,transparent 50%); padding: clamp(34px,5vw,75px); }
.stage-symbol { position: absolute; top: 35px; right: 40px; font-size: 100px; line-height: 1; color: #83dce040; }
.pipeline-active h3 { font-size: clamp(32px,4vw,54px); letter-spacing: -.055em; font-weight: 500; margin: 70px 0 20px; }
.pipeline-active p { max-width: 470px; color: var(--muted); line-height: 1.8; }
.stage-note { position: absolute; bottom: 28px; color: var(--dim); font: 9px var(--font-mono); letter-spacing: .15em; }
.simulator { display: grid; grid-template-columns: 1fr 1.15fr; border: var(--stroke); }
.sim-controls { padding: clamp(26px,4vw,62px); border-right: var(--stroke); }
.sim-flag { display: inline-block; padding: 11px; border: 1px solid rgba(226,202,132,.45); color: #e6cc95; font: 9px/1.7 var(--font-mono); letter-spacing: .07em; }
.sim-controls h2, .repo-top h2 { margin: 34px 0 14px; font-size: clamp(37px,4vw,61px); font-weight: 530; letter-spacing: -.065em; }
.sim-controls > p, .repo-top p { font-size: 15px; line-height: 1.75; color: var(--muted); max-width: 460px; }
.sim-points { display: grid; grid-template-columns: repeat(2,1fr); gap: 9px; margin: 33px 0; }
.sim-point { padding: 15px; text-align: left; background: transparent; border: var(--stroke); font: 10px var(--font-mono); }
.sim-point.active,.sim-point:hover { border-color: var(--cyan); background: #83dce010; color: var(--cyan); }
.sim-readout { padding-top: 24px; border-top: var(--stroke); display: flex; flex-direction: column; }
.sim-readout > span { font: 9px var(--font-mono); color: var(--dim); }
.sim-readout strong { margin: 16px 0; font-size: 78px; font-weight: 480; letter-spacing: -.075em; color: var(--cyan); }
.sim-readout strong small { font-size: 17px; letter-spacing: 0; }
.sim-readout p { color: var(--muted); }
.sim-visual { background: radial-gradient(circle at 50% 35%,#143c4b50,transparent 80%); padding: clamp(25px,4vw,60px); display: flex; flex-direction: column; }
.sim-bars { padding: 55px 0 34px; display: flex; flex-direction: column; justify-content: center; gap: 29px; flex: 1; }
.sim-bar-row { display: grid; grid-template-columns: 80px 1fr 63px; align-items: center; gap: 17px; opacity: .53; }
.sim-bar-row.selected { opacity: 1; }
.sim-bar-row span,.sim-bar-row strong { font: 9px var(--font-mono); white-space: nowrap; }
.sim-bar-row strong { color: var(--cyan); }
.sim-bar-track { background: var(--panel-2); height: 28px; border: var(--stroke-subtle); padding: 4px; }
.sim-bar-fill { height: 100%; background: repeating-linear-gradient(90deg,#83dce0 0 7px,transparent 7px 11px); transition: width .2s; }
.sim-axis { display: flex; justify-content: space-between; padding-left: 96px; border-top: var(--stroke); padding-top: 14px; font: 9px var(--font-mono); color: var(--dim); }
.sim-visual > p { max-width: 430px; margin: 45px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.method-grid { display: grid; grid-template-columns: repeat(4,1fr); border: var(--stroke); }
.method-grid article { padding: 32px; border-right: var(--stroke-subtle); }.method-grid article:last-child { border: 0; }
.method-grid article > span { color: var(--cyan); font: 9px var(--font-mono); }
.method-grid h3 { font-size: 23px; font-weight: 500; line-height: 1.2; letter-spacing: -.04em; margin: 42px 0 16px; }
.ethics-note { display: flex; gap: 35px; border-bottom: var(--stroke); padding: 35px 0; margin-top: 35px; }
.ethics-note span { flex: 0 0 180px; color: var(--cyan); font: 10px var(--font-mono); }
.ethics-note p { margin: 0; color: var(--muted); line-height: 1.8; }
/* University */
.academic-overview { border: var(--stroke); display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: center; }
.academic-overview > * { padding: 40px; }
.academic-overview .metric-big { font-size: clamp(96px,12vw,188px); line-height: .95; letter-spacing: -.11em; border-right: var(--stroke); }
.metric-big span { display: block; margin: 20px 0 0; color: var(--cyan); font: 10px var(--font-mono); letter-spacing: .16em; }
.academic-overview p { color: var(--muted); font-size: 16px; line-height: 1.8; }
.year-rail { border-left: var(--stroke); display: grid; padding: 0; }
.year-rail button { border: 0; border-bottom: var(--stroke-subtle); display: flex; gap: 22px; align-items: center; text-align: left; padding: 25px 27px; font-size: 23px; color: var(--cyan); background: transparent; }
.year-rail button:last-child { border-bottom: 0; }.year-rail button:hover { background: var(--panel); }
.year-rail span { color: var(--ink); font: 10px var(--font-mono); }
.module-controls, .archive-controls, .repo-tools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; padding: 0 0 28px; }
.seg-tabs { display: flex; gap: 5px; flex-wrap: wrap; }
.seg-tabs button { border: var(--stroke); background: transparent; padding: 15px 21px; color: var(--muted); font: 10px var(--font-mono); min-height: 49px; }
.seg-tabs button.active, .seg-tabs button[aria-pressed=true], .seg-tabs button:hover { border-color: var(--cyan); background: #83dce01a; color: var(--cyan); }
.select-control { font: 9px var(--font-mono); display: inline-flex; gap: 13px; align-items: center; color: var(--dim); }
.select-control select, .repo-tools select { padding: 14px; color: var(--ink); background: var(--panel); border: var(--stroke); min-height: 48px; }
.module-layout { display: grid; grid-template-columns: 1.06fr .94fr; min-height: 600px; border: var(--stroke); }
.module-list { border-right: var(--stroke); }
.module-card { position: relative; width: 100%; display: grid; grid-template-columns: 95px 1fr 130px 20px; align-items: center; text-align: left; gap: 18px; padding: 25px; border: 0; border-bottom: var(--stroke-subtle); background: transparent; }
.module-card:last-child { border-bottom: 0; }
.module-card:hover, .module-card.active { background: var(--panel); }
.module-card.active { box-shadow: inset 3px 0 var(--cyan); }
.module-card > span, .module-card small { color: var(--muted); font: 10px var(--font-mono); }
.module-card strong { font-size: 17px; font-weight: 500; }
.module-card b { font-weight: 400; color: var(--cyan); }
.module-detail { padding: clamp(27px,4vw,65px); background: radial-gradient(circle at 82% 10%,#83dce015,transparent 45%); }
.module-detail-code { font-size: clamp(54px,6vw,106px); letter-spacing: -.075em; margin: 38px 0 20px; color: var(--cyan); opacity: .37; }
.module-detail h3 { font-size: clamp(29px,3vw,47px); font-weight: 500; letter-spacing: -.05em; margin: 25px 0; }
.module-detail > p { color: var(--muted); line-height: 1.7; }
.module-detail .micro-label { margin: 35px 0 10px; }
.learning-list { padding: 0; list-style: none; margin: 10px 0 30px; }
.learning-list li { padding: 12px 0 12px 22px; border-bottom: var(--stroke-subtle); position: relative; }
.learning-list li:before { content: '↗'; color: var(--cyan); position: absolute; left: 0; }
.qualification-note { font-size: 11px; border-top: var(--stroke); padding-top: 18px; }
.concept-lab { display: grid; grid-template-columns: 1fr 1fr; border: var(--stroke); }
.concept-lab > div { padding: clamp(30px,4vw,55px); }
.concept-lab > div:first-child { border-right: var(--stroke); }
.concept-lab h2 { font-size: 42px; letter-spacing: -.05em; font-weight: 500; margin: 24px 0; }
.concept-lab p { max-width: 440px; color: var(--muted); line-height: 1.8; }
.concept-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 27px 0; }
.sort-demo { min-height: 350px; display: flex; align-items: end; gap: 14px; background: repeating-linear-gradient(0deg, transparent,transparent 49px,var(--line) 50px); }
.sort-item { flex: 1; min-width: 0; background: linear-gradient(#83dce0ae,#83dce030); display: flex; justify-content: center; padding-top: 15px; border: 1px solid var(--cyan); transition: height .4s, background .4s; }
.sort-item.focused { background: #a7a3e96f; border-color: var(--violet); }
.sort-item span { font: 17px var(--font-mono); color: var(--ink); }
/* Archive */
.search-field input { padding: 14px 17px; min-height: 50px; min-width: 235px; border: var(--stroke); background: var(--panel); color: var(--ink); }
.archive-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px; }
.project-panel-link { display: grid; grid-template-columns: .9fr 1fr; grid-column: 1 / -1; min-height: 430px; border: var(--stroke); transition: border-color .2s; }
.project-panel-link:hover { border-color: var(--cyan); }
.project-thumbnail { position: relative; display: grid; place-items: center; background: radial-gradient(circle,#113a44,#071321 66%); border-right: var(--stroke); overflow: hidden; }
.project-thumbnail:before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,var(--line) 1px,transparent 1px),linear-gradient(var(--line) 1px,transparent 1px); background-size: 30px 30px; opacity: .4; }
.board-rings { position: relative; width: 78%; aspect-ratio: 1; border: 1px solid #83dce03f; border-radius: 50%; display: grid; place-items: center; }
.board-rings:before,.board-rings:after { content: ''; position: absolute; inset: 15%; border: 1px dashed #83dce06c; border-radius: 50%; }.board-rings:after { inset: 30%; border-style: solid; }
.board-cpu { position: relative; z-index: 1; display: flex; align-items: center; flex-direction: column; justify-content: center; padding: 15px; width: 125px; aspect-ratio: 1; background: #133c48; border: 1px solid var(--cyan); color: #d5ffff; font: 22px var(--font-mono); }
.board-cpu span { color: #83dce0; margin-top: 10px; font: 9px var(--font-mono); }
.thumb-label { position: absolute; bottom: 25px; left: 30px; color: #8dafbd; font: 9px var(--font-mono); }
.project-panel-body { padding: clamp(26px,4.5vw,65px); display: flex; flex-direction: column; }
.project-meta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; font: 10px var(--font-mono); color: var(--muted); }
.project-panel-body h3 { margin: 50px 0 15px; font-size: clamp(35px,4vw,57px); letter-spacing: -.065em; font-weight: 500; line-height: 1.05; }
.project-panel-body > p { line-height: 1.75; font-size: 15px; color: var(--muted); }
.project-panel-body .text-arrow { margin-top: auto; display: block; color: var(--cyan); padding-top: 35px; font: 10px var(--font-mono); }
.no-projects { padding: 60px; border: var(--stroke); grid-column: 1 / -1; }
.no-projects span { color: var(--cyan); font: 11px var(--font-mono); }
.no-projects p { margin: 20px 0 0; color: var(--muted); }
.repo-module { border: var(--stroke); padding: clamp(28px,4vw,60px); }
.repo-top { display: flex; justify-content: space-between; align-items: end; gap: 45px; }
.repo-form { min-width: 260px; max-width: 440px; }
.repo-form label { display: block; color: var(--muted); font: 10px var(--font-mono); margin-bottom: 15px; }
.repo-form > div { display: flex; border: var(--stroke); }
.repo-form input { min-width: 0; flex: 1; padding: 15px; color: var(--ink); border: 0; background: var(--panel); }
.repo-form button { border: 0; background: var(--cyan); color: #07131e; font: 10px var(--font-mono); font-weight: 700; padding: 14px; }
.repo-status { margin-top: 40px; border-block: var(--stroke); padding-block: 25px; color: var(--muted); line-height: 1.5; font-size: 13px; }
.repo-tools { margin-top: 22px; }
.repo-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.repo-card { border: var(--stroke); padding: 30px; min-height: 205px; display: flex; flex-direction: column; transition: border-color .2s; }
.repo-card:hover { border-color: var(--cyan); }
.repo-card h3 { margin: 18px 0 8px; font-size: 23px; font-weight: 500; letter-spacing: -.035em; overflow-wrap: anywhere; }
.repo-card p { color: var(--muted); line-height: 1.5; font-size: 12px; }
.repo-card > div { display: flex; flex-wrap: wrap; gap: 17px; margin-top: auto; font: 9px var(--font-mono); color: var(--cyan); }
/* Skills evidence and graph */
.skill-map-layout { display: grid; grid-template-columns: 1fr 1fr; border: var(--stroke); }
.skill-orbit-panel { border-right: var(--stroke); padding: 32px; background: radial-gradient(circle at center,#83dce00b,transparent 69%); }
.skill-orbit-panel > p { color: var(--muted); font-size: 12px; line-height: 1.65; margin: 20px auto 0; max-width: 430px; }
.skill-orbit { max-width: 620px; margin: 0 auto; aspect-ratio: 1; position: relative; background: radial-gradient(circle,#83dce013,transparent 44%); }
.skill-orbit:before { content: ''; position: absolute; inset: 11%; border: 1px dashed #83dce04a; border-radius: 50%; }
.skill-orbit:after { content: ''; position: absolute; inset: 28%; border: 1px solid #83dce025; border-radius: 50%; }
.skill-core { position: absolute; z-index: 1; left: 42%; top: 42%; width: 16%; height: 16%; border: 1px solid var(--cyan); background: var(--panel); display: grid; place-items: center; color: var(--cyan); font: 50px Georgia,serif; }
.skill-core span { position: absolute; top: calc(100% + 9px); font: 8px var(--font-mono); white-space: nowrap; }
.skill-node { position: absolute; z-index: 2; width: 120px; min-height: 65px; border: var(--stroke); background: var(--bg2); color: var(--ink); display: flex; align-items: center; flex-direction: column; gap: 7px; padding: 10px; transition: transform .2s, border-color .2s; }
.skill-node span { color: var(--cyan); font-size: 20px; }
.skill-node small { font: 8px/1.3 var(--font-mono); }
.skill-node:hover,.skill-node.active { border-color: var(--cyan); transform: scale(1.06); }
.skill-node.n0 { left: 39%; top: 4%; }.skill-node.n1 { right: 0%; top: 26%; }.skill-node.n2 { right: 5%; bottom: 16%; }.skill-node.n3 { left: 40%; bottom: 0; }.skill-node.n4 { left: 2%; bottom: 20%; }.skill-node.n5 { left: 0%; top: 28%; }.skill-node.n6 { right: 18%; top: 58%; }
.skill-evidence-panel { padding: clamp(25px,3.5vw,50px); }
.skill-evidence-panel > h2 { font-size: clamp(30px,3.6vw,54px); font-weight: 520; letter-spacing: -.06em; margin: 25px 0 32px; }
.evidence-list { max-height: 630px; overflow-y: auto; padding-right: 8px; }
.evidence-item { border-top: var(--stroke-subtle); padding: 20px 0; }
.evidence-item.highlighted { border-color: var(--cyan); background: #83dce00a; }
.evidence-item > div:first-child { display: flex; align-items: center; gap: 10px; justify-content: space-between; }
.evidence-item h3 { margin: 0; font-size: 18px; font-weight: 550; letter-spacing: -.02em; }
.evidence-item span { font: 9px var(--font-mono); color: var(--cyan); text-align: right; }
.evidence-item p { margin: 13px 0; font-size: 13px; line-height: 1.6; color: var(--muted); }
.evidence-item a { display: inline-block; margin-right: 16px; color: var(--cyan); font: 9px var(--font-mono); }
.evidence-key { border: var(--stroke); display: grid; grid-template-columns: repeat(4,1fr); }
.evidence-key > div { padding: 30px; border-right: var(--stroke-subtle); }.evidence-key > div:last-child { border: 0; }
.evidence-mark { color: var(--cyan); font: 10px var(--font-mono); }
.evidence-key h3 { font-size: 22px; font-weight: 500; letter-spacing: -.04em; margin: 32px 0 18px; }
.evidence-key p { font-size: 13px; color: var(--muted); line-height: 1.7; }
/* CV */
.print-career { display: none; }
.cv-intro { border: var(--stroke); display: grid; grid-template-columns: 1.4fr .6fr; }
.cv-intro > div { padding: clamp(35px,4vw,62px); }
.cv-intro > div:first-child { border-right: var(--stroke); }
.cv-intro h2 { font-size: clamp(35px,4.5vw,68px); font-weight: 550; letter-spacing: -.065em; margin: 0 0 18px; }
.cv-role { color: var(--cyan); font: 11px var(--font-mono); letter-spacing: .12em; }
.cv-intro p { font-size: 16px; color: var(--muted); line-height: 1.8; max-width: 720px; margin: 32px 0; }
.cv-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cv-cta-box { display: flex; gap: 12px; align-items: start; flex-direction: column; justify-content: center; }
.cv-cta-box .micro-label { margin-bottom: 15px; }
.cv-cta-box p { margin: 12px 0 0; font-size: 12px; }
.career-layout { display: grid; grid-template-columns: .75fr 1.25fr; border: var(--stroke); min-height: 590px; }
.career-rail { border-right: var(--stroke); }
.career-choice { background: transparent; border: 0; border-bottom: var(--stroke-subtle); text-align: left; width: 100%; display: flex; flex-direction: column; padding: 23px 30px; gap: 9px; }
.career-choice:last-child { border: 0; }
.career-choice span { color: var(--muted); font: 9px var(--font-mono); }
.career-choice span i { display: inline-block; height: 1px; width: 22px; background: var(--line-strong); vertical-align: middle; }
.career-choice strong { font-size: 18px; font-weight: 550; }
.career-choice small { color: var(--muted); font: 11px var(--font-mono); }
.career-choice:hover,.career-choice.active { background: var(--panel); box-shadow: inset 3px 0 var(--cyan); }
.career-choice.active strong { color: var(--cyan); }
.career-detail { padding: clamp(35px,5vw,70px); }
.career-detail h2 { font-size: clamp(36px,4vw,66px); line-height: 1.04; letter-spacing: -.06em; font-weight: 500; margin: 35px 0 8px; }
.career-detail h3 { color: var(--cyan); font-size: 21px; font-weight: 450; }
.career-detail p { font-size: 15px; line-height: 1.75; color: var(--muted); max-width: 600px; }
.career-detail ul { margin: 30px 0; padding: 0; list-style: none; max-width: 660px; }
.career-detail li { border-bottom: var(--stroke-subtle); padding: 14px 0 14px 24px; color: var(--muted); line-height: 1.55; position: relative; }
.career-detail li:before { content: '↗'; position: absolute; left: 0; color: var(--cyan); }
.education-rows { border-top: var(--stroke); }
.education-rows article { display: grid; grid-template-columns: 100px 1fr auto; gap: 35px; align-items: center; padding: 30px 10px; border-bottom: var(--stroke); }
.education-rows article > span { color: var(--cyan); font: 11px var(--font-mono); }
.education-rows h3 { font-size: 23px; font-weight: 500; margin: 0 0 9px; }
.education-rows p { font-size: 13px; color: var(--muted); margin: 0; }
.education-rows article > div:last-child { color: var(--muted); font: 10px/1.8 var(--font-mono); text-align: right; }
/* About */
.about-editorial { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding-block: 30px 70px; }
.about-editorial h2 { font-size: clamp(46px,5.7vw,96px); letter-spacing: -.073em; line-height: 1.1; font-weight: 510; }
.about-asterisk { color: var(--cyan); font-size: 120px; }
.about-editorial > div:last-child { padding-top: 35px; }
.about-editorial p { color: var(--muted); font-size: 18px; line-height: 1.85; }
.about-editorial .action-link { margin-top: 35px; }
.experience-summary { display: grid; grid-template-columns: repeat(2,1fr); border-top: var(--stroke); }
.experience-summary article { border-bottom: var(--stroke); padding: 38px; }
.experience-summary article:nth-child(odd) { border-right: var(--stroke); }
.experience-summary h3 { margin: 27px 0 7px; font-size: 29px; font-weight: 500; letter-spacing: -.04em; }
.experience-summary strong { color: var(--cyan); font-weight: 450; }
.experience-summary p { color: var(--muted); margin: 22px 0 0; line-height: 1.7; }
/* Contact */
.contact-editorial { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-block: 20px; }
.contact-editorial h2 { font-size: clamp(48px,5.3vw,85px); line-height: 1.08; font-weight: 500; letter-spacing: -.065em; margin: 30px 0; }
.contact-editorial p { color: var(--muted); font-size: 17px; line-height: 1.8; }
.contact-options { border-top: var(--stroke); }
.contact-options > a { display: grid; grid-template-columns: 1fr auto; gap: 14px; padding: 33px 20px; border-bottom: var(--stroke); transition: background .2s; }
.contact-options > a:hover { background: var(--panel); }
.contact-options a > span { color: var(--cyan); font: 10px var(--font-mono); grid-column: 1 / -1; }
.contact-options a strong { font-size: 25px; font-weight: 500; }
.contact-options a small { color: var(--cyan); }
.contact-unconfigured { padding: 35px 20px; border-bottom: var(--stroke); }
.contact-unconfigured h3 { font-size: 25px; font-weight: 500; margin: 20px 0; }
.contact-unconfigured code { font-size: 12px; color: var(--cyan); }
/* Adaptations, reduced motion, printing */
@media (max-width: 1180px) {
  .page-header-trail { display: none; }
  .page-hero-index { min-width: 95px; font-size: 100px; }
  .page-nav-body { grid-template-columns: .75fr 1.5fr; gap: 30px; }
  .nav-preview { display: none; }
  .academic-overview { grid-template-columns: .8fr 1.2fr; }.academic-overview .year-rail { grid-column: 1/-1; display: flex; border-top: var(--stroke); border-left: 0; }
  .year-rail button { flex: 1; border-right: var(--stroke); }
  .module-card { grid-template-columns: 77px 1fr 20px; }.module-card small { display: none; }
  .method-grid, .evidence-key { grid-template-columns: 1fr 1fr; }.method-grid article:nth-child(2),.evidence-key > div:nth-child(2) { border-right: 0; }
  .method-grid article:nth-child(-n+2),.evidence-key > div:nth-child(-n+2) { border-bottom: var(--stroke); }
  .skill-node { width: 105px; }
  .page-footer { grid-template-columns: 1fr 1fr; }.page-footer small { grid-column: 1/-1; }
}
@media (max-width: 820px) {
  .shell { width: calc(100% - 42px); }
  .inner-page main { padding-top: 72px; }
  .page-header { height: 72px; padding-inline: 22px; }
  .page-hero { padding-top: 65px; min-height: 490px; }
  .page-hero-layout { padding-block: 80px 40px; grid-template-columns: 1fr; }
  .page-hero-index { display: none; }
  .page-title { font-size: clamp(55px,10vw,90px); }
  .section-heading-new { margin: 70px 0 26px; }
  .feature-split, .simulator, .pipeline-layout, .concept-lab, .skill-map-layout, .cv-intro, .career-layout, .about-editorial, .contact-editorial { grid-template-columns: 1fr; }
  .feature-illustration { min-height: 400px; border-right: 0; border-bottom: var(--stroke); }
  .feature-narrative { padding: 45px; }
  .pipeline-stack,.sim-controls,.concept-lab > div:first-child,.skill-orbit-panel,.cv-intro > div:first-child,.career-rail { border-right: 0; border-bottom: var(--stroke); }
  .pipeline-active { min-height: 350px; }
  .academic-overview { grid-template-columns: 1fr 1fr; }
  .academic-overview > * { padding: 25px; }
  .module-layout { grid-template-columns: 1fr; }.module-list { border-right: 0; border-bottom: var(--stroke); }
  .module-detail { min-height: 350px; }
  .archive-grid { grid-template-columns: 1fr; }
  .project-panel-link { grid-template-columns: 1fr; }.project-thumbnail { min-height: 350px; border-right: 0; border-bottom: var(--stroke); }
  .repo-top { flex-direction: column; align-items: stretch; }.repo-form { max-width: none; }
  .skill-orbit { max-width: 500px; }.evidence-list { max-height: none; }
  .career-rail { display: grid; grid-template-columns: 1fr 1fr; }.career-choice { border-right: var(--stroke); }
  .about-editorial { gap: 8px; }
  .contact-editorial { gap: 40px; }
  .page-nav-body { grid-template-columns: 1fr; padding: 30px; }.orbital-mark { display: none; }
}
@media (max-width: 580px) {
  .shell { width: calc(100% - 36px); }
  .inner-page main { padding-bottom: 100px; }
  .page-hero { min-height: 405px; padding-top: 48px; }
  .page-hero-layout { padding-block: 65px 40px; }
  .page-title { font-size: clamp(49px,13vw,74px); letter-spacing: -.075em; }
  .page-intro { margin-top: 24px; font-size: 15px; }
  .hero-location,.hero-rule span:last-child { display: none; }
  .section-heading-new { gap: 12px; font-size: 8px; }
  .section-heading-new span:nth-child(2) { white-space: normal; }
  .section-heading-new i { display: none; }
  .three-facts,.method-grid,.evidence-key,.academic-overview,.repo-grid,.experience-summary { grid-template-columns: 1fr; }
  .three-facts article,.method-grid article,.evidence-key > div,.experience-summary article:nth-child(odd) { border-right: 0; border-bottom: var(--stroke-subtle); }
  .academic-overview .metric-big { border-right: 0; border-bottom: var(--stroke); }
  .academic-overview .year-rail { flex-direction: column; }.year-rail button { border-bottom: var(--stroke); border-right: 0; }
  .module-controls,.archive-controls { align-items: stretch; }.seg-tabs { flex-wrap: wrap; }.seg-tabs button { flex: 1; padding: 12px; }
  .module-card { grid-template-columns: 1fr 20px; gap: 9px; }.module-card > span { grid-column: 1/-1; }
  .module-card strong { font-size: 15px; }.module-card b { grid-row: 2; grid-column: 2; }
  .concept-lab > div { padding: 25px; }
  .sort-demo { min-height: 260px; }
  .sim-controls, .sim-visual { padding: 25px; }
  .sim-bar-row { grid-template-columns: 65px 1fr 52px; gap: 9px; }.sim-bar-row span, .sim-bar-row strong { font-size: 8px; }.sim-axis { padding-left: 74px; }
  .research-question { padding-left: 20px; }.research-question h2 { font-size: 26px; }
  .ethics-note { flex-direction: column; gap: 16px; }.ethics-note span { flex: initial; }
  .project-panel-body h3 { margin-top: 35px; }.project-thumbnail { min-height: 290px; }
  .skill-orbit { max-width: 360px; }.skill-node { width: 90px; min-height: 55px; padding: 6px; }.skill-node small { font-size: 7px; }.skill-core { font-size: 30px; }.skill-node.n6 { top: 60%; right: 12%; }
  .career-rail { grid-template-columns: 1fr; }.career-choice { border-right: 0; }
  .education-rows article { grid-template-columns: 40px 1fr; gap: 15px; }.education-rows article > div:last-child { grid-column: 2; text-align: left; }
  .cv-intro > div { padding: 26px; }.cv-cta-box .action-link { overflow-wrap: anywhere; }
  .contact-editorial h2,.about-editorial h2 { font-size: 47px; }
  .end-link-strip { flex-direction: column; align-items: start; }
  .page-footer { grid-template-columns: 1fr; padding-bottom: 125px; }.page-footer small { grid-column: auto; }
  .quick-dock { bottom: max(10px,env(safe-area-inset-bottom)); width: min(90%,420px); justify-content: space-around; border-radius: 14px; padding: 5px; }
  .quick-dock a,.quick-dock button { min-width: 0; flex: 1; min-height: 52px; font-size: 19px; }
  .quick-dock span { font-size: 7px; }
  .page-overlay { padding: 0; }.page-nav-dialog { max-height: 100dvh; height: 100dvh; width: 100%; border: 0; display: flex; flex-direction: column; }
  .page-overlay-top { padding: 18px; }.page-overlay-bottom { padding: 18px; }.page-overlay-top .soft { display: none; }
  .page-nav-body { padding: 23px; flex: 1; min-height: 0; overflow-y: auto; align-items: start; }
  .nav-destinations h2 { font-size: 48px; margin: 16px 0; }.nav-destination-list { grid-template-columns: 1fr; }
  .nav-destination { min-height: 49px; }
  .palette-dialog { height: 100dvh; max-height: 100dvh; border: 0; }.palette-top { padding: 12px; }.palette-top input { font-size: 15px; }
  .palette-item strong { font-size: 13px; }.palette-item small { display: none; }
  .palette-bottom span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .inner-page { background: #fff !important; color: #13212b !important; }
  .inner-page main { padding: 0 !important; }
  .inner-page .shell { width: 100%; }
  .inner-page .page-header,.inner-page .page-footer,.inner-page .quick-dock,.inner-page #app-overlays,.inner-page .noise,.inner-page .page-hero,.inner-page .end-link-strip,.inner-page .cv-cta-box { display: none !important; }
  .inner-page .section-heading-new { margin: 16px 0; border-bottom: 1px solid #999; }
  .inner-page .cv-intro,.inner-page .career-layout,.inner-page .education-rows { border-color: #aaa; }
  .inner-page .career-layout { display: block; }
  .inner-page .career-rail,.inner-page .career-detail { display: none !important; }
  .inner-page .print-career { display: block !important; }
  .inner-page .print-career h2 { font-size: 14pt; margin: 18px 0 8px; }
  .inner-page .print-career article { break-inside: avoid; margin: 12px 0; }
  .inner-page .print-career h3 { font-size: 11pt; margin: 0 0 3px; }
  .inner-page .print-career li { font-size: 9pt; line-height: 1.4; }
  .inner-page .cv-intro { display: block; }.inner-page .cv-intro > div { padding: 12px; border: 0; }
  .inner-page .education-rows article { break-inside: avoid; }
}
