@font-face {
  font-family: Manrope;
  src: url("manrope-latin.a30ddcd34970.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #101216;
  --surface: #171a20;
  --text: #f0f0ed;
  --muted: #a3a8b2;
  --subtle: #828b99;
  --accent: #94c6fc;
  --border: #2c313a;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-family: Manrope, "Segoe UI", sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--text); -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
#particles { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
main, .site-footer { position: relative; z-index: 1; }
.effects-toggle { position: fixed; z-index: 11; bottom: 16px; right: 18px; min-height: 36px; padding: 8px 12px; background: #1a202c; border: 1px solid #454f60; border-radius: 5px; color: #c0cbd9; font-size: 10px; box-shadow: 0 3px 15px rgb(0 0 0 / 20%); }
.effects-toggle:hover { border-color: var(--accent); color: var(--text); }
::selection { background: #94c6fc; color: #101216; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: wait; }
button { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 2px; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
figure, p, h1, h2, h3, h4 { margin: 0; }
button, a, img { -webkit-user-drag: none; }
section, article[id] { scroll-margin-top: 104px; }
.container { width: min(1240px, calc(100% - 112px)); margin-inline: auto; }
.accent { color: var(--accent); }
.icon { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 20; top: 12px; left: 12px; padding: 12px 20px; background: var(--accent); color: var(--background); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--muted); font: 500 11px/1.6 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.section-number { color: var(--accent); margin-bottom: 17px; }
.section { padding-block: 112px; }
h2 { font-size: clamp(30px, 3.2vw, 44px); font-weight: 600; letter-spacing: -.055em; line-height: 1.2; }

/* Navigation */
.site-header { position: sticky; top: 0; z-index: 10; background: rgb(16 18 22 / 96%); border-bottom: 1px solid var(--border); }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.wordmark { display: inline-flex; align-items: baseline; font-size: 29px; font-weight: 800; letter-spacing: -.09em; }
.wordmark-dot { color: var(--accent); }
.wordmark-slash { margin-left: 6px; color: #6c7787; font-weight: 400; }
.navigation { display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 500; }
.navigation > a { color: var(--muted); transition: color .15s; }
.navigation > a:hover, .navigation > a[aria-current="location"] { color: var(--text); }
.navigation .nav-cv { color: var(--text); display: flex; align-items: center; gap: 16px; padding: 10px 16px; border: 1px solid #454e5a; border-radius: 4px; margin-left: 12px; }
.navigation .nav-cv:hover { border-color: var(--accent); color: var(--accent); }
.nav-cv .icon { width: 16px; height: 16px; }
.menu-toggle { display: none; }

/* Intro */
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; padding-block: 86px 84px; }
.hero-copy > .eyebrow { margin-bottom: 28px; }
.status-dot { width: 6px; height: 6px; background: var(--accent); box-shadow: 0 0 0 4px rgb(148 198 252 / 8%); border-radius: 50%; }
h1 { font-size: clamp(64px, 7.1vw, 102px); line-height: .99; font-weight: 600; letter-spacing: -.075em; margin-left: -5px; }
.hero-role { font-size: clamp(19px, 1.9vw, 25px); letter-spacing: -.035em; font-weight: 500; margin-block: 26px 15px; }
.hero-intro { color: var(--muted); font-size: 15px; line-height: 1.9; max-width: 440px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 25px; min-height: 49px; padding: 13px 20px; font-size: 13px; font-weight: 700; border: 1px solid transparent; border-radius: 4px; transition: background .15s, transform .15s; }
.button-primary { background: var(--accent); color: #101b28; }
.button-primary:hover { background: #b6d8fc; transform: translateY(-2px); }
.button .icon { width: 17px; height: 17px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; }
.text-link:hover { color: var(--accent); }
.hero-current { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; color: var(--subtle); margin-top: 32px; font-size: 11px; line-height: 1.7; }
.hero-current strong { font-weight: 600; color: #c2c9d3; }
.current-line { height: 1px; width: 18px; background: #5e738e; margin-right: 4px; }
.hero-visual { position: relative; margin-top: 15px; min-width: 0; }
.viewport-bar { display: flex; justify-content: space-between; padding: 13px 14px; background: #1b1f26; border: 1px solid #333c47; border-bottom: 0; border-radius: 6px 6px 0 0; color: #bbc4d0; font: 10px/1.5 var(--mono); letter-spacing: .065em; }
.viewport-bar > span:first-child { display: flex; align-items: center; gap: 8px; }
.viewport-bar i { display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.hero-render { display: block; position: relative; overflow: hidden; border-inline: 1px solid #333c47; background: #080909; }
.hero-render img { width: 100%; aspect-ratio: 1482 / 968; object-fit: contain; }

.hero-render::after { content: ""; pointer-events: none; position: absolute; inset: 0; box-shadow: inset 0 -80px 80px -80px #000; }
.render-corner { position: absolute; width: 18px; height: 18px; border-color: rgb(236 243 255 / 70%); border-style: solid; z-index: 1; }
.corner-top { top: 17px; left: 17px; border-width: 1px 0 0 1px; }
.corner-bottom { bottom: 17px; right: 17px; border-width: 0 1px 1px 0; }
.render-explore { position: absolute; top: 13px; right: 13px; padding: 9px; border-radius: 50%; background: rgb(16 18 22 / 85%); color: var(--text); }
.hero-visual > figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 15px; border: 1px solid #333c47; border-top: 0; border-radius: 0 0 6px 6px; background: #171b21; font-size: 10px; }
.hero-visual > figcaption span:last-child { font: 9px/1.5 var(--mono); color: var(--subtle); }
.focus-strip { display: grid; grid-template-columns: 1fr 1fr 1fr; border-block: 1px solid var(--border); padding-block: 28px; }
.focus-strip > div { display: flex; align-items: flex-start; gap: 18px; }
.focus-strip > div + div { border-left: 1px solid var(--border); padding-left: 30px; }
.focus-index { font: 10px/1.8 var(--mono); color: var(--subtle); margin-top: 1px; }
.focus-strip p { font-size: 13px; font-weight: 600; }
.focus-strip p span { display: block; margin-top: 7px; font-size: 10px; font-weight: 400; color: var(--subtle); }

/* Work */
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 38px; }
.section-intro { max-width: 280px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.project-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 24px; }
.filters { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.filter-button { border: 1px solid transparent; background: transparent; color: var(--muted); display: flex; align-items: center; gap: 10px; padding: 10px 13px; border-radius: 4px; font-size: 11px; }
.filter-button span { font: 9px var(--mono); color: var(--subtle); }
.filter-button:hover { color: var(--text); border-color: var(--border); }
.filter-button[aria-pressed="true"] { background: #252e3b; color: #c0ddff; border-color: #3d5068; }
.filter-button[aria-pressed="true"] span { color: #a3c6ef; }
.project-count { color: var(--subtle); font: 10px var(--mono); white-space: nowrap; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.project-card { min-width: 0; display: flex; flex-direction: column; background: rgb(23 26 32 / 94%); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.project-card:hover { border-color: #52647c; box-shadow: 0 10px 24px rgb(89 145 182 / 14%); }
.project-featured { grid-column: 1 / -1; background: rgb(26 32 41 / 94%); }
.featured-copy { padding: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 44px; }
.featured-copy .project-bottom { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid var(--border); }
.project-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font: 10px/1.6 var(--mono); color: var(--subtle); letter-spacing: .055em; }
.project-card h3 { font-size: 25px; font-weight: 600; letter-spacing: -.045em; line-height: 1.3; margin-block: 10px 14px; }
.project-featured h3 { font-size: 30px; }
.project-card p:not(.project-kicker) { color: var(--muted); font-size: 13px; line-height: 1.85; }
.project-points { align-self: center; margin-block: 0; padding-left: 17px; font-size: 12px; line-height: 1.9; color: #b6c1cf; }
.project-points li + li { margin-top: 5px; }
.project-points li::marker { color: var(--accent); }
.project-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: auto; padding-top: 23px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.tags li { border: 1px solid #3c434e; background: rgb(255 255 255 / 2%); color: #b8c4d3; border-radius: 3px; padding: 4px 7px; font: 9px/1.5 var(--mono); }
.source-link { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 500; min-height: 30px; }
.source-link:hover { color: var(--accent); }
.source-link .icon { width: 16px; height: 16px; }
.project-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #08090b; }
.project-media img { width: 100%; height: 100%; object-fit: contain; }

.project-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 65%, rgb(0 0 0 / 35%)); pointer-events: none; }
.axiom-media img { object-fit: contain; background: #000; }
.pixel-media img { image-rendering: auto; }
.project-loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; pointer-events: none; }
.project-loop[data-ready] { opacity: 1; }
.media-action { position: absolute; right: 13px; bottom: 13px; display: flex; align-items: center; gap: 8px; padding: 8px 11px; font-size: 10px; background: #161a22; border: 1px solid #4a5666; border-radius: 3px; z-index: 1; }
.media-action .icon { width: 14px; height: 14px; }
.project-copy { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.project-copy .project-detail { margin-top: 17px; color: #a3b3c7 !important; font-size: 11px !important; }
.project-detail strong { color: var(--accent); font-weight: 600; }
.work-footnote { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; padding-top: 32px; font-size: 11px; color: var(--subtle); }
.work-footnote .icon { width: 16px; height: 16px; margin-right: 2px; }
.work-footnote a { color: #c2cbd8; }
.work-footnote a:hover { color: var(--accent); }

/* Experience */
.experience-section { background: rgb(21 24 30 / 86%); border-block: 1px solid var(--border); padding-block: 100px; }
.experience-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.experience-intro > p:not(.eyebrow) { margin-block: 22px 27px; max-width: 285px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.experience-intro .text-link { color: var(--accent); }
.timeline { border-left: 1px solid #3d4757; padding-left: 35px; }
.timeline-item { position: relative; padding-bottom: 38px; }
.timeline-item::before { content: ""; position: absolute; left: -40px; top: 5px; width: 9px; height: 9px; background: #15181e; border: 2px solid #65768d; border-radius: 50%; }
.timeline-item:first-child::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px #1b2939; }
.timeline-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.timeline-date { color: var(--subtle); font: 10px/1.6 var(--mono); letter-spacing: .04em; }
.current-badge { font: 9px/1.5 var(--mono); color: #c0d9f3; border: 1px solid #405776; background: #1e2b3c; border-radius: 3px; padding: 3px 7px; }
.timeline h3 { font-size: 24px; letter-spacing: -.045em; font-weight: 600; margin-top: 10px; }
.organization { color: var(--accent); font-size: 13px; margin-top: 6px; }
.timeline ul { color: var(--muted); font-size: 12px; line-height: 1.9; margin-block: 17px 0; padding-left: 14px; }
.timeline li + li { margin-top: 9px; }
.timeline li::marker { color: #5e7896; }
.contribution { display: flex; align-items: flex-start; gap: 16px; padding: 22px; background: #1a222e; border: 1px solid #35455a; border-radius: 4px; }
.contribution-mark { font: 24px/1 var(--mono); color: var(--accent); }
.contribution .eyebrow { font-size: 9px; color: var(--accent); }
.contribution div > p:last-child { color: var(--muted); font-size: 11px; line-height: 1.9; margin-top: 8px; }
.contribution strong { font-weight: 500; color: #d4dfed; }
.contribution-link { display: inline-block; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.contribution-link:hover { color: #d4e9ff; }

/* About and skills */
.about-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 95px; }
.about-copy { font-size: 13px; color: var(--muted); line-height: 1.95; }
.about-copy > p + p { margin-top: 18px; }
.about-copy .about-lead { color: var(--text); font-size: 22px; letter-spacing: -.03em; line-height: 1.65; margin-bottom: 24px; }
.about-copy strong { color: #d6dbe4; font-weight: 500; }
.about-copy .personal-note { font-size: 12px; color: var(--subtle); margin-top: 24px; }
.languages { display: flex; flex-wrap: wrap; gap: 22px; border-top: 1px solid var(--border); margin-top: 26px; padding-top: 22px; font-size: 10px; }
.languages b { display: block; font-size: 9px; color: var(--subtle); font-weight: 400; }
.education { align-self: start; position: relative; border: 1px solid var(--border); border-radius: 5px; padding: 30px; background: #171b22; }
.education-icon { display: inline-block; font: 12px var(--mono); color: var(--accent); background: #233042; padding: 10px 11px; margin-bottom: 25px; border: 1px solid #3b506b; border-radius: 3px; }
.education .eyebrow { font-size: 9px; }
.education h3 { margin-block: 12px 14px; font-size: 23px; font-weight: 600; letter-spacing: -.035em; line-height: 1.4; }
.education > p:not(.eyebrow) { font-size: 12px; line-height: 1.9; color: #c7ced9; }
.education > p span { color: var(--subtle); font-size: 11px; }
.education-coursework { border-top: 1px solid var(--border); margin-top: 22px; padding-top: 20px; }
.education-coursework p { color: var(--muted); font-size: 11px; line-height: 1.9; margin-top: 8px; }
.skills-heading { display: flex; align-items: baseline; gap: 20px; margin-block: 67px 23px; }
.skills-heading h3 { font-size: 23px; font-weight: 500; letter-spacing: -.04em; }
.skills-heading p { font-size: 11px; color: var(--subtle); }
.skill-list { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 0; perspective: 800px; }
.skill-box { display: inline-block; max-width: 100%; overflow-wrap: anywhere; padding: 6px 8px; color: #d7e5f5; background: rgb(89 145 182 / 15%); border: 1px solid #435c79; border-radius: 4px; font-size: 10px; line-height: 1.6; transform-origin: center; }
@keyframes skill-shake {
  0%, 100% { transform: translate(0, 0) scale(1.035); }
  25% { transform: translate(.5px, -.5px) scale(1.035); }
  50% { transform: translate(-.5px, .5px) scale(1.035); }
  75% { transform: translate(.5px, -.5px) scale(1.035); }
}
@keyframes skill-spin { to { transform: rotateY(360deg); } }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  [data-effects="on"] .skills-grid:has(.skill-group:hover) .skill-group:not(:hover) { opacity: .4; transform: scale(.96); }
  [data-effects="on"] .skill-group:hover { position: relative; z-index: 2; animation: skill-shake .5s linear infinite; box-shadow: 0 12px 30px rgb(89 145 182 / 30%); }
  [data-effects="on"] .skill-box:hover { animation: skill-spin 1.8s linear infinite; }
  [data-effects="on"] .cv-button:hover, [data-effects="on"] .cv-button:focus-visible { transform: scale(1.08); background-color: #345570; box-shadow: 0 10px 24px rgb(89 145 182 / 25%); }
  [data-effects="on"] .button-primary.cv-button:hover, [data-effects="on"] .button-primary.cv-button:focus-visible { background-color: #b6d8fc; }
  [data-effects="on"] .cv-button:hover::after, [data-effects="on"] .cv-button:focus-visible::after { width: 320px; height: 320px; }
}
.cv-button { position: relative; overflow: hidden; transition: transform .3s, background-color .3s, box-shadow .3s; }
.cv-button::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0; height: 0; border-radius: 50%; background: rgb(255 255 255 / 12%); transform: translate(-50%, -50%); transition: width .3s, height .3s; pointer-events: none; }
.skills-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.skill-group { min-width: 0; padding: 22px; border: 1px solid #344254; border-radius: 6px; background: rgb(23 29 38 / 94%); transition: opacity .25s, transform .25s, box-shadow .25s; }
.skill-index { font: 9px/1.6 var(--mono); letter-spacing: .03em; color: var(--subtle); }
.skill-group h4 { font-size: 13px; font-weight: 500; margin-block: 14px 12px; }
.skill-group p { color: var(--muted); font-size: 10px; line-height: 2; }

/* Contact */
.contact-section { border-top: 1px solid var(--border); padding-block: 75px; }
.contact-top { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.contact-top h2 { font-size: clamp(36px, 4.1vw, 56px); line-height: 1.2; }
.contact-arrow { flex-shrink: 0; width: 94px; height: 94px; fill: none; stroke: var(--accent); stroke-width: .65; stroke-linecap: round; stroke-linejoin: round; margin-right: 20px; }
.contact-bottom { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 30px; margin-top: 43px; }
.contact-note { font-size: 12px; color: var(--muted); }
.email-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 12px; }
.email-link { font-size: clamp(20px, 2.2vw, 30px); font-weight: 500; letter-spacing: -.04em; }
.email-link:hover { color: var(--accent); }
.copy-email { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 7px 9px; background: #1b2028; border: 1px solid #404a59; border-radius: 4px; font-size: 10px; color: var(--muted); }
.copy-email:hover { color: var(--text); border-color: var(--accent); }
.copy-email .icon { width: 13px; height: 13px; }
.copy-email[data-copied="true"] { color: var(--accent); }
.contact-links { display: flex; flex-direction: column; gap: 5px; min-width: 185px; }
.contact-links > a { display: flex; align-items: center; justify-content: space-between; gap: 40px; font-size: 11px; min-height: 33px; color: #bdc5d1; }
.contact-links > a:hover { color: var(--accent); }
.contact-links .icon { width: 14px; height: 14px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--border); padding-block: 25px; }
.site-footer .wordmark { font-size: 23px; }
.site-footer p { font-size: 10px; color: var(--subtle); }
.footer-top { font: 10px/1.8 var(--mono); color: var(--subtle); }
.footer-top span { color: var(--text); margin-left: 14px; }
.footer-top:hover { color: var(--accent); }

/* Native, keyboard-accessible media viewer */
.media-dialog { width: min(1100px, calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 0; border: 1px solid #526073; border-radius: 6px; background: #12151b; color: var(--text); overscroll-behavior: contain; }
.media-dialog::backdrop { background: rgb(4 7 12 / 90%); }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px; border-bottom: 1px solid var(--border); }
.dialog-heading h2 { font-size: 15px; letter-spacing: -.02em; font-weight: 500; }
.dialog-close { flex-shrink: 0; display: flex; align-items: center; gap: 12px; border: 1px solid #485368; border-radius: 3px; padding: 8px 12px; background: #222936; font-size: 11px; }
.dialog-close:hover { color: var(--accent); border-color: var(--accent); }
.dialog-close span { font-size: 20px; line-height: 1; }
.dialog-media { display: grid; place-items: center; min-height: 140px; background: #000; }
.dialog-media img, .dialog-media video { display: block; max-width: 100%; max-height: calc(100dvh - 190px); width: auto; height: auto; object-fit: contain; }
.dialog-hint { font-size: 10px; color: var(--muted); padding: 13px 20px; }
.dialog-error { padding: 30px; font-size: 13px; }
.dialog-error a { text-decoration: underline; color: var(--accent); }

@media (min-width: 1600px) { .hero { padding-block: 110px; } }
@media (max-width: 1100px) {
  .container { width: calc(100% - 72px); }
  .hero { gap: 40px; padding-top: 68px; }
  h1 { font-size: clamp(64px, 7.8vw, 90px); }
  .hero-intro { font-size: 13px; }
  .hero-visual > figcaption { flex-wrap: wrap; }
  .focus-strip > div + div { padding-left: 22px; }
  .focus-strip > div { gap: 12px; }
  .focus-strip p { font-size: 12px; }
  .focus-strip p span { font-size: 9px; }
  .experience-layout { gap: 65px; }
  .about-layout { gap: 60px; }
  .featured-copy { padding: 27px; }
}

@media (max-width: 760px) {
  :root { scroll-padding-top: 85px; }
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 72px; position: relative; flex-wrap: wrap; gap: 0; }
  .wordmark { font-size: 27px; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; gap: 13px; min-height: 44px; padding: 10px 2px 10px 10px; border: 0; background: none; font-size: 12px; }
  .menu-lines { position: relative; width: 19px; height: 10px; border-top: 1px solid var(--text); border-bottom: 1px solid var(--text); }
  .menu-toggle[aria-expanded="true"] .menu-lines { height: 0; border-bottom: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-lines::after { content: ""; width: 19px; height: 1px; position: absolute; top: -1px; left: 0; background: var(--text); transform: rotate(-90deg); }
  .navigation { width: 100%; flex-wrap: wrap; gap: 5px 20px; padding-block: 12px 20px; }
  [data-enhanced] .navigation[data-open="false"] { display: none; }
  .navigation > a { display: flex; align-items: center; min-height: 44px; }
  .navigation .nav-cv { margin: 4px 0 0; width: 100%; justify-content: center; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 52px 40px; }
  .hero-copy > .eyebrow { font-size: 10px; margin-bottom: 25px; }
  h1 { font-size: clamp(60px, 14vw, 92px); line-height: 1.01; margin-left: -3px; }
  .hero-role { font-size: 23px; margin-top: 25px; }
  .hero-intro { font-size: 14px; max-width: 500px; }
  .hero-current { margin-top: 26px; }
  .hero-visual { margin-top: 0; }
  .hero-render img { aspect-ratio: 1482 / 968; }
  .hero-visual > figcaption { flex-wrap: nowrap; padding: 15px 12px; font-size: 10px; }
  .hero-visual > figcaption span:last-child { font-size: 9px; }
  .focus-strip { padding-block: 5px; grid-template-columns: 1fr; }
  .focus-strip > div { align-items: center; gap: 19px; padding-block: 17px; }
  .focus-strip > div + div { border-left: 0; border-top: 1px solid var(--border); padding-left: 0; }
  .focus-strip p { font-size: 13px; }
  .focus-strip p span { display: inline; margin-left: 15px; font-size: 10px; }
  .section { padding-block: 66px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 27px; }
  h2 { font-size: 33px; }
  .section-intro { max-width: 370px; font-size: 12px; }
  .project-toolbar { margin-bottom: 20px; }
  .project-count { display: none; }
  .filters { gap: 3px; }
  .filter-button { font-size: 10px; padding: 10px 9px; gap: 6px; }
  .filter-button span { font-size: 8px; }
  .project-grid { grid-template-columns: 1fr; gap: 20px; }
  .project-featured { grid-template-columns: 1fr; }
  .featured-copy { padding: 25px; grid-template-columns: 1fr; gap: 20px; }
  .project-featured h3 { font-size: 27px; }
  .project-copy { padding: 25px; }
  .project-card h3 { font-size: 25px; }
  .project-bottom { gap: 10px; }
  .work-footnote { justify-content: flex-start; font-size: 10px; line-height: 1.8; }
  .experience-section { padding-block: 65px; }
  .experience-layout { grid-template-columns: 1fr; gap: 45px; }
  .experience-intro h2 br { display: none; }
  .experience-intro > p:not(.eyebrow) { max-width: 420px; margin-block: 18px 22px; }
  .timeline { padding-left: 24px; margin-left: 5px; }
  .timeline-item::before { left: -29px; }
  .timeline h3 { font-size: 23px; }
  .timeline ul { font-size: 12px; }
  .contribution { padding: 17px; gap: 12px; }
  .about-layout { grid-template-columns: 1fr; gap: 32px; }
  .about-copy .about-lead { font-size: 21px; }
  .education { padding: 26px; }
  .skills-heading { flex-direction: column; gap: 8px; margin-top: 45px; }
  .skills-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .skill-group h4 { font-size: 12px; }
  .skill-group p { font-size: 10px; }
  .contact-section { padding-block: 55px; }
  .contact-top { gap: 15px; }
  .contact-top h2 { font-size: 36px; }
  .contact-arrow { display: none; }
  .contact-bottom { margin-top: 30px; gap: 30px; }
  .contact-note { font-size: 11px; }
  .email-row { gap: 13px; }
  .email-link { font-size: 23px; }
  .contact-links { width: 100%; padding-top: 20px; border-top: 1px solid var(--border); }
  .contact-links > a { min-height: 40px; font-size: 12px; }
  .site-footer { flex-wrap: wrap; gap: 14px; padding-block: 24px; }
  .site-footer p { font-size: 9px; }
  .footer-top { font-size: 9px; }
  .footer-top span { margin-left: 6px; }
  .dialog-heading { gap: 10px; padding: 15px; }
  .dialog-heading h2 { font-size: 12px; line-height: 1.5; }
}

@media (max-width: 380px) {
  .focus-strip p span { display: block; margin-left: 0; margin-top: 5px; }
  .hero-role { font-size: 21px; }
  .hero-actions { gap: 20px; }
  .hero-visual > figcaption { flex-wrap: wrap; }
  .filter-button { font-size: 9px; padding-inline: 7px; }
  .email-link { font-size: 21px; }
  .contact-top h2 { font-size: 33px; }
  .skills-grid { grid-template-columns: 1fr; }
  .skill-group p { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  :root { color-scheme: light; }
  body { background: white; color: black; }
  #particles, .effects-toggle, .site-header, .hero-visual, .project-toolbar, .media-action, .copy-email, .contact-arrow, .footer-top, .media-dialog { display: none !important; }
  .container { width: 100%; }
  .hero, .section, .experience-section, .contact-section { padding-block: 25px; }
  .hero, .experience-layout, .about-layout { display: block; }
  h1 { font-size: 48px; }
  h2 { font-size: 27px; }
  .hero-current, .education { margin-top: 20px; }
  .project-card, .education, .contribution, .experience-section { background: white; border-color: #aaa; break-inside: avoid; }
  .project-card[hidden] { display: flex !important; }
  .project-featured { display: block; }
  .project-card h3, .timeline h3, .about-copy strong, .about-copy .about-lead, .hero-current strong { color: black; }
  p, li, .project-card p:not(.project-kicker), .organization, .timeline ul, .contact-links > a, .about-copy { color: #333 !important; }
  .project-media img { max-height: 150px; }
  .hero-actions, .work-footnote { display: none; }
}
