/* MLPA Lab — Apple-inspired light theme with subtle liquid glass */
:root {
  --bg: #f5f2ec;
  --bg-alt: #ebe6de;
  --glass-bg: rgba(255, 252, 248, 0.72);
  --glass-border: rgba(255, 255, 255, 0.85);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  --text: #1d1d1f;
  --text-muted: #6e6e73;
  --text-light: #86868b;
  --accent: #035193;
  --accent-hover: #024273;
  --accent-soft: rgba(3, 81, 147, 0.08);
  --border-light: rgba(0, 0, 0, 0.06);
  --radius: 20px;
  --radius-pill: 980px;
  --nav-h: 52px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif;
  --max-w: 1080px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.47059;
  font-size: 17px;
  letter-spacing: -0.022em;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

body::before {
  top: -15%;
  right: -5%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(3, 81, 147, 0.07) 0%, transparent 65%);
}

body::after {
  bottom: 10%;
  left: -10%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, rgba(200, 180, 150, 0.12) 0%, transparent 65%);
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  width: 92%;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ── Liquid glass utility ── */
.glass {
  background: rgba(255, 252, 248, 0.78);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

@supports ((-webkit-backdrop-filter: blur(12px)) or (backdrop-filter: blur(12px))) {
  .glass {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
  }
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(245, 242, 236, 0.8);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

@supports ((-webkit-backdrop-filter: blur(12px)) or (backdrop-filter: blur(12px))) {
  .nav {
    background: rgba(245, 242, 236, 0.65);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
  }
}

.nav.scrolled {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), 0 4px 24px rgba(0, 0, 0, 0.04);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 92%;
  max-width: var(--max-w);
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-logo img.logo-circle { border-radius: 50%; object-fit: cover; }
.nav-logo img.logo-square { border-radius: 6px; object-fit: contain; }
.logo-circle { border-radius: 50%; object-fit: cover; }
.logo-square { object-fit: contain; }

.nav-links { display: flex; align-items: center; gap: 0.35rem; }

.nav-item > a {
  display: block;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  transition: color 0.2s, background 0.2s;
}

.nav-item > a:hover { color: var(--text); background: rgba(0, 0, 0, 0.04); }

.nav-item--dropdown {
  position: relative;
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 148px;
  margin-top: 0.2rem;
  padding: 0.4rem;
  border-radius: 14px;
  background: rgba(255, 252, 248, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  z-index: 1200;
}

/* Invisible hover bridge so the cursor can reach menu items without closing */
.nav-dropdown::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -0.55rem;
  height: 0.55rem;
}

.nav-dropdown a {
  display: block;
  padding: 0.55rem 0.85rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-radius: 10px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.nav-dropdown a:hover,
.nav-dropdown a.active {
  color: var(--text);
  background: rgba(3, 81, 147, 0.08);
}

@media (hover: hover) and (pointer: fine) {
  .nav-item--dropdown:hover > .nav-dropdown,
  .nav-item--dropdown:focus-within > .nav-dropdown {
    display: block;
  }
}

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  font-weight: 500 !important;
  padding: 0.4rem 1rem !important;
}

.nav-cta:hover { background: var(--accent-hover) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text);
}

/* ── Buttons (Apple pill) ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 400;
  border-radius: var(--radius-pill);
  transition: all 0.25s var(--ease);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: scale(1.02);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  box-shadow: inset 0 0 0 1.5px var(--accent);
}

.btn-outline:hover { background: var(--accent-soft); }

.btn-ghost {
  background: transparent;
  color: var(--accent);
  padding: 0.4rem 0;
  font-size: 0.9rem;
}

.btn-ghost:hover { color: var(--accent-hover); }

/* ── Sections ── */
.section { padding: 6rem 0; }

.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.section-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 520px;
  font-weight: 400;
}

.section-head { margin-bottom: 3rem; }
.section-head--center { text-align: center; }
.section-head--center .section-desc { margin: 0 auto; }

/* ── Hero ── */
.hero {
  padding: calc(var(--nav-h) + 4rem) 0 5rem;
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: min(88vh, 860px);
  display: flex;
  align-items: center;
}

.hero > .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-ring-anchor {
  position: absolute;
  top: calc(var(--nav-h) + 4rem + 100px);
  left: 50%;
  width: 0;
  height: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-ring-parallax {
  position: absolute;
  left: 0;
  top: 0;
  will-change: transform;
}

.hero-ripple-field {
  position: absolute;
  left: 0;
  top: 0;
  width: min(120vw, 1400px);
  height: min(120vw, 1400px);
  transform: translate(-50%, -50%);
  opacity: 0.55;
  background:
    radial-gradient(circle, rgba(3, 81, 147, 0.12) 0 4.8%, transparent 5.2% 10.5%, rgba(3, 81, 147, 0.12) 10.8% 11.6%, transparent 11.9% 16.5%, rgba(74, 143, 201, 0.11) 16.8% 17.7%, transparent 18% 23%, rgba(3, 81, 147, 0.1) 23.3% 24.1%, transparent 24.4% 30%, rgba(74, 143, 201, 0.09) 30.3% 31%, transparent 31.3% 38%, rgba(3, 81, 147, 0.08) 38.3% 39%, transparent 39.3% 47%, rgba(74, 143, 201, 0.07) 47.3% 48%, transparent 48.3% 58%, rgba(3, 81, 147, 0.055) 58.3% 59%, transparent 59.3% 100%);
  animation: heroRingFloat 7.5s ease-in-out infinite;
  will-change: transform;
}

@keyframes heroRingFloat {
  0%, 100% {
    transform: translate(-50%, -50%) translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) translate3d(0, -16px, 0) scale(1.03);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-ripple-field,
  .hero-logo-float,
  .hero-inner {
    animation: none !important;
  }
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  animation: heroRise 0.9s var(--ease) both;
}

.hero-copy {
  will-change: transform;
}

.hero-logo-stack {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  will-change: transform;
}

.hero-logo-float {
  position: relative;
  z-index: 3;
  width: 136px;
  height: 136px;
  padding: 0.55rem;
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06), 0 0 0 8px rgba(255, 255, 255, 0.3);
  animation: heroLogoPulse 4.5s var(--ease) infinite;
}

.hero-logo-float img { width: 100%; height: 100%; border-radius: 50%; }

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 1rem;
  color: var(--text);
}

.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent) 0%, #4a8fc9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--accent);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-title em {
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

.hero-lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 auto 2rem;
  max-width: 540px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-metrics {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: 480px;
  margin: 0 auto;
  will-change: transform;
}

.metric-glass {
  flex: 1;
  min-width: 140px;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
}

.metric-glass strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1.1;
}

.metric-glass span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

@keyframes heroRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroLogoPulse {
  0%, 100% { box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06), 0 0 0 8px rgba(255, 255, 255, 0.3); }
  50% { box-shadow: 0 14px 32px rgba(3, 81, 147, 0.1), 0 0 0 12px rgba(3, 81, 147, 0.08); }
}

.section-head--left { text-align: left; }
.section-head--left .section-desc { margin-left: 0; }

/* ── Research study rail (Apple-style cards) ── */
.section-research {
  background: transparent;
  padding-bottom: 1rem;
  overflow: hidden;
}

.study-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.study-head-row .section-head { margin-bottom: 0; max-width: 34rem; }

.study-nav {
  display: flex;
  gap: 0.65rem;
  flex-shrink: 0;
  padding-bottom: 0.15rem;
}

.study-nav__btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), opacity 0.25s var(--ease);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.study-nav__btn svg {
  width: 18px;
  height: 18px;
}

.study-nav__btn:hover:not(:disabled) {
  background: #fff;
  transform: scale(1.04);
}

.study-nav__btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.study-rail {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  outline: none;
  padding-bottom: 0.5rem;
  width: 100%;
}

.study-rail::-webkit-scrollbar { display: none; }

.study-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
  width: 100%;
  margin: 0;
  padding: 0;
}

.study-card {
  position: relative;
  width: 100%;
  min-width: 0;
  height: min(460px, 70vh);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

.study-card__copy {
  position: relative;
  z-index: 2;
  padding: 1.45rem 1.35rem 0.85rem;
}

.study-card__eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.55rem;
}

.study-card__title {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 0.65rem;
}

.study-card__body {
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.study-card__media {
  position: relative;
  flex: 1;
  min-height: 0;
  margin-top: auto;
}

.study-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.study-card--bleed .study-card__copy--on-media {
  position: absolute;
  inset: 0 0 auto 0;
  padding: 1.45rem 1.35rem 4rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.72) 55%, transparent 100%);
  z-index: 2;
}

.study-card--bleed .study-card__media {
  position: absolute;
  inset: 0;
  flex: none;
}

.study-card--bleed .study-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 18, 30, 0.06) 0%, transparent 38%, rgba(8, 18, 30, 0.14) 100%);
  pointer-events: none;
}

@media (max-width: 1000px) {
  .study-track {
    display: flex;
    width: max-content;
    max-width: none;
  }

  .study-card {
    flex: 0 0 min(280px, 78vw);
    width: min(280px, 78vw);
    height: min(460px, 68vh);
  }

  .study-nav {
    display: flex;
  }
}

@media (max-width: 768px) {
  .study-head-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 1001px) {
  .study-nav {
    display: none;
  }
}

/* ── Highlights panels ── */
.section-highlights { padding-top: 2rem; }

.highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.panel {
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.35s var(--ease);
}

.panel:hover { transform: translateY(-2px); }

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.panel-head h2 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.news-row {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.news-row:last-child { border-bottom: none; }

.news-row time {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
}

.news-row h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0.3rem 0 0.15rem;
  letter-spacing: -0.01em;
}

.news-row p { font-size: 0.85rem; color: var(--text-muted); }

.pub-row {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pub-row:last-child { border-bottom: none; }

.pub-row .year {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  min-width: 2.5rem;
}

.pub-row h3 {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin-bottom: 0.15rem;
}

.pub-row .venue { font-size: 0.8rem; color: var(--text-light); }

/* ── Partners ── */
.section-partners { padding: 4rem 0 5rem; }

.partners-intro {
  max-width: 680px;
  margin: 0 auto;
}

.partner-map {
  position: relative;
  margin-top: 2.5rem;
  border-radius: var(--radius);
  padding: 1.5rem clamp(1rem, 4vw, 3rem);
  background: transparent;
  border: none;
  box-shadow: none;
  aspect-ratio: 2 / 1;
}

.partner-map__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.partner-map__markers {
  position: absolute;
  inset: 1.5rem clamp(1rem, 4vw, 3rem);
}

.partner-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
  transform: translate(-50%, -50%);
}

.partner-pin__dot {
  display: block;
  width: 18px;
  height: 18px;
  margin: 0 auto;
  background: #e53935;
  border: 2.5px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(229, 57, 53, 0.45);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.partner-pin__card {
  position: absolute;
  left: 50%;
  min-width: 150px;
  max-width: min(210px, 38vw);
  padding: 0.6rem 0.7rem;
  border-radius: 12px;
  text-align: center;
  transform: translateX(-50%) scale(1);
  transform-origin: center bottom;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
  z-index: 3;
  cursor: default;
}

.partner-pin--card-above .partner-pin__card {
  bottom: calc(100% + 10px);
  transform-origin: center bottom;
}

.partner-pin--card-below .partner-pin__card {
  top: calc(100% + 10px);
  transform-origin: center top;
}

.partner-pin--card-left .partner-pin__card {
  left: auto;
  right: calc(100% + 14px);
  top: 50%;
  bottom: auto;
  transform: translateY(-50%) scale(1);
  transform-origin: right center;
}

.partner-pin:hover,
.partner-pin:focus-within {
  z-index: 10;
}

.partner-pin:hover .partner-pin__dot,
.partner-pin:focus-within .partner-pin__dot {
  transform: scale(1.25);
  box-shadow: 0 4px 14px rgba(229, 57, 53, 0.55);
}

.partner-pin--card-above:hover .partner-pin__card,
.partner-pin--card-above:focus-within .partner-pin__card,
.partner-pin--card-below:hover .partner-pin__card,
.partner-pin--card-below:focus-within .partner-pin__card {
  transform: translateX(-50%) scale(1.32);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.14);
}

.partner-pin--card-left:hover .partner-pin__card,
.partner-pin--card-left:focus-within .partner-pin__card {
  transform: translateY(-50%) scale(1.32);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.14);
}

.partner-pin__logo-wrap {
  background: #fff;
  border-radius: 8px;
  padding: 0.45rem 0.55rem;
  margin-bottom: 0.45rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.partner-pin__logo-wrap img {
  width: auto;
  max-width: 100%;
  max-height: 34px;
  margin: 0 auto;
  object-fit: contain;
  transition: max-height 0.28s var(--ease);
}

.partner-pin:hover .partner-pin__logo-wrap img,
.partner-pin:focus-within .partner-pin__logo-wrap img {
  max-height: 58px;
}

.partner-pin__name {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.partner-map-hint {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-light);
}

@media (max-width: 768px) {
  .partner-pin__card {
    min-width: 130px;
    max-width: min(180px, 48vw);
    padding: 0.5rem 0.6rem;
  }

  .partner-pin__logo-wrap img {
    max-height: 28px;
  }

  .partner-pin:hover .partner-pin__logo-wrap img,
  .partner-pin:focus-within .partner-pin__logo-wrap img {
    max-height: 46px;
  }

  .partner-pin__name {
    font-size: 0.62rem;
  }

  .partner-pin__dot {
    width: 16px;
    height: 16px;
  }
}

/* ── About strip ── */
.section-about-strip { padding-bottom: 6rem; }

.about-glass {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem 3rem;
  border-radius: var(--radius);
}

.about-strip-logo { width: 180px; }

.about-glass h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.about-glass p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
  font-size: 1rem;
}

.link-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.link-chip {
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  background: rgba(3, 81, 147, 0.08);
  border-radius: var(--radius-pill);
  transition: background 0.2s;
}

.link-chip:hover { background: rgba(3, 81, 147, 0.14); }

.about-glass .btn-outline { margin-top: 1rem; }

/* ── Footer ── */
.footer {
  padding: 3rem 0 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(235, 230, 222, 0.5);
}

@supports (backdrop-filter: blur(12px)) {
  .footer {
    background: rgba(235, 230, 222, 0.6);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.footer-brand h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}

.footer-brand p { font-size: 0.85rem; color: var(--text-muted); }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.35rem; }

.footer-col a, .footer-col p {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.75rem;
  color: var(--text-light);
}

.footer-affiliations a { color: var(--accent); }
.footer-dot { opacity: 0.35; margin: 0 0.35rem; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .highlights-grid { grid-template-columns: 1fr; }
  .about-glass { grid-template-columns: 1fr; text-align: center; }
  .about-strip-logo { margin: 0 auto; }
  .link-row { justify-content: center; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    padding: 1rem 1.25rem 1.5rem;
    background: rgba(255, 252, 248, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  @supports (backdrop-filter: blur(12px)) {
    .nav-links {
      -webkit-backdrop-filter: blur(20px);
      backdrop-filter: blur(20px);
    }
  }

  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-item--dropdown {
    width: 100%;
  }
  .nav-item--dropdown > .nav-dropdown {
    display: block;
    position: static;
    transform: none;
    min-width: 0;
    margin: 0.15rem 0 0.35rem 0.75rem;
    padding: 0.25rem;
    box-shadow: none;
    border: none;
    background: transparent;
  }
  .nav-dropdown a {
    padding: 0.45rem 0.75rem;
  }
  .hero-title { font-size: 2.2rem; }
  .hero-metrics { flex-direction: column; align-items: stretch; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@supports (font-size: clamp(1rem, 2vw, 2rem)) {
  .hero-title { font-size: clamp(2.2rem, 7vw, 3.5rem); }
  .section-title { font-size: clamp(2rem, 5vw, 2.5rem); }
}

@supports (width: min(100%, 1080px)) {
  .container, .nav-inner { width: min(var(--max-w), 92vw); }
}

/* ── Announcement popup ── */
html.announce-open,
html.announce-open body {
  overflow: hidden;
}

.announce-overlay {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(29, 29, 31, 0.42);
  opacity: 0;
  transition: opacity 0.18s var(--ease);
}

.announce-overlay.is-visible {
  opacity: 1;
}

.announce-overlay.is-leaving {
  opacity: 0;
}

.announce-dialog {
  width: min(440px, 100%);
  border-radius: var(--radius);
  padding: 1.75rem 1.6rem 1.4rem;
  transform: translateY(10px) scale(0.98);
  transition: transform 0.2s var(--ease);
}

/* Image popups are poster-led: the dialog widens and drops its own padding so the
   artwork can run edge to edge, and the text blocks carry the inset instead. */
.announce-dialog--media {
  width: min(600px, 100%);
  padding: 0 0 1.25rem;
  overflow: hidden;
}

.announce-dialog--media .announce-text,
.announce-dialog--media .announce-nav,
.announce-dialog--media .announce-actions {
  padding-left: 1.4rem;
  padding-right: 1.4rem;
}

/* A slide with no artwork still needs breathing room at the top of the dialog. */
.announce-dialog--media .announce-slide:not(.has-image) .announce-text {
  padding-top: 1.6rem;
}

.announce-overlay.is-visible .announce-dialog {
  transform: none;
}

.announce-viewport {
  overflow: hidden;
}

.announce-track {
  display: flex;
  align-items: stretch;
  transition: transform 0.3s var(--ease);
}

.announce-slide {
  flex: 0 0 100%;
  min-width: 0;
}

/* Slides sit side by side, so the tallest one sets the height and the dialog
   does not resize as the carousel advances. */
.announce-text > :last-child {
  margin-bottom: 0;
}

.announce-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.announce-arrow {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  padding: 0;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s var(--ease), border-color 0.15s var(--ease);
}

.announce-arrow:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.announce-dots {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.announce-dot {
  appearance: none;
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--border-light);
  cursor: pointer;
  transition: background 0.15s var(--ease), transform 0.15s var(--ease);
}

.announce-dot:hover {
  background: var(--text-muted);
}

.announce-dot.is-active {
  background: var(--accent);
  transform: scale(1.35);
}

.announce-count {
  margin-right: auto;
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
}

.announce-figure {
  margin-bottom: 1.1rem;
  background: rgba(0, 0, 0, 0.04);
  line-height: 0;
}

/* width:100% with height:auto lets a landscape poster fill the dialog edge to edge
   with no letterboxing, while max-height caps tall artwork so the title and
   message stay on screen. */
.announce-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(56vh, 460px);
  object-fit: contain;
}

.announce-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.55rem;
}

.announce-dialog h2 {
  font-size: 1.35rem;
  line-height: 1.3;
  letter-spacing: -0.03em;
  margin-bottom: 0.65rem;
}

.announce-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
  white-space: pre-wrap;
}

.announce-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
}

.announce-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.announce-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  justify-content: flex-end;
  margin-top: 1.1rem;
}

.announce-btn {
  appearance: none;
  border-radius: var(--radius-pill);
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.2;
  border: 1px solid transparent;
}

.announce-btn--ghost {
  background: transparent;
  border-color: var(--border-light);
  color: var(--text-muted);
}

.announce-btn--ghost:hover {
  border-color: rgba(0, 0, 0, 0.16);
  color: var(--text);
}

.announce-btn--solid {
  background: var(--accent);
  color: #fff;
}

.announce-btn--solid:hover {
  background: var(--accent-hover);
}

