/* site.css - project-level polish loaded after the taste kit (SiteHead links it last so
   it wins). Holds the shared full-bleed cinematic hero used by the home (video) and the
   category hubs (photo). Palette tokens come from SiteHead; this only lays out.
   Selectors use .hero.hero--cinema (two classes) so they beat the kit's own .hero rules. */

/* ---- Full-bleed cinematic hero ------------------------------------------------------ */
/* The section is its own dark ground (.ground-inverse on the element); the media covers it
   edge to edge, a gradient scrim keeps the copy legible, and the copy sits bottom-left
   inside the shared .wrap so its left edge lines up with every other section. Works for a
   <video> or an <img> as the media. */
.hero.hero--cinema {
  --cin-pos: 50% 48%;
  position: relative;
  isolation: isolate;
  overflow: clip;
  min-height: clamp(560px, 90svh, 920px);
  padding: 0;
  background: var(--p-inv-bg);
}
.hero.hero--cinema .hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero.hero--cinema .hero__media :is(video, img, picture) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--cin-pos);
  display: block;
  max-width: none;
}
.hero.hero--cinema .hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      to top,
      rgba(8, 10, 12, 0.86) 0%,
      rgba(8, 10, 12, 0.5) 24%,
      rgba(8, 10, 12, 0.08) 52%,
      rgba(8, 10, 12, 0.3) 100%
    ),
    linear-gradient(
      to right,
      rgba(8, 10, 12, 0.6) 0%,
      rgba(8, 10, 12, 0.12) 42%,
      rgba(8, 10, 12, 0) 72%
    );
}
.hero.hero--cinema > .wrap {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-block: var(--s-9) var(--s-8);
}
.hero.hero--cinema .hero-copy { max-width: 42rem; }
.hero.hero--cinema .hero-copy > * + * { margin-top: var(--s-5); }
.hero.hero--cinema .hero-copy > .btn-row { margin-top: var(--s-6); flex-wrap: wrap; }
.hero.hero--cinema .hero__kicker {
  color: var(--p-inv-ink);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  font-size: var(--t-small);
  opacity: 0.86;
}
.hero.hero--cinema .hero__kicker .dot {
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  margin-right: 0.6em;
  border-radius: 999px;
  background: var(--p-inv-accent);
  vertical-align: middle;
}
.hero.hero--cinema h1 {
  margin: 0;
  color: var(--p-inv-ink);
  font-weight: 700;
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: var(--display-tracking-xl);
  text-wrap: balance;
}
.hero.hero--cinema .hero__lead {
  color: var(--p-inv-ink);
  opacity: 0.9;
  max-width: 46ch;
}
@media (max-width: 639px) {
  .hero.hero--cinema { min-height: clamp(520px, 86svh, 760px); }
}

/* ---- Normal section rhythm --------------------------------------------------------- */
/* The taste kit forces every section to a full viewport height
   (main > :is(section, .section) { height: calc(var(--h,1) * 100vh) }), and 2x when a
   section carries style="--h: 2". On a content-light review site that leaves huge empty
   bands on large screens (the "weird spaces" the brand should never have). Size every
   NON-hero section to its own content with an even, premium vertical rhythm instead. The
   cinematic hero and the kit's own padding-inline:0 are left untouched; two classes +
   element (0,2,2) beat the kit's 0,1,1. Applies at all widths so the rhythm is identical
   from phone to ultrawide. */
main > section.section:not(.hero),
main > section:not(.hero):not(.section),
footer.footer.closing {
  height: auto;
  min-height: 0;
  padding-block: clamp(3rem, 5vw, 5.5rem);
}
/* The inverted dark bands (method) read as intentional with a touch more air. */
main > section.ground-inverse:not(.hero) {
  padding-block: clamp(3.75rem, 6vw, 6.75rem);
}
