:root {
  color-scheme: dark;
  --bg: #05070b;
  --bg-2: #080b12;
  --panel: rgba(12, 17, 27, .78);
  --panel-solid: #0c111b;
  --line: rgba(142, 164, 196, .18);
  --line-strong: rgba(142, 164, 196, .34);
  --text: #edf5ff;
  --muted: #8694a8;
  --muted-2: #566477;
  --cyan: #55f5d1;
  --blue: #59a9ff;
  --violet: #8b6cff;
  --pink: #ff54c8;
  --danger: #ff647c;
  --ok: #55f5a0;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --max: 1480px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; color: var(--text); background: var(--bg); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body::selection { color: #02110d; background: var(--cyan); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
img, svg { display: block; max-width: 100%; }
.skip-link { position: fixed; z-index: 999; top: 12px; left: 12px; padding: 10px 14px; color: #00110d; background: var(--cyan); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.noise-layer { position: fixed; z-index: -1; inset: 0; pointer-events: none; opacity: .16; background-image: radial-gradient(circle at 17% 29%, rgba(255,255,255,.11) 0 1px, transparent 1.5px), radial-gradient(circle at 79% 61%, rgba(255,255,255,.08) 0 1px, transparent 1.5px); background-size: 37px 41px, 53px 47px; }
.signal-canvas { position: fixed; z-index: -2; inset: 0; width: 100%; height: 100%; opacity: .55; pointer-events: none; }

.tech-nav { position: fixed; z-index: 100; top: 0; left: 0; width: 100%; height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 clamp(20px, 4vw, 76px); border-bottom: 1px solid var(--line); background: rgba(5, 7, 11, .78); backdrop-filter: blur(22px) saturate(140%); }
.tech-nav::after { content: ""; position: absolute; bottom: -1px; left: 0; width: 21%; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); animation: nav-scan 9s linear infinite; }
@keyframes nav-scan { 0% { transform: translateX(-100%); } 100% { transform: translateX(570%); } }
.tech-brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; font: 700 12px/1 var(--mono); letter-spacing: .12em; }
.brand-glyph { position: relative; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(85,245,209,.6); color: var(--cyan); font-size: 14px; box-shadow: inset 0 0 18px rgba(85,245,209,.08), 0 0 20px rgba(85,245,209,.08); clip-path: polygon(0 0, 80% 0, 100% 20%, 100% 100%, 20% 100%, 0 80%); }
.brand-glyph::after { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(85,245,209,.18); }
.tech-brand > i { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); animation: blink 2.1s steps(1) infinite; }
.tech-nav nav { display: flex; height: 100%; align-items: stretch; gap: clamp(24px, 3.5vw, 60px); }
.tech-nav nav a { position: relative; display: grid; place-items: center; color: #9aa9bd; font: 600 11px/1 var(--mono); letter-spacing: .12em; transition: color .25s; }
.tech-nav nav a::before { content: ""; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); transition: width .25s, left .25s; }
.tech-nav nav a:hover, .tech-nav nav a[aria-current="page"] { color: var(--text); }
.tech-nav nav a:hover::before, .tech-nav nav a[aria-current="page"]::before { left: 0; width: 100%; }
.nav-actions { justify-self: end; display: flex; align-items: center; gap: 22px; }
.system-pill { display: inline-flex; align-items: center; gap: 8px; color: #6f7e92; font: 600 9px/1 var(--mono); letter-spacing: .13em; }
.system-pill i, .live-dot::before, .admin-side-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.nav-contact { padding: 11px 14px; border: 1px solid var(--line-strong); color: #d7e3f1; font: 600 10px/1 var(--mono); letter-spacing: .08em; transition: color .25s, border-color .25s, box-shadow .25s; }
.nav-contact:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 28px rgba(85,245,209,.1); }
.nav-toggle { display: none; justify-self: end; border: 0; background: transparent; padding: 10px; }
.nav-toggle span { display: block; width: 24px; height: 1px; margin: 6px 0; background: var(--text); }

.tech-hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .68fr); gap: clamp(40px, 7vw, 120px); align-items: center; padding: 150px clamp(24px, 7vw, 120px) 105px; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-grid { position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 80px 80px; mask-image: radial-gradient(circle at 45% 50%, #000 10%, transparent 76%); transform: perspective(700px) rotateX(60deg) scale(1.6) translateY(18%); transform-origin: bottom; }
.tech-hero::before { content: ""; position: absolute; width: 52vw; height: 52vw; top: -20vw; right: -12vw; border-radius: 50%; background: radial-gradient(circle, rgba(139,108,255,.18), rgba(89,169,255,.07) 34%, transparent 70%); filter: blur(10px); }
.tech-hero::after { content: ""; position: absolute; width: 34vw; height: 34vw; left: -18vw; bottom: -15vw; border-radius: 50%; background: rgba(85,245,209,.08); filter: blur(90px); }
.hero-orbit { position: absolute; border: 1px solid rgba(85,245,209,.13); border-radius: 50%; pointer-events: none; }
.hero-orbit::before { content: ""; position: absolute; top: 18%; left: 8%; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); }
.hero-orbit--one { width: 48vw; height: 48vw; right: -18vw; top: 4vw; animation: spin 34s linear infinite; }
.hero-orbit--two { width: 32vw; height: 32vw; right: -8vw; top: 12vw; border-color: rgba(139,108,255,.18); animation: spin 24s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-copy { position: relative; z-index: 2; max-width: 900px; }
.terminal-label { margin: 0 0 44px; color: #637286; font: 500 11px/1 var(--mono); letter-spacing: .04em; }
.terminal-label span { color: var(--cyan); }
.terminal-label i { color: var(--cyan); font-style: normal; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-eyebrow { margin: 0 0 20px; color: #8190a4; font: 600 10px/1 var(--mono); letter-spacing: .2em; }
.tech-hero h1 { display: flex; flex-wrap: wrap; gap: 0 .25em; max-width: 1040px; margin: 0; font-size: clamp(64px, 8vw, 142px); font-weight: 800; line-height: .82; letter-spacing: -.078em; }
.tech-hero h1 span { display: inline-block; color: var(--text); }
.tech-hero h1 span:nth-child(2), .tech-hero h1 span:nth-child(4) { color: transparent; -webkit-text-stroke: 1px rgba(237,245,255,.66); }
.tech-hero h1 span:nth-child(3) { color: var(--cyan); text-shadow: 0 0 50px rgba(85,245,209,.16); }
.hero-lead { max-width: 700px; margin: 36px 0 0; color: #98a8ba; font-size: clamp(16px, 1.5vw, 21px); line-height: 1.85; }
.hero-actions { display: flex; gap: 14px; margin-top: 40px; }
.neon-button, .ghost-button, .admin-primary { display: inline-flex; align-items: center; justify-content: space-between; gap: 34px; min-width: 168px; padding: 15px 17px; border: 1px solid var(--cyan); background: var(--cyan); color: #03120e; font: 700 11px/1 var(--mono); letter-spacing: .06em; cursor: pointer; box-shadow: 0 0 26px rgba(85,245,209,.12); transition: transform .25s, box-shadow .25s, background .25s; }
.neon-button:hover, .admin-primary:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(85,245,209,.24); }
.ghost-button { border-color: var(--line-strong); background: rgba(8,12,19,.45); color: #c8d4e2; box-shadow: none; }
.ghost-button:hover { border-color: var(--violet); color: #fff; box-shadow: 0 0 34px rgba(139,108,255,.14); }
.hero-console { position: relative; z-index: 3; align-self: center; min-height: 460px; border: 1px solid rgba(89,169,255,.22); background: linear-gradient(145deg, rgba(12,17,27,.9), rgba(5,7,11,.76)); box-shadow: 0 40px 100px rgba(0,0,0,.4), inset 0 0 70px rgba(89,169,255,.025); backdrop-filter: blur(12px); clip-path: polygon(0 0, calc(100% - 23px) 0, 100% 23px, 100% 100%, 23px 100%, 0 calc(100% - 23px)); }
.hero-console::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(transparent 50%, rgba(85,245,209,.025) 50%); background-size: 100% 4px; }
.hero-console > header { height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border-bottom: 1px solid var(--line); font: 600 9px/1 var(--mono); color: #637286; }
.hero-console > header div { display: flex; gap: 6px; }
.hero-console > header i { width: 7px; height: 7px; border-radius: 50%; background: #303b4b; }
.hero-console > header i:first-child { background: var(--pink); }
.hero-console > header i:nth-child(2) { background: #ffd166; }
.hero-console > header i:last-child { background: var(--ok); }
.hero-console > header b { color: var(--pink); font-weight: 600; }
.console-wave { height: 128px; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 20px; border-bottom: 1px solid var(--line); overflow: hidden; }
.console-wave span { width: 5px; height: 14px; background: var(--cyan); box-shadow: 0 0 14px rgba(85,245,209,.3); animation: wave 1.8s ease-in-out infinite; }
.console-wave span:nth-child(2) { animation-delay: -.2s; }.console-wave span:nth-child(3) { animation-delay: -.9s; }.console-wave span:nth-child(4) { animation-delay: -.4s; }.console-wave span:nth-child(5) { animation-delay: -1.2s; }.console-wave span:nth-child(6) { animation-delay: -.7s; }.console-wave span:nth-child(7) { animation-delay: -1.5s; }.console-wave span:nth-child(8) { animation-delay: -.3s; }.console-wave span:nth-child(9) { animation-delay: -1s; }
@keyframes wave { 50% { height: 78px; background: var(--violet); } }
.hero-console dl { margin: 0; padding: 20px; }
.hero-console dl div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid rgba(142,164,196,.1); font: 600 10px/1 var(--mono); }
.hero-console dt { color: #58677a; }.hero-console dd { margin: 0; color: #c7d5e6; }.ok { color: var(--ok) !important; }
.hero-console > p { margin: 0 20px 20px; padding: 14px; color: #6f7f93; background: rgba(3,8,12,.7); font: 500 10px/1.6 var(--mono); }
.hero-console > p span { color: var(--cyan); }.hero-console > p i { display: inline-block; width: 7px; height: 14px; margin-left: 4px; vertical-align: middle; background: var(--cyan); animation: blink 1s steps(1) infinite; }
.hero-foot { position: absolute; z-index: 2; left: clamp(24px, 7vw, 120px); right: clamp(24px, 7vw, 120px); bottom: 24px; display: flex; align-items: center; gap: 18px; color: #4c596b; font: 500 8px/1 var(--mono); letter-spacing: .16em; }
.hero-foot div { height: 1px; flex: 1; background: var(--line); }

.ticker { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--cyan); color: #03100d; }
.ticker > div { width: max-content; display: flex; align-items: center; gap: 34px; padding: 14px 0; animation: ticker 26s linear infinite; font: 800 11px/1 var(--mono); letter-spacing: .13em; }
.ticker i { font-style: normal; }
@keyframes ticker { to { transform: translateX(-42%); } }

.home-section { padding: clamp(90px, 10vw, 170px) clamp(24px, 7vw, 120px); border-bottom: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin: 0 auto 68px; max-width: var(--max); }
.section-heading > div > p, .project-intro > p, .about-copy > p { margin: 0 0 18px; color: #68788d; font: 600 10px/1 var(--mono); letter-spacing: .15em; }
.section-heading > div > p span, .project-intro > p span, .about-copy > p span { color: var(--cyan); }
.section-heading h2 { margin: 0; font-size: clamp(46px, 5vw, 86px); line-height: .94; letter-spacing: -.06em; }
.section-heading h2 span { display: block; color: transparent; -webkit-text-stroke: 1px rgba(237,245,255,.56); }
.section-heading > a { color: var(--cyan); font: 600 10px/1 var(--mono); letter-spacing: .09em; }
.section-heading > p { max-width: 460px; margin: 0; color: #7d8c9f; line-height: 1.8; }
.post-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.post-card { position: relative; min-height: 370px; grid-column: span 4; display: flex; flex-direction: column; padding: 27px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(13,18,28,.9), rgba(7,10,16,.7)); transition: transform .3s, border-color .3s, box-shadow .3s; }
.post-card:nth-child(4), .post-card:nth-child(5) { grid-column: span 6; min-height: 320px; }
.post-card::before { content: ""; position: absolute; width: 160px; height: 160px; right: -90px; top: -90px; border-radius: 50%; background: var(--violet); filter: blur(70px); opacity: 0; transition: opacity .3s; }
.post-card::after { content: "+"; position: absolute; right: 12px; top: 8px; color: var(--line-strong); font: 300 22px/1 var(--mono); }
.post-card:hover { transform: translateY(-7px); border-color: rgba(85,245,209,.48); box-shadow: 0 28px 70px rgba(0,0,0,.28), 0 0 35px rgba(85,245,209,.04); }
.post-card:hover::before { opacity: .16; }
.post-card-link { position: absolute; z-index: 3; inset: 0; }
.post-index { margin-bottom: 62px; color: #374457; font: 500 36px/1 var(--mono); }
.post-meta { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 22px; color: #647489; font: 600 9px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.post-meta span { color: var(--cyan); }
.post-card h3 { max-width: 480px; margin: 0 0 17px; font-size: clamp(21px, 1.8vw, 29px); line-height: 1.3; letter-spacing: -.025em; }
.post-card > p { margin: 0; color: #7d8b9d; font-size: 14px; line-height: 1.75; }
.post-card footer { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-top: auto; padding-top: 30px; color: #536174; font: 600 8px/1.6 var(--mono); }
.post-card footer div { display: flex; flex-wrap: wrap; gap: 8px; }.post-card footer b { color: #90a0b4; white-space: nowrap; }
.post-card--featured { grid-column: span 8; background: linear-gradient(135deg, rgba(19,29,42,.92), rgba(8,11,18,.8)); }
.post-card--featured .post-index { color: var(--cyan); text-shadow: 0 0 30px rgba(85,245,209,.2); }
.post-card--featured h3 { font-size: clamp(28px, 3vw, 48px); }

.disciplines-section { background: radial-gradient(circle at 75% 20%, rgba(139,108,255,.08), transparent 35%), var(--bg-2); }
.discipline-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.discipline-card { position: relative; min-height: 410px; display: flex; flex-direction: column; padding: 27px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; transition: background .3s; }
.discipline-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(85,245,209,.1), transparent 45%); opacity: 0; transition: opacity .3s; }
.discipline-card:hover::before { opacity: 1; }
.discipline-card > span { color: #455267; font: 500 10px/1 var(--mono); }
.discipline-icon { position: relative; z-index: 1; width: 92px; height: 92px; display: grid; place-items: center; margin: 58px 0 42px; border: 1px solid var(--line-strong); color: var(--cyan); font: 600 17px/1 var(--mono); clip-path: polygon(0 0, 72% 0, 100% 28%, 100% 100%, 28% 100%, 0 72%); box-shadow: inset 0 0 40px rgba(85,245,209,.05); }
.discipline-card:nth-child(2) .discipline-icon { color: var(--blue); }.discipline-card:nth-child(3) .discipline-icon { color: var(--violet); }.discipline-card:nth-child(4) .discipline-icon { color: var(--pink); }
.discipline-card h3 { position: relative; z-index: 1; margin: 0 0 15px; font: 600 23px/1 var(--mono); letter-spacing: -.04em; }
.discipline-card p { position: relative; z-index: 1; margin: 0; color: #77869a; font-size: 13px; line-height: 1.7; }
.discipline-card b { position: relative; z-index: 1; margin-top: auto; color: #637286; font: 600 8px/1 var(--mono); letter-spacing: .1em; }

.project-zone { display: grid; grid-template-columns: minmax(320px,.72fr) minmax(0,1.28fr); gap: clamp(60px, 9vw, 150px); padding: clamp(90px, 10vw, 170px) clamp(24px, 7vw, 120px); border-bottom: 1px solid var(--line); background: linear-gradient(120deg, rgba(4,6,10,.97), rgba(9,12,20,.85)), radial-gradient(circle at 20% 40%, rgba(85,245,209,.11), transparent 36%); }
.project-intro { align-self: start; position: sticky; top: 130px; }
.project-intro h2 { margin: 0 0 32px; font-size: clamp(50px, 6vw, 100px); line-height: .9; letter-spacing: -.07em; }
.project-intro h2 em { color: transparent; -webkit-text-stroke: 1px rgba(85,245,209,.65); font-style: normal; }
.project-intro > p:last-child { max-width: 440px; color: #7b8a9d; line-height: 1.85; }
.project-stack { display: grid; gap: 20px; }
.project-card { position: relative; min-height: 290px; padding: 30px; border: 1px solid var(--line); background: rgba(10,14,22,.72); overflow: hidden; }
.project-card::before { content: ""; position: absolute; right: -100px; top: -100px; width: 230px; height: 230px; border: 1px solid rgba(85,245,209,.12); border-radius: 50%; box-shadow: 0 0 0 34px rgba(85,245,209,.018), 0 0 0 68px rgba(85,245,209,.012); }
.project-card > header { display: flex; justify-content: space-between; color: #5a687b; font: 600 8px/1 var(--mono); letter-spacing: .14em; }
.project-card > header b { display: inline-flex; align-items: center; gap: 7px; color: var(--cyan); font-weight: 600; }.live-dot::before { content: ""; display: block; }
.project-card h3 { margin: 55px 0 12px; font: 700 clamp(25px, 2.5vw, 42px)/1 var(--mono); letter-spacing: -.05em; }
.project-card > p { max-width: 620px; margin: 0; color: #7d8b9f; line-height: 1.7; }
.project-terminal { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 12px; margin-top: 36px; color: #617084; font: 600 8px/1 var(--mono); }
.project-terminal i { grid-column: 1/-1; height: 3px; background: #171e2a; }
.project-terminal i::before { content: ""; display: block; width: 74%; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--blue)); box-shadow: 0 0 12px rgba(85,245,209,.2); }
.project-card:nth-child(2) .project-terminal i::before { width: 62%; background: linear-gradient(90deg, var(--violet), var(--pink)); }.project-card:nth-child(3) .project-terminal i::before { width: 99%; }
.project-card > footer { display: flex; gap: 9px; margin-top: 22px; }.project-card > footer span { padding: 6px 8px; border: 1px solid var(--line); color: #5e6c7e; font: 500 8px/1 var(--mono); }

.resource-preview { max-width: var(--max); margin: 0 auto; border-top: 1px solid var(--line); }
.resource-row { display: grid; grid-template-columns: 70px 1fr auto auto; gap: 28px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); transition: padding .25s, color .25s; }
.resource-row:hover { padding-left: 12px; color: var(--cyan); }
.file-type { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(85,245,209,.35); color: var(--cyan); background: rgba(85,245,209,.04); font: 700 9px/1 var(--mono); clip-path: polygon(0 0, 75% 0, 100% 25%, 100% 100%, 0 100%); }
.resource-row h3 { margin: 0 0 6px; font-size: 19px; }.resource-row p { margin: 0; color: #6e7c8f; font-size: 12px; }.resource-row small, .resource-row b { color: #59677a; font: 600 8px/1 var(--mono); letter-spacing: .08em; }
.archive-empty { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 320px 1fr; gap: 70px; align-items: center; padding: 55px; border: 1px solid var(--line); background: radial-gradient(circle at 12% 50%, rgba(85,245,209,.08), transparent 25%), rgba(9,13,20,.6); }
.archive-radar { position: relative; width: 220px; height: 220px; margin: auto; border: 1px solid rgba(85,245,209,.28); border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 27px, rgba(85,245,209,.08) 28px 29px); }
.archive-radar::before, .archive-radar::after { content: ""; position: absolute; background: rgba(85,245,209,.15); }.archive-radar::before { left: 50%; top: 0; width: 1px; height: 100%; }.archive-radar::after { top: 50%; left: 0; width: 100%; height: 1px; }
.archive-radar i:first-child { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(85,245,209,.2), transparent 20%); animation: spin 3s linear infinite; }.archive-radar i:nth-child(2), .archive-radar i:nth-child(3) { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }.archive-radar i:nth-child(2) { left: 28%; top: 31%; }.archive-radar i:nth-child(3) { right: 21%; bottom: 34%; }
.archive-empty > div:last-child > span { color: var(--cyan); font: 600 9px/1 var(--mono); letter-spacing: .12em; }.archive-empty h3 { margin: 16px 0 10px; font-size: clamp(30px,4vw,58px); letter-spacing: -.05em; }.archive-empty p { max-width: 620px; margin: 0 0 30px; color: #7b899c; line-height: 1.8; }

.home-about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(60px,9vw,150px); align-items: center; padding: clamp(90px, 10vw, 170px) clamp(24px, 7vw, 120px); border-bottom: 1px solid var(--line); background: #080b11; }
.about-code { border: 1px solid var(--line); background: #06090e; box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.about-code header { display: flex; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); color: #647286; font: 600 9px/1 var(--mono); }.about-code header b { color: var(--cyan); }
.about-code pre { margin: 0; padding: clamp(28px,4vw,58px); color: #90a0b5; font: 500 clamp(12px,1.2vw,16px)/2 var(--mono); }.about-code code { color: inherit; }.about-code code::first-line { color: var(--cyan); }
.about-copy h2 { max-width: 710px; margin: 0 0 30px; font-size: clamp(42px,5vw,80px); line-height: 1.04; letter-spacing: -.06em; }.about-copy > div { max-width: 660px; color: #8290a3; line-height: 1.9; }.about-copy > a { display: inline-block; margin-top: 32px; color: var(--cyan); font: 600 10px/1 var(--mono); }
.signal-cta { display: grid; justify-items: center; padding: clamp(100px,13vw,220px) 24px; text-align: center; background: radial-gradient(circle at 50% 50%, rgba(85,245,209,.09), transparent 42%), linear-gradient(rgba(5,7,11,.88),rgba(5,7,11,.95)), repeating-linear-gradient(90deg,var(--line) 0 1px,transparent 1px 100px); }
.signal-cta > p { margin: 0 0 30px; color: var(--cyan); font: 700 10px/1 var(--mono); letter-spacing: .2em; }.signal-cta h2 { margin: 0 0 40px; font-size: clamp(48px,7vw,108px); line-height: .95; letter-spacing: -.07em; }.signal-cta h2 span { color: transparent; -webkit-text-stroke: 1px rgba(237,245,255,.5); }
.tech-footer { display: grid; grid-template-columns: 1fr auto 1fr; gap: 50px; align-items: end; padding: 60px clamp(24px, 5vw, 84px); border-top: 1px solid var(--line); background: #040609; }
.tech-footer > div p { margin: 23px 0 0; color: #455266; font: 500 8px/1.5 var(--mono); letter-spacing: .1em; }.tech-footer nav { display: flex; gap: 32px; color: #718095; font: 600 9px/1 var(--mono); }.tech-footer nav a:hover { color: var(--cyan); }.footer-clock { justify-self: end; margin: 0; text-align: right; }.footer-clock span { display: block; color: var(--cyan); font: 500 25px/1 var(--mono); }.footer-clock small { color: #465366; font: 500 7px/1 var(--mono); letter-spacing: .14em; }

/* Archives and articles */
.subpage-shell, .article-shell, .about-page, .contact-shell { min-height: 100vh; padding-top: 76px; }
.archive-hero { position: relative; padding: clamp(90px,10vw,165px) clamp(24px,7vw,120px) 70px; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 85% 30%, rgba(139,108,255,.12), transparent 32%), linear-gradient(145deg,#070a10,#05070b); }
.archive-hero::after { content: ""; position: absolute; width: 360px; height: 360px; right: 8vw; top: 30px; border: 1px solid rgba(85,245,209,.12); border-radius: 50%; box-shadow: 0 0 0 55px rgba(85,245,209,.018),0 0 0 110px rgba(85,245,209,.01); }
.archive-hero > p { margin: 0 0 25px; color: #6e7e92; font: 600 10px/1 var(--mono); letter-spacing: .18em; }.archive-hero h1 { position: relative; z-index: 1; margin: 0; font-size: clamp(80px,12vw,190px); line-height: .8; letter-spacing: -.09em; }.archive-hero h1 span { color: transparent; -webkit-text-stroke: 1px rgba(85,245,209,.65); }
.archive-line { position: relative; z-index: 1; display: flex; align-items: center; margin-top: 55px; }.archive-line i { width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }.archive-line b { width: min(700px,80%); height: 1px; background: linear-gradient(90deg,var(--cyan),transparent); }
.archive-filter { display: grid; grid-template-columns: minmax(260px,1fr) minmax(210px,.34fr) auto; gap: 12px; max-width: var(--max); margin: 0 auto; padding: 38px clamp(24px,4vw,60px); border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(9,13,20,.74); }
.archive-filter label, .admin-tech-body label, .login-panel label, .contact-panel label { display: block; color: #6e7d91; font: 600 9px/1.4 var(--mono); letter-spacing: .1em; }
.archive-filter input, .archive-filter select, .admin-tech-body input, .admin-tech-body textarea, .admin-tech-body select, .login-panel input, .contact-panel input, .contact-panel textarea { width: 100%; margin-top: 9px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 0; outline: 0; background: #080c13; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.archive-filter input:focus, .archive-filter select:focus, .admin-tech-body input:focus, .admin-tech-body textarea:focus, .admin-tech-body select:focus, .login-panel input:focus, .contact-panel input:focus, .contact-panel textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(85,245,209,.06); }
.archive-filter button { align-self: end; height: 44px; padding: 0 22px; border: 1px solid var(--cyan); background: var(--cyan); color: #03110d; font: 700 9px/1 var(--mono); }
.article-list { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; padding: clamp(60px,7vw,110px) clamp(24px,4vw,60px); }.article-list .post-card, .article-list .post-card--featured { grid-column: auto; min-height: 390px; }.article-list .post-card:nth-child(4), .article-list .post-card:nth-child(5) { grid-column: auto; }
.empty-result { min-height: 60vh; display: grid; place-content: center; justify-items: center; padding: 100px 24px; text-align: center; }.empty-result > span { color: var(--cyan); font: 600 10px/1 var(--mono); letter-spacing: .15em; }.empty-result h1, .empty-result h2 { margin: 25px 0; font-size: clamp(38px,6vw,80px); letter-spacing: -.06em; }.empty-result p { color: var(--muted); }.empty-result a { color: var(--cyan); font: 600 10px/1 var(--mono); }
.article-hero { padding: clamp(95px,10vw,170px) max(24px,calc((100vw - 1180px)/2)) 75px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 80% 20%,rgba(89,169,255,.1),transparent 32%); }.article-hero > a { color: #67778b; font: 600 9px/1 var(--mono); }.article-meta { display: flex; flex-wrap: wrap; gap: 20px; margin: 60px 0 27px; color: #68788d; font: 600 9px/1 var(--mono); letter-spacing: .08em; }.article-meta span:first-child { color: var(--cyan); }.article-hero h1 { max-width: 1100px; margin: 0; font-size: clamp(52px,7vw,112px); line-height: 1.02; letter-spacing: -.07em; }.article-hero > p { max-width: 820px; margin: 34px 0 0; color: #8998aa; font-size: clamp(16px,1.5vw,20px); line-height: 1.8; }.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }.article-tags span { padding: 7px 9px; border: 1px solid var(--line); color: #667589; font: 500 8px/1 var(--mono); }
.article-layout { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 170px minmax(0,780px); gap: clamp(40px,7vw,110px); padding: 90px 24px 130px; }.article-rail { position: sticky; top: 120px; align-self: start; display: grid; gap: 10px; padding-left: 15px; border-left: 1px solid var(--line); color: #59687b; font: 600 8px/1.3 var(--mono); }.article-rail b { margin-bottom: 18px; color: #91a0b3; font-weight: 600; }.article-rail button { margin-top: 12px; padding: 10px; border: 1px solid var(--line); background: transparent; color: #7f8fa3; font: 600 8px/1 var(--mono); cursor: pointer; }
.article-body { color: #b1bdca; font-size: 17px; line-height: 1.95; }.article-body h2 { margin: 2.5em 0 .8em; color: var(--text); font-size: clamp(31px,3.5vw,48px); line-height: 1.2; letter-spacing: -.045em; }.article-body h3 { margin: 2em 0 .7em; color: #dce8f5; font-size: 25px; }.article-body p { margin: 0 0 1.45em; }.article-body strong { color: #fff; }.article-body p code, .article-body li code { padding: 2px 6px; color: var(--cyan); background: rgba(85,245,209,.07); font: .85em var(--mono); }.article-body pre { position: relative; margin: 38px 0; padding: 48px 24px 24px; overflow-x: auto; border: 1px solid var(--line); background: #05080d; color: #a9bed3; font: 13px/1.8 var(--mono); }.article-body pre::before { content: attr(data-language); position: absolute; top: 0; left: 0; right: 0; padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--cyan); font: 600 8px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }.article-body ul { margin: 0 0 2em; padding: 0; list-style: none; }.article-body li { position: relative; margin: .8em 0; padding-left: 24px; }.article-body li::before { content: "›"; position: absolute; left: 0; color: var(--cyan); font-family: var(--mono); }.article-body blockquote { margin: 36px 0; padding: 22px 26px; border-left: 2px solid var(--violet); background: rgba(139,108,255,.06); color: #9caabd; }
.article-end { display: grid; justify-items: center; padding: 90px 24px; border-top: 1px solid var(--line); text-align: center; }.article-end > span { color: var(--pink); font: 600 9px/1 var(--mono); }.article-end h2 { margin: 18px 0 30px; font-size: clamp(32px,4vw,56px); }

/* Resource library */
.resource-hero { background: radial-gradient(circle at 78% 30%,rgba(85,245,209,.12),transparent 32%),#06090e; }.vault-status { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; margin-top: 45px; color: #69798d; font: 600 9px/1 var(--mono); }.vault-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 12px var(--ok); }.vault-status b { margin-left: 20px; color: var(--cyan); }
.resource-library { max-width: var(--max); margin: 0 auto; padding: clamp(60px,7vw,110px) clamp(24px,4vw,60px); }.resource-item { display: grid; grid-template-columns: 70px 1fr auto; gap: 30px; padding: 30px 0; border-bottom: 1px solid var(--line); }.resource-item > div > p { margin: 0 0 8px; color: var(--cyan); font: 600 8px/1 var(--mono); letter-spacing: .1em; }.resource-item h2 { margin: 0 0 9px; font-size: 25px; }.resource-item > div > div { color: #718095; font-size: 13px; line-height: 1.6; }.resource-item footer { display: flex; gap: 8px; margin-top: 14px; color: #586679; font: 500 8px/1 var(--mono); }.resource-item aside { display: grid; justify-items: end; align-content: center; gap: 10px; color: #596779; font: 600 8px/1 var(--mono); }.resource-item aside a { margin-top: 10px; padding: 11px 14px; border: 1px solid var(--cyan); color: var(--cyan); }.vault-empty p { margin: 0 0 20px; color: var(--muted); }

/* About and contact */
.profile-hero { display: grid; grid-template-columns: .55fr 1.2fr; gap: clamp(70px,11vw,180px); align-items: center; padding: clamp(110px,12vw,190px) clamp(24px,8vw,140px); border-bottom: 1px solid var(--line); background: radial-gradient(circle at 20% 50%,rgba(85,245,209,.1),transparent 28%); }.profile-avatar { position: relative; width: min(350px,70vw); aspect-ratio: 1; display: grid; place-items: center; margin: auto; border: 1px solid rgba(85,245,209,.35); clip-path: polygon(0 0,80% 0,100% 20%,100% 100%,20% 100%,0 80%); background: linear-gradient(145deg,rgba(85,245,209,.06),rgba(139,108,255,.05)); }.profile-avatar span { font: 800 clamp(100px,15vw,220px)/1 var(--mono); color: transparent; -webkit-text-stroke: 1px rgba(85,245,209,.7); }.profile-avatar i, .profile-avatar b { position: absolute; inset: 12%; border: 1px solid rgba(85,245,209,.12); border-radius: 50%; animation: spin 18s linear infinite; }.profile-avatar b { inset: 26%; border-color: rgba(139,108,255,.22); animation-direction: reverse; }.profile-hero > div:last-child > p { color: var(--cyan); font: 600 9px/1 var(--mono); letter-spacing: .15em; }.profile-hero h1 { margin: 24px 0 6px; font: 800 clamp(65px,9vw,150px)/.9 var(--mono); letter-spacing: -.08em; }.profile-hero h2 { max-width: 750px; margin: 28px 0 25px; font-size: clamp(28px,3vw,48px); line-height: 1.25; letter-spacing: -.04em; }.profile-hero > div:last-child > div { max-width: 720px; color: #8391a4; line-height: 1.9; }
.profile-metrics { display: grid; grid-template-columns: repeat(4,1fr); border-bottom: 1px solid var(--line); }.profile-metrics article { padding: 45px clamp(24px,4vw,70px); border-right: 1px solid var(--line); }.profile-metrics article:last-child { border-right: 0; }.profile-metrics span { display: block; margin-bottom: 16px; color: #5f6e82; font: 600 8px/1 var(--mono); letter-spacing: .12em; }.profile-metrics b { font: 500 clamp(35px,4vw,62px)/1 var(--mono); }
.principles { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; padding: clamp(90px,10vw,170px) clamp(24px,8vw,140px); }.principles > div p { color: var(--cyan); font: 600 9px/1 var(--mono); }.principles > div h2 { max-width: 450px; margin: 20px 0; font-size: clamp(48px,6vw,90px); line-height: .95; letter-spacing: -.065em; }.principles ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }.principles li { display: grid; grid-template-columns: 70px 1fr; gap: 22px; padding: 34px 0; border-bottom: 1px solid var(--line); }.principles li span { grid-row: span 2; color: var(--cyan); font: 600 11px/1 var(--mono); }.principles h3 { margin: 0; font-size: 24px; }.principles li p { margin: 8px 0 0; color: #748397; line-height: 1.7; }
.contact-shell { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }.contact-intro { display: flex; flex-direction: column; justify-content: center; padding: clamp(110px,12vw,190px) clamp(24px,7vw,110px); border-right: 1px solid var(--line); background: radial-gradient(circle at 20% 45%,rgba(139,108,255,.12),transparent 35%); }.contact-intro > p { color: var(--cyan); font: 600 9px/1 var(--mono); letter-spacing: .16em; }.contact-intro h1 { margin: 24px 0; font-size: clamp(70px,9vw,145px); line-height: .88; letter-spacing: -.085em; }.contact-intro h1 span { display: block; color: transparent; -webkit-text-stroke: 1px rgba(85,245,209,.65); }.contact-intro > div { max-width: 620px; color: #8492a5; line-height: 1.85; }.contact-intro dl { max-width: 620px; margin: 50px 0 0; border-top: 1px solid var(--line); }.contact-intro dl div { display: flex; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--line); font: 600 8px/1 var(--mono); }.contact-intro dt { color: #58667a; }.contact-intro dd { margin: 0; color: #9aaabd; }
.contact-panel { align-self: center; margin: 110px clamp(24px,7vw,110px) 60px; border: 1px solid var(--line); background: rgba(9,13,20,.78); }.contact-panel > header { display: flex; justify-content: space-between; padding: 15px 18px; border-bottom: 1px solid var(--line); color: #647387; font: 600 8px/1 var(--mono); }.contact-panel > header i { color: var(--ok); font-style: normal; }.contact-panel form { display: grid; gap: 20px; padding: clamp(26px,4vw,52px); }.contact-panel textarea { resize: vertical; }.honeypot { position: absolute; left: -9999px; }.form-notice { margin: 22px 22px 0; padding: 13px 15px; border: 1px solid var(--line); color: #9aacbe; font-size: 12px; }.form-notice.is-error { border-color: rgba(255,100,124,.45); background: rgba(255,100,124,.07); color: #ff9bac; }.form-notice.is-success { border-color: rgba(85,245,160,.4); background: rgba(85,245,160,.06); color: var(--ok); }

/* Admin */
.admin-tech-body { min-height: 100vh; display: grid; grid-template-columns: 260px minmax(0,1fr); background: #06080d; }
.admin-sidebar { position: fixed; z-index: 10; inset: 0 auto 0 0; width: 260px; display: flex; flex-direction: column; padding: 28px 22px; border-right: 1px solid var(--line); background: #080b12; }.admin-sidebar > p { margin: 32px 0 20px; color: #465367; font: 600 8px/1 var(--mono); letter-spacing: .14em; }.admin-sidebar nav { display: grid; gap: 5px; }.admin-sidebar nav a { display: flex; gap: 17px; align-items: center; padding: 13px 12px; border: 1px solid transparent; color: #76859a; font-size: 13px; }.admin-sidebar nav a span { color: #425064; font: 600 8px/1 var(--mono); }.admin-sidebar nav a:hover, .admin-sidebar nav a.is-active { border-color: var(--line); background: rgba(85,245,209,.04); color: var(--text); }.admin-sidebar nav a.is-active span { color: var(--cyan); }.admin-side-status { display: flex; align-items: center; gap: 8px; margin-top: auto; color: #556377; font: 600 8px/1 var(--mono); }
.admin-main { grid-column: 2; min-width: 0; padding-bottom: 80px; }.admin-top { height: 76px; display: flex; justify-content: space-between; align-items: center; padding: 0 36px; border-bottom: 1px solid var(--line); background: rgba(6,8,13,.9); }.admin-top > div:first-child { color: #566579; font: 600 8px/1 var(--mono); letter-spacing: .1em; }.admin-top > div:first-child b { color: var(--cyan); }.admin-top > div:last-child { display: flex; align-items: center; gap: 20px; }.admin-top a, .admin-top button { color: #718095; background: transparent; border: 0; font: 600 9px/1 var(--mono); cursor: pointer; }.admin-top form { margin: 0; }
.admin-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; padding: 55px 48px 34px; }.admin-heading p { margin: 0 0 12px; color: var(--cyan); font: 600 8px/1 var(--mono); letter-spacing: .14em; }.admin-heading h1 { margin: 0; font-size: clamp(36px,4vw,62px); letter-spacing: -.055em; }.admin-heading > div > span { display: block; margin-top: 10px; color: #627186; font-size: 12px; }.admin-heading > a:not(.admin-primary) { color: #78879b; font: 600 9px/1 var(--mono); }
.admin-primary { border: 0; min-width: auto; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; padding: 0 48px 26px; }.admin-stat-grid article { position: relative; min-height: 150px; padding: 22px; border: 1px solid var(--line); background: var(--panel); overflow: hidden; }.admin-stat-grid article::after { content: "+"; position: absolute; right: 10px; top: 7px; color: #354256; font: 300 20px/1 var(--mono); }.admin-stat-grid span { display: block; color: #6d7c90; font-size: 11px; }.admin-stat-grid b { display: block; margin: 25px 0 8px; font: 500 46px/1 var(--mono); }.admin-stat-grid i { color: #425064; font: 600 7px/1 var(--mono); letter-spacing: .13em; font-style: normal; }
.admin-card { margin: 0 48px 24px; border: 1px solid var(--line); background: var(--panel); }.admin-card > header { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 24px; border-bottom: 1px solid var(--line); }.admin-card > header span { color: var(--cyan); font: 600 7px/1 var(--mono); letter-spacing: .13em; }.admin-card > header h2 { margin: 6px 0 0; font-size: 21px; }.admin-card > header a, .admin-card > header b { color: #6f7e91; font: 600 8px/1 var(--mono); }
.admin-list > a { display: grid; grid-template-columns: 90px 1fr auto; gap: 18px; align-items: center; padding: 17px 24px; border-bottom: 1px solid rgba(142,164,196,.1); }.admin-list > a:last-child { border-bottom: 0; }.admin-list > a:hover { background: rgba(85,245,209,.025); }.admin-list b { display: block; margin-bottom: 5px; font-size: 14px; }.admin-list small { color: #59687b; font: 500 8px/1 var(--mono); }.admin-list i { color: #667589; font: 600 8px/1 var(--mono); font-style: normal; }
.status-chip { display: inline-flex; align-items: center; justify-content: center; width: max-content; padding: 5px 7px; border: 1px solid var(--line); color: #77869a; font: 600 7px/1 var(--mono); text-transform: uppercase; }.status-chip.published, .status-chip.read, .status-chip.replied { border-color: rgba(85,245,160,.28); color: var(--ok); }.status-chip.draft, .status-chip.new { border-color: rgba(255,84,200,.25); color: var(--pink); }
.admin-table-wrap { overflow-x: auto; }.admin-table { width: 100%; border-collapse: collapse; }.admin-table th, .admin-table td { padding: 17px 20px; border-bottom: 1px solid rgba(142,164,196,.1); text-align: left; }.admin-table th { color: #526074; font: 600 7px/1 var(--mono); letter-spacing: .12em; }.admin-table td { color: #8d9caf; font-size: 12px; }.admin-table td strong { display: block; color: #dce7f3; }.admin-table td small { display: block; margin-top: 5px; color: #4d5b6f; font: 500 8px/1 var(--mono); }.admin-table td a { color: var(--cyan); font: 600 8px/1 var(--mono); }
.admin-editor { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 20px; padding: 0 48px; }.admin-editor .admin-card { margin: 0; }.editor-main, .editor-side, .settings-form, .upload-card { display: grid; gap: 22px; padding: 28px; }.editor-side { align-content: start; position: sticky; top: 20px; align-self: start; }.admin-tech-body textarea { resize: vertical; line-height: 1.65; }.markdown-editor { min-height: 490px; font-family: var(--mono) !important; font-size: 13px !important; }.editor-help { margin: 0; color: #59677a; font-size: 11px; }.editor-help code { color: var(--cyan); font-family: var(--mono); }.check-row { display: flex !important; align-items: center; gap: 9px; }.check-row input { width: auto !important; margin: 0 !important; }.admin-preview-link { padding: 12px; border: 1px solid var(--line); color: #718095; text-align: center; font: 600 8px/1 var(--mono); }
.admin-resource-layout { display: grid; grid-template-columns: minmax(300px,.7fr) minmax(420px,1.3fr); gap: 20px; padding: 0 48px; }.admin-resource-layout .admin-card { margin: 0; }.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }.file-input { padding: 18px !important; border-style: dashed !important; }.resource-admin-list { align-self: start; }.resource-admin-list > article { display: grid; grid-template-columns: 58px 1fr auto auto; gap: 16px; align-items: center; padding: 18px 22px; border-bottom: 1px solid rgba(142,164,196,.1); }.resource-admin-list h3 { margin: 6px 0; font-size: 15px; }.resource-admin-list p { margin: 0; color: #58677a; font-size: 10px; }.resource-admin-list form { margin: 0; }.resource-admin-list button { border: 0; background: transparent; color: var(--cyan); font: 600 8px/1 var(--mono); cursor: pointer; }.resource-admin-list .danger-link { color: var(--danger); }.admin-empty { padding: 30px; color: #68778a; }
.message-list { display: grid; gap: 18px; padding: 0 48px; }.message-list .admin-card { margin: 0; padding-bottom: 22px; }.message-list article > p { padding: 0 24px; color: #91a0b3; line-height: 1.75; }.message-list article > footer { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding: 18px 24px 0; border-top: 1px solid var(--line); }.message-list footer b, .message-list footer a { display: block; font-size: 11px; }.message-list footer a { margin-top: 5px; color: var(--cyan); }.message-list footer form { display: flex; gap: 8px; }.message-list select, .message-list button { width: auto; margin: 0; }.message-list button { border: 1px solid var(--line); background: transparent; color: #91a0b3; padding: 8px 11px; }
.settings-form { max-width: 1080px; padding: 34px; }.settings-form > .admin-primary { justify-self: start; }

.admin-login-body { min-height: 100vh; background: var(--bg); }.login-grid { min-height: 100vh; display: grid; grid-template-columns: 1.15fr .85fr; }.login-visual { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(32px,6vw,90px); border-right: 1px solid var(--line); background: radial-gradient(circle at 28% 55%,rgba(85,245,209,.1),transparent 33%); }.login-visual > div > p { color: var(--cyan); font: 600 9px/1 var(--mono); letter-spacing: .16em; }.login-visual h1 { margin: 28px 0; font: 800 clamp(70px,10vw,165px)/.83 var(--mono); letter-spacing: -.09em; }.login-visual h1 span { color: transparent; -webkit-text-stroke: 1px rgba(85,245,209,.62); }.login-terminal { color: #647388; font: 500 11px/1.9 var(--mono); }.login-terminal span { color: var(--cyan); animation: blink 1s steps(1) infinite; }.login-panel { align-self: center; margin: 60px clamp(28px,7vw,110px); border: 1px solid var(--line); background: rgba(9,13,20,.82); }.login-panel > header { display: flex; justify-content: space-between; padding: 15px 18px; border-bottom: 1px solid var(--line); color: #617084; font: 600 8px/1 var(--mono); }.login-panel > header i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 12px var(--ok); }.login-panel h2 { margin: 40px 40px 10px; font-size: 35px; }.login-panel > p { margin: 0 40px; color: #718095; line-height: 1.7; }.login-panel form { display: grid; gap: 21px; padding: 34px 40px; }.login-panel > a { display: block; margin: 0 40px 35px; color: #657488; font: 600 8px/1 var(--mono); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1120px) {
  .tech-hero { grid-template-columns: 1fr; padding-top: 135px; }.hero-console { width: min(680px,100%); min-height: 400px; }.tech-hero h1 { max-width: 900px; }
  .post-card, .post-card--featured { grid-column: span 6; }.post-card:nth-child(5) { grid-column: span 12; }
  .discipline-grid { grid-template-columns: repeat(2,1fr); }.project-zone { grid-template-columns: 1fr; }.project-intro { position: static; }.project-stack { grid-template-columns: repeat(3,1fr); }.project-card { min-height: 390px; }
  .admin-stat-grid { grid-template-columns: repeat(2,1fr); }.admin-resource-layout { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .tech-nav { grid-template-columns: 1fr auto; height: 68px; padding: 0 18px; }.tech-nav nav { position: fixed; top: 68px; left: 0; right: 0; display: none; height: auto; padding: 22px; border-bottom: 1px solid var(--line); background: rgba(5,7,11,.97); }.tech-nav.is-open nav { display: grid; gap: 0; }.tech-nav nav a { min-height: 48px; justify-items: start; }.tech-nav .nav-actions { display: none; }.nav-toggle { display: block; }
  .tech-hero { padding: 118px 20px 90px; }.tech-hero h1 { font-size: clamp(56px,17vw,104px); }.hero-foot { left: 20px; right: 20px; }.hero-foot span:last-child { display: none; }
  .home-section, .project-zone, .home-about { padding-left: 20px; padding-right: 20px; }.section-heading { align-items: start; flex-direction: column; margin-bottom: 44px; }.section-heading > p { max-width: 600px; }
  .post-grid { grid-template-columns: 1fr; }.post-card, .post-card--featured, .post-card:nth-child(4), .post-card:nth-child(5) { grid-column: auto; min-height: 340px; }
  .project-stack { grid-template-columns: 1fr; }.project-card { min-height: 300px; }.archive-empty { grid-template-columns: 1fr; padding: 35px 22px; }.archive-radar { width: 170px; height: 170px; }
  .home-about { grid-template-columns: 1fr; }.tech-footer { grid-template-columns: 1fr; align-items: start; }.tech-footer nav { flex-wrap: wrap; }.footer-clock { justify-self: start; text-align: left; }
  .archive-filter { grid-template-columns: 1fr; }.article-list { grid-template-columns: 1fr; }.article-layout { grid-template-columns: 1fr; }.article-rail { position: static; grid-template-columns: auto auto auto auto; }.article-rail button { grid-column: 1/-1; }
  .profile-hero, .principles { grid-template-columns: 1fr; }.profile-metrics { grid-template-columns: repeat(2,1fr); }.profile-metrics article:nth-child(2) { border-right: 0; }.contact-shell { grid-template-columns: 1fr; }.contact-intro { border-right: 0; border-bottom: 1px solid var(--line); }.contact-panel { margin-top: 50px; }
  .admin-tech-body { display: block; }.admin-sidebar { position: static; width: auto; border-right: 0; border-bottom: 1px solid var(--line); }.admin-sidebar > p, .admin-side-status { display: none; }.admin-sidebar nav { grid-template-columns: repeat(5,auto); overflow-x: auto; margin-top: 20px; }.admin-main { grid-column: auto; }.admin-top { display: none; }.admin-heading, .admin-stat-grid, .admin-editor, .admin-resource-layout, .message-list { padding-left: 20px; padding-right: 20px; }.admin-card { margin-left: 20px; margin-right: 20px; }.admin-editor { grid-template-columns: 1fr; }.editor-side { position: static; }.admin-resource-layout .admin-card { margin: 0; }
  .login-grid { grid-template-columns: 1fr; }.login-visual { min-height: 58vh; border-right: 0; border-bottom: 1px solid var(--line); }.login-panel { width: min(560px,calc(100% - 40px)); margin: 55px auto; }
}

@media (max-width: 560px) {
  .tech-brand > span:last-of-type { font-size: 10px; }.tech-hero h1 { font-size: clamp(52px,18vw,80px); }.hero-actions { flex-direction: column; align-items: stretch; }.neon-button, .ghost-button { width: 100%; }.hero-console { min-height: 390px; }.hero-foot { font-size: 7px; }
  .discipline-grid { grid-template-columns: 1fr; }.discipline-card { min-height: 330px; }.discipline-icon { margin: 38px 0 30px; }
  .resource-row, .resource-item { grid-template-columns: 58px 1fr; }.resource-row small, .resource-row > b, .resource-item aside { grid-column: 2; justify-items: start; }.resource-item aside { display: flex; flex-wrap: wrap; align-items: center; }
  .profile-metrics { grid-template-columns: 1fr; }.profile-metrics article { border-right: 0; }.principles li { grid-template-columns: 46px 1fr; }.contact-intro, .contact-panel form { padding-left: 20px; padding-right: 20px; }
  .admin-heading { flex-direction: column; align-items: stretch; }.admin-stat-grid { grid-template-columns: 1fr; }.admin-form-grid { grid-template-columns: 1fr; }.admin-card, .admin-heading, .admin-stat-grid, .admin-editor, .admin-resource-layout, .message-list { margin-left: 0; margin-right: 0; padding-left: 14px; padding-right: 14px; }.admin-sidebar nav { grid-template-columns: repeat(5,110px); }.resource-admin-list > article { grid-template-columns: 52px 1fr; }.resource-admin-list > article form { grid-column: 2; }.message-list article > footer { align-items: start; flex-direction: column; }.login-panel h2, .login-panel > p { margin-left: 24px; margin-right: 24px; }.login-panel form { padding: 28px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .signal-canvas { display: none; }
}

/* Motion control knowledge hub */
body.tech-body .motion-section { position: relative; overflow: hidden; background: linear-gradient(180deg,#f4faf9,#ffffff 42%,#f0f8f8); }
body.tech-body .motion-section::before { content: ""; position: absolute; width: 540px; height: 540px; right: -260px; top: 140px; border-radius: 50%; border: 1px solid rgba(0,143,121,.1); box-shadow: 0 0 0 70px rgba(0,143,121,.025),0 0 0 140px rgba(101,87,207,.018); }
body.tech-body .motion-map { position: relative; z-index: 1; max-width: var(--max); margin: -18px auto 42px; display: grid; grid-template-columns: auto auto 1fr auto 1fr auto 1fr auto auto; gap: clamp(8px,1.4vw,22px); align-items: center; padding: 24px 28px 45px; border: 1px solid var(--line); background: rgba(255,255,255,.68); box-shadow: 0 20px 65px rgba(38,86,97,.07); color: #647b86; font: 700 9px/1 var(--mono); letter-spacing: .1em; }
body.tech-body .motion-map b { min-height: 56px; display: grid; place-items: center; border: 1px solid rgba(0,143,121,.2); background: rgba(0,143,121,.04); color: #173c48; }
body.tech-body .motion-map > i { color: var(--cyan); font-style: normal; }
body.tech-body .motion-map em { position: absolute; left: 24%; right: 17%; bottom: 13px; padding-top: 9px; border-top: 1px dashed rgba(101,87,207,.28); color: var(--violet); text-align: center; font: 600 7px/1 var(--mono); letter-spacing: .12em; }
body.tech-body .motion-grid { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
body.tech-body .motion-card { position: relative; min-height: 430px; display: flex; flex-direction: column; padding: 28px; overflow: hidden; border: 1px solid var(--line); background: rgba(255,255,255,.76); box-shadow: 0 22px 65px rgba(38,86,97,.08); backdrop-filter: blur(18px); transition: transform .55s cubic-bezier(.16,1,.3,1),border-color .35s,box-shadow .55s; }
body.tech-body .motion-card:hover { transform: translateY(-10px); border-color: rgba(0,143,121,.36); box-shadow: 0 32px 80px rgba(38,86,97,.15); }
body.tech-body .motion-card > a { position: absolute; z-index: 4; inset: 0; }
body.tech-body .motion-card > span { color: var(--cyan); font: 700 9px/1 var(--mono); letter-spacing: .14em; }
body.tech-body .motion-card h3 { margin: 28px 0 15px; font-size: clamp(24px,2vw,34px); line-height: 1.15; letter-spacing: -.045em; }
body.tech-body .motion-card > p { margin: 0; color: #5e7680; font-size: 13px; line-height: 1.78; }
body.tech-body .motion-card > b { margin-top: auto; padding-top: 28px; color: var(--cyan); font: 700 9px/1 var(--mono); letter-spacing: .08em; }
body.tech-body .motion-symbol { position: relative; width: 118px; height: 118px; margin-top: 46px; border: 1px solid rgba(0,143,121,.22); border-radius: 50%; background: radial-gradient(circle,rgba(0,143,121,.07),transparent 65%); }
body.tech-body .motion-symbol::before,
body.tech-body .motion-symbol::after { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(101,87,207,.2); border-radius: 50%; }
body.tech-body .motion-symbol::after { inset: 37px; border-color: var(--cyan); background: rgba(0,143,121,.08); }
body.tech-body .motion-symbol i { position: absolute; z-index: 1; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px rgba(0,143,121,.36); }
body.tech-body .motion-symbol i:nth-child(1) { left: 8px; top: 52px; }
body.tech-body .motion-symbol i:nth-child(2) { right: 15px; top: 22px; background: var(--violet); }
body.tech-body .motion-symbol i:nth-child(3) { right: 20px; bottom: 20px; background: var(--blue); }
body.tech-body .motion-symbol--servo::before { border-style: dashed; animation: spin 15s linear infinite; }
body.tech-body .motion-symbol--servo i:nth-child(1) { inset: 12px; width: auto; height: auto; border: 1px solid rgba(0,143,121,.32); background: transparent; box-shadow: none; }
body.tech-body .motion-symbol--servo i:nth-child(2) { left: 52px; top: -4px; }
body.tech-body .motion-symbol--stepper { border-radius: 16px; }
body.tech-body .motion-symbol--stepper::before { border-radius: 12px; transform: rotate(45deg); }
body.tech-body .motion-symbol--stepper::after { border-radius: 8px; }
body.tech-body .motion-symbol--stepper i:nth-child(4) { left: 17px; bottom: 17px; background: var(--pink); }
body.tech-body .motion-card--compare { grid-column: 1/-1; min-height: 290px; display: grid; grid-template-columns: .75fr 1fr; column-gap: 55px; align-items: center; }
body.tech-body .motion-card--compare > span,
body.tech-body .motion-card--compare > b { grid-column: 1; }
body.tech-body .motion-card--compare h3,
body.tech-body .motion-card--compare > p { grid-column: 2; }
body.tech-body .motion-card--compare h3 { grid-row: 1; align-self: end; }
body.tech-body .motion-card--compare > p { grid-row: 2/4; align-self: start; }
body.tech-body .motion-compare { grid-column: 1; grid-row: 2/3; display: flex; align-items: center; gap: 10px; margin: 35px 0; }
body.tech-body .motion-compare b { padding: 10px; border: 1px solid var(--line); color: #264956; font: 700 9px/1 var(--mono); }
body.tech-body .motion-compare i { width: 20px; height: 1px; background: var(--cyan); }

@media (max-width: 900px) {
  body.tech-body .motion-grid { grid-template-columns: 1fr 1fr; }
  body.tech-body .motion-card { min-height: 380px; }
  body.tech-body .motion-card--compare { grid-column: 1/-1; }
  body.tech-body .motion-map { grid-template-columns: 1fr auto 1fr auto 1fr; }
  body.tech-body .motion-map > span:first-child,
  body.tech-body .motion-map > i:nth-of-type(1),
  body.tech-body .motion-map > span:last-of-type,
  body.tech-body .motion-map > i:last-of-type { display: none; }
  body.tech-body .motion-map em { left: 8%; right: 8%; }
}

@media (max-width: 620px) {
  body.tech-body .motion-grid { grid-template-columns: 1fr; }
  body.tech-body .motion-card { min-height: 360px; }
  body.tech-body .motion-card--compare { display: flex; min-height: 390px; }
  body.tech-body .motion-card--compare h3,
  body.tech-body .motion-card--compare > p,
  body.tech-body .motion-card--compare > span,
  body.tech-body .motion-card--compare > b,
  body.tech-body .motion-compare { grid-column: auto; grid-row: auto; }
  body.tech-body .motion-map { padding: 18px 14px 42px; gap: 6px; }
  body.tech-body .motion-map b { min-height: 48px; font-size: 7px; }
}

/* Bright future theme: public site only. The private control plane stays dark. */
body.tech-body {
  color-scheme: light;
  --bg: #f7fbfc;
  --bg-2: #eef7f7;
  --panel: rgba(255, 255, 255, .78);
  --panel-solid: #ffffff;
  --line: rgba(26, 76, 91, .14);
  --line-strong: rgba(26, 76, 91, .27);
  --text: #102b38;
  --muted: #647b86;
  --muted-2: #80939b;
  --cyan: #008f79;
  --blue: #187fd1;
  --violet: #6557cf;
  --pink: #bd3e88;
  --danger: #cc3855;
  --ok: #11845f;
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 6%, rgba(255, 225, 148, .28), transparent 23rem),
    radial-gradient(circle at 92% 15%, rgba(99, 203, 232, .18), transparent 30rem),
    #f7fbfc;
  color: var(--text);
}

body.tech-body::selection { color: #ffffff; background: var(--cyan); }
body.tech-body .signal-canvas { opacity: .22; }
body.tech-body .noise-layer {
  opacity: .42;
  background-image:
    radial-gradient(circle at 17% 29%, rgba(17, 83, 98, .08) 0 1px, transparent 1.5px),
    radial-gradient(circle at 79% 61%, rgba(17, 83, 98, .055) 0 1px, transparent 1.5px);
}

body.tech-body .tech-nav {
  border-color: rgba(24, 93, 108, .12);
  background: rgba(251, 254, 254, .8);
  box-shadow: 0 12px 42px rgba(46, 94, 105, .06);
}
body.tech-body .tech-nav nav a { color: #607782; }
body.tech-body .tech-nav nav a:hover,
body.tech-body .tech-nav nav a[aria-current="page"] { color: #102b38; }
body.tech-body .system-pill { color: #607782; }
body.tech-body .nav-contact { color: #173b48; background: rgba(255,255,255,.55); }

body.tech-body .tech-hero {
  background:
    linear-gradient(115deg, rgba(255,255,255,.92), rgba(241,250,250,.66)),
    radial-gradient(circle at 78% 35%, rgba(80, 193, 218, .17), transparent 38%);
}
body.tech-body .hero-grid { opacity: .5; }
body.tech-body .tech-hero::before { background: radial-gradient(circle, rgba(101,87,207,.13), rgba(24,127,209,.07) 34%, transparent 70%); }
body.tech-body .tech-hero::after { background: rgba(20,170,137,.1); }
body.tech-body .hero-orbit { border-color: rgba(0,143,121,.18); }
body.tech-body .hero-orbit--two { border-color: rgba(101,87,207,.16); }
body.tech-body .terminal-label,
body.tech-body .hero-eyebrow { color: #617985; }
body.tech-body .tech-hero h1 span:nth-child(2),
body.tech-body .tech-hero h1 span:nth-child(4),
body.tech-body .section-heading h2 span,
body.tech-body .signal-cta h2 span { -webkit-text-stroke-color: rgba(16,43,56,.55); }
body.tech-body .hero-lead { color: #506b77; }
body.tech-body .ghost-button { border-color: rgba(26,76,91,.28); background: rgba(255,255,255,.65); color: #183b48; }
body.tech-body .ghost-button:hover { color: var(--violet); background: #ffffff; }
body.tech-body .hero-foot { color: #6d828b; }

body.tech-body .hero-console {
  --text: #edf5ff;
  --line: rgba(142,164,196,.18);
  --cyan: #55f5d1;
  --violet: #8b6cff;
  --pink: #ff54c8;
  --ok: #55f5a0;
  border-color: rgba(57,154,189,.32);
  background: linear-gradient(145deg, rgba(13,24,34,.96), rgba(6,12,19,.94));
  box-shadow: 0 35px 90px rgba(25,73,86,.22), inset 0 0 70px rgba(89,169,255,.025);
}

body.tech-body .ticker {
  color: #052e38;
  background: linear-gradient(90deg, #8ce8d2, #a9eaf5 48%, #d9d0ff);
}
body.tech-body .home-section,
body.tech-body .resource-library,
body.tech-body .principles,
body.tech-body .article-layout,
body.tech-body .article-end { background: rgba(255,255,255,.28); }
body.tech-body .section-heading > div > p,
body.tech-body .project-intro > p,
body.tech-body .about-copy > p { color: #617985; }
body.tech-body .section-heading > p { color: #5c737e; }

body.tech-body .post-card,
body.tech-body .post-card--featured,
body.tech-body .project-card,
body.tech-body .archive-empty,
body.tech-body .contact-panel,
body.tech-body .archive-filter {
  border-color: rgba(26,76,91,.14);
  background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(245,251,251,.76));
  box-shadow: 0 22px 70px rgba(49,92,102,.08);
  backdrop-filter: blur(18px);
}
body.tech-body .post-card:hover {
  border-color: rgba(0,143,121,.38);
  box-shadow: 0 30px 80px rgba(34,95,105,.14), 0 0 38px rgba(0,143,121,.06);
}
body.tech-body .post-index { color: #9bb1b8; }
body.tech-body .post-meta,
body.tech-body .post-card footer,
body.tech-body .project-card > header,
body.tech-body .project-terminal { color: #6d838d; }
body.tech-body .post-card > p,
body.tech-body .project-card > p,
body.tech-body .project-intro > p:last-child { color: #5f7680; }
body.tech-body .post-card footer b { color: #4c6671; }

body.tech-body .disciplines-section {
  background: radial-gradient(circle at 75% 20%, rgba(101,87,207,.09), transparent 35%), linear-gradient(180deg,#f1f9f8,#eef7f7);
}
body.tech-body .discipline-grid { background: rgba(255,255,255,.35); }
body.tech-body .discipline-card { background: rgba(255,255,255,.42); }
body.tech-body .discipline-card:hover { background: rgba(255,255,255,.82); }
body.tech-body .discipline-card > span { color: #78909a; }
body.tech-body .discipline-card p,
body.tech-body .discipline-card b { color: #607985; }

body.tech-body .project-zone {
  background:
    radial-gradient(circle at 13% 28%, rgba(255,219,130,.22), transparent 30%),
    linear-gradient(120deg, #f8fcfc, #edf8f8);
}
body.tech-body .project-intro h2 em { -webkit-text-stroke-color: rgba(0,143,121,.6); }
body.tech-body .project-terminal i { background: #dbe8e9; }
body.tech-body .project-card > footer span { color: #5f7680; background: rgba(255,255,255,.55); }
body.tech-body .resource-row p,
body.tech-body .resource-row small,
body.tech-body .resource-row b,
body.tech-body .resource-item > div > div,
body.tech-body .resource-item footer,
body.tech-body .resource-item aside { color: #617985; }
body.tech-body .file-type { background: rgba(0,143,121,.06); }

body.tech-body .home-about { background: linear-gradient(135deg,#f4faf9,#edf6f7); }
body.tech-body .about-code {
  --text: #edf5ff;
  --line: rgba(142,164,196,.18);
  --cyan: #55f5d1;
  border-color: rgba(57,154,189,.28);
  background: #07111a;
  box-shadow: 0 30px 80px rgba(37,76,88,.18);
}
body.tech-body .about-copy > div { color: #58717c; }
body.tech-body .signal-cta {
  background:
    radial-gradient(circle at 50% 50%, rgba(0,143,121,.1), transparent 42%),
    linear-gradient(rgba(250,253,253,.9),rgba(241,249,249,.96)),
    repeating-linear-gradient(90deg,var(--line) 0 1px,transparent 1px 100px);
}
body.tech-body .tech-footer { background: #eaf4f4; }
body.tech-body .tech-footer > div p,
body.tech-body .tech-footer nav,
body.tech-body .footer-clock small { color: #5d747f; }

body.tech-body .archive-hero,
body.tech-body .resource-hero {
  background:
    radial-gradient(circle at 85% 30%, rgba(101,87,207,.11), transparent 32%),
    linear-gradient(145deg,#fbfdfd,#edf7f7);
}
body.tech-body .archive-hero > p,
body.tech-body .vault-status,
body.tech-body .article-meta,
body.tech-body .article-hero > a { color: #617985; }
body.tech-body .archive-hero h1 span,
body.tech-body .contact-intro h1 span { -webkit-text-stroke-color: rgba(0,143,121,.58); }
body.tech-body .archive-filter label,
body.tech-body .contact-panel label { color: #526d78; }
body.tech-body .archive-filter input,
body.tech-body .archive-filter select,
body.tech-body .contact-panel input,
body.tech-body .contact-panel textarea {
  border-color: rgba(26,76,91,.16);
  background: rgba(255,255,255,.88);
  color: #102b38;
}
body.tech-body .article-hero { background: radial-gradient(circle at 80% 20%,rgba(24,127,209,.11),transparent 32%), #f7fbfc; }
body.tech-body .article-hero > p,
body.tech-body .article-body { color: #405c68; }
body.tech-body .article-body h3,
body.tech-body .article-body strong { color: #173947; }
body.tech-body .article-body blockquote { background: rgba(101,87,207,.07); color: #526a75; }
body.tech-body .article-body pre {
  --line: rgba(142,164,196,.18);
  --cyan: #55f5d1;
  border-color: rgba(49,101,117,.24);
  background: #07111a;
  color: #b8cad8;
  box-shadow: 0 24px 60px rgba(38,76,88,.14);
}

body.tech-body .profile-hero {
  background: radial-gradient(circle at 20% 50%,rgba(0,143,121,.1),transparent 28%), linear-gradient(120deg,#fbfdfd,#f0f8f8);
}
body.tech-body .profile-hero > div:last-child > div,
body.tech-body .principles li p { color: #5c7480; }
body.tech-body .profile-metrics { background: rgba(255,255,255,.44); }
body.tech-body .profile-metrics span { color: #607984; }
body.tech-body .contact-intro {
  background: radial-gradient(circle at 20% 45%,rgba(101,87,207,.1),transparent 35%), #f5fbfb;
}
body.tech-body .contact-intro > div,
body.tech-body .contact-intro dt,
body.tech-body .contact-panel > header { color: #607984; }
body.tech-body .contact-intro dd { color: #244651; }
body.tech-body .form-notice { color: #4c6873; }

@media (max-width: 820px) {
  body.tech-body .tech-nav nav { background: rgba(250,253,253,.98); box-shadow: 0 18px 38px rgba(38,76,88,.1); }
}

/* Cinematic motion and scroll story */
body.tech-body .page-progress { position: absolute; z-index: 2; left: 0; right: 0; bottom: -1px; height: 2px; transform: scaleX(0); transform-origin: left center; background: linear-gradient(90deg,var(--cyan),#57bfe4,var(--violet)); box-shadow: 0 0 14px rgba(0,143,121,.28); }
body.tech-body .tech-nav { transition: height .45s cubic-bezier(.2,.8,.2,1), background .45s, box-shadow .45s, transform .45s; }
body.tech-body .tech-nav.is-compact { height: 64px; background: rgba(251,254,254,.92); box-shadow: 0 14px 46px rgba(36,85,96,.1); }
body.tech-body .tech-nav.is-compact .brand-glyph { transform: scale(.9); }
body.tech-body .brand-glyph { transition: transform .45s cubic-bezier(.2,.8,.2,1); }
body.tech-body .reveal { filter: blur(8px); transform: translateY(38px) scale(.985); transition: opacity .9s ease, transform 1s cubic-bezier(.16,1,.3,1), filter .9s ease; }
body.tech-body .reveal.is-visible { filter: none; transform: none; }
body.tech-body .reveal-delay-1 { transition-delay: .04s; }
body.tech-body .reveal-delay-2 { transition-delay: .12s; }
body.tech-body .reveal-delay-3 { transition-delay: .2s; }
body.tech-body .reveal-delay-4 { transition-delay: .28s; }
body.tech-body .post-card,
body.tech-body .discipline-card,
body.tech-body .project-card { transition: transform .55s cubic-bezier(.16,1,.3,1), border-color .35s, box-shadow .55s, background .35s; }
body.tech-body .post-card:hover,
body.tech-body .discipline-card:hover,
body.tech-body .project-card:hover { transform: translateY(-10px) scale(1.008); }

body.tech-body .story-scroll { position: relative; height: 300svh; border-bottom: 1px solid var(--line); background: linear-gradient(180deg,#f7fbfc 0%,#ffffff 46%,#eef8f7 100%); }
body.tech-body .story-sticky { position: sticky; top: 0; min-height: 100svh; display: grid; grid-template-columns: minmax(0,.8fr) minmax(440px,1.2fr); gap: clamp(40px,7vw,120px); align-items: center; padding: 120px clamp(24px,7vw,120px) 70px; overflow: hidden; }
body.tech-body .story-sticky::before { content: ""; position: absolute; width: 58vw; aspect-ratio: 1; right: -18vw; top: -17vw; border-radius: 50%; background: radial-gradient(circle,rgba(118,214,200,.28),rgba(141,203,239,.11) 36%,transparent 70%); filter: blur(12px); }
body.tech-body .story-sticky::after { content: ""; position: absolute; left: -18vw; bottom: -20vw; width: 44vw; aspect-ratio: 1; border-radius: 50%; background: rgba(255,220,139,.22); filter: blur(90px); }
body.tech-body .story-heading { position: relative; z-index: 2; max-width: 760px; }
body.tech-body .story-heading > p:first-child { margin: 0 0 28px; color: var(--cyan); font: 700 10px/1 var(--mono); letter-spacing: .18em; }
body.tech-body .story-heading h2 { margin: 0; font-size: clamp(52px,6.4vw,112px); line-height: .92; letter-spacing: -.075em; }
body.tech-body .story-heading h2 span { display: block; margin-top: .12em; color: transparent; -webkit-text-stroke: 1px rgba(16,43,56,.48); }
body.tech-body .story-heading > p:last-child { max-width: 600px; margin: 36px 0 0; color: #58717c; font-size: clamp(15px,1.3vw,19px); line-height: 1.85; }
body.tech-body .story-stage { position: relative; z-index: 2; min-height: 620px; display: grid; place-items: center; }
body.tech-body .story-core { position: relative; width: min(410px,37vw); aspect-ratio: 1; display: grid; place-content: center; justify-items: center; border: 1px solid rgba(0,143,121,.22); border-radius: 50%; background: radial-gradient(circle at 36% 30%,rgba(255,255,255,.98),rgba(225,246,243,.9) 45%,rgba(174,225,227,.64)); box-shadow: inset 0 0 80px rgba(255,255,255,.8),0 42px 120px rgba(39,108,116,.2),0 0 0 36px rgba(255,255,255,.32),0 0 0 37px rgba(0,143,121,.08); backdrop-filter: blur(20px); }
body.tech-body .story-core::before,
body.tech-body .story-core::after { content: ""; position: absolute; inset: -9%; border: 1px solid rgba(0,143,121,.15); border-radius: 50%; animation: spin 30s linear infinite; }
body.tech-body .story-core::after { inset: 14%; border-color: rgba(101,87,207,.18); animation-direction: reverse; animation-duration: 20s; }
body.tech-body .story-core i { position: absolute; top: -9%; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 22px rgba(0,143,121,.55); }
body.tech-body .story-core b { font: 800 clamp(26px,3vw,48px)/1 var(--mono); letter-spacing: -.06em; }
body.tech-body .story-core span { margin-top: 12px; color: #607985; font: 600 9px/1 var(--mono); letter-spacing: .16em; }
body.tech-body .story-panels { position: absolute; inset: 0; pointer-events: none; }
body.tech-body .story-panel { position: absolute; width: min(300px,48%); padding: 22px; border: 1px solid rgba(26,76,91,.14); background: rgba(255,255,255,.78); box-shadow: 0 22px 65px rgba(38,86,97,.1); backdrop-filter: blur(20px); opacity: 0; transform: translateY(24px) scale(.94); transition: opacity .65s, transform .75s cubic-bezier(.16,1,.3,1); }
body.tech-body .story-panel.is-active { opacity: 1; transform: none; }
body.tech-body .story-panel:nth-child(1) { left: 0; top: 9%; }
body.tech-body .story-panel:nth-child(2) { right: 0; top: 20%; }
body.tech-body .story-panel:nth-child(3) { right: 5%; bottom: 4%; }
body.tech-body .story-panel span { color: var(--cyan); font: 700 8px/1 var(--mono); letter-spacing: .13em; }
body.tech-body .story-panel h3 { margin: 16px 0 8px; font-size: 23px; letter-spacing: -.04em; }
body.tech-body .story-panel p { margin: 0; color: #617984; font-size: 12px; line-height: 1.7; }
body.tech-body .story-dots { position: absolute; z-index: 3; left: 50%; bottom: 28px; display: flex; gap: 8px; transform: translateX(-50%); }
body.tech-body .story-dots i { width: 28px; height: 3px; background: rgba(26,76,91,.16); transition: width .45s, background .45s; }
body.tech-body .story-dots i.is-active { width: 58px; background: var(--cyan); }

/* Contact details */
body.tech-body .signal-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
body.tech-body .contact-quick { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 28px; color: #5e7680; font: 600 8px/1 var(--mono); letter-spacing: .08em; }
body.tech-body .contact-quick span { width: 100%; margin-bottom: 3px; color: #789098; }
body.tech-body .contact-quick b { padding: 8px 10px; border: 1px solid var(--line); background: rgba(255,255,255,.55); font-weight: 600; }
body.tech-body .contact-intro dd a { color: var(--cyan); }
body.tech-body .contact-panel { scroll-margin-top: 90px; }

/* Original COVA site guide */
body.tech-body .lab-assistant { position: fixed; z-index: 130; right: clamp(14px,2.4vw,38px); bottom: clamp(14px,2.4vw,34px); display: grid; justify-items: end; pointer-events: none; }
body.tech-body .assistant-trigger { pointer-events: auto; display: grid; grid-template-columns: 68px auto; gap: 13px; align-items: center; min-width: 214px; padding: 7px 16px 7px 7px; border: 1px solid rgba(26,76,91,.17); border-radius: 999px; background: rgba(255,255,255,.84); color: var(--text); box-shadow: 0 18px 60px rgba(39,85,96,.18); backdrop-filter: blur(22px) saturate(145%); cursor: pointer; transition: transform .35s cubic-bezier(.16,1,.3,1),box-shadow .35s,border-color .35s; }
body.tech-body .assistant-trigger:hover { transform: translateY(-4px); border-color: rgba(0,143,121,.34); box-shadow: 0 24px 70px rgba(39,85,96,.23); }
body.tech-body .lab-assistant.is-attention .assistant-trigger { animation: assistant-attention 1.8s cubic-bezier(.16,1,.3,1); }
@keyframes assistant-attention { 0%,100% { transform: translateY(0) scale(1); } 28% { transform: translateY(-10px) scale(1.025); } 50% { transform: translateY(-4px) scale(1); } }
body.tech-body .assistant-trigger img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; border: 1px solid rgba(0,143,121,.2); background: #eef8f8; }
body.tech-body .assistant-trigger > span { display: grid; gap: 7px; text-align: left; }
body.tech-body .assistant-trigger b { font: 800 12px/1 var(--mono); letter-spacing: .12em; }
body.tech-body .assistant-trigger small { color: #647b86; font-size: 11px; }
body.tech-body .assistant-panel { pointer-events: auto; width: min(350px,calc(100vw - 28px)); margin-bottom: 12px; border: 1px solid rgba(26,76,91,.16); background: rgba(255,255,255,.9); box-shadow: 0 28px 90px rgba(35,79,90,.22); backdrop-filter: blur(26px) saturate(145%); opacity: 0; visibility: hidden; transform: translateY(16px) scale(.96); transform-origin: right bottom; transition: opacity .3s,visibility .3s,transform .45s cubic-bezier(.16,1,.3,1); }
body.tech-body .lab-assistant.is-open .assistant-panel { opacity: 1; visibility: visible; transform: none; }
body.tech-body .assistant-panel > header { display: flex; align-items: center; justify-content: space-between; padding: 13px 15px; border-bottom: 1px solid var(--line); color: #617984; font: 700 8px/1 var(--mono); letter-spacing: .12em; }
body.tech-body .assistant-panel > header i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 12px var(--ok); }
body.tech-body .assistant-panel-body { padding: 25px; }
body.tech-body .assistant-kicker { margin: 0 0 12px; color: var(--cyan); font: 700 8px/1 var(--mono); letter-spacing: .13em; }
body.tech-body .assistant-panel h2 { margin: 0 0 10px; font-size: 25px; letter-spacing: -.04em; }
body.tech-body .assistant-panel-body > p:not(.assistant-kicker) { margin: 0; color: #5d7580; font-size: 13px; line-height: 1.7; }
body.tech-body .assistant-panel nav { display: grid; margin-top: 22px; border-top: 1px solid var(--line); }
body.tech-body .assistant-panel nav a { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); color: #244651; font: 600 10px/1 var(--mono); }
body.tech-body .assistant-panel nav a:hover { color: var(--cyan); }
body.tech-body .assistant-email { display: block; margin-top: 18px; color: var(--cyan); font: 600 9px/1 var(--mono); }

@media (max-width: 1120px) {
  body.tech-body .story-sticky { grid-template-columns: 1fr; align-content: center; padding-top: 96px; }
  body.tech-body .story-heading { max-width: 900px; }
  body.tech-body .story-heading h2 { font-size: clamp(52px,9vw,100px); }
  body.tech-body .story-stage { min-height: 470px; }
  body.tech-body .story-core { width: min(330px,42vw); }
}

@media (max-width: 820px) {
  body.tech-body .story-scroll { height: 270svh; }
  body.tech-body .story-sticky { padding: 98px 20px 54px; gap: 20px; }
  body.tech-body .story-heading h2 { font-size: clamp(46px,13vw,78px); }
  body.tech-body .story-heading > p:last-child { margin-top: 24px; }
  body.tech-body .story-stage { min-height: 460px; }
  body.tech-body .story-core { width: min(250px,57vw); }
  body.tech-body .story-panel { width: min(220px,56%); padding: 16px; }
  body.tech-body .story-panel:nth-child(1) { top: 4%; }
  body.tech-body .story-panel:nth-child(2) { top: 31%; }
  body.tech-body .story-panel:nth-child(3) { bottom: 1%; }
  body.tech-body .story-panel h3 { font-size: 18px; }
  body.tech-body .story-panel p { display: none; }
  body.tech-body .assistant-trigger { min-width: 0; grid-template-columns: 58px; padding: 5px; }
  body.tech-body .assistant-trigger img { width: 58px; height: 58px; }
  body.tech-body .assistant-trigger > span { display: none; }
  body.tech-body .assistant-panel { width: min(320px,calc(100vw - 28px)); }
}

@media (max-width: 560px) {
  body.tech-body .story-heading > p:last-child { display: none; }
  body.tech-body .story-stage { min-height: 420px; }
  body.tech-body .story-core { width: 220px; }
  body.tech-body .story-panel { width: 184px; }
  body.tech-body .story-panel:nth-child(1) { left: -4px; }
  body.tech-body .story-panel:nth-child(2) { right: -4px; }
  body.tech-body .story-panel:nth-child(3) { right: 8%; }
  body.tech-body .signal-actions { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  body.tech-body .story-scroll { height: auto; }
  body.tech-body .story-sticky { position: relative; min-height: auto; grid-template-columns: 1fr; padding-top: 110px; }
  body.tech-body .story-stage { display: block; min-height: auto; }
  body.tech-body .story-core { margin: 50px auto; }
  body.tech-body .story-panels { position: relative; display: grid; gap: 12px; }
  body.tech-body .story-panel { position: relative; inset: auto !important; width: 100%; opacity: 1; transform: none; }
  body.tech-body .story-dots { display: none; }
}
