:root {
  --bg: #171717;
  --surface: #1e1e1e;
  --surface-raised: #242424;
  --ink: #f5f5f3;
  --muted: #a6a6a0;
  --line: #343434;
  --accent: #d89a73;
  --max: 650px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(circle, rgba(142, 214, 255, .045) .65px, transparent .65px);
  background-size: 32px 32px;
  background-position: 0 0;
  background-attachment: fixed;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.alex-companion { position: fixed; right: 22px; bottom: 22px; z-index: 10; }
.alex-orb { display: grid; width: 48px; height: 48px; padding: 0; place-items: center; border: 1px solid #3e4652; border-radius: 50%; background: #20252d; color: var(--ink); box-shadow: 0 12px 32px rgba(0,0,0,.34); cursor: pointer; }
.alex-chat-icon { position: relative; display: block; width: 19px; height: 15px; border: 2px solid #dfe5ed; border-radius: 5px; }
.alex-chat-icon::after { content: ""; position: absolute; right: 1px; bottom: -5px; width: 6px; height: 6px; border-right: 2px solid #dfe5ed; border-bottom: 2px solid #dfe5ed; transform: skewY(-28deg); }
.alex-chat-icon::before { content: ""; position: absolute; left: 4px; top: 5px; width: 3px; height: 3px; border-radius: 50%; background: #8ed6ff; box-shadow: 5px 0 #8ed6ff; }
.alex-orb:hover { border-color: #8ed6ff; }
.alex-orb[aria-expanded="true"] { border-color: #8ed6ff; }
.alex-page { min-height: 100vh; }
.alex-room { display: flex; min-height: 100vh; width: min(100%, 920px); margin: 0 auto; padding: 0 24px 18px; flex-direction: column; }
.alex-room-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 82px; border-bottom: 1px solid var(--line); }
.alex-back, .alex-new-chat { border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: rgba(30,30,30,.72); }
.alex-back { display: grid; width: 36px; height: 36px; place-items: center; font-size: 20px; }
.alex-new-chat { padding: 9px 13px; font: inherit; font-size: 12px; cursor: pointer; }
.alex-new-chat:hover, .alex-back:hover { border-color: var(--accent); color: var(--ink); }
.alex-room-title { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.alex-room-title .eyebrow { margin: 0 0 2px; font-size: 10px; }
.alex-room-title h1 { margin: 0; font-size: 17px; letter-spacing: -.02em; }
.alex-model { display: inline-block; margin-left: 8px; padding: 3px 7px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 9px; font-weight: 400; letter-spacing: 0; vertical-align: middle; }
.alex-status { width: 8px; height: 8px; border-radius: 50%; background: #82c995; box-shadow: 0 0 0 4px rgba(130,201,149,.1); }
.alex-messages { display: flex; flex: 1; width: min(100%, 720px); margin: 0 auto; padding: 64px 0 28px; flex-direction: column; gap: 18px; overflow-y: auto; }
.alex-empty { margin: auto; max-width: 420px; text-align: center; }
.alex-mark { display: grid; width: 42px; height: 42px; margin: 0 auto 18px; place-items: center; border: 1px solid #596271; border-radius: 13px; background: #242b35; color: #dfe5ed; font-weight: 600; }
.alex-empty h2 { margin: 0 0 8px; font-size: clamp(22px, 4vw, 30px); letter-spacing: -.04em; }
.alex-empty p { margin: 0; color: var(--muted); }
.alex-user-bubble { align-self: flex-end; max-width: min(78%, 520px); padding: 12px 16px; border: 1px solid #454b55; border-radius: 18px 18px 5px 18px; background: #272d36; color: var(--ink); line-height: 1.5; white-space: pre-wrap; }
.alex-composer-wrap { width: min(100%, 720px); margin: 0 auto; }
.alex-composer { display: flex; align-items: flex-end; gap: 10px; padding: 9px 10px 9px 12px; border: 1px solid #454b55; border-radius: 16px; background: rgba(30,30,30,.92); box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.alex-add { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; border: 1px solid #4a515d; border-radius: 50%; background: transparent; color: var(--muted); font-size: 19px; line-height: 1; cursor: pointer; }
.alex-add:hover { border-color: var(--accent); color: var(--ink); }
.alex-hint { align-self: center; color: #696f78; font-size: 10px; white-space: nowrap; }
.alex-send { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border: 0; border-radius: 9px; background: var(--ink); color: var(--bg); font-size: 20px; cursor: pointer; }
.alex-composer-note { margin: 9px 0 0; color: #777b7c; font-size: 10px; text-align: center; }
.alex-composer textarea { flex: 1; min-height: 24px; max-height: 160px; padding: 2px 0; resize: none; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; line-height: 1.5; }
.alex-composer textarea::placeholder { color: #858a8e; }
.alex-send { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border: 0; border-radius: 9px; background: var(--ink); color: var(--bg); font-size: 20px; cursor: pointer; }
@media (max-width: 640px) { .alex-room { padding: 0 14px 14px; } .alex-room-header { min-height: 70px; } .alex-model, .alex-hint { display: none; } .alex-messages { padding-top: 34px; } .alex-user-bubble { max-width: 88%; } .alex-composer-note { font-size: 9px; } }
.alex-disclaimer { margin: 10px 0 0; color: #777b7c; font-size: 10px; text-align: center; }
@media (max-width: 640px) { .alex-room { padding: 0 14px 14px; } .alex-room-header { min-height: 70px; } .alex-messages { padding-top: 34px; } .alex-user-bubble { max-width: 88%; } }
.alex-panel { position: absolute; right: 0; bottom: 58px; display: grid; width: min(350px, calc(100vw - 32px)); overflow: hidden; border: 1px solid #3e4652; border-radius: 14px; background: #20252d; box-shadow: 0 18px 50px rgba(0,0,0,.45); }
.alex-panel-head { display: flex; justify-content: space-between; gap: 18px; padding: 16px; border-bottom: 1px solid #353d48; }
.alex-panel-head div { display: grid; gap: 2px; }
.alex-panel-head strong { font-size: .82rem; }
.alex-panel-head span { color: #aab4c3; font-size: .65rem; }
.alex-close { border: 0; background: transparent; color: #aab4c3; font-size: 1.2rem; cursor: pointer; }
.alex-messages { display: grid; gap: 10px; max-height: 230px; overflow: auto; padding: 15px; }
.alex-message { max-width: 88%; margin: 0; padding: 10px 12px; border-radius: 10px; color: #dfe5ed; font-size: .74rem; line-height: 1.5; }
.alex-prompts { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 15px 12px; }
.alex-prompts button { border: 1px solid #424c5a; border-radius: 999px; background: transparent; color: #aab4c3; padding: 5px 8px; font: inherit; font-size: .62rem; cursor: pointer; }
.alex-prompts button:hover { border-color: #8ed6ff; color: #dfe5ed; }
.alex-prompts button:disabled { cursor: wait; opacity: .55; }
.alex-response-prompts { padding: 0; margin-top: -2px; }
.alex-form input:disabled { opacity: .6; }
.alex-message-bot { background: #2b333f; }
.alex-message-user { justify-self: end; background: #d89a73; color: #171717; }
.alex-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid #353d48; }
.alex-form input { min-width: 0; flex: 1; border: 1px solid #424c5a; border-radius: 8px; outline: none; background: #171b21; color: var(--ink); padding: 9px 10px; font: inherit; font-size: .72rem; }
.alex-form input:focus { border-color: #8ed6ff; }
.alex-form button { width: 34px; border: 0; border-radius: 8px; background: #8ed6ff; color: #172033; font-weight: 700; cursor: pointer; }


.site-shell { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.footer-bottom a, .text-link { transition: color .2s ease; }
.footer-bottom a:hover, .text-link:hover { color: var(--accent); }
.hero { max-width: 560px; padding: 66px 0 54px; }
.eyebrow {
  max-width: 520px;
  margin: 0 0 12px;
  color: var(--accent);
  font-size: .61rem;
  font-weight: 700;
  max-width: 520px;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.hero-identity { display: flex; align-items: center; gap: 16px; margin: 0 0 22px; }
.avatar-wrap { position: relative; display: inline-flex; flex: 0 0 auto; }
.avatar { width: 64px; height: 64px; border: 1px solid var(--line); border-radius: 50%; object-fit: cover; object-position: center 22%; filter: saturate(.9); }
.verified-badge { position: absolute; right: -5px; bottom: -4px; width: 22px; height: 22px; padding: 2px; border: 2px solid var(--bg); border-radius: 50%; object-fit: contain; filter: drop-shadow(0 2px 5px rgba(47,128,237,.35)); }
.hero h1 {
  margin: 0;
  font-size: clamp(3.6rem, 7vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -.095em;
  line-height: 1;
}
.hero-copy { max-width: 470px; margin: 0 0 30px; color: var(--muted); font-size: .98rem; line-height: 1.72; }
.hero-actions { display: flex; align-items: center; gap: 20px; }
.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--ink);
  font-size: .7rem;
  font-weight: 600;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button-dark { background: var(--ink); color: #171717; }
.button:hover { transform: translateY(-2px); background: var(--accent); border-color: var(--accent); color: #171717; }
.text-link { padding-bottom: 2px; border-bottom: 1px solid var(--ink); font-size: .72rem; font-weight: 600; }
.section { padding: 42px 0; border-top: 1px solid var(--line); }
.section-heading { margin-bottom: 18px; }
.section-heading h2 { margin: 0; font-size: 1.55rem; letter-spacing: -.055em; line-height: 1.1; }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; }
  .section-actions { display: flex; align-items: center; gap: 18px; }
  .section-count { color: var(--muted); font-size: .65rem; }
.github-section { overflow: hidden; }
.github-chart { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.github-chart img { display: block; width: 100%; height: auto; }

.certificate-preview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.certificate-card { display: block; min-width: 0; }
.certificate-card img { display: block; width: 100%; aspect-ratio: 1.42; object-fit: cover; border: 1px solid var(--line); background: var(--surface); filter: saturate(.82) brightness(.88); transition: filter .2s ease, transform .2s ease; }
.certificate-card:hover img { filter: saturate(1) brightness(1); transform: translateY(-3px); }
.certificate-card div { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding-top: 10px; }
.certificate-card h3 { margin: 0; font-size: .78rem; line-height: 1.35; }
.certificate-gallery { display: grid; gap: 42px; }
.achievement-gallery { display: grid; gap: 0; border-top: 1px solid var(--line); }
.achievement-full { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.achievement-full h2 { margin: 0 0 8px; font-size: 1.05rem; letter-spacing: -.035em; }
.achievement-full p { max-width: 650px; margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.65; }
.achievement-source { display: flex; align-items: center; gap: 9px; margin-top: 16px; color: var(--dim); font-size: .72rem; }
.achievement-source img { width: 28px; height: 28px; border-radius: 7px; object-fit: cover; }
.achievement-full time { padding-top: 3px; }
.certificate-full { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(220px, .85fr); align-items: start; gap: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.certificate-full img { display: block; width: 100%; max-height: 420px; object-fit: contain; background: var(--surface); }
.certificate-full h2 { margin: 0 0 10px; font-size: 1.2rem; letter-spacing: -.04em; }
.certificate-full p { margin: 0 0 16px; color: var(--muted); font-size: .86rem; line-height: 1.6; }
.achievement-list { display: grid; border-top: 1px solid var(--line); }
.achievement-item { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.achievement-item:hover h3 { color: var(--accent); }
.achievement-item h3 { margin: 0 0 5px; color: var(--ink); font-size: .88rem; letter-spacing: -.02em; transition: color .2s ease; }
.achievement-item p { margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.55; }
.achievement-item time { flex: 0 0 auto; color: var(--dim); font-size: .76rem; }
.achievement-tag { display: block; margin-top: 14px; color: var(--dim); font-size: .72rem; }
.notes-list { display: grid; border-top: 1px solid var(--line); }
.note-item { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); transition: color .2s ease; }
.note-item:hover h3 { color: var(--accent); }
.note-item .note-category { margin: 8px 0 0; color: var(--accent); font-size: .46rem; font-weight: 700; letter-spacing: .1em; line-height: 1.2; text-transform: uppercase; }
.note-item h3 { margin: 0 0 5px; color: var(--ink); font-size: .88rem; letter-spacing: -.02em; transition: color .2s ease; }
.note-item p { max-width: 520px; margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.55; }
.note-item time { flex: 0 0 auto; }
.testimonial-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.testimonial-list blockquote { margin: 0; padding: 20px 0; border-bottom: 1px solid var(--line); }
.testimonial-list blockquote:nth-child(n + 4) { display: none; }
.testimonial-list blockquote p { max-width: 650px; margin: 0 0 14px; color: var(--muted); font-size: .94rem; line-height: 1.65; }
.testimonial-list blockquote footer { display: flex; align-items: baseline; gap: 10px; padding: 0; border: 0; }
.testimonial-list strong { color: var(--text); font-size: .84rem; }
.testimonial-list footer span { color: var(--dim); font-size: .76rem; }
.contributors-chart { min-width: 0; overflow: hidden; padding: 18px 0 12px; }
  .contributors-months { display: grid; grid-template-columns: repeat(12, 1fr); margin: 0 0 8px; color: var(--ink); font-size: .68rem; text-align: center; }
  .contribution-grid { display: grid; grid-template-rows: repeat(7, 1fr); grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; width: 100%; }
  .contribution-cell, .contribution-legend i { display: block; aspect-ratio: 1; min-width: 0; border-radius: 2px; background: #20252d; }
.contribution-cell.level-1, .contribution-legend i.level-1 { background: #123d2a; }
.contribution-cell.level-2, .contribution-legend i.level-2 { background: #17633b; }
.contribution-cell.level-3, .contribution-legend i.level-3 { background: #1f944c; }
.contribution-cell.level-4, .contribution-legend i.level-4 { background: #36c866; }
.contributors-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 10px; color: var(--ink); font-size: .68rem; }
.contribution-legend { display: inline-flex; align-items: center; gap: 4px; }
.contribution-legend i { width: 12px; }
@media (max-width: 640px) { .contributors-section { min-width: 0; overflow: hidden; } .contributors-chart { width: 100%; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; padding: 14px 0 8px; scrollbar-width: thin; } .contributors-months { grid-template-columns: repeat(12, minmax(42px, 1fr)); width: max-content; min-width: 560px; overflow: visible; font-size: .44rem; letter-spacing: -.04em; } .contribution-grid { grid-template-rows: repeat(7, minmax(0, 1fr)); grid-auto-columns: 10px; gap: 2px; width: max-content; min-width: 560px; max-width: none; } .contribution-cell, .contribution-legend i { border-radius: 1px; } .contributors-footer { align-items: flex-start; flex-direction: column; gap: 8px; min-width: 560px; font-size: .6rem; } .contribution-legend { align-self: flex-start; flex-wrap: wrap; } .contribution-legend i { width: 8px; } }
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 6px; }
.chips span { display: inline-flex; min-height: 0; align-items: center; justify-content: flex-start; flex-direction: row; gap: 6px; padding: 6px 8px; border: 1px solid var(--line); background: transparent; color: #c9c9c4; font-size: .68rem; line-height: 1.15; white-space: nowrap; transition: border-color .2s ease, background .2s ease, color .2s ease; }
.chips span:hover { border-color: var(--accent); background: var(--surface); color: var(--text); }
.chips img { flex: 0 0 auto; width: 14px; height: 14px; object-fit: contain; filter: grayscale(1) brightness(1.8); opacity: .9; }
.chips span:hover img { filter: none; opacity: 1; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 32px; }
.project-card { min-width: 0; }
.project-card img { width: 100%; aspect-ratio: 1.62; display: block; object-fit: cover; background: var(--surface); filter: saturate(.82) brightness(.88); transition: transform .3s ease, filter .3s ease; }
.project-card:hover img { filter: saturate(1) brightness(1); transform: translateY(-3px); }
.project-body { display: flex; align-items: start; justify-content: space-between; gap: 14px; padding-top: 12px; }
.project-body h3 { margin: 0 0 3px; font-size: .96rem; letter-spacing: -.035em; }
.project-body p { max-width: 290px; margin: 0; color: var(--muted); font-size: .72rem; line-height: 1.5; }
.project-body > a { flex: 0 0 auto; color: var(--muted); font-size: .95rem; transition: color .2s ease, transform .2s ease; }
.project-body > a:hover { color: var(--accent); transform: translate(2px, -2px); }
.timeline { display: grid; gap: 0; border-top: 1px solid var(--line); }
.timeline-item, .education-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.timeline-item h3 { margin: 0 0 5px; font-size: .98rem; letter-spacing: -.035em; }
.timeline-item p, .education-row h3 { margin: 0 0 4px; font-size: .83rem; letter-spacing: -.02em; }
.education-row p { margin: 0; color: var(--muted); font-size: .76rem; }
.education { border-top: 1px solid var(--line); }
.education .section-heading { margin-bottom: 24px; }
.education-row { padding: 22px 0; }
.education-row h3 { font-size: .98rem; }
.education-row p { margin-top: 20px; font-size: .78rem; color: var(--muted); }
.experience-meta { color: var(--muted) !important; }
.experience-item > time { padding-top: 3px; color: var(--muted); font-size: .7rem; }
time { color: var(--muted); font-size: .67rem; white-space: nowrap; }
.education .section-heading h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); }
footer { padding: 46px 0 18px; border-top: 1px solid var(--line); }
footer h2 { max-width: 330px; margin: 0; font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -.075em; line-height: 1; }
footer > .button { margin-top: 22px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 72px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: .64rem; }
.footer-bottom div { display: flex; gap: 16px; }
@media (max-width: 640px) {
  .site-shell { width: min(calc(100% - 28px), var(--max)); }
  .hero { padding: 58px 0 48px; }
  .hero-identity { align-items: center; gap: 10px; margin-bottom: 18px; }
  .avatar { width: 52px; height: 52px; }
  .verified-badge { width: 17px; height: 17px; }
  .hero h1 { max-width: calc(100vw - 96px); font-size: clamp(2.55rem, 11.5vw, 3.5rem); letter-spacing: -.08em; line-height: .96; }
  .hero-copy { font-size: .88rem; }
  .section { padding: 44px 0; }
  .certificate-preview { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .certificate-card img { aspect-ratio: 1.42; }
  .certificate-card div { align-items: flex-start; flex-direction: column; gap: 3px; padding-top: 8px; }
  .certificate-card h3 { font-size: .66rem; line-height: 1.28; }
  .certificate-card time { font-size: .62rem; }
  .achievement-showcase { grid-template-columns: 1fr; }
  .certificate-full { grid-template-columns: 1fr; gap: 16px; }
  .achievement-full { grid-template-columns: 1fr; gap: 8px; }
  .note-item { align-items: flex-start; flex-direction: column; gap: 5px; }
  .notes-page-list .note-item time { min-width: 0; text-align: left; }
  .github-section .section-heading-row { flex-wrap: wrap; gap: 6px; }
  .github-chart { display: block; width: 100%; padding: 10px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .github-chart img { display: block; min-width: 520px; height: auto; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 14px; }
  .project-card img { aspect-ratio: 1.55; border-radius: 1px; }
  .project-body { align-items: flex-start; gap: 7px; padding-top: 9px; }
  .project-body h3 { font-size: .78rem; line-height: 1.2; }
  .project-body p { max-width: none; font-size: .65rem; line-height: 1.42; }
  .project-body > a { display: none; }
  .project-body > a { padding: 2px 0; }
  .alex-companion { right: 14px; bottom: 14px; }
  .alex-orb { width: 44px; height: 44px; }
  .alex-panel { bottom: 52px; }
  .alex-panel { bottom: 55px; }
  .timeline-item, .education-row { align-items: flex-start; flex-direction: column; gap: 3px; }
  footer { padding-top: 54px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; margin-top: 58px; }
}
.notes-page { padding: 92px 0 80px; }
.note-article { max-width: 760px; padding: 92px 0 100px; }
.note-article h1 { max-width: 700px; margin: 12px 0 18px; font-size: clamp(2.7rem, 7vw, 5rem); letter-spacing: -.085em; line-height: .98; }
.article-lede { max-width: 560px; margin: 0 0 56px; color: var(--muted); font-size: 1.1rem; line-height: 1.6; }
.article-body { max-width: 620px; border-top: 1px solid var(--line); padding-top: 28px; }
.article-body p { margin: 0 0 26px; color: var(--muted); font-size: 1rem; line-height: 1.85; }
.article-body p:last-child { margin-bottom: 0; }
.story-article { max-width: 820px; }
  .story-article .eyebrow { margin-bottom: 14px; }
  .story-article h1 { max-width: 720px; margin-bottom: 18px; }
  .story-article .article-lede { max-width: 650px; margin-bottom: 22px; }
  .story-article .article-meta { border-bottom: 1px solid var(--line); padding-bottom: 22px; }
  .story-article .article-body { max-width: 650px; border-top: 0; padding-top: 22px; }
  .story-article .article-body h2 { margin: 46px 0 14px; color: var(--ink); font-size: 1.2rem; letter-spacing: -.045em; }
  .story-article .article-body h2:first-child { margin-top: 0; }
.story-figure { margin: 38px 0; }
  .article-body pre { overflow-x: auto; margin: 30px 0; padding: 18px 20px; border: 1px solid var(--line); background: #0b0d10; color: #d9e3f0; font: .78rem/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
  .article-body code { font: inherit; }
  .article-body ul { margin: 0 0 28px; padding-left: 22px; color: var(--muted); font-size: 1rem; line-height: 1.85; }
  .article-body li { margin-bottom: 8px; padding-left: 4px; }
  .story-figure img { display: block; width: 100%; max-height: 560px; object-fit: cover; border: 1px solid var(--line); filter: saturate(.9); }
  .story-figure figcaption { max-width: 560px; }
.story-figure-wide { max-width: 900px; }
.story-figure figcaption { margin-top: 10px; color: var(--muted); font-size: .72rem; line-height: 1.5; }
.note-item-featured { border-left: 0; padding-left: 0 !important; }
.back-link { display: inline-block; margin-bottom: 42px; color: var(--muted); font-size: .78rem; }
.back-link:hover { color: var(--accent); }
.notes-header { margin-bottom: 52px; }
  .notes-header h1 { margin: 0 0 10px; font-size: clamp(1.8rem, 3.8vw, 2.35rem); letter-spacing: -.065em; line-height: 1.05; }
  .notes-header > p:last-child { max-width: 520px; margin: 0; color: var(--muted); font-size: .98rem; }
.notes-page-list { max-width: 780px; }
 .notes-page-list .note-item { align-items: flex-start; gap: 28px; padding: 22px 0; }
 .notes-page-list .note-item > div { min-width: 0; }
 .notes-page-list .note-item .note-category { margin: 8px 0 0; color: var(--accent); font-size: .46rem; font-weight: 700; letter-spacing: .1em; line-height: 1.2; text-transform: uppercase; }
 .notes-page-list h2 { margin: 0 0 7px; color: var(--ink); font-size: .92rem; letter-spacing: -.025em; }
 .notes-page-list .note-item p { max-width: 610px; margin: 0; font-size: .78rem; line-height: 1.55; }
 .notes-page-list .note-item time { min-width: 142px; padding-top: 1px; color: var(--muted); font-size: .68rem; text-align: right; white-space: nowrap; }
 .notes-page-list .note-item:hover h2 { color: var(--accent); }
 .notes-page-list .note-item-featured { padding-top: 20px; }
  .article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 22px; color: var(--muted); font-size: .72rem; }
  .note-footer { max-width: 625px; margin: 58px auto 0; padding-top: 28px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
  .note-footer h2 { margin: 0 0 6px; color: var(--ink); font-size: .9rem; letter-spacing: -.02em; }
  .note-footer a { color: var(--ink); font-size: .78rem; text-decoration: none; transition: color .2s ease; }
  .note-footer a:hover { color: var(--accent); }
  .article-meta span + span::before { content: '·'; margin-right: 18px; color: var(--dim); }
.all-projects-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; }
.all-project { border-top: 1px solid var(--line); padding-top: 14px; }
.all-project img { display: block; width: 100%; aspect-ratio: 1.7; object-fit: cover; margin-bottom: 14px; filter: saturate(.82) brightness(.88); cursor: zoom-in; }
.project-lightbox[hidden] { display: none; }
.project-lightbox { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 24px; background: rgb(12 12 12 / .92); }
.project-lightbox img { max-width: min(1100px, 94vw); max-height: 88vh; object-fit: contain; }
.project-lightbox-close { position: absolute; top: 20px; right: 24px; border: 0; background: none; color: var(--text); font-size: 2rem; cursor: pointer; }
.all-project > div { display: grid; grid-template-columns: 28px 1fr; column-gap: 10px; }
.all-project span { grid-row: span 2; color: var(--accent); font-size: .68rem; }
.all-project h2 { margin: 0 0 5px; font-size: .98rem; letter-spacing: -.035em; }
.all-project p { grid-column: 2; margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.5; }
@media (max-width: 640px) { .all-projects-grid { grid-template-columns: 1fr; gap: 28px; } .section-actions { gap: 10px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; } }
