.presence-card {
  border-radius: 10px;
}

/* The first screen is a small, explorable desktop — not a simulated product UI. */
.desktop-hero { position: relative; min-height: 790px; padding: 20px 0 38px; overflow: hidden; border-bottom: 1px solid var(--line); }.desktop-hero::before { position: absolute; inset: 0; background: radial-gradient(circle at 31% 49%, rgb(143 207 243 / 11%), transparent 22%), radial-gradient(circle at 77% 31%, rgb(143 207 243 / 7%), transparent 25%); content: ""; pointer-events: none; }.desktop-statusbar { position: relative; z-index: 1; display: flex; justify-content: space-between; color: #7c878c; font: 10px var(--mono); }.desktop-copy { position: absolute; z-index: 1; top: 31%; left: 6.5%; }.desktop-copy p,.desktop-copy span { margin: 0; color: var(--ice); font: 10px var(--mono); }.desktop-copy h1 { margin: 6px 0 5px; color: var(--text); font: 700 clamp(48px, 5.6vw, 82px)/.94 var(--sans); letter-spacing: -.07em; }.desktop-copy span { color: var(--muted); }.desktop-object { position: absolute; z-index: 2; display: grid; place-items: center; gap: 8px; width: 86px; padding: 8px; border: 0; border-radius: 8px; background: transparent; color: #c5d0d4; cursor: pointer; font: 10px var(--mono); text-decoration: none; transition: background .18s ease, transform .18s ease, color .18s ease; }.desktop-object:hover,.desktop-object:focus-visible { background: rgb(143 207 243 / 12%); color: var(--ice); outline: none; transform: translateY(-3px); }.desktop-object > i { width: 31px; height: 31px; padding: 6px; border: 1px solid #50606a; border-radius: 8px; background: #20282c; color: var(--ice); box-shadow: 0 9px 18px rgb(0 0 0 / 18%); }.desktop-object-xists { top: 14%; left: 42%; }.desktop-object-cotoco { top: 64%; left: 29%; }.desktop-object-github { top: 65%; right: 7%; }.desktop-window { position: absolute; z-index: 3; overflow: hidden; border: 1px solid #4c5559; border-radius: 10px; background: rgb(29 31 32 / 96%); box-shadow: 0 22px 52px rgb(0 0 0 / 32%); transition: opacity .2s ease, transform .2s ease; }.desktop-window.is-minimized { opacity: 0; transform: scale(.92); pointer-events: none; }.desktop-window-bar { display: grid; grid-template-columns: 58px 1fr 20px; align-items: center; height: 33px; padding: 0 11px; border-bottom: 1px solid #41494d; background: #242728; cursor: grab; user-select: none; }.desktop-window-bar:active { cursor: grabbing; }.desktop-window-bar > span { display: flex; gap: 5px; }.desktop-window-bar > span i { width: 7px; height: 7px; border-radius: 50%; background: #5c6568; }.desktop-window-bar > span i:first-child { background: #8fcff3; }.desktop-window-bar b { overflow: hidden; color: #aeb7ba; font: 9px var(--mono); font-weight: 400; text-align: center; text-overflow: ellipsis; white-space: nowrap; }.desktop-window-bar button { display: grid; place-items: center; padding: 0; border: 0; background: transparent; color: #819095; cursor: pointer; }.desktop-window-bar button:hover { color: var(--ice); }.desktop-window-bar button i { width: 13px; }.desktop-profile { top: 10%; right: 7.3%; width: 300px; }.desktop-profile-body { padding: 20px; }.desktop-profile-body > img { width: 74px; height: 74px; float: left; margin: 0 14px 14px 0; border: 1px solid #58646a; border-radius: 50%; object-fit: cover; }.desktop-profile-body h2 { margin: 12px 0 2px; font-size: 21px; letter-spacing: -.03em; }.desktop-profile-body > div > p { margin: 0; color: var(--muted); font: 10px var(--mono); }.desktop-bio { clear: both; margin: 17px 0; color: #bdc5c8; font-size: 12px; line-height: 1.7; }.desktop-profile-body dl { display: grid; gap: 11px; margin: 0; padding-top: 15px; border-top: 1px solid #41494d; }.desktop-profile-body dt { color: #859095; font: 9px var(--mono); }.desktop-profile-body dd { margin: 4px 0 0; color: #d0d7d9; font: 10px var(--mono); }.desktop-project { width: 290px; }.desktop-xists { top: 45%; right: 28%; }.desktop-cotoco { top: 47%; left: 40%; width: 270px; }.desktop-project-body { display: block; min-height: 185px; padding: 17px; color: inherit; text-decoration: none; }.desktop-project-body:hover { background: rgb(143 207 243 / 3%); }.desktop-project-label { margin: 0 0 14px; color: #9aa7ac; font: 10px var(--mono); }.desktop-searchline { display: flex; align-items: center; gap: 8px; padding: 9px; border: 1px solid #516f7c; border-radius: 5px; color: #c7e0ed; font: 10px var(--mono); }.desktop-searchline i { width: 14px; color: var(--ice); }.desktop-result { display: grid; grid-template-columns: 22px 1fr auto; gap: 7px; margin-top: 7px; padding: 7px 0; border-bottom: 1px solid rgb(255 255 255 / 5%); color: #adb7ba; font: 9px var(--mono); }.desktop-result b,.desktop-result em { color: var(--ice); font-weight: 400; font-style: normal; }.desktop-project-body small { display: flex; align-items: center; gap: 4px; margin-top: 13px; color: #7f9198; font: 9px var(--mono); }.desktop-project-body small i { width: 12px; color: var(--ice); }.desktop-verify-flow { display: grid; grid-template-columns: 1fr 22px 1.1fr; gap: 7px; align-items: center; margin: 20px 0 15px; }.desktop-verify-flow span,.desktop-verify-flow strong { padding: 10px 8px; border: 1px dashed #5a676d; border-radius: 4px; color: #aeb8bc; font: 10px var(--mono); text-align: center; }.desktop-verify-flow i { width: 16px; color: var(--ice); }.desktop-verify-flow strong { border-color: #51809a; background: rgb(143 207 243 / 7%); color: var(--ice); }.desktop-project-copy { margin: 0; color: #aab5b9; font-size: 11px; }.desktop-hint { position: absolute; bottom: 25px; left: 50%; z-index: 2; display: flex; align-items: center; gap: 7px; margin: 0; color: #728086; font: 10px var(--mono); transform: translateX(-50%); }.desktop-hint i { width: 13px; color: var(--ice); }

/* The rest of the page continues the same desktop, one purposeful window at a time. */
.desktop-page-window { overflow: hidden; border: 1px solid #4c5559; border-radius: 10px; background: rgb(29 31 32 / 91%); box-shadow: 0 22px 52px rgb(0 0 0 / 20%); }.desktop-page-bar { grid-template-columns: 58px 1fr 20px; }.desktop-page-bar > i { width: 14px; color: var(--ice); justify-self: end; }.work-section { padding: 92px 0 34px; }.work-section .section-intro { padding: 48px 52px 43px; margin: 0; }.work-section .work-list { padding: 0 24px 25px; }.project-card { border-color: #465055; border-radius: 8px; background: rgb(33 36 37 / 88%); }.github-section { padding: 34px 0; border: 0; }.github-section .github-profile-layout { padding: 45px 46px 43px; }.github-heatmap { border-color: #465055; background: #202425; }.token-usage-embed { padding: 0 0 34px; }.token-usage-embed .token-profile-layout { padding: 45px 46px 0; }.token-usage-embed .model-mix { margin: 35px 46px 46px; border-color: #465055; background: #202425; }.token-usage-embed .heatmap,.usage-summary { border-color: #465055; background: #202425; }.closing-section { padding: 0 0 78px; }.closing-section .now-card { border: 0; border-radius: 0; background: radial-gradient(ellipse 55% 110% at 100% 50%, rgb(143 207 243 / 10%), transparent 72%), rgb(33 33 33 / 74%); }.closing-section .contact-row { margin: 0 24px 24px; border-color: #465055; background: #202425; }

.work-section { padding: 92px 0 34px; }
.section-label { margin: 0; color: var(--ice); font: 10px var(--mono); }
.section-intro { display: grid; grid-template-columns: 28% 1fr; gap: 9%; align-items: start; margin-bottom: 50px; }
.section-intro h2 { max-width: 620px; margin: -7px 0 0; font: 700 clamp(32px, 4vw, 54px)/1.12 var(--sans); }
.section-intro h2 em { color: var(--ice); font-style: normal; }
.work-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.project-card { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: rgb(33 33 33 / 72%); transition: border-color .22s ease, transform .22s ease, background .22s ease; }
.project-card:hover { border-color: rgb(151 211 238 / 58%); background: rgb(38 42 45 / 88%); transform: translateY(-3px); }
.project-preview { position: relative; display: block; min-height: 245px; padding: 23px; overflow: hidden; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.project-preview::after { position: absolute; right: -55px; bottom: -100px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgb(151 211 238 / 15%), transparent 67%); content: ""; pointer-events: none; }
.project-card-cotoco .project-preview::after { right: -75px; bottom: -120px; background: radial-gradient(circle, rgb(126 156 171 / 15%), transparent 68%); }
.preview-topline { position: relative; z-index: 1; display: flex; justify-content: space-between; color: var(--muted); font: 10px var(--mono); letter-spacing: .03em; }
.search-query { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; margin-top: 43px; padding: 12px 13px; border: 1px solid rgb(151 211 238 / 32%); border-radius: 6px; background: rgb(26 33 37 / 80%); color: #c9e4f3; font: 12px var(--mono); }
.search-query i { width: 15px; color: var(--ice); }
.search-results { position: relative; z-index: 1; display: grid; gap: 8px; margin-top: 14px; }
.search-results div { display: grid; grid-template-columns: 25px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 9px 10px; border: 1px solid rgb(255 255 255 / 5%); border-radius: 5px; background: rgb(255 255 255 / 2%); color: #b6bdc1; font: 10px var(--mono); }
.search-results b { color: var(--ice); font-weight: 400; }.search-results em { color: #7e9aa8; font-style: normal; }
.component-flow { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 28px 1.1fr; gap: 12px; align-items: center; min-height: 160px; margin-top: 25px; }
.code-fragments { display: grid; gap: 8px; }.code-fragments span { padding: 11px 10px; border: 1px dashed rgb(166 178 184 / 35%); border-radius: 5px; color: #aab4b8; font: 10px var(--mono); }.code-fragments span:nth-child(2) { margin-left: 14px; }.code-fragments span:nth-child(3) { margin-left: 5px; }
.component-flow > i { width: 18px; color: var(--ice); }.component-unit { display: grid; gap: 9px; padding: 19px 15px; border: 1px solid rgb(151 211 238 / 40%); border-radius: 7px; background: rgb(27 36 40 / 80%); box-shadow: inset 0 0 28px rgb(151 211 238 / 4%); }.component-unit small { color: var(--muted); font: 9px var(--mono); }.component-unit strong { color: #d8edf8; font: 600 15px var(--mono); }.component-unit span { display: block; height: 3px; border-radius: 4px; background: rgb(151 211 238 / 28%); }.component-unit span:last-child { width: 62%; background: rgb(151 211 238 / 16%); }
.project-card-body { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; min-height: 178px; padding: 25px 26px 27px; }.project-kicker { margin: 0 0 13px; color: var(--ice); font: 10px var(--mono); }.project-card-body h3 { margin: 0 0 9px; color: var(--text); font: 700 25px/1 var(--sans); letter-spacing: -.03em; }.project-card-body > div > p:last-child { max-width: 395px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }.work-arrow { display: grid; flex: 0 0 auto; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); border-radius: 6px; color: var(--ice); transition: border-color .2s ease, background .2s ease, color .2s ease; }.work-arrow i { width: 17px; }.project-card:hover .work-arrow { border-color: var(--ice); background: var(--ice); color: #1d272d; }
.github-section { padding: 104px 0 112px; border-top: 1px solid var(--line); }
.github-profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 147px; gap: 40px; align-items: start; color: #f0f6fc; }
.github-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 0 0 40px; }
.github-title-row h2 { margin: 0; color: var(--text); font: 700 clamp(48px, 6vw, 76px)/.92 var(--sans); letter-spacing: -.06em; }
.github-year-total { margin: 0 0 5px; color: var(--muted); font: 12px var(--mono); }
.github-heatmap { position: relative; overflow-x: auto; padding: 36px 40px 28px; border: 1px solid var(--line); border-radius: 10px; background: rgb(33 33 33 / 88%); color: #8b949e; }
.github-calendar { width: 100%; min-width: 0; }
.github-months { display: grid; grid-template-columns: repeat(53, minmax(0, 1fr)); gap: 4px; width: calc(100% - 48px); height: 31px; margin-left: 48px; color: var(--text); font: 11px var(--mono); white-space: nowrap; }
.github-months span { min-width: max-content; }
.github-graph { display: flex; gap: 12px; min-width: 0; }
.github-days { display: grid; grid-template-rows: repeat(7, 1fr); width: 36px; color: var(--muted); font: 10px/1 var(--mono); text-align: right; }
.github-grid { display: grid; flex: 1; grid-template-columns: repeat(53, minmax(0, 1fr)); grid-template-rows: repeat(7, minmax(0, 1fr)); grid-auto-flow: column; gap: 4px; aspect-ratio: 53 / 7; }
.github-cell { display: block; width: 100%; height: 100%; border: 1px solid rgb(255 255 255 / 3%); border-radius: 2px; background: #2b3337; }
.github-cell.level-1 { background: #34505d; }.github-cell.level-2 { background: #4d7488; }.github-cell.level-3 { background: #6fa4c3; }.github-cell.level-4 { background: var(--ice); }
.github-cell[role="gridcell"]:hover { outline: 2px solid #f0f6fc; outline-offset: 2px; transform: scale(1.12); }
.github-tooltip { position: absolute; z-index: 4; display: none; padding: 7px 9px; border-radius: 6px; background: #484f58; color: #f0f6fc; font: 12px/1.35 -apple-system,BlinkMacSystemFont,'Segoe UI',var(--sans); white-space: nowrap; pointer-events: none; }
.github-heatmap-foot { display: flex; align-items: center; justify-content: space-between; width: auto; margin-top: 26px; padding-top: 19px; border-top: 1px solid var(--line); color: var(--muted); font: 10px var(--mono); }
.github-heatmap-foot a:hover { color: #58a6ff; text-decoration: underline; }
.github-scale { display: flex; align-items: center; gap: 6px; white-space: nowrap; }.github-scale i { width: 16px; height: 16px; border-radius: 2px; }.github-scale .level-0 { background: #2b3337; }.github-scale .level-1 { background: #34505d; }.github-scale .level-2 { background: #4d7488; }.github-scale .level-3 { background: #6fa4c3; }.github-scale .level-4 { background: var(--ice); }
.github-years { display: grid; gap: 8px; padding-top: 128px; }
.github-years button { width: 100%; padding: 11px 16px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #8b949e; font: 14px/20px -apple-system,BlinkMacSystemFont,'Segoe UI',var(--sans); text-align: left; cursor: pointer; transition: color .15s ease, background .15s ease; }
.github-years button:hover { background: #161b22; color: #f0f6fc; }
.github-years button.is-active { background: #1f6feb; color: #fff; }
.token-usage-embed { padding: 0 0 112px; }
.token-profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 147px; gap: 40px; align-items: start; }
.token-title-row { display: flex; align-items: center; justify-content: space-between; min-height: 42px; margin: 0 0 12px; }
.token-title-row h2 { margin: 0; color: #f0f6fc; font: 400 20px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',var(--sans); letter-spacing: 0; }
.model-mix h3 em { color: #58a6ff; font-style: normal; }
.token-usage-embed .heatmap { position: relative; padding: 16px; border: 1px solid #30363d; border-radius: 6px; background: #0d1117; overflow-x: auto; }
.token-usage-embed .heatmap-months { display: grid; grid-template-columns: repeat(53, 10px); gap: 3px; width: auto; height: 17px; margin-left: 28px; color: #8b949e; font: 12px/1.15 -apple-system,BlinkMacSystemFont,'Segoe UI',var(--sans); white-space: nowrap; }
.token-usage-embed .heatmap-months span { min-width: max-content; }
.token-usage-embed .heatmap-layout { display: flex; gap: 4px; min-width: 0; width: max-content; }
.token-usage-embed .heatmap-days { display: grid; grid-template-rows: repeat(7, 10px); gap: 3px; width: 24px; color: #8b949e; font: 12px/10px -apple-system,BlinkMacSystemFont,'Segoe UI',var(--sans); text-align: left; }
.token-usage-embed .heatmap-grid { display: grid; grid-template-columns: repeat(53, 10px); grid-template-rows: repeat(7, 10px); grid-auto-flow: column; gap: 3px; }
.token-usage-embed .heatmap-cell { display: block; width: 10px; height: 10px; border: 0; border-radius: 2px; background: #2b3337; cursor: crosshair; transition: outline-color .12s ease; }
.token-usage-embed .heatmap-cell.level-1 { background: #0d419d; }.token-usage-embed .heatmap-cell.level-2 { background: #1f6feb; }.token-usage-embed .heatmap-cell.level-3 { background: #388bfd; }.token-usage-embed .heatmap-cell.level-4 { background: #58a6ff; }
.token-usage-embed .heatmap-cell:hover { outline: 1px solid #f0f6fc; outline-offset: 1px; transform: none; }
.token-usage-embed .heatmap-foot { display: flex; justify-content: flex-end; width: 814px; margin-top: 12px; padding: 0; border: 0; color: #8b949e; font: 12px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',var(--sans); }
.token-usage-embed .scale { display: flex; align-items: center; gap: 4px; }.token-usage-embed .scale i { width: 10px; height: 10px; border-radius: 2px; }.token-usage-embed .scale .level-0 { background: #2b3337; }.token-usage-embed .scale .level-1 { background: #0d419d; }.token-usage-embed .scale .level-2 { background: #1f6feb; }.token-usage-embed .scale .level-3 { background: #388bfd; }.token-usage-embed .scale .level-4 { background: #58a6ff; }
.token-usage-embed .chart-tooltip,.token-usage-embed .donut-tooltip { position: absolute; z-index: 3; display: none; min-width: 175px; max-height: calc(100% - 16px); overflow-y: auto; padding: 10px 12px; border: 1px solid #30363d; border-radius: 6px; background: #161b22; color: #f0f6fc; box-shadow: 0 10px 24px rgb(0 0 0 / 35%); font: 12px/1.65 -apple-system,BlinkMacSystemFont,'Segoe UI',var(--sans); pointer-events: none; }.token-usage-embed .chart-tooltip b,.token-usage-embed .donut-tooltip b { display: block; color: var(--ice); font-size: 12px; }
.token-usage-embed .model-mix { display: grid; grid-template-columns: minmax(190px, .7fr) 240px minmax(290px, 1fr); gap: clamp(30px, 5vw, 78px); align-items: center; margin-top: 24px; padding: 38px 40px; border: 1px solid #30363d; border-radius: 6px; background: #0d1117; }
.usage-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 24px 0 0; border: 1px solid #30363d; border-radius: 6px; background: #0d1117; overflow: hidden; }.usage-summary div { padding: 20px 24px; }.usage-summary div + div { border-left: 1px solid #30363d; }.usage-summary dt { color: #8b949e; font: 12px -apple-system,BlinkMacSystemFont,'Segoe UI',var(--sans); }.usage-summary dd { margin: 8px 0 0; color: #f0f6fc; font: 600 clamp(20px, 1.65vw, 28px)/1 -apple-system,BlinkMacSystemFont,'Segoe UI',var(--sans); letter-spacing: -.035em; }
.model-mix h3 { margin: 0; color: #f0f6fc; font: 400 20px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',var(--sans); }.donut-wrap { position: relative; width: 240px; height: 240px; }.model-donut { display: block; width: 240px; height: 240px; transform: rotate(-90deg); overflow: visible; }.model-donut circle { fill: none; stroke-width: 27; cursor: pointer; transition: opacity .15s, stroke-width .15s; }.model-donut circle:hover { stroke-width: 31; }.donut-center { position: absolute; inset: 42px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #0d1117; text-align: center; pointer-events: none; }.donut-center b { color: #f0f6fc; font: 600 23px/1 -apple-system,BlinkMacSystemFont,'Segoe UI',var(--sans); letter-spacing: -.06em; }
.donut-tooltip { top: 0; left: 0; }.model-legend { display: grid; gap: 12px; }.model-legend button { display: grid; grid-template-columns: 11px minmax(0, 1fr) auto; gap: 10px; align-items: center; width: 100%; padding: 0; border: 0; background: none; color: #f0f6fc; font: 12px -apple-system,BlinkMacSystemFont,'Segoe UI',var(--sans); text-align: left; cursor: pointer; }.model-legend button:hover .legend-name { color: #58a6ff; }.legend-dot { width: 10px; height: 10px; border-radius: 50%; }.legend-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.legend-value { color: #8b949e; }
.token-empty-state { color: #8b949e; font: 12px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',var(--sans); }
.token-profile-layout,.token-years { display: none; }
.token-usage-embed { padding: 104px 0 112px; }.token-usage-embed .calendar-head { margin-bottom: 40px; }.token-usage-embed .calendar-head h2 { margin: 13px 0 0; font: 700 clamp(48px, 6vw, 76px)/.92 var(--sans); }
.token-usage-embed .heatmap { position: relative; padding: 36px 40px 28px; border: 1px solid var(--line); border-radius: 10px; background: rgb(33 33 33 / 88%); overflow: hidden; }.token-usage-embed .heatmap-months { display: grid; grid-template-columns: repeat(53, minmax(0, 1fr)); gap: 4px; width: calc(100% - 48px); height: 31px; margin-left: 48px; color: var(--text); font: 11px var(--mono); }.token-usage-embed .heatmap-layout { display: flex; gap: 12px; min-width: 0; width: auto; }.token-usage-embed .heatmap-days { grid-template-rows: repeat(7, 1fr); gap: 0; width: 36px; color: var(--muted); font: 10px/1 var(--mono); text-align: right; }.token-usage-embed .heatmap-grid { display: grid; flex: 1; grid-template-columns: repeat(53, minmax(0, 1fr)); grid-template-rows: repeat(7, minmax(0, 1fr)); grid-auto-flow: column; gap: 4px; aspect-ratio: 53 / 7; }.token-usage-embed .heatmap-cell { width: 100%; height: 100%; border: 1px solid rgb(255 255 255 / 3%); background: #2b3337; }.token-usage-embed .heatmap-cell.level-1 { background: #34505d; }.token-usage-embed .heatmap-cell.level-2 { background: #4d7488; }.token-usage-embed .heatmap-cell.level-3 { background: #6fa4c3; }.token-usage-embed .heatmap-cell.level-4 { background: var(--ice); }.token-usage-embed .heatmap-cell:hover { outline: 2px solid #fff; outline-offset: 2px; transform: scale(1.12); }.token-usage-embed .heatmap-foot { width: auto; margin-top: 26px; padding-top: 19px; border-top: 1px solid var(--line); color: var(--muted); font: 10px var(--mono); }.token-usage-embed .scale { gap: 6px; }.token-usage-embed .scale i { width: 16px; height: 16px; }.token-usage-embed .scale .level-0 { background: #2b3337; }.token-usage-embed .scale .level-1 { background: #34505d; }.token-usage-embed .scale .level-2 { background: #4d7488; }.token-usage-embed .scale .level-3 { background: #6fa4c3; }.token-usage-embed .scale .level-4 { background: var(--ice); }

/* Heatmap tooltips are summaries, never scroll containers. */
.token-usage-embed .chart-tooltip { min-width: 215px; max-width: 320px; max-height: none; overflow: hidden; }
.usage-summary { margin-top: 16px; border-color: var(--line); border-radius: 10px; background: rgb(33 33 33 / 56%); }.usage-summary div { padding: 24px 25px; }.usage-summary div + div { border-left-color: var(--line); }.usage-summary dt { color: var(--muted); font: 12px var(--mono); }.usage-summary dd { margin-top: 9px; color: var(--text); font: 700 clamp(20px, 1.65vw, 28px)/1 var(--sans); }.token-usage-embed .model-mix { margin-top: 72px; padding: 45px 42px; border-color: var(--line); border-radius: 10px; background: rgb(33 33 33 / 88%); }.model-mix h3 { color: var(--text); font: 700 clamp(30px, 3vw, 44px)/1 var(--sans); }.model-mix h3 em { color: var(--ice); }.donut-center { background: #212121; }.donut-center b { color: var(--text); font-family: var(--sans); }

/* GitHub and Token calendars intentionally share one layout system. */
.token-profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 147px; gap: 40px; align-items: start; }.token-years { display: grid; }
.token-usage-embed { padding: 104px 0 112px; }.token-usage-embed .calendar-head { margin: 0 0 40px; }.token-usage-embed .calendar-head h2 { margin: 0; }
.token-usage-embed .heatmap { padding: 36px 40px 28px; border-color: var(--line); border-radius: 10px; background: rgb(33 33 33 / 88%); }.token-usage-embed .heatmap-months { grid-template-columns: repeat(53, minmax(0, 1fr)); gap: 4px; width: calc(100% - 48px); height: 31px; margin-left: 48px; color: var(--text); font: 11px var(--mono); }.token-usage-embed .heatmap-layout { gap: 12px; width: auto; }.token-usage-embed .heatmap-days { grid-template-rows: repeat(7, 1fr); gap: 0; width: 36px; color: var(--muted); font: 10px/1 var(--mono); text-align: right; }.token-usage-embed .heatmap-grid { flex: 1; grid-template-columns: repeat(53, minmax(0, 1fr)); grid-template-rows: repeat(7, minmax(0, 1fr)); gap: 4px; aspect-ratio: 53 / 7; }.token-usage-embed .heatmap-cell { width: 100%; height: 100%; border: 1px solid rgb(255 255 255 / 3%); background: #2b3337; }.token-usage-embed .heatmap-foot { width: auto; margin-top: 26px; padding-top: 19px; border-top: 1px solid var(--line); color: var(--muted); font: 10px var(--mono); }.token-usage-embed .scale { gap: 6px; }.token-usage-embed .scale i { width: 16px; height: 16px; }.token-usage-embed .scale .level-0 { background: #2b3337; }
.usage-summary dd small { color: var(--muted); font: 400 10px var(--mono); letter-spacing: 0; white-space: nowrap; }

.other-models { display: grid; gap: 12px; margin: 0; padding: 0; }.other-model { display: grid; grid-template-columns: 11px minmax(0, 1fr) auto; gap: 10px; align-items: center; color: #f0f6fc; font: 12px -apple-system,BlinkMacSystemFont,'Segoe UI',var(--sans); }.other-model .legend-dot { background: #6b7880; }.other-model .legend-value { color: #8b949e; }
.closing-section { padding: 0 0 88px; }
.now-card { display: grid; grid-template-columns: 28% 1fr; gap: 9%; padding: 49px 52px 52px; border: 1px solid var(--line); border-radius: 10px; background: radial-gradient(ellipse 55% 110% at 100% 50%, rgb(143 207 243 / 10%), transparent 72%), rgb(33 33 33 / 74%); }
.now-card h2 { max-width: 590px; margin: -6px 0 17px; color: var(--text); font: 700 clamp(28px, 3.5vw, 45px)/1.13 var(--sans); letter-spacing: -.04em; }.now-card h2 em { color: var(--ice); font-style: normal; }.now-card div > p { max-width: 570px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.contact-row { display: grid; grid-template-columns: 28% 1fr auto; gap: 9%; align-items: center; margin-top: 14px; padding: 21px 25px; border: 1px solid var(--line); border-radius: 10px; background: rgb(33 33 33 / 54%); }.contact-row > p { margin: 0; color: var(--muted); font: 10px var(--mono); }
.contact-email { display: inline-flex; align-items: center; gap: 11px; width: max-content; padding: 0 0 5px; border: 0; border-bottom: 1px solid var(--ice); background: transparent; color: var(--text); cursor: pointer; font: 16px var(--mono); }.contact-email i,.contact-github i { width: 17px; color: var(--ice); }.contact-github { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font: 11px var(--mono); }.contact-github:hover { color: var(--ice); }

/* Final window treatment: applied after legacy calendar rules. */
.desktop-page-window { overflow: hidden; border: 1px solid #4c5559; border-radius: 10px; background: rgb(29 31 32 / 91%); box-shadow: 0 22px 52px rgb(0 0 0 / 20%); }.desktop-page-bar { grid-template-columns: 58px 1fr 20px; }.desktop-page-bar > i { width: 14px; color: var(--ice); justify-self: end; }.work-section { padding: 92px 0 34px; }.work-section .section-intro { padding: 48px 52px 43px; margin: 0; }.work-section .work-list { padding: 0 24px 25px; }.project-card { border-color: #465055; border-radius: 8px; background: rgb(33 36 37 / 88%); }.github-section { padding: 34px 0; border: 0; }.github-section .github-profile-layout { padding: 45px 46px 43px; }.github-heatmap { border-color: #465055; background: #202425; }.token-usage-embed { padding: 0 0 34px; }.token-usage-embed .token-profile-layout { padding: 45px 46px 0; }.token-usage-embed .model-mix { margin: 35px 46px 46px; border-color: #465055; background: #202425; }.token-usage-embed .heatmap,.usage-summary { border-color: #465055; background: #202425; }.closing-section { padding: 0 0 78px; }.closing-section .now-card { border: 0; border-radius: 0; background: radial-gradient(ellipse 55% 110% at 100% 50%, rgb(143 207 243 / 10%), transparent 72%), rgb(33 33 33 / 74%); }.closing-section .contact-row { margin: 0 24px 24px; border-color: #465055; background: #202425; }

/* First-visit transition: four restrained strokes reveal the profile page. */
.flow-intro {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  overflow: hidden;
  pointer-events: none;
  background: #2a2d30;
  opacity: 0;
  visibility: hidden;
  transition: opacity .56s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .56s;
}

.flow-intro-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

html.flow-intro-pending body {
  overflow: hidden;
}

html.flow-intro-pending body > :not(.flow-intro):not(script) {
  opacity: var(--flow-reveal, 0);
  transform: translateY(calc((1 - var(--flow-reveal, 0)) * 2px));
  transition: none;
}

html.flow-intro-pending .flow-intro {
  display: block;
  opacity: 1;
  visibility: visible;
  transition: none;
  animation: flow-intro-failsafe .01s linear 4.2s forwards;
}

@keyframes flow-intro-failsafe {
  to { opacity: 0; visibility: hidden; }
}

.flow-intro.is-leaving {
  display: block;
  opacity: 0;
  visibility: hidden;
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .flow-intro { display: none !important; }
  html.flow-intro-pending body { overflow: auto; }
  html.flow-intro-pending body > :not(.flow-intro):not(script) {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 760px) {
  .desktop-hero { min-height: 760px; margin-top: 0; padding-top: 16px; overflow: visible; }.desktop-copy { top: 10%; left: 0; }.desktop-copy h1 { font-size: 52px; }.desktop-object { width: 71px; gap: 5px; font-size: 9px; }.desktop-object > i { width: 27px; height: 27px; }.desktop-object-xists { top: 30%; left: 0; }.desktop-object-cotoco { top: 31%; right: 0; left: auto; }.desktop-object-github { top: 49%; right: 2%; }.desktop-window { width: min(100%, 300px); }.desktop-profile { top: 51%; right: 0; width: min(100%, 274px); }.desktop-profile-body { padding: 15px; }.desktop-profile-body > img { width: 58px; height: 58px; }.desktop-profile-body h2 { margin-top: 6px; font-size: 19px; }.desktop-bio { margin: 12px 0; font-size: 11px; }.desktop-xists { top: 41%; right: auto; left: 0; width: min(100%, 285px); }.desktop-cotoco { top: 67%; left: 0; width: min(100%, 260px); }.desktop-hint { display: none; }
  .desktop-page-window { border-radius: 8px; }.desktop-page-bar { cursor: default; }.work-section { padding: 54px 0 18px; }.work-section .section-intro { padding: 30px 20px 28px; }.work-section .section-intro h2 { margin-top: 15px; }.work-section .work-list { padding: 0 12px 13px; }.github-section { padding: 18px 0; }.github-section .github-profile-layout { padding: 29px 20px 24px; }.github-heatmap { margin-inline: 0; }.token-usage-embed { padding: 0 0 18px; }.token-usage-embed .token-profile-layout { padding: 29px 20px 0; }.token-usage-embed .heatmap { margin-inline: 0; }.token-usage-embed .model-mix { margin: 26px 12px 13px; }.usage-summary { margin-inline: 0; border-inline: 1px solid #465055; }.closing-section { padding-bottom: 44px; }.closing-section .now-card { padding: 30px 20px; }.closing-section .contact-row { margin: 0 12px 12px; }
  .work-section { padding: 68px 0 76px; }
  .section-intro { display: block; }
  .section-intro { margin-bottom: 34px; }
  .section-intro h2 { margin-top: 24px; font-size: 34px; }
  .work-list { grid-template-columns: 1fr; gap: 14px; }
  .project-preview { min-height: 218px; padding: 19px; }
  .search-query { margin-top: 33px; }.component-flow { min-height: 142px; margin-top: 18px; }
  .project-card-body { min-height: 0; padding: 22px 20px 23px; }.project-card-body h3 { font-size: 22px; }.project-card-body > div > p:last-child { font-size: 12px; }
  .work-arrow { width: 32px; height: 32px; }
  .github-section { padding: 70px 0 76px; }.github-profile-layout { display: block; }.github-title-row { margin-bottom: 30px; }.github-title-row h2 { font-size: 48px; }.github-year-total { margin-bottom: 3px; font-size: 10px; }.github-heatmap { margin-inline: -20px; padding: 28px 20px 24px; border-inline: 1px solid var(--line); border-radius: 10px; }.github-months { gap: 2px; width: calc(100% - 43px); height: 25px; margin-left: 43px; font-size: 8px; }.github-graph { gap: 7px; }.github-days { width: 36px; font-size: 8px; }.github-grid { gap: 2px; }.github-heatmap-foot { margin-top: 22px; padding-top: 16px; }.github-scale { gap: 4px; }.github-scale i { width: 13px; height: 13px; }.github-years { display: flex; gap: 5px; margin-top: 18px; padding-top: 0; overflow-x: auto; }.github-years button { flex: 0 0 auto; width: auto; padding: 7px 12px; }
  .token-profile-layout { display: block; }.token-years { display: flex; gap: 5px; margin-top: 18px; overflow-x: auto; }.token-years button { flex: 0 0 auto; width: auto; padding: 7px 12px; }
  .token-usage-embed { padding: 70px 0 76px; }.token-usage-embed .calendar-head { margin-bottom: 30px; }.token-usage-embed .calendar-head h2 { margin-top: 24px; font-size: 48px; }
  .token-usage-embed .heatmap { margin-inline: -20px; padding: 28px 20px 24px; border-inline: 1px solid var(--line); }
  .token-usage-embed .heatmap-months { gap: 2px; width: calc(100% - 43px); margin-left: 43px; font-size: 8px; }
  .token-usage-embed .heatmap-layout { gap: 7px; }.token-usage-embed .heatmap-days { width: 36px; font-size: 8px; }.token-usage-embed .heatmap-grid { gap: 2px; }.token-usage-embed .heatmap-foot { margin-top: 26px; }
  .usage-summary { grid-template-columns: 1fr; margin-inline: -20px; border-inline: 0; }.usage-summary div { padding: 18px 20px; }.usage-summary div + div { border-top: 0; border-left: 0; }.usage-summary dd { font-size: 24px; }
  .token-usage-embed .model-mix { grid-template-columns: 1fr; gap: 34px; margin-top: 48px; padding: 34px 25px; }
  .token-usage-embed .donut-wrap { margin: auto; }
  .closing-section { padding-bottom: 60px; }.now-card { display: block; padding: 31px 24px 33px; }.now-card > .section-label { margin-bottom: 23px; }.now-card h2 { margin: 0 0 17px; font-size: 30px; }.now-card div > p { font-size: 12px; }.contact-row { display: flex; flex-wrap: wrap; gap: 16px 22px; margin-top: 10px; padding: 19px 20px; }.contact-row > p { width: 100%; }.contact-email { font-size: 14px; }.contact-github { margin-left: auto; }
}
