/* Font Awesome Free 7.2.0 Brands; license in assets/fonts. */
@font-face {
  font-family: "Font Awesome 7 Brands";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("../fonts/fa-brands-400.woff2") format("woff2");
}
.fab { display: inline-block; font-family: "Font Awesome 7 Brands"; font-style: normal; font-weight: 400; line-height: 1; font-variant: normal; text-rendering: auto; -webkit-font-smoothing: antialiased; }
.fa-linkedin::before { content: "\f08c"; }
.fa-github::before { content: "\f09b"; }
.fa-stack-overflow::before { content: "\f16c"; }

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/dm-sans-latin.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-italic-latin.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --background: #10151d;
  --surface: #151c26;
  --surface-hover: #1a222d;
  --heading: #eeede9;
  --text: #a5adba;
  --muted: #8b95a5;
  --accent: #0064b6;
  --border: #2a323e;
  --border-soft: #222a35;
  --sans: "DM Sans", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 116px; }
body { margin: 0; background: var(--background); color: var(--text); font-family: var(--sans); font-size: 15px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: absolute; z-index: -1; top: 0; left: 0; width: 100%; height: 820px; pointer-events: none; background: radial-gradient(ellipse at 77% 35%, #20263455, transparent 55%); }
::selection { background: var(--accent); color: var(--background); }
a { color: inherit; text-decoration: none; transition: color .2s, background .2s, border-color .2s; }
a:hover { color: var(--accent); }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: default; }
button, input { border-radius: 0; }
svg { display: block; max-width: 100%; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { color: var(--heading); font-weight: 500; line-height: 1.15; letter-spacing: -.045em; }
h1 { font-size: clamp(64px, 6.5vw, 94px); font-weight: 450; line-height: 1.04; letter-spacing: -.065em; }
h2 { font-size: clamp(35px, 3.5vw, 48px); }
h3 { font-size: 22px; letter-spacing: -.03em; }
em { font-family: var(--serif); font-weight: 400; color: var(--accent); letter-spacing: -.025em; }
strong { color: var(--heading); font-weight: 500; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
#main:focus { outline: none; }
[hidden] { display: none !important; }
.container { width: min(1200px, calc(100% - 112px)); margin-inline: auto; }
.icon { flex-shrink: 0; width: 20px; height: 20px; }
.accent { color: var(--accent); }
.text-muted { color: var(--muted); }
.text-bright { color: #c8cdd4; }
.eyebrow, .micro { font-family: var(--mono); font-size: 10px; font-weight: 400; line-height: 1.7; letter-spacing: .12em; }
.eyebrow { display: flex; align-items: center; gap: 13px; color: var(--muted); }
.small-rule { width: 27px; height: 1px; background: var(--accent); flex-shrink: 0; }
.section-number { color: var(--accent); font: 11px/1.7 var(--mono); letter-spacing: .04em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 16px; padding: 10px 18px; background: var(--accent); color: var(--background); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); color: var(--background); }

/* A quiet, persistent masthead. */
.site-header { position: sticky; top: 0; z-index: 30; background: rgb(16 21 29 / 94%); border-bottom: 1px solid var(--border-soft); backdrop-filter: blur(18px); }
.header-inner { height: 96px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 36px; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 13px; width: fit-content; color: var(--heading); font-size: 19px; font-weight: 550; letter-spacing: -.05em; }
.brand-mark { stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; width: 32px; height: 32px; transition: transform .35s; }
.brand:hover .brand-mark { transform: translateY(-2px); }
.main-nav { display: flex; align-items: center; gap: 31px; }
.main-nav a { position: relative; padding-block: 15px; font-size: 13px; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.main-nav a[aria-current] { color: var(--heading); }
.main-nav a[aria-current]::after { transform: scaleX(1); }
.social-links { display: flex; justify-self: end; gap: 4px; }
.social-links a { display: grid; place-items: center; width: 38px; height: 42px; color: #9da7b6; border: 1px solid transparent; border-radius: 4px; }
.social-links a:hover { color: var(--accent); background: var(--surface); border-color: var(--border); }
.social-links .fab { font-size: 17px; }

/* Introduction. */
.hero { padding-block: 92px 77px; }
.hero-copy { position: relative; z-index: 1; }
.hero .eyebrow { margin-bottom: 29px; color: #b9bdc5; }
.hero h1 { white-space: nowrap; }
.hero-typewriter { display: block; }
.hero-title-line { display: block; height: 1.12em; line-height: 1.06; }
.hero-cursor { display: inline-block; width: .025em; height: .75em; margin-left: .08em; background: var(--accent); vertical-align: -.015em; animation: cursor-blink .9s step-end infinite; }
.hero-typewriter.is-paused .hero-cursor { animation-play-state: paused; }
@keyframes cursor-blink { 50% { opacity: 0; } }
.hero-intro { margin-top: 29px; max-width: 410px; font-size: 16px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 30px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 25px; min-height: 49px; padding: 12px 20px; border: 1px solid transparent; border-radius: 3px; font-size: 12px; font-weight: 600; line-height: 1.5; transition: transform .25s, color .2s, background .2s, border-color .2s; }
.button .icon { width: 17px; height: 17px; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #ffffff; }
.button-primary:hover { background: #2b8fdc; color: #ffffff; }
.text-link { display: inline-flex; align-items: center; gap: 13px; min-height: 44px; color: var(--heading); font-size: 13px; }
.text-link .icon { width: 16px; height: 16px; transition: transform .2s; }
.text-link:hover .icon { transform: translateX(3px); }
.hero-location { display: flex; align-items: center; gap: 7px; margin-top: 41px; font-size: 10px; color: var(--muted); }
.hero-location .icon { width: 13px; height: 13px; }
.location-line { width: 18px; height: 1px; margin-inline: 7px; background: #485261; }

/* One current chapter, three areas of focus. */
.current-role { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 33px; min-height: 89px; padding: 22px 29px; border: 1px solid var(--border); background: linear-gradient(100deg, #1a202a, #141b24); border-radius: 3px; }
.current-role:hover { border-color: #2e6391; background: var(--surface-hover); }
.current-label { display: flex; align-items: center; gap: 11px; color: var(--muted); font: 9px/1.6 var(--mono); letter-spacing: .085em; }
.status-dot { display: inline-block; flex-shrink: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgb(0 100 182 / 15%); }
.current-position { color: var(--heading); font-size: 14px; font-weight: 450; }
.current-position .text-muted { margin-inline: 3px; }
.current-since { display: flex; gap: 27px; align-items: center; font: 10px var(--mono); color: var(--muted); white-space: nowrap; }
.current-since .icon { width: 19px; height: 19px; color: var(--accent); }
.expertise-section { padding-block: 111px 102px; }
.section-heading { display: grid; grid-template-columns: 1.2fr 1fr; gap: 23px 100px; align-items: end; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading > p:last-child { max-width: 280px; justify-self: end; padding-bottom: 5px; font-size: 13px; line-height: 1.9; }
.expertise-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 47px; }
.expertise-item { border-top: 1px solid var(--border); padding-top: 28px; }
.expertise-icon { display: flex; align-items: center; justify-content: space-between; color: var(--accent); margin-bottom: 25px; }
.expertise-icon .icon { width: 26px; height: 26px; stroke-width: 1.15; }
.expertise-icon .micro { color: var(--muted); font-size: 9px; }
.expertise-item h3 { font-size: 20px; margin-bottom: 15px; }
.expertise-item > p { font-size: 13px; line-height: 1.9; max-width: 305px; min-height: 75px; }
.expertise-tags { display: flex; gap: 10px 17px; flex-wrap: wrap; margin-top: 24px; font: 9px/1.6 var(--mono); color: #a0abbb; }
.expertise-tags span + span::before { content: "/"; margin-right: 17px; color: #566174; }

/* Shared footer. */
.site-footer { border-top: 1px solid var(--border-soft); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 25px; min-height: 93px; font-size: 11px; }
.back-to-top { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.back-to-top .icon { width: 14px; height: 14px; }

/* Resume: an architectural career route and a quiet section index. */
.page-heading { padding-block: 76px 57px; border-bottom: 1px solid var(--border); }
.page-heading > .eyebrow { margin-bottom: 27px; }
.page-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.page-heading h1 { font-size: clamp(60px, 5.7vw, 80px); }
.page-intro { margin-top: 25px; font-size: 14px; line-height: 1.9; }
.resume-layout { display: grid; grid-template-columns: 218px minmax(0, 1fr); gap: 90px; padding-top: 65px; }
.sidebar-inner { position: sticky; top: 135px; }
.resume-overview { margin: 27px 0 33px; }
.resume-overview > div { margin-bottom: 19px; }
.resume-overview dt { color: var(--muted); font-size: 11px; margin-bottom: 3px; }
.resume-overview dd { margin: 0; color: var(--heading); font-size: 13px; }
.resume-nav { display: flex; flex-direction: column; gap: 2px; padding-block: 23px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.resume-nav a { display: flex; align-items: center; gap: 15px; min-height: 41px; font-size: 12px; }
.resume-nav a span { font: 9px var(--mono); color: var(--muted); }
.resume-nav a.is-active, .resume-nav a.is-active span { color: var(--accent); }
.resume-section { scroll-margin-top: 0; margin-bottom: 72px; }
.resume-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 31px; }
.resume-section-heading h2 { display: flex; align-items: center; gap: 15px; font-size: 25px; letter-spacing: -.04em; }
.resume-section-heading .micro { font-size: 9px; color: var(--muted); letter-spacing: .08em; }
.current-badge { display: flex; align-items: center; gap: 8px; color: var(--accent); font: 9px var(--mono); }
.current-badge .status-dot { width: 4px; height: 4px; box-shadow: none; }
.skills-list { border-top: 1px solid var(--border); }
.skill-group { padding: 24px 0; border-bottom: 1px solid var(--border); }
.skill-group h3 { font-size: 13px; color: #bac2cd; font-weight: 450; letter-spacing: 0; margin-bottom: 14px; }
.skill-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.skill-tags li { border: 1px solid #343e4c; background: #18202b; color: #c7cdd6; font-size: 11px; line-height: 1.5; padding: 7px 11px; border-radius: 3px; }
.education-card { display: flex; align-items: flex-start; gap: 22px; padding: 27px; background: var(--surface); border: 1px solid var(--border); border-radius: 4px; }
.detail-icon { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border: 1px solid #24486c; border-radius: 4px; color: var(--accent); background: #14222f; }
.detail-icon .icon { width: 22px; height: 22px; }
.education-card .micro { color: var(--accent); font-size: 9px; margin-bottom: 9px; }
.education-card h3 { font-size: 21px; margin-bottom: 8px; }
.education-card p:last-child { font-size: 12px; }
.certifications-section { margin-bottom: 0; }
.credential-card { display: flex; align-items: center; gap: 20px; padding: 22px 26px; border: 1px solid var(--border); border-radius: 4px; }
.credential-card:hover { border-color: #2e6391; background: var(--surface); }
.credential-card strong { font-size: 15px; font-weight: 450; }
.credential-description { display: block; margin-top: 4px; font-size: 11px; color: var(--muted); }
.credential-card > .icon { margin-left: auto; color: var(--accent); }

/* Orthogonal connections alternate left and right between career milestones. */
.career-map { position: relative; padding-top: 22px; border-top: 1px solid var(--border); }
.career-map-key { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 34px; font-size: 8px; letter-spacing: .085em; color: var(--muted); }
.career-map-key > span:last-child { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.career-path { position: relative; list-style: none; padding: 0; margin: 0; background-image: radial-gradient(#78869a14 .7px, transparent .7px); background-size: 24px 24px; }
.career-stop { position: relative; min-height: 250px; padding-block: 10px 65px; }
.career-stop:last-child { min-height: 195px; padding-bottom: 15px; }
.career-connector { position: absolute; top: 30px; left: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.career-stop:nth-child(even) .career-connector { transform: scaleX(-1); }
.career-track { stroke: #66788f; stroke-opacity: .65; stroke-width: 1; stroke-linecap: butt; stroke-linejoin: miter; }
.career-stop-current .career-track { stroke: var(--accent); stroke-opacity: .8; }
.career-marker { position: absolute; z-index: 2; left: 10%; top: 30px; display: grid; place-items: center; width: 27px; height: 27px; transform: translate(-50%, -50%); border: 1px solid #8897ab; border-radius: 50%; background: var(--background); box-shadow: 0 0 0 7px var(--background); transition: border-color .3s, box-shadow .3s; }
.career-marker > span { width: 7px; height: 7px; border-radius: 50%; background: #9faec1; }
.career-stop:nth-child(even) .career-marker { left: 90%; }
.career-stop-current .career-marker { border-color: var(--accent); box-shadow: 0 0 0 6px var(--background), 0 0 0 7px #0064b633, 0 0 27px #0064b618; }
.career-stop-current .career-marker > span { background: var(--accent); }
.career-stop:hover .career-marker { border-color: var(--accent); box-shadow: 0 0 0 6px var(--background), 0 0 0 7px #0064b633; }
.career-entry { position: relative; z-index: 1; width: calc(80% - 38px); margin-left: calc(10% + 38px); }
.career-stop:nth-child(even) .career-entry { margin-left: auto; margin-right: calc(10% + 38px); text-align: right; }
.career-yearline { display: flex; align-items: center; gap: 19px; margin-bottom: 11px; }
.career-stop:nth-child(even) .career-yearline { flex-direction: row-reverse; }
.career-year { color: #c4ccd7; font: italic 43px/1 var(--serif); letter-spacing: -.035em; }
.career-stop-current .career-year { color: var(--accent); }
.career-entry h3 { font-size: 26px; font-weight: 500; }
.career-company { margin: 0; }
.career-role { margin-top: 6px; font-size: 14px; color: #c3cad4; }
.career-stop-current .career-company { color: var(--accent); }
.career-dates { margin-top: 12px; color: #a1adbe; font: 10px/1.8 var(--mono); }
.career-dates > span[aria-hidden] { margin-inline: 4px; color: var(--muted); }
.career-duration { margin-top: 5px; color: var(--muted); font: 9px/1.8 var(--mono); }
.career-origin { display: flex; align-items: center; gap: 11px; margin: 6px 0 0 10%; padding: 20px 0 0; color: var(--muted); font: 8px/1.8 var(--mono); letter-spacing: .09em; }
.career-origin .small-rule { width: 19px; background: #69758a; }
.page-resume .resume-layout { padding-bottom: 77px; }

/* An orbital detour for missing pages. */
.page-404 { min-height: 100svh; display: flex; flex-direction: column; }
.page-404 main { flex: 1; display: grid; align-items: center; }
.not-found { padding-block: 57px 65px; text-align: center; }
.not-found > .eyebrow { justify-content: center; }
.error-visual { position: relative; display: flex; align-items: center; justify-content: center; gap: 15px; width: min(480px, 100%); margin: 14px auto 29px; padding-bottom: 19px; background-image: radial-gradient(#66748740 .75px, transparent .75px); background-size: 22px 22px; }
.error-four { color: #d2d0cd; font-size: 195px; font-weight: 450; line-height: 1.2; letter-spacing: -.065em; }
.error-orbit { position: relative; width: 151px; height: 172px; flex-shrink: 0; perspective: 400px; }
.orbit-ring { position: absolute; inset: 5px 1px; border: 1px solid #3f7bb0; border-radius: 50%; }
.orbit-ring-one { transform: rotate(-30deg) rotateY(42deg); }
.orbit-ring-two { transform: rotate(35deg) rotateY(-45deg); border-color: #78859a; }
.orbit-core { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; border: 1px solid var(--accent); background: linear-gradient(145deg, #0064b622, #0064b605); transform: translate(-50%, -50%) rotate(45deg); }
.orbit-node { position: absolute; top: 22px; left: 31px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 18px #0064b655; }
.error-coordinate { position: absolute; bottom: 0; left: 0; right: 0; font-size: 9px; color: var(--muted); }
.not-found h1 { font-size: 64px; }
.not-found-copy { margin-top: 18px; font-size: 14px; line-height: 1.9; }
.not-found-actions { display: flex; justify-content: center; align-items: center; gap: 28px; margin-top: 30px; }

/* Progressive enhancement: visible by default, animated only when supported. */
@media (prefers-reduced-motion: no-preference) {
  .hero-enter { animation: enter .8s cubic-bezier(.2,.65,.3,1) both; }
  .hero-enter:nth-child(2) { animation-delay: .08s; }
  .hero-enter:nth-child(3) { animation-delay: .16s; }
  .hero-enter:nth-child(4) { animation-delay: .24s; }
  .hero-enter:nth-child(5) { animation-delay: .32s; }
  [data-reveal].reveal-pending { opacity: 0; transform: translateY(19px); }
  [data-reveal] { transition: opacity .7s ease, transform .7s cubic-bezier(.2,.65,.3,1); }
  .expertise-item:nth-child(2) { transition-delay: .07s; }
  .expertise-item:nth-child(3) { transition-delay: .14s; }
  .orbit-ring-one { animation: orbit-turn 4.8s ease-in-out 1; }
  .orbit-ring-two { animation: orbit-turn-other 4.8s ease-in-out 1; }
}
@keyframes enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes orbit-turn { 50% { transform: rotate(20deg) rotateY(65deg); } }
@keyframes orbit-turn-other { 50% { transform: rotate(-10deg) rotateY(-65deg); } }

@media (min-width: 1600px) {
  .hero { padding-block: 115px 95px; }
}
@media (max-width: 1100px) {
  .container { width: calc(100% - 80px); }
  .hero { padding-block: 72px 65px; }
  .hero h1 { font-size: clamp(55px, 6.5vw, 74px); }
  .hero-intro { max-width: 370px; font-size: 14px; }
  .hero-location { flex-wrap: wrap; font-size: 9px; }
  .hero-actions { gap: 22px; }
  .current-role { gap: 22px; padding-inline: 23px; }
  .current-label { font-size: 8px; }
  .current-position { font-size: 12px; }
  .current-since { gap: 18px; font-size: 9px; }
  .section-heading { gap: 23px 50px; }
  .expertise-grid { gap: 28px; }
  .expertise-item h3 { font-size: 18px; }
  .resume-layout { grid-template-columns: 175px minmax(0, 1fr); gap: 45px; }
}
@media (max-width: 800px) {
  .container { width: calc(100% - 48px); }
  .header-inner { height: 80px; gap: 22px; }
  .brand { font-size: 17px; gap: 10px; }
  .brand-mark { width: 28px; height: 28px; }
  .main-nav { gap: 23px; }
  .social-links { gap: 0; }
  .social-links a { width: 33px; }
  .hero { padding-block: 62px 48px; }
  .hero-copy { max-width: 600px; }
  .hero h1 { font-size: clamp(60px, 10.3vw, 82px); }
  .hero-intro { max-width: 440px; font-size: 15px; }
  .hero-location { font-size: 10px; margin-top: 30px; }
  .current-role { grid-template-columns: 1fr auto; gap: 10px 20px; }
  .current-label { grid-column: 1 / -1; font-size: 9px; }
  .current-position { font-size: 13px; }
  .current-since { font-size: 9px; }
  .expertise-section { padding-block: 73px 65px; }
  .section-heading { gap: 22px 30px; }
  .section-heading h2 { font-size: 35px; }
  .section-heading > p:last-child { font-size: 12px; max-width: 230px; }
  .expertise-grid { gap: 23px; }
  .expertise-item h3 { font-size: 18px; min-height: 42px; }
  .expertise-item > p { font-size: 12px; min-height: 114px; }
  .expertise-tags { gap: 8px; font-size: 8px; }
  .expertise-tags span + span::before { display: none; }
  .page-heading { padding-block: 58px 43px; }
  .page-heading h1 { font-size: 64px; }
  .resume-layout { grid-template-columns: 1fr; padding-top: 0; gap: 33px; }
  .resume-sidebar { position: sticky; z-index: 15; top: 80px; margin-inline: -24px; padding-inline: 24px; background: rgb(16 21 29 / 96%); border-bottom: 1px solid var(--border); }
  .sidebar-inner { position: static; }
  .sidebar-inner > .eyebrow, .resume-overview { display: none; }
  .resume-nav { flex-direction: row; justify-content: space-between; gap: 15px; border: 0; padding-block: 10px; }
  .resume-nav a { gap: 9px; font-size: 11px; }
  .resume-nav a span { font-size: 8px; }
  html:has(.page-resume) { scroll-padding-top: 162px; }
  .resume-section { margin-bottom: 53px; }
  .certifications-section { margin-bottom: 0; }
}
@media (max-width: 540px) {
  .container { width: calc(100% - 40px); }
  .header-inner { height: 111px; grid-template-columns: 1fr auto; gap: 0 20px; padding-top: 10px; }
  .brand { font-size: 18px; }
  .brand-mark { width: 28px; height: 28px; }
  .social-links { grid-column: 2; grid-row: 1; gap: 1px; }
  .social-links a { width: 32px; height: 40px; }
  .social-links .fab { font-size: 16px; }
  .main-nav { grid-row: 2; grid-column: 1 / -1; justify-content: center; gap: 40px; }
  .main-nav a { font-size: 12px; padding-block: 9px 15px; }
  .main-nav a::after { bottom: 8px; }
  html { scroll-padding-top: 136px; }
  .hero { padding-block: 49px 35px; }
  .hero .eyebrow { margin-bottom: 25px; font-size: 9px; }
  .hero h1 { font-size: clamp(46px, 11.5vw, 62px); }
  .hero-intro { font-size: 14px; line-height: 1.9; margin-top: 22px; max-width: 350px; }
  .hero-actions { gap: 24px; margin-top: 26px; }
  .button { min-height: 47px; padding: 12px 16px; font-size: 11px; gap: 17px; }
  .text-link { font-size: 12px; gap: 9px; }
  .hero-location { gap: 5px; margin-top: 28px; font-size: 9px; }
  .location-line { width: 10px; margin-inline: 4px; }
  .current-role { grid-template-columns: 1fr; gap: 11px; padding: 20px; }
  .current-label { grid-column: auto; }
  .current-position { font-size: 13px; }
  .current-since { justify-content: space-between; margin-top: 2px; }
  .expertise-section { padding-block: 61px 53px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .section-heading .eyebrow { font-size: 9px; }
  .section-heading h2 { font-size: 36px; }
  .section-heading > p:last-child { justify-self: start; max-width: 300px; font-size: 13px; }
  .expertise-grid { grid-template-columns: 1fr; gap: 31px; margin-top: 28px; }
  .expertise-item { padding-top: 23px; }
  .expertise-icon { margin-bottom: 18px; }
  .expertise-item h3 { min-height: 0; font-size: 22px; margin-bottom: 12px; }
  .expertise-item > p { min-height: 0; max-width: 335px; font-size: 13px; }
  .expertise-tags { margin-top: 18px; font-size: 9px; gap: 17px; }
  .expertise-tags span + span::before { display: inline; }
  .footer-inner { min-height: 79px; font-size: 10px; gap: 18px; }
  .back-to-top { gap: 7px; }
  .page-heading { padding-block: 46px 35px; }
  .page-heading > .eyebrow { font-size: 9px; margin-bottom: 25px; }
  .page-heading-row { align-items: flex-start; flex-direction: column; gap: 23px; }
  .page-heading h1 { font-size: clamp(48px, 12vw, 63px); }
  .page-intro { font-size: 12px; margin-top: 22px; }
  .page-intro br { display: none; }
  .resume-sidebar { top: 111px; margin-inline: -20px; padding-inline: 20px; }
  .resume-nav { gap: 8px; padding-block: 6px; }
  .resume-nav a { font-size: 10px; gap: 6px; }
  .resume-nav a span { font-size: 8px; }
  html:has(.page-resume) { scroll-padding-top: 184px; }
  .resume-section-heading { gap: 10px; margin-bottom: 25px; }
  .resume-section-heading h2 { font-size: 22px; gap: 10px; }
  .resume-section-heading .micro { font-size: 7px; letter-spacing: .035em; }
  .resume-section-heading .section-number { font-size: 9px; }
  .current-badge { font-size: 8px; }
  .education-card { padding: 20px; gap: 15px; }
  .detail-icon { width: 37px; height: 37px; }
  .detail-icon .icon { width: 19px; height: 19px; }
  .education-card h3 { font-size: 20px; }
  .education-card p:last-child { font-size: 11px; }
  .credential-card { padding: 20px 17px; gap: 13px; }
  .credential-card strong { font-size: 13px; }
  .credential-description { font-size: 10px; }
  .credential-card > .icon { width: 17px; }
  .not-found { padding-block: 40px 50px; }
  .not-found .eyebrow { font-size: 9px; }
  .error-visual { gap: 7px; margin-block: 23px 30px; padding-bottom: 30px; }
  .error-four { font-size: 145px; }
  .error-orbit { width: 108px; height: 127px; }
  .orbit-core { width: 35px; height: 35px; }
  .orbit-node { top: 14px; left: 19px; width: 6px; height: 6px; }
  .not-found h1 { font-size: 48px; }
  .not-found-copy { font-size: 12px; }
  .not-found-actions { flex-direction: column; gap: 13px; margin-top: 25px; }
}
@media (max-width: 360px) {
  .brand { font-size: 16px; gap: 8px; }
  .social-links a { width: 28px; }
  .hero h1 { font-size: 43px; }
  .hero-location { font-size: 8px; }
  .hero-actions { gap: 17px; }
  .hero-actions .button { gap: 10px; padding-inline: 13px; }
  .resume-nav a { font-size: 9px; gap: 5px; }
}
@media (max-width: 1100px) {
  .career-entry h3 { font-size: 24px; }
  .career-entry { width: calc(80% - 30px); margin-left: calc(10% + 30px); }
  .career-stop:nth-child(even) .career-entry { margin-right: calc(10% + 30px); }
}
@media (max-width: 540px) {
  .career-map-key { font-size: 6.5px; gap: 10px; letter-spacing: .05em; margin-bottom: 28px; }
  .career-map-key .status-dot { width: 4px; height: 4px; }
  .career-stop { min-height: 275px; padding-block: 12px 75px; }
  .career-stop:last-child { min-height: 190px; padding-bottom: 12px; }
  .career-marker { width: 22px; height: 22px; }
  .career-marker > span { width: 6px; height: 6px; }
  .career-entry { width: calc(80% - 24px); margin-left: calc(10% + 24px); }
  .career-stop:nth-child(even) .career-entry { margin-right: calc(10% + 24px); }
  .career-yearline { gap: 12px; margin-bottom: 11px; }
  .career-year { font-size: 36px; }
  .career-yearline .current-badge { font-size: 7px; gap: 6px; }
  .career-entry h3 { font-size: 23px; line-height: 1.2; }
  .career-role { font-size: 12px; margin-top: 6px; }
  .career-dates { font-size: 9px; margin-top: 11px; }
  .career-duration { font-size: 8px; }
  .career-origin { font-size: 7px; }
  .page-resume .resume-layout { padding-bottom: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal].reveal-pending { opacity: 1; transform: none; }
}
