:root {
  --navy-900: #081a2f;
  --navy-800: #0b2138;
  --navy: #0f2a4a;
  --navy-700: #17375c;
  --teal: #148a8e;
  --teal-600: #0f7276;
  --teal-100: #e2f0f0;
  --gold: #c8a15a;
  --gold-300: #e2cfa4;
  --gold-100: #f4ecdc;
  --ink: #131f2e;
  --body: #46535f;
  --muted: #6f7a86;
  --cream: #f8f6f1;
  --cream-deep: #f2eee6;
  --paper: #ffffff;
  --line: #e7e2d7;
  --line-strong: #d8d1c1;
  --shadow-sm: 0 1px 2px rgba(15, 42, 74, 0.05), 0 6px 18px -12px rgba(15, 42, 74, 0.22);
  --shadow-md: 0 18px 44px -28px rgba(15, 42, 74, 0.4);
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1160px;
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--body);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
  letter-spacing: 0.005em;
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--teal-600); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--navy); }

img { max-width: 100%; display: block; height: auto; }

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.narrow { max-width: 820px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(248, 246, 241, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(248, 246, 241, 0.95);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(15, 42, 74, 0.45);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { width: auto; height: 42px; }

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.1vw, 16px);
}
.primary-nav a {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--navy);
  padding: 8px 2px;
  position: relative;
}
.primary-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 2px;
  height: 1.5px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.primary-nav a:not(.nav-cta):hover::after,
.primary-nav a:not(.nav-cta):focus-visible::after { transform: scaleX(1); }
.primary-nav .nav-cta {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 9px 20px;
  color: var(--navy);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.primary-nav .nav-cta:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--paper);
  cursor: pointer;
  padding: 0 12px;
}
.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn-primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--navy-700); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--navy); background: rgba(15, 42, 74, 0.04); transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(140px, 16vw, 190px);
  padding-bottom: clamp(64px, 9vw, 120px);
  background:
    radial-gradient(1100px 520px at 82% -8%, rgba(20, 138, 142, 0.11), transparent 60%),
    radial-gradient(900px 460px at 6% 0%, rgba(200, 161, 90, 0.12), transparent 58%),
    var(--cream);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}
.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 18px;
}
.eyebrow-light { color: var(--gold-300); }
.hero h1 {
  font-size: clamp(2.9rem, 7vw, 5.1rem);
  font-weight: 600;
  letter-spacing: -0.005em;
  margin-bottom: 16px;
}
.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 26px;
}
.hero-location svg { fill: var(--teal); flex: none; }
.hero-lead {
  font-size: clamp(1.06rem, 2vw, 1.2rem);
  color: var(--body);
  max-width: 34em;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-portrait { position: relative; justify-self: end; width: 100%; max-width: 420px; }
.portrait-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.portrait-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 18%; }
.portrait-frame::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 14px;
  z-index: 1;
  pointer-events: none;
}
.hero-portrait::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -22px;
  bottom: -22px;
  width: 62%;
  height: 62%;
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  opacity: 0.75;
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 118px) 0; }
.section-alt { background: var(--paper); }
.section-navy {
  background: linear-gradient(165deg, var(--navy-800), var(--navy-900));
  color: rgba(255, 255, 255, 0.78);
}
.section-navy h2,
.section-navy h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: clamp(34px, 5vw, 56px); }
.section-title {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  margin-bottom: 14px;
}
.section-lead { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section-navy .section-lead { color: rgba(255, 255, 255, 0.68); }

.prose p { font-size: 1.09rem; }
.prose-emphasis { color: var(--navy); font-weight: 600; font-style: italic; font-family: var(--serif); font-size: 1.3rem; }

/* ---------- Card grid (Education) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}
.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 30px;
  bottom: 30px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(var(--teal), var(--gold));
  opacity: 0.85;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card-period {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 12px;
}
.card-title { font-size: 1.42rem; margin-bottom: 6px; }
.card-role { color: var(--navy); font-weight: 600; font-size: 0.98rem; margin-bottom: 4px; }
.card-place { color: var(--muted); font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; margin-bottom: 16px; }
.card-text { font-size: 1rem; }

/* ---------- Feature grid (International) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: clamp(20px, 3vw, 34px);
}
.feature {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 46px);
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.feature:hover { border-color: rgba(200, 161, 90, 0.55); background: rgba(255, 255, 255, 0.07); }
.feature-period {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 16px;
}
.feature-title { font-size: clamp(1.7rem, 3vw, 2.1rem); margin-bottom: 6px; }
.feature-role { color: var(--teal-100); font-weight: 500; margin-bottom: 20px; }
.feature-text { color: rgba(255, 255, 255, 0.74); }

/* ---------- Expertise ---------- */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.expertise-item {
  background: var(--paper);
  padding: clamp(28px, 3.4vw, 40px);
  position: relative;
  transition: background 0.35s var(--ease);
}
.expertise-item:hover { background: var(--cream); }
.expertise-index {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}
.expertise-item h3 { font-size: 1.35rem; margin-bottom: 10px; }
.expertise-item p { font-size: 1rem; margin: 0; }

/* ---------- Career ---------- */
.career-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 34px);
  align-items: stretch;
}
.career-block,
.career-quote {
  border-radius: var(--radius-lg);
  padding: clamp(32px, 4vw, 48px);
}
.career-block {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.career-block h3,
.career-quote h3 { font-size: 1.6rem; margin-bottom: 18px; }
.career-block p { font-size: 1.05rem; }

.career-quote {
  margin: 0;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}
.career-quote::before {
  content: "\201C";
  position: absolute;
  top: -30px;
  right: 18px;
  font-family: var(--serif);
  font-size: 11rem;
  line-height: 1;
  color: rgba(200, 161, 90, 0.18);
}
.career-quote h3 { color: #fff; }
.career-quote p { position: relative; font-size: 1.05rem; }

/* ---------- Credentials ---------- */
.credential-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(16px, 2.2vw, 24px);
}
.credential {
  position: relative;
  padding: 26px 28px 26px 56px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.credential::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 30px;
  width: 18px;
  height: 10px;
  border-left: 2.5px solid var(--teal);
  border-bottom: 2.5px solid var(--teal);
  transform: rotate(-45deg);
}
.credential:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.credential h3 { font-size: 1.24rem; margin-bottom: 8px; }
.credential-meta { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ---------- Speaker ---------- */
.speaker { background: var(--cream); }
.speaker .section-title { max-width: 18ch; }
.speaker-cta { margin-top: 34px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.contact-intro .section-head { margin-bottom: 24px; }
.contact-intro > p { font-size: 1.05rem; }

.contact-details { margin-top: 34px; display: grid; gap: 18px; }
.contact-details li { display: flex; gap: 14px; align-items: center; }
.contact-icon {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--teal-100);
  color: var(--teal-600);
  line-height: 0;
}
.contact-icon svg { display: block; fill: var(--teal-600); }
.contact-details li > span:last-child { display: block; line-height: 1.4; }
.contact-details strong {
  display: block;
  font-size: 0.74rem;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.contact-details a { font-weight: 600; color: var(--navy); }
.contact-details a:hover { color: var(--teal-600); }

.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.4vw, 44px);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--navy);
}
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 15px;
  width: 100%;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder,
.field textarea::placeholder { color: #9aa3ad; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 20px) calc(50% + 2px), calc(100% - 14px) calc(50% + 2px); background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 42px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(20, 138, 142, 0.14);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #c0503f; background: #fdf5f3; }
.field-error { color: #b0452f; font-size: 0.8rem; min-height: 0; display: none; }
.field.has-error .field-error { display: block; }

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 4px;
}
.form-note { font-size: 0.85rem; color: var(--muted); max-width: 46ch; margin: 0; }
.form-status { font-size: 0.95rem; font-weight: 600; color: var(--teal-600); margin: 4px 0 0; min-height: 1.2em; }
.form-status.is-error { color: #b0452f; }

.captcha-row { display: flex; align-items: stretch; gap: 10px; flex-wrap: nowrap; }
.captcha-question {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--teal-100);
  color: var(--navy);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.captcha-row input { flex: 1 1 120px; width: auto; min-width: 0; }
.captcha-refresh {
  flex: none;
  width: 50px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--navy);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}
.captcha-refresh:hover { border-color: var(--teal); color: var(--teal-600); background: var(--cream); }
.captcha-refresh svg { display: block; fill: currentColor; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--cream-deep);
  border-top: 1px solid var(--line);
  padding: clamp(48px, 7vw, 84px) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(30px, 5vw, 72px);
  padding-bottom: clamp(36px, 5vw, 56px);
}
.footer-brand img { height: 52px; width: auto; margin-bottom: 20px; }
.footer-tagline { color: var(--navy); font-weight: 500; margin-bottom: 4px; }
.footer-location { color: var(--muted); font-size: 0.95rem; margin-bottom: 12px; }
.footer-brand a[href^="mailto"] { font-weight: 600; color: var(--navy); }
.footer-heading {
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.footer-nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.footer-nav a { color: var(--navy); font-size: 0.95rem; }
.footer-nav a:hover { color: var(--teal-600); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 0 26px;
}
.footer-bottom p { margin: 0; font-size: 0.85rem; color: var(--muted); }

/* ---------- Reveal animation ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .primary-nav a { font-size: 0.82rem; }
  .primary-nav ul { gap: 10px; }
  .brand img { height: 38px; }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-portrait { justify-self: start; max-width: 380px; }
  .hero-copy { order: 1; }
  .hero-portrait { order: 2; }
  .career-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 84px; }
  .header-inner { min-height: 72px; }
  .brand img { height: 38px; }
  .nav-toggle { display: flex; }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -30px rgba(15, 42, 74, 0.5);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
  }
  .primary-nav.is-open { max-height: 520px; }
  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px clamp(20px, 5vw, 40px) 26px;
  }
  .primary-nav li { border-bottom: 1px solid var(--line); }
  .primary-nav li:last-child { border-bottom: 0; padding-top: 16px; }
  .primary-nav a { display: block; padding: 15px 4px; font-size: 1rem; color: var(--navy); }
  .primary-nav .nav-cta { text-align: center; padding: 14px 20px; }
}

@media (max-width: 560px) {
  .contact-form { grid-template-columns: 1fr; }
  .footer-nav ul { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .captcha-row { flex-wrap: wrap; }
  .captcha-question { flex: 1 1 100%; justify-content: center; }
  .captcha-row input { flex: 1 1 auto; }
}

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

@media print {
  .site-header, .nav-toggle, .hero-actions, .speaker-cta, .contact-form { display: none !important; }
  body { background: #fff; }
  .reveal { opacity: 1; transform: none; }
}
