.page-programme {
  --home-bg: #050507;
  --home-surface: #0e0b13;
  --home-pink: #ed1779;
  --home-text: #f7f5f2;
  --home-muted: #a9a2b2;
  --home-dark: #050507;
  --home-border: rgba(255, 255, 255, 0.7);
  --home-border-subtle: rgba(255, 255, 255, 0.2);
  --home-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --prog-raised: #171120;
  --prog-purple: #7a2ee6;
  --prog-green: #12c8a0;
  position: relative;
  background: var(--home-bg);
  color: var(--home-text);
  font-family: var(--home-font);
  font-weight: 400;
}

.page-programme :is(h1, h2, h3, h4, p, li, a, button, input, select, option, dt, dd, label, span) {
  font-family: var(--home-font);
}

.page-programme .site-footer,
.page-programme .site-footer :is(p, li, a, span) {
  font-family: "Instrument Sans", system-ui, sans-serif;
}

.page-programme .home-nav a[aria-current="page"] {
  color: var(--home-pink);
}

.page-programme .films-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.prog-wrap {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 64px 56px 80px;
  box-sizing: border-box;
}

.page-programme .films-year-nav {
  justify-content: flex-start;
  margin: 0 0 28px;
}

.page-programme .films-year-link {
  font-family: var(--home-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--home-muted);
}

.page-programme .films-year-link--current,
.page-programme .films-year-link:hover {
  color: var(--home-text);
  border-bottom-color: var(--home-pink);
}

.prog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 444px);
  gap: 32px 48px;
  align-items: end;
  margin-bottom: 24px;
}

.prog-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--home-text);
}

.prog-kicker::before {
  content: "";
  width: 35px;
  height: 3px;
  background: var(--home-pink);
}

.prog-hero h1 {
  margin: 0 0 12px;
  font-family: var(--home-font);
  font-size: clamp(2.4rem, 6vw, 64px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.prog-hero-lead {
  margin: 0;
  max-width: 720px;
  font-size: 19px;
  line-height: 28px;
}

.prog-search {
  position: relative;
}

.prog-search input {
  width: 100%;
  height: 58px;
  padding: 0 52px 0 28px;
  border: 1px solid #111;
  border-radius: 29px;
  background: #12101a;
  color: var(--home-text);
  font-family: var(--home-font);
  font-size: 14px;
}

.prog-search input::placeholder {
  color: rgba(247, 244, 248, 0.55);
}

.prog-search-icon {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 700;
  pointer-events: none;
}

.prog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 0 28px;
}

.prog-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 16px;
  border: 1px solid #111;
  border-radius: 17px;
  background: #12101a;
  color: var(--home-text);
  font-family: var(--home-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.prog-chip.is-active {
  background: #08070d;
  border-color: rgba(247, 244, 248, 0.35);
}

.prog-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prog-sort {
  background: transparent;
  border: 0;
  color: var(--home-text);
  font-family: var(--home-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

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

.prog-group {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(247, 244, 248, 0.16);
}

.prog-group-head {
  max-width: 720px;
  margin-bottom: 28px;
}

.prog-group-head h2 {
  margin: 8px 0 12px;
  font-size: clamp(1.6rem, 3vw, 36px);
}

.prog-group-title {
  color: inherit;
}

.prog-group-lead {
  margin: 0;
  color: var(--home-muted);
  font-size: 16px;
  line-height: 1.5;
}

.prog-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: inherit;
}

.prog-card-art {
  position: relative;
  width: 100%;
  aspect-ratio: 412 / 500;
  overflow: hidden;
  border: 1px solid rgba(247, 244, 248, 0.28);
  border-radius: 2px;
  background: var(--card-tone, #08070d);
  color: var(--home-text);
}

.prog-card-art img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.prog-card-code,
.prog-card-name,
.prog-card-line {
  margin: 0;
}

.prog-card-code {
  position: absolute;
  top: 21px;
  left: 21px;
  font-size: 12px;
  font-weight: 700;
}

.prog-card-name {
  position: absolute;
  left: 21px;
  right: 21px;
  bottom: 64px;
  font-family: var(--home-font);
  font-size: clamp(1.35rem, 2.2vw, 39px);
  font-weight: 800;
  line-height: 1.1;
}

.prog-card-line {
  position: absolute;
  left: 21px;
  right: 21px;
  bottom: 21px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.prog-card-title {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 26px;
  text-transform: uppercase;
}

.prog-card-meta {
  margin: 0;
  font-size: 12px;
  line-height: 18px;
  color: rgba(247, 244, 248, 0.82);
}

.prog-card-cta {
  margin: 4px 0 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prog-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  margin: 0;
  padding: 6px 10px;
  background: rgba(5, 5, 7, 0.72);
  border: 1px solid rgba(247, 244, 248, 0.28);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prog-card-times {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.prog-card-times li {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(247, 244, 248, 0.88);
}

.prog-card-times span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--home-text);
}

.fd-block {
  padding: 72px 64px;
  border-top: 1px solid rgba(247, 244, 248, 0.12);
}

.fd-block-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.fd-block-head h2 {
  margin: 8px 0 12px;
  font-size: clamp(1.6rem, 3vw, 36px);
}

.fd-block-head p {
  margin: 0;
  color: var(--home-muted);
}

.prog-empty {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--home-muted);
}

.prog-callout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 56px;
  padding: 48px 40px;
  border: 1px solid rgba(237, 10, 140, 0.65);
  border-radius: 3px;
  background: linear-gradient(90deg, #25091e, #151340);
}

.prog-callout h2 {
  margin: 12px 0 0;
  font-size: clamp(1.8rem, 3vw, 41px);
  font-weight: 800;
  line-height: 1.2;
}

.prog-callout p {
  margin: 0 0 20px;
  font-size: 17px;
  line-height: 27px;
}

.fd-hero {
  position: relative;
  min-height: 780px;
  overflow: hidden;
}

.fd-hero-media {
  position: absolute;
  top: 0;
  right: 0;
  width: min(838px, 58%);
  height: 100%;
}

.fd-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fd-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #050507 30%, rgba(5, 5, 7, 0.86) 52%, rgba(5, 5, 7, 0.12) 100%);
}

.fd-hero-frame {
  position: absolute;
  top: 30px;
  right: 52px;
  width: min(758px, 52%);
  height: calc(100% - 60px);
  border: 1px solid var(--home-border-subtle);
  pointer-events: none;
}

.fd-hero-copy {
  position: relative;
  z-index: 1;
  width: min(700px, 100%);
  padding: 48px 64px 80px;
}

.fd-crumb,
.fd-kicker,
.fd-director,
.fd-meta,
.fd-logline,
.fd-pills {
  margin: 0;
}

.fd-crumb {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--home-muted);
}

.fd-crumb a {
  color: inherit;
}

.fd-kicker {
  margin-top: 76px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--home-pink);
}

.fd-title {
  margin: 16px 0 12px;
  font-family: var(--home-font);
  font-size: clamp(2.6rem, 8vw, 104px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.fd-director {
  font-size: 22px;
  font-weight: 600;
}

.fd-meta {
  margin-top: 24px;
  font-size: 15px;
  color: var(--home-muted);
}

.fd-logline {
  margin-top: 36px;
  max-width: 570px;
  font-size: 24px;
  line-height: 34px;
}

.fd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.fd-actions .nbo-btn {
  min-height: 52px;
  padding: 16px 22px;
  font-size: 13px;
  font-weight: 700;
}

.fd-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 36px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--home-muted);
}

.fd-pills span {
  display: inline-block;
}

.fd-trailer {
  padding: 48px 64px 72px;
}

.fd-trailer h2 {
  margin: 8px 0 24px;
  font-size: clamp(1.8rem, 3vw, 36px);
  font-weight: 800;
}

.fd-trailer-frame {
  position: relative;
  width: min(960px, 100%);
  aspect-ratio: 16 / 9;
  height: auto;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(247, 244, 248, 0.2);
}

.fd-trailer-frame iframe,
.fd-trailer-frame video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.fd-trailer-fallback {
  margin: 12px 0 0;
  font-size: 13px;
}

.fd-trailer-fallback a {
  color: var(--home-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fd-story {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 512px);
  gap: 48px;
  padding: 72px 64px;
  background: var(--home-surface);
}

.fd-story-copy h2 {
  margin: 16px 0 24px;
  font-size: clamp(1.8rem, 4vw, 46px);
  font-weight: 700;
  line-height: 1.18;
}

.fd-story-copy p {
  margin: 0 0 24px;
  font-size: 20px;
  line-height: 31px;
}

.fd-presented {
  color: var(--home-pink);
  font-size: 17px;
  font-weight: 600;
}

.fd-facts {
  padding: 36px 40px;
  border: 1px solid var(--home-border-subtle);
  border-radius: 4px;
  background: var(--prog-raised);
}

.fd-facts h2 {
  margin: 0 0 24px;
  font-size: 28px;
}

.fd-facts dl {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0 16px;
  margin: 0;
}

.fd-facts dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--home-muted);
  line-height: 47px;
}

.fd-facts dd {
  margin: 0;
  font-size: 16px;
  line-height: 47px;
}

.fd-facts-access {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--home-border-subtle);
  font-size: 15px;
}

.fd-facts-access span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--home-muted);
}

.fd-screenings {
  padding: 68px 64px 80px;
}

.fd-screenings h2 {
  margin: 16px 0 8px;
  font-size: clamp(1.8rem, 4vw, 48px);
}

.fd-screenings-lead,
.fd-screenings-note {
  color: var(--home-muted);
}

.fd-screenings-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
}

.fd-screening-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 40px 0 28px;
}

.fd-screening {
  position: relative;
  min-height: 360px;
  padding: 28px 24px;
  border: 1px solid var(--home-border-subtle);
  background: var(--home-surface);
}

.fd-screening::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--accent, var(--home-pink));
}

.fd-screening-date,
.fd-screening-status {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--home-muted);
}

.fd-screening-time {
  margin: 12px 0 24px;
  font-size: 48px;
  font-weight: 700;
}

.fd-screening-title {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 600;
}

.fd-screening-venue {
  margin: 0 0 6px;
  font-size: 17px;
}

.fd-screening-note {
  margin: 0 0 28px;
  color: var(--home-muted);
}

.fd-screening-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fd-screening-row--cta {
  justify-content: flex-end;
}

.fd-screening-status {
  color: var(--accent, var(--home-pink));
}

.fd-related {
  padding: 64px;
  background: var(--home-bg);
}

.fd-related h2 {
  margin: 16px 0 32px;
  font-size: clamp(1.8rem, 4vw, 46px);
}

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

.fd-related-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 416 / 310;
  overflow: hidden;
  border: 1px solid var(--home-border-subtle);
  color: inherit;
}

.fd-related-card img {
  position: absolute;
  inset: 0;
  width: 416px;
  height: 310px;
  max-width: none;
  object-fit: cover;
}

.fd-related-wash {
  position: absolute;
  inset: 0;
  background: var(--wash, rgba(237, 23, 120, 0.72));
}

.fd-related-index {
  position: absolute;
  z-index: 1;
  top: 23px;
  left: 23px;
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fd-related-copy {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 23px;
  background: linear-gradient(to top, rgba(5, 5, 7, 0.92), transparent);
}

.fd-related-copy p {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fd-related-copy h3 {
  margin: 0 0 16px;
  font-size: 32px;
  font-weight: 700;
}

.fd-convo {
  display: grid;
  grid-template-columns: minmax(0, 666px) minmax(0, 1fr);
  background: var(--home-surface);
}

.fd-convo-media {
  position: relative;
  min-height: 540px;
}

.fd-convo-media img {
  width: 666px;
  height: 540px;
  max-width: 100%;
  object-fit: cover;
}

.fd-convo-frame {
  position: absolute;
  inset: 28px;
  border: 1px solid var(--home-border-subtle);
  pointer-events: none;
}

.fd-convo-copy {
  padding: 72px 64px;
}

.fd-convo-copy h2 {
  margin: 16px 0 24px;
  font-size: clamp(1.8rem, 4vw, 46px);
  font-weight: 700;
  line-height: 1.18;
}

.fd-convo-copy p {
  margin: 0 0 24px;
  font-size: 20px;
  line-height: 31px;
}

.fd-shorts {
  padding: 72px 64px;
  background: var(--home-surface);
}

.fd-shorts h2 {
  margin: 16px 0 32px;
  font-size: clamp(1.6rem, 3vw, 36px);
}

.fd-shorts-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.fd-short img {
  display: block;
  width: 100%;
  aspect-ratio: 412 / 232;
  object-fit: cover;
  margin-bottom: 16px;
}

.fd-short h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.fd-short-meta,
.fd-short p {
  margin: 0 0 12px;
  color: var(--home-muted);
  font-size: 16px;
  line-height: 1.5;
}

.page-programme .nbo-btn--green {
  background: var(--prog-green);
  color: var(--home-dark);
}

@media (max-width: 1100px) {
  .fd-block-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .prog-wrap,
  .fd-hero-copy,
  .fd-story,
  .fd-trailer,
  .fd-screenings,
  .fd-related,
  .fd-convo-copy,
  .fd-shorts,
  .fd-block {
    padding-left: 24px;
    padding-right: 24px;
  }

  .prog-hero,
  .prog-callout,
  .fd-story,
  .fd-convo {
    grid-template-columns: 1fr;
  }

  .prog-grid,
  .fd-screening-grid,
  .fd-related-grid,
  .fd-shorts-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fd-hero {
    min-height: 0;
  }

  .fd-hero-media {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    max-height: 420px;
    right: auto;
  }

  .fd-hero-scrim,
  .fd-hero-frame {
    display: none;
  }

  .fd-convo-media img {
    width: 100%;
    height: 540px;
  }
}

@media (max-width: 720px) {
  .prog-wrap,
  .fd-hero-copy,
  .fd-story,
  .fd-trailer,
  .fd-screenings,
  .fd-related,
  .fd-convo-copy,
  .fd-shorts,
  .fd-block {
    padding-left: 16px;
    padding-right: 16px;
  }

  .prog-wrap {
    padding-top: 36px;
    padding-bottom: 56px;
  }

  .prog-hero h1 {
    font-size: clamp(2rem, 10vw, 2.6rem);
  }

  .prog-hero-lead {
    font-size: 16px;
    line-height: 24px;
  }

  .prog-search input {
    font-size: 16px;
    height: 52px;
    padding-left: 20px;
  }

  .prog-chip {
    min-height: 40px;
    padding: 8px 14px;
  }

  .prog-grid,
  .fd-screening-grid,
  .fd-related-grid,
  .fd-shorts-list {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .prog-card-title {
    font-size: 16px;
    line-height: 22px;
  }

  .prog-callout {
    padding: 28px 20px;
  }

  .fd-hero {
    min-height: 0;
  }

  .fd-hero-media {
    height: auto;
    aspect-ratio: 4 / 3;
    max-height: 320px;
  }

  .fd-hero-scrim,
  .fd-hero-frame {
    display: none;
  }

  .fd-hero-copy {
    padding-top: 28px;
    padding-bottom: 40px;
  }

  .fd-kicker {
    margin-top: 12px;
  }

  .fd-title {
    font-size: clamp(2.1rem, 11vw, 3.2rem);
  }

  .fd-director {
    font-size: 18px;
  }

  .fd-logline {
    margin-top: 20px;
    font-size: 17px;
    line-height: 26px;
  }

  .fd-actions {
    margin-top: 24px;
  }

  .fd-actions .nbo-btn {
    width: 100%;
    justify-content: center;
  }

  .fd-pills {
    margin-top: 20px;
    gap: 8px 16px;
  }

  .fd-convo-media img {
    height: 240px;
  }
}
