/* The product windows, the film and the site miniature share one WebGL world. */
#uses-game .marketing-copy { transform: none; }
#uses-game[data-uses-heading-state] .marketing-copy h2,
#uses-game[data-uses-heading-state] .marketing-copy > p span,
#uses-game[data-uses-heading-state] [data-proof-slot="desktop-game"] {
  transition-duration: .65s, .85s, .95s;
}
#marketing-v5 #uses-site[data-highlights] > .marketing-inner {
  width: min(88vw, 1420px);
  padding-top: max(100px, 13vh); padding-top: max(100px, 13svh);
  padding-bottom: 5vh; padding-bottom: 5svh;
  grid-template-rows: auto auto;
  align-content: start;
  gap: 4vh; gap: 4svh;
}
#marketing-v5 #uses-site[data-highlights] .marketing-copy {
  visibility: visible;
  text-align: center;
  max-width: none;
  opacity: var(--highlights-copy-opacity,1);
  will-change: auto;
}
#marketing-v5 #uses-site .marketing-copy h2 {
  max-width: none;
  font-size: clamp(30px, 3.8vw, 62px);
  line-height: 1.06;
  white-space: nowrap;
  opacity: 1;
  filter: none;
  transform: none;
  will-change: auto;
}
#marketing-v5 #uses-site .marketing-copy p {
  color: var(--bb-white);
  opacity: var(--highlights-caption, 0);
  margin: 24px auto 0;
  font-size: clamp(25px, 2.25vw, 38px);
  font-weight: 800;
  letter-spacing: var(--bb-tracking-display);
  line-height: 1.12;
  transition: opacity .7s ease, filter .7s ease;
  filter: blur(calc((1 - var(--highlights-caption, 0)) * 5px));
  will-change: auto;
}
#marketing-v5 #uses-site [data-proof-slot="site-self"] {
  width: min(72vw, calc(55vh * var(--highlight-viewport-aspect, 1.78))); width: min(72vw, calc(55svh * var(--highlight-viewport-aspect, 1.78)));
  height: 55vh; height: 55svh;
  max-block-size: none;
  border: 0;
  margin: 0 auto;
  transition: opacity .7s ease;
  background: transparent;
}
.uses-highlights-window { display: block; width: 100%; height: 100%; }
.uses-highlights-heading { position: fixed; z-index: 8; pointer-events: none; text-align: center; font-family: var(--bb-font-family); }
.uses-highlights-heading[hidden] { display: none; }
.uses-highlights-heading h2 { margin: 0; color: var(--bb-white); font-size: clamp(30px, 3.8vw, 62px); font-weight: var(--bb-weight-display); line-height: 1.06; letter-spacing: var(--bb-tracking-display); white-space: nowrap; }
.uses-highlights-heading p { margin: 24px 0 0; color: var(--bb-white); font-size: clamp(25px, 2.25vw, 38px); font-weight: var(--bb-weight-display); letter-spacing: var(--bb-tracking-display); line-height: 1.12; opacity: var(--highlights-caption, 0); filter: blur(calc((1 - var(--highlights-caption, 0)) * 3px)); }
.uses-highlights-heading:is([data-shot="pending"], [data-shot="reading"]) h2 { animation: site-title-focus .9s cubic-bezier(.2,.65,.25,1) both; }
.uses-highlights-portal {
  position: fixed;
  z-index: 8;
  overflow: hidden;
  pointer-events: none;
  border: 1px solid var(--bb-border, rgb(255 255 255 / .2));
  box-sizing: border-box;
  background: transparent;
  contain: layout style;
  transform-origin: 0 0;
}
.uses-highlights-portal[hidden] { display: none; }
.uses-highlights-content { position: absolute; inset: 0 auto auto 0; transform-origin: 0 0; }
.uses-highlights-curtain { position: absolute; inset: 0; background: var(--deep-space, #00030d); }
.uses-highlight-hero { position: absolute !important; inset: 0 !important; opacity: 1 !important; filter: none !important; transform: none !important; }
.uses-highlight-hero .headline { opacity: 1 !important; transform: none !important; filter: none !important; }
.uses-highlight-hero .cta-row { opacity: 1 !important; transform: none !important; }
.uses-highlights-portal .uses-highlight-game {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  align-content: stretch;
  align-items: start;
  justify-items: center;
  width: min(97vw, 1580px);
  max-width: none;
  height: 100%;
  margin: 0 auto;
  padding: clamp(88px, 12vh, 132px) 0 clamp(32px, 5vh, 64px); padding: clamp(88px, 12svh, 132px) 0 clamp(32px, 5svh, 64px);
  gap: clamp(16px, 2.6vh, 32px); gap: clamp(16px, 2.6svh, 32px);
  font-family: var(--bb-font-family);
}
.uses-highlights-portal .uses-highlight-game .marketing-copy { text-align: center; width: 100%; min-width: 0; max-width: none; }
.uses-highlights-portal .uses-highlight-game .marketing-copy h2 { max-width: none; color: var(--bb-white); margin: 0 auto; font-size: clamp(28px,3.2vw,48px); line-height: 1.02; letter-spacing: var(--bb-tracking-display); }
.uses-highlights-portal .uses-highlight-game .marketing-copy > p { display: grid; max-width: 60ch; gap: .18em; margin: clamp(10px,1.6vh,20px) auto 0; margin: clamp(10px,1.6svh,20px) auto 0; color: var(--bb-white); font-size: clamp(15px,1.2vw,19px); line-height: 1.58; text-wrap: balance; }
.uses-highlights-portal .uses-highlight-game .marketing-copy > p span { display: block; }
.uses-highlights-portal .uses-highlight-game [data-proof-slot="desktop-game"] { display: grid; place-items: center; align-self: stretch; width: 100%; height: 100%; min-height: 0; max-height: none; max-block-size: none; margin: 0; overflow: visible; }
.uses-highlights-portal .uses-highlight-game .uses-desktop-frame { aspect-ratio: 16 / 9; width: auto; height: 100%; max-width: 100%; max-height: 100%; }
.uses-highlights-portal .uses-highlight-self {
  box-sizing: border-box;
  text-align: center;
  max-width: none;
  width: min(88vw, 1420px);
  margin: 0 auto;
  padding-top: max(100px, 13vh); padding-top: max(100px, 13svh);
  font-family: var(--bb-font-family);
}
.uses-highlights-portal .uses-highlight-self h2 { max-width: none; width: 100%; font-size: clamp(30px,3.8vw,62px); line-height: 1.06; margin: 0 auto; color: var(--bb-white); letter-spacing: var(--bb-tracking-display); white-space: nowrap; }
.uses-highlights-portal .uses-highlight-self p { max-width: none; color: var(--bb-white); font-size: clamp(25px,2.25vw,38px); font-weight: 800; letter-spacing: var(--bb-tracking-display); line-height: 1.12; margin: 24px auto 0; }
/* The nested window has the same composition as the source site-self slot. */
.uses-highlights-portal .uses-highlight-recursion { position: relative; box-sizing: border-box; width: min(72vw, calc(55vh * var(--highlight-viewport-aspect, 1.78))); width: min(72vw, calc(55svh * var(--highlight-viewport-aspect, 1.78))); height: 55vh; height: 55svh; margin: 4vh auto 0; margin: 4svh auto 0; border: 1px solid rgb(255 255 255 / .2); border-radius: 14px; overflow: hidden; }
.uses-highlights-portal .uses-highlight-recursion .uses-highlight-hero { width: 100vw; height: 100vh; transform: scale(var(--highlight-recursion-scale, .55), var(--highlight-recursion-scale-y, .55)) !important; transform-origin: top left; }
.uses-highlights-portal[data-shot="complete"] { border-radius: 14px; }
#uses-site[data-highlights="reading"] .marketing-copy h2 { animation:none; }
#marketing-v5 #uses-site[data-highlights="complete"] .marketing-copy h2,
#marketing-v5 #uses-site[data-highlights="complete"] .marketing-copy p { opacity: 1; visibility: visible; filter: none; transform: none; }
@keyframes site-title-focus { from { opacity: 0; filter: blur(7px); } to { opacity: 1; filter: blur(0); } }
/* The semantic heading and the miniature now share one physical pinned box.
   A previous fixed clone could retain a departing pose after reverse scroll. */
#marketing-v5 #uses-site[data-highlights] .marketing-copy { visibility:visible!important; min-height:128px; }
#marketing-v5 #uses-site[data-highlights] .marketing-copy h2 {opacity:var(--highlights-title,0);visibility:visible;transform:translateY(calc((1 - var(--highlights-title,0))*8px));filter:none;animation:none;}
#marketing-v5 #uses-site[data-highlights] .marketing-copy p {transform:none;filter:none;visibility:visible;}
@media (max-width: 760px) {
  #marketing-v5 #uses-site .marketing-copy h2, .uses-highlights-portal .uses-highlight-self h2, .uses-highlights-heading h2 { white-space: normal; font-size: clamp(28px, 7vw, 42px); }
  #marketing-v5 #uses-site[data-highlights] > .marketing-inner { width: 90vw; }
  #marketing-v5 #uses-site [data-proof-slot="site-self"] { width: min(90vw, calc(55vh * var(--highlight-viewport-aspect, 1))); width: min(90vw, calc(55svh * var(--highlight-viewport-aspect, 1))); height: 55vh; height: 55svh; }
  .uses-highlights-portal .uses-highlight-self { width: 90vw; }
  .uses-highlights-portal .uses-highlight-recursion { width: min(90vw, calc(55vh * var(--highlight-viewport-aspect, 1))); width: min(90vw, calc(55svh * var(--highlight-viewport-aspect, 1))); height: 55vh; height: 55svh; }
  .uses-highlights-portal .uses-highlight-game .marketing-copy h2 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  #uses-site[data-highlights] .marketing-copy h2 { animation: none; }
  .uses-highlights-heading:is([data-shot="pending"], [data-shot="reading"]) h2 { animation: none; }
  #uses-game[data-uses-heading-state] .marketing-copy h2,
  #uses-game[data-uses-heading-state] .marketing-copy > p span,
  #uses-game[data-uses-heading-state] [data-proof-slot="desktop-game"] { transition: opacity .2s ease; filter: none; transform: none; }
}

/* Incoming chapters reveal their title only after cinematic ownership changes. */
#marketing-v5[data-cinema-chapter]:not([data-cinema-chapter="uses-site"]) #uses-site .marketing-copy { visibility:hidden!important; opacity:0!important; }
