:root {
  --display: "Fraunces", "Source Serif 4", serif;
  --body: "Source Serif 4", Georgia, serif;
  --maxw: clamp(1180px, 82vw, 1600px);
  color-scheme: light;
  --paper: #fbf9f4;
  --paper-dim: #f4f0e8;
  --ink: #14201f;
  --ink-2: #3f4b4a;
  --ink-3: #56615f;
  --teal-deep: #146d72;
  --teal-display: #1a9b97;
  --ring: #aadddb;
  --wash: #d6ece9;
  --ring-deep: #56615f;
  --rust: #146d72;
  --line: rgba(20, 32, 31, 0.16);
  --label: "Archivo", -apple-system, "Segoe UI", sans-serif;
  --mono: "Archivo", -apple-system, "Segoe UI", sans-serif;
  --r-sm: 4px;
  --r-md: 12px;
  --r-lg: 20px;
  --sh-1: 0 1px 2px rgba(20, 32, 31, 0.08);
  --sh-2: 0 12px 32px rgba(20, 32, 31, 0.12);
  --sh-3: 0 28px 80px rgba(20, 32, 31, 0.28);
  --focus: var(--teal-deep);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --header-h: 112px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  background: var(--paper);
}

a {
  color: inherit;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--label);
  font-weight: 600;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  background: none;
  color: var(--ink-3);
  padding: 0;
  border-radius: 0;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.12em;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 28px;
  height: 2px;
  border-radius: 0;
  background: var(--ring);
}

.hero .eyebrow {
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
  margin-bottom: 22px;
}

h2,
h3 {
  font-family: var(--body);
}

h1,
h2,
h3 {
  text-transform: none;
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.1;
  font-variation-settings:
    "opsz" 36,
    "WONK" 0;
  text-wrap: balance;
}

.btn {
  box-sizing: border-box;
  margin: 0;
  font-family: var(--label);
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  min-height: 46px;
  padding: 12px 26px;
  border-width: 1.5px;
  transition:
    background-color 0.15s var(--ease),
    color 0.15s var(--ease),
    border-color 0.15s var(--ease),
    transform 0.12s var(--ease),
    box-shadow 0.2s var(--ease);
}

button.btn {
  line-height: 1.6;
  -webkit-appearance: none;
  appearance: none;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

header.site {
  position: sticky;
  top: 0;
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 249, 244, 0.92);
  z-index: 100;
}

nav {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px max(32px, env(safe-area-inset-right)) 12px
    max(32px, env(safe-area-inset-left));
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  border-radius: var(--r-sm);
  gap: 16px;
}

.brand img {
  width: auto;
  display: block;
  height: 88px;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 28px;
}

.navlinks a {
  font-family: var(--label);
  font-weight: 500;
  font-size: 17px;
  text-transform: none;
  letter-spacing: 0;
  text-decoration: none;
  color: var(--ink);
  opacity: 0.72;
  transition: opacity 0.2s;
}

.navlinks a:hover {
  opacity: 1;
}

.navlinks a.btn-primary {
  color: var(--paper);
  opacity: 1;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
}

.lang-switch button {
  border: none;
  background: none;
  cursor: pointer;
  font: 600 15px var(--label);
  letter-spacing: 0.06em;
  color: var(--ink-3);
  opacity: 1;
  min-width: 44px;
  min-height: 44px;
  padding: 0 8px;
  position: relative;
  border-radius: var(--r-sm);
  transition: color 0.15s var(--ease);
}

.lang-switch button.active {
  opacity: 1;
  color: var(--ink);
}

.lang-divider {
  color: var(--ink);
  opacity: 0.4;
  font-size: 13px;
  line-height: 1;
  display: none;
}

.nav-social {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-social a {
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.2s,
    background 0.2s,
    color 0.2s;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  opacity: 1;
  color: var(--ink-2);
  border-color: var(--line);
}

.nav-social a:hover {
  opacity: 1;
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.footer-social {
  margin-top: 22px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 70px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero h1 {
  font-size: clamp(42px, 7.2vw, 88px);
  font-weight: 600;
}

.hero h1 .against {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  text-transform: lowercase;
  font-size: 0.34em;
  letter-spacing: 0.01em;
  margin: 20px 0;
  color: var(--ink);
}

.hero h1 .against::before,
.hero h1 .against::after {
  content: "";
  flex: 0 0 46px;
  height: 2px;
  background: var(--ring);
}

.hero-sub {
  max-width: 600px;
  margin: 26px auto 0;
  font-size: 19px;
  color: var(--ink-2);
}

.hero-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 44px;
  margin: 36px 0 32px;
  font-size: 17px;
  letter-spacing: 0;
  text-transform: none;
  font-family: var(--body);
}

.hero-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.section-head {
  max-width: 900px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head p {
  margin-top: 18px;
}

.section-head.section-head--tight {
  margin-bottom: 0;
}

.section-head.section-head--spaced {
  margin-top: 88px;
  margin-bottom: 0;
}

#program .section-head,
#spaces .section-head,
#speakers .section-head {
  max-width: none;
}

#program .section-head p,
#spaces .section-head p {
  max-width: none;
}

.statement {
  color: var(--paper);
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--ink) url("../img/quote-card-visual.svg") center bottom /
    clamp(840px, 100%, 1440px) auto no-repeat;
  padding: clamp(88px, 11vw, 136px) 0;
}

.statement .wrap {
  position: relative;
  z-index: 1;
}

.statement blockquote {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  color: var(--paper);
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  max-width: 22em;
  font-weight: 400;
  font-variation-settings:
    "opsz" 36,
    "WONK" 0;
}

.themes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  counter-reset: sess;
  align-items: stretch;
  gap: 28px;
}

.theme-time {
  font-family: var(--mono);
  text-transform: uppercase;
  font-weight: 600;
  display: flex;
  margin: 0 0 20px;
  color: var(--teal-deep);
  flex-wrap: wrap;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.theme .speakers {
  color: var(--ink);
  font-size: 17px;
  margin-top: auto;
  padding-top: 0;
}

.theme .speakers b {
  font-family: var(--mono);
  font-weight: 500;
  text-transform: uppercase;
  display: block;
  color: var(--teal-deep);
  margin-bottom: 6px;
}

.evening {
  color: var(--paper);
  border-bottom: none;
  background: transparent;
}

.room {
  align-items: flex-start;
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
}

.room p {
  color: var(--ink-2);
  margin: 0;
}

.speaker-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.speaker {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: var(--r-md);
  background: var(--paper-dim);
  padding: 30px 20px 26px;
  border: 1px solid var(--line);
}

.speaker.clickable {
  cursor: pointer;
}

.avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 26px;
  margin-bottom: 18px;
  overflow: hidden;
  position: relative;
  background: var(--wash);
  color: var(--teal-deep);
  font-weight: 400;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.avatar .avatar-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.speaker h4 {
  font-family: var(--display);
  text-transform: none;
  margin: 0 0 6px;
  line-height: 1.2;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand > img {
  height: 130px;
  margin-bottom: 14px;
  width: auto;
  max-width: 100%;
  display: block;
}

.footer-cols {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.footer-col span {
  font-family: var(--mono);
  text-transform: uppercase;
  color: var(--ring-deep);
  display: block;
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  text-decoration: none;
  margin-bottom: 9px;
  font-size: 15px;
  color: var(--ink-2);
  opacity: 1;
}

.footer-col a:hover {
  opacity: 1;
  text-decoration: underline;
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--mono);
  text-transform: uppercase;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  color: var(--ink-3);
}

.rooms {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 26px;
}

.room-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.room-head h3 {
  margin: 0;
}

.room p.desc {
  margin: 0 0 16px;
}

.room .view-link {
  font-family: var(--mono);
  text-transform: uppercase;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  width: 100%;
  align-items: center;
  gap: 5px;
  transition:
    color 0.15s,
    gap 0.15s;
  color: var(--teal-deep);
  font-weight: 600;
}

.room.clickable:hover .view-link {
  gap: 9px;
}

.room.clickable:active .view-link {
  color: var(--ring-deep);
  gap: 9px;
}

.film-item {
  gap: 14px;
  transition:
    box-shadow 0.2s var(--ease),
    transform 0.2s var(--ease);
  align-items: flex-start;
  position: relative;
  display: block;
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0 0 28px;
}

.film-item .film-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 4px;
}

.film-item .title {
  text-transform: none;
  text-decoration: none;
  font: 400 clamp(22px, 2vw, 26px)/1.2 var(--display);
  color: var(--ink);
}

body.modal-open {
  overflow: hidden;
}

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  backdrop-filter: blur(3px);
  align-items: flex-start;
  justify-content: center;
  padding: 60px 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgba(20, 32, 31, 0.72);
  z-index: 200;
}

.modal-overlay.open {
  display: flex;
  animation: fadeIn 0.18s ease-out;
}

.modal-panel {
  max-width: 900px;
  width: 100%;
  position: relative;
  padding: 0;
  overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
  background: var(--paper-dim);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-color: var(--ink);
  transition:
    background-color 0.15s var(--ease),
    color 0.15s var(--ease),
    transform 0.12s var(--ease);
}

.modal-close .ico {
  width: 15px;
  height: 15px;
}

.modal-head {
  padding: 44px 44px 30px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.modal-head h3 {
  text-transform: none;
  margin: 0 0 12px;
  line-height: 1.08;
}

.modal-head p {
  font-size: 17px;
  margin: 0;
  max-width: none;
}

.modal-body {
  padding: 32px 44px 44px;
}

.modal-group {
  padding-bottom: 22px;
}

.modal-group + .modal-group {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 0;
}

.modal-group .mini-label {
  font-family: var(--mono);
  text-transform: uppercase;
  color: var(--ring-deep);
  display: block;
  margin-bottom: 12px;
}

.modal-moderator {
  font-size: 17px;
}

.modal-speakers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
}

.modal-objectives {
  margin: 0;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.6;
  max-width: none;
}

.modal-objectives li {
  margin-bottom: 6px;
}

.modal-speaker {
  display: flex;
  align-items: center;
  gap: 14px;
}

.modal-speaker .avatar {
  width: 56px;
  height: 56px;
  font-size: 15px;
  margin: 0;
  flex-shrink: 0;
}

.modal-speaker div {
  line-height: 1.3;
  max-width: 360px;
}

.modal-speaker div h5 {
  margin: 0 0 2px;
  font-family: var(--display);
  text-transform: none;
  font-weight: 500;
  font-size: 17px;
}

.modal-speaker div span {
  font-family: var(--mono);
  color: var(--rust);
}

.speaker-modal-head {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.speaker-modal-avatar {
  width: 104px;
  height: 104px;
  font-size: 26px;
  margin: 0;
  flex-shrink: 0;
}

.speaker-modal-info {
  min-width: 0;
}

.speaker-modal-info h3 {
  margin-bottom: 8px;
}

.speaker-modal-bio {
  font-size: 17px;
  line-height: 1.65;
  max-width: none;
}

.speaker-modal-bio p {
  margin: 0;
}

.speaker-modal-bio p + p {
  margin-top: 14px;
}

.speaker-modal-bio.empty {
  font-family: var(--mono);
  text-transform: uppercase;
  color: var(--ring-deep);
}

.clickable {
  cursor: pointer;
}

.theme .view-link {
  font-family: var(--mono);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition:
    color 0.15s,
    gap 0.15s;
  margin-top: auto;
  color: var(--teal-deep);
  font-weight: 600;
  padding-top: 22px;
}

.theme.clickable:hover .view-link {
  gap: 9px;
}

.theme.clickable:active .view-link {
  color: var(--ring-deep);
  gap: 9px;
}

.pc-session {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.pc-session:first-child {
  padding-top: 0;
}

.pc-session:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pc-session-head {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.pc-session-num {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--paper);
  background: var(--ink);
  border-radius: 999px;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.pc-session-title {
  font-family: var(--display);
  font-size: 19px;
  margin: 0;
  text-transform: none;
  flex: 1 1 220px;
  line-height: 28px;
}

.pc-session-time {
  font-family: var(--mono);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ring-deep);
  white-space: nowrap;
  line-height: 28px;
}

.pc-toggle {
  margin-top: 16px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--mono);
  text-transform: uppercase;
  color: var(--rust);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s;
  font-weight: 600;
}

.pc-toggle:hover {
  color: var(--ink);
}

.pc-toggle-arrow {
  transition: transform 0.2s;
  display: inline-block;
  font-size: 13px;
}

.pc-toggle[aria-expanded="true"] .pc-toggle-arrow {
  transform: rotate(180deg);
}

.pc-session-details {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}

.pc-session-desc {
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 14px;
  max-width: none;
}

.pc-role-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
}

.pc-role-block {
  flex: 1 1 240px;
}

.pc-role-block .mini-label {
  font-family: var(--mono);
  text-transform: uppercase;
  color: var(--rust);
  display: block;
  margin-bottom: 10px;
}

.pc-role-block .modal-speaker {
  margin-bottom: 10px;
}

.pc-role-block .modal-speaker:last-child {
  margin-bottom: 0;
}

.logo-wall {
  display: flex;
  flex-wrap: wrap;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 32px 0;
  box-sizing: border-box;
  justify-content: flex-start;
  align-items: center;
  gap: 28px 64px;
}

.logo-wall .org-logo {
  height: 170px;
  flex-shrink: 0;
  width: auto;
  max-width: none;
}

.logo-wall a:hover {
  transform: translateY(-2px);
  opacity: 0.7;
}

.page {
  display: none;
}

.page.active {
  display: block;
}

html {
  scroll-behavior: auto;
  -webkit-tap-highlight-color: rgba(170, 221, 219, 0.4);
}

a,
button,
[role="button"],
.clickable {
  touch-action: manipulation;
}

img {
  max-width: 100%;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  background: var(--ink);
  color: var(--paper);
  font: 600 15px var(--label);
  padding: 12px 20px;
  border-radius: var(--r-md);
  text-decoration: none;
  transition: top 0.15s var(--ease);
}

.skip-link:focus {
  top: 16px;
}

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

:where(.evening, .statement, .modal-overlay) :focus-visible {
  outline-color: var(--ring);
}

.modal-panel :focus-visible {
  outline-color: var(--teal-deep);
}

:focus:not(:focus-visible) {
  outline: none;
}

main:focus {
  outline: none;
}

section[id],
#top {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

::selection {
  background: var(--ring);
  color: var(--ink);
}

h4,
h5 {
  font-family: var(--display);
}

p,
blockquote,
li {
  text-wrap: pretty;
}

.section-head h2 {
  font-size: clamp(34px, 4.6vw, 60px);
  letter-spacing: -0.02em;
  margin-top: 16px;
}

.section-head p {
  font-size: 19px;
  color: var(--ink-2);
  max-width: 68ch;
  line-height: 1.6;
}

.theme h3,
.room-head h3 {
  font-size: clamp(22px, 2vw, 26px);
  font-weight: 400;
}

.theme-time,
.modal-time,
.pc-session-time,
.hero-meta,
.modal-speaker div span {
  font-variant-numeric: tabular-nums;
}

.hero-meta div span,
.theme-time,
.theme .speakers b,
.speaker .tag,
.footer-col span,
.footer-bottom,
.room .view-link,
.theme .view-link,
.modal-time,
.modal-group .mini-label,
.modal-speaker div span,
.speaker-modal-bio.empty,
.pc-session-num,
.pc-session-time,
.pc-toggle,
.pc-role-block .mini-label {
  font-size: 13px;
  letter-spacing: 0.06em;
}

.hero-meta div span {
  display: block;
  font-family: var(--label);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}

.modal-time {
  font-family: var(--mono);
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 14px;
  color: var(--teal-deep);
  letter-spacing: 0.06em;
}

.room p {
  font-size: 15px;
}

.footer-brand p {
  font-size: 15px;
  color: var(--ink-2);
  max-width: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn-primary:hover {
  background: var(--ring);
  border-color: var(--ring);
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: var(--sh-2);
}

.btn-primary:active {
  transform: scale(0.98);
  box-shadow: none;
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-1px);
}

.btn-ghost:active {
  transform: scale(0.98);
}

.navlinks a.btn-primary:hover {
  color: #fff;
}

.nav-main {
  display: flex;
  gap: 30px;
  align-items: center;
}

.navlinks a:not(.btn) {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink-2);
  opacity: 1;
  position: relative;
  padding: 6px 0;
  transition: color 0.15s var(--ease);
}

.navlinks a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--ring);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s var(--ease);
}

.navlinks a:not(.btn):hover {
  color: var(--ink);
}

.navlinks a:not(.btn):hover::after {
  transform: scaleX(1);
}

.navlinks .btn {
  padding: 10px 20px;
  min-height: 44px;
}

.lang-switch button::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 9px;
  height: 2px;
  background: var(--ring);
  transform: scaleX(0);
  transition: transform 0.2s var(--ease);
}

.lang-switch button.active::after {
  transform: scaleX(1);
}

.lang-switch button:not(.active):hover {
  color: var(--ink);
  opacity: 1;
}

.nav-social .ico {
  width: 16px;
  height: 16px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  transition:
    background-color 0.15s var(--ease),
    color 0.15s var(--ease);
}

.nav-toggle:hover {
  background: var(--ink);
  color: var(--paper);
}

.nav-toggle .ico {
  width: 20px;
  height: 20px;
}

.nav-toggle .i-close {
  display: none;
}

header.nav-open .nav-toggle .i-open {
  display: none;
}

header.nav-open .nav-toggle .i-close {
  display: block;
}

.nav-register {
  display: none;
}

@keyframes navIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

section {
  padding: clamp(72px, 9vw, 120px) 0;
  border-top: 0;
  border-bottom: 1px solid rgba(20, 32, 31, 0.14);
}

.theme,
.room {
  background: var(--paper-dim);
  border-radius: var(--r-md);
  border-top: none;
}

.theme {
  min-height: 100%;
  counter-increment: sess;
  background: var(--paper-dim);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

.theme p.desc,
.room p.desc {
  color: var(--ink-2);
  font-size: 17px;
}

.theme p.desc {
  flex-grow: 1;
  font-size: 19px;
  line-height: 1.6;
  margin: 0 0 22px;
}

.theme.clickable:hover,
.room:hover,
.room.clickable:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-2);
}

.theme.clickable:active,
.room.clickable:active,
.speaker.clickable:active {
  transform: translateY(-1px);
  box-shadow: var(--sh-1);
}

.theme,
.room,
.speaker {
  transition:
    box-shadow 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.room.clickable:hover .view-link,
.theme.clickable:hover .view-link {
  color: var(--ink);
}

.speaker.clickable:hover {
  box-shadow:
    var(--sh-2),
    inset 0 0 0 1.5px var(--ring);
  transform: translateY(-4px);
}

footer {
  padding: 80px 0 calc(40px + env(safe-area-inset-bottom));
}

.modal-close:hover {
  background: var(--ink);
  color: var(--paper);
}

.modal-close:active {
  transform: scale(0.95);
}

.modal-head h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 34px);
}

.modal-head p,
.modal-objectives,
.speaker-modal-bio,
.pc-session-desc {
  color: var(--ink-2);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.speaker .tag {
  text-transform: none;
  line-height: 1.4;
  font-family: var(--body);
  font-size: 15px;
  letter-spacing: 0;
  color: var(--ink-2);
}

.speaker,
.theme,
.room {
  min-width: 0;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.modal-overlay.open .modal-panel {
  animation: modalIn 0.26s var(--ease);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

#top.hero {
  padding: clamp(48px, 6vw, 88px) 0 clamp(64px, 7vw, 104px);
}

#top .hero-inner {
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  display: block;
  text-align: center;
  position: static;
}

#top h1 {
  letter-spacing: -0.025em;
  font-weight: 400;
  line-height: 1.02;
  text-align: center;
  font-size: min(92px, calc((100vw - 48px) / 10.4));
}

#top h1 .against {
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-style: italic;
  font-weight: 400;
  text-transform: lowercase;
  font-size: 0.4em;
  margin: 0.5em 0;
  color: inherit;
}

#top h1 .hl {
  display: block;
}

#top .hero-sub {
  font-size: 21px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 28px auto 0;
  text-align: center;
  max-width: 60ch;
}

#top .hero-meta {
  gap: 20px 48px;
  justify-content: center;
  text-align: center;
  margin: 36px auto 0;
  border-top: 0;
  padding-top: 0;
}

.speaker h4 {
  font-size: 21px;
  font-weight: 400;
}

.hero-meta div span.mv {
  display: inline;
  margin: 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: none;
  color: inherit;
}

#top .hero-copy {
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  position: relative;
}

#top .hero-cta {
  justify-content: center;
  margin-top: 32px;
}

#top .eyebrow {
  display: inline-flex;
  margin-bottom: 28px;
}

#top {
  position: relative;
  overflow: hidden;
}

#top .hero-meta div {
  text-align: center;
}

#top .hero-meta span,
#top .hero-meta div span.mv {
  display: block;
  text-align: center;
}

#top .eyebrow::before {
  display: none;
}

#top .hero-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1440px;
  max-width: none;
  z-index: 0;
  pointer-events: none;
}

#top h1 .against::before,
#top h1 .against::after {
  display: block;
  content: "";
  flex: 0 0 46px;
  height: 2px;
  background: var(--ring);
}

.modal-head p + p {
  margin-top: 12px;
}

.modal-speaker div span,
.speaker-modal-info p {
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
  line-height: 1.45;
}

.film-item .film-time {
  font-variant-numeric: tabular-nums;
  font: 600 13px/1.4 var(--label);
  letter-spacing: 0.05em;
  color: var(--teal-deep);
}

.film-item a.title {
  text-underline-offset: 3px;
  text-decoration: none;
  background: linear-gradient(var(--ring), var(--ring)) 0 100% / 100% 2px
    no-repeat;
  padding-bottom: 2px;
  align-self: flex-start;
  transition: background-size 0.2s var(--ease);
}

.rooms .room .room-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin: 0 0 22px;
  align-self: stretch;
  width: 100%;
}

.rooms .room .desc {
  color: var(--ink-2);
  margin: 0 0 6px;
  margin-top: 2px;
}

.rooms .room:nth-child(1) h3 {
  color: var(--paper);
}

.rooms .room:nth-child(1) .desc {
  color: rgba(251, 249, 244, 0.82);
  font-size: 19px;
}

.rooms .room:nth-child(1) .view-link {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--ring);
  color: var(--ink);
  border: 0;
  font: 600 15px var(--label);
  letter-spacing: 0.02em;
  text-transform: none;
  transition:
    background 0.2s var(--ease),
    transform 0.2s var(--ease);
  width: auto;
  flex: none;
}

.rooms .room:nth-child(1).clickable:hover .view-link {
  background: #fff;
  transform: translateX(2px);
}

.rooms .room:nth-child(1):focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
}

.film-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 18px 0 0;
  padding-left: 30px;
}

.film-list::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 12px;
  bottom: 14px;
  width: 2px;
  background: var(--ring);
}

.film-item:last-child {
  padding-bottom: 0;
}

.film-item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 4px;
  width: 14px;
  height: 14px;
  box-sizing: border-box;
  border-radius: 50%;
  background: var(--paper-dim);
  border: 3px solid var(--teal-display);
}

.film-item a.title:hover {
  background-size: 100% 100%;
  color: var(--ink);
}

.rooms .room .desc,
.rooms .room p.desc {
  font-size: 19px;
  line-height: 1.6;
  max-width: none;
  width: 100%;
  text-wrap: pretty;
}

html[lang="fr"] #top h1 > span:not(.against) {
  white-space: nowrap;
}

.theme-time::before {
  flex: none;
  place-items: center;
  content: "Plenary Debate " counter(sess);
  width: auto;
  height: auto;
  border-radius: 999px;
  padding: 8px 14px;
  display: inline-block;
  font: 600 13px/1 var(--label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-deep);
  background: var(--wash);
}

.theme h3 {
  font-size: clamp(26px, 2.3vw, 32px);
  line-height: 1.1;
  margin: 0 0 16px;
  text-wrap: pretty;
}

.evening h2 {
  color: var(--ink);
}

html[lang="fr"] .theme-time::before {
  content: "Grand Débat " counter(sess);
}

.evening .eyebrow {
  padding: 0;
  border-radius: 0;
  color: var(--ring);
  background: none;
}

#top h1 .against {
  font-variation-settings:
    "opsz" 36,
    "WONK" 0;
}

.speaker-modal-info p {
  color: var(--teal-deep);
  font-weight: 500;
}

#top h1 > span:not(.against) {
  white-space: nowrap;
}

.statement,
section.evening {
  border-bottom: 0;
}

#program,
#spaces,
#speakers,
footer#register {
  background: var(--paper);
}

#practical {
  background: var(--paper-dim);
}

footer#register {
  border-top: 0;
}

section.evening {
  background: var(--ink);
  border-top: 0;
}

.evening h2 {
  color: var(--paper);
}

.evening .eyebrow::before {
  background: var(--ring);
}

html[lang="fr"] .theme-time,
html[lang="fr"] .modal-time,
html[lang="fr"] .pc-session-time,
html[lang="fr"] .film-time {
  text-transform: none;
}

.rooms .room .room-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  width: 100%;
  margin: 0 0 22px;
  padding: 0 0 14px;
  border-bottom: 1px solid currentColor;
  border-color: rgba(20, 32, 31, 0.2);
  font: 600 12px/1.3 var(--label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rooms .room .room-head h3 {
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1;
  letter-spacing: -0.02em;
}

.rooms .room:nth-child(1) .room-meta {
  color: var(--ring);
  border-color: rgba(170, 221, 219, 0.3);
}

.rooms .room:nth-child(2) .film-item .film-time {
  align-self: flex-start;
  width: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: none;
  padding: 0;
  margin: 0;
  border-radius: 0;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

#spaces {
  background: var(--paper-dim);
}

.rooms .room:nth-child(2),
.rooms .room:nth-child(3) {
  background: #fbf9f4;
  border: 1px solid var(--line);
}

.rooms .room:nth-child(2) .room-meta,
.rooms .room:nth-child(3) .room-meta {
  color: var(--ink-3);
  border-color: rgba(20, 32, 31, 0.2);
}

.rooms .room:nth-child(2) .film-list::before {
  background: var(--ring);
  display: none;
}

.logo-wall a {
  display: inline-flex;
  align-items: center;
  margin: 0;
  transition:
    opacity 0.16s var(--ease),
    transform 0.12s var(--ease);
}

#calModalPanel {
  max-width: 760px;
  width: 100%;
  max-height: calc(100vh - 120px);
  max-height: calc(100dvh - 120px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

#calModalContent {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

#calModal .modal-head {
  padding: 36px 40px 20px;
}

#calModal .modal-head p {
  margin: 12px 0 0;
  max-width: 60ch;
}

#calModal .modal-body {
  padding: 6px 40px 24px;
}

.cal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cal-count {
  font: 600 13px/1.3 var(--label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ring-deep);
}

.cal-toggle {
  appearance: none;
  background: none;
  border: 0;
  padding: 6px 0 6px 16px;
  font: 600 13px/1.3 var(--label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(20, 32, 31, 0.3);
}

.cal-toggle:hover {
  color: var(--ring-deep);
  text-decoration-color: currentColor;
}

.cal-group {
  border: 0;
  margin: 0;
  padding: 22px 0 4px;
  position: relative;
  min-width: 0;
}

.cal-group legend {
  padding: 0;
  font: 700 12px/1.3 var(--label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  float: left;
  width: calc(100% - 140px);
  margin-bottom: 10px;
}

.cal-group .cal-toggle {
  position: absolute;
  top: 18px;
  right: 0;
}

.cal-group .cal-row:first-of-type {
  clear: both;
}

.cal-row {
  display: grid;
  grid-template-columns: 22px 118px 1fr;
  align-items: start;
  gap: 6px 14px;
  padding: 11px 12px;
  margin: 0 -12px;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background-color 0.15s var(--ease);
}

.cal-row:hover {
  background: var(--wash);
}

.cal-row input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--ring-deep);
  cursor: pointer;
}

.cal-row:has(input:checked) {
  background: var(--wash);
}

.cal-time {
  font: 600 13px/1.5 var(--mono, var(--label));
  letter-spacing: 0.02em;
  color: var(--ring-deep);
  white-space: nowrap;
  padding-top: 1px;
}

.cal-name {
  font: 400 17px/1.4 var(--display);
  color: var(--ink);
}

.cal-name em {
  display: block;
  font: italic 400 13.5px/1.4 var(--body);
  color: var(--ink-2);
  margin-top: 2px;
}

.cal-foot {
  position: sticky;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 40px 22px;
  background: var(--paper-dim);
  border-top: 1px solid var(--line);
  margin-top: auto;
}

.cal-foot .btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.cal-step-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cal-step-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cal-step-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.cal-add.done {
  opacity: 0.6;
}

.cal-hint {
  margin: 18px 0 0;
  font-size: 15px;
  color: var(--ink-2);
}

.rooms .room:nth-child(3) {
  display: block;
  grid-template-columns: none;
}

.rooms .room:nth-child(3) .room-head {
  width: 100%;
  max-width: none;
}

.hall-body .desc {
  margin: 0 0 26px;
  max-width: none;
}

.sign-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
}

.sign-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 170px;
  padding: 18px 16px 16px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.sign-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--ring);
}

.sign-card .sc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 8px;
}

.sign-card time {
  font: 700 12px/1 var(--label);
  letter-spacing: 0.06em;
  color: var(--ring-deep);
  white-space: nowrap;
  text-transform: none;
}

.sign-card .book {
  display: block;
  margin: 0;
  font: 400 17px/1.25 var(--display);
  font-style: normal;
  color: var(--ink);
}

.sign-card .who {
  display: block;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font: italic 400 14px/1.25 var(--body);
  color: var(--ring-deep);
}

.logo-wall img.org-logo[alt^="International Tax Observatory"] {
  height: 74px !important;
}

.logo-wall .org-logo.org-logo--icrict {
  height: 88px;
}

.logo-wall .org-logo.org-logo--theatre {
  height: 62px;
}

.logo-wall .org-logo.org-logo--stone {
  height: 82px;
}

.logo-wall .org-logo.org-logo--paris {
  height: 92px;
}

.logo-wall .org-logo.org-logo--fes {
  height: 78px;
}

.logo-wall .org-logo.org-logo--norad {
  height: 32px;
}

.logo-wall .org-logo.org-logo--gfne {
  height: 64px;
}

.theme .speakers.speakers--cb {
  margin-top: auto;
  padding-top: 0;
}

.theme .speakers.speakers--cb + .speakers {
  margin-top: 14px;
}

.logo-wall.logo-wall--org {
  justify-content: space-between;
  gap: 30px 40px;
}

.logo-wall:not(.logo-wall--org) {
  justify-content: flex-start;
  gap: 28px 72px;
}

.logo-wall.logo-wall--lower {
  padding-top: 32px;
}

.film-note {
  margin: 14px 0 0;
  font-size: 15px;
  color: var(--ink-3);
  font-style: italic;
}

#program .themes {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

#program .theme {
  display: grid;
  padding: 0;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.9fr);
}

#program .theme-col + .theme-col {
  border-left: 1px solid var(--line);
}

#program .theme-col--people {
  gap: 0;
}

#program .theme .speakers {
  margin: 0;
  padding: 0;
  font-size: 17px;
}

#program .theme .speakers b {
  display: block;
  margin: 0 0 10px;
}

#program .theme .speakers.speakers--cb {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  font: 400 clamp(24px, 2vw, 28px)/1.15 var(--display, var(--body));
}

#program .theme .speakers.speakers--cb b {
  font: 600 12px/1 var(--label, var(--body));
}

#program .theme .speakers.speakers--cb + .speakers {
  margin-top: 0;
}

#program .spk-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

#program .spk-list li {
  font-size: 17px;
  line-height: 1.3;
}

#program .theme .view-link {
  align-self: flex-start;
  display: inline-flex;
  margin-top: 30px;
  padding: 11px 20px;
  border: 1px solid var(--teal-deep);
  border-radius: 999px;
  transition:
    background-color 0.16s var(--ease),
    color 0.16s var(--ease),
    border-color 0.16s var(--ease),
    transform 0.12s var(--ease);
}

#program .theme.clickable:hover .view-link {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

#program .theme,
#program .theme-col,
#program .theme-col--people,
#program .theme.clickable:hover {
  background: var(--paper-dim);
}

#program .theme-col {
  padding: 40px 38px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: transparent;
}

#program .theme-col--main .theme-time {
  margin: 0 0 24px;
}

#program .theme-col--main h3 {
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.12;
  margin: 0 0 20px;
}

#program .theme-col--main p.desc {
  margin: 0;
  font-size: 19px;
  line-height: 1.7;
}

#program .theme-col--main,
#program .theme-col--main > * {
  max-width: none;
  width: 100%;
}

#program .theme-col--main h3,
#program .theme-col--main p.desc {
  max-width: none;
  text-wrap: wrap;
}

#program .theme .view-link:active {
  transform: scale(0.97);
}

#program .theme.clickable:hover {
  transform: translateY(-2px);
}

.theme.clickable,
.room.clickable,
.speaker.clickable,
.view-link {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

#program .theme .theme-col--people,
#program .theme.clickable:hover .theme-col--people {
  background: rgba(255, 255, 255, 0.55);
}

.rooms .room:nth-child(2) .film-note {
  margin: 16px 0 0;
}

.rooms .room:nth-child(2) .film-list {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  position: static;
}

.rooms .room:nth-child(2) .film-item {
  position: relative;
  display: grid;
  grid-template-columns: var(--stub) minmax(0, 1fr);
  align-items: stretch;
  padding: 0;
  margin: 0;
  border-radius: 16px;
  background: linear-gradient(
    90deg,
    var(--wash) 0 var(--stub),
    var(--paper-dim) var(--stub)
  );
  -webkit-mask:
    radial-gradient(circle 10px at var(--stub) 0, #0000 97%, #000) top/100% 51%
      no-repeat,
    radial-gradient(circle 10px at var(--stub) 100%, #0000 97%, #000)
      bottom/100% 51% no-repeat;
  mask:
    radial-gradient(circle 10px at var(--stub) 0, #0000 97%, #000) top/100% 51%
      no-repeat,
    radial-gradient(circle 10px at var(--stub) 100%, #0000 97%, #000)
      bottom/100% 51% no-repeat;
  --stub: 92px;
}

.rooms .room:nth-child(2) .film-item::before {
  content: "";
  position: absolute;
  left: calc(var(--stub) - 1px);
  top: 14px;
  bottom: 14px;
  width: 0;
  height: auto;
  border: 0;
  border-left: 2px dashed rgba(20, 32, 31, 0.22);
  border-radius: 0;
  background: none;
  box-sizing: content-box;
}

.rooms .room:nth-child(2) .film-stub {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 10px;
}

.rooms .room:nth-child(2) .film-item .fs-start {
  font: 400 30px/1 var(--display);
  letter-spacing: -0.01em;
  font-size: 23px;
}

.rooms .room:nth-child(2) .film-item .fs-sep {
  display: block;
  width: 1px;
  background: rgba(20, 32, 31, 0.35);
  font-size: 0;
  height: 11px;
}

.rooms .room:nth-child(2) .film-item .fs-end {
  font: 500 15px/1 var(--label, var(--body));
  color: var(--ink-3);
  letter-spacing: 0.02em;
  font-size: 13px;
}

.rooms .room:nth-child(2) .film-info {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  padding: 18px 20px 18px 22px;
}

.rooms .room:nth-child(2) .film-item .title {
  font: 400 clamp(23px, 2vw, 27px)/1.18 var(--display);
  margin: 0 0 12px;
}

.rooms .room:nth-child(2) .film-debate,
.rooms .room:nth-child(2) .film-mod {
  margin: 0;
  color: var(--ink-2);
  max-width: none;
  font-size: 15px;
  line-height: 1.45;
}

.rooms .room:nth-child(2) .film-mod {
  margin-top: 2px;
  color: var(--ink-3);
}

.rooms .room:nth-child(2) .film-debate strong,
.rooms .room:nth-child(2) .film-mod strong {
  font-weight: 600;
  color: var(--ink);
}

.rooms .room:nth-child(2) .film-item .title {
  font-size: clamp(19px, 1.6vw, 21px);
  margin-bottom: 8px;
}

/* The fireside chat is not a film, so it gets a plain beige card instead of a ticket */
.rooms .room:nth-child(2) .film-item.film-item--talk {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 0 20px;
  padding: 24px 28px 26px;
  border-radius: 16px;
  background: var(--paper-dim);
  -webkit-mask: none;
  mask: none;
}

.rooms .room:nth-child(2) .film-item.film-item--talk::before {
  display: none;
}

.rooms .room:nth-child(2) .film-item.film-item--talk .film-info {
  display: contents;
}

.rooms .room:nth-child(2) .film-item.film-item--talk .talk-label {
  grid-column: 1;
  grid-row: 1;
  font: 600 13px/1.4 var(--label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-deep);
}

.rooms .room:nth-child(2) .film-item.film-item--talk .film-stub {
  grid-column: 2;
  grid-row: 1;
  padding: 0;
  display: block;
}

.rooms .room:nth-child(2) .film-item.film-item--talk .film-time {
  display: block;
  white-space: nowrap;
  font: 600 13px/1.4 var(--label);
  color: var(--teal-deep);
}

.rooms .room:nth-child(2) .film-item.film-item--talk .fs-start,
.rooms .room:nth-child(2) .film-item.film-item--talk .fs-sep,
.rooms .room:nth-child(2) .film-item.film-item--talk .fs-end {
  display: inline;
  width: auto;
  height: auto;
  background: none;
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
}

.rooms .room:nth-child(2) .film-item.film-item--talk .title {
  grid-column: 1 / -1;
  grid-row: 2;
  position: relative;
  margin: 14px 0 8px;
  color: var(--ink);
}

.rooms .room:nth-child(2) .film-item.film-item--talk .film-debate {
  grid-column: 1 / -1;
  grid-row: 3;
  position: relative;
  margin: 0;
}

.rooms .room:nth-child(2) .film-item.film-item--talk .film-mod {
  grid-column: 1 / -1;
  grid-row: 4;
  position: relative;
  margin: 2px 0 0;
  color: var(--ink-3);
}

.rooms .room:nth-child(1) .rt-schedule {
  list-style: none;
  margin: 10px 0 30px;
  padding: 0;
  border-top: 1px solid rgba(251, 249, 244, 0.16);
}

.rooms .room:nth-child(1) .rt-schedule li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid rgba(251, 249, 244, 0.16);
}

.rooms .room:nth-child(1) .rt-t {
  display: flex;
  flex-direction: column;
  font-family: var(--label);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.rooms .room:nth-child(1) .rt-t b,
.rooms .room:nth-child(1) .rt-t i {
  display: block;
  font-style: normal;
}

.rooms .room:nth-child(1) .rt-t b {
  font: 600 15px/1.1 var(--label);
  color: var(--ring);
}

.rooms .room:nth-child(1) .rt-t i {
  font: 500 11.5px/1.2 var(--label);
  color: rgba(170, 221, 219, 0.62);
  margin-top: 4px;
}

.rooms .room:nth-child(1) .rt-n {
  font: 400 clamp(17px, 1.5vw, 19px)/1.3 var(--display);
  color: var(--paper);
  text-wrap: pretty;
}

*,
*::before,
*::after {
  text-wrap: wrap !important;
}

#top,
#top * {
  text-wrap: balance !important;
}

html #top h1 > span:not(.against) {
  white-space: nowrap !important;
}

html #top h1 {
  font-size: min(92px, calc((100vw - 40px) / 10.7));
  width: max-content;
  max-width: none;
  position: relative;
  left: 50%;
  translate: -50% 0;
  text-align: center;
}

html[lang="fr"] #top h1 {
  font-size: min(88px, calc((100vw - 40px) / 11.7));
}

.evening--split {
  padding: clamp(56px, 8vw, 104px) 0;
}

.evening--split .es-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}

.evening--split .eyebrow {
  margin: 0 0 24px;
}

.evening--split h2 {
  margin: 0;
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.evening--split .es-head {
  container-type: inline-size;
}

html[lang="fr"] .evening--split h2 {
  font-size: min(clamp(40px, 5.6vw, 72px), 11.5cqw);
  white-space: nowrap;
}

.evening--split .es-text {
  margin: 0;
  font-size: clamp(18px, 1.6vw, 20px);
  line-height: 1.65;
  color: rgba(251, 249, 244, 0.86);
  padding-left: clamp(20px, 3vw, 40px);
  border-left: 2px solid rgba(170, 221, 219, 0.4);
}

.speaker-modal-credit {
  margin: 22px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font: 500 12px/1.4 var(--label);
  letter-spacing: 0.02em;
  color: var(--ink-3);
}

@media (min-width: 561px) {
  .sign-card .who {
    white-space: nowrap;
  }
}

@media (min-width: 800px) {
  html #top .hero-sub {
    max-width: none;
    white-space: nowrap;
    font-size: clamp(16px, 1.62vw, 21px);
  }
}

@media (min-width: 900px) {
  #top .hero-sub {
    max-width: 72ch;
  }
}

@media (min-width: 901px) {
  .rooms {
    gap: 28px;
    align-items: stretch;
    grid-template-columns: 1fr 1fr;
  }
  .rooms .room:nth-child(3) {
    grid-column: 1 / -1;
    row-gap: 0;
    align-items: start;
    column-gap: 48px;
  }
  .rooms .room:nth-child(3) .room-head {
    grid-column: 1;
    grid-row: 1;
  }
  .rooms .room:nth-child(3) .desc {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
  }
}

@media (max-width: 900px) {
  .navlinks a:not(.btn) {
    display: none;
  }
  .themes {
    grid-template-columns: 1fr;
  }
  .rooms {
    grid-template-columns: 1fr;
  }
  .rooms .room:last-child {
    grid-column: auto;
  }
  nav {
    padding: 10px max(20px, env(safe-area-inset-right)) 10px
      max(20px, env(safe-area-inset-left));
    gap: 10px;
  }
  .navlinks {
    gap: 6px;
    margin-left: auto;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav-main {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-2);
    padding: 6px max(20px, env(safe-area-inset-right)) 18px
      max(20px, env(safe-area-inset-left));
  }
  header.nav-open .nav-main {
    display: flex;
    animation: navIn 0.2s var(--ease);
  }
  .navlinks .nav-main a:not(.btn) {
    display: block;
    font-size: 19px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
  }
  .navlinks .nav-main a:not(.btn)::after {
    display: none;
  }
  .navlinks .btn {
    padding: 9px 16px;
    min-height: 44px;
    font-size: 15px;
  }
  .speaker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #top .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .theme {
    padding: 28px 22px;
  }
  #program .theme {
    grid-template-columns: 1fr;
  }
  #program .theme-col--people {
    border-left: 0 !important;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 840px) {
  :root {
    --header-h: 80px;
  }
  .brand img {
    height: 56px;
  }
}

@media (max-width: 820px) {
  .evening--split .es-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .evening--split .es-text {
    padding-left: 0;
    border-left: 0;
    border-top: 2px solid rgba(170, 221, 219, 0.4);
    padding-top: 24px;
  }
}

@media (max-width: 760px) {
  #program .theme-col {
    padding: 28px 22px;
  }
}

#program .theme-col--main {
  padding: 44px 48px;
}

@media (max-width: 900px) {
  #program .theme-col--main {
    padding: 32px 26px;
  }
}

@media (max-width: 760px) {
  #program .theme-col + .theme-col {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  #program .theme-col--main {
    padding: 28px 22px;
  }
  #program .theme-col--people {
    background: rgba(255, 255, 255, 0.55);
  }
}

@media (max-width: 700px) {
  .logo-wall.logo-wall--org {
    justify-content: flex-start;
    gap: 24px 40px;
  }
}

@media (max-width: 640px) {
  .modal-head {
    padding: 36px 26px 24px;
  }
  .modal-body {
    padding: 26px 26px 36px;
  }
  .modal-speakers {
    grid-template-columns: 1fr;
  }
  .speaker-modal-head {
    gap: 18px;
  }
  .logo-wall .org-logo {
    height: 104px;
    zoom: 0.82;
  }
  .navlinks > .btn-primary {
    display: none;
  }
  .nav-main .nav-register {
    display: inline-flex;
    margin-top: 16px;
    justify-content: center;
  }
  body {
    font-size: 17px;
  }
  .hero-meta {
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
  }
  .wrap {
    padding: 0 max(20px, env(safe-area-inset-left));
  }
  .speaker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .avatar {
    width: 104px;
    height: 104px;
  }
  .speaker {
    padding: 22px 12px 20px;
  }
  .speaker h4 {
    overflow-wrap: anywhere;
    font-size: 17px;
  }
  .speaker .tag {
    overflow-wrap: anywhere;
    font-size: 15px;
  }
  #top .hero-sub {
    font-size: 19px;
  }
  #top .hero-meta {
    gap: 18px 0;
    flex-direction: column;
    align-items: center;
  }
  #top h1 .against {
    font-size: 0.6em;
    gap: 12px;
  }
  #top h1 .against::before,
  #top h1 .against::after {
    flex-basis: 28px;
  }
  #top .hero-rings {
    width: 1029px;
  }
  .logo-wall {
    padding: 28px max(20px, env(safe-area-inset-left)) 0;
    gap: 22px 36px;
  }
  #calModalPanel {
    max-height: calc(100vh - 120px);
    max-height: calc(100dvh - 120px);
  }
  #calModal .modal-head {
    padding: 28px 20px 16px;
  }
  #calModal .modal-body {
    padding: 4px 20px 20px;
  }
  .cal-foot {
    padding: 14px 20px 18px;
    flex-direction: column;
  }
  .cal-foot .btn {
    width: 100%;
    justify-content: center;
  }
  .cal-row {
    grid-template-columns: 22px 1fr;
  }
  .cal-row .cal-time {
    grid-column: 2;
  }
  .cal-row .cal-name {
    grid-column: 2;
  }
  .cal-group legend {
    width: 100%;
    float: none;
    margin-bottom: 2px;
  }
  .cal-group .cal-toggle {
    position: static;
    display: block;
    padding: 2px 0 8px;
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .rooms .room .desc,
  .rooms .room:nth-child(1) .desc {
    font-size: 17px;
  }
  .rooms .room:nth-child(2) .film-item {
    --stub: 74px;
  }
  .rooms .room:nth-child(2) .film-item .fs-start {
    font-size: 19px;
  }
  .rooms .room:nth-child(2) .film-item .fs-end {
    font-size: 12px;
  }
  .rooms .room:nth-child(2) .film-info {
    padding: 14px 14px 14px 16px;
  }
  .rooms .room:nth-child(2) .film-debate,
  .rooms .room:nth-child(2) .film-mod {
    font-size: 15px;
  }
  .rooms .room:nth-child(1) .rt-schedule li {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px;
  }
}

@media (hover: none) {
  .theme.clickable:hover,
  .room:hover,
  .room.clickable:hover,
  .speaker.clickable:hover,
  .btn-primary:hover,
  .btn-ghost:hover,
  .logo-wall a:hover {
    transform: none;
    box-shadow: none;
  }
}

.theme.clickable:active,
.room.clickable:active,
.speaker.clickable:active,
.lang-switch button:active {
  transform: scale(0.985);
}

.theme.clickable:active,
.room.clickable:active {
  transform: translateY(-1px) scale(0.992);
}

.rooms .room {
  background: var(--paper-dim);
  border: 1px solid var(--line);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  padding: clamp(28px, 3vw, 44px);
  isolation: isolate;
}

.theme.clickable:hover,
.rooms .room.clickable:hover {
  box-shadow:
    0 2px 6px rgba(20, 32, 31, 0.06),
    0 18px 40px -8px rgba(20, 32, 31, 0.22);
}

.rooms .room:hover {
  box-shadow:
    0 2px 6px rgba(20, 32, 31, 0.06),
    0 18px 40px -8px rgba(20, 32, 31, 0.22);
}

.logo-wall a:active {
  transform: scale(0.97);
}

@media (hover: none) {
  .btn-primary:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
  }
  .btn-ghost:hover {
    background: transparent;
    color: var(--ink);
  }
  .navlinks a:not(.btn):hover::after {
    transform: scaleX(0);
  }
}

@media (hover: none), (pointer: coarse) {
  #program .theme.clickable:hover .view-link {
    background: transparent;
    color: var(--teal-deep);
    border-color: var(--teal-deep);
  }
}

@media (hover: hover) and (pointer: fine) {
  .theme.clickable:hover,
  .room.clickable:hover {
    background: var(--paper);
  }
}

.rooms .room:nth-child(1) {
  border-color: transparent;
  color: var(--paper);
  background: var(--ink);
}

.theme.clickable:hover,
.theme.clickable:focus-visible {
  background: var(--paper-dim);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
  .rv-pre {
    opacity: 0;
  }
  .rv-in {
    animation: riseIn 0.55s var(--ease) calc(var(--i, 0) * 70ms) backwards;
  }
  #top h1 {
    animation: riseIn 0.65s var(--ease) backwards;
  }
  #top .hero-sub {
    animation: riseIn 0.6s var(--ease) 0.1s backwards;
  }
  #top .hero-cta {
    animation: riseIn 0.6s var(--ease) 0.18s backwards;
  }
  #top .hero-meta {
    animation: riseIn 0.6s var(--ease) 0.26s backwards;
  }
  #top.is-offscreen * {
    animation-play-state: paused !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
    transition-property:
      color, background-color, border-color, opacity, box-shadow, outline-color !important;
    transition-duration: 0.12s !important;
  }
  .theme.clickable:hover,
  .room:hover,
  .speaker.clickable:hover,
  .btn:hover,
  .btn:active {
    transform: none !important;
  }
  .theme.clickable:hover,
  .rooms .room.clickable:hover {
    transform: none;
  }
}

@media (hover: none), (pointer: coarse) {
  .theme.clickable:hover,
  .room.clickable:hover,
  .room:hover,
  .speaker.clickable:hover,
  .sign-card:hover {
    transform: none !important;
    box-shadow: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #program .theme.clickable:hover,
  #program .theme .view-link:active,
  .logo-wall a:active {
    transform: none;
  }
}

/* Icons are SVG files in img/icons; on hover they turn light on the dark circle */
.nav-social a:hover .ico,
.nav-toggle:hover .ico,
.modal-close:hover .ico {
  filter: brightness(0) invert(1);
}
