/* Inner-page layout. Shared branding, background, waves and footer live in styles.css. */
.inner-page { font-size: 18px; line-height: 1.6; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.compact-header { position: relative; isolation: isolate; z-index: 20; padding-bottom: 46px; color: white; background: linear-gradient(115deg, #14283d, #1c3b59 65%, #14283d); }
.compact-header .container, .page-shell { --page-gutter: clamp(32px, 6vw, 128px); width: calc(100% - 2 * var(--page-gutter)); max-width: none; margin-inline: auto; }
.compact-header .site-header { gap: 20px; }
.compact-header .site-header::before { content: none; }
.compact-header .hero-wave { height: 65px; }
.nav-toggle { display: none; }
.menu-toggle { cursor: pointer; }
.menu-toggle .visually-hidden { width: 1px; height: 1px; }
.nav-current { color: #99caff; }
.header-search { position: relative; }
.header-search summary { list-style: none; cursor: pointer; }
.header-search summary::-webkit-details-marker { display: none; }
.header-search-panel { position: absolute; top: calc(100% + 14px); right: 0; padding: 20px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 12px 32px #00152d33; width: min(340px, calc(100vw - 40px)); }
.header-search-panel label { display: block; margin-bottom: 10px; font-size: 16px; }
.header-search-panel input { width: 100%; min-width: 0; border: 1px solid #b7cbe3; border-radius: 10px; padding: 12px; font-size: 16px; }
.header-search-panel small { display: block; color: #607796; font-size: 12px; margin-top: 8px; }
.page-shell { padding-block: 18px 36px; }
.breadcrumbs { margin-bottom: 34px; color: #506989; font-size: 14px; }
.breadcrumbs ol { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { display: flex; align-items: center; gap: 14px; }
.breadcrumbs li + li::before { content: ""; width: 6px; height: 6px; border-top: 1.5px solid #87a4ca; border-right: 1.5px solid #87a4ca; transform: rotate(45deg); flex-shrink: 0; }
.breadcrumbs a { display: inline-flex; align-items: center; gap: 10px; text-underline-offset: 4px; }
.breadcrumbs a:hover { color: #0064e7; text-decoration: underline; }
.breadcrumbs svg { width: 18px; height: 18px; }
.breadcrumbs [aria-current] { color: var(--ink); }
.content-layout { display: grid; grid-template-columns: clamp(235px, 20vw, 290px) minmax(0, 1fr); gap: clamp(28px, 3.5vw, 64px); align-items: start; }
.page-sidebar { min-width: 0; }
.section-navigation { padding: 12px; background: #edf4ffed; border: 1px solid #e3edfa; border-radius: 22px; }
.section-navigation > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 18px; cursor: pointer; list-style: none; }
.section-navigation > summary::-webkit-details-marker { display: none; }
.section-navigation:not([open]) > summary { padding-bottom: 8px; }
.section-navigation:not([open]) > summary > svg { transform: rotate(180deg); }
.sidebar-heading { display: inline-flex; gap: 12px; align-items: center; font: 700 20px/1.3 "Manrope", sans-serif; }
.sidebar-heading svg { width: 28px; height: 28px; color: var(--blue); }
.section-navigation ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.section-navigation a { display: block; padding: 12px 15px; border-radius: 12px; font-size: 16px; line-height: 1.4; }
.section-navigation a:hover { background: #dceaff; }
.section-navigation a[aria-current] { background: linear-gradient(110deg, #1586ff, #0060ff); color: white; box-shadow: 0 4px 12px #0875ff1f; }
.section-branch > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 15px;
  border-radius: 12px;
  font-size: 16px;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
.section-branch > summary::-webkit-details-marker { display: none; }
.section-branch > summary:hover { background: #dceaff; }
.section-branch[open] > summary { font-weight: 600; }
.section-branch > summary svg { width: 16px; height: 16px; flex-shrink: 0; stroke-width: 2; }
.section-branch:not([open]) > summary svg { transform: rotate(-90deg); }
.section-navigation .section-submenu {
  grid-template-columns: 1fr;
  gap: 3px;
  margin: 3px 4px 12px 24px;
  padding-left: 10px;
  border-left: 1px solid #bdd1ed;
}
.section-submenu li { position: relative; }
.section-navigation .section-submenu a {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.45;
}
.section-navigation .section-submenu a[aria-current] {
  color: #075ecb;
  background: #dfedff;
  font-weight: 600;
  box-shadow: none;
}
.section-submenu a[aria-current]::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 3px;
  background: #0875ff;
}
.sidebar-event { position: relative; display: block; margin-top: 22px; padding: 22px; border-radius: 22px; background: linear-gradient(145deg, #e2eeff, #f5f9ff); border: 1px solid #e0ebfa; }
.sidebar-event > svg { float: left; width: 32px; height: 32px; margin-right: 12px; color: var(--blue); }
.sidebar-event h2 { font-size: 18px; line-height: 1.25; margin: 0 0 16px; letter-spacing: -.03em; }
.sidebar-event p { font-size: 15px; line-height: 1.5; color: #4e6788; margin: 0 0 20px; }
.sidebar-event-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #0064e7; font-size: 14px; }
.article { min-width: 0; }
.article:focus { outline: none; }
.article [id] { scroll-margin-top: 24px; }
.article-header { display: flex; align-items: center; gap: 18px; margin-bottom: 32px; }
.page-title-icon { display: grid; place-items: center; width: 58px; height: 58px; flex-shrink: 0; border-radius: 16px; background: #e2edff; color: var(--blue); }
.page-title-icon svg { width: 34px; height: 34px; stroke-width: 1.8; }
.article-eyebrow { color: #526f97; letter-spacing: .14em; font-size: 11px; margin: 0 0 5px; }
.article h1 { font-size: clamp(32px, 3.2vw, 48px); font-weight: 750; line-height: 1.12; letter-spacing: -.045em; margin: 0; }
.article-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: start; }
.prose { max-width: 70ch; }
.prose p { margin: 0 0 18px; }
.prose p:last-child { margin-bottom: 0; }
.prose .lead { padding-left: 20px; border-left: 3px solid var(--blue); font-size: 22px; line-height: 1.45; font-weight: 500; color: #1c3b5e; }
.article-figure { margin: 0; }
.article-figure img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 60% center; border-radius: 20px; }
.article-figure figcaption { margin-top: 10px; color: #566e8e; font-size: 13px; line-height: 1.45; }
.article-section { margin-top: 46px; }
.article-section > h2, .student-science h2 { font-size: clamp(25px, 2.1vw, 32px); font-weight: 750; line-height: 1.2; letter-spacing: -.035em; margin: 0 0 20px; }
.section-description { max-width: 65ch; margin: -6px 0 22px; color: #48617e; }
.table-scroll { overflow-x: auto; border: 1px solid #ccddf4; border-radius: 18px; background: #f8fbfff0; }
.research-table { width: 100%; border-collapse: collapse; font-size: 17px; line-height: 1.5; text-align: left; }
.research-table th, .research-table td { padding: 20px 22px; vertical-align: top; }
.research-table thead { background: #dfebff; }
.research-table thead th { font-weight: 650; font-size: 15px; color: #294464; }
.research-table tbody tr + tr { border-top: 1px solid #d8e5f5; }
.research-table tbody th { width: 36%; font-weight: 600; min-width: 200px; }
.research-table td { color: #3d5371; min-width: 260px; }
.table-icon { display: grid; place-items: center; float: left; width: 34px; height: 34px; margin-right: 12px; margin-bottom: 5px; color: #0069f7; background: #e5efff; border-radius: 9px; font: 600 18px/1 "Manrope", sans-serif; }
.project-columns { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; }
.prose ul { margin: 18px 0 0; padding-left: 23px; }
.prose li { padding-left: 4px; margin-bottom: 10px; }
.prose li::marker { color: #147bfa; }
.article-note { border-left: 3px solid #8bbafa; border-radius: 0 16px 16px 0; background: #e9f2ffe6; padding: 24px; }
.note-label { font-size: 11px; letter-spacing: .12em; color: #4a6c99; }
.article-note h3 { font-size: 21px; line-height: 1.3; margin: 10px 0 14px; letter-spacing: -.025em; }
.article-note p { font-size: 16px; line-height: 1.6; margin: 0 0 20px; color: #45617f; }
.article-note a { display: inline-flex; align-items: center; gap: 14px; color: #0061dd; font-size: 16px; }
.stats-strip--article { grid-template-columns: 1fr; padding: 24px 8px; border-radius: 18px; margin-top: 0; }
.stats-strip--article .stats-item { padding-inline: 20px; }
.stats-strip--article .stats-item dd { color: #173c6a; font-size: clamp(30px, 2.5vw, 40px); }
.stats-strip--article .stats-item dt { font-size: 14px; }
.data-disclaimer, .page-demo-note { color: #5a7292; font-size: 12px; line-height: 1.5; }
.data-disclaimer { margin: 10px 0 22px; }
.publication-list { border: 1px solid #d5e3f7; border-radius: 14px; background: #ffffffa6; }
.publication-list summary { padding: 17px 20px; cursor: pointer; color: #0864d8; font-size: 16px; font-weight: 500; }
.publication-list ol { margin: 0; padding: 4px 28px 20px 42px; font-size: 16px; }
.publication-list li { padding-left: 4px; margin-block: 10px; }
.event-row { display: flex; align-items: start; gap: 24px; padding: 24px; border-block: 1px solid #ccdcf1; background: #ffffff8c; }
.event-label { padding: 5px 10px; background: #dceaff; color: #356092; border-radius: 8px; font-size: 11px; letter-spacing: .08em; flex-shrink: 0; }
.event-row h3 { font-size: 20px; line-height: 1.35; margin: 0 0 10px; }
.event-row p { font-size: 16px; line-height: 1.6; margin: 0; color: #4e6788; }
.student-science { display: grid; grid-template-columns: 1fr 180px; gap: 22px; align-items: center; padding: 28px; background: #eaf3ffc9; border-radius: 20px; }
.student-science img { width: 100%; height: auto; }
.page-demo-note { margin-top: 32px; }
@media (min-width: 1201px) and (max-width: 1450px) { .compact-header .account span { display: none; } }
@media (max-width: 1200px) {
  .nav-toggle { display: block; position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .nav-toggle:focus-visible + .menu-toggle { outline: 3px solid #62c8ff; outline-offset: 5px; }
  .nav-toggle:checked ~ .navigation { display: flex; flex-direction: column; }
  .article-intro { grid-template-columns: 1fr; }
  .article-figure { max-width: 640px; }
  .article-figure img { aspect-ratio: 16 / 9; }
  .project-columns { grid-template-columns: 1fr; }
  .research-table th, .research-table td { padding: 18px; }
  .stats-strip--article .stats-values { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 0; }
  .stats-strip--article .stats-item:nth-child(odd) { border-left: 0; }
  .stats-strip--article .stats-item:nth-child(even) { border-left: 1px solid #b6cceb; }
}
@media (max-width: 900px) {
  .content-layout { grid-template-columns: 1fr; gap: 30px; }
  .section-navigation nav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sidebar-event { display: none; }
  .article-intro { grid-template-columns: 1fr 1fr; gap: 24px; }
  .article .prose .lead { font-size: 21px; }
}
@media (max-width: 700px) {
  .inner-page { font-size: 17px; }
  .compact-header .container, .page-shell { --page-gutter: 20px; }
  .compact-header { padding-bottom: 32px; }
  .compact-header .hero-wave { height: 48px; }
  .page-shell { padding-top: 10px; }
  .breadcrumbs { font-size: 12px; margin-bottom: 24px; }
  .breadcrumbs li, .breadcrumbs ol { gap: 10px; }
  .article-header { gap: 13px; margin-bottom: 26px; }
  .page-title-icon { width: 46px; height: 46px; border-radius: 13px; }
  .page-title-icon svg { width: 28px; height: 28px; }
  .article h1 { font-size: clamp(28px, 7vw, 38px); }
  .article-eyebrow { font-size: 10px; }
  .article-intro { grid-template-columns: 1fr; }
  .article-section { margin-top: 34px; }
  .article-section > h2, .student-science h2 { font-size: 25px; }
  .section-navigation a { font-size: 15px; padding: 11px; }
  .research-table { font-size: 16px; }
  .research-table tbody th { min-width: 185px; }
  .research-table td { min-width: 245px; }
  .table-icon { float: none; margin-bottom: 10px; }
  .event-row { flex-direction: column; padding: 20px; gap: 14px; }
  .student-science { grid-template-columns: 1fr; padding: 22px; }
  .student-science img { width: 160px; justify-self: end; margin-top: -15px; }
  .header-search-panel { right: -6px; }
}
@media (max-width: 380px) {
  .compact-header .site-header { gap: 8px; }
  .compact-header .round-button { width: 34px; height: 34px; }
  .compact-header .brand-mark { width: 48px; }
  .section-navigation nav ul { grid-template-columns: 1fr; }
  .stats-strip--article .stats-item { padding-inline: 14px; }
}
