:root {
  --bg: #f6f2ea;
  --surface: #fffdfa;
  --surface-strong: #fff8ef;
  --ink: #1f2430;
  --muted: #5f6675;
  --line: rgba(31, 36, 48, 0.12);
  --line-strong: rgba(31, 36, 48, 0.22);
  --accent: #ef6b3b;
  --accent-deep: #cf4e25;
  --accent-soft: rgba(239, 107, 59, 0.14);
  --navy: #18334d;
  --shadow: 0 28px 70px rgba(30, 36, 46, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.85), transparent 28%),
    linear-gradient(180deg, #fbf7f1 0%, #f4ecdf 100%);
  color: var(--ink);
  height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-y: auto;
}

button {
  font: inherit;
}

.page {
  width: min(1320px, calc(100% - 24px));
  margin: 0 auto;
  padding: 12px 0;
  min-height: 100vh;
}

.catalogue-page {
  width: min(1540px, calc(100% - 24px));
  display: grid;
  grid-template-columns: minmax(190px, 230px) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.catalogue-page .hero,
.catalogue-page .questionnaire {
  grid-column: 2;
  min-width: 0;
}

.film-sidebar {
  position: sticky;
  top: 64px;
  grid-column: 1;
  grid-row: 1 / span 2;
  max-height: calc(100vh - 76px);
  overflow: auto;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 250, 0.88);
  box-shadow: var(--shadow);
}

.film-sidebar .eyebrow {
  color: var(--accent-deep);
}

.film-sidebar-nav {
  display: grid;
  gap: 16px;
}

.film-sidebar-group {
  display: grid;
  gap: 7px;
}

.film-sidebar-group-title {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.film-sidebar-list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.film-sidebar a {
  display: block;
  padding: 6px 8px;
  border-radius: 6px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition:
    background-color 140ms ease,
    color 140ms ease;
}

.film-sidebar a:hover,
.film-sidebar a:focus-visible {
  background: var(--accent-soft);
  color: var(--accent-deep);
  outline: none;
}

.archive-film-card,
.video-card {
  scroll-margin-top: 76px;
}

.hero {
  display: grid;
  gap: 10px;
  align-items: start;
}

.hero-copy,
.questionnaire {
  border: 1px solid var(--line);
  background: rgba(255, 253, 250, 0.88);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 16px 20px;
  background:
    linear-gradient(145deg, rgba(24, 51, 77, 0.96), rgba(24, 51, 77, 0.82)),
    linear-gradient(180deg, rgba(239, 107, 59, 0.18), transparent);
  color: #fff8ef;
}

.hero-copy .eyebrow,
.hero-copy .lede {
  color: rgba(255, 248, 239, 0.82);
}

.hero-copy h1 {
  margin: 0;
  max-width: none;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hero-panel h2,
.section-header h2,
.video-details h3 {
  margin: 0;
}

.hero-panel p,
.video-preview p,
.video-details p,
.selection-count,
.plain-list li {
  color: var(--muted);
  line-height: 1.6;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.lede {
  margin: 8px 0 0;
  max-width: 54ch;
  font-size: 0.9rem;
  line-height: 1.35;
}

.reset-button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--accent);
  color: white;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease;
}

.hero-actions-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.reset-button:hover,
.reset-button:focus-visible {
  transform: translateY(-1px);
  background: var(--accent-deep);
}

.questionnaire {
  display: flex;
  flex-direction: column;
  margin-top: 12px;
  padding: 18px 20px 20px;
}

.questionnaire > .section-header:not(.section-header--archive) {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  margin-bottom: 12px;
}

.section-header h2,
.hero-panel h2 {
  font-size: 1.15rem;
}

.submit-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.submit-bar-bottom {
  margin-top: 24px;
  margin-bottom: 0;
}

.submit-button {
  min-height: 72px;
  border-radius: 999px;
  font: inherit;
}

.submit-button {
  border: 0;
  width: min(100%, 420px);
  padding: 0 36px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: white;
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 22px 46px rgba(207, 78, 37, 0.34);
  transition: transform 160ms ease, opacity 160ms ease, box-shadow 160ms ease;
}

.submit-button:hover,
.submit-button:focus-visible {
  transform: translateY(-2px) scale(1.01);
  opacity: 0.98;
  box-shadow: 0 28px 54px rgba(207, 78, 37, 0.4);
}

.video-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trailer-group + .trailer-group {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.trailer-group-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  align-items: start;
}

.trailer-group-films {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.trailer-group-video {
  position: sticky;
  top: 16px;
}

.trailer-group-video-label {
  margin: 0 0 8px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.trailer-group-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0c1621;
  border: 1px solid var(--line);
}

@media (max-width: 980px) {
  .trailer-group-layout {
    grid-template-columns: 1fr;
  }

  .trailer-group-video {
    position: static;
  }
}

.video-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 0;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: default;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.video-card:hover,
.video-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(239, 107, 59, 0.45);
  box-shadow: 0 18px 42px rgba(31, 36, 48, 0.1);
  outline: none;
}

.video-card.is-ranked {
  border-color: rgba(239, 107, 59, 0.56);
  background: linear-gradient(180deg, #fffdfa 0%, #fff7ef 100%);
}

.video-preview {
  position: relative;
  display: block;
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(24, 51, 77, 0.04), rgba(24, 51, 77, 0.2)),
    linear-gradient(135deg, rgba(239, 107, 59, 0.2), rgba(24, 51, 77, 0.82));
  color: white;
  overflow: hidden;
}

.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: linear-gradient(180deg, rgba(9, 18, 29, 0.08), rgba(9, 18, 29, 0.34));
  pointer-events: none;
  transition: opacity 160ms ease;
}

.video-card.is-playing .video-overlay {
  opacity: 0;
}

.video-overlay-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(12, 22, 33, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: white;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.video-player {
  display: block;
  width: 100%;
  height: 100%;
  background: #0c1621;
  object-fit: contain;
}

.video-details {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 12px 14px 12px;
}

.video-details h3 {
  font-size: 1.05rem;
  line-height: 1.05;
}

.video-meta {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.video-details p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.42;
}

.section-header--archive {
  align-items: start;
  margin-bottom: 18px;
}

.short-film-catalogue {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.archive-film-card h4 {
  margin: 0;
}

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

.archive-film-card {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 250, 0.72);
}

.archive-media-placeholders {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 8px;
  min-height: 88px;
}

.archive-media-placeholders:empty {
  display: none;
}

.archive-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
  border: 1px solid var(--line);
  background: rgba(24, 51, 77, 0.06);
}

.archive-media-placeholders span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  border: 1px dashed rgba(31, 36, 48, 0.24);
  background:
    linear-gradient(135deg, rgba(24, 51, 77, 0.08), rgba(239, 107, 59, 0.08));
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.archive-film-card h4 {
  font-size: 1rem;
  line-height: 1.18;
}

.archive-film-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.select-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 28px);
  margin: 0 14px 14px;
  min-height: 52px;
  border: 0;
  border-radius: 14px;
  padding: 0 18px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: white;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(207, 78, 37, 0.24);
  transition:
    transform 160ms ease,
    opacity 160ms ease,
    box-shadow 160ms ease;
}

.select-button:hover,
.select-button:focus-visible {
  transform: translateY(-1px);
  opacity: 0.97;
  box-shadow: 0 18px 34px rgba(207, 78, 37, 0.3);
}

.video-card.is-ranked .select-button {
  background: linear-gradient(135deg, #ff8a42 0%, var(--accent-deep) 100%);
  color: white;
}

.rank-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: none;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: white;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(239, 107, 59, 0.28);
}

.video-card.is-ranked .rank-badge {
  display: inline-flex;
}

/* Audience choice page */
.audience-choice-page .hero {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
}

.audience-summary {
  display: grid;
  gap: 8px;
  align-content: center;
  min-height: 100%;
  padding: 20px;
  background: rgba(255, 253, 250, 0.88);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.audience-summary span {
  color: var(--accent-deep);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.audience-summary strong {
  color: var(--ink);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 0.95;
}

.audience-summary p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

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

.audience-card {
  position: relative;
  display: block;
  min-width: 0;
  cursor: pointer;
}

.audience-card input {
  position: absolute;
  inset: 18px auto auto 18px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.audience-card-body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 184px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.audience-card:hover .audience-card-body,
.audience-card input:focus-visible + .audience-card-body {
  transform: translateY(-2px);
  border-color: rgba(239, 107, 59, 0.45);
  box-shadow: 0 18px 42px rgba(31, 36, 48, 0.1);
}

.audience-card input:checked + .audience-card-body {
  border-color: rgba(239, 107, 59, 0.62);
  background: linear-gradient(180deg, #fffdfa 0%, #fff3e8 100%);
  box-shadow: 0 22px 46px rgba(207, 78, 37, 0.16);
}

.audience-card input:checked + .audience-card-body::after {
  content: "Selected";
  align-self: flex-start;
  margin-top: auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.audience-card-body--winner {
  border-color: rgba(239, 107, 59, 0.32);
}

.audience-card-body strong {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.15;
}

.audience-card-body > span:not(.august-status) {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.audience-card-body small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.audience-voter-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.audience-field {
  display: grid;
  gap: 8px;
}

.audience-field span {
  color: var(--accent-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.audience-field input {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}

.audience-field input:focus {
  border-color: var(--accent);
  outline: 3px solid var(--accent-soft);
}

@media (max-width: 980px) {
  .catalogue-page {
    grid-template-columns: 1fr;
  }

  .catalogue-page .hero,
  .catalogue-page .questionnaire,
  .film-sidebar {
    grid-column: 1;
    grid-row: auto;
  }

  .film-sidebar {
    position: static;
    max-height: none;
  }

  .film-sidebar-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero,
  .video-grid,
  .video-card,
  .archive-film-grid,
  .trailer-group-films,
  .audience-choice-page .hero,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .submit-bar {
    justify-content: start;
  }

  .hero-copy {
    padding: 24px;
  }

  .video-preview {
    aspect-ratio: 16 / 9;
  }

  .hero-actions-panel {
    justify-content: start;
  }
}

@media (max-width: 720px) {
  .page {
    width: min(100% - 20px, 100%);
    padding: 16px 0 32px;
  }

  .hero-copy,
  .hero-panel,
  .questionnaire {
    padding: 18px;
  }

  .section-header {
    flex-direction: column;
    align-items: start;
  }

  .audience-voter-fields {
    grid-template-columns: 1fr;
  }

  .video-card {
    padding: 0;
  }

  .hero-copy h1 {
    max-width: 12ch;
  }

  .film-sidebar-nav {
    grid-template-columns: 1fr;
  }
}

/* ─── Festival Page ────────────────────────────────────── */

.fest-hero {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, #0d1e2e 0%, #18334d 100%);
}

.fest-headline {
  margin: 0 0 16px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff8ef;
}

.fest-sub {
  margin: 0;
  font-size: 1.05rem;
  color: rgba(255, 248, 239, 0.68);
  line-height: 1.5;
  max-width: 52ch;
}

.fest-stats-bar {
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.fest-stats-inner {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.fest-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 22px 36px;
  flex: 1;
}

.fest-stat strong {
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff8ef;
  letter-spacing: 0.01em;
}

.fest-stat span {
  font-size: 0.78rem;
  color: rgba(255, 248, 239, 0.5);
}

.fest-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.fest-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 64px 0 80px;
  align-items: start;
}

.fest-section {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.fest-section-label {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fest-section-label span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  padding: 6px 14px;
  background: var(--accent-soft);
  border-radius: 999px;
}

.fest-block {
  border-left: 2px solid var(--line-strong);
  padding-left: 20px;
}

.fest-block h2 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
}

.fest-block p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--muted);
}

.fest-block p a {
  color: var(--accent-deep);
  text-decoration: none;
  font-weight: 700;
}

.fest-block p a:hover {
  text-decoration: underline;
}

.fest-block--highlight {
  border-left-color: var(--accent);
  background: var(--accent-soft);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
}

.fest-terms-intro {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--muted);
}

.fest-terms-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  counter-reset: terms;
}

.fest-terms-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--muted);
  counter-increment: terms;
}

.fest-terms-list li::before {
  content: counter(terms);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.fest-terms-list strong {
  color: var(--ink);
}

@media (max-width: 860px) {
  .fest-layout {
    grid-template-columns: 1fr;
  }

  .fest-stats-inner {
    flex-wrap: wrap;
    gap: 0;
  }

  .fest-stat {
    width: 50%;
    flex: none;
    padding: 18px 24px;
  }

  .fest-stat-divider {
    display: none;
  }
}

@media (max-width: 520px) {
  .fest-stat {
    width: 100%;
  }
}

/* ─── Landing Page ─────────────────────────────────────── */

.lp-body {
  margin: 0;
  background: #fbf7f1;
  color: var(--ink);
}

/* Nav */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 32px;
  height: 115px;
  background: rgba(24, 51, 77, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lp-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff8ef;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.lp-brand-mark {
  color: var(--accent);
  font-size: 0.7rem;
}

.lp-logo {
  height: 105px;
  width: auto;
  display: block;
  -webkit-mask-image: url('./logo1.png');
  mask-image: url('./logo1.png');
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-mode: luminance;
  mask-mode: luminance;
  opacity: 0;
  transition: opacity 240ms ease;
}

.lp-nav.logo-visible .lp-logo {
  opacity: 1;
}

.lp-hero-logo {
  width: 430px;
  height: auto;
  display: block;
  -webkit-mask-image: url('./logo1.png');
  mask-image: url('./logo1.png');
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-mode: luminance;
  mask-mode: luminance;
  margin-bottom: 12px;
  align-self: flex-start;
}

.lp-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lp-nav-links a {
  color: rgba(255, 248, 239, 0.78);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: color 140ms ease;
}

.lp-nav-links a:hover {
  color: #fff8ef;
}

.lp-nav-vote {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: white !important;
  transition: background-color 140ms ease, transform 140ms ease !important;
}

.lp-nav-vote:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
}

.lp-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.lp-menu-toggle span {
  display: block;
  height: 2px;
  background: #fff8ef;
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}

/* Hero */
.lp-hero {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: calc(100vh - 60px);
  background: #0d1e2e;
  overflow: hidden;
  isolation: isolate;
}

.lp-hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.05) contrast(0.98) brightness(0.72);
  pointer-events: none;
}

.lp-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(13, 30, 46, 0.84) 0%, rgba(13, 30, 46, 0.58) 42%, rgba(13, 30, 46, 0.24) 100%),
    linear-gradient(180deg, rgba(13, 30, 46, 0.28) 0%, rgba(13, 30, 46, 0.12) 46%, rgba(13, 30, 46, 0.7) 100%);
  pointer-events: none;
}

.lp-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(1200px, calc(100% - 48px));
  min-height: calc(100vh - 60px);
  margin: 0 auto;
  padding: 90px 0;
}

.lp-eyebrow {
  margin: 0 0 12px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.lp-eyebrow--dark {
  color: var(--accent-deep);
}

.lp-headline {
  margin: 0 0 24px;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: #fff8ef;
}

.lp-locations-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 36px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 248, 239, 0.62);
}

.lp-loc-sep {
  color: var(--accent);
  opacity: 0.6;
}

.lp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.lp-btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: white;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(207, 78, 37, 0.36);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.lp-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(207, 78, 37, 0.44);
}

.lp-btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 248, 239, 0.28);
  background: transparent;
  color: rgba(255, 248, 239, 0.84);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.lp-btn-ghost:hover {
  border-color: rgba(255, 248, 239, 0.6);
  color: #fff8ef;
  transform: translateY(-1px);
}

.lp-btn-white {
  display: inline-flex;
  align-items: center;
  padding: 16px 36px;
  border-radius: 999px;
  background: white;
  color: var(--accent-deep);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.lp-btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.24);
}

/* Poster strip (hero right column) */
.lp-poster-strip {
  position: relative;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.lp-poster-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  left: 0;
  width: 80px;
  background: linear-gradient(to right, #0d1e2e, transparent);
  z-index: 1;
}

.lp-poster-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  width: 100%;
  padding: 6px;
}

.lp-poster-strip-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  opacity: 0.7;
  aspect-ratio: 2 / 3;
}

/* Sections */
.lp-section {
  padding: 80px 0;
}

.lp-section--dark {
  background: linear-gradient(180deg, #0d1e2e 0%, #18334d 100%);
}

.lp-section--accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
}

.lp-container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.lp-section-title {
  margin: 0 0 32px;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}

.lp-section-title--light {
  color: #fff8ef;
}

.lp-section-title--spaced {
  margin-top: 64px;
}

.lp-section-sub {
  margin: -16px 0 40px;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}

/* About */
.lp-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.lp-about-copy p {
  margin: 0 0 16px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
}

.lp-about-copy p:last-child {
  margin-bottom: 0;
}

/* Event photos */
.lp-section--events {
  background:
    radial-gradient(circle at 84% 12%, rgba(24, 51, 77, 0.08), transparent 28%),
    linear-gradient(180deg, #fffdfa 0%, #fbf7f1 100%);
}

.event-timeline {
  display: grid;
  gap: 28px;
}

.event-circulation {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin: 0 0 30px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.event-circulation strong {
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  line-height: 1.15;
}

.event-circulation p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.event-entry {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  padding: 20px;
  background: rgba(255, 253, 250, 0.88);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.event-date {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding-right: 24px;
  border-right: 1px solid var(--line);
}

.event-date span {
  color: var(--accent-deep);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.event-date strong {
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.05;
}

.event-date small {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.event-content {
  display: grid;
  gap: 16px;
}

.event-detail-header {
  display: grid;
  gap: 6px;
}

.event-detail-header strong {
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.08;
}

.event-detail-header p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.event-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

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

.event-gallery--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.event-gallery--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.event-gallery img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  background: #0c1621;
  border-radius: 6px;
}

.event-trailer video {
  height: 280px;
  object-fit: cover;
}

.event-entry--text-only {
  align-items: center;
}

.event-note {
  display: flex;
  align-items: center;
  min-height: 120px;
  padding: 18px 20px;
  background: rgba(24, 51, 77, 0.06);
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
}

.event-films {
  display: grid;
  gap: 10px;
}

.event-films p {
  margin: 0;
  color: var(--accent-deep);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event-films ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.event-films li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 10px;
  color: var(--ink);
  background: #fffdfa;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.event-films strong {
  font-size: 0.9rem;
  line-height: 1.2;
}

.event-films span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.2;
}

/* August 2026 program */
.lp-section--august {
  background:
    radial-gradient(circle at top right, rgba(239, 107, 59, 0.14), transparent 28%),
    linear-gradient(180deg, #fbf7f1 0%, #f4ecdf 100%);
}

.august-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 28px;
  align-items: start;
}

.august-trailer {
  overflow: hidden;
  background: #0c1621;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.august-trailer video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0c1621;
}

.august-program {
  padding: 28px;
  background: rgba(255, 253, 250, 0.82);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.august-screening-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: screened;
}

.august-screening-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  counter-increment: screened;
}

.august-screening-list li::before {
  content: counter(screened);
  display: flex;
  grid-column: 1;
  grid-row: 1 / span 2;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.74rem;
  font-weight: 800;
}

.august-screening-list strong {
  display: block;
  grid-column: 2;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.25;
}

.august-screening-list span {
  display: block;
  grid-column: 2;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.august-selection {
  margin-top: 48px;
}

.august-selection--first {
  margin-top: 28px;
}

.august-selection-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.august-selection-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.august-selection-head span {
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

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

.august-selection-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 174px;
  padding: 18px;
  background: rgba(255, 253, 250, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.august-selection-card--winner {
  border-color: rgba(239, 107, 59, 0.5);
  background: linear-gradient(180deg, #fffdfa 0%, #fff3e8 100%);
}

.august-selection-card h4 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.2;
}

.august-selection-card p,
.august-selection-card small {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.august-selection-card p {
  font-size: 0.88rem;
}

.august-selection-card small {
  margin-top: auto;
  font-size: 0.76rem;
}

.august-status {
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(24, 51, 77, 0.1);
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.august-status--winner {
  background: var(--accent);
  color: white;
}

.august-status--honorable {
  background: rgba(239, 107, 59, 0.14);
  color: var(--accent-deep);
}

/* London submissions */
.lp-section--london {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.16), transparent 30%),
    linear-gradient(135deg, #0d1e2e 0%, #18334d 58%, #ef6b3b 160%);
}

.london-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.london-callout .lp-section-title {
  margin-bottom: 0;
}

.london-callout-copy {
  margin: 16px 0 0;
  max-width: 58ch;
  color: rgba(255, 248, 239, 0.76);
  font-size: 1.02rem;
  line-height: 1.55;
}

/* Poster grid */
.lp-poster-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.lp-poster-grid--short {
  grid-template-columns: repeat(2, minmax(0, 340px));
}

.lp-poster-card {
  background: rgba(255, 253, 250, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 160ms ease, border-color 160ms ease;
}

.lp-poster-card:hover {
  transform: translateY(-4px);
  border-color: rgba(239, 107, 59, 0.4);
}

.lp-poster-img-wrap {
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #0c1621;
}

.lp-poster-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 300ms ease;
}

.lp-poster-card:hover .lp-poster-img-wrap img {
  transform: scale(1.04);
}

.lp-poster-info {
  padding: 16px;
}

.lp-poster-info h3 {
  margin: 0 0 4px;
  font-size: 0.98rem;
  font-weight: 800;
  color: #fff8ef;
  line-height: 1.2;
}

.lp-poster-year {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.lp-poster-info p:not(.lp-poster-year) {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: rgba(255, 248, 239, 0.58);
}

.lp-vote-nudge {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 56px;
  padding: 28px 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(239, 107, 59, 0.28);
  border-radius: 12px;
}

.lp-vote-nudge p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: rgba(255, 248, 239, 0.8);
  flex: 1;
}

/* Locations */
.lp-locations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.lp-location-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  background: rgba(255, 253, 250, 0.88);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.lp-location-dot {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.lp-location-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lp-location-info strong {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
}

.lp-location-info span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* CTA block */
.lp-cta-block {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.lp-cta-block .lp-section-title {
  margin-bottom: 0;
}

.lp-cta-sub {
  margin: 0;
  font-size: 1rem;
  color: rgba(255, 248, 239, 0.78);
  line-height: 1.5;
  max-width: 48ch;
}

/* Contact */
.lp-contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.lp-contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 24px;
  background: rgba(255, 253, 250, 0.88);
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 160ms ease, border-color 160ms ease;
}

.lp-contact-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.lp-contact-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.lp-contact-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

/* Footer */
.lp-footer {
  padding: 28px 0;
  background: #0d1e2e;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.lp-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.lp-footer p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 248, 239, 0.7);
}

.lp-footer a {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  transition: color 140ms ease;
}

.lp-footer a:hover {
  color: #ff8a42;
}

/* Responsive */
@media (max-width: 1024px) {
  .lp-poster-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .lp-nav {
    padding: 0 20px;
  }

  .lp-menu-toggle {
    display: flex;
  }

  .lp-nav-links {
    display: none;
    position: absolute;
    top: 115px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(13, 30, 46, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 0;
  }

  .lp-nav-links.is-open {
    display: flex;
  }

  .lp-nav-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .lp-nav-links a {
    display: block;
    padding: 14px 20px;
  }

  .lp-nav-vote {
    margin: 8px 16px;
    text-align: center;
    border-radius: 999px !important;
  }

  .lp-hero {
    min-height: calc(100svh - 60px);
  }

  .lp-hero-inner {
    min-height: calc(100svh - 60px);
    padding: 72px 0 56px;
  }

  .lp-poster-strip {
    order: 0;
    height: 200px;
  }

  .lp-poster-strip-inner {
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: 1fr;
  }

  .lp-about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .event-circulation {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .event-entry {
    grid-template-columns: 1fr;
  }

  .event-date {
    padding-right: 0;
    padding-bottom: 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .august-feature {
    grid-template-columns: 1fr;
  }

  .august-selection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .london-callout {
    flex-direction: column;
    align-items: flex-start;
  }

  .lp-locations {
    grid-template-columns: 1fr;
  }

  .lp-poster-grid--short {
    grid-template-columns: 1fr;
  }

  .lp-vote-nudge {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .lp-section {
    padding: 56px 0;
  }

  .lp-poster-grid {
    grid-template-columns: 1fr;
  }

  .event-entry {
    padding: 16px;
  }

  .event-gallery,
  .event-gallery--two,
  .event-gallery--three {
    grid-template-columns: 1fr;
  }

  .event-media-grid {
    grid-template-columns: 1fr;
  }

  .event-gallery img {
    height: auto;
    max-height: none;
  }

  .event-trailer video {
    height: auto;
  }

  .august-program {
    padding: 20px;
  }

  .august-selection-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .august-selection-grid {
    grid-template-columns: 1fr;
  }

  .lp-contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lp-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
