/* WBH product story. Static HTML remains the baseline; WebGL enhances the visual. */
.hero.wbh-cinema { --cinema-top: 82px; padding: 0; background: #080b0e; overflow: visible; position: relative; isolation: isolate; }
.wbh-cinema::before, .wbh-cinema::after { display: none; }
.cinema-presentation { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); width: min(1440px, calc(100% - 80px)); margin: auto; gap: 0; position: relative; }
.cinema-copy { position: sticky; top: var(--cinema-top); align-self: start; display: flex; flex-direction: column; justify-content: center; min-width: 0; height: calc(100svh - var(--cinema-top)); max-height: 960px; padding: 32px 24px 48px 0; z-index: 2; }
.cinema-copy .eyebrow { font-size: .62rem; line-height: 1.7; letter-spacing: .15em; margin: 0 0 1.4rem; }
.cinema-copy h1 { font-size: clamp(2.7rem, 4.2vw, 4.2rem); line-height: 1.04; letter-spacing: -.045em; max-width: 11ch; margin: 0; }
.cinema-copy .hero-text { font-size: .94rem; line-height: 1.8; max-width: 46ch; margin: 1.6rem 0 1.8rem; }
.cinema-copy .hero-actions { gap: .75rem; display: flex; flex-wrap: wrap; }
.cinema-copy .hero-actions .btn { min-height: 50px; font-size: .78rem; padding: .9rem 1.15rem; }
.cinema-skip { display: inline-flex; align-items: center; align-self: flex-start; min-height: 44px; margin-top: 1rem; color: var(--muted); font-size: .73rem; text-decoration: underline; text-underline-offset: .3em; }
.cinema-skip:hover { color: var(--gold-bright); }
.cinema-timeline { position: relative; min-width: 0; height: 285svh; }
.cinema-visual { position: sticky; top: var(--cinema-top); height: calc(100svh - var(--cinema-top)); max-height: 960px; width: 100%; margin: 0; display: flex; flex-direction: column; min-width: 0; }
.cinema-frame { position: relative; flex: 1; min-height: 0; isolation: isolate; overflow: hidden; background: #080b0e; }
.cinema-frame::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at 60% 49%, #1b1c1d, #080b0e 68%); pointer-events: none; }
.cinema-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, #080b0e, transparent 7%, transparent 94%, #080b0e), linear-gradient(180deg, #080b0e, transparent 13%, transparent 88%, #080b0e); }
.cinema-frame canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; pointer-events: none; }
.wbh-cinema[data-render="webgl"] canvas { opacity: 1; }
.cinema-poster { position: absolute; inset: 0; display: block; width: 100%; height: 100%; margin: 0; }
.cinema-poster img { width: 100%; height: 100%; object-fit: contain; }
.wbh-cinema[data-render="webgl"] .cinema-poster { visibility: hidden; }
.cinema-fallback-label { position: absolute; left: 8%; right: 8%; bottom: 14%; color: var(--gold-bright); font: 1.8rem/1.15 Georgia, serif; }
.cinema-poster picture { position: absolute; inset: 0; z-index: 1; display: block; background: #080b0e; }
.cinema-poster[data-asset-state="unavailable"] picture { visibility: hidden; }
.cinema-caption { position: relative; padding: 0 24px 28px; flex: 0 0 auto; }
.cinema-progress { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 20px; border-top: 1px solid #ffffff14; gap: 14px; }
.cinema-step { position: relative; padding-top: 12px; color: #9c9f9f; font-size: .65rem; letter-spacing: .025em; }
.cinema-step::before { position: absolute; inset: -1px 0 auto; content: ""; height: 1px; background: #a88d5c; opacity: .2; }
.cinema-step[aria-current="step"] { color: var(--gold-bright); }
.cinema-step[aria-current="step"]::before { opacity: 1; }
.cinema-step b { font-weight: 400; margin-right: 5px; opacity: .7; }
.cinema-caption-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.cinema-caption-actions { display: flex; align-items: center; gap: 16px; }
.cinema-case-link { display: inline-flex; align-items: center; min-height: 44px; font-size: .68rem; color: var(--gold-bright); text-decoration: underline; text-underline-offset: .3em; }
.cinema-caption .wbh-project-label { font-size: .67rem; }
.cinema-caption .wbh-motion-toggle { min-height: 44px; font-size: .63rem; }
.cinema-trust { width: min(1360px, calc(100% - 80px)); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding: 28px 0 40px; border-top: 1px solid #d9a84f26; }
.cinema-trust > div { padding-left: 14px; border-left: 1px solid #b6a17e5c; display: grid; gap: .3rem; }
.cinema-trust strong { font-size: .76rem; }
.cinema-trust span { font-size: .74rem; color: var(--muted); }
.wbh-cinema[data-render="fallback"] .cinema-timeline { height: calc(100svh - var(--cinema-top)); min-height: 580px; }
.wbh-cinema[data-render="fallback"] .cinema-copy, .wbh-cinema[data-render="fallback"] .cinema-visual { position: relative; top: auto; }
.wbh-cinema[data-render="fallback"] .cinema-progress { display: none; }
.wbh-cinema + .value-strip { background: #080b0e; }
.cinema-project-still { width: 100%; height: 100%; transform: perspective(1400px) rotateX(var(--project-rx, 0deg)) rotateY(var(--project-ry, 0deg)); }
.cinema-project-still picture, .cinema-project-still img { display: block; width: 100%; height: 100%; }
.wbh-stage2 .cinema-project-still img { object-fit: contain; }
@media (min-width: 961px) and (max-height: 740px) {
  .cinema-copy { padding-block: 16px; }
  .cinema-copy h1 { font-size: clamp(2.4rem, 3.5vw, 3.3rem); }
  .cinema-copy .eyebrow { margin-bottom: 1rem; }
  .cinema-copy .hero-text { margin: 1rem 0; font-size: .85rem; line-height: 1.65; }
  .cinema-caption { padding-bottom: 14px; }
}
@media (max-width: 1100px) { .cinema-presentation { width: calc(100% - 48px); } .cinema-copy h1 { font-size: 3.2rem; } }
@media (min-width: 961px) and (max-width: 1024px) {
  .cinema-caption { padding-bottom: 96px; }
}
@media (max-width: 960px) {
  .hero.wbh-cinema { --cinema-top: 74px; }
  .cinema-presentation { display: block; width: 100%; }
  .cinema-copy { position: relative; top: auto; height: auto; max-height: none; padding: 40px 24px 8px; width: min(680px, 100%); margin: auto; }
  .cinema-copy h1 { max-width: 16ch; font-size: clamp(2.4rem, 6vw, 3.5rem); }
  .cinema-copy .hero-text { max-width: 53ch; margin-block: 1.3rem; font-size: .95rem; }
  .cinema-copy .eyebrow { margin-bottom: 1.1rem; }
  .cinema-copy .hero-actions .btn { font-size: .8rem; }
  .cinema-skip { margin-top: .65rem; }
  .cinema-timeline { height: 155svh; }
  .cinema-visual { height: 72svh; min-height: 420px; max-height: 650px; }
  .cinema-caption { padding: 0 24px 20px; }
  .cinema-progress { margin-bottom: 16px; }
  .cinema-trust { width: calc(100% - 48px); padding-block: 22px 28px; gap: 12px; }
  .wbh-cinema[data-render="fallback"] .cinema-timeline { height: auto; min-height: 0; }
}
@media (max-width: 600px) {
  .cinema-copy { padding: 32px 20px 4px; }
  .cinema-copy h1 { max-width: 14ch; font-size: clamp(2.35rem, 9.7vw, 3.2rem); line-height: 1.05; }
  .cinema-copy .eyebrow { font-size: .58rem; letter-spacing: .11em; }
  .cinema-copy .hero-text { font-size: .9rem; line-height: 1.75; }
  .cinema-copy .hero-actions { display: grid; grid-template-columns: 1fr; gap: .65rem; }
  .cinema-copy .hero-actions .btn { width: 100%; min-height: 48px; }
  .cinema-visual { height: 68svh; min-height: 390px; max-height: 560px; }
  .cinema-caption { padding: 0 20px 18px; }
  .cinema-step { font-size: .6rem; }
  .cinema-progress { gap: 8px; }
  .cinema-caption .wbh-project-label { font-size: .59rem; gap: .4rem; }
  .cinema-caption-row { gap: 4px; }
  .cinema-caption-actions { width: 100%; justify-content: space-between; }
  .cinema-caption .wbh-motion-toggle { padding-inline: .6rem; font-size: .59rem; }
  .cinema-trust { width: calc(100% - 40px); gap: 10px; }
  .cinema-trust > div { padding-left: 10px; }
  .cinema-trust strong { font-size: .65rem; }
  .cinema-trust span { font-size: .61rem; line-height: 1.6; }
}
@media (max-width: 960px) and (max-height: 500px) {
  .cinema-visual { height: calc(100svh - 70px); min-height: 270px; }
  .cinema-timeline { height: 180svh; }
  .cinema-caption { padding-bottom: 8px; }
  .cinema-progress { margin-bottom: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .wbh-cinema .cinema-timeline { height: auto !important; min-height: 0; }
  .cinema-copy, .cinema-visual { position: relative; top: auto; }
  .cinema-progress { display: none; }
}
