:root {
  --ink: #0d1824;
  --navy-950: #06111d;
  --navy-900: #0a1b2c;
  --navy-800: #102b43;
  --blue-600: #1e6f9f;
  --teal-500: #2fb7a5;
  --gold-500: #c6a15b;
  --gold-300: #e6cf94;
  --paper: #f6f8f7;
  --surface: #ffffff;
  --muted: #5f6d78;
  --line: rgba(13, 24, 36, 0.12);
  --line-dark: rgba(255, 255, 255, 0.14);
  --shadow: 0 22px 58px rgba(6, 17, 29, 0.18);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.62;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  padding: 10px 0;
  background: rgba(246, 248, 247, 0.92);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(6, 17, 29, 0.84);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(230, 207, 148, 0.82);
  color: var(--gold-300);
  font-weight: 900;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.brand-copy strong {
  font-size: 0.95rem;
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
}

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

.nav a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: #fff;
}

.menu-toggle {
  display: none;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 9px 12px;
  font-weight: 900;
  cursor: pointer;
}

.hero {
  min-height: auto;
  padding: 82px 0 70px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 15%, rgba(47, 183, 165, 0.2), transparent 26%),
    linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 48%, #10253b 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
  gap: 40px;
  align-items: start;
}

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

h1,
h2,
h3,
h4 {
  margin: 0 0 12px;
  line-height: 1.08;
}

h1,
h2 {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 920px;
  font-size: clamp(2.45rem, 4.2vw, 4.35rem);
  font-weight: 900;
  line-height: 1.02;
}

h2 {
  max-width: 760px;
  font-size: clamp(1.8rem, 2.7vw, 3rem);
  font-weight: 900;
}

h3 {
  font-size: 1.08rem;
}

h4 {
  color: var(--navy-800);
  font-size: 0.98rem;
}

.lead {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.66;
}

.hero-actions,
.link-row,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button,
.link-row a,
.contact-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 900;
}

.button-primary {
  background: var(--gold-500);
  color: var(--navy-950);
  box-shadow: 0 16px 34px rgba(198, 161, 91, 0.24);
}

.button-primary:hover {
  background: var(--gold-300);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.hero-link {
  color: var(--gold-300);
  font-weight: 850;
  text-decoration-color: rgba(230, 207, 148, 0.52);
  text-underline-offset: 3px;
}

.hero-link:hover {
  color: #fff;
  text-decoration-color: #fff;
}

.hero-visual {
  display: grid;
  gap: 12px;
  align-self: start;
  padding-top: 4px;
}

.positioning-card {
  width: min(100%, 330px);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.positioning-card.accent {
  border-left: 4px solid var(--gold-500);
  background: rgba(255, 255, 255, 0.09);
}

.positioning-card span,
.positioning-card strong,
.positioning-card small,
.positioning-card a {
  display: block;
}

.positioning-card span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.positioning-card strong {
  margin-top: 5px;
  color: #fff;
  font-size: 0.96rem;
  line-height: 1.42;
}

.positioning-card small {
  margin-top: 7px;
  color: var(--gold-300);
  font-weight: 800;
}

.positioning-card a {
  margin-top: 7px;
  color: var(--gold-300);
  font-weight: 850;
  text-decoration-color: rgba(230, 207, 148, 0.5);
  text-underline-offset: 3px;
}

.positioning-card a:hover {
  color: #fff;
  text-decoration-color: #fff;
}

.authority-band {
  padding: 22px 0;
  background: var(--navy-900);
  color: #fff;
}

.authority-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.authority-grid div {
  padding: 15px;
  border-top: 3px solid var(--teal-500);
  background: rgba(255, 255, 255, 0.06);
}

.authority-grid span,
.authority-grid strong {
  display: block;
}

.authority-grid span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.authority-grid strong {
  margin-top: 6px;
  font-size: 0.94rem;
  line-height: 1.35;
}

.section {
  padding: 74px 0;
}

.alt-section {
  background: #eaf0ef;
}

.dark-section {
  color: #fff;
  background: var(--navy-950);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 48px;
  align-items: start;
}

.section-intro,
.profile-copy,
.card p,
.research-card p,
.publication-card p,
.program-card p {
  color: var(--muted);
}

.dark-section .section-intro,
.dark-section .research-card p {
  color: rgba(255, 255, 255, 0.72);
}

.profile-copy {
  font-size: 1rem;
}

.profile-card {
  color: var(--muted);
  font-size: 1rem;
}

.profile-wrap::after {
  content: "";
  display: table;
  clear: both;
}

.profile-photo {
  float: left;
  width: 116px;
  aspect-ratio: 1 / 1;
  margin: 3px 22px 12px 0;
  object-fit: cover;
  object-position: 50% 18%;
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(6, 17, 29, 0.12);
}

.profile-card p {
  margin-top: 0;
}

.role-section {
  background: #ffffff;
}

.role-panel {
  padding: 24px;
  border-left: 4px solid var(--gold-500);
  background: var(--navy-900);
  color: #fff;
  box-shadow: var(--shadow);
}

.role-panel h3 {
  color: #fff;
  font-size: 1.35rem;
}

.role-panel p {
  color: rgba(255, 255, 255, 0.74);
}

.role-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--gold-300);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.inline-link,
.text-link {
  color: var(--gold-300);
  font-weight: 900;
  text-decoration-color: rgba(230, 207, 148, 0.48);
  text-underline-offset: 3px;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--blue-600);
}

.inline-link:hover,
.text-link:hover {
  color: var(--teal-500);
  text-decoration-color: var(--teal-500);
}

.research-grid,
.pillar-grid,
.publication-grid,
.program-grid,
.teaching-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.research-card,
.pillar-card,
.card,
.publication-card,
.program-card,
.course-panel {
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(6, 17, 29, 0.08);
}

.research-card,
.pillar-card {
  min-height: 230px;
  border-color: var(--line-dark);
  background: rgba(255, 255, 255, 0.06);
}

.pillar-grid {
  grid-template-columns: repeat(3, 1fr);
}

.research-card span,
.pillar-card span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--gold-300);
  font-weight: 900;
}

.research-card h3,
.pillar-card h3 {
  color: #fff;
}

.pillar-card ul {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 34px 0 22px;
  border: 1px solid var(--line);
  background: #fff;
}

.timeline article {
  padding: 22px;
  border-right: 1px solid var(--line);
}

.timeline article:last-child {
  border-right: 0;
}

.timeline span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue-600);
  font-size: 0.82rem;
  font-weight: 900;
}

.timeline p {
  margin-bottom: 0;
  color: var(--muted);
}

.course-panel {
  margin-top: 18px;
}

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

ul {
  margin: 0;
  padding-left: 19px;
}

li + li {
  margin-top: 7px;
}

.label-chip {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 10px;
  background: rgba(198, 161, 91, 0.16);
  color: #7a5c1d;
  font-size: 0.78rem;
  font-weight: 900;
}

.publication-card,
.program-card {
  min-height: 210px;
}

.link-row a {
  border-color: rgba(13, 24, 36, 0.18);
  background: #fff;
  color: var(--navy-900);
}

.link-row a:hover,
.contact-links a:hover {
  border-color: var(--blue-600);
  color: var(--blue-600);
}

.programs-section {
  background: var(--paper);
}

.site-footer {
  padding: 76px 0;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 34px;
  align-items: start;
}

.footer-contact h2 {
  max-width: 18ch;
}

.footer-contact p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
}

.contact-links a {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.contact-form {
  display: grid;
  gap: 15px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 850;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font: inherit;
  padding: 12px 13px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .button {
  border: 0;
  cursor: pointer;
}

.thanks-page {
  min-height: 100vh;
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(47, 183, 165, 0.22), transparent 26%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.thanks-main {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 28px;
}

.thanks-panel {
  width: min(760px, 100%);
  padding: clamp(30px, 6vw, 58px);
  border-left: 4px solid var(--gold-500);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow);
}

.thanks-panel h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5rem);
}

.thanks-panel p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

@media (max-width: 1080px) {
  .nav {
    gap: 10px;
  }

  .nav a {
    font-size: 0.84rem;
  }

  .hero-grid,
  .two-column,
  .footer-grid,
  .authority-grid,
  .research-grid,
  .publication-grid,
  .program-grid,
  .teaching-grid,
  .timeline,
  .columns-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .profile-photo {
    width: 96px;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
  }

  .header-inner {
    position: relative;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(6, 17, 29, 0.97);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

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

  .nav a {
    padding: 12px 4px;
  }

  .hero {
    padding-top: 72px;
  }

  .hero-grid,
  .two-column,
  .footer-grid,
  .authority-grid,
  .research-grid,
  .pillar-grid,
  .publication-grid,
  .program-grid,
  .teaching-grid,
  .timeline,
  .columns-3 {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 420px;
  }

  .profile-card {
    display: block;
  }

  .profile-photo {
    float: none;
    width: 104px;
    margin: 0 0 16px;
  }

  h1,
  h2 {
    max-width: none;
  }

  .timeline article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .timeline article:last-child {
    border-bottom: 0;
  }
}

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

  .brand-copy small {
    display: none;
  }

  .hero-actions,
  .link-row,
  .contact-links {
    flex-direction: column;
  }

  .button,
  .link-row a,
  .contact-links a {
    width: 100%;
  }

  .section {
    padding: 66px 0;
  }
}
