:root { color-scheme: light; --bg: #ffffff; --canvas: #f1f1f1; --panel: #ffffff; --text: #000000; --muted: #000000; --accent: #7651b0; --line: #d2dadd; --green: #287249; --cyan: #067383; --solid: #000000; --on-solid: #ffffff; --surface: #fafafa; --surface-hover: #eeeeee; --border: #dedede; --subtle-border: #e5e5e5; --input-border: #c9c9c9; --hover-border: #888888; --tab-height: 44px; }
:root[data-theme="dark"] { color-scheme: dark; --bg: #18181b; --canvas: #101012; --panel: #18181b; --text: #f4f4f5; --muted: #f4f4f5; --accent: #b89ae8; --line: #3f3f46; --green: #82c99c; --cyan: #78ccd7; --solid: #f4f4f5; --on-solid: #18181b; --surface: #222225; --surface-hover: #303036; --border: #3f3f46; --subtle-border: #35353b; --input-border: #52525b; --hover-border: #a1a1aa; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--tab-height) + 48px); }
html.scroll-inertia-active .paper-page { scroll-behavior: auto; }
* { scrollbar-width: thin; scrollbar-color: var(--text) var(--bg); }
@supports selector(::-webkit-scrollbar) { * { scrollbar-width: auto; scrollbar-color: auto; } }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--solid); border: 1px solid var(--bg); border-radius: 3px; min-height: 40px; }
::-webkit-scrollbar-thumb:hover { background: #222222; }
::-webkit-scrollbar-corner { background: var(--bg); }
body { --page-padding: 32px; margin: 0; padding: var(--page-padding) 24px; overflow: hidden; background: var(--canvas) url('./assets/canvas-texture.svg?v=10') center / cover no-repeat; color: var(--text); font-family: 'Segoe UI', Arial, Helvetica, sans-serif; font-size: 15px; line-height: 1.65; }
.paper-page { width: 100%; max-width: 900px; height: calc(100vh - var(--page-padding) * 2); height: calc(100dvh - var(--page-padding) * 2); overflow-y: auto; scrollbar-gutter: stable; scroll-behavior: smooth; scroll-padding-top: calc(var(--tab-height) + 48px); margin: 0 auto; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 4px 24px #00000008; }
button, input, textarea { font: inherit; }
button, a, input, textarea, summary { -webkit-tap-highlight-color: transparent; }
a { color: var(--text); text-decoration: none; }
button { color: var(--text); cursor: pointer; }
button:disabled { cursor: wait; }
::selection { color: var(--on-solid); background: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.wrap { max-width: 100%; margin: auto; padding-left: 40px; padding-right: 40px; }
.muted { color: var(--text); }
.accent { color: var(--text); }
.serif { font-family: inherit; font-weight: 600; font-style: normal; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 10; background: var(--accent); color: var(--on-solid); padding: 12px 20px; }
.skip-link:focus { top: 10px; }
.header { min-height: 106px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.wordmark { display: inline-flex; align-items: center; gap: 3px; font-size: 23px; font-weight: 700; letter-spacing: -.8px; color: var(--text); }
.wordmark .muted { font-weight: 400; }
.header nav { display: flex; gap: 8px; color: var(--text); font-size: 13px; }
.header nav a { padding: 7px 13px; border-radius: 8px; }
.header nav a:hover { background: var(--surface); }
.header nav a:hover, .text-link:hover, .footer a:hover { color: var(--text); }
.header-contact { padding: 8px 14px; font-size: 13px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.header-contact span { margin-left: 18px; }

.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 16px; padding-top: 24px; padding-bottom: 8px; }
.hero-content { width: 100%; min-width: 0; max-width: 560px; justify-self: start; align-self: start; padding-top: 32px; text-align: left; }
.hero-content h1 { margin-bottom: 20px; }
.avatar-stage { position: relative; width: 100%; height: 340px; justify-self: center; }
.avatar-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.avatar-status { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; text-align: center; font-size: 11px; }
.avatar-status:empty { display: none; }
@media (max-width: 600px) {
  .hero-content { display: contents; }
  .hero .hero-content h1 { grid-column: 1; grid-row: 1; font-size: clamp(32px, 8vw, 48px); letter-spacing: -2px; margin-bottom: 0; }
  .hero-description { grid-column: 1 / -1; grid-row: 2; }
  .hero-actions { grid-column: 1 / -1; grid-row: 3; }
  .hero-profiles { grid-column: 1 / -1; grid-row: 4; }
  .hero-contact-note { grid-column: 1 / -1; grid-row: 5; }
  .avatar-stage { grid-column: 2; grid-row: 1; height: 220px; }
}
.hero-description { margin-left: 0; margin-right: 0; }
[data-experience-start] { position: relative; display: inline-block; padding: 0 4px; border-radius: 3px; background: var(--surface-hover); color: var(--text); cursor: default; white-space: nowrap; }
[data-experience-start]::after { content: attr(data-full-date); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translate(-50%, 4px); width: max-content; max-width: min(280px, 75vw); padding: 8px 12px; border-radius: 5px; background: var(--solid); color: var(--on-solid); font-size: 12px; font-weight: 400; line-height: 1.5; text-align: center; white-space: normal; pointer-events: none; opacity: 0; visibility: hidden; z-index: 6; transition: opacity 120ms, transform 120ms; }
[data-experience-start]:hover::after, [data-experience-start]:focus-visible::after { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.tab-header { position: sticky; top: 0; z-index: 5; background: var(--bg); border-bottom: 1px solid var(--line); border-radius: 8px 8px 0 0; }
.language-switcher { --active-language: 0; position: absolute; top: 6px; right: 12px; isolation: isolate; display: grid; grid-template-columns: repeat(3, 32px); gap: 4px; width: 104px; height: 32px; margin: 0; background: var(--bg); }
.language-switcher::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 32px; border-radius: 4px; z-index: -1; pointer-events: none; background: var(--solid); transform: translateX(calc(var(--active-language) * (100% + 4px))); transition: transform 420ms cubic-bezier(.22, 1, .36, 1.08); }
.language-switcher:has([data-language="en"][aria-pressed="true"]) { --active-language: 1; }
.language-switcher:has([data-language="es"][aria-pressed="true"]) { --active-language: 2; }
.language-switcher button { border: 0; border-radius: 4px; background: transparent; padding: 3px 7px; color: var(--text); font-size: 10px; font-weight: 600; line-height: 1.4; }
.tab-list { --active-tab: 0; position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 560px; min-height: var(--tab-height); margin: 0 auto; padding-inline: 16px; gap: 0; background: var(--bg); }
.tab-list::before { content: ''; position: absolute; top: 6px; bottom: 6px; left: 20px; width: calc((100% - 32px) / 3 - 8px); border-radius: 5px; z-index: -1; pointer-events: none; background: var(--solid); transform: translateX(calc(var(--active-tab) * (100% + 8px))); transition: transform 420ms cubic-bezier(.22, 1, .36, 1.08); }
.tab-list:has([data-tab="work"][aria-selected="true"]) { --active-tab: 1; }
.tab-list:has([data-tab="contact"][aria-selected="true"]) { --active-tab: 2; }
.page-tab { position: relative; min-width: 0; padding: 10px 12px; background: transparent; border: 0; color: var(--text); font-size: 13px; font-weight: 600; }
.tab-label, .language-label { position: relative; color: var(--text); }
.page-tab[aria-selected="true"] .tab-label, [data-language][aria-pressed="true"] .language-label { color: var(--on-solid); }
.theme-toggle { position: absolute; top: 6px; right: 128px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 5px; background: var(--bg); color: var(--text); }
.theme-toggle:hover { background: var(--surface-hover); }
.theme-sun, [data-theme="dark"] .theme-moon { display: none; }
[data-theme="dark"] .theme-sun { display: block; }
@media (max-width: 1050px) { .theme-toggle { top: auto; bottom: 6px; } }
[data-theme="dark"] body { background-image: url('./assets/canvas-texture-dark.svg?v=1'); }
[data-theme="dark"] .primary { background: var(--solid); }
[data-theme="dark"] .primary:hover, [data-theme="dark"] .hero-actions .primary:hover { background: #d4d4d8; }
[data-theme="dark"] ::-webkit-scrollbar-thumb:hover { background: #d4d4d8; }
[data-theme="dark"] .hero-profile img[src$="github.svg"], [data-theme="dark"] .repo-link img[src$="github.svg"] { filter: invert(1); }
[data-theme="dark"] .repo-status--progress { background: #514219; }
[data-theme="dark"] .repo-status--library { background: #24432d; }
[data-theme="dark"] .repo-status--discontinued { background: #4a2929; }
[data-theme="dark"] .draft-badge { background: #34283f; border-color: #655178; }
main { min-height: 480px; }
[role="tabpanel"]:not([hidden]) { animation: panel-enter 260ms cubic-bezier(.2, .7, .2, 1); }
@keyframes panel-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 560px) { .page-tab { padding: 10px 8px; font-size: 12px; } }
@media (max-width: 760px) { body { --page-padding: 12px; padding: var(--page-padding); }.hero { min-height: 300px; padding-top: 24px; padding-bottom: 8px; } }
.eyebrow { font-size: 10px; font-weight: 600; letter-spacing: 1.6px; margin: 0 0 16px; }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); margin-right: 8px; }
.eyebrow-divider { color: var(--text); padding: 0 12px; }
h1, h2, p { margin-top: 0; }
h1 { font-size: clamp(60px, 6.8vw, 82px); font-weight: 700; line-height: 1.06; letter-spacing: -4px; margin-bottom: 14px; }
.hero .hero-description { font-size: 17px; color: var(--text); max-width: 360px; line-height: 1.65; margin-bottom: 0; }
.hero-actions { display: flex; gap: 16px; align-items: center; margin-top: 24px; flex-wrap: wrap; }
@media (max-width: 600px) { .hero .hero-description { max-width: 100%; font-size: 16px; }.hero .hero-actions { margin-top: 4px; } }
.hero-actions .primary { background: var(--solid); color: var(--on-solid); }
.hero-actions .primary:hover { background: #222222; }
.hero-actions .secondary:hover { background: var(--surface-hover); }
.hero-profiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 440px; margin-top: 16px; }
.hero-profile { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 12px 10px; border: 1px solid var(--border); border-radius: 5px; background: var(--surface); color: var(--text); transition: background 160ms, border-color 160ms; }
.hero-profile:hover { background: var(--surface-hover); border-color: var(--text); }
.hero-profile img { flex: 0 0 22px; object-fit: contain; }
.hero-profile-text { min-width: 0; }
.hero-profile-title { display: block; font-size: 12px; font-weight: 600; }
.hero-profile-username { display: block; font-size: 11px; }
.hero-profile-arrow { margin-left: auto; }
@media (max-width: 600px) { .hero .hero-profiles { max-width: 100%; margin-top: 0; } }
@media (max-width: 480px) { .hero-profile { position: relative; flex-direction: column; align-items: flex-start; padding: 12px; }.hero-profile-arrow { position: absolute; top: 10px; right: 10px; } }
.hero-contact-note { margin: 14px 0 0; max-width: 360px; font-size: 12px; line-height: 1.6; }
.hero-contact-note a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) { .hero .hero-contact-note { max-width: 100%; margin-top: 0; } }
.header-clock { position: absolute; left: 16px; bottom: 6px; }
.live-clock { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px; border: 0; border-radius: 5px; background: var(--bg); color: var(--text); font-size: 12px; line-height: 1.4; }
.live-clock time { font-family: inherit; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.clock-zone { border-left: 1px solid var(--border); padding-left: 8px; font-size: 10px; line-height: 1.2; }
@media (max-width: 1050px) { .tab-header { padding-bottom: 44px; }.header-clock { top: auto; bottom: 6px; }.language-switcher { top: auto; bottom: 6px; } }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 28px; padding: 14px 22px; border: 1px solid transparent; border-radius: 9px; font-size: 12px; font-weight: 600; line-height: 1.5; transition: background .2s, transform .2s; }
.primary { background: #263c43; color: var(--on-solid); }
.primary:hover { background: #365960; transform: translateY(-2px); }
.secondary { background: var(--panel); border-color: var(--line); }
.secondary:hover { background: var(--surface-hover); }
.text-link { background: none; border: none; padding: 0; font-size: 12px; }
.text-link span { margin-left: 12px; }
.hero-note { font-size: 11px; color: var(--text); margin: 28px 0 0; }
.identity-name { color: var(--text); }
.hero-role { font-size: 29px; font-weight: 600; letter-spacing: -1px; margin-bottom: 18px; }
@media (max-width: 760px) { .hero-role { font-size: 24px; }.hero-content h1 { font-size: clamp(58px, 13vw, 82px); } }
@media (forced-colors: active) { .identity-name { background: none; -webkit-text-fill-color: CanvasText; } }



.section { padding-top: 48px; padding-bottom: 48px; }
h2 { font-size: clamp(29px, 3.1vw, 38px); font-weight: 600; letter-spacing: -1.2px; line-height: 1.2; margin-bottom: 16px; }
.about { display: grid; grid-template-columns: 1fr; gap: 20px; border-bottom: 1px solid var(--line); }
#about.section { padding-top: 24px; }
.section-index { grid-column: 1 / -1; margin-bottom: 0; color: var(--text); white-space: nowrap; }
.about p:not(.eyebrow) { max-width: 720px; font-size: 14px; }
.about > div > p:last-child { margin-bottom: 0; }
.bio { min-width: 0; }
.bio > h2 { margin-bottom: 10px; }
.about .bio-experience { margin: 0 0 24px; font-size: 15px; }
.bio-block { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 24px; padding-block: 24px; border-top: 1px solid var(--subtle-border); }
.bio-block h3 { margin: 3px 0 0; font-size: 13px; font-weight: 600; line-height: 1.6; }
.bio-copy { min-width: 0; max-width: 65ch; }
.about .bio-copy p { margin: 0 0 14px; font-size: 15px; line-height: 1.8; }
.about .bio-copy p:last-child { margin-bottom: 0; }
.about .bio-copy .bio-lead { font-size: 17px; font-weight: 600; line-height: 1.65; }
@media (max-width: 600px) { .bio-block { grid-template-columns: 1fr; gap: 12px; padding-block: 20px; }.bio-block h3 { margin: 0; font-size: 14px; }.about .bio-copy .bio-lead { font-size: 16px; } }
.profile-stamp { align-self: center; border-left: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; padding-left: 40px; gap: 3px; }
.profile-stamp strong { font-size: 20px; font-weight: 500; }
.profile-stamp span { font-size: 12px; color: var(--text); }
.profile-stamp small { margin-top: 12px; font-size: 10px; color: var(--text); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; }
.section-heading h2 { margin-bottom: 0; }
.section-aside { color: var(--text); font-size: 11px; line-height: 1.8; margin-bottom: 4px; }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.work-note { margin-bottom: 28px; padding: 20px; border: 1px solid var(--border); border-left: 3px solid var(--text); border-radius: 5px; background: var(--surface); }
.work-note h3 { display: flex; align-items: center; gap: 9px; margin: 0 0 12px; font-size: 15px; font-weight: 600; line-height: 1.5; }
.work-note h3 svg { flex-shrink: 0; }
.work-note p { max-width: 70ch; margin: 0 0 8px; font-size: 13px; line-height: 1.75; }
.work-note p:last-child { margin-bottom: 0; }
.open-source-projects { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.open-source-projects > h2 { margin-bottom: 12px; }
.repo-intro { margin-bottom: 24px; font-size: 14px; }
.repo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.repo-card { display: flex; flex-direction: column; min-width: 0; padding: 20px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); }
.repo-card--wide { grid-column: 1 / -1; }
.repo-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.repo-heading h3 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -0.5px; overflow-wrap: anywhere; }
.repo-status { padding: 3px 7px; border-radius: 4px; background: var(--surface-hover); color: var(--text); font-size: 10px; font-weight: 600; }
.repo-status--progress { background: #fff0c2; }
.repo-status--library { background: #d9f2df; }
.repo-status--discontinued { background: #f8dddd; }
.repo-card p { margin: 0 0 14px; font-size: 13px; line-height: 1.7; }
.repo-card .repo-note { font-size: 12px; }
.repo-note a { text-decoration: underline; text-underline-offset: 3px; }
.repo-link { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; }
.repo-link img { object-fit: contain; }
.repo-card > .repo-link, .repo-links { margin-top: auto; padding-top: 8px; }
.repo-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 16px; }
.legacy-projects { margin-top: 24px; }
.legacy-projects > summary > span:first-child { font-family: inherit; font-size: inherit; font-weight: 600; }
.legacy-projects .repo-grid { margin-bottom: 18px; }
@media (max-width: 760px) { .repo-grid { grid-template-columns: 1fr; }.repo-card { padding: 18px; }.open-source-projects { margin-top: 32px; padding-top: 24px; } }
.specializations { padding-top: 24px; padding-bottom: 24px; }
.specializations h2 { font-size: 26px; letter-spacing: -0.8px; margin-bottom: 20px; }
.specialization-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.specialization-card { display: flex; flex-direction: column; min-width: 0; padding: 20px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); transition: transform 180ms ease-out, border-color 180ms ease-out, background-color 180ms ease-out, box-shadow 180ms ease-out; }
@media (hover: hover) and (pointer: fine) {
  .specialization-card:hover { transform: translateY(-3px); border-color: var(--hover-border); background: var(--bg); box-shadow: 0 6px 16px #0000000a; }
}
@media (prefers-reduced-motion: reduce) { .specialization-card:hover { transform: none; } }
.specialization-card h3 { margin: 0 0 10px; font-size: 16px; }
.specialization-card p { margin: 0; font-size: 13px; line-height: 1.7; }
@media (max-width: 600px) { .specialization-grid { grid-template-columns: 1fr; }.specialization-card { padding: 18px; } }
.featured-project { padding-top: 24px; padding-bottom: 32px; }
.featured-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.featured-layout > * { min-width: 0; }
.featured-project .project-video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: #000000; border: 1px solid var(--border); }
.featured-content h2 { font-size: 26px; letter-spacing: -0.8px; margin-bottom: 12px; }
.featured-content p { font-size: 13px; line-height: 1.65; margin-bottom: 16px; }
.featured-content h3 { font-size: 12px; font-weight: 600; margin: 0 0 8px; }
.featured-content ul { margin: 0 0 20px; padding-left: 16px; font-size: 12px; line-height: 1.6; }
.featured-content li + li { margin-top: 5px; }
.featured-actions { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 20px; }
.featured-actions .text-link { font-weight: 600; line-height: 1.65; padding-block: 6px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.inline-tool { white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .featured-layout { grid-template-columns: 1fr; gap: 20px; }.featured-project { padding-top: 24px; padding-bottom: 24px; }.featured-content h2 { font-size: 25px; }.featured-content p, .featured-content ul { font-size: 14px; } }
.project-card { padding: 8px; text-align: left; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; min-width: 0; transition: box-shadow .2s, transform .2s; }
.project-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px #45505a12; }
.project-art { display: block; height: 220px; position: relative; overflow: hidden; border: 1px solid transparent; border-radius: 8px; transition: border-color .2s; }
.project-card:hover .project-art { border-color: var(--accent); }
.project-world { background: #e4dcf1; }
.project-interface { background: #dcece7; }
.project-systems { background: #dce8ed; }
.demo-label { position: absolute; top: 14px; left: 16px; font-family: monospace; font-size: 8px; letter-spacing: 1.2px; color: var(--text); }
.mini-block { position: absolute; width: 75px; height: 75px; background: #ae96cf; transform: rotate(-30deg) skewX(25deg); border: 1px solid #dbcaf1; box-shadow: -14px 17px 0 #705781, -28px 34px 0 #49374f; }
.b1 { left: 37%; top: 90px; }
.b2 { left: 64%; top: 90px; width: 30px; height: 30px; background: #b8d39d; border-color: #cfe5b8; box-shadow: -8px 10px 0 #748e60; }
.b3 { left: 19%; top: 138px; width: 28px; height: 28px; box-shadow: -7px 9px 0 #705781; }
.project-card:hover .b1 { transform: translateY(-7px) rotate(-30deg) skewX(25deg); }
.b1, .mock-ui { transition: transform .3s; }
.mock-ui { display: flex; flex-direction: column; gap: 12px; position: absolute; top: 57px; left: 22%; width: 59%; padding: 19px; background: #192622; border: 1px solid #688c79; border-radius: 7px; transform: rotate(-7deg); box-shadow: 10px 15px 30px #0004; }
.mock-title { height: 7px; width: 50%; background: #c1d8c0; border-radius: 2px; }
.mock-line { height: 4px; width: 75%; background: #54695c; }
.mock-slots { display: flex; gap: 7px; }
.mock-slots i { width: 30%; height: 34px; background: #344c3e; border: 1px solid #5c7666; border-radius: 3px; }
.mock-button { width: 55%; height: 13px; background: #9cbd95; border-radius: 3px; }
.project-card:hover .mock-ui { transform: rotate(-3deg); }
.system-node { width: 40px; height: 40px; position: absolute; z-index: 1; border: 1px solid #6f9daf; background: #8cbac9; border-radius: 6px; box-shadow: 0 0 25px #8ebfce30; transform: rotate(45deg); }
.system-node::after { content: ''; position: absolute; inset: 13px; border: 1px solid #edf9fb; }
.node-a { left: 23%; top: 117px; }.node-b { left: 47%; top: 67px; }.node-c { left: 70%; top: 133px; }
.system-line { position: absolute; height: 1px; width: 32%; background: #7094a2; transform-origin: left; }
.line-a { left: 28%; top: 136px; transform: rotate(-30deg); }.line-b { left: 52%; top: 86px; transform: rotate(40deg); }
.project-meta { display: flex; justify-content: space-between; gap: 8px; padding: 17px 8px 12px; }
.project-meta small { display: block; font-size: 9px; letter-spacing: 1.4px; color: var(--text); margin-bottom: 8px; }
.project-meta strong { font-size: 14px; font-weight: 400; }
.project-video { width: 100%; object-fit: contain; background: #000000; }
.project-preview { position: relative; }
.video-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); padding: 12px 18px; background: var(--solid); color: var(--on-solid); border: 1px solid var(--bg); border-radius: 8px; white-space: nowrap; font-size: 12px; }
.project-preview .video-status { position: absolute; bottom: 8px; left: 8px; right: 8px; background: var(--solid); color: var(--on-solid); margin: 0; padding: 8px; font-size: 11px; }
.video-status:empty { display: none; }
.video-download { display: inline-block; margin-left: 14px; text-decoration: underline; text-underline-offset: 4px; }
.project-card h3 { margin: 5px 0 9px; font-size: 18px; font-weight: 600; line-height: 1.35; }
.project-card p { font-size: 12px; margin-bottom: 18px; }
.project-details { text-decoration: underline; text-underline-offset: 4px; padding-block: 6px; }
#work .work-grid { grid-template-columns: 1fr; gap: 24px; }
#work .project-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 24px; padding: 16px; border-color: var(--border); border-radius: 8px; }
#work .project-card, #work .repo-card { transition: transform 180ms ease-out, border-color 180ms ease-out, box-shadow 180ms ease-out; }
#work .project-card:hover { transform: none; box-shadow: none; }
@media (hover: hover) and (pointer: fine) {
  #work .project-card:hover, #work .repo-card:hover { transform: translateY(-3px); border-color: var(--hover-border); box-shadow: 0 6px 16px #0000000a; }
}
@media (prefers-reduced-motion: reduce) { #work .project-card:hover, #work .repo-card:hover { transform: none; } }
#work .project-card:hover .project-art { border-color: var(--border); }
#work .project-video { height: auto; aspect-ratio: 16 / 9; border-color: var(--border); }
#work .project-meta { min-width: 0; padding: 8px 0; }
#work .project-card h3 { margin: 0 0 12px; font-size: 22px; letter-spacing: -0.5px; }
#work .project-meta p { margin: 0 0 18px; font-size: 13px; line-height: 1.7; }
#work .project-card h4 { margin: 0 0 8px; font-size: 12px; font-weight: 600; }
.work-contributions { margin: 0 0 16px; padding-left: 16px; font-size: 12px; line-height: 1.7; }
.work-contributions li + li { margin-top: 5px; }
.work-actions { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; }
.work-actions .text-link { margin: 0; padding-block: 6px; font-weight: 600; line-height: 1.65; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.case-summary { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding-top: 20px; border-top: 1px solid var(--subtle-border); }
.case-summary > div { min-width: 0; }
.case-summary dt { margin-bottom: 8px; font-size: 12px; font-weight: 600; }
.case-summary dd { margin: 0; font-size: 13px; line-height: 1.75; }
.case-flow { grid-column: 1 / -1; margin: 0; padding: 16px; border-radius: 5px; background: var(--surface); }
.case-flow figcaption { margin-bottom: 12px; font-size: 11px; font-weight: 600; }
.case-flow ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.case-flow li { position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; padding: 12px 8px; border: 1px solid var(--border); border-radius: 4px; background: var(--bg); font-size: 12px; text-align: center; }
.case-flow li + li::before { content: '→'; position: absolute; right: calc(100% + 5px); width: 14px; color: var(--text); }
@media (max-width: 600px) { .case-summary { grid-template-columns: 1fr; gap: 18px; }.case-flow ol { grid-template-columns: 1fr; gap: 24px; }.case-flow li + li::before { content: '↓'; right: auto; bottom: calc(100% + 2px); } }
@media (max-width: 760px) { #work .project-card { grid-template-columns: 1fr; gap: 12px; }#work .project-meta { padding: 8px 4px; }.work-contributions { font-size: 13px; } }
.tech-stack { grid-column: 1 / -1; min-width: 0; }
.tech-stack h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.about p.stack-intro { margin: 0 0 18px; font-size: 13px; }
.stack-category summary > span:first-child { font-family: inherit; font-size: inherit; font-weight: 600; }
.stack-table { overflow-x: auto; margin-bottom: 18px; }
.stack-table table { width: 100%; min-width: 450px; border-collapse: collapse; font-size: 12px; text-align: left; }
.stack-table caption { text-align: left; padding-bottom: 12px; }
.stack-table th, .stack-table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.stack-table th { font-weight: 600; }
.stack-table a { text-decoration: underline; text-underline-offset: 3px; }
.stack-table .stack-tool { display: inline-flex; align-items: center; gap: 10px; }
.stack-icon { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 32px; border: 1px solid var(--subtle-border); border-radius: 5px; background: #ffffff; }
.stack-icon img { display: block; width: 22px; height: 22px; object-fit: contain; }
.stack-icon--dark { background: #242424; border-color: #242424; }
.contact-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.contact-channel { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 14px 12px; border: 1px solid var(--border); border-radius: 5px; background: var(--surface); transition: border-color 160ms, background-color 160ms; }
.contact-channel:hover { border-color: var(--hover-border); background: var(--bg); }
.contact-channel > img, .contact-channel > svg { flex: 0 0 22px; object-fit: contain; }
.contact-channel--email > svg { color: #4477a3; }
.contact-channel-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.contact-channel-title { font-size: 13px; font-weight: 600; }
.contact-channel-handle { font-size: 11px; overflow-wrap: anywhere; }
.contact-channel-arrow { margin-left: auto; font-size: 13px; }
@media (max-width: 600px) { .contact-links { grid-template-columns: 1fr; } }
#dialog-features { padding-left: 20px; font-size: 13px; line-height: 1.8; }
.project-arrow { color: var(--text); font-size: 20px; }
.portfolio-note { margin: 30px 0 0; font-size: 11px; color: var(--text); }
.portfolio-note span { margin-right: 10px; }
.draft-badge { display: inline-block; border: 1px solid #d6c8e5; background: #f3edf9; color: var(--text); padding: 5px 9px; border-radius: 6px; font-size: 8px; letter-spacing: 1px; margin: 9px 0 14px; }
details { border: 1px solid var(--line); background: var(--panel); border-radius: 10px; margin-bottom: 10px; padding-inline: 18px; }
summary { display: flex; gap: 16px; align-items: center; cursor: pointer; list-style: none; padding: 18px 0; font-size: 14px; }
summary::-webkit-details-marker { display: none; }
summary > span:first-child { color: var(--text); font-family: monospace; font-size: 10px; }
.detail-symbol { margin-left: auto; width: 12px; height: 12px; position: relative; }
.detail-symbol::before, .detail-symbol::after { content: ''; position: absolute; background: var(--muted); width: 10px; height: 1px; top: 5px; }
.detail-symbol::after { transform: rotate(90deg); }
details[open] .detail-symbol::after { display: none; }
details p { color: var(--text); font-size: 12px; margin: -1px 25px 25px 38px; }
.contact { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
.contact-intro { display: grid; grid-template-columns: 1fr; gap: 24px; }
.contact-copy { min-width: 0; }
.contact-copy p { max-width: 55ch; margin-bottom: 0; font-size: 14px; line-height: 1.75; }
#brief-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; padding-top: 28px; border-top: 1px solid var(--border); }
.form-field { min-width: 0; }
.form-field--wide, #brief-form > .button, #brief-form > .form-note, #brief-result, #form-status { grid-column: 1 / -1; }
.form-field label { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; font-size: 15px; font-weight: 600; line-height: 1.5; }
.form-field label .muted { padding: 2px 6px; border-radius: 3px; background: var(--surface-hover); font-size: 11px; font-weight: 400; }
.form-field input, .form-field textarea { margin-bottom: 0; border-color: var(--input-border); font-size: 14px; background: var(--surface); }
.form-field input:not([type="radio"]), .form-field textarea, #brief-output { transition: border-color 160ms ease, box-shadow 160ms ease; }
.form-field input:not([type="radio"]):focus, .form-field textarea:focus, #brief-output:focus { border-color: var(--text); outline: none; box-shadow: 0 0 0 1px var(--text); }
.timeline-field select { width: 100%; padding: 12px 13px; border: 1px solid var(--input-border); border-radius: 8px; background: var(--surface); color: var(--text); font: inherit; font-size: 14px; }
.timeline-field select { transition: border-color 160ms ease, box-shadow 160ms ease; }
.timeline-field select:focus { border-color: var(--text); outline: none; box-shadow: 0 0 0 1px var(--text); }
.timeline-detail { margin-top: 18px; }
.timezone-field .field-help, .budget-field .field-help { margin: 8px 0 0; font-size: 11px; line-height: 1.6; }
.budget-methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 10px; }
.budget-methods .budget-method { position: relative; display: block; margin: 0; font-size: 12px; }
.budget-method input { position: absolute; width: 1px; height: 1px; padding: 0; margin: 0; opacity: 0; }
.budget-method > span { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; min-height: 72px; padding: 8px; border: 1px solid var(--input-border); border-radius: 5px; background: var(--surface); cursor: pointer; }
.budget-method img { display: block; width: 28px; height: 28px; flex-shrink: 0; padding: 4px; border-radius: 5px; background: #ffffff; object-fit: contain; }
.budget-method input:checked + span { border-color: var(--solid); background: var(--solid); color: var(--on-solid); }
.budget-method input:focus-visible { outline: none; }
.budget-method input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.budget-method:hover > span { border-color: var(--text); }
.budget-amount { position: relative; }
.budget-unit { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); font-size: 12px; font-weight: 600; pointer-events: none; }
.budget-amount input { padding-left: 66px; }
.budget-preview { margin: 8px 0 0; font-size: 12px; font-variant-numeric: tabular-nums; }
.budget-preview:empty { display: none; }
.budget-devex { margin-top: 12px; padding: 14px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); animation: devex-enter 280ms cubic-bezier(.2, .7, .2, 1) both; }
@keyframes devex-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.budget-devex[data-state="leaving"] { animation: devex-exit 200ms ease-in both; pointer-events: none; }
@keyframes devex-exit { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(8px); } }
.budget-devex h3 { margin: 0 0 10px; font-size: 13px; font-weight: 600; }
.devex-values { margin: 0 0 12px; }
.devex-values > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; padding-block: 7px; border-bottom: 1px solid var(--subtle-border); animation: devex-enter 240ms ease-out both; }
.devex-values > div:nth-child(1) { animation-delay: 40ms; }
.devex-values > div:nth-child(2) { animation-delay: 80ms; }
.devex-values > div:nth-child(3) { animation-delay: 120ms; }
.budget-devex[data-state="leaving"] .devex-values > div { animation: none; }
.devex-values dt { font-size: 11px; }
.devex-values dd { margin: 0; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.devex-note { margin: 5px 0 0; font-size: 10px; line-height: 1.6; }
.devex-sources { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 10px; }
.devex-sources a { text-decoration: underline; text-underline-offset: 3px; }
.timezone-combobox { position: relative; }
.timezone-combobox input { padding-right: 42px; }
.timezone-clear { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 5px; background: transparent; font-size: 21px; line-height: 1; }
.timezone-clear:hover { background: var(--surface-hover); }
.timezone-popup { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 4; padding: 5px; border: 1px solid var(--input-border); border-radius: 8px; background: var(--panel); box-shadow: 0 8px 24px #00000020; }
.timezone-options { max-height: 260px; overflow-y: auto; overscroll-behavior: contain; list-style: none; padding: 0; margin: 0; }
.timezone-option { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; padding: 10px; border-radius: 5px; cursor: pointer; }
.timezone-option:hover, .timezone-option[aria-selected="true"] { background: var(--surface-hover); }
.timezone-option-city { font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.timezone-option-zone { grid-column: 1; font-size: 10px; overflow-wrap: anywhere; }
.timezone-option-offset { grid-column: 2; grid-row: 1 / 3; font-size: 11px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.timezone-empty { margin: 0; padding: 10px; font-size: 12px; line-height: 1.6; }
.timezone-preview { margin: 8px 0 0; font-size: 12px; font-variant-numeric: tabular-nums; }
.timezone-preview:empty { display: none; }
.timezone-detect { margin-top: 8px; padding-block: 6px; text-decoration: underline; text-underline-offset: 3px; }
.timezone-detect:disabled { cursor: default; opacity: .6; }
.timeline-detail label { font-size: 13px; }
@media (max-width: 600px) { .timeline-field select { font-size: 16px; } }
#brief-form > .form-note { margin: -10px 0 0; font-size: 11px; }
#brief-form > #form-status { margin: 0; }
#brief-form > #brief-result { margin-top: 4px; }
@media (max-width: 600px) { .contact-intro { gap: 20px; }#brief-form { grid-template-columns: 1fr; gap: 24px; }.form-field input, .form-field textarea { font-size: 16px; } }
.contact h2 { font-size: clamp(32px, 3.4vw, 47px); }
.contact > div > p:not(.eyebrow) { max-width: 350px; color: var(--text); font-size: 14px; }
.contact .contact-note { margin-top: 20px; font-size: 11px !important; }
label { display: block; font-size: 11px; margin-bottom: 7px; }
input, textarea { width: 100%; border: 1px solid var(--input-border); border-radius: 8px; background: var(--surface); color: var(--text); padding: 12px 13px; margin-bottom: 18px; font-size: 12px; }
textarea { resize: vertical; min-height: 100px; }
input::placeholder, textarea::placeholder { color: var(--text); opacity: 1; }
form > .button { width: 100%; justify-content: space-between; }
.form-note { margin: 12px 0 0; font-size: 10px; color: var(--text); }
#brief-result { margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--line); }
.brief-actions { display: flex; align-items: center; gap: 25px; }
#form-status { font-size: 11px; color: var(--text); margin: 12px 0 0; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 28px; padding-bottom: 28px; border-top: 1px solid var(--line); }
.footer .wordmark { font-size: 17px; }.footer > span, .footer > a:last-child { font-size: 10px; color: var(--text); }
dialog { width: min(600px, calc(100% - 36px)); max-height: calc(100% - 48px); padding: 48px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); color: var(--text); }
dialog::backdrop { background: #25343c88; backdrop-filter: blur(5px); }
dialog h2 { font-size: 30px; }
dialog p { color: var(--text); font-size: 13px; }
.dialog-close { position: absolute; right: 14px; top: 9px; width: 38px; height: 38px; background: none; border: none; font-size: 27px; }
dialog dl { margin: 25px 0; }dialog dl div { padding: 14px 0; border-bottom: 1px solid var(--line); }dialog dt { color: var(--text); font-size: 12px; margin-bottom: 5px; }dialog dd { margin: 0; font-size: 12px; color: var(--text); }
dialog .dialog-note { font-size: 11px; margin-bottom: 0; }
body:has(dialog[open]) { overflow: hidden; }
@media (min-width: 1500px) {  }
@media (max-width: 1050px) { .wrap { padding-left: 35px; padding-right: 35px; }h1 { font-size: 73px; }.hero-actions { gap: 18px; }.hero .eyebrow { font-size: 8px; }.about { gap: 20px; grid-template-columns: 1fr; }.profile-stamp { padding-left: 25px; }.contact { gap: 32px; }.work-grid { gap: 16px; }.project-art { height: 205px; }.project-meta strong { font-size: 12px; } }
@media (max-width: 760px) { .wrap { padding-left: 24px; padding-right: 24px; }.header { min-height: 84px; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 20px; }.wordmark { font-size: 21px; }.header-contact { font-size: 11px; }.header-contact span { margin-left: 8px; }.header nav { order: 3; width: 100%; justify-content: center; padding-top: 12px; gap: 32px; font-size: 12px; }.hero .eyebrow { font-size: 9px; letter-spacing: 1.1px; }.eyebrow-divider { padding: 0 6px; }h1 { font-size: clamp(61px, 12vw, 88px); letter-spacing: -3.5px; }.hero-description { max-width: 430px; }.hero-note { margin-top: 28px; }.section { padding-top: 36px; padding-bottom: 36px; }.about { grid-template-columns: 1fr; gap: 16px; }.section-index { margin-bottom: 0; }.profile-stamp { display: none; }.section-heading { align-items: start; flex-direction: column; gap: 16px; }.section-heading .eyebrow { margin-bottom: 18px; }.section-aside { font-size: 12px; }.work-grid { grid-template-columns: 1fr; gap: 20px; }.project-art { height: 260px; }.project-meta strong { font-size: 15px; }.mini-block { width: 88px; height: 88px; }.b1 { left: 40%; top: 90px; }.b2, .b3 { width: 35px; height: 35px; }.mock-ui { max-width: 220px; left: 50%; top: 65px; transform: translateX(-50%) rotate(-7deg); }.project-card:hover .mock-ui { transform: translateX(-50%) rotate(-3deg); }.node-a { top: 133px; }.node-b { top: 82px; }.node-c { top: 148px; }.line-a { top: 151px; }.line-b { top: 101px; }.contact { grid-template-columns: 1fr; gap: 30px; }.contact > div > p:not(.eyebrow) { max-width: 100%; }.contact h2 { font-size: 37px; }.contact .contact-note { margin-top: 22px; }.footer { flex-wrap: wrap; gap: 14px; }.footer > span { order: 3; width: 100%; }dialog { padding: 42px 24px 28px; }dialog .eyebrow { font-size: 8px; } }
@media (prefers-reduced-motion: reduce) { html, .paper-page { scroll-behavior: auto; }*, *::before, *::after { animation: none !important; transition: none !important; } }
@media (max-width: 480px) {
  .hero .hero-actions { display: grid; grid-template-columns: 1fr; gap: 10px; width: 100%; }
  .hero-actions .button { width: 100%; }
  .contact input, .contact textarea { font-size: 16px; }
  .brief-actions { flex-wrap: wrap; gap: 12px 20px; }
}
@media (max-width: 380px) {
  .header-clock .clock-zone { display: none; }
  .tab-list { padding-inline: 8px; }
  .tab-list::before { left: 12px; width: calc((100% - 16px) / 3 - 8px); }
  .page-tab { padding: 10px 4px; font-size: 11px; }
}
