:root {
  --navy: #0a2e69;
  --blue: #0b4ea2;
  --blue-2: #2566ae;
  --teal: #10a6b6;
  --teal-soft: #dff7f8;
  --orange: #ee742c;
  --orange-2: #f79a31;
  --ink: #17243a;
  --muted: #64748b;
  --line: #dce6ef;
  --surface: #ffffff;
  --surface-alt: #f4f8fb;
  --shadow: 0 24px 65px rgba(9, 46, 105, .12);
  --radius: 24px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
svg { fill: currentColor; }
button, input, textarea { font: inherit; }

.skip-link {
  position: fixed;
  left: 18px;
  top: -60px;
  z-index: 9999;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--orange);
  color: white;
  text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}
.section { padding: 105px 0; position: relative; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(220, 230, 239, .75);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(18px);
}
.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.brand img { width: 48px; height: 43px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { color: var(--blue); letter-spacing: .08em; font-size: .95rem; }
.brand-text small { color: var(--muted); font-size: .72rem; margin-top: 5px; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a {
  color: #344256;
  text-decoration: none;
  font-size: .93rem;
  font-weight: 650;
  transition: color .2s ease;
}
.site-nav a:hover, .site-nav a.active { color: var(--blue); }
.site-nav .nav-cta {
  color: white;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: 0 10px 22px rgba(11, 78, 162, .18);
}
.site-nav .nav-cta:hover { color: white; transform: translateY(-1px); }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 9px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--blue);
  transition: transform .2s, opacity .2s;
}

.hero {
  min-height: calc(100vh - 78px);
  display: block;
  overflow: hidden;
  padding-top: 82px;
  padding-bottom: 78px;
  background:
    radial-gradient(circle at 76% 20%, rgba(16, 166, 182, .12), transparent 26%),
    radial-gradient(circle at 12% 85%, rgba(238, 116, 44, .1), transparent 28%),
    linear-gradient(180deg, #fbfdff 0%, #fff 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(11, 78, 162, .035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(11, 78, 162, .035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 84%);
}
.hero-ribbon {
  position: absolute;
  z-index: 0;
  width: 520px;
  height: 52px;
  border-radius: 38px;
  opacity: .95;
}
.hero-ribbon-blue {
  right: -180px;
  top: 155px;
  transform: rotate(38deg);
  background: linear-gradient(90deg, var(--teal), var(--blue), var(--navy));
}
.hero-ribbon-orange {
  left: -230px;
  bottom: 110px;
  transform: rotate(35deg);
  background: linear-gradient(90deg, var(--orange-2), var(--orange));
}
.hero-grid {
  min-height: 610px;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.eyebrow, .kicker {
  margin: 0 0 16px;
  color: var(--orange);
  font-size: .79rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow span { width: 34px; height: 3px; border-radius: 3px; background: var(--orange); }
.hero h1 {
  margin: 0;
  font-size: clamp(3.4rem, 7vw, 6.6rem);
  letter-spacing: -.065em;
  line-height: .95;
  color: var(--blue);
}
.hero h1 em { font-style: normal; color: var(--orange); }
.hero h2 {
  margin: 28px 0 18px;
  max-width: 720px;
  color: #2d3c50;
  font-size: clamp(1.25rem, 2.1vw, 1.8rem);
  line-height: 1.35;
  font-weight: 600;
}
.hero-lead {
  max-width: 720px;
  margin: 0;
  color: #556477;
  font-size: 1.06rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: 0 15px 30px rgba(11, 78, 162, .22);
}
.btn-secondary {
  color: var(--blue);
  background: #fff;
  border-color: #bfd0e2;
}
.btn-secondary:hover { box-shadow: 0 12px 25px rgba(10, 46, 105, .1); }
.hero-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 31px 0 0;
  padding: 0;
  color: #59687a;
  font-size: .91rem;
}
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 17px; height: 17px; color: var(--teal); }
.hero-meta a { text-decoration: none; }
.hero-meta a:hover { color: var(--blue); }

.hero-visual { position: relative; }
.portrait-frame {
  position: relative;
  width: min(100%, 500px);
  aspect-ratio: 1 / 1.08;
  margin-inline: auto;
  padding: 16px;
  border-radius: 46% 46% 26% 26% / 36% 36% 28% 28%;
  background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(226,245,248,.92));
  box-shadow: var(--shadow);
}
.portrait-frame::before {
  content: "";
  position: absolute;
  inset: -14px;
  z-index: -1;
  border: 3px solid rgba(11, 78, 162, .14);
  border-radius: inherit;
}
.portrait-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  border-radius: inherit;
}
.portrait-glow {
  position: absolute;
  inset: 17% -7% -7% 17%;
  z-index: -2;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(16,166,182,.2), rgba(11,78,162,.12), rgba(238,116,44,.18));
  filter: blur(24px);
}
.brand-badge {
  position: absolute;
  left: -52px;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 17px;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 45px rgba(10,46,105,.17);
  backdrop-filter: blur(12px);
}
.brand-badge img { width: 48px; height: 42px; object-fit: contain; }
.brand-badge div { display: flex; flex-direction: column; line-height: 1.1; }
.brand-badge strong { color: var(--blue); letter-spacing: .09em; font-size: .83rem; }
.brand-badge span { color: var(--muted); font-size: .72rem; margin-top: 5px; }

.stats {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 38px;
  border: 1px solid rgba(199, 217, 231, .8);
  border-radius: 22px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 18px 45px rgba(10,46,105,.08);
  overflow: hidden;
}
.stats article {
  padding: 22px 28px;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
}
.stats article:last-child { border-right: 0; }
.stats strong { color: var(--orange); font-size: 2.2rem; line-height: 1; }
.stats span { color: #536274; font-size: .87rem; font-weight: 700; line-height: 1.3; }

.section-heading h2 {
  margin: 0;
  max-width: 720px;
  color: var(--blue);
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -.04em;
}
.section-heading > p:not(.kicker) { max-width: 680px; color: var(--muted); }
.section-heading.centered { max-width: 850px; margin: 0 auto 48px; text-align: center; }
.section-heading.centered h2, .section-heading.centered p { margin-inline: auto; }

.about-section { background: var(--surface-alt); }
.two-col {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 90px;
  align-items: start;
}
.about-copy p { color: #566579; }
.about-copy .large-copy { margin-top: 0; color: #25364d; font-size: 1.18rem; line-height: 1.75; }
.tag-list, .mini-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.tag-list span, .mini-tags span {
  padding: 9px 13px;
  border: 1px solid #cbd9e6;
  border-radius: 999px;
  color: var(--blue);
  background: #fff;
  font-size: .83rem;
  font-weight: 700;
}

.expertise-section { overflow: hidden; }
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.expertise-card {
  min-height: 290px;
  padding: 31px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 40px rgba(10,46,105,.06);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.expertise-card:hover {
  transform: translateY(-5px);
  border-color: rgba(16,166,182,.5);
  box-shadow: 0 24px 55px rgba(10,46,105,.12);
}
.icon-wrap {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: 0 12px 26px rgba(11,78,162,.2);
}
.icon-wrap svg { width: 26px; height: 26px; }
.expertise-card:nth-child(2n) .icon-wrap { background: linear-gradient(135deg, var(--orange), var(--orange-2)); }
.expertise-card h3 { margin: 23px 0 11px; color: #223753; font-size: 1.15rem; }
.expertise-card p { margin: 0; color: var(--muted); font-size: .94rem; }

.experience-section {
  background:
    linear-gradient(180deg, rgba(244,248,251,.98), rgba(255,255,255,.98)),
    radial-gradient(circle at top right, rgba(16,166,182,.15), transparent 28%);
}
.timeline { position: relative; margin-top: 54px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 158px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--teal), var(--blue), var(--orange));
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 125px 1fr;
  gap: 68px;
  margin-bottom: 32px;
}
.timeline-date {
  padding-top: 25px;
  color: var(--blue);
  font-size: .83rem;
  font-weight: 800;
  text-align: right;
}
.timeline-marker {
  position: absolute;
  left: 150px;
  top: 29px;
  width: 18px;
  height: 18px;
  z-index: 2;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 2px rgba(238,116,44,.25);
}
.timeline-card {
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(10,46,105,.07);
}
.timeline-card.featured {
  border-color: rgba(16,166,182,.4);
  background: linear-gradient(135deg, #fff, #f0fbfc);
}
.role-heading { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.role-badge {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--blue);
  background: var(--teal-soft);
  font-size: .72rem;
  font-weight: 800;
}
.company {
  margin: 0 0 6px;
  color: var(--orange);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.timeline-card h3 { margin: 0 0 12px; color: var(--blue); font-size: 1.3rem; }
.timeline-card > p:last-child { margin-bottom: 0; color: var(--muted); }
.timeline-card ul { margin: 14px 0 0; padding-left: 20px; color: #536274; }
.timeline-card li { margin: 7px 0; }

.achievements-section { padding-top: 55px; }
.achievement-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 65px;
  padding: 64px;
  border-radius: 34px;
  color: white;
  background:
    radial-gradient(circle at 90% 0%, rgba(16,166,182,.5), transparent 34%),
    linear-gradient(135deg, #072d69, #0b4ea2 64%, #087e99);
  box-shadow: var(--shadow);
}
.achievement-panel::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -120px;
  width: 340px;
  height: 66px;
  border: 18px solid rgba(238,116,44,.82);
  border-radius: 50px;
  transform: rotate(-40deg);
}
.kicker.light { color: #ffc18f; }
.achievement-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  line-height: 1.12;
}
.achievement-list { position: relative; z-index: 2; }
.achievement-list article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.achievement-list article:last-child { border-bottom: 0; }
.achievement-list span { color: #ffb579; font-weight: 900; }
.achievement-list p { margin: 0; color: rgba(255,255,255,.87); }

.education-section { background: var(--surface-alt); }
.education-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 70px;
  align-items: start;
}
.education-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.education-card, .language-card, .skills-card {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(10,46,105,.055);
}
.edu-year {
  color: var(--orange);
  font-size: .78rem;
  font-weight: 850;
}
.education-card h3, .language-card h3, .skills-card h3 {
  margin: 10px 0 8px;
  color: var(--blue);
  font-size: 1.08rem;
}
.education-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.language-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: .88rem;
}
.language-row:last-child { border-bottom: 0; }
.language-row span { color: #435368; }
.language-row strong { color: var(--blue); text-align: right; }
.skills-card .mini-tags { margin-top: 16px; }
.skills-card .mini-tags span { padding: 7px 10px; font-size: .76rem; background: var(--surface-alt); }

.contact-section { padding-bottom: 95px; }
.contact-panel {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 70px;
  align-items: center;
  padding: 65px;
  border-radius: 36px;
  color: white;
  background:
    radial-gradient(circle at 85% 20%, rgba(16,166,182,.55), transparent 30%),
    linear-gradient(135deg, #082c66, #0a4ea2 60%, #0a7898);
  box-shadow: 0 30px 75px rgba(10,46,105,.2);
}
.contact-copy h2 { margin: 0; max-width: 760px; font-size: clamp(2.1rem, 4vw, 3.65rem); line-height: 1.08; }
.contact-copy > p:not(.kicker) { max-width: 740px; color: rgba(255,255,255,.78); }
.contact-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 30px 0;
}
.contact-links a {
  padding: 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 15px;
  background: rgba(255,255,255,.08);
  text-decoration: none;
}
.contact-links span, .contact-links strong { display: block; }
.contact-links span { color: #bcddeb; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-links strong { margin-top: 4px; font-size: .84rem; word-break: break-word; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.btn-white { color: var(--blue); background: #fff; }
.btn-outline-white { color: #fff; border-color: rgba(255,255,255,.4); background: transparent; }
.qr-card {
  padding: 25px;
  border-radius: 26px;
  text-align: center;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 20px 55px rgba(0,0,0,.18);
}
.qr-background {
  padding: 12px;
  border-radius: 18px;
  background: #fff;
}
.qr-card img { width: 100%; height: auto; }
.qr-card strong { display: block; margin-top: 12px; color: var(--blue); font-size: 1.08rem; }
.qr-card span { display: block; margin-top: 4px; color: var(--muted); font-size: .8rem; }

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  background: #fff;
}
.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: .82rem;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 38px; }
.footer-brand div { display: flex; flex-direction: column; line-height: 1.15; }
.footer-brand strong { color: var(--blue); }
.footer-brand span { font-size: .72rem; margin-top: 4px; }
.site-footer a { color: var(--blue); font-weight: 750; text-decoration: none; }

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

:focus-visible {
  outline: 3px solid rgba(238,116,44,.55);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .section { padding: 80px 0; }
  .hero { min-height: auto; padding-bottom: 65px; }
  .hero-grid { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 55px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { max-width: 560px; margin-inline: auto; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats article:nth-child(2) { border-right: 0; }
  .stats article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .two-col, .education-grid { grid-template-columns: 1fr; gap: 42px; }
  .expertise-grid { grid-template-columns: 1fr 1fr; }
  .achievement-panel { grid-template-columns: 1fr; padding: 48px; }
  .contact-panel { grid-template-columns: 1fr 260px; gap: 35px; padding: 46px; }
  .contact-links { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .nav-wrap { min-height: 68px; }
  .menu-toggle { display: block; position: relative; z-index: 1002; }
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 25px;
    background: rgba(255,255,255,.98);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: .25s ease;
  }
  .site-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .site-nav a { font-size: 1.15rem; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding-top: 55px; }
  .hero h1 { font-size: clamp(3.2rem, 17vw, 5rem); }
  .hero h2 { font-size: 1.22rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .hero-meta { flex-direction: column; gap: 12px; }
  .brand-badge { left: 10px; bottom: 12px; }
  .stats { grid-template-columns: 1fr; margin-top: 55px; }
  .stats article { border-right: 0; border-bottom: 1px solid var(--line); }
  .stats article:last-child { border-bottom: 0; }
  .expertise-grid, .education-cards { grid-template-columns: 1fr; }
  .timeline::before { left: 9px; }
  .timeline-item { grid-template-columns: 1fr; gap: 8px; padding-left: 34px; }
  .timeline-date { text-align: left; padding-top: 0; }
  .timeline-marker { left: 0; top: 5px; }
  .timeline-card { padding: 23px; }
  .role-heading { flex-direction: column; }
  .achievement-panel { padding: 34px 26px; border-radius: 27px; }
  .contact-panel { grid-template-columns: 1fr; padding: 35px 24px; border-radius: 28px; }
  .qr-card { max-width: 290px; margin-inline: auto; }
  .footer-wrap { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .section { padding: 68px 0; }
  .hero-ribbon { opacity: .5; }
  .portrait-frame { border-radius: 40px; aspect-ratio: .92; }
  .brand-badge { max-width: calc(100% - 20px); }
  .brand-badge span { display: none; }
  .section-heading h2 { font-size: 2.35rem; }
  .expertise-card { min-height: auto; }
}

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

@media print {
  .site-header, .hero-actions, .menu-toggle, .contact-actions, .site-footer { display: none !important; }
  .section { padding: 32px 0; }
  .reveal { opacity: 1; transform: none; }
  body { color: #000; }
}
