:root {
  --paper: #fbfaf7;
  --tint: #f2efe8;
  --card: #ffffff;
  --ink: #121a26;
  --body: #3a4453;
  --mute: #6b7585;
  --line: #e3dfd5;
  --navy: #0f1c2e;
  --navy-2: #172a44;
  --gold: #b08642;
  --gold-soft: #d9b878;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nav-h: 68px;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body { margin: 0; background: var(--paper); color: var(--body); font: 400 1rem/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
::selection { background: var(--gold-soft); color: var(--navy); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: 1rem; top: -4rem; background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 200; border-radius: 6px; }
.skip:focus { top: 1rem; }

.wrap { width: min(1120px, 100% - 3rem); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 500 .9rem/1 var(--sans); letter-spacing: .01em; padding: .95rem 1.5rem; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn-sm { padding: .65rem 1.2rem; font-size: .82rem; background: var(--navy); color: #fff; }
.btn-sm:hover { background: var(--navy-2); }
.btn-gold { background: var(--gold-soft); color: var(--navy); }
.btn-gold:hover { background: #e6c88d; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h); background: rgba(251, 250, 247, .95); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(15, 28, 46, .05); }
.nav-in { width: min(1120px, 100% - 3rem); height: 100%; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.logo { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--ink); letter-spacing: .005em; }
.nav nav { display: flex; gap: clamp(1rem, 2.4vw, 2.2rem); }
.nav nav a { font-size: .86rem; font-weight: 500; color: var(--mute); padding: .4rem 0; position: relative; transition: color .2s; }
.nav nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav nav a:hover, .nav nav a.active { color: var(--ink); }
.nav nav a:hover::after, .nav nav a.active::after { transform: scaleX(1); }
.nav-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(900px 500px at 85% 0%, rgba(176, 134, 66, .22), transparent 70%), linear-gradient(160deg, var(--navy) 0%, #0b1524 100%);
  color: #e8ecf3; padding: calc(var(--nav-h) + clamp(4rem, 9vw, 7.5rem)) 0 clamp(4rem, 8vw, 6.5rem); position: relative; overflow: hidden;
}
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); pointer-events: none; }
.hero-in { width: min(1120px, 100% - 3rem); margin-inline: auto; display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; position: relative; z-index: 1; }
.kicker { font-size: .78rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1.4rem; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.8rem, 7vw, 5.4rem); line-height: 1.02; letter-spacing: -.02em; color: #fff; margin-bottom: 1.6rem; }
.hero-lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.65; color: #b9c3d3; max-width: 52ch; margin-bottom: 2.2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero-card { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: 1.8rem 1.8rem 1.2rem; backdrop-filter: blur(6px); }
.hero-card h2 { font-size: .74rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1.1rem; }
.hero-card dl > div { padding: .95rem 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.hero-card dt { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #8b98ad; margin-bottom: .2rem; }
.hero-card dd { font-size: .95rem; line-height: 1.5; color: #e8ecf3; }

/* Dashboard-style snapshot */
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.dash-head h2 { margin: 0; }
.dash-pill { display: inline-flex; align-items: center; gap: .45rem; font-size: .7rem; color: #b9c3d3; border: 1px solid rgba(255, 255, 255, .15); border-radius: 999px; padding: .25rem .7rem; white-space: nowrap; }
.dash-pill i { width: 6px; height: 6px; border-radius: 50%; background: #4cc38a; box-shadow: 0 0 0 3px rgba(76, 195, 138, .2); }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.kpi { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); border-radius: 8px; padding: .9rem 1rem; }
.kpi small { display: block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: #8b98ad; }
.kpi b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.9rem; line-height: 1.15; color: #fff; margin: .15rem 0; letter-spacing: -.01em; }
.kpi em { font-style: normal; font-size: .74rem; color: #4cc38a; }
.kpi em.neutral { color: #8b98ad; }
.spark { width: 100%; height: 70px; margin: 1rem 0 .4rem; display: block; }
.spark-line { stroke-dasharray: 700; stroke-dashoffset: 700; animation: draw 2.2s .8s cubic-bezier(.3, .6, .2, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-card dl > div:first-child { margin-top: .4rem; }

/* Entrance */
.hero-copy > *, .hero-card { opacity: 0; transform: translateY(18px); animation: rise .9s cubic-bezier(.2, .7, .2, 1) forwards; }
.hero-copy > :nth-child(2) { animation-delay: .1s; }
.hero-copy > :nth-child(3) { animation-delay: .2s; }
.hero-copy > :nth-child(4) { animation-delay: .3s; }
.hero-card { animation-delay: .35s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section-tint { background: var(--tint); }
.grid-2 { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 6vw, 5rem); }
.sec-head { margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.grid-2 .sec-head { margin-bottom: 0; position: sticky; top: calc(var(--nav-h) + 2rem); align-self: start; }
.eyebrow { font-size: .76rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: .9rem; }
.eyebrow-light { color: var(--gold-soft); }
.sec-head h2, .contact h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.12; letter-spacing: -.015em; color: var(--ink); }

.about-body > p { font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.75; color: var(--body); margin-bottom: 1.2rem; max-width: 62ch; }
.pillars { display: grid; gap: 0; margin-top: 2.4rem; border-top: 1px solid var(--line); }
.pillars li { padding: 1.5rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 11rem 1fr; gap: 1rem 2rem; }
.pillars h3 { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.pillars p { color: var(--body); font-size: .98rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Career timeline ---------- */
.sec-head h2 em { font-style: italic; color: var(--gold); }
.sec-sub { margin-top: 1rem; max-width: 56ch; color: var(--mute); font-size: 1.05rem; }
.tl { position: relative; padding: 1rem 0 .5rem; --fill: 0%; }
.tl::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--line); }
.tl::after { content: ""; position: absolute; left: 50%; top: 0; width: 2px; margin-left: -1px; height: var(--fill); background: linear-gradient(var(--gold-soft), var(--gold)); box-shadow: 0 0 12px rgba(176, 134, 66, .45); }
.tl-era { position: relative; z-index: 2; text-align: center; margin: 3rem 0 2rem; }
.tl-era:first-child { margin-top: 0; }
.tl-era-in { display: inline-block; background: var(--navy); color: #fff; border-radius: 14px; padding: 1.1rem 1.8rem; box-shadow: 0 12px 30px rgba(15, 28, 46, .18); max-width: min(100%, 30rem); }
.tl-era b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.1; letter-spacing: -.01em; }
.tl-era span { display: block; margin-top: .35rem; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); }
.tl-era p { margin-top: .5rem; font-size: .88rem; color: #b9c3d3; line-height: 1.5; }

.tl-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 1.6rem; }
.tl-item::before { content: ""; position: absolute; left: 50%; top: 1.7rem; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--paper); border: 2px solid #c8c1b0; z-index: 2; transition: background .4s, border-color .4s, box-shadow .4s, transform .4s; }
.tl-item.in::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 6px rgba(176, 134, 66, .18); }
.tl-item.now::before { background: #2fae6b; border-color: #2fae6b; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47, 174, 107, .5); } 100% { box-shadow: 0 0 0 14px rgba(47, 174, 107, 0); } }
.tl-date { position: relative; padding-top: 1.5rem; font-size: .84rem; font-weight: 600; letter-spacing: .04em; color: var(--navy); }
.tl-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; position: relative; transition: box-shadow .3s, transform .3s, border-color .3s; }
.tl-card:hover { box-shadow: 0 16px 36px rgba(15, 28, 46, .09); transform: translateY(-3px); border-color: #cfc8b8; }
.tl-item.left .tl-card { grid-column: 1; grid-row: 1; margin-right: 2.6rem; }
.tl-item.left .tl-date { grid-column: 2; grid-row: 1; padding-left: 2.6rem; }
.tl-item.right .tl-card { grid-column: 2; grid-row: 1; margin-left: 2.6rem; }
.tl-item.right .tl-date { grid-column: 1; grid-row: 1; padding-right: 2.6rem; text-align: right; }
.tl-card::before { content: ""; position: absolute; top: 1.95rem; width: 11px; height: 11px; background: var(--card); border: 1px solid var(--line); transform: rotate(45deg); }
.tl-item.left .tl-card::before { right: -6px; border-left: 0; border-bottom: 0; }
.tl-item.right .tl-card::before { left: -6px; border-right: 0; border-top: 0; }
.tl-type { font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); background: var(--tint); display: inline-block; padding: .2rem .6rem; border-radius: 999px; margin-bottom: .7rem; }
.tl-type.now { background: #e5f3e9; color: #1f6b3a; }
.tl-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; line-height: 1.25; color: var(--ink); }
.tl-co { color: var(--gold); font-weight: 500; font-size: .94rem; margin-top: .2rem; }
.tl-hl { margin-top: .8rem; font-size: .92rem; color: var(--body); line-height: 1.55; }
.tl-more { text-decoration: none; margin-top: .9rem; display: inline-flex; gap: .4rem; font: 500 .84rem/1 var(--sans); color: var(--navy); background: none; border: 0; padding: 0; cursor: pointer; }
.tl-more span { border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.tl-more:hover span { color: var(--gold); }
.tl-item.edu .tl-card { background: transparent; border-style: dashed; border-color: #b9b19e; }
.tl-item.edu .tl-card::before { background: var(--tint); }
.tl-item.edu::before { border-radius: 3px; transform: rotate(45deg); }
.tl-item.edu .tl-type { background: #e7ecf4; color: var(--navy-2); }
.tl-item.flash .role-flash, .role.flash { animation: flash 1.6s ease; }
@keyframes flash { 0%, 100% { box-shadow: none; } 30% { box-shadow: 0 0 0 4px rgba(176, 134, 66, .45); } }
.tl-item.reveal { transform: translateY(24px); }
.tl-item.reveal.in { transform: none; }

@media (max-width: 800px) {
  .tl::before, .tl::after { left: 14px; }
  .tl-era { text-align: left; padding-left: 2.6rem; margin: 2.4rem 0 1.4rem; }
  .tl-item { grid-template-columns: 1fr; padding-left: 2.6rem; }
  .tl-item::before { left: 14px; }
  .tl-item .tl-card, .tl-item.left .tl-card, .tl-item.right .tl-card { grid-column: 1; grid-row: 2; margin: 0; }
  .tl-item .tl-date, .tl-item.left .tl-date, .tl-item.right .tl-date { grid-column: 1; grid-row: 1; padding: 0 0 .5rem; text-align: left; }
  .tl-card::before { display: none; }
}

/* ---------- Funnel ---------- */
.funnel { display: grid; gap: .8rem; }
.stage { width: var(--w); margin-inline: auto; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 1.5rem 1.8rem; display: grid; grid-template-columns: 3rem 12rem 1fr; gap: .4rem 1.4rem; align-items: start; transition: box-shadow .3s, transform .3s; }
.stage:hover { box-shadow: 0 14px 34px rgba(15, 28, 46, .08); transform: translateY(-2px); }
.stage:nth-child(2) { border-left-color: #c79a53; }
.stage:nth-child(3) { border-left-color: #8d7a5a; }
.stage:nth-child(4) { border-left-color: var(--navy); }
.stage-n { font-family: var(--serif); font-size: 1.5rem; color: var(--gold); line-height: 1.2; grid-row: span 2; }
.stage h3 { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; color: var(--ink); grid-row: span 2; line-height: 1.25; }
.stage-ch { font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: var(--navy); }
.stage p:last-child { font-size: .95rem; color: var(--body); line-height: 1.6; }

/* ---------- Stats ---------- */
.metric { display: flex; align-items: center; gap: .5rem; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: 1rem; }
.metric::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--gold); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--card); padding: 2rem 1.8rem 1.8rem; }
.stat b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 4.6vw, 3.6rem); line-height: 1; color: var(--navy); letter-spacing: -.02em; margin-bottom: .8rem; font-variant-numeric: tabular-nums; }
.stat p { color: var(--body); font-size: .95rem; line-height: 1.5; margin-bottom: 1rem; }
.stat small { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }

/* ---------- Skills ---------- */
.signature { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 3rem; }
.signature li { font-weight: 500; font-size: .98rem; color: var(--navy); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: .65rem 1.3rem; transition: border-color .25s, background .25s, color .25s; }
.signature li:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem 2rem; }
.tech { border-top: 2px solid var(--navy); padding-top: 1.1rem; }
.tech h3 { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--ink); margin-bottom: .5rem; }
.tech p { font-size: .94rem; color: var(--body); line-height: 1.6; }

/* ---------- Experience ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.2rem; align-items: center; }
.chip { font: 500 .84rem/1 var(--sans); padding: .6rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--body); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip.link { margin-left: auto; border: 0; background: none; color: var(--gold); text-decoration: underline; text-underline-offset: 4px; padding-inline: .4rem; }
.chip.link:hover { color: var(--navy); }

.roles { display: grid; gap: 1rem; }
.role { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); display: grid; grid-template-columns: 13rem 1fr; transition: box-shadow .3s, border-color .3s; }
.role:hover, .role.open { border-color: #cfc8b8; box-shadow: 0 14px 36px rgba(15, 28, 46, .07); }
.role[hidden] { display: none; }
.role-side { padding: 1.8rem 0 1.8rem 1.8rem; border-right: 1px solid var(--line); }
.role-dates { font-size: .84rem; font-weight: 600; color: var(--navy); line-height: 1.45; }
.role-badge { display: inline-block; margin-top: .7rem; font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: .28rem .65rem; border-radius: 999px; background: var(--tint); color: var(--mute); }
.role-badge.now { background: #e5f3e9; color: #1f6b3a; }
.role-main { padding: 1.8rem 2rem; min-width: 0; }
.role-title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.25rem, 2.2vw, 1.55rem); line-height: 1.25; color: var(--ink); letter-spacing: -.005em; }
.role-co { font-size: .98rem; font-weight: 500; color: var(--gold); margin-top: .25rem; }
.role-co small { font-weight: 400; color: var(--mute); font-size: .85rem; margin-left: .4rem; }
.role-stat { margin-top: .9rem; font-size: .88rem; font-weight: 500; color: var(--navy); background: var(--tint); display: inline-block; padding: .4rem .8rem; border-radius: 6px; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.tags li { font-size: .75rem; color: var(--mute); border: 1px solid var(--line); border-radius: 999px; padding: .2rem .7rem; }

.body { margin-top: 1.3rem; }
.body h4 { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); margin: 1.4rem 0 .6rem; }
.body ul { display: grid; gap: .6rem; }
.body li { position: relative; padding-left: 1.2rem; font-size: .96rem; line-height: 1.6; color: var(--body); }
.body li::before { content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s cubic-bezier(.2, .7, .2, 1); }
.more > div { overflow: hidden; }
.more > div > ul:first-child { margin-top: .6rem; }
.role.open .more { grid-template-rows: 1fr; }
.toggle { margin-top: 1.2rem; background: none; border: 0; padding: 0; font: 500 .88rem/1 var(--sans); color: var(--navy); cursor: pointer; display: inline-flex; gap: .55rem; align-items: center; }
.toggle span { border-bottom: 1px solid var(--gold); padding-bottom: 3px; }
.toggle i { font-style: normal; color: var(--gold); transition: transform .3s; font-size: 1.1rem; line-height: 1; }
.toggle:hover span { color: var(--gold); }
.role.open .toggle i { transform: rotate(45deg); }

/* ---------- Education ---------- */
.edu { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; margin-bottom: 2rem; }
.edu-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; border-top: 3px solid var(--navy); }
.edu-year { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: .6rem; }
.edu-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; line-height: 1.25; color: var(--ink); margin-bottom: .4rem; }
.edu-school { font-weight: 500; color: var(--navy); margin-bottom: .2rem; }
.edu-card p:last-child { color: var(--mute); font-size: .93rem; }
.certs { display: flex; flex-wrap: wrap; gap: .6rem; }
.certs li { font-size: .9rem; font-weight: 500; color: var(--navy); padding: .6rem 1.1rem; border: 1px solid var(--gold-soft); border-radius: 999px; background: #fbf4e6; }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(160deg, var(--navy) 0%, #0b1524 100%); color: #e8ecf3; padding: clamp(4.5rem, 9vw, 7rem) 0; }
.contact-in { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.contact h2 { color: #fff; }
.contact-links { display: grid; gap: 1rem; }
.contact-row { display: grid; gap: .3rem; padding: 1.3rem 1.5rem; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); background: rgba(255, 255, 255, .04); transition: border-color .25s, background .25s, transform .25s; }
.contact-row:hover { border-color: var(--gold-soft); background: rgba(255, 255, 255, .08); transform: translateX(4px); }
.contact-row span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #8b98ad; }
.contact-row strong { font-family: var(--serif); font-weight: 500; font-size: clamp(1.2rem, 2.4vw, 1.6rem); color: #fff; word-break: break-word; }

.footer { background: #0b1524; color: #7f8ba0; font-size: .84rem; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-in { display: flex; justify-content: space-between; padding: 1.4rem 0; }
.footer a:hover { color: var(--gold-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-in, .grid-2, .contact-in { grid-template-columns: 1fr; }
  .grid-2 .sec-head { position: static; margin-bottom: 2rem; }
  .stats, .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .nav nav { display: none; }
}
@media (max-width: 700px) {
  .role { grid-template-columns: 1fr; }
  .role-side { padding: 1.4rem 1.4rem 0; border-right: 0; display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
  .role-badge { margin-top: 0; }
  .role-main { padding: 1rem 1.4rem 1.5rem; }
  .pillars li { grid-template-columns: 1fr; gap: .3rem; }
  .stage { width: 100% !important; grid-template-columns: 2.4rem 1fr; padding: 1.3rem; }
  .stage h3, .stage-n { grid-row: auto; }
  .stage-ch, .stage p:last-child { grid-column: 1 / -1; }
  .edu { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .stats, .tech-grid { grid-template-columns: 1fr; }
  .chip.link { margin-left: 0; }
  .hero-cta .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero-copy > *, .hero-card { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
}

/* ---------- Print / Save as PDF ---------- */
@media print {
  @page { margin: 14mm; }
  body { background: #fff; color: #000; font-size: 10.5pt; line-height: 1.5; }
  #career, .nav, .skip, .hero-cta, .filters, .toggle, .hero::after, .footer, .contact-links .btn { display: none !important; }
  .hero, .contact { background: none !important; color: #000; padding: 0 0 12pt; }
  .hero h1, .contact h2, .hero-lede, .kicker, .hero-card dd { color: #000; }
  .hero-in, .grid-2, .contact-in { grid-template-columns: 1fr; gap: 10pt; }
  .hero-card { background: none; border: 1px solid #ccc; }
  .hero-card dt { color: #555; }
  .section, .contact { padding: 14pt 0; background: none !important; }
  .reveal, .hero-copy > *, .hero-card { opacity: 1 !important; transform: none !important; animation: none !important; }
  .more { grid-template-rows: 1fr !important; }
  .role { break-inside: avoid; box-shadow: none !important; grid-template-columns: 9rem 1fr; }
  .role[hidden] { display: grid !important; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stage { width: 100% !important; break-inside: avoid; }
  .spark { display: none; }
  .kpi, .kpi b, .kpi small { color: #000; background: none; }
  .contact-row { border: 1px solid #ccc; background: none; }
  .contact-row strong { color: #000; }
  .contact-row span { color: #555; }
}
