
/* Visual system adapted from the supplied Maximinfo portfolio reference */
:root{--ink:#e8f1f7;--muted:#91a8ba;--paper:#07111b;--green:#00ffcc;--deep:#03060a;--line:rgba(125,203,255,.16);--cyan:#00ffcc;--blue:#099cff;--panel:rgba(8,17,28,.88);--panel-strong:rgba(11,24,38,.97);--ui-radius:18px;--ui-shadow:0 18px 48px rgba(0,0,0,.34)}
body,body.home-page{color:var(--ink)!important;background:linear-gradient(180deg,rgba(3,6,10,.94),rgba(3,6,10,.97)),url("assets/images/backgrounds/portfolio-tech-lightning.webp") center/cover fixed,#03060a!important}
.topbar{position:sticky!important;top:0;z-index:30;height:72px;background:rgba(4,10,17,.88)!important;border-bottom:1px solid var(--line)!important;backdrop-filter:blur(18px);box-shadow:0 8px 30px #0004}
.brand{color:#f1f8ff!important}.brand-mark{background:linear-gradient(135deg,var(--cyan),var(--blue))!important;color:#031018!important;box-shadow:0 0 24px #00ffcc44}
.topbar nav a,.menu-cta,.text-link{color:#9db2c2!important}.topbar nav a.active,.topbar nav a:hover{color:#eaffff!important}.topbar nav a.active{padding:9px 12px;border:1px solid #00ffcc45;border-radius:999px;background:#00ffcc0e}
.menu-cta{border:1px solid var(--line)!important;border-radius:10px!important;background:#091522!important;color:#dffaff!important}.menu-cta:hover{border-color:#00ffcc80!important}
.hero,.hub-hero,.engineering-hero,.cs-hero,.bio-detail-hero{color:var(--ink)!important;background-color:transparent!important;background-image:linear-gradient(90deg,rgba(3,8,14,.96),rgba(3,8,14,.76) 49%,rgba(3,8,14,.5))!important}
.hub-hero{background-image:linear-gradient(90deg,rgba(3,8,14,.88),rgba(3,8,14,.5)),url("assets/images/backgrounds/portfolio-tech-lightning.webp")!important;background-position:center,center 44%!important;background-size:cover!important}
.hero{background-image:linear-gradient(90deg,rgba(3,8,14,.94),rgba(3,8,14,.7) 49%,rgba(3,8,14,.62)),url("assets/images/projects/biology-pdb-dna-cover.png")!important;background-position:center,right center!important;background-size:cover!important}
.hero:after,.hub-hero:after,.engineering-hero:after,.cs-hero:after,.bio-detail-hero:after{border-color:#39c9ff22!important}
.eyebrow,.eyebrow.dark{color:#70f0d4!important}.eyebrow>span,.eyebrow.dark>span{background:var(--cyan)!important;box-shadow:0 0 12px #00ffcc9c!important}
h1,h2,h3,.hero h1,.hub-copy h1,.bio-detail-copy h1{color:#f1f8ff!important}h1 em,h2 em,.hub-copy h1 em,.bio-detail-copy h1 em{color:#77e9ff!important}
.intro,.section-head>p,.subject-heading>p,.biology-reading-head>p,.bio-detail-copy .intro{color:#9bb0bf!important}
.primary{border:1px solid #38e4dd66!important;border-radius:10px!important;background:linear-gradient(135deg,#00cdb4,#078ee8)!important;color:#031018!important;font-weight:700;box-shadow:0 8px 28px #00cdb42c}.primary:hover{filter:brightness(1.12);transform:translateY(-1px)}
.text-link,.topic-back{color:#86eaff!important}.sequence small,.sequence b,.sequence i{color:#8da8b7!important}.sequence .current small,.sequence .current b{color:#74f1da!important}.sequence i{background:#2b5064!important}
.hero-bottom,.hub-bottom{border-color:var(--line)!important;color:#7993a5!important}.hero-bottom b,.hub-bottom b{color:var(--cyan)!important}
.hero-visual:before,.hero-visual:after,.visual-orbit,.hub-ring{border-color:#43c7ff33!important}.model-glow{background:#00b8ff!important;opacity:.2!important;filter:blur(84px)!important}.model-label{background:#071421d9!important;border-color:#5ac9ff38!important;color:#e9fbff!important;box-shadow:var(--ui-shadow);backdrop-filter:blur(15px)}.model-label small,.visual-index{color:#8ca8b9!important}.pulse{background:var(--cyan)!important;box-shadow:0 0 0 4px #00ffcc22,0 0 15px #00ffcc88!important}
.process,.subject-section,.engineering-topics,.biology-reading,.book-notes{background:linear-gradient(180deg,rgba(5,12,20,.97),rgba(3,7,12,.98))!important;color:var(--ink)!important;border-top:1px solid var(--line)}
.section-head,.subject-heading,.biology-reading-head{color:var(--ink)!important}.steps,.concept-grid,.book-note-grid{border-color:var(--line)!important}.steps article+article,.concept-grid article+article,.book-note-grid article+article{border-color:var(--line)!important}
.steps h3,.concept-grid h3,.book-note-grid h3,.subject-card h3,.bio-topic h3,.bio-sources h3,.bio-detail-source h3{color:#eff8ff!important}.steps p,.concept-grid p,.bio-topic p,.bio-sources a,.bio-detail-source p,.book-note-grid p{color:#94aabd!important}
.step-icon{background:#0b2634!important;color:#6eeada!important;border:1px solid #37c9ff39}.steps article>small,.concept-grid article>span{color:#76dce8!important}
.note,.hub-note,.bio-editorial{background:linear-gradient(120deg,#0a1b27,#07111b)!important;border:1px solid var(--line)!important;border-radius:12px;color:#9db4c3!important}.note b,.hub-note b,.bio-editorial b{color:#ecf8ff!important}.note a,.hub-note-end{color:#6debd9!important}
.subject-card,.bio-topic,.topic-link,.book-page-card{background:var(--panel)!important;border:1px solid var(--line)!important;border-radius:var(--ui-radius)!important;color:var(--ink)!important;box-shadow:var(--ui-shadow)!important;transition:transform .2s,border-color .2s,background .2s}.subject-card:hover,.topic-link:hover,.bio-topic:hover{transform:translateY(-4px);border-color:#00ffcc65!important;background:var(--panel-strong)!important}
.subject-card p,.topic-copy>span{color:#98adbc!important}.card-meta,.card-footer,.topic-number,.topic-copy small{color:#82a0b2!important}.card-footer{border-color:var(--line)!important}.card-footer span:last-child,.topic-arrow{color:#74f1da!important}
.subject-illustration,.bio-illustration,.engineering-illustration,.computer-illustration{background-color:#081724!important;border:1px solid #39c9ff20}.bio-illustration{background-image:linear-gradient(#06101a80,#06101a80),url("assets/images/projects/biology-pdb-dna-cover.png")!important;background-position:center!important;background-size:cover!important}.eng-grid,.eng-feature-grid{opacity:.65}.eng-feature-art,.cs-feature-art{background-color:#07111b!important;border:1px solid var(--line)!important;border-radius:var(--ui-radius);box-shadow:inset 0 0 70px #099cff10,0 18px 48px #0004}.eng-shape,.beam{border-color:#47cfff!important}.beam{background:#0b2738!important;box-shadow:0 0 22px #099cff22}.beam-d{background:#12334a!important}.beam-node{background:#00ffcc!important;box-shadow:0 0 0 2px #031018,0 0 14px #00ffccaa!important}.force-arrow{color:#00ffcc!important;text-shadow:0 0 18px #00ffcc70}.structure-label,.cs-art-label{color:#79d9e8!important}.cs-brain{background:#0a2636!important;border-color:#4ecdf5!important;color:#7af5e2!important;box-shadow:inset -13px -10px 0 #0d3444,0 0 45px #099cff26}.cs-art-orbit{border-color:#61d8f45c!important}.cs-node{background:#00ffcc!important;box-shadow:0 0 0 5px #00ffcc18,0 0 16px #00ffcc66!important}
.bio-topic-meta,.bio-topic-meta>span:first-child,.evidence-tag{color:#9ab4c4!important}.evidence-tag.established{background:#00ffcc18!important;color:#83f5dd!important}.evidence-tag.hypothesis{background:#d0b74220!important;color:#f0d98b!important}.evidence-tag.context{background:#36b9ef1e!important;color:#94ddf7!important}.evidence-tag.proposal{background:#f09b7220!important;color:#ffc1a2!important}.bio-topic>a,.bio-card-link,.bio-detail-source a{color:#74e9e6!important}.bio-editorial{border-left:2px solid var(--cyan)!important}.editorial-mark{background:#063b43!important;color:#76f3df!important}.bio-sources,.bio-detail-source,.detail-pager{border-color:var(--line)!important}.bio-topic-foot{color:#e8b99e!important}
.bio-detail-hero,.book-hero{background-color:transparent!important;background-image:linear-gradient(110deg,rgba(3,8,14,.94),rgba(3,8,14,.75)),url("assets/images/backgrounds/portfolio-tech-lightning.webp")!important;background-position:center!important;background-size:cover!important}.book-source-chip{border-color:#50d6e555!important;color:#83d9ea!important}.detail-art-ring{border-color:#4bcffb3d!important}.detail-art-core{background:linear-gradient(145deg,#0a2838,#06111c)!important;border:1px solid #43cdf55c;box-shadow:0 0 48px #099cff29!important}.detail-art-core span{color:#00ffcc!important}.detail-art-tag{color:#77e0e8!important}
.book-reference{background:#081722!important;border-color:var(--line)!important;color:#e8f4fa!important}.book-reference>div,.book-reference p{color:#a5bac8!important}.book-reference b{color:#eff8ff!important}.book-reference small{color:#7c95a5!important}.ref-icon{background:#00ffcc18!important;color:#72f1dc!important}.book-card-head{color:#8ca6b7!important}.book-card-head b{color:#e8f6fc!important}.book-page-card{overflow:hidden}.book-preview{background:#0a1925!important;border-color:var(--line)!important}.book-withheld{background:#091a27!important;color:#9ab0bf!important}.book-withheld strong{color:#f0c29e!important}.page-note-wrap label,.note-saved{color:#90aab9!important}.page-note-wrap textarea,.book-tools input[type=search]{background:#06111b!important;border-color:#31546a!important;color:#e8f6fc!important}.book-tools button,.import-button{background:#0b1c29!important;color:#dff7ff!important;border-color:#31546a!important}.book-tools button:hover,.import-button:hover{background:#0e3040!important;border-color:#00ffcc80!important}.book-status,.book-empty{color:#90a9b7!important}.book-footer-note{background:#081722!important;border-top:1px solid var(--line)!important;color:#96adbd!important}.book-footer-note b{color:#f0f8ff!important}.book-footer-note a{color:#70e8df!important}
footer{background:#030a11!important;border-top:1px solid var(--line)!important;color:#88a0b0!important}footer .brand{color:#eaf5fb!important}footer>span{color:#7f97a6!important}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--cyan)!important;outline-offset:3px!important}
@media(max-width:620px){.topbar{height:66px}.topbar nav{background:#06111bed!important;border-bottom:1px solid var(--line)!important;box-shadow:0 16px 35px #0008}.mobile-menu{color:#8defff!important}.hero,.hub-hero,.engineering-hero,.cs-hero,.bio-detail-hero{background-image:linear-gradient(180deg,rgba(3,8,14,.94),rgba(3,8,14,.74))!important}.subject-card,.bio-topic{box-shadow:0 12px 35px #0004!important}.book-mosaic{background:#050c13!important}}
