/* NUVIA / Air-inspired mega-menu presentation.
   Only Explore, Solutions and Studio dropdown contents are restyled.
   The nav layout, inline nav underline, CTAs and event handlers remain untouched. */
#nuvia-react-navigation .nv-navitem>.nv-menu.nv-menu--explore,
#nuvia-react-navigation .nv-navitem>.nv-menu.nv-menu--solutions,
#nuvia-react-navigation .nv-navitem>.nv-menu.nv-menu--studio{
  top:100%;left:var(--nuvi-menu-shift,-16px);
  padding-top:27px;min-width:0;z-index:120;
  filter:drop-shadow(0 20px 32px rgba(22,31,47,.11));
  transition:opacity .22s ease,transform .3s cubic-bezier(.22,.75,.2,1),visibility .22s;
}
/* Align wide dropdowns with the left edge of the nav's first title. */
#nuvia-react-navigation .nv-navitem:nth-child(2){--nuvi-menu-shift:-124px}
#nuvia-react-navigation .nv-navitem:nth-child(4){--nuvi-menu-shift:-326px}
#nuvia-react-navigation .nv-menu .nuvi-panel{
  display:grid;box-sizing:border-box;align-items:stretch;
  gap:20px;padding:20px;background:#fff;color:#17181b;
  border:1px solid rgba(225,227,231,.8);border-radius:17px;
  box-shadow:0 4px 18px rgba(17,30,49,.035);
  font:400 14px/1.4 Inter,ui-sans-serif,system-ui,sans-serif;
}
#nuvia-react-navigation .nv-menu--explore .nuvi-panel,
#nuvia-react-navigation .nv-menu--studio .nuvi-panel{
  width:min(800px,calc(100vw - 44px));min-height:427px;
  grid-template-columns:minmax(0,1.17fr) minmax(0,.94fr);
}
#nuvia-react-navigation .nv-menu--studio .nuvi-panel{min-height:410px}
#nuvia-react-navigation .nv-menu--solutions .nuvi-panel{
  width:min(1140px,calc(100vw - 44px));min-height:493px;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(242px,.92fr);
  gap:17px;padding:20px;
}
#nuvia-react-navigation .nuvi-panel-column,
#nuvia-react-navigation .nuvi-panel-picture,
#nuvia-react-navigation .nuvi-panel-feature{min-width:0}
#nuvia-react-navigation .nuvi-panel-column{padding:7px 0}
#nuvia-react-navigation .nuvi-panel-column--divided{
  border-left:1px solid rgba(35,42,57,.055);padding-left:17px;
}
#nuvia-react-navigation .nuvi-panel-group>h3{
  margin:0 0 15px 8px;padding:0;
  color:#74767e;font-size:12px;line-height:18px;font-weight:500;letter-spacing:.008em;
}
#nuvia-react-navigation .nuvi-panel-list{
  display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;
}
#nuvia-react-navigation .nuvi-panel-row{
  display:flex;align-items:center;min-height:60px;gap:12px;
  padding:5px 7px;background:transparent;border-radius:10px;
  color:#1c1c20;text-decoration:none;
  transition:background-color .2s ease;
}
#nuvia-react-navigation .nuvi-panel-row:hover,
#nuvia-react-navigation .nuvi-panel-row:focus-visible{background:#f5f6f8}
#nuvia-react-navigation .nuvi-panel-row:focus-visible{
  outline:2px solid #8fa6c7;outline-offset:-2px;
}
#nuvia-react-navigation .nuvi-panel-icon{
  display:grid;place-items:center;
  flex:0 0 54px;width:54px;height:54px;
  border-radius:9px;background:#f3f4f5;color:#171719;
  transition:background .22s ease,transform .22s cubic-bezier(.2,.7,.2,1);
}
#nuvia-react-navigation .nuvi-panel-row:hover .nuvi-panel-icon{
  background:#eceef0;transform:translateY(-1px);
}
#nuvia-react-navigation .nuvi-panel-icon svg{display:block;width:23px;height:23px}
#nuvia-react-navigation .nuvi-panel-copy{
  display:flex;flex-direction:column;min-width:0;gap:2px;
}
#nuvia-react-navigation .nuvi-panel-copy strong{
  display:block;font-size:14.5px;line-height:1.33;
  font-weight:500;color:#18181b;letter-spacing:-.018em;
}
#nuvia-react-navigation .nuvi-panel-copy small{
  display:block;font-size:12px;line-height:1.4;
  font-weight:400;color:#919298;white-space:normal;letter-spacing:-.012em;
}
#nuvia-react-navigation .nuvi-panel-picture{
  display:flex;align-items:stretch;
  border-left:1px solid rgba(35,42,57,.05);padding-left:20px;
}
#nuvia-react-navigation .nuvi-panel-picture-surface{
  flex:1;min-height:100%;border-radius:10px;
  background:#f2f3f5;box-shadow:inset 0 0 0 1px rgba(26,38,56,.02);
}
#nuvia-react-navigation .nuvi-panel-feature{
  display:flex;flex-direction:column;justify-content:center;
  padding:24px;border-radius:12px;background:#f5f5f6;
}
#nuvia-react-navigation .nuvi-panel-feature-text{padding:0}
#nuvia-react-navigation .nuvi-panel-feature-text>strong{
  display:block;font-weight:600;font-size:19px;
  line-height:1.27;letter-spacing:-.04em;color:#171719;
}
#nuvia-react-navigation .nuvi-panel-feature-text>p{
  margin:15px 0 18px;color:#37383b;font-size:13px;line-height:1.62;
}
#nuvia-react-navigation .nuvi-panel-feature-text>a{
  display:inline-flex;align-items:center;gap:9px;
  border:1px solid #222;border-radius:8px;padding:9px 13px;
  background:#fff;color:#161616;text-decoration:none;
  font-size:12px;font-weight:500;
  transition:background .2s ease,color .2s ease;
}
#nuvia-react-navigation .nuvi-panel-feature-text>a:hover,
#nuvia-react-navigation .nuvi-panel-feature-text>a:focus-visible{background:#171717;color:#fff}
@media(min-width:821px) and (max-width:1220px){
  #nuvia-react-navigation .nv-navitem:nth-child(2){--nuvi-menu-shift:-111px}
  #nuvia-react-navigation .nv-navitem:nth-child(4){--nuvi-menu-shift:-296px}
  #nuvia-react-navigation .nv-menu--solutions .nuvi-panel{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(208px,.85fr)
  }
  #nuvia-react-navigation .nv-menu--solutions .nuvi-panel-icon{
    width:45px;height:45px;flex-basis:45px
  }
  #nuvia-react-navigation .nv-menu--solutions .nuvi-panel-row{gap:7px}
}
@media(max-width:820px){
  #nuvia-react-navigation .nv-navitem>.nv-menu.nv-menu--explore,
  #nuvia-react-navigation .nv-navitem>.nv-menu.nv-menu--solutions,
  #nuvia-react-navigation .nv-navitem>.nv-menu.nv-menu--studio{
    position:fixed;top:44px;left:8px!important;width:calc(100vw - 16px);
    padding-top:18px;max-height:calc(100dvh - 64px);
    overflow-y:auto;filter:drop-shadow(0 10px 22px rgba(22,31,47,.12));
  }
  #nuvia-react-navigation .nv-menu .nuvi-panel{
    width:100%;gap:12px;padding:14px;border-radius:15px;
  }
  #nuvia-react-navigation .nv-menu--explore .nuvi-panel,
  #nuvia-react-navigation .nv-menu--studio .nuvi-panel{
    grid-template-columns:minmax(0,1fr) minmax(0,.82fr)
  }
  #nuvia-react-navigation .nv-menu--solutions .nuvi-panel{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  #nuvia-react-navigation .nv-menu--solutions .nuvi-panel-feature{
    grid-column:1/-1;display:flex;
    flex-direction:column;justify-content:center;
    padding:20px 22px;
  }
  #nuvia-react-navigation .nv-menu--solutions .nuvi-panel-feature-text>p{margin:8px 0 12px}
  #nuvia-react-navigation .nuvi-panel-icon{width:46px;height:46px;flex-basis:46px}
  #nuvia-react-navigation .nuvi-panel-row{min-height:56px}
}
@media(max-width:560px){
  #nuvia-react-navigation .nv-menu--explore .nuvi-panel,
  #nuvia-react-navigation .nv-menu--studio .nuvi-panel,
  #nuvia-react-navigation .nv-menu--solutions .nuvi-panel{
    grid-template-columns:minmax(0,1fr);min-height:0;
  }
  #nuvia-react-navigation .nuvi-panel-column--divided{
    border:0;padding-left:0;
  }
  #nuvia-react-navigation .nuvi-panel-picture{
    border:0;padding:0;min-height:122px;
  }
  #nuvia-react-navigation .nuvi-panel-picture-surface{min-height:122px}
  #nuvia-react-navigation .nv-menu--solutions .nuvi-panel-feature{
    grid-column:auto;min-height:160px;
  }
  #nuvia-react-navigation .nuvi-panel-list{gap:1px}
  #nuvia-react-navigation .nuvi-panel-group>h3{margin-bottom:6px}
  #nuvia-react-navigation .nuvi-panel-copy small{font-size:11.5px}
}
@media(prefers-reduced-motion:reduce){
  #nuvia-react-navigation .nuvi-panel-row,
  #nuvia-react-navigation .nuvi-panel-icon,
  #nuvia-react-navigation .nuvi-panel-feature-text>a{transition:none}
}

/* NUVIA — independent editorial art direction (inspired by design-editorial imagery,
   not by a packaging catalogue). Only the existing Explore and Studio image slots are affected.
   Photos: Unsplash License; source references retained in data-nuvi-art attributes. */
#nuvia-react-navigation .nuvi-editorial-art-stage{
  position:relative;isolation:isolate;overflow:hidden;
  background:linear-gradient(140deg,#fbd0ac 0%,#f2a3c3 38%,#889beb 73%,#53cbd1 100%);
}
#nuvia-react-navigation .nuvi-editorial-art-stack{
  display:block;position:absolute;inset:0;overflow:hidden;pointer-events:none;
}
#nuvia-react-navigation .nuvi-editorial-art-image{
  position:absolute;inset:0;display:block;width:100%;height:100%;
  object-fit:cover;object-position:center;
  opacity:0;transform:scale(1.035);
  transition:opacity .33s ease,transform .65s cubic-bezier(.22,.61,.36,1);
  will-change:opacity;pointer-events:none;
}
#nuvia-react-navigation .nuvi-editorial-art-image.nuvi-editorial-art-visible{
  opacity:1;transform:scale(1);
}
@media(prefers-reduced-motion:reduce){
  #nuvia-react-navigation .nuvi-editorial-art-image{transition:none;transform:none;will-change:auto}
}

/* NUVIA NAV ICONS — 18 pictograms, 18 restrained context-specific gestures.
   No interaction outside the dropdown rows is modified. */
#nuvia-react-navigation .nuvi-panel-row[data-nuvi-icon] .nuvi-panel-icon{
  overflow:hidden;
  transition:background-color .22s ease,transform .28s cubic-bezier(.22,.61,.36,1),box-shadow .28s ease;
}
#nuvia-react-navigation .nuvi-panel-row[data-nuvi-icon]:is(:hover,:focus-visible) .nuvi-panel-icon{
  transform:translateY(-2px);
  background-color:#eef0f3;
  box-shadow:0 3px 10px rgba(18,25,40,.035);
}
#nuvia-react-navigation .nuvi-panel-row[data-nuvi-icon] .nuvi-panel-icon svg{
  overflow:visible; transform-origin:center;
}
#nuvia-react-navigation .nuvi-panel-row[data-nuvi-icon] .nuvi-icon-motion,
#nuvia-react-navigation .nuvi-panel-row[data-nuvi-icon] .nuvi-icon-detail{
  transform-box:fill-box;transform-origin:center;
}
/* Animate inner strokes only, not the entire square icon tile. */
#nuvia-react-navigation .nuvi-panel-row[data-nuvi-icon="universe"]:is(:hover,:focus-visible) .nuvi-icon-motion{animation:nuvi-twinkle .55s ease both}
#nuvia-react-navigation .nuvi-panel-row[data-nuvi-icon="universe"]:is(:hover,:focus-visible) .nuvi-icon-detail{animation:nuvi-flash .62s ease .07s both}
#nuvia-react-navigation .nuvi-panel-row[data-nuvi-icon="creations"]:is(:hover,:focus-visible) .nuvi-icon-motion{animation:nuvi-fan .4s cubic-bezier(.2,.7,.2,1) both}
#nuvia-react-navigation .nuvi-panel-row[data-nuvi-icon="formats"]:is(:hover,:focus-visible) .nuvi-icon-motion{animation:nuvi-measure .45s ease both}
#nuvia-react-navigation .nuvi-panel-row[data-nuvi-icon="textures"]:is(:hover,:focus-visible) .nuvi-icon-motion{animation:nuvi-layer .45s cubic-bezier(.2,.7,.2,1) both}
#nuvia-react-navigation .nuvi-panel-row[data-nuvi-icon="textures"]:is(:hover,:focus-visible) .nuvi-icon-detail{animation:nuvi-layer-base .45s ease both}
#nuvia-react-navigation .nuvi-panel-row[data-nuvi-icon="experience"]:is(:hover,:focus-visible) .nuvi-icon-motion{animation:nuvi-heart .53s ease both}
#nuvia-react-navigation .nuvi-panel-row[data-nuvi-icon="restaurants"]:is(:hover,:focus-visible) .nuvi-icon-motion{animation:nuvi-steam .58s ease both}
#nuvia-react-navigation .nuvi-panel-row[data-nuvi-icon="hotel"]:is(:hover,:focus-visible) .nuvi-icon-motion{animation:nuvi-windows .53s ease both}
#nuvia-react-navigation .nuvi-panel-row[data-nuvi-icon="event"]:is(:hover,:focus-visible) .nuvi-icon-motion{animation:nuvi-confetti .55s cubic-bezier(.2,.7,.2,1) both}
#nuvia-react-navigation .nuvi-panel-row[data-nuvi-icon="groups"]:is(:hover,:focus-visible) .nuvi-icon-motion{animation:nuvi-awning .44s ease both}
#nuvia-react-navigation .nuvi-panel-row[data-nuvi-icon="print"]:is(:hover,:focus-visible) .nuvi-icon-motion{animation:nuvi-paper .46s ease both}
#nuvia-react-navigation .nuvi-panel-row[data-nuvi-icon="production"]:is(:hover,:focus-visible) .nuvi-icon-motion{animation:nuvi-stack .48s ease both}
#nuvia-react-navigation .nuvi-panel-row[data-nuvi-icon="stocks"]:is(:hover,:focus-visible) .nuvi-icon-motion{animation:nuvi-stock .45s ease both}
#nuvia-react-navigation .nuvi-panel-row[data-nuvi-icon="delivery"]:is(:hover,:focus-visible) .nuvi-icon-motion{animation:nuvi-route .53s ease both}
#nuvia-react-navigation .nuvi-panel-row[data-nuvi-icon="design"]:is(:hover,:focus-visible) .nuvi-icon-motion{animation:nuvi-pencil .48s ease both}
#nuvia-react-navigation .nuvi-panel-row[data-nuvi-icon="custom"]:is(:hover,:focus-visible) .nuvi-icon-motion{animation:nuvi-slider .46s ease both}
#nuvia-react-navigation .nuvi-panel-row[data-nuvi-icon="custom"]:is(:hover,:focus-visible) .nuvi-icon-detail{animation:nuvi-slider-reverse .46s ease both}
#nuvia-react-navigation .nuvi-panel-row[data-nuvi-icon="process"]:is(:hover,:focus-visible) .nuvi-icon-motion{animation:nuvi-node .48s ease both}
#nuvia-react-navigation .nuvi-panel-row[data-nuvi-icon="guide"]:is(:hover,:focus-visible) .nuvi-icon-motion{animation:nuvi-pages .51s ease both}
#nuvia-react-navigation .nuvi-panel-row[data-nuvi-icon="launch"]:is(:hover,:focus-visible) .nuvi-icon-motion{animation:nuvi-liftoff .53s cubic-bezier(.22,.61,.36,1) both}
#nuvia-react-navigation .nuvi-panel-row[data-nuvi-icon="launch"]:is(:hover,:focus-visible) .nuvi-icon-detail{animation:nuvi-exhaust .53s ease both}
@keyframes nuvi-twinkle{0%,100%{transform:scale(1) rotate(0)}47%{transform:scale(1.11) rotate(10deg)}}
@keyframes nuvi-flash{0%,100%{opacity:1;transform:scale(1)}45%{opacity:.54;transform:scale(.86)}}
@keyframes nuvi-fan{0%,100%{transform:translate(0,0) rotate(0)}55%{transform:translate(1px,-1.25px) rotate(5deg)}}
@keyframes nuvi-measure{0%,100%{transform:translateX(0)}50%{transform:translateX(1.4px)}}
@keyframes nuvi-layer{0%,100%{transform:translateY(0)}48%{transform:translateY(-2px)}}
@keyframes nuvi-layer-base{0%,100%{transform:translateY(0)}48%{transform:translateY(.8px)}}
@keyframes nuvi-heart{0%,100%{transform:scale(1)}33%{transform:scale(1.11)}66%{transform:scale(.96)}}
@keyframes nuvi-steam{0%,100%{transform:translateY(0);opacity:1}50%{transform:translateY(-2px);opacity:.64}}
@keyframes nuvi-windows{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.42;transform:scale(.94)}}
@keyframes nuvi-confetti{0%,100%{transform:translate(0,0) rotate(0)}48%{transform:translate(1px,-1.5px) rotate(7deg)}}
@keyframes nuvi-awning{0%,100%{transform:translateY(0)}45%{transform:translateY(1.2px)}}
@keyframes nuvi-paper{0%,100%{transform:translateY(0)}55%{transform:translateY(1.55px)}}
@keyframes nuvi-stack{0%,100%{transform:translateY(0)}45%{transform:translateY(-2px)}}
@keyframes nuvi-stock{0%,100%{transform:translateY(0)}50%{transform:translateY(-1.7px)}}
@keyframes nuvi-route{0%,100%{transform:rotate(0)}45%{transform:rotate(17deg)}}
@keyframes nuvi-pencil{0%,100%{transform:translate(0,0) rotate(0)}55%{transform:translate(1px,-1px) rotate(-6deg)}}
@keyframes nuvi-slider{0%,100%{transform:translateX(0)}50%{transform:translateX(2.2px)}}
@keyframes nuvi-slider-reverse{0%,100%{transform:translateX(0)}50%{transform:translateX(-1px)}}
@keyframes nuvi-node{0%,100%{transform:scale(1)}45%{transform:scale(1.25)}}
@keyframes nuvi-pages{0%,100%{transform:skewY(0)}50%{transform:skewY(-6deg)}}
@keyframes nuvi-liftoff{0%,100%{transform:translate(0,0)}52%{transform:translate(1.3px,-2px)}}
@keyframes nuvi-exhaust{0%,100%{opacity:1;transform:translate(0,0)}50%{opacity:.56;transform:translate(-.7px,1.1px)}}
@media (prefers-reduced-motion: reduce){
  #nuvia-react-navigation .nuvi-panel-row[data-nuvi-icon] .nuvi-icon-motion,
  #nuvia-react-navigation .nuvi-panel-row[data-nuvi-icon] .nuvi-icon-detail{
    animation:none!important;transform:none!important;
  }
  #nuvia-react-navigation .nuvi-panel-row[data-nuvi-icon] .nuvi-panel-icon{
    transition:none!important;
  }
}


/* NUVIA / Desktop Air-style subtle scale-in and faster menu response — 2026-10-31. */
@media (min-width:821px) {
  /* Respond faster than the historical 220–300ms dropdown motion.
     Leave placement to existing desktop rules, including homepage overrides. */
  #nuvia-react-navigation .nv-navitem > .nv-menu.nv-menu--explore,
  #nuvia-react-navigation .nv-navitem > .nv-menu.nv-menu--solutions,
  #nuvia-react-navigation .nv-navitem > .nv-menu.nv-menu--studio {
    transition:opacity .16s cubic-bezier(.22,.7,.2,1),
               transform .20s cubic-bezier(.22,1,.36,1),
               visibility 0s linear .16s;
  }
  #nuvia-react-navigation .nv-navitem[data-open="true"] > .nv-menu.nv-menu--explore,
  #nuvia-react-navigation .nv-navitem[data-open="true"] > .nv-menu.nv-menu--solutions,
  #nuvia-react-navigation .nv-navitem[data-open="true"] > .nv-menu.nv-menu--studio {
    transition:opacity .16s cubic-bezier(.22,.7,.2,1),
               transform .20s cubic-bezier(.22,1,.36,1),
               visibility 0s linear 0s;
  }
  /* Air-like micro zoom: only 1.6% growth.
     Animating the inner card avoids shifting its hover boundary or anchors. */
  #nuvia-react-navigation .nv-navitem > .nv-menu .nuvi-panel {
    transform-origin:top left;
    transform:translate3d(0,3px,0) scale(.984);
    transition:transform .25s cubic-bezier(.2,.8,.2,1);
  }
  #nuvia-react-navigation .nv-navitem[data-open="true"] > .nv-menu .nuvi-panel {
    transform:translate3d(0,0,0) scale(1);
  }
}
@media (min-width:821px) and (prefers-reduced-motion:reduce) {
  #nuvia-react-navigation .nv-navitem > .nv-menu.nv-menu--explore,
  #nuvia-react-navigation .nv-navitem > .nv-menu.nv-menu--solutions,
  #nuvia-react-navigation .nv-navitem > .nv-menu.nv-menu--studio,
  #nuvia-react-navigation .nv-navitem > .nv-menu .nuvi-panel {
    transition:none!important;
  }
  #nuvia-react-navigation .nv-navitem > .nv-menu .nuvi-panel {
    transform:none!important;
  }
}
