/*
 * WebXtent v0.8.87 — annotated mobile spatial refinement.
 *
 * Phone-only downstream pass:
 * - Home interlude heading moves into image zone and card compacts;
 * - Indalo Updates eyebrow is retired on phone;
 * - Capabilities closing card loses excess top space;
 * - Approach becomes a warm-white Apple-like editorial composition;
 * - Developments counter bar narrows and hero trim increases by 20px.
 */

@media (max-width:767px){

  /* ================================================================
   * HOME — FEATURE BANNER
   * ================================================================ */
  body.wxt-scene-home .wxt-home-design-baseline__interlude,
  body.wxt-scene-home .wxt-home-design-baseline__interlude-media,
  body.wxt-scene-home .wxt-home-design-baseline__interlude-media .wxt-home-image-slot{
    height:calc(var(--wxt-baseline-mobile-interlude-height,250px) - 30px)!important;
    min-height:calc(var(--wxt-baseline-mobile-interlude-height,250px) - 30px)!important;
  }

  body.wxt-scene-home .wxt-home-design-baseline__interlude-shade{
    background:
      linear-gradient(
        180deg,
        rgba(5,16,24,.04) 0%,
        rgba(5,16,24,.08) 42%,
        rgba(5,16,24,.46) 68%,
        rgba(5,16,24,.84) 100%
      )!important;
  }

  body.wxt-scene-home .wxt-home-design-baseline__interlude-copy{
    inset:0!important;
    width:100%!important;
    max-width:none!important;
    padding:0!important;
    pointer-events:none!important;
  }

  body.wxt-scene-home .wxt-home-design-baseline__interlude-copy h3{
    position:absolute!important;
    top:24px!important;
    left:18px!important;
    width:min(58%,220px)!important;
    max-width:11ch!important;
    margin:0!important;
    transform:none!important;
    font-size:clamp(24px,7.5vw,31px)!important;
    line-height:.95!important;
    text-shadow:0 2px 16px rgba(0,0,0,.32)!important;
  }

  body.wxt-scene-home .wxt-home-design-baseline__interlude-copy p{
    position:absolute!important;
    left:18px!important;
    right:18px!important;
    bottom:18px!important;
    width:min(62%,250px)!important;
    max-width:28ch!important;
    margin:0!important;
    color:rgba(255,255,255,.78)!important;
    font-size:10px!important;
    line-height:1.35!important;
  }

  /* ================================================================
   * HOME — INDALO UPDATES
   * ================================================================ */
  body.wxt-scene-home .wxt-home-subscription--inline-card .wxt-home-subscription__eyebrow{
    display:none!important;
  }

  body.wxt-scene-home .wxt-home-subscription--inline-card{
    padding-top:14px!important;
  }

  /* ================================================================
   * CAPABILITIES — CLOSING FEATURE
   * ================================================================ */
  body.wxt-scene-capabilities .wxt-capabilities-ref__closing{
    min-height:calc(var(--wxt-cap-mobile-closing-height,390px) - 90px)!important;
    height:calc(var(--wxt-cap-mobile-closing-height,390px) - 90px)!important;
  }

  body.wxt-scene-capabilities .wxt-capabilities-ref__closing-copy{
    top:28px!important;
    bottom:auto!important;
    left:var(--wxt-cap-mobile-closing-inset,22px)!important;
    right:var(--wxt-cap-mobile-closing-inset,22px)!important;
    transform:none!important;
  }

  body.wxt-scene-capabilities .wxt-capabilities-ref__closing-action{
    margin-top:16px!important;
  }

  /* ================================================================
   * APPROACH — WARM-WHITE APPLE-LIKE MOBILE COMPOSITION
   * ================================================================ */
  body.wxt-scene-approach .wxt-approach-main--editorial-v0855{
    background:#f5f2ea!important;
  }

  body.wxt-scene-approach .wxt-approach-v55{
    display:block!important;
    width:calc(100% - 20px)!important;
    max-width:none!important;
    min-height:0!important;
    height:auto!important;
    margin:10px auto 20px!important;
    overflow:hidden!important;
    border:1px solid rgba(18,31,39,.08)!important;
    border-radius:22px!important;
    background:#f5f2ea!important;
    box-shadow:0 20px 48px rgba(24,31,36,.08)!important;
    color:#14202a!important;
  }

  body.wxt-scene-approach .wxt-approach-v55__media{
    position:relative!important;
    inset:auto!important;
    z-index:0!important;
    width:100%!important;
    height:220px!important;
    overflow:hidden!important;
  }

  body.wxt-scene-approach .wxt-approach-v55__media img{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    object-position:var(--wxt-approach-focus-x,52%) var(--wxt-approach-focus-y,50%)!important;
  }

  body.wxt-scene-approach .wxt-approach-v55__shade{
    display:none!important;
  }

  body.wxt-scene-approach .wxt-approach-v55__top{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    padding:22px var(--wxt-approach-mobile-story-inset,20px) 0!important;
    color:#6f7477!important;
    font-size:8px!important;
    letter-spacing:.18em!important;
  }

  body.wxt-scene-approach .wxt-approach-v55__identity{
    color:#6b7074!important;
  }

  body.wxt-scene-approach .wxt-approach-v55__identity-divider{
    background:rgba(20,32,42,.18)!important;
  }

  body.wxt-scene-approach .wxt-approach-v55__story{
    width:100%!important;
    padding:15px var(--wxt-approach-mobile-story-inset,20px) 28px!important;
  }

  body.wxt-scene-approach .wxt-approach-v55__eyebrow{
    margin:0 0 10px!important;
    color:#9b793b!important;
  }

  body.wxt-scene-approach .wxt-approach-v55__story h1{
    max-width:10ch!important;
    margin:0!important;
    color:#10191f!important;
    font-size:var(--wxt-approach-mobile-title-size,44px)!important;
    line-height:.93!important;
    letter-spacing:-.048em!important;
  }

  body.wxt-scene-approach .wxt-approach-v55__lede{
    max-width:34ch!important;
    margin:16px 0 0!important;
    color:#666c70!important;
    font-size:var(--wxt-approach-mobile-lede-size,13px)!important;
    line-height:1.55!important;
  }

  body.wxt-scene-approach .wxt-approach-v55__action,
  body.wxt-scene-approach .wxt-approach-v55__action:hover,
  body.wxt-scene-approach .wxt-approach-v55__action:focus-visible{
    width:min(100%,250px)!important;
    min-height:46px!important;
    margin-top:20px!important;
    padding:7px 7px 7px 16px!important;
    border:1px solid rgba(20,32,42,.16)!important;
    background:rgba(255,255,255,.66)!important;
    color:#14202a!important;
    box-shadow:0 10px 24px rgba(25,31,36,.06),inset 0 1px 0 rgba(255,255,255,.75)!important;
    backdrop-filter:blur(14px) saturate(110%)!important;
    -webkit-backdrop-filter:blur(14px) saturate(110%)!important;
    transform:none!important;
  }

  body.wxt-scene-approach .wxt-approach-v55__action span:last-child{
    background:#182b38!important;
    color:#fff!important;
  }

  body.wxt-scene-approach .wxt-approach-v55__steps{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:0!important;
    margin:0!important;
    padding:0 20px 22px!important;
    min-height:0!important;
    overflow:visible!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    scroll-snap-type:none!important;
  }

  body.wxt-scene-approach .wxt-approach-v55__step{
    width:auto!important;
    min-width:0!important;
    min-height:132px!important;
    height:auto!important;
    padding:18px 14px 18px 0!important;
    border:0!important;
    border-top:1px solid rgba(20,32,42,.12)!important;
    border-right:1px solid rgba(20,32,42,.12)!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }

  body.wxt-scene-approach .wxt-approach-v55__step:nth-child(even){
    padding-left:16px!important;
    padding-right:0!important;
    border-right:0!important;
  }

  body.wxt-scene-approach .wxt-approach-v55__step:last-child{
    background:transparent!important;
  }

  body.wxt-scene-approach .wxt-approach-v55__step-index{
    color:#a47f3a!important;
    font-size:9px!important;
  }

  body.wxt-scene-approach .wxt-approach-v55__step-index span{
    color:#9a9ea1!important;
  }

  body.wxt-scene-approach .wxt-approach-v55__step h2{
    margin:10px 0 5px!important;
    color:#121b21!important;
    font-size:17px!important;
    line-height:1.08!important;
  }

  body.wxt-scene-approach .wxt-approach-v55__step p{
    display:block!important;
    max-width:29ch!important;
    overflow:visible!important;
    color:#72777a!important;
    font-size:9.5px!important;
    line-height:1.42!important;
    -webkit-line-clamp:unset!important;
  }

  /* ================================================================
   * DEVELOPMENTS — COMPACT COUNTER + ADDITIONAL 20PX HERO REDUCTION
   * ================================================================ */
  html.wxt-developments-mobile-viewport body.wxt-scene-developments .wxt-development-showcase{
    --wxt-dev-mobile-effective-trim:calc(var(--wxt-dev-mobile-viewport-trim,20px) + 20px);
  }

  html.wxt-developments-mobile-viewport body.wxt-scene-developments .wxt-development-showcase__hero{
    height:calc(100dvh - var(--wxt-dev-mobile-effective-trim))!important;
    min-height:calc(100dvh - var(--wxt-dev-mobile-effective-trim))!important;
    max-height:calc(100dvh - var(--wxt-dev-mobile-effective-trim))!important;
  }

  html.wxt-developments-mobile-viewport body.wxt-scene-developments .wxt-development-showcase__project-carousel-nav{
    grid-template-columns:34px 34px minmax(94px,118px) 34px!important;
    justify-content:start!important;
    gap:5px!important;
  }

  html.wxt-developments-mobile-viewport body.wxt-scene-developments .wxt-development-showcase__project-position{
    width:118px!important;
    min-width:94px!important;
    max-width:118px!important;
    padding:0 8px!important;
  }

  html.wxt-developments-mobile-viewport body.wxt-scene-developments .wxt-development-files-toggle{
    width:34px!important;
    min-width:34px!important;
    max-width:34px!important;
    padding:0!important;
    justify-content:center!important;
  }
}

@media (max-width:359px){
  body.wxt-scene-approach .wxt-approach-v55__steps{
    grid-template-columns:1fr!important;
  }

  body.wxt-scene-approach .wxt-approach-v55__step,
  body.wxt-scene-approach .wxt-approach-v55__step:nth-child(even){
    min-height:0!important;
    padding:16px 0!important;
    border-right:0!important;
  }

  html.wxt-developments-mobile-viewport body.wxt-scene-developments .wxt-development-showcase__project-carousel-nav{
    grid-template-columns:32px 32px minmax(82px,104px) 32px!important;
    gap:4px!important;
  }

  html.wxt-developments-mobile-viewport body.wxt-scene-developments .wxt-development-showcase__project-position{
    width:104px!important;
    min-width:82px!important;
    max-width:104px!important;
  }
}
