/**
 * Special lectures: the hall, the year wall, the record. Geist tokens.
 * Theme key sb-home-theme, light by default. The screen is shared/halftone-wall.js.
 */
html.sl-doc { --ds-link: #0761d1; --sl-edge: #8a8a8a; --sl-hue: #cef54a; --sl-empty: #e4e4e4; --sl-ease: cubic-bezier(0.22, 1, 0.36, 1); scroll-padding-top: 90px; }
html.sl-doc[data-sb-theme="dark"] {
  color-scheme: dark;
  --ds-primary: #ededed; --ds-on-primary: #0a0a0a; --ds-ink: #ededed; --ds-body: #b4b4b4; --ds-mute: #a0a0a0;
  --ds-hairline: #2a2a2a; --ds-canvas: #0a0a0a; --ds-canvas-elevated: #121212; --ds-link: #52a8ff; --sl-edge: #777; --sl-empty: #262626;
}
.sl-doc body { background: var(--ds-canvas); color: var(--ds-ink); line-height: 24px; -webkit-font-smoothing: antialiased; }
.sl-doc :where(h1, h2, h3, p, ul, ol, dl, dd) { margin: 0; padding: 0; }
.sl-doc :where(ul, ol) { list-style: none; }
.sl-doc [hidden] { display: none !important; }
.sl-doc :focus-visible { outline: 2px solid var(--ds-link); outline-offset: 2px; }
.sl-doc main:focus { outline: 0; }
.sl-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sl-skip { position: absolute; left: 16px; top: -80px; z-index: 60; padding: 12px 16px; border-radius: var(--ds-radius-sm); background: var(--ds-primary); color: var(--ds-on-primary); }
.sl-skip:focus { top: 8px; }
.sl-wrap { max-width: var(--ds-container-max); margin: 0 auto; padding-inline: 24px; }
.sl-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--ds-radius-pill); background: var(--ds-primary); color: var(--ds-on-primary); font: 500 16px/20px var(--ds-font-sans); text-decoration: none; cursor: pointer; white-space: nowrap; }
.sl-btn:hover { background: color-mix(in srgb, var(--ds-primary) 86%, var(--ds-canvas)); text-decoration: none; }
.sl-btn--quiet { border-color: var(--sl-edge); background: transparent; color: var(--ds-ink); }
.sl-btn--quiet:hover { border-color: var(--ds-ink); background: transparent; }
.sl-lede { margin-top: 14px; max-width: 48ch; font-size: 18px; line-height: 28px; color: var(--ds-body); }
.sl-doc :is(.sl-lede, .sl-error, .sl-links, .sl-row__links, .sl-go, .sl-by) a:not(.sl-btn) { color: var(--ds-link); text-decoration: underline; text-underline-offset: 3px; }
.sl-error { padding-block: 64px; font-size: 18px; }

/* —— The hall: the next guest on the screen, the house below —— */
.sl-hero { display: grid; grid-template-columns: minmax(0, 54fr) minmax(0, 46fr); min-height: calc(100svh - var(--nv-head)); }
.sl-hero__text { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: clamp(28px, 5svh, 52px) clamp(24px, 4vw, 64px) clamp(28px, 5svh, 48px) max(24px, calc((100vw - 1152px) / 2)); }
.sl-top h1 { font-size: 20px; font-weight: 600; line-height: 26px; letter-spacing: -0.02em; }
.sl-top p { max-width: 46ch; color: var(--ds-body); }
.sl-when { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-weight: 500; }
.sl-when i { width: 14px; height: 14px; border-radius: 50%; background: var(--hue, var(--sl-hue)); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25); }
.sl-when span { color: var(--ds-body); font-weight: 400; }
.sl-hero h2 { margin-top: 14px; font-size: clamp(44px, 6vw, 92px); font-weight: 700; line-height: 0.94; letter-spacing: -0.06em; text-wrap: balance; overflow-wrap: break-word; }
.sl-hero h2 a { color: inherit; text-decoration: none; }
.sl-by { margin-top: 22px; font-size: 20px; line-height: 28px; letter-spacing: -0.02em; }
.sl-by b { font-weight: 600; }
.sl-by span { color: var(--ds-body); }
.sl-abs { margin-top: 12px; max-width: 52ch; font-size: 18px; line-height: 28px; color: var(--ds-body); }
.sl-facts { margin-top: 16px; font-size: 16px; line-height: 24px; color: var(--ds-body); }
.sl-go { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 24px; }
.sl-room { display: flex; flex-direction: column; background: #141414; }
.sl-screen { position: relative; flex: 1; min-height: 260px; overflow: hidden; background: var(--sl-hue); transition: background-color 0.6s; touch-action: pan-y; }
.sl-screen .bd-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.sl-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; }
.sl-word { position: absolute; inset: 0; display: grid; place-content: center; font-size: 14vw; font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: #171717; }
.sl-screen.is-live :is(.sl-word, img) { display: none; }
.sl-house:empty { display: none; }
.sl-house { padding: 0 20px 18px; color: #ededed; }
.sl-hall { display: block; width: 100%; height: clamp(120px, 23svh, 220px); margin-top: -2px; }
.sl-seat { transition: fill 0.25s; }
.sl-seat--taken { fill: #5c5c5c; } .sl-seat--open { fill: none; stroke: #6f6f6f; stroke-width: 2; } .sl-seat--you { fill: #cef54a; }
.sl-house a { display: block; color: inherit; text-decoration: none; }
.sl-house a:hover { text-decoration: none; }
.sl-house a:hover .sl-seat--open { stroke: #cef54a; }
.sl-house a:focus-visible { outline-color: #fff; outline-offset: 4px; }
.sl-house p { margin-top: 10px; text-align: center; font-size: 14px; line-height: 20px; color: #c9c9c9; }
.sl-house b { color: #fff; font-weight: 600; }

.sl-up { padding-block: clamp(40px, 6vw, 72px) 0; }
.sl-up h2, .sl-bill h2 { font-size: 20px; font-weight: 600; line-height: 28px; letter-spacing: -0.02em; }
.sl-up ul { margin-top: 12px; border-top: 1px solid var(--ds-hairline); }
.sl-up li { position: relative; display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; gap: 4px 24px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--ds-hairline); }
.sl-up time { font-weight: 500; }
.sl-up b { font-size: 20px; font-weight: 600; line-height: 28px; letter-spacing: -0.02em; }
.sl-up b a { color: inherit; }
.sl-up li > div > span { display: block; color: var(--ds-body); }
.sl-up li > a { min-height: 24px; color: var(--ds-link); text-decoration: underline; text-underline-offset: 3px; }

/* —— The record —— */
.sl-record { padding-block: clamp(64px, 9vw, 120px) 72px; }
.sl-record h2, .sl-invite h2 { font-size: clamp(40px, 6vw, 88px); font-weight: 700; line-height: 0.96; letter-spacing: -0.056em; text-wrap: balance; }
.sl-years { display: grid; gap: 22px; margin-top: 44px; }
.sl-year h3 { font-size: 14px; font-weight: 500; line-height: 20px; }
.sl-weeks { display: grid; grid-template-columns: repeat(52, minmax(0, 1fr)); gap: 4px; margin-top: 8px; }
.sl-weeks > * { position: relative; display: block; aspect-ratio: 1; border-radius: 50%; background: var(--sl-empty); }
.sl-weeks .is-lit { background: var(--hue); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.22); transition: transform 0.4s var(--sl-ease); }
.sl-weeks .is-next { background: transparent; border: 3px solid var(--hue); }
.sl-weeks a::after { content: ""; position: absolute; inset: -5px; }
.sl-weeks a:is(:hover, :focus-visible, .is-on) { transform: scale(1.75); z-index: 2; }
.sl-weeks .is-now::before { content: ""; position: absolute; left: 50%; top: calc(100% + 4px); width: 2px; height: 8px; margin-left: -1px; background: var(--ds-ink); }
.sl-terms-row { display: grid; grid-template-columns: repeat(52, minmax(0, 1fr)); gap: 4px; margin-top: 12px; font-size: 14px; line-height: 20px; color: var(--ds-body); }
.sl-key { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 16px; font-size: 14px; color: var(--ds-body); }
.sl-key span { display: inline-flex; align-items: center; gap: 8px; }
.sl-key i { width: 12px; height: 12px; border-radius: 50%; background: var(--sl-empty); }
.sl-key .is-lit { background: #7cc4ff; } .sl-key .is-next { background: none; border: 3px solid #7cc4ff; }
.sl-tools { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; }
.sl-tools input { flex: 1 1 240px; min-width: 0; max-width: 420px; height: 48px; padding: 0 14px; border: 1px solid var(--sl-edge); border-radius: var(--ds-radius-sm); background: var(--ds-canvas-elevated); color: var(--ds-ink); font: 400 16px/22px var(--ds-font-sans); }
.sl-doc ::placeholder { color: var(--ds-body); opacity: 0.85; }
.sl-seg { display: flex; border: 1px solid var(--sl-edge); border-radius: var(--ds-radius-sm); overflow: hidden; }
.sl-seg button { min-height: 46px; padding: 0 16px; border: 0; background: var(--ds-canvas-elevated); color: var(--ds-ink); font: 500 14px/20px var(--ds-font-sans); cursor: pointer; }
.sl-seg button + button { border-left: 1px solid var(--sl-edge); }
.sl-seg button[aria-pressed="true"] { background: var(--ds-ink); color: var(--ds-canvas); }
.sl-seg button:focus-visible { outline-offset: -4px; }
.sl-chips { display: flex; flex-wrap: wrap; gap: 6px; flex-basis: 100%; }
.sl-chips button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--sl-edge); border-radius: var(--ds-radius-pill); background: var(--ds-canvas-elevated); color: var(--ds-ink); font: 500 14px/20px var(--ds-font-sans); cursor: pointer; }
.sl-chips button:hover { border-color: var(--ds-ink); }
.sl-chips button[aria-pressed="true"] { background: var(--ds-ink); border-color: var(--ds-ink); color: var(--ds-canvas); }
.sl-chips i, .sl-meta i { flex: none; display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--hue); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25); }
.sl-count { min-height: 20px; margin: 16px 0 10px; font-size: 14px; line-height: 20px; color: var(--ds-body); }
.sl-row { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 20px clamp(32px, 6vw, 88px); padding: 36px 0; border-top: 1px solid var(--ds-hairline); transition: box-shadow 0.3s; }
.sl-row:last-child { border-bottom: 1px solid var(--ds-hairline); }
.sl-row:target { box-shadow: inset 6px 0 0 var(--hue); padding-left: 20px; }
.sl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 16px; font-size: 14px; color: var(--ds-body); }
.sl-meta span { display: inline-flex; align-items: center; gap: 8px; }
.sl-row h3 { margin-top: 10px; font-size: clamp(28px, 3.4vw, 48px); font-weight: 700; line-height: 1; letter-spacing: -0.05em; text-wrap: balance; }
.sl-row h3 a { color: inherit; text-decoration: none; }
.sl-row h3 a:hover { text-decoration: underline; text-decoration-thickness: 0.06em; text-underline-offset: 0.12em; }
.sl-who { margin-top: 14px; }
.sl-who b { font-weight: 600; }
.sl-who span { color: var(--ds-body); }
.sl-row__links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 10px; }
.sl-row__links a { min-height: 24px; }
.sl-three { counter-reset: n; align-self: center; }
.sl-three li { position: relative; padding: 10px 0 10px 40px; font-size: 18px; line-height: 26px; counter-increment: n; }
.sl-three li + li { border-top: 1px solid var(--ds-hairline); }
.sl-three li::before { content: counter(n); position: absolute; left: 0; top: 10px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--hue); color: #171717; font-size: 14px; font-weight: 600; }
.sl-none { padding: 24px 0 40px; }
.sl-none h3 { font-size: 28px; font-weight: 600; letter-spacing: -0.04em; line-height: 34px; }
.sl-none p { margin-top: 14px; }

/* —— The bill —— */
.sl-bill { padding: clamp(56px, 8vw, 96px) 0; border-top: 1px solid var(--ds-hairline); background: #141414; color: #fff; }
.sl-bill ul { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px clamp(20px, 3vw, 44px); margin-top: 20px; }
.sl-bill a { display: inline-block; color: #fff; font-size: clamp(34px, 5vw, 72px); font-weight: 700; line-height: 1.02; letter-spacing: -0.055em; text-decoration: none; transition: color 0.25s; }
.sl-bill .is-2 a { font-size: clamp(42px, 7.4vw, 108px); }
.sl-bill a:is(:hover, :focus-visible) { color: var(--hue); text-decoration: none; }
.sl-bill a:focus-visible { outline-color: #fff; }
.sl-bill li span { display: block; max-width: 32ch; font-size: 14px; line-height: 20px; color: #bdbdbd; }

/* —— Invite —— */
.sl-invite { background: #cef54a; color: #171717; }
.sl-invite > .sl-wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px clamp(32px, 6vw, 96px); padding-block: clamp(56px, 9vw, 112px); }
.sl-invite .sl-lede { color: #171717; }
.sl-invite :focus-visible { outline-color: #171717; }
.sl-terms { margin-top: 28px; border-top: 1px solid rgba(23, 23, 23, 0.3); }
.sl-terms > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 0 16px; padding: 10px 0; border-bottom: 1px solid rgba(23, 23, 23, 0.3); }
.sl-terms dt { font-weight: 600; }
.sl-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; align-content: start; }
.sl-full { grid-column: 1 / -1; }
.sl-form label { display: block; margin-bottom: 6px; font-weight: 500; line-height: 20px; }
.sl-form :is(input, textarea) { display: block; width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #171717; border-radius: var(--ds-radius-sm); background: #fff; color: #171717; font: 400 16px/22px var(--ds-font-sans); }
.sl-form ::placeholder { color: #595959; opacity: 1; }
.sl-form textarea { resize: vertical; }
.sl-form .sl-go { margin-top: 4px; gap: 10px 22px; }
.sl-form .sl-btn { background: #171717; color: #fff; }
.sl-doc .sl-form .sl-go a { color: #171717; }
.sl-said:empty { display: none; }
.sl-said { font-weight: 500; }
.sl-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 32px; max-width: var(--ds-container-max); margin: 0 auto; padding: 24px; font-size: 14px; color: var(--ds-body); }

/* —— One lecture —— */
.sl-talk { display: grid; grid-template-columns: minmax(0, 54fr) minmax(0, 46fr); min-height: min(calc(100svh - var(--nv-head)), 780px); }
.sl-talk .sl-hero__text { justify-content: center; gap: 28px; }
.sl-talk h1 { margin-top: 14px; font-size: clamp(42px, 5.6vw, 88px); font-weight: 700; line-height: 0.95; letter-spacing: -0.058em; text-wrap: balance; overflow-wrap: break-word; }
.sl-back a { display: inline-block; min-height: 24px; font-size: 14px; color: var(--ds-body); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--sl-edge); }
.sl-big { padding-block: clamp(48px, 7vw, 96px); }
.sl-big > h2, .sl-more h2 { font-size: 20px; font-weight: 600; line-height: 28px; letter-spacing: -0.02em; }
.sl-big ol { margin-top: 16px; counter-reset: n; }
.sl-big li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 0 20px; align-items: start; padding: 26px 0; border-top: 1px solid var(--ds-hairline); counter-increment: n; font-size: clamp(28px, 4.2vw, 60px); font-weight: 700; line-height: 1.02; letter-spacing: -0.05em; text-wrap: balance; }
.sl-big li::before { content: counter(n); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--hue); color: #171717; font-size: 22px; letter-spacing: 0; }
.sl-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px clamp(32px, 6vw, 96px); padding-block: 48px 88px; border-top: 1px solid var(--ds-hairline); }
.sl-more section + section { margin-top: 36px; }
.sl-links { margin-top: 10px; font-size: 18px; line-height: 28px; }
.sl-links li { padding: 8px 0; border-bottom: 1px solid var(--ds-hairline); }
.sl-links span { display: block; font-size: 16px; line-height: 24px; color: var(--ds-body); }
.sl-links p { color: var(--ds-body); }
.sl-links a { display: inline-block; min-height: 24px; }
.sl-hero.is-failed { display: block; min-height: 0; }
.sl-bio + .sl-bio { margin-top: 32px; }
.sl-bio { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 4px 20px; margin-top: 12px; }
.sl-face { grid-row: span 4; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: 50% 24%; background: var(--hue); }
.sl-face--initials { display: grid; place-items: center; color: #171717; font-size: 32px; font-weight: 700; letter-spacing: -0.04em; }
.sl-bio h3 { font-size: 24px; font-weight: 600; line-height: 30px; letter-spacing: -0.03em; }
.sl-bio p { color: var(--ds-body); }
.sl-bio a { display: inline-block; min-height: 24px; color: var(--ds-link); text-decoration: underline; text-underline-offset: 3px; }
.sl-video { aspect-ratio: 16 / 9; margin-top: 12px; border-radius: var(--ds-radius-md); overflow: hidden; background: #141414; }
.sl-video iframe { width: 100%; height: 100%; border: 0; }

html:not(.js) .sl-room, html:not(.js) .sl-form { display: none; }
html:not(.js) .sl-hero { display: block; min-height: 0; }

@media (min-width: 1001px) and (max-height: 760px) { .sl-hero h2 { font-size: clamp(40px, 5vw, 68px); } .sl-hall { height: 120px; } }
@media (max-width: 1000px) {
  .sl-hero, .sl-talk { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .sl-hero__text { padding-right: 24px; }
  .sl-screen { flex: none; height: clamp(260px, 62vw, 460px); }
  .sl-hall { height: clamp(120px, 26vw, 200px); }
  .sl-weeks, .sl-terms-row { grid-template-columns: repeat(26, minmax(0, 1fr)); }
  .sl-terms-row { display: none; }
  .sl-row { grid-template-columns: minmax(0, 1fr); }
  .sl-invite > .sl-wrap, .sl-more { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .sl-wrap { padding-inline: 16px; }
  .sl-hero__text { padding-inline: 16px; }
  .sl-up li { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .sl-weeks { grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 6px; }
  .sl-weeks a:is(:hover, :focus-visible, .is-on) { transform: scale(1.3); }
  .sl-seg { flex: 1 1 100%; }
  .sl-seg button { flex: 1; padding: 0 4px; }
  .sl-tools input { max-width: none; }
  .sl-go .sl-btn { flex: 1 1 auto; }
  .sl-form { grid-template-columns: minmax(0, 1fr); }
  .sl-big li { grid-template-columns: 44px minmax(0, 1fr); gap: 0 14px; }
  .sl-big li::before { width: 38px; height: 38px; font-size: 18px; }
  .sl-bio { grid-template-columns: 72px minmax(0, 1fr); gap: 4px 16px; }
  .sl-face { width: 72px; height: 72px; }
}
@media (prefers-reduced-motion: reduce) { html.sl-doc { scroll-behavior: auto; } .sl-doc * { transition: none !important; animation: none !important; } }
@media (forced-colors: active) { .sl-weeks > *, .sl-key i { border: 1px solid; } .sl-weeks .is-lit { background: Highlight; } .sl-seat--you { fill: Highlight; } }
@media print { .sl-room, .sl-tools, .sl-form { display: none; } .sl-hero { display: block; min-height: 0; } }
