:root {
  --navy-950: #081827;
  --navy-900: #0b1f33;
  --navy-800: #102a43;
  --navy-700: #173e62;
  --blue: #1d75bd;
  --blue-light: #dceefe;
  --gold: #c7a35a;
  --ink: #152233;
  --muted: #617082;
  --line: #dce3ea;
  --soft: #f3f7fa;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(8, 24, 39, 0.12);
  --shadow-soft: 0 12px 34px rgba(8, 24, 39, 0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 9999; top: 10px; left: 10px; padding: 10px 14px; background: var(--white); color: var(--navy-900); border-radius: 8px; transform: translateY(-160%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { background: rgba(255,255,255,.92); border-color: rgba(220,227,234,.9); box-shadow: 0 8px 30px rgba(8,24,39,.06); backdrop-filter: blur(16px); }
.nav { height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; color: var(--white); }
.site-header.scrolled .brand { color: var(--navy-900); }
.brand-mark { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(145deg, var(--blue), var(--navy-700)); color: var(--white); font-size: .82rem; letter-spacing: .04em; box-shadow: 0 8px 20px rgba(29,117,189,.22); }
.brand-mark.small { width: 32px; height: 32px; border-radius: 10px; font-size: .72rem; }
.brand-text { font-size: .94rem; letter-spacing: -.01em; }
.nav-menu { display: flex; align-items: center; gap: 26px; }
.nav-menu a { text-decoration: none; color: rgba(255,255,255,.78); font-size: .84rem; font-weight: 700; transition: color .2s ease; }
.nav-menu a:hover, .nav-menu a.active { color: var(--white); }
.site-header.scrolled .nav-menu a { color: #526174; }
.site-header.scrolled .nav-menu a:hover, .site-header.scrolled .nav-menu a.active { color: var(--blue); }
.nav-menu .nav-cta { padding: 9px 16px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; }
.site-header.scrolled .nav-menu .nav-cta { color: var(--white); background: var(--navy-800); border-color: var(--navy-800); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.25); border-radius: 12px; background: transparent; align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle span { width: 19px; height: 2px; background: var(--white); border-radius: 10px; transition: transform .2s ease, opacity .2s ease; }
.site-header.scrolled .nav-toggle { border-color: var(--line); }
.site-header.scrolled .nav-toggle span { background: var(--navy-900); }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero { min-height: 100vh; padding: 122px 0 52px; background: linear-gradient(145deg, var(--navy-950) 0%, var(--navy-900) 56%, #133a5d 100%); color: var(--white); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%; right: -250px; top: -180px; background: radial-gradient(circle, rgba(29,117,189,.34), rgba(29,117,189,0) 68%); }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; left: -300px; bottom: -240px; background: radial-gradient(circle, rgba(199,163,90,.14), rgba(199,163,90,0) 68%); }
.hero-pattern { position: absolute; inset: 0; opacity: .12; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(to right, black, transparent 70%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .75fr); gap: 70px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #b9d9f3; background: rgba(29,117,189,.15); border: 1px solid rgba(95,177,235,.25); padding: 7px 13px; border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 25px; }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: #4aa3e5; box-shadow: 0 0 0 5px rgba(74,163,229,.12); }
.hero-intro { color: rgba(255,255,255,.62); font-weight: 600; margin-bottom: 3px; }
.hero h1 { font-family: "Libre Baskerville", Georgia, serif; font-size: clamp(3.2rem, 7vw, 5.7rem); line-height: 1.02; letter-spacing: -.055em; font-weight: 700; margin-bottom: 10px; }
.hero h1 span { color: #86c6f3; }
.hero-role { font-size: clamp(1.05rem, 2vw, 1.35rem); font-weight: 700; color: #d6e8f7; margin-bottom: 18px; }
.hero-summary { max-width: 670px; color: rgba(255,255,255,.72); font-size: 1rem; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin: 31px 0 27px; }
.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 12px; padding: 11px 18px; text-decoration: none; font-size: .85rem; font-weight: 800; border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease; }
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 12px 28px rgba(29,117,189,.28); }
.btn-primary:hover { background: #2384cf; box-shadow: 0 16px 34px rgba(29,117,189,.34); }
.btn-secondary { border-color: rgba(255,255,255,.22); color: var(--white); background: rgba(255,255,255,.06); }
.btn-secondary:hover { background: rgba(255,255,255,.12); }
.btn-light { background: var(--white); color: var(--navy-900); margin-top: 28px; }
.hero-contact-strip { display: flex; flex-wrap: wrap; gap: 20px; }
.hero-contact-strip a { display: inline-flex; align-items: center; gap: 9px; color: rgba(255,255,255,.66); text-decoration: none; font-size: .8rem; transition: color .2s ease; }
.hero-contact-strip a:hover { color: var(--white); }
.hero-contact-strip svg { width: 17px; height: 17px; color: #75bbed; }

.hero-visual { position: relative; max-width: 470px; justify-self: end; transform-style: preserve-3d; transition: transform .18s ease-out; }
.image-frame { position: relative; padding: 10px; border-radius: 31px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); box-shadow: 0 28px 70px rgba(0,0,0,.28); overflow: hidden; }
.image-frame img { width: 100%; aspect-ratio: 1 / 1.06; object-fit: cover; object-position: 50% 18%; border-radius: 23px; }
.image-glow { position: absolute; z-index: 0; width: 230px; height: 230px; right: -70px; top: -70px; border-radius: 50%; background: rgba(69,164,231,.24); filter: blur(30px); }
.image-caption { position: absolute; left: 24px; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 10px; padding: 13px 15px; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: rgba(8,24,39,.78); backdrop-filter: blur(12px); box-shadow: 0 14px 32px rgba(0,0,0,.2); }
.image-caption strong, .image-caption small { display: block; }
.image-caption strong { font-size: .86rem; }
.image-caption small { color: rgba(255,255,255,.62); font-size: .68rem; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #64d9a7; box-shadow: 0 0 0 6px rgba(100,217,167,.12); flex: 0 0 auto; }
.floating-note { position: absolute; display: flex; align-items: center; gap: 11px; background: var(--white); color: var(--navy-900); border-radius: 14px; padding: 12px 15px; box-shadow: 0 18px 45px rgba(0,0,0,.22); }
.floating-note strong, .floating-note small, .floating-note span { display: block; }
.floating-note span { color: var(--blue); font-size: 1.55rem; line-height: 1; font-weight: 800; }
.floating-note small { color: var(--muted); font-size: .68rem; }
.floating-note svg { width: 28px; height: 28px; color: var(--gold); }
.note-one { left: -35px; top: 52px; }
.note-two { right: -26px; bottom: 74px; }
.note-two strong { font-size: .76rem; }

.stats-row { position: relative; z-index: 2; margin-top: 54px; display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.13); border-radius: 18px; backdrop-filter: blur(12px); }
.stat { min-height: 102px; display: flex; flex-direction: column; justify-content: center; padding: 20px 24px; border-right: 1px solid rgba(255,255,255,.11); }
.stat:last-child { border-right: 0; }
.stat strong { font-size: 1.75rem; line-height: 1; color: #8cccf5; }
.stat span { margin-top: 8px; color: rgba(255,255,255,.64); font-size: .74rem; }

.section { padding: 96px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--navy-900); color: var(--white); position: relative; overflow: hidden; }
.section-dark::after { content: ""; position: absolute; right: -150px; bottom: -170px; width: 430px; height: 430px; border-radius: 50%; background: radial-gradient(circle, rgba(29,117,189,.28), transparent 70%); }
.section-heading { max-width: 650px; }
.section-heading.centered { max-width: 720px; text-align: center; margin: 0 auto 46px; }
.section-heading h2, .contact-copy h2 { font-family: "Libre Baskerville", Georgia, serif; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.18; letter-spacing: -.04em; color: var(--navy-900); }
.section-heading > p:last-child, .contact-copy > p { color: var(--muted); margin-top: 18px; }
.section-kicker { color: var(--blue); text-transform: uppercase; font-size: .72rem; font-weight: 800; letter-spacing: .11em; margin-bottom: 14px; }
.section-kicker.light { color: #8dccf5; }
.two-column { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.profile-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-soft); }
.profile-card-top { display: flex; justify-content: space-between; align-items: center; color: var(--blue); font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.profile-card-top svg { width: 20px; height: 20px; }
.profile-card blockquote { font-family: "Libre Baskerville", Georgia, serif; font-size: clamp(1.04rem, 2vw, 1.28rem); line-height: 1.72; color: #24364a; }
.profile-points { display: flex; flex-wrap: wrap; gap: 9px 18px; margin-top: 24px; padding-top: 21px; border-top: 1px solid var(--line); }
.profile-points span { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .74rem; font-weight: 700; }
.profile-points i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }

.expertise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.expertise-card { min-height: 250px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 26px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.expertise-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); border-color: #bfd8eb; }
.card-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: var(--blue); background: var(--blue-light); margin-bottom: 22px; }
.card-icon svg { width: 23px; height: 23px; }
.expertise-card h3 { color: var(--navy-900); font-size: 1rem; margin-bottom: 9px; }
.expertise-card p { color: var(--muted); font-size: .82rem; line-height: 1.7; }

.split-heading { max-width: none; display: grid; grid-template-columns: 1.1fr .7fr; gap: 70px; align-items: end; margin-bottom: 55px; }
.split-heading > p { color: var(--muted); font-size: .9rem; padding-bottom: 6px; }
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; top: 20px; bottom: 20px; left: 176px; width: 1px; background: var(--line); }
.timeline-item { display: grid; grid-template-columns: 145px 62px 1fr; position: relative; margin-bottom: 28px; }
.timeline-date { color: var(--muted); font-size: .76rem; font-weight: 800; padding-top: 27px; text-align: right; }
.timeline-dot { width: 13px; height: 13px; border-radius: 50%; background: var(--white); border: 3px solid var(--blue); justify-self: center; margin-top: 28px; z-index: 1; box-shadow: 0 0 0 7px var(--white); }
.timeline-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 28px 30px; box-shadow: var(--shadow-soft); }
.timeline-card.featured { border-top: 4px solid var(--blue); }
.timeline-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 19px; }
.timeline-head h3 { color: var(--navy-900); font-size: 1.15rem; }
.timeline-head p { color: var(--blue); font-size: .78rem; font-weight: 700; margin-top: 2px; }
.current-badge { display: inline-block; margin-bottom: 7px; color: #137651; background: #e8f7f0; border-radius: 999px; padding: 4px 9px; font-size: .62rem; text-transform: uppercase; font-weight: 800; letter-spacing: .07em; }
.company-mark { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--navy-800); color: var(--white); font-size: .68rem; font-weight: 800; flex: 0 0 auto; }
.company-mark.muted { background: var(--soft); color: var(--navy-700); border: 1px solid var(--line); }
.timeline-card ul { padding-left: 19px; color: var(--muted); font-size: .82rem; }
.timeline-card li { margin: 6px 0; }
.role-ladder { display: grid; gap: 10px; }
.role-ladder div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 14px; border-radius: 11px; background: var(--soft); }
.role-ladder strong { color: var(--navy-900); font-size: .8rem; }
.role-ladder span { color: var(--muted); font-size: .74rem; }

.achievements-layout { position: relative; z-index: 1; display: grid; grid-template-columns: .8fr 1.2fr; gap: 78px; align-items: center; }
.section-dark .section-heading h2 { color: var(--white); }
.section-dark .section-heading > p:last-child { color: rgba(255,255,255,.64); }
.achievement-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.achievement-item { display: flex; gap: 17px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 15px; padding: 19px; }
.achievement-number { color: var(--gold); font-size: .72rem; font-weight: 800; padding-top: 2px; }
.achievement-item h3 { font-size: .9rem; margin-bottom: 5px; }
.achievement-item p { color: rgba(255,255,255,.58); font-size: .73rem; line-height: 1.6; }

.education-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.education-card { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 28px; transition: transform .25s ease, box-shadow .25s ease; }
.education-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.degree-tag { display: inline-flex; padding: 5px 10px; border-radius: 999px; color: var(--blue); background: var(--blue-light); font-size: .68rem; font-weight: 800; margin-bottom: 17px; }
.education-card h3 { color: var(--navy-900); font-size: 1.02rem; line-height: 1.4; }
.education-card > p { color: var(--muted); font-size: .78rem; margin: 6px 0 20px; }
.education-card dl { display: grid; gap: 9px; padding-top: 18px; border-top: 1px solid var(--line); }
.education-card dl div { display: flex; justify-content: space-between; gap: 20px; }
.education-card dt { color: var(--muted); font-size: .7rem; }
.education-card dd { color: var(--navy-900); font-size: .72rem; font-weight: 800; text-align: right; }

.development-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 44px; align-items: start; }
.accordion { background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-top: 14px; }
.accordion-trigger { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; border: 0; background: var(--white); color: var(--navy-900); text-align: left; padding: 19px 21px; cursor: pointer; }
.accordion-trigger span strong, .accordion-trigger span small { display: block; }
.accordion-trigger strong { font-size: .83rem; }
.accordion-trigger small { color: var(--muted); font-size: .68rem; margin-top: 2px; }
.accordion-trigger svg { width: 19px; height: 19px; color: var(--blue); transition: transform .22s ease; }
.accordion-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.accordion-panel { border-top: 1px solid var(--line); }
.training-list { list-style: none; padding: 8px 21px 17px; }
.training-list li { display: flex; justify-content: space-between; gap: 25px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.training-list li:last-child { border-bottom: 0; }
.training-list strong { max-width: 68%; color: var(--navy-900); font-size: .76rem; }
.training-list span { color: var(--muted); font-size: .68rem; text-align: right; }
.skills-panel { position: sticky; top: 98px; background: var(--navy-900); color: var(--white); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.skills-panel .section-kicker { color: #86c6f3; }
.skills-block + .skills-block { margin-top: 24px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); }
.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-tags span { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 999px; padding: 7px 10px; color: rgba(255,255,255,.74); font-size: .68rem; }
.skills-block h3 { font-size: .85rem; margin-bottom: 14px; }
.meter-row { display: grid; grid-template-columns: 95px 1fr; gap: 12px; align-items: center; margin: 11px 0; }
.meter-row > span { color: rgba(255,255,255,.68); font-size: .7rem; }
.meter { height: 6px; border-radius: 999px; background: rgba(255,255,255,.11); overflow: hidden; }
.meter i { display: block; width: var(--level); height: 100%; background: linear-gradient(90deg, var(--blue), #8cccf5); border-radius: inherit; }
.skills-block.compact > p { color: rgba(255,255,255,.65); font-size: .72rem; }
.community-note { margin-top: 10px; }

.contact-section { background: linear-gradient(135deg, #123b60, var(--navy-900)); color: var(--white); position: relative; overflow: hidden; }
.contact-section::before { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; left: -240px; top: -260px; background: radial-gradient(circle, rgba(80,169,230,.35), transparent 68%); }
.contact-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.contact-copy h2 { color: var(--white); }
.contact-copy > p { color: rgba(255,255,255,.65); }
.contact-card { background: rgba(255,255,255,.96); border-radius: var(--radius-lg); padding: 13px 24px; color: var(--navy-900); box-shadow: 0 24px 60px rgba(0,0,0,.22); }
.contact-card > a, .contact-location { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.contact-card > :last-child { border-bottom: 0; }
.contact-icon { width: 39px; height: 39px; border-radius: 12px; display: grid; place-items: center; color: var(--blue); background: var(--blue-light); flex: 0 0 auto; }
.contact-icon svg { width: 19px; height: 19px; }
.contact-card small, .contact-card strong { display: block; }
.contact-card small { color: var(--muted); font-size: .64rem; margin-bottom: 2px; }
.contact-card strong { font-size: .76rem; overflow-wrap: anywhere; }
.contact-card a:hover strong { color: var(--blue); }

.site-footer { background: #06131f; color: rgba(255,255,255,.58); padding: 25px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.footer-inner > div { display: flex; align-items: center; gap: 10px; color: var(--white); }
.footer-inner strong, .footer-inner p, .footer-inner a { font-size: .72rem; }
.footer-inner a { text-decoration: none; color: #8cccf5; }
.footer-credit { margin: 0; white-space: nowrap; }
.footer-credit a { display: inline-flex; align-items: center; color: #8cccf5; transition: color .2s ease, transform .2s ease; }
.footer-credit a:hover { color: var(--white); transform: translateY(-1px); }
.footer-credit strong { font-weight: 700; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }

@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .nav-menu { position: fixed; inset: 74px 20px auto; display: none; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
  .nav-menu.open { display: flex; }
  .nav-menu a, .site-header .nav-menu a { color: var(--navy-900); padding: 10px 12px; border-radius: 10px; }
  .nav-menu a:hover, .nav-menu a.active { background: var(--soft); color: var(--blue); }
  .nav-menu .nav-cta, .site-header.scrolled .nav-menu .nav-cta { background: var(--navy-800); color: var(--white); text-align: center; border-color: var(--navy-800); }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { justify-self: center; width: min(470px, 88%); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.11); }
  .two-column, .achievements-layout, .development-grid, .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .expertise-grid, .education-grid { grid-template-columns: repeat(2, 1fr); }
  .split-heading { grid-template-columns: 1fr; gap: 17px; }
  .skills-panel { position: static; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 28px, var(--container)); }
  .site-header.scrolled .brand-text, .brand-text { display: none; }
  .hero { padding-top: 106px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .hero-summary { font-size: .9rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .hero-contact-strip { flex-direction: column; gap: 10px; }
  .note-one { left: -14px; top: 35px; }
  .note-two { right: -14px; bottom: 55px; }
  .floating-note { transform: scale(.88); }
  .stats-row { margin-top: 42px; }
  .stat { padding: 17px; }
  .stat strong { font-size: 1.45rem; }
  .section { padding: 74px 0; }
  .section-heading h2, .contact-copy h2 { font-size: clamp(1.85rem, 9vw, 2.6rem); }
  .expertise-grid, .education-grid, .achievement-list { grid-template-columns: 1fr; }
  .expertise-card { min-height: auto; }
  .timeline::before { left: 14px; }
  .timeline-item { grid-template-columns: 29px 1fr; gap: 10px; }
  .timeline-date { grid-column: 2; text-align: left; padding: 0 0 7px; }
  .timeline-dot { grid-column: 1; grid-row: 1 / span 2; margin-top: 5px; }
  .timeline-card { grid-column: 2; padding: 22px; }
  .timeline-head { gap: 12px; }
  .role-ladder div { flex-direction: column; gap: 3px; }
  .training-list li { flex-direction: column; gap: 4px; }
  .training-list strong { max-width: none; }
  .training-list span { text-align: left; }
  .contact-card { padding: 8px 18px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

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

/* Hero section refinement — compact, balanced and viewport-safe */
@media (min-width: 981px) {
  .site-header:not(.scrolled) {
    background: linear-gradient(180deg, rgba(8, 24, 39, .62) 0%, rgba(8, 24, 39, .18) 68%, transparent 100%);
  }

  .hero {
    min-height: 100svh;
    padding: 96px 0 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero-grid {
    width: min(var(--container), calc(100% - 40px));
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, .72fr);
    gap: clamp(44px, 5vw, 74px);
    align-items: center;
  }

  .hero-copy {
    align-self: center;
    padding-top: 4px;
  }

  .eyebrow {
    margin-bottom: 18px;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 5.9vw, 5.15rem);
    margin-bottom: 8px;
  }

  .hero-role {
    margin-bottom: 14px;
  }

  .hero-summary {
    max-width: 650px;
    line-height: 1.7;
  }

  .hero-actions {
    margin: 25px 0 20px;
  }

  .hero-visual {
    width: 100%;
    max-width: 405px;
    justify-self: end;
  }

  .image-frame {
    padding: 9px;
    border-radius: 27px;
  }

  .image-frame img {
    aspect-ratio: 4 / 5;
    object-position: 50% 31%;
    border-radius: 20px;
  }

  .image-caption {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }

  .note-one {
    left: -32px;
    top: 40px;
  }

  .note-two {
    right: -22px;
    bottom: 62px;
  }

  .stats-row {
    width: min(var(--container), calc(100% - 40px));
    margin-top: 28px;
  }

  .stat {
    min-height: 82px;
    padding: 16px 22px;
  }

  .stat strong {
    font-size: 1.55rem;
  }
}

@media (min-width: 981px) and (max-height: 780px) {
  .hero {
    padding-top: 84px;
    padding-bottom: 22px;
  }

  .hero h1 {
    font-size: clamp(3.35rem, 5.4vw, 4.6rem);
  }

  .hero-summary {
    font-size: .92rem;
    line-height: 1.62;
  }

  .hero-actions {
    margin: 20px 0 16px;
  }

  .hero-visual {
    max-width: 350px;
  }

  .floating-note {
    padding: 10px 13px;
  }

  .stats-row {
    margin-top: 20px;
  }

  .stat {
    min-height: 72px;
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding-bottom: 42px;
  }

  .hero-grid {
    align-items: start;
  }

  .hero-visual {
    max-width: 430px;
  }

  .image-frame img {
    aspect-ratio: 4 / 5;
    object-position: 50% 31%;
  }
}

/* =========================================================
   REMADE HERO — professional, interactive, viewport-safe
   Uses normal relative asset paths only.
   ========================================================= */
.hero {
  min-height: 100svh;
  padding: 112px 0 58px;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 78% 22%, rgba(44, 133, 201, .24), transparent 30%),
    radial-gradient(circle at 18% 92%, rgba(199, 163, 90, .10), transparent 27%),
    linear-gradient(118deg, #071522 0%, #0a2034 53%, #103657 100%);
  color: var(--white);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -3;
  inset: 0 0 0 57%;
  width: auto;
  height: auto;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,0));
  border-left: 1px solid rgba(255,255,255,.07);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -4;
  inset: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.034) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.034) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: .62;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.92), rgba(0,0,0,.16));
  pointer-events: none;
}

.hero-orbit {
  position: absolute;
  z-index: -2;
  border: 1px solid rgba(139, 202, 246, .12);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  width: 520px;
  height: 520px;
  right: -150px;
  top: -165px;
}

.orbit-two {
  width: 330px;
  height: 330px;
  right: 9%;
  bottom: -205px;
  border-color: rgba(199,163,90,.12);
}

.hero-stage {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(390px, .78fr);
  align-items: center;
  gap: clamp(54px, 6vw, 92px);
}

.hero-content {
  max-width: 700px;
}

.hero-kicker {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  margin-bottom: 24px;
  border: 1px solid rgba(111, 190, 241, .27);
  border-radius: 999px;
  background: rgba(30, 105, 163, .15);
  color: #b9ddf6;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .085em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.hero-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #66c6ff;
  box-shadow: 0 0 0 5px rgba(102,198,255,.11), 0 0 22px rgba(102,198,255,.52);
}

.hero-greeting {
  margin-bottom: 3px;
  color: rgba(255,255,255,.58);
  font-size: .98rem;
  font-weight: 600;
}

.hero h1 {
  margin: 0;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(3.8rem, 5.65vw, 5.55rem);
  line-height: 1.02;
  letter-spacing: -.06em;
  font-weight: 700;
  white-space: nowrap;
}

.hero-first-name { color: #ffffff; }
.hero-last-name {
  color: #81c7f6;
  text-shadow: 0 16px 44px rgba(65,157,219,.16);
}

.hero-title-line {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 15px 0 20px;
}

.hero-title-line > span {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, #62bdf2, rgba(98,189,242,.16));
}

.hero-title-line p {
  color: #d7eafa;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: .01em;
}

.hero-summary {
  max-width: 650px;
  color: rgba(255,255,255,.68);
  font-size: .96rem;
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 29px 0 30px;
}

.hero .btn {
  min-height: 49px;
  border-radius: 12px;
  padding-inline: 19px;
}

.hero .btn-primary {
  background: #2482c5;
  box-shadow: 0 14px 32px rgba(22,112,177,.28);
}

.hero .btn-primary:hover {
  background: #2b91d8;
}

.hero .btn-secondary {
  border-color: rgba(255,255,255,.23);
  background: rgba(255,255,255,.055);
  backdrop-filter: blur(10px);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 620px;
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.hero-metric {
  position: relative;
  min-height: 82px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px 22px 14px 0;
}

.hero-metric + .hero-metric {
  padding-left: 22px;
}

.hero-metric + .hero-metric::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  bottom: 19px;
  width: 1px;
  background: rgba(255,255,255,.11);
}

.hero-metric strong {
  color: #86cdf9;
  font-size: 1.55rem;
  line-height: 1;
  min-width: 40px;
  white-space: nowrap;
  overflow: visible;
  font-weight: 800;
}

.hero-metric span {
  margin-top: 8px;
  color: rgba(255,255,255,.56);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .025em;
}

.hero-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
  margin-top: 22px;
}

.hero-contact-row a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.56);
  text-decoration: none;
  font-size: .76rem;
  transition: color .2s ease, transform .2s ease;
}

.hero-contact-row a:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.hero-contact-row svg {
  width: 16px;
  height: 16px;
  color: #75c2f2;
}

.hero-profile {
  position: relative;
  width: min(100%, 440px);
  justify-self: end;
  transform-style: preserve-3d;
  transition: transform .18s ease-out;
}

.profile-frame {
  position: relative;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 28px;
  background: rgba(255,255,255,.075);
  box-shadow: 0 34px 90px rgba(0,0,0,.27);
  backdrop-filter: blur(14px);
}

.profile-frame::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(134,205,249,.28), transparent 34%, rgba(255,255,255,.02));
}

.profile-frame-header {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  color: rgba(255,255,255,.61);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.profile-frame-year {
  color: #8ccff7;
}

.profile-photo {
  position: relative;
  height: clamp(400px, 52vh, 485px);
  overflow: hidden;
  border-radius: 20px;
  background: #172c3d;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 24%;
  transform: scale(1.005);
}

.profile-photo-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 55%, rgba(6,19,31,.74) 100%),
    linear-gradient(90deg, rgba(7,22,35,.05), transparent 55%);
  pointer-events: none;
}

.profile-nameplate {
  position: absolute;
  left: 17px;
  right: 17px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 13px;
  background: rgba(7,23,36,.72);
  box-shadow: 0 14px 28px rgba(0,0,0,.18);
  backdrop-filter: blur(13px);
}

.profile-nameplate strong,
.profile-nameplate small {
  display: block;
}

.profile-nameplate strong {
  color: #fff;
  font-size: .82rem;
}

.profile-nameplate small {
  margin-top: 2px;
  color: rgba(255,255,255,.58);
  font-size: .64rem;
}

.profile-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 16px 10px 8px;
}

.profile-details > div:first-child span,
.profile-details > div:first-child strong {
  display: block;
}

.profile-details > div:first-child span {
  color: rgba(255,255,255,.44);
  font-size: .61rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.profile-details > div:first-child strong {
  margin-top: 4px;
  color: #eef8ff;
  font-size: .73rem;
  line-height: 1.45;
}

.profile-award {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-left: 13px;
  border-left: 1px solid rgba(255,255,255,.11);
  color: rgba(255,255,255,.56);
  font-size: .58rem;
  font-weight: 700;
}

.profile-award svg {
  width: 22px;
  height: 22px;
  color: #d8b66c;
  flex: 0 0 auto;
}




.hero-scroll {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 11px;
  transform: translateX(-50%);
  color: rgba(255,255,255,.42);
  text-decoration: none;
  font-size: .61rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero-scroll i {
  position: relative;
  width: 30px;
  height: 1px;
  background: rgba(255,255,255,.25);
}

.hero-scroll i::after {
  content: "";
  position: absolute;
  right: 0;
  top: -2px;
  width: 5px;
  height: 5px;
  border-right: 1px solid rgba(255,255,255,.48);
  border-bottom: 1px solid rgba(255,255,255,.48);
  transform: rotate(45deg);
}

@media (min-width: 1041px) and (max-height: 820px) {
  .hero {
    padding-top: 92px;
    padding-bottom: 44px;
  }

  .hero-kicker { margin-bottom: 17px; }
  .hero h1 { font-size: clamp(3.45rem, 5.2vw, 4.85rem); }
  .hero-title-line { margin: 11px 0 15px; }
  .hero-summary { font-size: .88rem; line-height: 1.68; }
  .hero-actions { margin: 21px 0 22px; }
  .hero-metric { min-height: 70px; }
  .hero-contact-row { margin-top: 16px; }
  .hero-profile { width: min(100%, 390px); }
  .profile-photo { height: min(52vh, 410px); }
  .profile-details { padding-top: 12px; }
}

@media (max-width: 1040px) {
  .hero {
    min-height: auto;
    padding: 112px 0 76px;
    display: block;
  }

  .hero::before {
    inset: 55% 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.06);
  }

  .hero-stage {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .hero-content {
    max-width: 760px;
  }

  .hero-profile {
    justify-self: center;
    width: min(100%, 440px);
  }

  .hero-scroll { display: none; }
}

@media (max-width: 700px) {
  .hero {
    padding: 98px 0 58px;
  }

  .hero-stage {
    gap: 42px;
  }

  .hero-kicker {
    max-width: 100%;
    margin-bottom: 18px;
    font-size: .64rem;
  }

  .hero-greeting { font-size: .87rem; }

  .hero h1 {
    font-size: clamp(2.75rem, 14vw, 4.2rem);
    white-space: normal;
  }

  .hero-title-line {
    margin: 12px 0 16px;
  }

  .hero-title-line > span { width: 32px; }
  .hero-title-line p { font-size: .95rem; }
  .hero-summary { font-size: .86rem; line-height: 1.7; }

  .hero-actions {
    margin: 24px 0 25px;
    flex-direction: column;
  }

  .hero .btn { width: 100%; }

  .hero-metric {
    min-height: 74px;
    padding-right: 10px;
  }

  .hero-metric + .hero-metric {
    padding-left: 12px;
  }

  .hero-metric strong { font-size: 1.25rem; }
  .hero-metric span { font-size: .56rem; line-height: 1.35; }

  .hero-contact-row {
    flex-direction: column;
    gap: 9px;
    margin-top: 18px;
  }

  .hero-profile {
    width: calc(100% - 12px);
  }

  .profile-photo {
    height: min(112vw, 470px);
  }

  .profile-details {
    grid-template-columns: 1fr;
  }

  .profile-award {
    padding: 10px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.1);
  }

}

/* =========================================================
   COMPLETE YAOMUNNAHAR CONTENT — imported from the supplied HTML
   while retaining the Jibon-style portfolio presentation.
   ========================================================= */
.nav-menu { gap: 18px; }
.nav-menu a { font-size: .78rem; }

.hero-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.hero-tag-row span {
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  color: rgba(255,255,255,.73);
  font-size: .66rem;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.hero-tag-row span:hover {
  transform: translateY(-2px);
  background: rgba(101,191,246,.12);
  border-color: rgba(101,191,246,.28);
}
.hero-metrics-four { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 690px; }
.hero-metrics-four .hero-metric { padding-right: 16px; }
.hero-metrics-four .hero-metric + .hero-metric { padding-left: 16px; }

.about-complete-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 58px;
  align-items: start;
}
.about-copy > p {
  color: var(--muted);
  margin-bottom: 15px;
  font-size: .9rem;
  line-height: 1.82;
}
.focus-card-grid { display: grid; gap: 12px; margin-top: 28px; }
.focus-card {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(8,24,39,.045);
}
.focus-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--blue);
  background: var(--blue-light);
}
.focus-icon svg { width: 20px; height: 20px; }
.focus-card h3 { color: var(--navy-900); font-size: .86rem; margin-bottom: 4px; }
.focus-card p { color: var(--muted); font-size: .74rem; line-height: 1.58; }

.capability-catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.capability-group {
  min-height: 148px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--soft);
}
.capability-group.wide { grid-column: 1 / -1; min-height: auto; }
.capability-group h3 {
  margin-bottom: 14px;
  color: var(--navy-900);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .075em;
}
.capability-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.capability-tags span {
  padding: 5px 9px;
  border: 1px solid #cfe3f4;
  border-radius: 999px;
  background: #eaf5ff;
  color: #175e95;
  font-size: .66rem;
  font-weight: 700;
}
.capability-tags.teal span { color: #16715b; background: #e8f7f1; border-color: #c9eadf; }
.capability-tags.neutral span { color: #4e5a68; background: #fff; border-color: var(--line); }

.company-career-card { overflow: hidden; }
.company-career-head { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.nested-role-list {
  position: relative;
  display: grid;
  gap: 14px;
  margin-top: 20px;
  padding-left: 18px;
}
.nested-role-list::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 99px;
  background: linear-gradient(var(--blue-light), var(--blue), var(--blue-light));
}
.nested-role {
  position: relative;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--soft);
}
.nested-role::before {
  content: "";
  position: absolute;
  left: -21px;
  top: 26px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px #fff;
}
.nested-role-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 11px;
}
.nested-role-head h4 { color: var(--navy-900); font-size: .88rem; }
.nested-role-head p { color: var(--muted); font-size: .67rem; margin-top: 2px; }
.nested-role-head > span {
  white-space: nowrap;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: .63rem;
  font-weight: 800;
}
.nested-role ul { color: var(--muted); font-size: .76rem; line-height: 1.65; padding-left: 18px; }
.nested-role li + li { margin-top: 6px; }

.proficiency-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.proficiency-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.proficiency-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 23px; }
.proficiency-card-head .card-icon { margin: 0; width: 43px; height: 43px; flex: 0 0 auto; }
.proficiency-card-head h3 { color: var(--navy-900); font-size: .92rem; }
.teal-icon { color: #1d8e72; background: #e4f5ef; }
.purple-icon { color: #7569c7; background: #eeebff; }
.proficiency-list { display: grid; gap: 16px; }
.proficiency-row > div:first-child { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 7px; }
.proficiency-row span { color: var(--ink); font-size: .71rem; font-weight: 700; }
.proficiency-row strong { color: var(--muted); font-size: .67rem; }
.proficiency-track { height: 6px; overflow: hidden; border-radius: 999px; background: #e8eef3; }
.proficiency-track i { display: block; width: var(--level); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), #80c7f2); transform-origin: left; }
.teal-bars .proficiency-track i { background: linear-gradient(90deg, #238c71, #68c7ac); }
.purple-bars .proficiency-track i { background: linear-gradient(90deg, #6f67bd, #a39ce6); }

.education-note {
  margin: 18px 0 0 !important;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  color: var(--muted) !important;
  font-size: .72rem !important;
  line-height: 1.65;
}

.project-grid-complete { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.project-card-complete {
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.project-card-complete:hover { transform: translateY(-5px); border-color: #bed8eb; box-shadow: var(--shadow); }
.project-type { color: var(--blue); font-size: .67rem; font-weight: 800; text-transform: uppercase; letter-spacing: .075em; }
.project-card-complete h3 { margin: 15px 0 10px; color: var(--navy-900); font-size: 1rem; line-height: 1.45; }
.project-card-complete > p { color: var(--muted); font-size: .78rem; line-height: 1.7; }
.project-tags-complete { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.project-tags-complete span { padding: 5px 9px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); color: #556477; font-size: .64rem; font-weight: 700; }
.project-link { display: inline-flex; align-items: center; gap: 7px; width: fit-content; margin-top: auto; padding-top: 22px; color: var(--blue); font-size: .7rem; font-weight: 800; text-decoration: none; }
.project-link svg { width: 15px; height: 15px; }
.project-link:hover { text-decoration: underline; }

.certification-grid-complete { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.certification-card-complete {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 15px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.certification-icon { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 13px; background: var(--blue-light); color: var(--blue); }
.certification-icon svg { width: 21px; height: 21px; }
.certification-card-complete h3 { color: var(--navy-900); font-size: .86rem; line-height: 1.45; }
.certification-card-complete p { margin: 6px 0 7px; color: var(--muted); font-size: .69rem; line-height: 1.55; }
.certification-card-complete div > span { color: var(--blue); font-size: .65rem; font-weight: 800; }

.contact-complete-grid { position: relative; display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; align-items: center; }
.contact-subtitle { margin: 28px 0 8px; color: #fff; font-family: "Libre Baskerville", Georgia, serif; font-size: 1.12rem; line-height: 1.5; }
.contact-action-row-complete { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; }
.contact-call-btn { margin-top: 28px; color: #fff; border-color: rgba(255,255,255,.27); background: rgba(255,255,255,.07); }
.contact-call-btn:hover { background: rgba(255,255,255,.13); }
.availability-note { display: flex; align-items: center; gap: 9px; margin-top: 20px; color: rgba(255,255,255,.66); font-size: .72rem; font-weight: 700; }
.availability-note span { color: #72deb0; }
.references-block { position: relative; margin-top: 58px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.13); }
.references-heading h3 { color: #fff; font-family: "Libre Baskerville", Georgia, serif; font-size: 1.55rem; }
.reference-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.reference-card { padding: 22px; border: 1px solid rgba(255,255,255,.13); border-radius: 16px; background: rgba(255,255,255,.075); backdrop-filter: blur(12px); }
.reference-top { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.reference-avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: rgba(134,205,249,.15); color: #9bd6fa; font-size: .68rem; font-weight: 800; }
.reference-card h4 { color: #fff; font-size: .84rem; }
.reference-card p { color: rgba(255,255,255,.55); font-size: .67rem; }
.reference-card > strong { color: #9bd6fa; font-size: .71rem; }
.reference-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 12px; }
.reference-links a { color: rgba(255,255,255,.66); text-decoration: none; font-size: .68rem; }
.reference-links a:hover { color: #fff; }

@media (max-width: 1040px) {
  .about-complete-grid,
  .contact-complete-grid { grid-template-columns: 1fr; gap: 42px; }
  .proficiency-grid,
  .certification-grid-complete { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-menu { gap: 4px; }
  .nav-menu a { font-size: .84rem; }
}

@media (max-width: 700px) {
  .hero h1 { white-space: normal; }
  .hero-title-line { align-items: flex-start; }
  .hero-title-line > span { margin-top: 12px; flex: 0 0 36px; }
  .hero-metrics-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-metrics-four .hero-metric:nth-child(3),
  .hero-metrics-four .hero-metric:nth-child(4) { border-top: 1px solid rgba(255,255,255,.11); }
  .hero-metrics-four .hero-metric:nth-child(3) { padding-left: 0; }
  .hero-metrics-four .hero-metric:nth-child(3)::before { display: none; }
  .capability-catalog,
  .proficiency-grid,
  .project-grid-complete,
  .certification-grid-complete,
  .reference-grid { grid-template-columns: 1fr; }
  .capability-group.wide { grid-column: auto; }
  .nested-role-head { flex-direction: column; gap: 8px; }
  .nested-role-head > span { white-space: normal; }
  .nested-role { padding: 17px; }
  .contact-action-row-complete { flex-direction: column; align-items: stretch; }
  .contact-action-row-complete .btn { margin-top: 14px; }
}

.contact-channel-label {
  width: fit-content;
  margin-top: 26px;
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  color: #9bd6fa;
  background: rgba(255,255,255,.055);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.contact-card-label {
  padding: 16px 0 10px;
  border-bottom: 1px solid var(--line);
  color: var(--blue);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}


/* SEO/accessibility identity details */
.footer-identity { display: inline-flex; align-items: center; gap: 10px; }
.footer-identity > span:last-child { display: flex; flex-direction: column; gap: 1px; }
.footer-identity small { color: var(--muted); font-size: .68rem; font-weight: 600; line-height: 1.35; }
.profile-photo picture { display: block; width: 100%; height: 100%; }
.profile-photo picture img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }


/* CMS-editable executive profile card text */
.profile-award-copy { display: inline; color: inherit; font: inherit; }
.profile-award-copy > span { color: inherit; font: inherit; }
