/* SumoMeet report — astros design language, recoloured in the mascot palette:
   cream paper, warm-brown ink (the mascot's outlines), beige skin, blush cheeks. */

@font-face { font-family: 'Medeo Sans'; src: url('/static/fonts/MedeoSansVariable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Medeo Mono'; src: url('/static/fonts/MedeoMonoVariable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --paper: #F6F1E9;
  --paper-hi: #FBF8F3;
  --ink: #2A1F1A;
  --beige: #E8D3B5;
  --beige-soft: #F0E4D2;
  --blush: #EE9D94;
  --charcoal: #3B3533;

  --ok: #3E8E5B;
  --warn: #C97A22;
  --bad: #D0503D;
  --info: #3C8A86;
  --idea: #D9776C;

  --ink-8: color-mix(in srgb, var(--ink) 8%, transparent);
  --ink-12: color-mix(in srgb, var(--ink) 12%, transparent);
  --ink-16: color-mix(in srgb, var(--ink) 16%, transparent);
  --ink-30: color-mix(in srgb, var(--ink) 30%, transparent);
  --ink-45: color-mix(in srgb, var(--ink) 45%, transparent);
  --ink-60: color-mix(in srgb, var(--ink) 62%, transparent);

  --r-pill: 999px;
  --r-sm: 16px;
  --r-card-sm: 28px;
  --r-card: 40px;
  --stroke: 1.5px;
  --rule: 2px;

  --page-x: 16px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-move: cubic-bezier(0.65, 0, 0.35, 1);
  --spring: cubic-bezier(0.34, 1.7, 0.5, 1);

  --font-sans: 'Medeo Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Medeo Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  color-scheme: light;
}
@media (min-width: 768px) { :root { --page-x: clamp(24px, 4.5vw, 72px); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-sans); font-size: 17px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 999px; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--ink-30); border-radius: 999px; border: 2px solid var(--paper); }
::-webkit-scrollbar-track { background: transparent; }

.label { font-family: var(--font-mono); font-size: 12px; line-height: 1.3; letter-spacing: 0.08em; text-transform: uppercase; }
.dim { color: var(--ink-60); }
.wrap { width: 100%; max-width: calc(1240px + 2 * var(--page-x)); margin: 0 auto; padding: 0 var(--page-x); position: relative; z-index: 1; }

/* ---------- ASCII texture ---------- */
.ascii { position: absolute; pointer-events: none; }
.ascii-hero { top: 0; left: 0; width: 100%; height: 760px; z-index: 0; opacity: .9;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 100%); }

/* ---------- top bar ---------- */
.top { position: fixed; z-index: 50; top: 12px; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center;
  gap: 8px; padding: 0 var(--page-x); pointer-events: none; transition: transform .55s var(--ease), opacity .55s var(--ease); }
.top > * { pointer-events: auto; }
.top.is-hidden { transform: translateY(-120%); opacity: 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 4px 18px 4px 4px; border-radius: var(--r-pill);
  background: var(--paper-hi); border: var(--rule) solid var(--ink); text-decoration: none; transition: transform .4s var(--spring); }
.brand:hover { transform: scale(1.03); }
.brand:hover .brand-ava { transform: rotate(-12deg) scale(1.08); }
.brand-ava { width: 42px; height: 42px; border-radius: 50%; background: var(--paper); transition: transform .5s var(--spring); }
.brand-word { letter-spacing: 0.16em; font-weight: 500; }
.top-actions { display: flex; gap: 8px; }
@media (max-width: 520px) { .top .js-share span { display: none; } .top .js-share { width: 48px; padding: 0; justify-content: center; } .brand-word { display: none; } .brand { padding-right: 4px; } }

/* ---------- pills / buttons ---------- */
.pill { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 20px; border-radius: var(--r-pill); font-size: 16px; font-weight: 500; text-decoration: none; white-space: nowrap;
  border: var(--stroke) solid var(--ink); transition: color .35s var(--ease), background .35s var(--ease), transform .2s var(--ease); }
.pill:active { transform: scale(.975); }
.pill .arr { font-style: normal; display: inline-block; transition: transform .45s var(--ease); }
.pill:hover .arr { transform: translateX(5px); }
.pill-outline { background: var(--paper-hi); color: var(--ink); }
.pill-solid { background: var(--ink); color: var(--paper); }
.pill-paper { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.pill-xl { height: 72px; padding: 0 34px; font-size: 20px; }
.wave .wave-blob { position: absolute; z-index: -1; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%;
  background: var(--blush); pointer-events: none; transform: scale(0); transition: transform .5s var(--ease); }
.wave:hover .wave-blob { transform: scale(1); }
.wave .wave-flood { position: absolute; inset: 0; z-index: -1; background: var(--blush); clip-path: circle(0 at var(--x, 50%) var(--y, 50%)); transition: clip-path .55s var(--ease); }
.wave.is-pressed .wave-flood { clip-path: circle(150% at var(--x, 50%) var(--y, 50%)); }
.pill-solid.wave:hover { color: var(--ink); }
.pill-solid.wave:hover .wave-flood { clip-path: circle(150% at var(--x, 50%) var(--y, 50%)); }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: var(--stroke) solid var(--ink-30); font-size: 18px; line-height: 1;
  transition: background .3s, border-color .3s, transform .4s var(--spring); }
.icon-btn:hover { background: var(--ink-8); border-color: var(--ink); transform: rotate(-8deg) scale(1.08); }

/* ---------- tags / chips ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: var(--r-pill); border: var(--stroke) solid var(--ink); }
.tag-solid { background: var(--ink); color: var(--paper); }
.tag .dot, .chip .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.tone-ok { color: var(--ok); border-color: currentColor; } .tone-warn { color: var(--warn); border-color: currentColor; }
.tone-bad { color: var(--bad); border-color: currentColor; } .tone-info { color: var(--info); border-color: currentColor; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: var(--r-pill); font-size: 13px; font-weight: 500;
  border: var(--stroke) solid currentColor; white-space: nowrap; }
.chip-ok { color: var(--ok); } .chip-warn { color: var(--warn); } .chip-bad { color: var(--bad); } .chip-info { color: var(--info); } .chip-idea { color: var(--idea); }
.chip.chip-solid { color: var(--paper); border: 0; }
.chip-solid.chip-bad { background: var(--bad); } .chip-solid.chip-warn { background: var(--warn); } .chip-solid.chip-info { background: var(--info); } .chip-solid.chip-ok { background: var(--ok); }
.chip-outline { color: var(--ink); border-color: var(--ink-30); }
.t { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: var(--r-pill); background: var(--beige-soft); color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- hero ---------- */
.hero { padding: 120px 0 28px; display: flex; flex-direction: column; gap: 24px; }
.eyebrow { color: var(--ink-60); }
.title { font-size: clamp(40px, 7.2vw, 104px); line-height: 1.04; letter-spacing: -0.04em; max-width: 16ch; }
.title .emo { display: inline-block; font-size: .8em; transform: translateY(-.04em); }
.lead { font-size: clamp(19px, 1.7vw, 26px); line-height: 1.5; letter-spacing: -0.01em; max-width: 46ch; }
.mood-note { color: var(--ink-60); max-width: 62ch; }
.hero-landing { display: grid; gap: 40px; align-items: center; min-height: 92vh; }
@media (min-width: 1024px) { .hero-landing { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); } }
.hero-img { border-radius: var(--r-card); border: var(--rule) solid var(--ink); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 8px 0 8px; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { border: var(--rule) solid var(--ink-16); border-radius: var(--r-card-sm); padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; background: var(--paper-hi); }
.stat .label { color: var(--ink-60); }
.stat-v { font-size: clamp(36px, 4.4vw, 60px); line-height: 1; letter-spacing: -0.03em; font-weight: 500; font-variant-numeric: tabular-nums; }
.stat-accent { background: var(--beige); border-color: var(--beige); }

/* ---------- layout & TOC ---------- */
.layout { display: grid; gap: 32px; }
@media (min-width: 1024px) { .layout { grid-template-columns: 240px minmax(0, 1fr); gap: clamp(40px, 5vw, 96px); } }
.toc { display: none; }
@media (min-width: 1024px) {
  .toc { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); }
  .toc nav { display: flex; flex-direction: column; gap: 2px; }
  .toc a[data-toc] { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 14px; border-radius: var(--r-pill); text-decoration: none;
    font-size: 15px; color: var(--ink-60); transition: background .3s, color .3s; }
  .toc a[data-toc] em { font-style: normal; font-family: var(--font-mono); font-size: 12px; }
  .toc a[data-toc]:hover { background: var(--ink-8); color: var(--ink); }
  .toc a[data-toc].is-active { background: var(--ink); color: var(--paper); }
  .toc-bot { margin-top: 12px; display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: var(--r-pill);
    border: var(--rule) dashed var(--ink-30); text-decoration: none; transition: border-color .3s, background .3s; }
  .toc-bot:hover { border-style: solid; border-color: var(--ink); background: var(--beige-soft); }
  .toc-bot img { width: 40px; height: 40px; border-radius: 50%; }
  .toc-bot span { display: flex; flex-direction: column; line-height: 1.2; font-size: 15px; }
  .toc-bot em { font-style: normal; color: var(--ink-60); font-size: 10px; }
}

/* ---------- sections ---------- */
.sec { padding: clamp(28px, 3.5vh, 40px) 0 0; }
.sec + .sec { border-top: 0; }
.sec::before { content: ''; display: block; height: var(--rule); border-radius: 999px; background: var(--ink-16); margin-bottom: clamp(28px, 3.5vh, 40px); }
.sec:first-child::before { display: none; }
.sec-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; }
.sec-num { color: var(--ink-60); min-width: 24px; }
.sec-title { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.06; letter-spacing: -0.035em; }
.sec-count { margin-left: 10px; vertical-align: super; font-size: 13px; color: var(--ink-60); }
.hint { color: var(--ink-60); margin: -12px 0 20px; }
.note { margin-top: 20px; padding: 14px 20px; border-radius: var(--r-card-sm); border: var(--rule) dashed var(--ink-30); color: var(--ink-60); }
.note .label { color: var(--ink); margin-right: 8px; }
.card { border: var(--rule) solid var(--ink-16); border-radius: var(--r-card-sm); padding: 20px; background: var(--paper-hi); }
@media (min-width: 640px) { .card { padding: 24px; } }

/* check list (summary) */
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.checks li { display: flex; gap: 16px; align-items: flex-start; }
.checks p { font-size: 19px; line-height: 1.5; max-width: 62ch; }
.check { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; margin-top: 1px; }
.check svg, .box svg { width: 18px; height: 18px; fill: none; stroke: var(--paper); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* tasks */
.people-tasks { display: grid; gap: 16px; }
@media (min-width: 900px) { .people-tasks { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.task-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.task-head h3 { flex: 1; font-size: 22px; letter-spacing: -0.02em; }
.ava { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--beige); color: var(--ink);
  font-family: var(--font-mono); font-weight: 500; letter-spacing: .04em; border: var(--rule) solid var(--ink); }
.ava-sm { width: 44px; height: 44px; font-size: 14px; }
.thick { position: relative; height: 48px; border-radius: var(--r-pill); border: var(--rule) solid var(--ink); overflow: hidden; margin-bottom: 12px;
  background-image: radial-gradient(var(--ink-30) 1.2px, transparent 1.4px); background-size: 12px 12px; background-position: center; background-color: var(--paper-hi); }
.thick-fill { position: absolute; inset: 4px; right: auto; width: 0; border-radius: var(--r-pill); background: var(--ink); transition: width .9s var(--ease); }
.thick-txt { position: absolute; inset: 0; display: flex; align-items: center; padding: 0 20px; white-space: nowrap; }
.thick-txt b { font-weight: 500; margin-right: .4em; font-variant-numeric: tabular-nums; }
.thick-inv { color: var(--paper); clip-path: inset(0 calc(100% - var(--p, 0%)) 0 0); transition: clip-path .9s var(--ease); }
.thick.is-done .thick-fill { background: var(--ok); }
.tasks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.task label { display: flex; gap: 14px; padding: 12px; margin: 0 -12px; border-radius: var(--r-sm); cursor: pointer; transition: background .3s; }
.task label:hover { background: var(--ink-8); }
.task input { position: absolute; opacity: 0; pointer-events: none; }
.box { flex: none; width: 26px; height: 26px; border-radius: 9px; border: var(--rule) solid var(--ink); display: grid; place-items: center; margin-top: 1px;
  transition: background .3s var(--ease), transform .4s var(--spring); }
.box svg { stroke-dasharray: 22; stroke-dashoffset: 22; transition: stroke-dashoffset .45s var(--ease) .05s; }
.task input:checked + .box { background: var(--ink); transform: scale(1.06); }
.task input:checked + .box svg { stroke-dashoffset: 0; }
.task input:focus-visible + .box { outline: 2px solid var(--ink); outline-offset: 3px; }
.task-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.task-text { font-size: 17px; line-height: 1.45; background-image: linear-gradient(var(--ink), var(--ink)); background-repeat: no-repeat;
  background-size: 0% 2px; background-position: 0 58%; transition: background-size .5s var(--ease), color .4s; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.task.is-done .task-text { background-size: 100% 2px; color: var(--ink-60); }
.task-ctx { font-size: 14px; color: var(--ink-60); line-height: 1.45; }
.task-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }

/* decisions */
.decisions { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.decisions li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r-card-sm); background: var(--paper-hi); border: var(--rule) solid var(--ink-16); }
.decisions p { font-size: 18px; line-height: 1.5; }
.dec-mark { flex: none; width: 14px; height: 14px; margin-top: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 5px color-mix(in srgb, var(--ok) 18%, transparent); }
.row-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.row-meta:empty { display: none; }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 9px; top: 10px; bottom: 10px; width: var(--rule); border-radius: 999px; background: var(--ink-16); }
.tl { position: relative; padding: 0 0 28px 44px; }
.tl-dot { position: absolute; left: 0; top: 6px; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 3px solid var(--c, var(--ink)); }
.tl-ok { --c: var(--ok); } .tl-warn { --c: var(--warn); } .tl-bad { --c: var(--bad); } .tl-info { --c: var(--info); } .tl-idea { --c: var(--idea); }
.tl-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.tl h3 { font-size: 21px; letter-spacing: -0.02em; line-height: 1.3; margin-bottom: 4px; }
.tl p { color: var(--ink-60); max-width: 62ch; }

/* people */
.people { display: grid; gap: 12px; }
@media (min-width: 720px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.person { display: flex; gap: 16px; padding: 20px; border-radius: var(--r-card-sm); border: var(--rule) solid var(--ink-16); background: var(--paper-hi); }
.person h3 { font-size: 20px; letter-spacing: -0.02em; }
.person-c { margin-top: 8px; font-size: 15px; line-height: 1.5; }
.meter { display: inline-flex; gap: 4px; margin-top: 12px; }
.meter i { width: 22px; height: 8px; border-radius: 999px; border: var(--stroke) solid var(--ink); }
.meter i.on { background: var(--ink); }

/* accordion */
.acc { display: flex; flex-direction: column; }
.acc-item + .acc-item { border-top: var(--rule) solid var(--ink-12); }
.acc-btn { width: 100%; display: flex; align-items: center; gap: 14px; padding: 18px 12px; border-radius: var(--r-card-sm); text-align: left; transition: background .3s; }
.acc-btn:hover { background: var(--ink-8); }
.acc-title { flex: 1; font-size: clamp(18px, 1.8vw, 24px); line-height: 1.25; letter-spacing: -0.015em; font-weight: 500; }
.plus { flex: none; width: 44px; height: 44px; border-radius: 50%; border: var(--stroke) solid var(--ink); position: relative; transition: transform .5s var(--ease), background .5s var(--ease); }
.plus::before, .plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px; border-radius: 2px; background: var(--ink); transition: background .5s; }
.plus::after { transform: rotate(90deg); }
.acc-btn[aria-expanded="true"] .plus { transform: rotate(45deg); background: var(--ink); }
.acc-btn[aria-expanded="true"] .plus::before, .acc-btn[aria-expanded="true"] .plus::after { background: var(--paper); }
.acc-panel { overflow: hidden; transition: height .65s var(--ease); }
.acc-inner { padding: 0 12px 22px; display: flex; flex-direction: column; gap: 12px; max-width: 66ch; color: var(--ink-60); }
.dash { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; color: var(--ink); }
.dash li { position: relative; padding-left: 22px; }
.dash li::before { content: ''; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; border-radius: 2px; background: var(--ink-45); }

/* open questions — dashed = tentative */
.tentative { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tentative li { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px 20px; border-radius: var(--r-card-sm); border: var(--rule) dashed var(--ink-45); }
.tentative p { flex: 1; min-width: 200px; font-size: 18px; }
.q-mark { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--warn); color: var(--paper); font-weight: 500; }

/* risks */
.risks { display: grid; gap: 12px; }
@media (min-width: 720px) { .risks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.risk { padding: 20px; border-radius: var(--r-card-sm); border: var(--rule) solid var(--c); background: color-mix(in srgb, var(--c) 7%, var(--paper-hi)); display: flex; flex-direction: column; gap: 12px; }
.risk-bad { --c: var(--bad); } .risk-warn { --c: var(--warn); } .risk-info { --c: var(--info); }
.risk-t { font-size: 18px; line-height: 1.45; }
.risk-m { font-size: 15px; color: var(--ink-60); }
.risk-m .label { color: var(--ink); margin-right: 6px; }

/* numbers */
.nums { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.num { padding: 22px; border-radius: var(--r-card-sm); background: var(--beige-soft); display: flex; flex-direction: column; gap: 8px; }
.num-v { font-size: clamp(28px, 3vw, 40px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 500; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.num-c { font-size: 14px; color: var(--ink-60); }

/* quotes */
.quotes { display: flex; flex-direction: column; gap: 14px; }
.bubble { margin: 0; max-width: min(640px, 92%); padding: 18px 22px; border-radius: var(--r-card-sm); border-bottom-left-radius: 10px; background: var(--beige); }
.bubble-r { align-self: flex-end; background: var(--ink); color: var(--paper); border-bottom-left-radius: var(--r-card-sm); border-bottom-right-radius: 10px; }
.bubble blockquote { margin: 0 0 10px; font-size: 19px; line-height: 1.5; }
.bubble figcaption { opacity: .7; }

/* next steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: flex; flex-direction: column; gap: 10px; }
.steps li { counter-increment: s; display: flex; gap: 16px; align-items: center; padding: 14px 20px 14px 14px; border-radius: var(--r-pill); border: var(--rule) solid var(--ink-16); }
.steps li::before { content: counter(s); flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); font-family: var(--font-mono); font-weight: 500; }
.steps p { font-size: 17px; line-height: 1.4; }
.next-meet { margin-top: 18px; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 22px; border-radius: var(--r-pill); background: var(--beige); }
.next-meet b { font-weight: 500; }

/* transcript */
.tr-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }
.search { flex: 1; min-width: 220px; display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 8px 0 20px; border-radius: var(--r-pill); border: var(--stroke) solid var(--ink); background: var(--paper-hi); }
.search .label { color: var(--ink-60); }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: inherit; color: var(--ink); }
.search input::placeholder { color: var(--ink-45); }
.transcript { position: relative; display: flex; flex-direction: column; gap: 4px; }
.transcript[data-collapsed="true"] { max-height: 640px; overflow: hidden; }
.tr-p { display: flex; gap: 14px; padding: 10px 12px; margin: 0 -12px; border-radius: var(--r-sm); transition: background .3s; }
.tr-p:hover { background: var(--ink-8); }
.tr-p .t { flex: none; margin-top: 1px; }
.tr-text { line-height: 1.6; }
.tr-p mark { background: var(--blush); color: var(--ink); border-radius: 4px; padding: 0 2px; }
.tr-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 200px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px;
  background: linear-gradient(to bottom, transparent, var(--paper) 70%); }
.transcript[data-collapsed="false"] .tr-fade { display: none; }
.empty { color: var(--ink-60); padding: 16px 0; }

/* footer band */
.band { position: relative; overflow: hidden; margin: clamp(72px, 11vh, 140px) 8px 8px; border-radius: var(--r-card); background: var(--ink); color: var(--paper); }
@media (min-width: 768px) { .band { margin-inline: 16px; border-radius: 48px; } }
.ascii-band { inset: 0; width: 100%; height: 100%; opacity: .5; }
.band-inner { position: relative; display: grid; gap: 28px; align-items: center; padding: clamp(32px, 6vw, 80px); }
@media (min-width: 900px) { .band-inner { grid-template-columns: auto minmax(0, 1fr) auto; } }
.band-ava { width: 120px; height: 120px; border-radius: 50%; border: 3px solid var(--paper); background: var(--paper); animation: bob 3.2s var(--ease-move) infinite; }
.band-label { color: color-mix(in srgb, var(--paper) 60%, transparent); margin-bottom: 12px; }
.band-h { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.08; letter-spacing: -0.03em; max-width: 22ch; }
.pill-paper.wave:hover { color: var(--ink); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 20px calc(var(--page-x) + 8px) 28px; }
.foot a { text-decoration: none; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(2deg); } }

/* not found */
.nf { min-height: 92vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 24px; }
.nf img { border-radius: 50%; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translate(-50%, calc(100% + 48px)); visibility: hidden; padding: 14px 24px; border-radius: var(--r-pill);
  background: var(--ink); color: var(--paper); font-weight: 500; transition: transform .55s var(--ease), visibility .55s; max-width: calc(100% - 32px); }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; }

/* ---------- reveal motion (JS adds .is-in) ---------- */
.js [data-reveal] { opacity: 0; }
.js [data-reveal="rise"] { transform: translateY(18px); filter: blur(4px); clip-path: inset(0 0 100% 0 round 24px); }
.js [data-reveal="rise"].is-in { opacity: 1; transform: none; filter: none; clip-path: inset(0 0 0 0 round 0); transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s var(--ease), clip-path .9s var(--ease); }
.js [data-reveal="fade"] { filter: blur(6px); }
.js [data-reveal="fade"].is-in { opacity: 1; filter: none; transition: opacity .9s var(--ease), filter .9s var(--ease); }
.js [data-reveal="stagger"].is-in, .js [data-reveal="words"].is-in, .js [data-reveal="scramble"].is-in { opacity: 1; }
.js [data-reveal="stagger"] > * { opacity: 0; transform: translateY(18px); filter: blur(4px); }
.js [data-reveal="stagger"].is-in > * { opacity: 1; transform: none; filter: none; transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; transform: translateY(110%); }
.is-in .w > span { transform: none; transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 50ms); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js [data-reveal], .js [data-reveal] > *, .w > span { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
}

@media print {
  .top, .toc, .band, .ascii, .tr-tools, .tr-fade, .toast, .icon-btn { display: none !important; }
  .transcript[data-collapsed="true"] { max-height: none; }
  .js [data-reveal], .js [data-reveal] > *, .w > span { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
  body { background: #fff; }
}
