/* ==========================================================================
   AiDP 2027 — Design System (v2 palette)
   Display: Playfair Display / Body: Inter / Utility-Mono: IBM Plex Mono
   Palette: ink & paper neutrals, warm grey, sky-blue secondary, eosin accent
   ========================================================================== */

:root{
  --ink:        #121214;
  --ink-soft:   #2A2A2D;
  --paper:      #FAFAF8;
  --paper-dim:  #F1F0EC;
  --grey-100:   #F1F0EC;
  --grey-200:   #E4E2DD;
  --grey-300:   #D8D6D0;
  --grey-500:   #8B8983;
  --grey-700:   #4A4844;

  --eosin:      #9C2B4E;   /* primary accent — CTAs, links */
  --eosin-dark: #7A2039;
  --eosin-tint: #F4E4E9;

  --sky:        #4E7FA6;   /* secondary accent — people/logistics labelling, sparing use */
  --sky-dark:   #3A6280;
  --sky-tint:   #E7EFF5;

  --intro-bg:   #E7E9EA;   /* light grey backdrop for the opening animation */

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    'IBM Plex Mono', 'Courier New', monospace;

  --container: 1180px;
  --edge: clamp(20px, 5vw, 64px);

  --radius: 2px;
  --ease: cubic-bezier(.4,0,.2,1);
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

/* ---------- Motion: accessibility safety nets ----------
   1) Without JS, nothing relies on scroll-reveal classes to become visible.
   2) With reduced-motion requested, all animation/transition collapses to
      near-instant so nothing moves, but end states are unaffected. */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1{ font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 700; }
h2{ font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3{ font-size: clamp(1.3rem, 2vw, 1.6rem); }
p{ margin: 0 0 1em; color: var(--ink-soft); }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family: inherit; cursor:pointer; }

::selection{ background: var(--eosin); color:#fff; }

:focus-visible{
  outline: 2px solid var(--eosin);
  outline-offset: 3px;
}

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--edge);
}

.eyebrow{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--eosin);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 1.1em;
}
.eyebrow::before{
  content:"";
  width: 22px; height: 1px;
  background: var(--eosin);
  display:inline-block;
}
.eyebrow.sky{ color: var(--sky); }
.eyebrow.sky::before{ background: var(--sky); }

.lede{
  font-size: 1.15rem;
  color: var(--grey-700);
  max-width: 62ch;
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.9em 1.6em;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .15s var(--ease);
  white-space: nowrap;
}
.btn:hover{ background: var(--ink); color: var(--paper); }
.btn:active{ transform: scale(0.96); }
.btn-primary{
  background: var(--eosin);
  border-color: var(--eosin);
  color:#fff;
}
.btn-primary:hover{ background: var(--eosin-dark); border-color: var(--eosin-dark); color:#fff; }
.btn-ghost{ border-color: var(--grey-300); color: var(--ink); }
.btn-ghost:hover{ background: var(--ink); border-color: var(--ink); }
.btn-sm{ padding: 0.65em 1.2em; font-size: 0.7rem; }
.btn[disabled]{ opacity:.45; pointer-events:none; }

/* ---------- Nav ---------- */
.site-header{
  position: sticky; top:0; z-index: 100;
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--grey-200);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding: 18px var(--edge);
  max-width: var(--container);
  margin: 0 auto;
}
.brand{
  display:flex; align-items:baseline; gap:10px;
  font-family: var(--font-display);
  font-weight:700; font-size:1.25rem;
  letter-spacing: -0.01em;
}
.brand small{
  font-family: var(--font-mono);
  font-weight:400;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--eosin);
  text-transform: uppercase;
}
.nav-links{
  display:flex; align-items:center; gap: 28px;
}
.nav-links a{
  position: relative;
  font-size: 0.86rem;
  font-weight: 500;
  padding: 6px 0;
  transition: color .2s var(--ease);
}
.nav-links a::after{
  content:"";
  position:absolute; left:0; right:0; bottom:0;
  height:1px;
  background: var(--eosin);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav-links a:hover, .nav-links a.active{ color: var(--eosin); }
.nav-links a:hover::after, .nav-links a.active::after{ transform: scaleX(1); }
.nav-cta::after{ display:none; } /* button-style CTA doesn't need the underline */
.nav-cta{ margin-left: 6px; }
.nav-toggle{
  display:none;
  background:none; border:none; color: var(--ink);
  width: 32px; height: 22px; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:""; position:absolute; left:0; width:100%; height:1.5px; background: var(--ink);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span{ top:50%; transform: translateY(-50%); }
.nav-toggle span::before{ top:-8px; }
.nav-toggle span::after{ top:8px; }
.nav-toggle.open span{ background: transparent; }
.nav-toggle.open span::before{ top:0; transform: rotate(45deg); }
.nav-toggle.open span::after{ top:0; transform: rotate(-45deg); }

@media (max-width: 900px){
  .nav-links{
    position:fixed; inset: 65px 0 0 0;
    background: var(--paper);
    flex-direction:column; align-items:flex-start;
    padding: 30px var(--edge);
    gap: 22px;
    transform: translateX(100%);
    transition: transform .3s var(--ease);
    overflow-y:auto;
  }
  .nav-links.open{ transform: translateX(0); }
  .site-header{ backdrop-filter:none; -webkit-backdrop-filter:none; background: var(--paper); }
  .nav-links li{ list-style:none; }
  .nav-links a{ font-size: 1.1rem; }
  .nav-toggle{ display:block; }
}

/* ---------- Tile-scan motif (signature element) ---------- */
.tile-scan{
  position:absolute; inset:0;
  display:grid;
  grid-template-columns: repeat(14, 1fr);
  grid-template-rows: repeat(9, 1fr);
  pointer-events:none;
  overflow:hidden;
}
.tile-scan div{
  border: 1px solid rgba(18,18,20,0.06);
}
.tile-scan .sweep{
  position:absolute; top:0; left:-15%; width:12%; height:100%;
  background: linear-gradient(90deg, transparent, rgba(156,43,78,0.10), transparent);
  animation: sweep 7s linear infinite;
}
@keyframes sweep{
  0%{ left:-15%; }
  100%{ left:105%; }
}
@media (prefers-reduced-motion: reduce){
  .tile-scan .sweep{ animation:none; display:none; }
}

/* ---------- Hero: orchestrated page-load reveal ---------- */
@keyframes reveal-up{
  from{ opacity:0; transform: translateY(20px); }
  to{ opacity:1; transform: translateY(0); }
}
.js .hero .eyebrow,
.js .hero h1,
.js .hero .lede,
.js .hero .hero-meta,
.js .hero .countdown,
.js .hero .hero-cta,
.js .hero .scan-panel{
  opacity:0;
  animation: reveal-up .7s var(--ease) forwards;
}
.js .hero .eyebrow{ animation-delay: .05s; }
.js .hero h1{ animation-delay: .16s; }
.js .hero .lede{ animation-delay: .30s; }
.js .hero .hero-meta{ animation-delay: .42s; }
.js .hero .countdown{ animation-delay: .52s; }
.js .hero .hero-cta{ animation-delay: .64s; }
.js .hero .scan-panel{ animation-duration: .8s; animation-delay: .30s; }

/* Eyebrow's leading rule draws in alongside the load sequence */
.js .hero .eyebrow::before{
  width:0;
  animation: eyebrow-draw .5s var(--ease) forwards;
  animation-delay: .32s;
}
@keyframes eyebrow-draw{ to{ width:22px; } }

/* Nav settles in last, once the hero content is underway */
.js .site-header{
  opacity:0;
  animation: reveal-up .5s var(--ease) .78s forwards;
}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  padding: 100px var(--edge) 80px;
  overflow:hidden;
  border-bottom: 1px solid var(--grey-200);
}
.hero-grid{
  max-width: var(--container);
  margin:0 auto;
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  position:relative; z-index:2;
  align-items:center;
}
.hero h1{ margin-bottom: 0.3em; }
.hero .lede{ margin-bottom: 1.8em; }
.hero-meta{
  display:flex; flex-wrap:wrap; gap: 28px;
  margin-bottom: 2.2em;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}
.hero-meta div{ display:flex; flex-direction:column; gap:4px; }
.hero-meta span{ color: var(--grey-500); font-size:0.68rem; letter-spacing:.08em; text-transform:uppercase; }
.hero-cta{ display:flex; gap: 14px; flex-wrap:wrap; }

.scan-panel{
  position:relative;
  aspect-ratio: 1/1;
  border: 1px solid var(--grey-300);
  background: var(--paper-dim);
  overflow:hidden;
}
.scan-panel-img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit: cover;
}
.scan-panel::after{
  content:"";
  position:absolute; inset:0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 24px, rgba(18,18,20,.05) 24px, rgba(18,18,20,.05) 25px),
    repeating-linear-gradient(90deg, transparent, transparent 24px, rgba(18,18,20,.05) 24px, rgba(18,18,20,.05) 25px);
}
.scan-panel .coords{
  position:absolute; bottom: 14px; left: 14px;
  font-family: var(--font-mono); font-size: 0.68rem; color: #fff;
  letter-spacing: .04em;
  padding: 5px 10px;
  background: rgba(18,18,20,.55);
  backdrop-filter: blur(2px);
}
.scan-panel .coords em{ color: #fff; font-weight:600; font-style:normal; }

/* ---------- Countdown ---------- */
.countdown{
  display:flex; gap: 18px; margin: 2em 0;
}
.countdown .unit{
  min-width: 74px;
  border: 1px solid var(--grey-300);
  padding: 14px 8px;
  text-align:center;
  background:#fff;
}
.countdown .num{
  font-family: var(--font-mono);
  font-size: 1.7rem;
  font-weight:600;
  color: var(--eosin);
  display:block;
}
.countdown .lbl{
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: .1em;
  text-transform:uppercase;
  color: var(--grey-500);
}

/* ---------- Sections ---------- */
section{ padding: 88px 0; }
.section-head{
  max-width: 680px;
  margin-bottom: 52px;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js .section-head{ opacity:0; transform: translateY(18px); }
.section-head.in-view{ opacity:1; transform: translateY(0); }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.divider{
  border:none; border-top: 1px solid var(--grey-200);
  margin: 0;
}
.band{ background: var(--paper-dim); }
.band-ink{ background: var(--ink); color: var(--paper); }
.band-ink h2, .band-ink h3{ color: var(--paper); }
.band-ink p{ color: var(--grey-300); }
.band-ink .eyebrow{ color: var(--eosin); }
.band-ink .divider{ border-color: rgba(255,255,255,.14); }

/* ---------- Grid utilities ---------- */
.grid{ display:grid; gap: 32px; }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px){
  .grid-3, .grid-4{ grid-template-columns: repeat(2,1fr); }
  .hero-grid{ grid-template-columns: 1fr; }
  .scan-panel{ order:-1; max-width: 320px; }
}
@media (max-width: 600px){
  .grid-2, .grid-3, .grid-4{ grid-template-columns: 1fr; }
  section{ padding: 60px 0; }
}

/* ---------- Cards ---------- */
.card{
  border: 1px solid var(--grey-200);
  background: #fff;
  padding: 32px;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease), opacity .6s var(--ease);
}
.js .card{ opacity:0; transform: translateY(20px); }
.card.in-view{ opacity:1; transform: translateY(0); }
.card:hover{ border-color: var(--eosin); transform: translateY(-4px); box-shadow: 0 16px 30px -18px rgba(18,18,20,.25); }
.card .num{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--eosin);
  display:block;
  margin-bottom: 14px;
  letter-spacing: .06em;
}
.stat{
  border-top: 1px solid var(--grey-300);
  padding-top: 18px;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.js .stat{ opacity:0; transform: translateY(14px); }
.stat.in-view{ opacity:1; transform: translateY(0); }
.grid-4 > .stat:nth-child(4n+1){ transition-delay: 0s; }
.grid-4 > .stat:nth-child(4n+2){ transition-delay: .07s; }
.grid-4 > .stat:nth-child(4n+3){ transition-delay: .14s; }
.grid-4 > .stat:nth-child(4n){ transition-delay: .21s; }
.stat .figure{
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight:700;
  display:block;
}
.stat .caption{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--grey-500);
  text-transform:uppercase;
  letter-spacing: .06em;
}

/* ---------- Tag / badge ---------- */
.tag{
  display:inline-block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: .06em;
  text-transform:uppercase;
  padding: 4px 10px;
  border: 1px solid var(--grey-300);
  color: var(--grey-700);
  border-radius: 100px;
  transition: border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.tag:hover{ border-color: var(--eosin); color: var(--eosin); transform: translateY(-1px); }
.tag-eosin{ border-color: var(--eosin); color: var(--eosin); background: var(--eosin-tint); }
.tag-sky{ border-color: var(--sky); color: var(--sky); background: var(--sky-tint); }
.tag-tba{ border-color: var(--grey-300); color: var(--grey-500); }

/* ---------- Speaker cards ---------- */
.speaker-card{
  cursor:pointer;
  border: 1px solid var(--grey-200);
  background:#fff;
  overflow:hidden;
}
.speaker-photo{
  aspect-ratio: 4/5;
  background: var(--paper-dim);
  position:relative;
  overflow:hidden;
  display:flex; align-items:center; justify-content:center;
}
.speaker-photo svg{ width:38%; opacity:.28; }
.speaker-body{ padding: 20px 22px 24px; }
.speaker-body h3{ font-size:1.1rem; margin-bottom:.15em; }
.speaker-role{ font-size:0.86rem; color: var(--eosin); margin-bottom: .2em; font-weight:600; }
.speaker-affil{ font-size:0.82rem; color: var(--grey-500); margin-bottom:0; }

/* ---------- Modal ---------- */
.modal-overlay{
  position:fixed; inset:0; background: rgba(18,18,20,.72);
  display:none; align-items:center; justify-content:center;
  padding: 24px; z-index: 200;
}
.modal-overlay.open{ display:flex; }
.modal{
  background:#fff; max-width: 620px; width:100%;
  max-height: 84vh; overflow-y:auto;
  padding: 40px;
  position:relative;
  border-top: 3px solid var(--eosin);
}
.modal-close{
  position:absolute; top:16px; right:16px;
  background:none; border:none; font-size:1.4rem; line-height:1;
  width: 32px; height:32px;
}

/* ---------- Timeline / agenda ---------- */
.day-tabs{
  display:flex; gap:2px; margin-bottom: 40px;
  border: 1px solid var(--grey-300);
  width:fit-content;
}
.day-tabs button{
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: .04em;
  padding: 12px 20px;
  background:#fff; border:none;
  border-right: 1px solid var(--grey-300);
}
.day-tabs button:last-child{ border-right:none; }
.day-tabs button.active{ background: var(--ink); color:#fff; }

.session{
  display:grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--grey-200);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.js .session{ opacity:0; transform: translateY(14px); }
.session.in-view{ opacity:1; transform: translateY(0); }
.session:last-child{ border-bottom: 1px solid var(--grey-200); }
.session-time{
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--grey-500);
  padding-top:2px;
}
.session-track{ margin-top:6px; }
.session h4{ font-family:var(--font-body); font-size:1.02rem; font-weight:700; margin-bottom:.35em; }
@media (max-width: 600px){
  .session{ grid-template-columns: 1fr; gap:6px; }
}

/* ---------- Pricing table ---------- */
.price-card{
  border: 1px solid var(--grey-200);
  background:#fff;
  padding: 34px 30px;
  display:flex; flex-direction:column;
  position:relative;
  transition: opacity .5s var(--ease), transform .3s var(--ease), border-color .25s var(--ease), box-shadow .3s var(--ease);
}
.js .price-card{ opacity:0; transform: translateY(18px); }
.price-card.in-view{ opacity:1; transform: translateY(0); }
.price-card:hover{ transform: translateY(-4px); box-shadow: 0 16px 30px -18px rgba(18,18,20,.22); }
.price-card.featured{ border-color: var(--eosin); }
.price-card.featured::before{
  content:"Early Bird";
  position:absolute; top:0; right:0;
  font-family: var(--font-mono); font-size:0.62rem; letter-spacing:.08em; text-transform:uppercase;
  background: var(--eosin); color:#fff; padding: 5px 12px;
}
.price-card .amount{
  font-family: var(--font-display); font-weight:700;
  font-size: 2.4rem; margin: 14px 0 4px;
}
.price-card .amount sup{ font-size:1rem; font-family: var(--font-mono); font-weight:400; }
.price-card ul{ margin: 20px 0 26px; display:flex; flex-direction:column; gap:10px; flex:1; }
.price-card li{ font-size:0.9rem; color: var(--grey-700); padding-left: 18px; position:relative; }
.price-card li::before{ content:"—"; position:absolute; left:0; color: var(--eosin); }

/* ---------- Accordion (FAQ) ---------- */
.accordion-item{
  border-top: 1px solid var(--grey-200);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.js .accordion-item{ opacity:0; transform: translateY(12px); }
.accordion-item.in-view{ opacity:1; transform: translateY(0); }
.accordion-item:last-child{ border-bottom: 1px solid var(--grey-200); }
.accordion-trigger{
  width:100%; text-align:left;
  background:none; border:none;
  padding: 22px 0;
  display:flex; justify-content:space-between; align-items:center;
  font-family: var(--font-body); font-weight:600; font-size:1.02rem;
  color: var(--ink);
}
.accordion-trigger .plus{
  font-family: var(--font-mono); font-size:1.2rem; color: var(--eosin);
  transition: transform .25s var(--ease);
  flex-shrink:0; margin-left:20px;
}
.accordion-item.open .plus{ transform: rotate(45deg); }
.accordion-panel{
  max-height:0; overflow:hidden;
  transition: max-height .3s var(--ease);
}
.accordion-panel p{ padding-bottom: 22px; margin:0; }

/* ---------- Forms ---------- */
.form-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field{ display:flex; flex-direction:column; gap: 8px; }
.field.full{ grid-column: 1 / -1; }
.field label{
  font-family: var(--font-mono); font-size:0.7rem; letter-spacing:.06em; text-transform:uppercase; color: var(--grey-700);
}
.field input, .field select, .field textarea{
  font-family: var(--font-body); font-size: 0.96rem;
  padding: 12px 14px;
  border: 1px solid var(--grey-300);
  background:#fff; border-radius: var(--radius); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline: none; border-color: var(--eosin);
}
.field textarea{ resize: vertical; min-height: 110px; }
.form-note{ font-size:0.82rem; color: var(--grey-500); margin-top: 6px; }
.form-success{
  display:none; border: 1px solid var(--eosin); background: var(--eosin-tint);
  padding: 20px; font-family: var(--font-mono); font-size:0.86rem; margin-top: 20px;
}
.form-success.show{ display:block; }
@media (max-width:600px){ .form-grid{ grid-template-columns: 1fr; } }

/* ---------- Logo placecards (co-organizers / supporting partners) ---------- */
.logo-row{
  display:flex; flex-wrap:wrap; gap: 14px;
  margin-top: 22px;
}
.logo-row-label{
  font-family: var(--font-mono); font-size:0.66rem; letter-spacing:.08em; text-transform:uppercase;
  color: var(--grey-500); margin-bottom: 10px; display:block;
}
.logo-card{
  display:flex; flex-direction:column; align-items:center; gap:8px;
  width: 148px;
  transition: opacity .5s var(--ease), transform .4s var(--ease);
}
.js .logo-card{ opacity:0; transform: translateY(14px); }
.logo-card.in-view{ opacity:1; transform: translateY(0); }
.logo-row > *:nth-child(5n+1){ transition-delay: 0s; }
.logo-row > *:nth-child(5n+2){ transition-delay: .06s; }
.logo-row > *:nth-child(5n+3){ transition-delay: .12s; }
.logo-row > *:nth-child(5n+4){ transition-delay: .18s; }
.logo-row > *:nth-child(5n){ transition-delay: .24s; }
.logo-frame{
  width:100%; height: 88px;
  border: 1px dashed var(--grey-300);
  background: var(--grey-100);
  display:flex; align-items:center; justify-content:center;
  color: var(--grey-300);
  padding: 10px;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.logo-frame.has-logo{
  border-style: solid;
  border-color: var(--grey-200);
  background: var(--grey-100);
}
.logo-card:hover .logo-frame.has-logo{ border-color: var(--eosin); transform: translateY(-2px); }
.logo-frame img{
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  transition: transform .35s var(--ease);
}
.logo-card:hover .logo-frame img{ transform: scale(1.04); }
.logo-frame svg{ width: 30px; height:30px; transition: color .25s var(--ease); }
.logo-card:hover .logo-frame:not(.has-logo) svg{ color: var(--eosin); }
/* Wide lockup card (e.g. NUS Biochemistry centenary) */
.logo-card--wide{ width: 100%; max-width: 560px; }
.logo-card--wide .logo-frame{ height: auto; min-height: 88px; padding: 14px 18px; background: #fff; }
.logo-card--wide .logo-frame img{ max-height: 110px; }
.logo-caption{
  font-family: var(--font-mono); font-size:0.68rem; text-align:center;
  color: var(--grey-700); line-height:1.4;
}

/* ---------- Committee blocks ---------- */
.committee-block{ margin-bottom: 44px; }
.committee-block:last-child{ margin-bottom:0; }
.committee-block h3{ margin-bottom: 18px; }
.committee-member{
  display:flex; align-items:center; gap: 20px;
  padding: 18px 10px;
  margin: 0 -10px;
  border-top: 1px solid var(--grey-200);
  border-radius: var(--radius);
  transition: opacity .5s var(--ease), transform .5s var(--ease), background-color .2s var(--ease);
}
.js .committee-member{ opacity:0; transform: translateY(14px); }
.committee-member.in-view{ opacity:1; transform: translateY(0); }
.committee-member:hover{ background-color: var(--paper-dim); }
.committee-member:last-child{ border-bottom: 1px solid var(--grey-200); }
.committee-avatar{
  width: 76px; height:76px; flex-shrink:0;
  border-radius: 50%;
  background: var(--paper-dim);
  display:flex; align-items:center; justify-content:center;
  color: var(--grey-300);
  overflow:hidden;
  transition: transform .3s var(--ease);
}
.committee-member:hover .committee-avatar{ transform: scale(1.08); }
.committee-member:nth-of-type(1){ transition-delay: 0s; }
.committee-member:nth-of-type(2){ transition-delay: .06s; }
.committee-member:nth-of-type(3){ transition-delay: .12s; }
.committee-member:nth-of-type(4){ transition-delay: .18s; }
.committee-member:nth-of-type(5){ transition-delay: .24s; }
.committee-member:nth-of-type(n+6){ transition-delay: .3s; }
.committee-avatar img{ width:100%; height:100%; object-fit:cover; }
.committee-avatar svg{ width:32px; height:32px; }
@media (max-width: 600px){
  .committee-avatar{ width: 60px; height:60px; }
}
.committee-info{ display:flex; flex-direction:column; gap:4px; min-width:0; }
.committee-info .who{ font-weight:600; font-size:1.05rem; }
.committee-info .role{ font-family: var(--font-mono); font-size:0.8rem; color: var(--grey-500); }

/* Steering committee: full-width block, members split into two sub-columns */
.committee-grid-full{
  display:grid; grid-template-columns: repeat(2, 1fr);
  gap: 0 56px;
}
@media (max-width: 700px){ .committee-grid-full{ grid-template-columns: 1fr; } }

/* Pathology / AI committees: side-by-side two-column section */
.committee-columns{
  display:grid; grid-template-columns: 1fr 1fr;
  gap: 48px;
}
@media (max-width: 700px){ .committee-columns{ grid-template-columns: 1fr; gap: 0; } }

/* ---------- Compact speaker grid (for 45-50+ speakers) ---------- */
.speaker-mini-grid{
  display:grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.speaker-mini{
  border: 1px solid var(--grey-200);
  background:#fff;
  padding: 14px 10px 16px;
  text-align:center;
  transition: opacity .5s var(--ease), transform .3s var(--ease), border-color .25s var(--ease), box-shadow .3s var(--ease);
}
.js .speaker-mini{ opacity:0; transform: translateY(16px); }
.speaker-mini.in-view{ opacity:1; transform: translateY(0); }
.speaker-mini:hover{ border-color: var(--eosin); transform: translateY(-3px); box-shadow: 0 10px 20px -14px rgba(18,18,20,.3); }
.speaker-mini .mini-photo{
  width: 64px; height:64px; overflow:hidden; margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--paper-dim);
  display:flex; align-items:center; justify-content:center;
  color: var(--grey-300);
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.speaker-mini:hover .mini-photo{ color: var(--eosin); transform: scale(1.08); }
.speaker-mini .mini-photo svg{ width:20px; height:20px; }
.speaker-mini .mini-name{ font-size:0.78rem; font-weight:600; margin-bottom:2px; }
.speaker-mini .mini-role{ font-family: var(--font-mono); font-size:0.62rem; color: var(--grey-500); }
.speaker-mini-grid > *:nth-child(6n+1){ transition-delay: 0s; }
.speaker-mini-grid > *:nth-child(6n+2){ transition-delay: .05s; }
.speaker-mini-grid > *:nth-child(6n+3){ transition-delay: .10s; }
.speaker-mini-grid > *:nth-child(6n+4){ transition-delay: .15s; }
.speaker-mini-grid > *:nth-child(6n+5){ transition-delay: .20s; }
.speaker-mini-grid > *:nth-child(6n){ transition-delay: .25s; }
@media (max-width: 900px){ .speaker-mini-grid{ grid-template-columns: repeat(4,1fr); } }
@media (max-width: 600px){ .speaker-mini-grid{ grid-template-columns: repeat(3,1fr); } }

/* ---------- Keynote speaker cards ---------- */
.speaker-key-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.speaker-key{
  border: 1px solid var(--grey-200);
  border-top: 3px solid var(--eosin);
  background:#fff;
  padding: 26px 18px 24px;
  text-align:center;
  transition: opacity .5s var(--ease), transform .3s var(--ease), border-color .25s var(--ease), box-shadow .3s var(--ease);
}
.js .speaker-key{ opacity:0; transform: translateY(16px); }
.speaker-key.in-view{ opacity:1; transform: translateY(0); }
.speaker-key:hover{ border-color: var(--eosin); transform: translateY(-3px); box-shadow: 0 14px 26px -16px rgba(18,18,20,.35); }
.speaker-key .key-photo{
  width: 112px; height:112px; margin: 0 auto 16px;
  border-radius: 50%; overflow:hidden;
  background: var(--paper-dim);
  display:flex; align-items:center; justify-content:center;
  color: var(--grey-300);
}
.speaker-key .key-photo img{ width:100%; height:100%; object-fit:cover; }
.speaker-key .key-photo svg{ width:44px; height:44px; }
.speaker-key .key-name{ font-family: var(--font-display, 'Playfair Display', serif); font-size:1.08rem; font-weight:600; margin-bottom:4px; }
.speaker-key .key-role{ font-size:0.8rem; color: var(--grey-700); line-height:1.4; margin-bottom:10px; }
.speaker-key .key-talk{ font-family: var(--font-mono); font-size:0.66rem; letter-spacing:.04em; color: var(--eosin); text-transform:uppercase; }
.speaker-key-grid > *:nth-child(4n+2){ transition-delay: .07s; }
.speaker-key-grid > *:nth-child(4n+3){ transition-delay: .14s; }
.speaker-key-grid > *:nth-child(4n){ transition-delay: .21s; }
@media (max-width: 900px){ .speaker-key-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px){ .speaker-key-grid{ grid-template-columns: 1fr; } }

.speaker-key .key-photo:has(img), .speaker-mini .mini-photo:has(img){ background:#fff; box-shadow: 0 0 0 1px var(--grey-200); }
.speaker-mini .mini-photo img{ width:100%; height:100%; object-fit:cover; }
.speaker-mini .mini-talk{ font-size:0.66rem; line-height:1.35; color: var(--eosin); margin-top:8px; }
.speaker-key .key-talk{ text-transform:none; letter-spacing:0; font-size:0.74rem; line-height:1.45; }
.committee-info .role-multi{ display:flex; flex-direction:column; gap:3px; }
.committee-info .role-line{ display:block; }

/* ---------- Sponsor logos ---------- */
.logo-slot{
  border: 1px solid var(--grey-200);
  height: 96px;
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-mono); font-size:0.72rem; color: var(--grey-500);
  text-transform:uppercase; letter-spacing:.06em;
  background:#fff;
  transition: opacity .5s var(--ease), transform .3s var(--ease), border-color .25s var(--ease);
}
.js .logo-slot{ opacity:0; transform: translateY(14px); }
.logo-slot.in-view{ opacity:1; transform: translateY(0); }
.logo-slot:hover{ border-color: var(--eosin); transform: translateY(-2px); }
.grid-4 > .logo-slot:nth-child(4n+1){ transition-delay: 0s; }
.grid-4 > .logo-slot:nth-child(4n+2){ transition-delay: .07s; }
.grid-4 > .logo-slot:nth-child(4n+3){ transition-delay: .14s; }
.grid-4 > .logo-slot:nth-child(4n){ transition-delay: .21s; }
.tier-heading{
  display:flex; align-items:baseline; gap:14px;
  margin: 44px 0 20px;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.js .tier-heading{ opacity:0; transform: translateY(12px); }
.tier-heading.in-view{ opacity:1; transform: translateY(0); }
.tier-heading:first-child{ margin-top:0; }
.tier-heading .count{ font-family: var(--font-mono); font-size:0.75rem; color: var(--grey-500); }

/* ---------- Table ---------- */
.table-wrap{ overflow-x:auto; }
table{ width:100%; border-collapse: collapse; font-size:0.92rem; }
th,td{ text-align:left; padding: 14px 16px; border-bottom: 1px solid var(--grey-200); }
th{ font-family: var(--font-mono); font-size:0.68rem; text-transform:uppercase; letter-spacing:.06em; color: var(--grey-500); }

/* ---------- Footer ---------- */
.site-footer{ background: var(--ink); color: var(--grey-300); padding: 70px 0 30px; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-grid h4{ color:#fff; font-family: var(--font-mono); font-size:0.72rem; letter-spacing:.08em; text-transform:uppercase; margin-bottom: 18px; }
.footer-grid a, .footer-grid p{ font-size:0.88rem; color: var(--grey-300); display:block; margin-bottom: 10px; }
.footer-grid a:hover{ color: var(--eosin); }
.footer-brand{ font-family: var(--font-display); font-size:1.3rem; color:#fff; margin-bottom: 14px; }
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 26px;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:14px;
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--grey-500);
}
.social-row{ display:flex; gap:16px; }
@media (max-width: 900px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width:600px){
  .footer-grid{ grid-template-columns: 1fr; }
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero{
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--grey-200);
  background: var(--paper-dim);
}
.breadcrumb{
  font-family: var(--font-mono); font-size:0.72rem; color: var(--grey-500);
  text-transform:uppercase; letter-spacing:.06em; margin-bottom: 18px;
}
.breadcrumb .sep{ margin: 0 8px; }

.download-row{ display:flex; gap:16px; flex-wrap:wrap; margin-top: 24px; }
.download-card{
  display:flex; align-items:center; gap:14px;
  border: 1px solid var(--grey-300); background:#fff;
  padding: 16px 20px;
}
.download-card .ext{
  font-family: var(--font-mono); font-size:0.68rem; font-weight:700;
  border: 1px solid var(--ink); padding: 3px 7px;
}
.download-card .meta{ display:flex; flex-direction:column; }
.download-card .meta strong{ font-size:0.92rem; }
.download-card .meta span{ font-size:0.74rem; color: var(--grey-500); font-family: var(--font-mono); }

/* ---------- misc ---------- */
.text-center{ text-align:center; }
.mt-0{ margin-top:0; }
.small-print{ font-size:0.8rem; color: var(--grey-500); }
.hairline{ height:1px; background: var(--grey-200); border:none; margin: 60px 0; }

/* ==========================================================================
   Opening animation — "diagnostic scan" intro
   Full-screen overlay: a scan-line sweeps across a dark tile grid while
   each co-organiser logo locks into a targeting bracket in sequence, the
   AiDP 2027 wordmark builds up, then the whole thing wipes away on its own
   (pure CSS, animation-fill: forwards — no JS required to disappear).
   ========================================================================== */
.intro{
  position: fixed;
  inset: 0;
  z-index: 500;
  background: var(--intro-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  animation: intro-wipe-out .65s var(--ease) forwards;
  animation-delay: 4.5s;
}
@keyframes intro-wipe-out{
  0%{   opacity: 1; transform: scale(1);    visibility: visible; pointer-events: auto; }
  80%{  opacity: 0; transform: scale(1.03); pointer-events: none; }
  100%{ opacity: 0; transform: scale(1.03); visibility: hidden;  pointer-events: none; }
}

.intro-tile-scan{
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 38px, rgba(18,18,20,.055) 38px, rgba(18,18,20,.055) 39px),
    repeating-linear-gradient(90deg, transparent, transparent 38px, rgba(18,18,20,.055) 38px, rgba(18,18,20,.055) 39px);
}
.intro-tile-scan::after{
  content:"";
  position:absolute; top:0; left:-18%; width:20%; height:100%;
  background: linear-gradient(90deg, transparent, rgba(156,43,78,.4), transparent);
  animation: intro-sweep-move 1.7s var(--ease) 1;
}
@keyframes intro-sweep-move{
  from{ left:-18%; }
  to{ left:106%; }
}

.intro-content{
  position: relative; z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.intro-eyebrow{
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--eosin);
  opacity: 0;
  animation: reveal-up .55s var(--ease) .05s forwards;
}
.intro-wordmark{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 7.5vw, 4.6rem);
  color: var(--ink);
  margin: 0.1em 0 0.3em;
  opacity: 0;
  animation: reveal-up .6s var(--ease) .18s forwards;
}
.intro-wordmark span{ color: var(--eosin); }
.intro-label{
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-700);
  font-weight: 500;
  margin-bottom: 22px;
  opacity: 0;
  animation: reveal-up .5s var(--ease) .38s forwards;
}

.intro-logos{
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 32px;
}
.intro-logo-slot{
  position: relative;
  width: 168px; height: 108px;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  padding: 8px;
  opacity: 0;
  transform: scale(.8);
  animation: intro-logo-lock .5s var(--ease) forwards;
  animation-delay: calc(.55s + var(--i) * .2s);
}
.intro-logo-slot img{ max-width: 100%; max-height: 100%; object-fit: contain; }
.intro-logo-slot::before,
.intro-logo-slot::after{
  content: "";
  position: absolute;
  width: 13px; height: 13px;
  border: 2px solid var(--eosin);
  opacity: 0;
  animation: intro-bracket-flash .3s var(--ease) forwards;
  animation-delay: calc(.42s + var(--i) * .2s);
}
.intro-logo-slot::before{ top: -6px; left: -6px; border-right: none; border-bottom: none; }
.intro-logo-slot::after{  bottom: -6px; right: -6px; border-left: none; border-top: none; }
@keyframes intro-logo-lock{
  0%{   opacity: 0; transform: scale(.8); }
  60%{  opacity: 1; transform: scale(1.06); }
  100%{ opacity: 1; transform: scale(1); }
}
@keyframes intro-bracket-flash{
  0%{ opacity: 0; }
  100%{ opacity: 1; }
}

.intro-subtitle{
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: var(--grey-700);
  font-weight: 500;
  letter-spacing: .04em;
  opacity: 0;
  animation: reveal-up .5s var(--ease) 1.6s forwards;
}

.intro-skip{
  position: absolute;
  right: 24px; bottom: 24px;
  z-index: 3;
  background: none; border: none;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--grey-700);
  opacity: 0;
  animation: reveal-up .5s var(--ease) .8s forwards;
  transition: color .2s var(--ease);
}
.intro-skip:hover{ color: var(--eosin); }

@media (max-width: 560px){
  .intro-logo-slot{ width: 120px; height: 80px; padding: 6px; }
  .intro-logos{ gap: 16px; }
}

/* Reduced motion: skip the intro outright rather than force a static pause */
@media (prefers-reduced-motion: reduce){
  .intro{ animation: none !important; opacity: 0; visibility: hidden; pointer-events: none; }
}

/* Keep the off-canvas mobile menu from causing sideways scroll */
html, body{ overflow-x: clip; }

/* Mobile: header fades in without a transform, so the fixed menu panel can fill the screen */
@keyframes header-fade{ to{ opacity:1; } }
@media (max-width: 900px){
  .js .site-header{ animation: header-fade .5s var(--ease) .78s forwards; }
}

/* ---------- Speaker bio pop-up ---------- */
.has-bio{ cursor:pointer; position:relative; }
.has-bio:focus-visible{ outline: 2px solid var(--eosin); outline-offset: 3px; }
.bio-cue{
  display:inline-block; margin-top: 12px;
  font-family: var(--font-mono); font-size:0.62rem; letter-spacing:.08em; text-transform:uppercase;
  color: var(--ink); border-bottom: 1px solid currentColor; padding-bottom: 1px;
  transition: color .2s var(--ease);
}
.speaker-mini .bio-cue{ font-size:0.56rem; margin-top:10px; }
.has-bio:hover .bio-cue{ color: var(--eosin); }
.bio-modal{ max-width: 660px; padding: 40px 40px 36px; }
.bio-head{ display:flex; gap: 22px; align-items:center; margin-bottom: 18px; padding-right: 28px; }
.bio-photo{
  width: 104px; height:104px; flex-shrink:0; border-radius:50%; overflow:hidden;
  background:#fff; box-shadow: 0 0 0 1px var(--grey-200);
}
.bio-photo img{ width:100%; height:100%; object-fit:cover; }
.bio-tier{
  font-family: var(--font-mono); font-size:0.64rem; letter-spacing:.1em; text-transform:uppercase;
  color: var(--sky, #4E7FA6); margin: 0 0 6px;
}
.bio-modal h3{ font-family: var(--font-display); font-size:1.5rem; margin:0 0 6px; }
.bio-role{ font-size:0.86rem; color: var(--grey-700); line-height:1.45; margin:0; }
.bio-talk{
  font-size:0.88rem; line-height:1.5; color: var(--eosin);
  border-left: 2px solid var(--eosin); padding: 2px 0 2px 14px; margin: 0 0 20px;
}
.bio-talk:empty{ display:none; }
.bio-body p{ font-size:0.92rem; line-height:1.7; color: var(--grey-700); margin: 0 0 1em; }
.bio-body p:last-child{ margin-bottom:0; }
.bio-body a{ color: var(--eosin); border-bottom: 1px solid currentColor; }
body.modal-lock{ overflow:hidden; }
@media (max-width: 600px){
  .bio-modal{ padding: 32px 22px 26px; max-height: 88vh; }
  .bio-head{ flex-direction:column; align-items:flex-start; gap:14px; }
  .bio-photo{ width: 84px; height:84px; }
}

/* Pop-up sections: abstract + bio */
.bio-section{ border-top: 1px solid var(--grey-200); padding-top: 18px; margin-top: 4px; }
.bio-section + .bio-section{ margin-top: 22px; }
.bio-label{
  font-family: var(--font-mono); font-size:0.62rem; letter-spacing:.1em; text-transform:uppercase;
  color: var(--grey-500); margin: 0 0 10px;
}
.bio-section .bio-talk{ font-family: var(--font-display); font-size:1.05rem; color: var(--ink); border-left:none; padding:0; margin: 0 0 12px; }
.bio-abstract p{ font-size:0.92rem; line-height:1.7; color: var(--grey-700); margin: 0 0 1em; }
.bio-abstract p:last-child{ margin-bottom:0; }

/* Legal pages (privacy, terms) */
.legal{ max-width: 780px; }
.legal h2{ font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin: 2.2em 0 .6em; }
.legal h3{ font-size: 1.05rem; margin: 1.6em 0 .4em; }
.legal p, .legal li{ line-height: 1.7; }
.legal ul{ padding-left: 1.3em; margin: .6em 0 1em; }
.legal-table{ overflow-x:auto; margin: 1em 0; }
.legal-table table{ border-collapse: collapse; width:100%; min-width: 480px; }
.legal-table th, .legal-table td{ border:1px solid rgba(18,18,20,.15); padding: 10px 12px; text-align:left; vertical-align:top; }
.legal-table th{ background: rgba(18,18,20,.05); }
.legal .meta{ color: rgba(18,18,20,.65); font-size:.92rem; }
mark.confirm{ background:#ffe58a; color:#121214; padding:1px 4px; }

/* Speakers still to be confirmed */
.speaker-placeholder{ cursor:default; border-style:dashed; border-top-style:dashed; background:transparent; }
.speaker-key.speaker-placeholder{ border-top: 1px dashed var(--grey-300); }
.speaker-placeholder:hover{ transform:none; box-shadow:none; border-color: var(--grey-300); }
.speaker-placeholder .key-photo, .speaker-placeholder .mini-photo{ color: var(--grey-300); background: var(--paper-dim); }
.speaker-placeholder:hover .mini-photo{ color: var(--grey-300); transform:none; }
.speaker-placeholder .key-name, .speaker-placeholder .mini-name{ color: var(--grey-500); }
.speaker-placeholder .key-role, .speaker-placeholder .mini-role{ color: var(--grey-500); font-style:italic; margin-bottom:0; }
.speaker-placeholder .key-photo svg{ width:44px; height:44px; }
.speaker-placeholder .mini-photo svg{ width:26px; height:26px; }
.speaker-note, .committee-note{ margin-top:18px; font-style:italic; }
.section-head .committee-note{ margin-top:10px; }


/* ---------- Fireside chat & panel sessions ---------- */
.sessions-intro{ max-width: 62ch; color: var(--grey-700); margin: -6px 0 26px; }
.session-card{ display:flex; flex-direction:column; }
.session-card:hover{ transform:none; }
.session-day{
  font-family: var(--font-mono); font-size:0.72rem; letter-spacing:.06em;
  text-transform:uppercase; color: var(--eosin); margin-bottom: 14px;
}
.session-card h4{ font-family: var(--font-display); font-size:1.4rem; line-height:1.2; margin-bottom: 6px; }
.session-sub{ font-weight:600; color: var(--ink-soft); margin-bottom: 16px; }
.session-status{
  align-self:flex-start; font-family: var(--font-mono); font-size:0.7rem; letter-spacing:.04em;
  color: var(--sky-dark); background: var(--sky-tint); padding: 5px 10px; margin-bottom: 18px;
}
.session-card p:not(.session-sub):not(.session-status){ font-size:0.92rem; color: var(--grey-700); margin-bottom: 12px; }
@media (max-width: 900px){ .session-grid{ grid-template-columns: 1fr; } }

/* In collaboration with */
.collab-row{ margin-top: 40px; gap: 16px; }
.logo-card--collab{ width: 100%; max-width: 240px; align-items:flex-start; }
.logo-card--collab .logo-frame{ height: 170px; padding: 16px; background: var(--grey-100); }
.logo-card--collab .logo-frame img{ max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain; }
.logo-card--collab .logo-caption{ text-align:left; }
.collab-group{ flex: 1 1 220px; max-width: 240px; min-width: 0; }
.collab-group .logo-row-label{ min-height: 2.6em; }

/* Representative tag beside a committee member's name */
.who-tag{
  display:inline-block; margin-left: 8px; vertical-align: 2px;
  font-family: var(--font-mono); font-size: 0.66rem; font-weight: 500; letter-spacing: .04em;
  text-transform: uppercase; color: var(--sky-dark); background: var(--sky-tint);
  padding: 3px 8px; white-space: nowrap;
}
