/* Scoped typography: real semibold, size-specific tracking, quieter supporting text. */
.cinematic-hero, .cinematic-hero[hidden] { display: none; }
html[data-cinematic-hero="on"] .hero { display: none; }
html[data-cinematic-hero="on"] .cinematic-hero:not([hidden]) { display: block; }
.cinematic-hero {
  --column-shift: 0%;
  --scrim-opacity: 1;
  padding: 70px 0 0;
  color: #142039;
  background: #0c1430;
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Inter,sans-serif;
  font-kerning: normal;
  isolation: isolate;
}
.cinematic-hero [hidden] { display: none !important; }
.cinematic-stage { position: relative; display: grid; overflow: hidden; background: #faf2e4; isolation: isolate; }
.cinematic-media { position: relative; grid-area: 1 / 1; min-width: 0; aspect-ratio: 16 / 9; overflow: hidden; }
.cinematic-footage, .cinematic-frame { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.cinematic-poster, #cinematic-video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
#cinematic-video { opacity: 0; }
.cinematic-hero:is([data-media-state="playing"],[data-media-state="paused"],[data-media-state="ended"]) #cinematic-video { opacity: 1; }
.cinematic-scrim {
  grid-area: 1 / 1;
  z-index: 1;
  background: linear-gradient(90deg,rgba(250,242,228,.98) 0%,rgba(250,242,228,.94) 17%,rgba(250,242,228,.82) 26%,rgba(250,242,228,.45) 33%,rgba(250,242,228,0) 42%);
  opacity: var(--scrim-opacity);
  pointer-events: none;
}
.cinematic-column { position: relative; grid-area: 1 / 1; z-index: 2; align-self: stretch; display: flex; align-items: center; width: 28%; padding: 32px 1.5% 32px 3.75%; transform: translateX(var(--column-shift)); will-change: transform; }
.cinematic-phases { display: grid; width: 100%; min-width: 0; max-width: 300px; }
.cinematic-phase { --phase-opacity: 0; grid-area: 1 / 1; align-self: center; min-width: 0; opacity: var(--phase-opacity); }
.cinematic-phase[aria-hidden="true"] { pointer-events: none; user-select: none; }
.cinematic-phase h2 { margin: 0; font-size: 36px; line-height: 1.1112; font-weight: 600; letter-spacing: -.025em; text-wrap: balance; }
.cinematic-progress { position: absolute; z-index: 3; top: 50%; right: max(10px,env(safe-area-inset-right)); display: flex; flex-direction: column; align-items: center; padding: 0; margin: 0; list-style: none; transform: translateY(-50%); opacity: var(--scrim-opacity); }
.cinematic-progress button { display: grid; place-items: center; width: 44px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.cinematic-progress button span { width: 6px; height: 6px; border-radius: 50%; background: rgba(20,32,57,.48); box-shadow: 0 0 0 1px rgba(255,248,233,.8); transition: background-color 120ms ease,box-shadow 120ms ease; }
.cinematic-progress button[data-active="true"] span { background: #2356b8; box-shadow: 0 0 0 3px rgba(255,248,233,.8); }
.cinematic-progress button:hover span { background: #173f8c; box-shadow: 0 0 0 5px rgba(255,248,233,.55); }
.cinematic-progress button:active span { transform: scale(.8); box-shadow: 0 0 0 6px rgba(255,248,233,.9); }
.cinematic-progress button:focus-visible { outline: 2px solid #2356b8; outline-offset: -4px; background: rgba(255,248,233,.72); }
.cinematic-progress[inert] { pointer-events: none; }
.cinematic-end-state { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 32px 32px 36px; text-align: center; background: linear-gradient(0deg,rgba(250,242,228,.95),rgba(250,242,228,.78) 18%,rgba(250,242,228,0) 42%); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 450ms ease; }
.cinematic-hero[data-end-state="true"] .cinematic-end-state { opacity: 1; visibility: visible; pointer-events: auto; }
.cinematic-end-state h1 { margin: 0 0 12px; font-size: 33px; line-height: 1.1818; font-weight: 600; letter-spacing: -.022em; text-wrap: balance; }
.cinematic-end-footer { display: grid; justify-items: center; gap: 18px; }
.cinematic-trust { margin: 0; font-size: 14px; line-height: 1.5; font-weight: 400; letter-spacing: 0; color: #3c4656; }
.cinematic-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.cinematic-actions .button { width: auto; min-width: 0; min-height: 44px; padding: 12px 22px; font-family: inherit; font-size: 16.5px; line-height: 1.25; font-weight: 600; letter-spacing: -.005em; box-shadow: none; }
.cinematic-actions .button.primary { background: #2356b8; }
.cinematic-actions .button.secondary { color: #142039; border-color: rgba(20,32,57,.3); background: rgba(255,250,240,.35); }
.cinematic-actions .button:focus-visible { outline: 3px solid #2356b8; outline-offset: 3px; }
.cinematic-hero:is([data-media-state="reduced"],[data-media-state="data-saver"],[data-media-state="error"],[data-media-state="autoplay-blocked"]) .cinematic-end-state { transition: none; }
@media(min-width:768px) and (max-width:1100px) {
  .cinematic-column { padding: 24px 1.5% 24px 3%; }
  .cinematic-phase h2 { font-size: 28px; line-height: 1.16; letter-spacing: -.018em; }
  .cinematic-end-state { padding-bottom: 24px; }
  .cinematic-end-state h1 { font-size: 28px; line-height: 1.2; letter-spacing: -.018em; }
  .cinematic-end-footer { gap: 12px; }
}
@media(max-width:767px) {
  .cinematic-hero { padding-top: 64px; }
  .cinematic-stage { grid-template-columns: minmax(0,1fr); }
  /* A fixed, modest side crop: the canvas never resizes during the intro. */
  .cinematic-media { grid-area: 1 / 1; aspect-ratio: 3 / 2; }
  .cinematic-scrim { background: linear-gradient(90deg,rgba(250,242,228,.96) 0%,rgba(250,242,228,.91) 22%,rgba(250,242,228,.76) 34%,rgba(250,242,228,.38) 45%,rgba(250,242,228,0) 58%); }
  .cinematic-column { grid-area: 1 / 1; width: 42%; min-height: 0; padding: 16px 0 16px max(14px,env(safe-area-inset-left)); }
  .cinematic-phases { max-width: none; margin: 0; }
  .cinematic-phase h2 { font-size: clamp(18px,5.13vw,22px); line-height: 1.18; letter-spacing: -.01em; }
  .cinematic-progress { right: max(2px,env(safe-area-inset-right)); }
  .cinematic-progress button { width: 36px; height: 32px; }
  .cinematic-progress button span { width: 5px; height: 5px; }
  .cinematic-end-state { display: flex; justify-content: flex-end; padding: 0 max(14px,env(safe-area-inset-right)) 10px max(14px,env(safe-area-inset-left)); background: linear-gradient(0deg,rgba(250,242,228,.98),rgba(250,242,228,.94) 25%,rgba(250,242,228,.72) 39%,rgba(250,242,228,0) 58%); }
  .cinematic-end-state h1 { position: static; max-width: 350px; margin: 0 0 5px; font-size: 19px; line-height: 1.16; letter-spacing: -.01em; }
  .cinematic-end-footer { position: static; width: 100%; gap: 6px; }
  .cinematic-trust { max-width: 360px; font-size: 10.5px; line-height: 1.3; letter-spacing: 0; }
  .cinematic-actions { gap: 8px; }
  .cinematic-actions .button { min-height: 34px; padding: 7px 14px; font-size: 13px; line-height: 1.3; letter-spacing: 0; }
}
@media(max-width:359px) {
  .cinematic-end-state { padding: 0 12px 7px; }
  .cinematic-end-state h1 { max-width: 270px; font-size: 17px; line-height: 1.15; }
  .cinematic-end-footer { gap: 4px; }
  .cinematic-trust { font-size: 10px; line-height: 1.3; }
  .cinematic-actions .button { min-height: 32px; padding: 6px 12px; font-size: 13px; line-height: 1.2308; }
}
@media(prefers-reduced-motion:reduce) {
  .cinematic-hero * { animation: none !important; transition: none !important; }
  .cinematic-column { will-change: auto; }
}
