/* Motion enhances the static artwork; it never controls page scrolling. */
.hero .hero-art img { transform: none; transition: none; }
.hero .micro a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.hero .micro a:hover { color: var(--ink); }
@media (min-width:761px) {
  .hero .hero-art { top: 82px; }
  .hero .hero-art img { object-fit: contain; object-position: right center; }
}
.hero .depth-scene,
.hero .depth-backdrop,
.hero .depth-arrival,
.hero .depth-foreground { position: absolute; inset: 0; }
.hero .depth-scene { visibility: hidden; pointer-events: none; }
.hero .depth-scene img { position: absolute; inset: 0; }
.hero .depth-foreground img { transform-origin: 0 0; transform: translate(16%, -2%) scale(.76); }
.hero.depth-ready .depth-scene { visibility: visible; }
.hero.depth-ready .hero-composite { visibility: hidden; }
.hero.depth-arriving .depth-arrival { animation: break-the-plane 1s cubic-bezier(.18,.72,.22,1) both; }
@keyframes break-the-plane {
  from { opacity: .2; transform: translate3d(30px,-8px,0) scale(.85); }
  48% { opacity: 1; }
  to { opacity: 1; transform: none; }
}
.hero .hero-copy { animation: none; }
.motion-ready:not(.motion-paused) .hero-copy > * { animation: copy-arrival 1s cubic-bezier(.2,.8,.2,1) both; }
.motion-ready:not(.motion-paused) .hero-copy > :nth-child(2) { animation-delay: .1s; }
.motion-ready:not(.motion-paused) .hero-copy > :nth-child(3) { animation-delay: .22s; }
.motion-ready:not(.motion-paused) .hero-copy > :nth-child(4) { animation-delay: .32s; }
.motion-ready:not(.motion-paused) .hero-copy > :nth-child(5) { animation-delay: .4s; }
@keyframes copy-arrival { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero h1 em { text-shadow: 0 0 64px #b6fb691b; }
.hero-bottom-label { display: flex; flex-direction: column; gap: 10px; }
.hero-bottom-label > span { font-size: .75rem; letter-spacing: .12em; display: block; }
.depth-replay {
  visibility: hidden;
  border: 0; padding: 3px 0; background: none; text-align: left;
  color: var(--lime); font-size: .875rem; cursor: pointer;
  width: fit-content; display: inline-flex; align-items: center; gap: 8px;
}
.hero.depth-ready .depth-replay { visibility: visible; }
.hero-bottom .depth-replay span { display: inline; }
.depth-replay > span:first-child { font-size: 1.25rem; transition: transform .5s; }
.depth-replay:hover > span:first-child { transform: rotate(-65deg); }
.depth-replay:disabled { opacity: .4; cursor: default; }
.header { background: #080b09f5; backdrop-filter: none; }
.feature-strip b { transition: color .35s, transform .35s; }
.feature-strip > span:hover b { color: var(--lime); transform: translateX(5px); }
.motion-ready .reveal { transition-duration: .95s; }
.control-card { overflow: hidden; }
.control-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(380px circle at 50% 20%, #b6fb6915, transparent 65%);
  transition: opacity .3s;
}
.control-card:hover::before { opacity: 1; }
.motion-ready .control-card.is-visible {
  transform: translateY(var(--card-lift,0px));
  transition: opacity .95s ease, transform .28s ease-out, background .35s;
}
.control-card:hover { --card-lift: -6px; }
.control-card > img { transition: transform .55s cubic-bezier(.18,.7,.2,1); }
.control-card:hover > img { transform: translateY(-3px) scale(1.07); }
.hdr-art { overflow: hidden; }
.hdr-art img { transform: none; }
.screen-panel > img { transition: opacity .35s, transform .9s cubic-bezier(.2,.7,.2,1); }
@media (hover:hover) and (pointer:fine) {
  .screen-panel:hover > img { transform: scale(1.025); }
  .button.primary { box-shadow: 0 0 0 #b6fb6900; transition: transform .25s, background .25s, box-shadow .35s; }
  .button.primary:hover { box-shadow: 0 8px 38px #b6fb6926; }
}
::view-transition-old(screen-image) { animation: screen-out .4s ease both; }
::view-transition-new(screen-image) { animation: screen-in .7s cubic-bezier(.2,.7,.2,1) both; }
@keyframes screen-out { to { opacity: 0; transform: scale(.985); } }
@keyframes screen-in { from { opacity: 0; transform: scale(1.055); } to { opacity: 1; transform: none; } }
@media (max-width:760px) {
  .hero-stage { display: grid; grid-template-columns: minmax(0,1fr); }
  .hero-stage::after { display: none; }
  .hero .hero-copy { display: contents; }
  .hero .hero-copy > * { position: relative; z-index: 2; margin-inline: 24px; }
  .hero .hero-copy > .eyebrow { grid-row: 1; margin-top: 116px; margin-bottom: 18px; }
  .hero .hero-copy > h1 { grid-row: 2; margin-top: 0; margin-bottom: 12px; }
  .hero .hero-art { position: relative; grid-row: 3; inset: auto; z-index: 0; width: 145%; margin-left: -45%; height: clamp(270px,62vw,420px); }
  .hero .hero-copy > .hero-description { grid-row: 4; margin-top: 12px; margin-bottom: 0; }
  .hero .hero-copy > .actions { grid-row: 5; margin-top: 24px; margin-bottom: 14px; }
  .hero .hero-copy > .micro { grid-row: 6; margin-top: 0; margin-bottom: 26px; }
  .hero .depth-scene { transform: none; }
  .hero .depth-foreground { filter: none; }
  .hero-bottom-label > span { font-size: .6875rem; letter-spacing: .09em; }
  .hero .hero-bottom { row-gap: 20px; }
}
.motion-paused .depth-scene,
.motion-paused .depth-backdrop,
.motion-paused .depth-foreground,
.motion-paused .depth-arrival,
.motion-paused .hdr-art img,
.motion-paused .control-card,
.motion-paused .control-card img,
.motion-paused .screen-panel > img { transform: none !important; animation: none !important; }
.motion-paused .hero .depth-foreground img { transform: translate(16%, -2%) scale(.76) !important; }
@media (prefers-reduced-motion:reduce) {
  .hero .depth-scene, .hero .depth-backdrop, .hero .depth-foreground, .hero .depth-arrival,
  .hdr-art img, .control-card, .control-card img, .screen-panel > img { transform: none !important; animation: none !important; }
  .hero .depth-foreground img { transform: translate(16%, -2%) scale(.76) !important; }
}
