:root {
  /* Brand — primary */
  --hhtv-navy: #091f2c;
  --hhtv-magenta: #a20067;
  --hhtv-dark-magenta: #52093a;
  --hhtv-orange: #ed8b00;
  --hhtv-dark-orange: #ff5c39;

  /* Brand — secondary */
  --hhtv-blue: #004f71;
  --hhtv-red: #a50034;
  --hhtv-mist: #a6bbc8;

  /* Neutrals */
  --off-white: #faf8f6;
  --white: #ffffff;
  --text-dark: #091f2c;
  --text-muted: #57636e;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  position: relative;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ---------- Hero ---------- */

.hero {
  background: var(--off-white);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden; /* clips the shapes at the page edges, so no extra scroll space */
  pointer-events: none;
  z-index: 0;
}

.shape {
  position: absolute;
  border-radius: 32px;
  filter: blur(0px);
  opacity: 0.16;
}

.shape-orange {
  width: clamp(620px, 60vw, 1000px);
  right: -30vw;
  top: -35vw;
  bottom: -1vw; /* stretches it down past the footer */
  background: var(--hhtv-orange);
  transform: rotate(18deg);
  border-radius: 40px;
  opacity: .6;
}

.shape-magenta {
  width: clamp(500px, 60vw, 1000px);
  left: -26vw; /* far enough in to cross the logo panel */
  top: 10.5vw; /* starts just below the top of the page */
  bottom: -11vw;
  right: auto;
  background: var(--hhtv-dark-magenta);
  transform: rotate(12deg);
  border-radius: 40px;
  opacity: .6;
}

.hero-inner {
  position: relative;
  z-index: 500;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 72px 32px 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.hero-copy {
  width: 100%;
  max-width: 1360px; /* same as .hero-main, so the logo lines up with the video's left edge */
  text-align: left;
}

.hero-title {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--hhtv-navy);
  text-wrap: balance;
}

.hero-logo {
  display: block;
  margin: 0;
  height: clamp(64px, 10vw, 120px);
  width: auto;

  /* contrast panel */
  box-sizing: content-box; /* keeps the clamp() height as the logo's height, not logo + padding */
  padding: clamp(4px, 2.5vw, 16px) clamp(12px, 4vw, 36px);
  background: color-mix(in srgb, var(--white) 10%, transparent);
  backdrop-filter: blur(8px) saturate(140%);
  border-radius: 24px;
  box-shadow: 0 16px 32px rgba(9, 31, 44, 0.20);

  transition: transform 0.2s ease;
  transform-origin: left center; /* grows to the right, so the left edge stays lined up with the video */
}

.hero-logo-link {
  display: block;
  width: fit-content; /* keeps the link only as wide as the logo panel */
  border-radius: 24px;
}

.hero-logo-link:hover .hero-logo,
.hero-logo-link:focus-visible .hero-logo {
  transform: scale(1.06);
}

.hero-tagline {
  margin-top: 8px;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--hhtv-navy);
}

.hero-title span {
  color: var(--hhtv-orange);
}

.hero-subtitle {
  margin-top: 28px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-main {
  width: 100%;
  max-width: 1360px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  grid-template-areas:
    "video side"
    "label .";
  column-gap: 32px;
  align-items: stretch;
  text-align: left;
}

.hero-player {
  display: contents;
}

.hero-browse {
  grid-area: side;
  position: relative;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px) saturate(140%);
  border: 1px solid rgba(9, 31, 44, 0.08);
  border-top: 5px solid var(--hhtv-orange);
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(9, 31, 44, 0.12);
  overflow: hidden;
  min-height: 0;
}

.browse-scroll {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  padding: 24px 16px 16px;
}

.browse-head {
  padding: 0 8px 12px;
}

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

.series-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  border-radius: 10px;
  transition: background-color 0.15s ease;
}

.series-row:hover {
  background: var(--off-white);
}

.series-thumb {
  flex: none;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
}

.series-name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--hhtv-navy);
}
.browse-title {
  margin-top: 8px;
  font-size: clamp(22px, 1.9vw, 26px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--hhtv-navy);
  white-space: nowrap;
}

.browse-title a {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
  transition: color 0.2s ease;
}

.browse-title a:hover {
  color: var(--hhtv-orange);
}

.hero-player-frame {
  grid-area: video;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: var(--hhtv-navy);
  box-shadow: 0 24px 48px rgba(9, 31, 44, 0.22);
  border: 1px solid rgba(9, 31, 44, 0.08);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--hhtv-navy);
}

.hero-player-label {
  grid-area: label;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hhtv-magenta);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.hero-player-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hhtv-red);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--hhtv-orange);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(237, 139, 0, 0.28);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(237, 139, 0, 0.36);
}

.btn-secondary {
  background: transparent;
  color: var(--hhtv-navy);
  border: 2px solid var(--hhtv-navy);
}

.btn-secondary:hover {
  background: var(--hhtv-navy);
  color: var(--white);
}

/* ---------- On Demand ---------- */

.vod {
  background: var(--white);
  border-top: 1px solid rgba(9, 31, 44, 0.08);
}

.section-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 88px 32px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hhtv-magenta);
}

.section-title {
  margin-top: 10px;
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--hhtv-navy);
}

.section-title a {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
  transition: color 0.2s ease;
}

.section-title a:hover {
  color: var(--hhtv-orange);
}

.section-subtitle {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
}

.vod-link-heading {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.vod-link-heading a {
  color: var(--hhtv-magenta);
  border-bottom: 3px solid var(--hhtv-orange);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.vod-link-heading a:hover {
  color: var(--hhtv-navy);
  border-color: var(--hhtv-navy);
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  z-index: 1; /* sits above the shapes */
  background: var(--hhtv-navy);
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

.footer-inner {
  position: relative;
  z-index: 2; /* keeps the footer logo and text above the shapes */
  max-width: 1440px;
  margin: 0 auto;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-logo {
  height: 32px;
  width: auto;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  /* keep the footer at the bottom of short pages (no blank gap below it) */
  body {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
  }

  main {
    flex: 1;
  }

  .hero-main {
    grid-template-columns: 1fr;
    grid-template-areas:
      "video"
      "label"
      "side";
    row-gap: 0;
  }

  .hero-browse {
    margin-top: 24px;
  }

  .browse-scroll {
    position: static;
    max-height: 440px;
  }

  .hero {
    min-height: 0;
  }

  .hero-inner {
    gap: 40px;
    padding-top: 56px;
  }
}

@media (max-width: 860px) {
    .shape-orange {
    width: 340px;
    right: -216px;
    top: -100px;
    bottom: -60px;
  }

  .shape-magenta {
    width: 340px;
    left: -170px;
    top: 24px;
    bottom: -60px;
    right: auto;
  }

  .hero-inner {
    padding: 64px 24px;
  }

  .section-inner {
    padding: 64px 16px;
  }

  .footer-inner {
    padding: 24px 16px;
  }
}

@media (max-width: 480px) {
  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
