:root {
  --ink: #142126;
  --muted: #5d6b70;
  --line: #d6e5e2;
  --surface: #f3f8f6;
  --surface-blue: #f3f8f6;
  --sea: #0b7f89;
  --deep: #0b2f44;
  --kelp: #2f7158;
  --coral: #c6634f;
  --sun: #ffe2a3;
  --white: #ffffff;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

a {
  color: var(--sea);
  text-decoration: none;
}

a:hover {
  color: var(--coral);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 24px;
  background: rgba(8, 56, 77, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
}

.brand {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0;
}

.brand:hover {
  color: var(--sun);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-left: auto;
  font-size: 0.88rem;
  font-weight: 700;
}

.site-nav a {
  color: var(--white);
}

.site-nav a:hover {
  color: var(--sun);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  width: 100%;
  margin: 0;
  aspect-ratio: 5 / 2;
  min-height: 430px;
  max-height: 620px;
  overflow: hidden;
  padding: 64px max(22px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: #061822;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(90deg, rgba(6, 24, 34, 0.82) 0%, rgba(6, 24, 34, 0.58) 45%, rgba(6, 24, 34, 0.2) 100%);
  pointer-events: none;
}

.hero-bg-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transition: opacity 900ms ease;
  background-color: #061822;
}

.hero-bg-slide.is-active {
  opacity: 1;
}

.hero-bg-button {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  width: 18%;
  border: 0;
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1;
  cursor: pointer;
  text-shadow: 0 2px 18px rgba(6, 24, 34, 0.6);
  opacity: 0.72;
}

.hero-bg-button:hover,
.hero-bg-button:focus-visible {
  opacity: 1;
}

.hero-bg-button.prev {
  left: 0;
  text-align: left;
  padding-left: 18px;
}

.hero-bg-button.next {
  right: 0;
  text-align: right;
  padding-right: 18px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

.hero-name {
  margin: 0 0 8px;
  color: var(--deep);
  font-size: 0.95rem;
  font-weight: 800;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--kelp);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #b7f0e7;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: 0;
}

h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(1.7rem, 3.2vw, 2.65rem);
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.lead {
  max-width: 600px;
  margin: 18px 0 0;
  color: #34444a;
  font-size: clamp(1rem, 1.1vw, 1.05rem);
}

.hero .lead {
  color: rgba(255, 255, 255, 0.92);
}

.hero h1 {
  color: var(--white);
  text-shadow: 0 2px 22px rgba(6, 24, 34, 0.42);
}

.hero-links,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  color: var(--white);
  background: var(--sea);
  border-radius: 8px;
  font-weight: 800;
}

.button.secondary {
  color: var(--deep);
  background: transparent;
  border: 1px solid var(--deep);
}

.hero .button {
  background: var(--white);
  color: var(--deep);
}

.hero .button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: 42px max(22px, calc((100vw - var(--max)) / 2));
}

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

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.28fr);
  justify-content: space-between;
  gap: 40px;
}

.people-section > h2 {
  margin-bottom: 20px;
}

.about-copy p:first-child {
  margin-top: 0;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 240px));
  justify-content: center;
  gap: 22px;
}

.person-card {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 0;
  color: var(--deep);
  background: transparent;
  text-align: center;
}

.person-card img {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  object-fit: cover;
}

.person-card-name {
  color: var(--deep);
  background: transparent;
  font-weight: 800;
  line-height: 1.2;
}

.person-card:hover .person-card-name,
.person-card:focus-visible .person-card-name {
  color: var(--sea);
}

.person-interests {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  color: var(--muted);
  background: transparent;
  font-size: 0.76rem;
  line-height: 1.35;
}

.person-interests span {
  background: transparent;
}

.person-interests span:not(:last-child)::after {
  content: ",";
}

.people-list {
  display: grid;
  gap: 26px;
  margin-top: 24px;
}

.people-list-item {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.people-list-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.people-list-body {
  display: grid;
  gap: 8px;
}

.people-list-body h2 {
  margin: 0;
  padding: 0;
  background: transparent;
  border-left: 0;
}

.people-list-body p,
.people-list-summary {
  margin: 0;
}

.people-list-summary {
  color: var(--muted);
}

.people-list-link {
  width: fit-content;
  font-weight: 800;
}

.person-page-header {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  margin: 18px 0 30px;
}

.person-page-portrait {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.person-page-meta {
  display: grid;
  gap: 0;
}

.person-page-meta p,
.person-page-about p {
  margin: 0;
}

.person-page-about {
  display: grid;
  gap: 14px;
  max-width: 100%;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 2px;
}

.two-column > :first-child {
  justify-self: start;
}

.two-column > :last-child {
  justify-self: end;
  width: 100%;
}

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

.card {
  min-height: 100%;
  padding: 18px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.card-link {
  display: block;
}

.card-link:hover {
  color: var(--ink);
  border-color: var(--sea);
  box-shadow: 0 10px 26px rgba(18, 60, 85, 0.1);
}

.card p {
  font-size: 0.84rem;
  line-height: 1.42;
}

.research-listing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.research-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  min-height: 190px;
  overflow: hidden;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.research-card:hover {
  color: var(--ink);
  border-color: var(--sea);
  box-shadow: 0 10px 26px rgba(18, 60, 85, 0.1);
}

.research-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--white);
}

.research-card-body {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 18px;
}

.research-card-body strong {
  color: var(--deep);
  font-size: 1.05rem;
  line-height: 1.2;
}

.research-card-body span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.subtheme-card {
  margin: 20px 0 16px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.subtheme-card h3 {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 1rem;
}

.subtheme-card p {
  margin: 0;
}

.media-band {
  background: #102632;
  color: var(--white);
}

.media-band .eyebrow {
  color: #9ed8cf;
}

.visual-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

figure {
  margin: 0;
}

figure img,
figure video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
}

figure video {
  aspect-ratio: 960 / 722;
  object-fit: contain;
}

.research-page figure img,
.research-page figure video {
  border: 0;
}

figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.42;
}

figcaption p {
  margin: 0;
}

.media-band figcaption {
  color: #d9efeb;
}

.image-credit {
  display: block;
  margin-top: 3px;
  color: rgba(217, 239, 235, 0.68);
  font-size: 0.7rem;
  line-height: 1.35;
}

.image-credit a {
  color: rgba(184, 229, 238, 0.82);
}

.tech-strip figure {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.tech-strip img {
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
}

.wide-figure {
  width: min(100%, 800px);
  margin: 22px auto 28px;
}

.wide-figure img,
.wide-figure video {
  width: 100%;
  max-height: 62vh;
  object-fit: contain;
}


.research-lead-figure {
  margin-top: 0;
}

.theme-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 28px;
}

.theme-gallery img,
.theme-gallery video {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.paired-gallery {
  align-items: start;
}

.paired-gallery figure {
  display: grid;
  grid-template-rows: minmax(210px, 24vw) auto;
}

.paired-gallery img,
.paired-gallery video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.stat-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stat-list li {
  padding: 13px;
  border-left: 4px solid var(--deep);
  background: var(--surface);
  font-size: 0.88rem;
  line-height: 1.4;
}

.stat-list li > strong {
  font-size: 0.9rem;
}

.publication-list,
.timeline {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.publication-list li,
.timeline li {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.publication-list li:last-child,
.timeline li:last-child {
  border-bottom: 0;
}

.meta {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.page {
  width: min(var(--max), calc(100% - 44px));
  max-width: var(--max);
  margin: 0 auto;
  padding: 44px 0;
}

.page h1 {
  max-width: 100%;
  margin-bottom: 14px;
  font-size: clamp(1.75rem, 3.2vw, 2.65rem);
}

.page h2 {
  margin-top: 44px;
  padding: 7px 0 8px 12px;
  color: var(--deep);
  background: transparent;
  border-left: 3px solid var(--sea);
  border-radius: 0;
}

.page ul {
  padding-left: 1.2rem;
}

.course-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 16px 0 28px;
}

.course-columns section {
  padding: 16px;
}

.course-columns h3 {
  margin-bottom: 8px;
}

.course-columns ul {
  margin: 0;
}

.site-footer {
  padding: 20px max(22px, calc((100vw - var(--max)) / 2));
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 920px) {
  .visual-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header {
    position: static;
    align-items: stretch;
    flex-direction: column;
  }

  .site-nav {
    margin-left: 0;
  }

  .hero {
    aspect-ratio: auto;
    min-height: 560px;
    max-height: none;
    padding-top: 46px;
    padding-bottom: 58px;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(6, 24, 34, 0.82) 0%, rgba(6, 24, 34, 0.7) 62%, rgba(6, 24, 34, 0.58) 100%);
  }

  .two-column,
  .person-page-header,
  .people-list-item,
  .cards,
  .research-listing,
  .theme-gallery,
  .visual-strip,
  .course-columns {
    grid-template-columns: 1fr;
  }

  .research-card {
    grid-template-columns: minmax(96px, 34%) minmax(0, 1fr);
    min-height: 0;
  }

  .research-card img {
    align-self: start;
    height: auto;
    min-height: 0;
  }

  .research-card-body {
    padding: 14px;
  }

  .research-card-body strong {
    font-size: 1rem;
  }

  .research-card-body span {
    font-size: 0.84rem;
  }

  .carousel img,
  .carousel video {
    max-height: 60vh;
  }

  .intro-carousel {
    aspect-ratio: auto;
  }

  .intro-carousel figure {
    height: auto;
  }

  .intro-carousel img,
  .intro-carousel video {
    aspect-ratio: 3 / 2;
    height: auto;
  }

  .two-column > :first-child,
  .two-column > :last-child {
    justify-self: stretch;
  }
}



.carousel {
  position: relative;
  width: min(100%, 800px);
  margin: 22px auto 28px;
}

.carousel figure {
  margin: 0;
}

.carousel img,
.carousel video {
  max-height: 440px;
  object-fit: contain;
}

.intro-carousel {
  width: min(100%, 720px);
  aspect-ratio: 3 / 2;
}

.intro-carousel figure {
  height: 100%;
}

.intro-carousel img,
.intro-carousel video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel [hidden] {
  display: none;
}

.carousel-button {
  position: absolute;
  top: 0;
  bottom: 34px;
  z-index: 2;
  width: 24%;
  border: 0;
  color: rgba(255, 255, 255, 0.88);
  background: transparent;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1;
  cursor: pointer;
  text-shadow: 0 2px 18px rgba(18, 60, 85, 0.55);
  opacity: 0.68;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  opacity: 1;
  background: linear-gradient(90deg, rgba(18, 60, 85, 0.18), transparent);
}

.carousel-button.prev {
  left: 0;
  text-align: left;
  padding-left: 18px;
}

.carousel-button.next {
  right: 0;
  text-align: right;
  padding-right: 18px;
}

.carousel-button.next:hover,
.carousel-button.next:focus-visible {
  background: linear-gradient(270deg, rgba(18, 60, 85, 0.18), transparent);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 12px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid var(--sea);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.carousel-dot[aria-pressed="true"] {
  background: var(--sea);
}

.tech-strip {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

@media (max-width: 820px) {
  .intro-carousel {
    aspect-ratio: auto;
  }

  .intro-carousel figure {
    height: auto;
  }

  .intro-carousel img,
  .intro-carousel video {
    aspect-ratio: 3 / 2;
    height: auto;
    object-fit: contain;
  }
}
