/* Hero variant styles — all rely on root CSS vars for theming */

/* Common: reset hero */
.hero {
  position: relative;
  overflow: hidden;
}
.hero .page { position: relative; z-index: 2; }

/* ====================================================================
   A · Editorial masthead
   ==================================================================== */
.hero-a { padding: 90px 0 72px; min-height: 92vh; display: flex; flex-direction: column; justify-content: center; }
.hero-a-eyebrow {
  display: flex; align-items: center; gap: 16px;
  font-size: 11px; color: var(--ink-mute);
  margin-bottom: 56px;
}
.hero-a-eyebrow .tick { color: var(--accent); }
.hero-a-eyebrow .sep { color: var(--rule); }

.hero-a-name {
  font-family: 'Newsreader', serif;
  font-weight: 350;
  font-size: clamp(48px, 8.5vw, 128px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  color: var(--ink);
  max-width: 18ch;
}
.hero-a-name em { font-style: italic; font-weight: 300; color: var(--ink-soft); }

.hero-a-sub {
  margin-top: 32px;
  max-width: 48ch;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.hero-a-bottom {
  margin-top: 72px;
  padding-top: 24px;
  border-top: 1px solid var(--ink);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) { .hero-a-bottom { grid-template-columns: 1fr; gap: 32px; } }

.hero-a-research-head {
  font-size: 10px; color: var(--ink-mute);
  margin-bottom: 18px;
}
.hero-a-research ul { list-style: none; display: flex; flex-direction: column; }
.hero-a-research ul li {
  display: grid; grid-template-columns: 60px 1fr;
  gap: 18px; align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--rule-soft);
}
.hero-a-research .idx { font-size: 10px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .12em; }
.hero-a-research .k  { font-family: 'Newsreader', serif; font-size: 22px; line-height: 1.2; letter-spacing: -0.015em; color: var(--ink); }
.hero-a-research .s  { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }

.hero-a-meta dl { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.hero-a-meta dt { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 4px; }
.hero-a-meta dd { font-family: 'Newsreader', serif; font-size: 20px; letter-spacing: -0.015em; }
.hero-a-meta a  { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); }
.hero-a-meta a:hover { border-color: var(--accent); color: var(--accent); }
.hero-a-cv {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  color: var(--ink); text-decoration: none;
  background: transparent;
  transition: background .2s, color .2s;
}
.hero-a-cv:hover { background: var(--ink); color: var(--bg); }

/* ====================================================================
   B · Lab ticker
   ==================================================================== */
.hero-b {
  min-height: 92vh;
  padding: 90px 0 40px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}
.hero-b-ticker {
  position: absolute; top: 80px; left: 0; right: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 10px 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.hero-b-track {
  display: inline-flex; gap: 48px; white-space: nowrap;
  animation: scroll-x 70s linear infinite;
  font-size: 11px; color: var(--ink-mute);
}
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-33.333%); } }

.hero-b-inner { margin-top: 40px; max-width: 980px; }
.hero-b-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--card);
  font-size: 10px;
  color: var(--ink-soft);
  margin-bottom: 40px;
}
.hero-b-badge .tick { color: var(--accent); }
.hero-b-name {
  font-family: 'Newsreader', serif;
  font-weight: 350;
  font-size: clamp(64px, 12vw, 180px);
  line-height: 0.9;
  letter-spacing: -0.045em;
  color: var(--ink);
}
.hero-b-name em { font-style: italic; font-weight: 300; color: var(--ink-soft); }
.hero-b-role { font-size: 11px; color: var(--ink-mute); margin-top: 18px; }
.hero-b-sub {
  margin-top: 32px;
  max-width: 62ch;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-soft);
  border-left: 2px solid var(--accent);
  padding-left: 20px;
}
.hero-b-actions { margin-top: 44px; display: flex; gap: 24px; flex-wrap: wrap; }
.hero-b-actions a {
  font-size: 11px; color: var(--ink);
  text-decoration: none;
  padding: 10px 16px;
  border: 1px solid var(--rule);
  transition: all .2s;
}
.hero-b-actions a:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ====================================================================
   C · Index card (Swiss archive)
   ==================================================================== */
.hero-c { padding: 60px 0 60px; min-height: 92vh; display: flex; align-items: center; flex-direction: column; justify-content: center; }
.hero-c-ticker {
  flex: 0 0 auto;
  align-self: stretch;
  width: 100%;
  max-width: 100vw;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  margin-bottom: 48px;
  position: relative;
  z-index: 2;
}
.hero-c-track > span { display: inline-block; }
.hero-c-track {
  display: inline-flex; gap: 48px; white-space: nowrap;
  animation: scroll-x 70s linear infinite;
  font-size: 11px; color: var(--ink-mute);
}
.hero-c .page { width: 100%; }

.hero-c-foot a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.hero-c-foot a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.hero-c-foot a:nth-child(2), .hero-c-foot a:last-child { /* no-op, kept for spec */ }
.hero-c-social { display: flex; gap: 18px; justify-content: center; }
.hero-c-card {
  width: 100%;
  border: 1px solid var(--ink);
  background: var(--bg);
  display: flex; flex-direction: column;
  position: relative;
}
.hero-c-card::before {
  content: ''; position: absolute; inset: 8px;
  border: 1px solid var(--rule);
  pointer-events: none;
}
.hero-c-head, .hero-c-foot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-size: 10px; color: var(--ink-mute);
  padding: 14px 28px;
  gap: 20px;
}
.hero-c-head { border-bottom: 1px solid var(--ink); }
.hero-c-foot { border-top: 1px solid var(--ink); }
.hero-c-head > *:first-child, .hero-c-foot > *:first-child { text-align: left; }
.hero-c-head > *:last-child, .hero-c-foot > *:last-child { text-align: right; }

.hero-c-body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
}
@media (max-width: 900px) { .hero-c-body { grid-template-columns: 1fr; } }
.hero-c-left, .hero-c-right { padding: 40px 32px 32px; display: flex; flex-direction: column; }
.hero-c-academics { margin-top: auto; }
.hero-c-refs.hero-c-refs--block { margin-top: 32px; }
.hero-c-left { border-right: 1px solid var(--rule); }
@media (max-width: 900px) { .hero-c-left { border-right: 0; border-bottom: 1px solid var(--rule); } }

.hero-c-label { font-size: 10px; color: var(--ink-mute); margin-bottom: 12px; }
.hero-c-name {
  font-family: 'Newsreader', serif;
  font-weight: 350;
  font-size: clamp(54px, 8vw, 104px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.hero-c-sub {
  margin-top: 20px;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink-soft);
  font-style: italic;
  font-weight: 300;
}
.hero-c-blurb { margin-top: 22px; font-size: 15px; line-height: 1.6; color: var(--ink-soft); max-width: 44ch; }

.hero-c-academics {
  padding-top: 18px;
  border-top: 1px solid var(--rule-soft);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.hero-c-stat { display: flex; flex-direction: column; gap: 6px; }
.hero-c-stat-k {
  font-size: 9.5px;
  letter-spacing: .18em;
  color: var(--ink-mute);
}
.hero-c-stat-v {
  font-family: 'Newsreader', serif;
  font-weight: 300;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hero-c-stat-v .pct {
  font-size: 14px;
  color: var(--ink-mute);
  margin-left: 2px;
  letter-spacing: 0;
}
@media (max-width: 540px) {
  .hero-c-academics { grid-template-columns: 1fr 1fr; }
  .hero-c-stat-v { font-size: 26px; }
}

.hero-c-fields { list-style: none; display: flex; flex-direction: column; }
.hero-c-fields li {
  display: grid; grid-template-columns: 60px 1fr;
  align-items: baseline; gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--rule-soft);
  font-size: 19px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.hero-c-fields li .mono { font-size: 10px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .12em; }
.hero-c-status {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--ink);
}
.hero-c-status .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--glow);
}

/* ====================================================================
   D · Monolith
   ==================================================================== */
.hero-d { padding: 110px 0 60px; min-height: 92vh; display: flex; flex-direction: column; justify-content: center; }
.hero-d-top {
  display: flex; justify-content: space-between;
  font-size: 10px; color: var(--ink-mute);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 48px;
}
.hero-d-top .tick { color: var(--accent); margin-right: 8px; }
.hero-d-name {
  font-family: 'Newsreader', serif;
  font-weight: 350;
  font-size: clamp(56px, 11vw, 176px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
  display: flex; align-items: baseline; gap: clamp(16px, 3vw, 40px);
  flex-wrap: wrap;
}
.hero-d-name em { font-style: italic; font-weight: 300; color: var(--ink-soft); }
.hero-d-name .sep { color: var(--accent); font-style: normal; font-weight: 300; }
.hero-d-role {
  margin-top: 32px;
  font-family: 'Newsreader', serif;
  font-weight: 300;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink-soft);
  max-width: 32ch;
}
.hero-d-role em { font-style: italic; color: var(--ink); }

.hero-d-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (max-width: 900px) { .hero-d-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .hero-d-grid { grid-template-columns: 1fr; } }
.hero-d-cell {
  background: var(--bg);
  padding: 22px 20px;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 140px;
}
.hero-d-cell .idx { font-size: 10px; color: var(--ink-mute); }
.hero-d-cell .k  { font-size: 22px; letter-spacing: -0.015em; color: var(--ink); line-height: 1.2; }
.hero-d-cell .s  { font-size: 12px; color: var(--ink-mute); margin-top: auto; }
.hero-d-cta { background: var(--ink); }
.hero-d-cta .idx { color: var(--bg); opacity: .6; }
.hero-d-cta .k, .hero-d-cta a { color: var(--bg); text-decoration: none; font-family: 'Newsreader', serif; font-size: 22px; letter-spacing: -0.015em; }
.hero-d-cta .s { color: var(--bg); opacity: .55; }
.hero-d-cta a { border-bottom: 1px solid color-mix(in oklch, var(--bg) 30%, transparent); }
.hero-d-cta a:hover { border-color: var(--bg); }
