
:root{
  color-scheme:dark;
  --bg:#05070a;
  --bg-elev:#090d12;
  --surface:#0b1016;
  --surface-2:#0e141b;
  --surface-3:#121922;
  --text:#f3f6fa;
  --muted:#9aa6b5;
  --muted-2:#687585;
  --line:#1a222d;
  --line-strong:#252f3c;
  --accent:#78a8ff;
  --accent-2:#4e8cff;
  --good:#58c77d;
  --max:1440px;
  --radius:24px;
  --radius-sm:14px;
  --shadow:0 30px 90px rgba(0,0,0,.36);
}
html[data-theme="light"]{
  color-scheme:light;
  --bg:#f4f6f9;
  --bg-elev:#fbfcfe;
  --surface:#ffffff;
  --surface-2:#ffffff;
  --surface-3:#f8fafc;
  --text:#101d2d;
  --muted:#647286;
  --muted-2:#7d8998;
  --line:#e0e6ee;
  --line-strong:#d4dce6;
  --accent:#0f5fe9;
  --accent-2:#0b55d0;
  --good:#2c8e44;
  --shadow:0 24px 70px rgba(24,38,55,.10);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-width:320px;
  overflow-x:hidden;
  color:var(--text);
  background:var(--bg);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
.container{
  width:min(calc(100% - 56px),var(--max));
  margin-inline:auto;
  min-width:0;
}
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  height:74px;
  border-bottom:1px solid var(--line);
  background:color-mix(in srgb,var(--bg) 86%,transparent);
  backdrop-filter:blur(20px);
}
.nav{
  height:74px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  min-width:0;
}
.brand{
  display:flex;align-items:center;gap:11px;
  font-size:13px;font-weight:850;letter-spacing:-.02em;
  white-space:nowrap;
}
.brand-mark{
  width:36px;height:36px;border-radius:11px;
  display:grid;place-items:center;
  background:var(--text);color:var(--bg);
  font-size:11px;font-weight:900;
}
.nav-right{display:flex;align-items:center;gap:7px;min-width:0}
.nav-links{display:flex;align-items:center;gap:3px;min-width:0}
.nav-link{
  padding:9px 11px;
  border-radius:10px;
  color:var(--muted);
  font-size:13.5px;
  white-space:nowrap;
}
.nav-link:hover,.nav-link.active{background:var(--surface);color:var(--text)}
.icon-btn,.menu-btn{
  width:38px;height:38px;border:1px solid var(--line);
  border-radius:11px;background:var(--surface);color:var(--text);
  display:grid;place-items:center;cursor:pointer;
}
.menu-btn{display:none}
.panel{
  min-width:0;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.btn{
  min-height:43px;
  padding:0 14px;
  border-radius:12px;
  border:1px solid var(--line-strong);
  background:var(--surface-2);
  color:var(--text);
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-size:11px;font-weight:850;
  cursor:pointer;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.btn:hover{transform:translateY(-1px);box-shadow:0 9px 22px rgba(0,0,0,.13)}
.btn.primary{background:var(--text);color:var(--bg);border-color:var(--text)}
.eyebrow{font-size:10px;letter-spacing:.16em;text-transform:uppercase;font-weight:850;color:var(--muted-2)}
.tags{display:flex;flex-wrap:wrap;gap:6px}
.tag{
  display:inline-flex;align-items:center;
  padding:6px 8px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--surface-3);
  color:var(--muted);
  font-size:9px;font-weight:760;
}
[data-tip]{position:relative}
[data-tip]::after{
  content:attr(data-tip);
  position:absolute;
  left:50%;bottom:calc(100% + 9px);
  transform:translate(-50%,4px);
  width:max-content;max-width:330px;
  padding:9px 11px;
  border-radius:9px;
  background:#10151c;color:#fff;
  font-size:10px;line-height:1.4;font-weight:650;
  opacity:0;pointer-events:none;z-index:80;
  box-shadow:0 14px 30px rgba(0,0,0,.28);
  transition:.16s ease;
}
[data-tip]:hover::after{opacity:1;transform:translate(-50%,0)}

/* HOME */
.home{
  min-height:calc(100svh - 74px);
  display:grid;
  align-items:center;
  padding:34px 0 56px;
}
.resume{
  display:grid;
  grid-template-columns:340px minmax(0,1fr);
  gap:18px;
  min-width:0;
}
.profile{
  padding:24px;
  min-height:690px;
  min-width:0;
  display:flex;
  flex-direction:column;
}
.availability{
  display:inline-flex;align-items:center;gap:8px;
  width:max-content;
  padding:7px 10px;border-radius:999px;
  background:color-mix(in srgb,var(--good) 10%,transparent);
  color:var(--good);
  font-size:9px;font-weight:800;
}
.dot{width:7px;height:7px;border-radius:50%;background:var(--good)}
.profile-photo{
  width:100%;
  aspect-ratio:1;
  object-fit:cover;
  border-radius:19px;
  margin:19px 0 17px;
  border:1px solid var(--line);
  background:var(--surface-2);
}
.profile h2{margin:0;font-size:31px;line-height:1;letter-spacing:-.05em}
.role{margin:8px 0 0;font-size:11px;line-height:1.48;color:var(--muted);font-weight:650}
.location{margin:10px 0 20px;color:var(--muted-2);font-size:10px}
.contact-list{display:grid;gap:7px;margin-top:auto;min-width:0}
.contact{
  display:flex;justify-content:space-between;gap:9px;
  min-width:0;padding:10px 11px;
  border:1px solid var(--line);border-radius:10px;background:var(--surface-2);
  font-size:12.5px;
}
.contact span:last-child{
  min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  color:var(--muted);font-weight:700;text-align:right;
}
.actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:9px}
.resume-link{width:100%;margin-top:7px}

.resume-main{padding:28px;min-width:0;min-height:690px}
.hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.22fr) minmax(260px,.48fr);
  gap:26px;
  align-items:end;
  min-width:0;
}
.hero-copy{min-width:0}
.hero-copy h1{
  margin:10px 0 13px;
  max-width:880px;
  font-size:clamp(52px,4.45vw,74px);
  line-height:1.015;
  letter-spacing:-.048em; /* deliberately more open than before */
  font-weight:760;
  overflow-wrap:normal;
  word-break:normal;
}
.accent{color:var(--accent)}
.hero-copy p{
  margin:0;
  max-width:760px;
  font-size:14px;line-height:1.72;color:var(--muted);
}
.hero-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}
.quote{min-width:0;padding:19px;border:1px solid var(--line);border-radius:16px;background:var(--surface-2)}
.quote strong{font-size:9px;color:var(--muted-2)}
.quote p{margin:9px 0 0;font:17px/1.48 Georgia,"Times New Roman",serif}
.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:16px}
.metric{min-width:0;padding:14px 15px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2)}
.metric b{font-size:25px;letter-spacing:-.04em}
.metric span{display:block;margin-top:5px;color:var(--muted-2);font-size:8px}
.two-col{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:8px;margin-top:8px}
.info-card{min-width:0;padding:15px;border:1px solid var(--line);border-radius:15px;background:var(--surface-2)}
.info-card h3{margin:0 0 9px;font-size:10px}
.philosophy{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.phi{min-width:0;padding:10px;border:1px solid var(--line);border-radius:12px;background:color-mix(in srgb,var(--surface-2) 88%,var(--bg))}
.phi .num{font-size:8px;color:var(--muted-2);font-weight:800}
.phi h4{margin:5px 0 5px;font-size:10px}
.phi p{margin:0;color:var(--muted);font-size:8px;line-height:1.48}
.focus-copy{margin:8px 0 0;color:var(--muted);font-size:9px;line-height:1.52}
.explore-card{margin-top:8px}
.explore-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}
.explore{min-width:0;padding:10px;border:1px solid var(--line);border-radius:11px;background:var(--surface-2)}
.explore b{display:block;font-size:9px;overflow-wrap:anywhere}
.explore span{display:block;margin-top:3px;color:var(--muted-2);font-size:8px;line-height:1.36}
.footer-strip{display:flex;justify-content:space-between;gap:10px;margin-top:8px;padding-top:8px;border-top:1px solid var(--line);color:var(--muted-2);font-size:8px}

/* PAGES */
.subpage{padding:48px 0 78px;min-height:calc(100svh - 74px)}
.section-head{
  display:flex;justify-content:space-between;align-items:end;gap:24px;
  margin-bottom:20px;
}
.section-head h1{margin:8px 0 0;font-size:48px;line-height:1;letter-spacing:-.058em}
.section-head p{margin:10px 0 0;max-width:720px;color:var(--muted);font-size:12px;line-height:1.65}
.search{
  width:270px;flex:0 0 270px;height:42px;
  padding:0 12px;border:1px solid var(--line);border-radius:11px;
  background:var(--surface);color:var(--text);outline:0;font-size:10px;
}
.search::placeholder{color:var(--muted-2)}
.search:focus{border-color:color-mix(in srgb,var(--accent) 55%,var(--line));box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 10%,transparent)}
.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.project{
  min-width:0;min-height:270px;padding:20px;
  border:1px solid var(--line);border-radius:18px;background:var(--surface);
  display:flex;flex-direction:column;
}
.project .index{font-size:8px;letter-spacing:.1em;color:var(--muted-2);font-weight:850}
.project h2{margin:9px 0 8px;font-size:26px;letter-spacing:-.045em}
.project .summary{margin:0;color:var(--muted);font-size:12px;line-height:1.62}
.project-meta{display:flex;flex-wrap:wrap;gap:5px;margin-top:auto;padding-top:14px}
.stack{margin-top:9px;color:var(--muted-2);font-size:9px;line-height:1.45}
.project-actions{display:flex;gap:6px;margin-top:10px}
.small-btn{padding:8px 10px;border-radius:9px;border:1px solid var(--line);background:var(--surface-2);font-size:9px;font-weight:800}.small-btn:hover{color:var(--accent)}
.empty{display:none;margin-top:10px;padding:26px;text-align:center;border:1px dashed var(--line-strong);border-radius:14px;color:var(--muted)}
.blog-list{display:grid;gap:9px}
.post{
  display:grid;grid-template-columns:90px minmax(0,1fr) 30px;gap:16px;align-items:center;
  min-width:0;padding:16px 17px;
  border:1px solid var(--line);border-radius:16px;background:var(--surface);
}
.post .date{font-size:9px;line-height:1.45;color:var(--muted-2);font-weight:800}
.post h2{margin:0;font-size:18px;letter-spacing:-.03em}
.post p{margin:6px 0 0;color:var(--muted);font-size:11px;line-height:1.52}
.arrow{width:29px;height:29px;border-radius:9px;display:grid;place-items:center;background:var(--surface-2);color:var(--muted)}
.end{padding:0 0 70px}.end-panel{padding:24px;display:flex;justify-content:space-between;align-items:center;gap:28px}.end-panel h2{margin:6px 0;font-size:29px;letter-spacing:-.045em}.end-panel p{margin:0;max-width:760px;color:var(--muted);font-size:11px;line-height:1.65}

/* ARTICLES */
.article{
  width:min(calc(100% - 56px),920px);
  margin-inline:auto;
  padding:52px 0 80px;
}
.article-meta{font-size:10px;color:var(--muted-2);margin:8px 0 17px;font-weight:800}
.article h1{
  margin:0 0 16px;
  font-size:clamp(44px,6vw,70px);
  line-height:1.02;
  letter-spacing:-.045em;
}
.article-dek{margin:0 0 26px;color:var(--muted);font-size:15px;line-height:1.7}
.article-body{
  padding-top:24px;
  border-top:1px solid var(--line);
}
.article-body > p,.article-body > h2,.article-body > h3,.article-body > ol,.article-body > ul,.article-body > pre,.article-body > .diagram,.article-body > .table-wrapper{
  max-width:100%;
}
.article-body p{
  margin:0 0 24px;
  color:var(--muted);
  font-size:15px;
  line-height:1.9;
}
.article-body h2{
  margin:42px 0 13px;
  font-size:27px;
  line-height:1.2;
  letter-spacing:-.035em;
}
.article-body h3{
  margin:30px 0 9px;
  font-size:20px;
  letter-spacing:-.025em;
}
.article-body ol,.article-body ul{padding-left:24px;margin:6px 0 26px;color:var(--muted);font-size:15px;line-height:1.9}
.article-body li{padding-left:4px;margin:4px 0}
.article-body code{
  font-family:"SFMono-Regular",Consolas,"Liberation Mono",monospace;
  font-size:.88em;
  color:var(--text);
  background:var(--surface-3);
  border:1px solid var(--line);
  padding:2px 5px;border-radius:5px;
}
.article-body pre,.article-body .diagram{
  overflow:auto;
  margin:20px 0 28px;
  padding:0;
  border:1px solid var(--line);
  border-radius:13px;
  background:#070b10;
  color:#dbe4f0;
  font:12px/1.6 "SFMono-Regular",Consolas,"Liberation Mono",monospace;
}
.article-body pre{
  padding:16px 18px;
}
.article-body pre .code-header{
  margin:-16px -18px 12px;
  padding:7px 12px;
  border-bottom:1px solid var(--line);
  color:#7f8ea1;
  font:9px/1.2 Inter,system-ui,sans-serif;
  letter-spacing:.1em;text-transform:uppercase;font-weight:800;
}
.article-body .diagram{
  white-space:pre;
  padding:16px 18px;
}
.table-wrapper{overflow:auto;margin:22px 0 30px;border:1px solid var(--line);border-radius:13px}
.article-body table{width:100%;min-width:680px;border-collapse:collapse;font-size:11px;color:var(--muted)}
.article-body th,.article-body td{padding:10px 11px;border-bottom:1px solid var(--line);vertical-align:top;text-align:left}
.article-body th{font-size:9px;text-transform:uppercase;letter-spacing:.06em;color:var(--text);background:var(--surface-2)}
.article-body tr:last-child td{border-bottom:0}
.article-body strong{color:var(--text)}
.article-footer{display:flex;justify-content:space-between;gap:15px;margin-top:45px;padding-top:18px;border-top:1px solid var(--line);color:var(--muted-2);font-size:10px}

@media(max-width:1180px){
  .container{width:min(calc(100% - 40px),var(--max))}
  .resume{grid-template-columns:320px minmax(0,1fr)}
  .profile,.resume-main{min-height:650px}
  .hero-grid{grid-template-columns:1fr}
  .quote{max-width:none}
  .explore-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
  .home{align-items:start}
  .resume{grid-template-columns:1fr}
  .profile{
    display:grid;
    grid-template-columns:160px minmax(0,1fr);
    gap:15px;
    min-height:auto;
  }
  .availability{grid-column:1/-1}
  .profile-photo{grid-column:1;grid-row:2 / span 3;width:160px;margin:0}
  .profile-info{grid-column:2}
  .contact-list,.actions,.resume-link{grid-column:1/-1}
  .profile{padding:19px}
  .resume-main{min-height:auto;padding:20px}
  .hero-copy h1{font-size:clamp(43px,7vw,66px)}
  .two-col{grid-template-columns:1fr}
}
@media(max-width:760px){
  .container,.article{width:min(calc(100% - 24px),var(--max))}
  .site-header,.nav{height:64px}
  .nav-links{
    display:none;
    position:absolute;top:59px;left:12px;right:12px;
    padding:7px;flex-direction:column;align-items:stretch;
    border:1px solid var(--line);border-radius:13px;background:var(--surface);box-shadow:var(--shadow);
  }
  .nav-links.open{display:flex}.nav-link{padding:10px 11px}.menu-btn{display:grid}
  .home{padding:16px 0 34px}
  .metrics{grid-template-columns:1fr 1fr}
  .philosophy{grid-template-columns:1fr}
  .explore-grid{grid-template-columns:1fr 1fr}
  .subpage{padding:30px 0 50px}
  .section-head{display:block}.section-head h1{font-size:40px}
  .search{width:100%;margin-top:16px}.project-grid{grid-template-columns:1fr}
  .post{grid-template-columns:minmax(0,1fr) 29px}.post .date{grid-column:1/-1}
  .end-panel{display:grid;grid-template-columns:1fr}.actions{grid-template-columns:1fr}
  .article{padding:34px 0 55px}.article h1{font-size:42px}.article-body p,.article-body ol,.article-body ul{font-size:14px;line-height:1.8}
}
@media(max-width:430px){
  .profile{grid-template-columns:88px minmax(0,1fr)}.profile-photo{width:88px}
  .profile h2{font-size:25px}.hero-copy h1{font-size:35px;letter-spacing:-.038em}
  .explore-grid{grid-template-columns:1fr}.article h1{font-size:38px}
}


/* ===== Final readability + code rendering pass ===== */
.container{width:min(calc(100% - 48px),1320px)}
.project-grid{gap:14px}
.project{min-height:285px;padding:22px}
.project .index{font-size:9px}
.project h2{font-size:32px;letter-spacing:-.045em;margin:11px 0 9px}
.project .summary{font-size:14px;line-height:1.72;max-width:95%}
.project-meta{gap:6px;padding-top:16px}
.project .tag{font-size:10px;padding:7px 9px}
.stack{font-size:11px;line-height:1.5;margin-top:10px}
.small-btn{font-size:10px;padding:8px 11px}
.section-head h1{font-size:54px}
.section-head p{font-size:14px;line-height:1.7}
.search{font-size:12px;height:45px}
.post{padding:18px 19px;grid-template-columns:92px minmax(0,1fr) 34px;gap:17px}
.post .date{font-size:10px;line-height:1.55}
.post h2{font-size:20px;letter-spacing:-.03em}
.post p{font-size:12px;line-height:1.6;margin-top:6px}
.post .tag{font-size:9px;padding:6px 8px}
.arrow{width:30px;height:30px}

/* Article readability. */
.article{width:min(calc(100% - 48px),1000px);padding:58px 0 90px}
.article-meta,.art-meta{font-size:12px}
.article-title,.article h1{font-size:clamp(50px,6vw,78px);line-height:1.02;letter-spacing:-.048em;max-width:980px}
.article-body{padding-top:30px;margin-top:24px}
.article-body > p,.article-body > h2,.article-body > h3,.article-body > ol,.article-body > ul,.article-body > pre,.article-body > .diagram,.article-body > .table-wrapper{max-width:100%}
.article-body p{font-size:17px;line-height:1.92;margin:0 0 28px}
.article-body h2{font-size:34px;line-height:1.18;margin:52px 0 15px;letter-spacing:-.04em}
.article-body h3{font-size:24px;line-height:1.25;margin:34px 0 10px;letter-spacing:-.025em}
.article-body ol,.article-body ul{font-size:17px;line-height:1.85;padding-left:30px;margin:8px 0 32px}
.article-body li{margin:6px 0;padding-left:6px}
.article-body code{font-size:.86em;padding:2px 5px;border-radius:5px}

/* Never let generic inline-code styling paint every token in a code block. */
.article-body pre code,
.article-body pre code *{background:transparent !important;border:0 !important;padding:0 !important;color:inherit !important}
.article-body pre,.article-body .diagram{overflow:auto;margin:24px 0 34px;border:1px solid var(--line);border-radius:14px;background:#06090d;color:#e8eef6;font:14px/1.72 "SFMono-Regular",Consolas,"Liberation Mono",monospace;box-shadow:0 12px 32px rgba(0,0,0,.12)}
.article-body pre{padding:18px 20px;white-space:pre;tab-size:2}
.article-body .diagram{padding:18px 20px;white-space:pre}
.article-body pre .code-header{margin:-18px -20px 14px;padding:8px 12px;background:#0c1219;border-bottom:1px solid #202b38;color:#9aa8ba;font:10px/1.2 Inter,system-ui,sans-serif;letter-spacing:.11em;text-transform:uppercase;font-weight:800}
.article-body .table-wrapper{overflow:auto;margin:26px 0 34px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.article-body table{width:100%;min-width:760px;border-collapse:collapse;font-size:13px;color:var(--muted)}
.article-body th,.article-body td{padding:12px 13px;border-bottom:1px solid var(--line);vertical-align:top;text-align:left}
.article-body th{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--text);background:var(--surface-2)}
.article-body strong{color:var(--text)}

/* Light mode: code blocks stay purposefully code-editor-like, but content is readable. */
html[data-theme="light"] .article-body pre,
html[data-theme="light"] .article-body .diagram{background:#0b1016;color:#e9eef5;border-color:#1e2834}
html[data-theme="light"] .article-body pre .code-header{background:#111821;border-color:#283544;color:#aab6c4}
html[data-theme="light"] .article-body code:not(pre code){background:#eef2f6;border-color:#d7dee7;color:#233047}
html[data-theme="dark"] .article-body code:not(pre code){background:#111923;border-color:#263546;color:#dce5ef}

@media(max-width:1080px){
  .container{width:min(calc(100% - 40px),1240px)}
  .project{min-height:260px}
  .project h2{font-size:29px}
  .section-head h1{font-size:48px}
}
@media(max-width:760px){
  .container,.article{width:min(calc(100% - 28px),1000px)}
  .project{min-height:240px;padding:18px}
  .project h2{font-size:27px}
  .project .summary{font-size:13px}
  .section-head h1{font-size:42px}
  .post{grid-template-columns:minmax(0,1fr) 28px;gap:8px}
  .post .date{grid-column:1/-1}
  .post h2{font-size:18px}
  .post p{font-size:12px}
  .article{padding:36px 0 60px}
  .article-title,.article h1{font-size:42px}
  .article-body p{font-size:16px;line-height:1.8}
  .article-body h2{font-size:28px;margin-top:40px}
  .article-body h3{font-size:21px}
  .article-body ol,.article-body ul{font-size:15px}
  .article-body pre,.article-body .diagram{font-size:12px;line-height:1.6;padding:15px 16px}
  .article-body pre .code-header{margin:-15px -16px 12px}
  .article-body table{font-size:11px;min-width:700px}
}


/* ===== FINAL TYPOGRAPHY / SCALE PASS ===== */
body{font-size:16px}
.hero-copy h1{font-size:clamp(56px,4.7vw,65px);letter-spacing:-.025em;line-height:1.1;font-weight:725}
.hero-copy p{font-size:15px;line-height:1.78}
.tags{gap:7px}.tag{font-size:11px;padding:7px 10px}
.hero-actions{gap:9px}.btn{min-height:45px;padding:0 15px;font-size:12px}
.quote strong{font-size:10px}.quote p{font-size:19px;line-height:1.5}
.metrics{gap:9px}.metric{padding:15px 16px}.metric b{font-size:27px}.metric span{font-size:10px;margin-top:6px}
.info-card{padding:16px}.info-card h3{font-size:12px;margin-bottom:10px}
.philosophy{gap:8px}.phi{padding:11px}.phi .num{font-size:9px}.phi h4{font-size:14px;margin:6px 0}.phi p{font-size:12.5px;line-height:1.55}
.focus-copy{font-size:14px;line-height:1.6}
.explore-grid{gap:8px}.explore{padding:11px}.explore b{font-size:13px}.explore span{font-size:12px;line-height:1.45}
.footer-strip{font-size:9px}
.section-head h1{font-size:56px}.section-head p{font-size:15px}
.project{min-height:300px;padding:23px}.project .index{font-size:9px}.project h2{font-size:33px}.project .summary{font-size:15px;line-height:1.78;max-width:100%}.project-meta{gap:7px;padding-top:16px}.project .tag{font-size:11px;padding:7px 10px}.stack{font-size:12px;line-height:1.55}.small-btn{font-size:11px;padding:9px 12px}
.post{padding:19px 20px;grid-template-columns:95px minmax(0,1fr) 34px;gap:18px}.post .date{font-size:10px}.post h2{font-size:21px}.post p{font-size:13px;line-height:1.65}.post .tag{font-size:10px;padding:6px 8px}
.article-body p{font-size:18px;line-height:1.95}.article-body h2{font-size:36px}.article-body h3{font-size:25px}.article-body ol,.article-body ul{font-size:18px;line-height:1.9}.article-body pre,.article-body .diagram{font-size:14px;line-height:1.72}

@media(max-width:1080px){
  .hero-copy h1{font-size:clamp(50px,6vw,72px)}
}
@media(max-width:760px){
  .hero-copy h1{font-size:42px;letter-spacing:-.028em}
  .hero-copy p{font-size:14px}
  .tag{font-size:10px}
  .btn{font-size:11px}
  .metric b{font-size:24px}.metric span{font-size:9px}
  .phi h4{font-size:12px}.phi p{font-size:10px}
  .explore b{font-size:11px}.explore span{font-size:9px}
  .section-head h1{font-size:43px}.section-head p{font-size:13px}
  .project{min-height:250px;padding:20px}.project h2{font-size:28px}.project .summary{font-size:14px;line-height:1.72}.stack{font-size:11px}
  .post h2{font-size:19px}.post p{font-size:12px}
  .article-body p{font-size:16px;line-height:1.85}.article-body h2{font-size:29px}.article-body h3{font-size:22px}.article-body ol,.article-body ul{font-size:16px}.article-body pre,.article-body .diagram{font-size:12.5px}
}
