/*
 * WebXtent v0.8.59 — Home tablet composition.
 *
 * Tablet is a first-class composition, not compressed desktop/mobile.
 * Scope is intentionally limited to 768–1024px and the Home scene so the
 * established desktop (>1024px) and mobile (<768px) designs remain unchanged.
 */

@media (min-width:768px) and (max-width:1024px){

  /* -----------------------------------------------------------------------
   * TABLET RHYTHM
   * -------------------------------------------------------------------- */
  body.home .wxt-home-normal-main{
    --wxt-home-gutter:clamp(24px,3.5vw,36px);
    --wxt-home-section-pad:clamp(62px,7vw,78px);
  }

  /* -----------------------------------------------------------------------
   * HEADER — keep the primary navigation visible at tablet width.
   * The existing Phase 2 layer hid navigation at <=1024px, which made tablet
   * look like an oversized phone. Tablet gets its own compact glass nav.
   * -------------------------------------------------------------------- */
  .wxt-header--hero-home{
    width:calc(100% - 28px)!important;
    max-width:1000px!important;
    top:max(12px,env(safe-area-inset-top,0px))!important;
  }
  .wxt-header--hero-home .wxt-header__inner{
    min-height:58px!important;
    height:58px!important;
    grid-template-columns:minmax(112px,.48fr) minmax(0,2.3fr) auto!important;
    gap:9px!important;
    padding:0 8px 0 12px!important;
    border-radius:24px!important;
  }
  .wxt-header--hero-home .wxt-header__brand-zone{
    min-width:0!important;
    gap:6px!important;
  }
  .wxt-header--hero-home .wxt-brand{
    min-width:0!important;
    gap:7px!important;
  }
  .wxt-header--hero-home .wxt-brand__logo{
    width:27px!important;
    height:auto!important;
    flex:0 0 auto!important;
  }
  .wxt-header--hero-home .wxt-brand__text{
    font-size:9px!important;
    line-height:1!important;
    letter-spacing:.14em!important;
    white-space:nowrap!important;
  }
  .wxt-header--hero-home .wxt-header-admin-shortcut{
    display:none!important;
  }
  .wxt-header--hero-home .wxt-nav{
    display:flex!important;
    min-width:0!important;
    width:100%!important;
    justify-self:stretch!important;
    justify-content:center!important;
    align-items:center!important;
    gap:0!important;
    margin:0!important;
    padding:4px 5px!important;
    overflow:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
    transform:none!important;
    border-radius:999px!important;
  }
  .wxt-header--hero-home .wxt-nav__link{
    min-height:34px!important;
    padding:0 clamp(5px,1vw,9px)!important;
    font-size:clamp(9px,1.25vw,11px)!important;
    font-weight:650!important;
    white-space:nowrap!important;
  }
  .wxt-header--hero-home .wxt-header__scroll-meta--home-nav,
  .wxt-header--hero-home .wxt-spotlight-trigger,
  .wxt-header--hero-home .wxt-header-search-field,
  .wxt-header--hero-home .wxt-nav-collapse,
  .wxt-header--hero-home .wxt-menu-toggle{
    display:none!important;
  }
  .wxt-header--hero-home .wxt-header__actions{
    display:flex!important;
    align-items:center!important;
    gap:6px!important;
  }
  .wxt-header--hero-home .wxt-action--header{
    display:inline-flex!important;
    min-height:42px!important;
    padding:0 7px 0 15px!important;
    gap:8px!important;
    font-size:11px!important;
  }
  .wxt-header--hero-home .wxt-action--header span{
    width:31px!important;
    height:31px!important;
    font-size:13px!important;
  }

  /* -----------------------------------------------------------------------
   * HERO — deliberate two-column tablet stage.
   * -------------------------------------------------------------------- */
  [data-wxt-home-scroll-story] .wxt-home-scroll__hero{
    width:calc(100% - 48px)!important;
    padding:112px 0 46px!important;
    align-items:flex-end!important;
  }
  .wxt-home-scroll__hero-layout{
    grid-template-columns:minmax(0,1.08fr) minmax(280px,.92fr)!important;
    align-items:end!important;
    justify-content:space-between!important;
    gap:clamp(18px,3vw,30px)!important;
  }
  .wxt-home-scroll__hero-copy{
    max-width:440px!important;
    padding-left:0!important;
  }
  .wxt-home-scroll__hero-copy h1{
    margin-bottom:14px!important;
    max-width:8.4ch!important;
    font-size:clamp(50px,7.2vw,66px)!important;
    line-height:.94!important;
  }
  .wxt-home-scroll__hero-copy .wxt-lede{
    max-width:32ch!important;
    margin-bottom:20px!important;
    font-size:clamp(13px,1.7vw,15px)!important;
    line-height:1.48!important;
  }
  .wxt-home-hero__actions{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:8px!important;
    width:auto!important;
    margin:0!important;
  }
  .wxt-home-hero__button{
    width:auto!important;
    min-height:44px!important;
    padding:0 8px 0 15px!important;
    gap:9px!important;
    font-size:10px!important;
  }
  .wxt-home-hero__button-badge{
    width:30px!important;
    height:30px!important;
  }
  .wxt-home-hero__promo{
    justify-self:end!important;
    width:100%!important;
    max-width:360px!important;
    grid-template-columns:96px minmax(0,1fr)!important;
    gap:12px!important;
    padding:11px 12px!important;
    border-radius:22px!important;
  }
  .wxt-home-hero__promo-media{
    height:104px!important;
    border-radius:15px!important;
  }
  .wxt-home-hero__promo-body{gap:7px!important}
  .wxt-home-hero__promo-kicker{font-size:8px!important}
  .wxt-home-hero__promo-title{font-size:16px!important}
  .wxt-home-hero__promo-text{
    font-size:11px!important;
    line-height:1.38!important;
  }
  .wxt-home-hero__promo-nav{gap:5px!important}
  .wxt-home-hero__promo-nav span{
    width:26px!important;
    height:26px!important;
    font-size:14px!important;
  }
  .wxt-home-hero__promo-action{
    width:38px!important;
    height:38px!important;
    font-size:17px!important;
  }

  /* -----------------------------------------------------------------------
   * WELCOME / EDITORIAL — two-column tablet composition with the project
   * information card floating over the image rather than creating a new row.
   * -------------------------------------------------------------------- */
  .wxt-home-normal-main .wxt-home-editorial{
    padding:clamp(58px,7vw,72px) 28px!important;
  }
  .wxt-home-normal-main .wxt-home-editorial__inner{
    grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr)!important;
    gap:clamp(28px,4vw,42px)!important;
    align-items:center!important;
  }
  .wxt-home-normal-main .wxt-home-editorial__media{
    height:clamp(380px,50vw,500px)!important;
    min-height:0!important;
    aspect-ratio:auto!important;
    border-radius:24px!important;
  }
  .wxt-home-editorial__feature-card{
    position:absolute!important;
    top:auto!important;
    left:18px!important;
    bottom:18px!important;
    transform:none!important;
    grid-column:auto!important;
    width:min(270px,38vw)!important;
    min-height:150px!important;
    margin:0!important;
    padding:18px!important;
    border-radius:20px!important;
  }
  .wxt-home-editorial__feature-title{
    font-size:clamp(19px,2.6vw,24px)!important;
  }
  .wxt-home-editorial__feature-text{
    font-size:10.5px!important;
    line-height:1.42!important;
  }
  .wxt-home-normal-main .wxt-home-editorial__content{
    max-width:none!important;
    align-self:center!important;
    padding:0!important;
  }
  .wxt-home-editorial__eyebrow{
    margin-bottom:14px!important;
    font-size:9px!important;
  }
  .wxt-home-normal-main .wxt-home-editorial h2{
    max-width:10ch!important;
    font-size:clamp(42px,5.8vw,58px)!important;
    line-height:.96!important;
  }
  .wxt-home-editorial__text{
    max-width:42ch!important;
    margin-top:18px!important;
    font-size:13.5px!important;
    line-height:1.55!important;
  }
  .wxt-home-editorial__action{
    width:auto!important;
    min-height:44px!important;
    margin-top:22px!important;
  }

  /* -----------------------------------------------------------------------
   * REFERENCE CONTINUATION — cinematic banner.
   * -------------------------------------------------------------------- */
  .wxt-home-design-baseline{
    padding:clamp(58px,6.5vw,72px) 0 clamp(64px,7vw,82px)!important;
  }
  .wxt-home-design-baseline__shell{
    width:calc(100% - 48px)!important;
    max-width:960px!important;
  }
  .wxt-home-design-baseline__interlude{
    min-height:270px!important;
    height:270px!important;
    margin-bottom:0!important;
    border-radius:22px!important;
  }
  .wxt-home-design-baseline__interlude-media,
  .wxt-home-design-baseline__interlude-media .wxt-home-image-slot{
    height:270px!important;
  }
  .wxt-home-design-baseline__interlude-copy{
    left:30px!important;
    bottom:28px!important;
    max-width:56%!important;
  }
  .wxt-home-design-baseline__interlude-copy h3{
    margin-bottom:9px!important;
    font-size:clamp(28px,4.3vw,38px)!important;
  }
  .wxt-home-design-baseline__interlude-copy p{
    margin-bottom:15px!important;
    font-size:12px!important;
  }
  .wxt-home-design-baseline__interlude-copy a{
    padding:10px 14px!important;
    font-size:9px!important;
  }
  .wxt-home-design-baseline__interlude-controls{
    right:18px!important;
    bottom:18px!important;
    transform:scale(.92)!important;
    transform-origin:right bottom!important;
  }

  /* -----------------------------------------------------------------------
   * ABOUT / EXPERTISE — editorial copy and 01/02/03 remain one deliberate
   * tablet row. This overrides the old <=1020px one-column fallback.
   * -------------------------------------------------------------------- */
  .wxt-home-design-baseline__intro.wxt-home-about-band{
    grid-template-columns:70px minmax(0,1fr)!important;
    gap:24px!important;
    margin:0 0 36px!important;
    padding:36px 0 44px!important;
  }
  .wxt-home-about-band__eyebrow{
    margin-top:5px!important;
    font-size:9px!important;
  }
  .wxt-home-about-band__body{
    grid-template-columns:minmax(250px,.9fr) minmax(320px,1.1fr)!important;
    gap:clamp(28px,4vw,42px)!important;
    align-items:stretch!important;
  }
  .wxt-home-design-baseline__intro.wxt-home-about-band h2{
    max-width:410px!important;
    margin-bottom:14px!important;
    font-size:clamp(30px,4vw,38px)!important;
    line-height:1!important;
  }
  .wxt-home-about-band .wxt-home-design-baseline__intro-copy{
    max-width:400px!important;
    font-size:12.5px!important;
    line-height:1.55!important;
  }
  .wxt-home-about-band__side{
    min-height:138px!important;
  }
  .wxt-home-about-band__link{
    align-self:flex-end!important;
    font-size:8.5px!important;
  }
  .wxt-home-about-band__stats{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    margin-top:auto!important;
    padding-top:28px!important;
    max-width:none!important;
  }
  .wxt-home-about-band__stat{
    padding:0 13px!important;
  }
  .wxt-home-about-band__stat:first-child{padding-left:0!important}
  .wxt-home-about-band__stat strong{
    margin-bottom:6px!important;
    font-size:clamp(25px,3.5vw,31px)!important;
  }
  .wxt-home-about-band__stat span{
    max-width:none!important;
    font-size:8.5px!important;
  }

  /* -----------------------------------------------------------------------
   * PROPOSITION / UPDATE CARDS — two strong cards, newsletter full-width.
   * -------------------------------------------------------------------- */
  .wxt-home-design-baseline__propositions{
    display:grid!important;
    grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)!important;
    gap:14px!important;
    align-items:stretch!important;
    margin-bottom:42px!important;
  }
  .wxt-home-design-baseline__propositions>.wxt-home-design-card--feature,
  .wxt-home-design-baseline__propositions>.wxt-home-design-card--dark{
    grid-column:auto!important;
    min-width:0!important;
    min-height:270px!important;
  }
  .wxt-home-design-card--feature{
    grid-template-columns:minmax(0,.9fr) minmax(180px,1.1fr)!important;
    padding:24px!important;
    gap:8px!important;
  }
  .wxt-home-design-card__copy{
    min-height:210px!important;
  }
  .wxt-home-design-card__media{
    width:58%!important;
    height:88%!important;
    right:-5%!important;
    bottom:-7%!important;
  }
  .wxt-home-design-card--dark{
    padding:24px!important;
  }
  .wxt-home-design-card h3{
    font-size:clamp(20px,3vw,25px)!important;
  }
  .wxt-home-design-card p{
    font-size:12px!important;
    line-height:1.48!important;
  }
  .wxt-home-design-baseline__propositions>.wxt-home-subscription--inline-card{
    grid-column:1/-1!important;
    min-height:0!important;
    padding:22px!important;
  }
  .wxt-home-subscription--inline-card .wxt-home-subscription__fields{
    grid-template-columns:1fr 1fr!important;
    gap:10px!important;
  }
  .wxt-home-subscription--inline-card .wxt-home-subscription__fields button[type="submit"]{
    grid-column:1/-1!important;
  }
  .wxt-home-subscription--inline-card .wxt-home-subscription__topics{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  /* -----------------------------------------------------------------------
   * PROOF / FOCUS ROW — keep the focus list horizontal at tablet.
   * -------------------------------------------------------------------- */
  .wxt-home-design-baseline__proof{
    grid-template-columns:minmax(150px,.56fr) minmax(0,1.44fr)!important;
    gap:26px!important;
    align-items:center!important;
    padding:8px 0 42px!important;
  }
  .wxt-home-design-baseline__proof-list{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:14px!important;
  }
  .wxt-home-design-baseline__proof-list span{
    font-size:8.5px!important;
    white-space:normal!important;
  }

  /* -----------------------------------------------------------------------
   * BUILD / FEATURE STORY — restore a tablet split instead of phone stacking.
   * -------------------------------------------------------------------- */
  .wxt-home-design-baseline__story{
    grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr)!important;
    gap:34px!important;
    align-items:stretch!important;
    padding-top:46px!important;
  }
  .wxt-home-design-baseline__story-copy{
    align-self:center!important;
    max-width:none!important;
    padding-top:0!important;
  }
  .wxt-home-design-baseline__story-copy h2{
    margin-bottom:16px!important;
    font-size:clamp(34px,4.8vw,44px)!important;
  }
  .wxt-home-design-baseline__story-copy>p:not(.wxt-home-design-baseline__kicker){
    font-size:12.5px!important;
  }
  .wxt-home-design-baseline__feature{
    min-height:390px!important;
    border-radius:24px!important;
  }
  .wxt-home-design-baseline__feature-copy{
    padding:24px 26px 0!important;
  }
  .wxt-home-design-baseline__feature-copy h3{
    font-size:24px!important;
  }
  .wxt-home-design-baseline__feature-media{
    height:57%!important;
  }

  /* -----------------------------------------------------------------------
   * CLIENT EXPECTATION — card and three images share one tablet row.
   * -------------------------------------------------------------------- */
  .wxt-home-ref-proof__inner{
    width:calc(100% - 48px)!important;
    max-width:960px!important;
    padding:64px 0 70px!important;
    display:grid!important;
    grid-template-columns:minmax(230px,.74fr) minmax(0,1.26fr)!important;
    column-gap:20px!important;
    row-gap:22px!important;
    align-items:center!important;
    text-align:left!important;
  }
  .wxt-home-ref-proof__eyebrow,
  .wxt-home-ref-proof__inner>h2{
    grid-column:1/-1!important;
    text-align:center!important;
  }
  .wxt-home-ref-proof__eyebrow{
    margin-bottom:-12px!important;
  }
  .wxt-home-ref-proof__inner>h2{
    margin:0 auto 8px!important;
    max-width:660px!important;
    font-size:clamp(34px,4.8vw,44px)!important;
  }
  .wxt-home-ref-proof__card{
    width:100%!important;
    margin:0!important;
    grid-template-columns:44px minmax(0,1fr)!important;
    gap:13px!important;
    padding:18px!important;
    border-radius:12px!important;
  }
  .wxt-home-ref-proof__mark{
    width:42px!important;
    height:42px!important;
    font-size:11px!important;
  }
  .wxt-home-ref-proof__card p{
    font-size:11.5px!important;
    line-height:1.48!important;
  }
  .wxt-home-ref-proof__action{
    grid-column:2!important;
    justify-self:start!important;
    margin-top:2px!important;
    padding:9px 11px!important;
    font-size:9.5px!important;
  }
  .wxt-home-ref-proof__gallery{
    width:100%!important;
    margin:0!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:10px!important;
  }
  .wxt-home-ref-proof__gallery-item,
  .wxt-home-ref-proof__gallery-item:last-child{
    grid-column:auto!important;
    min-height:104px!important;
    aspect-ratio:4/3!important;
    border-radius:14px!important;
  }
  .wxt-home-ref-proof__gallery-item .wxt-home-image-slot,
  .wxt-home-ref-proof__gallery-item img{
    min-height:104px!important;
    height:100%!important;
  }

  /* -----------------------------------------------------------------------
   * FOOTER — retain a multi-column information architecture on tablet.
   * -------------------------------------------------------------------- */
  body.home .wxt-footer__inner{
    grid-template-columns:minmax(210px,.72fr) minmax(0,1.48fr)!important;
    grid-template-areas:"brand nav" "legal legal"!important;
    gap:38px 48px!important;
    padding-top:54px!important;
  }
  body.home .wxt-footer__brand{
    max-width:240px!important;
  }
  body.home .wxt-footer__brand strong{
    font-size:28px!important;
  }
  body.home .wxt-footer__brand p{
    font-size:11.5px!important;
    line-height:1.55!important;
  }
  body.home .wxt-footer__brand-contact{
    margin-top:14px!important;
  }
  body.home .wxt-footer__nav{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:24px!important;
  }
  body.home .wxt-footer__column{
    gap:8px!important;
  }
  body.home .wxt-footer__column>span{
    padding-bottom:8px!important;
    font-size:8.5px!important;
  }
  body.home .wxt-footer__column a,
  body.home .wxt-footer__contact-location{
    font-size:11px!important;
  }
  body.home .wxt-footer__legal{
    flex-direction:row!important;
    align-items:center!important;
    gap:18px!important;
    padding-top:20px!important;
    font-size:10.5px!important;
  }
}

/* Keep the breakpoint contract explicit: phone remains owned by the existing
 * mobile layers and desktop remains untouched by this tablet-only release. */
@media (max-width:767px){
  body.home .wxt-header--hero-home .wxt-nav{display:none!important}
}
