/* MovAI — Dark Cinematic
   Palette: #0B0C10 ink / #16181D card / #F3F4F1 paper / #9AA0A6 muted / #F04A1D signal orange
   System fonts only. Fixed rem sizes per breakpoint — no vw/clamp font scaling. */

*,
*::before,
*::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: #0B0C10;
  color: #F3F4F1;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
  font-weight: 700;
}

p {
  margin: 0;
}

a {
  color: #F04A1D;
  text-decoration: underline;
  text-underline-offset: 0.1875rem;
}

a:focus-visible {
  outline: 0.1875rem solid #F04A1D;
  outline-offset: 0.1875rem;
  border-radius: 0.125rem;
}

/* ---------- Nav ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 12, 16, 0.82);
  -webkit-backdrop-filter: blur(0.75rem);
  backdrop-filter: blur(0.75rem);
  border-bottom: 0.0625rem solid #16181D;
}

.site-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-nav__brand {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  font-size: 1.375rem;
  font-weight: 700;
  color: #F3F4F1;
  text-decoration: none;
}

.site-nav__brand::before {
  content: "";
  width: 0.625rem;
  height: 0.625rem;
  margin-right: 0.5rem;
  background: #F04A1D;
  border-radius: 0.125rem;
}

.site-nav__links {
  display: flex;
  gap: 0 1.5rem;
}

.site-nav__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 1rem;
  font-weight: 600;
  color: #9AA0A6;
  text-decoration: none;
}

.site-nav__links a:hover {
  color: #F3F4F1;
}

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

.hero {
  position: relative;
  height: calc(100svh - 56px);
  min-height: 30rem;
  overflow: hidden;
  background: #0B0C10;
}

.hero__media,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__media img {
  object-fit: cover;
  object-position: 70% 50%;
}

/* Flat, uniform scrim — no gradient */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 12, 16, 0.55);
}

.hero__copy {
  position: absolute;
  z-index: 1;
  left: 0;
  bottom: 0;
  width: 100%;
  max-width: 1200px;
  padding: 0 1.5rem 4rem;
  color: #F3F4F1;
}

@media (min-width: 75rem) {
  .hero__copy {
    left: 50%;
    transform: translateX(-50%);
  }
}

.hero__eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #F04A1D;
}

.hero__title {
  max-width: 46rem;
  font-size: 3.5rem;
  color: #F3F4F1;
}

.hero__support {
  margin-top: 1.25rem;
  max-width: 34rem;
  font-size: 1.375rem;
  line-height: 1.4;
  color: #F3F4F1;
}

/* Short-height screens: stop the viewport math so copy never overlaps */
@media (max-height: 36rem) {
  .hero {
    height: auto;
    min-height: 34rem;
  }
}

/* ---------- Trending rail ---------- */

.rail {
  padding: 5rem 0 4rem;
  border-bottom: 0.0625rem solid #16181D;
}

.rail__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.rail__kicker {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #F04A1D;
}

.rail__title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.rail__list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 11rem;
  gap: 1.25rem;
  margin: 0 -1.5rem;
  padding: 0 1.5rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  /* Hidden scrollbar — swipe/drag still works; the right-edge fade hints overflow */
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 calc(100% - 3rem), transparent 100%);
  mask-image: linear-gradient(to right, #000 0%, #000 calc(100% - 3rem), transparent 100%);
}

.rail__list::-webkit-scrollbar {
  display: none;
}

@media (min-width: 48rem) {
  .rail__list {
    grid-auto-columns: 13rem;
  }
}

.rail__card {
  scroll-snap-align: start;
}

.rail__card img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 0.5rem;
  background: #16181D;
  transition: transform 0.2s ease;
}

.rail__card:hover img {
  transform: scale(1.03);
}

.rail__name {
  margin-top: 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: #F3F4F1;
}

.rail__meta {
  font-size: 0.875rem;
  color: #9AA0A6;
}

/* ---------- Bands ---------- */

.band {
  padding: 5rem 0;
}

.band--alt {
  background: #16181D;
}

.band__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.band__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.band__media {
  margin: 0;
}

.band__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0.5rem;
  background: #16181D;
}

.band__kicker {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #F04A1D;
}

.band__title {
  font-size: 2.5rem;
}

.band__text {
  margin-top: 1.25rem;
  max-width: 36rem;
  color: #9AA0A6;
}

/* ---------- Close ---------- */

.close {
  border-top: 0.0625rem solid #16181D;
  padding: 6rem 0;
  text-align: left;
}

.close__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.close__line {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.15;
  max-width: 48rem;
}

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

.site-footer {
  border-top: 0.0625rem solid #16181D;
}

.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  align-items: center;
  justify-content: space-between;
}

.site-footer__name {
  font-size: 1rem;
  font-weight: 700;
  color: #F3F4F1;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 1rem;
  color: #9AA0A6;
}

/* ---------- Legal pages ---------- */

.legal-nav {
  background: #0B0C10;
  border-bottom: 0.0625rem solid #16181D;
  padding: 0 1.5rem;
}

.legal-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #F3F4F1;
  text-decoration: none;
}

.legal-nav a:focus-visible {
  outline: 0.1875rem solid #F04A1D;
  outline-offset: 0.1875rem;
}

.legal-nav a::before {
  content: "\2190\00a0";
  color: #F04A1D;
}

.legal-nav + div {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  overflow-wrap: anywhere;
}

.legal-nav + div,
.legal-nav + div * {
  max-width: 100%;
  letter-spacing: 0 !important;
}

.legal-nav + div p {
  line-height: 1.6 !important;
}

/* ---------- Breakpoints: fixed rem type steps ---------- */

@media (max-width: 60rem) {
  .hero__title {
    font-size: 2.75rem;
  }

  .hero__support {
    font-size: 1.25rem;
  }

  .rail__title,
  .band__title {
    font-size: 2rem;
  }

  .close__line {
    font-size: 2.25rem;
  }
}

@media (max-width: 48rem) {
  body {
    font-size: 1rem;
  }

  .rail {
    padding: 3.5rem 0 3rem;
  }

  .band {
    padding: 3.5rem 0;
  }

  .band__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Media first on small screens, even where the copy leads on desktop */
  .band--alt .band__media {
    order: -1;
  }

  .hero__title {
    font-size: 2.25rem;
  }

  .hero__support {
    font-size: 1.125rem;
  }

  .hero__copy {
    padding-bottom: 3rem;
  }

  .rail__title,
  .band__title {
    font-size: 1.75rem;
  }

  .site-nav__links {
    gap: 0 1rem;
  }

  .close {
    padding: 4rem 0;
  }

  .close__line {
    font-size: 1.875rem;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
