/* Playful portfolio: charcoal, electric lime and violet. */
:root {
  --bg: #141414;
  --panel: #212121;
  --text: #f5f4ef;
  --muted: #b1b0aa;
  --line: #373735;
  --lime: #d1ff62;
  --violet: #ae91ff;
  --orange: #ff9574;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
svg { display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.1; }
[hidden] { display: none !important; }
::selection { background: var(--lime); color: var(--bg); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 6px; }
.container { width: min(1180px, calc(100% - 112px)); margin-inline: auto; }
.icon { width: 23px; height: 23px; flex-shrink: 0; }
.spark { width: 100%; height: 100%; }
.skip-link { position: fixed; top: 10px; left: 15px; z-index: 100; transform: translateY(-150%); padding: 12px 20px; background: var(--lime); color: #141414; }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 30; background: #141414f0; backdrop-filter: blur(20px); }
.header-inner { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 35px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 4px; font-size: 29px; line-height: 1; font-weight: 800; letter-spacing: -1.7px; }
.wordmark > span { color: var(--lime); font-size: 27px; display: inline-block; transition: transform .4s; }
.wordmark:hover > span { transform: rotate(90deg); }
.main-nav { display: flex; align-items: center; gap: 35px; margin-left: auto; }
.main-nav a { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #d2d1cc; padding: 10px 0; }
.main-nav a:hover, .main-nav a.active { color: var(--lime); }
.main-nav .icon { width: 17px; height: 17px; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.language-switch { display: flex; padding: 3px; background: #242423; border: 1px solid #383835; border-radius: 50px; }
.language-switch button { border: 0; padding: 8px 10px; min-width: 40px; min-height: 38px; background: transparent; border-radius: 50px; font-size: 11px; font-weight: 650; color: var(--muted); }
.language-switch button[aria-pressed=true] { background: var(--text); color: var(--bg); }
.menu-toggle { display: none; }
.hero { display: grid; grid-template-columns: 1.12fr 1fr; gap: 70px; padding-block: 76px 82px; align-items: center; }
.hero-copy { min-width: 0; }
.eyebrow { color: var(--muted); font-size: 11px; font-weight: 650; letter-spacing: .12em; }
.hero h1 { font-size: clamp(78px, 8.2vw, 118px); letter-spacing: -.07em; line-height: .98; font-weight: 760; margin-top: 28px; }
.hero-name { color: var(--lime); }
.name-dot { color: var(--violet); }
.hero-intro { white-space: pre-line; font-size: 19px; line-height: 1.7; color: #c4c3bd; margin-top: 25px; max-width: 450px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.button { min-height: 53px; display: inline-flex; align-items: center; justify-content: center; gap: 15px; padding: 14px 22px; border-radius: 50px; font-size: 14px; font-weight: 650; border: 1px solid var(--line); transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--lime); color: #191d11; border-color: var(--lime); }
.button-primary:hover { background: #e2ff9b; }
.button-outline:hover { background: #292928; }
.button .icon { width: 20px; height: 20px; }
.portrait-playground { height: 460px; position: relative; display: grid; place-items: center; isolation: isolate; }
.portrait-mat { background: var(--violet); padding: 17px 17px 0; border-radius: 170px 170px 32px 32px; width: 345px; height: 405px; transform: rotate(6deg); overflow: hidden; transition: transform .5s; }
.portrait-playground:hover .portrait-mat { transform: rotate(1deg) translateY(-5px); }
.portrait-mat img { width: 100%; height: 100%; object-fit: cover; object-position: center 31%; border-radius: 160px 160px 0 0; }
.hello-sticker { position: absolute; top: 34px; left: -10px; background: var(--lime); color: #151515; font-size: 21px; font-weight: 750; border-radius: 15px 15px 15px 2px; padding: 13px 21px; transform: rotate(-11deg); box-shadow: 5px 6px 0 #141414; display: flex; gap: 20px; align-items: center; }
.hello-sticker > span:last-child { font-size: 29px; line-height: 1; }
.curiosity-sticker { position: absolute; bottom: 18px; right: -8px; background: #f4f2eb; color: #222; border-radius: 100px; padding: 14px 22px; transform: rotate(-8deg); font-size: 14px; font-weight: 600; border: 4px solid var(--bg); }
.portrait-spark { position: absolute; right: -10px; top: 1px; width: 93px; height: 93px; color: var(--orange); transform: rotate(10deg); }
.orbit { position: absolute; width: 44px; height: 44px; border: 3px solid var(--violet); border-radius: 50%; left: -15px; bottom: 52px; }
.topic-strip { border-block: 1px solid var(--line); overflow: hidden; }
.topic-strip > div { display: flex; justify-content: space-between; align-items: center; gap: 27px; padding-block: 21px; }
.topic-strip span { white-space: nowrap; font-size: 12px; font-weight: 600; letter-spacing: .14em; color: #bfbeb8; }
.topic-strip .spark { width: 18px; height: 18px; flex-shrink: 0; color: var(--violet); }
.section-pad { padding-block: 80px 62px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 32px; }
.section-heading h2 { font-size: 48px; font-weight: 650; letter-spacing: -.055em; }
.section-heading p { color: var(--muted); font-size: 16px; margin-top: 11px; }
.heading-doodle { font-size: 69px; line-height: 1; color: var(--lime); font-family: Georgia, serif; transform: rotate(12deg); padding-right: 18px; }
.project-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 20px; align-items: stretch; }
.project-tile { border: 1px solid transparent; padding: 25px; border-radius: 27px; text-align: left; display: flex; flex-direction: column; min-width: 0; transition: transform .25s, box-shadow .25s; position: relative; }
.project-tile:hover { transform: translateY(-7px) rotate(-1deg); box-shadow: 0 12px 0 #0003; }
.project-tile:nth-child(2):hover { transform: translateY(-7px) rotate(1deg); }
.flow-tile { background: var(--violet); color: #211b2c; }
.risk-tile { background: #262625; border-color: #3c3c39; color: var(--text); }
.vision-tile { background: var(--lime); color: #1a2111; }
.tile-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.accepted-sticker { display: block; font-size: 11px; font-weight: 700; background: #27222f; color: #f6f1ff; border-radius: 7px; padding: 8px 10px; line-height: 1.5; transform: rotate(-3deg); }
.accepted-sticker small { display: block; color: var(--lime); font-size: 10px; font-weight: 600; }
.tile-arrow { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; border: 1px solid currentColor; flex-shrink: 0; }
.tile-arrow .icon { width: 18px; height: 18px; }
.tile-label { font-size: 11px; font-weight: 650; letter-spacing: .08em; padding-top: 7px; }
.battery-art { height: 180px; display: grid; place-items: center; }
.battery-art svg { width: 230px; max-width: 100%; height: 166px; transform: rotate(-10deg); transition: transform .3s; }
.flow-tile:hover .battery-art svg { transform: rotate(3deg) scale(1.05); }
.tile-copy { display: flex; flex-direction: column; margin-top: auto; }
.tile-title { display: block; font-size: 29px; font-weight: 700; letter-spacing: -.045em; line-height: 1.08; }
.flow-tile .tile-title { font-size: 39px; }
.tile-description { display: block; font-size: 14px; line-height: 1.6; margin-top: 12px; opacity: .85; }
.tile-type { font-size: 10px; letter-spacing: .1em; font-weight: 600; margin-top: 24px; opacity: .7; }
.metric-art { height: 201px; display: flex; align-items: flex-start; justify-content: center; flex-direction: column; position: relative; color: var(--orange); }
.metric-art > strong { font-size: 78px; line-height: 1; font-weight: 650; letter-spacing: -.09em; }
.metric-art > strong > span { font-size: 45px; }
.metric-art > span:not(.metric-loop) { color: #d4c5bd; font-size: 12px; margin-top: 12px; }
.metric-loop { position: absolute; width: 52px; height: 23px; border: 2px solid var(--orange); border-radius: 50%; right: 3px; top: 30px; transform: rotate(-30deg); }
.vision-art { height: 201px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.focus-frame { display: block; padding: 13px; border: 2px dashed #5b712c; border-radius: 18px; width: 90px; height: 90px; transform: rotate(-10deg); }
.focus-frame .spark { color: #343f1e; transition: transform .5s; }
.vision-tile:hover .focus-frame .spark { transform: rotate(90deg); }
.vision-metric { display: block; font-size: 32px; letter-spacing: -1.5px; font-weight: 650; }
.vision-metric small { display: block; font-size: 11px; line-height: 1.5; max-width: 90px; font-weight: 450; letter-spacing: 0; margin-top: 8px; }
.project-archive { border-bottom: 1px solid var(--line); margin-top: 22px; }
summary { cursor: pointer; }
.project-archive > summary, .background-story > summary, .earlier-experience > summary { list-style: none; display: flex; align-items: center; gap: 15px; padding: 24px 0; font-size: 15px; font-weight: 500; }
summary::-webkit-details-marker { display: none; }
.archive-count { font-size: 11px; color: var(--muted); padding: 1px 7px; border-radius: 50px; background: #292927; }
.details-symbol { font-size: 24px; font-weight: 300; margin-left: auto; transition: transform .2s; }
details[open] > summary .details-symbol { transform: rotate(45deg); }
.archive-row { display: flex; align-items: center; gap: 20px; width: 100%; padding: 22px 0; text-align: left; background: transparent; border: 0; border-top: 1px solid var(--line); }
.archive-number { font-size: 11px; color: #9e9d98; }
.archive-title { font-size: 16px; }
.archive-category { margin-left: auto; color: var(--muted); font-size: 12px; flex-shrink: 0; }
.archive-row .icon { width: 20px; height: 20px; }
.archive-row:hover { color: var(--lime); }
.about-section { padding-block: 36px 0; }
.about-main { display: grid; grid-template-columns: 1.1fr 1fr; gap: 95px; align-items: center; }
.about-heading { position: relative; }
.about-heading h2 { font-size: 44px; font-weight: 650; letter-spacing: -.055em; white-space: pre-line; line-height: 1.15; }
.about-spark { width: 37px; height: 37px; display: block; color: var(--violet); margin-bottom: 20px; transform: rotate(10deg); }
.about-copy p { font-size: 18px; line-height: 1.8; color: #c4c3bd; }
.interest-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.interest-pills > span { border: 1px solid #4c4c47; border-radius: 50px; padding: 5px 12px; font-size: 12px; color: #cac9c3; }
.interest-pills > span:first-child { color: var(--violet); border-color: #6a5c87; transform: rotate(-5deg); }
.interest-pills > span:last-child { color: var(--orange); border-color: #795746; transform: rotate(5deg); }
.experience-preview { display: grid; grid-template-columns: 1fr 1.3fr 1fr; margin-top: 43px; border-block: 1px solid var(--line); }
.experience-preview > div { display: flex; flex-direction: column; gap: 7px; padding: 25px 25px 25px 0; min-width: 0; }
.experience-preview > div + div { padding-left: 25px; border-left: 1px solid var(--line); }
.tiny-label { font-size: 10px; font-weight: 650; letter-spacing: .13em; color: var(--violet); }
.experience-preview strong { font-size: 16px; line-height: 1.5; font-weight: 600; }
.experience-preview > div > span:last-child { font-size: 13px; color: var(--muted); }
.background-story { border-bottom: 1px solid var(--line); }
.background-story > summary { color: var(--muted); }
.story-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 65px; padding-block: 15px 35px; }
.experience-row { border-top: 1px solid var(--line); padding-block: 25px; }
.experience-row > div:first-child { display: flex; justify-content: space-between; margin-bottom: 10px; gap: 20px; }
.experience-date, .experience-index { font-size: 12px; color: var(--muted); }
.experience-row h3 { font-size: 19px; line-height: 1.4; }
.experience-role { color: var(--violet); font-size: 13px; margin-top: 7px; }
.experience-description { font-size: 14px; color: var(--muted); line-height: 1.8; margin-top: 12px; }
.education { border-top: 1px solid var(--line); padding-block: 25px; }
.education .micro-label { font-size: 12px; color: var(--violet); }
.education > div { display: flex; gap: 22px; margin-top: 18px; }
.education > div > span { font-size: 12px; color: var(--muted); padding-top: 3px; }
.education p { font-size: 13px; color: var(--muted); }
.education strong { display: block; font-size: 15px; color: var(--text); margin-bottom: 4px; }
.skills-heading { font-size: 19px; margin-top: 22px; }
.skills-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 22px; }
.skill-number { font-size: 10px; color: var(--violet); }
.skills-grid h4 { font-size: 14px; margin: 8px 0 10px; }
.skills-grid p, .language-note { font-size: 12px; color: var(--muted); line-height: 1.9; }
.audio-intro { border-block: 1px solid var(--line); margin-top: 30px; }
.audio-intro summary { list-style: none; display: flex; justify-content: space-between; padding: 16px 0; font-size: 13px; }
.audio-intro audio { width: 100%; margin-block: 5px 20px; }
.reference-links { margin-top: 28px; }
.reference-links h3 { font-size: 19px; margin-bottom: 10px; }
.reference-links a { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 14px 0; font-size: 13px; color: var(--muted); }
.reference-links .icon { width: 17px; height: 17px; }
.reference-links a:hover { color: var(--lime); }
.contact-section { padding-block: 78px 83px; display: flex; align-items: center; justify-content: space-between; gap: 45px; }
.contact-section h2 { font-size: clamp(40px, 4.8vw, 68px); letter-spacing: -.065em; line-height: 1.1; font-weight: 650; }
.contact-accent { color: var(--lime); }
.contact-email { display: inline-flex; align-items: center; gap: 20px; margin-top: 26px; color: #b9b8b1; font-size: 18px; border-bottom: 1px solid #5f5f59; padding-bottom: 6px; }
.contact-email:hover { color: var(--lime); }
.contact-email .icon { width: 20px; height: 20px; }
.contact-orb { background: var(--violet); color: #211c2b; width: 136px; height: 136px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; transition: transform .25s, background .25s; }
.contact-orb .icon { width: 58px; height: 58px; }
.contact-orb:hover { transform: rotate(45deg); background: var(--lime); }
.site-footer { border-top: 1px solid var(--line); padding-block: 28px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.footer-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.footer-links a { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; }
.footer-links a:hover { color: var(--lime); }
.footer-links .icon { width: 15px; height: 15px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 27px; font-size: 11px; color: #9f9e98; }
.footer-bottom small { font-size: inherit; }
dialog { width: min(690px, calc(100% - 32px)); max-height: calc(100dvh - 48px); border: 1px solid #56544f; border-radius: 24px; background: #232322; color: var(--text); padding: 0; box-shadow: 0 20px 90px #0008; }
dialog::backdrop { background: #090909c9; backdrop-filter: blur(9px); }
.dialog-inner { padding: 38px; }
.dialog-close { position: sticky; float: right; top: 0; z-index: 1; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #3c3c38; font-size: 27px; line-height: 1; }
.dialog-close:hover { background: var(--lime); color: #141414; }
#dialog-category { color: var(--violet); padding-right: 48px; margin-bottom: 18px; }
#dialog-title { clear: both; font-size: 35px; letter-spacing: -1px; line-height: 1.15; padding-top: 12px; }
.acceptance-badge { display: inline-block; font-size: 12px; border-radius: 7px; color: var(--lime); border: 1px solid #7c9349; background: #343d24; padding: 8px 12px; margin-top: 21px; }
.dialog-publication-status { font-size: 12px; color: var(--muted); margin-top: 10px; }
#dialog-description { color: #cfcec7; font-size: 16px; line-height: 1.8; margin-top: 24px; }
#dialog-image { margin-top: 24px; width: 100%; max-height: 350px; object-fit: contain; background: #fff; border-radius: 12px; }
#dialog-flow-details { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 25px; }
#dialog-flow-details > div { display: flex; flex-direction: column; font-size: 12px; color: var(--muted); gap: 8px; }
#dialog-flow-details strong { color: var(--violet); font-size: 28px; }
.text-button { display: inline-flex; align-items: center; gap: 15px; font-size: 14px; font-weight: 600; min-height: 44px; margin-top: 25px; }
.text-button:hover { color: var(--lime); }
.section-heading .section-kicker { margin: 0 0 12px; color: var(--violet); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.skills-section { padding-top: 70px; }
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tool-card { background: #202020; border: 1px solid var(--line); border-radius: 23px; padding: 28px; }
.tool-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 17px; }
.tool-symbol { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; color: var(--lime); background: #323925; font-size: 29px; line-height: 1; font-weight: 500; transform: rotate(-6deg); }
.tool-card:nth-child(2) .tool-symbol { color: var(--violet); background: #342e41; transform: rotate(6deg); }
.tool-card:nth-child(3) .tool-symbol { color: var(--orange); background: #42322a; }
.tool-card:nth-child(4) .tool-symbol { color: #ddd7ec; background: #353339; font-size: 20px; transform: rotate(5deg); }
.tool-card h3 { font-size: 23px; letter-spacing: -.7px; font-weight: 650; }
.tool-card > p { font-size: 14px; color: var(--muted); margin-top: 10px; line-height: 1.7; }
.tool-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.tool-chips > span { font-size: 12px; color: #d6d4ce; border: 1px solid #484842; border-radius: 7px; padding: 5px 10px; }
.language-band { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 23px 3px; border-bottom: 1px solid var(--line); }
.language-band .tiny-label { font-size: 11px; text-transform: uppercase; }
.language-band p { font-size: 15px; color: #c4c3bd; }
.career-section { padding-top: 15px; }
.career-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px; }
.career-card { border: 1px solid var(--line); padding: 27px; border-radius: 22px; position: relative; }
.career-card.current-role { border-color: #6a5c87; background: #24212b; }
.career-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.career-date { font-size: 12px; color: var(--muted); }
.career-number { display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; border: 1px solid #454540; color: #b2b0a9; font-size: 11px; }
.current-role .career-number { background: var(--violet); border-color: var(--violet); color: #24212b; }
.career-company { font-size: 13px; font-weight: 650; color: var(--lime); line-height: 1.5; margin-bottom: 10px; }
.career-card h3 { font-size: 21px; letter-spacing: -.45px; line-height: 1.3; font-weight: 600; }
.career-description { font-size: 14px; line-height: 1.8; color: var(--muted); margin-top: 15px; }
.degree-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px; }
.degree-card { border-radius: 25px; padding: 31px; color: #272331; background: var(--violet); }
.bachelors-card { background: #252823; color: #e2e7d7; border: 1px solid #4a523d; }
.degree-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.degree-card .tiny-label { color: inherit; font-size: 11px; }
.degree-year { font-size: 25px; letter-spacing: -1px; font-weight: 600; }
.degree-card h3 { font-size: 29px; letter-spacing: -.9px; line-height: 1.15; font-weight: 650; max-width: 380px; }
.degree-school { font-size: 14px; margin-top: 13px; font-weight: 600; }
.degree-focus { font-size: 15px; line-height: 1.7; margin-top: 22px; }
.degree-project { font-size: 14px; line-height: 1.8; margin-top: 14px; opacity: .85; }
.grade-sticker { display: inline-block; border: 1px solid #756296; border-radius: 7px; padding: 6px 10px; margin-top: 21px; font-size: 11px; font-weight: 600; transform: rotate(-2deg); }
.resume-strip { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; padding-block: 27px; border-bottom: 1px solid var(--line); }
.resume-strip > span { font-size: 15px; color: var(--muted); }
.resume-strip > div { display: flex; flex-wrap: wrap; gap: 25px; }
.resume-strip a { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; min-height: 44px; }
.resume-strip a:hover { color: var(--lime); }
.resume-strip .icon { width: 17px; height: 17px; }
.supporting-details { border-bottom: 1px solid var(--line); }
.supporting-details > summary { list-style: none; display: flex; align-items: center; gap: 20px; padding-block: 21px; font-size: 14px; color: var(--muted); }
.supporting-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; padding-bottom: 30px; }
.supporting-grid .reference-links, .supporting-grid .audio-intro { margin-top: 10px; }
.supporting-grid .audio-intro { align-self: start; }
.education-section + .contact-section { padding-top: 25px; }
@media (max-width: 1100px) {
  .container { width: calc(100% - 72px); }
  .hero { gap: 40px; }
  .hero h1 { font-size: 97px; }
  .portrait-mat { width: 300px; height: 370px; }
  .portrait-playground { height: 420px; }
  .portrait-spark { width: 72px; height: 72px; right: -3px; }
  .hello-sticker { left: -12px; top: 25px; font-size: 18px; padding: 12px 18px; }
  .curiosity-sticker { right: -8px; font-size: 12px; }
  .project-tile { padding: 21px; }
  .project-grid { gap: 15px; }
  .tile-title { font-size: 25px; }
  .flow-tile .tile-title { font-size: 35px; }
  .metric-art > strong { font-size: 64px; }
  .metric-art > strong > span { font-size: 36px; }
  .vision-art { gap: 10px; }
  .focus-frame { width: 64px; height: 64px; padding: 9px; }
  .vision-metric { font-size: 28px; }
  .about-main { gap: 60px; }
  .about-heading h2 { font-size: 39px; }
  .about-copy p { font-size: 16px; }
  .accepted-sticker { font-size: 10px; padding: 7px; }
  .tile-arrow { width: 30px; height: 30px; }
}
@media (max-width: 850px) {
  .main-nav { gap: 23px; }
  .header-inner { gap: 22px; }
  .hero { gap: 30px; padding-block: 60px; }
  .hero h1 { font-size: 80px; }
  .hero .eyebrow { font-size: 9px; }
  .hero-intro { font-size: 16px; }
  .button { font-size: 12px; padding: 12px 16px; gap: 10px; }
  .portrait-playground { height: 370px; }
  .portrait-mat { width: 250px; height: 315px; }
  .hello-sticker { font-size: 15px; padding: 10px 15px; }
  .portrait-spark { width: 60px; height: 60px; top: 3px; }
  .curiosity-sticker { font-size: 10px; padding: 11px 14px; bottom: 15px; }
  .topic-strip span { font-size: 10px; }
  .topic-strip > div { gap: 18px; }
  .topic-strip .spark { width: 13px; height: 13px; }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .flow-tile { grid-column: 1/-1; display: grid; grid-template-columns: 1fr 1fr; padding: 28px; }
  .flow-tile .tile-top { grid-column: 1/-1; }
  .flow-tile .tile-copy { margin-block: auto; grid-row: 2; }
  .battery-art { grid-column: 2; grid-row: 2; }
  .flow-tile .tile-title { font-size: 43px; }
  .accepted-sticker { font-size: 12px; padding: 8px 12px; }
  .tile-title { font-size: 29px; }
  .vision-metric { font-size: 35px; }
  .focus-frame { width: 85px; height: 85px; }
  .metric-art > strong { font-size: 78px; }
  .project-tile:not(.flow-tile) { padding: 26px; }
  .tile-arrow { width: 35px; height: 35px; }
  .about-main { gap: 35px; }
  .about-heading h2 { font-size: 34px; }
  .experience-preview { grid-template-columns: 1fr 1.3fr 1fr; }
  .experience-preview strong { font-size: 14px; }
  .experience-preview > div { padding-right: 15px; }
  .experience-preview > div + div { padding-left: 15px; }
  .experience-preview > div > span:last-child { font-size: 11px; }
  .contact-orb { width: 105px; height: 105px; }
  .contact-orb .icon { width: 44px; height: 44px; }
  .story-grid { gap: 35px; }
  .skills-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .tool-grid, .career-grid, .degree-grid, .supporting-grid { grid-template-columns: 1fr; }
  .tool-card, .career-card { padding: 25px; }
  .tool-card h3 { font-size: 23px; }
  .career-card h3 { font-size: 21px; }
  .career-description { font-size: 15px; }
  .career-section { padding-top: 13px; }
  .degree-card { padding: 26px; }
  .degree-card h3 { font-size: 29px; }
  .skills-section { padding-top: 48px; }
  .supporting-grid { gap: 20px; }
  .resume-strip { padding-block: 20px; }
  .language-band p { font-size: 14px; }
  :root { scroll-padding-top: 83px; }
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 75px; gap: 15px; }
  .wordmark { font-size: 26px; }
  .wordmark > span { font-size: 24px; }
  .header-actions { margin-left: auto; gap: 14px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 7px; border: 0; width: 35px; height: 44px; padding: 4px; background: transparent; }
  .menu-toggle > span { width: 25px; height: 1.5px; background: var(--text); transition: transform .2s; }
  .menu-toggle[aria-expanded=true] > span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .menu-toggle[aria-expanded=true] > span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #1d1d1c; padding: 15px 25px 22px; border-bottom: 1px solid var(--line); }
  .main-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a { font-size: 18px; padding: 12px 0; }
  .language-switch button { min-width: 35px; min-height: 35px; font-size: 10px; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding-block: 44px 42px; }
  .hero .eyebrow { font-size: 9px; letter-spacing: .1em; }
  .hero h1 { font-size: clamp(82px, 19vw, 115px); margin-top: 24px; }
  .hero-intro { font-size: 17px; margin-top: 22px; }
  .hero-actions { margin-top: 26px; }
  .button { font-size: 13px; min-height: 49px; padding: 12px 18px; }
  .portrait-playground { width: min(410px,100%); height: 397px; margin-inline: auto; margin-top: 14px; }
  .portrait-mat { width: 278px; height: 335px; padding: 13px 13px 0; }
  .hello-sticker { font-size: 17px; left: 1px; top: 21px; }
  .curiosity-sticker { right: 0; font-size: 12px; bottom: 19px; padding: 12px 17px; }
  .portrait-spark { width: 68px; height: 68px; right: 2px; top: 4px; }
  .orbit { left: 1px; bottom: 53px; width: 30px; height: 30px; border-width: 2px; }
  .topic-strip > div { width: calc(100% - 40px); flex-wrap: wrap; justify-content: center; column-gap: 16px; row-gap: 13px; padding-block: 19px; }
  .topic-strip span { font-size: 9px; letter-spacing: .12em; }
  .topic-strip .spark { width: 12px; height: 12px; }
  .topic-strip .spark:last-child { display: none; }
  .section-pad { padding-block: 48px 35px; }
  .section-heading { margin-bottom: 25px; gap: 15px; }
  .section-heading h2 { font-size: 36px; }
  .section-heading p { font-size: 14px; margin-top: 9px; }
  .heading-doodle { font-size: 47px; padding: 0; }
  .project-grid { grid-template-columns: 1fr; gap: 17px; }
  .project-tile, .project-tile:not(.flow-tile) { padding: 26px; border-radius: 24px; }
  .flow-tile { display: flex; }
  .flow-tile .tile-copy { margin-top: auto; }
  .battery-art { height: 167px; }
  .battery-art svg { height: 158px; width: 225px; }
  .tile-title { font-size: 32px; max-width: 310px; }
  .flow-tile .tile-title { font-size: 43px; }
  .tile-description { font-size: 15px; }
  .tile-type { margin-top: 20px; }
  .metric-art { height: 185px; }
  .metric-art > strong { font-size: 95px; }
  .metric-art > strong > span { font-size: 51px; }
  .metric-art > span:not(.metric-loop) { font-size: 13px; }
  .metric-loop { top: 25px; right: 20px; }
  .vision-art { height: 190px; justify-content: center; gap: 30px; }
  .focus-frame { width: 99px; height: 99px; padding: 15px; }
  .vision-metric { font-size: 44px; }
  .vision-metric small { font-size: 12px; }
  .project-archive { margin-top: 12px; }
  .archive-row { gap: 13px; padding-block: 20px; }
  .archive-title { font-size: 14px; }
  .archive-category { display: none; }
  .archive-row .icon { margin-left: auto; }
  .about-section { padding-top: 23px; }
  .about-main { grid-template-columns: 1fr; gap: 24px; }
  .about-heading h2 { font-size: 38px; }
  .about-spark { width: 33px; height: 33px; margin-bottom: 18px; }
  .about-copy p { font-size: 17px; }
  .interest-pills { gap: 7px; }
  .interest-pills > span { font-size: 11px; padding: 5px 10px; }
  .experience-preview { grid-template-columns: 1fr; margin-top: 30px; }
  .experience-preview > div { display: grid; grid-template-columns: 67px 1fr; gap: 3px 10px; padding: 19px 0; }
  .experience-preview > div + div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .experience-preview .tiny-label { grid-row: 1/3; padding-top: 5px; }
  .experience-preview strong { font-size: 15px; }
  .experience-preview > div > span:last-child { font-size: 12px; }
  .background-story > summary { font-size: 14px; }
  .story-grid { grid-template-columns: 1fr; gap: 15px; }
  .skills-grid { grid-template-columns: 1fr 1fr; }
  .contact-section { padding-block: 52px; gap: 15px; }
  .contact-section h2 { font-size: clamp(32px,7.2vw,45px); }
  .contact-email { font-size: 16px; gap: 12px; }
  .contact-orb { display: none; }
  .footer-top { align-items: flex-start; gap: 25px; }
  .footer-links { gap: 15px 22px; justify-content: flex-end; }
  .footer-links a { font-size: 11px; }
  .footer-bottom { flex-wrap: wrap; font-size: 10px; gap: 15px; }
  .footer-bottom > span { display: none; }
  .footer-bottom a { margin-left: auto; }
  .dialog-inner { padding: 26px; }
  #dialog-title { font-size: 30px; }
  #dialog-description { font-size: 15px; }
  #dialog-flow-details { gap: 14px; }
  #dialog-flow-details > div { font-size: 11px; }
}
@media (max-width: 360px) {
  .hero .eyebrow { font-size: 8px; }
  .hero h1 { font-size: 77px; }
  .hero-intro { font-size: 15px; }
  .button { font-size: 11px; padding-inline: 13px; gap: 8px; }
  .portrait-mat { width: 233px; height: 305px; }
  .portrait-playground { height: 360px; }
  .hello-sticker { font-size: 15px; padding: 10px 12px; gap: 10px; }
  .portrait-spark { width: 55px; height: 55px; }
  .curiosity-sticker { font-size: 10px; right: -2px; }
  .section-heading h2 { font-size: 32px; }
  .project-tile, .project-tile:not(.flow-tile) { padding: 22px; }
  .tile-title { font-size: 29px; }
  .vision-art { gap: 18px; }
  .focus-frame { width: 78px; height: 78px; }
  .vision-metric { font-size: 38px; }
  .about-heading h2 { font-size: 32px; }
  .contact-section h2 { font-size: 31px; }
  .footer-top { flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .tool-card, .career-card, .degree-card { break-inside: avoid; background: #fff; color: #111; border-color: #aaa; }
  .tool-card > p, .career-description, .career-date, .career-company { color: #333; }
  .supporting-details { display: none; }
  :root { background: #fff; color: #111; color-scheme: light; }
  .site-header, .hero-actions, .portrait-playground, .topic-strip, .project-archive, .background-story, .contact-orb, .footer-links, dialog { display: none !important; }
  .container { width: 100%; }
  .hero { padding-block: 20px; }
  .hero h1 { font-size: 65px; }
  .hero-name, .contact-accent { color: #333; }
  .hero-intro, .about-copy p, .contact-email { color: #333; }
  .project-grid { grid-template-columns: repeat(3,1fr); }
  .project-tile { break-inside: avoid; border: 1px solid #888; }
  .risk-tile { color: #111; background: #eee; }
  .section-pad, .contact-section { padding-block: 25px; }
  .tile-title { font-size: 24px; }
}
