/* Santos OS: an explorable desktop that reshapes itself into whatever device
   you arrive on — phone, tablet, or monitor — and a genuinely quieter résumé. */
:root {
  --bg: #070709; --card: #15141d; --text: #f6f4ff; --dim: #b6b4c9;
  --line: #34323f; --accent: #beb0ff; --pink: #f09ace; --coral: #ff9e87;
  --chrome: #201c29; --screen-ink: #141020; --paper: #1b1826;
  --body: 'DM Sans', sans-serif; --display: 'Space Grotesk', sans-serif; --mono: 'JetBrains Mono', monospace;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 100px; }
body { margin: 0; font: 15px/1.7 var(--body); background: var(--bg); color: var(--text); }
a { color: inherit; text-decoration: none; }
button, summary { cursor: pointer; }
button { font: inherit; color: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--coral); outline-offset: 5px; }
::selection { background: var(--accent); color: var(--bg); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
body:not(.js-ready) .panel[hidden] { display: block !important; }
body:not(.js-ready) .tabs { display: none; }
body:not(.js-ready) #p-edu { margin-top: 30px; }
body:not(.js-ready) #p-edu::before { content: 'Education'; display: block; font: 500 25px var(--display); margin-bottom: 25px; }
.music-widget { text-align: left; padding: 0; }
.widget-caption { display: block; color: #b8a8c6; font-size: clamp(6px, .7vw, 9px); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; }
h2 { font-size: clamp(32px, 4.2vw, 58px); line-height: 1.06; letter-spacing: -.04em; }
h3 { line-height: 1.2; letter-spacing: -.02em; }
.skip { position: fixed; top: -100px; left: 20px; z-index: 100; background: var(--accent); color: var(--bg); padding: 12px; }
.skip:focus { top: 8px; }
.reading-progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.reading-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--coral)); transform: scaleX(0); transform-origin: left; }
.desktop-backdrop { position: fixed; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; background: var(--bg); }
.desktop-backdrop::before { content: ''; position: absolute; width: 86vw; height: 86vw; top: 16%; right: -58%; border: 1px solid #2c2737; border-radius: 50%; box-shadow: 0 0 0 100px #100d16, 0 0 0 101px #241f30, 0 0 0 210px #0c0b12, 0 0 0 211px #1d1826; transform: rotate(-24deg); }
.desktop-backdrop::after { content: ''; position: absolute; width: 46vw; height: 46vw; bottom: -30%; left: -24%; border: 1px solid #241f2e; border-radius: 50%; box-shadow: 0 0 0 70px #0d0c13; }
header { position: sticky; top: 0; z-index: 50; background: #0d0c12; border-bottom: 1px solid #2c2a37; }
.hwrap { max-width: 1680px; margin: auto; height: 70px; padding: 0 4%; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; gap: 11px; align-items: center; white-space: nowrap; }
.brand-mark { font: 600 29px/1 var(--display); letter-spacing: -2px; color: var(--accent); }
.brand-name { font-size: 13px; font-weight: 600; }
.brand-name small { font-size: 10px; font-weight: 400; color: var(--dim); margin-left: 5px; }
header nav { display: flex; gap: 27px; font-size: 12px; margin-right: auto; }
header nav a { color: var(--dim); }
.experience-switch { display: flex; align-items: center; padding: 4px; border: 1px solid #3d3849; border-radius: 10px; background: #161420; gap: 3px; }
.experience-switch button { padding: 7px 13px; border: 0; background: none; border-radius: 6px; color: var(--dim); font-size: 11px; line-height: 1.4; }
.experience-switch button[aria-pressed=true] { background: var(--accent); color: #171321; }
.experience-switch button span { margin-right: 5px; }
.mode-toggle { background: none; border: 0; padding: 7px 0; color: var(--dim); font-size: 12px; white-space: nowrap; }
.mode-toggle[aria-pressed=true] { color: var(--pink); }
.page { width: 100%; margin: auto; }
.computer-journey { position: relative; margin: 0; }
.computer-stage { height: 790px; min-height: 650px; position: relative; overflow: hidden; isolation: isolate; }
.js-ready[data-experience=enhanced].motion-enabled .computer-journey { height: 210svh; min-height: 1350px; }
.js-ready[data-experience=enhanced].motion-enabled .computer-stage { position: sticky; top: 70px; height: calc(100svh - 70px); min-height: 580px; }
.scene-grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(#211e2b 1px, transparent 1px), linear-gradient(90deg, #211e2b 1px, transparent 1px); background-size: 76px 76px; mask-image: linear-gradient(transparent, #000 45%, transparent); opacity: .5; }
.scene-orbit { position: absolute; border: 1px solid #37313f; width: 1050px; height: 1050px; border-radius: 50%; right: -120px; top: -210px; z-index: -1; }
.scene-orbit i { position: absolute; inset: 60px; border: 1px solid #292431; border-radius: inherit; display: block; }
.scene-orbit i + i { inset: 130px; border-color: #211d29; }
.hero-copy { position: absolute; left: 7%; top: 11%; z-index: 3; max-width: 480px; pointer-events: none; }
.kicker { color: var(--dim); font-size: 11px; display: flex; align-items: center; gap: 9px; }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #adcfba; box-shadow: 0 0 0 4px #24312b; }
.hero-copy h1 { font-size: clamp(48px, 5.7vw, 88px); letter-spacing: -.055em; line-height: 1.02; margin: 27px 0 22px; font-weight: 600; }
.hero-copy .lede { color: var(--dim); max-width: 265px; font-size: 14px; line-height: 1.8; }
.hero-copy .enter-link { pointer-events: auto; display: inline-flex; align-items: center; gap: 14px; font-size: 12px; margin-top: 26px; }
.enter-link span { display: grid; place-items: center; width: 33px; height: 33px; border: 1px solid #6a5b7d; border-radius: 50%; color: var(--accent); }
/* The device: one rig, three bodies. The chrome swaps at the same breakpoints
   the layout uses, so the machine on screen is always shaped like yours. */
.monitor-rig { position: absolute; width: min(770px, 63vw); right: 4.5%; top: 22%; perspective: 1400px; transform-origin: center 43%; }
.device { position: relative; margin: 0 auto; padding: 13px 13px 30px; border-radius: 19px; border: 1px solid #777280; background: linear-gradient(145deg, #52515c, #25232d 35%, #403c48 80%, #696371); box-shadow: -20px 40px 75px #0009, inset 0 1px 0 #ffffff2b; transform: rotateY(-17deg) rotateX(7deg) rotateZ(3deg); transform-origin: center; }
.device-screen { position: relative; aspect-ratio: 1.65; overflow: hidden; border-radius: 7px; background: #43315f; border: 1px solid #1c1825; }
.device-chin { position: absolute; bottom: 7px; left: 0; right: 0; text-align: center; font: 500 9px var(--mono); letter-spacing: .16em; color: #c1baca; }
.device-camera { display: none; position: absolute; width: 5px; height: 5px; top: 7px; left: calc(50% - 2px); background: #0d0b13; border-radius: 50%; }
.device-island, .device-buttons, .screen-statusbar, .phone-home, .home-indicator { display: none; }
.monitor-neck { width: 16%; height: 77px; margin: -8px auto 0; background: linear-gradient(90deg, #27242e, #5e5968, #38343f); transform: skewX(-7deg); position: relative; z-index: -1; }
.monitor-foot { width: 39%; height: 15px; margin: -1px auto 0; background: linear-gradient(#6a6572, #302c37); border: 1px solid #77707f; border-radius: 50% 50% 7px 7px; transform: skewX(-12deg); box-shadow: 0 23px 30px #0009; }
.screen-wallpaper { position: absolute; inset: 0; width: 100%; height: 100%; }
.screen-menubar { position: relative; z-index: 3; background: #292239; display: flex; align-items: center; gap: 16px; padding: 6px 12px; font-size: clamp(6px, .65vw, 9px); line-height: 1.3; font-family: var(--mono); }
.screen-menubar strong { margin-right: 2px; }
.screen-menubar span:last-child { margin-left: auto; }
.mini-window { position: absolute; border: 1px solid #9385ac; background: var(--screen-ink); border-radius: 8px; box-shadow: 0 18px 35px #17102066; overflow: hidden; }
.mini-titlebar { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-bottom: 1px solid #4d405d; background: #2c2639; font-size: clamp(6px, .6vw, 9px); color: #c8bed6; font-family: var(--mono); }
.traffic { display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0; }
.traffic i { display: block; height: 7px; width: 7px; background: #ff9e87; border-radius: 50%; }
.traffic i:nth-child(2) { background: #dfc185; }
.traffic i:nth-child(3) { background: #a3c4ae; }
.about-window { top: 17%; left: 7%; width: 64%; z-index: 2; }
.about-content { padding: 5% 7% 6%; }
.about-content .mini-kicker { font-size: clamp(7px, .7vw, 10px); color: var(--coral); }
.desktop-name { font: 600 clamp(28px, 4.9vw, 69px)/.94 var(--display); letter-spacing: -.05em; margin: 13px 0 14px; }
.desktop-name span { color: var(--accent); }
.desktop-role { color: #d2c9df; font-size: clamp(8px, .9vw, 12px); line-height: 1.6; }
.mini-tags { display: flex; gap: 6px; margin-top: 17px; }
.mini-tags span { border: 1px solid #51445f; padding: 3px 6px; border-radius: 4px; font-size: clamp(6px, .6vw, 9px); color: #c9bfd5; font-family: var(--mono); }
.music-widget { width: 35%; right: 4%; bottom: 15%; z-index: 3; transform: rotate(5deg); }
.music-widget .widget-body { padding: 13px; display: flex; align-items: center; gap: 11px; }
.album-art { flex-shrink: 0; width: 42px; aspect-ratio: 1; background: #e2a8b3; border-radius: 4px; display: grid; place-items: center; color: #4b304a; font: 500 24px var(--display); letter-spacing: -2px; }
.widget-body strong { font-size: clamp(8px, .9vw, 12px); font-weight: 500; }
.widget-body p { color: #b8a8c6; font-size: clamp(6px, .7vw, 9px); }
.equalizer { display: flex; align-items: center; gap: 3px; height: 18px; margin-left: auto; }
.equalizer i { width: 3px; height: 13px; background: var(--pink); transform-origin: bottom; }
.equalizer i:nth-child(2) { height: 18px; }
.equalizer i:nth-child(3) { height: 8px; }
.desktop-icons { position: absolute; right: 4%; top: 16%; display: flex; flex-direction: column; gap: 18px; z-index: 4; }
.desktop-icon { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: clamp(7px, .7vw, 10px); }
.desktop-icon::after { content: ''; }
.folder-icon { width: 30px; height: 23px; background: #d2b8ff; border-radius: 3px; position: relative; border: 1px solid #f0ddff; box-shadow: 0 3px 5px #35204f40; }
.folder-icon::before { content: ''; position: absolute; width: 13px; height: 5px; top: -5px; left: -1px; border-radius: 3px 3px 0 0; background: #b69adb; }
.desktop-icon:nth-child(2) .folder-icon { background: #f3b9a9; border-color: #ffddcf; }
.screen-dock { position: absolute; bottom: 3%; left: 50%; transform: translateX(-50%); padding: 6px 9px; display: flex; gap: 8px; border: 1px solid #b3a2ca; border-radius: 9px; background: #41334e; }
.screen-dock span { width: 23px; height: 23px; display: grid; place-items: center; background: #c6aff3; color: #342744; border-radius: 5px; font-size: 14px; }
.screen-dock span:nth-child(2) { background: #f4b4a5; }
.screen-dock span:nth-child(3) { background: #c1cbe4; }
.screen-dock span:nth-child(4) { background: #e8a7d1; }
/* Tablet body: slimmer bezel, portrait screen, camera up top. */
@media (max-width: 1024px) {
  .monitor-rig { width: min(430px, 62vw); right: 5%; top: 24%; perspective: none; }
  .device { padding: 11px; border-radius: 22px; transform: rotate(2deg); }
  .device-screen { aspect-ratio: .78; border-radius: 10px; }
  .device-camera { display: block; }
  .device-chin, .monitor-neck, .monitor-foot { display: none; }
}
/* Phone body: island, status bar, app home, home indicator, side buttons. */
@media (max-width: 600px) {
  .monitor-rig { width: min(235px, 62vw); right: 5%; top: 50%; }
  .device { padding: 7px; border-radius: 30px; border-width: 2px; transform: rotate(2deg); }
  .device-screen { aspect-ratio: .47; border-radius: 23px; }
  .device-island { display: block; position: absolute; top: 13px; left: 50%; transform: translateX(-50%); width: 26%; height: 11px; background: #0d0b13; border-radius: 8px; z-index: 6; }
  .device-buttons { display: block; }
  .device-buttons i { position: absolute; background: #4d4954; border-radius: 2px; }
  .db-power { right: -3px; top: 26%; width: 3px; height: 13%; }
  .db-volup { left: -3px; top: 22%; width: 3px; height: 8%; }
  .db-voldn { left: -3px; top: 32%; width: 3px; height: 8%; }
  .screen-statusbar { display: flex; position: absolute; z-index: 5; top: 0; left: 0; right: 0; align-items: center; justify-content: space-between; padding: 8px 14px 0; font: 500 clamp(7px, 2.6vw, 10px) var(--mono); color: #efe9f7; }
  .sb-hole { width: 26%; height: 2px; }
  .screen-menubar, .desktop-icons, .screen-dock { display: none; }
  .about-window { top: 9%; left: 7%; width: 86%; }
  .about-content { padding: 8px 12px; }
  .about-content .mini-kicker { margin: 0; }
  .desktop-name { font-size: clamp(22px, 6vw, 28px); margin: 8px 0; }
  .desktop-role { font-size: 8px; margin: 0; }
  .mini-tags { display: none; }
  .phone-home { display: block; position: absolute; z-index: 2; left: 8%; right: 8%; top: 50%; }
  .phone-apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px 6px; }
  .phone-app { display: flex; flex-direction: column; align-items: center; gap: 3px; font: 400 clamp(4px, 1.6vw, 6px) var(--body); color: #f1eaf9; }
  .phone-app i { width: 100%; aspect-ratio: 1; display: grid; place-items: center; font: 400 clamp(9px, 4vw, 14px) var(--body); font-style: normal; border-radius: 22%; background: #221a30; border: 1px solid #4c3f60; color: #d9cdf0; }
  .phone-app:nth-child(1) i { background: #574b74; }
  .phone-app:nth-child(2) i { background: #6b4a63; }
  .phone-app:nth-child(4) i { background: #3c4a5e; }
  .music-widget { width: 74%; right: 6%; bottom: 6%; }
  .music-widget .widget-body { padding: 7px; gap: 6px; }
  .album-art { width: 24px; font-size: 15px; }
  .home-indicator { display: block; position: absolute; z-index: 6; bottom: 5px; left: 50%; transform: translateX(-50%); width: 34%; height: 3px; border-radius: 2px; background: #efe9f7; }
  .mini-titlebar { padding: 5px 6px; font-size: 6px; gap: 5px; }
  .mini-titlebar .traffic i { width: 4px; height: 4px; }
}
.hero-bottom { position: absolute; bottom: 5%; left: 7%; right: 7%; display: flex; justify-content: space-between; color: var(--dim); font-size: 11px; align-items: center; }
.scroll-instruction { display: flex; gap: 13px; align-items: center; }
.mouse-icon { width: 16px; height: 24px; border: 1px solid #8c819c; border-radius: 10px; display: block; position: relative; }
.mouse-icon::after { content: ''; width: 2px; height: 5px; background: var(--coral); position: absolute; top: 5px; left: 6px; }
.device-badge { position: absolute; top: 22px; right: 26px; z-index: 4; display: inline-flex; align-items: center; gap: 8px; border: 1px solid #3d3849; background: #141019; border-radius: 999px; padding: 6px 13px; font-family: var(--mono); font-size: 10px; color: var(--accent); }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 3px #3a241f; }
.scene-status { color: var(--accent); font: 10px var(--mono); }
.simple-intro { display: none; }
.desktop-intro { max-width: 1120px; margin: 70px auto 55px; padding: 0 10px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.desktop-intro h2 { font-size: clamp(27px, 3vw, 40px); }
.desktop-intro p { font-size: 12px; color: var(--dim); max-width: 235px; }
.desktop-intro .path { color: var(--accent); font: 11px var(--mono); display: block; margin-bottom: 14px; }
.app-window { max-width: 1120px; margin: 0 auto 120px; background: var(--card); border: 1px solid #453d53; border-radius: 14px; overflow: clip; box-shadow: 0 30px 90px #0005, inset 0 1px 0 #ffffff12; scroll-margin-top: 0; }
.window-chrome { display: flex; align-items: center; gap: 18px; height: 48px; padding: 0 19px; background: var(--chrome); border-bottom: 1px solid #38313f; font-size: 10px; color: #c9bdd9; font-family: var(--mono); }
.window-chrome .window-path { margin: 0 auto; }
.window-chrome .window-index { font: 10px var(--mono); color: #ab9cb8; }
.window-content { padding: 48px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 38px; }
.eyebrow { color: var(--dim); font-size: 12px; margin-bottom: 13px; }
.text-link, .text-button { color: var(--accent); font-size: 12px; }
.text-button { padding: 0; background: none; border: 0; text-align: left; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 15px; padding: 11px 17px; border: 1px solid #655977; border-radius: 7px; font-size: 12px; transition: transform 160ms var(--ease-out), background 160ms ease; }
.btn.primary { background: var(--accent); color: #201a2b; border-color: var(--accent); font-weight: 500; }
.btn:active { transform: scale(.97); }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.featured { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #40384c; border-radius: 10px; background: #1d1826; overflow: hidden; }
.feature-copy { padding: 33px; }
.project-type { font-size: 10px; color: #c3b1d9; font-family: var(--mono); }
.feature-copy h3 { font-size: clamp(35px, 4vw, 56px); margin: 22px 0 18px; }
.feature-copy>p { color: var(--dim); font-size: 13px; max-width: 360px; }
.ptech { display: flex; flex-wrap: wrap; gap: 6px; margin: 20px 0 0; }
.ptech span { font-size: 10px; border: 1px solid #51445f; border-radius: 4px; padding: 3px 7px; color: #cec2df; font-family: var(--mono); }
.civic-art { min-height: 380px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #c8bcdf; color: #302442; }
.civic-art::before { content: ''; position: absolute; width: 260px; height: 450px; border: 1px solid #9e8bb6; border-radius: 50%; transform: rotate(-35deg); }
.civic-art::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(#77628b24 1px, transparent 1px), linear-gradient(90deg, #77628b24 1px, transparent 1px); background-size: 40px 40px; }
.map-ring { position: absolute; width: 170px; height: 170px; border: 1px solid #9981b3; border-radius: 50%; }
.ring-two { width: 275px; height: 275px; }
.ring-three { width: 390px; height: 390px; }
.map-pin { width: 76px; height: 76px; border-radius: 24px 24px 24px 4px; background: #4b355f; color: #edcccf; display: grid; place-items: center; font-size: 47px; z-index: 1; box-shadow: 15px 18px 0 #b1a0c8; }
.map-label { position: absolute; bottom: 47px; left: 25px; font-size: 15px; z-index: 1; }
.map-caption { position: absolute; left: 25px; bottom: 27px; font: 9px var(--mono); z-index: 1; }
.more-projects { border-top: 1px solid #40384c; margin-top: 28px; }
.more-projects summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 21px 0 0; font-size: 14px; }
.more-projects summary::-webkit-details-marker { display: none; }
.more-projects summary span { color: var(--dim); font-size: 11px; }
.more-projects summary b { margin-left: auto; font-size: 23px; color: var(--accent); font-weight: 400; transition: transform 320ms var(--ease-out); }
.more-projects[open] summary b { transform: rotate(45deg); }
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #40384c; border: 1px solid #40384c; border-radius: 8px; overflow: hidden; margin-top: 25px; }
.pcard { padding: 25px; background: #17141f; position: relative; }
.pcard::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--accent); opacity: 0; transition: opacity 200ms var(--ease-out); }
.pindex { font: 500 10px var(--mono); color: #8d80a0; letter-spacing: .12em; }
.pcard h3 { font-size: 20px; margin: 10px 0 12px; }
.pcard .desc { font-size: 12px; color: var(--dim); }
.plinks { display: flex; gap: 20px; margin-top: 18px; font-size: 11px; color: var(--accent); }
.tabs { display: inline-flex; gap: 5px; margin-bottom: 35px; border: 1px solid #4a4058; border-radius: 7px; padding: 4px; }
.tab { padding: 7px 17px; border-radius: 4px; border: 0; background: transparent; font-size: 12px; color: var(--dim); }
.tab.on { background: #4a3c60; color: #fff; }
.tl { padding-left: 21px; }
.tl-divider { margin: 4px 0 24px; font: 500 10px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #a794bd; }
.titem { padding: 0 0 30px 25px; border-left: 1px solid #52415f; position: relative; }
.titem:last-child { padding-bottom: 4px; }
.tdot { position: absolute; left: -5px; top: 8px; width: 9px; height: 9px; background: var(--accent); border: 2px solid #292034; border-radius: 50%; }
.thead2 { display: flex; justify-content: space-between; align-items: baseline; gap: 15px; }
.role { font-size: 14px; font-weight: 500; }
.co { color: var(--accent); }
.period { color: #b2a5c1; font: 10px/1.5 var(--mono); white-space: nowrap; }
.bullets { padding-left: 17px; margin: 12px 0 0; color: var(--dim); font-size: 12px; max-width: 680px; }
.bullets li { padding: 3px 0; }
.loc, .note { color: var(--dim); font-size: 12px; margin-top: 8px; }
.section-heading>p { max-width: 230px; font-size: 12px; color: var(--dim); }
.tier { padding: 25px 0; border-top: 1px solid #393141; }
.thead { display: flex; gap: 12px; align-items: center; margin-bottom: 17px; }
.tname { font-size: 14px; }
.tname b { font: 500 12px var(--mono); color: var(--coral); margin-right: 8px; }
.tcount { font: 10px var(--mono); color: #b2a4c2; margin-left: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-block; font-size: 12px; color: #e1d9ec; border: 1px solid #564762; border-radius: 6px; padding: 6px 12px; background: #26202f; transition: transform 160ms var(--ease-out), background 160ms ease, color 160ms ease; }
.t-tech .chip { background: #201e2e; border-color: #45425f; }
.small-heading { font-size: 25px; margin-bottom: 25px; }
.certs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
.cert { display: flex; align-items: center; gap: 12px; color: var(--dim); font-size: 12px; }
.badge { color: var(--coral); }
.contact.app-window { margin-bottom: 95px; }
.contact .window-content { padding: 65px 48px; position: relative; }
.contact h2 { font-size: clamp(43px, 6.6vw, 86px); margin-bottom: 30px; }
.contact-link { display: flex; align-items: center; gap: 20px; font-size: clamp(14px, 2.3vw, 25px); color: var(--accent); margin-bottom: 12px; overflow-wrap: anywhere; }
.contact-link span { color: var(--coral); }
.contact-stamp { position: absolute; right: 50px; bottom: 50px; width: 110px; height: 110px; border-radius: 50%; border: 1px dashed #6c526d; color: var(--pink); display: grid; place-items: center; font: 500 36px var(--display); transform: rotate(-16deg); }
.explorer { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 55; display: flex; align-items: center; gap: 10px; padding: 8px; border: 1px solid #5d5069; border-radius: 16px; background: #211d2b; box-shadow: 0 10px 35px #0009, inset 0 1px 0 #ffffff14; }
.explorer nav { display: flex; gap: 5px; }
.explorer nav a, .dock-music { border: 0; display: flex; align-items: center; justify-content: center; width: 43px; height: 43px; background: #383043; border-radius: 10px; position: relative; transition: transform 200ms var(--ease-out), background 160ms ease; }
.dock-icon { font-size: 20px; color: #d3c1ec; line-height: 1; }
.explorer a:nth-child(2) .dock-icon { color: #ffb19b; }
.explorer a:nth-child(3) .dock-icon { color: #c4cce9; }
.explorer a:nth-child(4) .dock-icon { color: #b9d9c8; }
.explorer a:nth-child(5) .dock-icon { color: #eab9d8; }
.explorer a[aria-current] { background: #655078; }
.explorer a[aria-current]::after { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--coral); position: absolute; bottom: -5px; }
.chapter-label { position: absolute; bottom: calc(100% + 18px); background: #332a40; border: 1px solid #695379; border-radius: 5px; padding: 3px 9px; color: var(--text); font-size: 10px; opacity: 0; pointer-events: none; white-space: nowrap; }
/* Hover/focus reveal eases only in the enhanced dock; in Simple the labels are
   plain text and must reach full contrast the instant the mode switches. */
body[data-experience=enhanced] .chapter-label { transition: opacity 180ms var(--ease-out); }
.explorer a:focus-visible .chapter-label { opacity: 1; }
.dock-music { color: var(--pink); font-size: 23px; margin-left: 4px; }
#motionToggle { background: none; border: 0; border-left: 1px solid #574961; padding: 5px 12px; font-size: 10px; color: var(--dim); width: 76px; line-height: 1.5; }
#motionToggle:disabled { cursor: default; color: #9b8eaa; }
body:not(.js-ready) .experience-switch, body:not(.js-ready) #motionToggle, body:not(.js-ready) .mode-toggle, body:not(.js-ready) .dock-music { display: none; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; max-width: 1120px; padding: 0 0 125px; margin: auto; color: #aca0b9; font-size: 10px; }
/* The artist is another application, not another design system. */
#view-music { max-width: 1120px; padding-top: 60px; }
#view-music .hero { padding: 65px 48px; border: 1px solid #695074; border-radius: 14px; position: relative; overflow: hidden; background: #201828; margin-bottom: 45px; box-shadow: inset 0 1px 0 #ffffff12; }
#view-music .hero::after { content: '♫'; position: absolute; right: 7%; top: 4%; color: #44304f; font-size: 270px; line-height: 1; transform: rotate(-15deg); pointer-events: none; }
#view-music .title { font-size: clamp(100px, 15vw, 190px); letter-spacing: -.06em; color: var(--pink); line-height: 1.1; position: relative; z-index: 1; }
#view-music .lede { max-width: 610px; color: #cfc1db; font-size: 14px; position: relative; z-index: 1; }
#view-music .cta-row { position: relative; z-index: 1; }
svg { fill: none; stroke: currentColor; }
.btn svg { height: 17px; width: 17px; }
#view-music>section:not(.hero) { margin: 0 0 50px; }
.slabel { font: 500 28px var(--display); margin-bottom: 22px; }
.divider { display: none; }
.embed-wrap { border: 1px solid #584565; background: #1c1724; border-radius: 12px; overflow: hidden; }
iframe { display: block; width: 100%; border: 0; }
.prodskills { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 35px; }
.ps .row { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 7px; }
.pc { color: var(--dim); font-family: var(--mono); }
.rail { height: 3px; background: #3b2e46; }
.fill { height: 100%; background: var(--pink); transform-origin: left; }
.feature-card { display: flex; gap: 20px; padding: 30px; background: #201a2a; border: 1px solid #584565; border-radius: 10px; }
.feature-card .icon svg { width: 35px; height: 35px; color: var(--pink); }
.feature-card h3 { font-size: 22px; }
.feature-card p { font-size: 13px; color: var(--dim); margin: 13px 0; }
.badges { display: flex; flex-wrap: wrap; gap: 7px; }
.badge-m { border: 1px solid #705376; border-radius: 5px; font-size: 10px; padding: 3px 8px; }
/* Motion is event-driven: no render loop while the reader is still. */
.motion-enabled .window-ready { opacity: 0; }
.motion-enabled .window-ready > .window-content { transform: perspective(1200px) translate3d(0, 70px, 0) rotateX(5deg) scale(.97); transition: transform 800ms var(--ease-out); }
.motion-enabled .window-ready.is-visible { opacity: 1; transition: opacity 600ms var(--ease-out); }
.motion-enabled .window-ready.is-visible > .window-content { transform: perspective(1200px) translate3d(0, 0, 0) rotateX(0) scale(1); }
.motion-enabled .equalizer i { animation: frequency 1.1s ease-in-out 8 alternate; }
.motion-enabled .equalizer i:nth-child(2) { animation-delay: .2s; }
.motion-enabled .equalizer i:nth-child(3) { animation-delay: .4s; }
@keyframes frequency { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
@media (hover: hover) and (pointer: fine) {
  header nav a:hover, .text-link:hover, .text-button:hover { color: var(--coral); }
  .btn:hover { transform: translateY(-2px); background: #42344f; }
  .btn.primary:hover { background: #d5c8ff; }
  .chip:hover { transform: translateY(-3px); background: var(--accent); color: #211a2b; }
  .explorer nav a:hover, .dock-music:hover { transform: translateY(-6px); background: #574363; }
  .explorer nav a:hover .chapter-label { opacity: 1; }
  .desktop-icon:hover .folder-icon { transform: translateY(-3px); }
  .pcard:hover::before { opacity: 1; }
}
/* Simple is a proper document view, not merely an animation pause. */
body[data-experience=simple] .computer-journey, body[data-experience=simple] .desktop-intro, body[data-experience=simple] .desktop-backdrop { display: none; }
body[data-experience=simple] .simple-intro { display: block; max-width: 1000px; padding: 70px 0 45px; margin: auto; }
.simple-intro h1 { font-size: clamp(44px, 6vw, 76px); line-height: 1.1; letter-spacing: -.05em; margin: 20px 0; }
.simple-intro .lede { color: var(--dim); max-width: 600px; font-size: 16px; }
body[data-experience=simple] .app-window { max-width: 1000px; border: 0; border-radius: 0; box-shadow: none; background: none; overflow: visible; margin-bottom: 55px; border-top: 1px solid #40384b; }
body[data-experience=simple] .window-chrome { display: none; }
body[data-experience=simple] .window-content { padding: 40px 0 0; }
body[data-experience=simple] .featured { background: none; grid-template-columns: 1fr; border: 0; }
body[data-experience=simple] .feature-copy { padding: 0; }
body[data-experience=simple] .feature-copy h3 br { display: none; }
body[data-experience=simple] .feature-copy h3 { margin: 15px 0; font-size: 34px; }
body[data-experience=simple] .feature-copy h3 br::after { content: ' '; }
body[data-experience=simple] .feature-copy>p { max-width: 640px; }
body[data-experience=simple] .civic-art, body[data-experience=simple] .contact-stamp { display: none; }
body[data-experience=simple] .tabs { display: none; }
body[data-experience=simple] .panel[hidden] { display: block !important; }
body[data-experience=simple] #p-edu { margin-top: 40px; }
body[data-experience=simple] #p-edu::before { content: 'Education'; font: 500 25px var(--display); display: block; margin-bottom: 25px; }
body[data-experience=simple] .contact h2 { font-size: clamp(36px, 5vw, 58px); }
body[data-experience=simple] .explorer { padding: 5px; border-radius: 9px; }
body[data-experience=simple] .explorer nav a { width: auto; height: auto; padding: 7px 12px; border-radius: 4px; background: none; }
body[data-experience=simple] .explorer .dock-icon { display: none; }
body[data-experience=simple] .chapter-label { position: static; opacity: 1; border: 0; background: none; padding: 0; font-size: 11px; }
body[data-experience=simple] .explorer a[aria-current] { background: #4c3d5d; }
body[data-experience=simple] .explorer a[aria-current]::after, body[data-experience=simple] #motionToggle, body[data-experience=simple] .dock-music { display: none; }
body[data-experience=simple] *, body[data-motion=off] * { animation: none !important; }
body[data-mode=music] .explorer nav { display: none; }
body[data-mode=music] .dock-music { background: #654b71; }
@media (min-width: 1600px) { .monitor-rig { right: 10%; top: 23%; } .hero-copy { left: 12%; } }
@media (max-width: 1190px) {
  .app-window, .desktop-intro, #view-music, footer { margin-left: 5%; margin-right: 5%; }
  #view-music { width: 90%; }
  body[data-experience=simple] .simple-intro, body[data-experience=simple] .app-window { margin-left: 7%; margin-right: 7%; }
  .hwrap { gap: 22px; }
  header nav { gap: 18px; }
  .brand-name small { display: none; }
  .hero-copy { left: 5%; max-width: 350px; }
  .hero-copy h1 { font-size: 62px; }
  .window-content { padding: 32px; }
  .feature-copy { padding: 25px; }
}
@media (max-width: 800px) {
  header nav { display: none; }
  .brand { margin-right: auto; }
  .hero-copy { top: 6%; }
  .hero-copy h1 { font-size: 54px; }
  .hero-copy .lede { max-width: 260px; font-size: 12px; }
  .monitor-rig { top: 40%; width: min(360px, 58vw); right: 6%; }
  .computer-stage { height: 880px; }
  .hero-bottom { left: 5%; right: 5%; bottom: 4%; }
  .scene-status { margin-left: auto; }
  .featured { grid-template-columns: 1fr 1fr; }
  .feature-copy h3 { font-size: 38px; }
  .civic-art { min-height: 360px; }
  .thead2 { flex-direction: column; gap: 4px; }
  .contact-stamp { right: 25px; bottom: 30px; width: 70px; height: 70px; font-size: 26px; }
}
@media (max-width: 600px) {
  body { font-size: 14px; }
  html { scroll-padding-top: 85px; }
  .hwrap { height: 64px; padding: 0 16px; gap: 12px; }
  .brand-name { display: none; }
  .brand-mark { font-size: 28px; }
  .experience-switch { margin-left: auto; padding: 3px; }
  .experience-switch button { font-size: 10px; padding: 7px 9px; }
  .experience-switch button span { display: none; }
  .mode-toggle { font-size: 10px; }
  .computer-stage { min-height: 690px; height: 760px; }
  .js-ready[data-experience=enhanced].motion-enabled .computer-journey { height: 175svh; min-height: 1120px; }
  .js-ready[data-experience=enhanced].motion-enabled .computer-stage { top: 64px; height: calc(100svh - 64px); min-height: 600px; }
  .hero-copy { top: 5%; left: 7%; max-width: 88%; }
  .hero-copy h1 { font-size: clamp(43px, 10.5vw, 61px); margin: 19px 0 16px; }
  .hero-copy .lede { max-width: 290px; font-size: 12px; }
  .kicker { font-size: 9px; }
  .hero-copy .enter-link { margin-top: 15px; font-size: 11px; }
  .hero-bottom { font-size: 9px; bottom: 4%; left: 7%; right: 7%; }
  .device-badge { top: 14px; right: 14px; font-size: 8px; padding: 5px 10px; }
  .scene-status { font-size: 8px; }
  .desktop-intro { align-items: start; margin: 45px 6% 25px; }
  .desktop-intro h2 { font-size: 29px; }
  .desktop-intro p { display: none; }
  .desktop-intro .path { font-size: 9px; }
  .app-window { margin: 0 4% 55px; border-radius: 10px; scroll-margin-top: 0; }
  .window-chrome { height: 40px; padding: 0 12px; gap: 8px; font-size: 9px; }
  .window-chrome .window-index { font-size: 8px; }
  .window-content { padding: 26px 20px; }
  .section-heading { align-items: start; flex-direction: column; gap: 16px; margin-bottom: 25px; }
  h2 { font-size: 37px; }
  .eyebrow { font-size: 10px; }
  .featured { grid-template-columns: 1fr; }
  .feature-copy { padding: 24px; }
  .feature-copy h3 { font-size: 42px; margin: 18px 0; }
  .feature-copy>p { font-size: 12px; }
  .civic-art { min-height: 260px; }
  .more-projects summary { font-size: 13px; }
  .more-projects summary span { display: none; }
  .pgrid { grid-template-columns: 1fr; }
  .pcard { padding: 22px; }
  .tl { padding-left: 5px; }
  .titem { padding-left: 20px; padding-bottom: 28px; }
  .role { font-size: 13px; }
  .period { font-size: 9px; }
  .bullets { font-size: 11px; }
  .certs { grid-template-columns: 1fr; gap: 17px; }
  .chip { font-size: 11px; padding: 5px 9px; }
  .tcount { font-size: 9px; }
  .contact .window-content { padding: 35px 20px; }
  .contact h2 { font-size: clamp(37px, 10vw, 55px); }
  .contact-link { font-size: 13px; gap: 8px; }
  .contact-stamp { display: none; }
  .explorer { bottom: 12px; padding: 6px; gap: 6px; border-radius: 12px; max-width: calc(100% - 16px); }
  .explorer nav { gap: 4px; }
  .explorer nav a, .dock-music { width: 34px; height: 35px; border-radius: 7px; }
  .dock-icon { font-size: 18px; }
  .dock-music { margin-left: 0; font-size: 20px; }
  #motionToggle { width: 48px; padding: 3px 4px 3px 8px; font-size: 8px; }
  footer { flex-wrap: wrap; margin: 0 7%; padding-bottom: 105px; font-size: 9px; }
  footer>span:nth-child(2) { display: none; }
  #view-music { margin: 0 6%; width: 88%; padding-top: 30px; }
  #view-music .hero { padding: 30px 25px; }
  #view-music .hero::after { font-size: 180px; top: 10%; right: 3%; }
  #view-music .lede { font-size: 12px; }
  .prodskills { grid-template-columns: 1fr; }
  .feature-card { flex-direction: column; padding: 24px; }
  body[data-experience=simple] .simple-intro { padding-top: 45px; }
  .simple-intro .lede { font-size: 14px; }
  body[data-experience=simple] .app-window { margin-bottom: 40px; }
  body[data-experience=simple] .explorer nav a { padding: 6px 9px; }
  body[data-experience=simple] .chapter-label { font-size: 10px; }
}
@media (max-height: 700px) and (min-width: 801px) {
  .hero-copy { top: 7%; }
  .hero-copy h1 { font-size: 62px; }
  .monitor-rig { top: 14%; width: min(650px, 59vw); }
  .hero-bottom { bottom: 4%; }
}
@media(prefers-reduced-motion:reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: 0s !important; }
  .window-ready { opacity: 1 !important; transform: none !important; }
}
@media print {
  :root { color-scheme: light; --text: #111; --dim: #444; --accent: #333; }
  body { background: #fff !important; color: #111 !important; font-size: 10pt; }
  header, .computer-journey, .desktop-backdrop, .desktop-intro, .explorer, .reading-progress, .skip, footer, .window-chrome, .tabs, .text-button, .civic-art, .contact-stamp, #view-music, .simple-intro .cta-row, .device-badge { display: none !important; }
  #view-tech[hidden] { display: block !important; }
  .simple-intro { display: block !important; margin: 0 !important; padding: 0 0 18px !important; }
  .simple-intro h1 { font-size: 29pt; margin: 8px 0; }
  .simple-intro .lede { font-size: 10pt; color: #333; }
  .app-window { border: 0 !important; border-top: 1px solid #aaa !important; border-radius: 0; background: #fff !important; box-shadow: none; margin: 0 0 20px !important; max-width: none !important; overflow: visible; opacity: 1 !important; transform: none !important; }
  .window-content, .contact .window-content { padding: 18px 0 0 !important; transform: none !important; opacity: 1 !important; transition: none !important; }
  .panel[hidden] { display: block !important; }
  #p-edu { margin-top: 25px; }
  #p-edu::before { content: 'Education'; display: block; font-size: 15pt; margin-bottom: 15px; }
  h2, .contact h2 { font-size: 22pt; }
  .section-heading { margin-bottom: 18px; }
  .featured { display: block; border: 0; background: #fff; }
  .feature-copy { padding: 0; }
  .feature-copy h3 { font-size: 20pt; margin: 10px 0; }
  .feature-copy>p, .bullets, .desc, .cert, .period, .note, .loc { color: #333 !important; }
  .more-projects { display: block; }
  .more-projects::details-content { content-visibility: visible; }
  .more-projects summary { display: none; }
  .pgrid { display: block; border: 0; background: #fff; }
  .pcard { background: #fff; border-top: 1px solid #ccc; padding: 12px 0; break-inside: avoid; }
  .pcard::before, .pindex { display: none; }
  .pcard h3 { font-size: 14pt; }
  .ptech span, .chip { background: #fff; color: #333; border-color: #aaa; }
  .btn { color: #111 !important; background: #fff !important; border: 1px solid #aaa !important; padding: 5px 8px; }
  .titem { break-inside: avoid; }
  .tier { padding: 14px 0; }
  .contact h2 br { display: none; }
  .contact-link { font-size: 12pt; color: #111; }
}
