@import url("https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,600;6..72,800&family=Public+Sans:wght@400;500;700;800;900&display=swap");

:root {
  --ink: #11100f;
  --paper: #fff7e8;
  --white: #fffdf7;
  --blue: #078af0;
  --deep: #1f35a3;
  --lime: #d7ff00;
  --orange: #ff5a00;
  --rose: #da3b34;
  --cyan: #67dfe7;
  --muted: rgba(17, 16, 15, 0.68);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Public Sans", system-ui, sans-serif;
  padding-top: 96px;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--lime), var(--cyan), var(--rose));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 80ms linear;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.topbar {
  position: fixed;
  top: 14px;
  left: clamp(12px, 3vw, 42px);
  right: clamp(12px, 3vw, 42px);
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 68px;
  padding: 10px clamp(14px, 2.6vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(17, 16, 15, 0.78);
  color: white;
  backdrop-filter: blur(22px) saturate(1.3);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.22);
  transition: min-height 260ms ease, padding 260ms ease, background 260ms ease, box-shadow 260ms ease, transform 260ms ease;
}

section {
  scroll-margin-top: 104px;
}

.topbar.is-scrolled {
  min-height: 58px;
  padding-top: 8px;
  padding-bottom: 8px;
  background: rgba(17, 16, 15, 0.9);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.3);
}

.wayfinder {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: -1px;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  background: var(--ink);
  color: white;
}

.wayfinder a {
  min-height: 78px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 14px clamp(14px, 2vw, 24px);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  line-height: 1.25;
  text-decoration: none;
  transition: background 220ms ease, color 220ms ease, padding-left 220ms ease;
}

.wayfinder a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  padding-left: clamp(18px, 2.4vw, 30px);
}

.wayfinder a:last-child {
  border-right: 0;
}

.wayfinder span {
  color: white;
  font-weight: 900;
}

.brand {
  display: grid;
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 0.82;
  text-decoration: none;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 2vw, 26px);
  font-size: 0.82rem;
  font-weight: 900;
  overflow-x: auto;
}

.nav a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.nav a:hover,
.nav a.is-active {
  background: white;
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.12);
}

.nav a:hover {
  transform: translateY(-1px);
}

.nav .nav-today {
  display: none;
}

.nav a,
.ticket-btn,
.hero-actions a,
.recording-card,
.guest-lead a {
  text-decoration: none;
}

.ticket-btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 0.82rem;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease;
}

.ticket-btn:hover {
  background: var(--rose);
}

.ticket-btn:hover,
.hero-actions a:hover,
.highlight-panel > a:hover,
.guest-lead a:hover {
  transform: translateY(-2px);
}

.today-access {
  position: fixed;
  right: clamp(14px, 2vw, 28px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 28;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border: 2px solid white;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.25);
  transition: transform 180ms ease, background 180ms ease;
}

.today-access:hover {
  transform: translateY(-2px);
  background: var(--rose);
}

.today-access span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--lime);
  box-shadow: 0 0 0 6px rgba(215, 255, 0, 0.18);
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: flex;
  align-items: flex-end;
  border-bottom: 3px solid var(--ink);
  background: var(--ink);
  color: white;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
}

.hero-image picture,
.hero-image img {
  width: 100%;
  height: 100%;
}

.hero-image picture {
  display: block;
}

.hero-image img {
  object-fit: cover;
  object-position: center center;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 16, 15, 0.78) 0%, rgba(17, 16, 15, 0.48) 46%, rgba(17, 16, 15, 0.18) 100%),
    linear-gradient(0deg, rgba(17, 16, 15, 0.8) 0%, rgba(17, 16, 15, 0) 42%);
}

.hero-panel {
  position: relative;
  z-index: 2;
  width: min(62vw, 850px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: calc(100vh - 74px);
  padding: clamp(36px, 6vw, 86px);
  background: transparent;
}

.kicker,
.label {
  margin: 0 0 18px;
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Newsreader", Georgia, serif;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

h1 {
  margin-bottom: 22px;
  max-width: 10ch;
  font-size: clamp(4rem, 8vw, 8.8rem);
  line-height: 0.9;
}

.hero-panel p:not(.kicker) {
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.06rem, 1.5vw, 1.28rem);
  line-height: 1.48;
}

.highlight-panel {
  position: absolute;
  z-index: 3;
  right: clamp(18px, 4vw, 58px);
  bottom: clamp(22px, 5vw, 70px);
  width: min(360px, calc(100vw - 36px));
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(17, 16, 15, 0.62);
  color: white;
  backdrop-filter: blur(18px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}

.highlight-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.highlight-head span {
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.highlight-head strong {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
}

.highlight-panel .status-grid article {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.highlight-panel .status-grid span {
  color: rgba(255, 255, 255, 0.7);
}

.highlight-panel .status-grid strong {
  color: white;
}

.highlight-panel > a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 12px;
  border-radius: 999px;
  background: var(--rose);
  color: white;
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
}

.status-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 0;
}

.status-grid article {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  background: var(--white);
}

.status-grid span {
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-grid strong {
  font-size: 0.95rem;
  line-height: 1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.hero-actions a {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 2px solid white;
  border-radius: 999px;
  font-weight: 900;
}

.hero-actions a:first-child {
  background: var(--rose);
  color: white;
}

.hero-actions a:last-child {
  background: transparent;
  color: white;
}

.recordings {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, minmax(0, 1fr));
  border-bottom: 3px solid var(--ink);
}

.today-strip {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  align-items: stretch;
  padding: clamp(24px, 4vw, 46px) clamp(16px, 5vw, 72px);
  border-bottom: 3px solid var(--ink);
  background: var(--blue);
  color: white;
}

.today-strip h2 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 0.96;
}

.today-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.today-grid article {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  border: 2px solid var(--ink);
  background: var(--white);
  color: var(--ink);
}

.today-grid span {
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.today-grid strong {
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(1.45rem, 2.4vw, 2.3rem);
  line-height: 0.95;
}

.recordings-lead,
.recording-card {
  min-height: 260px;
  padding: clamp(22px, 3vw, 38px);
  border-right: 3px solid var(--ink);
}

.recordings-lead {
  background: var(--ink);
  color: white;
}

.recordings-lead h2,
.section-title h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4.4vw, 4.15rem);
  line-height: 0.98;
}

.recordings-lead .label {
  margin-bottom: 26px;
}

.recordings-lead p {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.48;
}

.recording-card {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.recording-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.18);
}

.recording-card:last-child {
  border-right: 0;
}

.recording-card span {
  margin-bottom: 18px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.recording-card strong {
  margin-top: auto;
  margin-bottom: 10px;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  line-height: 0.9;
}

.recording-card p {
  margin: 0;
  line-height: 1.42;
}

.lime {
  background: var(--lime);
}

.blue {
  background: var(--cyan);
}

.rose {
  background: var(--rose);
  color: white;
}

.must-see,
.agenda,
.guests,
.venues,
.community {
  padding: clamp(48px, 7vw, 92px) clamp(16px, 5vw, 72px);
}

.section-title {
  max-width: 820px;
  margin-bottom: 30px;
}

.section-title p:not(.kicker) {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.48;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 0.95fr;
  gap: 18px;
}

.feature-grid article {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 3px solid var(--ink);
  background: var(--white);
  overflow: hidden;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.feature-grid article:first-child {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
}

.feature-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-grid div {
  padding: 24px;
}

.feature-grid article:nth-child(2) {
  background: var(--deep);
  color: white;
}

.feature-grid article:nth-child(3) {
  background: var(--orange);
}

.feature-grid span,
.schedule-list time,
.schedule-list span,
.guest-wall span,
.guest-lead span {
  display: block;
  margin-bottom: 14px;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.feature-grid h3 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 0.9;
}

.feature-grid p {
  margin: 0;
  line-height: 1.45;
}

.agenda {
  background: var(--white);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}

.agenda-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: stretch;
}

.agenda-preview article,
.agenda-preview a {
  min-height: 190px;
  padding: 18px;
  border: 3px solid var(--ink);
  background: var(--paper);
}

.agenda-preview article {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.agenda-preview span {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.agenda-preview strong {
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 0.96;
}

.agenda-preview p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.agenda-preview a {
  min-width: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: white;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.agenda-hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: clamp(104px, 10vw, 132px) clamp(18px, 6vw, 88px) clamp(48px, 7vw, 76px);
  border-bottom: 3px solid var(--ink);
  background:
    linear-gradient(90deg, rgba(17, 16, 15, 0.86) 0%, rgba(17, 16, 15, 0.68) 38%, rgba(17, 16, 15, 0.16) 100%),
    url("assets/hero-festival.jpg") center / cover;
  color: white;
}

.agenda-page .agenda-hero {
  min-height: clamp(420px, 54vh, 560px);
  background:
    linear-gradient(90deg, rgba(17, 16, 15, 0.92) 0%, rgba(17, 16, 15, 0.72) 42%, rgba(17, 16, 15, 0.1) 100%),
    url("assets/agenda-triptico.jpg") center / cover;
}

.agenda-hero-copy {
  max-width: 780px;
}

.agenda-hero h1 {
  max-width: 11ch;
}

.agenda-hero p:not(.kicker) {
  max-width: 48rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.06rem, 1.5vw, 1.28rem);
  line-height: 1.5;
}

.agenda-brief {
  width: min(100%, 920px);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.agenda-brief article {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(17, 16, 15, 0.54);
  backdrop-filter: blur(14px);
}

.agenda-brief span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.agenda-brief strong {
  max-width: none;
  font-family: "Public Sans", system-ui, sans-serif;
  font-size: 0.82rem;
  line-height: 1.1;
  text-align: left;
}

.agenda-app {
  display: grid;
  gap: 16px;
}

.agenda-toolbar {
  position: sticky;
  top: 92px;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
  border: 2px solid var(--ink);
  border-radius: 22px;
  background: rgba(255, 247, 232, 0.82);
  backdrop-filter: blur(18px);
}

.agenda-toolbar button,
.agenda-filters button {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 16, 15, 0.08);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
}

.agenda-toolbar button.active,
.agenda-filters button.active {
  background: var(--ink);
  color: white;
}

.agenda-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
}

.agenda-filters {
  position: sticky;
  top: 174px;
  align-self: start;
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 2px solid var(--ink);
  border-radius: 22px;
  background: var(--paper);
}

.agenda-filters p {
  margin: 0 0 4px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.agenda-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  padding: 0 2px;
}

.agenda-status strong {
  font-size: 0.9rem;
}

.agenda-status span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.agenda-list {
  display: grid;
  gap: 14px;
}

.agenda-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1fr);
  min-height: 270px;
  border: 3px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.agenda-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.16);
}

.agenda-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agenda-card-body {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: clamp(18px, 3vw, 28px);
}

.agenda-card-top,
.agenda-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.agenda-card time,
.agenda-meta span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.category-pill,
.guest-links a,
.recording {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
}

.category-pill {
  background: var(--lime);
  color: var(--ink);
}

.agenda-card h3 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.96;
}

.agenda-card p {
  max-width: 60rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.guest-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.guest-links a {
  border: 1px solid var(--ink);
  color: var(--ink);
}

.guest-links a.principal {
  background: var(--ink);
  color: white;
}

.recording {
  margin-top: 4px;
}

.recording.available {
  background: var(--rose);
  color: white;
}

.recording.pending {
  background: var(--cyan);
  color: var(--ink);
}

.recording.none {
  background: rgba(17, 16, 15, 0.1);
  color: var(--muted);
}

.schedule-shell {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
}

.schedule-menu {
  display: grid;
  align-content: start;
  gap: 8px;
}

.schedule-menu button {
  min-height: 48px;
  border: 2px solid var(--ink);
  background: var(--paper);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-align: left;
  padding: 0 14px;
}

.schedule-menu .active {
  background: var(--ink);
  color: white;
}

.schedule-list {
  display: grid;
  gap: 12px;
}

.schedule-list article {
  display: grid;
  grid-template-columns: 150px 1fr 220px;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 2px solid var(--ink);
  background: var(--paper);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.schedule-list h3 {
  margin-bottom: 6px;
  font-size: 1.8rem;
  line-height: 0.95;
}

.schedule-list p {
  margin: 0;
  color: var(--muted);
}

.guests {
  background:
    linear-gradient(130deg, transparent 0 68%, var(--lime) 68% 76%, transparent 76%),
    var(--paper);
}

.guest-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
  align-items: stretch;
}

.guest-lead {
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 3vw, 36px);
  border: 3px solid var(--ink);
  background:
    linear-gradient(90deg, var(--orange) 0 22%, var(--lime) 22% 44%, var(--cyan) 44% 70%, var(--rose) 70% 100%) top / 100% 20px no-repeat,
    var(--ink);
  color: white;
}

.guest-lead h3 {
  margin-bottom: 20px;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 0.92;
}

.guest-lead span {
  margin-bottom: 28px;
}

.guest-lead p {
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
  line-height: 1.45;
}

.guest-lead a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 12px;
  padding: 0 16px;
  border: 2px solid white;
  color: white;
  font-size: 0.85rem;
  font-weight: 900;
}

.guest-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 3px solid var(--ink);
}

.guest-wall article {
  min-height: 231px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--white);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.guest-wall article:nth-child(even) {
  background: var(--lime);
}

.guest-wall article:nth-child(3n) {
  border-right: 0;
}

.guest-wall article:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.guest-wall strong {
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.7rem;
  line-height: 0.98;
}

.venues {
  background: var(--blue);
  color: white;
}

.venues .section-title {
  color: white;
}

.venue-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.venue-grid article {
  min-height: 230px;
  padding: 22px;
  border: 3px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.feature-grid article:hover,
.venue-grid article:hover,
.schedule-list article:hover,
.agenda-card:hover,
.guest-wall article:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.16);
}

.venue-grid h3 {
  margin-bottom: 12px;
  font-size: 2rem;
  line-height: 0.94;
}

.community {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: 34px;
  align-items: center;
  background:
    linear-gradient(90deg, var(--orange) 0 18%, var(--lime) 18% 34%, var(--cyan) 34% 56%, var(--rose) 56% 100%) bottom / 100% 20px no-repeat,
    var(--paper);
}

.community h2 {
  margin-bottom: 16px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.98;
}

.community p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.48;
}

.community form {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 3px solid var(--ink);
  background: var(--white);
}

.community label {
  font-weight: 900;
}

.mail-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

input[type="email"] {
  min-height: 54px;
  width: 100%;
  border: 2px solid var(--ink);
  padding: 0 14px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

button {
  min-height: 54px;
  border: 2px solid var(--ink);
  padding: 0 16px;
  background: var(--rose);
  color: white;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  font-size: 0.82rem;
  line-height: 1.35;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.form-status {
  min-height: 22px;
  font-size: 0.86rem;
  font-weight: 900;
}

.form-status.ok {
  color: #087246;
}

.form-status.error {
  color: #b00020;
}

.footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 32px 20px;
  background: var(--ink);
  color: white;
  text-align: center;
}

.footer p {
  margin: 0;
}

.footer a {
  font-weight: 900;
  text-decoration: none;
}

.footer span {
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--lime);
}

.memory-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: 460px;
  border-block: 3px solid var(--ink);
  background: var(--white);
}

.memory-preview-photo {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background: var(--ink);
}

.memory-preview-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.memory-preview-photo span {
  position: absolute;
  bottom: 18px;
  left: 20px;
  padding: 8px 10px;
  background: var(--ink);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
}

.memory-preview-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(28px, 5vw, 72px);
}

.memory-preview-copy .kicker,
.memory-story .kicker,
.memory-library .kicker,
.memory-institution .kicker,
.memory-editions .kicker,
.memory-next .kicker {
  color: var(--deep);
}

.memory-preview h2 {
  max-width: 14ch;
  margin-bottom: 18px;
  font-size: 3.4rem;
  line-height: 0.98;
}

.memory-preview-copy > p:not(.kicker) {
  max-width: 38rem;
  margin-bottom: 22px;
  line-height: 1.55;
}

.memory-preview-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-bottom: 28px;
  padding-top: 14px;
  border-top: 2px solid var(--ink);
  font-size: 0.78rem;
}

.memory-preview-facts span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.memory-preview-facts strong {
  font-size: 1.25rem;
}

.memory-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 48px;
  padding: 10px 16px;
  border: 2px solid var(--ink);
  background: var(--lime);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 900;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.memory-link:hover {
  background: var(--cyan);
  transform: translateY(-2px);
}

.memory-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 570px;
  overflow: hidden;
  background: var(--ink);
  color: white;
}

.memory-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(17, 16, 15, 0.96) 0%, rgba(17, 16, 15, 0.82) 42%, rgba(17, 16, 15, 0.18) 100%);
}

.memory-hero-image {
  position: absolute;
  inset: 0;
  margin: 0;
}

.memory-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.memory-hero-image figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 7px 10px;
  background: rgba(17, 16, 15, 0.85);
  color: white;
  font-size: 0.72rem;
}

.memory-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 770px;
  padding: 54px clamp(20px, 5vw, 72px) 60px;
}

.memory-hero h1 {
  max-width: 12ch;
  font-size: 5.2rem;
}

.memory-hero-copy > p:not(.kicker) {
  max-width: 35rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
  line-height: 1.5;
}

.memory-text-link {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--lime);
  color: white;
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
}

.memory-story,
.memory-library,
.memory-institution,
.memory-editions,
.memory-next {
  padding: 64px clamp(20px, 5vw, 72px);
}

.memory-story,
.memory-library,
.memory-institution,
.memory-next {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(26px, 6vw, 100px);
  align-items: start;
  border-bottom: 2px solid var(--ink);
}

.memory-story h2,
.memory-library h2,
.memory-institution h2,
.memory-editions h2,
.memory-next h2 {
  max-width: 16ch;
  margin-bottom: 0;
  font-size: 3rem;
  line-height: 1;
}

.memory-story-body,
.memory-library > p,
.memory-institution p:not(.kicker) {
  max-width: 48rem;
  font-size: 1.04rem;
  line-height: 1.65;
}

.memory-story-body p:last-child {
  margin-bottom: 0;
}

.memory-library {
  background: var(--cyan);
}

.memory-institution {
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 1fr);
  background: var(--ink);
  color: white;
}

.memory-institution .kicker {
  color: var(--lime);
}

.memory-institution-year {
  font-family: "Newsreader", Georgia, serif;
  font-size: 8rem;
  font-weight: 800;
  line-height: 0.8;
  color: var(--lime);
}

.memory-institution p:not(.kicker) {
  margin-top: 20px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.memory-editions {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(26px, 6vw, 100px);
  background: var(--white);
  border-bottom: 2px solid var(--ink);
}

.memory-editions-heading > p:not(.kicker) {
  max-width: 31rem;
  margin-top: 20px;
  line-height: 1.55;
}

.memory-years {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  align-content: start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.memory-years li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-width: 0;
  padding: 12px 0;
  border-bottom: 1px solid rgba(17, 16, 15, 0.28);
}

.memory-years span {
  flex: none;
  color: var(--deep);
  font-size: 0.8rem;
  font-weight: 900;
}

.memory-years strong {
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.3rem;
  line-height: 1.1;
}

.memory-next {
  align-items: end;
  background: var(--lime);
}

.memory-next .memory-link {
  justify-self: end;
  background: var(--ink);
  color: white;
}

.memory-next .memory-link:hover {
  background: var(--deep);
}

.memory-source {
  margin: 0;
  padding: 20px clamp(20px, 5vw, 72px);
  background: var(--white);
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 680ms ease var(--delay, 0ms),
    transform 680ms cubic-bezier(0.2, 0.8, 0.2, 1) var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .recordings,
  .feature-grid,
  .guest-feature,
  .guest-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recordings-lead {
    grid-column: 1 / -1;
  }

  .recording-card:nth-child(3) {
    border-right: 0;
  }

  .feature-grid article:first-child {
    grid-column: 1 / -1;
  }

  .guest-lead {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .topbar,
  .wayfinder,
  .schedule-shell,
  .schedule-list article,
  .agenda-shell,
  .agenda-card,
  .agenda-hero,
  .venue-grid,
  .community {
    grid-template-columns: 1fr;
  }

  .topbar {
    top: auto;
    left: 12px;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: auto;
    padding: 8px;
    border-radius: 24px;
    background: rgba(17, 16, 15, 0.86);
    box-shadow: 0 18px 58px rgba(0, 0, 0, 0.34);
  }

  body {
    padding-top: 0;
    padding-bottom: calc(86px + env(safe-area-inset-bottom));
  }

  section {
    scroll-margin-top: 28px;
  }

  .nav {
    grid-column: auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    justify-content: stretch;
    gap: 7px;
    padding-bottom: 0;
    scrollbar-width: none;
  }

  .nav a {
    min-height: 42px;
    justify-content: center;
    padding: 0 8px;
    border: 0;
    background: rgba(255, 255, 255, 0.09);
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.74);
  }

  .nav a.is-active,
  .nav a:hover {
    background: white;
    color: var(--ink);
    transform: none;
  }

  .nav .nav-festival,
  .nav .nav-info,
  .nav .nav-comunidad,
  .ticket-btn {
    display: none;
  }

  .nav .nav-today {
    display: inline-flex;
  }

  .today-access {
    display: none;
  }

  .nav-inicio {
    order: 1;
  }

  .nav-agenda {
    order: 2;
  }

  .nav-invitados {
    order: 3;
  }

  .nav-today {
    order: 5;
  }

  .nav-memoria {
    order: 4;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .brand {
    display: none;
  }

  .hero {
    min-height: auto;
    display: block;
    padding-top: 44vh;
  }

  .hero-image {
    height: 46vh;
    bottom: auto;
  }

  .hero-panel {
    width: 100%;
    min-height: auto;
    padding: 28px 20px 22px;
    background: var(--ink);
  }

  .highlight-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    margin: 0 20px 24px;
    border-radius: 20px;
  }

  .schedule-menu {
    grid-template-columns: repeat(5, minmax(max-content, 1fr));
    overflow-x: auto;
  }

  .agenda-toolbar {
    top: 12px;
    grid-template-columns: repeat(6, max-content);
    overflow-x: auto;
    border-radius: 18px;
    scrollbar-width: none;
  }

  .agenda-toolbar::-webkit-scrollbar {
    display: none;
  }

  .agenda-filters {
    position: static;
    grid-template-columns: repeat(6, max-content);
    overflow-x: auto;
    scrollbar-width: none;
  }

  .agenda-filters::-webkit-scrollbar {
    display: none;
  }

  .agenda-card {
    min-height: auto;
  }

  .agenda-card img {
    height: 210px;
  }

  .agenda-card h3 {
    font-size: clamp(2rem, 11vw, 3.4rem);
  }

  .agenda-hero {
    min-height: auto;
    padding-top: 76px;
    padding-bottom: 42px;
    background-position: 56% center;
  }

  .agenda-page .agenda-hero {
    min-height: 430px;
    align-items: end;
    background:
      linear-gradient(180deg, rgba(17, 16, 15, 0.22) 0%, rgba(17, 16, 15, 0.7) 48%, rgba(17, 16, 15, 0.94) 100%),
      url("assets/agenda-triptico.jpg") center / cover;
  }

  .agenda-brief article {
    min-height: 82px;
  }

  .today-strip,
  .today-grid {
    grid-template-columns: 1fr;
  }

  .today-strip {
    padding-top: 34px;
  }

  .memory-preview,
  .memory-story,
  .memory-library,
  .memory-institution,
  .memory-editions,
  .memory-next {
    grid-template-columns: 1fr;
  }

  .memory-preview-photo {
    min-height: 320px;
    max-height: 380px;
  }

  .memory-hero {
    min-height: 540px;
  }

  .memory-hero h1 {
    font-size: 3.5rem;
  }

  .memory-next .memory-link {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .recordings,
  .wayfinder,
  .agenda-preview,
  .feature-grid,
  .feature-grid article:first-child,
  .guest-feature,
  .guest-wall,
  .mail-row {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(3.2rem, 15vw, 4.6rem);
    line-height: 0.94;
  }

  .today-strip h2,
  .recordings-lead h2,
  .section-title h2,
  .community h2 {
    font-size: clamp(2.2rem, 12vw, 3.6rem);
    line-height: 1;
  }

  .hero-panel p:not(.kicker) {
    font-size: 1rem;
  }

  .recording-card,
  .recordings-lead {
    border-right: 0;
    border-bottom: 3px solid var(--ink);
  }

  .guest-wall article,
  .guest-wall article:nth-child(3n),
  .guest-wall article:nth-last-child(-n + 3) {
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }

  .guest-wall article:last-child {
    border-bottom: 0;
  }

  .recording-card:last-child {
    border-bottom: 0;
  }

  .schedule-menu {
    grid-template-columns: repeat(5, max-content);
  }

  .hero-actions a,
  button {
    width: 100%;
  }

  .agenda-preview a {
    min-width: 0;
  }

  .status-grid {
    grid-template-columns: 1fr;
  }

  .nav a {
    padding: 0 3px;
    font-size: 0.65rem;
  }

  .memory-preview-photo {
    min-height: 240px;
  }

  .memory-preview-copy,
  .memory-story,
  .memory-library,
  .memory-institution,
  .memory-editions,
  .memory-next {
    padding: 38px 20px;
  }

  .memory-preview h2,
  .memory-story h2,
  .memory-library h2,
  .memory-institution h2,
  .memory-editions h2,
  .memory-next h2 {
    font-size: 2.35rem;
  }

  .memory-hero {
    min-height: 550px;
  }

  .memory-hero::after {
    background: linear-gradient(0deg, rgba(17, 16, 15, 0.96) 0%, rgba(17, 16, 15, 0.78) 54%, rgba(17, 16, 15, 0.15) 100%);
  }

  .memory-hero-copy {
    padding: 40px 20px 58px;
  }

  .memory-hero h1 {
    font-size: 2.8rem;
  }

  .memory-hero-image figcaption {
    right: 10px;
    bottom: 8px;
    font-size: 0.64rem;
  }

  .memory-institution-year {
    font-size: 5.5rem;
  }

  .memory-years {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html,
  body {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
