/*
 * WebXtent v0.8.70 — Annotated Home mobile QC corrections.
 *
 * Fixes the four issues reported from the v0.8.69 live mobile screenshot:
 * 1) hamburger treatment + fluent off-canvas navigation;
 * 2) Editorial highlight card placement;
 * 3) centred Welcome editorial content;
 * 4) Premium Designs / Clear coordination two-column composition.
 *
 * Scope remains phone-only (<768px); tablet and desktop are unchanged.
 */

@media (max-width:767px){

  /* ------------------------------------------------------------------
   * FLUENT MOBILE MENU — Home + About current mobile-pass pages.
   * ------------------------------------------------------------------ */
  body.wxt-scene-home .wxt-header--hero-home,
  .wxt-header[data-wxt-header-scene="about"]{
    z-index:2700!important;
  }

  body.wxt-scene-home .wxt-header--hero-home .wxt-menu-toggle,
  .wxt-header[data-wxt-header-scene="about"] .wxt-menu-toggle{
    position:relative!important;
    display:grid!important;
    place-items:center!important;
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    min-height:40px!important;
    padding:0!important;
    border:1px solid rgba(18,42,61,.12)!important;
    border-radius:14px!important;
    background:rgba(255,255,255,.54)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.82)!important;
    backdrop-filter:blur(14px) saturate(125%)!important;
    -webkit-backdrop-filter:blur(14px) saturate(125%)!important;
    overflow:hidden!important;
  }

  body.wxt-scene-home .wxt-header--hero-home .wxt-menu-toggle span:not(.wxt-sr-only),
  .wxt-header[data-wxt-header-scene="about"] .wxt-menu-toggle span:not(.wxt-sr-only){
    position:absolute!important;
    left:11px!important;
    width:18px!important;
    height:1.5px!important;
    margin:0!important;
    border-radius:999px!important;
    background:#14283b!important;
    transform-origin:center!important;
    transition:transform .28s cubic-bezier(.2,.72,.2,1),top .28s cubic-bezier(.2,.72,.2,1),opacity .2s ease!important;
  }

  body.wxt-scene-home .wxt-header--hero-home .wxt-menu-toggle span:not(.wxt-sr-only):first-child,
  .wxt-header[data-wxt-header-scene="about"] .wxt-menu-toggle span:not(.wxt-sr-only):first-child{
    top:15px!important;
  }

  body.wxt-scene-home .wxt-header--hero-home .wxt-menu-toggle span:not(.wxt-sr-only):nth-child(2),
  .wxt-header[data-wxt-header-scene="about"] .wxt-menu-toggle span:not(.wxt-sr-only):nth-child(2){
    top:23px!important;
  }

  body.wxt-scene-home .wxt-header--hero-home .wxt-menu-toggle[aria-expanded="true"] span:not(.wxt-sr-only):first-child,
  .wxt-header[data-wxt-header-scene="about"] .wxt-menu-toggle[aria-expanded="true"] span:not(.wxt-sr-only):first-child{
    top:19px!important;
    transform:rotate(45deg)!important;
  }

  body.wxt-scene-home .wxt-header--hero-home .wxt-menu-toggle[aria-expanded="true"] span:not(.wxt-sr-only):nth-child(2),
  .wxt-header[data-wxt-header-scene="about"] .wxt-menu-toggle[aria-expanded="true"] span:not(.wxt-sr-only):nth-child(2){
    top:19px!important;
    transform:rotate(-45deg)!important;
  }

  .wxt-mobile-menu-backdrop{
    position:fixed!important;
    inset:0!important;
    z-index:2650!important;
    background:rgba(5,15,22,.42)!important;
    backdrop-filter:blur(4px)!important;
    -webkit-backdrop-filter:blur(4px)!important;
    opacity:0!important;
    pointer-events:none!important;
    transition:opacity .28s ease!important;
  }

  html.wxt-mobile-nav-open .wxt-mobile-menu-backdrop{
    opacity:1!important;
    pointer-events:auto!important;
  }

  body.wxt-scene-home .wxt-header--hero-home .wxt-mobile-menu,
  .wxt-header[data-wxt-header-scene="about"] .wxt-mobile-menu{
    position:fixed!important;
    z-index:2750!important;
    top:0!important;
    right:0!important;
    bottom:0!important;
    left:auto!important;
    width:min(86vw,360px)!important;
    max-width:360px!important;
    height:100dvh!important;
    max-height:none!important;
    margin:0!important;
    padding:calc(92px + env(safe-area-inset-top,0px)) 18px calc(24px + env(safe-area-inset-bottom,0px))!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    border:0!important;
    border-left:1px solid rgba(255,255,255,.42)!important;
    border-radius:26px 0 0 26px!important;
    background:
      radial-gradient(circle at 88% 7%,rgba(255,255,255,.84),transparent 28%),
      linear-gradient(155deg,rgba(248,249,247,.98),rgba(230,236,238,.96))!important;
    box-shadow:-28px 0 70px rgba(5,18,28,.22)!important;
    backdrop-filter:blur(30px) saturate(132%)!important;
    -webkit-backdrop-filter:blur(30px) saturate(132%)!important;
    transform:translate3d(104%,0,0)!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transition:transform .34s cubic-bezier(.2,.74,.18,1),opacity .24s ease,visibility 0s linear .34s!important;
  }

  body.wxt-scene-home .wxt-header--hero-home .wxt-mobile-menu[hidden],
  .wxt-header[data-wxt-header-scene="about"] .wxt-mobile-menu[hidden]{
    display:block!important;
  }

  body.wxt-scene-home .wxt-header--hero-home.is-mobile-menu-open .wxt-mobile-menu,
  .wxt-header[data-wxt-header-scene="about"].is-mobile-menu-open .wxt-mobile-menu{
    transform:translate3d(0,0,0)!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transition-delay:0s!important;
  }

  body.wxt-scene-home .wxt-header--hero-home .wxt-mobile-menu:before,
  .wxt-header[data-wxt-header-scene="about"] .wxt-mobile-menu:before{
    content:"INDALO PROJECTS  /  MENU";
    display:block!important;
    margin:0 0 18px!important;
    padding:0 3px 13px!important;
    border-bottom:1px solid rgba(18,42,61,.12)!important;
    color:rgba(18,42,61,.54)!important;
    font:760 8px/1.2 var(--wxt-font-ui)!important;
    letter-spacing:.18em!important;
  }

  body.wxt-scene-home .wxt-header--hero-home .wxt-mobile-menu nav,
  .wxt-header[data-wxt-header-scene="about"] .wxt-mobile-menu nav{
    display:grid!important;
    gap:5px!important;
  }

  body.wxt-scene-home .wxt-header--hero-home .wxt-mobile-menu a,
  .wxt-header[data-wxt-header-scene="about"] .wxt-mobile-menu a{
    position:relative!important;
    min-height:51px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    padding:0 14px!important;
    border:1px solid transparent!important;
    border-radius:16px!important;
    background:transparent!important;
    color:#14283b!important;
    text-decoration:none!important;
    font:650 15px/1.1 var(--wxt-font-ui)!important;
    letter-spacing:-.018em!important;
  }

  body.wxt-scene-home .wxt-header--hero-home .wxt-mobile-menu a:after,
  .wxt-header[data-wxt-header-scene="about"] .wxt-mobile-menu a:after{
    content:"↗";
    display:grid!important;
    place-items:center!important;
    width:28px!important;
    height:28px!important;
    border:1px solid rgba(18,42,61,.12)!important;
    border-radius:50%!important;
    color:rgba(18,42,61,.58)!important;
    font-size:11px!important;
  }

  body.wxt-scene-home .wxt-header--hero-home .wxt-mobile-menu a.is-current,
  .wxt-header[data-wxt-header-scene="about"] .wxt-mobile-menu a.is-current{
    border-color:rgba(18,42,61,.10)!important;
    background:rgba(255,255,255,.66)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.78)!important;
  }

  body.wxt-scene-home .wxt-header--hero-home .wxt-mobile-menu a.is-current:before,
  .wxt-header[data-wxt-header-scene="about"] .wxt-mobile-menu a.is-current:before{
    content:"";
    width:6px!important;
    height:6px!important;
    margin-right:8px!important;
    border-radius:50%!important;
    background:#b99555!important;
    flex:0 0 6px!important;
  }

  html.wxt-mobile-nav-open,
  html.wxt-mobile-nav-open body{
    overflow:hidden!important;
    overscroll-behavior:none!important;
  }

  /* ------------------------------------------------------------------
   * EDITORIAL MEDIA + HIGHLIGHT CARD — make the card actually belong to
   * the image instead of appearing as a detached white slab below it.
   * ------------------------------------------------------------------ */
  body.wxt-scene-home .wxt-home-normal-main .wxt-home-editorial__inner{
    position:relative!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-rows:auto auto!important;
    gap:28px!important;
  }

  body.wxt-scene-home .wxt-home-normal-main .wxt-home-editorial__media{
    grid-column:1!important;
    grid-row:1!important;
    position:relative!important;
    z-index:1!important;
    aspect-ratio:4/5!important;
    border-radius:20px!important;
  }

  body.wxt-scene-home .wxt-home-editorial__feature-card{
    grid-column:1!important;
    grid-row:1!important;
    position:relative!important;
    z-index:4!important;
    align-self:end!important;
    justify-self:stretch!important;
    top:auto!important;
    right:auto!important;
    bottom:auto!important;
    left:auto!important;
    width:auto!important;
    min-height:0!important;
    margin:0 12px 12px!important;
    padding:14px 15px!important;
    transform:none!important;
    display:grid!important;
    gap:5px!important;
    border:1px solid rgba(255,255,255,.66)!important;
    border-radius:16px!important;
    background:rgba(248,249,247,.86)!important;
    box-shadow:0 14px 34px rgba(7,24,35,.15),inset 0 1px 0 rgba(255,255,255,.78)!important;
    backdrop-filter:blur(18px) saturate(128%)!important;
    -webkit-backdrop-filter:blur(18px) saturate(128%)!important;
    color:#14283b!important;
  }

  body.wxt-scene-home .wxt-home-editorial__feature-eyebrow{
    font-size:7px!important;
    letter-spacing:.16em!important;
    color:rgba(20,40,59,.52)!important;
  }

  body.wxt-scene-home .wxt-home-editorial__feature-title{
    font-size:17px!important;
    line-height:1.04!important;
    color:#14283b!important;
  }

  body.wxt-scene-home .wxt-home-editorial__feature-text{
    max-width:36ch!important;
    font-size:9.5px!important;
    line-height:1.42!important;
    color:rgba(20,40,59,.68)!important;
  }

  /* ------------------------------------------------------------------
   * WELCOME — centred as annotated.
   * ------------------------------------------------------------------ */
  body.wxt-scene-home .wxt-home-normal-main .wxt-home-editorial__content{
    grid-column:1!important;
    grid-row:2!important;
    width:100%!important;
    max-width:520px!important;
    justify-self:center!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    padding:0 3px!important;
    text-align:center!important;
  }

  body.wxt-scene-home .wxt-home-editorial__eyebrow{
    justify-content:center!important;
    margin-inline:auto!important;
  }

  body.wxt-scene-home .wxt-home-normal-main .wxt-home-editorial h2,
  body.wxt-scene-home .wxt-home-editorial__text{
    margin-left:auto!important;
    margin-right:auto!important;
    text-align:center!important;
  }

  body.wxt-scene-home .wxt-home-editorial__action{
    width:min(100%,245px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
    justify-content:space-between!important;
  }

  /* ------------------------------------------------------------------
   * PREMIUM DESIGNS + CLEAR COORDINATION — intentional 2-column pair.
   * ------------------------------------------------------------------ */
  body.wxt-scene-home .wxt-home-design-baseline__propositions{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px!important;
    align-items:stretch!important;
  }

  body.wxt-scene-home .wxt-home-design-baseline__propositions>.wxt-home-design-card--feature,
  body.wxt-scene-home .wxt-home-design-baseline__propositions>.wxt-home-design-card--coordination{
    grid-column:auto!important;
    min-width:0!important;
    min-height:242px!important;
    height:100%!important;
    border-radius:17px!important;
  }

  body.wxt-scene-home .wxt-home-design-card--feature{
    padding:16px!important;
  }

  body.wxt-scene-home .wxt-home-design-card--feature .wxt-home-design-card__copy{
    max-width:100%!important;
    min-height:0!important;
  }

  body.wxt-scene-home .wxt-home-design-card--feature .wxt-home-design-card__media{
    width:78%!important;
    height:49%!important;
    right:-14%!important;
    bottom:-3%!important;
  }

  body.wxt-scene-home .wxt-home-design-card--coordination{
    padding:17px!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:flex-end!important;
  }

  body.wxt-scene-home .wxt-home-design-baseline__propositions>.wxt-home-design-card--endure,
  body.wxt-scene-home .wxt-home-design-baseline__propositions>.wxt-home-subscription--inline-card{
    grid-column:1/-1!important;
  }

  body.wxt-scene-home .wxt-home-design-baseline__propositions>.wxt-home-design-card h3{
    font-size:clamp(17px,5.1vw,21px)!important;
    line-height:1.04!important;
  }

  body.wxt-scene-home .wxt-home-design-baseline__propositions>.wxt-home-design-card p{
    font-size:9.5px!important;
    line-height:1.42!important;
  }
}

@media (max-width:359px){
  body.wxt-scene-home .wxt-home-design-baseline__propositions{
    gap:7px!important;
  }

  body.wxt-scene-home .wxt-home-design-baseline__propositions>.wxt-home-design-card--feature,
  body.wxt-scene-home .wxt-home-design-baseline__propositions>.wxt-home-design-card--coordination{
    min-height:226px!important;
  }

  body.wxt-scene-home .wxt-home-design-card--feature,
  body.wxt-scene-home .wxt-home-design-card--coordination{
    padding:14px!important;
  }

  body.wxt-scene-home .wxt-home-design-baseline__propositions>.wxt-home-design-card h3{
    font-size:17px!important;
  }
}

@media (prefers-reduced-motion:reduce){
  body.wxt-scene-home .wxt-header--hero-home .wxt-mobile-menu,
  .wxt-header[data-wxt-header-scene="about"] .wxt-mobile-menu,
  body.wxt-scene-home .wxt-header--hero-home .wxt-menu-toggle span:not(.wxt-sr-only),
  .wxt-header[data-wxt-header-scene="about"] .wxt-menu-toggle span:not(.wxt-sr-only),
  .wxt-mobile-menu-backdrop{
    transition:none!important;
  }
}
