/* Static, dependency-free CV. Glass has a solid fallback for older browsers. */
:root {
    color-scheme: light;
    --bg: #edf2f7;
    --ink: #192536;
    --muted: #556579;
    --subtle: #66758a;
    --blue: #1965cf;
    --glass: rgba(255, 255, 255, .64);
    --glass-solid: #f9fbfd;
    --glass-border: rgba(255, 255, 255, .92);
    --line: rgba(59, 82, 113, .11);
    --chip: rgba(255, 255, 255, .6);
    --shadow: 0 10px 34px -16px rgba(48, 69, 98, .18), inset 0 1px 0 rgba(255, 255, 255, .95);
    --radius: 30px;
}
:root[data-theme="dark"] {
    color-scheme: dark;
    --bg: #101824;
    --ink: #f1f5fb;
    --muted: #b4c2d4;
    --subtle: #a7b6ca;
    --blue: #8fbaff;
    --glass: rgba(30, 43, 61, .72);
    --glass-solid: #202e41;
    --glass-border: rgba(206, 223, 248, .15);
    --line: rgba(204, 223, 250, .13);
    --chip: rgba(172, 201, 242, .08);
    --shadow: 0 10px 34px -16px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .09);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
::selection { background: #bdd8ff; color: #172437; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
button, .button { cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 100; padding: 12px 20px; background: var(--glass-solid); border-radius: 12px; }
.skip-link:focus { top: 20px; }
.ambient { position: fixed; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(65px); opacity: .72; }
.orb-blue { width: 650px; height: 650px; background: #bddeff; top: -140px; right: -120px; }
.orb-peach { width: 570px; height: 570px; background: #f4dfcd; top: 420px; left: -260px; }
.orb-lilac { width: 600px; height: 600px; background: #d9d6f4; top: 1050px; right: -250px; }
[data-theme="dark"] .orb { opacity: .16; }
[data-theme="dark"] .orb-blue { background: #467de2; }
[data-theme="dark"] .orb-peach { background: #8b5b5e; }
[data-theme="dark"] .orb-lilac { background: #7960c6; }
.glass { background: var(--glass-solid); border: 1px solid var(--glass-border); box-shadow: var(--shadow); }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .glass { background: var(--glass); -webkit-backdrop-filter: blur(28px) saturate(155%); backdrop-filter: blur(28px) saturate(155%); }
}
.island { border-radius: var(--radius); }
.page-wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.site-header { position: sticky; top: 18px; z-index: 20; padding-top: 18px; margin-bottom: 42px; }
.nav-island { width: min(730px, calc(100% - 48px)); margin: 0 auto; min-height: 66px; border-radius: 100px; padding: 8px 10px 8px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; box-shadow: 0 8px 32px -12px rgba(38, 57, 82, .24), inset 0 1px 0 #ffffffb3; }
.wordmark { font-weight: 750; font-size: 30px; letter-spacing: -3px; line-height: 1; padding-right: 8px; }
.wordmark span { color: var(--blue); }
.nav-links, .nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-links a { font-size: 13px; color: var(--muted); font-weight: 550; padding: 10px 12px; border-radius: 24px; transition: background .2s, color .2s; }
.nav-links a:hover, .nav-links a[aria-current="location"] { color: var(--ink); background: var(--chip); }
.icon-button { border: 0; color: var(--ink); width: 40px; height: 40px; padding: 0; background: transparent; display: grid; place-items: center; border-radius: 50%; transition: background .2s; }
.icon-button:hover { background: var(--chip); }
.theme-sun { display: none; }
[data-theme="dark"] .theme-sun { display: block; }
[data-theme="dark"] .theme-moon { display: none; }
.nav-download { min-height: 44px; padding: 0 18px; border-radius: 99px; display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; background: var(--ink); color: var(--bg); transition: transform .2s, box-shadow .2s; }
.nav-download .icon { width: 16px; height: 16px; }
.nav-download:hover { transform: translateY(-1px); box-shadow: 0 4px 14px #1d33452b; }
.hero { display: grid; grid-template-columns: 1.85fr 1fr; gap: 20px; }
.hero-main { display: flex; flex-direction: column; align-items: flex-start; padding: 45px 44px 26px; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 550; }
.blue-dot { display: inline-block; width: 7px; height: 7px; background: var(--blue); border-radius: 50%; box-shadow: 0 0 0 4px #4385dd12; }
h1 { font-size: clamp(42px, 4.6vw, 62px); line-height: 1.08; letter-spacing: -.055em; font-weight: 650; margin-top: 28px; }
h1 span { color: var(--blue); }
.hero-description { color: var(--muted); font-size: 15px; line-height: 1.8; max-width: 510px; margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 47px; padding: 11px 21px; border: 1px solid transparent; border-radius: 99px; font-size: 13px; font-weight: 600; transition: transform .2s, box-shadow .2s, background .2s; }
.button .icon { width: 17px; height: 17px; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: #2168d3; color: white; box-shadow: 0 5px 15px #2469c52b, inset 0 1px 0 #ffffff30; }
.button-primary:hover { background: #175cbe; box-shadow: 0 7px 18px #2469c53d; }
.button-glass { background: var(--chip); border-color: var(--glass-border); box-shadow: 0 2px 4px #203d5d04, inset 0 1px 0 #ffffff50; }
.button-ink { background: var(--ink); color: var(--bg); }
.hero-bottom { border-top: 1px solid var(--line); padding-top: 19px; margin-top: 32px; display: flex; justify-content: space-between; align-items: center; width: 100%; color: var(--muted); font-size: 12px; }
.hero-bottom span, .hero-bottom a { display: flex; gap: 7px; align-items: center; }
.hero-bottom .icon { width: 15px; height: 15px; }
.hero-bottom a:hover { color: var(--blue); }
.profile-island { display: flex; flex-direction: column; padding: 24px; overflow: hidden; }
.portrait-scene { position: relative; display: grid; place-items: center; flex: 1; min-height: 245px; }
.portrait-halo { width: 225px; height: 225px; border-radius: 50%; position: absolute; background: linear-gradient(145deg, #fff9, #b5d5ff80); border: 1px solid #ffffffb3; box-shadow: 0 20px 50px -25px #6593cf50; }
.portrait { border-radius: 50%; width: 180px; height: 180px; object-fit: cover; position: relative; box-shadow: 0 8px 24px -8px #253d6650; border: 4px solid #fff9; }
.floating-code { position: absolute; top: 13px; right: 7px; width: 53px; height: 53px; display: grid; place-items: center; border-radius: 17px; transform: rotate(9deg); color: var(--blue); }
.floating-code .icon { width: 24px; height: 24px; }
.portrait-caption { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%) rotate(-5deg); white-space: nowrap; border-radius: 99px; padding: 8px 17px; font-size: 11px; font-weight: 600; }
.profile-caption { margin-top: 20px; }
.overline { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 650; color: var(--subtle); }
.profile-caption > p + p { margin-top: 7px; font-size: 20px; letter-spacing: -.035em; line-height: 1.45; color: var(--muted); }
.profile-caption strong { font-weight: 550; color: var(--ink); }
.profile-stack { display: flex; gap: 8px; border-top: 1px solid var(--line); padding-top: 17px; margin-top: 22px; color: var(--muted); font-size: 11px; }
.profile-stack span + span::before { content: '·'; margin-right: 8px; color: var(--subtle); }
.section-block { margin-top: 64px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 0 6px; margin-bottom: 23px; }
.section-heading .overline { margin-bottom: 8px; }
h2 { font-size: clamp(24px, 2.55vw, 31px); letter-spacing: -.045em; font-weight: 600; line-height: 1.25; }
.section-note { color: var(--subtle); font-size: 12px; padding-bottom: 4px; }
.experience-island { padding: 32px 38px; display: flex; align-items: flex-start; gap: 24px; position: relative; overflow: hidden; }
.company-mark { width: 65px; height: 65px; border-radius: 20px; background: #fff; border: 1px solid #fff; box-shadow: 0 4px 12px #3158870d; flex: 0 0 auto; overflow: hidden; }
.company-mark img { width: 100%; height: 100%; object-fit: contain; }
.experience-content { flex: 1; min-width: 0; max-width: 730px; position: relative; z-index: 1; }
.experience-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 11px; color: var(--subtle); }
.soft-label { display: inline-flex; align-items: center; width: fit-content; color: var(--blue); background: #2c7ae50c; border: 1px solid #4e82c518; border-radius: 99px; font-size: 10px; font-weight: 600; line-height: 1.4; padding: 5px 10px; }
.experience-meta .soft-label { margin-right: 6px; }
.experience-content h3 { font-size: 23px; letter-spacing: -.035em; font-weight: 600; margin-top: 13px; }
.company-name { color: var(--blue); font-size: 11px; font-weight: 650; letter-spacing: .1em; margin-top: 2px; }
.experience-description { font-size: 14px; color: var(--muted); margin-top: 13px; max-width: 650px; line-height: 1.8; }
.experience-watermark { position: absolute; right: 36px; top: 32px; color: var(--blue); opacity: .055; transform: rotate(-8deg); }
.experience-watermark .icon { width: 140px; height: 140px; stroke-width: 1; }
.text-link { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 600; color: var(--blue); min-height: 40px; white-space: nowrap; }
.text-link .icon { width: 16px; height: 16px; transition: transform .2s; }
.text-link:hover .icon { transform: translate(2px, -2px); }
.featured-project { display: grid; grid-template-columns: 1.15fr 1fr; overflow: hidden; }
.project-copy { padding: 38px; }
.project-copy h3 { font-size: 45px; font-weight: 650; line-height: 1.2; letter-spacing: -.045em; margin-top: 16px; }
.title-dot { color: var(--blue); }
.project-subtitle { font-size: 15px; color: var(--ink); font-weight: 500; margin-top: 10px; letter-spacing: -.015em; }
.project-description { font-size: 14px; color: var(--muted); line-height: 1.8; margin-top: 13px; }
.contribution { margin-top: 22px; }
.contribution > p + p { font-size: 13px; line-height: 1.75; color: var(--muted); margin-top: 5px; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.tech-tags li { color: var(--muted); font-size: 10px; font-weight: 550; border: 1px solid var(--line); border-radius: 8px; padding: 4px 9px; background: var(--chip); }
.project-links { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 26px; }
.project-visual { background: radial-gradient(ellipse at 50% 18%, #e4f2ff 0%, #d6e8fc 45%, #e4e8f8 100%); min-height: 440px; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; overflow: hidden; border-left: 1px solid #ffffff80; color: #274467; }
.visual-orbit { border: 1px solid #ffffffb3; border-radius: 50%; position: absolute; pointer-events: none; }
.orbit-one { width: 360px; height: 360px; top: 38px; }
.orbit-two { width: 490px; height: 490px; top: -27px; }
.app-symbol { width: 108px; height: 108px; border-radius: 30px; position: relative; display: grid; place-items: center; background: linear-gradient(140deg, #ffffffd9, #ffffff3d); box-shadow: 0 18px 32px -15px #4f7cb945, inset 0 2px 3px #fff; border-color: #ffffffe6; transform: rotate(-8deg); }
.app-symbol .icon { width: 49px; height: 49px; stroke-width: 1.2; color: #2d64a5; }
.visual-wordmark { font-size: 41px; letter-spacing: -.055em; font-weight: 650; position: relative; margin-top: 18px; }
.visual-wordmark span { color: #4586ce; }
.visual-caption { font-size: 12px; color: #566f91; position: relative; }
.module-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; position: relative; margin-top: 35px; padding: 0 15px; }
.module-pills span { display: flex; align-items: center; gap: 5px; padding: 8px 11px; border-radius: 12px; font-size: 10px; background: #ffffff75; border-color: #ffffffb3; box-shadow: 0 4px 10px #7293bb0a; }
.module-pills .icon { width: 13px; height: 13px; }
[data-theme="dark"] .project-visual { background: radial-gradient(ellipse at 50% 18%, #293e5d, #1a2c47 70%, #28324d); border-left-color: var(--line); color: #d5e4f9; }
[data-theme="dark"] .visual-orbit { border-color: #c4dcff14; }
[data-theme="dark"] .app-symbol { background: linear-gradient(140deg, #6989b655, #9ab4d415); border-color: #d2e5ff40; box-shadow: 0 18px 32px -15px #0008, inset 0 2px 3px #ffffff12; }
[data-theme="dark"] .app-symbol .icon { color: #b0d1fb; }
[data-theme="dark"] .visual-caption { color: #adc2df; }
[data-theme="dark"] .module-pills span { background: #b5d2ff0f; border-color: #c6dcff26; }
.project-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.project-card { padding: 30px 34px; display: flex; flex-direction: column; }
.project-card-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.project-icon { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; border: 1px solid #ffffff9c; }
.cas-icon { background: #e4e9dc; color: #5f7148; }
.views-icon { background: #e9e1f3; color: #80639b; }
.project-card h3 { font-size: 24px; font-weight: 600; letter-spacing: -.04em; }
.project-card .project-description { margin-top: 10px; }
.project-card .contribution { margin-top: 19px; margin-bottom: 22px; }
.project-card .tech-tags { margin-top: auto; }
.project-card .project-links { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 22px; justify-content: space-between; }
.secondary-link { color: var(--muted); }
.profile-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; }
.education-island, .skills-island { padding: 32px 34px; }
.card-heading { display: flex; align-items: center; gap: 12px; padding-bottom: 21px; border-bottom: 1px solid var(--line); }
.card-heading > .icon { color: var(--blue); }
.card-heading h3 { font-size: 17px; letter-spacing: -.025em; font-weight: 600; }
.education-item { margin-top: 25px; }
.education-item + .education-item { border-top: 1px solid var(--line); padding-top: 22px; }
.education-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.date-label { font-size: 11px; color: var(--subtle); }
.education-item h4 { font-size: 16px; font-weight: 600; letter-spacing: -.025em; line-height: 1.5; margin-top: 12px; }
.education-item > p { color: var(--muted); font-size: 13px; margin-top: 6px; }
.education-item .education-description { font-size: 12px; color: var(--subtle); margin-top: 12px; line-height: 1.8; }
.skill-group { margin-top: 19px; }
.skill-group h4, .languages h4 { font-size: 11px; font-weight: 550; color: var(--subtle); margin-bottom: 9px; }
.skill-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.skill-chips li { border: 1px solid var(--glass-border); background: var(--chip); padding: 5px 10px; border-radius: 9px; font-size: 11px; color: var(--muted); }
.languages { display: flex; align-items: center; flex-wrap: wrap; column-gap: 20px; row-gap: 10px; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 23px; }
.languages h4 { width: 100%; margin-bottom: 0; }
.languages p { font-size: 12px; }
.languages p span { color: var(--subtle); font-size: 11px; margin-left: 6px; }
.previous-experience { padding: 8px 34px; }
.previous-job { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 18px; padding: 23px 0; }
.previous-job + .previous-job { border-top: 1px solid var(--line); }
.previous-job > img { border: 1px solid #ffffffc9; border-radius: 13px; object-fit: contain; padding: 5px; background: #fff; }
.previous-job h3 { font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.previous-job h3 span { color: var(--muted); font-weight: 450; }
.previous-job div > p { font-size: 12px; color: var(--muted); margin-top: 4px; }
.job-date { font-size: 11px; color: var(--subtle); white-space: nowrap; }
.contact-island { margin-top: 64px; padding: 38px; display: flex; justify-content: space-between; align-items: center; gap: 35px; background-image: linear-gradient(110deg, #d1e7ff28, #fff0); }
.contact-island h2 { max-width: 460px; margin-top: 11px; font-size: 32px; }
.email-link { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 14px; color: var(--blue); margin-top: 22px; overflow-wrap: anywhere; }
.email-link .icon { width: 18px; height: 18px; }
.contact-links { display: flex; flex-direction: column; gap: 5px; min-width: 195px; }
.contact-links a { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); min-height: 38px; }
.contact-links a:hover { color: var(--blue); }
.contact-links .icon { width: 16px; height: 16px; }
.contact-links .small-icon { width: 13px; height: 13px; }
.site-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--subtle); font-size: 10px; padding: 28px 6px 36px; }
.site-footer a { display: flex; align-items: center; gap: 7px; }
.site-footer .icon { width: 13px; height: 13px; }
.site-footer a:hover { color: var(--blue); }
@media (min-width: 1600px) {
    .orb-blue { right: calc(50% - 920px); }
    .orb-peach { left: calc(50% - 940px); }
}
@media (max-width: 1000px) {
    .hero { grid-template-columns: 1.6fr 1fr; }
    .hero-main { padding: 36px 30px 25px; }
    h1 { font-size: 47px; }
    .profile-island { padding: 20px; }
    .portrait-scene { min-height: 235px; }
    .portrait-halo { width: 195px; height: 195px; }
    .portrait { width: 158px; height: 158px; }
    .floating-code { width: 45px; height: 45px; right: 0; }
    .project-copy { padding: 30px; }
    .project-card { padding: 28px; }
    .module-pills { max-width: 290px; }
    .profile-grid { grid-template-columns: 1fr 1fr; }
    .education-island, .skills-island { padding: 27px; }
    .section-note { display: none; }
}
@media (max-width: 760px) {
    :root { --radius: 25px; }
    .page-wrap { width: calc(100% - 36px); }
    .site-header { top: 10px; padding-top: 10px; margin-bottom: 24px; }
    .nav-island { width: calc(100% - 30px); min-height: 62px; gap: 8px; padding: 7px 9px 7px 18px; }
    .nav-links { gap: 0; }
    .nav-links a { padding: 9px; font-size: 12px; }
    .nav-profile { display: none; }
    .nav-actions { gap: 4px; }
    .nav-download { padding: 0 14px; min-height: 42px; }
    .download-extra { display: none; }
    .hero { grid-template-columns: 1fr; gap: 14px; }
    .hero-main { padding: 33px 28px 23px; }
    h1 { font-size: clamp(37px, 7.6vw, 57px); margin-top: 24px; }
    .hero-description { font-size: 14px; max-width: 540px; }
    .hero-actions { margin-top: 23px; gap: 8px; }
    .hero-actions .button { padding-inline: 16px; }
    .hero-bottom { margin-top: 28px; }
    .profile-island { display: none; }
    .section-block { margin-top: 43px; }
    .section-heading { margin-bottom: 19px; padding: 0 5px; gap: 10px; }
    .section-heading .overline { font-size: 9px; }
    h2 { font-size: 26px; max-width: 450px; }
    .section-heading > .text-link { font-size: 0; gap: 0; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--glass-border); background: var(--chip); justify-content: center; flex-shrink: 0; }
    .experience-island { padding: 25px; gap: 16px; }
    .company-mark { width: 48px; height: 48px; border-radius: 15px; }
    .experience-meta { font-size: 10px; gap: 5px; }
    .experience-meta .soft-label { width: fit-content; margin-right: 100%; margin-bottom: 5px; white-space: nowrap; }
    .experience-content h3 { font-size: 20px; line-height: 1.35; margin-top: 12px; }
    .experience-description { font-size: 13px; }
    .experience-watermark { right: -15px; top: 60px; }
    .featured-project { grid-template-columns: 1fr; }
    .project-copy { padding: 27px; }
    .project-copy h3 { font-size: 40px; }
    .project-visual { border-left: 0; border-top: 1px solid var(--glass-border); min-height: 300px; }
    .app-symbol { width: 78px; height: 78px; border-radius: 24px; margin-top: 2px; }
    .app-symbol .icon { width: 37px; height: 37px; }
    .visual-wordmark { font-size: 32px; margin-top: 12px; }
    .orbit-one { width: 260px; height: 260px; top: -10px; }
    .orbit-two { width: 360px; height: 360px; top: -60px; }
    .module-pills { max-width: none; margin-top: 21px; }
    .project-pair, .profile-grid { grid-template-columns: 1fr; gap: 14px; }
    .project-pair { margin-top: 14px; }
    .project-card { padding: 27px; }
    .project-card h3 { font-size: 23px; }
    .project-card .contribution { margin-bottom: 19px; }
    .education-island, .skills-island { padding: 27px; }
    .previous-experience { padding: 4px 24px; }
    .previous-job { grid-template-columns: 35px 1fr; gap: 4px 13px; padding: 22px 0; align-items: start; }
    .previous-job > img { width: 35px; height: 35px; grid-row: span 2; border-radius: 11px; }
    .previous-job h3 { font-size: 13px; }
    .previous-job h3 span { display: block; margin-top: 1px; }
    .previous-job div > p { font-size: 12px; margin-top: 6px; }
    .job-date { grid-column: 2; font-size: 10px; padding-top: 4px; }
    .contact-island { margin-top: 43px; flex-direction: column; align-items: stretch; padding: 28px; gap: 23px; }
    .contact-island h2 { font-size: 28px; }
    .contact-links { flex-direction: row; flex-wrap: wrap; column-gap: 24px; border-top: 1px solid var(--line); padding-top: 16px; }
    .email-link { font-size: 13px; gap: 7px; }
    .site-footer { font-size: 10px; padding: 23px 4px 28px; }
}
@media (max-width: 380px) {
    .nav-island { padding-left: 14px; }
    .nav-links a { padding: 8px 6px; font-size: 11px; }
    .nav-download { padding: 0 11px; gap: 5px; font-size: 11px; }
    .icon-button { width: 33px; height: 38px; }
    .hero-main { padding-inline: 22px; }
    .eyebrow { font-size: 10px; }
    .button { padding-inline: 15px; gap: 8px; font-size: 12px; }
    .experience-island { padding: 23px 20px; gap: 12px; }
    .experience-content h3 { font-size: 19px; }
    .project-copy, .project-card, .education-island, .skills-island { padding: 25px 22px; }
    .card-heading h3 { font-size: 16px; }
    .contact-island { padding-inline: 22px; }
    .email-link { font-size: 12px; }
    .module-pills { gap: 5px; }
    .module-pills span { padding: 7px 8px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
    .glass { background: var(--glass-solid); backdrop-filter: none; -webkit-backdrop-filter: none; }
    .ambient { display: none; }
}
@media print {
    :root, :root[data-theme="dark"] { color-scheme: light; --bg: #fff; --ink: #172437; --muted: #425269; --subtle: #526076; --blue: #174f9d; --line: #d5dce5; --glass: #fff; --glass-solid: #fff; --glass-border: #d5dce5; --chip: #f5f7fa; }
    @page { margin: 12mm; }
    html { scroll-behavior: auto; }
    body { font-size: 10pt; background: #fff; }
    .ambient, .site-header, .profile-island, .hero-actions, .hero-bottom, .project-visual, .site-footer, .experience-watermark, .skip-link { display: none !important; }
    .glass { background: #fff; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
    .page-wrap { width: 100%; }
    .hero, .featured-project { display: block; }
    .hero-main { border: 0; padding: 0 0 15px; }
    h1 { font-size: 30pt; margin-top: 10px; }
    h1 br { display: none; }
    .hero-description { font-size: 10pt; max-width: none; margin-top: 12px; }
    .section-block { margin-top: 23px; }
    .section-heading { margin-bottom: 12px; }
    h2 { font-size: 17pt; }
    .section-heading > .text-link, .project-links { display: none; }
    .experience-island, .project-copy, .project-card, .education-island, .skills-island { padding: 18px; }
    .island { border-radius: 12px; }
    article, .previous-job, .contact-island { break-inside: avoid; }
    .project-copy h3 { font-size: 24pt; }
    .project-pair, .profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .previous-job { padding-block: 14px; }
    .contact-island { margin-top: 24px; padding: 20px; flex-direction: row; }
    .contact-island h2 { font-size: 18pt; }
}
/* The CV provides concise evidence; complete project descriptions live in the portfolio. */
.cv-evidence-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cv-evidence { display: flex; flex-direction: column; padding: 28px; }
.evidence-icon { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 14px; border: 1px solid var(--glass-border); background: var(--chip); color: var(--blue); margin-bottom: 18px; }
.cv-evidence .overline { font-size: 9px; }
.cv-evidence h3 { font-size: 23px; letter-spacing: -.035em; font-weight: 600; line-height: 1.4; margin-top: 8px; }
.evidence-authorship { font-size: 11px; font-weight: 550; color: var(--blue); margin-top: 9px; }
.evidence-description { font-size: 13px; color: var(--muted); line-height: 1.85; margin-top: 12px; margin-bottom: 20px; }
.evidence-stack { color: var(--subtle); font-size: 10px; margin-top: auto; }
.cv-evidence .text-link { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 19px; justify-content: space-between; }
.cv-contact h2 { font-size: 27px; }
@media (max-width: 1000px) { .cv-evidence { padding: 24px; }.cv-evidence h3 { font-size: 21px; } }
@media (max-width: 760px) { .cv-evidence-grid { grid-template-columns: 1fr; gap: 14px; }.cv-evidence { padding: 27px; }.cv-contact h2 { font-size: 25px; } }
@media print { .cv-evidence-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }.cv-evidence { padding: 15px; }.cv-evidence h3 { font-size: 13pt; }.evidence-icon { display: none; }.evidence-description { font-size: 9pt; }.cv-evidence .text-link { display: none; } }
