.hero-prepare body.spatial-layout.story-v7:not(.motion-off) .opening .opening-top { transform: translateY(-35px); opacity: .85; }
.hero-prepare body.spatial-layout.story-v7:not(.motion-off) .opening .word-left { transform: translate3d(-15vw, 5svh, 0) rotate(-5deg); opacity: .08; }
.hero-prepare body.spatial-layout.story-v7:not(.motion-off) .opening .word-right { transform: translate3d(15vw, -5svh, 0) rotate(5deg); opacity: .08; }
/* Keep only the illustration pending until its first 3D frame, or the text fallback, is ready. */
.hero-prepare body.spatial-layout.story-v7:not(.motion-off):not(.graphics-ready) .opening .giant-word { visibility: hidden; }
.story-v7 .marketing .section-copy { max-width: 39%; }
.marketing-shape-anchor { position: absolute; left: 48%; top: 68%; width: 0; height: 0; }
@media(min-width:1001px) { .marketing-shape-anchor { top: 54%; } }
@media(min-width:1001px) and (min-height:720px) and (max-height:850px) { .marketing-shape-anchor { top: 58%; } }
.marketing-art { position: absolute; left: 59%; right: 4%; top: 16%; bottom: 15%; perspective: 1300px; }
.direct-search,.direct-network { position: absolute; margin: 0; width: 95%; max-width: calc(560px * var(--scene-scale, 1)); }
.direct-search { top: 0; left: 0; }
.direct-network { bottom: 0; right: 0; width: 90%; max-width: calc(500px * var(--scene-scale, 1)); }
.direct-format { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 calc(10px * var(--scene-scale, 1)); font-size: calc(14px * var(--scene-scale, 1)); line-height: 1.3; }
.direct-format>span { color: #697180; font-size: .85em; }
.direct-search-surface,.direct-network-surface { background: #fff; border: 1px solid #e3e6ec; border-radius: calc(16px * var(--scene-scale, 1)); box-shadow: 0 14px 44px #172d5510; overflow: hidden; font-family: Arial,sans-serif; }
.direct-query { display: flex; align-items: center; gap: 10px; padding: calc(10px * var(--scene-scale, 1)) calc(16px * var(--scene-scale, 1)); color: #51565e; background: #f6f6f7; border-bottom: 1px solid #e9eaee; font-size: calc(14px * var(--scene-scale, 1)); line-height: 1.2; }
.direct-query svg { width: 16px; height: 16px; fill: none; stroke: #7c8088; stroke-width: 1.7; flex-shrink: 0; }
.direct-search-result { padding: calc(16px * var(--scene-scale, 1)); }
.direct-site { display: flex; align-items: center; gap: 8px; margin: 0; font-size: calc(13px * var(--scene-scale, 1)); line-height: 1.25; color: #202124; }
.direct-domain { display: block; color: #74777d; font-size: .85em; }
.direct-favicon { display: grid; place-items: center; flex: 0 0 auto; width: calc(28px * var(--scene-scale, 1)); height: calc(28px * var(--scene-scale, 1)); background: #f2e9df; color: #785640; border-radius: 50%; font-size: 17px; }
.direct-ad-label { margin-left: auto; color: #74777d; font-size: .85em; }
.direct-search h3 { margin: calc(10px * var(--scene-scale, 1)) 0 calc(8px * var(--scene-scale, 1)); color: #1a0dab; font: 400 calc(22px * var(--scene-scale, 1))/1.2 Arial,sans-serif; letter-spacing: -.015em; }
.direct-description { margin: 0; font: 400 calc(15px * var(--scene-scale, 1))/1.4 Arial,sans-serif; color: #34363b; }
.direct-sitelinks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: calc(12px * var(--scene-scale, 1)); color: #1a0dab; font-size: calc(14px * var(--scene-scale, 1)); line-height: 1.2; }
.direct-network-surface { display: grid; grid-template-columns: 42% 1fr; min-height: calc(185px * var(--scene-scale, 1)); }
.direct-creative { position: relative; min-height: 100%; }
.direct-creative img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.direct-image-label { position: absolute; top: 10px; left: 10px; padding: 3px 6px; background: #fffef0eb; color: #4d4940; border-radius: 4px; font-size: calc(10px * var(--scene-scale, 1)); }
.direct-network-copy { display: flex; flex-direction: column; gap: calc(10px * var(--scene-scale, 1)); padding: calc(16px * var(--scene-scale, 1)); }
.direct-network-copy .direct-site { display: block; font-size: calc(12px * var(--scene-scale, 1)); }
.direct-network h3 { margin: 0; font: 600 calc(20px * var(--scene-scale, 1))/1.2 Arial,sans-serif; letter-spacing: -.02em; }
.direct-network .direct-description { font-size: calc(14px * var(--scene-scale, 1)); }
.direct-cta { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding: calc(10px * var(--scene-scale, 1)) calc(12px * var(--scene-scale, 1)); background: #ffdd60; border-radius: 7px; font-size: calc(13px * var(--scene-scale, 1)); line-height: 1.2; color: #24221b; }
.story-v7 .marketing .small-copy { max-width: 94%; }
.story-v7 .connections .section-copy { max-width: 37%; }
.story-v7 .connections .paper-top { letter-spacing: 0; }
.spatial-layout.story-v7 .closing h2 { max-width: 74%; font-size: clamp(42px, 5vw, calc(100px * var(--scene-scale, 1))); }
.story-v7 .whole-chain { flex-wrap: wrap; }
.story-v7 .story-nav { gap: 20px; }
@media(min-width:801px) and (max-height:719px) {
  .story-v7 .marketing .section-copy { top: 16%; }
  .story-v7 .marketing .body-copy { font-size: 22px; }
  .story-v7 .marketing .small-copy { font-size: 20px; }
  .marketing-art { top: 17%; bottom: 16%; }
  .story-v7 .story-nav { gap: 16px; font-size: 16px; }
}
@media(min-width:801px) and (max-height:780px) {
  .direct-format { font-size: 13px; margin-bottom: 8px; }
  .direct-query { padding: 8px 12px; font-size: 13px; }
  .direct-search-result,.direct-network-copy { padding: 12px; }
  .direct-search h3 { font-size: 18px; margin-block: 8px 6px; }
  .direct-description,.direct-network .direct-description { font-size: 13px; }
  .direct-sitelinks { font-size: 13px; margin-top: 8px; }
  .direct-network h3 { font-size: 18px; }
  .direct-network-copy { gap: 8px; }
  .direct-network .direct-domain { display: none; }
  .direct-cta { padding: 8px 10px; font-size: 12px; }
}
@media(max-width:800px) {
  .story-v7 .marketing .section-copy { max-width: none; }
  .marketing-art { left: 6%; right: 6%; top: 39%; bottom: 11%; overflow: auto; }
  .direct-search,.direct-network { position: relative; inset: auto; width: 100%; max-width: none; }
  .direct-network { margin-top: 24px; }
  .direct-search h3 { font-size: 19px; }
  .direct-network h3 { font-size: 18px; }
  .direct-format>span { font-size: 11px; }
  .story-v7 .story-nav { gap: 6px; font-size: 12px; }
  .story-v7 .whole-chain { font-size: 18px; }
}
