/* A full-stage drawing surface: swinging never clips against a small widget. */
.instagram-lanyard { position: absolute; inset: 0; z-index: 4; pointer-events: none; transition: opacity .3s; }
.instagram-lanyard__canvas, .lanyard-wrapper { width: 100%; height: 100%; }
.instagram-lanyard__canvas, .instagram-lanyard canvas { pointer-events: none !important; }
.instagram-lanyard__touch-target { position: absolute; right: 100px; top: 130px; width: 280px; height: 390px; touch-action: none; pointer-events: auto; }
.instagram-lanyard__fallback { position: absolute; top: 190px; right: 150px; width: 180px; transform: rotate(3deg); border-radius: 12px; box-shadow: 0 12px 22px #0003; pointer-events: auto; }
.instagram-lanyard__fallback::before { content: ''; position: absolute; width: 24px; height: 200px; bottom: calc(100% - 4px); left: calc(50% - 12px); background: #111; }
.instagram-lanyard__fallback img { display: block; width: 100%; height: auto; border-radius: inherit; }
.instagram-lanyard[data-ready='true'] .instagram-lanyard__fallback:not(:focus-visible) { width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
.instagram-lanyard:has(.instagram-lanyard__fallback:focus-visible) .instagram-lanyard__canvas { visibility: hidden; }
.is-animated[data-phase='expand'] .instagram-lanyard { opacity: 0; visibility: hidden; }
.is-animated .scroll-expand__overlay { right: 370px; max-width: 1150px; }
@media (min-width: 901px) and (max-width: 1200px) {
  .scroll-expand__contact-grid { gap: 26px; grid-template-columns: 1fr 1.4fr; }
  .scroll-expand__contact-grid > :nth-child(3) { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .instagram-lanyard__touch-target { right: 5px; top: 20px; width: 190px; height: 240px; }
  .instagram-lanyard__fallback { width: 90px; top: 45px; right: 55px; }
  .is-animated .scroll-expand__overlay { right: var(--se-gutter); }
  .is-animated .scroll-expand__eyebrow, .is-animated .scroll-expand__overlay h2 { max-width: calc(100% - 155px); }
  .is-animated .scroll-expand__contact-grid { margin-top: 90px; }
}
@media (prefers-reduced-motion: reduce) { .instagram-lanyard { transition: none; } }

.scroll-expand:not(.is-animated) .instagram-lanyard { height: min(100svh, 850px); bottom: auto; }

@media (max-width: 700px) {
  .is-animated .scroll-expand__eyebrow,
  .is-animated .scroll-expand__overlay h2 { max-width: calc(100% - 112px); }
  .is-animated .scroll-expand__contact-grid { margin-top: 0; }
  .instagram-lanyard__touch-target { right: 8px; top: 16px; width: 112px; height: 170px; }
  .instagram-lanyard__fallback { top: 42px; right: 24px; width: 76px; }
}
