/* =============================================================
   Stanford Tabular and Relational Project — design system
   Minimalist academic aesthetic with a relational-grid motif.
   ============================================================= */

:root {
  /* Palette */
  --cardinal:      #8c1515;  /* Stanford Cardinal */
  --cardinal-dark: #6f0f0f;
  --cardinal-soft: #b83a3a;
  --ink:           #16161a;
  --ink-2:         #3a3a42;
  --muted:         #6b6b76;
  --faint:         #9a9aa4;
  --line:          #e6e4df;
  --line-2:        #eeece7;
  --paper:         #ffffff;
  --paper-2:       #faf9f6;  /* warm off-white */
  --paper-3:       #f4f2ec;
  --sand:          #f0ede4;
  --accent:        #2f6f6a;  /* muted teal, secondary */
  --gold:          #b48a2e;
  --plum:          #6a4a8c;
  --navy:          #1f4b6e;

  /* Type */
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Layout */
  --maxw: 1140px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(22,22,26,.04), 0 8px 30px rgba(22,22,26,.06);
  --shadow-lg: 0 4px 12px rgba(22,22,26,.06), 0 24px 60px rgba(22,22,26,.10);
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper-2);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  text-wrap: pretty; /* avoid one/two-word orphan last lines site-wide (headings override with balance) */
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; line-height: 1.12; color: var(--ink); margin: 0 0 .5em; text-wrap: balance; }
p, li, figcaption, .pub-desc, .pub-authors { text-wrap: pretty; } /* avoid one/two-word orphan lines on supporting browsers */
p { margin: 0 0 1.1em; }
a { color: var(--cardinal); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--cardinal-dark); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 760px; }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cardinal);
  font-weight: 500;
  margin: 0 0 1rem;
  display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: var(--cardinal); display: inline-block; opacity: .6;
}

/* =============================================================
   NAV
   ============================================================= */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,249,246,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 14px 28px; display: flex; align-items: center; gap: 44px; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--serif); font-size: 19px; color: var(--ink); font-weight: 600; letter-spacing: -.01em; }
.brand:hover { color: var(--ink); }
.brand .glyph {
  width: 26px; height: 26px; flex: none;
  display: grid; grid-template-columns: repeat(3,1fr); grid-template-rows: repeat(3,1fr);
  gap: 2px; border-radius: 6px; padding: 2px;
  background: var(--cardinal);
}
.brand .glyph i { background: rgba(255,255,255,.45); border-radius: 1px; }
.brand .glyph i:nth-child(1), .brand .glyph i:nth-child(5), .brand .glyph i:nth-child(9) { background: #fff; }
.brand-name { font-family: var(--serif); white-space: nowrap; }
@media (max-width: 430px){ .brand { font-size: 16px; } }

.nav-links { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: var(--ink-2); font-size: 14.5px; font-weight: 500; padding: 7px 10px; border-radius: 8px;
  transition: background .15s var(--ease), color .15s var(--ease);
}
.nav-links a:hover { background: var(--sand); color: var(--ink); }
.nav-links a.cta {
  background: var(--ink); color: #fff; padding: 7px 15px; white-space: nowrap; flex: none;
}
.nav-links a.cta:hover { background: var(--cardinal); }
.nav-toggle { display: none; }

/* nav dropdown (project pages) */
.nav-dd { position: relative; display: inline-flex; }
.nav-dd-toggle { display: inline-flex; align-items: center; gap: 5px; font-family: var(--sans); font-size: 14.5px; font-weight: 500; color: var(--ink-2); background: none; border: 0; padding: 7px 12px; border-radius: 8px; cursor: pointer; transition: background .15s var(--ease), color .15s var(--ease); }
.nav-dd-toggle:hover, .nav-dd-toggle[aria-expanded="true"] { background: var(--sand); color: var(--ink); }
.nav-dd-toggle svg { width: 13px; height: 13px; transition: transform .2s var(--ease); }
.nav-dd:hover .nav-dd-toggle svg, .nav-dd-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-dd-menu { position: absolute; top: 100%; left: 0; min-width: 268px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); padding: 7px; margin-top: 7px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .16s var(--ease), transform .16s var(--ease), visibility .16s; z-index: 50; }
.nav-dd-menu::before { content: ""; position: absolute; top: -7px; left: 0; right: 0; height: 7px; } /* hover bridge across the gap */
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu, .nav-dd.open .nav-dd-menu { opacity: 1; visibility: visible; transform: none; }
.nav-dd-menu a { display: block; padding: 9px 12px; border-radius: 7px; color: var(--ink); }
.nav-dd-menu a:hover { background: var(--paper-3); }
.nav-dd-menu a b { display: block; font-weight: 600; font-size: 14.5px; color: var(--ink); transition: color .15s var(--ease); }
.nav-dd-menu a:hover b { color: var(--cardinal); }
.nav-dd-menu a span { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 2px; letter-spacing: .01em; }
.nav-sep { width: 1px; height: 20px; background: var(--line); margin: 0 9px; flex: none; align-self: center; }

@media (max-width: 1100px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px; gap: 2px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 14px; }
  .nav-toggle { display: inline-flex; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px;
    width: 38px; height: 38px; align-items: center; justify-content: center; cursor: pointer; }
  .nav-toggle span { width: 16px; height: 1.5px; background: var(--ink); position: relative; }
  .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--ink); }
  .nav-toggle span::before { top: -5px; } .nav-toggle span::after { top: 5px; }
  /* dropdown expands inline within the mobile menu */
  .nav-dd { width: 100%; flex-direction: column; }
  .nav-dd-toggle { width: 100%; justify-content: space-between; padding: 11px 14px; font-size: 14.5px; }
  .nav-dd-menu { position: static; min-width: 0; margin: 0 0 4px; padding: 0 0 4px 10px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
  .nav-dd-menu::before { display: none; }
  .nav-dd.open .nav-dd-menu { display: block; }
  .nav-sep { display: none; }
}

/* =============================================================
   HERO
   ============================================================= */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .5; }
.hero-fade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(140,21,21,.06), transparent 55%),
    linear-gradient(180deg, rgba(250,249,246,0) 40%, rgba(250,249,246,.85) 92%, var(--paper-2)); }
.hero-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 96px 28px 88px; }

.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02; max-width: 16ch; margin-bottom: .35em; }
.hero h1 .accent { color: var(--cardinal); }
.hero .lede { font-size: clamp(1.05rem, 1.7vw, 1.32rem); color: var(--ink-2); max-width: 60ch; margin-bottom: 1.9em; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.hero-meta b { color: var(--ink); font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 2.2em 0 0; }

/* =============================================================
   BUTTONS / LINKS
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 500; font-size: 15px;
  padding: 11px 19px; border-radius: 10px; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s var(--ease), background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
  font-family: var(--sans);
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--cardinal); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }

.txtlink { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; white-space: nowrap; }
.txtlink svg { width: 14px; height: 14px; transition: transform .15s var(--ease); }
.txtlink:hover svg { transform: translate(2px,-2px); }

/* =============================================================
   SECTIONS
   ============================================================= */
section { padding: 88px 0; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.wide { max-width: none; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: .35em; }
@media (min-width: 720px){ .nowrap-lg { white-space: nowrap; } }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Pillars / feature grid ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

/* clean, borderless feature row (Initiative section) */
.feature-row { border-top: 1px solid var(--line); padding-top: 46px; margin-top: 8px; }
.feature { text-align: center; padding: 0 14px; }
.feature .f-ic { display: inline-flex; color: var(--cardinal); margin-bottom: 14px; }
.feature .f-ic svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.18rem; margin-bottom: .35em; }
.feature p { color: var(--muted); font-size: .96rem; margin: 0; max-width: 34ch; margin-left: auto; margin-right: auto; }
@media (max-width: 900px){ .feature-row { gap: 36px; } }

.pillar { padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.pillar .icon { width: 40px; height: 40px; border-radius: 10px; background: var(--paper-3); display: grid; place-items: center; margin-bottom: 18px; color: var(--cardinal); }
.pillar .icon svg { width: 20px; height: 20px; }
.pillar h3 { font-size: 1.28rem; margin-bottom: .4em; }
.pillar p { color: var(--muted); font-size: .98rem; margin: 0; }

/* =============================================================
   PROJECT CARDS
   ============================================================= */
.project-card {
  position: relative; display: grid; grid-template-columns: 1.05fr 1fr; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper);
  transition: border-color .25s var(--ease), box-shadow .3s var(--ease), transform .25s var(--ease);
}
.project-card:hover { border-color: var(--line); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.project-card .pc-body { padding: 38px 36px; }
.project-card .pc-tag { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--cardinal); margin-bottom: 14px; display: inline-block; }
.project-card h3 { font-size: 1.9rem; margin-bottom: .3em; color: var(--ink); }
.project-card .pc-sub { color: var(--ink-2); font-size: 1.02rem; margin-bottom: 1.2em; }
.project-card .pc-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 1.6em; }
.project-card .pc-art { position: relative; background: var(--paper-3); border-left: 1px solid var(--line); overflow: hidden; min-height: 270px; }
@media (max-width: 760px) { .project-card { grid-template-columns: 1fr; } .project-card .pc-art { border-left: none; border-top: 1px solid var(--line); min-height: 180px; } .project-card .pc-body { padding: 30px 26px; } }

.chip { font-family: var(--mono); font-size: 11.5px; letter-spacing: .03em; color: var(--ink-2); background: var(--paper-3);
  border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; }
/* type chips share the news-tag colour language (soft tint of a site accent) */
.chip.benchmark { color: var(--cardinal); background: rgba(140,21,21,.08);  border-color: rgba(140,21,21,.16); }
.chip.synthetic { color: var(--accent);   background: rgba(47,111,106,.10); border-color: rgba(47,111,106,.20); }
.chip.corpus    { color: var(--gold);     background: rgba(180,138,46,.12); border-color: rgba(180,138,46,.22); }
.chip.temporal  { color: var(--plum);     background: rgba(106,74,140,.10); border-color: rgba(106,74,140,.20); }
.chip.tasks     { color: var(--navy);     background: rgba(31,75,110,.10);  border-color: rgba(31,75,110,.20); }
.chip.solid { background: var(--ink); color: #fff; border-color: var(--ink); }

/* =============================================================
   ARTIFACTS / RESOURCES
   ============================================================= */
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 680px){ .resource-grid { grid-template-columns: 1fr; } }
.resource {
  display: flex; align-items: center; gap: 13px; padding: 15px 16px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: transparent;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.resource:hover { border-color: var(--cardinal); background: var(--paper); }
.resource .r-ic { width: 38px; height: 38px; flex: none; border-radius: 9px; background: rgba(140,21,21,.06); display: grid; place-items: center; color: var(--cardinal); }
.resource .r-ic svg { width: 19px; height: 19px; }
.resource .r-tx { line-height: 1.35; }
.resource .r-tx b { display: block; color: var(--ink); font-weight: 600; font-size: 15.5px; }
.resource .r-tx span { color: var(--muted); font-size: 13px; font-family: var(--mono); }
.resource .r-arrow { margin-left: auto; color: var(--faint); transition: transform .2s var(--ease), color .2s var(--ease); }
.resource:hover .r-arrow { color: var(--cardinal); transform: translate(2px,-2px); }

/* ---------- Dataset table ---------- */
.dtable { width: 100%; border-collapse: collapse; font-size: 15px; border-top: 1px solid var(--line); }
.dtable th { text-align: left; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding: 12px 6px; border-bottom: 1px solid var(--line); }
.dtable td { padding: 16px 6px; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: middle; }
.dtable tr:last-child td { border-bottom: none; }
.dtable tr { transition: background .15s var(--ease); }
.dtable tbody tr:hover { background: var(--paper); }
.dtable td.name { font-family: var(--mono); font-size: 14px; color: var(--ink); font-weight: 500; }
.dtable td.name a { color: var(--ink); }
.dtable td.name a:hover { color: var(--cardinal); }
@media (max-width: 680px){ .dtable .hide-sm { display: none; } }

/* =============================================================
   PUBLICATIONS — tabbed browser (one tab per paper)
   ============================================================= */
.tablist { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 26px; }
.tab {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .01em; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); cursor: pointer; white-space: nowrap;
  transition: border-color .15s var(--ease), color .15s var(--ease), background .15s var(--ease);
}
.tab:hover { border-color: var(--cardinal); color: var(--cardinal); }
.tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.tab:focus-visible { outline: 2px solid var(--cardinal); outline-offset: 2px; }

.tabpanels { position: relative; }
.tabpanel { display: none; }
.tabpanel.active { display: block; animation: pubfade .35s var(--ease); }
@keyframes pubfade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.pub-venue { font-family: var(--mono); font-size: 12.5px; letter-spacing: .03em; color: var(--cardinal); margin-bottom: 12px; }
.pub-title { font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.15; margin-bottom: .45em; }
.pub-authors { color: var(--ink-2); font-size: 1rem; margin-bottom: .9em; }
.pub-authors .me { color: var(--cardinal); font-weight: 600; }
.pub-desc { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.5em; }
.pub-actions { display: flex; flex-wrap: wrap; gap: 11px; }

/* =============================================================
   PUBLICATIONS — single-paper feature slider
   ============================================================= */
.carousel-wrap.reveal { opacity: 1; transform: none; }
.carousel-wrap { position: relative; padding: 8px 104px 0; }
.pub-slider { display: grid; }
.pub-slide {
  grid-area: 1 / 1; align-self: start;
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .5s var(--ease);
}
.pub-slide.active { opacity: 1; visibility: visible; pointer-events: auto; }
.pub-slide .pub-venue {
  margin: 0; background: rgba(140,21,21,.08); color: var(--cardinal); padding: 5px 11px; border-radius: 7px; font-size: 11.5px;
}
.pub-slide .pub-title { margin: 0; font-size: clamp(1.5rem, 2.7vw, 2.1rem); line-height: 1.15; max-width: 30ch; }
.pub-slide .pub-authors { margin: 0; font-size: .98rem; line-height: 1.55; color: var(--ink-2); max-width: 80ch; }
.pub-slide .pub-desc { margin: 0; color: var(--muted); font-size: 1.06rem; line-height: 1.62; max-width: 72ch; }
.pub-slide .pub-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 6px; }

.carousel-nav {
  position: absolute; top: calc(50% - 22px); width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: 22px; line-height: 1;
  display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); z-index: 4;
  transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.carousel-nav:hover { background: var(--cardinal); border-color: var(--cardinal); color: #fff; transform: scale(1.08); }
.carousel-nav:active { transform: scale(.98); }
.carousel-nav.prev { left: 6px; }
.carousel-nav.next { right: 6px; }

.pub-dots { display: flex; justify-content: center; gap: 9px; margin-top: 30px; }
.pub-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: var(--line); transition: background .2s var(--ease), transform .2s var(--ease); }
.pub-dot:hover { background: var(--cardinal-soft); }
.pub-dot.active { background: var(--cardinal); transform: scale(1.3); }

@media (max-width: 820px){
  .carousel-wrap { padding: 4px 0 0; }
  .pub-slide { gap: 13px; }
  .pub-slide .pub-title { font-size: 1.5rem; max-width: none; }
  .pub-slide .pub-desc { max-width: none; }
  .carousel-nav { display: none; }
}

/* =============================================================
   FOOTER
   ============================================================= */
.footer { background: var(--ink); color: #d8d6d0; padding: 72px 0 40px; }
.footer a { color: #e8e6e0; }
.footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 36px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (max-width: 820px){ .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 480px){ .footer-top { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 9px; font-size: 14.5px; }
.footer .f-brand { font-family: var(--serif); font-size: 22px; color: #fff; margin-bottom: 12px; }
.footer .f-desc { font-size: 14.5px; color: #a8a6a0; max-width: 34ch; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; padding-top: 28px; font-size: 13px; color: #8d8b85; font-family: var(--mono); }

/* =============================================================
   PAPER PAGE (rt / plurel)
   ============================================================= */
.paper-hero { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; background: var(--paper); }
.paper-hero .hero-canvas { opacity: .4; }
.paper-hero-inner { position: relative; z-index: 2; max-width: 880px; margin: 0 auto; padding: 92px 28px 64px; }
.back-link { font-family: var(--mono); font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 7px; margin-bottom: 28px; }
.back-link:hover { color: var(--cardinal); }
.back-link svg { width: 13px; height: 13px; }
.paper-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); max-width: 20ch; margin-bottom: .5em; }
.paper-venue { font-family: var(--mono); font-size: 13px; color: var(--cardinal); letter-spacing: .04em; margin-bottom: 1.4em; }
.venue-badge { display: inline-block; background: var(--cardinal); color: #fff; font-size: 11px; letter-spacing: .08em; padding: 3px 9px; border-radius: 6px; margin-right: 10px; vertical-align: middle; }

/* audience / research-themes band */
.themes { display: flex; flex-wrap: wrap; gap: 9px; }
.theme {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .01em; color: var(--ink-2);
  background: var(--paper); border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px;
  transition: border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.theme:hover { border-color: var(--cardinal); color: var(--cardinal); transform: translateY(-1px); }
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px){ .audience { grid-template-columns: 1fr; } }
.aud-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); padding: 28px 30px; }
.aud-card .aud-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--cardinal); margin-bottom: 12px; }
.aud-card h3 { font-size: 1.25rem; margin-bottom: .4em; }
.aud-card p { color: var(--muted); font-size: .98rem; margin: 0; }

/* RelBench foundation strip */
.foundation { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 22px;
  padding: 30px 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.foundation .fnd-tx h3 { font-size: 1.5rem; margin: .1em 0 .35em; }
.foundation .fnd-tx p { color: var(--muted); font-size: 1rem; margin: 0; max-width: 64ch; }
.foundation .fnd-act { display: flex; flex-wrap: wrap; gap: 10px; flex: none; }
@media (max-width: 760px){ .foundation { flex-direction: column; align-items: flex-start; padding: 26px 24px; } }

/* related research paper cards */
.paper-card { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 20px 22px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper);
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.paper-card:hover { border-color: var(--ink); transform: translateY(-1px); box-shadow: var(--shadow); }
.paper-card .pc-venue { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--cardinal); background: rgba(140,21,21,.07); padding: 5px 9px; border-radius: 6px; white-space: nowrap; align-self: start; margin-top: 3px; }
.paper-card .pc-main b { display: block; color: var(--ink); font-weight: 600; font-size: 15.5px; line-height: 1.35; margin-bottom: 3px; }
.paper-card .pc-main span { color: var(--muted); font-size: 13px; }
.paper-card .pc-go { color: var(--faint); transition: transform .2s var(--ease), color .2s var(--ease); }
.paper-card:hover .pc-go { color: var(--cardinal); transform: translate(2px,-2px); }
@media (max-width: 560px){ .paper-card { grid-template-columns: 1fr auto; } .paper-card .pc-venue { grid-column: 1 / -1; justify-self: start; } }
.authors { font-size: 1.05rem; color: var(--ink-2); line-height: 1.9; max-width: 60ch; margin-bottom: .5em; }
.authors .me { color: var(--cardinal); font-weight: 600; }
.affils { font-size: .92rem; color: var(--muted); font-family: var(--mono); margin-bottom: 2em; }
.paper-actions { display: flex; flex-wrap: wrap; gap: 11px; }

.paper-body { padding: 76px 0; }
.paper-body .wrap { max-width: 880px; }

/* on-page table of contents (article side rail) */
.toc-rail { position: fixed; top: 128px; z-index: 40; left: calc(50% - 464px); transform: translateX(-100%); width: 152px; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease); }
.toc-rail.visible { opacity: 1; visibility: visible; }
.toc-rail .toc-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin: 0 0 11px; padding-left: 14px; }
.toc-rail nav { display: flex; flex-direction: column; gap: 1px; border-left: 1px solid var(--line); }
.toc-link { font-size: 13px; line-height: 1.3; color: var(--muted); padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; transition: color .15s var(--ease), border-color .15s var(--ease); }
.toc-link:hover { color: var(--ink); }
.toc-link.active { color: var(--cardinal); border-left-color: var(--cardinal); font-weight: 500; }
.paper-body [id] { scroll-margin-top: 92px; }
@media (max-width: 1239px){ .toc-rail { display: none; } }
.prose h2 { font-size: 1.7rem; margin: 2.4em 0 .7em; padding-top: .2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.25rem; margin: 1.8em 0 .5em; }
.prose p { color: var(--ink-2); font-size: 1.06rem; }
.prose ul { color: var(--ink-2); font-size: 1.06rem; padding-left: 1.2em; }
.prose li { margin-bottom: .6em; }
.prose strong { color: var(--ink); font-weight: 600; }

.lead-para { font-size: 1.22rem !important; line-height: 1.65; color: var(--ink) !important; font-family: var(--serif); font-weight: 400; }

/* stat strip */
.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin: 2.4em 0; }
@media (max-width: 640px){ .stats { grid-template-columns: 1fr; } }
.stat { padding: 2px 0 2px 18px; border-left: 2px solid var(--cardinal); }
.stat .big { font-family: var(--serif); font-size: 2.6rem; color: var(--cardinal); line-height: 1; margin-bottom: .25em; }
.stat .lbl { font-size: .92rem; color: var(--muted); }

/* method steps */
.steps { display: grid; gap: 0; margin: 1.6em 0; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; padding: 22px 6px; border-bottom: 1px solid var(--line); }
.step .num { font-family: var(--mono); font-size: 13px; color: #fff; background: var(--cardinal); width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.step h4 { font-family: var(--sans); font-size: 1.08rem; font-weight: 600; margin-bottom: .3em; }
.step p { margin: 0; font-size: .98rem; color: var(--muted); }

/* figure / svg diagram frame */
.figure { margin: 2.4em 0; }
.figure .fig-art { padding: 0; display: grid; place-items: center; }
.figure .fig-art img { max-width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.figure figcaption { font-size: .9rem; color: var(--muted); padding: 14px 2px 0; font-family: var(--mono); }

/* bibtex */
.bibtex { position: relative; background: #1c1c20; color: #d6d4cd; border-radius: var(--radius); padding: 22px 24px; font-family: var(--mono); font-size: 13px; line-height: 1.75; overflow-x: auto; margin: 1em 0 0; }
.bibtex .k { color: #cf8e6d; } .bibtex .v { color: #a8c98a; }
.copy-btn { position: absolute; top: 12px; right: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .05em; color: #d6d4cd; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 7px; padding: 5px 11px; cursor: pointer; transition: background .15s var(--ease); }
.copy-btn:hover { background: rgba(255,255,255,.16); }

/* callout */
.callout { border-left: 3px solid var(--cardinal); padding: 6px 0 6px 22px; margin: 2em 0; }
.callout p { margin: 0; font-size: 1.02rem; }

/* =============================================================
   MIGRATED ARTICLE CONTENT (PluRel) — styled in the site language
   ============================================================= */
.prose p.lead { font-size: 1.2rem; line-height: 1.6; color: var(--ink); font-family: var(--serif); }
.prose :not(pre) > code { font-family: var(--mono); font-size: .87em; background: var(--paper-3); border: 1px solid var(--line); border-radius: 5px; padding: .06em .36em; color: var(--cardinal-dark); }
.prose pre { background: #1b1b1f; color: #d6d4cd; border-radius: var(--radius); padding: 20px 22px; overflow-x: auto; margin: 1.3em 0; border: 1px solid #2a2a30; box-shadow: var(--shadow); }
.prose pre code { font-family: var(--mono); font-size: 13.5px; line-height: 1.8; color: #d6d4cd; background: none; border: 0; padding: 0; }

/* syntax highlighting (highlight.js tokens) — warm, on-brand palette */
.prose pre code.hljs { background: none; padding: 0; color: #d6d4cd; }
.hljs-comment, .hljs-quote { color: #6f6d77; font-style: italic; }
.hljs-keyword, .hljs-selector-tag, .hljs-literal, .hljs-section, .hljs-meta .hljs-keyword { color: #e08a6b; }
.hljs-built_in, .hljs-type, .hljs-class .hljs-title, .hljs-title.class_ { color: #5fb6a6; }
.hljs-string, .hljs-attr, .hljs-symbol, .hljs-bullet, .hljs-addition, .hljs-regexp { color: #a8c98a; }
.hljs-number { color: #e0b35e; }
.hljs-title, .hljs-title.function_, .hljs-name { color: #88b4e6; }
.hljs-params { color: #d6d4cd; }
.hljs-meta, .hljs-meta .hljs-string { color: #c79b6a; }
.hljs-variable, .hljs-template-variable { color: #d6d4cd; }
.hljs-attribute, .hljs-property { color: #e0b35e; }
.hljs-operator, .hljs-punctuation { color: #a6a4ae; }
.hljs-deletion { color: #d98a8a; }
.hljs-emphasis { font-style: italic; } .hljs-strong { font-weight: 600; }
.prose figure { margin: 2.2em 0; text-align: center; }
.prose figure img { max-width: 100%; border-radius: var(--radius); border: 1px solid var(--line); display: inline-block; }
.prose figcaption { font-size: .9rem; color: var(--muted); margin-top: .8em; text-align: left; }
.prose figcaption b { color: var(--ink); font-weight: 600; }

.prose h3 .section-number {
  display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 7px;
  background: var(--cardinal); color: #fff; font-family: var(--mono); font-size: .6em; font-weight: 500;
  margin-right: .65em; vertical-align: middle;
}
.prose h4 { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; margin: 1.8em 0 .5em; }

.prose aside { font-size: .95rem; color: var(--muted); font-style: italic; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 13px 0; margin: 1.8em 0; }

.eqn { font-family: var(--mono); font-style: normal; border-left: 2px solid var(--line); padding: 6px 0 6px 18px; margin: 1.4em 0; overflow-x: auto; }
.eqn i { font-style: italic; }

.d-callout { border-left: 3px solid var(--cardinal); padding: 6px 0 6px 22px; margin: 1.9em 0; }
.d-callout-title { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--cardinal); margin-bottom: 9px; }
.d-callout p { margin: 0; font-size: 1rem; color: var(--ink-2); }
.d-callout-list { margin: 0; padding-left: 1.15em; color: var(--ink-2); }
.d-callout-list li { margin-bottom: .35em; }

.table-wrap { overflow-x: auto; margin: 1.3em 0; border-top: 1px solid var(--line); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table-wrap th { text-align: left; font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding: 12px 12px; background: transparent; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table-wrap td { padding: 11px 12px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.table-wrap td:first-child { font-family: var(--mono); font-size: 13px; color: var(--ink); }
.table-wrap tbody tr { transition: background .12s var(--ease); }
.table-wrap tbody tr:hover { background: var(--paper); }
.table-wrap tfoot td { font-weight: 600; color: var(--ink); border-top: 2px solid var(--line); background: transparent; }
.gain-positive { color: #2f6f6a; font-weight: 600; }
.gain-negative { color: var(--cardinal-soft); font-weight: 600; }

/* hero author/affiliation + paper buttons */
.authors a { color: var(--cardinal); }
.authors a:hover { color: var(--cardinal-dark); }
.teaser-img { margin: 0 0 0; }
.teaser-img img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); display: block; box-shadow: var(--shadow); }

/* =============================================================
   RELATIONAL ATTENTION EXPLORER (rt page widget)
   ============================================================= */
.ra-widget { background: transparent; padding: 6px 0; }
.ra-controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 16px; }
.ra-seg { display: inline-flex; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.ra-seg button { border: 0; background: var(--paper); color: var(--muted); font-family: var(--mono); font-size: 13px; padding: 8px 15px; cursor: pointer; border-right: 1px solid var(--line); transition: background .14s var(--ease), color .14s var(--ease); }
.ra-seg button:last-child { border-right: 0; }
.ra-seg button:hover { background: var(--paper-3); color: var(--ink); }
.ra-seg button.active { background: var(--cardinal); color: #fff; }
.ra-svg { width: 100%; height: auto; display: block; background: var(--paper-2); border: 1px solid var(--line-2); border-radius: 10px; }
.ra-tname { font-family: var(--mono); font-size: 12px; fill: var(--ink); font-weight: 600; }
.ra-cname { font-family: var(--mono); font-size: 9.5px; fill: var(--faint); text-transform: lowercase; }
.ra-cval { font-family: var(--mono); font-size: 10.5px; fill: var(--ink-2); }
.ra-cell rect { fill: #fff; stroke: var(--line); stroke-width: 1; transition: fill .25s var(--ease), stroke .25s var(--ease), opacity .25s var(--ease); cursor: pointer; }
.ra-cell.off rect { fill: var(--paper-3); opacity: .45; }
.ra-cell.off .ra-cval { opacity: .4; }
.ra-cell.on rect { fill: rgba(47,111,106,.16); stroke: var(--accent); stroke-width: 1.5; }
.ra-cell.on .ra-cval { fill: var(--accent); }
.ra-cell.q rect { fill: var(--cardinal); stroke: var(--cardinal); stroke-width: 2; }
.ra-cell.q .ra-cval { fill: #fff; font-weight: 600; }
.ra-cell:focus-visible rect { outline: 2px solid var(--cardinal); outline-offset: 2px; }
.ra-link { fill: none; stroke: var(--faint); stroke-width: 1.2; opacity: .35; transition: stroke .2s var(--ease), opacity .2s var(--ease), stroke-width .2s var(--ease); }
.ra-link.hot { stroke: var(--cardinal); opacity: .9; stroke-width: 2; }
.ra-readout { font-size: .95rem; line-height: 1.55; color: var(--ink-2); background: var(--paper-2); border: 1px solid var(--line); border-left: 3px solid var(--cardinal); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 14px 16px; margin-top: 16px; }
.ra-readout b { color: var(--ink); }
.ra-pill { display: inline-block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; background: var(--cardinal); color: #fff; padding: 3px 9px; border-radius: 6px; margin-right: 8px; }
.ra-q { margin-top: 9px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.ra-note { font-size: .9rem; color: var(--muted); margin: 12px 0 0; }

/* four-up stat strip + datatype heads diagram */
.stats.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px){ .stats.four { grid-template-columns: 1fr 1fr; } }
.heads { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 1.4em 0; }
@media (max-width: 640px){ .heads { grid-template-columns: 1fr; } }
.head-card { border-left: 2px solid var(--line); padding: 4px 0 4px 16px; }
.head-card .hc-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--cardinal); margin-bottom: 8px; }
.head-card b { color: var(--ink); }

/* =============================================================
   INTERACTIVE CHARTS
   ============================================================= */
.chart { width: 100%; }
.chart-svg { display: block; overflow: visible; }
.chart-axis { font-family: var(--mono); font-size: 13px; fill: var(--faint); }
.chart-axislabel { font-family: var(--mono); font-size: 13px; fill: var(--muted); }
.chart-name { font-family: var(--sans); font-size: 14px; fill: var(--ink-2); font-weight: 500; }
.chart-group { font-family: var(--mono); font-size: 13px; fill: var(--muted); letter-spacing: .04em; }
.chart-val { font-family: var(--mono); font-size: 15px; fill: var(--ink); font-weight: 500; }
.chart-legend { font-family: var(--mono); font-size: 13px; fill: var(--muted); }
.chart-bar { transition: opacity .15s var(--ease); }
.chart-bar[data-hot] { opacity: .82; }
.chart-dot { transition: r .15s var(--ease); }
.chart-dot[data-hot] { r: 6; }
.chart-tip {
  position: absolute; z-index: 5; transform: translate(-50%, -100%); pointer-events: none; opacity: 0;
  background: var(--ink); color: #fff; padding: 8px 11px; border-radius: 8px; font-family: var(--sans);
  font-size: 12.5px; line-height: 1.4; white-space: nowrap; box-shadow: var(--shadow); transition: opacity .12s var(--ease);
}
.chart-tip b { display: block; font-weight: 600; }
.chart-tip span { display: block; color: #b0aea8; font-size: 11.5px; }
.chart-tip em { font-style: normal; font-family: var(--mono); color: #f0b8b8; font-size: 13px; }

/* =============================================================
   NEWS
   ============================================================= */
.news-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.news-item {
  display: grid; grid-template-columns: 150px 1fr auto; gap: 26px; align-items: baseline;
  padding: 24px 4px; border-bottom: 1px solid var(--line);
  transition: background .15s var(--ease);
}
.news-item:hover { background: var(--paper); }
.news-date { font-family: var(--mono); font-size: 12.5px; color: var(--muted); letter-spacing: .03em; padding-top: 2px; }
.news-body h3 { font-size: 1.18rem; margin-bottom: .25em; }
.news-body p { margin: 0; color: var(--muted); font-size: .98rem; }
.news-tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; white-space: nowrap; align-self: center; }
.news-tag.paper { color: var(--cardinal); background: rgba(140,21,21,.08); }
.news-tag.release { color: var(--accent); background: rgba(47,111,106,.10); }
.news-tag.talk { color: var(--gold); background: rgba(180,138,46,.12); }
@media (max-width: 720px){
  .news-item { grid-template-columns: 1fr auto; gap: 6px 16px; }
  .news-date { grid-column: 1 / -1; order: -1; }
}

/* =============================================================
   PEOPLE
   ============================================================= */
.people-group { margin-bottom: 44px; }
.people-group:last-child { margin-bottom: 0; }
.people-group > .pg-label { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.people-group > .pg-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.people-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px){ .people-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px){ .people-grid { grid-template-columns: repeat(2, 1fr); } }

.person { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius-sm); background: transparent; color: inherit; text-decoration: none; transition: background .15s var(--ease); }
.person:hover .p-tx b { color: var(--cardinal); }
.person:hover { background: var(--paper); }
.person.lead { grid-column: span 2; padding: 20px 22px; gap: 18px; }
@media (max-width: 640px){ .person.lead { grid-column: span 2; } }
.avatar { width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 17px; color: #fff; background: var(--cardinal); letter-spacing: .01em; position: relative; overflow: hidden; }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* institution logo tiles (collaborators) */
.logo-row { display: flex; flex-wrap: wrap; gap: 52px; align-items: center; justify-content: center; padding: 8px 0; }
.logo-tile { display: flex; align-items: center; justify-content: center; height: 52px; }
.logo-tile img { height: 42px; width: auto; max-width: 172px; object-fit: contain; display: block; }
@media (max-width: 560px){ .logo-row { gap: 32px; } }
.person.lead .avatar { width: 54px; height: 54px; font-size: 21px; }
.avatar.a2 { background: #1f4b6e; } .avatar.a3 { background: var(--accent); } .avatar.a4 { background: #6a4a8c; } .avatar.a5 { background: #8a5a2e; } .avatar.a6 { background: #2f6f6a; } .avatar.a7 { background: #7a2e4a; }
.person .p-tx { line-height: 1.3; min-width: 0; }
.person .p-tx b { display: block; color: var(--ink); font-weight: 600; font-size: 15px; }
.person .p-tx span { color: var(--muted); font-size: 12.5px; }
.person.lead .p-tx b { font-size: 1.15rem; font-family: var(--serif); font-weight: 500; }
.person.lead .p-tx span { font-size: 13.5px; }

/* =============================================================
   REVEAL ANIMATION
   ============================================================= */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; } .reveal.d2 { transition-delay: .14s; } .reveal.d3 { transition-delay: .21s; }

::selection { background: rgba(140,21,21,.16); }

/* =============================================================
   UTILITIES — inline mono label + side-by-side chart pairs
   ============================================================= */
.prose .mono { font-family: var(--mono); font-size: .9em; letter-spacing: .02em; color: var(--ink-2); }
.charts-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 2.4em 0; align-items: start; }
.charts-2 .figure { margin: 0; }
@media (max-width: 760px){ .charts-2 { grid-template-columns: 1fr; gap: 12px; } }

/* =============================================================
   Talks section — YouTube talk cards (thumbnail links out)
   ============================================================= */
.talks-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 14px; }
.talk-card { flex: 0 1 198px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: var(--paper); text-decoration: none; color: inherit; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.talk-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.talk-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #14140f; }
.talk-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s var(--ease); }
.talk-card:hover .talk-thumb img { transform: scale(1.045); }
.talk-play { position: absolute; inset: 0; margin: auto; width: 34px; height: 34px; border-radius: 50%; background: rgba(140, 21, 21, .92); display: grid; place-items: center; box-shadow: 0 2px 9px rgba(0, 0, 0, .28); transition: transform .2s var(--ease), background .2s; }
.talk-card:hover .talk-play { transform: scale(1.1); background: var(--cardinal); }
.talk-play svg { width: 13px; height: 13px; fill: #fff; margin-left: 2px; }
.talk-info { padding: 9px 10px 11px; display: flex; flex-direction: column; gap: 3px; }
.talk-title { font-family: var(--serif); font-size: .82rem; font-weight: 500; line-height: 1.25; color: var(--ink); letter-spacing: -.005em; }
.talk-by { font-size: .66rem; color: var(--muted); font-family: var(--sans); line-height: 1.32; }
.talk-by .sp { color: var(--ink-2); font-weight: 500; }
@media (prefers-reduced-motion: reduce){ .talk-card, .talk-thumb img, .talk-play { transition: none; } }
