/* Presentation styles stay scoped so OS applications keep their own layout. */
[hidden] { display: none !important; }
body[data-mode="website"] { overflow: auto; height: auto; min-height: 100%; user-select: text; cursor: auto; background: #08090b; }
body[data-mode="website"]::before, body[data-mode="website"]::after, body[data-mode="boot"]::before, body[data-mode="boot"]::after { display: none; }
#website { min-height: 100vh; background: #08090b; color: #eeeef0; font-family: Arial, Helvetica, sans-serif; line-height: 1.65; }
#website a { color: inherit; text-decoration: none; }
#website button, #website a { -webkit-tap-highlight-color: transparent; }
#website button, .arcade-body button, .mode-switch button { cursor: pointer; font: inherit; color: inherit; }
#website :focus-visible, .mode-switch :focus-visible, .arcade-body :focus-visible, .boot-choice:focus-visible { outline: 2px solid #ff526e; outline-offset: 5px; }
.site-header { max-width: 1240px; margin: auto; padding: 25px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid #23252a; font-size: 12px; }
.site-brand { display: flex; align-items: center; gap: 9px; font-weight: 700; white-space: nowrap; }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #ed3c5e; flex-shrink: 0; }
.brand-divider { color: #45464d; margin: 0 8px; }.brand-role { color: #888b96; font-weight: 400; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 26px; color: #a9abb4; }.site-header a:hover { color: #ff526e; }
.site-main { max-width: 1240px; margin: auto; padding: 0 40px; }
.site-hero { display: grid; grid-template-columns: 1.5fr 1fr; gap: 70px; align-items: center; padding: 110px 0 85px; }
.site-eyebrow { font: 10px/1.6 'Share Tech Mono', monospace; letter-spacing: 2px; color: #ee6a80; margin-bottom: 22px; display: flex; align-items: center; gap: 10px; }
#website h1 { font-size: clamp(36px, 4.1vw, 58px); letter-spacing: -2.8px; line-height: 1.1; margin: 0 0 25px; font-weight: 700; }
#website h1 span, #website h2 span { color: #999ba6; }
.site-intro { max-width: 590px; font-size: 16px; color: #a0a3ae; line-height: 1.8; }
.site-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.site-actions a, .site-actions button { border: 1px solid #30323b; background: #121419; border-radius: 5px; padding: 11px 17px; font: 12px/1.5 Arial, sans-serif; color: #d8d9df; }
.site-actions .site-primary { background: #eeebed; color: #111216; border-color: #eeebed; }.site-actions a:hover, .site-actions button:hover { border-color: #ef536e; }
.site-actions span { margin-left: 15px; }
.hero-facts { display: flex; justify-content: flex-start; gap: clamp(28px, 5vw, 64px); border-top: 1px solid #25262d; margin-top: 48px; padding-top: 26px; }.hero-facts strong { display: block; font-size: 17px; font-weight: 600; }.hero-facts div > span { display: block; margin-top: 8px; font: 8px/1.6 monospace; letter-spacing: 1px; color: #777b87; }
.profile-console { padding: 0 24px 24px; border: 1px solid #34303a; border-radius: 8px; background: linear-gradient(145deg,#14141c,#0c0d12); box-shadow: 0 25px 90px #9f163214; transform: rotate(1deg); font: 11px/1.9 'Share Tech Mono', monospace; color: #9b9da9; }
.console-top { display: flex; justify-content: space-between; border-bottom: 1px solid #2c2b36; margin: 0 -24px 23px; padding: 12px 18px; color: #6c6573; }.console-top span:first-child { color: #e44462; letter-spacing: 4px; }.console-prompt { color: #ea7186; }.console-mark { font: bold 70px/1.5 monospace; color: #eeedef; letter-spacing: -9px; margin: 9px 0; }.console-mark span { color: #f14766; }.console-name { color: #eee; font-size: 15px; }.console-rule { height: 1px; background: #2b2932; margin: 18px 0; }.console-foot { margin-top: 25px; color: #686b77; }.console-cursor { color: #ee5570; }
.site-section { padding: 70px 0; border-top: 1px solid #23252b; scroll-margin-top: 25px; }#website h2 { font-size: clamp(26px,3vw,34px); line-height: 1.25; letter-spacing: -1.1px; margin-bottom: 30px; }#website h3 { font-size: 16px; line-height: 1.4; margin-bottom: 12px; }.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; }.section-note { font: 9px/1.5 monospace; color: #777b86; letter-spacing: 1px; }
.principles-grid, .toolkit-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }.principles-grid article, .toolkit-grid article { border: 1px solid #292a33; background: #0e1015; border-radius: 6px; padding: 25px; }.card-number { display: inline-block; font: 11px monospace; padding: 6px; background: #361820; color: #f17b91; border-radius: 3px; margin-bottom: 25px; }.principles-grid p, .projects-list p { font-size: 13px; color: #969aa6; line-height: 1.8; }
.projects-list article { display: flex; gap: 25px; align-items: flex-start; padding: 28px; border: 1px solid #282a32; border-radius: 6px; margin-bottom: 12px; background: linear-gradient(100deg,#111218,#0c0e12); }.project-index { color: #ae5065; font: 11px monospace; padding-top: 4px; }.projects-list article > div { flex: 1; }.projects-list a { font-size: 24px; }.project-private { font: 8px/1.7 monospace; color: #777; white-space: nowrap; }
.experience-list article { display: grid; grid-template-columns: 190px 1fr; gap: 32px; padding: 30px 0; border-top: 1px solid #24262c; }.experience-date { font: 11px/1.8 monospace; color: #b2b4bf; }.experience-date span { display: block; color: #717682; margin-top: 8px; }.experience-company { font-size: 13px; color: #f1768d; margin-top: -5px; }.experience-list ul { padding-left: 16px; color: #969aa6; font-size: 13px; margin: 18px 0; }.experience-list li { padding: 3px 0; }
.site-tags { display: flex; gap: 7px; flex-wrap: wrap; }.site-tags span { border: 1px solid #31323c; border-radius: 3px; padding: 4px 7px; color: #a6a9b5; font: 10px/1.5 monospace; }.ai-note { display: flex; gap: 12px; align-items: baseline; padding: 20px 0 0; color: #999da9; font-size: 12px; }.section-description { color: #9499a7; font-size: 14px; margin: -10px 0 28px; }
.site-contact { margin: 30px 0 65px; padding: 50px; border: 1px solid #413039; border-radius: 8px; background: radial-gradient(at bottom right,#2d111b,#0f1116 70%); }.site-contact p:not(.site-eyebrow) { font-size: 14px; color: #9b9da8; }.site-footer { max-width: 1240px; margin: auto; padding: 22px 40px 85px; display: flex; justify-content: space-between; gap: 20px; font: 10px/1.8 monospace; color: #747986; }
.mode-switch { position: fixed; z-index: 9500; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 3px; padding: 4px; border: 1px solid #53414b; border-radius: 7px; background: #101116f5; color: #9c9eaa; box-shadow: 0 5px 25px #0008; font: 11px/1.4 monospace; }.mode-switch > span { padding: 5px 8px; color: #666b77; }.mode-switch button { padding: 7px 12px; border: 0; border-radius: 4px; background: transparent; }.mode-switch button[aria-pressed="true"] { background: #35202b; color: #ff879e; }body[data-mode="os"] .mode-switch { bottom: auto; top: 43px; }
#grub-screen { background: radial-gradient(ellipse at 50% 15%,#21101a,#08090e 70%); padding: 28px; }.grub-content { width: 650px; max-width: 100%; }.boot-brand { font: bold clamp(36px,7vw,68px)/1 monospace; letter-spacing: -5px; color: #eee; text-align: center; margin: 0 0 14px; }.boot-brand span { color: #f04a69; }.boot-caption { text-align: center; font: 11px/1.8 monospace; color: #888b9b; margin-bottom: 34px; letter-spacing: 2px; }.boot-heading { color: #c0c2ce; font-size: 11px; letter-spacing: 2px; margin-bottom: 14px; }.boot-choice { display: block; width: 100%; text-align: left; padding: 22px; margin: 10px 0; border: 1px solid #33323f; background: #111218; color: #b3b6c3; border-radius: 6px; cursor: pointer; font: inherit; }.boot-choice strong { display: block; color: #f1eff3; font-size: 16px; margin-bottom: 7px; }.boot-choice small { font-size: 12px; line-height: 1.6; }.boot-choice.selected, .boot-choice:hover { border-color: #df4665; background: #25131f; }.boot-meta { font: 11px/1.8 monospace; color: #878c9d; margin-top: 23px; }.boot-meta p { margin: 8px 0; }
.arcade-body { color: #dcdfe8; font: 12px/1.6 Arial,sans-serif; min-width: 0; }.window-body.arcade-body { flex: 1; overflow: auto; padding: 20px; background: #0c0d12; }.game-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }.game-card { border: 1px solid #34323b; border-radius: 6px; overflow: hidden; background: #101219; }.game-cover { padding: 15px; height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; color: var(--game-color); background: repeating-linear-gradient(0deg,#0000,#0000 3px,#0003 4px),radial-gradient(ellipse at center,#ffffff0a,#0004); border-bottom: 1px solid #34323b; }.game-cover strong { font: bold 76px/1 monospace; text-shadow: 3px 3px #000; }.game-cover > span { font: 9px/1.5 monospace; letter-spacing: 1px; }.game-year { align-self: flex-end; }.game-info { padding: 18px; }.game-info h3 { font-size: 15px; margin: 0 0 15px; }.game-info a { display: block; text-decoration: none; color: #dcdfe8; background: #1e202a; border: 1px solid #3b3e4b; border-radius: 4px; padding: 9px; width: 100%; text-align: left; font-size: 11px; }.game-info a span { float: right; }.arcade-credit { font: 10px/1.8 monospace; color: #959aa8; margin-top: 18px; }.arcade-body a { color: #e68a9f; }
@media(max-width:900px) { .site-hero { gap: 30px; padding-top: 70px; }.site-header { padding: 22px 25px; }.site-main { padding: 0 25px; }.brand-role { display: none; }.site-header nav { gap: 15px; }.profile-console { padding: 0 18px 20px; font-size: 10px; }.console-top { margin-left: -18px; margin-right: -18px; }.section-note { display: none; }.experience-list article { grid-template-columns: 140px 1fr; }.hero-facts { flex-wrap: wrap; } }
@media(max-width:650px) { .site-header { flex-wrap: wrap; gap: 14px; }.site-header nav { font-size: 11px; justify-content: space-between; width: 100%; }.site-hero { grid-template-columns: 1fr; padding: 55px 0; gap: 38px; }#website h1 { letter-spacing: -1.7px; font-size: 38px; }.site-intro { font-size: 15px; }.profile-console { transform: none; }.principles-grid,.toolkit-grid,.game-grid { grid-template-columns: 1fr; }.site-section { padding: 45px 0; }.experience-list article { grid-template-columns: 1fr; gap: 16px; }.experience-date span { display: inline; margin-left: 14px; }.site-contact { padding: 28px; }.site-footer { padding: 0 25px 90px; flex-wrap: wrap; }.projects-list article { padding: 22px 16px; gap: 15px; }.project-private { display: none; }.game-cover { height: 160px; }.mode-switch { right: 10px; bottom: 10px; }body[data-mode="os"] .mode-switch > span { display: none; }.boot-choice { padding: 18px; } }
@media(prefers-reduced-motion:reduce) { #website *, .mode-switch * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

html[data-mode=website] { overflow: auto; height: auto; min-height: 100%; user-select: text; }

body[data-mode=boot] #website { display: none; }
body[data-mode=boot] #grub-screen { background: radial-gradient(ellipse at 50% 15%,#21101a,#08090e 70%); padding: 28px; overflow-y: auto; }
body[data-mode=boot] .grub-content { width: 650px; max-width: 100%; margin: auto; }

#website .site-actions .site-primary { color: #111216; }

body[data-mode=os] .mode-switch { top: auto; bottom: 96px; right: 12px; }

/* Native modal keeps keyboard focus in the curriculum and restores its opener. */
html.cv-modal-open, html.cv-modal-open body[data-mode=website] { overflow: hidden; }
#website #site-cv-dialog { position: fixed; inset: 0; margin: auto; width: min(860px, calc(100vw - 32px)); max-width: none; height: min(880px, calc(100dvh - 40px)); max-height: calc(100dvh - 40px); padding: 0; border: 1px solid #56313d; border-radius: 10px; background: #08090d; color: #eee; box-shadow: 0 25px 100px #000b; overflow: hidden; }
#site-cv-dialog[open] { display: flex; flex-direction: column; }
#site-cv-dialog::backdrop { background: #030409cc; backdrop-filter: blur(5px); }
.cv-dialog-header { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; gap: 20px; padding: 16px 22px; border-bottom: 1px solid #3d2934; background: #13131b; }
#website .cv-dialog-header h2 { margin: 0; font: 14px/1.5 Arial, sans-serif; letter-spacing: 0; }
#website #site-cv-close { flex-shrink: 0; padding: 7px 12px; border: 1px solid #48414b; border-radius: 5px; color: #e8dce1; background: #25212a; cursor: pointer; font: 12px/1.5 Arial, sans-serif; }
#site-cv-dialog .cv-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; font-family: 'Share Tech Mono', monospace; }
#website #site-cv-dialog .cv-body a { color: #e58a9e; }
@media(max-width:600px) { #website #site-cv-dialog { width: calc(100vw - 16px); height: calc(100dvh - 16px); max-height: calc(100dvh - 16px); border-radius: 7px; }.cv-dialog-header { padding: 12px 14px; } }

.projects-list .project-context { margin-bottom: 12px; font: 11px/1.7 monospace; color: #f08098; }
.project-context span { color: #787e8e; font-size: 9px; letter-spacing: .7px; }
.projects-list .site-tags { margin-top: 18px; }
.project-highlights { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.project-highlights span { border-left: 2px solid #c85670; padding: 3px 12px; background: #e657740a; color: #d9c4cc; font: 12px/1.7 monospace; }
@media(max-width:650px) { .project-context span { display: block; }.project-highlights { gap: 8px; }.project-highlights span { font-size: 11px; } }
