:root {color-scheme:light;--bg:#f3f3f3;--paper:#ffffff;--tint:#f8f8f8;--ink:#222222;--muted:#666666;--soft:#898989;--line:#d6d6d6;--accent:#087faf;--accent-2:#45a7cb;--badge:#f1f1f1;--tag-ink:#595959;--shadow:0 10px 28px rgba(0,0,0,.055);--nav:rgba(243,243,243,.94)}
:root[data-theme='dark']{color-scheme:dark;--bg:#171c25;--paper:#202633;--tint:#252c3a;--ink:#edf0f8;--muted:#aeb8c9;--soft:#94a2b6;--line:#3a4555;--accent:#65c6e9;--accent-2:#8bd5eb;--badge:#2c3852;--tag-ink:#b7c8ff;--shadow:0 16px 35px rgba(0,0,0,.12);--nav:rgba(23,28,37,.91)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.75 -apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei','PingFang SC',Arial,sans-serif;letter-spacing:.005em;transition:background .25s,color .25s}a{color:inherit;text-decoration:none}a:hover{color:var(--accent)}button{font:inherit;cursor:pointer}::selection{background:#bcd0ff;color:#233052}.wrap{max-width:930px;margin:auto;padding:0 24px}#projects,#notes,#timeline,#stack,#about{scroll-margin-top:90px} .site-header{height:68px;position:sticky;top:0;z-index:40;background:var(--nav);border-bottom:1px solid var(--line);backdrop-filter:blur(15px)}.nav{height:100%;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{font:600 12px/1.1 'Consolas','SFMono-Regular',monospace;padding:9px 12px;border:1px solid var(--line);border-radius:6px;background:var(--paper);white-space:nowrap}.brand .user{color:var(--accent)}.brand .cursor{display:inline-block;margin-left:4px;width:6px;height:12px;background:var(--accent);vertical-align:-2px;animation:none}@keyframes blink{50%{opacity:0}}.nav-right{display:flex;align-items:center;gap:19px}.nav-links{display:flex;align-items:center;gap:22px}.nav-links a{font-size:13px;color:var(--muted);font-weight:550;white-space:nowrap}.nav-links a:hover{color:var(--accent)}.theme-btn{border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:50%;width:34px;height:34px;display:grid;place-items:center;font-size:17px;line-height:1}.theme-btn:hover{border-color:var(--accent)}.hero{padding:81px 0 65px;text-align:center}.avatar{display:grid;place-items:center;position:relative;width:116px;height:116px;margin:0 auto 21px;border-radius:50%;background:linear-gradient(145deg,#e7eaf6,#cbd6f0);border:5px solid var(--paper);box-shadow:0 2px 0 var(--line),0 15px 30px rgba(72,104,189,.09)}.avatar:before{content:'';position:absolute;inset:-10px;border:1px dashed var(--line);border-radius:50%}.avatar-image{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}.avatar-dot{position:absolute;right:8px;bottom:7px;width:15px;height:15px;background:#91bba4;border:3px solid var(--paper);border-radius:50%}.eyebrow{font:600 11px/1.4 'Consolas',monospace;letter-spacing:.19em;text-transform:uppercase;color:var(--accent);margin-bottom:11px}.hero h1{font-size:clamp(28px,5vw,42px);line-height:1.3;letter-spacing:-.03em;margin:0 0 12px;font-weight:750}.hero-slogan{font-size:15px;font-weight:600;color:var(--ink);margin:0 0 4px}.hero-role{font-size:14px;font-weight:500;color:var(--muted);margin:0 0 15px}.intro{font-size:14px;color:var(--muted);max-width:600px;margin:0 auto;line-height:1.95}.hero-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:24px}.small-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:37px;padding:8px 15px;border:1px solid var(--line);background:var(--paper);border-radius:7px;color:var(--ink);font-size:13px;font-weight:600;transition:all .2s}.small-btn:hover{border-color:var(--accent);transform:translateY(-2px);color:var(--accent);box-shadow:var(--shadow)}.small-btn.primary{background:var(--accent);border-color:var(--accent);color:var(--paper)}:root[data-theme='dark'] .small-btn.primary{color:#1e2330}.hero-bottom{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;margin-top:22px;font-size:12px;color:var(--soft)}.hero-bottom b{color:var(--muted);font-weight:500}.section{padding:56px 0 8px}.section-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:17px;margin-bottom:24px}.section-head h2{margin:0;font-size:22px;font-weight:750;letter-spacing:-.02em}.section-head .h-sub{font:500 12px/1.3 'Consolas',monospace;color:var(--soft)}.section-note{font-size:13px;color:var(--muted);margin:-8px 0 22px}.project-list{display:grid;gap:16px}.project-card{display:grid;grid-template-columns:33% 1fr;min-height:218px;border:1px solid var(--line);background:var(--paper);border-radius:10px;overflow:hidden;transition:transform .22s,box-shadow .22s,border-color .22s}.project-card:hover,.note-card:hover{transform:translateY(-2px);box-shadow:var(--shadow);border-color:#b3c3e6}.art{min-height:190px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;border-right:1px solid var(--line)}.art-course{background:radial-gradient(circle at 20% 10%,#fff 0,transparent 50%),linear-gradient(145deg,#dbe4f1,#cad8e9)}.art-city{background:radial-gradient(circle at 80% 10%,#f8ffff,transparent 47%),linear-gradient(140deg,#d6e9e6,#bed8d7)}.art-gov{background:radial-gradient(circle at 30% 90%,#fbf7ff,transparent 55%),linear-gradient(135deg,#e8e0ee,#d8d1e7)}.mock-ui{background:#fdfefe;border:1px solid rgba(77,103,145,.19);box-shadow:0 16px 26px rgba(68,95,124,.13);width:79%;height:132px;border-radius:7px;overflow:hidden;transform:rotate(-5deg)}.mock-toolbar{height:17px;background:#f2f5fa;display:flex;align-items:center;padding:0 9px;gap:4px;border-bottom:1px solid #e6ebf1}.mock-toolbar i{height:5px;width:5px;border-radius:50%;background:#adbfd9}.mock-grid{display:grid;grid-template-columns:44px 1fr;gap:9px;padding:9px}.mock-menu{background:#e7edf7;border-radius:3px;height:92px}.mock-body{padding:2px 0}.mock-bar{background:#d1dced;height:8px;margin-bottom:8px;border-radius:3px}.mock-bar.sm{width:58%}.mock-cards{display:flex;gap:5px;margin-top:14px}.mock-cards i{flex:1;height:44px;background:#e0eafa;border-radius:4px}.mock-cards i:nth-child(2){background:#ecf2f9}.mock-cards i:nth-child(3){background:#d5e6ee}.city-orbit{position:relative;width:160px;height:160px;border:1px solid rgba(56,127,124,.3);border-radius:50%;display:grid;place-items:center}.city-orbit:before{content:'';position:absolute;inset:24px;border:1px dashed rgba(56,127,124,.35);border-radius:50%}.city-orbit .center{font:700 14px/1.4 'Consolas',monospace;background:#fff;padding:14px 12px;border-radius:8px;color:#3f8982;box-shadow:0 5px 15px #4b8c8420;z-index:1}.city-orbit .spot{position:absolute;background:#fff;border:1px solid #abcac7;width:23px;height:23px;border-radius:50%;display:grid;place-items:center;color:#538d8b;font-size:12px}.spot.one{left:9px;top:27px}.spot.two{right:-4px;top:74px}.spot.three{left:36px;bottom:-5px}.doc-art{width:126px;height:152px;background:#fff;border:1px solid #d0c8dd;box-shadow:13px 11px 0 rgba(255,255,255,.47),0 14px 23px rgba(77,57,117,.12);border-radius:6px;padding:20px 15px;transform:rotate(6deg)}.doc-art .line{height:6px;border-radius:5px;background:#d7cee6;margin-bottom:11px}.doc-art .line:nth-child(1){width:65%;height:9px;background:#b1a2cd;margin-bottom:16px}.doc-art .line:nth-child(3){width:85%}.doc-art .line:nth-child(5){width:60%}.project-info{padding:22px 24px;display:flex;flex-direction:column}.overline{font:600 10px/1.4 'Consolas',monospace;color:var(--accent);text-transform:uppercase;letter-spacing:.08em}.project-info h3{font-size:18px;letter-spacing:-.02em;line-height:1.45;margin:9px 0 7px}.project-info p{font-size:13px;color:var(--muted);margin:0 0 13px;line-height:1.8}.tags{display:flex;flex-wrap:wrap;gap:7px;margin:auto 0 13px}.tag{background:var(--badge);color:var(--tag-ink);padding:3px 9px;border-radius:4px;font-size:11px;font-weight:600;white-space:nowrap}.text-link{font-size:12px;color:var(--accent);font-weight:700;align-self:flex-start}.text-link:hover{text-decoration:underline}.notes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.note-card{background:var(--paper);padding:21px 22px;border:1px solid var(--line);border-radius:9px;min-height:183px;display:flex;flex-direction:column;transition:transform .22s,box-shadow .22s,border-color .22s}.note-card h3{font-size:16px;line-height:1.6;margin:12px 0 9px}.note-card p{font-size:12px;line-height:1.8;color:var(--muted);margin:0 0 12px}.note-card .text-link{margin-top:auto}.timelines{margin:5px 0 0 11px;padding-left:26px;border-left:2px solid var(--line)}.time{position:relative;margin-bottom:24px}.time:before{content:'';position:absolute;left:-33px;top:8px;width:10px;height:10px;border:2px solid var(--accent);background:var(--bg);border-radius:50%}.time-date{font:700 11px/1.5 'Consolas',monospace;color:var(--accent);letter-spacing:.04em}.time h3{font-size:15px;margin:4px 0 2px}.time p{font-size:13px;color:var(--muted);margin:0}.stack{display:flex;flex-wrap:wrap;gap:10px}.stack-pill{display:flex;gap:7px;align-items:center;padding:8px 12px;background:var(--paper);border:1px solid var(--line);border-radius:7px;font-size:12px;color:var(--muted)}.stack-pill em{font-style:normal;color:var(--accent)}.about-card{border:1px solid var(--line);background:var(--paper);border-radius:9px;padding:24px 28px}.about-card p{font-size:13px;line-height:2;color:var(--muted);margin:0 0 10px}.about-card p:last-child{margin-bottom:0}.endnote{margin:70px 0 0;padding:29px 0 40px;border-top:1px solid var(--line);color:var(--soft);display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:12px}.endnote b{font-weight:650;color:var(--muted)}.back{font-size:12px;color:var(--accent);display:inline-flex;margin:36px 0 0;align-items:center;gap:8px}.detail{max-width:740px;margin:auto;padding:45px 24px 80px}.detail .kicker{font:700 11px 'Consolas',monospace;letter-spacing:.13em;color:var(--accent);margin-top:27px}.detail h1{font-size:clamp(26px,4vw,36px);line-height:1.35;letter-spacing:-.02em;margin:12px 0 14px}.detail .lead{font-size:15px;line-height:1.9;color:var(--muted);margin-bottom:27px}.detail h2{font-size:19px;margin:29px 0 10px;padding-top:4px}.detail p,.detail li{font-size:14px;line-height:2;color:var(--muted)}.detail ul{padding-left:20px}.detail .callout{border:1px solid var(--line);border-radius:8px;padding:15px 18px;background:var(--paper);color:var(--muted);font-size:13px;line-height:1.9}.detail .callout strong{color:var(--ink)}.detail a{color:var(--accent)}.detail a:hover{text-decoration:underline}.detail .tags{margin:12px 0 25px}.detail hr{border:0;border-top:1px solid var(--line);margin:30px 0}.footer-detail{border-top:1px solid var(--line);padding-top:19px;margin-top:32px;font-size:12px;color:var(--soft)}
@media(max-width:720px){.site-header{height:auto;min-height:62px}.nav{min-height:62px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px}.nav-right{flex:1;justify-content:flex-end;gap:9px}.nav-links{gap:13px;overflow-x:auto;max-width:100%;scrollbar-width:none}.nav-links a{font-size:11px}.wrap{padding:0 18px}.brand{font-size:10px;padding:8px}.hero{padding:64px 0 44px}.intro{font-size:13px}.section{padding-top:43px}.project-card{grid-template-columns:1fr}.art{height:183px;min-height:183px;border-right:0;border-bottom:1px solid var(--line)}.project-info{padding:20px}.notes{grid-template-columns:1fr}.section-head h2{font-size:20px}.section-head .h-sub{font-size:10px}.endnote{margin-top:44px;flex-direction:column;align-items:flex-start;gap:3px}.detail{padding:25px 20px 65px} }
@media(max-width:400px){.nav{justify-content:center}.brand{margin-right:auto}.nav-right{flex:0 0 100%;justify-content:space-between}.nav-links{gap:16px}.hero h1{font-size:29px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}


/* v3 personal site: centered headings and full-width writing rows */
.intro-follow{margin-top:10px}
#projects .section-head,#notes .section-head{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;gap:7px;border-bottom:0;padding-bottom:0;margin-bottom:24px;
}
#projects .section-head h2,#notes .section-head h2{
  position:relative;font-size:28px;font-weight:750;letter-spacing:-.025em;
  padding-bottom:14px;
}
#projects .section-head h2::after,#notes .section-head h2::after{
  content:"";position:absolute;bottom:0;left:50%;transform:translateX(-50%);
  width:42px;height:4px;border-radius:4px;background:var(--accent);
}
#projects .section-note,#notes .section-note{text-align:center;margin:0 auto 25px;max-width:700px}
#projects .project-card{min-height:242px}
#projects .project-card .art{min-height:242px}
.art-industries{background:var(--tint)}
.industry-mosaic{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;width:78%;max-width:230px;transform:rotate(-4deg)}
.industry-mosaic span{display:grid;place-items:center;min-height:64px;border:1px solid var(--line);background:var(--paper);border-radius:7px;font-weight:700;font-size:14px;color:var(--muted);box-shadow:0 7px 18px rgba(0,0,0,.035)}
.industry-mosaic span:nth-child(2){transform:translateY(8px)}
.industry-mosaic span:nth-child(3){transform:translateY(-4px)}
.notes{grid-template-columns:1fr;gap:16px}
.note-card{display:grid;grid-template-columns:33% minmax(0,1fr);padding:0;min-height:205px;overflow:hidden;border-radius:10px}
.note-visual{background:var(--tint);border-right:1px solid var(--line);padding:23px;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start}
.note-number,.note-topic{color:var(--soft);font:600 11px/1.6 'Consolas',monospace;letter-spacing:.09em}
.note-mark{font:500 60px/1 'Georgia',serif;color:var(--muted);align-self:center;opacity:.72}
.note-copy{padding:24px 27px;display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.note-copy h3{font-size:19px;margin:11px 0 10px;line-height:1.45}
.note-copy p{font-size:13px;margin:0 0 17px;line-height:1.85}
.note-copy .text-link{margin-top:auto}
@media(max-width:720px){
  #projects .section-head h2,#notes .section-head h2{font-size:24px}
  #projects .project-card,#projects .project-card .art{min-height:0}
  .note-card{grid-template-columns:1fr;min-height:0}
  .note-visual{height:103px;border-right:0;border-bottom:1px solid var(--line);padding:13px 20px;display:grid;grid-template-columns:1fr auto;align-items:center}
  .note-number{grid-column:1;grid-row:1}
  .note-topic{grid-column:1;grid-row:2}
  .note-mark{font-size:42px;grid-column:2;grid-row:1/span 2}
  .note-copy{padding:20px}
  .note-copy h3{font-size:17px}
}

/* Status indicator: subtle pulse; terminal cursor remains steady */
.hero-bottom .update-status{display:inline-flex;align-items:center;gap:7px}
.hero-bottom .status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#5caa83;animation:status-pulse 1.7s ease-in-out infinite;flex:0 0 auto}
@keyframes status-pulse{0%,100%{opacity:1}50%{opacity:.18}}
@media(prefers-reduced-motion:reduce){.hero-bottom .status-dot{animation:none}}

/* Compact spacing between intro and first section */
.hero{padding-bottom:21px}
#projects.section{padding-top:22px}
@media(max-width:720px){.hero{padding-bottom:17px}#projects.section{padding-top:22px}}

/* v4: cache-busted ocean name, tighter hero, language control */
.hero h1 span {
  /* Deep ocean to bright seawater: visible gradient, no purple. */
  background:linear-gradient(105deg,#004d78 0%,#007fb5 48%,#24b8d8 100%);
  color:#007fb5;
  background-clip:text;
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}
:root[data-theme='dark'] .hero h1 span {
  background-image:linear-gradient(105deg,#38a8d4 0%,#81dfec 100%);
}
.hero{padding-bottom:6px}
#projects.section{padding-top:10px}
.lang-btn{
  flex:0 0 auto;
  display:inline-flex;align-items:center;justify-content:center;
  min-width:64px;min-height:34px;padding:5px 12px;
  background:var(--paper);color:var(--ink);border:1px solid var(--line);
  border-radius:99px;font-size:13px;line-height:1.4;
}
.lang-btn:hover{color:var(--accent);border-color:var(--accent)}
.lang-btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media(max-width:720px){
  .hero{padding-bottom:4px}
  #projects.section{padding-top:10px}
  .nav-right{gap:10px}
  .nav-links{gap:12px}
  .lang-btn{min-width:57px;min-height:32px;font-size:11px;padding:5px 9px}
}

/* Project detail and fully clickable card */
.project-card-link{color:inherit;text-decoration:none;cursor:pointer}
.project-card-link:hover,.project-card-link:focus-visible{color:inherit}
.project-card-link:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.project-card-link:hover .text-link{color:var(--accent);text-decoration:underline}
.project-demo-link{display:inline-flex;align-items:center;padding:10px 16px;border-radius:7px;background:var(--accent);color:#fff!important;font-weight:700;font-size:14px;text-decoration:none!important}
.project-demo-link:hover{opacity:.88}


/* Readability v5: increase content type scale; keep hero typography intact */
.site-header .brand{font-size:13px}
.site-header .nav-links a{font-size:14px}
.site-header .lang-btn{font-size:14px}
.section-head h2{font-size:24px}
.section-head .h-sub{font-size:13px}
#projects .section-head h2,#notes .section-head h2{font-size:30px}
.section-note{font-size:15px;line-height:1.85}
.project-info h3{font-size:20px}
.project-info p{font-size:15px;line-height:1.85}
.overline{font-size:12px}
.tag{font-size:12px}
.text-link{font-size:14px}
.note-copy h3{font-size:21px}
.note-copy p{font-size:15px;line-height:1.85}
.note-number,.note-topic{font-size:12px}
.time-date{font-size:12px}
.time h3{font-size:17px}
.time p{font-size:15px;line-height:1.8}
.stack-pill{font-size:14px}
.about-card p{font-size:15px;line-height:1.95}
.endnote,.footer-detail{font-size:13px}
.back{font-size:14px}
.detail .kicker{font-size:12px}
.detail h1{font-size:clamp(28px,4vw,38px)}
.detail h2{font-size:21px}
.detail .lead{font-size:17px}
.detail p,.detail li{font-size:16px;line-height:1.9}
.detail .callout{font-size:15px;line-height:1.9}
.detail .project-demo-link{font-size:15px}
@media(max-width:720px){
  .site-header .nav-links a{font-size:12px}
  .site-header .lang-btn{font-size:12px}
  .section-head h2{font-size:22px}
  #projects .section-head h2,#notes .section-head h2{font-size:26px}
  .section-head .h-sub{font-size:12px}
  .note-copy h3{font-size:19px}
  .project-info h3{font-size:19px}
  .project-info p,.note-copy p,.about-card p{font-size:15px}
  .detail p,.detail li{font-size:15px}
  .detail .lead{font-size:16px}
  .detail h2{font-size:20px}
}


/* Case study v6: balanced 50/50 screen / technical explanation */
.project-case{max-width:1120px;padding:36px 30px 90px}
.project-case .back{margin:8px 0 14px}
.case-header{padding:4px 0 38px}
.project-case .case-header h1{font-size:clamp(30px,4vw,43px);margin:14px 0}
.project-case .case-header .lead{max-width:760px;font-size:17px}
.case-tags{margin:14px 0 23px}
.case-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.case-secondary-link{display:inline-flex;align-items:center;padding:9px 15px;background:var(--paper);border:1px solid var(--line);border-radius:7px;color:var(--ink);font-size:15px;font-weight:650}
.case-secondary-link:hover{color:var(--accent);border-color:var(--accent)}
.project-case .case-meta{color:var(--soft);font-size:13px;margin:12px 0 0}
.case-section{padding:30px 0 25px;border-top:1px solid var(--line)}
.case-section-head{margin-bottom:21px}
.case-section-head .case-no,.case-no{display:block;font:700 12px/1.5 Consolas,monospace;letter-spacing:.09em;color:var(--accent)}
.project-case .case-section-head h2{font-size:25px;margin:7px 0 7px}
.project-case .case-section-head p{color:var(--muted);font-size:15px;margin:0;max-width:820px}
.case-showcase{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:stretch}
.case-panel{min-width:0;background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:21px}
.case-panel-label{font:700 11px/1.5 Consolas,monospace;color:var(--accent);letter-spacing:.08em;margin-bottom:15px}
.case-image-placeholder{min-height:320px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:25px;text-align:center;background:var(--tint);border:1px dashed var(--line);border-radius:9px}
.case-screen-icon{color:var(--accent);font-size:35px}
.case-image-placeholder strong{font-size:17px}
.case-image-placeholder span:not(.case-screen-icon){font-size:14px;color:var(--muted);max-width:290px;line-height:1.75}
.case-image-placeholder a{font-size:14px;color:var(--accent);font-weight:700;text-decoration:underline}
.project-case .case-preview-caption{color:var(--muted);font-size:13px;margin:15px 0 0}
.case-tech-step{display:flex;align-items:start;gap:13px;border:1px solid var(--line);border-radius:8px;padding:13px;background:var(--tint)}
.case-step-index{flex:none;font:700 12px/1.6 Consolas,monospace;color:var(--accent)}
.case-tech-step strong,.case-tech-bottom strong{display:block;font-size:16px}
.case-tech-step span,.case-tech-bottom span{display:block;font-size:13px;color:var(--accent);margin:2px 0 3px}
.project-case .case-tech-step p{font-size:13px;color:var(--muted);margin:0}
.case-tech-arrow{text-align:center;font:600 12px/1.8 Consolas,monospace;color:var(--soft);padding:3px 0}
.case-tech-bottom{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.case-tech-bottom>div{min-width:0;border:1px solid var(--line);border-radius:8px;background:var(--tint);padding:13px}
.case-tech-bottom span{font-size:12px;color:var(--muted)}
.case-architecture-note{font-size:13px;color:var(--muted);line-height:1.75;margin-top:15px}
.case-mini-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.case-mini,.case-feature{border:1px solid var(--line);border-radius:10px;padding:21px;background:var(--paper);min-width:0}
.case-mini>span,.case-feature>span{font:700 11px/1.5 Consolas,monospace;color:var(--accent)}
.project-case .case-mini h3,.project-case .case-feature h3,.project-case .case-decision h3{font-size:18px;margin:12px 0 7px}
.project-case .case-mini p,.project-case .case-feature p,.project-case .case-decision p{font-size:15px;color:var(--muted);margin:0}
.case-feature-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:14px}
.case-feature-grid .case-feature{flex:0 1 360px}
.case-decision{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.case-decision>div{background:var(--paper);padding:24px;border:1px solid var(--line);border-left:3px solid var(--accent);border-radius:9px}
.case-process{margin:0 0 25px;padding-left:24px;display:grid;gap:12px}
.project-case .case-process li{font-size:15px;line-height:1.8}
.case-process li::marker{color:var(--accent);font-weight:750}
.case-cta{display:flex;align-items:center;justify-content:space-between;gap:18px;background:var(--paper);border:1px solid var(--line);border-radius:11px;padding:23px}
.case-cta strong{font-size:17px}
.project-case .case-cta p{color:var(--muted);font-size:14px;margin:5px 0 0}
.case-cta .project-demo-link{white-space:nowrap}
.project-case .case-disclaimer{font-size:13px;color:var(--soft);margin-top:17px}
@media(max-width:760px){
 .project-case{padding:25px 20px 65px}
 .case-header{padding-bottom:26px}
 .case-showcase,.case-mini-grid,.case-decision{grid-template-columns:1fr}
 .case-feature-grid{flex-direction:column}
 .case-feature-grid .case-feature{flex-basis:auto;width:100%}
 .case-image-placeholder{min-height:250px}
 .case-panel{padding:17px}
 .case-cta{align-items:stretch;flex-direction:column}
 .case-cta .project-demo-link{justify-content:center}
 .project-case .case-section-head h2{font-size:22px}
}


/* Real course operations overview screenshot */
.art-course .project-shot,.art-city .project-shot,.art-industries .project-shot{
  display:block;width:92%;height:auto;max-height:85%;object-fit:contain;
  border:1px solid rgba(54,95,138,.18);border-radius:7px;
  background:#fff;box-shadow:0 10px 25px rgba(18,56,95,.13);
  transition:transform .22s ease,box-shadow .22s ease;
}
.art-city{background:#061d31}
.art-city .project-shot{border-color:rgba(71,201,232,.28);background:#041a2c;box-shadow:0 10px 25px rgba(0,19,35,.28)}
.project-card-link:hover .project-shot{transform:scale(1.035);box-shadow:0 13px 29px rgba(18,56,95,.19)}
.case-screenshot-link{display:block;position:relative;overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:9px;line-height:0}
.case-screenshot-link:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.case-screenshot{width:100%;height:auto;display:block;object-fit:contain}
.case-screenshot-action{position:absolute;bottom:12px;right:12px;padding:8px 11px;border-radius:6px;background:rgba(0,62,104,.92);color:#fff;font:700 12px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;box-shadow:0 4px 12px rgba(0,0,0,.13)}
.case-screenshot-link:hover .case-screenshot-action{background:var(--accent)}
@media(max-width:760px){
  .case-screenshot-action{right:8px;bottom:8px}
}


/* v7 large screenshot and technical architecture diagram */
.project-case{max-width:1210px}
.project-case .case-section-head{margin-bottom:20px}
.project-case .case-section-head p{font-size:15px;max-width:880px}
.wide-product-figure{margin:0}
.wide-product-shot{display:block;position:relative;border:1px solid var(--line);border-radius:13px;background:var(--paper);overflow:hidden;line-height:0;box-shadow:0 10px 30px rgba(10,48,80,.055)}
.wide-product-shot img{display:block;width:100%;height:auto;object-fit:contain}
.wide-product-shot:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.wide-shot-action{position:absolute;bottom:20px;right:20px;display:inline-flex;align-items:center;border-radius:7px;padding:12px 15px;color:#fff;background:rgba(0,70,116,.91);font-size:14px;font-weight:700;line-height:1.3;box-shadow:0 4px 14px rgba(0,0,0,.13)}
.wide-product-shot:hover .wide-shot-action{background:#087faf}
.wide-figure-caption{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:13px 2px 0;font-size:14px;color:var(--muted);line-height:1.7}
.wide-figure-caption span:first-child{font-weight:700;color:var(--ink)}
#case-architecture{--arch-blue:#337fc4;--arch-green:#43a36e;--arch-teal:#398f8c;--arch-orange:#d69a2e;--arch-purple:#8258b8}
.architecture-map{max-width:100%;border:1px solid #cfd4da;border-radius:18px;background-color:#eceeef;background-image:radial-gradient(circle,#cfd4d8 1px,transparent 1px);background-size:18px 18px;padding:32px clamp(18px,4vw,52px) 35px;display:flex;flex-direction:column;align-items:stretch;box-shadow:inset 0 1px 0 rgba(255,255,255,.86),0 18px 44px rgba(23,34,48,.09)}
.architecture-map-label{display:flex;align-items:center;justify-content:flex-start;align-self:center;width:min(100%,520px);gap:9px;color:#626a73;font:700 12px/1.45 Consolas,monospace;letter-spacing:.035em;margin:0 0 12px}
.architecture-map-label:first-child{width:min(100%,440px)}
.architecture-map-dot{height:9px;width:9px;border-radius:50%;display:inline-block;flex:none;box-shadow:0 0 0 4px rgba(255,255,255,.72)}
.architecture-map-dot-plan{background:#8f979f}
.architecture-map-dot-build{background:var(--arch-blue)}
.architecture-node{position:relative;background:rgba(255,255,255,.96);border:1px solid #c8cdd2;border-left:5px solid var(--node-accent,var(--arch-blue));border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;gap:7px;text-align:center;padding:20px 20px;box-shadow:0 3px 7px rgba(30,39,49,.1),0 14px 28px rgba(30,39,49,.07);transition:transform .2s ease,box-shadow .2s ease}
.architecture-node:hover{transform:none;box-shadow:0 3px 7px rgba(30,39,49,.1),0 14px 28px rgba(30,39,49,.07)}
.architecture-node strong{font-size:18px;line-height:1.4;color:#22282f}
.architecture-node span{font-size:14px;line-height:1.65;color:#69717a}
.architecture-node small{font-size:12px;line-height:1.5;color:var(--node-accent,var(--arch-blue));font-weight:750}
.architecture-node-kicker{font:700 11px/1.4 Consolas,monospace;letter-spacing:.1em;color:var(--node-accent,var(--arch-blue))}
.architecture-node-system{--node-accent:#8f979f;max-width:440px;width:calc(100% - 48px);align-self:center;background:rgba(247,248,249,.88);border-style:dashed;box-shadow:0 8px 20px rgba(30,39,49,.055)}
.architecture-node-front,.architecture-node-back{max-width:520px;width:calc(100% - 48px);align-self:center}
.architecture-node-front{--node-accent:var(--arch-blue)}
.architecture-node-back{--node-accent:var(--arch-green)}
.architecture-connector{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:70px;color:#59636d}
.architecture-connector span{font:700 11px/1.6 Consolas,monospace;text-align:center;background:rgba(236,238,239,.94);padding:1px 8px;border-radius:12px}
.architecture-connector i{font-style:normal;font-size:24px;line-height:1;color:#343c44;text-shadow:0 2px 0 rgba(255,255,255,.8)}
.architecture-connector-plan{color:#747c84;min-height:68px}
.architecture-connector-plan:before{content:"";height:15px;border-left:2px dashed #929aa2}
.architecture-branch-connector{display:flex;flex-direction:column;align-items:stretch;width:72%;align-self:center;color:#3e4750;height:55px}
.architecture-branch-stem{align-self:center;height:23px;border-left:2px solid #69727b}
.architecture-branch-bar{height:11px;border-top:2px solid #69727b;border-left:2px solid #69727b;border-right:2px solid #69727b}
.architecture-branch-heads{display:flex;align-items:start;justify-content:space-between;font-size:19px;line-height:1;color:#343c44}
.architecture-services{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.architecture-services .architecture-node{justify-content:flex-start;min-height:204px;padding:20px 15px}
.architecture-services .architecture-node strong{font-size:16px}
.architecture-services .architecture-node span{font-size:13px}
.architecture-node-rule{--node-accent:var(--arch-teal)}
.architecture-node-data{--node-accent:var(--arch-orange)}
.architecture-node-ai{--node-accent:var(--arch-purple);background:rgba(255,255,255,.98)}
.architecture-model-link{color:var(--arch-purple);font:700 11px/1.35 Consolas,monospace}
.architecture-model{border:1px solid #d5c9e4;border-left:4px solid var(--arch-purple);border-radius:9px;padding:10px 13px;background:#f8f5fb;width:min(100%,230px);display:flex;align-items:center;flex-direction:column;gap:2px;box-shadow:0 5px 12px rgba(83,55,117,.1)}
.architecture-model strong{font-size:15px!important}
.architecture-model small{font-size:12px}
.architecture-points{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:16px}
.architecture-points>div{position:relative;padding:18px 19px 18px 22px;background:#f4f4f3;border:1px solid #d5d6d7;border-radius:11px;display:flex;flex-direction:column;gap:5px;box-shadow:0 7px 18px rgba(25,33,42,.07)}
.architecture-points>div:before{content:"";position:absolute;left:0;top:14px;bottom:14px;width:4px;border-radius:0 4px 4px 0;background:var(--point-accent,var(--arch-blue))}
.architecture-points>div:nth-child(1){--point-accent:var(--arch-teal)}
.architecture-points>div:nth-child(2){--point-accent:var(--arch-purple)}
.architecture-points>div:nth-child(3){--point-accent:var(--arch-orange)}
.architecture-points strong{font-size:15px;color:var(--ink)}
.architecture-points span{font-size:13px;line-height:1.65;color:var(--muted)}
:root[data-theme='dark'] .architecture-map{background-color:#20252c;background-image:radial-gradient(circle,#3a424c 1px,transparent 1px);border-color:#444c56;box-shadow:inset 0 1px 0 rgba(255,255,255,.03),0 18px 44px rgba(0,0,0,.24)}
:root[data-theme='dark'] .architecture-map-label{color:#aeb7c2}
:root[data-theme='dark'] .architecture-node{background:rgba(43,50,60,.97);border-color:#56606c;box-shadow:0 3px 8px rgba(0,0,0,.28),0 16px 30px rgba(0,0,0,.17)}
:root[data-theme='dark'] .architecture-node strong{color:#f1f3f6}
:root[data-theme='dark'] .architecture-node span{color:#b3bdc8}
:root[data-theme='dark'] .architecture-node-system{background:rgba(35,41,49,.86)}
:root[data-theme='dark'] .architecture-connector span{background:rgba(32,37,44,.95)}
:root[data-theme='dark'] .architecture-model{background:#302a3a;border-color:#665579}
:root[data-theme='dark'] .architecture-points>div{background:#242a32;border-color:#444d58}

/* Cohesive project case study UI */
.project-case{--case-blue:#2b72c4;--case-cyan:#28a8c5;--case-green:#43a36e;--case-orange:#d69a2e;--case-purple:#8258b8}
.project-case .back{margin:8px 0 18px;padding:6px 10px;border-radius:999px;background:var(--paper);border:1px solid var(--line);font-weight:650}
.case-header{position:relative;isolation:isolate;overflow:hidden;margin:0 0 34px;padding:clamp(30px,5vw,52px);border:1px solid #cbd8e3;border-radius:22px;background:radial-gradient(circle at 88% 14%,rgba(40,168,197,.19),transparent 31%),radial-gradient(circle at 4% 100%,rgba(43,114,196,.1),transparent 34%),linear-gradient(145deg,#fbfdff,#eef5f8);box-shadow:0 20px 48px rgba(24,54,78,.09)}
.case-header:before{content:"";position:absolute;inset:0;z-index:-1;background-image:radial-gradient(circle,rgba(43,114,196,.16) 1px,transparent 1px);background-size:22px 22px;mask-image:linear-gradient(90deg,transparent,rgba(0,0,0,.32),transparent)}
.case-header:after{content:"";position:absolute;right:-70px;bottom:-110px;z-index:-1;width:280px;height:280px;border:1px solid rgba(40,168,197,.25);border-radius:50%;box-shadow:0 0 0 34px rgba(40,168,197,.05),0 0 0 70px rgba(43,114,196,.035)}
.project-case .case-header .kicker{display:inline-flex;margin:0 0 13px;padding:5px 9px;border:1px solid rgba(43,114,196,.19);border-radius:999px;background:rgba(255,255,255,.76);font-size:11px;letter-spacing:.12em}
.project-case .case-header h1{max-width:760px;margin:0 0 13px;font-size:clamp(34px,4.4vw,52px);line-height:1.18}
.project-case .case-header .lead{max-width:790px;margin:0 0 20px;font-size:16px;line-height:1.9;color:#536475}
.case-tags{margin:0 0 24px}
.case-tags .tag{padding:5px 10px;border:1px solid rgba(43,114,196,.13);background:rgba(255,255,255,.78);color:#405a72}
.case-actions{gap:11px}
.case-actions .project-demo-link,.case-cta .project-demo-link{border:1px solid transparent;border-radius:9px;background:linear-gradient(135deg,var(--case-blue),var(--case-cyan));box-shadow:0 8px 20px rgba(24,108,157,.16);transition:transform .2s ease,box-shadow .2s ease,opacity .2s ease}
.case-actions .project-demo-link:hover,.case-cta .project-demo-link:hover{opacity:1;transform:translateY(-1px);box-shadow:0 11px 25px rgba(24,108,157,.22)}
.case-secondary-link{border-radius:9px;background:rgba(255,255,255,.74)}
.project-case .case-meta{margin:15px 0 0;color:#748393}
.case-section{padding:44px 0 38px;border-color:var(--line)}
.project-case .case-section-head{margin-bottom:24px}
.case-section-head .case-no{display:inline-flex;align-items:center;gap:7px;width:auto;padding:5px 9px;border:1px solid rgba(43,114,196,.17);border-radius:999px;background:rgba(43,114,196,.055);font-size:11px}
.case-section-head .case-no:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--case-cyan);box-shadow:0 0 0 3px rgba(40,168,197,.11)}
.project-case .case-section-head h2{margin:10px 0 7px;font-size:clamp(24px,2.6vw,30px);letter-spacing:-.025em}
.project-case .case-section-head p{max-width:760px;line-height:1.8}
.wide-product-shot{border-radius:18px;border-color:#cbd5df;box-shadow:0 18px 42px rgba(24,54,78,.1)}
.wide-shot-action{border-radius:9px;background:linear-gradient(135deg,rgba(31,103,177,.96),rgba(35,161,190,.96));box-shadow:0 8px 20px rgba(0,42,74,.18)}
.wide-figure-caption{margin-top:15px;padding:0 3px}
.architecture-map{border-radius:20px;box-shadow:inset 0 1px 0 rgba(255,255,255,.86),0 20px 46px rgba(23,34,48,.085)}
.architecture-services .architecture-node{min-height:190px}
.architecture-points{gap:15px;margin-top:18px}
.architecture-points>div{border-radius:13px;padding:19px 20px 19px 23px;box-shadow:0 7px 18px rgba(25,33,42,.055)}
.case-feature-grid{gap:15px}
.case-feature-grid .case-feature{position:relative;overflow:hidden;flex-basis:360px;padding:24px;border-radius:14px;background:linear-gradient(145deg,var(--paper),color-mix(in srgb,var(--paper) 88%,var(--feature-accent) 12%));box-shadow:0 1px 0 rgba(255,255,255,.75)}
.case-feature:before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:var(--feature-accent,var(--case-blue))}
.case-feature:nth-child(1){--feature-accent:var(--case-blue)}
.case-feature:nth-child(2){--feature-accent:var(--case-purple)}
.case-feature:nth-child(3){--feature-accent:var(--case-green)}
.case-feature:nth-child(4){--feature-accent:var(--case-orange)}
.case-feature:nth-child(5){--feature-accent:var(--case-cyan)}
.case-feature>span{color:var(--feature-accent)}
.case-principle-grid{gap:15px}
.case-principle-grid .case-mini{position:relative;overflow:hidden;padding:24px 23px 23px 27px;border-radius:14px;background:linear-gradient(145deg,var(--paper),color-mix(in srgb,var(--paper) 92%,var(--principle-accent) 8%));box-shadow:0 1px 0 rgba(255,255,255,.72)}
.case-principle-grid .case-mini:before{content:"";position:absolute;left:0;top:18px;bottom:18px;width:4px;border-radius:0 4px 4px 0;background:var(--principle-accent,var(--case-blue))}
.case-principle-grid .case-mini:nth-child(1){--principle-accent:var(--case-green)}
.case-principle-grid .case-mini:nth-child(2){--principle-accent:var(--case-purple)}
.case-principle-grid .case-mini:nth-child(3){--principle-accent:var(--case-orange)}
.case-principle-grid .case-mini>span{color:var(--principle-accent)}
.case-cta{margin-top:18px;border-radius:15px;border-color:#c8d8e4;padding:25px 26px;background:radial-gradient(circle at 92% 18%,rgba(40,168,197,.15),transparent 28%),linear-gradient(145deg,var(--paper),#edf5f8);box-shadow:0 12px 28px rgba(24,54,78,.07)}
.project-case .case-disclaimer{margin:16px 0 0;padding:13px 16px;border-left:3px solid var(--case-orange);border-radius:0 9px 9px 0;background:rgba(214,154,46,.065);line-height:1.75}
:root[data-theme='dark'] .case-header{border-color:#3c4c5d;background:radial-gradient(circle at 88% 14%,rgba(40,168,197,.16),transparent 31%),radial-gradient(circle at 4% 100%,rgba(43,114,196,.13),transparent 34%),linear-gradient(145deg,#202937,#1b232f);box-shadow:0 22px 50px rgba(0,0,0,.24)}
:root[data-theme='dark'] .project-case .case-header .kicker,:root[data-theme='dark'] .case-tags .tag,:root[data-theme='dark'] .case-secondary-link{background:rgba(31,39,51,.78);border-color:#415164}
:root[data-theme='dark'] .project-case .case-header .lead{color:#b7c3d1}
:root[data-theme='dark'] .project-case .case-meta{color:#93a3b5}
:root[data-theme='dark'] .case-feature-grid .case-feature,:root[data-theme='dark'] .case-principle-grid .case-mini{background:var(--paper);box-shadow:none}
:root[data-theme='dark'] .case-cta{border-color:#3d4d5f;background:radial-gradient(circle at 92% 18%,rgba(40,168,197,.13),transparent 28%),linear-gradient(145deg,#202633,#1d2632);box-shadow:0 14px 32px rgba(0,0,0,.18)}
:root[data-theme='dark'] .project-case .case-disclaimer{background:rgba(214,154,46,.08)}
.case-principle-grid .case-mini>span{font-size:11px}
#case-architecture,#case-preview,#case-features,#case-principles,#city-preview{scroll-margin-top:92px}
@media(max-width:760px){
 .project-case{padding:25px 17px 60px}
 .project-case .back{margin-bottom:14px}
 .case-header{margin-bottom:23px;padding:25px 20px;border-radius:17px}
 .case-header:after{right:-120px;bottom:-150px}
 .project-case .case-header h1{font-size:31px}
 .project-case .case-header .lead{font-size:14px;line-height:1.8}
 .case-section{padding:34px 0 30px}
 .case-section-head .case-no{font-size:10px}
 .wide-shot-action{bottom:9px;right:9px;font-size:12px;padding:8px 10px}
 .wide-figure-caption{font-size:12px}
 .architecture-map{padding:19px 12px}
 .architecture-map-label{font-size:12px}
 .architecture-node{padding:15px 12px}
 .architecture-node-system{width:100%}
 .architecture-node-front,.architecture-node-back{width:100%}
 .architecture-node strong{font-size:16px}
 .architecture-node span{font-size:12px}
 .architecture-branch-connector{display:none}
 .architecture-services,.architecture-points{grid-template-columns:1fr;gap:10px}
 .architecture-services .architecture-node{min-height:0}
 .architecture-services .architecture-node:not(:first-child):before{content:"";position:absolute;top:-10px;left:50%;height:10px;border-left:2px solid var(--line)}
 .architecture-services .architecture-node{position:relative}
 .architecture-node-ai{padding-bottom:15px}
 .architecture-points{margin-top:10px}
 .case-feature-grid .case-feature{flex:0 0 auto;width:100%;padding:21px}
 .case-principle-grid .case-mini{padding:21px}
 .case-cta{padding:21px}
}


/* Urban Vitality RAG case study */
.rag-map .architecture-node{max-width:890px;width:100%;align-self:center}
.rag-map .architecture-node-system{border-style:solid}
.rag-map .architecture-node-ai{background:var(--paper);border-color:var(--accent)}
.city-preview-pending{aspect-ratio:1782/877;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;background:linear-gradient(115deg,#071b30,#0a3754);border-color:#235a77;padding:24px;color:#d9f1ff;text-align:center}
.city-preview-pending .city-preview-label{font-weight:750;font-size:22px}
.project-case .city-preview-pending p{color:#b0c7db;font-size:14px;margin:0}


/* Personal job-search ticker: calm, looping, accessible */
.job-ticker{
  position:relative;max-width:530px;margin:22px auto 0;
  overflow:hidden;border:1px solid var(--line);border-radius:999px;
  background:var(--paper);padding:9px 0;
  -webkit-mask-image:linear-gradient(to right,transparent 0%,#000 5%,#000 95%,transparent 100%);
  mask-image:linear-gradient(to right,transparent 0%,#000 5%,#000 95%,transparent 100%);
}
.job-ticker-track{display:flex;width:max-content;animation:job-ticker-slide 19s linear infinite}
.job-ticker-line{
  flex:0 0 auto;white-space:nowrap;padding:0 25px;color:var(--accent);
  font-size:13px;font-weight:650;letter-spacing:.025em;line-height:1.6;
}
.job-ticker:hover .job-ticker-track{animation-play-state:paused}
.job-ticker-accessible{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@keyframes job-ticker-slide{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(max-width:720px){
  .job-ticker{max-width:min(100%,440px);margin-top:19px}
  .job-ticker-line{font-size:12px;padding:0 21px}
}
@media(prefers-reduced-motion:reduce){
  .job-ticker-track{animation:none;width:100%;justify-content:center}
  .job-ticker-line:nth-child(2){display:none}
}


/* Section heading rhythm: one visual hierarchy for Projects and Notes */
#projects .section-head,#notes .section-head{
  gap:0;
  margin-bottom:24px;
}
#projects .section-head h2,#notes .section-head h2{
  display:block;
  padding-bottom:0;
  font-size:28px;
  line-height:1.25;
}
#projects .section-head h2::after,#notes .section-head h2::after{
  position:static;
  display:block;
  width:42px;
  height:3px;
  margin:10px auto 8px;
  transform:none;
}
#projects .section-head .h-sub,#notes .section-head .h-sub{
  font-size:13px;
  line-height:1.4;
  color:var(--muted);
  letter-spacing:.035em;
}
#notes .section-head{margin-bottom:12px}
#notes .section-note{
  max-width:700px;
  margin:0 auto 26px;
  color:var(--muted);
  font-size:13px;
  line-height:1.7;
}
@media(max-width:720px){
  #projects .section-head h2,#notes .section-head h2{font-size:25px}
  #projects .section-head .h-sub,#notes .section-head .h-sub{font-size:12px}
  #notes .section-head{margin-bottom:10px}
  #notes .section-note{font-size:12px;margin-bottom:22px}
}


/* Contact and career profile navigation */
.nav-links a.nav-contact{color:var(--accent);font-weight:720}
.nav-links a.nav-contact[aria-current="page"]{border-bottom:2px solid var(--accent);padding-bottom:4px}
@media(max-width:720px){
  .nav-links{gap:12px}
  .site-header .nav-links a.nav-contact{font-size:12px;white-space:nowrap}
}


/* Compact mobile navigation with Contact link */
@media(max-width:720px){
  .site-header .nav{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;row-gap:9px;padding-top:9px;padding-bottom:9px}
  .site-header .brand{grid-row:1;grid-column:1;justify-self:start}
  .site-header .nav-right{grid-column:1/-1;grid-row:2;width:100%;justify-content:space-between;gap:9px;min-width:0}
  .site-header .nav-links{flex:1;min-width:0;display:flex;gap:14px;overflow-x:auto;scrollbar-width:none}
  .site-header .nav-links::-webkit-scrollbar{display:none}
  .site-header .nav-links a{font-size:12px}
  .site-header .lang-btn,.site-header .theme-btn{flex:0 0 auto}
}
