@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root { font-family: 'DM Sans', Arial, sans-serif; color: #24334c; }
* { box-sizing: border-box; }
html, body { min-width: 320px; min-height: 100%; margin: 0; }
body { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 3px solid #ed9f62; outline-offset: 3px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; padding: 10px 14px; background: #fff; color: #172b48; }
.skip-link:focus { top: 12px; }
.desktop { position: relative; width: 100vw; min-height: 100vh; min-height: 100dvh; overflow: hidden; isolation: isolate; background: radial-gradient(circle at 72% 30%, #1b4577 0, transparent 44%), radial-gradient(circle at 14% 80%, #163e6a 0, transparent 48%), #07172c; }
.desktop::before, .desktop::after { content: ''; position: absolute; inset: 0; pointer-events: none; }
.desktop::before { z-index: 0; opacity: .42; background-image: linear-gradient(#4b8ec20b 1px, transparent 1px), linear-gradient(90deg, #4b8ec20b 1px, transparent 1px); background-size: 48px 48px; }
.desktop::after { z-index: 2; background: linear-gradient(90deg, #07172c70 0, transparent 25%), linear-gradient(0deg, #07172cb8 0, transparent 30%); }
.rain-canvas { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.desktop-mark { position: absolute; z-index: 3; top: 29px; right: 33px; color: #ffffffdf; font-family: 'Space Grotesk', Arial, sans-serif; font-size: 16px; font-weight: 700; letter-spacing: -.04em; text-shadow: 0 1px 8px #07172c; }
.desktop-mark span { opacity: .7; font-weight: 400; }
.desktop-icons { position: absolute; z-index: 3; top: 30px; left: 27px; display: grid; gap: 20px; width: 102px; }
.desktop-icon { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 7px 4px; border: 1px solid transparent; border-radius: 10px; color: white; background: transparent; font-size: 12px; font-weight: 600; text-align: center; text-shadow: 0 1px 4px #1a245299; }
.desktop-icon:hover, .desktop-icon:focus-visible { background: #ffffff2a; border-color: #ffffff38; }
.icon-tile { display: grid; place-items: center; width: 55px; height: 55px; border-radius: 15px; color: white; font-family: 'Space Grotesk', Arial, sans-serif; font-size: 30px; box-shadow: 0 8px 18px #19295555, inset 0 1px 1px #ffffff99; text-shadow: none; }
.icon-blue { background: linear-gradient(135deg, #459bd9, #345ab2); color: white; }
.icon-amber { background: linear-gradient(135deg, #e8a762, #bb673d); color: white; }
.icon-violet { background: linear-gradient(135deg, #a586d7, #6d62ad); color: white; }
.icon-coral { background: linear-gradient(135deg, #ec8883, #c5597c); color: white; }
.icon-dark { background: linear-gradient(135deg, #384458, #151d2b); color: white; font-size: 16px; font-weight: 700; letter-spacing: -.13em; }
.icon-teal { background: linear-gradient(135deg, #48b5ad, #2c7d93); color: white; }
.window { position: absolute; left: var(--x); top: var(--y); width: min(var(--w), calc(100vw - 160px)); height: min(var(--h), calc(100dvh - 125px)); display: flex; flex-direction: column; overflow: hidden; border: 1px solid #ffffffab; border-radius: 14px; background: #f8f9fcee; box-shadow: 0 25px 80px #10173866, 0 2px 9px #14204a2c; backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); resize: both; min-width: 360px; min-height: 270px; }
.window.active { box-shadow: 0 30px 90px #0f173a8c, 0 2px 9px #14204a2c; }
.window.maximized { left: 8px !important; top: 8px !important; width: calc(100vw - 16px) !important; height: calc(100dvh - 73px) !important; resize: none; }
.titlebar { height: 46px; flex: 0 0 46px; display: flex; align-items: center; gap: 9px; padding-left: 14px; background: #e9edf6a8; border-bottom: 1px solid #d7dce6; color: #34435e; font-size: 12px; font-weight: 700; user-select: none; cursor: grab; touch-action: none; }
.titlebar:active { cursor: grabbing; }
.title-icon { display: inline-grid; place-items: center; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 6px; font-family: 'Space Grotesk', Arial, sans-serif; font-size: 14px; box-shadow: inset 0 1px 1px #ffffff8a; }
.window-controls { display: flex; align-self: stretch; align-items: stretch; margin-left: auto; }
.window-controls button { width: 42px; border: 0; background: transparent; color: #4f5d74; font-family: Arial, sans-serif; font-size: 20px; font-weight: 400; line-height: 1; }
.window-controls button:hover { background: #bfc8da77; }
.window-controls button:last-child:hover { background: #d85e69; color: white; }
.window-body { overflow: auto; flex: 1; background: linear-gradient(130deg, #fffdfd, #f3f6fbee); }
.welcome-body { display: grid; grid-template-columns: minmax(0, 1fr) 225px; padding: 0; background: linear-gradient(120deg, #fffefd, #f3f5fb); }
.welcome-copy { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 34px 24px 27px 43px; }
.welcome-portrait { min-width: 0; min-height: 0; margin: 16px 16px 16px 0; overflow: hidden; border-radius: 10px; background: #c7d6ea; box-shadow: 0 10px 24px #2439592b; }
.welcome-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 49% center; }
.kicker { color: #6b7e9d; font-size: 10px; font-weight: 700; letter-spacing: .17em; }
h1, h2, p { margin-top: 0; }
h1, h2 { font-family: 'Space Grotesk', Arial, sans-serif; letter-spacing: -.065em; line-height: 1.06; }
h1 { max-width: 500px; margin: 24px 0 17px; font-size: clamp(48px, 5vw, 67px); font-weight: 600; }
h1 span { color: #4e79b8; }
.welcome-copy > p { max-width: 370px; color: #607089; font-size: 16px; line-height: 1.5; }
.welcome-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 18px; }
.primary-button { display: inline-flex; justify-content: space-between; gap: 30px; min-width: 165px; padding: 12px 16px; border: 0; border-radius: 7px; color: white; background: #3e67a7; font-size: 12px; font-weight: 700; box-shadow: 0 7px 15px #31598b33; }
.primary-button:hover { background: #335892; }
.plain-button, .inline-link { border: 0; background: transparent; color: #3d66a0; font-size: 12px; font-weight: 700; }
.plain-button:hover, .inline-link:hover { text-decoration: underline; }
.welcome-footer { display: flex; align-items: center; gap: 9px; margin-top: auto; padding-top: 20px; color: #8490a4; font-size: 11px; font-weight: 600; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #47b687; box-shadow: 0 0 0 3px #47b68722; }
.content-body { padding: 45px 48px 50px; }
.content-body h2 { margin: 20px 0 23px; font-size: clamp(40px, 4.3vw, 58px); font-weight: 600; }
.content-body p { color: #61708b; font-size: 15px; line-height: 1.7; }
.content-body .large-copy { color: #4e607a; font-size: 19px; line-height: 1.6; }
.period { color: #df8e77; }
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 38px; padding-top: 25px; border-top: 1px solid #dfe4ec; }
.detail-grid div { display: flex; flex-direction: column; gap: 10px; }
.detail-grid span { color: #8591a3; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.detail-grid strong { color: #304566; font-size: 15px; overflow-wrap: anywhere; }
.inline-link { margin-top: 15px; padding: 0 0 5px; border-bottom: 1px solid #7294c2; }
.email-link { display: inline-flex; gap: 30px; margin-top: 16px; padding-bottom: 8px; border-bottom: 2px solid #7e9ccb; color: #3d66a0; font-family: 'Space Grotesk', Arial, sans-serif; font-size: clamp(23px, 3vw, 34px); font-weight: 600; letter-spacing: -.05em; text-decoration: none; overflow-wrap: anywhere; }
.email-link:hover { color: #27548e; }
.social-links { display: flex; gap: 20px; margin-top: 32px; }
.social-links a { color: #53688c; font-size: 12px; font-weight: 700; text-decoration: none; }
.social-links a:hover { text-decoration: underline; }
.github-body { padding: 25px 30px 35px; background: #f3f5f9; }
.terminal-card { overflow: hidden; border-radius: 9px; background: #1b2535; box-shadow: 0 12px 25px #26304425; }
.terminal-top { display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 14px; border-bottom: 1px solid #ffffff18; color: #98a8be; font-family: monospace; font-size: 11px; }
.terminal-lights { display: inline-flex; gap: 5px; }
.terminal-lights i { width: 8px; height: 8px; border-radius: 50%; background: #e47479; }
.terminal-lights i:nth-child(2) { background: #e8b76d; }
.terminal-lights i:nth-child(3) { background: #72bc95; }
.terminal-content { padding: 23px 27px 27px; font-family: monospace; }
.terminal-content p { margin-bottom: 10px; color: #b3c3d9; font-size: 12px; }
.terminal-prompt { color: #8ccba7; }
.terminal-content strong { color: #f1f6fb; font-size: clamp(27px, 3vw, 39px); font-weight: 600; letter-spacing: -.05em; }
.terminal-cursor { color: #8ccba7; }
.terminal-content .terminal-note { margin: 12px 0 21px; color: #a7b7cc; }
.terminal-content a { display: inline-block; padding: 10px 13px; border: 1px solid #618dad; border-radius: 5px; color: #d4ebfc; font-size: 12px; text-decoration: none; }
.terminal-content a:hover { background: #2c4561; }
.repo-list { display: grid; gap: 8px; margin-top: 27px; }
.repo-list > .kicker { margin-bottom: 6px; }
.repo-list a { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border: 1px solid #dbe2ec; border-radius: 7px; background: #fff; color: #354c70; text-decoration: none; }
.repo-list a:hover { border-color: #9cb8da; background: #f9fbff; }
.repo-list strong { font-size: 13px; overflow-wrap: anywhere; }
.repo-list small { color: #8492a7; font-size: 11px; line-height: 1.5; }
.resume-body { scroll-behavior: smooth; background: #f7f9fb; }
.resume-header { padding: 36px 44px 31px; border-bottom: 1px solid #dbe4eb; background: radial-gradient(circle at 91% 15%, #cde9e8, transparent 28%), linear-gradient(125deg, #fff, #eef5f6); }
.resume-header-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.resume-print { padding: 9px 12px; border: 1px solid #aac4c8; border-radius: 5px; background: #fff; color: #347d86; font-size: 11px; font-weight: 700; white-space: nowrap; }
.resume-print:hover { background: #e5f2f2; }
.resume-header h2 { margin: 18px 0 7px; font-size: clamp(44px, 5vw, 66px); font-weight: 600; }
.resume-header > p { margin: 0; color: #486a76; font-size: 18px; font-weight: 600; }
.resume-links { display: flex; gap: 18px; margin-top: 25px; }
.resume-links a { color: #327b87; font-size: 12px; font-weight: 700; text-decoration: none; }
.resume-links a:hover { text-decoration: underline; }
.resume-nav { position: sticky; top: 0; z-index: 2; display: flex; gap: 7px; padding: 10px 37px; overflow-x: auto; border-bottom: 1px solid #dbe4eb; background: #f9fbfceb; backdrop-filter: blur(14px); }
.resume-nav button { flex: 0 0 auto; padding: 7px 10px; border: 0; border-radius: 5px; background: transparent; color: #668091; font-size: 11px; font-weight: 700; }
.resume-nav button:hover, .resume-nav button:focus-visible { background: #e1eeef; color: #286e79; }
.resume-sections { padding: 0 44px 50px; }
.resume-section { padding: 37px 0; border-bottom: 1px solid #dce5ea; scroll-margin-top: 55px; }
.resume-section:last-child { border-bottom: 0; }
.resume-section-label { margin-bottom: 21px; color: #408a91; font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.resume-summary { max-width: 690px; margin-bottom: 0; color: #455e6f; font-size: 18px; line-height: 1.65; }
.resume-item { padding: 17px 0 20px; border-top: 1px solid #e4e9ee; }
.resume-item:first-of-type { border-top: 0; }
.resume-current { padding: 20px; border: 1px solid #bcd8d7 !important; border-radius: 8px; background: #eaf5f3; }
.resume-item-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.resume-item h3, .resume-project-grid h3, .resume-skills h3 { margin: 0; color: #30485d; font-family: 'Space Grotesk', Arial, sans-serif; font-size: 17px; font-weight: 600; letter-spacing: -.025em; }
.resume-item-head p { margin: 5px 0 0; color: #698093; font-size: 13px; }
.resume-item time { flex: 0 0 auto; color: #76909a; font-size: 11px; font-weight: 700; white-space: nowrap; }
.resume-item ul { margin: 14px 0 0; padding-left: 17px; color: #566c7c; font-size: 13px; line-height: 1.6; }
.resume-item li + li { margin-top: 5px; }
.resume-extra { margin: 8px 0 0; color: #687e8d; font-size: 12px; line-height: 1.6; }
.resume-project-grid, .resume-skills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.resume-project-grid > div, .resume-skills > div { padding: 18px; border: 1px solid #dce5eb; border-radius: 7px; background: #fff; }
.resume-project-grid p, .resume-skills p { margin: 8px 0 0; color: #677c8b; font-size: 12px; line-height: 1.6; }
.resume-section > .inline-link { margin-top: 20px; }
.taskbar { position: absolute; inset: auto 0 0; z-index: 50; height: 57px; display: flex; align-items: center; gap: 10px; padding: 0 18px; border-top: 1px solid #ffffff75; background: #e6eafaec; box-shadow: 0 -5px 20px #15204324; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.taskbar button { border: 0; background: transparent; }
.taskbar-start { display: flex; align-items: center; gap: 10px; padding: 7px 12px; border-radius: 7px; color: #3a4c70; font-size: 12px; font-weight: 700; }
.taskbar-start:hover, .taskbar-apps button:hover, .taskbar-apps button.selected { background: #ffffffae; }
.start-glyph { display: grid; grid-template-columns: repeat(2, 8px); grid-template-rows: repeat(2, 8px); place-content: center; gap: 2px; width: 29px; height: 29px; border-radius: 8px; background: linear-gradient(135deg, #315c9f, #253e7f); box-shadow: inset 0 1px 1px #ffffff7d; }
.start-glyph span { width: 8px; height: 8px; border-radius: 1px; background: #edf5ff; }
.taskbar-apps { display: flex; align-items: center; gap: 4px; margin-left: 10px; padding-left: 17px; border-left: 1px solid #b9c4d6; }
.taskbar-apps button { position: relative; display: flex; align-items: center; gap: 7px; min-height: 39px; padding: 4px 11px; border-radius: 7px; color: #3e4b64; font-size: 11px; font-weight: 700; }
.taskbar-apps button.selected::after { content: ''; position: absolute; left: 24%; right: 24%; bottom: 1px; height: 3px; border-radius: 3px; background: #567bb9; }
.taskbar-clock { display: flex; flex-direction: column; gap: 3px; margin-left: auto; color: #4f5d76; font-size: 11px; text-align: right; white-space: nowrap; }
.start-menu { position: absolute; left: 17px; bottom: 68px; z-index: 60; width: 330px; padding: 20px; border: 1px solid #ffffffc2; border-radius: 14px; background: #f7f9fdf7; box-shadow: 0 20px 65px #13224b70; backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }
.start-heading { display: flex; align-items: center; gap: 12px; }
.start-avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #587dbb; color: white; font-size: 14px; font-weight: 700; }
.start-heading div { display: flex; flex-direction: column; gap: 3px; }
.start-heading strong { font-size: 13px; }
.start-heading small { color: #8190a7; font-size: 11px; }
.start-divider { height: 1px; margin: 20px 0 16px; background: #dce3ee; }
.start-menu p { color: #8090a7; font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.start-apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }
.start-apps button { display: flex; align-items: center; gap: 9px; padding: 10px 8px; border: 0; border-radius: 7px; background: transparent; color: #465672; font-size: 12px; font-weight: 600; text-align: left; }
.start-apps button:hover { background: #e7edf7; }
.rain-toggle { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 9px; border: 0; border-radius: 7px; background: transparent; color: #465672; font-size: 12px; font-weight: 600; text-align: left; }
.rain-toggle:hover { background: #e7edf7; }
.rain-toggle > span:first-child { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: #dce9f7; color: #3d70a5; font-size: 17px; }
.rain-toggle:disabled { opacity: .55; cursor: default; }
.start-credit { margin-top: 20px; padding-top: 15px; border-top: 1px solid #dce3ee; color: #8490a4; font-size: 10px; }
.start-credit a { color: #587cb1; text-decoration: none; }
.start-credit a:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .desktop-icons { top: 30px; left: 14px; display: flex; gap: 4px; width: calc(100vw - 28px); overflow-x: auto; }
  .desktop-icon { flex: 0 0 78px; }
  .desktop-icon { font-size: 10px; }
  .icon-tile { width: 47px; height: 47px; font-size: 25px; }
  .desktop-mark { display: none; }
  .window { left: 12px !important; top: 128px !important; width: calc(100vw - 24px) !important; height: calc(100dvh - 199px) !important; min-width: 0; min-height: 0; resize: none; }
  .window.maximized { top: 8px !important; height: calc(100dvh - 73px) !important; }
  .welcome-body { display: flex; flex-direction: column; padding: 0; }
  .welcome-portrait { order: -1; flex: 0 0 125px; margin: 0; border-radius: 0; box-shadow: none; }
  .welcome-portrait img { object-position: center 42%; }
  .welcome-copy { justify-content: flex-start; padding: 24px 25px 27px; }
  .content-body { padding: 30px 28px; }
  h1 { margin: 15px 0 11px; font-size: clamp(39px, 10vw, 54px); }
  .welcome-copy > p { font-size: 15px; }
  .welcome-actions { margin-top: 10px; }
  .welcome-footer { margin-top: 18px; padding-top: 0; }
  .detail-grid { grid-template-columns: 1fr 1fr; }
  .taskbar { padding: 0 7px; gap: 3px; }
  .taskbar-start { padding: 6px; }
  .start-label, .taskbar-apps button > span:last-child { display: none; }
  .taskbar-apps { min-width: 0; margin-left: 3px; padding-left: 7px; overflow-x: auto; }
  .taskbar-apps button { padding: 6px; min-width: 38px; justify-content: center; }
  .taskbar-clock { font-size: 10px; }
  .start-menu { left: 8px; width: min(330px, calc(100vw - 16px)); }
  .resume-header { padding: 24px 25px; }
  .resume-header-top { align-items: flex-start; }
  .resume-header h2 { font-size: 43px; }
  .resume-header > p { font-size: 15px; }
  .resume-nav { padding: 8px 17px; }
  .resume-sections { padding: 0 25px 30px; }
  .resume-item-head { flex-direction: column; gap: 4px; }
  .resume-project-grid, .resume-skills { grid-template-columns: 1fr; }
}
@media (max-width: 400px) { .desktop-icon { flex-basis: 70px; } .titlebar { padding-left: 9px; } .window-controls button { width: 33px; } .content-body h2 { font-size: 38px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
@media print {
  @page { size: letter; margin: .55in; }
  html, body { width: auto; min-width: 0; min-height: 0; overflow: visible !important; background: white; }
  .desktop { width: auto; min-height: 0; overflow: visible; background: white; }
  .desktop::before, .desktop::after, .desktop > *:not(#window-resume), .resume-window .titlebar, .resume-nav, .resume-print { display: none !important; }
  #window-resume { position: static !important; display: block !important; width: auto !important; height: auto !important; min-width: 0; min-height: 0; overflow: visible; border: 0; border-radius: 0; box-shadow: none; backdrop-filter: none; }
  .resume-body { display: block; overflow: visible; background: white; }
  .resume-header { padding: 0 0 18px; background: white; }
  .resume-header h2 { font-size: 38px; }
  .resume-header > p { font-size: 15px; }
  .resume-sections { padding: 0; }
  .resume-section { padding: 22px 0; }
  .resume-summary { font-size: 13px; }
  .resume-item, .resume-project-grid > div, .resume-skills > div { break-inside: avoid; }
  .resume-current { padding: 13px; }
  .resume-project-grid, .resume-skills { gap: 9px; }
  .resume-project-grid > div, .resume-skills > div { padding: 12px; }
  .resume-item h3, .resume-project-grid h3, .resume-skills h3 { font-size: 14px; }
  .resume-item ul, .resume-project-grid p, .resume-skills p { font-size: 11px; }
}
