:root {
  --navy-950: #071426;
  --navy-900: #0b1f3a;
  --navy-800: #12345a;
  --navy-700: #1c4c7d;
  --blue-500: #2b78b8;
  --teal-400: #54c7be;
  --teal-100: #dff8f5;
  --ink: #17202a;
  --muted: #5b6877;
  --line: #dbe3ea;
  --surface: #ffffff;
  --surface-soft: #f4f7fa;
  --surface-tint: #eef5f7;
  --shadow: 0 24px 60px rgba(7, 20, 38, 0.14);
  --shadow-soft: 0 12px 30px rgba(7, 20, 38, 0.08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

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

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 9999;
  padding: 12px 16px;
  background: var(--surface);
  color: var(--navy-900);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(219, 227, 234, 0.8);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--navy-900), var(--blue-500));
  border-radius: 12px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  box-shadow: 0 8px 20px rgba(11, 31, 58, 0.18);
}

.brand-text {
  color: var(--navy-900);
}

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

.primary-nav a {
  color: #314152;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--blue-500);
}

.primary-nav .nav-cta {
  padding: 10px 16px;
  color: white;
  background: var(--navy-900);
  border-radius: 999px;
}

.primary-nav .nav-cta:hover,
.primary-nav .nav-cta:focus-visible {
  color: white;
  background: var(--navy-700);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 12px;
  background: var(--surface-soft);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy-900);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 94px 0 86px;
  background:
    radial-gradient(circle at 10% 15%, rgba(84, 199, 190, 0.18), transparent 32%),
    linear-gradient(145deg, #f8fbfd 0%, #eef5f7 52%, #ffffff 100%);
}

.hero-accent {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

.hero-accent-one {
  width: 280px;
  height: 280px;
  right: -100px;
  top: 80px;
  border: 46px solid rgba(43, 120, 184, 0.08);
}

.hero-accent-two {
  width: 180px;
  height: 180px;
  left: 42%;
  bottom: -110px;
  background: rgba(84, 199, 190, 0.10);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: 76px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-500);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #8de0d9;
}

.hero h1,
.section-heading h2,
.detail-card h2,
.contact-card h2 {
  margin: 0;
  color: var(--navy-950);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.65rem, 5.7vw, 5.25rem);
}

.hero-lead {
  max-width: 700px;
  margin: 28px 0 0;
  color: #47596b;
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  box-shadow: 0 12px 24px rgba(11, 31, 58, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 16px 30px rgba(11, 31, 58, 0.24);
}

.button-secondary {
  color: var(--navy-900);
  background: rgba(255, 255, 255, 0.7);
  border-color: #bdcad6;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 670px;
  margin: 44px 0 0;
}

.hero-stats div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(204, 215, 225, 0.75);
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(11, 31, 58, 0.05);
}

.hero-stats dt {
  color: var(--navy-900);
  font-size: 1.62rem;
  font-weight: 900;
  line-height: 1;
}

.hero-stats dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.hero-portrait {
  position: relative;
  width: min(100%, 430px);
  justify-self: end;
}

.portrait-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 10px solid rgba(255, 255, 255, 0.82);
  border-radius: 34px 34px 120px 34px;
  box-shadow: var(--shadow);
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 20, 38, 0.22), transparent 34%);
  pointer-events: none;
}

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

.portrait-card {
  position: absolute;
  left: -42px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(325px, calc(100% + 12px));
  padding: 16px 18px;
  color: white;
  background: rgba(7, 20, 38, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.status-dot {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  background: var(--teal-400);
  border: 3px solid rgba(84, 199, 190, 0.25);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(84, 199, 190, 0.12);
}

.portrait-card strong,
.portrait-card span {
  display: block;
}

.portrait-card strong {
  font-size: 0.92rem;
}

.portrait-card div span {
  margin-top: 2px;
  color: #c9d5df;
  font-size: 0.78rem;
}

.section {
  padding: 104px 0;
}

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

.section-dark {
  color: white;
  background:
    radial-gradient(circle at 92% 20%, rgba(84, 199, 190, 0.15), transparent 28%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 90px;
  align-items: start;
}

.section-heading {
  max-width: 760px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.detail-card h2,
.contact-card h2 {
  font-size: clamp(2.1rem, 4vw, 3.5rem);
}

.section-heading > p:last-child {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-dark .section-heading h2,
.section-dark .section-heading > p:last-child,
.contact-card h2,
.contact-card p {
  color: white;
}

.prose {
  max-width: 760px;
}

.prose p {
  margin: 0 0 20px;
  color: #435263;
  font-size: 1.12rem;
}

.prose p:first-child::first-letter {
  float: left;
  margin: 0.08em 0.1em 0 0;
  color: var(--navy-900);
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 0.8;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 52px;
}

.expertise-card {
  position: relative;
  min-height: 260px;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(7, 20, 38, 0.05);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.expertise-card:hover {
  transform: translateY(-5px);
  border-color: #b5d9db;
  box-shadow: var(--shadow-soft);
}

.expertise-card .icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  color: var(--navy-900);
  background: var(--teal-100);
  border-radius: 14px;
  font-size: 0.83rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.expertise-card h3 {
  margin: 0;
  color: var(--navy-900);
  font-size: 1.16rem;
}

.expertise-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.timeline {
  position: relative;
  margin-top: 58px;
}

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

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

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

.timeline-item::before {
  content: "";
  position: absolute;
  left: 141px;
  top: 11px;
  width: 14px;
  height: 14px;
  background: var(--teal-400);
  border: 4px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #b6c8d8;
}

.timeline-date {
  padding-top: 2px;
  color: var(--blue-500);
  font-size: 0.88rem;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.timeline-content {
  padding: 28px 30px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 28px rgba(7, 20, 38, 0.05);
}

.timeline-content h3 {
  margin: 0;
  color: var(--navy-900);
  font-size: 1.35rem;
}

.timeline-content > p,
.company {
  margin: 5px 0 0;
  color: var(--blue-500);
  font-weight: 800;
}

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

.role-tag {
  flex: 0 0 auto;
  padding: 6px 10px;
  color: #14665f;
  background: var(--teal-100);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 850;
}

.timeline-content ul {
  margin: 20px 0 0;
  padding-left: 20px;
  color: #4a5867;
}

.timeline-content li + li {
  margin-top: 9px;
}

.community-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 90px;
  align-items: center;
}

.community-list {
  display: grid;
  gap: 16px;
}

.community-list article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 16px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
}

.community-list article > span {
  color: var(--teal-400);
  font-size: 1.25rem;
}

.community-list h3 {
  margin: 0;
  font-size: 1.15rem;
}

.community-list p {
  margin: 5px 0 0;
  color: #c9d5df;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.detail-card {
  padding: 38px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.detail-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.detail-highlight {
  margin: 22px 0 4px;
  color: var(--blue-500);
  font-weight: 850;
}

.detail-card > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.skill-tags span {
  padding: 10px 13px;
  color: var(--navy-900);
  background: var(--surface-tint);
  border: 1px solid #d5e6e8;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 750;
}

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

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  align-items: center;
  gap: 60px;
  padding: 50px;
  background:
    radial-gradient(circle at 90% 10%, rgba(84, 199, 190, 0.18), transparent 28%),
    linear-gradient(135deg, var(--navy-900), var(--navy-700));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact-card > div:first-child > p:last-child {
  max-width: 650px;
  margin: 18px 0 0;
  color: #d8e3ec;
}

.contact-actions {
  display: grid;
  gap: 10px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
}

.contact-actions a,
.contact-actions span {
  color: white;
  text-decoration: none;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.contact-actions a:hover,
.contact-actions a:focus-visible {
  color: #8de0d9;
}

.site-footer {
  color: #687686;
  background: #f7f9fb;
  border-top: 1px solid var(--line);
}

.footer-wrap {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-wrap p {
  margin: 0;
}

.footer-wrap a {
  color: var(--navy-900);
  text-decoration: none;
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .hero-portrait {
    justify-self: center;
  }

  .split-layout,
  .community-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-card {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .nav-toggle {
    display: block;
    z-index: 1002;
  }

  .nav-toggle[aria-expanded="true"] span:nth-of-type(2) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-of-type(3) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-of-type(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 8px;
    padding: 92px 28px 32px;
    background: rgba(255, 255, 255, 0.98);
    transform: translateX(100%);
    transition: transform 0.24s ease;
  }

  .primary-nav.is-open {
    transform: translateX(0);
  }

  .primary-nav a {
    padding: 14px 16px;
    font-size: 1.1rem;
    border-radius: 12px;
  }

  .primary-nav a:hover {
    background: var(--surface-soft);
  }

  .primary-nav .nav-cta {
    margin-top: 10px;
    text-align: center;
  }

  .hero {
    padding: 70px 0 72px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 11vw, 4rem);
  }

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

  .portrait-card {
    left: 12px;
    right: 12px;
    width: auto;
  }

  .section {
    padding: 78px 0;
  }

  .card-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

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

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-left: 34px;
  }

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

  .timeline-date {
    padding-top: 0;
  }

  .role-heading {
    flex-direction: column;
    gap: 12px;
  }

  .contact-card {
    padding: 34px 24px;
  }

  .footer-wrap {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 24px 0;
  }
}

@media (max-width: 480px) {
  .brand-text {
    display: none;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .portrait-frame {
    border-radius: 28px 28px 90px 28px;
  }

  .expertise-card,
  .timeline-content,
  .detail-card {
    padding: 24px;
  }
}
