.home-main { max-width: 1200px; margin: auto; padding: 80px 32px 0; }
.home-hero { padding: 36px 0 40px; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; column-gap: 70px; align-items: center; }
.hero-layout h1 { grid-column: 1; grid-row: 1; }
.hero-copy { grid-column: 1; grid-row: 2; min-width: 0; }
.home-hero h1 { font-family: var(--font-display); font-size: clamp(60px, 6.5vw, 82px); font-weight: 400; letter-spacing: -.055em; line-height: 1.05; margin: 0 0 24px; }
.hero-bio { max-width: 670px; font-size: 17px; line-height: 1.8; margin: 0 0 18px; color: var(--ink); }
.hero-bio, .about-copy { text-align: justify; text-justify: inter-word; hyphens: auto; }
.hero-bio a, .about-copy a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); }
.hero-bio a:hover, .about-copy a:hover { color: var(--accent); text-decoration-color: var(--accent); }
.social-links { display: flex; flex-wrap: wrap; gap: 14px 22px; font-size: 13px; font-weight: 500; margin-top: 22px; }
.social-links a, .social-links button { border-bottom: 1px solid var(--line); padding-bottom: 3px; }
.social-links a:hover, .social-links button:hover { color: var(--accent); border-color: var(--accent); }
.portrait-figure { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
#portrait-slider-container { width: 100%; height: 325px; border: 0; border-radius: 3px; background: var(--surface-soft); }
#portrait-slider-container img { object-position: center 36%; }
#portrait-slider-container img[data-portrait="rwik1"] { transform: scale(1.43); }
#portrait-slider-container button { width: 30px; height: 30px; padding: 5px; border-radius: 2px; }
#portrait-slider-container:focus-within button { opacity: 1; }
.portrait-figure figcaption { display: flex; justify-content: space-between; margin-top: 12px; color: var(--muted); font-family: var(--font-mono); font-size: 10px; letter-spacing: .025em; }
.section-heading { border-top: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-top: 18px; margin-bottom: 18px; }
.section-heading h2 { font-family: var(--font-display); font-size: 39px; font-weight: 400; line-height: 1.2; letter-spacing: -.035em; }
.section-heading .eyebrow { margin-bottom: 8px; }
.section-heading > p { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.fieldwork { padding: 0 0 36px; }
#display-slider-container { --mosaic-height: 330px; --mosaic-gap: 8px; display: flex; gap: var(--mosaic-gap); height: var(--mosaic-height); overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; overflow-anchor: none; scrollbar-width: none; }
#display-slider-container::-webkit-scrollbar { display: none; }
#display-slider-container:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.mosaic-column { display: flex; flex: 0 0 auto; flex-direction: column; gap: var(--mosaic-gap); height: 100%; }
.mosaic-tile { display: flex; flex-direction: column; flex-basis: 0; flex-shrink: 0; min-width: 0; min-height: 0; }
.mosaic-media { flex: 1; min-height: 0; overflow: hidden; }
.mosaic-media > img, .mosaic-media > video { display: block; width: 100%; height: 100%; object-fit: contain; }
.mosaic-tile .gallery-caption { flex: 0 0 auto; padding-top: 4px; color: var(--muted); font-size: 11px; line-height: 22px; overflow-wrap: anywhere; }
.mosaic-tile .gallery-institution { display: inline; }
.mosaic-tile .gallery-caption-separator { display: inline; }
.mosaic-tile .gallery-project { display: inline; color: var(--ink); font-size: 12px; line-height: inherit; }
.mosaic-tile a.gallery-project { padding: 4px 0; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.mosaic-tile a.gallery-project:hover { color: var(--accent); text-decoration-color: var(--accent); }
.mosaic-tile a.gallery-project:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.gallery-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 12px; color: var(--muted); font-size: 12px; }
.gallery-navigation { display: flex; gap: 8px; }
.gallery-control { display: grid; place-items: center; width: 36px; height: 32px; border: 0; background: transparent; color: var(--ink); }
.gallery-control:hover:enabled { color: var(--accent); }
.gallery-control:disabled { opacity: .25; cursor: default; }
.gallery-control svg { width: 22px; height: 22px; }
.gallery-view-all { color: var(--ink); border-bottom: 1px solid var(--line); }
.about-copy { max-width: 670px; font-size: 17px; color: var(--ink); line-height: 1.8; }
.research-section { padding-bottom: 40px; }
.research-section .section-heading { margin-bottom: 20px; }
.research-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 30px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.research-tabs { display: flex; gap: 24px; }
.research-tabs button { padding: 8px 0; font-size: 14px; font-weight: 500; }
#research-search-input { background: var(--surface); border: 1px solid var(--line); padding: 10px 14px; width: 330px; font-size: 13px; }
#publications-list > li, #patents-list > li { padding: 20px 0; margin: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent !important; }
#publications-list h3, #patents-list h3 { font-family: var(--font-display); font-size: 26px; letter-spacing: -.02em; line-height: 1.25; font-weight: 500; margin-bottom: 9px; max-width: 850px; }
#publications-list p, #patents-list p { font-size: 14px; max-width: 880px; }
#publications-list li > a, #patents-list li > a { font-size: 12px; color: var(--accent); font-weight: 500; }
.research-links { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.research-links a { display: block; padding: 20px 34px 20px 0; }
.research-links a + a { border-left: 1px solid var(--line); padding-left: 34px; }
.research-links h2 { line-height: 1.2; font-family: var(--font-display); font-size: 30px; font-weight: 400; letter-spacing: -.03em; margin-top: 0; }
.research-links p { color: var(--muted); font-size: 14px; margin-top: 6px; max-width: 380px; }
.research-links a:hover h2 { color: var(--accent); }
.contact-section { padding: 0 0 28px; display: flex; justify-content: space-between; align-items: end; gap: 28px; }
.contact-section h2 { line-height: 1.15; font-family: var(--font-display); font-size: 48px; letter-spacing: -.035em; font-weight: 400; margin: 0 0 10px; }
.contact-section p { color: var(--muted); font-size: 14px; max-width: 470px; }
.contact-email { font-family: var(--font-display); font-size: 27px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.home-footer { max-width: 1136px; margin: 0 auto; padding: 18px 0 22px; display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; }
.home-footer span:last-child { font-family: var(--font-mono); }
@media (max-width: 1023px) {
  .hero-layout { column-gap: 48px; grid-template-columns: minmax(0, 1fr) 250px; }
  .home-footer { margin-inline: 32px; }
  body > header nav { gap: 18px; }
}
@media (max-width: 900px) {
  #display-slider-container { --mosaic-height: 340px; --mosaic-gap: 8px; }
}
@media (max-width: 767px) {
  .home-main { padding: 70px 22px 0; }
  .home-hero { padding: 32px 0; }
  .hero-layout { display: flex; flex-direction: column; align-items: stretch; }
  .home-hero h1 { font-size: 62px; }
  .hero-bio, .about-copy { font-size: 16px; line-height: 1.8; }
  .portrait-figure { width: min(100%, 280px); margin: 0 auto 24px; }
  #portrait-slider-container { height: auto; aspect-ratio: 14 / 15; }
  #portrait-slider-container button { width: 32px; height: 32px; margin-inline: 8px; opacity: 1; }
  .portrait-figure figcaption { gap: 12px; }
  .section-heading h2 { font-size: 33px; }
  .section-heading > p { display: none; }
  .gallery-footer { font-size: 11px; }
  .research-toolbar { flex-direction: column; align-items: stretch; gap: 15px; }
  #research-search-input { width: 100%; }
  #publications-list h3, #patents-list h3 { font-size: 23px; }
  .research-links { grid-template-columns: 1fr; margin-bottom: 28px; }
  .research-links a { padding: 18px 0; }
  .research-links a + a { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .contact-section { display: block; }
  .contact-section h2 { font-size: 42px; }
  .contact-email { display: inline-block; margin-top: 18px; font-size: 25px; }
  .home-footer { margin-inline: 22px; gap: 12px; flex-wrap: wrap; }
}
