/* ────────────────────────  TOKENS  ──────────────────────── */
:root{
  --bg:        #FFFFFF;
  --bg-warm:   #F4F6FB;
  --bg-deep:   #011F5B;          /* UPenn Blue */
  --ink:       #011F5B;          /* UPenn Blue as primary ink */
  --ink-soft:  #3A4D7A;
  --ink-mute:  #7C8AA8;
  --line:      rgba(1,31,91,0.16);
  --line-soft: rgba(1,31,91,0.08);
  --accent:    #990000;          /* Penn Red */
  --accent-2:  #011F5B;          /* Penn Blue */
  --accent-3:  #C8102E;          /* Brighter red for hover */

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans:  "Space Grotesk", system-ui, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, monospace;

  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 18px;

  --pad-x: clamp(20px, 4vw, 64px);
  --maxw:  1440px;
}

*{ box-sizing: border-box; }
html, body{ margin:0; padding:0; }
html{ scroll-behavior: smooth; }
body{
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }

/* selection */
::selection{ background: var(--accent); color: var(--bg); }

/* serif treatment */
em{ font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0.005em; }

/* utility */
.mono{ font-family: var(--mono); font-size: 0.78em; letter-spacing: 0.02em; text-transform: uppercase; }
.dim{ color: var(--ink-mute); }

/* ────────────────────────  NAV  ──────────────────────── */
.nav{
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 18px var(--pad-x);
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, padding .3s ease, background .3s ease;
}
.nav.scrolled{ border-bottom-color: var(--line-soft); padding: 12px var(--pad-x); }
.brand{ display:flex; align-items:center; gap: 10px; font-family: var(--serif); font-size: 22px; line-height: 1; }
.brand-mark{ color: var(--accent); display:inline-flex; transition: transform .8s ease; }
.brand:hover .brand-mark{ transform: rotate(180deg); }
.brand-word{ font-family: var(--serif); font-weight: 400; font-size: 22px; letter-spacing: -0.01em; line-height: 1; }
.brand-word em{ font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 22px; margin-right: 2px; }
.brand-word sup{ font-family: var(--sans); font-size: 11px; color: var(--accent); margin-left: 2px; vertical-align: super; }

.nav-links{
  display: flex;
  gap: 4px;
  justify-self: end;
  font-size: 13px;
  font-weight: 500;
  max-width: 100%;
  white-space: nowrap;
  padding: 4px;
  background: var(--bg-warm);
  border-radius: 999px;
  border: 1px solid var(--line-soft);
}
.nav-links a,
.nav-more-btn{
  display: inline-flex; align-items: baseline; gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  position: relative;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
  flex-shrink: 0;
  white-space: nowrap;
}
.nav-links a span,
.nav-more-btn span{
  font-family: var(--mono); font-size: 10px; color: var(--ink-mute);
  letter-spacing: 0.04em;
  transition: color .25s ease;
}
.nav-links a:hover,
.nav-more-btn:hover{ background: var(--bg); color: var(--ink); }
.nav-links a:hover span,
.nav-more-btn:hover span{ color: var(--accent); }
.nav-links a.active{ background: var(--accent); color: var(--bg); }
.nav-links a.active span{ color: color-mix(in oklab, var(--bg) 70%, transparent); }

/* nav More dropdown */
.nav-more{ position: relative; flex-shrink: 0; }
.nav-more-btn svg{ align-self: center; transition: transform .25s ease; opacity: .55; }
.nav-more.open .nav-more-btn,
.nav-more.has-active .nav-more-btn{ background: var(--accent); color: var(--bg); }
.nav-more.has-active .nav-more-btn span{ color: color-mix(in oklab, var(--bg) 70%, transparent); }
.nav-more.open .nav-more-btn span{ color: color-mix(in oklab, var(--bg) 70%, transparent); }
.nav-more.open .nav-more-btn svg{ transform: rotate(180deg); opacity: 1; }
.nav-more-menu{
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 20px 40px rgba(1,31,91,0.12), 0 4px 12px rgba(1,31,91,0.06);
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.nav-more.open .nav-more-menu{ opacity: 1; transform: translateY(0); pointer-events: auto; }
.nav-more-menu a{
  display: flex; align-items: baseline; gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px; font-weight: 500;
  color: var(--ink);
  transition: background .2s ease, color .2s ease;
  white-space: nowrap;
}
.nav-more-menu a span{
  font-family: var(--mono); font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.nav-more-menu a:hover{ background: var(--accent); color: var(--bg); }
.nav-more-menu a:hover span{ color: var(--accent); }

.nav-cta{
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 500;
  padding: 9px 16px 9px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink); color: var(--bg);
  transition: background .25s ease, color .25s ease;
}
.nav-cta .dot{ width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 currentColor; animation: pulse 2.4s infinite; }
.nav-cta:hover{ background: var(--accent); border-color: var(--accent); }

@keyframes pulse{
  0%,100%{ opacity: 1; transform: scale(1); }
  50%{ opacity: 0.55; transform: scale(0.85); }
}

/* ────────────────────────  HERO  ──────────────────────── */
.hero{
  position: relative;
  min-height: calc(100vh - 56px);
  padding: 130px var(--pad-x) 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: var(--bg);
}
#flow{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: 0.55;
}
.hero > *:not(canvas){ position: relative; z-index: 1; }

.hero-meta{
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.meta-row{ display: flex; align-items: center; gap: 10px; }
.tick{ width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.hero-stage{
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 8vh, 90px) 0;
}
.eyebrow{
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin: 0 0 32px;
}
.eyebrow span{ color: var(--accent); }

.display{
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 11vw, 188px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ink);
}
.display .line{ display: block; }
.display em{
  font-style: italic;
  color: var(--accent);
  position: relative;
}
.display .period{ color: var(--accent); }

.line-rotator{
  display: block;
  height: 1.05em;
  overflow: hidden;
  position: relative;
}
.line-rotator .rot{
  display: inline-block;
  font-style: italic;
  color: var(--accent);
  transition: transform .55s cubic-bezier(.7,.0,.2,1), opacity .35s ease;
}
.line-rotator .rot.out{ transform: translateY(-110%); opacity: 0; }
.line-rotator .rot.in{ transform: translateY(110%); opacity: 0; }

.hero-grid{
  margin-top: clamp(24px, 5vh, 56px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: end;
}
.lede{
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.5;
  max-width: 56ch;
  color: var(--ink-soft);
  margin: 0;
}
.hero-actions{
  display: flex; gap: 12px;
  justify-self: end;
}

/* buttons */
.btn{
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-size: 14px; font-weight: 500;
  border-radius: 999px;
  border: 1px solid var(--ink);
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer;
}
.btn-lg{ padding: 18px 28px; font-size: 15px; }
.btn-primary{ background: var(--accent); color: var(--bg); border-color: var(--accent); }
.btn-primary:hover{ background: var(--accent-3); border-color: var(--accent-3); }
.btn-ghost{ background: transparent; color: var(--ink); }
.btn-ghost:hover{ background: var(--ink); color: var(--bg); }
.btn:active{ transform: translateY(1px); }
.btn svg{ transition: transform .25s ease; }
.btn:hover svg{ transform: translateX(3px); }

/* hero foot */
.hero-foot{
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.counter{
  display: flex; align-items: baseline; gap: 12px;
}
.counter .num{
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.counter .label{
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.4;
}
.scroll-hint{
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-soft);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.scroll-hint svg{ animation: bob 2.2s ease-in-out infinite; }
@keyframes bob{ 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(4px);} }

/* ────────────────────────  TICKER  ──────────────────────── */
.ticker{
  position: relative;
  background: var(--ink);
  color: var(--bg);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  height: 56px;
  overflow: hidden;
}
.ticker-label{
  display: flex; align-items: center; gap: 10px;
  padding: 0 24px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  height: 100%;
}
.pulse{
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 0 0 0 var(--bg);
  animation: ringPulse 1.6s infinite;
}
@keyframes ringPulse{
  0%{ box-shadow: 0 0 0 0 rgba(255,255,255,.6); }
  100%{ box-shadow: 0 0 0 14px rgba(255,255,255,0); }
}
.ticker-track{
  display: flex;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
}
.ticker-row{
  display: flex; align-items: center; gap: 28px;
  padding: 0 24px;
  font-size: 14px;
  font-family: var(--sans);
  white-space: nowrap;
  flex-shrink: 0;
  animation: tickerScroll 60s linear infinite;
}
.ticker-row b{ color: var(--accent); font-weight: 500; }
.ticker-row .sep{ color: var(--ink-mute); font-size: 8px; }
@keyframes tickerScroll{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(-100%); }
}

/* ────────────────────────  SECTION HEADS  ──────────────────────── */
.section-head{
  padding: 120px var(--pad-x) 48px;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: end;
  gap: 24px;
  border-top: 1px solid var(--line);
}
.section-num{
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-head h2{
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0;
}
.section-head h2 em{ color: var(--accent); }
.section-note{
  font-size: 14px; color: var(--ink-soft);
  text-align: right; max-width: 28ch;
  margin: 0; justify-self: end;
}

/* ────────────────────────  RESEARCH HIGHLIGHTS  ──────────────────────── */
.research{ padding-bottom: 80px; }
.hl-stage{
  position: relative;
  margin: 0 var(--pad-x);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-warm);
  overflow: hidden;
  min-height: 560px;
}
.hl-numbers{
  position: absolute; top: 24px; left: 24px;
  z-index: 5;
  display: flex; align-items: baseline; gap: 6px;
  font-family: var(--mono); font-size: 12px;
  color: var(--ink-soft);
}
.hl-numbers .cur{ font-size: 22px; color: var(--ink); font-family: var(--serif); }
.hl-numbers .div{ color: var(--ink-mute); }

.hl-cards{
  position: relative;
  height: 560px;
}
.hl-card{
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s ease;
}
.hl-card.active{ opacity: 1; pointer-events: auto; }

.hl-text{
  padding: 80px clamp(28px, 4vw, 64px) 80px clamp(28px, 4vw, 64px);
  display: flex; flex-direction: column; justify-content: center;
  gap: 18px;
}
.hl-tag{
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--accent);
}
.hl-tag::before{
  content:""; width: 16px; height: 1px; background: var(--accent);
}
.hl-title{
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.0;
  letter-spacing: -0.015em;
  margin: 0;
}
.hl-title em{ color: var(--accent); }
.hl-sub{
  font-family: var(--serif); font-style: italic;
  font-size: clamp(20px, 1.6vw, 24px);
  color: var(--ink-soft);
  margin: -4px 0 0;
}
.hl-authors{
  font-size: 13px; color: var(--ink-soft);
  line-height: 1.55;
  max-width: 52ch;
}
.hl-authors b{ color: var(--ink); font-weight: 500; }
.hl-desc{
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink);
  max-width: 56ch;
  margin: 6px 0 0;
}
.hl-actions{ display: flex; gap: 10px; margin-top: 8px; }

.hl-visual{
  position: relative;
  background: var(--accent);
  color: var(--bg);
  overflow: hidden;
}
.hl-visual::before{
  content:""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 80%, color-mix(in oklab, var(--accent-2) 60%, transparent), transparent 50%),
    radial-gradient(circle at 80% 20%, color-mix(in oklab, #FFFFFF 18%, transparent), transparent 60%);
  opacity: .9;
}
.hl-visual canvas{ position: absolute; inset: 0; width: 100%; height: 100%; }
.hl-img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  z-index: 1;
  padding: 24px;
}
.hl-visual .hl-meta{ z-index: 2; }
.hl-visual:has(.hl-img){
  background: #ffffff;
}
.hl-visual:has(.hl-img)::before{
  background: none;
  z-index: 0;
}
.hl-visual:has(.hl-img) .hl-meta{
  color: var(--ink, #0e1530);
  opacity: 0.7;
}
.hl-meta{
  position: absolute; bottom: 24px; left: 28px; right: 28px;
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--bg);
  z-index: 2;
  opacity: .8;
}

.hl-controls{
  position: absolute;
  bottom: 24px; right: 24px;
  z-index: 6;
  display: flex; align-items: center; gap: 10px;
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.hl-btn{
  width: 38px; height: 38px; border-radius: 50%;
  border: none; background: transparent; color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.hl-btn:hover{ background: var(--ink); color: var(--bg); }
.hl-dots{ display: flex; gap: 6px; padding: 0 8px; }
.hl-dots .d{
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink-mute); opacity: .35;
  transition: opacity .25s ease, transform .25s ease;
  cursor: pointer; border:none; padding: 0;
}
.hl-dots .d.active{ opacity: 1; transform: scale(1.4); background: var(--accent); }

/* ────────────────────────  ABOUT  ──────────────────────── */
.about{
  padding: 120px var(--pad-x) 80px;
  border-top: 1px solid var(--line);
}
.about-head{
  display: grid;
  grid-template-columns: 1fr 4fr;
  gap: 24px;
  margin-bottom: 56px;
}
.about-title{
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.5vw, 80px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  margin: 0;
}
.about-title em{ color: var(--accent); }

.about-grid{
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
}
.about-lede{
  font-family: var(--serif);
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.4;
  color: var(--ink);
  margin: 0;
}
.about-lede b{ font-weight: 400; background: var(--accent); color: var(--bg); padding: 2px 8px; border-radius: var(--r-sm); font-family: var(--sans); font-size: 0.7em; vertical-align: middle; letter-spacing: 0.04em; }

.pillars{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.pillar{
  background: var(--bg);
  padding: 32px;
  display: flex; flex-direction: column;
  gap: 12px;
  position: relative;
  transition: background .25s ease;
  color: inherit;
  text-decoration: none;
}
.pillar:hover{ background: var(--bg-warm); }
.pillar-no{
  font-family: var(--serif); font-style: italic;
  font-size: 22px; color: var(--accent);
}
.pillar h3{
  font-family: var(--serif); font-weight: 400;
  font-size: 28px; letter-spacing: -0.01em;
  margin: 0;
}
.pillar p{
  font-size: 14.5px; line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}
.tags{
  list-style: none; padding: 0; margin: auto 0 0;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.tags li{
  font-family: var(--mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.04em;
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

/* affiliations */
.affiliations{
  margin-top: 80px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
}
.aff-label{
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.aff-marquee{
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.aff-track{
  display: flex; align-items: center; gap: 32px;
  white-space: nowrap;
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 44px);
  font-style: italic;
  color: var(--ink);
  animation: tickerScroll 38s linear infinite;
}
.aff-dot{
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  flex-shrink: 0;
}

/* ────────────────────────  PUB GRID  ──────────────────────── */
.pubs{ padding-bottom: 80px; }
.pub-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  margin: 0 var(--pad-x);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.pub{
  background: var(--bg);
  padding: 28px;
  display: flex; flex-direction: column;
  gap: 14px;
  min-height: 280px;
  position: relative;
  cursor: pointer;
  transition: background .3s ease;
}
.pub{ text-decoration: none; color: inherit; }
.pub:hover{ background: var(--ink); color: var(--bg); }
.pub:hover .pub-arrow{ transform: translate(4px, -4px); }
.pub:hover .pub-tag{ color: var(--accent); }
.pub-head{
  display: flex; justify-content: space-between; align-items: flex-start;
}
.pub-tag{
  font-family: var(--mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--accent);
}
.pub-arrow{
  font-family: var(--serif); font-size: 24px;
  transition: transform .25s ease;
}
.pub-thumb{
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--r-md);
  background: #ffffff;
  object-fit: contain;
  object-position: center;
  padding: 12px;
  transition: filter .3s ease;
}
.pub-title{
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0;
}
.pub-authors{
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-top: auto;
}
.pub:hover .pub-authors{ color: color-mix(in oklab, var(--bg) 70%, transparent); }

.pubs-foot{
  display: flex; justify-content: center;
  margin-top: 32px;
}

/* ────────────────────────  CTA  ──────────────────────── */
.cta{
  background: var(--accent);
  color: var(--bg);
  padding: 120px var(--pad-x);
  position: relative;
  overflow: hidden;
}
.cta::before{
  content:""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 80% 30%, color-mix(in oklab, #FFFFFF 18%, transparent), transparent 70%),
    radial-gradient(50% 70% at 10% 90%, color-mix(in oklab, var(--accent-2) 50%, transparent), transparent 70%);
  pointer-events: none;
}
.cta-inner{ position: relative; max-width: 1100px; }
.cta-title{
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 9vw, 156px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin: 0;
}
.cta-title em{ color: #FFD7D7; }
.cta-note{
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.5;
  max-width: 60ch;
  color: color-mix(in oklab, var(--bg) 70%, transparent);
  margin: 32px 0 40px;
}
.cta-actions{ display: flex; gap: 12px; flex-wrap: wrap; }
.cta .btn-primary{ background: var(--bg); color: var(--accent); border-color: var(--bg); }
.cta .btn-primary:hover{ background: var(--accent-2); color: var(--bg); border-color: var(--accent-2); }
.cta .btn-ghost{ color: var(--bg); border-color: color-mix(in oklab, var(--bg) 40%, transparent); }
.cta .btn-ghost:hover{ background: var(--bg); color: var(--ink); }

/* ────────────────────────  FOOTER  ──────────────────────── */
.foot{
  background: var(--bg-deep);
  color: var(--bg);
  padding: 60px var(--pad-x) 0;
  position: relative;
  overflow: hidden;
}
.foot-mega{
  font-family: var(--serif);
  font-size: clamp(120px, 22vw, 380px);
  line-height: 0.85;
  letter-spacing: 0;
  color: color-mix(in oklab, var(--accent) 35%, transparent);
  pointer-events: none;
  position: absolute;
  bottom: -3vw;
  left: var(--pad-x);
  right: var(--pad-x);
  font-style: italic;
}
.foot-grid{
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 200px;
}
.foot-h{
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 16px;
}
.foot-col p{
  font-size: 14px;
  line-height: 1.55;
  color: color-mix(in oklab, var(--bg) 75%, transparent);
  margin: 0 0 12px;
}
.foot-col a{ color: var(--bg); border-bottom: 1px solid color-mix(in oklab, var(--bg) 30%, transparent); }
.foot-col a:hover{ color: var(--accent); border-bottom-color: var(--accent); }
.foot-col ul{ list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.foot-col ul a{ border: none; }
.foot-social{ display: flex; gap: 14px; margin-top: 16px; font-family: var(--mono); font-size: 12px; }

/* ────────────────────────  REVEAL  ──────────────────────── */
[data-reveal]{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
}
[data-reveal].in{ opacity: 1; transform: translateY(0); }

/* ────────────────────────  RESPONSIVE  ──────────────────────── */
@media (max-width: 1180px){
  .nav-links a span{ display: none; }
}
@media (max-width: 980px){
  .nav{ grid-template-columns: 1fr; gap: 12px; }
  .nav-links{ justify-self: stretch; }
  .hero-grid{ grid-template-columns: 1fr; gap: 24px; }
  .hero-actions{ justify-self: start; }
  .section-head{ grid-template-columns: 1fr; }
  .section-note{ text-align: left; justify-self: start; }
  .hl-card{ grid-template-columns: 1fr; }
  .hl-cards{ height: auto; min-height: 720px; }
  .hl-visual{ min-height: 220px; order: -1; }
  .about-head{ grid-template-columns: 1fr; }
  .about-grid{ grid-template-columns: 1fr; gap: 32px; }
  .pillars{ grid-template-columns: 1fr; }
  .pub-grid{ grid-template-columns: 1fr; }
  .foot-grid{ grid-template-columns: 1fr 1fr; padding-bottom: 100px; }
  .affiliations{ grid-template-columns: 1fr; gap: 12px; }
}
