@font-face { font-family: 'DM Sans'; src: url('/assets/dm-sans-regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('/assets/dm-sans-medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('/assets/dm-sans-semibold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
:root { color-scheme: dark; --bg:#191d21; --fg:#eef3f2; --muted:#b7c2c6; --line:#394448; --surface:#252c30; --accent:#86d6bd; --code:#9fc8ed; --font:'DM Sans',Arial,sans-serif; --heading:'DM Sans',Arial,sans-serif; }
* { box-sizing:border-box; }
html { scroll-padding-top:24px; }
body { margin:0; min-width:320px; background:var(--bg); color:var(--fg); font:400 16px/1.65 var(--font); -webkit-font-smoothing:antialiased; }
a { color:inherit; text-decoration:none; }
a:hover { color:var(--accent); }
a:focus-visible,button:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible,[tabindex]:focus-visible { outline:2px solid var(--accent); outline-offset:5px; }
button,input,select { font:400 14px/1.5 var(--font); color:inherit; }
button,select,summary { cursor:pointer; }
button:disabled,select:disabled { cursor:default; }
[hidden] { display:none !important; }
h1,h2,h3,p { margin:0; }
h1,h2,h3 { font-family:var(--heading); font-weight:400; letter-spacing:-.025em; }
h1 { font-size:clamp(44px,6vw,72px); line-height:1.07; }
h2 { font-size:clamp(34px,4vw,48px); line-height:1.15; }
h3 { font-size:28px; line-height:1.2; }
p { color:var(--muted); }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.skip { position:fixed; top:-80px; left:20px; z-index:100; padding:10px 16px; background:var(--fg); color:var(--bg); }
.skip:focus { top:10px; }
.site { width:calc(100% - 24px); max-width:1280px; margin:0 auto; }
.site-header { width:calc(100% - 64px); max-width:1232px; margin:0 auto; padding:20px 0 30px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.site-name { font:400 30px/1.15 var(--heading); letter-spacing:-.025em; }
.nav-shell, .site-header nav { display:flex; gap:30px; align-items:center; }
.site-header nav a { min-height:44px; display:inline-flex; align-items:center; font-size:16px; }
.site-header nav a[aria-current] { text-decoration:underline; text-underline-offset:6px; }
.search-trigger { display:grid; place-items:center; width:36px; height:44px; padding:8px; border:0; background:transparent; }
.ui-icon { width:16px; height:16px; fill:currentColor; flex:none; }
.search-trigger .ui-icon,.command-header>.ui-icon { fill:none; }
.forward-icon,.project-arrow { width:22px; height:22px; flex:none; }
.hero-actions>a { text-decoration:underline; text-underline-offset:7px; }
.selected-work { margin:0 24px; padding-top:40px; }
.section-heading { display:flex; justify-content:space-between; align-items:baseline; gap:20px; margin-bottom:30px; }
.text-link { font-size:16px; text-decoration:underline; text-underline-offset:6px; }

.hero-actions .social-link { font-size:16px; }
.section-nav,.home-profile,.activity-region { margin-inline:24px; }
.section-nav { display:flex; flex-wrap:wrap; gap:0 30px; padding-block:12px; border-bottom:1px solid var(--line); }
.section-nav a { display:inline-flex; align-items:center; min-height:44px; font-size:14px; }
.section-nav a:hover,.work-entry:hover { color:var(--accent); text-decoration:underline; text-underline-offset:5px; }
.work-entry { display:flex; gap:16px; align-items:center; justify-content:space-between; border-top:1px solid var(--line); padding:18px 0; }
.work-entry svg { width:17px; }
.home-profile,.activity-region { border-top:1px solid var(--line); padding:44px 0; }
.home-profile { margin-top:32px; }
.home-bio { max-width:76ch; margin-bottom:32px; }
.home-bio p+p { margin-top:12px; }
.activity-controls { display:flex; align-items:center; justify-content:flex-end; gap:12px; margin-bottom:18px; font-size:13px; }
.activity-controls select { padding:8px 12px; border:1px solid var(--line); border-radius:3px; background:var(--bg); min-height:44px; }
.activity-top { display:flex; justify-content:space-between; gap:20px; align-items:baseline; margin-bottom:18px; }
.activity-top h2 { font:500 20px/1.4 var(--font); }
.activity-top p { font-size:12px; }
.activity-total { display:flex; gap:8px; align-items:baseline; }
.activity-total strong { color:var(--fg); font-size:22px; font-weight:500; }
.activity-total span { font-size:12px; }
.calendar-scroll { overflow-x:auto; overflow-y:hidden; padding:5px 3px 10px; scrollbar-width:thin; scrollbar-color:#adb8bf transparent; }
.activity-calendar,.activity-months { display:grid; grid-template-columns:repeat(var(--weeks,53),minmax(0,1fr)); min-width:630px; gap:3px; width:100%; }
.activity-week { display:grid; grid-template-rows:repeat(7,auto); gap:3px; }
.activity-day { display:block; width:100%; aspect-ratio:1; border:0; border-radius:2px; background:#303138; padding:0; }
.activity-day[data-level="1"] { background:#35584f; }
.activity-day[data-level="2"] { background:#447e6e; }
.activity-day[data-level="3"] { background:#64aa91; }
.activity-day[data-level="4"] { background:var(--accent); }
.activity-day.is-outside { visibility:hidden; }
.activity-day.is-future { cursor:default; background:#25262c; }
.activity-day:not(.is-future):hover,.activity-day[aria-pressed="true"] { outline:2px solid var(--fg); outline-offset:1px; }
.activity-months { font-size:10px; margin-bottom:8px; color:var(--muted); }
.activity-months span { white-space:nowrap; }
.activity-bottom { display:flex; justify-content:space-between; gap:16px; margin-top:8px; font-size:12px; color:var(--muted); }
.activity-bottom a { text-decoration:underline; text-underline-offset:4px; }
.activity-dates-compact { display:none; }
.activity-insights { display:flex; gap:24px; margin-top:18px; font-size:13px; color:var(--muted); }
.activity-insights strong { font-weight:500; color:var(--fg); margin-right:6px; }
.activity-day-detail { font-size:13px; margin-top:12px; min-height:22px; }
.activity-explainer { font-size:12px; margin-top:5px; }
.site-footer { margin:0 24px; padding-top:36px; }
.footer-connect { display:flex; justify-content:space-between; align-items:baseline; gap:24px; }
.footer-connect h2 { font-size:48px; }
.social-links { display:flex; align-items:center; gap:28px; flex-wrap:wrap; }
.social-link { display:inline-flex; align-items:center; gap:8px; min-height:44px; text-decoration:underline; text-underline-offset:6px; }
.footer-connect .social-link .ui-icon { display:none; }
.footer-bottom { display:flex; justify-content:space-between; gap:24px; margin-top:24px; padding:14px 0 24px; color:var(--muted); font-size:12px; }
body:not([data-page="home"]) main { padding:0 24px; }
.page-intro { padding:52px 0 40px; max-width:960px; }
.page-intro p { margin-top:20px; font-size:18px; line-height:1.75; max-width:800px; }
.page-intro p+p { margin-top:14px; }
.page-continuation { display:flex; justify-content:space-between; align-items:baseline; gap:24px; border-top:1px solid var(--line); margin-top:36px; padding:24px 0; font-size:14px; color:var(--muted); }
.profile-details { display:grid; grid-template-columns:1fr 1fr; gap:72px; border-block:1px solid var(--line); padding:32px 0; }
.profile-details h2,.tech-stack h2 { font-size:34px; }
dl,dd { margin:0; }
.experience-list { margin-top:22px; }
.experience-item+.experience-item { margin-top:24px; }
dt,.detail-primary { color:var(--fg); font-size:18px; font-weight:500; }
dd,.detail-secondary,.detail-note { color:var(--muted); font-size:15px; line-height:1.75; margin-top:6px; }
.detail-primary { margin-top:22px; }
.tech-stack { padding-top:32px; }
.stack-groups { display:grid; grid-template-columns:1fr 1fr 1.2fr; gap:32px; margin-top:24px; }
.stack-groups dd { margin-top:12px; }
.stack-tools { list-style:none; padding:0; display:flex; flex-wrap:wrap; gap:8px; }
.technology-badge { font-size:13px; line-height:1.5; padding:5px 9px; background:var(--surface); border-radius:3px; }
.project-filters { display:flex; gap:12px; margin-bottom:26px; flex-wrap:wrap; }
.project-filters button { min-height:44px; padding:10px 17px; background:transparent; border:1px solid var(--line); border-radius:4px; }
.project-filters button span { margin-left:10px; }
.project-filters button[aria-pressed="true"] { background:var(--fg); color:var(--bg); border-color:var(--fg); }
.project-context-group+.project-context-group { margin-top:36px; }
.project-context-heading { padding:14px 0; border-bottom:1px solid var(--line); font-size:36px; }
.project-entry { scroll-margin-top:24px; border-bottom:1px solid var(--line); }
.project-entry-content { padding:28px 0; max-width:920px; }
.project-title-link { text-decoration:underline; text-decoration-color:var(--line); text-decoration-thickness:1px; text-underline-offset:5px; }
.project-title-link:hover { text-decoration-color:var(--accent); }
.project-entry-copy h3 { font-size:28px; }
.project-entry-copy p { font-size:16px; line-height:1.85; margin-top:12px; }
.project-bullets { padding-left:20px; font-size:15px; color:var(--muted); margin:16px 0 20px; }
.project-bullets li+li { margin-top:5px; }
.project-entry-copy .project-entry-tools { font-size:13px; }
.project-entry-tools>span { font-weight:500; margin-right:10px; color:var(--fg); }
.back-link { display:inline-flex; align-items:center; min-height:44px; margin-top:28px; text-decoration:underline; text-underline-offset:5px; font-size:14px; }
.project-reading { display:grid; grid-template-columns:240px 1fr; gap:56px; padding:32px 0; border-top:1px solid var(--line); }
.project-facts { border-right:1px solid var(--line); padding-right:24px; }
.project-facts h2 { font:500 15px/1.5 var(--font); }
.project-facts p,.project-facts li { font-size:14px; color:var(--muted); }
.project-facts p { margin:8px 0 24px; }
.project-facts ul { padding:0; list-style:none; margin:8px 0 0; }
.project-facts li+li { margin-top:6px; }
.story-body h2 { font-size:32px; margin-bottom:14px; }
.story-body p { font-size:16px; line-height:1.85; margin-bottom:28px; }
.focus-list { padding-left:22px; color:var(--muted); }
.focus-list li { padding:8px 0; }
.story-links { display:flex; flex-wrap:wrap; gap:20px; }
body.search-open { overflow:hidden; }
dialog { width:min(620px,calc(100% - 32px)); max-height:calc(100dvh - 32px); margin:10vh auto auto; padding:0; border:1px solid var(--line); border-radius:8px; background:var(--bg); color:var(--fg); overflow:auto; }
dialog::backdrop { background:#30353a44; }
.command-header { display:flex; gap:12px; align-items:center; padding:14px 18px; border-bottom:1px solid var(--line); }
.command-header input { font:400 16px/1.5 var(--font); min-width:0; width:100%; border:0; background:transparent; outline-offset:2px; padding:5px 0; }
.command-close { min-width:44px; min-height:44px; padding:6px; background:transparent; border:0; font-size:12px; }
#command-results { display:block; max-height:50vh; overflow:auto; padding:8px; }
.command-result { display:grid; grid-template-columns:1fr 24px; padding:13px; gap:4px 12px; min-height:44px; border-radius:4px; }
.command-result small { grid-column:1; color:var(--muted); font-size:12px; }
.command-result>.forward-icon { grid-column:2; grid-row:1/3; align-self:center; width:18px; }
.command-result:hover,.command-result:focus-visible { background:var(--surface); }
.command-hint { display:flex; justify-content:space-between; padding:12px 20px; border-top:1px solid var(--line); font-size:12px; color:var(--muted); }
.command-empty { padding:20px; font-size:14px; }
::selection { background:#c9dde7; color:#252b30; }
@media(max-width:900px) {
  .stack-groups { grid-template-columns:1fr 1fr; }
}
@media(max-width:600px) {
  .site-header { width:calc(100% - 40px); padding:16px 0 22px; gap:10px; }
  .site-name { font-size:24px; }
  .nav-shell,.site-header nav { gap:14px; }
  .site-header nav a { font-size:13px; }
  .search-trigger { width:30px; padding:6px; }
  .section-nav,.home-profile,.activity-region,.selected-work,.site-footer { margin-inline:12px; }
  .section-nav { gap:0 18px; }
  .hero-actions .social-link { gap:5px; font-size:14px; }
  .home-profile,.activity-region { padding-block:30px; }
  .selected-work { padding-top:30px; }
  .section-heading { margin-bottom:22px; }
  .section-heading h2 { font-size:40px; }
  .text-link { font-size:14px; }
  .footer-connect { display:block; }
  .footer-connect h2 { font-size:42px; }
  .footer-connect .social-links { margin-top:12px; }
  .footer-bottom { margin-top:16px; }
  .page-intro { padding:30px 0; }
  .page-intro p { font-size:16px; }
  body:not([data-page="home"]) main { padding-inline:12px; }
  .profile-details,.stack-groups,.project-reading { grid-template-columns:1fr; gap:30px; }
  .project-facts { border-right:0; border-bottom:1px solid var(--line); padding:0 0 24px; }
  .project-facts ul { display:flex; gap:8px 20px; flex-wrap:wrap; }
  .project-facts li+li { margin-top:0; }
  .project-entry-copy p { font-size:15px; }
  .page-continuation { display:block; }
  .page-continuation a { display:inline-flex; margin-top:12px; }
  .activity-controls { justify-content:space-between; }
  .activity-top { display:block; }
  .activity-total { margin-top:8px; }
  .activity-bottom { flex-direction:column; gap:6px; }
  .activity-insights { gap:14px; flex-wrap:wrap; font-size:12px; }
  .command-hint { display:none; }
  dialog { margin:16px auto auto; }
}
@media(max-width:360px) {
  .site-name { font-size:21px; }
  .nav-shell,.site-header nav { gap:9px; }
  .site-header nav a { font-size:12px; }
}

@media(max-width:600px) { .search-trigger { width:44px; min-width:44px; } }
@media(max-width:440px) { .site-header nav a[href^="https://github.com"] { display:none; } }

/* A small, original pixel walker is the only motion in the interface. */
.name-lockup { position:relative; display:inline-block; max-width:100%; }
.name-companion::after { content:''; position:absolute; bottom:0; left:0; width:100%; height:1px; background:#a1a4a4; }
.robot-walker { position:absolute; left:0; bottom:1px; width:26px; height:25px; animation:robot-walk 1.6s steps(12,end) 1 forwards; }
.robot-walker svg { display:block; width:100%; height:100%; }
.robot-foot-left { animation:robot-step .2s steps(2,end) 8; }
.robot-foot-right { animation:robot-step .2s steps(2,end) 8 reverse; }
@keyframes robot-walk { to { transform:translateX(var(--walk-distance)); } }
@keyframes robot-step { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-2px); } }
@media(prefers-reduced-motion:reduce) { .robot-walker,.robot-foot { animation:none; } }
@media(max-width:600px) {
 .robot-walker { width:22px; height:21px; }
}



.site { max-width:1190px; }
.site-header { max-width:1142px; padding-block:15px; border-bottom:1px solid var(--line); }
.site-name { font:600 18px/1.2 var(--font); }
.home-intro { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:36px; margin:0 24px; padding:48px 0; }
.profile-role,.work-tool { font:500 12px/1.5 ui-monospace,monospace; }
.profile-role { color:var(--code); margin:12px 0 8px; font-size:14px; }
.profile-role span { color:var(--muted); }
.home-intro h1 { margin:0; line-height:1; }
.pixel-name { display:block; width:min(42vw,460px); height:auto; }
.name-companion { position:absolute; bottom:7px; left:calc(100% + 10px); width:42px; color:var(--code); --walk-distance:20px; }
.robot-walker { width:19px; height:18px; }
.hero-intro { max-width:62ch; font-size:18px; line-height:1.55; margin:0; }
.hero-actions { display:flex; flex-wrap:wrap; align-items:center; gap:20px; }
.home-layout { display:grid; grid-template-columns:145px minmax(0,1fr); gap:6%; margin:0 24px; border-top:1px solid var(--line); padding-top:30px; }
.home-layout .section-nav { position:sticky; top:16px; align-self:start; display:grid; margin:0; padding:0; border:0; }
.section-nav a { font-size:14px; color:var(--muted); min-height:36px; }
.home-sections { min-width:0; }
.home-sections .selected-work,.home-sections .home-profile,.home-sections .activity-region { margin:0; padding:0 0 36px; }
.home-sections .home-profile { padding-top:32px; }
.home-sections .activity-region { border-top:0; }
.section-heading { margin-bottom:14px; }
.section-heading h2 { font-size:34px; font-weight:500; letter-spacing:-.055em; }
.work-entry { display:grid; grid-template-columns:minmax(0,1fr) 110px 18px; gap:16px; align-items:center; padding:20px 8px 20px 0; position:relative; --row-accent:var(--accent); }
#personal-projects .work-entry { --row-accent:var(--code); }
.project-origin { display:block; color:var(--muted); font:500 12px/1.5 var(--font); letter-spacing:.025em; margin-bottom:4px; }
.work-entry p { max-width:60ch; }
.home-sections .selected-work { padding-bottom:clamp(36px,5vw,64px); }
.selected-work .section-heading { margin-bottom:12px; }
.work-entry:hover,.work-entry:focus-visible { background:color-mix(in srgb,var(--row-accent) 8%,var(--bg)); }
.work-entry h3 { font:500 21px/1.3 var(--font); letter-spacing:-.035em; }
.work-entry p { font-size:14px; margin-top:4px; }
.work-entry:hover { text-decoration:none; }
.work-entry:hover h3 { text-decoration:underline; text-underline-offset:4px; }
.work-tool,.work-entry .project-arrow { color:var(--row-accent); }
@media(max-width:920px) {
  .home-intro { gap:16px; padding-block:32px; grid-template-columns:1fr; }
  .hero-intro { font-size:17px; }
  .hero-actions { gap:13px; }
  .home-layout { grid-template-columns:1fr; gap:20px; }
  .home-layout .section-nav { position:static; display:flex; flex-wrap:wrap; gap:2px 20px; }
}
@media(max-width:650px) {
  .home-intro { grid-template-columns:1fr; margin-inline:12px; padding:26px 0 22px; gap:20px; }
  .pixel-name { width:min(67vw,352px); }
  .hero-intro { font-size:16px; }
  .hero-actions { gap:13px; }
  .home-layout { margin-inline:12px; padding-top:10px; }
  .work-entry { grid-template-columns:1fr 18px; }
  .work-tool { display:none; }
}

/* The symbols travel along the ten-unit grid used to draw each letter. */
@keyframes cloud-tiles {
  0%,100% { transform:translate(0px,50px); animation-timing-function:steps(2,end); }
  20% { transform:translate(0px,30px); }
  70% { transform:translate(0px,30px); animation-timing-function:steps(2,end); }
  40%,50% { transform:translate(30px,30px); }
}
@keyframes terminal-tiles {
  0%,100% { transform:translate(60px,11px); }
  30%,60% { transform:translate(80px,31px); }
}
@keyframes cursor-tiles {
  0%,100% { transform:translate(125px,4px); }
  40%,60% { transform:translate(125px,44px); }
}
.wordmark-motion { display:none; }
@media(prefers-reduced-motion:no-preference) {
  .glyph-cloud { animation:cloud-tiles 4.8s steps(3,end) infinite; }
  .glyph-terminal { animation:terminal-tiles 4.8s steps(2,end) -.8s infinite; }
  .glyph-cursor { animation:cursor-tiles 4.8s steps(4,end) -1.6s infinite; }
  .profile-role { display:inline-block; }
  .wordmark-motion { display:inline-flex; align-items:center; gap:5px; margin-left:14px; color:var(--muted); font:12px var(--font); cursor:pointer; }
  .wordmark-motion input { accent-color:var(--accent); }
  .hero-identity:has(.wordmark-motion input:checked) :is(.pixel-name g,.glyph-cloud,.robot-walker,.robot-foot) { animation-play-state:paused; }
}
.name-lockup { display:table; }

.experience-item dt { display:flex; align-items:center; gap:12px; }
.org-logo { flex:none; object-fit:contain; width:68px; height:38px; padding:4px; background:#fafafa; border-radius:4px; }
.org-logo[data-org="beautech"] { background:#20252c; padding:3px; }
.stack-context { margin-top:10px; color:var(--muted); }
.stack-groups > div { border-top:1px solid var(--line); padding-top:12px; }
.calendar-scroll { max-width:100%; min-width:0; overscroll-behavior-x:contain; }
.calendar-key { display:flex; align-items:center; justify-content:flex-end; gap:4px; color:var(--muted); font-size:12px; }
.calendar-key .activity-day { width:10px; }
.calendar-zoom { display:none; }
@media(max-width:700px) {
  .activity-calendar,.activity-months { min-width:0; gap:1px; }
  .activity-week { gap:1px; }
  .activity-day { border-radius:1px; }
  .activity-months { font-size:9px; }
  .activity-months span { overflow:visible; }
  .expanded .activity-calendar,.expanded .activity-months { min-width:720px; gap:3px; }
  .expanded .activity-week { gap:3px; }
  .calendar-zoom:not([hidden]) { display:block; margin-right:auto; min-height:44px; padding:0 6px 0 0; background:transparent; border:0; color:var(--fg); font:inherit; text-decoration:underline; text-underline-offset:3px; }
}
