:root {
  --navy-950: #071b2d;
  --navy-900: #102a43;
  --navy-800: #173f5f;
  --teal-500: #00a6a6;
  --teal-300: #7bd7d6;
  --cream: #f6f4ee;
  --paper: #fffdfa;
  --ink: #16202a;
  --muted: #5f6c76;
  --line: #d9e0e3;
  --shadow: 0 24px 70px rgba(7, 27, 45, .13);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1140px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 14px; background: #fff; color: #000; border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,253,250,.88); border-bottom: 1px solid rgba(217,224,227,.7); backdrop-filter: blur(14px); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--navy-900); font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--navy-900); color: #fff; font-size: .82rem; letter-spacing: .04em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: #334554; font-size: .92rem; font-weight: 650; text-decoration: none; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--teal-500); }
.nav-links .nav-cta { padding: 9px 17px; border: 1px solid var(--navy-900); border-radius: 999px; color: var(--navy-900); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--navy-900); transition: .2s ease; }

.hero { min-height: calc(100vh - 76px); display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, .8fr); align-items: center; gap: clamp(50px, 8vw, 100px); padding-block: clamp(70px, 10vw, 130px); }
.eyebrow { margin: 0 0 16px; color: var(--teal-500); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; color: var(--navy-900); font-family: Georgia, "Times New Roman", serif; line-height: 1.12; }
h1 { max-width: 800px; margin-bottom: 24px; font-size: clamp(2.6rem, 5.5vw, 5rem); letter-spacing: -.045em; }
h2 { margin-bottom: 22px; font-size: clamp(2rem, 4vw, 3.7rem); letter-spacing: -.035em; }
h3 { margin-bottom: 10px; font-size: 1.5rem; letter-spacing: -.02em; }
.hero-lede { max-width: 720px; margin: 0 0 32px; color: #4e5e69; font-size: clamp(1.05rem, 1.7vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 12px 20px; border: 1px solid transparent; border-radius: 999px; font: inherit; font-weight: 750; text-decoration: none; cursor: pointer; transition: transform .18s ease, background .18s ease, color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--teal-300); outline-offset: 3px; }
.button.primary { background: var(--navy-900); color: #fff; }
.button.secondary { border-color: var(--line); background: transparent; color: var(--navy-900); }
.quick-facts { display: flex; flex-wrap: wrap; gap: 34px; margin: 45px 0 0; padding: 0; list-style: none; }
.quick-facts li { display: grid; }
.quick-facts strong { color: var(--navy-900); font-family: Georgia, serif; font-size: 2rem; line-height: 1; }
.quick-facts span { margin-top: 7px; color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero-panel { position: relative; overflow: hidden; padding: 34px; border-radius: var(--radius); background: var(--navy-900); box-shadow: var(--shadow); color: #dbe7ef; }
.hero-panel::after { content: ""; position: absolute; right: -80px; bottom: -100px; width: 260px; height: 260px; border: 45px solid rgba(0,166,166,.15); border-radius: 50%; }
.hero-panel h2 { color: #fff; font-size: clamp(2rem, 3vw, 3rem); }
.availability { display: flex; align-items: center; gap: 8px; margin-bottom: 42px; color: var(--teal-300); font-size: .8rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.availability span { width: 9px; height: 9px; border-radius: 50%; background: #62e6a7; box-shadow: 0 0 0 6px rgba(98,230,167,.12); }
.orbit { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.orbit span { padding: 7px 11px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(255,255,255,.06); color: #fff; font-size: .78rem; }

.section { padding-block: clamp(78px, 10vw, 130px); }
.section-tint { background: var(--cream); }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 8vw, 100px); align-items: start; }
.section-heading { max-width: 750px; margin-bottom: 52px; }
.split .section-heading { margin-bottom: 0; }
.about-copy { color: #43535e; font-size: 1.15rem; }
.about-copy p:first-child { margin-top: 0; }

.timeline { border-top: 1px solid var(--line); }
.role { display: grid; grid-template-columns: 220px 1fr; gap: 40px; padding: 48px 0; border-bottom: 1px solid var(--line); }
.role-meta p { margin: 0 0 4px; color: var(--teal-500); font-weight: 800; }
.role-meta span { color: var(--muted); font-size: .9rem; }
.role-body h3 { margin-bottom: 3px; }
.company { margin: 0 0 18px; color: var(--teal-500); font-weight: 750; }
.role-body ul { margin: 0; padding-left: 20px; color: #465762; }
.role-body li + li { margin-top: 8px; }

.section-dark { background: var(--navy-950); color: #ccdae3; }
.section-dark .section-heading h2 { color: #fff; }
.skill-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.skill-card { padding: 32px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: rgba(255,255,255,.045); }
.skill-card h3 { color: #fff; }
.skill-card p { margin-bottom: 0; }
.card-number { display: block; margin-bottom: 28px; color: var(--teal-300); font-weight: 800; }

.education-card { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; padding: clamp(30px, 5vw, 55px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); box-shadow: var(--shadow); }
.education-card h2 { margin-bottom: 10px; font-size: clamp(2rem, 3.4vw, 3.25rem); }
.education-card h3 { font-size: 1.2rem; }
.school { color: var(--teal-500); font-weight: 750; }

.contact-section { padding-top: 20px; background: linear-gradient(var(--paper) 50%, var(--navy-950) 50%); }
.contact-card { display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: 40px; padding: clamp(36px, 6vw, 70px); border-radius: var(--radius); background: var(--teal-500); color: #052b30; box-shadow: var(--shadow); }
.contact-card h2 { color: #052b30; }
.contact-card .eyebrow { color: #073d42; }
.contact-actions { display: grid; justify-items: start; gap: 10px; }
.button.light { background: #fff; color: var(--navy-900); }
.button.ghost { border-color: rgba(5,43,48,.35); background: transparent; color: #052b30; }
.copy-status { min-height: 1.5em; margin: 0; font-size: .88rem; font-weight: 700; }
.footer { padding: 34px 0; background: var(--navy-950); color: #aebfca; }
.footer .shell { display: flex; justify-content: space-between; gap: 20px; }
.footer p { margin: 0; }
.footer a { color: #fff; text-decoration: none; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
@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; }
}

@media (max-width: 860px) {
  .hero, .split, .education-card, .contact-card { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .role { grid-template-columns: 1fr; gap: 14px; }
  .skill-grid { grid-template-columns: 1fr; }
  .menu-toggle { display: block; }
  .nav-links { position: absolute; top: 76px; left: 0; right: 0; display: none; padding: 18px 20px 24px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 15px 30px rgba(7,27,45,.08); }
  .nav-links.open { display: grid; }
  .nav-links .nav-cta { justify-self: start; }
}

@media (max-width: 520px) {
  .shell { width: min(100% - 28px, 1140px); }
  h1 { font-size: clamp(2.3rem, 11vw, 3.6rem); }
  .hero-panel { padding: 26px; }
  .quick-facts { gap: 22px; }
  .quick-facts strong { font-size: 1.7rem; }
  .skill-card { padding: 25px; }
  .footer .shell { flex-direction: column; }
}
