:root {
  --blue: #064a9b;
  --blue-dark: #073b7a;
  --blue-deep: #082d59;
  --blue-soft: #eaf2fb;
  --gold: #f4c542;
  --ink: #1c2c42;
  --muted: #586b82;
  --line: #d8e1eb;
  --paper: #f7f9fc;
  --white: #fff;
  --sans: "DM Sans", Arial, sans-serif;
  --display: "Manrope", "DM Sans", Arial, sans-serif;
  --shadow: 0 10px 30px rgb(22 48 80 / 7%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.section-pad { padding: 92px 0; }
.skip-link { position: fixed; z-index: 10; top: 10px; left: 10px; padding: 10px 14px; color: white; background: var(--blue-deep); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid var(--line); background: rgb(255 255 255 / 94%); backdrop-filter: blur(12px); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.03em; white-space: nowrap; }
.brand-mark { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 7px; background: var(--blue); color: #fff; font: 700 11px var(--sans); letter-spacing: -.08em; }
.main-nav { display: flex; align-items: center; gap: 31px; color: #425873; font-size: 14px; }
.main-nav a,.header-contact { transition: color .18s ease; }
.main-nav a:hover,.header-contact:hover { color: var(--blue); }
.header-contact { padding: 9px 15px; border: 1px solid #b9c8d9; border-radius: 5px; color: var(--blue); font-size: 14px; font-weight: 700; white-space: nowrap; }
.header-contact span { margin-left: 7px; }

.intro { padding-top: 74px; padding-bottom: 76px; background: linear-gradient(180deg, #fff 0%, #f7f9fc 100%); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(290px, .65fr); gap: 72px; align-items: center; }
.eyebrow,.section-kicker,.project-label { margin: 0; color: var(--blue); font-size: 11px; line-height: 1.4; font-weight: 700; letter-spacing: .11em; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.availability-dot { width: 8px; height: 8px; border: 2px solid #c69512; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px #fdf4d8; }
.intro h1 { margin: 20px 0 8px; color: var(--blue-deep); font: 800 clamp(42px, 6vw, 64px)/1.1 var(--display); letter-spacing: -.055em; }
.specialties { margin: 0; color: var(--blue); font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.specialties span { padding: 0 5px; color: #8aa1bc; }
.intro-text { max-width: 660px; margin: 22px 0 24px; color: #485d75; font-size: 17px; line-height: 1.75; }
.intro-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 19px; padding: 11px 17px; border: 1px solid transparent; border-radius: 5px; font-size: 14px; font-weight: 700; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--blue); color: white; box-shadow: 0 5px 12px rgb(6 74 155 / 15%); }
.button-primary:hover { background: var(--blue-dark); }
.button-secondary { border-color: #bdcbd9; background: #fff; color: var(--blue); }
.button-secondary:hover { border-color: var(--blue); }
.intro-meta { margin: 20px 0 0; color: #62758a; font-size: 13px; }
.intro-meta span { padding: 0 8px; color: #a1afbf; }

.snapshot { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--white); box-shadow: var(--shadow); }
.snapshot-head { display: flex; align-items: center; justify-content: space-between; padding: 17px 21px; border-bottom: 1px solid var(--line); color: var(--blue); font-size: 10px; font-weight: 700; letter-spacing: .11em; }
.snapshot-icon { color: #c18e08; font-size: 20px; }
.snapshot-stat { display: grid; grid-template-columns: 100px 1fr; align-items: center; gap: 12px; padding: 17px 21px; border-bottom: 1px solid #e8edf3; }
.snapshot-stat strong { color: var(--blue); font: 800 27px/1 var(--display); letter-spacing: -.06em; }
.snapshot-stat span { color: #53677f; font-size: 13px; line-height: 1.5; }
.snapshot-footer { display: grid; gap: 5px; padding: 15px 21px 17px; background: #f4f8fd; }
.snapshot-footer span { color: #72849a; font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.snapshot-footer b { color: #344b66; font-size: 12px; }

.skills { background: #f0f5fb; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 45px; margin-bottom: 32px; }
.section-kicker { margin-bottom: 12px; }
.section-heading h2,.education h2 { margin: 0; color: var(--blue-deep); font: 750 clamp(29px, 3.6vw, 40px)/1.2 var(--display); letter-spacing: -.045em; }
.section-summary { width: min(385px, 42%); margin: 0 0 3px; color: #5b6e84; font-size: 14px; line-height: 1.7; }
.skills-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.skill-card { min-height: 222px; padding: 21px; border: 1px solid #d5dfeb; border-radius: 7px; background: #fff; box-shadow: 0 3px 12px rgb(27 57 92 / 3%); }
.skill-index { display: inline-grid; width: 29px; height: 25px; place-items: center; border-radius: 4px; background: #e7f0fb; color: var(--blue); font-size: 10px; font-weight: 700; }
.skill-card h3 { margin: 17px 0 5px; color: #233b57; font: 700 17px/1.35 var(--display); letter-spacing: -.025em; }
.skill-card p { min-height: 43px; margin: 0 0 13px; color: #64768b; font-size: 12px; line-height: 1.55; }
.skill-tags,.experience-tags,.project-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.skill-tags span,.experience-tags span,.project-tags span { display: inline-flex; align-items: center; min-height: 23px; padding: 3px 7px; border: 1px solid #dce5ef; border-radius: 4px; background: #f8fafd; color: #4a6079; font-size: 10px; line-height: 1.3; }
.ai-skill { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 13px; margin-top: 15px; padding: 16px 20px; border: 1px solid #cad8e8; border-left: 4px solid var(--blue); border-radius: 6px; background: #fff; }
.ai-symbol { color: #bc8a04; font-size: 21px; }
.ai-skill strong { color: var(--blue); font-size: 14px; }
.ai-skill p { margin: 3px 0 0; color: #596d84; font-size: 12px; line-height: 1.55; }
.ai-skill>a { color: var(--blue); font-size: 12px; font-weight: 700; white-space: nowrap; }

.experience { background: #fff; }
.experience-list { border-top: 1px solid var(--line); }
.experience-item { display: grid; grid-template-columns: 190px 1fr; gap: 28px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.experience-date { padding-top: 4px; color: #5d7290; font-size: 11px; font-weight: 700; letter-spacing: .045em; }
.experience-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.experience-title h3 { margin: 0; color: #1c3552; font: 700 18px/1.35 var(--display); letter-spacing: -.025em; }
.experience-title span { color: #64778d; font-size: 13px; }
.experience-title i { padding: 0 4px; color: #9aacbf; font-style: normal; }
.experience-main>p { max-width: 790px; margin: 8px 0 8px; color: #4f6279; font-size: 14px; line-height: 1.65; }
.experience-main ul { max-width: 790px; margin: 7px 0 12px; padding-left: 18px; color: #53677f; font-size: 13px; line-height: 1.65; }
.experience-main li { padding: 2px 0; }
.experience-tags { margin-top: 10px; }
.experience-tags span { border-color: #d8e3ef; background: #f6f9fd; color: #315475; font-size: 10px; font-weight: 600; }

.projects { background: #f7f9fc; }
.project-card { display: grid; grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr); gap: 40px; align-items: center; margin-top: 17px; padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 5px 20px rgb(30 59 92 / 4%); }
.project-copy { padding: 4px 0; }
.project-label { color: #627d9f; font-size: 10px; }
.project-copy h3 { margin: 10px 0 5px; color: var(--blue-deep); font: 750 25px/1.25 var(--display); letter-spacing: -.04em; }
.project-lead { margin: 0 0 10px; color: #27496e; font-size: 15px; font-weight: 700; line-height: 1.5; }
.project-copy>p:not(.project-label):not(.project-lead) { margin: 0 0 11px; color: #5b6e84; font-size: 13px; line-height: 1.65; }
.project-copy ul { margin: 0 0 13px; padding-left: 18px; color: #596e85; font-size: 12px; line-height: 1.6; }
.project-tags span { background: #f1f6fc; color: var(--blue); font-weight: 600; }
.project-image { overflow: hidden; margin: 0; border: 1px solid #dce4ed; border-radius: 6px; background: #f4f7fa; }
.project-image img { display: block; width: 100%; height: auto; }
.project-image figcaption { padding: 10px 12px; border-top: 1px solid #e1e7ef; color: #64778c; font-size: 9px; font-weight: 700; letter-spacing: .075em; }
.time-saved { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin: 15px 0; }
.time-saved strong { color: var(--blue); font: 800 22px var(--display); letter-spacing: -.04em; }
.time-saved strong span { padding: 0 4px; color: #be920d; }
.time-saved small { color: #6b7d91; font-size: 11px; }

.education { background: #eaf2fb; }
.education-row { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.education-card { border-top: 1px solid #cbd8e7; }
.education-card>div { display: grid; grid-template-columns: 125px 1fr; gap: 18px; padding: 17px 0; border-bottom: 1px solid #cbd8e7; }
.edu-date { color: #637b97; font-size: 10px; font-weight: 700; letter-spacing: .07em; }
.education-card h3 { margin: 0 0 3px; color: #243d5b; font: 700 15px var(--display); }
.education-card p { margin: 0; color: #5b7088; font-size: 13px; }

.contact-section { padding: 62px 0; background: var(--blue-deep); color: #fff; }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.contact-section .section-kicker { color: #ffdc70; }
.contact-section h2 { margin: 0; font: 750 clamp(27px, 3.5vw, 38px)/1.2 var(--display); letter-spacing: -.04em; }
.contact-section p:not(.section-kicker) { margin: 9px 0 0; color: #d6e3f2; font-size: 14px; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 21px; max-width: 470px; }
.button-white { background: #fff; color: var(--blue); }
.button-white:hover { background: #f1f6fc; }
.contact-actions>a:not(.button) { color: #dbe7f5; font-size: 12px; }
.site-footer { background: #05254a; color: #c8d7e8; }
.footer-inner { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 20px; font-size: 11px; }
.site-footer .brand { color: #fff; font-size: 12px; }
.site-footer .brand-mark { background: #fff; color: var(--blue); }
.footer-inner>a:last-child { color: #e5c85f; font-size: 10px; font-weight: 700; letter-spacing: .08em; }

:focus-visible { outline: 3px solid #d5a700; outline-offset: 3px; }
@media (max-width: 900px) {
  .section-pad { padding: 74px 0; }
  .intro-grid { grid-template-columns: 1fr; gap: 34px; }
  .snapshot { max-width: 610px; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .skill-card { min-height: 205px; }
  .project-card { grid-template-columns: 1fr; gap: 22px; }
  .project-copy { max-width: 700px; }
  .education-row { gap: 35px; }
}
@media (max-width: 620px) {
  body { font-size: 15px; }
  .container { width: calc(100% - 36px); }
  .section-pad { padding: 60px 0; }
  .header-inner { min-height: 63px; gap: 10px; }
  .brand { gap: 8px; font-size: 13px; }
  .brand-mark { width: 30px; height: 30px; }
  .main-nav { gap: 12px; overflow-x: auto; margin-left: auto; font-size: 11px; }
  .main-nav a:nth-child(4) { display: none; }
  .header-contact { padding: 7px 9px; font-size: 11px; }
  .intro { padding-top: 54px; padding-bottom: 55px; }
  .intro h1 { font-size: clamp(38px, 10.4vw, 51px); }
  .specialties { font-size: 16px; }
  .intro-text { font-size: 15px; }
  .intro-meta { font-size: 11px; }
  .snapshot-stat { grid-template-columns: 84px 1fr; padding: 14px 16px; }
  .snapshot-stat strong { font-size: 24px; }
  .snapshot-stat span { font-size: 12px; }
  .snapshot-head,.snapshot-footer { padding-right: 16px; padding-left: 16px; }
  .section-heading { display: block; margin-bottom: 23px; }
  .section-heading h2,.education h2 { font-size: 29px; }
  .section-summary { width: auto; margin-top: 10px; font-size: 13px; }
  .skills-grid { gap: 10px; }
  .skill-card { min-height: 0; padding: 15px 13px; }
  .skill-card h3 { margin-top: 13px; font-size: 15px; }
  .skill-card p { min-height: 0; font-size: 11px; }
  .skill-tags { gap: 4px; }
  .skill-tags span { padding: 3px 5px; font-size: 9px; }
  .ai-skill { grid-template-columns: 25px 1fr; gap: 9px; padding: 14px; }
  .ai-skill>a { grid-column: 2; }
  .experience-item { grid-template-columns: 1fr; gap: 5px; padding: 19px 0; }
  .experience-date { padding: 0; font-size: 10px; }
  .experience-title { gap: 4px 9px; }
  .experience-title h3 { font-size: 16px; }
  .experience-title span { font-size: 12px; }
  .experience-main>p { font-size: 13px; }
  .experience-main ul { font-size: 12px; }
  .project-card { gap: 18px; padding: 17px; }
  .project-copy h3 { font-size: 22px; }
  .project-lead { font-size: 14px; }
  .education-row { grid-template-columns: 1fr; gap: 18px; }
  .education-card>div { grid-template-columns: 96px 1fr; gap: 10px; }
  .education-card h3 { font-size: 13px; }
  .education-card p { font-size: 11px; }
  .contact-section { padding: 50px 0; }
  .contact-inner { display: block; }
  .contact-section h2 { font-size: 28px; }
  .contact-section p:not(.section-kicker) { font-size: 13px; }
  .contact-actions { margin-top: 21px; gap: 12px; }
  .contact-actions>a:not(.button) { font-size: 11px; }
  .footer-inner { min-height: 82px; flex-wrap: wrap; justify-content: space-between; gap: 7px 12px; padding: 13px 0; font-size: 9px; }
  .footer-inner>span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition-duration: .01ms !important; }
}
