@font-face {
  font-family: "Time League Gothic";
  src: url("/assets/timebar/fonts/league-gothic-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-stretch: 75% 100%;
  font-display: swap;
}

.tb-program-page {
  --night: #090a0d;
  --night-soft: #15161a;
  --paper: #f4efe5;
  --red: #fd1c18;
  --blue: #315cff;
  --magenta: #ce5dae;
  --acid: #c8ff38;
  min-width: 0;
  min-height: 100svh;
  overflow: clip;
  color: var(--paper);
  background: var(--night);
  font-family: var(--time-sans, Arial, sans-serif);
  text-rendering: optimizeLegibility;
}

.tb-program-page *,
.tb-program-page *::before,
.tb-program-page *::after {
  box-sizing: border-box;
}

.tb-program-page a {
  color: inherit;
}

.tb-program-page :focus-visible {
  outline: 3px solid var(--night);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--acid);
}

.tb-program-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 clamp(1rem, 3.2vw, 3.2rem);
  border-bottom: 1px solid rgb(244 239 229 / 16%);
  background: var(--night);
}

.tb-program-logo-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.tb-program-logo {
  display: block;
  width: clamp(126px, 11vw, 168px);
  height: auto;
}

.tb-program-header nav {
  display: flex;
  align-self: stretch;
}

.tb-program-header nav a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 0.4rem;
  padding-inline: clamp(0.7rem, 1.7vw, 1.35rem);
  font-family: var(--time-editorial, Arial, sans-serif);
  font-size: 0.76rem;
  font-variation-settings:
    "wdth" 88,
    "wght" 680;
  font-weight: 680;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.tb-program-header nav a[aria-current="page"] {
  box-shadow: inset 0 -3px 0 var(--red);
}

.tb-program-header nav a:last-child {
  color: var(--night);
  background: var(--red);
}

.tb-program-hero {
  position: relative;
  display: grid;
  min-height: min(760px, calc(100svh - 76px));
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  overflow: hidden;
  border-bottom: 1px solid rgb(244 239 229 / 18%);
  isolation: isolate;
}

.tb-program-hero::before {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 0;
  left: 0;
  height: 17px;
  background: linear-gradient(90deg, var(--red) 0 36%, var(--magenta) 36% 69%, var(--blue) 69%);
  content: "";
}

.tb-program-hero-media {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  min-height: 100%;
  overflow: hidden;
}

.tb-program-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.18) contrast(1.09) brightness(0.8);
}

.tb-program-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--night) 0%, rgb(9 10 13 / 18%) 28%, transparent 62%),
    linear-gradient(0deg, rgb(9 10 13 / 78%) 0%, transparent 47%),
    linear-gradient(135deg, rgb(253 28 24 / 18%), transparent 52%);
}

.tb-program-hero-copy {
  z-index: 2;
  display: flex;
  grid-column: 1 / 3;
  grid-row: 1;
  width: min(57%, 830px);
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(4.5rem, 8vw, 8rem) clamp(1rem, 4vw, 4.5rem);
  background: linear-gradient(90deg, var(--night) 0 67%, transparent 100%);
}

.tb-program-kicker {
  margin: 0;
  color: var(--acid);
  font-size: 0.7rem;
  font-weight: 720;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.tb-program-hero h1 {
  margin: clamp(1.5rem, 3vw, 2.8rem) 0 0;
  font-family: var(--time-editorial, Arial, sans-serif);
  font-size: clamp(7.8rem, 15vw, 15rem);
  font-variation-settings:
    "wdth" 70,
    "wght" 680;
  font-weight: 680;
  letter-spacing: -0.065em;
  line-height: 0.64;
  text-transform: uppercase;
}

.tb-program-hero-lead {
  max-width: 520px;
  margin: clamp(2.7rem, 5vw, 4.5rem) 0 0;
  color: rgb(244 239 229 / 79%);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.55;
}

.tb-program-hero-action {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2rem;
  padding: 0.85rem 1rem;
  color: var(--night) !important;
  background: var(--red);
  font-size: 0.7rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.tb-program-hero-action:hover,
.tb-program-hero-action:focus-visible {
  background: var(--acid);
}

.tb-program-hero-stamp {
  position: absolute;
  z-index: 6;
  right: clamp(1rem, 3vw, 3rem);
  bottom: 2.1rem;
  margin: 0;
  font-family: var(--time-poster, "Arial Narrow", sans-serif);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.tb-program-program {
  padding: clamp(5.5rem, 9vw, 9rem) clamp(1rem, 4vw, 4.5rem);
  color: var(--night);
  background: var(--paper);
  scroll-margin-top: 76px;
}

.tb-program-program .tb-program-kicker {
  color: var(--blue);
}

.tb-program-program-intro {
  display: grid;
  grid-template-columns: minmax(160px, 0.35fr) minmax(0, 1fr) minmax(240px, 0.42fr);
  align-items: end;
  gap: clamp(2rem, 5vw, 6rem);
  margin-bottom: clamp(4rem, 7vw, 7rem);
}

.tb-program-program-intro h2 {
  margin: 0;
  font-family: var(--time-editorial, Arial, sans-serif);
  font-size: clamp(4.8rem, 8.5vw, 9rem);
  font-variation-settings:
    "wdth" 74,
    "wght" 660;
  font-weight: 660;
  letter-spacing: -0.055em;
  line-height: 0.78;
  text-transform: uppercase;
}

.tb-program-program-intro > p:last-child {
  margin: 0;
  color: rgb(9 10 13 / 67%);
  font-size: 0.94rem;
  line-height: 1.58;
}

.tb-program-event-list {
  border-top: 2px solid var(--night);
}

.tb-program-event {
  display: grid;
  min-height: 230px;
  grid-template-columns: 0.18fr 0.42fr minmax(280px, 1fr) minmax(190px, 0.32fr);
  align-items: center;
  gap: clamp(1.2rem, 3vw, 3.4rem);
  border-bottom: 1px solid rgb(9 10 13 / 36%);
}

.tb-program-event-number {
  align-self: start;
  margin: 1.2rem 0 0;
  color: var(--red);
  font-size: 0.67rem;
  font-weight: 760;
  letter-spacing: 0.12em;
}

.tb-program-event-date {
  display: grid;
  justify-items: start;
  text-transform: uppercase;
}

.tb-program-event-date > span {
  font-size: 0.67rem;
  font-weight: 760;
  letter-spacing: 0.12em;
}

.tb-program-event-date strong {
  font-family: var(--time-poster, "Arial Narrow", sans-serif);
  font-size: clamp(5.5rem, 8vw, 9rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.76;
}

.tb-program-event-date small {
  margin-top: 0.6rem;
  font-size: 0.7rem;
  font-weight: 720;
  letter-spacing: 0.1em;
}

.tb-program-event-copy {
  padding-block: 2.2rem;
}

.tb-program-event-time {
  margin: 0 0 0.85rem;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 780;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.tb-program-event-copy h3 {
  max-width: 820px;
  margin: 0;
  font-family: var(--time-editorial, Arial, sans-serif);
  font-size: clamp(2.5rem, 4.6vw, 5.1rem);
  font-variation-settings:
    "wdth" 79,
    "wght" 670;
  font-weight: 670;
  letter-spacing: -0.04em;
  line-height: 0.9;
  text-transform: uppercase;
}

.tb-program-event-copy > p:last-child {
  margin: 1rem 0 0;
  color: rgb(9 10 13 / 67%);
  line-height: 1.5;
}

.tb-program-source-link {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--night);
  font-size: 0.65rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-decoration: none;
  text-transform: uppercase;
}

.tb-program-source-link:hover,
.tb-program-source-link:focus-visible {
  color: var(--paper);
  background: var(--night);
}

.tb-program-live-feed {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr);
  background: var(--blue);
}

.tb-program-live-image {
  min-height: 620px;
  overflow: hidden;
}

.tb-program-live-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.15) contrast(1.08);
}

.tb-program-live-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 6vw, 7rem);
  isolation: isolate;
}

.tb-program-live-copy::after {
  position: absolute;
  z-index: -1;
  right: -18%;
  bottom: -32%;
  width: min(48vw, 660px);
  aspect-ratio: 1;
  background: url("/assets/timebar/time-clock.svg") center / contain no-repeat;
  filter: grayscale(1) brightness(3.4);
  opacity: 0.13;
  content: "";
  transform: rotate(13deg);
}

.tb-program-live-copy h2 {
  max-width: 760px;
  margin: 2rem 0 0;
  font-family: var(--time-editorial, Arial, sans-serif);
  font-size: clamp(4rem, 7.5vw, 8rem);
  font-variation-settings:
    "wdth" 73,
    "wght" 670;
  font-weight: 670;
  letter-spacing: -0.055em;
  line-height: 0.8;
  text-transform: uppercase;
}

.tb-program-live-copy > p:last-of-type {
  max-width: 460px;
  margin: 2rem 0 0;
  color: rgb(244 239 229 / 78%);
  line-height: 1.55;
}

.tb-program-live-copy > a {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  gap: 2.4rem;
  margin-top: 2rem;
  padding: 0.8rem 1rem;
  color: var(--night);
  background: var(--acid);
  font-size: 0.69rem;
  font-weight: 780;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
}

.tb-program-visit-rail {
  display: grid;
  grid-template-columns: 1fr 1fr auto auto;
  align-items: stretch;
  color: var(--night);
  background: var(--acid);
}

.tb-program-visit-rail > * {
  min-height: 116px;
  margin: 0;
  padding: 1.6rem clamp(1rem, 2.8vw, 2.8rem);
  border-right: 1px solid rgb(9 10 13 / 38%);
}

.tb-program-visit-rail p {
  display: grid;
  align-content: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 680;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tb-program-visit-rail p span {
  font-size: 0.58rem;
  opacity: 0.58;
}

.tb-program-visit-rail a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  font-size: 0.66rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.tb-program-visit-rail a:hover,
.tb-program-visit-rail a:focus-visible {
  color: var(--paper);
  background: var(--night);
}

.tb-program-footer {
  display: grid;
  min-height: 180px;
  grid-template-columns: minmax(130px, 0.5fr) 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem clamp(1rem, 4vw, 4.5rem);
  background: var(--night);
}

.tb-program-footer img {
  width: 150px;
  height: auto;
}

.tb-program-footer p {
  margin: 0;
  color: rgb(244 239 229 / 62%);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tb-program-footer > a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 1.2rem;
  border-bottom: 1px solid rgb(244 239 229 / 44%);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 940px) {
  .tb-program-header nav a:nth-child(2) {
    display: none;
  }

  .tb-program-hero-copy {
    width: 68%;
  }

  .tb-program-program-intro {
    grid-template-columns: 1fr 2fr;
  }

  .tb-program-program-intro > p:last-child {
    grid-column: 2;
  }

  .tb-program-event {
    grid-template-columns: 0.13fr 0.35fr minmax(260px, 1fr);
  }

  .tb-program-source-link {
    grid-column: 3;
    width: fit-content;
    margin-bottom: 2rem;
  }

  .tb-program-visit-rail {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .tb-program-header {
    min-height: 64px;
    gap: 0.35rem;
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: 0;
  }

  .tb-program-logo {
    width: 112px;
  }

  .tb-program-header nav a {
    min-height: 64px;
    padding-inline: 0.55rem;
    font-size: 0.61rem;
  }

  .tb-program-header nav a:last-child {
    padding-right: max(0.55rem, env(safe-area-inset-right));
  }

  .tb-program-header nav a:nth-child(1) {
    display: none;
  }

  .tb-program-header nav a:nth-child(2),
  .tb-program-header nav a:nth-child(3) {
    display: inline-flex;
  }

  .tb-program-hero {
    display: block;
    min-height: 660px;
  }

  .tb-program-hero-media {
    position: absolute;
    inset: 0;
  }

  .tb-program-hero-shade {
    background:
      linear-gradient(0deg, var(--night) 0%, rgb(9 10 13 / 74%) 53%, rgb(9 10 13 / 18%) 100%),
      linear-gradient(135deg, rgb(253 28 24 / 22%), transparent 55%);
  }

  .tb-program-hero-copy {
    position: relative;
    width: 100%;
    min-height: 660px;
    justify-content: flex-end;
    padding: 5.5rem 1rem 4.6rem;
    background: none;
  }

  .tb-program-hero h1 {
    font-size: clamp(6.9rem, 34vw, 9.2rem);
  }

  .tb-program-hero-lead {
    margin-top: 2.6rem;
    font-size: 0.98rem;
  }

  .tb-program-hero-stamp {
    display: none;
  }

  .tb-program-program {
    padding: 4.8rem 1rem;
    scroll-margin-top: 64px;
  }

  .tb-program-program-intro {
    display: block;
    margin-bottom: 3.7rem;
  }

  .tb-program-program-intro h2 {
    margin-top: 1.5rem;
    font-size: clamp(4.4rem, 22vw, 6.6rem);
  }

  .tb-program-program-intro > p:last-child {
    max-width: 390px;
    margin-top: 2rem;
  }

  .tb-program-event {
    position: relative;
    display: grid;
    min-height: 0;
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 1.25rem;
    padding: 2rem 0 2.4rem;
  }

  .tb-program-event-number {
    position: absolute;
    top: 0.2rem;
    left: 0;
    margin: 0;
  }

  .tb-program-event-date {
    align-self: start;
    padding-top: 1.4rem;
  }

  .tb-program-event-date strong {
    font-size: 5.4rem;
  }

  .tb-program-event-copy {
    padding: 1.4rem 0 0;
  }

  .tb-program-event-copy h3 {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
  }

  .tb-program-source-link {
    grid-column: 2;
    width: 100%;
    margin: -0.35rem 0 0;
  }

  .tb-program-live-feed {
    display: block;
  }

  .tb-program-live-image {
    min-height: 105vw;
  }

  .tb-program-live-copy {
    min-height: 500px;
    padding: 4.5rem 1rem;
  }

  .tb-program-live-copy h2 {
    font-size: clamp(4.2rem, 20vw, 6.2rem);
  }

  .tb-program-live-copy::after {
    right: -40%;
    width: 110vw;
  }

  .tb-program-visit-rail {
    grid-template-columns: 1fr;
  }

  .tb-program-visit-rail > * {
    min-height: 90px;
    border-right: 0;
    border-bottom: 1px solid rgb(9 10 13 / 38%);
  }

  .tb-program-footer {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 1.4rem;
    padding: 3rem 1rem;
  }

  .tb-program-footer img {
    width: 128px;
  }

  .tb-program-footer > a {
    width: fit-content;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tb-program-page {
    scroll-behavior: auto;
  }
}
