/*
  Mobile-only finishing layer for the Auregon/Unik Ads build.
  Desktop rules are intentionally untouched.
*/

/* Centered, prominent brand loader. */
.loader{
  display:grid!important;
  grid-template-columns:1fr!important;
  grid-template-rows:1fr!important;
  place-items:center!important;
  padding:24px!important;
  background:
    radial-gradient(circle at 50% 42%,rgba(126,91,255,.28),transparent 30%),
    radial-gradient(circle at 50% 100%,rgba(82,111,255,.12),transparent 42%),
    #07070b!important;
}
.loader-brand{
  position:relative;
  z-index:1;
  grid-column:1!important;
  grid-row:1!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:17px!important;
  text-align:center!important;
}
.loader-brand:before{
  content:"";
  position:absolute;
  z-index:-1;
  width:154px;
  height:154px;
  border:1px solid rgba(167,139,255,.30);
  border-radius:50%;
  box-shadow:0 0 45px rgba(117,87,255,.16),inset 0 0 35px rgba(117,87,255,.10);
  animation:mobileLoaderPulse 2.2s ease-in-out infinite;
}
.loader-brand i{
  width:82px!important;
  height:82px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:23px!important;
  background:linear-gradient(145deg,#a787ff,#5d76ff)!important;
  color:#fff!important;
  font-size:34px!important;
  font-weight:900!important;
  box-shadow:0 0 42px rgba(126,91,255,.45),0 14px 32px rgba(0,0,0,.35)!important;
}
.loader-brand b{
  color:#fff!important;
  font-size:18px!important;
  font-weight:700!important;
  letter-spacing:.18em!important;
}
.loader>span,.loader>strong,.loader-line{display:none!important}
@keyframes mobileLoaderPulse{
  0%,100%{transform:scale(.94);opacity:.55}
  50%{transform:scale(1.04);opacity:1}
}

@media (max-width:900px){
  html,body{width:100%;max-width:100%;overflow-x:hidden!important}
  img,svg,video,canvas{max-width:100%}

  /* Keep the hero readable and inside the viewport. */
  .auregon-hero{min-height:100svh!important;height:auto!important;overflow:hidden!important}
  .auregon-hero .hero-wrap{width:calc(100% - 28px)!important}
  .auregon-hero .hero-copy{margin-top:42px!important}
  .auregon-hero h1{max-width:100%!important;font-size:clamp(42px,11.8vw,56px)!important;line-height:.98!important;letter-spacing:-.065em!important}
  .auregon-hero .lead{max-width:340px!important;font-size:13px!important;line-height:1.45!important}
  .auregon-hero .actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:8px!important}
  .auregon-hero .btn{min-width:0!important;white-space:nowrap!important}
  .auregon-hero .hero-art{height:150px!important}

  /* The five services become a clean vertical stack instead of clipped
     absolute-positioned cards. */
  .auregon-replacement{min-height:auto!important;padding:76px 0 58px!important}
  .ar-heading{width:calc(100% - 32px)!important;margin-bottom:26px!important}
  .ar-heading .ar-kicker{font-size:9px!important}
  .ar-heading h2{font-size:clamp(34px,11vw,46px)!important;line-height:.92!important}
  .ar-showcase{height:auto!important;overflow:visible!important}
  .ar-showcase:before,.ar-scroll{display:none!important}
  .ar-track{
    position:static!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:14px!important;
    padding:0 16px!important;
    overflow:visible!important;
  }
  .ar-card,.ar-card[data-pos]{
    position:relative!important;
    left:auto!important;
    top:auto!important;
    width:100%!important;
    height:auto!important;
    min-height:264px!important;
    display:grid!important;
    grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)!important;
    transform:none!important;
    opacity:1!important;
    border-radius:18px!important;
    transition:none!important;
  }
  .ar-copy{width:auto!important;min-width:0!important;padding:20px 14px 18px!important}
  .ar-index{font-size:8px!important;margin-bottom:11px!important;line-height:1.25!important}
  .ar-copy h3{font-size:clamp(20px,6vw,25px)!important;line-height:1!important}
  .ar-copy p{font-size:11px!important;line-height:1.42!important;margin-top:12px!important}
  .ar-copy a{font-size:9px!important;padding:8px 10px!important;white-space:nowrap!important}
  .ar-media{width:auto!important;min-width:0!important;min-height:220px!important;height:auto!important;margin:8px 8px 8px 0!important;border-radius:13px!important}

  /* Reveal content immediately on touch devices; fast scrolling should never
     leave a blank section waiting for an observer callback. */
  .s3-scale .s3-reveal,.s4-why .s4-reveal,.s6-cases .s6-reveal,.s6-final .s6-reveal{
    opacity:1!important;
    transform:none!important;
  }

  /* Approach section: readable copy, one card at a time, no horizontal page
     overflow from the animated point track. */
  .s3-scale{padding:76px 0 68px!important}
  .s3-grid{width:calc(100% - 32px)!important;gap:30px!important}
  .s3-copy h2{font-size:clamp(34px,9vw,40px)!important;line-height:.94!important}
  .s3-copy>p:not(.s3-kicker){font-size:14px!important;line-height:1.48!important}
  .s3-point-viewport{width:100%!important;overflow:hidden!important}
  .s3-point-track{gap:12px!important}
  .s3-point-track li,.s3-point-track li:nth-child(n+3){flex-basis:100%!important;width:100%!important;min-width:100%!important;min-height:154px!important;padding:24px 18px 18px 74px!important}
  .s3-point-track li b{font-size:16px!important}
  .s3-point-track li em{font-size:12px!important}
  .s3-visual{height:310px!important}
  .s3-image-frame{height:300px!important}

  /* Why-us visual and copy stay within the phone width. */
  .s4-why{padding:70px 0!important}
  .s4-wrap{width:calc(100% - 32px)!important;gap:30px!important}
  .s4-visual{height:390px!important}
  .s4-frame{width:232px!important;height:320px!important;border-radius:22px 66px 22px 66px!important;overflow:hidden!important}
  .s4-orbit{width:330px!important;height:330px!important}
  .s4-message,.s4-new{width:112px!important}.s4-roas{width:76px!important}.s4-waiting{width:128px!important}
  .s4-copy h2{font-size:clamp(35px,10.6vw,43px)!important}
  .s4-reason{grid-template-columns:28px minmax(0,1fr)!important;gap:10px!important}
  .s4-reason h3{font-size:16px!important}.s4-reason p{font-size:12px!important;line-height:1.45!important}

  /* Capabilities are full-width, vertically stacked cards. */
  .s6-cases{padding:70px 0 76px!important}
  .s6-case-head{width:calc(100% - 32px)!important;gap:20px!important}
  .s6-video-cards .s6-case-head h2{font-size:clamp(32px,8.5vw,42px)!important;line-height:.95!important}
  .s6-case-tools{width:100%!important}
  .s6-accordion{width:calc(100% - 32px)!important;display:grid!important;grid-template-columns:1fr!important;gap:12px!important;overflow:visible!important}
  .s6-case,.s6-case.active{width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;border-radius:18px!important;display:flex!important;flex-direction:column!important}
  .s6-case-media{position:relative!important;inset:auto!important;width:100%!important;aspect-ratio:16/10!important;flex:none!important}
  .s6-case-content,.s6-case.active .s6-case-content{position:relative!important;left:auto!important;top:auto!important;right:auto!important;bottom:auto!important;width:auto!important;min-height:190px!important;padding:22px!important;opacity:1!important;transform:none!important;pointer-events:auto!important}
  .s6-case h3{font-size:22px!important;line-height:1.05!important}
  .s6-case-content p{font-size:12px!important;line-height:1.45!important}

  .s6-final{min-height:470px!important;padding:72px 16px!important}
  .s6-final h2{font-size:clamp(42px,11.5vw,58px)!important}
  .s6-final .final-subtitle{font-size:13px!important}
  .s6-footer{padding-left:16px!important;padding-right:16px!important}
}

@media (max-width:380px){
  .ar-card,.ar-card[data-pos]{grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr)!important}
  .ar-copy{padding-left:12px!important;padding-right:10px!important}
  .ar-copy h3{font-size:19px!important}
  .ar-media{min-height:210px!important}
  .auregon-hero .actions{grid-template-columns:1fr!important}
}

@media (prefers-reduced-motion:reduce){
  .loader-brand:before{animation:none!important}
}

/* Professional mobile drawer and scroll polish. */
@media (max-width:900px){
  #header,#header.compact{width:100%!important;left:0!important;right:0!important;transform:none!important;padding:8px 12px 0!important;z-index:300!important}
  .header-inner,#header.compact .header-inner{min-height:58px!important;padding:7px 10px!important;border:1px solid rgba(184,156,255,.22)!important;border-radius:17px!important;background:rgba(9,9,15,.72)!important;box-shadow:0 14px 35px rgba(0,0,0,.28)!important;backdrop-filter:blur(18px)!important}
  #header .brand{grid-column:1!important;justify-self:start!important}
  #header .brand>i{width:30px!important;height:30px!important;border-radius:7px!important;background:linear-gradient(135deg,#a787ff,#5d76ff)!important;color:#fff!important}
  #header .brand b{display:none!important}
  #header .nav-left,#header .nav-right{display:none!important}
  #header .menu,#header.compact .menu{
    display:flex!important;position:relative!important;grid-column:2!important;grid-row:1!important;flex:0 0 auto!important;width:82px!important;height:40px!important;margin-left:auto!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;padding:0 12px 0 13px!important;border:1px solid rgba(184,156,255,.62)!important;border-radius:999px!important;background:rgba(26,20,46,.86)!important;color:#fff!important;font:700 10px/1 Arial,sans-serif!important;letter-spacing:.1em!important;text-transform:uppercase!important;box-shadow:0 0 24px rgba(126,91,255,.14)!important}
  #header .menu:before{content:"☰";font-size:15px!important;line-height:1!important;color:#c9baff!important}
  #header .menu.open:before{content:"×";font-size:24px!important;font-weight:300!important}
  #header .menu.open{background:linear-gradient(135deg,#7657f0,#556dff)!important;border-color:transparent!important}
  #header .menu.open:after{content:"CLOSE";font-size:10px!important}
  #header .menu:not(.open):after{content:"MENU";font-size:10px!important}
  #header .menu{font-size:0!important}

  /* Full-height right drawer; no white menu tiles. */
  .mobile-nav,.mobile-nav.open{
    display:flex!important;position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:auto!important;width:min(86vw,340px)!important;height:100dvh!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;padding:94px 22px 28px!important;border:0!important;border-left:1px solid rgba(184,156,255,.28)!important;border-radius:26px 0 0 26px!important;background:linear-gradient(180deg,rgba(24,17,44,.98),rgba(8,8,14,.99))!important;box-shadow:-24px 0 70px rgba(0,0,0,.48),inset 1px 0 rgba(255,255,255,.04)!important;backdrop-filter:blur(24px)!important;transform:translateX(105%)!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;transition:transform .5s cubic-bezier(.16,1,.3,1),opacity .35s ease,visibility 0s linear .5s!important;z-index:320!important}
  .mobile-nav.open{transform:translateX(0)!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;transition-delay:0s!important}
  .mobile-nav:before{content:"NAVIGATION";display:block;margin:0 0 20px;color:#b89cff;font:10px monospace;letter-spacing:.22em}
  .mobile-nav a,.mobile-nav a:hover{
    display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:56px!important;padding:0 4px!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.10)!important;border-radius:0!important;background:transparent!important;color:rgba(255,255,255,.82)!important;font-size:16px!important;font-weight:500!important;letter-spacing:-.01em!important;transform:none!important;box-shadow:none!important}
  .mobile-nav a:after{content:"↗";color:#9d80ff;font-size:18px;opacity:.8}
  .mobile-nav a:last-child{margin-top:18px!important;min-height:50px!important;padding:0 16px!important;border:1px solid rgba(184,156,255,.5)!important;border-radius:13px!important;background:linear-gradient(100deg,#7657f0,#5d7bff)!important;color:#fff!important;font-weight:700!important}
  .mobile-nav a:last-child:after{color:#fff}
  body.menu-open{overflow:hidden!important;overscroll-behavior:none!important}
  body.menu-open:before{content:"";position:fixed;z-index:275;inset:0;background:rgba(2,2,8,.58);backdrop-filter:blur(8px);pointer-events:auto}

  /* Remove the excessive hero air above the first copy block. */
  .auregon-hero{align-items:flex-start!important;justify-content:flex-start!important;padding-top:92px!important}
  .auregon-hero .hero-copy{margin-top:0!important}
  .auregon-hero .hero-wrap{transform:translateY(-2px)!important}

  /* Do not let a card interaction capture a vertical finger scroll. */
  .ar-track{touch-action:pan-y!important;pointer-events:auto!important}
  .ar-card{touch-action:pan-y!important}

  /* Avoid nested momentum/snap traps on touch devices. */
  .s6-accordion{touch-action:pan-y!important;scroll-snap-type:none!important;overscroll-behavior-x:contain!important}
  .s3-point-viewport{touch-action:pan-y!important;overscroll-behavior-x:contain!important}
}

html{scroll-behavior:smooth!important;overscroll-behavior-x:none}
body{overscroll-behavior-x:none}


/* Final mobile hero correction: compact two-line headline, no top void,
   single menu label, and small graph panels layered behind the CTAs. */
@media (max-width:900px){
  #header .menu,
  #header.compact .menu{color:transparent!important;font-size:0!important;text-indent:-9999px!important}
  #header .menu:before,#header .menu:after{ text-indent:0!important }

  .auregon-hero{
    min-height:650px!important;
    height:650px!important;
    padding-top:78px!important;
    display:block!important;
    overflow:hidden!important;
  }
  .auregon-hero .hero-wrap{
    width:calc(100% - 28px)!important;
    min-height:0!important;
    height:auto!important;
    padding:0!important;
    transform:none!important;
  }
  .auregon-hero .hero-copy{
    position:relative!important;
    z-index:6!important;
    margin:0 auto!important;
    padding:0!important;
    transform:none!important;
  }
  .auregon-hero .tag{margin-bottom:16px!important;padding:8px 12px!important;font-size:8px!important}
  .auregon-hero h1{
    display:grid!important;
    gap:2px!important;
    max-width:none!important;
    margin:0!important;
    font-size:clamp(29px,8.35vw,35px)!important;
    line-height:1.02!important;
    letter-spacing:-.075em!important;
  }
  .auregon-hero h1 span{white-space:nowrap!important}
  .auregon-hero .lead{max-width:340px!important;margin-top:16px!important;font-size:12px!important;line-height:1.42!important}
  .auregon-hero .actions{position:relative!important;z-index:7!important;margin-top:17px!important;gap:8px!important}
  .auregon-hero .btn{min-height:48px!important;font-size:10px!important}
  .auregon-hero .hero-art{
    position:absolute!important;
    inset:250px 0 auto!important;
    width:100%!important;
    height:138px!important;
    z-index:2!important;
    pointer-events:none!important;
    opacity:.72!important;
  }
  .auregon-hero .hero-panel{
    width:148px!important;
    height:110px!important;
    bottom:auto!important;
    top:4px!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    opacity:.68!important;
    visibility:visible!important;
    overflow:visible!important;
  }
  .auregon-hero .hero-panel-left{left:18px!important;transform:rotate(-8deg)!important}
  .auregon-hero .hero-panel-right{right:18px!important;transform:rotate(8deg)!important}
  .auregon-hero .hero-panel img{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
    opacity:.72!important;
    filter:none!important;
    transform:none!important;
    animation:graphFloat 6s ease-in-out infinite alternate!important;
  }
}
@media (max-width:380px){
  .auregon-hero h1{font-size:clamp(27px,8.2vw,32px)!important}
  .auregon-hero .hero-panel{width:132px!important;height:98px!important}
  .auregon-hero .hero-panel-left{left:12px!important}
  .auregon-hero .hero-panel-right{right:12px!important}
}

/* Mobile final correction pass: keep the menu label visible and make the
   hero graphs/CTA composition legible without affecting desktop. */
@media (max-width:900px){
  #header .menu:after,
  #header .menu:not(.open):after{content:"MENU"!important;color:#fff!important;font-size:10px!important;text-indent:0!important;display:inline!important}
  #header .menu.open:after{content:"CLOSE"!important;color:#fff!important;font-size:10px!important;text-indent:0!important;display:inline!important}

  .auregon-hero .hero-art{inset:252px 0 auto!important;height:145px!important;opacity:1!important;z-index:4!important}
  .auregon-hero .hero-panel{width:188px!important;height:132px!important;top:4px!important;opacity:.96!important;z-index:4!important}
  .auregon-hero .hero-panel-left{left:6px!important;transform:rotate(-8deg)!important}
  .auregon-hero .hero-panel-right{right:6px!important;transform:rotate(8deg)!important}
  .auregon-hero .hero-panel img{left:0!important;top:0!important;right:auto!important;bottom:auto!important;inset:0!important;width:100%!important;height:100%!important;opacity:.96!important;object-fit:contain!important;filter:none!important;transform:none!important;animation:graphFloat 6s ease-in-out infinite alternate!important}

  /* Service heading stays in two deliberate lines. */
  .ar-heading h2{font-size:clamp(30px,8.5vw,36px)!important;line-height:.94!important;white-space:nowrap!important}

  /* Preserve the half-circle and convert the desktop carousel into one
     compact native swipe card at a time on touch screens. */
  .auregon-replacement{min-height:620px!important;padding:60px 0 46px!important}
  .ar-heading{margin-bottom:22px!important}
  .ar-showcase{height:390px!important;overflow:hidden!important}
  .ar-showcase:before{display:block!important;z-index:0!important;inset:0!important;background:linear-gradient(180deg,transparent 0%,rgba(17,17,17,.03) 62%,#111 100%),url("assets/auregon-half-circle.png") center 10px/620px auto no-repeat!important;filter:saturate(1.25) brightness(1.16)!important;opacity:.86!important}
  .ar-track{position:relative!important;z-index:2!important;inset:auto!important;display:flex!important;align-items:center!important;gap:12px!important;width:100%!important;height:100%!important;padding:8px 16px 20px!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory!important;scroll-behavior:smooth!important;scrollbar-width:none!important;overscroll-behavior-x:contain!important;touch-action:auto!important}
  .ar-track::-webkit-scrollbar{display:none!important}
  .ar-card,.ar-card[data-pos]{position:relative!important;left:auto!important;top:auto!important;flex:0 0 calc(100% - 2px)!important;width:calc(100% - 2px)!important;height:292px!important;min-height:292px!important;display:grid!important;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)!important;transform:none!important;opacity:1!important;border-radius:18px!important;scroll-snap-align:center!important;scroll-snap-stop:always!important;transition:none!important}
  .ar-copy{padding:22px 14px 18px!important}
  .ar-index{font-size:7px!important;margin-bottom:10px!important}
  .ar-copy h3{font-size:clamp(19px,5.3vw,23px)!important;line-height:1.02!important}
  .ar-copy p{font-size:10px!important;line-height:1.36!important;margin-top:11px!important}
  .ar-copy a{font-size:8px!important;padding:8px 9px!important}
  .ar-media{min-height:0!important;height:auto!important;margin:8px 8px 8px 0!important;border-radius:13px!important}
  .ar-scroll{display:none!important}
}
@media (max-width:380px){
  .ar-heading h2{font-size:29px!important}
  .ar-card,.ar-card[data-pos]{height:278px!important;min-height:278px!important}
  .ar-copy{padding-left:12px!important;padding-right:10px!important}
  .ar-copy h3{font-size:18px!important}
}

@media (max-width:900px){
  /* The loader must not leave the hero headline hidden on slow/mobile renders. */
  .auregon-hero h1 span{opacity:1!important;filter:none!important;transform:none!important}
}

@media (max-width:900px){
  .auregon-hero .lead,
  .auregon-hero .actions{opacity:1!important;transform:none!important}
}

@media (max-width:900px){
  .auregon-hero .hero-wrap{z-index:6!important}
  .auregon-hero .hero-art{z-index:2!important}
}

@media (max-width:900px){
  /* Place the hero copy inside the visual focus area instead of hugging the header. */
  .auregon-hero .hero-copy{transform:translateY(34px)!important}
  .auregon-hero .hero-art{inset:286px 0 auto!important}

  /* Bring the mobile half-circle into the card viewport; the source art has
     transparent space above the arc, so it needs an upward crop on phones. */
  .ar-showcase:before{
    background-image:radial-gradient(ellipse at center 24%,rgba(121,91,255,.24),transparent 66%),url("assets/auregon-half-circle.png")!important;
    background-position:center -140px!important;
    background-size:760px auto!important;
    background-repeat:no-repeat!important;
    opacity:.94!important;
  }
}

@media (max-width:900px){
  /* Let the mobile half-circle sit above the section fade, behind the card. */
  .auregon-replacement:after{z-index:0!important;opacity:.32!important}
  .auregon-replacement .ar-heading{z-index:3!important}
  .auregon-replacement .ar-showcase:before{z-index:1!important;opacity:1!important}
  .auregon-replacement .ar-track{z-index:2!important}
}

@media (max-width:900px){
  /* Add a little air between the two hero headline lines. */
  .auregon-hero h1{line-height:1.13!important;row-gap:5px!important}

  /* Smaller cards, visible neighbours, and no dead black area after the arc. */
  .auregon-replacement{min-height:0!important;padding-bottom:0!important}
  .ar-showcase{height:350px!important}
  .ar-showcase:before{background-size:980px auto!important;background-position:center -160px!important}
  .ar-card,.ar-card[data-pos]{flex-basis:calc(100% - 44px)!important;width:calc(100% - 44px)!important;height:270px!important;min-height:270px!important}
  .ar-copy{padding:18px 12px 14px!important}
  .ar-copy h3{font-size:clamp(17px,4.7vw,21px)!important}
  .ar-copy p{font-size:9px!important;line-height:1.3!important;margin-top:9px!important}
  .ar-media{margin:7px 7px 7px 0!important}
}
@media (max-width:380px){
  .ar-card,.ar-card[data-pos]{height:258px!important;min-height:258px!important}
}

@media (max-width:900px){
  /* Give the arc its own visible breathing room while keeping the next
     section immediately after it (no leftover black tail). */
  .ar-showcase{height:390px!important}
  .ar-showcase:before{background-size:1050px auto!important;background-position:center -150px!important}
}

/* Mobile-only reference alignment pass. Desktop styling remains unchanged. */
@media (max-width:900px){
  /* Hero graph panels move into the two lower highlighted side zones. */
  .auregon-hero{min-height:800px!important;height:800px!important}
  .auregon-hero .hero-art{inset:540px 0 auto!important;height:210px!important;z-index:2!important}
  .auregon-hero .hero-panel{width:165px!important;height:155px!important;top:0!important;opacity:.98!important}
  .auregon-hero .hero-panel-left{left:28px!important;transform:rotate(-7deg)!important}
  .auregon-hero .hero-panel-right{right:28px!important;transform:rotate(7deg)!important}
  .auregon-hero .hero-panel img{opacity:1!important}

  /* Approach: image first, then copy; show two point cards at once. */
  .s3-grid{display:flex!important;flex-direction:column!important;gap:22px!important}
  .s3-visual{order:1!important;width:100%!important;height:340px!important}
  .s3-copy{order:2!important;width:100%!important}
  .s3-image-frame{height:330px!important;width:100%!important;position:relative!important}
  .s3-round-image{left:16%!important;top:7%!important;width:68%!important;height:82%!important;border-radius:50%!important;overflow:hidden!important}
  .s3-round-image img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important}
  .s3-frame-orbit{left:5%!important;top:1%!important;width:90%!important;height:96%!important}
  .s3-point-viewport{--s3-card-width:calc((100% - 12px)/2)!important;margin-top:22px!important}
  .s3-point-track{gap:12px!important}
  .s3-point-track li,.s3-point-track li:nth-child(n+3){flex-basis:var(--s3-card-width)!important;width:var(--s3-card-width)!important;min-width:var(--s3-card-width)!important;min-height:146px!important;padding:20px 12px 16px 58px!important;border-radius:16px!important}
  .s3-point-icon{left:16px!important;top:20px!important;width:34px!important;height:34px!important;border-radius:10px!important}
  .s3-point-icon img{width:23px!important;height:23px!important}
  .s3-point-track li b{font-size:13px!important;margin-bottom:8px!important}
  .s3-point-track li em{font-size:10px!important;line-height:1.28!important}

  /* Why-us phone frame and compact supporting points. */
  .s4-visual{height:390px!important}
  .s4-frame{left:50%!important;width:224px!important;height:316px!important;border-radius:34px!important;transform:translate(-50%,-50%)!important}
  .s4-orbit{width:330px!important;height:330px!important;left:50%!important}
  .s4-message,.s4-new{width:104px!important}.s4-roas{width:70px!important}.s4-waiting{width:118px!important}
  .s4-copy h2{font-size:clamp(32px,9vw,38px)!important}
  .s4-reason{grid-template-columns:22px minmax(0,1fr)!important;gap:8px!important;padding:10px 0!important}
  .s4-reason>span{width:20px!important;height:20px!important;font-size:11px!important}
  .s4-reason h3{font-size:14px!important;line-height:1.15!important;margin-bottom:4px!important}
  .s4-reason p{font-size:10px!important;line-height:1.32!important}

  /* Capabilities: smaller two-line heading and shorter cards. */
  .s6-video-cards .s6-case-head h2{font-size:clamp(27px,7.5vw,34px)!important;line-height:1!important;letter-spacing:-.065em!important;white-space:normal!important}
  .s6-video-cards .s6-case-head h2 span,
  .s6-video-cards .s6-case-head h2 em{display:inline!important;white-space:normal!important}
  .s6-video-cards .s6-case-head h2 span:not(:last-of-type)::after{content:" "}
  .s6-video-cards .s6-case{min-height:390px!important;height:390px!important}
  .s6-video-cards .s6-case-media{height:46%!important;aspect-ratio:auto!important}
  .s6-video-cards .s6-case-content{min-height:54%!important;padding:18px!important}
  .s6-video-cards .s6-case h3{font-size:18px!important;line-height:1.05!important}
  .s6-video-cards .s6-case-content p{font-size:10px!important;line-height:1.35!important}

  /* Conversion heading stays to two compact lines. */
  .s6-final h2{font-size:clamp(32px,8.7vw,38px)!important;line-height:1!important;letter-spacing:-.06em!important}
  .s6-final h2 em{white-space:nowrap!important}

  /* Footer: centered complete logo/social block, then two menu columns. */
  .s6-footer{padding-left:16px!important;padding-right:16px!important}
  .s6-footer-grid{grid-template-columns:1fr 1fr!important;gap:26px 18px!important;padding:38px 0!important;text-align:left!important}
  .s6-footer .footer-brand-col{grid-column:1/-1!important;text-align:center!important}
  .s6-footer .footer-brand-col .brand{display:inline-flex!important;align-items:center!important;justify-content:center!important;margin:0 auto 16px!important}
  .s6-footer .footer-brand-col .brand b{display:inline!important;max-width:none!important;opacity:1!important;margin:0!important;color:#fff!important;font-size:13px!important}
  .s6-footer .footer-brand-col p{max-width:330px!important;margin:0 auto!important;font-size:11px!important;line-height:1.45!important}
  .s6-footer .footer-social{justify-content:center!important;margin-top:16px!important}
  .s6-footer .s6-footer-col{min-width:0!important;align-items:flex-start!important}
  .s6-footer .footer-contact-col{grid-column:1/-1!important;text-align:center!important}
  .s6-footer .footer-contact-row{justify-content:center!important;text-align:center!important}
  .s6-footer .s6-footer-bottom{align-items:center!important;justify-content:center!important;text-align:center!important}
}

@media (max-width:900px){
  /* Force the capabilities title into exactly two balanced lines. */
  .s6-video-cards .s6-case-head h2{font-size:30px!important;line-height:.98!important;display:block!important}
  .s6-video-cards .s6-case-head h2 span:first-child{display:block!important;white-space:nowrap!important}
  .s6-video-cards .s6-case-head h2 span:nth-child(2),
  .s6-video-cards .s6-case-head h2 em{display:inline!important;white-space:nowrap!important}
  .s6-video-cards .s6-case-head h2 span:nth-child(2)::before{content:" "}
}

/* Robust mobile menu control: real icon and stateful close button. */
@media (max-width:900px){
  #header .menu,#header.compact .menu{
    color:#fff!important;
    font-size:10px!important;
    text-indent:0!important;
    gap:8px!important;
  }
  #header .menu:before,#header .menu:after,
  #header .menu.open:before,#header .menu.open:after{content:none!important;display:none!important}
  #header .menu .menu-icon{position:relative!important;display:block!important;width:16px!important;height:16px!important;flex:0 0 16px!important}
  #header .menu .menu-icon:before,#header .menu .menu-icon:after{content:"";position:absolute;left:1px;top:7px;width:14px;height:2px;border-radius:99px;background:#cfc3ff;transition:transform .25s ease,background .25s ease}
  #header .menu .menu-icon:before{transform:translateY(-4px)}
  #header .menu .menu-icon:after{transform:translateY(4px)}
  #header .menu.open .menu-icon:before{transform:rotate(45deg)!important;background:#fff!important}
  #header .menu.open .menu-icon:after{transform:rotate(-45deg)!important;background:#fff!important}
  #header .menu .menu-label{display:inline-block!important;color:#fff!important;font:700 10px/1 Arial,sans-serif!important;letter-spacing:.04em!important;text-indent:0!important}
}

@media (max-width:900px){
  /* Bind the drawer to the actual body state so it cannot remain off-canvas. */
  body.menu-open .mobile-nav,
  body.menu-open .mobile-nav.open{
    display:flex!important;
    position:fixed!important;
    top:0!important;
    right:0!important;
    bottom:0!important;
    left:auto!important;
    width:min(86vw,340px)!important;
    height:100dvh!important;
    transform:translateX(0)!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    z-index:500!important;
  }
  #header .menu.open .menu-icon:before{
    content:"×"!important;
    left:-1px!important;
    top:-5px!important;
    width:auto!important;
    height:auto!important;
    background:none!important;
    font:300 28px/1 Arial,sans-serif!important;
    transform:none!important;
  }
  #header .menu.open .menu-icon:after{display:none!important}
}

@media (max-width:900px){
  /* Keep the close control above the open drawer so it is always reachable. */
  body.menu-open #header{z-index:600!important}
  body.menu-open #header .menu{position:relative!important;z-index:610!important}
}

@media (max-width:900px){
  /* Capabilities mobile card lock: every card uses the same compact frame. */
  .s6-video-cards .s6-case,
  .s6-video-cards .s6-case.active{
    width:100%!important;
    min-width:0!important;
    height:430px!important;
    min-height:430px!important;
    max-height:430px!important;
  }
  .s6-video-cards .s6-case-media,
  .s6-video-cards .s6-case.active .s6-case-media{height:52%!important;max-height:none!important}
  .s6-video-cards .s6-case-content,
  .s6-video-cards .s6-case.active .s6-case-content{height:48%!important;min-height:0!important;padding:20px!important}
  .s6-video-cards .s6-case-content h3{font-size:20px!important;line-height:1.06!important;letter-spacing:-.035em!important}
  .s6-video-cards .s6-case-content p{font-size:11px!important;line-height:1.38!important}

  /* Add the requested breathing room between heading characters. */
  .s6-video-cards .s6-case-head h2{letter-spacing:.018em!important}
}

@media (max-width:900px){
  /* Exact compact frame for the capabilities cards, matching the red
     reference box instead of stretching edge-to-edge. */
  .s6-video-cards .s6-accordion{
    width:calc(100% - 72px)!important;
    max-width:none!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  .s6-video-cards .s6-case,
  .s6-video-cards .s6-case.active{
    width:100%!important;
    max-width:100%!important;
    height:500px!important;
    min-height:500px!important;
    max-height:500px!important;
  }
  .s6-video-cards .s6-case-media{height:56%!important}
  .s6-video-cards .s6-case-content{height:44%!important;padding:22px 20px!important}
  .s6-video-cards .s6-case-content h3{font-size:18px!important;line-height:1.08!important}
  .s6-video-cards .s6-case-content p{font-size:10px!important;line-height:1.35!important}
}

/* Final cascade correction for <=900px: the desktop two-column card grid was
   winning specificity and collapsing the heading. Rebuild the mobile flow
   explicitly without touching >900px layouts. */
@media (max-width:900px){
  .s6-video-cards{
    display:block!important;
    grid-template-columns:none!important;
    grid-template-rows:none!important;
    width:100%!important;
    padding:70px 0 76px!important;
    overflow:hidden!important;
  }
  .s6-video-cards .s6-case-head{
    display:block!important;
    position:relative!important;
    top:auto!important;
    width:calc(100% - 72px)!important;
    max-width:none!important;
    height:auto!important;
    margin:0 auto 28px!important;
    grid-column:auto!important;
    grid-row:auto!important;
  }
  .s6-video-cards .s6-case-head>div:first-child{width:100%!important;max-width:none!important}
  .s6-video-cards .s6-accordion{
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-auto-rows:500px!important;
    gap:12px!important;
    width:calc(100% - 72px)!important;
    height:auto!important;
    margin:0 auto!important;
    overflow:visible!important;
  }
  .s6-video-cards .s6-case,
  .s6-video-cards .s6-case.active{
    display:flex!important;
    flex-direction:column!important;
    grid-column:auto!important;
    grid-row:auto!important;
    width:100%!important;
    height:500px!important;
    min-height:500px!important;
    max-height:500px!important;
  }
  .s6-video-cards .s6-case-media,
  .s6-video-cards .s6-case.active .s6-case-media{
    position:relative!important;
    inset:auto!important;
    width:100%!important;
    height:56%!important;
    min-height:0!important;
    flex:0 0 56%!important;
    grid-column:auto!important;
    grid-row:auto!important;
  }
  .s6-video-cards .s6-case-content,
  .s6-video-cards .s6-case.active .s6-case-content{
    position:relative!important;
    inset:auto!important;
    left:auto!important;
    top:auto!important;
    right:auto!important;
    bottom:auto!important;
    width:100%!important;
    height:44%!important;
    min-height:0!important;
    flex:0 0 44%!important;
    padding:20px!important;
    display:flex!important;
    grid-column:auto!important;
    grid-row:auto!important;
    opacity:1!important;
    transform:none!important;
    pointer-events:auto!important;
  }
  .s6-video-cards .s6-case-content h3{font-size:18px!important;line-height:1.08!important}
  .s6-video-cards .s6-case-content p{font-size:10px!important;line-height:1.35!important}
  .s6-video-cards .s6-case-head h2{letter-spacing:.02em!important}
}

@media (max-width:900px){
  /* Specificity lock against the legacy desktop rules in auregon-theme.css. */
  section.s6-video-cards .s6-accordion.s6-reveal{
    width:calc(100% - 72px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  section.s6-video-cards .s6-accordion.s6-reveal .s6-case,
  section.s6-video-cards .s6-accordion.s6-reveal .s6-case.active{
    display:flex!important;
    flex-direction:column!important;
    grid-template-columns:none!important;
    grid-template-rows:none!important;
    width:100%!important;
    height:500px!important;
    min-height:500px!important;
    max-height:500px!important;
  }
  section.s6-video-cards .s6-accordion.s6-reveal .s6-case-media{
    display:block!important;
    width:100%!important;
    height:56%!important;
    min-height:0!important;
    flex:0 0 56%!important;
    grid-column:auto!important;
    grid-row:auto!important;
  }
  section.s6-video-cards .s6-accordion.s6-reveal .s6-case-content,
  section.s6-video-cards .s6-accordion.s6-reveal .s6-case.active .s6-case-content{
    display:flex!important;
    width:100%!important;
    height:44%!important;
    min-height:0!important;
    flex:0 0 44%!important;
    grid-column:auto!important;
    grid-row:auto!important;
    padding:20px!important;
  }
}

@media (max-width:900px){
  /* Remove the decorative CTA arrow from each capability card. */
  section.s6-video-cards .s6-accordion.s6-reveal .s6-case-content:after,
  section.s6-video-cards .s6-accordion.s6-reveal .s6-case.active .s6-case-content:after{
    content:none!important;
    display:none!important;
  }

  /* Shorter mobile heading with cleaner two-line copy. */
  .s6-video-cards .s6-case-head h2{
    font-size:0!important;
    line-height:1.02!important;
    letter-spacing:.01em!important;
  }
  .s6-video-cards .s6-case-head h2:after{
    content:"Reach smarter.\A Convert better. Scale faster.";
    display:block!important;
    white-space:pre-line!important;
    font-size:clamp(27px,4.9vw,34px)!important;
    line-height:1.02!important;
    letter-spacing:.01em!important;
    color:#fff!important;
  }

  /* Slightly shorter cards and more readable descriptions. */
  section.s6-video-cards .s6-accordion.s6-reveal .s6-case,
  section.s6-video-cards .s6-accordion.s6-reveal .s6-case.active{
    height:460px!important;
    min-height:460px!important;
    max-height:460px!important;
  }
  section.s6-video-cards .s6-accordion.s6-reveal .s6-case-media{height:55%!important;flex-basis:55%!important}
  section.s6-video-cards .s6-accordion.s6-reveal .s6-case-content{height:45%!important;flex-basis:45%!important}
  section.s6-video-cards .s6-accordion.s6-reveal .s6-case-content p{
    font-size:13px!important;
    line-height:1.42!important;
  }
}

@media (max-width:900px){
  /* Compact Why-us point cards to match the desktop visual rhythm. */
  .s4-copy{
    width:calc(100% - 72px)!important;
    max-width:680px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  .s4-reason,
  .s4-reason:hover,
  .s4-reason.is-open{
    width:100%!important;
    min-height:0!important;
    padding:12px 14px!important;
    margin:0 auto!important;
    grid-template-columns:22px minmax(0,1fr)!important;
    gap:9px!important;
    border:1px solid rgba(117,104,255,.28)!important;
    border-radius:15px!important;
    background:linear-gradient(145deg,rgba(29,31,68,.96),rgba(20,21,43,.94))!important;
    box-sizing:border-box!important;
  }
  .s4-reason>span{width:20px!important;height:20px!important;font-size:10px!important;border-radius:6px!important}
  .s4-reason h3{font-size:15px!important;line-height:1.14!important;margin:0 0 4px!important}
  .s4-reason p{font-size:11px!important;line-height:1.32!important;max-width:48ch!important}
  .s4-reason.is-open p{max-height:58px!important;margin-top:4px!important}
}

@media (max-width:900px){
  /* Why-us points: two equal columns in one responsive row. */
  .s4-copy{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
    align-items:stretch!important;
  }
  .s4-copy>.s4-kicker,
  .s4-copy>h2{grid-column:1/-1!important}
  .s4-reason,
  .s4-reason:hover,
  .s4-reason.is-open{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 28px!important;
    grid-template-rows:1fr!important;
    min-height:138px!important;
    height:100%!important;
    padding:13px!important;
    margin:0!important;
    gap:6px!important;
    align-items:start!important;
  }
  .s4-reason>span{grid-column:2!important;grid-row:1!important;justify-self:end!important;margin-top:2px!important}
  .s4-reason>div{grid-column:1!important;grid-row:1!important;min-width:0!important}
  .s4-reason h3{font-size:13px!important;line-height:1.14!important;margin:0 0 5px!important}
  .s4-reason p{font-size:9.5px!important;line-height:1.3!important;max-width:none!important}
  .s4-reason.is-open p{max-height:66px!important}
}

@media (max-width:900px){
  /* Final specificity lock: one full-width point card per row, no icons. */
  section.s4-why .s4-wrap .s4-copy{
    display:block!important;
    width:calc(100% - 72px)!important;
    max-width:680px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  section.s4-why .s4-wrap .s4-copy .s4-kicker,
  section.s4-why .s4-wrap .s4-copy>h2{display:block!important;width:100%!important}
  section.s4-why .s4-wrap .s4-copy .s4-reason,
  section.s4-why .s4-wrap .s4-copy .s4-reason:hover,
  section.s4-why .s4-wrap .s4-copy .s4-reason.is-open{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:auto!important;
    width:100%!important;
    height:auto!important;
    min-height:108px!important;
    margin:0 0 12px!important;
    padding:14px!important;
    gap:0!important;
  }
  section.s4-why .s4-wrap .s4-copy .s4-reason>span,
  section.s4-why .s4-wrap .s4-copy .s4-reason.is-open>span{
    display:none!important;
    visibility:hidden!important;
  }
  section.s4-why .s4-wrap .s4-copy .s4-reason>div{
    grid-column:1!important;
    grid-row:1!important;
    width:100%!important;
    min-width:0!important;
  }
  section.s4-why .s4-wrap .s4-copy .s4-reason h3{font-size:16px!important;line-height:1.16!important}
  section.s4-why .s4-wrap .s4-copy .s4-reason p{font-size:12px!important;line-height:1.35!important}
}

/* Final local-only header and hero correction.
   The drawer owns its close button; the logo/header stays out of the drawer. */
@media (max-width:900px){
  #header.drawer-open .header-inner{
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
  }
  #header.drawer-open{
    pointer-events:none!important;
    z-index:250!important;
  }

  #header .menu:before,
  #header .menu:after,
  #header .menu.open:before,
  #header .menu.open:after,
  #header .menu:not(.open):after{
    content:none!important;
    display:none!important;
  }
  #header .menu .menu-label{
    display:inline-block!important;
    visibility:visible!important;
    opacity:1!important;
  }

  /* Hide the closed drawer completely so its links cannot duplicate the nav. */
  .mobile-nav:not(.open){
    display:none!important;
    visibility:hidden!important;
  }
  body.menu-open .mobile-nav.open{
    display:flex!important;
    visibility:visible!important;
    padding:88px 28px 28px!important;
  }
  .mobile-nav-close{
    position:absolute!important;
    top:18px!important;
    right:16px!important;
    z-index:2!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    min-width:104px!important;
    height:44px!important;
    padding:0 16px!important;
    border:0!important;
    border-radius:999px!important;
    background:linear-gradient(135deg,#7657f0,#5d7bff)!important;
    color:#fff!important;
    font:700 11px/1 Arial,sans-serif!important;
    letter-spacing:.04em!important;
    cursor:pointer!important;
    box-shadow:0 10px 28px rgba(80,65,210,.35)!important;
  }
  .mobile-nav-close span{
    font:300 27px/1 Arial,sans-serif!important;
  }
  .mobile-nav-close b{font-weight:700!important}

  /* Move the two graph panels into the highlighted hero zones. */
  .auregon-hero .hero-art{
    inset:525px 0 auto!important;
    height:180px!important;
  }
  .auregon-hero .hero-panel{
    width:165px!important;
    height:155px!important;
    top:0!important;
  }
  .auregon-hero .hero-panel-left{left:28px!important}
  .auregon-hero .hero-panel-right{right:28px!important}
}

@media (min-width:901px){
  /* The mobile drawer must never become a second desktop navigation. */
  .mobile-nav{
    display:none!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
}

/* Final local fix for the #industries / Our Approach section.
   Keep this mobile-only so the desktop layout remains unchanged. */
@media (max-width:900px){
  /* Remove the oversized top gap while keeping normal section breathing room. */
  body section.s3-scale{
    padding-top:36px!important;
  }

  /* The points are a real one-step carousel on touch screens. */
  body section.s3-scale .s3-point-viewport{
    width:100%!important;
    margin-top:22px!important;
    overflow:hidden!important;
  }
  body section.s3-scale .s3-point-track{
    gap:12px!important;
  }
  body section.s3-scale .s3-point-track li,
  body section.s3-scale .s3-point-track li:nth-child(n+3){
    flex:0 0 var(--s3-card-width)!important;
    width:var(--s3-card-width)!important;
    min-width:var(--s3-card-width)!important;
    min-height:154px!important;
    padding:24px 18px 18px 74px!important;
    box-sizing:border-box!important;
  }
  body section.s3-scale .s3-point-track li b{
    font-size:16px!important;
  }
  body section.s3-scale .s3-point-track li em{
    font-size:12px!important;
    line-height:1.42!important;
  }

  /* Make the CTA label readable on the supplied mobile reference size. */
  body section.s3-scale .s3-button{
    min-height:56px!important;
    font-size:15px!important;
    letter-spacing:.01em!important;
  }

  /* Use a centered square frame so the image is a true circle, not an oval. */
  body section.s3-scale .s3-right-frame{
    width:100%!important;
    height:min(360px,calc(100vw - 32px))!important;
    display:grid!important;
    place-items:center!important;
  }
  body section.s3-scale .s3-image-frame{
    width:min(100%,360px)!important;
    height:min(360px,calc(100vw - 32px))!important;
    margin:0 auto!important;
    aspect-ratio:1/1!important;
  }
  body section.s3-scale .s3-round-image{
    left:50%!important;
    top:50%!important;
    width:78%!important;
    height:auto!important;
    aspect-ratio:1/1!important;
    margin:0!important;
    transform:translate(-50%,-50%)!important;
    border-radius:50%!important;
  }
  body section.s3-scale .s3-round-image img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    object-position:center!important;
  }
  body section.s3-scale .s3-frame-orbit{
    left:3%!important;
    top:3%!important;
    width:94%!important;
    height:94%!important;
  }
}
