/* A continuous photograph, animated into the product composition on scroll. */
.hero-morph { position: relative; background: #fff; color: var(--deep); isolation: isolate; }
.hero-morph .hero-stage { position: relative; width: 100%; height: 100svh; overflow: hidden; overflow: clip; background: #fff; }
.hero-morph .hero-media { position: absolute; z-index: 2; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; background: var(--bone); transform-origin: center; }
.hero-portrait { width: 100%; height: 100%; object-fit: cover; object-position: 52% 40%; }
.hero-shade { position: absolute; z-index: 3; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgb(0 0 0 / .64), rgb(0 0 0 / .2) 43%, transparent 72%); }
.hero-intro { position: absolute; z-index: 4; inset: 0; display: flex; align-items: flex-start; padding: clamp(150px, 19svh, 210px) 0 80px; }
.hero-morph .hero-copy { max-width: 530px; color: #fff; }
.hero-morph .hero-title { color: #fff; font-size: clamp(44px, 4.1vw, 68px); font-weight: 500; line-height: 1.04; }
.hero-morph .hero-title em { color: #fff; background: none; }
.hero-morph .hero-sub { max-width: 360px; color: rgb(255 255 255 / .94); font-size: 16px; line-height: 1.65; }
.hero-morph .hero-form { max-width: 440px; }
.hero-morph .hero-form .signup-row { background: #fff; border-color: transparent; }
.hero-morph .hero-form .signup-msg[data-state="error"] { color: #fff; background: rgb(0 0 0 / .2); }
.hero-scroll-cue { position: absolute; z-index: 4; left: 50%; bottom: 28px; width: 1px; height: 36px; background: linear-gradient(transparent, rgb(255 255 255 / .9)); }
.hero-dock-copy { position: absolute; z-index: 1; top: clamp(90px, 11svh, 120px); left: 0; right: 0; text-align: center; visibility: hidden; opacity: 0; }
.hero-dock-copy .h2 { margin: 0; font-size: clamp(30px, 3vw, 44px); font-weight: 500; }
.hero-dock-copy p { margin: 18px auto 0; max-width: 420px; color: var(--gray); font-size: 16px; line-height: 1.55; }
.hero-question { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 14px; border: 1px solid rgb(255 255 255 / .85); border-radius: 14px; background: rgb(255 255 255 / .95); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; visibility: hidden; }
.hero-question p { color: var(--deep); font: 500 16px/1.3 var(--display); text-wrap: balance; }
.hero-side { position: absolute; z-index: 1; top: calc(var(--dock-top, 320px) + (var(--dock-height, 370px) - var(--side-height, 340px)) / 2); width: var(--side-width, 230px); height: var(--side-height, 340px); border-radius: 20px; overflow: hidden; background: var(--bone); opacity: 0; visibility: hidden; }
.hero-side-left { left: calc(50% - var(--dock-width, 266px) / 2 - var(--dock-gap, 20px) - var(--side-width, 230px)); }
.hero-side-right { left: calc(50% + var(--dock-width, 266px) / 2 + var(--dock-gap, 20px)); }
.hero-side-photo { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-side-right .hero-side-photo { object-position: center 55%; }
.hero-side-answer { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 12px 12px 26px; border-radius: 12px; background: rgb(255 255 255 / .96); }
.hero-side-answer p { font: 400 14px/1.4 var(--ui); color: var(--deep); }
.hero-side-answer > img { position: absolute; right: 8px; bottom: -2px; width: 45px; height: 34px; object-fit: contain; transform: rotate(-6deg); }
.hero-morph.is-animated .hero-media { will-change: width, height, left, top; }
.hero-morph.is-animated .hero-portrait { will-change: transform; }

@media (max-width: 1000px) {
  .hero-intro { align-items: flex-end; padding: 110px 0 48px; }
  .hero-shade { background: linear-gradient(0deg, rgb(0 0 0 / .68), rgb(0 0 0 / .25) 44%, transparent 78%); }
  .hero-morph .hero-copy { max-width: 460px; }
  .hero-morph .hero-title { font-size: clamp(38px, 5.4vw, 54px); }
}
@media (max-width: 600px) {
  .hero-intro { padding: 90px 0 32px; }
  .hero-morph .hero-title { font-size: clamp(34px, 9.5vw, 40px); }
  .hero-morph .hero-sub { margin-top: 18px; font-size: 15px; max-width: 330px; }
  .hero-morph .hero-form { margin-top: 22px; }
  .hero-morph .hero-form .signup-row { gap: 4px; padding: 6px; }
  .hero-morph .hero-form input { min-height: 42px; }
  .hero-morph .hero-form .btn { min-height: 46px; }
  .hero-dock-copy { top: 100px; }
  .hero-dock-copy .h2 { font-size: 30px; }
  .hero-dock-copy p { font-size: 15px; max-width: 300px; }
  .hero-question { left: 9px; right: 9px; bottom: 9px; padding: 11px; border-radius: 12px; }
  .hero-question p { font-size: 14px; }
  .hero-side { border-radius: 16px; }
  .hero-side-answer { left: 7px; right: 7px; bottom: 10px; padding: 0; background: transparent; }
  .hero-side-answer p { display: none; }
  .hero-side-answer > img { position: static; width: 42px; height: 32px; margin: 0 auto; }
  .hero-side-right .hero-side-photo { object-position: 62% 55%; }
  .hero-scroll-cue { display: none; }
}
@media (max-height: 620px) and (min-width: 700px) {
  .hero-intro { align-items: center; padding: 90px 0 24px; }
  .hero-morph .hero-copy { max-width: 340px; }
  .hero-morph .hero-title { font-size: 40px; }
  .hero-morph .hero-sub { font-size: 14px; margin-top: 16px; }
  .hero-morph .hero-form { margin-top: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-morph .hero-media, .hero-morph .hero-portrait { will-change: auto; }
}
