.cinematic-hero {
  --black: #070605;
  --burgundy: #651a2a;
  --burgundy-deep: #2b0911;
  --amber: #f5a623;
  --cream: #f2e7d0;
  --muted: #b9aa92;
  --edge: rgb(245 166 35 / 0.38);
}

.cinematic-hero,
.cinematic-hero * {
  box-sizing: border-box;
}

.cinematic-hero {
  width: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--cream);
  font-family: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
}

.cinematic-hero button,
.cinematic-hero a {
  font: inherit;
}

.cinematic-hero [hidden] {
  display: none !important;
}

.cinematic-hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  background:
    radial-gradient(circle at 55% 45%, rgb(101 26 42 / 0.28), transparent 48%),
    var(--black);
}

.cinematic-hero__media,
.cinematic-hero__video,
.cinematic-hero__picture,
.cinematic-hero__fallback,
.cinematic-hero__grade,
.cinematic-hero__vignette,
.cinematic-hero__grain,
.cinematic-hero__signal {
  position: absolute;
  inset: 0;
}

.cinematic-hero__media {
  z-index: -3;
  background: var(--black);
}

.cinematic-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: saturate(0.9) contrast(1.06) brightness(0.88);
  transition: opacity 1.2s ease;
}

.cinematic-hero__picture {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.cinematic-hero__picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.88) contrast(1.08) brightness(0.82);
}

.cinematic-hero__video--arrival {
  object-position: center 48%;
}

.cinematic-hero__video--invitation {
  object-position: center 45%;
}

.cinematic-hero__video.is-active {
  opacity: 1;
}

.cinematic-hero__fallback {
  background:
    linear-gradient(115deg, rgb(7 6 5 / 0.96) 0 28%, transparent 68%),
    radial-gradient(circle at 68% 48%, rgb(101 26 42 / 0.68), transparent 37%),
    linear-gradient(150deg, #16070b, #070605 66%);
}

.cinematic-hero__grade {
  background:
    linear-gradient(90deg, rgb(7 6 5 / 0.64) 0%, rgb(7 6 5 / 0.12) 48%, rgb(43 9 17 / 0.2) 100%),
    linear-gradient(0deg, rgb(7 6 5 / 0.7) 0%, transparent 36%, rgb(7 6 5 / 0.22) 100%);
  transition: background 0.8s ease;
}

.cinematic-hero[data-act="arrival"] .cinematic-hero__grade {
  background:
    radial-gradient(ellipse at 24% 72%, rgb(7 6 5 / 0.72) 0 12%, transparent 48%),
    linear-gradient(90deg, rgb(7 6 5 / 0.6) 0%, rgb(7 6 5 / 0.08) 52%, transparent 78%),
    linear-gradient(0deg, rgb(7 6 5 / 0.64) 0%, transparent 34%, rgb(7 6 5 / 0.18) 100%);
}

.cinematic-hero[data-act="invitation"] .cinematic-hero__grade {
  background:
    radial-gradient(ellipse at 25% 67%, rgb(7 6 5 / 0.74) 0 15%, transparent 51%),
    linear-gradient(90deg, rgb(7 6 5 / 0.58) 0%, rgb(7 6 5 / 0.08) 50%, transparent 78%),
    linear-gradient(0deg, rgb(7 6 5 / 0.58) 0%, transparent 42%, rgb(43 9 17 / 0.16) 100%);
}

.cinematic-hero__vignette {
  box-shadow: inset 0 0 11vw 3vw rgb(0 0 0 / 0.54);
}

.cinematic-hero__grain {
  opacity: 0.13;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.84' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
  pointer-events: none;
}

.cinematic-hero__copy {
  position: absolute;
  z-index: 2;
  max-width: min(720px, 58vw);
  text-transform: uppercase;
  text-wrap: balance;
}

.cinematic-hero__copy--arrival {
  left: clamp(24px, 7vw, 118px);
  bottom: clamp(118px, 15vh, 164px);
}

.cinematic-hero__copy--transition {
  inset: 0;
  max-width: none;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
}

.cinematic-hero__copy--invitation {
  left: clamp(24px, 7vw, 118px);
  bottom: clamp(120px, 15vh, 164px);
}

.cinematic-hero__line,
.cinematic-hero__host,
.cinematic-hero__question,
.cinematic-hero__actions {
  opacity: 0;
  transform: translateY(22px);
}

.cinematic-hero__line.is-visible,
.cinematic-hero__host.is-visible,
.cinematic-hero__question.is-visible,
.cinematic-hero__actions.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.72s ease, transform 0.82s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cinematic-hero__kicker,
.cinematic-hero__location {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: clamp(0.82rem, 1.2vw, 1.08rem);
  font-weight: 700;
  letter-spacing: 0.34em;
  text-shadow: 0 0 22px rgb(245 166 35 / 0.34);
}

.cinematic-hero__location {
  color: var(--muted);
  font-size: clamp(0.72rem, 1vw, 0.92rem);
  letter-spacing: 0.3em;
  text-shadow: 0 2px 16px rgb(0 0 0 / 0.9);
}

.cinematic-hero__kicker.is-visible {
  animation: opening-channel 1.25s cubic-bezier(0.18, 0.82, 0.22, 1) both;
}

.cinematic-hero__location.is-visible {
  animation: opening-location 1.15s 0.08s cubic-bezier(0.18, 0.82, 0.22, 1) both;
}

.cinematic-hero__manifesto {
  display: grid;
  gap: 1px;
  margin: 22px 0 0;
  font-size: clamp(1.9rem, 4.2vw, 4.8rem);
  line-height: 0.93;
  letter-spacing: -0.018em;
  text-shadow: 0 3px 26px rgb(0 0 0 / 0.8);
}

.cinematic-hero__manifesto .cinematic-hero__line {
  display: block;
}

.cinematic-hero__line--cream {
  margin-top: 10px;
  color: var(--cream);
  font-size: 0.66em;
  letter-spacing: 0.02em;
}

.cinematic-hero__transition-text {
  margin: 0;
  color: var(--amber);
  font-size: clamp(0.95rem, 1.8vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.25em;
  opacity: 0;
  text-shadow: 0 0 24px rgb(245 166 35 / 0.44);
}

.cinematic-hero__signal {
  z-index: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgb(7 6 5 / 0);
  opacity: 0;
  pointer-events: none;
}

.cinematic-hero[data-act="transition"] .cinematic-hero__signal {
  opacity: 1;
  background: rgb(7 6 5 / 0.91);
  transition: opacity 0.22s ease, background 0.22s ease;
}

.cinematic-hero[data-act="transition"] .cinematic-hero__transition-text {
  animation: signal-copy 1.5s cubic-bezier(0.22, 0.72, 0.28, 1) both;
}

.cinematic-hero__signal-bed {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgb(101 26 42 / 0.34), transparent 36%),
    linear-gradient(90deg, transparent 0 20%, rgb(245 166 35 / 0.035) 50%, transparent 80%);
}

.cinematic-hero__signal-sweep {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 34%;
  left: -36%;
  background: linear-gradient(90deg, transparent, rgb(245 166 35 / 0.09), transparent);
  transform: skewX(-12deg);
}

.cinematic-hero[data-act="transition"] .cinematic-hero__signal-sweep {
  animation: signal-sweep 1.5s ease-out both;
}

.cinematic-hero__signal-ring {
  width: 18vmin;
  aspect-ratio: 1;
  border: 1px solid rgb(245 166 35 / 0.2);
  border-radius: 50%;
  box-shadow: 0 0 36px rgb(245 166 35 / 0.2), inset 0 0 22px rgb(101 26 42 / 0.22);
}

.cinematic-hero[data-act="transition"] .cinematic-hero__signal-ring {
  animation: signal-pulse 0.76s cubic-bezier(0.18, 0.76, 0.22, 1) 2;
}

.cinematic-hero__signal-core {
  position: absolute;
  width: 5px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 14px 5px rgb(245 166 35 / 0.34);
  opacity: 0;
}

.cinematic-hero[data-act="transition"] .cinematic-hero__signal-core {
  animation: signal-core 1.5s ease both;
}

.cinematic-hero__signal-static {
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 3px, rgb(242 231 208 / 0.16) 4px, transparent 5px),
    repeating-linear-gradient(90deg, transparent 0 72px, rgb(245 166 35 / 0.04) 73px, transparent 74px);
}

.cinematic-hero[data-act="transition"] .cinematic-hero__signal-static {
  opacity: 0.14;
  animation: cb-static 0.12s steps(2) 12;
}

.cinematic-hero__signal-channel {
  position: absolute;
  top: calc(50% + clamp(58px, 8vmin, 82px));
  left: 50%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 11px;
  border: 1px solid rgb(245 166 35 / 0.28);
  background: rgb(7 6 5 / 0.62);
  color: var(--amber);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  opacity: 0;
  transform: translate(-50%, 8px);
  box-shadow: inset 0 0 16px rgb(245 166 35 / 0.05), 0 0 26px rgb(0 0 0 / 0.42);
}

.cinematic-hero[data-act="transition"] .cinematic-hero__signal-channel {
  animation: channel-readout 1.5s ease both;
}

.cinematic-hero__signal-rx {
  color: #e05a35;
  font-size: 0.56rem;
}

.cinematic-hero__signal-frequency {
  min-width: 44px;
}

.cinematic-hero__signal-meter {
  display: flex;
  align-items: end;
  gap: 2px;
  height: 12px;
}

.cinematic-hero__signal-meter i {
  width: 2px;
  height: 35%;
  background: currentColor;
  opacity: 0.5;
}

.cinematic-hero__signal-meter i:nth-child(2) { height: 55%; }
.cinematic-hero__signal-meter i:nth-child(3) { height: 82%; }
.cinematic-hero__signal-meter i:nth-child(4) { height: 62%; }
.cinematic-hero__signal-meter i:nth-child(5) { height: 100%; }

.cinematic-hero[data-act="transition"] .cinematic-hero__signal-meter i {
  animation: meter-flicker 0.24s steps(2) 6;
}

.cinematic-hero__host {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: clamp(0.82rem, 1.25vw, 1.08rem);
  font-weight: 700;
  letter-spacing: 0.22em;
}

.cinematic-hero__question {
  max-width: min(760px, 54vw);
  margin: 0;
  font-size: clamp(2.35rem, 5.15vw, 5.65rem);
  line-height: 0.91;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 34px rgb(0 0 0 / 0.92);
}

.cinematic-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.cinematic-hero__button,
.cinematic-hero__control {
  border: 1px solid var(--edge);
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.cinematic-hero__button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  font-size: 0.78rem;
  font-weight: 700;
}

.cinematic-hero__button--primary {
  border-color: var(--amber);
  background: var(--amber);
  color: var(--black);
}

.cinematic-hero__button--secondary {
  background: rgb(7 6 5 / 0.48);
  color: var(--cream);
  backdrop-filter: blur(8px);
}

.cinematic-hero__controls {
  position: absolute;
  z-index: 4;
  top: clamp(86px, 8vw, 108px);
  right: clamp(18px, 3vw, 42px);
  display: flex;
  gap: 10px;
  padding: 5px;
  border: 1px solid rgb(245 166 35 / 0.12);
  background: rgb(7 6 5 / 0.22);
  backdrop-filter: blur(12px);
}

.cinematic-hero__control {
  min-width: 86px;
  min-height: 48px;
  padding: 11px 16px;
  background: rgb(7 6 5 / 0.7);
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.cinematic-hero__button:hover,
.cinematic-hero__control:hover {
  border-color: var(--amber);
  transform: translateY(-1px);
}

.cinematic-hero__button:focus-visible,
.cinematic-hero__control:focus-visible,
.cinematic-hero__scroll:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 4px;
}

.cinematic-hero__scroll {
  position: absolute;
  z-index: 4;
  right: clamp(18px, 3vw, 42px);
  bottom: clamp(18px, 3vw, 36px);
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
}

.cinematic-hero__scroll-line {
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--amber), transparent);
  animation: scroll-line 1.8s ease-in-out infinite;
}

.cinematic-hero__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes signal-copy {
  26%, 76% { opacity: 1; transform: translateY(0); }
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 0; transform: translateY(-4px); }
}

@keyframes signal-pulse {
  from { opacity: 0.88; transform: scale(0.58); }
  to { opacity: 0; transform: scale(1.52); }
}

@keyframes signal-core {
  0%, 100% { opacity: 0; transform: scale(0.7); }
  22%, 68% { opacity: 1; transform: scale(1); }
}

@keyframes signal-sweep {
  from { left: -36%; opacity: 0; }
  18% { opacity: 1; }
  to { left: 102%; opacity: 0; }
}

@keyframes channel-readout {
  0%, 100% { opacity: 0; transform: translate(-50%, 8px); }
  24%, 78% { opacity: 0.9; transform: translate(-50%, 0); }
}

@keyframes meter-flicker {
  0%, 100% { opacity: 0.34; transform: scaleY(0.55); transform-origin: bottom; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: bottom; }
}

@keyframes opening-channel {
  from { opacity: 0; transform: translateY(16px); letter-spacing: 0.5em; }
  58% { opacity: 1; }
  to { opacity: 1; transform: translateY(0); letter-spacing: 0.34em; }
}

@keyframes opening-location {
  from { opacity: 0; transform: translateY(12px); filter: blur(3px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes cb-static {
  0% { transform: translateY(-2px); }
  100% { transform: translateY(2px); }
}

@keyframes scroll-line {
  0%, 100% { opacity: 0.35; transform: scaleY(0.55); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

@media (max-width: 767px) {
  .cinematic-hero {
    height: 100svh;
    min-height: 560px;
  }

  .cinematic-hero__video--arrival {
    object-position: 57% center;
  }

  .cinematic-hero__video--invitation {
    object-position: 62% 46%;
  }

  .cinematic-hero__grade {
    background:
      linear-gradient(0deg, rgb(7 6 5 / 0.84) 0 28%, rgb(7 6 5 / 0.12) 60%, rgb(7 6 5 / 0.3) 100%),
      linear-gradient(90deg, rgb(43 9 17 / 0.24), transparent 72%);
  }

  .cinematic-hero__controls {
    top: 72px;
    right: 12px;
    left: 12px;
    justify-content: flex-end;
    gap: 4px;
    padding: 4px;
  }

  .cinematic-hero__control {
    min-height: 46px;
    min-width: 0;
    padding-inline: 11px;
    font-size: 0.62rem;
  }

  .cinematic-hero__copy {
    right: 20px;
    left: 20px;
    max-width: none;
  }

  .cinematic-hero__copy--arrival {
    bottom: 84px;
  }

  .cinematic-hero__manifesto {
    max-width: 96%;
    font-size: clamp(1.5rem, 7.6vw, 2.4rem);
    line-height: 0.96;
  }

  .cinematic-hero__copy--invitation {
    bottom: 90px;
  }

  .cinematic-hero__question {
    max-width: 96%;
    font-size: clamp(2.15rem, 11.4vw, 3.8rem);
    line-height: 0.92;
  }

  .cinematic-hero__actions {
    display: grid;
    gap: 8px;
    margin-top: 20px;
  }

  .cinematic-hero__signal-channel {
    top: calc(50% + 66px);
  }

  .cinematic-hero__button {
    width: 100%;
    min-height: 52px;
  }

  .cinematic-hero__scroll {
    right: 12px;
    bottom: 12px;
  }

  .cinematic-hero__scroll span:first-child {
    display: none;
  }

  .cinematic-hero__scroll-line {
    height: 40px;
  }
}

@media (min-width: 768px) {
  .cinematic-hero__copy--arrival,
  .cinematic-hero__copy--invitation {
    padding-left: 0;
  }
}

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

/* ============================================================
   CHECKPOINT B — safe static-first Hero with a future video slot
   ============================================================ */
.cinematic-hero[data-state="loading"] .cinematic-hero__video {
  opacity: 0;
}

.cinematic-hero[data-state="ready"] .cinematic-hero__video,
.cinematic-hero[data-state="paused"] .cinematic-hero__video,
.cinematic-hero[data-state="reduced-motion"] .cinematic-hero__video {
  opacity: 1;
}

.cinematic-hero[data-state="failed"] .cinematic-hero__video {
  display: none;
}

.cinematic-hero[data-state="static"] .cinematic-hero__picture,
.cinematic-hero[data-state="reduced-motion"] .cinematic-hero__picture {
  opacity: 1;
}

.cinematic-hero[data-state="failed"] .cinematic-hero__picture {
  display: none;
}

.cinematic-hero__loading {
  position: absolute;
  z-index: 5;
  left: clamp(20px, 4vw, 52px);
  top: clamp(88px, 9vw, 118px);
  padding: 8px 12px;
  border: 1px solid rgb(245 166 35 / 0.35);
  background: rgb(7 6 5 / 0.78);
  color: var(--amber);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cinematic-hero:not([data-state="loading"]) .cinematic-hero__loading {
  display: none;
}

.cinematic-hero__copy {
  left: clamp(24px, 7vw, 118px);
  bottom: clamp(94px, 13vh, 142px);
  width: min(690px, 72vw);
  max-width: none;
  text-transform: none;
}

.cinematic-hero__manifesto {
  margin-top: 18px;
  font-size: clamp(2.5rem, 5.5vw, 6.1rem);
  line-height: 0.88;
  text-transform: uppercase;
}

.cinematic-hero__manifesto span {
  color: var(--amber);
}

.cinematic-hero__support {
  max-width: 590px;
  margin: 24px 0 0;
  color: #f5ead9;
  font-family: "Work Sans", system-ui, sans-serif;
  font-size: clamp(0.95rem, 1.35vw, 1.15rem);
  line-height: 1.65;
  text-shadow: 0 2px 18px rgb(0 0 0 / 0.95);
}

.cinematic-hero__actions {
  opacity: 1;
  transform: none;
}

.cinematic-hero__grade {
  background:
    linear-gradient(90deg, rgb(7 6 5 / 0.9) 0%, rgb(7 6 5 / 0.7) 35%, rgb(7 6 5 / 0.15) 68%, rgb(7 6 5 / 0.28) 100%),
    linear-gradient(0deg, rgb(7 6 5 / 0.74) 0%, transparent 48%, rgb(7 6 5 / 0.28) 100%);
}

.cinematic-hero__fallback {
  background:
    linear-gradient(90deg, rgb(7 6 5 / 0.94), rgb(7 6 5 / 0.36)),
    radial-gradient(circle at 72% 40%, rgb(245 166 35 / 0.16), transparent 14%),
    radial-gradient(circle at 68% 53%, rgb(101 26 42 / 0.48), transparent 34%),
    linear-gradient(150deg, #2b0911, #070605 66%);
}

.cinematic-hero .review-status {
  width: fit-content;
  max-width: min(100%, 560px);
  margin: 14px 0 0;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .cinematic-hero {
    min-height: 700px;
  }

  .cinematic-hero__picture img {
    object-position: center 38%;
  }

  .cinematic-hero__grade {
    background:
      linear-gradient(0deg, rgb(7 6 5 / 0.97) 0 36%, rgb(7 6 5 / 0.48) 58%, rgb(7 6 5 / 0.2) 78%),
      linear-gradient(90deg, rgb(43 9 17 / 0.32), transparent 82%);
  }

  .cinematic-hero__copy {
    right: 18px;
    left: 18px;
    bottom: 50px;
    width: auto;
  }

  .cinematic-hero__manifesto {
    max-width: 100%;
    font-size: clamp(2.15rem, 11vw, 3.45rem);
  }

  .cinematic-hero__support {
    margin-top: 16px;
    font-size: 0.94rem;
    line-height: 1.48;
  }

  .cinematic-hero__actions {
    grid-template-columns: 1fr;
  }

  .cinematic-hero__controls {
    top: 78px;
    justify-content: center;
  }

  .cinematic-hero__scroll {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cinematic-hero__video {
    display: none !important;
  }

  .cinematic-hero__picture {
    display: block !important;
  }
}
