:root {
  --bg: #09090b;
  --surface: #111114;
  --surface-raised: #18181b;
  --surface-soft: #202024;
  --line: rgba(255, 255, 255, .11);
  --line-soft: rgba(255, 255, 255, .07);
  --text: #fafafa;
  --muted: #a1a1aa;
  --quiet: #71717a;
  --blue: #2563eb;
  --blue-light: #60a5fa;
  --blue-pale: #bfdbfe;
  --green: #67e8a9;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { min-width: 320px; margin: 0; overflow-x: hidden; color: var(--text); background: var(--bg); font-family: var(--sans); line-height: 1.5; }
body::selection { color: #07111f; background: var(--blue-light); }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3, p { margin-top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: -4rem; left: 1rem; padding: .8rem 1rem; color: #fff; background: var(--blue); border-radius: .5rem; font-size: .86rem; font-weight: 750; }
.skip-link:focus { top: 0; }
.section-shell { width: min(1180px, calc(100% - 3rem)); margin: 0 auto; }
.section-space { padding-top: clamp(5.75rem, 10vw, 9.4rem); padding-bottom: clamp(5.75rem, 10vw, 9.4rem); }

.site-noise { position: fixed; z-index: 50; inset: 0; pointer-events: none; opacity: .045; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E"); }

/* Navigation */
.site-header { position: sticky; z-index: 20; top: 0; display: flex; align-items: center; justify-content: space-between; width: min(1280px, calc(100% - 3rem)); height: 86px; margin: 0 auto; transition: height .28s ease, background .28s ease, border .28s ease; }
.site-header::before { position: absolute; z-index: -1; inset: 0 -1.25rem; content: ""; border-bottom: 1px solid transparent; transition: background .28s ease, border .28s ease, box-shadow .28s ease; }
.site-header.scrolled { height: 70px; }
.site-header.scrolled::before { border-color: var(--line-soft); background: rgba(9, 9, 11, .78); box-shadow: 0 8px 35px rgba(0, 0, 0, .18); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: baseline; color: #fff; font-size: 1.42rem; font-weight: 850; letter-spacing: -.09em; }
.brand-mark { letter-spacing: -.12em; }
.brand-dot { color: var(--blue-light); }
.desktop-nav { display: flex; align-items: center; gap: clamp(1.1rem, 2vw, 2rem); }
.nav-link { position: relative; padding: .5rem 0; color: #a1a1aa; font-size: .78rem; font-weight: 750; letter-spacing: .01em; transition: color .2s ease; }
.nav-link::after { position: absolute; right: 0; bottom: 0; left: 0; height: 1px; content: ""; background: var(--blue-light); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); transform-origin: left; }
.header-contact { display: inline-flex; align-items: center; gap: .42rem; padding: .64rem .95rem; color: #fff; border: 1px solid rgba(255,255,255,.19); border-radius: 999px; font-size: .76rem; font-weight: 750; transition: border-color .2s ease, background .2s ease; }
.header-contact span { color: var(--blue-light); font-size: 1rem; line-height: .7; }
.header-contact:hover { border-color: var(--blue-light); background: rgba(96,165,250,.08); }
.menu-toggle, .mobile-nav { display: none; }

/* Reusable headings */
.section-kicker { display: flex; align-items: center; gap: .65rem; margin: 0; color: var(--blue-light); font-size: .68rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.section-kicker span { display: inline-grid; width: 1.55rem; height: 1.55rem; place-items: center; color: #dbeafe; border: 1px solid rgba(96,165,250,.4); border-radius: 50%; font-size: .58rem; letter-spacing: 0; }
.section-intro { max-width: 740px; }
.section-intro h2 { margin: .92rem 0 0; color: #f5f5f5; font: 400 clamp(2.7rem, 5.3vw, 5.25rem)/.95 var(--serif); letter-spacing: -.065em; }
.section-intro h2 em { color: var(--blue-light); font-weight: inherit; }
.section-head-row { display: flex; align-items: end; justify-content: space-between; gap: 2.5rem; }
.section-note { max-width: 285px; margin: 0 0 .38rem; color: var(--muted); font-size: .9rem; line-height: 1.65; }
.card-label { margin: 0; color: #a5b4fc; font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(300px, .82fr) minmax(420px, 1.18fr); align-items: center; min-height: calc(100svh - 86px); padding-top: 3.2rem; padding-bottom: 4.7rem; gap: clamp(3rem, 8vw, 8.5rem); }
.hero-portrait-col { position: relative; width: min(100%, 410px); justify-self: center; }
.portrait-frame { position: relative; aspect-ratio: .718; overflow: visible; border-radius: 220px 220px 12px 12px; background: linear-gradient(145deg, #1d4e6c, #18212f); box-shadow: 0 24px 70px rgba(0,0,0,.32); animation: float 7s ease-in-out infinite; }
.portrait-frame::before { position: absolute; z-index: 2; inset: 10px; content: ""; border: 1px solid rgba(255,255,255,.45); border-radius: inherit; pointer-events: none; }
.portrait-frame::after { position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; height: 32%; content: ""; border-radius: 0 0 12px 12px; background: linear-gradient(transparent, rgba(4,8,12,.38)); pointer-events: none; }
.portrait-frame img { display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; object-position: center 16%; filter: saturate(.91) contrast(1.06); }
.portrait-label { position: absolute; z-index: 4; right: -1.5rem; bottom: 1.8rem; display: inline-flex; align-items: center; gap: .48rem; padding: .7rem .85rem; color: #e5e7eb; border: 1px solid rgba(255,255,255,.16); border-radius: .55rem; background: rgba(9, 9, 11, .73); box-shadow: 0 10px 30px rgba(0,0,0,.25); backdrop-filter: blur(12px); font-size: .67rem; font-weight: 730; white-space: nowrap; }
.status-dot { width: .43rem; height: .43rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(103,232,169,.11); }
.portrait-orbit { position: absolute; z-index: -1; border-radius: 50%; }
.portrait-orbit-one { top: -1.7rem; right: -2.4rem; width: 9rem; height: 9rem; border: 1px solid rgba(96,165,250,.38); }
.portrait-orbit-two { bottom: 2.9rem; left: -3.2rem; width: 5.8rem; height: 5.8rem; border: 1px solid rgba(96,165,250,.23); }
.portrait-footnote { display: flex; align-items: center; gap: .5rem; margin-top: 1.3rem; color: #6b7280; font-size: .58rem; font-weight: 780; letter-spacing: .105em; text-transform: uppercase; white-space: nowrap; }
.portrait-footnote strong { color: #bfc5cc; font-size: inherit; }
.footnote-line { flex: 1; min-width: 1rem; height: 1px; background: var(--line); }
.hero-content { max-width: 670px; }
.hero h1 { margin: 1rem 0 .76rem; color: #fff; font: 400 clamp(4.6rem, 10.4vw, 9.35rem)/.78 var(--serif); letter-spacing: -.095em; }
.hero h1 em { color: var(--blue-light); font-weight: inherit; }
.hero-role { margin: 0; color: #f4f4f5; font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 560; letter-spacing: -.028em; }
.hero-specialism { margin: .55rem 0 1.85rem; color: var(--muted); font-size: .76rem; font-weight: 720; letter-spacing: .055em; text-transform: uppercase; }
.hero-specialism span { padding: 0 .35rem; color: var(--blue-light); }
.hero-summary { max-width: 640px; margin: 0; color: #c2c2c8; font-size: clamp(.98rem, 1.28vw, 1.08rem); line-height: 1.78; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2.1rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 2.85rem; padding: .72rem 1.12rem; border: 1px solid transparent; border-radius: .52rem; font-size: .78rem; font-weight: 820; letter-spacing: .005em; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #eff6ff; background: var(--blue); box-shadow: 0 12px 28px rgba(37,99,235,.21); }
.button-primary:hover { background: #3172ee; box-shadow: 0 16px 32px rgba(37,99,235,.3); }
.button-secondary { color: #e5e7eb; border-color: rgba(255,255,255,.17); background: rgba(255,255,255,.03); }
.button-secondary:hover { border-color: rgba(96,165,250,.65); background: rgba(96,165,250,.08); }
.hero-socials { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 2rem; }
.hero-socials a, .social-muted { color: #9ca3af; font-size: .74rem; font-weight: 760; transition: color .2s ease; }
.hero-socials a:hover { color: var(--blue-light); }
.hero-socials a span { margin-left: .1rem; color: var(--blue-light); }
.social-muted { color: #56565e; cursor: default; }

.signal-bar { overflow: hidden; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: #0c0c0f; }
.signal-track { display: inline-flex; align-items: center; gap: 1.65rem; min-width: max-content; padding: 1.03rem 1.65rem; color: #b4b4bc; font-size: .69rem; font-weight: 820; letter-spacing: .12em; text-transform: uppercase; animation: marquee 34s linear infinite; }
.signal-track i { color: var(--blue-light); font-size: .75rem; font-style: normal; }

/* About and stats */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: clamp(3rem, 9vw, 8.5rem); margin-top: 3.8rem; }
.about-story { max-width: 700px; }
.about-story p { margin: 0; color: #c2c2c8; font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.82; letter-spacing: -.018em; }
.about-story p + p { margin-top: 1.65rem; color: #92929b; }
.aspiration-card { position: relative; min-height: 270px; padding: 1.5rem; overflow: hidden; border: 1px solid rgba(96,165,250,.25); border-radius: .8rem; background: linear-gradient(140deg, rgba(37,99,235,.2), rgba(24,24,27,.76) 52%); }
.aspiration-card::after { position: absolute; right: -3rem; bottom: -4rem; width: 13rem; height: 13rem; content: ""; border: 1px solid rgba(96,165,250,.24); border-radius: 50%; }
.eyebrow-icon { position: relative; z-index: 1; display: grid; width: 2rem; height: 2rem; place-items: center; color: var(--blue-pale); border: 1px solid rgba(96,165,250,.32); border-radius: 50%; }
.aspiration-card .card-label { position: relative; z-index: 1; margin-top: 2rem; }
.aspiration-card h3 { position: relative; z-index: 1; margin: .5rem 0 .75rem; color: #f5f5f5; font: 400 1.55rem/1.09 var(--serif); letter-spacing: -.045em; }
.aspiration-card > p:last-child { position: relative; z-index: 1; margin: 0; color: #b4bac2; font-size: .82rem; line-height: 1.62; }
.stats-section { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--surface); }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat-card { display: flex; flex-direction: column; justify-content: center; min-height: 180px; padding: 1.5rem clamp(.8rem, 2vw, 2rem); border-left: 1px solid var(--line-soft); }
.stat-card:last-child { border-right: 1px solid var(--line-soft); }
.stat-card strong { color: #fff; font: 400 clamp(2.6rem, 4.2vw, 4.2rem)/.86 var(--serif); letter-spacing: -.08em; }
.stat-card strong b { color: var(--blue-light); font-weight: inherit; }
.stat-card > span { margin-top: .92rem; color: #9b9ca4; font-size: .66rem; font-weight: 750; letter-spacing: .055em; line-height: 1.45; text-transform: uppercase; }

/* Skills */
.skills-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: .85rem; margin-top: 3.5rem; }
.skill-card { grid-column: span 4; min-height: 320px; padding: 1.5rem; border: 1px solid var(--line); border-radius: .8rem; background: var(--surface-raised); transition: transform .28s ease, border-color .28s ease, background .28s ease; }
.skill-card:hover { border-color: rgba(96,165,250,.5); background: #1d1d21; transform: translateY(-5px); }
.skill-card-featured { grid-column: span 6; min-height: 360px; background: linear-gradient(135deg, rgba(37,99,235,.2), #18181b 68%); }
.skill-card:nth-child(4), .skill-card:nth-child(5) { grid-column: span 3; }
.skill-icon { display: grid; width: 2rem; height: 2rem; place-items: center; color: var(--blue-light); border: 1px solid rgba(96,165,250,.3); border-radius: .45rem; font-size: 1rem; }
.skill-card .card-label { margin-top: 1.65rem; color: #9ba8bd; }
.skill-card h3 { margin: .38rem 0 0; color: #f3f4f6; font: 400 clamp(1.65rem, 2.2vw, 2.25rem)/1 var(--serif); letter-spacing: -.05em; }
.skill-card > p:not(.card-label) { max-width: 420px; margin: .7rem 0 0; color: #a8a8b0; font-size: .84rem; line-height: 1.65; }
.chips { display: flex; flex-wrap: wrap; gap: .42rem; align-content: flex-end; margin-top: 1.3rem; }
.chips span { padding: .3rem .5rem; color: #bbbcc5; border: 1px solid rgba(255,255,255,.09); border-radius: .24rem; background: rgba(255,255,255,.025); font-size: .65rem; font-weight: 700; }
.skill-card:hover .chips span { border-color: rgba(96,165,250,.16); }

/* Experience */
.experience-timeline { position: relative; margin: 3.7rem 0 0; padding: 0; list-style: none; }
.experience-timeline::before { position: absolute; top: .4rem; bottom: .4rem; left: 29.4%; width: 1px; content: ""; background: linear-gradient(var(--blue), rgba(96,165,250,.12)); }
.experience-item { position: relative; display: grid; grid-template-columns: 23% 13% 1fr; gap: 0; padding: 0 0 2.1rem; }
.experience-item:last-child { padding-bottom: 0; }
.timeline-period { padding-top: .8rem; color: #d4d4d8; font-size: .78rem; font-weight: 760; }
.timeline-period span { display: block; }
.timeline-period small { display: block; margin-top: .22rem; color: #73737d; font-size: .66rem; font-weight: 650; letter-spacing: .055em; text-transform: uppercase; }
.company-badge { position: relative; z-index: 1; display: grid; width: 3.1rem; height: 3.1rem; place-items: center; justify-self: center; color: #a5c9ff; border: 1px solid rgba(96,165,250,.28); border-radius: .62rem; background: #12141a; font-size: .71rem; font-weight: 850; letter-spacing: -.03em; box-shadow: 0 0 0 7px var(--bg); }
.experience-card { padding: 1.25rem 1.4rem 1.3rem; border: 1px solid var(--line); border-radius: .75rem; background: linear-gradient(100deg, var(--surface-raised), #151518); transition: transform .28s ease, border-color .28s ease; }
.experience-card:hover { border-color: rgba(96,165,250,.46); transform: translateX(5px); }
.experience-topline { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.experience-topline p { margin: 0; color: var(--blue-pale); font-size: .69rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.experience-topline span { padding: .21rem .46rem; color: #9e9ea7; border: 1px solid rgba(255,255,255,.09); border-radius: 999px; font-size: .59rem; font-weight: 740; text-transform: uppercase; white-space: nowrap; }
.experience-card h3 { margin: .47rem 0 .65rem; color: #f5f5f5; font: 400 clamp(1.4rem, 2.1vw, 1.9rem)/1.05 var(--serif); letter-spacing: -.04em; }
.experience-card > p { max-width: 690px; margin: 0; color: #adadb5; font-size: .86rem; line-height: 1.67; }
.experience-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .95rem; }
.experience-tags span { padding: .22rem .43rem; color: #8faee8; border-radius: .2rem; background: rgba(37,99,235,.1); font-size: .61rem; font-weight: 770; }
.experience-item.current .company-badge { color: #e5f0ff; border-color: rgba(96,165,250,.7); background: var(--blue); box-shadow: 0 0 0 7px var(--bg), 0 0 24px rgba(37,99,235,.35); }
.experience-item.current .experience-card { border-color: rgba(96,165,250,.4); background: linear-gradient(100deg, rgba(37,99,235,.16), #16171c 70%); }

/* Education */
.education-section { border-top: 1px solid var(--line-soft); background: #0d0d10; }
.section-head-row.light .section-note { color: #a7a7b0; }
.education-grid { display: grid; grid-template-columns: 1.25fr 1fr .8fr; gap: .9rem; margin-top: 3.5rem; }
.education-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 400px; padding: 1.55rem; overflow: hidden; border: 1px solid var(--line); border-radius: .8rem; background: var(--surface-raised); transition: transform .28s ease, border-color .28s ease; }
.education-card:hover { border-color: rgba(96,165,250,.46); transform: translateY(-5px); }
.feature-education { background: linear-gradient(145deg, #17448c, #131926 72%); }
.education-date { margin: 0; color: #a0a4ad; font-size: .66rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.degree-code { position: absolute; top: 1.15rem; right: 1.35rem; color: rgba(255,255,255,.12); font: 800 3.6rem/.8 var(--sans); letter-spacing: -.1em; }
.education-card .card-label { color: #9fbbef; }
.education-card h3 { max-width: 300px; margin: .4rem 0 .55rem; color: #f8fafc; font: 400 clamp(1.55rem, 2.1vw, 2.15rem)/1.02 var(--serif); letter-spacing: -.05em; }
.education-detail { margin: 0; color: #afb0b9; font-size: .78rem; }
.education-expand { padding-top: 1.1rem; border-top: 1px solid rgba(255,255,255,.1); }
.education-expand span { display: block; color: #82a5e0; font-size: .59rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.education-expand p { margin: .26rem 0 .85rem; color: #bbbdc4; font-size: .72rem; line-height: 1.56; }
.education-expand p:last-child { margin-bottom: 0; }
.compact-education { min-height: 300px; background: #17171b; }

/* Credentials */
.credential-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .75rem; margin-top: 3.5rem; }
.credential-card { position: relative; display: flex; flex-direction: column; min-height: 250px; padding: 1.25rem; overflow: hidden; border: 1px solid var(--line); border-radius: .72rem; background: var(--surface-raised); transition: transform .25s ease, border-color .25s ease; }
.credential-card:hover { border-color: rgba(96,165,250,.48); transform: translateY(-4px); }
.credential-highlight { color: #061326; border-color: #95c5ff; background: linear-gradient(135deg, #93c5fd, #dbeafe); }
.credential-number { color: #7f8a9d; font-size: .7rem; font-weight: 820; letter-spacing: .08em; }
.credential-highlight .credential-number, .credential-highlight .card-label { color: #285eaa; }
.credential-card .card-label { margin-top: 1.45rem; color: #9faebe; }
.credential-card h3 { margin: .35rem 0 .55rem; color: #f5f5f5; font: 400 1.52rem/1.04 var(--serif); letter-spacing: -.045em; }
.credential-highlight h3 { color: #0c356c; }
.credential-card > p:last-of-type { margin: auto 0 0; color: #a8a9b0; font-size: .75rem; line-height: 1.58; }
.credential-highlight > p:last-of-type { color: #234d87; }
.credential-seal { position: absolute; right: .7rem; bottom: .55rem; color: rgba(11,64,130,.12); font: 850 2.25rem/.8 var(--sans); letter-spacing: -.13em; }
.future-card { border-style: dashed; background: linear-gradient(135deg, rgba(255,255,255,.025), transparent); }
.future-card .credential-number { color: var(--blue-light); font-size: 1.1rem; }
.recognition-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: .8rem; margin-top: .8rem; }
.awards-block, .languages-block { padding: 1.3rem; border: 1px solid var(--line); border-radius: .72rem; background: var(--surface); }
.award-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.2rem; }
.award-list article { display: flex; gap: .7rem; }
.award-list article > span { display: grid; flex: 0 0 1.65rem; height: 1.65rem; place-items: center; color: var(--blue-light); border: 1px solid rgba(96,165,250,.25); border-radius: .35rem; font-size: .72rem; }
.award-list h3 { margin: 0; color: #e4e4e7; font-size: .78rem; line-height: 1.25; }
.award-list p { margin: .25rem 0 0; color: #8d8e97; font-size: .67rem; line-height: 1.48; }
.language-chips { display: grid; gap: .52rem; margin-top: 1.2rem; }
.language-chips span { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; padding: .55rem .65rem; color: #a8a8b1; border: 1px solid rgba(255,255,255,.08); border-radius: .32rem; background: rgba(255,255,255,.02); font-size: .68rem; }
.language-chips b { color: #e8e8ed; font-weight: 750; }

/* Values */
.values-section { background: #101014; border-top: 1px solid var(--line-soft); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 3.5rem; overflow: hidden; border: 1px solid var(--line); border-radius: .8rem; background: var(--line); }
.values-grid article { min-height: 206px; padding: 1.35rem; background: #111114; transition: background .25s ease; }
.values-grid article:hover { background: #161b25; }
.values-grid article > span { color: #528eea; font-size: .62rem; font-weight: 850; letter-spacing: .1em; }
.values-grid h3 { margin: 2.65rem 0 .45rem; color: #f5f5f7; font: 400 1.48rem/1 var(--serif); letter-spacing: -.045em; }
.values-grid p { max-width: 250px; margin: 0; color: #9798a1; font-size: .75rem; line-height: 1.55; }

/* Contact */
.contact-section { padding: clamp(5.8rem, 10vw, 9rem) 0; background: radial-gradient(circle at 82% 25%, rgba(37,99,235,.23), transparent 31%), #0c0c0f; }
.contact-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(3rem, 9vw, 8.5rem); align-items: center; }
.contact-copy h2 { max-width: 570px; margin: .85rem 0 1.15rem; color: #f7f7f8; font: 400 clamp(3.1rem, 5.7vw, 5.6rem)/.93 var(--serif); letter-spacing: -.07em; }
.contact-copy h2 em { color: var(--blue-light); font-weight: inherit; }
.contact-copy > p { max-width: 410px; margin: 0; color: #b4b4bd; font-size: .94rem; line-height: 1.75; }
.email-address { display: inline-block; margin-top: 2rem; padding-bottom: .35rem; color: #fff; border-bottom: 1px solid rgba(96,165,250,.62); font: 400 clamp(1.25rem, 2.1vw, 1.65rem) var(--serif); letter-spacing: -.04em; transition: color .2s ease; }
.email-address:hover { color: var(--blue-light); }
.email-address span, .linkedin-contact span { color: var(--blue-light); }
.linkedin-contact { display: block; width: fit-content; margin-top: .95rem; color: #a9bede; font-size: .74rem; font-weight: 780; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.08rem; padding: clamp(1.25rem, 2.5vw, 2rem); border: 1px solid rgba(255,255,255,.11); border-radius: .85rem; background: rgba(24,24,27,.76); box-shadow: 0 20px 60px rgba(0,0,0,.2); backdrop-filter: blur(10px); }
.form-field { display: grid; gap: .42rem; }
.form-field-wide { grid-column: span 2; }
.form-field label { color: #bfc2ca; font-size: .66rem; font-weight: 790; letter-spacing: .07em; text-transform: uppercase; }
.form-field input, .form-field textarea { width: 100%; padding: .65rem 0 .72rem; color: #eff0f4; outline: 0; border: 0; border-bottom: 1px solid #37373e; border-radius: 0; background: transparent; font-size: .88rem; transition: border-color .2s ease; }
.form-field textarea { min-height: 106px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #686871; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--blue-light); }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.form-submit { justify-self: start; margin-top: .2rem; }
.form-status { grid-column: span 2; margin: 0; color: #81818b; font-size: .67rem; line-height: 1.45; }
.contact-form.is-sending .form-submit { opacity: .7; pointer-events: none; }
.contact-form.is-success { border-color: rgba(103,232,169,.45); }
.contact-form.is-success .form-status { color: var(--green); }

/* Footer */
.site-footer { border-top: 1px solid var(--line-soft); background: #09090b; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.3rem; min-height: 88px; }
.footer-inner p { margin: 0; color: #686871; font-size: .68rem; }
.footer-links { display: flex; gap: 1.1rem; }
.footer-links a { color: #a3a3aa; font-size: .69rem; font-weight: 740; transition: color .2s ease; }
.footer-links a:hover { color: var(--blue-light); }

/* Motion */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .72s cubic-bezier(.2,.65,.2,1), transform .72s cubic-bezier(.2,.65,.2,1); }
[data-reveal="left"] { transform: translateX(-24px); }
[data-reveal="right"] { transform: translateX(24px); }
[data-reveal].is-visible { opacity: 1; transform: translate(0, 0); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Responsive */
@media (max-width: 1000px) {
  .hero { grid-template-columns: minmax(260px, .75fr) minmax(350px, 1.25fr); gap: 3.5rem; }
  .portrait-label { right: -.65rem; }
  .desktop-nav { gap: 1.1rem; }
  .nav-link { font-size: .72rem; }
  .header-contact { display: none; }
  .skill-card { grid-column: span 6; }
  .skill-card:nth-child(4), .skill-card:nth-child(5) { grid-column: span 6; }
  .credential-grid { grid-template-columns: repeat(3, 1fr); }
  .recognition-grid { grid-template-columns: 1fr; }
  .education-grid { grid-template-columns: 1.2fr 1fr; }
  .compact-education { grid-column: span 2; min-height: 250px; }
}

@media (max-width: 760px) {
  .section-shell, .site-header { width: min(100% - 2rem, 1180px); }
  .site-header { height: 70px; }
  .site-header.scrolled { height: 62px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: grid; gap: .36rem; padding: .48rem; border: 0; background: transparent; }
  .menu-toggle span:not(.sr-only) { display: block; width: 1.28rem; height: 1px; background: #e5e7eb; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(2px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-2px) rotate(-45deg); }
  .mobile-nav { position: absolute; top: calc(100% + .3rem); right: 0; display: none; width: min(230px, 100%); padding: .65rem; border: 1px solid var(--line); border-radius: .65rem; background: rgba(19,19,22,.98); box-shadow: 0 18px 38px rgba(0,0,0,.35); backdrop-filter: blur(12px); }
  .mobile-nav.open { display: grid; }
  .mobile-nav a { padding: .7rem .78rem; color: #cacad1; border-radius: .35rem; font-size: .78rem; font-weight: 720; }
  .mobile-nav a:hover { color: #fff; background: rgba(96,165,250,.12); }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 3.4rem; padding-bottom: 5rem; gap: 3.3rem; }
  .hero-portrait-col { width: min(100%, 370px); justify-self: start; margin-left: .7rem; }
  .hero-content { max-width: 600px; }
  .hero h1 { font-size: clamp(4.8rem, 20vw, 7.7rem); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-card:nth-child(3) { border-right: 1px solid var(--line-soft); }
  .stat-card:nth-child(4), .stat-card:nth-child(5) { border-top: 1px solid var(--line-soft); }
  .section-head-row { display: block; }
  .section-note { max-width: 520px; margin-top: 1.2rem; }
  .experience-timeline::before { left: 1.5rem; }
  .experience-item { grid-template-columns: 4.25rem 1fr; gap: 0; padding-bottom: 1.5rem; }
  .timeline-period { grid-column: 2; grid-row: 1; padding: 0 0 .6rem; }
  .company-badge { grid-column: 1; grid-row: 1 / span 2; justify-self: start; }
  .experience-card { grid-column: 2; grid-row: 2; }
  .award-list { grid-template-columns: 1fr; gap: .9rem; }
}

@media (max-width: 540px) {
  .section-space { padding-top: 4.7rem; padding-bottom: 4.7rem; }
  .hero { padding-top: 2.7rem; gap: 2.7rem; }
  .hero-portrait-col { width: min(100%, 335px); margin-left: 0; }
  .portrait-orbit-one { top: -1rem; right: -1rem; width: 5.6rem; height: 5.6rem; }
  .portrait-orbit-two { bottom: 3.5rem; left: -1rem; width: 3.7rem; height: 3.7rem; }
  .portrait-label { right: -.35rem; bottom: 1.25rem; padding: .55rem .62rem; font-size: .58rem; }
  .portrait-footnote { gap: .35rem; font-size: .5rem; letter-spacing: .065em; }
  .hero h1 { margin-top: .8rem; font-size: clamp(4.2rem, 21vw, 6rem); }
  .hero-specialism { max-width: 380px; font-size: .63rem; line-height: 1.7; }
  .hero-specialism span { padding: 0 .16rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .hero-socials { gap: 1rem; }
  .section-intro h2 { font-size: clamp(2.65rem, 13.5vw, 4.2rem); }
  .about-grid { margin-top: 2.5rem; gap: 2rem; }
  .about-story p { font-size: 1.02rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card { min-height: 155px; }
  .stat-card:nth-child(2) { border-right: 1px solid var(--line-soft); }
  .stat-card:nth-child(3) { border-top: 1px solid var(--line-soft); border-right: 0; }
  .stat-card:nth-child(5) { border-right: 1px solid var(--line-soft); }
  .skills-grid { grid-template-columns: 1fr; margin-top: 2.5rem; }
  .skill-card, .skill-card-featured, .skill-card:nth-child(4), .skill-card:nth-child(5) { grid-column: auto; min-height: auto; }
  .skill-card { padding: 1.25rem; }
  .experience-timeline { margin-top: 2.5rem; }
  .experience-timeline::before { left: 1.22rem; }
  .experience-item { grid-template-columns: 3.55rem 1fr; }
  .company-badge { width: 2.5rem; height: 2.5rem; font-size: .61rem; box-shadow: 0 0 0 5px var(--bg); }
  .experience-card { padding: 1rem; }
  .experience-card:hover { transform: none; }
  .experience-topline { align-items: flex-start; flex-direction: column; gap: .3rem; }
  .education-grid { grid-template-columns: 1fr; margin-top: 2.5rem; }
  .education-card, .compact-education { grid-column: auto; min-height: 310px; }
  .credential-grid { grid-template-columns: 1fr 1fr; margin-top: 2.5rem; }
  .credential-card { min-height: 220px; }
  .credential-card h3 { font-size: 1.3rem; }
  .future-card { grid-column: span 2; }
  .recognition-grid { margin-top: .75rem; }
  .values-grid { grid-template-columns: 1fr 1fr; margin-top: 2.5rem; }
  .values-grid article { min-height: 185px; padding: 1rem; }
  .values-grid h3 { margin-top: 2.25rem; font-size: 1.25rem; }
  .contact-grid { gap: 2.7rem; }
  .contact-form { grid-template-columns: 1fr; }
  .form-field-wide, .form-status { grid-column: auto; }
  .footer-inner { flex-direction: column; align-items: flex-start; justify-content: center; padding: 1.45rem 0; }
  .footer-links { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
