/* Additional art direction for the isolated local preview. */
body.motion-preview .motion-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  column-gap: 36px;
  min-height: 740px;
  padding: 72px 0 32px;
  overflow: visible;
}
.motion-preview .motion-hero-copy { position: relative; z-index: 2; align-self: center; min-width: 0; }
.motion-preview .motion-hero .eyebrow { font-size: 10px; letter-spacing: .1em; margin-bottom: 32px; }
.motion-preview .motion-hero h1 { position: relative; z-index: 1; margin: 0; font-size: clamp(52px, 6.55vw, 94px); line-height: .99; letter-spacing: -.065em; max-width: 740px; }
.motion-title-line { display: block; overflow: clip; padding: 0 .06em .1em 0; margin-bottom: -.1em; }
.motion-title-line > span { display: block; }
.motion-preview .motion-hero .hero-bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; margin: 34px 0 0; }
.motion-preview .motion-hero .hero-bottom p { max-width: 410px; font-size: 16px; line-height: 1.65; }
.motion-preview .motion-hero .cta { padding: 17px 22px; min-height: 54px; }
.motion-preview .motion-hero .hero-foot { grid-column: 1 / -1; position: relative; z-index: 2; align-self: end; margin-top: 62px; padding-top: 25px; border-top: 1px solid var(--line); }
.motion-preview .motion-hero-stage { position: relative; align-self: center; height: 480px; min-width: 0; isolation: isolate; }
.motion-preview .motion-hero .hero-art { position: absolute; z-index: -2; width: 320px; height: 320px; top: -18px; right: -20px; opacity: .11; pointer-events: none; }
.motion-preview .motion-hero .hero-art svg { width: 100%; height: 100%; }
.motion-orbit { position: absolute; z-index: -3; inset: 40px 10px 50px 35px; border: 1px solid var(--line); border-radius: 50%; transform: rotate(-28deg); }
.motion-device { position: absolute; overflow: hidden; background: #fff; border: 1px solid #151515; box-shadow: 0 20px 45px #00000026; will-change: transform; }
.motion-device img { display: block; width: 100%; height: auto; }
.motion-device-system { width: 91%; left: -3%; top: 48px; z-index: 2; transform: rotate(-5deg); border-radius: 5px; }
.motion-device-web { width: 77%; right: -2%; top: 225px; z-index: 3; transform: rotate(5deg); border-radius: 5px; }
.motion-browser-bar { display: flex; gap: 4px; height: 25px; padding: 0 10px; align-items: center; color: #777; background: #f0efec; border-bottom: 1px solid #d6d4d0; }
.motion-browser-bar i { display: block; flex: 0 0 4px; width: 4px; height: 4px; background: #bdb8b3; border-radius: 50%; }
.motion-browser-bar span { margin-left: 7px; font-size: 8px; letter-spacing: .015em; line-height: 1; white-space: nowrap; }
.motion-device-app { width: 110px; height: 234px; left: -2%; bottom: 2px; z-index: 4; padding: 5px; background: #171717; border: 2px solid #383838; border-radius: 19px; transform: rotate(-9deg); box-shadow: 0 18px 32px #0004; }
.motion-device-app img { width: 100%; height: 100%; border-radius: 12px; object-fit: cover; object-position: top; }
.motion-phone-speaker { position: absolute; top: 7px; left: 37%; width: 26%; height: 4px; border-radius: 3px; background: #111; z-index: 2; }
.motion-preview #kruger-case { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 64px; align-items: center; }
.motion-case-visual { position: relative; min-width: 0; padding: 28px 24px 100px 0; }
.motion-case-visual::before { position: absolute; content: ''; inset: 0 8% 40px 5%; background: var(--panel); border-radius: 2px; transform: rotate(-4deg); z-index: -1; }
.motion-preview #kruger-case .shot { position: relative; width: 100%; aspect-ratio: 1.88; padding: 0; border: 1px solid var(--line); border-radius: 3px; background: #fff; box-shadow: 0 14px 28px #0002; }
.motion-preview #kruger-case .shot img { object-fit: contain; }
.motion-preview #kruger-case .expand { top: 14px; right: 14px; bottom: auto; }
.motion-case-companion { position: absolute; right: 0; bottom: 14px; z-index: 2; width: 62%; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 3px; background: #fff; box-shadow: 0 12px 30px #0003; transform: rotate(4deg); pointer-events: none; }
.motion-case-companion img { display: block; width: 100%; height: auto; }
.motion-preview #kruger-case > .project-copy { grid-column: auto; }
.motion-preview #kruger-case .project-copy h3 { font-size: clamp(29px, 2.65vw, 40px); line-height: 1.08; letter-spacing: -.045em; margin-block: 16px 20px; }
.motion-preview #kruger-case .project-number { margin: 0; font-size: 10px; }
.motion-preview .work { padding-top: 96px; }
.motion-preview .work .section-top { margin-bottom: 60px; }
.motion-preview .about { padding-block: 120px; }
.motion-preview .contact { padding-block: 100px 112px; }
.motion-preview .contact h2 { font-size: clamp(52px, 6.2vw, 92px); line-height: 1.02; letter-spacing: -.055em; }
.motion-preview .contact-grid { gap: 70px; align-items: start; }
.motion-preview .contact-grid > div { padding-top: 9px; }
.motion-preview .motion-footer-shell footer { flex-wrap: wrap; column-gap: 24px; row-gap: 18px; padding-block: 30px; }
.motion-credit { flex-basis: 100%; font-size: 11px; color: var(--muted); text-align: right; }
.motion-credit:hover { color: var(--accent); }
@media (min-width: 1550px) {
  .motion-preview .motion-hero h1 { font-size: 98px; }
}
@media (max-width: 1100px) {
  body.motion-preview .motion-hero { gap: 24px; min-height: 680px; padding-top: 56px; }
  .motion-preview .motion-hero .eyebrow { max-width: 330px; line-height: 1.6; }
  .motion-preview .motion-hero-stage { height: 420px; }
  .motion-device-web { top: 205px; }
  .motion-device-app { width: 96px; height: 204px; bottom: 5px; }
  .motion-preview #kruger-case { gap: 40px; }
  .motion-preview .contact-grid { gap: 36px; }
}
@media (max-width: 880px) {
  body.motion-preview .motion-hero { grid-template-columns: 1fr; min-height: 0; padding-top: 48px; gap: 0; }
  .motion-preview .motion-hero h1 { font-size: clamp(57px, 10.2vw, 84px); max-width: 690px; }
  .motion-preview .motion-hero .eyebrow { max-width: none; margin-bottom: 25px; }
  .motion-preview .motion-hero .hero-bottom { max-width: 640px; margin-top: 26px; flex-direction: row; align-items: center; gap: 26px; }
  .motion-preview .motion-hero .hero-bottom p { flex: 1; font-size: 15px; }
  .motion-preview .motion-hero .hero-bottom .cta { flex-shrink: 0; font-size: 13px; }
  .motion-preview .motion-hero-stage { width: 82%; height: 430px; justify-self: center; margin-top: 44px; }
  .motion-device-system { top: 28px; }
  .motion-device-web { top: 210px; width: 74%; }
  .motion-device-app { width: 105px; height: 224px; left: -5%; bottom: 5px; }
  .motion-preview .motion-hero .hero-foot { margin-top: 20px; }
  .motion-preview #kruger-case { grid-template-columns: 1fr; gap: 30px; }
  .motion-case-visual { width: 100%; max-width: 800px; padding-bottom: 135px; }
  .motion-preview #kruger-case > .project-copy { max-width: 650px; }
  .motion-preview .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .motion-preview .contact-grid > div { max-width: 650px; }
}
@media (max-width: 600px) {
  .motion-preview .motion-hero h1 { font-size: clamp(43px, 12.4vw, 72px); line-height: 1.02; letter-spacing: -.065em; }
  .motion-preview .motion-hero .eyebrow { font-size: 9px; letter-spacing: .04em; }
  .motion-preview .motion-hero .hero-bottom { flex-direction: column; align-items: flex-start; gap: 23px; }
  .motion-preview .motion-hero .hero-bottom p { max-width: 400px; font-size: 15px; }
  .motion-preview .motion-hero .hero-bottom .cta { font-size: 13px; min-height: 50px; }
  .motion-preview .motion-hero-stage { width: 94%; height: clamp(285px, 79vw, 420px); margin-top: 42px; }
  .motion-device-system { width: 92%; top: 20px; left: 0; }
  .motion-device-web { top: 46%; right: 0; width: 78%; }
  .motion-device-app { width: 25%; height: 59%; left: 0; bottom: 5%; border-radius: 15px; padding: 4px; }
  .motion-device-app img { border-radius: 10px; }
  .motion-browser-bar { height: 19px; padding-inline: 7px; }
  .motion-browser-bar span { font-size: 6px; }
  .motion-browser-bar i { width: 3px; height: 3px; flex-basis: 3px; }
  .motion-preview .motion-hero .hero-art { width: 210px; height: 210px; top: -15px; right: -8px; }
  .motion-preview .motion-hero .hero-foot { gap: 16px; align-items: flex-start; font-size: 9px; line-height: 1.5; margin-top: 18px; }
  .motion-preview .motion-hero .hero-foot > * { max-width: 50%; }
  .motion-preview .motion-hero .hero-foot a { text-align: right; }
  .motion-preview .work { padding-top: 66px; }
  .motion-preview .work .section-top { margin-bottom: 32px; }
  .motion-case-visual { padding: 20px 16px 85px 0; }
  .motion-case-companion { bottom: 8px; width: 65%; }
  .motion-preview #kruger-case .project-copy h3 { font-size: 34px; }
  .motion-preview .about { padding-block: 75px; }
  .motion-preview .contact { padding-block: 64px 72px; }
  .motion-preview .contact h2 { font-size: clamp(43px, 11vw, 66px); }
  .motion-credit { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .motion-device { will-change: auto; }
}
