@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Instrument+Serif:ital@0;1&family=Outfit:wght@400;500;600;700&family=Syne:wght@500;600;700;800&display=swap");

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

.ipx-sec {
  --ipx-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

.ipx-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.ipx-kicker {
  margin-bottom: 18px !important;
}

.ipx-magnetic {
  will-change: transform;
  transition: transform 0.45s var(--ipx-ease), background-color 0.25s ease, color 0.25s ease;
}

.ipx-magnetic:hover {
  transform: translateY(-2px);
}

.ipx-mask {
  display: block;
  clip-path: inset(8% 8% 8% 8%);
  transition: clip-path 0.9s var(--ipx-ease), transform 1.1s var(--ipx-ease);
}

.ipx-sec.is-in .ipx-mask,
.ipb-page .ipx-mask {
  clip-path: inset(0 0 0 0);
}

.ipx-hero-still {
  min-height: 70vh;
  object-fit: cover;
}

.ipx-cinematic .ipb-section-inner,
.ipb-page .ipx-cinematic .ipb-sec-in {
  align-items: end;
  min-height: 82vh;
  padding-bottom: 48px;
}

.ipx-stage {
  position: relative;
  min-height: 520px;
  aspect-ratio: 4 / 5;
}
.ipx-stage .ipx-shot {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s var(--ipx-ease);
}
.ipx-stage .ipx-shot.is-on { opacity: 1; z-index: 1; }
.ipx-stage .ipx-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ipx-hot {
  cursor: pointer;
  opacity: 0.42;
  transition: opacity 0.35s ease, transform 0.35s var(--ipx-ease);
}

.ipx-hot.is-on,
.ipx-hot:hover {
  opacity: 1;
}

.ipx-sticky {
  align-self: start;
}

.ipx-bento-grid {
  display: grid !important;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-auto-rows: minmax(200px, auto);
  gap: 14px !important;
}

.ipx-bento-grid > .ipb-grid-cell:nth-child(1) {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.ipx-bento-grid > .ipb-grid-cell:nth-child(4) {
  grid-column: 2 / span 2;
}

.ipx-bento-hero,
.ipx-bento-hero .ipb-card {
  height: 100%;
}

.ipx-scene {
  position: relative;
  width: 100%;
  min-height: 320px;
  border-radius: inherit;
}

.ipx-scene canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.ipx-stat-lg .ipb-stat-v,
.ipx-telemetry .ipb-stat-v {
  font-size: clamp(64px, 10vw, 128px);
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.ipx-meter .ipb-progress-track {
  height: 3px !important;
  border-radius: 0 !important;
}

.ipx-drift-track {
  overflow: visible;
}

.ipx-drift-panel {
  min-width: min(72vw, 720px);
  flex: 0 0 min(72vw, 720px);
}

.ipx-quote p {
  margin: 0;
}

.ipx-quote footer {
  margin-top: 28px;
}

.ipx-plans .ipb-price {
  box-shadow: none !important;
  transform: none !important;
}

.ipx-marquee {
  overflow: hidden;
}

.ipx-marquee-track {
  display: inline-block;
  white-space: nowrap;
  animation: ipx-ticker 28s linear infinite;
}

.ipx-signal-form input,
.ipx-signal-form button {
  border-radius: 0;
}

.ipx-cursor {
  position: fixed;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border: 1px solid currentColor;
  border-radius: 50%;
  pointer-events: none;
  z-index: 80;
  mix-blend-mode: difference;
  transform: translate3d(-100px, -100px, 0);
  transition: width 0.25s var(--ipx-ease), height 0.25s var(--ipx-ease), margin 0.25s var(--ipx-ease);
}

.ipx-cursor.is-down {
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
}

.ipx-boot {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: #0c0c0b;
  color: #f3efe6;
  font-family: "Syne", sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 11px;
  pointer-events: none;
}

@keyframes ipx-ticker {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 1024px) {
  .ipx-bento-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ipx-bento-grid > .ipb-grid-cell:nth-child(1),
  .ipx-bento-grid > .ipb-grid-cell:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
  }
  .ipx-hero-still { min-height: 42vh; }
  .ipx-drift-panel {
    min-width: 100%;
    flex-basis: 100%;
  }
  .ipx-sticky { position: relative !important; top: auto !important; }
}

@media (max-width: 767px) {
  .ipx-bento-grid { grid-template-columns: 1fr; }
  .ipx-cinematic .ipb-section-inner,
  .ipb-page .ipx-cinematic .ipb-sec-in { min-height: 0; }
  .ipx-cursor { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ipx-marquee-track,
  .ipx-magnetic,
  .ipx-mask,
  .ipx-hot,
  .ipx-word {
    animation: none !important;
    transition: none !important;
    clip-path: none !important;
    transform: none !important;
  }
}
