/* Made by Fox v8 mobile rebuild. Desktop remains unchanged. */
.mobile-menu-toggle,.mobile-menu{display:none}
@media (max-width: 900px){
  html{scroll-padding-top:92px}
  body{overflow-x:hidden}
  body.menu-open{overflow:hidden}
  .site-header{height:88px!important;padding:0 18px!important;position:sticky;top:0;z-index:1000;background:rgba(5,5,5,.94)!important;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}
  .site-header .brand,.site-header .brand img{height:66px!important;max-height:66px!important;width:auto!important}
  .site-header .brand::before{width:58px;height:58px}
  .site-header>nav{display:none!important}
  .mobile-menu-toggle{display:grid;place-items:center;width:48px;height:48px;padding:0;border:1px solid rgba(255,122,42,.55);border-radius:50%;background:rgba(255,122,42,.035);position:relative;z-index:1002;color:var(--text);cursor:pointer}
  .mobile-menu-toggle span{position:absolute;width:20px;height:1.5px;border-radius:10px;background:currentColor;transition:transform .35s var(--ease),opacity .25s ease,top .35s var(--ease)}
  .mobile-menu-toggle span:nth-child(1){top:18px}.mobile-menu-toggle span:nth-child(2){top:23px}.mobile-menu-toggle span:nth-child(3){top:28px}
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(1){top:23px;transform:rotate(45deg)}
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(3){top:23px;transform:rotate(-45deg)}
  .mobile-menu{display:flex;position:fixed;inset:0;z-index:999;flex-direction:column;justify-content:center;padding:112px 24px 40px;background:rgba(5,5,5,.985);opacity:0;visibility:hidden;transform:translateY(-12px);transition:opacity .3s ease,visibility .3s ease,transform .4s var(--ease)}
  .mobile-menu.is-open{opacity:1;visibility:visible;transform:none}
  .mobile-menu-inner{display:flex;flex-direction:column;gap:5px;width:100%;max-width:500px;margin:auto}
  .mobile-menu a{display:flex;align-items:center;justify-content:space-between;min-height:68px;padding:8px 4px;border-bottom:1px solid var(--line);font-size:clamp(30px,9vw,48px);font-weight:630;line-height:1;letter-spacing:-.045em}
  .mobile-menu a::after{content:'↗';font-size:19px;color:var(--copper);font-weight:400}
  .mobile-menu a:last-of-type{margin-top:22px;padding:0 24px;justify-content:center;min-height:58px;border:1px solid var(--copper);border-radius:999px;color:var(--copper);font-size:13px;letter-spacing:.2em;text-transform:uppercase}
  .mobile-menu a:last-of-type::after{display:none}
  .mobile-menu-foot{margin-top:30px;color:var(--soft);font-size:10px;text-transform:uppercase;letter-spacing:.22em;text-align:center}

  .section-pad{padding:80px 20px!important}
  .eyebrow{font-size:10px!important;letter-spacing:.28em!important;margin-bottom:16px!important}
  .home-hero{min-height:calc(100svh - 88px)!important;height:auto!important;padding:56px 20px 92px!important;justify-content:center!important}
  .home-hero-inner{max-width:560px}
  .home-hero h1{font-size:clamp(48px,14.8vw,74px)!important;line-height:.92!important;letter-spacing:-.068em!important}
  .hero-intro{font-size:16px!important;line-height:1.58!important;margin-top:24px!important;max-width:34ch}
  .hero-glow{width:110vw;height:55vh;top:42%;opacity:.9}
  .hero-discovery{bottom:22px!important}
  .hero-discovery-label{font-size:9px!important}

  .showcase.section-pad{padding-top:76px!important;padding-bottom:76px!important}
  .carousel-intro,.showcase-intro{text-align:left!important;margin:0 0 28px!important;display:block!important}
  .showcase-intro-heading,.showcase-intro-copy{width:100%!important;max-width:none!important}
  .showcase-intro h2{font-size:clamp(38px,11.4vw,54px)!important;line-height:1!important;letter-spacing:-.055em!important}
  .showcase-intro h2 br{display:none}
  .showcase-intro>p:last-child,.showcase-intro-copy p{font-size:15px!important;line-height:1.6!important;margin:18px 0 0!important;max-width:36ch!important}
  .demo-carousel{margin-top:30px!important}
  .carousel-stage{min-height:540px!important;height:auto!important}
  .carousel-slide{grid-template-columns:1fr!important;gap:0!important;border-radius:22px!important;overflow:hidden!important;min-height:540px!important;padding:0!important}
  .carousel-visual{min-height:250px!important;height:250px!important;padding:38px 24px!important;border-right:0!important;border-bottom:1px solid rgba(255,255,255,.1)!important}
  .carousel-visual img{max-width:78%!important;max-height:150px!important;object-fit:contain!important}
  .carousel-copy{padding:28px 24px 30px!important;display:flex!important;flex-direction:column!important;justify-content:center!important}
  .carousel-copy h3{font-size:31px!important;line-height:1.03!important;margin:8px 0 12px!important}
  .carousel-copy>p:not(.demo-type){font-size:14px!important;line-height:1.55!important}
  .carousel-copy strong{margin-top:18px!important}
  .carousel-controls{margin-top:20px!important}
  .carousel-arrow{width:48px!important;height:48px!important}
  .browse-demos{margin-top:58px!important}
  .browse-demo-grid{grid-template-columns:1fr 1fr!important;gap:10px!important}
  .browse-demo{min-height:124px!important;border-radius:15px!important;padding:14px!important}
  .browse-demo img{max-width:88%!important;max-height:88px!important}

  .services-stack-section{padding-top:82px!important}
  .services-stack-intro{margin-bottom:34px!important;text-align:left!important}
  .services-stack-intro h2{font-size:clamp(42px,12vw,58px)!important;line-height:.98!important}
  .services-stack-intro>p:last-child{font-size:15px!important;line-height:1.6!important;max-width:34ch!important}
  .service-stack{gap:12px!important}
  .service-card,.service-card.icon-on-right{min-height:auto!important;padding:24px 20px!important;grid-template-columns:52px 1fr!important;gap:17px!important;border-radius:18px!important;align-items:start!important}
  .service-card.icon-on-right .service-card-copy{order:2!important}.service-card.icon-on-right .service-card-icon{order:1!important}
  .service-card-icon{width:50px!important;height:50px!important;margin:0!important}
  .service-card-icon svg{width:34px!important;height:34px!important}
  .service-card h3{font-size:24px!important;line-height:1.08!important;margin:8px 0 0!important}
  .service-card-detail{display:block!important;opacity:1!important;max-height:none!important;transform:none!important;margin-top:13px!important}
  .service-card-detail p{font-size:14px!important;line-height:1.55!important;margin:0 0 14px!important}
  .service-card-detail ul{gap:6px!important;flex-wrap:wrap!important}
  .service-card-detail li{font-size:9px!important;padding:7px 9px!important}

  .why-summary{padding-top:82px!important}
  .why-summary-intro{display:block!important;margin-bottom:34px!important}
  .why-summary-intro h2{font-size:clamp(42px,12vw,58px)!important;line-height:.98!important}
  .why-summary-intro>p{font-size:15px!important;line-height:1.65!important;margin:22px 0 0!important;max-width:36ch!important}
  .why-expand-row{grid-template-columns:1fr!important;gap:12px!important}
  .why-expand-card{min-height:auto!important;padding:25px 22px!important;border-radius:18px!important}
  .why-expand-card h3{font-size:25px!important;margin:16px 0 8px!important}
  .why-expand-card p{opacity:1!important;transform:none!important;max-height:none!important;font-size:14px!important}
  .why-expand-icon{width:46px!important;height:46px!important}

  .contact{display:block!important;text-align:left!important;padding-top:82px!important;padding-bottom:82px!important}
  .contact>img{width:88px!important;margin-bottom:24px!important}
  .contact h2{font-size:clamp(42px,12vw,60px)!important;line-height:.98!important}
  .contact p{font-size:15px!important;line-height:1.65!important;margin:18px 0 26px!important}
  .button{min-height:52px;justify-content:center;padding:13px 20px;font-size:10px;letter-spacing:.18em}
  footer{padding:26px 20px!important;font-size:9px!important;letter-spacing:.18em!important}

  /* Brief/form pages */
  .brief-header{height:78px!important}
  .brief-header .brand,.brief-header .brand img{height:58px!important;max-height:58px!important}
  .brief-close{font-size:10px!important;letter-spacing:.17em!important}
  .brief-close span{font-size:22px!important}
  .brief-shell{padding:44px 18px 54px!important;max-width:700px!important}
  .brief-intro{margin:0 0 30px!important;text-align:left!important}
  .brief-intro h1{font-size:clamp(42px,12vw,58px)!important;line-height:.96!important;letter-spacing:-.06em!important}
  .brief-intro>p:last-child{font-size:15px!important;line-height:1.6!important;max-width:36ch!important;margin:18px 0 0!important}
  .brief-layout{display:block!important}
  .brief-progress{position:static!important;width:auto!important;margin:0 0 18px!important;padding:17px!important;border-radius:17px!important}
  .brief-progress-top{display:flex!important;align-items:center!important;gap:13px!important}
  .brief-progress-top img{width:42px!important;height:42px!important}
  .brief-progress-top span{font-size:9px!important}.brief-progress-top strong{font-size:14px!important}
  .progress-percent{font-size:9px!important}
  .progress-track{margin-top:13px!important}
  .brief-progress ol{display:flex!important;gap:6px!important;margin:13px 0 0!important;padding:0!important;list-style:none!important;overflow-x:auto!important;scrollbar-width:none!important}
  .brief-progress ol::-webkit-scrollbar{display:none}
  .brief-progress li{flex:0 0 auto!important}
  .brief-progress li button{min-width:37px!important;width:37px!important;height:37px!important;padding:0!important;display:grid!important;place-items:center!important;border:1px solid var(--line)!important;border-radius:50%!important}
  .brief-progress li button>span:last-child{display:none!important}
  .step-state{margin:0!important}
  .brief-form{padding:26px 18px 20px!important;border-radius:20px!important;min-height:0!important}
  .form-step h2{font-size:clamp(29px,8.8vw,39px)!important;line-height:1.04!important;margin:7px 0 26px!important}
  .step-kicker{font-size:9px!important;letter-spacing:.2em!important}
  .field-grid.two-col{grid-template-columns:1fr!important;gap:17px!important}
  .brief-form label>span,.field-heading{font-size:11px!important}
  .brief-form input[type=text],.brief-form input[type=email],.brief-form input[type=url],.brief-form textarea,.brief-form select{font-size:16px!important;min-height:54px!important;padding:14px 14px!important;border-radius:12px!important}
  .brief-form textarea{min-height:128px!important}
  .choice-grid{grid-template-columns:1fr!important;gap:10px!important}
  .choice-card>span{padding:17px!important;min-height:0!important;border-radius:14px!important}
  .choice-card b{font-size:15px!important}.choice-card small{font-size:12px!important;line-height:1.45!important;margin-top:5px!important}
  .style-chips{gap:8px!important}.style-chips span{min-height:44px!important;padding:11px 15px!important;font-size:11px!important}
  .concept-picker{grid-template-columns:1fr 1fr!important;gap:9px!important}
  .concept-option>span{min-height:116px!important;padding:13px!important;border-radius:14px!important}
  .concept-none{grid-column:1/-1!important}.concept-none>span{min-height:55px!important}
  .upload-zone{padding:28px 16px!important;border-radius:15px!important}.upload-zone strong{font-size:14px!important;text-align:center!important}.upload-zone small{font-size:11px!important;text-align:center!important}
  .consent{align-items:flex-start!important}.consent span{font-size:12px!important;line-height:1.5!important}
  .next-steps-card{padding:18px!important;border-radius:14px!important}.next-steps-card li{font-size:12px!important}
  .turnstile-wrap{overflow:hidden!important}
  .form-actions{position:sticky!important;bottom:0!important;z-index:5!important;margin:24px -18px -20px!important;padding:14px 18px calc(14px + env(safe-area-inset-bottom))!important;background:linear-gradient(180deg,rgba(5,5,5,0),rgba(5,5,5,.96) 22%)!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important}
  .form-actions .button{width:100%!important;padding:11px 12px!important}
  .form-actions .form-next:only-child,.form-actions .form-submit:only-child{grid-column:1/-1!important}
  .form-error{font-size:12px!important;margin-top:16px!important}

  /* Thank-you page */
  .thank-you-main,.thank-you-shell{padding-left:20px!important;padding-right:20px!important}
  .thank-you-card{padding:34px 22px!important;border-radius:22px!important}
  .thank-you-card h1{font-size:clamp(42px,12vw,58px)!important;line-height:.98!important}
  .thank-you-card p{font-size:15px!important;line-height:1.6!important}
}
@media (max-width: 390px){
  .home-hero h1{font-size:46px!important}
  .browse-demo-grid,.concept-picker{grid-template-columns:1fr!important}
  .concept-none{grid-column:auto!important}
  .carousel-stage,.carousel-slide{min-height:560px!important}
}

/* v8.1 mobile polish */
@media (max-width: 900px){
  /* Cleaner mobile menu: the large labels are already clearly tappable. */
  .mobile-menu a::after{content:none!important;display:none!important}
  .mobile-menu a{justify-content:flex-start!important}

  /* Land section links on the actual section heading, not the padded section edge. */
  #work,#services,#process,#contact{scroll-margin-top:0!important}

  /* Why Made by Fox: compact portrait cards with a visible next-card peek. */
  .why-expand-row{
    display:flex!important;
    grid-template-columns:none!important;
    overflow-x:auto!important;
    scroll-snap-type:x mandatory!important;
    scroll-padding-inline:0!important;
    gap:14px!important;
    padding:2px 38px 18px 0!important;
    margin-right:-20px!important;
    min-height:0!important;
    scrollbar-width:none!important;
    overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch;
  }
  .why-expand-row::-webkit-scrollbar{display:none!important}
  .why-expand-card{
    flex:0 0 min(82vw,350px)!important;
    min-height:315px!important;
    padding:122px 22px 25px!important;
    justify-content:flex-end!important;
    align-items:center!important;
    text-align:center!important;
    scroll-snap-align:start!important;
    border-radius:20px!important;
  }
  .why-expand-icon{
    left:50%!important;
    top:26px!important;
    width:92px!important;
    height:92px!important;
    transform:translateX(-50%)!important;
  }
  .why-expand-card:focus-visible .why-expand-icon,
  .why-expand-card:hover .why-expand-icon{transform:translateX(-50%) translateY(-2px) scale(1.03)!important}
  .why-expand-card h3{font-size:27px!important;margin:0 0 10px!important}
  .why-expand-card p{font-size:14px!important;line-height:1.58!important;margin:0!important}

  /* Keep the featured demo carousel clean; arrows, dots and the next-card peek already signal swiping. */
  .demo-carousel{position:relative!important;padding-right:14px!important;margin-right:-20px!important}
  .carousel-stage{width:calc(100% - 18px)!important;overflow:hidden!important}
  .demo-carousel::before,
  .demo-carousel::after{content:none!important;display:none!important}

  /* Give Safari's toolbar a little breathing room below the form controls. */
  .form-actions{bottom:10px!important;margin-bottom:-10px!important;padding-bottom:calc(16px + env(safe-area-inset-bottom))!important}
}

@media (max-width: 390px){
  .why-expand-card{flex-basis:84vw!important;min-height:300px!important}
}
