@font-face {
  font-family: TildaSans;
  src: url("/assets/tildasans.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --background: #000;
  --ink: #fff;
  --muted: #e2e2e2;
  --accent: #d90000;
  --edge: #3a3636;
  --page: min(1180px, calc(100% - 64px));
  font-family: TildaSans, Arial, sans-serif;
  font-size: 17px;
  color: var(--ink);
  background: var(--background);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0 0 .75rem; line-height: 1.04; }
h1 { font-size: clamp(2.8rem, 7vw, 6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.8rem); text-transform: uppercase; }
h3 { font-size: clamp(1.12rem, 2vw, 1.6rem); }
h1, h2, h3, .body-copy { overflow-wrap: break-word; }
h1, h2, h3 { text-wrap: balance; }
p, ul { margin: 0 0 1em; }
.wrap { width: var(--page); margin-inline: auto; }
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #000;
  border-bottom: 1px solid #222;
}
.header .wrap {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
}
.brand { font-size: 1.42rem; font-weight: 900; text-decoration: none; text-transform: uppercase; letter-spacing: .01em; }
.desktop-nav, .footer nav { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.desktop-nav a, .mobile-nav a { text-decoration: none; font-size: .82rem; font-weight: 700; text-transform: uppercase; }
.desktop-nav a:hover, .mobile-nav a:hover, .footer a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: .4em; }
.mobile-nav { display: none; }
.skip { position: fixed; left: 16px; top: 12px; padding: .7em 1em; z-index: 20; background: #fff; color: #000; transform: translateY(-150%); }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.section, .cover, .poster { scroll-margin-top: 78px; }
.poster img { width: 100%; max-height: 88vh; object-fit: contain; background: #000; }
.section.start { padding-bottom: 25px; }
.start h1 { text-align: center; margin-bottom: 1rem; }
.carousel { width: min(100%, 1000px); margin-inline: auto; }
.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  background: #0b0a0a;
}
.carousel-track img {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  scroll-snap-align: start;
}
.carousel-controls:not([hidden]) { display: flex; gap: 16px; align-items: center; justify-content: center; margin-top: 12px; }
.carousel-controls button {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--edge);
  border-radius: 50%;
  color: #fff;
  background: #171717;
  font: inherit;
  cursor: pointer;
}
.carousel-controls button:disabled { cursor: default; opacity: .35; }
.section { padding: clamp(36px, 6vw, 90px) 0; position: relative; }
.section h2 { margin-bottom: .75em; }
.motto { padding: .7em 1rem; border-block: 1px solid var(--edge); text-align: center; font-size: clamp(1.4rem, 4.3vw, 3.7rem); font-weight: 800; }
.cover { position: relative; overflow: hidden; background: #2a0505; }
.cover-bg { position: absolute; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.cover .wrap { position: relative; padding-block: clamp(50px, 11vw, 156px); text-align: center; max-width: 820px; }
.cover h2 { margin-bottom: .5em; }
.cover .body-copy { font-size: clamp(1.1rem, 2.4vw, 1.55rem); }
.body-copy { font-size: clamp(1.04rem, 1.8vw, 1.2rem); line-height: 1.55; }
.gallery { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; }
.audience { background: #111; overflow: hidden; }
.audience .wrap { position: relative; }
.audience-bg { position: absolute; width: min(36%, 360px); max-height: 100%; object-fit: contain; inset: 0 0 auto auto; opacity: .24; }
.audience-list { position: relative; margin: 0; padding: 0; list-style: none; max-width: 800px; }
.audience-list li { padding: 1rem 0; border-top: 1px solid var(--edge); display: flex; align-items: baseline; gap: 1rem; font-weight: 600; font-size: clamp(1.15rem, 2.8vw, 1.6rem); }
.audience-index { color: #ff5b5b; font-weight: 700; flex: none; }
.people { padding-bottom: 25px; }
.speakers { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 32px 20px; }
.speaker { min-width: 0; line-height: 1.42; }
.speaker h3 { margin: .7rem 0; }
.speaker > div:last-child { color: var(--muted); }
.portrait { width: 100%; aspect-ratio: 5/6; position: relative; overflow: hidden; background: #161616; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait-alt { position: absolute; inset: 0; opacity: 0; transition: opacity .2s; }
.speaker:hover .portrait-alt { opacity: 1; }
.title-block { padding-bottom: 0; }
.title-block h2 { margin-bottom: .5em; }
.rule { background: var(--accent); width: 76px; height: 3px; }
.schedule { padding-top: 22px; }
.schedule-row { border-bottom: 1px solid var(--edge); display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 2rem; padding: 1.6rem 0; }
.schedule-row h3 { padding-top: .2em; }
.compact { padding-block: 2rem 0; }
.program-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.program-card { display: flex; flex-direction: column; gap: 1rem; padding: 1.4rem; border: 1px solid var(--edge); background: #170303; text-decoration: none; line-height: 1.3; }
a.program-card:hover { border-color: var(--accent); }
.feature { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1fr); gap: clamp(1.25rem,5vw,3rem); align-items: center; }
.feature > div:only-child { grid-column: 1 / -1; }
.feature-image { width: 100%; }
.feature-block { background: #0b0a0a; }
.logos { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 18px; align-items: center; }
.logos img { width: 100%; height: auto; max-height: 100px; object-fit: contain; }
.footer { border-top: 1px solid var(--edge); background: #111; }
.footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; padding-block: 2rem; }
.footer nav a { font-size: .9rem; }
@media (max-width: 850px) {
  :root { --page: calc(100% - 36px); }
  .header .wrap { min-height: 58px; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { cursor: pointer; padding: 8px 0 8px 8px; }
  .mobile-nav nav { position: absolute; top: 100%; inset-inline: 0; padding: 12px 18px; border-block: 1px solid var(--edge); background: #101010; }
  .mobile-nav nav a { display: block; padding: 10px 6px; }
  .section, .cover, .poster { scroll-margin-top: 64px; }
  .speakers { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .gallery { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .logos { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 550px) {
  .feature, .schedule-row { grid-template-columns: 1fr; gap: .7rem; }
  .gallery, .speakers, .program-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .speakers { row-gap: 28px; }
  .speaker > div:last-child { font-size: .9rem; }
  .logos { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .program-card { padding: .75rem; font-size: .9rem; }
  .audience-bg { opacity: .14; }
  .cover .wrap { padding-block: 54px; }
}
