:root{
  --paper:#FAFAF8;
  --paper-dim:#F2F1EB;
  --ink:#15171C;
  --ink-soft:#3A3D46;
  --muted:#5B6478;
  --hairline:#E4E2DC;
  --cobalt:#2A3EE0;
  --cobalt-deep:#151F80;
  --cobalt-wash:#ECEEFC;
  --sidebar-w:220px;
  --maxw:760px;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  background:var(--paper);
  color:var(--ink);
  font-family:'IBM Plex Sans', sans-serif;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
::selection{background:var(--cobalt); color:#fff;}
a{color:inherit; text-decoration:none;}
.mono{font-family:'IBM Plex Mono', monospace;}
.serif{font-family:'Fraunces', serif;}

a:focus-visible, button:focus-visible, .navlink:focus-visible{
  outline:2px solid var(--cobalt); outline-offset:3px; border-radius:2px;
}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.001ms !important; transition-duration:0.001ms !important;}
}

/* Custom cursor accent */
#dot{
  position:fixed; width:8px; height:8px; border-radius:50%;
  background:var(--cobalt); pointer-events:none; z-index:9999;
  transform:translate(-50%,-50%);
  transition:opacity .3s ease, width .2s ease, height .2s ease, background .2s ease;
  opacity:0;
}
@media (hover:hover){ #dot{opacity:.85;} }
#dot.grow{ width:32px; height:32px; background:var(--cobalt-wash); mix-blend-mode:normal; }

/* Sidebar */
.sidebar{
  position:fixed; top:0; left:0; width:var(--sidebar-w); height:100vh;
  display:flex; flex-direction:column; justify-content:space-between;
  padding:36px 28px; border-right:1px solid var(--hairline);
  z-index:100; background:var(--paper);
}
.brand{ display:flex; flex-direction:column; gap:2px; }
.mark{
  width:34px; height:34px; border:1.5px solid var(--ink); border-radius:8px;
  display:flex; align-items:center; justify-content:center;
  font-family:'Fraunces',serif; font-weight:500; font-size:15px;
  margin-bottom:14px; position:relative; overflow:hidden;
}
.mark::after{
  content:''; position:absolute; bottom:5px; left:6px; width:14px; height:2px;
  background:var(--cobalt); animation:blink 1.4s steps(1) infinite;
}
@keyframes blink{ 50%{ opacity:0; } }
.brand-name{ font-size:13px; font-weight:600; letter-spacing:.01em; }
.brand-role{ font-size:11px; color:var(--muted); }

nav{ display:flex; flex-direction:column; gap:2px; margin-top:48px; }
.navlink{
  font-size:12.5px; padding:9px 0; color:var(--muted); position:relative;
  display:flex; align-items:center; gap:10px; letter-spacing:.01em;
  transition:color .25s ease; cursor:pointer;
}
.navlink .idx{ font-family:'IBM Plex Mono',monospace; font-size:10px; opacity:.6; }
.navlink::before{
  content:''; width:0; height:1px; background:var(--cobalt); transition:width .3s ease;
}
.navlink.active, .navlink:hover{ color:var(--ink); }
.navlink.active::before{ width:14px; }
.navlink.active .idx{ opacity:1; color:var(--cobalt); }
.navlink.resume{ margin-top:14px; padding-top:14px; border-top:1px solid var(--hairline); color:var(--ink); font-weight:500; }
.navlink.resume .idx{ opacity:1; }

.sidebar-foot{ display:flex; flex-direction:column; gap:14px; }
.status{
  display:flex; align-items:center; gap:7px; font-size:11px; color:var(--muted);
  font-family:'IBM Plex Mono',monospace;
}
.status .pulse{
  width:6px; height:6px; border-radius:50%; background:#3AA55C; position:relative;
}
.status .pulse::after{
  content:''; position:absolute; inset:0; border-radius:50%; background:#3AA55C;
  animation:pulse 2s ease-out infinite;
}
@keyframes pulse{ 0%{transform:scale(1); opacity:.7;} 100%{transform:scale(2.6); opacity:0;} }
.social-row{ display:flex; gap:14px; font-size:11px; color:var(--muted); }
.social-row a:hover{ color:var(--cobalt); }

/* Mobile topbar + menu */
.topbar{ display:none; }
.menu-btn{
  width:32px; height:32px; border:1px solid var(--hairline); border-radius:8px;
  background:transparent; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; cursor:pointer;
}
.menu-btn span{ width:14px; height:1.5px; background:var(--ink); transition:transform .25s ease, opacity .25s ease; }
.menu-btn.open span:nth-child(1){ transform:translateY(5.5px) rotate(45deg); }
.menu-btn.open span:nth-child(2){ opacity:0; }
.menu-btn.open span:nth-child(3){ transform:translateY(-5.5px) rotate(-45deg); }

.mobile-menu{
  position:fixed; top:57px; right:16px; width:264px;
  background:rgba(16,20,42,0.94);
  backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px);
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.12);
  z-index:200; overflow:hidden;
  box-shadow:0 16px 48px rgba(16,20,42,0.4), 0 4px 12px rgba(0,0,0,0.2);
  opacity:0; visibility:hidden; transform:translateY(-10px) scale(0.97);
  transition:opacity .22s ease, transform .22s ease, visibility .22s;
  pointer-events:none;
  display:none !important;
}
.mobile-menu.open{
  display:flex !important; flex-direction:column;
  opacity:1; visibility:visible;
  transform:translateY(0) scale(1);
  pointer-events:auto;
}
.mobile-menu a{
  display:flex; align-items:center; padding:14px 20px;
  font-family:'IBM Plex Sans',sans-serif; font-size:14px; font-weight:500;
  color:rgba(250,250,248,0.72);
  border-bottom:1px solid rgba(255,255,255,0.06);
  transition:color .15s ease, background .15s ease;
  letter-spacing:.005em;
}
.mobile-menu a:last-of-type{ border-bottom:none; }
.mobile-menu a:hover{ color:#FAFAF8; background:rgba(42,62,224,0.25); }
.mobile-menu .mm-idx{ display:none; }
.mobile-menu .mm-foot{
  padding:10px 20px; display:flex; justify-content:space-between;
  font-family:'IBM Plex Mono',monospace; font-size:10px;
  color:rgba(250,250,248,0.3);
  border-top:1px solid rgba(255,255,255,0.06);
  background:rgba(0,0,0,0.15);
}

/* Main */
main{ margin-left:var(--sidebar-w); }
section{ padding:120px 64px; border-bottom:1px solid var(--hairline); position:relative; }
.inner{ max-width:var(--maxw); }
.eyebrow{
  font-family:'IBM Plex Mono',monospace; font-size:11.5px; color:var(--cobalt);
  letter-spacing:.06em; text-transform:uppercase; display:flex; align-items:center; gap:8px; margin-bottom:22px;
}
.eyebrow::before{ content:''; width:20px; height:1px; background:var(--cobalt); }

/* HERO */
#home{ padding-top:150px; border-bottom:1px solid var(--hairline); min-height:92vh; display:flex; align-items:center; }
.hero-head{
  font-family:'Fraunces',serif; font-weight:400; font-size:clamp(40px, 5.4vw, 74px);
  line-height:1.08; letter-spacing:-.01em; max-width:820px;
}
.hero-head em{ font-style:italic; font-weight:500; color:var(--cobalt-deep); }
.word{ display:inline-block; overflow:hidden; }
.word span{ display:inline-block; transform:translateY(110%); }
.hero-sub{
  margin-top:28px; font-size:16.5px; color:var(--ink-soft); max-width:520px; line-height:1.65;
}
.hero-meta{
  margin-top:56px; display:flex; gap:48px; flex-wrap:wrap;
}
.hero-meta div{ font-family:'IBM Plex Mono',monospace; font-size:11.5px; color:var(--muted); }
.hero-meta strong{ display:block; font-family:'IBM Plex Sans',sans-serif; font-size:14px; color:var(--ink); font-weight:500; margin-bottom:4px; }
.stack-ticker{
  position:absolute; bottom:40px; left:64px; right:64px; overflow:hidden;
  border-top:1px solid var(--hairline); padding-top:16px;
}
.stack-track{ display:flex; gap:40px; white-space:nowrap; animation:ticker 26s linear infinite; }
.stack-track span{ font-family:'IBM Plex Mono',monospace; font-size:11.5px; color:var(--muted); }
@keyframes ticker{ from{transform:translateX(0);} to{transform:translateX(-50%);} }

/* Section titles */
.sec-title{
  font-family:'Fraunces',serif; font-weight:400; font-size:clamp(28px,3vw,40px);
  line-height:1.15; margin-bottom:52px; max-width:600px;
}

/* WORK / releases */
.release{
  display:grid; grid-template-columns:100px 1fr; gap:32px; padding:34px 0;
  border-top:1px solid var(--hairline);
}
.release:last-child{ border-bottom:none; }
.release .ver{ font-family:'IBM Plex Mono',monospace; font-size:12px; color:var(--cobalt); padding-top:4px; }
.release h3{ font-family:'Fraunces',serif; font-weight:500; font-size:23px; margin-bottom:8px; }
.release h3 a{ transition:color .2s ease; }
.release h3 a:hover{ color:var(--cobalt-deep); }
.release p{ color:var(--ink-soft); font-size:14.5px; line-height:1.65; max-width:520px; margin-bottom:14px; }
.tags{ display:flex; gap:8px; flex-wrap:wrap; }
.tag{
  font-family:'IBM Plex Mono',monospace; font-size:10.5px; padding:4px 9px; border:1px solid var(--hairline);
  border-radius:20px; color:var(--muted);
}
.release-visual{
  margin-top:16px; height:180px; border-radius:10px; background:var(--paper-dim);
  border:1px solid var(--hairline); position:relative; overflow:hidden;
}
.release-visual img{
  width:100%; height:100%; object-fit:cover; object-position:top center;
  transition:transform .4s ease, filter .4s ease; display:block;
}
.release:hover .release-visual img{
  transform:scale(1.02);
}
.release-link-row{ display:flex; gap:20px; align-items:center; margin-top:14px; flex-wrap:wrap; }
.live-link{ display:inline-flex; align-items:center; gap:6px; font-family:'IBM Plex Mono',monospace; font-size:11.5px; color:var(--cobalt); }
.read-link{ display:inline-flex; align-items:center; gap:6px; font-family:'IBM Plex Mono',monospace; font-size:11.5px; color:var(--ink); }
.read-link:hover, .live-link:hover{ text-decoration:underline; }

/* NOTES / blog */
.note{
  display:flex; justify-content:space-between; align-items:baseline; gap:24px;
  padding:22px 0; border-top:1px solid var(--hairline);
}
.note:last-child{ border-bottom:none; }
.note-left{ display:flex; flex-direction:column; gap:6px; flex:1; }
.note h3{ font-family:'Fraunces',serif; font-weight:400; font-size:19px; transition:color .2s ease; }
.note a:hover h3{ color:var(--cobalt-deep); }
.note .excerpt{ font-size:13.5px; color:var(--muted); max-width:460px; }
.note-meta{ font-family:'IBM Plex Mono',monospace; font-size:11px; color:var(--muted); text-align:right; white-space:nowrap; }
.note-arrow{ font-size:16px; color:var(--cobalt); opacity:0; transform:translateX(-6px); transition:all .2s ease; }
.note a:hover .note-arrow{ opacity:1; transform:translateX(0); }
.note-link{ display:flex; justify-content:space-between; align-items:baseline; gap:24px; width:100%; }

/* LOG / changelog */
.log-entry{ display:flex; gap:24px; padding:20px 0; border-top:1px solid var(--hairline); }
.log-entry:last-child{ border-bottom:none; }
.log-date{ font-family:'IBM Plex Mono',monospace; font-size:11px; color:var(--muted); width:90px; flex-shrink:0; padding-top:3px; }
.log-badge{
  font-family:'IBM Plex Mono',monospace; font-size:10px; font-weight:500; padding:3px 8px;
  border-radius:4px; height:fit-content; text-transform:uppercase; letter-spacing:.03em;
}
.badge-added{ background:#E7F5EC; color:#22823E; }
.badge-improved{ background:var(--cobalt-wash); color:var(--cobalt-deep); }
.badge-fixed{ background:#FDEEE8; color:#B04E29; }
.badge-refactored{ background:#F3E8FF; color:#6B21A8; }
.badge-security{ background:#FEF3C7; color:#92400E; }
.badge-shipped{ background:#D1FAE5; color:#065F46; }
.log-body p{ font-size:14.5px; color:var(--ink-soft); line-height:1.6; }
.log-body p strong{ color:var(--ink); font-weight:500; }
.log-row{ display:flex; gap:14px; align-items:flex-start; flex:1; }

/* ABOUT */
.about-grid{ display:grid; grid-template-columns:1.3fr .9fr; gap:64px; }
.about-text p{ font-size:15.5px; line-height:1.75; color:var(--ink-soft); margin-bottom:20px; max-width:520px; }
.about-text p:first-child{ font-family:'Fraunces',serif; font-size:21px; color:var(--ink); font-weight:400; line-height:1.5; }
.now-box{ border:1px solid var(--hairline); border-radius:12px; padding:24px; background:var(--paper-dim); height:fit-content; }
.now-box h4{ font-family:'IBM Plex Mono',monospace; font-size:11px; text-transform:uppercase; letter-spacing:.05em; color:var(--muted); margin-bottom:16px; }
.now-item{ display:flex; justify-content:space-between; align-items:flex-start; gap:20px; font-size:13px; padding:10px 0; border-top:1px solid var(--hairline); }
.now-item:first-of-type{ border-top:none; }
.now-label{ color:var(--ink-soft); width:80px; flex-shrink:0; display:inline-block; font-weight:500; }
.now-val{ font-family:'IBM Plex Mono',monospace; font-size:11.5px; color:var(--muted); text-align:right; flex:1; }

/* CONTACT */
#contact{ border-bottom:none; padding-bottom:80px; }
.contact-big{
  font-family:'Fraunces',serif; font-style:italic; font-weight:500;
  font-size:clamp(30px,4.2vw,56px); line-height:1.2; margin-bottom:48px; max-width:640px;
}
.contact-big a{ color:var(--cobalt); border-bottom:2px solid var(--cobalt-wash); transition:border-color .25s ease; }
.contact-big a:hover{ border-color:var(--cobalt); }
.contact-links{ display:flex; gap:40px; flex-wrap:wrap; margin-bottom:80px; }
.contact-links a{ font-family:'IBM Plex Mono',monospace; font-size:12.5px; color:var(--muted); display:flex; align-items:center; gap:8px; }
.contact-links a:hover{ color:var(--cobalt); }
footer{ display:flex; justify-content:space-between; font-family:'IBM Plex Mono',monospace; font-size:10.5px; color:var(--muted); padding-top:24px; border-top:1px solid var(--hairline); }

.reveal{ opacity:0; transform:translateY(28px); }

/* Magnetic button */
.btn{
  display:inline-flex; align-items:center; gap:8px; padding:12px 22px; border-radius:30px;
  border:1px solid var(--ink); font-size:13px; font-weight:500; cursor:pointer; background:transparent;
  transition:background .25s ease, color .25s ease;
}
.btn:hover{ background:var(--ink); color:var(--paper); }

/* SUBPAGES (release + note detail) */
.subpage main{ margin-left:var(--sidebar-w); }
.subpage-header{ padding:150px 64px 0; }
.back-link{
  display:inline-flex; align-items:center; gap:8px; font-family:'IBM Plex Mono',monospace;
  font-size:12px; color:var(--muted); margin-bottom:40px; transition:color .2s ease;
}
.back-link:hover{ color:var(--cobalt); }
.subpage-title{
  font-family:'Fraunces',serif; font-weight:400; font-size:clamp(32px,4.4vw,54px);
  line-height:1.1; max-width:760px; margin-bottom:20px;
}
.subpage-meta{ display:flex; gap:24px; flex-wrap:wrap; margin-bottom:56px; }
.subpage-meta span{ font-family:'IBM Plex Mono',monospace; font-size:11.5px; color:var(--muted); }
.subpage-body{ padding:0 64px 120px; max-width:760px; }
.subpage-body h2{ font-family:'Fraunces',serif; font-weight:500; font-size:24px; margin:48px 0 18px; }
.subpage-body p{ font-size:15.5px; line-height:1.8; color:var(--ink-soft); margin-bottom:18px; max-width:660px; }
.subpage-body ul{ margin:0 0 24px 0; padding-left:0; list-style:none; max-width:660px; }
.subpage-body li{
  font-size:14.5px; color:var(--ink-soft); line-height:1.7; padding:12px 0 12px 22px;
  border-top:1px solid var(--hairline); position:relative;
}
.subpage-body li:first-child{ border-top:none; }
.subpage-body li::before{ content:'→'; position:absolute; left:0; color:var(--cobalt); }
.subpage-body li strong{ color:var(--ink); font-weight:500; }
.hero-visual{
  margin:0 64px 60px; height:280px; border-radius:14px;
  background:linear-gradient(135deg, var(--cobalt-wash), var(--paper-dim));
  border:1px solid var(--hairline); position:relative; overflow:hidden;
}
.hero-visual::after{
  content:''; position:absolute; inset:0;
  background:repeating-linear-gradient(90deg, transparent, transparent 30px, rgba(21,23,28,.04) 31px);
}
.placeholder-note{
  border:1px dashed var(--hairline); border-radius:10px; padding:22px 24px; margin:0 64px 40px;
  font-family:'IBM Plex Mono',monospace; font-size:12px; color:var(--muted); max-width:660px;
  background:var(--paper-dim);
}
.subpage-nav{ display:flex; justify-content:space-between; padding:32px 64px 100px; border-top:1px solid var(--hairline); margin-top:40px; }
.subpage-nav a{ font-family:'IBM Plex Mono',monospace; font-size:12px; color:var(--muted); }
.subpage-nav a:hover{ color:var(--cobalt); }

/* STACK SECTION */
.stack-categories{ display:flex; flex-direction:column; gap:0; max-width:720px; }
.stack-category{ padding:28px 0; border-top:1px solid var(--hairline); }
.stack-category:last-child{ border-bottom:none; }
.stack-category-label{
  font-family:'IBM Plex Mono',monospace; font-size:10.5px; color:var(--cobalt);
  text-transform:uppercase; letter-spacing:.08em; margin-bottom:16px;
}
.stack-rows{ display:flex; flex-direction:column; gap:0; }
.stack-row{
  display:grid; grid-template-columns:160px 1fr; gap:24px;
  padding:10px 0; align-items:baseline;
}
.stack-row + .stack-row{ border-top:1px solid var(--hairline); }
.stack-name{
  font-family:'IBM Plex Mono',monospace; font-size:12px; color:var(--ink); font-weight:500;
  display:flex; align-items:center; gap:8px;
}
.stack-name::before{ content:''; width:5px; height:5px; border-radius:50%; background:var(--cobalt); flex-shrink:0; }
.stack-why{ font-size:13.5px; color:var(--ink-soft); line-height:1.6; }

/* ARCHITECTURE SECTION */
.arch-intro{ font-size:15.5px; color:var(--ink-soft); line-height:1.75; max-width:560px; margin-bottom:52px; }
.arch-panels{ display:flex; flex-direction:column; gap:24px; max-width:760px; }
.arch-panel{
  border:1px solid var(--hairline); border-radius:12px; overflow:hidden;
  background:var(--paper);
}
.arch-panel-head{
  padding:16px 22px; border-bottom:1px solid var(--hairline);
  display:flex; align-items:center; justify-content:space-between;
  background:var(--paper-dim);
}
.arch-panel-title{
  font-family:'IBM Plex Mono',monospace; font-size:11.5px; color:var(--ink); font-weight:500;
  display:flex; align-items:center; gap:10px;
}
.arch-panel-title .arch-dot{
  width:8px; height:8px; border-radius:50%; background:var(--cobalt); opacity:.7;
}
.arch-panel-badge{
  font-family:'IBM Plex Mono',monospace; font-size:10px; padding:3px 8px;
  border:1px solid var(--hairline); border-radius:4px; color:var(--muted);
  text-transform:uppercase; letter-spacing:.04em;
}
.arch-panel-body{ padding:24px 22px; }
.arch-tier-list{ display:flex; flex-direction:column; gap:0; }
.arch-tier{
  display:grid; grid-template-columns:180px 1fr; gap:20px;
  padding:12px 0; border-top:1px solid var(--hairline); align-items:start;
}
.arch-tier:first-child{ border-top:none; }
.arch-tier-name{
  font-family:'IBM Plex Mono',monospace; font-size:11.5px; color:var(--cobalt); font-weight:500;
}
.arch-tier-desc{ font-size:13.5px; color:var(--ink-soft); line-height:1.65; }
.arch-features-grid{
  display:grid; grid-template-columns:1fr 1fr; gap:12px;
}
.arch-feature{
  border:1px solid var(--hairline); border-radius:8px; padding:14px 16px;
  display:flex; flex-direction:column; gap:4px;
}
.arch-feature-name{
  font-family:'IBM Plex Mono',monospace; font-size:11px; color:var(--ink); font-weight:500;
}
.arch-feature-desc{ font-size:12.5px; color:var(--muted); line-height:1.55; }

/* PRINCIPLES SECTION */
.principles-list{ display:flex; flex-direction:column; gap:0; max-width:720px; }
.principle-item{
  display:grid; grid-template-columns:64px 1fr; gap:24px;
  padding:36px 0; border-top:1px solid var(--hairline); align-items:start;
}
.principle-item:last-child{ border-bottom:none; }
.principle-num{
  font-family:'Fraunces',serif; font-size:clamp(36px,4vw,52px);
  color:var(--cobalt-wash); font-weight:400; line-height:1; letter-spacing:-.02em;
  user-select:none;
}
.principle-body{ padding-top:6px; }
.principle-stmt{
  font-family:'Fraunces',serif; font-weight:400; font-size:clamp(20px,2.2vw,27px);
  color:var(--ink); line-height:1.25; margin-bottom:10px; letter-spacing:-.005em;
}
.principle-expand{ font-size:14px; color:var(--ink-soft); line-height:1.7; max-width:520px; }

/* SUBPAGE table styles */
.subpage-body table{
  width:100%; border-collapse:collapse; margin:0 0 32px; font-size:13px;
}
.subpage-body th{
  font-family:'IBM Plex Mono',monospace; font-size:10.5px; text-transform:uppercase;
  letter-spacing:.05em; color:var(--muted); font-weight:500;
  padding:10px 14px; text-align:left; border-bottom:1px solid var(--hairline);
  background:var(--paper-dim);
}
.subpage-body td{
  padding:12px 14px; border-bottom:1px solid var(--hairline); color:var(--ink-soft);
  line-height:1.55; vertical-align:top;
}
.subpage-body td strong{ color:var(--ink); font-weight:500; }
.subpage-body td code{
  font-family:'IBM Plex Mono',monospace; font-size:11.5px; background:var(--paper-dim);
  padding:2px 6px; border-radius:4px; color:var(--cobalt);
}
.subpage-body tr:last-child td{ border-bottom:none; }
.subpage-body .table-wrap{
  border:1px solid var(--hairline); border-radius:10px; overflow:hidden; margin:0 0 32px;
}
.subpage-body .table-wrap table{ margin:0; }
.subpage-body .info-block{
  border:1px solid var(--hairline); border-radius:10px; padding:20px 22px;
  margin:0 0 28px; background:var(--paper-dim);
  font-family:'IBM Plex Mono',monospace; font-size:12px; color:var(--muted); line-height:1.7;
}
.subpage-body .pillar-list{
  display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:0 0 32px;
}
.subpage-body .pillar{
  border:1px solid var(--hairline); border-radius:8px; padding:14px 16px;
}
.subpage-body .pillar-title{
  font-family:'IBM Plex Mono',monospace; font-size:11px; color:var(--cobalt);
  font-weight:500; margin-bottom:4px;
}
.subpage-body .pillar-desc{ font-size:13px; color:var(--ink-soft); line-height:1.55; }

/* EXPERIENCE / TIMELINE SECTION */
.timeline{ display:flex; flex-direction:column; gap:0; max-width:760px; }
.timeline-item{
  display:grid; grid-template-columns:140px 1fr; gap:40px;
  padding:40px 0; border-top:1px solid var(--hairline);
}
.timeline-item:last-child{ border-bottom:none; }
.timeline-date{
  font-family:'IBM Plex Mono',monospace; font-size:11px; color:var(--muted);
  padding-top:5px; line-height:1.7; flex-shrink:0;
}
.tl-type{
  display:block; margin-top:6px; font-family:'IBM Plex Mono',monospace;
  font-size:10px; color:var(--cobalt); text-transform:uppercase;
  letter-spacing:.07em;
}
.timeline-role{
  font-family:'Fraunces',serif; font-weight:500; font-size:21px;
  color:var(--ink); line-height:1.2; margin-bottom:3px;
}
.timeline-company{
  font-size:13.5px; color:var(--muted); margin-bottom:14px;
  font-family:'IBM Plex Mono',monospace; font-size:12px;
}
.nested-roles{ display:flex; flex-direction:column; gap:28px; margin-top:20px; }
.nested-role-block{
  padding-left:18px; border-left:2px solid var(--hairline);
  transition:border-color .2s ease;
}
.nested-role-block:hover{ border-left-color:var(--cobalt); }
.nested-role-title{
  font-family:'Fraunces',serif; font-weight:500; font-size:17px;
  color:var(--ink); margin-bottom:4px; display:flex; align-items:center; gap:8px;
}
.nested-role-badge{
  font-family:'IBM Plex Mono',monospace; font-size:10px; color:var(--cobalt);
  background:var(--cobalt-wash); padding:2px 7px; border-radius:4px;
  font-weight:400; text-transform:uppercase; letter-spacing:.05em;
}
.timeline-desc{
  font-size:14.5px; color:var(--ink-soft); line-height:1.72;
  max-width:520px; margin-bottom:14px;
}
.timeline-highlights{
  display:flex; gap:10px; flex-wrap:wrap; margin-bottom:14px;
}
.timeline-highlight{
  font-family:'IBM Plex Mono',monospace; font-size:11px;
  color:var(--cobalt); background:var(--cobalt-wash);
  padding:3px 9px; border-radius:20px; display:inline-flex;
  align-items:center; gap:4px;
}
.timeline-highlight::before{ content:'→'; opacity:.6; }

.edu-strip{
  margin-top:0; padding:28px 0;
  border-top:1px solid var(--hairline);
  display:grid; grid-template-columns:140px 1fr; gap:40px;
  background:transparent;
}
.edu-strip .edu-label{
  font-family:'IBM Plex Mono',monospace; font-size:10.5px;
  color:var(--cobalt); text-transform:uppercase; letter-spacing:.07em;
  padding-top:5px;
}
.edu-degree{
  font-family:'Fraunces',serif; font-weight:400; font-size:20px;
  color:var(--ink); margin-bottom:4px;
}
.edu-school{ font-family:'IBM Plex Mono',monospace; font-size:12px; color:var(--muted); margin-bottom:8px; }
.edu-meta{ display:flex; gap:10px; flex-wrap:wrap; }
.edu-badge{
  font-family:'IBM Plex Mono',monospace; font-size:10.5px;
  padding:3px 9px; border:1px solid var(--hairline);
  border-radius:20px; color:var(--muted);
}
.edu-badge.gold{ border-color:#C9A84C; color:#9A7230; background:#FDFAED; }

@media (max-width: 900px){
  .sidebar{ display:none; }
  .topbar{
    display:flex; position:sticky; top:0; z-index:100; background:var(--paper);
    border-bottom:1px solid var(--hairline); padding:16px 20px; align-items:center; justify-content:space-between;
  }
  .mobile-menu{ display:block; }
  main, .subpage main{ margin-left:0; }
  section{ padding:64px 24px; }
  .about-grid{ grid-template-columns:1fr; }
  .release{ grid-template-columns:1fr; gap:10px; }
  .stack-ticker{ left:24px; right:24px; }
  .subpage-header{ padding:40px 24px 0; }
  .subpage-body{ padding:0 24px 80px; }
  .hero-visual{ margin:0 24px 40px; height:180px; }
  .placeholder-note{ margin:0 24px 32px; }
  .subpage-nav{ padding:24px 24px 64px; flex-direction:column; gap:12px; }
  #home{ padding-top:100px; padding-bottom:120px; min-height:auto; display:block; }
  .hero-meta{ margin-top:36px; margin-bottom:48px; gap:24px; }
  .hero-meta div{ font-size:11px; }
  .hero-meta strong{ font-size:13px; margin-bottom:2px; }
  .stack-ticker{ position:relative; bottom:auto; left:0; right:0; margin-top:20px; }
  .stack-row{ grid-template-columns:1fr; gap:4px; }
  .arch-tier{ grid-template-columns:1fr; gap:6px; }
  .arch-features-grid{ grid-template-columns:1fr; }
  .principle-item{ grid-template-columns:44px 1fr; gap:16px; }
  .timeline-item{ grid-template-columns:1fr; gap:8px; padding:28px 0; }
  .edu-strip{ grid-template-columns:1fr; gap:8px; }
  .timeline-highlights{ gap:8px; }
  .subpage-body .pillar-list{ grid-template-columns:1fr; }
  .subpage-body table{ font-size:12px; }
  .subpage-body th, .subpage-body td{ padding:10px 12px; }
  #contact{ padding-bottom:40px; }
  .contact-big{ font-size:clamp(22px,6vw,32px); margin-bottom:28px; line-height:1.25; }
  .contact-links{ gap:20px; margin-bottom:40px; }
}
