*{box-sizing:border-box}
:root{--ink:#27313a;--muted:#5e6b76;--line:#dbe2e8;--soft:#f4f7f9;--accent:#3f6f98;--accent-soft:#e7f0f7;--surface:#fff;--subtle:#768592;--detail:#40505e}
:root[data-theme="dark"]{--ink:#e8edf2;--muted:#b5bec8;--line:#38434e;--soft:#222930;--accent:#9bbbd6;--accent-soft:#2d3945;--surface:#171b20;--subtle:#9daab6;--detail:#d2dbe3}
html{scroll-behavior:smooth;scroll-padding-top:28px}
body{margin:0;background:var(--surface);color:var(--ink);font:16.5px/1.75 "DM Sans",sans-serif;-webkit-font-smoothing:antialiased;transition:background .2s ease,color .2s ease}
a{color:inherit;text-decoration:none}
a:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:2px}
a:hover{color:var(--accent)}
.page{width:min(100% - 48px,740px);margin:0 auto}
.intro{display:grid;grid-template-columns:112px 1fr;gap:28px;align-items:start;padding:60px 0 42px;position:relative}
.theme-toggle{position:absolute;top:24px;right:0;width:34px;height:34px;border:1px solid var(--line);border-radius:50%;background:var(--soft);color:var(--ink);display:grid;place-items:center;cursor:pointer;font:18px/1 "DM Sans",sans-serif;transition:background .2s ease,border-color .2s ease,transform .2s ease}
.theme-toggle:hover{color:var(--accent);transform:rotate(12deg)}
.theme-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.avatar{width:112px;height:112px;border-radius:50%;background:var(--accent-soft);border:1px solid #aec2d2;overflow:hidden}
.avatar img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.5px;color:var(--subtle);margin:0 0 10px}
h1,h2,h3,h4,p{margin-top:0}
h1,h2,h3{font-family:Manrope,"DM Sans",sans-serif;letter-spacing:-.65px}
h1{font-size:34px;line-height:1.25;margin-bottom:5px;font-weight:800}
.lead{font-size:17px;font-weight:600;color:var(--detail);margin-bottom:12px}
.intro-detail{color:var(--muted);font-size:15px;line-height:1.8;margin-bottom:15px}
.intro-links{display:flex;flex-wrap:wrap;gap:18px;font-size:13px;font-weight:700}
.intro-links a,.project-title a,.cert a,.youtube-copy>a{color:var(--accent)}
.section{border-top:1px solid var(--line);padding:27px 0 31px}
.section-head{display:flex;align-items:baseline;gap:12px;margin-bottom:9px}
.section-no{font-size:10px;color:var(--subtle);letter-spacing:1px;font-weight:700}
h2{font-size:24px;line-height:1.35;margin:0;font-weight:800}
.section-description{color:var(--muted);font-size:14.5px;margin-bottom:18px}
.skill-lines p{display:grid;grid-template-columns:150px 1fr;gap:16px;font-size:14px;margin:0;padding:8px 0;border-bottom:1px solid #f0f1ee}
.skill-lines p:last-child{border:0}
.skill-lines strong{font-weight:700;color:var(--detail)}
.skill-lines span{color:var(--muted)}
.entry{padding:19px 21px;border:1px solid var(--line);border-radius:9px}
.entry-top{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}
.entry h3,.project h3,.cert h3,.youtube h3{font-size:16px;margin:0 0 3px;font-weight:800}
.entry-subtitle{font-size:13.5px;color:var(--muted);margin:0}
.date{font-size:12.5px;color:var(--subtle);white-space:nowrap;padding-top:3px}
.entry-summary{font-size:14px;color:var(--detail);margin:2px 0 12px}
.work-label{font-size:10px;color:var(--subtle);font-weight:700;letter-spacing:1.2px;text-transform:uppercase;margin:0 0 7px}
.work-items{border-left:2px solid #edf2e9;padding-left:16px}
.detail-item{border-top:1px solid #eff0ed;padding:13px 0 3px}
.detail-item h4{font-size:13px;margin:0 0 4px;font-weight:700}
.detail-item p{font-size:13.5px;line-height:1.75;color:var(--muted);margin-bottom:7px}
.detail-item .stack,.stack{font-size:12px;color:var(--subtle);letter-spacing:.1px}
.fine-print{font-size:11.5px;color:var(--subtle);margin:11px 0 0}
.project-list{display:flex;flex-direction:column;gap:11px}
.project{display:grid;grid-template-columns:205px 1fr;gap:18px;padding:12px;border:1px solid var(--line);border-radius:9px;align-items:center}
.project-image{border-radius:6px;overflow:hidden;display:grid;place-items:center;padding:6px}
.project-image img{display:block;width:100%;height:100%;object-fit:contain;border-radius:4px}
.image-edukate{background:#e8f0f5}
.image-quizy{background:#edf0f6}
.image-movie{background:#e8eef2}
.image-edukate{aspect-ratio:1920 / 960}
.image-quizy{aspect-ratio:1920 / 980}
.image-movie{aspect-ratio:1920 / 960}
.mock-browser{background:#fff;width:100%;border-radius:4px;box-shadow:0 6px 20px #1f2b1b10;overflow:hidden}
.mock-top{height:18px;border-bottom:1px solid #edf0ea;display:flex;align-items:center;gap:3px;padding:0 7px;color:#687064;font-size:7px}
.mock-top i{width:4px;height:4px;border-radius:50%;background:#c8d0c3}
.mock-top span{margin-left:6px;font-weight:700}
.mock-body{padding:12px 10px}
.mock-body small{font-size:6px;color:#71935d;display:block;margin-bottom:5px}
.mock-body b{font:800 15px/1.18 Manrope,sans-serif;letter-spacing:-.5px;display:block}
.mock-blocks{display:flex;gap:5px;margin-top:11px}
.mock-blocks i{height:20px;flex:1;background:#eef3e9;border-radius:3px}
.quiz-art{width:100%;background:white;border-radius:5px;padding:15px;box-shadow:0 6px 20px #36246b0e}
.quiz-art span,.movie-art>span{display:block;font-size:7px;letter-spacing:1px;color:#8373be;font-weight:700;margin-bottom:8px}
.quiz-art b,.movie-art b{display:block;font:800 16px/1.25 Manrope,sans-serif;letter-spacing:-.5px}
.quiz-art i{display:block;font-size:8px;color:#726a8a;font-style:normal;margin-top:15px}
.movie-art{width:100%;height:100%;border-radius:5px;padding:14px;background:linear-gradient(145deg,#b7c9c6,#e5d8c6 45%,#778b94);display:flex;flex-direction:column;justify-content:space-between;color:#fff;text-shadow:0 1px 5px #25303966}
.movie-art>span{color:#fff}
.poster-row{display:flex;gap:5px}
.poster-row i{height:36px;flex:1;border-radius:3px;background:linear-gradient(150deg,#bd9a78,#574d60)}
.poster-row i:nth-child(2){background:linear-gradient(150deg,#d4c0a0,#3b6671)}
.poster-row i:nth-child(3){background:linear-gradient(150deg,#b7a4b7,#4d4159)}
.project-info{min-width:0}
.project-title{display:flex;align-items:center;justify-content:space-between;gap:12px}
.project-title h3{font-size:17px}
.project-title a{font-size:11px;white-space:nowrap;font-weight:700}
.project-info>p:not(.stack){font-size:13.5px;line-height:1.8;color:var(--muted);margin:7px 0}
.project-info .stack{margin:9px 0 0}
.education-entry .entry-summary{margin-bottom:0}
.cert-list{border-top:1px solid var(--line)}
.cert{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 0;border-bottom:1px solid var(--line)}
.cert h3{font-size:13px;letter-spacing:-.2px}
.cert p{font-size:12.5px;color:var(--muted);margin:0}
.cert>a{font-size:11px;font-weight:700;white-space:nowrap}
.youtube-stack{border:1px solid var(--line);border-radius:9px;overflow:hidden;background:var(--surface)}
.youtube-preview{border-bottom:1px solid var(--line);background:var(--soft);line-height:0}
.youtube-preview img{display:block;width:100%;height:auto}
.youtube-dark{display:none!important}
.youtube-card{display:grid;grid-template-columns:54px 1fr;gap:17px;align-items:start;padding:20px;background:var(--surface)}
.youtube-icon{width:48px;height:34px;border-radius:9px;background:#fcebea;color:#e3362b;display:grid;place-items:center;font-size:16px}
.youtube-copy h3{font-size:15px}
.youtube-copy p{font-size:13.5px;color:var(--muted);margin:5px 0 8px}
.youtube-copy>a{font-size:12px;font-weight:700}
.youtube-copy .fine-print{font-size:11.5px;color:var(--subtle);margin-top:8px}
.footer{border-top:1px solid var(--line);padding:37px 0 20px}
.footer h2{font-size:24px;margin-bottom:7px}
.footer-copy{font-size:14.5px;color:var(--muted);margin-bottom:17px}
.socials{display:flex;flex-wrap:wrap;gap:9px}
.socials a{border:1px solid var(--line);border-radius:5px;padding:6px 11px;font-size:11px;font-weight:600}
.footer-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);margin-top:32px;padding-top:17px;font-size:10.5px;color:var(--subtle)}
.brand{font:800 20px Manrope,sans-serif;letter-spacing:-1px;color:var(--ink)}
.brand span{color:var(--accent)}
:root[data-theme="dark"] .youtube-light{display:none}
:root[data-theme="dark"] .youtube-dark{display:block!important}
:root[data-theme="dark"] .avatar{border-color:#607b93}
:root[data-theme="dark"] .skill-lines p{border-color:#2e3740}
:root[data-theme="dark"] .work-items{border-color:#354351}
:root[data-theme="dark"] .detail-item{border-color:#2e3740}
:root[data-theme="dark"] .image-edukate{background:#273238}
:root[data-theme="dark"] .image-quizy{background:#2d303c}
:root[data-theme="dark"] .image-movie{background:#293139}
@media(max-width:620px){
 .page{width:min(100% - 32px,480px)}
 .intro{display:block;padding:52px 0 29px}
 .theme-toggle{top:12px;right:0}
 .avatar{width:76px;height:76px;margin-bottom:18px}
 h1{font-size:26px}
 .lead{font-size:16px}
 .intro-detail{font-size:14px}
 .section{padding:23px 0 26px}
 h2{font-size:21px}
 .skill-lines p{grid-template-columns:1fr;gap:2px}
 .entry{padding:15px}
 .entry-top{display:block}
 .date{display:block;margin-top:5px}
 .work-items{padding-left:12px}
 .project{grid-template-columns:1fr;gap:11px;padding:10px}
 .project-image{padding:5px}
 .project-title{align-items:flex-start}
 .project-title a{font-size:12px}
 .cert{align-items:flex-start}
 .cert h3{line-height:1.5}
 .cert>a{font-size:12px}
 .youtube-card{grid-template-columns:38px 1fr;padding:13px;gap:12px}
 .youtube-icon{width:36px;height:28px;font-size:13px}
 .footer-bottom{flex-wrap:wrap;gap:10px 18px}
}
