/* ===========================================================================
   AiLIFE seminar series — stylesheet (v2, editorial redesign)

   Identity: University of Helsinki tokens (mainBlue 70/80/90, yellow 05/20)
   on a quiet paper base. One saturated accent per band: UH blue on light
   bands, amber for "next" and the AiLIFE Radar, pale cyan only on dark bands.
   Type: Fraunces (display, light weights) · Inter (UI/body) ·
   IBM Plex Mono (uppercase "lab-notebook" meta layer).
   =========================================================================== */
:root {
  /* Surfaces */
  --paper: #f7f6f2;            /* page base: barely-warm paper */
  --paper-2: #efede6;          /* alternate band */
  --white: #ffffff;            /* cards lift off the paper without shadows */
  /* Ink */
  --ink: #0f1a24;              /* navy-tinted near-black */
  --ink-2: #3d4954;
  --muted: #6b7682;
  --line: #dedad1;             /* warm hairline that matches the paper */
  /* University of Helsinki blues */
  --uh-blue: #005a94;          /* mainBlue-70: links, primary buttons */
  --navy-80: #003152;          /* mainBlue-80 */
  --navy-90: #001929;          /* mainBlue-90: dark bands */
  /* Accents */
  --amber: #ffb000;            /* next seminar, radar */
  --amber-05: #fff1db;         /* UH yellow-05 */
  --amber-20: #ffd799;         /* UH yellow-20 */
  --amber-ink: #6b4500;
  --cyan: #8fd8ef;             /* only on dark bands */
  /* Topic strand tints (chip bg / chip text) */
  --t-azure-bg: #e4eff8;       --t-azure: #00507f;
  --t-antho-bg: #eee8f6;       --t-antho: #4f2f7a;
  --t-lichen-bg: #ebf1d9;      --t-lichen: #475a10;
  --t-amber-bg: #fff1db;       --t-amber: #6b4500;
  /* Status */
  --ok: #1e7a3a; --warn: #9a5b00; --bad: #b3261e;
  /* Shape & motion */
  --r-1: 4px; --r-2: 8px; --r-pill: 999px;
  --lift: 0 14px 34px rgba(0, 25, 41, .10);
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* Type */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-sans); color: var(--ink); background: var(--paper);
  line-height: 1.62; font-size: 17px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--uh-blue); text-decoration: none; box-shadow: inset 0 -1px 0 currentColor; transition: box-shadow .15s var(--ease), color .15s; }
a:hover { box-shadow: inset 0 -2px 0 currentColor; }
a.btn, .nav a, .brand, .mini-card, .logo-item, .more, .skip-link { box-shadow: none; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.02em; }
h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 3.2vw, 2.4rem); letter-spacing: -.025em; font-variation-settings: "opsz" 96, "SOFT" 50; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
strong { font-weight: 600; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--amber); color: #000; padding: 8px 12px; border-radius: var(--r-1); z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 2px; }

/* ---- Mono "lab-notebook" eyebrow --------------------------------------- */
.eyebrow, .kicker {
  font-family: var(--font-mono); font-size: .74rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: .14em; color: var(--muted); margin: 0 0 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px;
  font-variant-numeric: tabular-nums;
}
.eyebrow::before, .kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--uh-blue); flex: none; }
.eyebrow-light, .page-head .kicker { color: rgba(255,255,255,.72); }
.eyebrow-light::before, .page-head .kicker::before { background: var(--amber); }
.eyebrow-amber { color: var(--amber-ink); }
.eyebrow-amber::before { background: var(--amber); box-shadow: 0 0 0 4px rgba(255,176,0,.22); }
.eyebrow-sep { opacity: .5; }

/* ---- Header (glass on scroll) ------------------------------------------ */
.site-header { background: #000; color: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,.08); transition: background .25s var(--ease); }
.site-header.is-scrolled { background: rgba(0, 8, 14, .78); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand img { height: 48px; width: auto; }
.nav { display: flex; gap: 2px; }
.nav a { color: rgba(255,255,255,.78); padding: 8px 14px; border-radius: var(--r-pill); font-weight: 500; font-size: .93rem; transition: color .15s, background .15s; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; transition: transform .2s, opacity .2s; }
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #000; flex-direction: column; padding: 8px 16px 16px; border-bottom: 1px solid #222; }
  body.nav-open .nav { display: flex; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---- Dark bands: hero, page heads, CTA --------------------------------- */
.hero, .page-head, .cta-band {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background:
    radial-gradient(900px 480px at 88% -8%, rgba(255,176,0,.20), transparent 60%),
    radial-gradient(700px 500px at -5% 110%, rgba(0,90,148,.45), transparent 60%),
    linear-gradient(160deg, #000 0%, var(--navy-90) 42%, var(--navy-80) 100%);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero {
  /* Fill the first screen on laptops, but stop growing on very large monitors:
     viewport height minus the sticky header, capped at 860px. */
  --header-h: 72px;
  min-height: min(calc(100vh - var(--header-h)), 860px);
  min-height: min(calc(100svh - var(--header-h)), 860px);
  display: flex; align-items: center;
  padding: 32px 0 56px;
}
.hero-inner { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.hero-text { padding-bottom: 28px; }
/* Scroll cue, bottom-right of the hero */
.scroll-cue { position: absolute; right: 28px; bottom: 22px; display: flex; flex-direction: column; align-items: center; gap: 6px; color: rgba(255,255,255,.72); font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; box-shadow: none; transition: color .15s; }
.scroll-cue:hover { color: #fff; box-shadow: none; }
.scroll-cue svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 760px) { .scroll-cue { display: none; } }
.hero-inner { position: relative; }
.series-title {
  font-family: var(--font-display); font-weight: 300; font-size: clamp(2.6rem, 6.6vw, 5.6rem);
  line-height: 1.08; letter-spacing: -.035em; margin: 0 0 22px; max-width: 15ch;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
@keyframes heroIn { from { opacity: 0; transform: translateY(.5em); } to { opacity: 1; transform: none; } }
.hero-inner > .eyebrow, .series-title, .series-meta, .page-head h1, .page-head .kicker { animation: heroIn .8s var(--ease) both; }
.series-title, .page-head h1 { animation-delay: .08s; }
.series-meta { animation-delay: .22s; }
.series-title em { font-style: italic; font-weight: 300; color: var(--amber-20); }
.eyebrow-hero { font-size: 1.05rem; color: rgba(255,255,255,.9); margin-bottom: 22px; text-transform: none; letter-spacing: .04em; }
.eyebrow-hero strong { font-weight: 600; color: #fff; letter-spacing: .1em; }
.series-meta { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .06em; color: rgba(255,255,255,.62); margin: 0; }

/* ---- Next-seminar card: the one dramatic object ------------------------ */
.hero-card {
  position: relative; background: var(--white); color: var(--ink);
  border-radius: 20px 20px 20px 4px; overflow: hidden;
  display: grid; grid-template-columns: 200px 1fr;
  box-shadow: 0 30px 80px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.06);
}
.hero-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--amber), var(--uh-blue)); transition: height .25s var(--ease); z-index: 1; }
.hero-card:hover::before { height: 7px; }
.hero-date-block { background: var(--amber-05); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 16px; text-align: center; border-right: 1px solid #f3dfb8; gap: 2px; }
.hero-date-dow, .hero-date-mon, .hero-date-time { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .14em; font-size: .9rem; color: var(--amber-ink); }
.hero-date-day { font-family: var(--font-display); font-weight: 300; font-size: 6.2rem; line-height: .95; letter-spacing: -.05em; color: var(--navy-90); font-variation-settings: "opsz" 144; font-variant-numeric: lining-nums; }
.hero-date-time { margin-top: 8px; color: var(--muted); letter-spacing: .06em; }
.hero-body { padding: 34px 38px 30px; }
/* "Next seminar" label: a quiet italic serif line instead of a mono uppercase eyebrow.
   The date and time are already in the date block, so they are not repeated here. */
.next-label { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 1.05rem; letter-spacing: 0; color: var(--amber-ink); margin: 0 0 6px; font-variation-settings: "opsz" 24, "SOFT" 50; }
.hero-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.025em; margin: 0 0 16px; font-variation-settings: "opsz" 96, "SOFT" 50; }
.hero-speakers, .sem-speakers { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0 0 14px; }
.hero-card.has-photo { grid-template-columns: 200px 1fr 260px; }
.hero-photo-col { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 16px; padding: 28px 28px 28px 0; }
.hero-photo { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero-photo img { width: 196px; height: 196px; object-fit: cover; border-radius: 24px 24px 24px 6px; box-shadow: 0 0 0 1px var(--line), 0 18px 40px rgba(0,25,41,.18); filter: saturate(.92); }
.hero-photo figcaption { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hero-photo-col figure + figure img { width: 120px; height: 120px; }
@media (max-width: 1000px) { .hero-card.has-photo { grid-template-columns: 170px 1fr 200px; } .hero-photo img { width: 150px; height: 150px; } }
.hero-card.has-photo .hero-speakers .speaker-photo { display: none; }
@media (max-width: 760px) {
  .hero-card.has-photo { grid-template-columns: 1fr; }
  .hero-photo-col { display: none; }
  .hero-card.has-photo .hero-speakers .speaker-photo { display: block; }
}
.speaker { display: flex; align-items: center; gap: 12px; }
.speaker-text { display: flex; flex-direction: column; }
.speaker strong { font-size: 1.06rem; font-weight: 600; }
.speaker strong a { color: inherit; }
.speaker-aff { color: var(--muted); font-size: .9rem; }
.speaker-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--uh-blue); }
.hero-radar, .sem-radar { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 6px 14px 6px 10px; font-size: .92rem; display: inline-flex; align-items: center; gap: 8px; margin: 2px 0 16px; }
.hero-radar strong, .sem-radar strong { white-space: nowrap; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: var(--amber-ink); }
.radar-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(255,176,0,.25); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(255,176,0,.28);} 50% { box-shadow: 0 0 0 8px rgba(255,176,0,.06);} }
.hero-venue { color: var(--ink-2); margin: 0 0 6px; line-height: 1.8; }
.hero-venue .hybrid-pill { margin-left: 6px; }
.hero-localtime { color: var(--muted); font-family: var(--font-mono); font-size: .76rem; letter-spacing: .04em; margin: 0 0 20px; }
.ico { width: 17px; height: 17px; color: var(--uh-blue); display: inline-block; vertical-align: -3px; margin-right: 4px; }
.hybrid-pill { white-space: nowrap; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--t-azure); background: var(--t-azure-bg); border-radius: var(--r-pill); padding: 3px 10px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 4px; }
.hero-status { margin: 10px 0 0; }
.hero-lead { color: var(--ink-2); }
.notice { background: var(--amber-05); border: 1px solid var(--amber-20); color: var(--amber-ink); border-radius: var(--r-2); padding: 8px 12px; font-size: .94rem; margin: 0 0 14px; }
@media (max-width: 760px) {
  .hero { padding: 24px 0 48px; min-height: 0; }
  .hero-text { padding-bottom: 0; }
  .hero > .hero-canvas { opacity: .5; }
  .eyebrow-hero .eyebrow-sep { display: none; }
  .eyebrow-tagline { flex-basis: 100%; }
  .series-meta { margin-bottom: 28px; }
  .hero-card { grid-template-columns: 1fr; border-radius: 16px 16px 16px 4px; }
  .hero-date-block { flex-direction: row; flex-wrap: wrap; gap: 4px 12px; justify-content: flex-start; align-items: baseline; padding: 18px 20px 14px; border-right: 0; border-bottom: 1px solid #f3dfb8; }
  .hero-date-day { font-size: 2.8rem; order: -1; }
  .hero-date-time { margin-top: 0; }
  .hero-body { padding: 22px 20px 22px; }
  .eyebrow-date { display: none; }
  .hero-radar, .sem-radar { display: flex; align-items: flex-start; flex-wrap: wrap; border-radius: var(--r-2); padding: 8px 12px; }
  .radar-dot { margin-top: 5px; }
}

/* ---- Buttons, badges, chips -------------------------------------------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: var(--r-pill); font-weight: 600; font-size: .93rem; border: 1px solid transparent; transition: transform .15s var(--ease), background .15s, border-color .15s, color .15s; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--uh-blue); color: #fff; }
.btn-primary:hover { background: var(--navy-80); }
.btn-ghost { background: transparent; color: var(--uh-blue); border-color: rgba(0,90,148,.45); }
.btn-ghost:hover { border-color: var(--uh-blue); background: rgba(0,90,148,.05); }
.btn-amber { background: var(--amber); color: #1a1200; }
.btn-amber:hover { background: #ffc233; }
.btn-light { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-small { padding: 6px 14px; font-size: .82rem; background: var(--white); color: var(--ink); border-color: var(--line); font-weight: 500; }
.btn-small:hover { border-color: var(--uh-blue); color: var(--uh-blue); }
.badge { display: inline-block; font-family: var(--font-mono); font-size: .66rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; padding: 3px 10px; border-radius: var(--r-pill); }
.badge-confirmed { background: #e3f2e7; color: var(--ok); }
.badge-tentative { background: var(--amber-05); color: var(--warn); }
.badge-cancelled { background: #fbe4e2; color: var(--bad); }
.badge-recording { background: var(--t-azure-bg); color: var(--t-azure); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.tag { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; border-radius: var(--r-pill); padding: 4px 11px; background: var(--paper-2); color: var(--ink-2); }
.tag-azure { background: var(--t-azure-bg); color: var(--t-azure); }
.tag-anthocyanin { background: var(--t-antho-bg); color: var(--t-antho); }
.tag-lichen { background: var(--t-lichen-bg); color: var(--t-lichen); }
.tag-amber { background: var(--t-amber-bg); color: var(--t-amber); }

/* ---- Sections ----------------------------------------------------------- */
.section { padding: 88px 0; }
.section-tint {
  background-color: var(--paper-2);
  /* faint hexagonal lattice: molecular bonds, 4% ink */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cg fill='none' stroke='%230f1a24' stroke-opacity='.045' stroke-width='1'%3E%3Cpath d='M28 1l27 16v32L28 65 1 49V17z'/%3E%3Cpath d='M28 65v32M1 49L-26 65M55 49l27 16'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 56px 97px;
}
.section-white { background: var(--white); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.more { font-weight: 600; white-space: nowrap; font-size: .95rem; }
.more:hover { text-decoration: underline; text-underline-offset: 3px; }
.grid-2 { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 760px) { .section { padding: 56px 0; } }
.lead { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.45; color: var(--ink); letter-spacing: -.01em; font-variation-settings: "opsz" 48, "SOFT" 50; }
.lead-narrow { font-size: 1.08rem; color: var(--ink-2); max-width: 68ch; }
.grid-2 > div > p { max-width: 68ch; }
.page-head { padding: 36px 0; min-height: 300px; display: flex; align-items: center; }
.page-head > .wrap { width: min(var(--wrap), 100% - 32px); position: relative; }
@media (max-width: 760px) { .page-head { min-height: 240px; padding: 28px 0; } }
.page-head h1 { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.4rem, 5.4vw, 4.2rem); letter-spacing: -.035em; line-height: 1; margin: 0 0 18px; font-variation-settings: "opsz" 144, "SOFT" 50; }
.page-head .lead-narrow { color: rgba(255,255,255,.82); }
.page-head a:not(.btn) { color: var(--amber-20); }
.page-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.page-head .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.page-head .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.page-head .btn-primary { background: var(--amber); color: #1a1200; }
.page-head .btn-primary:hover { background: #ffc233; }

.facts { background: var(--white); border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; padding: 28px 30px; }
.facts dl { margin: 0; }
.facts dt { font-family: var(--font-mono); font-weight: 500; font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.facts dt:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.facts dd { margin: 6px 0 0; color: var(--ink-2); }

.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .mini-grid { grid-template-columns: 1fr; } }
.mini-card { position: relative; display: flex; flex-direction: column; gap: 6px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-2) var(--r-2) var(--r-2) 2px; padding: 22px 22px 20px; color: inherit; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.mini-card::after { content: "›"; position: absolute; right: 18px; top: 16px; font-size: 1.4rem; color: var(--muted); transition: transform .2s var(--ease), color .2s; }
.mini-card:hover { transform: translateY(-2px); box-shadow: var(--lift); border-color: transparent; }
.mini-card:hover::after { transform: translateX(3px); color: var(--uh-blue); }
.mini-date { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; color: var(--uh-blue); }
.mini-speaker { font-weight: 600; font-size: 1.04rem; }
.mini-title { color: var(--muted); font-size: .92rem; }

.logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 32px; }
.logo-item { background: var(--white); padding: 14px 22px; border-radius: var(--r-2); border: 1px solid var(--line); transition: border-color .2s, transform .2s var(--ease); }
.logo-item:hover { border-color: var(--uh-blue); transform: translateY(-1px); }
.logo-item img { height: 52px; width: auto; max-width: 220px; object-fit: contain; }

/* ---- About: single column, both paragraphs in the same style ------------- */
.about-text { font-size: 1.12rem; line-height: 1.7; color: var(--ink-2); max-width: 70ch; }

/* ---- Topics: numbered editorial index (heading left, four rows right) ------- */
.topics { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: 72px; align-items: start; }
.topics-head h2 { margin: 0; }
.topic-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.topic { display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; padding: 26px 0 28px; border-bottom: 1px solid var(--line); }
.topic-no { grid-row: span 2; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em; color: var(--muted); padding-top: .55em; }
.topic-title { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.6rem, 2.6vw, 2.1rem); letter-spacing: -.025em; line-height: 1.1; margin: 0 0 10px; font-variation-settings: "opsz" 96, "SOFT" 50; transition: color .2s; }
.topic-text { color: var(--ink-2); margin: 0; max-width: 56ch; }
.topic:hover .topic-title { color: var(--uh-blue); }
.topic:hover .topic-no { color: var(--amber-ink); }
@media (max-width: 900px) {
  .topics { grid-template-columns: 1fr; gap: 28px; }
  .topic { grid-template-columns: 44px 1fr; padding: 20px 0 22px; }
}

/* ---- Experimental bio motifs --------------------------------------------- */
/* Cell blobs: soft organelle-like shapes, very slow morph, static under reduced motion. */
.has-cells { position: relative; overflow: hidden; }
.has-cells > .wrap { position: relative; }
.cells { position: absolute; inset: 0; pointer-events: none; }
.cell { position: absolute; display: block; filter: blur(34px); opacity: .55; border-radius: 48% 52% 60% 40% / 50% 45% 55% 50%; animation: morph 26s ease-in-out infinite alternate; }
.cell-a { width: 420px; height: 340px; left: -120px; top: -80px; background: var(--t-azure-bg); }
.cell-b { width: 360px; height: 300px; right: -100px; top: 20px; background: var(--t-antho-bg); animation-delay: -9s; }
.cell-c { width: 300px; height: 260px; left: 42%; bottom: -140px; background: var(--t-lichen-bg); animation-delay: -17s; }
@keyframes morph {
  0% { border-radius: 48% 52% 60% 40% / 50% 45% 55% 50%; transform: translate(0,0) rotate(0deg); }
  50% { border-radius: 55% 45% 42% 58% / 42% 58% 46% 54%; transform: translate(18px,-12px) rotate(6deg); }
  100% { border-radius: 42% 58% 52% 48% / 56% 40% 60% 44%; transform: translate(-10px,14px) rotate(-4deg); }
}
/* Gradient-clipped keyword in the hero title (static). */
.grad-word {
  background: linear-gradient(95deg, var(--amber-20) 0%, #ffe2a8 45%, var(--cyan) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  /* italic glyphs overhang their box; pad the painted area so the final "s" is not clipped */
  display: inline-block; padding: .12em .14em .28em .04em; margin: -.12em -.14em -.28em -.04em;
}
/* Film grain on dark bands: static SVG noise, screen-blended. */
.hero::after, .page-head::after, .cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .14; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
/* Hand-drawn squiggle under nav links on hover. */
.nav a { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 103 9'%3E%3Cpath d='M1 5c8-4 12 4 20 0s12 4 20 0 12 4 20 0 12 4 20 0 12 4 21 0' fill='none' stroke='%23ffb000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 14px calc(100% - 3px) / 0 7px; transition: background-size .5s cubic-bezier(.215,.61,.355,1), color .15s, background-color .15s; }
.nav a:hover { background-size: calc(100% - 28px) 7px; }
@media (prefers-reduced-motion: reduce) {
  .cell { animation: none; }
  .nav a { transition: none; }
}

/* ---- CTA band ----------------------------------------------------------- */
.cta-band { padding: 84px 0; }
.cta-inner { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; }
.cta-band h2 { color: #fff; font-weight: 300; font-size: clamp(2rem, 4vw, 3rem); max-width: 18ch; margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,.78); max-width: 52ch; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
@media (max-width: 900px) { .cta-inner { grid-template-columns: 1fr; } .cta-actions { justify-content: flex-start; } }

/* ---- Seminar cards (programme) ----------------------------------------- */
.sem-list { display: flex; flex-direction: column; gap: 14px; }
.sem-card { display: grid; grid-template-columns: 124px 1fr; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-2) var(--r-2) var(--r-2) 2px; overflow: hidden; scroll-margin-top: 90px; transition: box-shadow .2s var(--ease), transform .2s var(--ease), border-color .2s; }
.sem-card:hover { box-shadow: var(--lift); border-color: transparent; transform: translateY(-1px); }
.sem-card:target { box-shadow: 0 0 0 3px var(--amber); }
.sem-date { border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px 10px; text-align: center; gap: 2px; }
.sem-date-day { font-family: var(--font-display); font-weight: 300; font-size: 2.8rem; line-height: 1; color: var(--navy-90); letter-spacing: -.04em; font-variation-settings: "opsz" 144; font-variant-numeric: lining-nums; }
.sem-date-mon, .sem-date-year { font-family: var(--font-mono); text-transform: uppercase; font-size: .72rem; letter-spacing: .14em; color: var(--uh-blue); }
.sem-date-year { color: var(--muted); }
.sem-body { padding: 20px 26px 18px; }
.sem-meta { font-family: var(--font-mono); color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.sem-meta a { color: var(--ink-2); box-shadow: none; }
.sem-meta a:hover { color: var(--uh-blue); }
.sem-title { font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; letter-spacing: -.02em; margin: 0 0 10px; font-variation-settings: "opsz" 72, "SOFT" 50; }
.sem-card.is-past .sem-date-day { color: var(--muted); }
.sem-card.is-cancelled .sem-title { text-decoration: line-through; color: var(--muted); }
.sem-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.abstract { margin: 10px 0 4px; border-top: 1px solid var(--line); padding-top: 10px; }
.abstract summary { cursor: pointer; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--uh-blue); list-style: none; }
.abstract summary::-webkit-details-marker { display: none; }
.abstract summary::before { content: "+"; display: inline-block; width: 1.1em; transition: transform .2s; }
.abstract[open] summary::before { content: "−"; }
.abstract-label { margin: 0; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--uh-blue); }
.abstract-open .abstract-text { margin-top: 6px; }
.abstract-text, .bio-text { margin-top: 10px; color: var(--ink-2); max-width: 70ch; }
.bio-text h4 { margin: 12px 0 4px; font-size: .95rem; }
@media (max-width: 600px) {
  .sem-card { grid-template-columns: 1fr; }
  .sem-date { flex-direction: row; gap: 10px; justify-content: flex-start; align-items: baseline; padding: 12px 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .sem-date-day { font-size: 1.9rem; }
  .sem-body { padding: 16px 18px; }
}

/* ---- Archive: publication-table rows ----------------------------------- */
.season { margin-bottom: 56px; }
.season-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 4px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.season-title .eyebrow { margin: 0; color: var(--ink); }
.season-title .count { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.arc-row { display: grid; grid-template-columns: 150px 1fr 170px 120px; gap: 24px; padding: 22px 12px; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; transition: background .15s; margin: 0 -12px; }
.arc-row:hover { background: var(--white); }
.arc-row { border-left: 4px solid transparent; padding-left: 16px; }
.arc-row.tint-azure { border-left-color: var(--t-azure); }
.arc-row.tint-anthocyanin { border-left-color: var(--t-antho); }
.arc-row.tint-lichen { border-left-color: var(--t-lichen); }
.arc-row.tint-amber { border-left-color: var(--t-amber); }
.arc-row p { margin: 0; }
.arc-date { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; color: var(--muted); padding-top: 5px; }
.arc-title { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; letter-spacing: -.02em; margin: 0 0 6px; font-variation-settings: "opsz" 72, "SOFT" 50; }
.arc-row:hover .arc-title { color: var(--uh-blue); }
.arc-speaker { color: var(--ink-2); font-size: .95rem; }
.arc-speaker a { color: var(--ink); font-weight: 600; }
.arc-aff { color: var(--muted); }
.arc-venue { font-size: .86rem; color: var(--muted); padding-top: 4px; }
.arc-links { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; padding-top: 4px; }
.arc-links a { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; box-shadow: none; }
.arc-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.radar summary { display: inline-flex; align-items: center; gap: 8px; color: var(--amber-ink); }
.radar summary::before { display: none; }
.radar-list { margin: 10px 0 0; padding-left: 1.1em; max-width: 70ch; color: var(--ink-2); font-size: .95rem; }
.radar-list li { margin-bottom: 6px; }
.radar-list li::marker { color: var(--amber); }
.radar-note { color: var(--muted); }
.arc-row.is-cancelled .arc-title { text-decoration: line-through; color: var(--muted); }
@media (max-width: 860px) {
  .arc-row { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; margin: 0; }
  .arc-row:hover { background: transparent; }
  .arc-links { flex-direction: row; justify-content: flex-start; gap: 16px; }
}
.empty { background: var(--white); border: 1px dashed var(--line); border-radius: var(--r-2); padding: 36px 28px; text-align: center; color: var(--ink-2); }

/* ---- Organizers --------------------------------------------------------- */
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.person { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-2) var(--r-2) var(--r-2) 2px; padding: 24px; display: flex; flex-direction: column; gap: 6px; transition: box-shadow .2s var(--ease), transform .2s var(--ease), border-color .2s; }
.person:hover { box-shadow: var(--lift); border-color: transparent; transform: translateY(-2px); }
.person-avatar { width: 88px; height: 88px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #1b6aa3, var(--navy-90)); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; letter-spacing: .02em; margin-bottom: 10px; overflow: hidden; box-shadow: 0 0 0 2px var(--white), 0 0 0 3px var(--line); }
.person-avatar img { width: 100%; height: 100%; object-fit: cover; }
.person h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; letter-spacing: -.015em; }
.person-role { font-family: var(--font-mono); color: var(--uh-blue); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; margin: 2px 0 4px; }
.person-unit { font-size: .88rem; margin: 0; font-weight: 500; color: var(--ink-2); }
.person p.bio { font-size: .93rem; color: var(--ink-2); margin: 8px 0 0; }
.person-links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: auto; padding-top: 14px; font-size: .86rem; }
.person.is-lead { border-color: var(--amber-20); background: linear-gradient(180deg, var(--amber-05), var(--white) 45%); }
.person.is-lead .person-avatar { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--amber); }

/* ---- Attend page -------------------------------------------------------- */
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-2) var(--r-2) var(--r-2) 2px; padding: 28px; }
.info-card h2 { font-size: 1.6rem; }
.note { background: var(--amber-05); border-left: 3px solid var(--amber); padding: 10px 14px; border-radius: 0 var(--r-1) var(--r-1) 0; font-size: .94rem; }
.checklist { padding-left: 1.2em; }
.checklist li { margin-bottom: 10px; }
.checklist li::marker { color: var(--uh-blue); }
code { font-family: var(--font-mono); font-size: .86em; background: var(--paper-2); padding: 1px 6px; border-radius: var(--r-1); word-break: break-all; }

/* ---- Footer ------------------------------------------------------------- */
.site-footer { background: #000; color: #b9c0c8; padding: 64px 0 28px; font-size: .93rem; border-top: 3px solid var(--amber); }
.site-footer a { color: #fff; box-shadow: none; }
.site-footer a:hover { color: var(--amber-20); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { height: 56px; width: auto; margin-bottom: 18px; }
.site-footer h4 { font-family: var(--font-mono); color: rgba(255,255,255,.55); margin: 0 0 14px; font-size: .7rem; font-weight: 500; text-transform: uppercase; letter-spacing: .16em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid #1d1d1d; margin-top: 40px; padding-top: 18px; color: #7d858e; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; }
.footer-bottom p { margin: 0; }

/* ---- Scroll reveal ------------------------------------------------------ */
.js-reveal .section .wrap > *, .js-reveal .mini-card, .js-reveal .sem-card, .js-reveal .arc-row,
.js-reveal .person, .js-reveal .info-card {
  opacity: 0; transform: translateY(14px);
  transition: opacity .6s var(--ease) var(--d, 0ms), transform .6s var(--ease) var(--d, 0ms), box-shadow .2s var(--ease), border-color .2s;
}
.js-reveal .in { opacity: 1 !important; transform: none !important; }
.js-reveal .sem-card.in:hover, .js-reveal .person.in:hover, .js-reveal .mini-card.in:hover { transform: translateY(-2px) !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .radar-dot, .hero-inner > .eyebrow, .series-title, .series-meta, .page-head h1, .page-head .kicker { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
@media print {
  .site-header, .hero-canvas, .cta-band, .nav-toggle { display: none !important; }
  .hero, .page-head { background: none; color: #000; }
}

/* ---- Two-column hero: about text left, compact next-seminar card right ---- */
.hero-split { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 44px; align-items: center; }
.hero-split .hero-text { padding-bottom: 0; }
.hero-split .series-title { font-size: clamp(2.2rem, 3.7vw, 4rem); max-width: none; margin-bottom: 18px; }
@media (min-width: 1001px) { .hero-split .title-line1 { white-space: nowrap; } }
.hero-split .series-title em { display: block; }
.hero-sub { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: #fff; font-weight: 500; margin: 0 0 14px; max-width: 46ch; }
.hero-desc { color: rgba(255,255,255,.78); font-size: 1rem; line-height: 1.65; max-width: none; margin: 0 0 14px; }
.hero-desc + .series-meta { margin-top: 10px; }
.hero-split .title-name { font-weight: 500; letter-spacing: -.02em; }
.hero-split .series-title + .hero-desc { margin-top: 22px; }
.hero-card-compact { display: block; grid-template-columns: none; border-radius: 18px 18px 18px 4px; }
.cc-date { display: flex; align-items: center; gap: 14px; background: var(--amber-05); border-bottom: 1px solid #f3dfb8; padding: 18px 22px 14px; }
.cc-day { font-family: var(--font-display); font-weight: 300; font-size: 4rem; line-height: .9; letter-spacing: -.05em; color: var(--navy-90); font-variation-settings: "opsz" 144; }
.cc-when { display: flex; flex-direction: column; font-family: var(--font-mono); font-size: .8rem; letter-spacing: .08em; color: var(--amber-ink); gap: 2px; }
.cc-when span:last-child { color: var(--muted); }
.cc-body { padding: 20px 22px 22px; }
.cc-title { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; line-height: 1.2; letter-spacing: -.02em; margin: 0 0 14px; font-variation-settings: "opsz" 72, "SOFT" 50; }
.cc-speakers { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 0 0 14px; }
.cc-speakers .speaker-photo { width: 52px; height: 52px; }
.cc-venue { color: var(--ink-2); font-size: .95rem; margin: 0 0 18px; line-height: 1.7; }
.cc-venue .hybrid-pill { margin-left: 4px; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-actions .btn { padding: 9px 16px; font-size: .9rem; }
@media (max-width: 1000px) {
  .hero-split { grid-template-columns: 1fr; gap: 32px; }
}
/* Long tagline in the hero eyebrow: keep the dot inline with the first line. */
.hero-split .eyebrow-hero { display: block; line-height: 1.6; max-width: none; }
.hero-split .eyebrow-hero::before { display: none; }

/* ---- Stacked hero: eyebrow + title full width, then about | card (1:1) ---- */
.hero-stack .hero-text { padding-bottom: 0; margin-bottom: 36px; }
.hero-stack .series-title { margin-bottom: 0; }
.hero-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.hero-about .hero-desc { max-width: 60ch; }
.hero-about .series-meta { margin-top: 18px; }
@media (max-width: 900px) { .hero-row { grid-template-columns: 1fr; gap: 28px; } }
.hero:has(.hero-stack) { padding-bottom: 84px; }
/* Single-line title in the stacked hero (wraps naturally on narrow screens). */
/* As large as possible while still fitting one line in the content column
   (measured: the title is ~14.5x its font size wide). */
.hero-stack .series-title { font-size: clamp(2rem, calc(min(100vw - 32px, 1160px) / 14.8), 5.6rem); max-width: none; }
@media (min-width: 901px) { .hero-stack .series-title { white-space: nowrap; } }
@media (min-width: 901px) and (max-width: 1160px) { .hero-stack .eyebrow-hero { font-size: .88rem; letter-spacing: .02em; } }
/* Smaller, calmer card in the stacked hero. */
.hero-stack .hero-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.hero-stack .cc-date { padding: 14px 20px 12px; gap: 22px; }
.hero-stack .cc-day { font-size: 3.2rem; }
.hero-stack .cc-when { font-size: .74rem; }
.hero-stack .cc-body { padding: 16px 20px 18px; }
.hero-stack .next-label { font-size: .95rem; margin-bottom: 4px; }
.hero-stack .cc-title { font-size: 1.15rem; margin-bottom: 12px; }
.hero-stack .cc-speakers { margin-bottom: 10px; }
.hero-stack .cc-speakers .speaker-photo { width: 44px; height: 44px; }
.hero-stack .cc-speakers .speaker strong { font-size: 1rem; }
.hero-stack .cc-speakers .speaker-aff { font-size: .85rem; }
.hero-stack .cc-venue { font-size: .88rem; margin-bottom: 14px; }
.hero-stack .cc-actions .btn { padding: 8px 14px; font-size: .85rem; }
@media (max-width: 900px) { .hero-stack .hero-row { grid-template-columns: 1fr; gap: 28px; } }
/* Stacked hero: start content near the top instead of centring it vertically. */
.hero:has(.hero-stack) { align-items: flex-start; padding-top: 56px; }
.hero-about .hero-desc { font-size: 1.12rem; line-height: 1.65; }
@media (max-width: 760px) { .hero:has(.hero-stack) { padding-top: 28px; } .hero-about .hero-desc { font-size: 1.04rem; } }
/* Hero layout balance: more room between title and the about/card row,
   content centred vertically so the leftover space is split above and below. */
.hero:has(.hero-stack) { align-items: center; padding-top: 48px; padding-bottom: 80px; }
.hero-stack .hero-text { margin-bottom: 60px; }
@media (max-width: 760px) { .hero:has(.hero-stack) { padding-top: 28px; padding-bottom: 48px; } .hero-stack .hero-text { margin-bottom: 32px; } }

/* ==== Hero aesthetics: one material (dark glass) for text and card ========== */
.hero:has(.hero-stack) {
  background:
    radial-gradient(700px 420px at 78% 62%, rgba(0,90,148,.38), transparent 70%),
    radial-gradient(900px 480px at 92% -10%, rgba(255,176,0,.12), transparent 60%),
    radial-gradient(700px 500px at -5% 110%, rgba(0,90,148,.35), transparent 60%),
    linear-gradient(160deg, #000 0%, var(--navy-90) 42%, var(--navy-80) 100%);
}
/* Eyebrow: quieter, only the name in amber */
.hero-stack .eyebrow-hero { color: rgba(255,255,255,.62); }
.hero-stack .eyebrow-hero .eb-name { color: var(--amber); }
.hero-stack .eyebrow-hero::before { display: none; }
/* About: amber rule beside the text */
.hero-about { position: relative; padding-left: 22px; }
.hero-about::before { content: ""; position: absolute; left: 0; top: .45em; width: 2px; height: 4.2em; background: linear-gradient(180deg, var(--amber), rgba(255,176,0,0)); border-radius: 2px; }
.hero-about .hero-desc { color: rgba(255,255,255,.7); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.hero-chips .chip { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; color: rgba(255,255,255,.82); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-pill); padding: 5px 12px; }
/* Card: keep white, softer shadow and a hairline so it sits on the dark band */
.hero-stack .hero-card-compact { box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 24px 60px rgba(0,0,0,.35); }
@media (max-width: 760px) { .hero-about { padding-left: 16px; } }
/* Slightly larger card contents */
.hero-stack .cc-date { padding: 18px 24px 16px; }
.hero-stack .cc-day { font-size: 3.8rem; }
.hero-stack .cc-when { font-size: .8rem; }
.hero-stack .cc-body { padding: 22px 24px 24px; }
.hero-stack .next-label { font-size: 1.02rem; margin-bottom: 6px; }
.hero-stack .cc-title { font-size: 1.6rem; line-height: 1.18; margin-bottom: 16px; }
.hero-stack .cc-speakers { margin-bottom: 14px; }
.hero-stack .cc-speakers .speaker-photo { width: 54px; height: 54px; }
.hero-stack .cc-speakers .speaker strong { font-size: 1.06rem; }
.hero-stack .cc-speakers .speaker-aff { font-size: .9rem; }
.hero-stack .cc-venue { font-size: .95rem; margin-bottom: 18px; }
.hero-stack .cc-actions .btn { padding: 10px 18px; font-size: .92rem; }
/* Spacing: less above the eyebrow, more between the title and the about/card row. */
.hero:has(.hero-stack) { align-items: flex-start; padding-top: 72px; padding-bottom: 72px; }
.hero-stack .hero-text { margin-bottom: 88px; }
@media (max-width: 760px) { .hero:has(.hero-stack) { padding-top: 28px; padding-bottom: 48px; } .hero-stack .hero-text { margin-bottom: 36px; } }

/* ==== Round-4 refinements (Cradle / AI Engineer / Inceptive / GitHub Universe) ==== */
/* One-line headline: one emphasis device only - italic + one gentle gradient across the whole phrase. */
.hero-stack .series-title { color: #f5f2ea; }
.hero-stack .series-title .title-em {
  font-style: italic; font-weight: 300;
  background: linear-gradient(90deg, #ffd799 0%, #ffe6bd 55%, #cfe9f5 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding: .1em .12em .22em 0; margin: -.1em -.12em -.22em 0; display: inline-block;
}
.hero-stack .eyebrow-hero { margin-bottom: 20px; }
/* Amber rule spans the whole about text */
.hero-about { padding-left: 20px; }
.hero-about::before { top: .35em; bottom: 3.2em; height: auto; background: linear-gradient(180deg, #ffb000 0%, rgba(255,176,0,.12) 100%); }
/* Chips: tidier pills */
.hero-chips { margin-top: 24px; gap: 8px; }
.hero-chips .chip { height: 28px; display: inline-flex; align-items: center; padding: 0 12px; background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: rgba(255,255,255,.72); }
/* Card: one amber element only (the date strip); calmer shadow, regular radius */
.hero-stack .hero-card-compact { border-radius: 16px; box-shadow: 0 24px 64px rgba(0,0,0,.42), 0 0 0 1px rgba(255,255,255,.08); }
.hero-stack .hero-card-compact::before { display: none; }
.hero-stack .cc-actions .btn { height: 40px; padding: 0 18px; font-weight: 500; font-size: .9rem; }
.hero-stack .cc-actions .btn-ghost { color: var(--ink); border-color: #dedad1; }
.hero-stack .cc-actions .btn-ghost:hover { border-color: var(--uh-blue); color: var(--uh-blue); background: transparent; }
/* Background: deeper navy base, softer amber glow, network kept away from the headline */
.hero:has(.hero-stack) {
  background:
    radial-gradient(700px 420px at 78% 62%, rgba(0,90,148,.34), transparent 70%),
    radial-gradient(900px 480px at 92% -10%, rgba(255,176,0,.08), transparent 60%),
    linear-gradient(160deg, #030b14 0%, #001929 55%, #00263f 100%);
}
.hero:has(.hero-stack) > .hero-canvas { opacity: .55;
  -webkit-mask-image: radial-gradient(70% 80% at 75% 60%, #000 30%, transparent 75%);
          mask-image: radial-gradient(70% 80% at 75% 60%, #000 30%, transparent 75%); }
/* Vertical rhythm */
.hero:has(.hero-stack) { padding-top: 64px; padding-bottom: 72px; }
.hero-stack .hero-text { margin-bottom: 72px; }
@media (max-width: 760px) { .hero:has(.hero-stack) { padding-top: 32px; padding-bottom: 48px; } .hero-stack .eyebrow-hero { margin-bottom: 14px; } .hero-stack .hero-text { margin-bottom: 32px; } }

/* Amber rule exactly alongside the two paragraphs (not the chips). */
.hero-about { padding-left: 0; }
.hero-about::before { display: none; }
.hero-copy { position: relative; padding-left: 20px; }
.hero-copy::before { content: ""; position: absolute; left: 0; top: .35em; bottom: 1.4em; width: 2px; border-radius: 2px; background: linear-gradient(180deg, #ffb000 0%, rgba(255,176,0,.12) 100%); }
.hero-about .hero-chips { padding-left: 20px; }
@media (max-width: 760px) { .hero-copy, .hero-about .hero-chips { padding-left: 16px; } }
/* Stronger network: full opacity, mask only softly dims the area behind the headline/intro. */
.hero:has(.hero-stack) > .hero-canvas { opacity: .9;
  -webkit-mask-image: radial-gradient(120% 120% at 70% 60%, #000 45%, rgba(0,0,0,.45) 85%, rgba(0,0,0,.3) 100%);
          mask-image: radial-gradient(120% 120% at 70% 60%, #000 45%, rgba(0,0,0,.45) 85%, rgba(0,0,0,.3) 100%); }

/* Registration */
.btn-small.btn-register { background: var(--uh-blue); color: #fff; border-color: var(--uh-blue); }
.btn-small.btn-register:hover { background: var(--navy-80); color: #fff; }

/* ==== Header, hero and footer share one deep-navy base (no black/blue seam) ==== */
:root { --ink-deep: #030b14; }
.site-header { background: var(--ink-deep); border-bottom: 1px solid rgba(255,255,255,.05); }
.site-header.is-scrolled { background: rgba(3, 11, 20, .82); border-bottom-color: rgba(255,255,255,.08); }
.nav a[aria-current="page"] { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
@media (max-width: 760px) { .nav { background: var(--ink-deep); border-bottom-color: rgba(255,255,255,.06); } }
/* Dark bands start from the same colour as the header */
.page-head, .cta-band {
  background:
    radial-gradient(900px 480px at 88% -8%, rgba(255,176,0,.10), transparent 60%),
    radial-gradient(700px 500px at -5% 110%, rgba(0,90,148,.35), transparent 60%),
    linear-gradient(180deg, var(--ink-deep) 0%, #001929 45%, #00263f 100%);
}
.hero:has(.hero-stack) {
  background:
    radial-gradient(700px 420px at 78% 62%, rgba(0,90,148,.34), transparent 70%),
    radial-gradient(900px 480px at 92% -10%, rgba(255,176,0,.08), transparent 60%),
    linear-gradient(180deg, var(--ink-deep) 0%, #001929 55%, #00263f 100%);
}
.site-footer { background: var(--ink-deep); }
.footer-bottom { border-top-color: rgba(255,255,255,.07); }
/* Header floats over the dark band at the top (transparent), and turns into
   deep-navy glass once the page scrolls - one continuous surface, no seam. */
.site-header:not(.is-scrolled) { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
main > section:first-child { margin-top: -72px; }
.hero:has(.hero-stack) { padding-top: calc(64px + 72px); min-height: min(100vh, 932px); min-height: min(100svh, 932px); }
.page-head { padding-top: calc(36px + 72px); min-height: calc(300px + 72px); }
@media (max-width: 760px) {
  .hero:has(.hero-stack) { padding-top: calc(32px + 72px); min-height: 0; }
  .page-head { padding-top: calc(28px + 72px); min-height: calc(240px + 72px); }
  body.nav-open .site-header { background: var(--ink-deep); }
}

/* ==== Palette refinement (after usersim-workshop + round-2/4 notes) ==========
   Dark bands: near-black ink that only leans blue, instead of saturated blue,
   with one warm amber glow low-left (echoes the amber accent) and one cool
   UH-blue glow behind the card. Light bands: one warm paper family. */
:root { --ink-deep: #050c14; --ink-mid: #0a1826; --ink-low: #0d2236; --paper-warm: #f6f3ec; }
.hero:has(.hero-stack) {
  background:
    radial-gradient(640px 420px at 80% 58%, rgba(0,90,148,.30), transparent 70%),
    radial-gradient(760px 520px at 4% 108%, rgba(255,176,0,.10), transparent 65%),
    linear-gradient(180deg, var(--ink-deep) 0%, var(--ink-mid) 55%, var(--ink-low) 100%);
}
.page-head, .cta-band {
  background:
    radial-gradient(760px 480px at 6% 115%, rgba(255,176,0,.09), transparent 65%),
    radial-gradient(700px 420px at 92% 0%, rgba(0,90,148,.22), transparent 65%),
    linear-gradient(180deg, var(--ink-deep) 0%, var(--ink-mid) 60%, var(--ink-low) 100%);
}
.site-header.is-scrolled { background: rgba(5, 12, 20, .84); }
.site-footer, body.nav-open .site-header { background: var(--ink-deep); }
@media (max-width: 760px) { .nav { background: var(--ink-deep); } }
/* Light bands: warm paper only (no cool lavender/azure blobs) */
body { background: var(--paper-warm); }
.section-white { background: #fbfaf7; }
.section-tint { background-color: #f1ede4; }
.cell-a { background: #f3e6c9; }
.cell-b { background: #e7eef2; }
.cell-c { background: #efe7d6; }
.cell { opacity: .45; }
/* Footer echoes the hero: same ink-to-navy gradient and glows, not flat black */
.site-footer {
  background:
    radial-gradient(640px 360px at 85% 0%, rgba(0,90,148,.24), transparent 70%),
    radial-gradient(700px 420px at 6% 100%, rgba(255,176,0,.08), transparent 65%),
    linear-gradient(180deg, var(--ink-low) 0%, var(--ink-mid) 55%, var(--ink-deep) 100%);
  border-top: 0;
}
.footer-bottom { border-top-color: rgba(255,255,255,.08); }
/* CTA band directly above the footer: start dark, end at the footer's top colour */
.cta-band {
  background:
    radial-gradient(760px 480px at 6% 115%, rgba(255,176,0,.09), transparent 65%),
    radial-gradient(700px 420px at 92% 0%, rgba(0,90,148,.22), transparent 65%),
    linear-gradient(180deg, var(--ink-deep) 0%, var(--ink-mid) 55%, var(--ink-low) 100%);
}
.cta-band + * , main:has(.cta-band) + .site-footer { margin-top: 0; }
/* CTA + footer read as one continuous band that ends like the hero (ink -> navy),
   with no seam between them. */
.cta-band {
  background:
    radial-gradient(760px 480px at 6% 0%, rgba(255,176,0,.07), transparent 65%),
    linear-gradient(180deg, var(--ink-deep) 0%, var(--ink-mid) 100%);
}
.site-footer {
  background:
    radial-gradient(640px 420px at 82% 100%, rgba(0,90,148,.28), transparent 70%),
    radial-gradient(700px 420px at 6% 110%, rgba(255,176,0,.08), transparent 65%),
    linear-gradient(180deg, var(--ink-mid) 0%, var(--ink-low) 100%);
}
/* The grain overlay greys the CTA band and creates a seam with the footer. */
.cta-band::after { display: none; }

/* Programme: topic tags sit right after the talk title */
.title-tags { display: inline-flex; gap: 6px; margin-left: 10px; vertical-align: .3em; }
.title-tags .tag { font-size: .62rem; padding: 3px 10px; white-space: nowrap; }
