:root {
  --paper: #f7f8fa;
  --ink: #172132;
  --muted: #626c7c;
  --line: #cbd1db;
  --blue: #2148e8;
  --navy: #182b58;
  --heading: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Public Sans', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 15px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
::selection { background: #b8c6ff; color: #152958; }
a:focus-visible, summary:focus-visible { outline: 3px solid #6784ff; outline-offset: 6px; }
.wrap { width: min(1264px, calc(100% - 112px)); margin-inline: auto; }
.icon { width: 21px; height: 21px; flex: 0 0 21px; vertical-align: middle; }
.skip { position: absolute; top: -100px; left: 20px; background: white; padding: 12px; z-index: 10; }
.skip:focus { top: 10px; }
.header { height: 110px; display: flex; justify-content: space-between; align-items: center; }
.wordmark { display: flex; gap: 15px; align-items: center; }
.brand-mark { display: grid; place-items: center; width: 53px; height: 53px; background: var(--blue); color: white; font-size: 31px; font-weight: 700; letter-spacing: -3px; padding-right: 3px; line-height: 1; }
.brand-name { font-size: 13px; line-height: 1.25; font-weight: 700; letter-spacing: -.3px; }
nav { display: flex; align-items: center; gap: 32px; font-size: 12px; font-weight: 600; }
nav a:hover, nav [aria-current] { color: var(--blue); }
.nav-contact { display: flex; align-items: center; gap: 26px; border-bottom: 1px solid var(--ink); padding-block: 12px; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-family: var(--heading); font-weight: 600; line-height: .98; letter-spacing: -.025em; }
h1 { font-size: clamp(90px, 9vw, 142px); text-transform: uppercase; margin-bottom: 32px; }
h1 em { font-style: normal; }
h2 { font-size: clamp(48px, 5vw, 70px); margin-bottom: 24px; }
h3 { font-size: 36px; }
h4 { font-size: 34px; }
.eyebrow { font-size: 10px; text-transform: uppercase; letter-spacing: 1.8px; font-weight: 600; margin: 0 0 32px; line-height: 1.5; }
.dot { display: inline-block; width: 6px; height: 6px; background: currentColor; margin: 0 8px 2px 0; }
.hero { background: var(--navy); color: white; overflow: hidden; }
.hero-shell { display: grid; grid-template-columns: 1.4fr 1fr; gap: 70px; padding-top: 55px; }
.hero-main { padding-bottom: 50px; }
.hero h1 em { color: #95b4ff; }
.hero-bottom { display: grid; grid-template-columns: 1.2fr 1fr; gap: 35px; align-items: start; }
.hero-bottom > p { font-size: 14px; color: #c5d0e6; max-width: 340px; margin: 0; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 25px; padding: 17px 20px; background: var(--blue); color: white; font-size: 12px; font-weight: 600; transition: background .2s, transform .2s; }
.button:hover { background: #1532ba; transform: translateY(-2px); }
.hero .button { background: white; color: var(--navy); }
.hero .button:hover { background: #dfe7ff; }
.text-link { display: inline-flex; align-items: center; gap: 20px; padding-block: 10px; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 600; }
.text-link:hover { color: var(--blue); }
.hero-bottom .text-link { color: #c5d0e6; border: 0; display: flex; margin-top: 6px; font-size: 11px; }
.hero-bottom .text-link .icon { width: 16px; height: 16px; }
.hero-aside { position: relative; display: flex; flex-direction: column; justify-content: end; padding-top: 44px; }
.portrait { height: 390px; overflow: hidden; background: #536481; position: relative; }
.portrait::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px #ffffff20; background: linear-gradient(0deg, #182b5820, transparent); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; filter: grayscale(1); }
.portrait-caption { display: flex; justify-content: space-between; align-items: start; gap: 20px; border-top: 4px solid #95b4ff; padding-top: 17px; margin-top: 22px; }
.portrait-caption strong { font-size: 14px; font-weight: 600; }
.portrait-caption span { font-size: 10px; color: #b4c2dd; max-width: 140px; text-align: right; }
.hero-aside > p { font-size: 11px; color: #b4c2dd; margin-top: 14px; margin-bottom: 32px; }
.hero-baseline { display: flex; justify-content: space-between; border-top: 1px solid #546586; padding-block: 17px; font-size: 9px; color: #acbbd8; text-transform: uppercase; letter-spacing: 1.3px; }
.trust { display: grid; grid-template-columns: 1fr 3fr; padding-block: 36px; border-bottom: 1px solid var(--line); gap: 12px 30px; }
.trust > p { font-size: 11px; margin: 0; color: var(--muted); }
.trust > div { display: flex; justify-content: space-between; align-items: center; gap: 22px; }
.trust strong { font-size: 20px; font-weight: 600; letter-spacing: -.7px; }
.trust small { grid-column: 2; font-size: 9px; color: var(--muted); }
.section { padding-block: 100px; }
.section-head { max-width: 850px; margin-bottom: 55px; }
.section-head > p:not(.eyebrow) { color: var(--muted); max-width: 520px; font-size: 15px; }
.services { border-top: 1px solid var(--ink); }
.service { display: grid; grid-template-columns: .8fr 1.3fr 1fr; gap: 20px 45px; padding-block: 35px; border-bottom: 1px solid var(--line); align-items: start; }
.service-number { grid-row: span 3; font-family: var(--heading); font-size: 72px; line-height: 1; color: var(--blue); display: flex; flex-direction: column; gap: 16px; }
.service-number span { font-family: var(--body); font-size: 10px; line-height: 1.6; color: var(--muted); }
.service h3 { grid-row: span 3; max-width: 300px; font-size: 38px; margin-bottom: 0; }
.service p { margin-bottom: 0; color: var(--muted); font-size: 13px; }
.service .service-for { color: var(--ink); font-size: 12px; font-weight: 600; }
.service .text-link { justify-self: start; }
.work-section { background: #e8ecf3; padding-block: 90px; }
.horizontal { display: grid; grid-template-columns: 1.5fr 1fr; align-items: end; gap: 90px; max-width: none; }
.horizontal h2 { margin-bottom: 0; }
.horizontal p:not(.eyebrow) { font-size: 14px; color: var(--muted); max-width: 340px; }
.case-grid { display: flex; flex-direction: column; gap: 58px; }
.case { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; border-top: 1px solid #aeb9cc; padding-top: 28px; }
.case:nth-child(even) .case-visual { order: 2; }
.case-visual { height: 355px; padding: 20px; display: flex; flex-direction: column; overflow: hidden; }
.tone-0 { background: #d0d9ee; }
.tone-1 { background: #d5d7dc; }
.tone-2 { background: #d0dce7; }
.tone-3 { background: #dcd9d4; }
.case-label, .case-tags { font-size: 9px; text-transform: uppercase; letter-spacing: 1px; color: #3c4b62; }
.case-visual img { width: 100%; height: 265px; object-fit: contain; margin-block: 12px; transition: transform .4s; }
.case:hover .case-visual img { transform: scale(1.02); }
.case-tags { margin-top: auto; font-size: 8px; }
.case-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; }
.case-top h3 { font-family: var(--body); font-size: 14px; letter-spacing: -.3px; margin: 0; }
.case-top > span { font-family: var(--heading); font-size: 37px; color: #8d99ae; }
.case h4 { margin-bottom: 22px; max-width: 390px; }
.case-body > p { font-size: 13px; color: var(--muted); max-width: 410px; }
.case-body > small { display: block; font-size: 10px; color: var(--muted); max-width: 400px; }
.case-body > .text-link { margin-top: 16px; }
.process { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.steps article { border-top: 1px solid var(--line); padding: 22px 0 25px 50px; position: relative; }
.steps article > span { position: absolute; left: 0; top: 15px; color: var(--blue); font-family: var(--heading); font-size: 30px; }
.steps h3 { font-size: 31px; margin-bottom: 14px; }
.steps p { font-size: 13px; color: var(--muted); margin-bottom: 0; }
.about { border-top: 4px solid var(--blue); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 100px; padding-block: 45px; }
.about h2 { font-size: 56px; }
.about p:not(.eyebrow) { font-size: 14px; color: var(--muted); }
.faq { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 23px; font-size: 14px; font-weight: 500; }
summary::-webkit-details-marker { display: none; }
summary .icon { transition: transform .2s; color: var(--blue); }
details[open] summary .icon { transform: rotate(45deg); }
details p { font-size: 13px; color: var(--muted); max-width: 600px; padding-right: 35px; padding-bottom: 10px; }
.contact { background: var(--blue); color: white; padding-top: 60px; }
.contact .eyebrow { color: #bdcbff; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 95px; padding-bottom: 65px; }
.contact h2 { font-size: clamp(80px, 8vw, 115px); text-transform: uppercase; }
.contact h2 span { color: #c4d2ff; }
.contact-grid > div { padding-top: 8px; }
.contact-grid p { font-size: 14px; color: #d6dfff; max-width: 385px; margin-bottom: 25px; }
.contact .button { background: white; color: var(--blue); }
.contact .button:hover { background: #dce5ff; }
.email { display: block; font-size: 14px; text-decoration: underline; text-underline-offset: 5px; margin-top: 24px; }
.contact small { display: block; font-size: 9px; color: #c1ceff; margin-top: 9px; }
.footer-bottom { border-top: 1px solid #849cf4; padding-block: 23px; display: flex; justify-content: space-between; gap: 25px; font-size: 10px; color: #ccd7ff; }
.footer-bottom > div { display: flex; gap: 25px; }
.footer-bottom a { display: inline-flex; align-items: center; gap: 10px; }
.footer-bottom .icon { width: 15px; height: 15px; flex-basis: 15px; }
.page-hero { padding-block: 70px; border-top: 1px solid var(--ink); }
.page-hero h1 { font-size: clamp(70px, 8vw, 115px); max-width: 1000px; }
.page-hero h1 em { color: var(--blue); }
.page-hero > p:last-child { max-width: 550px; color: var(--muted); font-size: 16px; }
.current { border-left: 4px solid var(--blue); background: #e8edf9; padding: 40px; }
.current h2 { font-size: 44px; }
.current > p:not(.eyebrow) { max-width: 780px; color: var(--muted); font-size: 14px; }
.current small { font-size: 11px; color: var(--muted); }
.app-list { padding-bottom: 100px; }
.app-row { display: grid; grid-template-columns: .9fr 1fr; gap: 80px; align-items: center; padding-block: 45px; border-top: 1px solid var(--line); }
.app-art { height: 290px; display: grid; place-items: center; }
.app-art img { width: 128px; height: 128px; border-radius: 27px; box-shadow: 0 12px 30px #182b5820; }
.app-row p:not(.eyebrow) { max-width: 430px; color: var(--muted); font-size: 14px; }
.app-row .platforms { font-size: 11px !important; }
.will-reveal { opacity: 0; transform: translateY(12px); transition: opacity .4s, transform .4s; }
.will-reveal.is-visible { opacity: 1; transform: none; }
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .hero-shell { gap: 45px; }
  h1 { font-size: 105px; }
  .hero-bottom { display: block; }
  .hero-bottom > p { margin-bottom: 24px; }
  .hero-bottom > div { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
  .hero-bottom .text-link { margin: 0; }
  .portrait { height: 390px; }
  .service { gap: 20px 30px; grid-template-columns: .65fr 1.1fr 1fr; }
  .case { gap: 35px; }
  .case-visual { height: 320px; }
  .case-visual img { height: 230px; }
  .process, .about { gap: 55px; }
  .trust strong { font-size: 16px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 40px); }
  .header { height: auto; display: block; padding-block: 20px; }
  .brand-mark { width: 42px; height: 42px; font-size: 25px; }
  .brand-name { font-size: 12px; }
  .header nav { margin-top: 19px; gap: 10px; justify-content: space-between; font-size: 11px; }
  .nav-contact { gap: 11px; padding-block: 8px; }
  .icon { width: 18px; height: 18px; flex-basis: 18px; }
  .hero-shell { grid-template-columns: 1fr; gap: 0; padding-top: 40px; }
  .hero h1 { font-size: clamp(68px, 24vw, 110px); margin-bottom: 30px; }
  .hero-main { padding-bottom: 32px; }
  .hero .eyebrow { font-size: 9px; margin-bottom: 24px; }
  .hero-bottom > p { font-size: 14px; max-width: 340px; }
  .hero-bottom > div { gap: 14px; }
  .hero-aside { display: grid; grid-template-columns: 100px 1fr; gap: 0 20px; padding-top: 0; padding-bottom: 30px; }
  .portrait { height: 120px; grid-row: span 2; }
  .portrait-caption { display: block; margin-top: 0; padding-top: 10px; border-width: 2px; }
  .portrait-caption strong { display: block; font-size: 14px; }
  .portrait-caption span { display: block; text-align: left; font-size: 9px; max-width: none; margin-top: 4px; }
  .hero-aside > p { font-size: 9px; margin-block: 8px 0; }
  .hero-baseline { gap: 20px; font-size: 7px; padding-block: 13px; }
  .trust { display: block; padding-block: 28px; }
  .trust > p { margin-bottom: 20px; }
  .trust > div { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .trust strong { font-size: 18px; }
  .trust small { display: block; margin-top: 20px; font-size: 9px; }
  .section { padding-block: 60px; }
  h2 { font-size: 50px; }
  .section-head { margin-bottom: 35px; }
  .section-head > p:not(.eyebrow) { font-size: 14px; }
  .service { grid-template-columns: 52px 1fr; gap: 16px 20px; padding-block: 27px; }
  .service-number { grid-row: span 4; font-size: 50px; }
  .service-number span { display: none; }
  .service h3 { grid-row: auto; font-size: 34px; max-width: 260px; }
  .service p, .service .text-link { grid-column: 2; }
  .service p { font-size: 13px; }
  .horizontal { display: block; }
  .horizontal > div:last-child { margin-top: 25px; }
  .work-section { padding-block: 55px; }
  .case { grid-template-columns: 1fr; gap: 25px; }
  .case:nth-child(even) .case-visual { order: 0; }
  .case-visual { height: 285px; padding: 16px; }
  .case-visual img { height: 205px; }
  .case-top { margin-bottom: 18px; }
  .case h4 { font-size: 36px; }
  .case-grid { gap: 40px; }
  .process { grid-template-columns: 1fr; gap: 0; }
  .about { display: block; padding-block: 32px; }
  .about h2 { font-size: 48px; }
  .about > div:last-child { margin-top: 25px; }
  .faq { display: block; }
  .faq > .eyebrow { margin-bottom: 25px; }
  summary { font-size: 13px; gap: 15px; }
  .contact { padding-top: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 0; padding-bottom: 40px; }
  .contact h2 { font-size: 82px; }
  .contact-grid p { font-size: 14px; }
  .footer-bottom { display: block; font-size: 9px; }
  .footer-bottom > div { margin-top: 17px; }
  .page-hero { padding-block: 45px; }
  .page-hero h1 { font-size: 65px; }
  .page-hero > p:last-child { font-size: 14px; }
  .current { padding: 25px; }
  .current h2 { font-size: 38px; }
  .app-row { grid-template-columns: 1fr; gap: 25px; padding-block: 30px; }
  .app-art { height: 230px; }
  .app-list { padding-bottom: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .will-reveal { opacity: 1; transform: none; }
}

/* Personal site: identity and independent work lead the page. */
.header nav { gap: 27px; }
.personal-hero .hero-shell { grid-template-columns: 1.35fr 1fr; padding-top: 50px; padding-bottom: 48px; align-items: center; }
.personal-hero h1 { font-size: clamp(100px, 10vw, 148px); margin-bottom: 27px; }
.personal-hero .hero-main { padding-bottom: 0; }
.personal-intro { font-size: 20px; line-height: 1.5; margin-bottom: 20px; }
.personal-context { font-size: 14px; color: #c5d0e6; max-width: 380px; margin-bottom: 16px; }
.personal-hero .text-link { color: white; border-color: #546586; }
.personal-hero .hero-aside { padding-top: 0; }
.personal-hero .portrait { height: 410px; }
.personal-hero .portrait-caption { margin-top: 18px; }
.personal-hero .portrait-caption strong { font-size: 11px; font-weight: 400; }
.personal-about { border-top: 0; border-bottom: 0; padding-block: 90px; }
.personal-about h2 { font-size: 62px; }
.personal-about p:not(.eyebrow) { font-size: 15px; }
.personal-projects { background: #e8ecf3; padding-block: 75px; }
.personal-app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.personal-app { border-top: 1px solid #aeb9cc; padding-top: 27px; display: flex; flex-direction: column; }
.personal-app-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 29px; }
.personal-app-heading img { width: 64px; height: 64px; border-radius: 14px; }
.personal-app-heading span { font-family: var(--heading); color: #7887a2; font-size: 32px; }
.personal-app h3 { font-size: 39px; margin-bottom: 16px; }
.personal-app p { font-size: 13px; color: var(--muted); max-width: 320px; }
.personal-app .text-link { margin-top: auto; align-self: start; }
.career-list { border-top: 1px solid var(--ink); margin-bottom: 25px; }
.career-list article { display: grid; grid-template-columns: .75fr 1fr 1.5fr; gap: 40px; padding-block: 28px; border-bottom: 1px solid var(--line); }
.career-list article > span { font-size: 11px; color: var(--muted); }
.career-list h3 { font-size: 32px; margin-bottom: 9px; }
.career-list p { font-size: 13px; color: var(--muted); margin-bottom: 0; }
.career-list article > div > p { font-size: 11px; }
.interests { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; border-top: 4px solid var(--blue); padding-block: 45px; }
.interests h2 { font-size: 56px; }
.interests p:not(.eyebrow) { color: var(--muted); font-size: 14px; }
.interest-topics { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 25px; }
.interest-topics span { font-size: 10px; padding-bottom: 5px; border-bottom: 1px solid var(--line); }
.collaboration { border-top: 1px solid var(--line); }
.collaboration .section-head { margin-bottom: 35px; }
.collaboration-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.collaboration-options article { border-top: 1px solid var(--line); padding-top: 24px; }
.collaboration-options h3 { font-size: 31px; margin-bottom: 15px; }
.collaboration-options p { color: var(--muted); font-size: 13px; }
.collaboration-note { font-size: 12px; color: var(--muted); max-width: 600px; margin-block: 28px 20px; }
.personal-contact { background: var(--navy); padding-top: 48px; }
.personal-contact h2 { font-size: 65px; text-transform: none; }
.personal-contact .contact-grid { padding-bottom: 35px; align-items: center; }
.personal-contact .email { display: inline-flex; align-items: center; gap: 22px; margin-top: 0; }
.personal-contact .contact-grid p:not(.eyebrow) { margin-bottom: 18px; }
.personal-contact .contact-grid .eyebrow { margin-bottom: 18px; }
@media (max-width: 1100px) {
  .personal-hero .hero-shell { gap: 45px; }
  .personal-hero .portrait { height: 370px; }
  .career-list article { gap: 25px; }
  .interests { gap: 55px; }
}
@media (max-width: 700px) {
  .header nav { gap: 9px; font-size: 10px; }
  .header .nav-contact { gap: 7px; }
  .personal-hero .hero-shell { grid-template-columns: 1fr; padding-top: 35px; padding-bottom: 30px; gap: 34px; }
  .personal-hero h1 { font-size: 110px; margin-bottom: 22px; }
  .personal-intro { font-size: 18px; }
  .personal-context { font-size: 13px; max-width: 320px; }
  .personal-hero .hero-aside { display: grid; grid-template-columns: 115px 1fr; gap: 20px; padding-bottom: 0; align-items: center; }
  .personal-hero .portrait { height: 135px; grid-row: auto; }
  .personal-hero .portrait-caption { margin-top: 0; }
  .personal-hero .portrait-caption strong { font-size: 12px; }
  .personal-hero .portrait-caption span { margin-top: 9px; }
  .personal-about { padding-block: 55px; }
  .personal-about h2 { font-size: 49px; }
  .personal-about p:not(.eyebrow) { font-size: 14px; }
  .personal-projects { padding-block: 55px; }
  .personal-app-grid { grid-template-columns: 1fr; gap: 35px; }
  .personal-app { padding-top: 22px; }
  .personal-app-heading { margin-bottom: 20px; }
  .personal-app h3 { font-size: 36px; }
  .career-list article { grid-template-columns: 1fr; gap: 13px; }
  .career-list h3 { font-size: 34px; }
  .interests { display: block; padding-block: 32px; }
  .interests h2 { font-size: 48px; }
  .interests > div:last-child { margin-top: 25px; }
  .collaboration-options { grid-template-columns: 1fr; gap: 16px; }
  .collaboration h2 { font-size: 48px; }
  .personal-contact h2 { font-size: 56px; }
  .personal-contact .contact-grid { gap: 8px; }
  .personal-contact .email { font-size: 13px; gap: 12px; }
}

/* Refinement: professional profile with softer geometry and quieter typography. */
:root { --heading: 'Manrope', sans-serif; --paper: #f7f8fc; }
h1, h2, h3, h4 { letter-spacing: -.045em; line-height: 1.16; }
h2 { font-size: clamp(32px, 3.7vw, 48px); font-weight: 600; }
.brand-mark { border-radius: 15px 15px 15px 4px; }
.nav-contact { border: 1px solid var(--line); border-radius: 30px; padding: 11px 17px; }
.hero.personal-hero { margin: 0 24px; border-radius: 30px 30px 72px 30px; background: #e9eefb; color: var(--ink); }
.personal-hero .hero-shell { padding-top: 56px; padding-bottom: 46px; }
.personal-hero h1 { font-size: clamp(70px, 7vw, 100px); text-transform: none; font-weight: 600; letter-spacing: -.075em; line-height: 1.03; }
.personal-hero h1 em { color: var(--blue); }
.personal-intro { font-size: 21px; font-weight: 500; color: var(--navy); }
.personal-context { color: #52617a; line-height: 1.8; }
.personal-hero .text-link { color: var(--blue); border-color: #bcc8e5; }
.personal-hero .portrait { height: 380px; border-radius: 28px 82px 28px 28px; }
.portrait::after { border-radius: inherit; box-shadow: none; }
.personal-hero .portrait-caption { border-top: 0; padding-top: 0; }
.personal-hero .portrait-caption strong, .personal-hero .portrait-caption span { color: #52617a; }
.personal-hero .hero-baseline { border-color: #c8d2e9; color: #64718a; }
.personal-about h2 { font-size: clamp(32px, 3.7vw, 48px); }
.personal-projects { margin: 0 24px; border-radius: 32px; background: #eef1f8; }
.personal-app { border-top: 0; padding: 28px; background: #ffffffa6; border-radius: 24px; }
.personal-app h3 { font-size: 25px; }
.personal-app-heading { margin-bottom: 24px; }
.personal-app-heading span { font-family: var(--body); font-size: 12px; }
.personal-app-grid { gap: 22px; }
.case-visual { border-radius: 26px; }
.case-top > span { font-family: var(--body); font-size: 14px; }
.case h4 { font-size: 27px; }
.career-list h3 { font-size: 24px; }
.current { border-radius: 24px; border-left: 0; }
.current h2 { font-size: 32px; }
.page-hero { border-top: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(50px, 6vw, 82px); text-transform: none; }
.app-art { border-radius: 28px; }
.education { display: grid; grid-template-columns: 1fr 1.25fr; gap: 80px; padding: 45px; background: #eef1f8; border-radius: 28px; margin-bottom: 80px; }
.education-list article { position: relative; padding: 0 0 25px 60px; margin-bottom: 25px; border-bottom: 1px solid var(--line); }
.education-list article:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.education-list span { position: absolute; top: 5px; left: 0; font-size: 11px; color: var(--muted); }
.education-list h3 { font-size: 20px; margin-bottom: 12px; }
.education-list p { color: var(--muted); font-size: 13px; margin-bottom: 0; }
.collaboration h2 { font-size: clamp(32px, 3.7vw, 48px); }
.collaboration-options h3 { font-size: 23px; }
.button { border-radius: 14px; padding: 16px 21px; }
.personal-contact { margin: 0 24px 24px; border-radius: 32px; }
.personal-contact h2 { font-size: 47px; }
@media (max-width: 1100px) {
  .personal-app { padding: 23px; }
  .personal-hero .portrait { height: 340px; }
}
@media (max-width: 700px) {
  .header .nav-contact { border: 0; padding: 8px 0; border-radius: 0; }
  .hero.personal-hero, .personal-projects, .personal-contact { margin-inline: 10px; border-radius: 24px; }
  .personal-hero .hero-shell { padding-top: 34px; padding-bottom: 30px; }
  .personal-hero h1 { font-size: 69px; line-height: 1.05; }
  .personal-intro { font-size: 19px; }
  .personal-hero .portrait { height: 135px; border-radius: 16px 35px 16px 16px; }
  .personal-hero .portrait-caption strong { font-size: 10px; }
  .personal-hero .hero-baseline { font-size: 6px; letter-spacing: .9px; }
  .personal-about h2, .collaboration h2 { font-size: 33px; }
  h2 { font-size: 33px; }
  .personal-app-grid { gap: 18px; }
  .personal-app { padding: 24px; }
  .personal-app h3 { font-size: 25px; }
  .career-list h3 { font-size: 24px; }
  .education { display: block; padding: 28px; margin-bottom: 55px; }
  .education-list { margin-top: 32px; }
  .education-list h3 { font-size: 19px; }
  .education-list article { padding-left: 50px; }
  .personal-contact h2 { font-size: 36px; }
  .page-hero h1 { font-size: 45px; }
  .case h4 { font-size: 27px; }
  .current h2 { font-size: 27px; }
  .app-row h2 { font-size: 33px; }
}

/* Static locale navigation works without JavaScript. */
.header { position: relative; }
.header nav { margin-left: auto; gap: 21px; }
.language-switch { display: flex; align-items: center; gap: 3px; margin-left: 20px; padding: 4px; border: 1px solid var(--line); border-radius: 25px; }
.language-switch a { padding: 4px 7px; border-radius: 20px; font-size: 10px; line-height: 1.6; color: var(--muted); }
.language-switch [aria-current] { background: var(--navy); color: white; }
@media (max-width: 900px) and (min-width: 701px) {
  .header nav { gap: 13px; font-size: 10px; }
  .header .nav-contact { padding: 9px 11px; gap: 10px; }
  .language-switch { margin-left: 12px; }
}
@media (max-width: 700px) {
  .language-switch { position: absolute; top: 23px; right: 0; margin: 0; }
  .header nav { gap: 9px; }
}

/* Selected portrait: original color photo, framed from the chest upward. */
.personal-hero .portrait { isolation: isolate; }
.personal-hero .portrait::after { pointer-events: none; background: none; }
.personal-hero .portrait img {
  position: absolute;
  width: 220%;
  height: auto;
  max-width: none;
  left: 50%;
  top: 50%;
  transform: translate(-54%, -49.5%);
  filter: none;
  object-fit: initial;
  object-position: initial;
}
@media (max-width: 700px) {
  .personal-hero .hero-aside { display: block; }
  .personal-hero .portrait { height: 300px; width: 100%; border-radius: 20px 55px 20px 20px; }
  .personal-hero .portrait-caption { display: flex; margin-top: 16px; }
  .personal-hero .portrait-caption strong { font-size: 10px; }
  .personal-hero .portrait-caption span { font-size: 9px; }
  .personal-hero .hero-shell { gap: 27px; }
}
