/* A small scroll dial, using the original NAVEE cutout. No idle animation. */
.scroll-journey { position: fixed; z-index: 30; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); width: 64px; height: 64px; transform: translateX(-50%); color: #182a46; }
.scroll-journey::before { content: ''; position: absolute; z-index: -1; pointer-events: none; width: 280px; height: 110px; left: 50%; bottom: -24px; transform: translateX(-50%); background: radial-gradient(ellipse at 50% 100%, rgb(0 180 235 / 18%), rgb(114 148 184 / 9%) 43%, transparent 73%); }
.journey-dial { position: relative; display: grid; place-items: center; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 50%; background: linear-gradient(145deg, #fff, #e9eff7); color: #155caa; box-shadow: 0 3px 12px rgb(24 42 70 / 13%), inset 0 0 0 1px rgb(255 255 255 / 85%); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: box-shadow .25s ease, background .25s ease; }
.journey-ring { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke-width: 2.3; transform: rotate(-90deg); pointer-events: none; }
.journey-ring-track { stroke: #d5e0ee; }
.journey-ring-fill { stroke: #155caa; stroke-dasharray: 100; stroke-dashoffset: 100; stroke-linecap: round; }
.journey-rider { display: block; width: 51px; height: 51px; transition: opacity .2s ease, transform .3s ease; }
.journey-rider img { display: block; width: 100%; height: 100%; object-fit: contain; }
.journey-arrow { position: absolute; width: 23px; height: 23px; stroke: currentColor; fill: none; stroke-width: 1.7; transform: translateY(5px) rotate(-90deg); opacity: 0; transition: opacity .2s ease, transform .3s ease; }
.journey-tip { position: absolute; bottom: calc(100% + 9px); left: 50%; transform: translate(-50%, 4px); display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 8px; background: #182a46; color: #f7f9fc; font-size: 11px; line-height: 1.3; font-weight: 500; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.journey-tip span { color: #a5dff0; font-variant-numeric: tabular-nums; }
.journey-dial:focus-visible { outline: 2px solid #155caa; outline-offset: 4px; }
.journey-dial:focus-visible .journey-rider { opacity: 0; transform: translateY(-3px); }
.journey-dial:focus-visible .journey-arrow { opacity: 1; transform: translateY(0) rotate(-90deg); }
.journey-dial:focus-visible .journey-tip { opacity: 1; transform: translate(-50%, 0); }
@media (hover: hover) and (pointer: fine) {
  .journey-dial:hover { box-shadow: 0 5px 18px rgb(21 92 170 / 20%), inset 0 0 0 1px #fff; }
  .journey-dial:hover .journey-rider { opacity: 0; transform: translateY(-3px); }
  .journey-dial:hover .journey-arrow { opacity: 1; transform: translateY(0) rotate(-90deg); }
  .journey-dial:hover .journey-tip { opacity: 1; transform: translate(-50%, 0); }
}
html.shop-modal-open .scroll-journey, body:has(#menu-toggle[aria-expanded='true']) .scroll-journey { visibility: hidden; pointer-events: none; }
html.has-scroll-journey .site-footer { padding-bottom: 94px; }
@media (prefers-reduced-motion: reduce) { .journey-dial, .journey-rider, .journey-arrow, .journey-tip { transition: none; } }

/* Centred labels keep both short and wrapped category names balanced. */
.browse-tile > span { display: grid; grid-template-columns: 20px minmax(0, 1fr) 20px; gap: 8px; text-align: center; min-height: 54px; }
.browse-tile .category-label { grid-column: 2; text-wrap: balance; }
.browse-tile > span > svg { grid-column: 3; justify-self: end; }

/* Frame-synced canvas avoids disappearing native video layers in embedded browsers. */
.n6-opening-loop, .n6-loop-frame { position: absolute; left: -17%; top: -17%; width: 134%; height: 134%; max-width: none; object-fit: contain; opacity: 0; pointer-events: none; }
.has-opening-loop .n6-loop-frame { opacity: 1; }
.has-opening-loop .spotlight-product-image { opacity: 0; }

/* One Novatel story replaces the repeated product carousel and company paragraph. */
.novatel-story { position: relative; isolation: isolate; overflow: hidden; padding: 92px 0 38px; color: #f7f9fc; background: #101f35; font-family: 'Novatel Support Plex', Arial, sans-serif; }
.novatel-story::before { content: ''; position: absolute; z-index: -1; width: 760px; height: 760px; right: -210px; top: -180px; border-radius: 50%; background: radial-gradient(circle, #155caa2b, transparent 68%); pointer-events: none; }
.story-layout { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(30px, 5vw, 80px); }
.story-eyebrow { font-size: 14px; color: #91b6d6; margin-bottom: 20px; }
.story-copy h2 { font-size: clamp(36px, 4.3vw, 62px); font-weight: 400; line-height: 1.08; letter-spacing: -.035em; }
.story-copy h2 em { color: #91b6d6; font-style: normal; }
.story-description { max-width: 500px; margin-top: 24px; color: #b9cadd; font-size: 17px; line-height: 1.75; }
.story-tabs { display: flex; gap: 28px; margin-top: 34px; border-bottom: 1px solid #35475e; }
.story-tabs button { min-height: 46px; padding: 0 0 13px; color: #a6bad0; font-size: 16px; border-bottom: 2px solid transparent; }
.story-tabs button[aria-selected='true'] { color: #fff; border-color: #5cb6e4; }
.story-panel { padding-top: 24px; min-height: 202px; }
.story-panel h3 { font-size: 22px; font-weight: 500; letter-spacing: -.01em; }
.story-panel p { max-width: 470px; margin-top: 9px; color: #b9cadd; font-size: 15px; line-height: 1.75; }
.story-panel .story-action { display: inline-flex; gap: 18px; align-items: center; min-height: 44px; margin-top: 17px; color: #f7f9fc; font-size: 15px; border-bottom: 1px solid #7797b3; }
.story-action svg { width: 18px; height: 18px; }
.novatel-story :is(button, a):focus-visible { outline-color: #bde4fc; }
.story-connection { position: relative; min-width: 0; width: 100%; aspect-ratio: 1.12; border-radius: 50%; background: radial-gradient(ellipse at 50% 40%, #155caa21, transparent 67%); }
.story-connection::before, .story-connection::after { content: ''; position: absolute; inset: 5% 0 0; border: 1px solid #7294b821; border-radius: 50%; transform: rotate(-16deg) scaleY(.72); }
.story-connection::after { inset: 0 -10% 0; transform: rotate(24deg) scaleY(.7); }
.story-novatel { position: absolute; top: 16%; left: 50%; width: 64%; transform: translateX(-50%); z-index: 1; }
.story-novatel img { width: 100%; height: auto; }
.story-bridge { position: absolute; inset: 0; width: 100%; height: 100%; stroke: #5faee0; stroke-width: 1.25; fill: none; opacity: .65; }
.story-bridge path { stroke-dasharray: 1; }
.story-partners { position: absolute; bottom: 18%; left: 0; width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; z-index: 1; }
.story-partner { display: flex; align-items: center; justify-content: center; padding: 18px 16px; min-width: 0; height: 72px; border: 1px solid #dde8f0; background: #f7f9fc; border-radius: 12px; box-shadow: 0 15px 30px #0002; }
.story-partner img { width: 100%; max-width: 110px; max-height: 33px; object-fit: contain; }
.story-partner:nth-child(2) img { max-width: 98px; }
.story-caption { position: absolute; bottom: 6%; width: 100%; text-align: center; font-size: 12px; color: #91a9c1; }
.story-foot { display: flex; justify-content: space-between; gap: 16px; padding-top: 27px; margin-top: 38px; border-top: 1px solid #35475e; color: #91a9c1; font-size: 13px; }
@media (prefers-reduced-motion: no-preference) {
  html:not([data-motion='off']) .novatel-story.is-in-view .story-bridge path { animation: story-connect 1.5s ease-out both; }
  html:not([data-motion='off']) .novatel-story.is-in-view .story-partner { animation: story-arrive .8s .3s ease-out both; }
  html:not([data-motion='off']) .novatel-story.is-in-view .story-partner:nth-child(2) { animation-delay: .45s; }
  html:not([data-motion='off']) .novatel-story.is-in-view .story-partner:nth-child(3) { animation-delay: .6s; }
  .story-action svg { transition: transform .25s ease; }
  .story-action:hover svg { transform: translate(3px, -3px); }
}
@keyframes story-connect { from { stroke-dashoffset: 1; opacity: .1; } to { stroke-dashoffset: 0; opacity: 1; } }
@keyframes story-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 850px) {
  .story-layout { grid-template-columns: 1fr; gap: 10px; }
  .story-connection { max-width: 560px; margin-inline: auto; }
  .story-panel { min-height: 190px; }
  .novatel-story { padding-top: 56px; }
  .story-foot { margin-top: 20px; }
}
@media (max-width: 600px) {
  .scroll-journey { width: 52px; height: 52px; bottom: max(8px, env(safe-area-inset-bottom)); }
  .journey-rider { width: 42px; height: 42px; }
  .scroll-journey::before { width: 220px; height: 88px; }
  .browse-tile > span { grid-template-columns: 1fr; align-items: start; }
  .browse-tile .category-label { grid-column: 1; }
  .browse-tile > span > svg { display: none; }
  .story-copy h2 { font-size: clamp(35px, 10vw, 49px); }
  .story-description { font-size: 16px; }
  .story-partner { padding: 12px; height: 57px; border-radius: 9px; }
  .story-partners { gap: 9px; }
  .story-caption { font-size: 11px; }
  .story-foot { flex-direction: column; gap: 7px; }
}
@media print {
  .scroll-journey, .n6-opening-loop, .n6-loop-frame { display: none !important; }
  .has-opening-loop .spotlight-product-image { opacity: 1; }
  html.has-scroll-journey .site-footer { padding-bottom: 0; }
}

/* Square device geometry keeps the display mask aligned at every card size. */
.shop-product-card .bubble-preview { position: relative; display: block; flex: 1 1 auto; width: 100%; height: 100%; min-width: 0; min-height: 0; }
.bubble-device { position: absolute; display: block; left: 50%; top: 50%; width: var(--bubble-size, 100%); height: var(--bubble-size, 100%); transform: translate(-50%, -50%); }
.shop-product-card .product-image-button .bubble-device img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; mix-blend-mode: normal; transform: none !important; transition: none; }
.bubble-screen { position: absolute; left: 19.2%; top: 19.5%; width: 60.8%; height: 60.8%; border-radius: 50%; overflow: hidden; isolation: isolate; pointer-events: none; }
.shop-product-card .product-image-button .bubble-screen .bubble-photo { object-fit: cover; opacity: 0; animation: bubble-photo-cycle 6.6s ease-in-out infinite; animation-play-state: paused; }
.bubble-preview.is-playing .bubble-screen .bubble-photo { animation-play-state: running; }
.bubble-preview.is-disabled .bubble-screen .bubble-photo { animation: none; opacity: 0; }
.shop-product-card .product-image-button .bubble-screen .bubble-photo-person { animation-name: bubble-portrait-cycle; }
@keyframes bubble-photo-cycle { 0%, 25.76%, 100% { opacity: 0; } 33.33%, 66.67% { opacity: 1; } 74% { opacity: 0; } }
@keyframes bubble-portrait-cycle { 0%, 59.1%, 100% { opacity: 0; } 66.67%, 92.42% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) { .bubble-preview .bubble-screen .bubble-photo { animation: none !important; opacity: 0 !important; } }
.journey-ring-tip { fill: #00b4eb; stroke: none; }
