:root {
  color: #0d0d0d;
  background: #fff;
  font-family: "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  --ink: #0d0d0d;
  --muted: #666663;
  --line: #deded9;
  --wash: #f5f5f1;
  --sage: #dce8df;
  --white: #fff;
  --shell: min(1280px, calc(100vw - 3rem));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); word-break: keep-all; overflow-wrap: normal; }
.text-accent { all: revert !important; color: #003876 !important; }
.home-carousel-slide .text-accent, .site-footer .text-accent { color: #72c7ef !important; }
body, button { color: var(--ink); }
.site { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: inherit; text-underline-offset: .18em; }
img { max-width: 100%; height: auto; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.shell { width: var(--shell); margin-inline: auto; }
.skip { position: fixed; z-index: 100; top: .75rem; left: .75rem; transform: translateY(-160%); padding: .7rem 1rem; border-radius: 999px; color: #fff; background: var(--ink); font-weight: 650; }
.skip:focus { transform: none; }

.site-header { position: sticky; z-index: 30; top: 0; background: rgba(255, 255, 255, .92); border-bottom: 1px solid rgba(13, 13, 13, .1); backdrop-filter: blur(18px); }
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { width: max-content; display: flex; align-items: baseline; gap: .75rem; text-decoration: none; }
.brand strong { font-size: 1.3rem; letter-spacing: -.04em; }
.brand small { color: var(--muted); font-size: .86rem; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: 1.8rem; }
.nav-links a { position: relative; padding: .35rem 0; text-decoration: none; font-size: .88rem; }
.nav-links a::after, .research-grid .story-copy h3 a::after, .story-grid .story-copy h3 a::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .24s ease; }
.nav-links a:hover::after, .nav-links a:focus-visible::after, .nav-links a[aria-current="page"]::after, .research-grid .story-copy h3 a:hover::after, .research-grid .story-copy h3 a:focus-visible::after, .story-grid .story-copy h3 a:hover::after, .story-grid .story-copy h3 a:focus-visible::after { transform: scaleX(1); }
.mobile-nav { display: none; }
.mobile-nav summary { list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }

.kicker { margin: 0 0 1.25rem; color: var(--muted); font-size: .74rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.hero { padding: clamp(6rem, 11vw, 10rem) 0 3rem; }
.hero h1 { max-width: 1200px; margin: 0; font-size: clamp(3.6rem, 7.2vw, 7.2rem); font-weight: 500; line-height: 1.05; letter-spacing: -.06em; }
.hero h1 span { display: block; }
.hero-bottom { display: grid; grid-template-columns: 1fr minmax(320px, .72fr); gap: clamp(2rem, 8vw, 8rem); align-items: end; margin-top: clamp(3.5rem, 7vw, 6.5rem); padding-top: 1.5rem; border-top: 1px solid var(--line); }
.hero-intro { max-width: 640px; margin: 0; color: #30302e; font-size: clamp(1.12rem, 1.7vw, 1.4rem); line-height: 1.45; }
.hero-intro h1, .hero-intro h2 { display: none; }
.hero-intro > :first-child { margin-top: 0; }
.hero-intro > :last-child { margin-bottom: 0; }
.hero-actions { display: flex; justify-content: flex-end; gap: .7rem; flex-wrap: wrap; }
.pill { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: .7rem; padding: .65rem 1.15rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; text-decoration: none; font-size: .88rem; font-weight: 650; }
.pill:hover { background: var(--wash); }
.pill.dark { color: #fff; background: var(--ink); border-color: var(--ink); }
.pill.dark:hover { background: #333; }

.feature { position: relative; overflow: hidden; min-height: clamp(380px, 55vw, 700px); margin-top: 2rem; border-radius: 2rem; background: var(--sage); }
.feature > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature > .home-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; object-fit: cover; }
.feature > .home-hero-carousel, .home-carousel-slides, .home-carousel-slide { position: absolute; inset: 0; }
.home-carousel-slide { margin: 0; animation: home-carousel-fade .45s ease both; }
.home-carousel-media { width: 100%; height: 100%; border: 0; object-fit: cover; }
.home-carousel-slide::after { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgb(13 13 13 / 42%), transparent 72%); }
.home-carousel-slide figcaption { position: absolute; z-index: 5; top: 50%; left: clamp(1.5rem, 6vw, 5rem); width: min(78%, 40rem); padding-left: 1rem; border-left: 2px solid #fff; transform: translateY(-50%); color: #fff; text-align: left; text-shadow: 0 2px 18px #0d0d0dcc; }
.home-carousel-slide figcaption strong, .home-carousel-slide figcaption span { display: block; }
.home-carousel-slide figcaption strong { font-size: clamp(1.65rem, 4vw, 3.6rem); line-height: 1.02; letter-spacing: -.04em; }
.home-carousel-slide figcaption span { max-width: 32rem; margin-top: .6rem; font-size: clamp(.85rem, 1.35vw, 1.05rem); line-height: 1.6; }
.home-carousel-selector { position: absolute; z-index: 6; left: 50%; bottom: 1.5rem; display: flex; align-items: center; gap: .5rem; transform: translateX(-50%); }
.home-carousel-selector button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: #ffffff8c; box-shadow: 0 1px 8px #0d0d0d55; cursor: pointer; transition: width .25s ease, background-color .25s ease, transform .2s ease; }
.home-carousel-selector button:hover { transform: scale(1.18); background: #fff; }
.home-carousel-selector button[aria-current="true"] { width: 30px; background: #fff; }
.home-carousel-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.feature-abstract { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; padding: clamp(2rem, 6vw, 5rem); background: radial-gradient(circle at 68% 24%, #fff 0 8%, transparent 8.2%), linear-gradient(135deg, #edf3ef, #c8dacd); }
.feature-abstract > span { align-self: flex-start; font-size: clamp(8rem, 24vw, 22rem); font-weight: 500; line-height: .72; letter-spacing: -.12em; }
.feature-caption { position: absolute; right: 1.25rem; bottom: 1.25rem; left: 1.25rem; display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; border-radius: 1rem; background: rgba(255,255,255,.9); backdrop-filter: blur(14px); font-size: .82rem; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 3rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quick-grid a { min-height: 180px; display: grid; grid-template-columns: 1fr auto; grid-template-rows: 1fr auto; gap: 1rem; padding: 1.5rem; border-right: 1px solid var(--line); text-decoration: none; }
.quick-grid a:last-child { border-right: 0; }
.quick-grid a:hover { background: var(--wash); }
.quick-grid span:first-child { color: var(--muted); font-size: .8rem; }
.quick-grid strong { align-self: end; font-size: clamp(1.7rem, 3vw, 3rem); font-weight: 500; letter-spacing: -.045em; }
.quick-grid span:last-child { align-self: end; }

.editorial-section, .content-section { padding: clamp(5rem, 10vw, 9rem) 0; }
.related-section { padding: clamp(3rem, 6vw, 5rem) 0 2rem; }
.notice-section { padding-top: 8rem; }
.wash { background: var(--wash); }
.section-head { display: grid; grid-template-columns: .35fr 1fr auto; align-items: end; gap: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.section-head.title-only { grid-template-columns: 1fr auto; }
.section-head .kicker { margin: 0; }
.section-head h2 { margin: 0; font-size: clamp(2.8rem, 5.8vw, 6rem); font-weight: 500; line-height: .94; letter-spacing: -.065em; }
.inline-link { display: inline-flex; gap: .55rem; align-items: center; text-decoration: none; font-size: .84rem; }
.inline-link:hover { text-decoration: underline; }
.story-grid, .research-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.story-card { position: relative; min-width: 0; min-height: 410px; display: flex; flex-direction: column; padding: 1.5rem 1.5rem 1.25rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease; }
.card-hit-area { position: absolute; z-index: 1; inset: 0; }
.research-thumbnail { position: relative; z-index: 2; display: block; overflow: hidden; margin: -1.5rem -1.5rem 1.4rem; }
.research-thumbnail img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .25s ease; }
.research-thumbnail:hover img { transform: scale(1.02); }
.story-card:nth-child(3n) { border-right: 0; }
.story-card:hover { z-index: 1; transform: translateY(-4px); background: rgba(220, 232, 223, .38); box-shadow: 0 18px 38px rgba(13, 13, 13, .08); }
.story-meta { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.story-copy { display: flex; flex-direction: column; flex: 1; }
.story-copy h3 { margin: 3rem 0 1rem; font-size: clamp(1.55rem, 2.4vw, 2.35rem); font-weight: 500; line-height: 1.08; letter-spacing: -.045em; }
.story-copy h3 a { position: relative; z-index: 2; text-decoration: none; }
.research-grid .story-copy h3 a, .story-grid .story-copy h3 a { position: relative; display: inline-block; padding-bottom: .12rem; }
.meta { color: var(--muted); font-size: .8rem; }
.card-summary { color: var(--muted); font-size: .94rem; }
.card-summary > :first-child { margin-top: 0; }
.card-summary > :last-child { margin-bottom: 0; }
.card-summary ul, .card-summary ol { padding-left: 1.2rem; }
.card-arrow { align-self: flex-start; margin-top: 2rem; font-size: 1.1rem; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2rem; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 1.25rem; }
.gallery figcaption { display: flex; justify-content: space-between; padding: .75rem .25rem; color: var(--muted); font-size: .8rem; }

.page-intro { padding: clamp(6rem, 11vw, 10rem) 0 clamp(4rem, 7vw, 7rem); border-bottom: 1px solid var(--line); }
.page-intro h1 { max-width: 1160px; margin: 0; font-size: clamp(3.6rem, 7.2vw, 7.2rem); font-weight: 500; line-height: 1.05; letter-spacing: -.06em; }
.detail-layout { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr); gap: clamp(3rem, 8vw, 8rem); }
.detail-copy { min-width: 0; }
.project-list { min-width: 0; }
.project-list .section-head { grid-template-columns: 1fr; gap: .45rem; }
.project-list .section-head h2 { font-size: 2.5rem; }
.project-list .story-card { min-height: 300px; border-right: 0; }
.article-layout { max-width: 820px; }
.research-back { margin-bottom: 2rem; }
.research-back a { position: relative; display: inline-flex; gap: .55rem; align-items: center; padding-bottom: .12rem; font-weight: 650; text-decoration: none; }
.research-back a::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .24s ease; }
.research-back a:hover::after, .research-back a:focus-visible::after { transform: scaleX(1); }
.research-media { margin-bottom: 3rem; }
.research-media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.research-media-item { margin: 0; }
.research-media-item:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
.research-media-item img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 1rem; }
.research-media-item figcaption { padding: .65rem .15rem 0; color: var(--muted); font-size: .8rem; }
.research-video-link { display: inline-flex; align-items: center; margin-top: 1.25rem; font-weight: 650; }
.article-date { margin: 0 0 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 2.5rem; color: var(--muted); font-size: .82rem; }
.breadcrumb a { color: var(--ink); }
.prose { max-width: 780px; font-size: 1.05rem; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose h1, .prose h2, .prose h3 { line-height: 1.1; letter-spacing: -.04em; }
.prose h2 { margin-top: 3rem; font-size: 2.25rem; font-weight: 500; }
.prose h3 { margin-top: 2.25rem; font-size: 1.55rem; font-weight: 550; }
.prose img { width: 100%; margin: 1.5rem 0; border-radius: 1rem; }
.video-embed { width: 100%; max-width: var(--video-width, 960px); aspect-ratio: var(--video-ratio, 16 / 9); margin: 1.5rem 0; }
.video-embed iframe { display: block; width: 100%; height: 100%; border: 0; border-radius: 1rem; }
.empty { padding: 3rem 0; color: var(--muted); }

.professor-profile { display: grid; grid-template-columns: minmax(260px, .4fr) minmax(0, 1fr); gap: clamp(3rem, 8vw, 8rem); margin-top: 3rem; }
.professor-summary { min-width: 0; overflow: hidden; border-radius: 1.5rem; background: var(--wash); }
.professor-photo { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center top; }
.professor-identity { padding: 1.5rem; }
.professor-identity h3 { margin: 0; font-size: 1.8rem; font-weight: 500; letter-spacing: -.04em; }
.professor-position { margin: .4rem 0 1.5rem; color: var(--muted); }
.professor-contact { display: grid; gap: .8rem; margin: 0; }
.professor-contact div { display: grid; gap: .1rem; }
.professor-contact dt { color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.professor-contact dd { margin: 0; overflow-wrap: normal; }
.professor-biography { min-width: 0; }
.member-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; margin-top: 3rem; }
.member-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 1.25rem; background: var(--white); }
.member-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center top; }
.member-copy { padding: 1.35rem; }
.member-copy h3 { margin: 0; font-size: 1.35rem; font-weight: 550; letter-spacing: -.035em; }
.member-email { display: inline-block; margin-top: .35rem; color: var(--muted); overflow-wrap: normal; }
.member-program { margin: .7rem 0 1.2rem; font-weight: 600; }
.member-additional-title { display: block; margin-top: .2rem; }
.member-detail { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.member-detail strong, .publication-type { color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.member-detail p { margin: .3rem 0 0; white-space: pre-line; }
.alumni-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 2rem; margin: 3rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.alumni-section .section-head { padding-bottom: 0; border-bottom: 0; }
.alumni-list li { display: grid; gap: .2rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.alumni-list span { color: var(--muted); }

.publication-list { padding-top: 0; }
.publication-group { display: grid; grid-template-columns: minmax(220px, .38fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 7rem); padding: 3rem 0; border-top: 1px solid var(--line); }
.publication-title { display: grid; grid-template-columns: 36px 1fr auto; gap: .75rem; align-items: start; }
.publication-title span, .publication-title strong { color: var(--muted); font-size: .72rem; font-weight: 500; }
.publication-title h2 { margin: 0; font-size: 1.55rem; font-weight: 500; line-height: 1.1; letter-spacing: -.035em; }
.publication-group ol { margin: 0; padding-left: 1.4rem; }
.publication-group li { padding: 0 0 1.5rem .7rem; border-bottom: 1px solid var(--line); }
.publication-group li + li { padding-top: 1.5rem; }
.publication-entry h3 { margin: .25rem 0; font-size: 1.08rem; font-weight: 550; line-height: 1.35; }
.publication-entry p { margin: .25rem 0; }
.publication-authors { color: #343431; }
.publication-meta, .publication-date { color: var(--muted); font-size: .88rem; }

.popup { position: fixed; z-index: 100; top: 50%; left: 50%; width: min(600px, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); margin: 0; padding: 0; overflow: auto; border: 1px solid var(--line); border-radius: 1.25rem; background: #fff; box-shadow: 0 30px 100px #0003; transform: translate(-50%, -50%); }
.popup::backdrop { background: #ffffffbb; backdrop-filter: blur(8px); }
.popup-top { display: flex; align-items: center; justify-content: space-between; padding: .9rem 1.2rem; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.popup-top button { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; font-size: 1.35rem; }
.popup-inner { padding: 2rem; }
.popup-inner h2 { margin-top: 0; font-size: 2.4rem; font-weight: 500; line-height: 1; letter-spacing: -.05em; }

.site-footer { padding: clamp(1.65rem, 2.6vw, 2.15rem) 0 .9rem; color: #f5f5f1; background: #20201e; border-top: 1px solid #ffffff22; }
.footer-shell { width: min(calc(100% - 3rem), 1500px); margin-inline: auto; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem 1.625rem; }
.footer-column h2 { margin: 0 0 .5rem; color: #aeb0aa; font-size: .69rem; font-weight: 650; letter-spacing: .11em; text-transform: uppercase; }
.footer-column p, .footer-column a { display: block; margin: 0 0 .2rem; color: #f5f5f1; font-size: .89rem; line-height: 1.5; overflow-wrap: break-word; }
.footer-column a { text-decoration: none; }
.footer-column a:hover { color: #c8dacd; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1rem; padding-top: .75rem; border-top: 1px solid #ffffff22; color: #aeb0aa; font-size: .72rem; letter-spacing: .05em; }

@media (max-width: 900px) {
  :root { --shell: min(100% - 2rem, 760px); }
  .nav-links { display: none; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav summary { width: 44px; min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0; cursor: pointer; touch-action: manipulation; }
  .menu-icon, .menu-icon::before, .menu-icon::after { width: 20px; height: 1px; display: block; background: currentColor; }
  .menu-icon { position: relative; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
  .menu-icon::before { top: -6px; }
  .menu-icon::after { top: 6px; }
  .mobile-nav div { position: absolute; top: calc(100% + .35rem); right: 0; min-width: 210px; display: grid; padding: .75rem; border: 1px solid var(--line); border-radius: 1rem; background: #fff; box-shadow: 0 20px 60px #0002; }
  .mobile-nav a { padding: .65rem .75rem; border-radius: .6rem; text-decoration: none; }
  .mobile-nav a:hover { background: var(--wash); }
  .hero-bottom, .detail-layout { grid-template-columns: 1fr; }
  .hero-actions { justify-content: flex-start; }
  .section-head { grid-template-columns: 1fr auto; }
  .section-head .kicker { grid-column: 1 / -1; }
  .story-grid, .research-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-card:nth-child(3n) { border-right: 1px solid var(--line); }
  .story-card:nth-child(2n) { border-right: 0; }
  .member-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .professor-profile { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .professor-biography { grid-column: span 2; }
  .publication-group { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .brand { gap: .5rem; }
  .footer-shell { width: min(calc(100% - 2.25rem), 1500px); }
  .brand small { display: inline; white-space: nowrap; font-size: .86rem; }
  .nav { min-height: 64px; }
  .hero { padding-top: 5rem; }
  .hero h1 { font-size: clamp(2.65rem, 11vw, 4.1rem); line-height: 1.12; }
  .page-intro h1 { font-size: clamp(2.65rem, 11vw, 4.1rem); line-height: 1.12; }
  .hero-bottom { margin-top: 3rem; }
  .hero-actions { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); }
  .feature { min-height: 430px; border-radius: 1.25rem; }
  .feature-abstract { align-items: flex-end; flex-direction: column; padding: 1.5rem; }
  .quick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quick-grid a { min-width: 0; min-height: 130px; align-content: center; gap: .1rem .5rem; padding: .85rem; border-right: 1px solid var(--line); border-bottom: 0; color: var(--ink); text-align: left; }
  .quick-grid a:last-child { border-right: 0; }
  .quick-grid span:first-child { grid-column: 1 / -1; grid-row: 1; color: var(--ink); }
  .quick-grid strong { grid-column: 1; grid-row: 2; min-width: 0; justify-self: start; font-size: clamp(.82rem, 4vw, 1.55rem); overflow-wrap: break-word; word-break: normal; text-align: left; }
  .quick-grid span:last-child { grid-column: 1; grid-row: 3; justify-self: start; margin-top: .25rem; }
  .section-head { grid-template-columns: 1fr; gap: .75rem; }
  .story-grid, .research-grid { grid-template-columns: 1fr; }
  .story-card, .story-card:nth-child(2n), .story-card:nth-child(3n) { min-height: 350px; border-right: 0; }
  .gallery { grid-template-columns: 1fr; }
  .research-media-grid { grid-template-columns: 1fr; }
  .research-media-item:first-child:nth-last-child(odd) { grid-column: auto; }
  .member-grid, .professor-profile { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
  .professor-biography { grid-column: span 1; }
  .professor-identity, .member-copy { padding: .9rem; }
  .professor-identity h3, .member-copy h3 { font-size: 1.1rem; }
  .publication-title { grid-template-columns: 30px 1fr auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@keyframes clarity-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes clarity-soft-in {
  from { opacity: 0; transform: scale(.985); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes home-carousel-fade {
  from { opacity: 0; transform: scale(1.015); }
  to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero .kicker, .page-intro .kicker { animation: clarity-rise .5s ease-out both; }
  .hero h1, .page-intro h1 { animation: clarity-rise .7s .08s ease-out both; }
  .hero-bottom { animation: clarity-rise .65s .18s ease-out both; }
  .feature { animation: clarity-soft-in .8s .24s ease-out both; }
  .quick-grid a { animation: clarity-rise .55s .28s ease-out both; }
  .quick-grid a:nth-child(2) { animation-delay: .36s; }
  .quick-grid a:nth-child(3) { animation-delay: .44s; }
  .editorial-section .section-head, .content-section .section-head { animation: clarity-rise .55s ease-out both; }
}


/* Shared related-media feed and research viewer */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.25rem;
}
.related-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
  border-radius: 1rem;
  background: var(--surface, #fff);
  transition: transform .25s ease, box-shadow .25s ease;
}
.related-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(13, 13, 13, .08); }
.related-media {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  color: #fff;
  background: color-mix(in srgb, currentColor 6%, transparent);
  text-decoration: none;
}
.related-media::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgb(0 0 0 / 58%);
  opacity: 0;
  transition: opacity .25s ease;
}
.related-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}
.related-media-title { position: absolute; z-index: 2; right: 1.25rem; bottom: 1.25rem; left: 1.25rem; color: #fff; font-size: clamp(1rem, 2vw, 1.35rem); font-weight: 700; line-height: 1.25; opacity: 0; transform: translateY(.5rem); transition: opacity .25s ease, transform .25s ease; }
.related-media:hover img, .related-media:focus-visible img { transform: scale(1.035); }
.related-media:hover::after, .related-media:focus-visible::after { opacity: 1; }
.related-media:hover .related-media-title, .related-media:focus-visible .related-media-title { opacity: 1; transform: none; }
.related-youtube { display: block; width: 100%; height: 100%; border: 0; background: #000; }
@media (hover: none) { .related-media::after, .related-media-title { opacity: 1; } .related-media-title { transform: none; } }
.research-project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1rem;
}
.research-project-card { min-width: 0; }
.research-project-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 1rem;
  background: #dceaf1;
}
.research-project-visual > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .28s ease;
}
.research-project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.25rem;
  color: #fff;
  text-align: center;
  background: rgb(5 21 31 / 76%);
  opacity: 0;
  transition: opacity .2s ease;
}
.research-project-overlay h3 {
  margin: 0;
  color: inherit;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
}
.research-project-visual:hover > img,
.research-project-visual:has(:focus-visible) > img { transform: scale(1.035); }
.research-project-visual:hover .research-project-overlay,
.research-project-visual:has(:focus-visible) .research-project-overlay { opacity: 1; }
.research-project-actions {
  display: flex;
  justify-content: center;
  gap: .65rem;
}
.research-project-actions a,
.research-project-actions button {
  min-width: 6.5rem;
  padding: .65rem 1rem;
  border: 1px solid #fff;
  border-radius: 999px;
  color: #fff;
  background: transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.research-project-actions a:hover,
.research-project-actions button:hover:not(:disabled) {
  color: #102c3c;
  background: #fff;
}
.research-project-actions button:disabled {
  cursor: not-allowed;
  opacity: .45;
}
.research-video-dialog {
  width: min(960px, calc(100vw - 2rem));
  padding: 0;
  border: 0;
  border-radius: 1rem;
  color: #17232b;
  background: #fff;
  box-shadow: 0 24px 80px rgb(0 0 0 / 32%);
}
.research-video-dialog::backdrop {
  background: rgb(0 0 0 / 72%);
  backdrop-filter: blur(4px);
}
.research-video-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
}
.research-video-bar h2 {
  margin: 0;
  color: inherit;
  font-size: 1.1rem;
}
.research-video-close {
  flex: 0 0 auto;
  padding: .55rem .9rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: inherit;
  background: transparent;
  cursor: pointer;
}
.research-video-dialog iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
}
@media (hover: none) {
  .research-project-overlay { justify-content: flex-end; opacity: 1; background: linear-gradient(transparent 20%, rgb(5 21 31 / 84%)); }
}
@media (max-width: 640px) {
  .related-grid, .research-project-grid { grid-template-columns: 1fr; }
  .research-project-actions { flex-wrap: wrap; }
}
