:root {
  --ink: #142026;
  --muted: #647178;
  --paper: #ffffff;
  --wash: #f6f8f7;
  --soft: #ecf3f0;
  --line: #d9e4e0;
  --teal: #19737a;
  --green: #57876c;
  --coral: #c76f58;
  --gold: #b88b4a;
  --shadow: 0 22px 52px rgba(20, 32, 38, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body,
button {
  letter-spacing: 0;
}

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

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

p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin: 0;
  text-wrap: balance;
}

h1 {
  max-width: 820px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.25rem, 8vw, 7.8rem);
  font-weight: 500;
  line-height: 0.92;
}

h1 span {
  display: block;
  margin-top: 0.18em;
  font-size: 0.54em;
  line-height: 1;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.6vw, 4.7rem);
  font-weight: 500;
  line-height: 1;
}

h3 {
  font-size: 1.03rem;
  line-height: 1.25;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.82rem max(1rem, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(217, 228, 224, 0.78);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--teal);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

nav a {
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
  padding: 0.65rem 0.72rem;
}

nav a:hover,
nav a:focus-visible {
  color: var(--teal);
  background: var(--soft);
  outline: none;
}

main {
  overflow: hidden;
}

.hero,
.intro-band,
.split-section,
.care-band,
.research-band,
.timeline-band,
.interests-band,
.contact-band {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(390px, 0.82fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: clamp(560px, 70vh, 680px);
  padding: clamp(3rem, 7vw, 6.6rem) 0 clamp(2rem, 4vw, 4rem);
}

.hero-copy {
  display: grid;
  gap: 1.4rem;
  min-width: 0;
}

.role-line {
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-copy > p:not(.role-line) {
  max-width: 690px;
  color: #425057;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.2rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--teal);
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 850;
  padding: 0.78rem 1rem;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

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

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

.button.primary:hover,
.button.primary:focus-visible {
  border-color: #105e64;
  background: #105e64;
}

.button.secondary {
  color: var(--teal);
  background: transparent;
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: var(--soft);
}

.hero-media {
  margin: 0;
  min-width: 0;
}

.hero-image-stack {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 0.8rem;
  align-items: end;
  min-width: 0;
}

.hero-image-stack img,
.section-image img {
  width: 100%;
  aspect-ratio: 1.14;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.hero-image-stack .portrait-photo {
  aspect-ratio: 0.78;
  object-position: center top;
}

.hero-image-stack .nicu-photo {
  margin-bottom: 2.1rem;
}

.hero-media figcaption {
  max-width: 420px;
  margin: 1rem 0 0 auto;
  border-left: 3px solid var(--coral);
  color: #536168;
  font-size: 0.92rem;
  line-height: 1.55;
  padding-left: 0.9rem;
}

.intro-band,
.research-band,
.timeline-band,
.interests-band {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-heading {
  display: grid;
  max-width: 780px;
  gap: 0.8rem;
  margin-bottom: clamp(2rem, 5vw, 3.4rem);
}

.section-heading.wide {
  max-width: 940px;
}

.section-heading p,
.section-label {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.focus-grid article {
  display: grid;
  min-height: 18rem;
  align-content: start;
  gap: 1rem;
  background: var(--paper);
  padding: clamp(1.1rem, 2vw, 1.45rem);
}

.focus-grid span {
  color: var(--coral);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.split-section.leadership {
  border-top: 1px solid var(--line);
}

.neuro-section {
  border-top: 1px solid var(--line);
}

.split-section > div:first-child,
.split-section > div:last-child {
  display: grid;
  gap: 1.2rem;
}

.highlight-list {
  display: grid;
  gap: 0.85rem;
}

.highlight-list article,
.research-card,
.stat-stack article,
.timeline li,
.interest-rows article,
.hobby-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

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

.highlight-list article {
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem;
}

.research-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.research-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1rem;
}

.research-card {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.research-card h3 {
  margin-bottom: 1rem;
}

.research-card ul {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding-left: 1.15rem;
  color: #44545b;
  line-height: 1.6;
}

.research-card li::marker {
  color: var(--coral);
}

.stat-stack {
  display: grid;
  gap: 1rem;
}

.stat-stack article {
  display: grid;
  gap: 0.4rem;
  padding: 1.2rem;
}

.stat-stack strong {
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  font-weight: 500;
  line-height: 0.92;
}

.stat-stack span {
  color: var(--muted);
  line-height: 1.5;
}

.teaching {
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1fr);
}

.section-image {
  margin: 0;
}

.care-band {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(440px, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.care-copy {
  display: grid;
  gap: 1.15rem;
}

.image-note {
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 800;
}

.care-image {
  margin: 0;
}

.care-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.care-moments {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.care-moments figure {
  position: relative;
  min-height: 13.5rem;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
}

.care-moments img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.care-moments figcaption {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  border-radius: 8px;
  color: #fff;
  background: rgba(20, 32, 38, 0.72);
  font-size: 0.78rem;
  font-weight: 850;
  padding: 0.45rem 0.58rem;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.4rem;
}

.tag-cloud span {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #47565d;
  background: var(--paper);
  font-size: 0.85rem;
  font-weight: 760;
  padding: 0.55rem 0.7rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  gap: 0.7rem;
  min-height: 16.5rem;
  padding: 1.1rem;
}

.timeline time {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 850;
}

.interest-rows {
  display: grid;
  gap: 1rem;
}

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

.hobby-grid article {
  display: grid;
  min-height: 18rem;
  align-content: start;
  gap: 0.9rem;
  padding: clamp(1.1rem, 2vw, 1.45rem);
}

.hobby-grid span {
  width: fit-content;
  border-bottom: 2px solid var(--coral);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.professional-interests {
  margin-top: 1rem;
}

.alex-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: clamp(1rem, 4vw, 2.5rem);
  align-items: center;
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: clamp(1rem, 3vw, 1.4rem);
}

.alex-panel figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
}

.alex-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.alex-panel > div {
  display: grid;
  gap: 0.8rem;
}

.alex-panel h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3.6vw, 3.3rem);
  font-weight: 500;
  line-height: 1.02;
}

.photo-mosaic {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.8fr;
  gap: 1rem;
  margin-top: 1rem;
}

.photo-mosaic figure {
  position: relative;
  min-height: 15rem;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
}

.photo-mosaic .feature-photo {
  grid-row: span 2;
  min-height: 31rem;
}

.photo-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-mosaic figcaption {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  max-width: calc(100% - 1.4rem);
  border-radius: 8px;
  color: #fff;
  background: rgba(20, 32, 38, 0.72);
  font-size: 0.78rem;
  font-weight: 850;
  overflow-wrap: break-word;
  padding: 0.45rem 0.58rem;
}

.interest-rows article {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 1.3rem;
  align-items: start;
  padding: clamp(1.1rem, 2vw, 1.45rem);
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(130deg, rgba(20, 32, 38, 0.96), rgba(25, 115, 122, 0.9)),
    var(--ink);
  padding: clamp(1.4rem, 4vw, 2.4rem);
}

.contact-band h2 {
  max-width: 830px;
  font-size: clamp(2rem, 4.2vw, 4rem);
}

.contact-band p {
  max-width: 760px;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.78);
}

.contact-band .button.primary {
  border-color: #fff;
  color: var(--ink);
  background: #fff;
}

.qr-card {
  display: grid;
  gap: 0.35rem;
  width: 96px;
  margin: 0;
  justify-self: end;
  justify-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  padding: 0.42rem;
}

.qr-card img {
  width: 78px;
  aspect-ratio: 1;
  border-radius: 6px;
}

.qr-card figcaption {
  color: var(--ink);
  font-size: 0.58rem;
  font-weight: 850;
  line-height: 1.12;
  text-align: center;
  overflow-wrap: anywhere;
}

footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 2rem;
}

footer p {
  font-size: 0.9rem;
}

@media (max-width: 940px) {
  .hero,
  .split-section,
  .care-band,
  .research-layout,
  .contact-band,
  .alex-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .focus-grid,
  .hobby-grid,
  .photo-mosaic,
  .care-moments,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-mosaic .feature-photo {
    grid-row: span 1;
    min-height: 15rem;
  }

  .hero-media figcaption {
    margin-left: 0;
  }

  .contact-band {
    justify-items: start;
  }

  .qr-card {
    justify-self: start;
  }
}

@media (max-width: 700px) {
  .hero,
  .intro-band,
  .split-section,
  .care-band,
  .research-band,
  .timeline-band,
  .interests-band,
  .contact-band,
  footer {
    width: calc(100% - 2rem);
    max-width: calc(100vw - 2rem);
  }

  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.15rem;
  }

  nav a {
    flex: 0 0 auto;
  }

  h1 {
    font-size: clamp(2.8rem, 13vw, 3.8rem);
  }

  h1 span {
    font-size: 0.48em;
  }

  h2 {
    font-size: clamp(1.85rem, 8vw, 2.55rem);
    line-height: 1.06;
  }

  .hero {
    padding-top: 2.3rem;
  }

  .hero-copy > p:not(.role-line),
  p {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .hero-copy > p:not(.role-line) {
    max-width: 33ch;
    font-size: 1rem;
  }

  .focus-grid,
  .hobby-grid,
  .photo-mosaic,
  .care-moments,
  .timeline,
  .interest-rows article {
    grid-template-columns: 1fr;
  }

  .hero-image-stack {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    width: 100%;
    overflow: hidden;
  }

  .hero-image-stack .portrait-photo {
    aspect-ratio: 1.2;
    object-position: center 18%;
  }

  .hero-image-stack .nicu-photo {
    display: none;
  }

  .hero-image-stack .nicu-photo {
    margin-bottom: 0;
  }

  .hero-media figcaption {
    width: calc(100vw - 2rem);
    max-width: calc(100vw - 2rem);
    overflow-wrap: break-word;
  }

  .focus-grid article,
  .hobby-grid article,
  .timeline li {
    min-height: auto;
  }

  .hero-actions,
  .button {
    width: 100%;
  }
}

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

  .button,
  .reveal {
    transition: none;
  }
}
