*{box-sizing:border-box}body{color:#0f172a;scrollbar-gutter:stable;background:#f8fafc;margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}a{color:inherit}.game-banner{color:#e0f2fe;text-align:center;background:linear-gradient(90deg,#0c4a6e 0%,#155e75 50%,#0e7490 100%);border-bottom:1px solid #0369a1;padding:.65rem 1.25rem}.game-banner p{margin:0;font-size:.92rem;line-height:1.5}.game-banner a{color:#fef08a;text-underline-offset:2px;font-weight:700;text-decoration:underline}.game-banner a:hover{color:#fff}@media (width<=640px){.game-banner p{font-size:.85rem}}.layout{color:#0f172a;background:#f8fafc;flex-direction:column;min-height:100vh;display:flex}.layout__header{background:#fff;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.5rem;display:flex}.layout__brand a{color:#0f172a;font-size:1.15rem;font-weight:700;text-decoration:none}.layout__brand span{color:#64748b;margin-top:.15rem;font-size:.85rem;display:block}.layout__nav{gap:1rem;display:flex}.layout__nav a{color:#334155;font-size:.95rem;font-weight:500;text-decoration:none}.layout__nav a:hover{color:#2563eb}.layout__main{flex:1;width:min(1060px,100%);margin:0 auto;padding:2rem 1.5rem 3rem}.layout__footer{background:#fff;border-top:1px solid #e2e8f0;justify-content:center;gap:1.25rem;padding:1rem;font-size:.9rem;display:flex}.layout__footer a{color:#475569;text-decoration:none}.layout__footer a:hover{color:#2563eb}@media (width<=640px){.layout__header{flex-direction:column;align-items:flex-start}}.layout--portfolio{scrollbar-gutter:stable;min-height:100vh}.layout--portfolio .layout__footer{flex-shrink:0}.layout--portfolio-project .layout__footer{visibility:hidden;pointer-events:none}.portfolio{box-sizing:border-box;flex:1;gap:0;width:100%;min-height:0;padding:0;display:flex}.portfolio__sidebar{background:#f8fafc;border-right:1px solid #e2e8f0;flex:0 0 200px;align-self:flex-start;padding:1rem .75rem 1rem 1.25rem}.portfolio__sidebar-title{letter-spacing:.08em;text-transform:uppercase;color:#64748b;margin:0 0 .75rem;font-size:.8rem;font-weight:700}.portfolio__nav{flex-direction:column;gap:.25rem;display:flex}.portfolio__nav-link{color:#334155;border:1px solid #0000;border-radius:8px;justify-content:space-between;align-items:center;gap:.5rem;padding:.55rem .75rem;font-size:.95rem;font-weight:500;line-height:1.25;text-decoration:none;display:flex}.portfolio__nav-link:hover{color:#2563eb;background:#f1f5f9}.portfolio__nav-link--active{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.portfolio__nav-status{text-transform:uppercase;letter-spacing:.04em;color:#94a3b8;font-size:.7rem;font-weight:600}.portfolio__main{flex-direction:column;flex:1;min-width:0;min-height:0;padding:1rem 1.25rem 1.5rem 1rem;display:flex}.portfolio--project .portfolio__main{padding:.5rem .5rem .5rem 0}.portfolio__loading{color:#64748b;margin:0;padding:1rem}.layout__nav-active{color:#2563eb}@media (width<=800px){.portfolio{flex-direction:column}.portfolio__sidebar{border-bottom:1px solid #e2e8f0;border-right:none;flex:none;align-self:stretch;padding:.75rem .75rem 0}.portfolio__nav{flex-flow:wrap}.portfolio__main{padding:.75rem}.portfolio--project .portfolio__main{padding:.5rem .75rem .75rem}}.chat{flex-direction:column;gap:1rem;display:flex}.chat__intro{color:#475569;margin:0;line-height:1.6}.chat__suggestions{flex-wrap:wrap;gap:.5rem;display:flex}.chat__suggestions button{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:999px;padding:.45rem .85rem;font-size:.85rem}.chat__suggestions button:hover:not(:disabled){color:#2563eb;border-color:#2563eb}.chat__messages{background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;gap:.75rem;min-height:240px;padding:1rem;display:flex}.chat__empty,.chat__loading{color:#64748b;margin:0}.chat__error{color:#b91c1c;margin:0}.chat__message{border-radius:10px;padding:.75rem .9rem}.chat__message strong{text-transform:uppercase;letter-spacing:.04em;margin-bottom:.35rem;font-size:.8rem;display:block}.chat__message p{white-space:pre-wrap;margin:0;line-height:1.55}.chat__message--user{background:#eff6ff}.chat__message--assistant{background:#f8fafc;border:1px solid #e2e8f0}.chat__form{gap:.5rem;display:flex}.chat__form input{border:1px solid #cbd5e1;border-radius:8px;flex:1;padding:.7rem .85rem}.chat__form button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;padding:.7rem 1rem;font-weight:600}.chat__form button:disabled{opacity:.6;cursor:not-allowed}.ask h1{margin:0 0 .5rem}.ask__subtitle{color:#64748b;margin:0 0 1.5rem}.work-carousel{flex-direction:column;gap:1rem;display:flex}.work-carousel__header{justify-content:space-between;align-items:center;gap:1rem;display:flex}.work-carousel__header h2{margin:0;font-size:1.35rem}.work-carousel__controls{align-items:center;gap:.5rem;display:flex}.work-carousel__arrow{color:#0f172a;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:999px;width:2.25rem;height:2.25rem;font-size:1.35rem;line-height:1}.work-carousel__arrow:hover{color:#2563eb;border-color:#2563eb}.work-carousel__count{text-align:center;color:#64748b;min-width:3.5rem;font-size:.9rem}.work-carousel__card{background:linear-gradient(135deg,#fff 0%,#f8fafc 100%);border:1px solid #e2e8f0;border-radius:14px;padding:1.5rem;box-shadow:0 8px 24px #0f172a0f}.work-carousel__role{color:#0f172a;margin:0;font-size:1.2rem;font-weight:700}.work-carousel__company{color:#2563eb;margin:.25rem 0 0;font-size:1rem;font-weight:600}.work-carousel__dates{color:#64748b;margin:.35rem 0 0;font-size:.9rem}.work-carousel__highlights{color:#475569;margin:1.25rem 0 0;padding-left:1.2rem;line-height:1.65}.work-carousel__highlights li+li{margin-top:.5rem}.work-carousel__dots{justify-content:center;gap:.45rem;display:flex}.work-carousel__dot{cursor:pointer;background:#cbd5e1;border:none;border-radius:999px;width:.55rem;height:.55rem;padding:0}.work-carousel__dot--active{background:#2563eb;width:1.4rem}.home{flex-direction:column;gap:2.5rem;display:flex}.home__hero{grid-template-columns:minmax(180px,240px) 1fr;align-items:start;gap:2rem;display:grid}.home__photo-wrap{position:relative}.home__photo{aspect-ratio:3/4;object-fit:cover;object-position:center top;border:4px solid #fff;border-radius:18px;width:100%;display:block;box-shadow:0 12px 32px #0f172a1f}.home__intro{flex-direction:column;gap:1rem;display:flex}.home__eyebrow{letter-spacing:.08em;text-transform:uppercase;color:#2563eb;margin:0;font-size:.85rem;font-weight:600}.home h1{margin:0;font-size:clamp(2rem,5vw,3rem);line-height:1.1}.home__title{color:#334155;margin:0;font-size:1.2rem}.home__location{color:#64748b;margin:0}.home__summary{color:#475569;max-width:65ch;margin:0;font-size:1.05rem;line-height:1.7}.home__actions{flex-wrap:wrap;gap:.75rem;margin-top:.25rem;display:flex}.home__button{color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:8px;justify-content:center;align-items:center;padding:.7rem 1.1rem;font-weight:600;text-decoration:none;display:inline-flex}.home__button--primary{color:#fff;background:#2563eb;border-color:#2563eb}.home__contact{flex-wrap:wrap;gap:1rem;display:flex}.home__contact a{color:#475569;text-decoration:none}.home__contact a:hover{color:#2563eb}.home__philosophy h2{margin:0 0 1rem;font-size:1.35rem}.home__philosophy-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.home__philosophy-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:1.5rem}.home__philosophy-card h3{color:#2563eb;margin:0 0 .75rem;font-size:1.05rem}.home__philosophy-card p{color:#475569;margin:0;line-height:1.7}.home__philosophy-card ul{color:#475569;margin:1rem 0 0;padding-left:1.2rem;line-height:1.65}.home__philosophy-card li+li{margin-top:.45rem}.home__fun-facts h2{margin:0 0 1rem;font-size:1.35rem}.home__stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;display:grid}.home__stat{text-align:center;background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:1.25rem 1rem}.home__stat-value{color:#2563eb;margin:0;font-size:clamp(2rem,4vw,2.75rem);font-weight:800;line-height:1}.home__stat-label{color:#0f172a;margin:.5rem 0 0;font-weight:700}.home__stat-detail{color:#64748b;margin:.25rem 0 0;font-size:.9rem}.home__hobbies{margin-top:1.5rem}.home__hobbies h3{color:#334155;margin:0 0 .85rem;font-size:1rem}.home__hobby-tags{flex-wrap:wrap;gap:.55rem;display:flex}.home__hobby-tag{color:#1e40af;background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;align-items:center;padding:.45rem .85rem;font-size:.92rem;font-weight:500;display:inline-flex}@media (width<=720px){.home__hero{grid-template-columns:1fr;gap:1.5rem}.home__photo-wrap{max-width:220px}.home__stats,.home__philosophy-grid{grid-template-columns:1fr}}.portfolio-index h1{margin:0 0 .5rem;font-size:1.75rem}.portfolio-index__intro{color:#475569;max-width:60ch;margin:0 0 1.5rem;line-height:1.6}.portfolio-index__grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1rem;display:grid}.portfolio-index__card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:1.25rem}.portfolio-index__card-header{justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.5rem;display:flex}.portfolio-index__card h2{margin:0;font-size:1.1rem}.portfolio-index__card p{color:#64748b;margin:0 0 1rem;font-size:.95rem;line-height:1.55}.portfolio-index__status{text-transform:uppercase;letter-spacing:.04em;color:#94a3b8;font-size:.7rem;font-weight:700}.portfolio-index__link{color:#2563eb;font-weight:600;text-decoration:none;display:inline-flex}.portfolio-index__link:hover{text-decoration:underline}.resume h1,.resume h2{margin:0 0 .75rem}.resume section+section{margin-top:2rem}.resume__header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.resume__downloads{flex-wrap:wrap;gap:.75rem;display:flex}.resume__downloads a{color:#2563eb;font-weight:500;text-decoration:none}.resume__skills{gap:1rem;display:grid}.resume__skills h3{margin:0 0 .35rem;font-size:.95rem}.resume__skills p{color:#475569;margin:0;line-height:1.6}.resume__timeline{flex-direction:column;gap:1.25rem;display:flex}.resume__timeline article{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:1rem 1.1rem}.resume__job-header{justify-content:space-between;align-items:baseline;gap:1rem;display:flex}.resume__job-header h3{margin:0;font-size:1.05rem}.resume__job-header span{color:#64748b;white-space:nowrap;font-size:.9rem}.resume__company{color:#334155;margin:.25rem 0 .75rem;font-weight:600}.resume__timeline ul{color:#475569;margin:0;padding-left:1.1rem;line-height:1.6}.resume__philosophy{color:#475569;margin:0;line-height:1.7}
