/* One continuous scene: thoughts, a possible day, then the next step. */
.js .page-route { display: none; }
.hero.hero-cinematic { display: block; position: relative; width: min(1400px, calc(100% - 56px)); padding-top: 94px; margin: auto; }
.cinema-wrap { display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr); align-items: center; gap: clamp(24px, 4vw, 70px); }
.cinema-copy { padding: 26px 0; }
.cinema-intro .eyebrow { display: flex; align-items: center; gap: 9px; font-size: 9px; margin-bottom: 26px; }
.cinema-dot { width: 6px; height: 6px; background: var(--clay); border-radius: 50%; box-shadow: 0 0 0 4px #bd674b12; flex: none; }
.hero-cinematic h1 { font-size: clamp(60px, 5.9vw, 87px); line-height: .97; letter-spacing: -.055em; max-width: 650px; }
.hero-cinematic h1 span, .hero-cinematic h1 em { display: block; }
.hero-cinematic h1 em { color: var(--forest); font-style: normal; }
.hero-cinematic .hero-lead { font: 400 clamp(16px, 1.35vw, 19px)/1.6 var(--sans); max-width: 40ch; margin-top: 26px; color: var(--ink-soft); }
.hero-cinematic .hero-actions { align-items: flex-start; flex-wrap: wrap; gap: 18px 23px; margin-top: 28px; }
.hero-cinematic .hero-actions .button { min-height: 50px; padding-inline: 21px; border-radius: 7px; box-shadow: 0 7px 20px #99513b15; }
.hero-cinematic .hero-actions .text-link { align-self: center; font-size: 13px; }
.hero-cinematic .microcopy { font-size: 11px; line-height: 1.65; max-width: 43ch; }
.cinema-scroll-note { display: flex; gap: 14px; align-items: center; margin-top: 38px; color: #62685f; font: 400 9px/1.5 var(--mono); }
.cinema-scroll-note > span { width: 25px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 20px; font-size: 15px; }
.cinema-visual { min-width: 0; --p: 0; --align: 0; --focus: 0; --frame: 0; --px: 0; --py: 0; }
.cinema-stage { height: clamp(420px, 42vw, 615px); position: relative; overflow: hidden; isolation: isolate; border: 1px solid #dad3c363; border-radius: 100px 12px 12px 12px; background: radial-gradient(ellipse at 33% 27%, #fcfaf3 0%, #eee9dc 58%, #d8d6c8 100%); }
.cinema-stage::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 5; box-shadow: inset 0 0 85px #d4cdb71c; border-radius: inherit; }
.cinema-stage-top { position: absolute; z-index: 8; left: 56px; right: 24px; top: 30px; display: flex; justify-content: space-between; align-items: center; gap: 14px; color: #59655b; }
.cinema-stage-top > span { font: 400 8px/1.5 var(--mono); letter-spacing: .07em; }
#cinema-motion { min-height: 36px; padding: 7px 0 7px 8px; border: 0; background: none; color: #59655b; cursor: pointer; font: 400 9px/1.3 var(--sans); text-decoration: underline; text-underline-offset: 4px; }
.cinema-fallback { position: absolute; inset: 0; opacity: calc(1 - var(--frame)); transition: opacity .6s; }
.cinema-fallback img { width: 100%; height: 100%; object-fit: cover; }
.cinema-visual.has-scene .cinema-fallback { opacity: 0; }
#zenway-scene-host { position: absolute; inset: 35px -5% 5px; z-index: 1; opacity: calc(1 - var(--frame) * .89); transition: opacity .1s linear; }
.cinema-orbit { position: absolute; z-index: 0; left: 13%; top: 22%; width: 74%; height: 59%; transform: rotate(-28deg); border: 1px solid #8d9c8029; border-radius: 50%; opacity: calc(1 - var(--align)); }
.cinema-orbit span { position: absolute; inset: 17px; border: 1px dashed #8d9c8029; border-radius: 50%; }
.cinema-orbit i { position: absolute; left: 3%; top: 26%; width: 5px; height: 5px; background: #8a9e89; border-radius: 50%; }
.cinema-thought { position: absolute; z-index: 4; display: flex; align-items: center; gap: 11px; height: 60px; padding: 12px 15px; background: #fdfbf6ed; border: 1px solid #fff9; border-radius: 9px; box-shadow: 0 10px 28px #263d3020, 0 1px 2px #263d3010; width: calc(44% + var(--align) * 33%); transform-origin: 50% 50%; will-change: transform; }
.thought-mark { width: 25px; height: 25px; flex: none; display: grid; place-items: center; border: 1px solid #d9dfd5; border-radius: 6px; color: #4e675a; font: 500 17px/1 var(--sans); }
.cinema-thought > div { min-width: 0; flex: 1; }
.cinema-thought strong { display: block; white-space: nowrap; font: 500 clamp(11px, 1vw, 14px)/1.3 var(--sans); color: #273e34; }
.cinema-thought small { display: block; font: 500 7px/1.5 var(--mono); color: #788278; max-height: calc(13px * var(--frame)); opacity: var(--frame); overflow: hidden; margin-bottom: calc(4px * var(--frame)); }
.thought-time { font: 400 8px/1.3 var(--mono); white-space: nowrap; color: #657368; opacity: var(--frame); width: calc(40px * var(--frame)); overflow: hidden; }
.thought-one { left: calc(5% + var(--align) * 6.5%); top: calc(23% + var(--align) * 18%); transform: translate3d(calc(var(--px) * -8px * (1 - var(--align))), calc(var(--py) * -6px * (1 - var(--align))),0) rotate(calc(-7deg * (1 - var(--align)))); }
.thought-two { left: calc(52% - var(--align) * 40.5%); top: calc(44% + var(--align) * 12%); transform: translate3d(calc(var(--px) * 10px * (1 - var(--align))), calc(var(--py) * 6px * (1 - var(--align))),0) rotate(calc(6deg * (1 - var(--align)))); }
.thought-three { left: calc(10% + var(--align) * 1.5%); top: calc(69% + var(--align) * 2%); transform: translate3d(calc(var(--px) * -6px * (1 - var(--align))), calc(var(--py) * 10px * (1 - var(--align))),0) rotate(calc(-3deg * (1 - var(--align)))); }
.cinema-idea { position: absolute; z-index: 2; top: 15%; right: 8%; display: flex; gap: 8px; align-items: center; padding: 10px 13px; border: 1px dashed #82917b66; border-radius: 6px; color: #6a7865; font: 400 10px/1.3 var(--sans); transform: translateY(calc(var(--align) * -45px)) rotate(5deg); opacity: calc(1 - var(--align)); }
.cinema-idea > span { font-size: 17px; }
.cinema-plan-frame { position: absolute; z-index: 2; left: 7%; right: 7%; top: 17%; bottom: 9%; border: 1px solid #d6d9cb; border-radius: 14px; background: #f9f8f0ee; box-shadow: 0 24px 65px #1f3d3614; opacity: var(--frame); transform: translateY(calc((1 - var(--frame)) * 26px)) scale(calc(.94 + var(--frame) * .06)); }
.cinema-plan-heading { padding: 23px 25px; }
.cinema-plan-heading > span { display: block; font: 500 8px/1.4 var(--mono); color: #71816e; }
.cinema-plan-heading strong { display: block; font: 400 clamp(25px, 2.7vw, 37px)/1.2 var(--display); color: var(--forest); margin: 9px 0 6px; }
.cinema-plan-heading small { font-size: 10px; color: #6c7469; }
.cinema-plan-footer { position: absolute; bottom: 15px; left: 25px; right: 25px; display: flex; justify-content: space-between; gap: 10px; padding-bottom: 12px; font: 400 9px/1.5 var(--sans); color: #6c7469; }
.cinema-plan-footer strong { font-weight: 500; color: var(--forest); }
.cinema-plan-footer::after, .cinema-plan-footer > i { content: ''; height: 3px; position: absolute; bottom: 0; left: 0; right: 0; background: #e4e7db; }
.cinema-plan-footer > i { right: 25%; z-index: 1; background: #658473; }
.cinema-now { display: flex; align-items: center; gap: 8px; position: absolute; bottom: 5%; left: 50%; z-index: 5; transform: translate(-50%,calc(10px * (1 - var(--focus)))); opacity: var(--focus); color: #425b4b; font-size: 11px; white-space: nowrap; }
.cinema-now i { width: 5px; height: 5px; border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 4px #bd674b15; }
.cinema-visual[data-phase="2"] .thought-one { background: var(--forest); border-color: var(--forest); box-shadow: 0 12px 25px #1f3d3630; }
.cinema-visual[data-phase="2"] .thought-one strong, .cinema-visual[data-phase="2"] .thought-one .thought-time { color: var(--paper-high); }
.cinema-visual[data-phase="2"] .thought-one small { color: #c3d0bf; }
.cinema-visual[data-phase="2"] .thought-one .thought-mark { color: #fff; border-color: #61796b; background: #bd674b; }
.cinema-visual[data-phase="2"] .thought-two, .cinema-visual[data-phase="2"] .thought-three { opacity: .68; box-shadow: none; }
.cinema-stage-index { position: absolute; bottom: 22px; left: 24px; z-index: 6; color: #64715f; font: 400 8px/1.5 var(--mono); opacity: calc(1 - var(--frame)); }
.cinema-steps { display: grid; grid-template-columns: repeat(3,1fr); border-bottom: 1px solid var(--line); margin-top: 17px; }
.cinema-steps button { position: relative; padding: 13px 4px; min-height: 48px; background: none; border: 0; font: 500 11px/1.3 var(--sans); color: #718073; cursor: pointer; text-align: left; }
.cinema-steps button > span { margin-right: 7px; font: 400 8px/1 var(--mono); opacity: .75; }
.cinema-steps button::after { content: ''; position: absolute; left: 0; right: 20px; bottom: -1px; height: 2px; background: var(--clay); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.cinema-steps button[aria-pressed="true"] { color: var(--forest); }
.cinema-steps button[aria-pressed="true"]::after { transform: scaleX(1); }
.cinema-caption { min-height: 43px; margin-top: 13px; max-width: 55ch; font-size: 12px; line-height: 1.6; color: var(--ink-soft); }
.hero-cinematic .hero-proof { margin-top: 48px; }
.hero-cinematic .hero-proof strong { font-size: 13px; }
.hero-cinematic .hero-proof p { font-size: 12px; }
.cinema-paused .cinema-thought, .cinema-paused .cinema-plan-frame, .cinema-paused .cinema-steps button::after { transition: none; }
.founder-chat.is-compact { width: 54px; min-height: 54px; padding: 8px; justify-content: center; }
.founder-chat.is-compact > span + span { display: none; }
.founder-chat.is-compact:focus-visible > span + span { display: block; position: absolute; right: 64px; width: 160px; background: var(--forest); padding: 12px; border-radius: 8px; }
.product-panel figure { perspective: 1400px; }
.product-panel:not([hidden]) img { animation: product-focus .65s var(--ease) both; transform-origin: 50% 65%; }
@keyframes product-focus { from { opacity: .7; transform: translateY(15px) rotateX(4deg) scale(.97); } to { opacity: 1; transform: none; } }
@media (min-width: 1051px) and (min-height: 680px) and (prefers-reduced-motion: no-preference) {
  .js .hero-cinematic { min-height: calc(100svh + 640px); }
  .js .hero-cinematic .cinema-wrap { position: sticky; top: 86px; }
  .cinema-stage { height: clamp(410px, calc(100svh - 205px), 660px); }
  .hero-cinematic .hero-proof { position: absolute; bottom: 0; width: 100%; }
}
@media (min-width: 1051px) and (max-height: 800px) {
  .hero-cinematic h1 { font-size: clamp(56px, 5.3vw, 76px); }
  .cinema-intro .eyebrow { margin-bottom: 20px; }
  .hero-cinematic .hero-lead { margin-top: 21px; font-size: 16px; line-height: 1.55; }
  .cinema-scroll-note { margin-top: 24px; }
  .hero-cinematic .hero-actions { margin-top: 24px; }
}
@media (max-width: 1050px) {
  .hero.hero-cinematic { width: calc(100% - 40px); }
  .cinema-wrap { gap: 24px; grid-template-columns: .9fr 1.1fr; }
  .hero-cinematic h1 { font-size: clamp(49px, 6.3vw, 64px); }
  .cinema-stage { height: 450px; border-top-left-radius: 70px; }
  .cinema-stage-top { left: 33px; right: 16px; }
  .cinema-stage-top > span { font-size: 7px; }
  .cinema-thought { gap: 7px; padding: 10px; height: 54px; }
  .thought-mark { width: 19px; height: 23px; font-size: 14px; }
  .cinema-thought strong { font-size: 10px; }
  .cinema-scroll-note { display: none; }
  .cinema-steps button { font-size: 10px; }
  .cinema-steps button > span { margin-right: 4px; }
  .cinema-plan-heading { padding: 20px; }
  .cinema-plan-heading strong { font-size: 28px; }
}
@media (max-width: 760px) {
  .hero.hero-cinematic { width: 100%; padding-top: 70px; }
  .cinema-wrap { display: flex; flex-direction: column; gap: 0; }
  .cinema-copy { display: contents; }
  .cinema-intro { order: 1; width: calc(100% - 40px); padding-top: 28px; }
  .cinema-intro .eyebrow { font-size: 8px; margin-bottom: 21px; gap: 8px; }
  .hero-cinematic h1 { font-size: clamp(46px, 12.9vw, 72px); line-height: .99; letter-spacing: -.055em; }
  .hero-cinematic h1 span, .hero-cinematic h1 em { max-width: 13ch; }
  .hero-cinematic .hero-lead { font-size: 15px; line-height: 1.55; margin-top: 21px; max-width: 39ch; }
  .hero-cinematic .hero-actions { order: 2; width: calc(100% - 40px); margin: 24px auto 25px; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
  .hero-cinematic .hero-actions .button { width: auto; min-height: 48px; font-size: 12px; gap: 12px; padding: 13px 15px; }
  .hero-cinematic .hero-actions .text-link { font-size: 11px; max-width: 105px; }
  .cinema-visual { order: 3; width: 100%; }
  .cinema-stage { height: clamp(370px, 98vw, 500px); border-radius: 60px 0 0; border-left: 0; border-right: 0; }
  .cinema-stage-top { top: 19px; left: 32px; right: 20px; }
  .cinema-stage-top > span { font-size: 7px; }
  #cinema-motion { font-size: 9px; min-height: 44px; }
  #zenway-scene-host { inset: 14px -10% 0; }
  .cinema-thought { height: 49px; padding: 10px; border-radius: 7px; width: calc(53% + var(--align) * 24%); }
  .cinema-thought strong { font-size: 10px; }
  .thought-two { left: calc(44% - var(--align) * 32.5%); }
  .thought-one { left: calc(3% + var(--align) * 8.5%); }
  .thought-three { left: calc(6% + var(--align) * 5.5%); }
  .thought-mark { width: 18px; height: 21px; font-size: 13px; }
  .thought-time { font-size: 7px; }
  .cinema-thought small { font-size: 6px; margin-bottom: calc(3px * var(--frame)); }
  .cinema-idea { font-size: 9px; top: 16%; padding: 8px 10px; }
  .cinema-plan-heading { padding: 15px 18px; }
  .cinema-plan-frame { bottom: 5%; }
  .cinema-plan-heading strong { font-size: 26px; margin-top: 5px; margin-bottom: 4px; }
  .cinema-plan-heading small { font-size: 8px; }
  .cinema-plan-footer { left: 18px; right: 18px; bottom: 12px; font-size: 8px; }
  .cinema-now { font-size: 9px; bottom: 1%; }
  .cinema-steps { margin: 6px 20px 0; }
  .cinema-steps button { min-height: 52px; font-size: 10px; }
  .cinema-caption { margin: 12px 20px 0; min-height: 38px; font-size: 11px; }
  .hero-cinematic .microcopy { order: 4; max-width: none; width: calc(100% - 40px); font-size: 10px; margin: 20px auto 0; }
  .hero-cinematic .hero-proof { position: static; margin-top: 30px; padding-inline: 20px; }
  .hero-cinematic .hero-proof > div { padding-block: 16px; }
  .hero-cinematic .hero-proof strong { font-size: 12px; }
  .hero-cinematic .hero-proof p { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-cinematic { min-height: 0 !important; }
  .cinema-wrap { position: static !important; }
  .hero-cinematic .hero-proof { position: static; }
  .cinema-scroll-note { display: none; }
  .cinema-thought { will-change: auto; }
  .product-panel:not([hidden]) img { animation: none; }
}
