:root {
  --bg: #0b0d17;
  --text: #eef0f7;
  --soft: #c9cddc;
  --muted: #8e95ad;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #ffc857;
  --accent-2: #ff9a62;
  --accent-ink: #1a1405;
  --sweep: 9s;
  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  padding: 72px 16px;
}

/* soft fade into the content below */
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 30%;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
  z-index: -1;
}

/* Moving spotlights: three lamps, each with its own position, pace and phase */
.beam, .pool {
  --x: 50%;
  --dur: var(--sweep);
  --delay: 0s;
  --strength: 1;
}
.spot-left  { --x: 14%; --dur: 11s; --delay: -4s; --strength: 0.7; }
.spot-right { --x: 86%; --dur: 13s; --delay: -9s; --strength: 0.7; }

.beam {
  position: absolute;
  top: 0;
  left: var(--x);
  width: 200vmax;
  height: 200vmax;
  margin-left: -100vmax;
  background: conic-gradient(from 162deg at 50% 0%,
      transparent 0deg,
      rgba(255, 214, 120, 0.10) 7deg,
      rgba(255, 230, 165, 0.24) 18deg,
      rgba(255, 214, 120, 0.10) 29deg,
      transparent 36deg 360deg);
  filter: blur(8px);
  transform-origin: 50% 0;
  opacity: var(--strength);
  animation: sweep var(--dur) ease-in-out var(--delay) infinite alternate,
             flicker 4s ease-in-out var(--delay) infinite;
  pointer-events: none;
  z-index: -1;
}
.beam::before {
  /* the lamp */
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 200px;
  height: 100px;
  transform: translate(-50%, -45%);
  background: radial-gradient(ellipse at center, rgba(255, 240, 200, 0.95), rgba(255, 200, 87, 0.3) 40%, transparent 70%);
  filter: blur(8px);
}
.pool {
  /* light hitting the floor, follows the beam */
  position: absolute;
  left: var(--x);
  bottom: 2vh;
  width: 70vh;
  height: 22vh;
  margin-left: -35vh;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 210, 120, 0.22), transparent 65%);
  filter: blur(10px);
  opacity: var(--strength);
  animation: follow var(--dur) ease-in-out var(--delay) infinite alternate;
  pointer-events: none;
  z-index: 0;
}
/* tan(20deg) * 100vh ≈ 36vh */
@keyframes sweep {
  from { transform: rotate(20deg); }
  to   { transform: rotate(-20deg); }
}
@keyframes follow {
  from { transform: translateX(-36vh); }
  to   { transform: translateX(36vh); }
}
@keyframes flicker {
  0%, 100% { opacity: var(--strength); }
  50%      { opacity: calc(var(--strength) * 0.82); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(64px, 13vw, 176px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.title em {
  display: block;
  font-style: italic;
  background: linear-gradient(180deg, #fff3cf 0%, var(--accent) 50%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* extra room so the italic overhang and the descender of the "g"
     are not clipped by background-clip: text */
  padding: 0 0.08em 0.2em;
  margin-bottom: -0.2em;
}
.event-description {
  margin: 32px 0 0;
  max-width: 480px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--soft);
}
.lead {
  margin: 0;
  max-width: 560px;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 3.6vw, 34px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--accent);
}
.lead::before {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  margin: 24px auto;
  background: var(--accent);
  opacity: 0.5;
}
.meta {
  /* date badge: uppercase, widely tracked, framed in gold */
  display: inline-block;
  margin: 28px 0 0;
  padding: 10px 22px;
  border: 1px solid rgba(255, 200, 87, 0.45);
  border-radius: 999px;
  background: rgba(255, 200, 87, 0.07);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
}
.meta time span:last-child { color: var(--accent); }
.meta span { white-space: nowrap; }
.meta i { font-style: normal; color: var(--accent); opacity: 0.6; margin: 0 0.7em; }
.thanks {
  margin: 14px 0 0;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--soft);
}

.cta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -8px rgba(255, 200, 87, 0.55);
}
.btn-ghost {
  background: rgba(11, 13, 23, 0.4);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

/* ---------- Hero poster stand ---------- */
.hero-layout {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}
.stand {
  --w: min(230px, 62vw);
  --wood-dark: #2e2113;
  --wood: #7a5a2e;
  position: relative;
  margin: 0;
  width: var(--w);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.stand-light {
  /* a spotlight aimed at the poster from above, reaching the floor */
  position: absolute;
  left: 50%;
  bottom: 9%;
  width: 230%;
  height: 140vh;
  transform: translateX(-50%);
  background: linear-gradient(to bottom,
      rgba(255, 230, 165, 0) 0%,
      rgba(255, 220, 140, 0.06) 50%,
      rgba(255, 214, 120, 0.16) 100%);
  clip-path: polygon(48% 0, 52% 0, 85% 100%, 15% 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 12%, #000 38%, #000 62%, transparent 88%);
  mask-image: linear-gradient(to right, transparent 12%, #000 38%, #000 62%, transparent 88%);
  filter: blur(12px);
  animation: flicker 5s ease-in-out -2s infinite;
  pointer-events: none;
  z-index: -1;
}
.stand-board { position: relative; width: 100%; }
.stand-mast {
  position: absolute;
  left: 50%;
  top: -22px;
  width: 9px;
  height: 40px;
  margin-left: -4.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--wood-dark), var(--wood), var(--wood-dark));
}
.stand-frame {
  position: relative;
  display: block;
  aspect-ratio: 720 / 1019;
  padding: 7px;
  border-radius: 3px;
  background: linear-gradient(160deg, #3a2a16, #17110a);
  box-shadow:
    0 0 0 1px rgba(255, 200, 87, 0.35),
    0 30px 60px -18px rgba(0, 0, 0, 0.9),
    0 0 90px -10px rgba(255, 200, 87, 0.4);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.stand-frame:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(255, 200, 87, 0.6),
    0 34px 60px -18px rgba(0, 0, 0, 0.9),
    0 0 110px -6px rgba(255, 200, 87, 0.55);
}
.stand-frame img {
  position: absolute;
  inset: 7px;
  width: calc(100% - 14px);
  height: calc(100% - 14px);
  object-fit: cover;
  object-position: top;
  background: #fff;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1s ease, transform 1.2s ease;
}
.stand-frame img.is-active { opacity: 1; transform: none; }
.stand-frame::before,
.stand-frame::after {
  content: "";
  position: absolute;
  inset: 7px;
  z-index: 1;
  pointer-events: none;
}
.stand-frame::before {
  /* light falling from the top, darker towards the floor */
  background:
    radial-gradient(ellipse 90% 55% at 50% -8%, rgba(255, 236, 180, 0.32), transparent 70%),
    linear-gradient(to bottom, transparent 55%, rgba(11, 13, 23, 0.32));
}
.stand-frame::after {
  /* a slow sheen sweeping across the paper */
  background: linear-gradient(110deg, transparent 38%, rgba(255, 244, 214, 0.28) 50%, transparent 62%);
  background-size: 300% 100%;
  mix-blend-mode: screen;
  animation: sheen 7s ease-in-out infinite;
}
@keyframes sheen {
  0%   { background-position: 120% 0; }
  60%, 100% { background-position: -20% 0; }
}
.stand-easel {
  position: relative;
  width: 100%;
  height: clamp(54px, 6vw, 78px);
}
.stand-easel::after {
  /* pool of light on the floor */
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  width: 170%;
  height: 34px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 210, 120, 0.28), transparent 70%);
  filter: blur(4px);
  z-index: -1;
}
.stand-ledge {
  position: absolute;
  top: -4px;
  left: -7%;
  width: 114%;
  height: 11px;
  border-radius: 3px;
  background: linear-gradient(to bottom, #9a7440, var(--wood-dark));
  box-shadow: 0 6px 12px -4px rgba(0, 0, 0, 0.8);
  z-index: 2;
}
.stand-leg {
  position: absolute;
  top: 0;
  width: 9px;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--wood-dark), var(--wood), var(--wood-dark));
  transform-origin: top center;
}
.stand-leg-left  { left: 16%;  transform: rotate(9deg); }
.stand-leg-right { right: 16%; transform: rotate(-9deg); }
.stand-leg-back  { left: 50%; margin-left: -4px; width: 7px; height: 82%; opacity: 0.55; }
.stand-caption {
  min-height: 4.6em;
  margin-top: 24px;
  transition: opacity 0.35s ease;
}
.stand.is-changing .stand-caption { opacity: 0; }
.stand-presenter {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.2;
  color: var(--accent);
}
.stand-title {
  display: -webkit-box;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--soft);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.stand-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 20px;
  border: 1px solid rgba(255, 200, 87, 0.5);
  border-radius: 999px;
  background: rgba(255, 200, 87, 0.08);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.stand-btn:hover { background: rgba(255, 200, 87, 0.16); border-color: var(--accent); }

@media (min-width: 960px) {
  .hero-layout {
    flex-direction: row;
    gap: clamp(48px, 7vw, 120px);
  }
  .stand { --w: clamp(200px, 17vw, 250px); }
}

/* Narrow screens: the stand goes right after the date, before the buttons,
   so that it shows up in the first screen. */
@media (max-width: 959px) {
  .hero-layout { gap: 0; }
  .hero-inner { display: contents; }
  .hero-inner > .cta { order: 2; }
  .stand {
    order: 1;
    --w: min(150px, 40vw);
    margin-top: 40px;
  }
  .stand-easel { height: 40px; }
  .stand-leg, .stand-mast { width: 7px; }
  .stand-mast { top: -16px; height: 28px; }
  .stand-ledge { height: 8px; }
  .stand-caption { min-height: 0; margin-top: 14px; }
  .stand-presenter { font-size: 19px; }
  .stand-title { display: none; }
  .stand-btn { margin-top: 10px; padding: 8px 16px; font-size: 13px; }
  .event-description { margin-top: 20px; }
  .lead::before { margin: 18px auto; }
  .meta { margin-top: 22px; }
}

.scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  text-decoration: none;
  font-size: 20px;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 6px); }
}

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

/* ---------- Content ---------- */
.content {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 40px;
}
.content section {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}
.content section:first-child { border-top: 0; }
.content h2 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.1;
}
.content h2 small {
  display: block;
  margin-top: 6px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--muted);
}
.content p { margin: 0 0 16px; color: var(--soft); }
.content p:last-child { margin-bottom: 0; }

.program {
  list-style: none;
  margin: 0;
  padding: 0;
}
.program li {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.program li:last-child { border-bottom: 0; }
.program .what { font-weight: 600; color: var(--text); }
.program .desc { color: var(--soft); }

.join {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.join a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: var(--soft);
  font-size: 15.5px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.join a:hover {
  border-color: rgba(255, 200, 87, 0.5);
  background: rgba(255, 200, 87, 0.04);
}
.join strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  color: var(--accent);
}
.join strong::after { content: " →"; }

/* ---------- Photos ---------- */
.photos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.photos a {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.2s ease;
}
.photos a:hover { border-color: rgba(255, 200, 87, 0.5); }
.photos img {
  display: block;
  width: 100%;
  height: auto;
  /* the photos show a lot of ceiling: frame the people */
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 50% 85%;
  transition: transform 0.4s ease;
}
.photos a:hover img { transform: scale(1.03); }

.people {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 24px;
}
.people li {
  display: flex;
  align-items: center;
  gap: 16px;
}
.avatar {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}
.avatar-malio {
  position: relative;
  overflow: hidden;
}
.avatar-malio img {
  position: absolute;
  width: 570%;
  max-width: none;
  height: auto;
  left: 50%;
  top: -42%;
  transform: translateX(-50.8%);
}
.people .name {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.2;
  color: var(--text);
  text-decoration: none;
  margin-bottom: 4px;
  white-space: nowrap;
}
.people .name:hover { color: var(--accent); }
.organizer-course {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.45;
  color: var(--soft);
}
.organizer-body {
  display: block;
  margin-top: 4px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--muted);
}

.footer {
  padding: 32px 16px 40px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.footer a {
  color: var(--accent);
  text-underline-offset: 3px;
}

/* ---------- Posters ---------- */
.posters .carousel,
.posters .poster-filters,
.posters .carousel-status {
  /* break out of the 720px text column */
  margin-left: calc(50% - min(560px, 50vw - 16px));
  margin-right: calc(50% - min(560px, 50vw - 16px));
}
.poster-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}
.poster-filters[hidden] { display: none; }
.poster-filter {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--soft);
  font: 500 13px/1.4 var(--font-body);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.poster-filter span { color: var(--muted); font-weight: 400; margin-left: 2px; }
.poster-filter:hover { border-color: rgba(255, 200, 87, 0.5); color: var(--text); }
.poster-filter[aria-pressed="true"] {
  border-color: rgba(255, 200, 87, 0.6);
  background: rgba(255, 200, 87, 0.1);
  color: var(--accent);
}
.poster-filter[aria-pressed="true"] span { color: var(--accent); opacity: 0.7; }

.carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.poster-track {
  position: relative;
  flex: 1;
  min-width: 0;
  list-style: none;
  margin: 0;
  padding: 8px 4px 20px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 236px;
  gap: 20px;
  align-items: start;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 200, 87, 0.35) transparent;
}
.poster-track:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 8px; }
.poster-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.poster-card[hidden] { display: none; }
.poster-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 200, 87, 0.45);
  box-shadow: 0 18px 40px -18px rgba(255, 200, 87, 0.4);
}
.poster-thumb {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1.414;
  background: #fff;
  overflow: hidden;
}
.poster-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.poster-thumb::after {
  /* a spotlight sweeping over the poster on hover */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 230, 165, 0.35), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.poster-card:hover .poster-thumb::after { opacity: 1; }
.poster-thumb-empty {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 200, 87, 0.18), transparent 65%),
    #12152a;
  text-align: center;
}
.poster-thumb-title {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.15;
  color: var(--text);
}
.poster-thumb-note {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.poster-info { padding: 14px 16px 16px; }
.content .poster-title {
  margin: 0 0 6px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.content .poster-presenter {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.2;
  color: var(--accent);
}
.poster-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
}
.poster-tags li {
  padding: 1px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--muted);
}
.poster-details { margin-top: 12px; font-size: 14px; }
.poster-details summary { cursor: pointer; color: var(--accent); }
.js .poster-details { display: none; }
.poster-authors { font-size: 13px; color: var(--muted); }
.content .poster-abstract p,
.poster-abstract p { margin: 0 0 12px; color: var(--soft); }

.carousel-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(11, 13, 23, 0.6);
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.carousel-btn[hidden] { display: none; }
.carousel-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.carousel-btn:disabled { opacity: 0.3; cursor: default; }
.content .carousel-status {
  margin-top: 4px;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

button:focus-visible,
.poster-thumb:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- Poster dialog ---------- */
.poster-modal {
  width: min(1040px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 1px solid rgba(255, 200, 87, 0.3);
  border-radius: 18px;
  background: #10132a;
  color: var(--text);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}
.poster-modal::backdrop {
  background: rgba(5, 6, 12, 0.78);
  backdrop-filter: blur(4px);
}
.poster-modal-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  max-height: inherit;
}
.poster-modal.no-image .poster-modal-inner { grid-template-columns: 1fr; }
.poster-modal.no-image .poster-modal-image { display: none; }
.poster-modal-image {
  display: block;
  background: #fff;
  overflow: auto;
  max-height: calc(100vh - 50px);
  max-height: calc(100dvh - 50px);
}
.poster-modal-image img { display: block; width: 100%; height: auto; }
.poster-modal-text {
  padding: 36px 36px 28px;
  overflow-y: auto;
  max-height: calc(100vh - 50px);
  max-height: calc(100dvh - 50px);
}
.poster-modal-presenter {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.2;
  color: var(--accent);
}
.poster-modal h3 {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
}
.poster-modal-authors { margin: 0 0 8px; font-size: 13.5px; color: var(--muted); }
.poster-modal-contact { margin: 0 0 14px; font-size: 13.5px; color: var(--muted); }
.poster-modal-contact[hidden] { display: none; }
.poster-modal-contact a,
.poster-contact a { color: var(--accent); text-underline-offset: 3px; overflow-wrap: anywhere; }
.content .poster-contact { margin: 0 0 10px; font-size: 13px; }
.poster-modal .poster-tags { margin-bottom: 22px; }
.poster-modal .poster-abstract { font-size: 15.5px; line-height: 1.7; }
.poster-modal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.poster-modal-actions .btn { min-width: 0; padding: 11px 22px; font-size: 15px; }
.poster-modal-actions .btn[hidden] { display: none; }
.poster-modal-nav { display: flex; gap: 10px; margin-left: auto; }
.poster-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(11, 13, 23, 0.85);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.poster-modal-close:hover { border-color: var(--accent); color: var(--accent); }

@media (max-width: 600px) {
  .meta { border-radius: 16px; padding: 10px 18px; letter-spacing: 0.16em; }
  .meta span { display: block; }
  .meta i { display: none; }
  .cta { flex-direction: column; width: 100%; max-width: 320px; }
  .btn { width: 100%; }
  .content { padding: 16px 16px 24px; }
  .program li { grid-template-columns: 1fr; gap: 2px; }
  .join, .people { grid-template-columns: 1fr; }
  .carousel .carousel-btn { display: none; }
  .poster-track { grid-auto-columns: 72%; gap: 14px; }
  .poster-filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .poster-filter { flex-shrink: 0; }
}

@media (max-width: 760px) {
  .poster-modal { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); }
  .poster-modal-inner { display: block; max-height: calc(100dvh - 18px); overflow-y: auto; }
  .poster-modal-image { max-height: 55vh; }
  .poster-modal-text { max-height: none; overflow: visible; padding: 24px 20px; }
  .poster-modal-presenter { padding-right: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .beam, .pool, .scroll-hint { animation: none; }
  .poster-card, .poster-card:hover { transform: none; transition: none; }
  .photos img, .photos a:hover img { transform: none; transition: none; }
  .stand-light, .stand-frame::after { animation: none; }
  .stand-frame img, .stand-caption { transition: none; }
}
