/* The Talks pages: listen.css's tokens and type. The list wears the station's colours, each talk card
   its lead host's show; a talk's own page wears that show throughout. */
a.play { text-decoration: none; }
main a { color: inherit; }
.eyebrow { color: var(--accent); font-weight: 700; margin: 0 0 .4rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.t-fine { color: var(--soft); font-size: .9rem; margin: .4rem 0 0; }
.t-empty { color: var(--soft); max-width: 52ch; }

.t-head { padding: 1.5rem 0 2rem; max-width: 46rem; }
.t-head h1 {
  font-size: clamp(2.6rem, 8vw, 6.2rem); line-height: .9; letter-spacing: -.03em; font-weight: 800;
  font-variation-settings: "wdth" 75, "opsz" 96;
  background: linear-gradient(90deg, #7ad8e7, #bc7de1 70%); -webkit-background-clip: text; background-clip: text;
  color: transparent; padding-bottom: .06em;
}
.lede { color: var(--soft); max-width: 58ch; margin: 1rem 0 0; }
.t-sec { font-size: 1.5rem; font-variation-settings: "wdth" 85; margin: 2.2rem 0 1rem; }

/* Live marker */
.t-live { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--accent); }
.t-live .dot { width: .6rem; height: .6rem; border-radius: 50%; background: currentColor; animation: t-pulse 1.6s ease-in-out infinite; }
@keyframes t-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .t-live .dot { animation: none; } }

/* Hosts: small portraits with names */
.t-hosts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.t-hosts a { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; font-weight: 700; font-size: .95rem; }
.t-hosts img, .t-hosts .blank { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none;
  background: var(--panel); box-shadow: 0 0 0 2px color-mix(in srgb, var(--ink) 18%, transparent); }
.t-hosts .blank { background: #16171b url(/static/brand/mark.png) center / 60% no-repeat; }
.t-hosts em { font-style: normal; font-weight: 400; color: var(--soft); font-size: .85rem; }
.t-hosts a:hover span, .t-hosts a:focus-visible span { text-decoration: underline; text-decoration-color: var(--accent); }

/* A talk coming up */
.t-card { background: var(--bg); color: var(--ink); border-radius: 12px; padding: clamp(1.1rem, 3vw, 1.8rem); margin: 0 0 1.1rem;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 12%, transparent), 0 30px 60px -40px rgba(0,0,0,.6); max-width: 60rem; }
.t-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .7rem 1.5rem; margin-bottom: 1rem; }
.t-meta time { font: 700 1rem var(--body); color: var(--accent); font-variant-numeric: tabular-nums; }
.t-card h3 { font: 800 clamp(1.5rem, 3.6vw, 2.3rem)/1.05 var(--display); letter-spacing: -.015em; margin: 0 0 .7rem;
  font-variation-settings: "wdth" 80, "opsz" 72; overflow-wrap: anywhere; }
.t-card h3 a { text-decoration: none; }
.t-card h3 a:hover, .t-card h3 a:focus-visible { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.t-sum { margin: 0 0 1rem; max-width: 66ch; color: color-mix(in srgb, var(--ink) 90%, transparent); }
.t-label { font: 700 1.05rem var(--display); font-variation-settings: "wdth" 90; margin: 0 0 .35rem; }
.t-qs ul { margin: 0 0 1rem; padding-left: 1.2rem; max-width: 66ch; }
.t-qs li { margin: .2rem 0; }
.t-qs li::marker { color: var(--accent); }

.t-send { border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); padding-top: .9rem; margin-top: .4rem; }
.t-send summary { cursor: pointer; font-weight: 700; display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .8rem; list-style: none;
  color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.t-send summary::-webkit-details-marker { display: none; }
.t-send summary::before { content: "+"; display: inline-grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%;
  background: var(--accent); color: var(--bg); font-weight: 800; text-decoration: none; margin-right: .2rem; }
.t-send[open] summary::before { content: "–"; }
.t-sent { font-weight: 400; color: var(--soft); font-size: .9rem; text-decoration: none; display: inline-block; }
.t-send .t-form { margin-top: 1rem; }

/* The form */
.t-form { display: grid; gap: .8rem; max-width: 40rem; }
.t-kind { border: 0; padding: 0; margin: 0; display: inline-flex; gap: 0; justify-self: start;
  border-radius: 999px; box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--ink) 30%, transparent); }
.t-kind label { position: relative; padding: .5rem 1rem; border-radius: 999px; cursor: pointer; font-weight: 700; font-size: .95rem; }
.t-kind input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.t-kind label:has(input:checked) { background: var(--ink); color: var(--bg); }
.t-kind label:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.t-field { display: grid; gap: .3rem; font-weight: 700; position: relative; }
.t-field input, .t-field textarea { font: 400 1rem/1.5 var(--body); padding: .65rem .75rem; border-radius: 8px; width: 100%;
  border: 1px solid color-mix(in srgb, var(--ink) 25%, transparent); background: var(--panel); color: var(--ink); }
.t-field input:focus, .t-field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 1px var(--accent); }
.t-field textarea { resize: vertical; min-height: 6.5rem; }
.t-count { justify-self: end; font-weight: 400; font-size: .8rem; color: var(--soft); font-variant-numeric: tabular-nums; }
.t-count.near { color: var(--accent); }
.t-form .send { justify-self: start; }
.t-form .t-fine { margin: 0; }

/* Later this week */
.t-later ul { list-style: none; margin: .8rem 0 0; padding: 0; display: grid; gap: 0; max-width: 46rem; }
.t-later li { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1rem; padding: .55rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); }
.t-later .when { font-weight: 700; font-variant-numeric: tabular-nums; }
.t-later .t-fine { margin: 0; }

/* Past talks, by day */
.t-day { margin: 0 0 1.6rem; max-width: 60rem; }
.t-dayname { font: 700 .85rem var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--soft); margin: 0 0 .5rem; }
.t-past { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.t-past li { background: var(--bg); color: var(--ink); border-radius: 10px;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 12%, transparent); }
.t-past a { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); gap: .8rem; padding: .9rem 1.1rem; text-decoration: none; }
.t-time { font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; padding-top: .15rem; }
.t-what { display: grid; gap: .25rem; min-width: 0; }
.t-what b { font: 700 1.15rem/1.2 var(--display); font-variation-settings: "wdth" 85; overflow-wrap: anywhere; }
.t-gist { color: color-mix(in srgb, var(--ink) 82%, transparent); font-size: .95rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.t-who { color: var(--soft); font-size: .85rem; }
.t-past a:hover b, .t-past a:focus-visible b { text-decoration: underline; text-decoration-color: var(--accent); }

/* A talk's own page */
.t-crumb { margin: .8rem 0 0; font-size: .95rem; }
.t-crumb a { color: var(--soft); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.t-hero { padding: 1.2rem 0 2rem; max-width: 52rem; }
.t-hero h1 { font-size: clamp(2.1rem, 5.6vw, 4.4rem); line-height: .98; letter-spacing: -.025em; font-weight: 800;
  font-variation-settings: "wdth" 78, "opsz" 96; overflow-wrap: anywhere; margin: 0 0 1.2rem; }
.t-cols { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(1.5rem, 5vw, 4rem); padding-bottom: 3rem; align-items: start; }
.t-body h2, .t-side h2 { font-size: 1.2rem; margin: 2rem 0 .7rem; }
.t-body h2:first-child, .t-side h2:first-child { margin-top: 0; }
.t-body p { margin: 0 0 1rem; max-width: 66ch; }
.t-takeaways, .t-points { margin: 0; padding-left: 1.2rem; max-width: 66ch; display: grid; gap: .45rem; }
.t-takeaways li::marker, .t-points li::marker { color: var(--accent); font-weight: 700; }
.t-views { margin: 0; display: grid; gap: .9rem; max-width: 66ch; }
.t-views div { display: grid; gap: .15rem; }
.t-views dt { font-weight: 700; color: var(--accent); }
.t-views dd { margin: 0; }
.t-listeners dt::after { content: " wrote in"; color: var(--soft); font-weight: 400; }
.t-side { background: var(--panel); border-radius: 12px; padding: 1.2rem 1.3rem 1.4rem; position: sticky; top: 1rem; }
.t-sources ol { margin: .9rem 0 0; padding-left: 1.3rem; display: grid; gap: .8rem; }
.t-sources li { overflow-wrap: anywhere; }
.t-sources li::marker { color: var(--soft); font-variant-numeric: tabular-nums; }
.t-sources a { font-weight: 700; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.t-domain { color: var(--soft); font-size: .85rem; }
.t-for { display: block; color: var(--soft); font-size: .85rem; margin-top: .15rem; }

@media (max-width: 760px) {
  .t-cols { grid-template-columns: 1fr; }
  .t-side { position: static; }
  .t-later li { grid-template-columns: 1fr; gap: .1rem; }
  .t-meta { justify-content: flex-start; }
}
.t-points { padding-left: 1.7rem; }
