/* Hero (block 1): Route A's deep-blue background with Route B's ribbons, cut-corner film frame and heavy headline (D33).
   On deep blue the accent word uses the violet tint: Royal Violet itself is 2.7:1 there and fails. */
.hero { position: relative; overflow: clip; padding-block: clamp(116px, 13vw, 200px) clamp(48px, 7vw, 112px); }
.hero .g { row-gap: clamp(28px, 4vw, 48px); align-items: end; position: relative; }
.hero h1 { font-size: clamp(3rem, 0.6rem + 7.2vw, 10rem); line-height: 0.92; letter-spacing: -0.05em; font-weight: 800; }
.hero h1 .accent { color: var(--dmc-violet-soft); }
.hero .lede { max-width: 36ch; font-size: var(--step-1); line-height: 1.5; color: var(--c-on-stage-2); }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-top: var(--space-5); }
.hero-media { --cut: 48px; --behind: var(--c-stage); position: relative; aspect-ratio: 16 / 10; max-width: 100%; overflow: clip; background: var(--c-stage-2); }
.hero-media .art { position: absolute; inset: -10%; background:
  radial-gradient(circle at 70% 30%, rgb(24 217 232 / 0.55), transparent 32%),
  radial-gradient(circle at 25% 75%, rgb(118 39 216 / 0.85), transparent 48%),
  conic-gradient(from 200deg at 60% 60%, #0A2547, #00152E, #0A2547); }
.hero-media img, .hero-media video { position: absolute; inset: -10%; width: 120%; height: 120%; max-width: none; object-fit: cover; }
.hero-media .play { position: absolute; left: 16px; bottom: 16px; z-index: 3; display: inline-flex; align-items: center; gap: 10px; color: var(--c-on-stage); font-size: 0.85rem; font-weight: 600; background: none; border: 0; padding: 0; cursor: pointer; min-height: var(--tap); }
.hero-media span.play { min-height: 0; }
/* Over real footage the label sits on a dark pill so it stays readable on any frame. */
.hero-media button.play { padding: 4px 16px 4px 4px; border-radius: var(--radius-pill); background: rgb(0 21 46 / 0.62); }
.hero-media button.play:hover b { background: rgb(238 244 255 / 0.24); }
.hero-media .play b { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgb(238 244 255 / 0.14); }
.hero-media .tag { position: absolute; left: 12px; top: 12px; z-index: 3; white-space: normal; line-height: 1.35; max-width: calc(100% - 24px); }
.hero-art { display: block; position: absolute; inset: 0; pointer-events: none; }
.hero-art svg { position: absolute; right: -6%; bottom: -8%; width: min(92vw, 1300px); height: auto; max-width: none; }
@media (max-width: 899px) { .hero-art svg { width: 150vw; right: -50%; bottom: auto; top: 40%; opacity: 0.35; } }
@media (min-width: 900px) {
  .hero h1 { grid-column: 1 / span 8; grid-row: 1; }
  .hero .hero-copy { grid-column: 1 / span 6; grid-row: 2; }
  .hero-media { grid-column: 8 / -1; grid-row: 1 / span 2; aspect-ratio: 4 / 5; align-self: stretch; }
}

/* Full layout (Stage 14): the film fills the hero, edge to edge and at least a screen tall, behind the words.
   A navy shade behind the words only keeps the headline, the violet accent and the line readable over any frame
   (the accent needs 3:1 as large text; the line 4.5:1). No parallax zoom here, so the full HD film stays sharp.
   The brand gradient rule closes the hero, as on inner pages. */
.hero-full { display: grid; align-items: end; min-height: 100svh; padding-block: clamp(140px, 16vw, 220px) clamp(64px, 8vw, 128px); }
.hero-full::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 6px; background: var(--gradient-brand); }
.hero-full > .wrap { position: relative; z-index: 1; width: 100%; }
.hero-backdrop { position: absolute; inset: 0; z-index: 0; overflow: clip; background: var(--c-stage-2); }
.hero-backdrop img, .hero-backdrop video, .hero-backdrop .art { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.hero-backdrop .art { background:
  radial-gradient(circle at 70% 30%, rgb(24 217 232 / 0.55), transparent 32%),
  radial-gradient(circle at 25% 75%, rgb(118 39 216 / 0.85), transparent 48%),
  conic-gradient(from 200deg at 60% 60%, #0A2547, #00152E, #0A2547); }
/* The shade sits only behind the words (bottom left), so the rest of the film plays at full brightness: one navy
   layer, masked to a soft-edged corner (the two masks intersect: left part and lower part of the frame). */
.hero-backdrop::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: rgb(0 21 46 / 0.84);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 50%, transparent 70%), linear-gradient(0deg, #000 0%, #000 62%, transparent 80%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, #000 0%, #000 50%, transparent 70%), linear-gradient(0deg, #000 0%, #000 62%, transparent 80%);
  mask-composite: intersect; }
.hero-backdrop .tag { position: absolute; left: var(--gutter); top: clamp(96px, 9vw, 120px); z-index: 3; white-space: normal; line-height: 1.35; max-width: calc(100% - 2 * var(--gutter)); }
.hero-full h1 { text-shadow: 0 2px 28px rgb(0 21 46 / 0.45); }
.hero-full .lede { color: var(--c-on-stage); }
.hero-full > .play { position: absolute; right: var(--gutter); bottom: clamp(24px, 3vw, 40px); z-index: 3; display: inline-flex; align-items: center; gap: 10px; min-height: var(--tap);
  padding: 4px 16px 4px 4px; border: 0; border-radius: var(--radius-pill); background: rgb(0 21 46 / 0.62); color: var(--c-on-stage); font-size: 0.85rem; font-weight: 600; cursor: pointer; }
.hero-full > .play b { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgb(238 244 255 / 0.14); }
.hero-full > .play:hover b { background: rgb(238 244 255 / 0.24); }
/* Phones and portrait screens: the words span the width, so the shade spans it too, lower part only. The pause button sits
   above the words' column end, clear of the buttons. */
@media (max-width: 899px), (max-aspect-ratio: 1/1) {
  .hero-backdrop::after { -webkit-mask-image: linear-gradient(0deg, #000 0%, #000 52%, transparent 70%); mask-image: linear-gradient(0deg, #000 0%, #000 52%, transparent 70%); }
  .hero-full > .play { top: clamp(88px, 22vw, 120px); bottom: auto; }
}
