:root {
  --background: #f7f9fb;
  --foreground: #223041;
  --card: #ffffff;
  --secondary: #edf1f5;
  --muted: #607086;
  --border: rgba(34, 58, 87, 0.12);
  --primary: #223a57;
  --primary-dark: #13233a;
  --gold: #d1a746;
  --gold-light: #e2c680;
  --shadow-soft: 0 18px 48px rgba(19, 35, 58, 0.08);
  --shadow-card: 0 20px 50px rgba(19, 35, 58, 0.1);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "Source Sans 3", Georgia, serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
figure,
blockquote {
  margin: 0;
}

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

section[id] {
  scroll-margin-top: 92px;
}

.container {
  width: min(100% - 2rem, var(--container-width));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1.5rem;
}

.brand,
.footer-name {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0.04em;
}

.brand {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.desktop-nav {
  margin-left: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a,
.mobile-nav-panel a {
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 600;
  transition: color 0.25s ease;
}

.nav-links a:hover,
.mobile-nav-panel a:hover {
  color: var(--primary);
}

.mobile-nav {
  display: none;
  position: relative;
}

.mobile-nav summary {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  list-style: none;
  color: var(--primary);
  font-weight: 700;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav-label {
  font-size: 0.95rem;
}

.mobile-nav-icon {
  display: inline-flex;
  flex-direction: column;
  gap: 0.22rem;
}

.mobile-nav-icon span {
  width: 1.2rem;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.mobile-nav[open] .mobile-nav-icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-nav[open] .mobile-nav-icon span:nth-child(2) {
  opacity: 0;
}

.mobile-nav[open] .mobile-nav-icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav-panel {
  position: absolute;
  top: calc(100% + 1rem);
  right: 0;
  min-width: 240px;
  padding: 1rem 1.25rem;
  display: grid;
  gap: 0.9rem;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8rem 0 4rem;
  background:
    linear-gradient(
      135deg,
      rgba(19, 35, 58, 0.93) 0%,
      rgba(34, 58, 87, 0.87) 50%,
      rgba(78, 109, 145, 0.82) 100%
    ),
    url("assets/hero-bg.jpg") center center / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 52rem;
  margin: 0 auto;
  text-align: center;
  color: #f7f9fb;
  animation: fade-up 0.85s ease both;
}

.hero h1,
.section-title,
.rich-text h3,
.feature-card h3,
.highlight-panel h3,
.timeline-card h3 {
  font-family: "Playfair Display", Georgia, serif;
}

.hero h1 {
  font-size: clamp(3.3rem, 7vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
}

.hero-role {
  margin-top: 1.2rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 1rem;
  font-weight: 600;
}

.hero-description {
  max-width: 40rem;
  margin: 0 auto;
  color: rgba(247, 249, 251, 0.82);
  font-size: clamp(1.06rem, 2vw, 1.34rem);
}

.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2.5rem;
  padding: 0.95rem 2.2rem;
  border-radius: 999px;
  background: var(--gold);
  color: #1a2534;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
  box-shadow: 0 16px 40px rgba(209, 167, 70, 0.25);
}

.button-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 20px 46px rgba(209, 167, 70, 0.32);
}

.section-divider {
  width: 72px;
  height: 2px;
  margin: 1.8rem 0 2rem;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.center-divider {
  margin-left: auto;
  margin-right: auto;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  animation: float-bounce 1.8s ease-in-out infinite;
}

.scroll-indicator-track {
  display: flex;
  justify-content: center;
  width: 1.55rem;
  height: 2.55rem;
  padding-top: 0.32rem;
  border: 2px solid rgba(247, 249, 251, 0.42);
  border-radius: 999px;
}

.scroll-indicator-dot {
  width: 0.28rem;
  height: 0.7rem;
  border-radius: 999px;
  background: rgba(247, 249, 251, 0.72);
}

.stats-section,
.section-dark,
.site-footer {
  background: var(--primary);
}

.stats-section {
  padding: 2rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.stat-card,
.feature-card,
.highlight-panel,
.timeline-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.stat-card {
  padding: 1.6rem;
  border-radius: var(--radius-md);
  text-align: center;
}

.stat-card:hover,
.feature-card:hover,
.timeline-card:hover {
  transform: translateY(-4px);
}

.stat-number {
  margin-bottom: 0.55rem;
  color: var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
}

.stat-label {
  color: rgba(247, 249, 251, 0.72);
  font-size: 0.96rem;
}

.section {
  padding: 6rem 0;
}

.section-light {
  background: var(--background);
}

.section-muted {
  background: var(--secondary);
}

.section-eyebrow {
  margin-bottom: 0.8rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.82rem;
  font-weight: 700;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
  color: var(--foreground);
}

.section-lead {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.light-title {
  color: #f7f9fb;
}

.bio-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.45fr);
  gap: 4rem;
  align-items: start;
}

.bio-media {
  position: relative;
}

.portrait-frame {
  position: sticky;
  top: 6.5rem;
  width: min(100%, 27rem);
  margin: 0 auto;
}

.portrait-frame::after {
  content: "";
  position: absolute;
  right: -1rem;
  bottom: -1rem;
  width: 6rem;
  height: 6rem;
  border: 2px solid var(--gold);
  border-radius: 1rem;
}

.portrait-image {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  filter: grayscale(1);
  transition:
    filter 0.6s ease,
    transform 0.35s ease;
}

.portrait-image:hover {
  filter: grayscale(0);
  transform: translateY(-2px);
}

.rich-text {
  color: var(--muted);
  font-size: 1.04rem;
}

.rich-text > * + * {
  margin-top: 1rem;
}

.rich-text h3 {
  margin-top: 2rem;
  color: var(--foreground);
  font-size: 1.5rem;
  line-height: 1.25;
}

.rich-text strong {
  color: var(--foreground);
}

.rich-text em {
  color: var(--foreground);
}

.split-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 40%);
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.feature-image img,
.wide-photo img,
.highlight-panel img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  max-height: 54rem !important;
}

.feature-image img {
  max-height: 23rem;
}

.cards-grid {
  display: grid;
  gap: 1.5rem;
}

.cards-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.feature-card {
  padding: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 34px rgba(19, 35, 58, 0.04);
}

.feature-card h3 {
  margin-bottom: 1rem;
  color: var(--foreground);
  font-size: 1.45rem;
}

.feature-card p,
.detail-list {
  color: var(--muted);
  font-size: 0.98rem;
}

.icon-badge,
.award-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  margin-bottom: 1.35rem;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(209, 167, 70, 0.18),
    rgba(209, 167, 70, 0.34)
  );
  color: var(--primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.detail-list {
  display: grid;
  gap: 0.8rem;
}

.detail-list li {
  position: relative;
  padding-left: 1.15rem;
}

.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: var(--gold);
}

.highlight-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  margin-top: 3rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.highlight-panel img {
  height: 100%;
  min-height: 18rem;
  border-radius: 0;
  box-shadow: none;
}

.highlight-panel-copy {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.highlight-panel-copy h3 {
  margin-bottom: 1rem;
  color: var(--foreground);
  font-size: 1.9rem;
}

.highlight-panel-copy p {
  color: var(--muted);
  font-size: 1rem;
}

.section-intro {
  margin-bottom: 3rem;
}

.centered-intro {
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.centered-intro .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.wide-photo {
  max-width: 54rem;
  margin: 0 auto 3rem;
}

.wide-photo img {
  max-height: 26rem;
  width: 100%;
}

.awards-panel {
  max-width: 52rem;
  margin: 0 auto;
  text-align: center;
}

.award-badge {
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 1.8rem;
  color: var(--gold);
  border: 1px solid rgba(209, 167, 70, 0.35);
  background: rgba(209, 167, 70, 0.08);
  font-size: 1rem;
}

.award-lead {
  color: rgba(247, 249, 251, 0.82);
  font-size: 1.18rem;
}

.award-lead strong {
  color: var(--gold);
}

.award-quote {
  margin-top: 2rem;
  padding-left: 1.6rem;
  border-left: 4px solid var(--gold);
  color: rgba(247, 249, 251, 0.9);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.34rem, 2.8vw, 2rem);
  font-style: italic;
  line-height: 1.6;
  text-align: left;
}

.timeline {
  position: relative;
  max-width: 60rem;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), var(--primary));
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 2.8rem 2rem 0;
}

.timeline-item:nth-child(even) {
  margin-left: 50%;
  padding: 0 0 2rem 2.8rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  right: -0.54rem;
  width: 1rem;
  height: 1rem;
  border: 4px solid var(--background);
  border-radius: 999px;
  background: var(--gold);
  z-index: 1;
}

.timeline-item:nth-child(even)::before {
  left: -0.46rem;
  right: auto;
}

.timeline-card {
  padding: 1.45rem 1.6rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(34, 58, 87, 0.08);
  border-radius: var(--radius-md);
  backdrop-filter: blur(5px);
  box-shadow: 0 16px 32px rgba(19, 35, 58, 0.05);
}

.timeline-year {
  color: var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
}

.timeline-card h3 {
  margin-top: 0.3rem;
  color: var(--foreground);
  font-size: 1.2rem;
}

.timeline-card p {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.site-footer {
  padding: 3rem 0 3.4rem;
}

.footer-inner {
  text-align: center;
}

.footer-name {
  color: #f7f9fb;
  font-size: 1.32rem;
}

.footer-role {
  margin-top: 0.35rem;
  color: rgba(247, 249, 251, 0.65);
}

.footer-note {
  color: rgba(247, 249, 251, 0.35);
  font-size: 0.88rem;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-7px);
  }
}

@media (max-width: 1080px) {
  .bio-grid,
  .split-head,
  .cards-grid-three,
  .cards-grid-two,
  .highlight-panel {
    grid-template-columns: 1fr;
  }

  .portrait-frame {
    position: relative;
    top: 0;
  }

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

@media (max-width: 920px) {
  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
    margin-left: auto;
  }

  .timeline::before {
    left: 0.45rem;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding: 0 0 1.4rem 2.2rem;
  }

  .timeline-item::before,
  .timeline-item:nth-child(even)::before {
    left: 0;
    right: auto;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.3rem, var(--container-width));
  }

  .header-inner {
    min-height: 64px;
  }

  .hero {
    padding-top: 7rem;
  }

  .section {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

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

  .feature-card,
  .highlight-panel-copy,
  .timeline-card {
    padding: 1.35rem;
  }

  .section-divider {
    margin-top: 1.4rem;
    margin-bottom: 1.6rem;
  }

  .award-quote {
    padding-left: 1rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
