:root {
  --ink: #202833;
  --ink-soft: #465261;
  --muted: #687687;
  --teal: #176d72;
  --teal-dark: #0f5559;
  --teal-pale: #eaf4f4;
  --line: #d6e0e2;
  --paper: #ffffff;
  --surface: #f5f8f8;
  --shadow: 0 24px 70px rgba(22, 55, 59, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --page: min(1160px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #f0a46e;
  outline-offset: 4px;
}

.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;
  z-index: 1000;
  top: 14px;
  left: 14px;
  padding: 10px 16px;
  color: #fff;
  background: var(--teal-dark);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: var(--page);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(19, 45, 49, 0.06);
}

.nav-shell {
  display: flex;
  width: var(--page);
  min-height: 76px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-name {
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.primary-nav a {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: color 180ms ease;
}

.primary-nav a:hover {
  color: var(--teal);
}

.primary-nav .nav-download {
  padding: 10px 16px;
  color: #fff;
  background: var(--teal);
  border-radius: 999px;
}

.primary-nav .nav-download:hover {
  color: #fff;
  background: var(--teal-dark);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
  background:
    radial-gradient(circle at 85% 15%, rgba(23, 109, 114, 0.14), transparent 28%),
    linear-gradient(180deg, #f7fbfb 0%, #fff 100%);
}

.hero::before {
  position: absolute;
  top: -180px;
  right: -160px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(23, 109, 114, 0.13);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.75fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
}

.eyebrow,
.section-kicker,
.card-label {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow span {
  margin-inline: 6px;
  color: #8daaad;
}

.hero h1 {
  max-width: 750px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 7vw, 92px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.hero-summary {
  max-width: 720px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 20px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--teal);
}

.button-primary:hover {
  background: var(--teal-dark);
}

.button-secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.button-secondary:hover {
  border-color: var(--teal);
}

.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  padding: 0;
  margin: 34px 0 0;
  color: var(--muted);
  list-style: none;
}

.contact-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.contact-list svg {
  width: 17px;
  height: 17px;
  fill: var(--teal);
}

.contact-list a {
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--teal);
}

.hero-card {
  position: relative;
  max-width: 420px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.portrait-frame {
  position: relative;
  width: min(270px, 72vw);
  aspect-ratio: 1;
  margin: -62px auto 26px;
  padding: 7px;
  background: #fff;
  border: 2px solid var(--teal);
  border-radius: 50%;
  box-shadow: 0 18px 50px rgba(16, 73, 77, 0.2);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.current-focus {
  padding: 4px 4px 0;
}

.card-label {
  margin-bottom: 10px;
}

.role-brief {
  display: grid;
  gap: 2px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.role-brief span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.role-brief strong {
  font-size: 16px;
  line-height: 1.35;
}

.role-brief small {
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
}

.section {
  padding-top: 104px;
  padding-bottom: 104px;
}

.section-tint {
  background: var(--surface);
}

.section-heading {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 20px;
  max-width: 820px;
  margin-bottom: 48px;
}

.section-index {
  margin: 3px 0 0;
  color: #9aa9b2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

.section-kicker {
  margin-bottom: 8px;
}

.section-heading h2,
.contact-inner h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.8fr);
  gap: 68px;
  margin-left: 80px;
}

.profile-copy {
  color: var(--ink-soft);
  font-size: 19px;
}

.profile-copy p {
  margin: 0 0 20px;
}

.expertise-panel {
  padding: 28px;
  background: var(--teal-pale);
  border-radius: var(--radius-md);
}

.expertise-panel h3 {
  margin: 0 0 18px;
  font-size: 17px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.tag-list li {
  padding: 8px 11px;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(23, 109, 114, 0.16);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.timeline {
  position: relative;
  margin-left: 80px;
}

.timeline::before {
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: 186px;
  width: 1px;
  background: var(--line);
  content: "";
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 54px;
  padding-bottom: 54px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  position: absolute;
  top: 8px;
  left: 179px;
  width: 13px;
  height: 13px;
  background: #fff;
  border: 3px solid var(--teal);
  border-radius: 50%;
  content: "";
}

.timeline-item.current::before {
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(23, 109, 114, 0.12);
}

.timeline-date {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.01em;
}

.timeline-content {
  padding: 26px 30px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.role-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.role-heading h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.3;
}

.role-heading p {
  margin: 5px 0 0;
  color: var(--teal);
  font-size: 14px;
  font-weight: 750;
}

.status {
  flex: 0 0 auto;
  padding: 5px 9px;
  color: var(--teal-dark);
  background: var(--teal-pale);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.timeline-content ul {
  padding-left: 19px;
  margin: 18px 0 0;
  color: var(--ink-soft);
}

.timeline-content li {
  margin: 7px 0;
}

.timeline-content li::marker {
  color: var(--teal);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-left: 80px;
}

.capability-card {
  position: relative;
  min-height: 260px;
  padding: 34px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.capability-card:hover {
  transform: translateY(-4px);
  border-color: rgba(23, 109, 114, 0.42);
  box-shadow: 0 18px 46px rgba(22, 55, 59, 0.1);
}

.capability-number {
  display: block;
  margin-bottom: 34px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
}

.capability-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.capability-card p {
  margin: 0;
  color: var(--ink-soft);
}

.education-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 40px;
  margin-left: 80px;
  padding: 38px 42px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.education-year {
  color: var(--teal);
  font-size: 16px;
  font-weight: 800;
}

.education-card h3 {
  margin: 0 0 7px;
  font-size: 24px;
}

.education-card p {
  margin: 0;
  color: var(--ink-soft);
}

.reference-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-left: 80px;
}

.reference-card {
  padding: 30px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.reference-company {
  margin: 0 0 24px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.reference-card h3 {
  margin: 0 0 4px;
  font-size: 22px;
}

.reference-card a {
  color: var(--ink-soft);
  text-decoration: none;
}

.reference-card a:hover {
  color: var(--teal);
}

.contact-section {
  padding: 82px 0;
  color: #fff;
  background: var(--teal-dark);
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.section-kicker.light {
  color: #9fd5d8;
}

.contact-inner h2 {
  max-width: 720px;
  font-size: clamp(34px, 4vw, 52px);
}

.contact-actions {
  flex: 0 0 auto;
  margin-top: 0;
}

.button-light {
  color: var(--teal-dark);
  background: #fff;
}

.button-outline-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.button-outline-light:hover {
  border-color: #fff;
}

.site-footer {
  padding: 24px 0;
  color: #c3d1d2;
  background: #0a3d40;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  margin: 0;
  font-size: 12px;
}

@media (max-width: 980px) {
  .menu-button {
    display: block;
  }

  .primary-nav {
    position: fixed;
    inset: 76px 0 auto;
    display: grid;
    gap: 0;
    padding: 18px 20px 26px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(22, 55, 59, 0.1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav a {
    padding: 13px 4px;
  }

  .primary-nav .nav-download {
    margin-top: 8px;
    text-align: center;
  }

  .menu-button[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:nth-child(3) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] span:nth-child(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 780px;
  }

  .hero-card {
    width: min(620px, 100%);
    max-width: none;
    margin-top: 34px;
  }

  .portrait-frame {
    width: 230px;
  }

  .profile-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .timeline::before {
    left: 146px;
  }

  .timeline-item {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 54px;
  }

  .timeline-item::before {
    left: 139px;
  }

  .contact-inner {
    display: grid;
  }
}

@media (max-width: 720px) {
  :root {
    --page: min(100% - 28px, 1160px);
  }

  .brand-name {
    display: none;
  }

  .hero {
    padding: 64px 0 76px;
  }

  .hero h1 {
    font-size: clamp(48px, 16vw, 68px);
  }

  .hero-summary {
    font-size: 17px;
  }

  .contact-list {
    display: grid;
  }

  .section {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .section-heading {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 36px;
  }

  .section-index {
    font-size: 16px;
  }

  .profile-grid,
  .timeline,
  .capability-grid,
  .education-card,
  .reference-grid {
    margin-left: 0;
  }

  .timeline::before {
    left: 6px;
  }

  .timeline-item {
    display: block;
    padding: 0 0 42px 30px;
  }

  .timeline-item::before {
    top: 4px;
    left: 0;
  }

  .timeline-date {
    margin-bottom: 10px;
  }

  .timeline-content {
    padding: 22px 20px 22px;
  }

  .role-heading {
    display: grid;
  }

  .status {
    width: max-content;
  }

  .capability-grid,
  .reference-grid {
    grid-template-columns: 1fr;
  }

  .capability-card {
    min-height: 0;
    padding: 28px;
  }

  .capability-number {
    margin-bottom: 22px;
  }

  .education-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 28px;
  }

  .contact-section {
    padding: 66px 0;
  }

  .footer-inner {
    display: grid;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .hero-actions,
  .contact-section,
  .site-footer {
    display: none;
  }

  .hero,
  .section,
  .section-tint {
    padding: 26px 0;
    background: #fff;
  }

  .hero-grid {
    grid-template-columns: 1fr 260px;
  }

  .timeline-content,
  .capability-card,
  .education-card,
  .reference-card,
  .hero-card {
    break-inside: avoid;
    box-shadow: none;
  }
}
