/* Home-only layout: purposeful whitespace, accessible image carousel and compact catalog sections. */
.home-hero-carousel{position:relative;margin:18px auto 0;width:var(--page);max-width:1320px;height:clamp(340px,35vw,470px);overflow:hidden;border-radius:22px;background:#071b35;box-shadow:0 22px 60px rgba(12,35,67,.14);isolation:isolate}
.home-hero-stage,.home-hero-slide{position:absolute;inset:0}.home-hero-slide{display:flex;align-items:center;justify-content:flex-end;opacity:0;visibility:hidden;transition:opacity .55s ease,visibility .55s ease;overflow:hidden}.home-hero-slide.is-current{opacity:1;visibility:visible;z-index:2}
.home-hero-photo{width:100%;height:100%;object-fit:cover;object-position:var(--hero-focus,center);position:absolute;inset:0;filter:saturate(1.05)}

.home-hero-content{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-end;text-align:right;margin-left:auto;padding:32px clamp(26px,5vw,76px);width:min(700px,62%);max-width:100%;color:#fff;text-shadow:0 2px 10px rgba(2,14,31,.9),0 1px 3px rgba(2,14,31,.95)}
.home-hero-kicker{font-size:11px;font-weight:800;letter-spacing:2px;color:#67d8ff;text-transform:uppercase;display:inline-flex;align-items:center;justify-content:flex-end;gap:10px}.home-hero-kicker:before{content:'';width:17px;height:2px;background:#5ccfff}
.home-hero-content h1{font:800 clamp(33px,4.6vw,63px)/1.07 Manrope,'DM Sans',sans-serif;letter-spacing:-.048em;margin:16px 0 15px;text-wrap:balance;max-width:570px;text-align:right}
.home-hero-content p{font-size:clamp(13px,1.22vw,16px);line-height:1.7;color:#d8e7fa;margin:0 0 24px;max-width:455px;text-wrap:pretty;text-align:right}
.home-hero-cta{display:inline-flex;align-self:flex-end;align-items:center;justify-content:center;gap:25px;padding:15px 22px;color:white;background:linear-gradient(115deg,#087bf0,#1559ce);border-radius:11px;font-size:13px;font-weight:800;box-shadow:0 12px 26px rgba(8,79,166,.28);transition:transform .18s,box-shadow .18s}.home-hero-cta:hover{transform:translateY(-2px);box-shadow:0 16px 32px rgba(8,79,166,.4)}.home-hero-cta span{font-size:19px}
.home-hero-fallback{background:radial-gradient(ellipse at 83% 47%,#20578a,#0c2a4b 48%,#09172b 95%)}.home-hero-fallback-art{position:absolute;inset:0;pointer-events:none;overflow:hidden}.fallback-orbit{position:absolute;width:380px;height:380px;border:1px solid #44bfff39;border-radius:50%;left:10%;top:7%;box-shadow:0 0 0 55px #329bf30b,0 0 0 125px #329bf308}.fallback-chip{position:absolute;top:40%;left:13%;border:1px solid #64c3ff75;border-radius:16px;transform:rotate(-10deg);padding:36px 30px;box-shadow:0 30px 70px #020919ab;background:linear-gradient(140deg,#274b77,#102745);color:#87d9ff;font:800 20px Manrope,sans-serif;letter-spacing:2px}.fallback-chip b{display:block;color:white;font-size:29px}
.home-hero-controls{position:absolute;z-index:4;bottom:17px;left:clamp(26px,5vw,76px);right:24px;display:flex;align-items:center;justify-content:space-between;pointer-events:none}.home-hero-dots,.home-hero-arrows{display:flex;gap:8px;pointer-events:auto}.home-hero-dot{border:0;background:transparent;padding:8px 2px;cursor:pointer}.home-hero-dot span{display:block;width:23px;height:4px;background:#ffffff6b;border-radius:10px;transition:width .2s,background .2s}.home-hero-dot.is-current span{width:40px;background:#67d8ff}.home-hero-arrows button{width:35px;height:35px;border:1px solid #ffffff55;border-radius:50%;background:#0b224199;color:#fff;cursor:pointer;font-size:19px}.home-hero-arrows button:hover{background:#125a96}
/* Homepage density pass: override stacked gutters from site.css and mall-storefront.css.
   This stylesheet is loaded only by Home/Index, after both global stylesheets. */
.home-hero-carousel {
  margin-top: 12px;
  height: clamp(340px, 33vw, 445px);
}

/* Trust/service strip: no inherited 50-56px bottom margin. */
.home-hero-carousel + .service-strip {
  margin: 10px auto 0;
  padding: 4px 12px;
  min-height: 0;
  border: 1px solid #e3eaf4;
  border-radius: 14px;
  box-shadow: none;
}
.home-hero-carousel + .service-strip > div {
  padding: 9px 14px;
}

/* The original global .section rules add BOTH vertical padding and bottom margin.
   Give each homepage region one intentional gap instead of stacking both. */
.category-section.section {
  margin: 0 auto;
  padding: 23px 0 0;
}
.products-section.section {
  margin: 0 auto;
  padding: 26px 0 0;
}
.category-section .section-heading,
.products-section .section-heading {
  gap: 12px;
  margin-bottom: 15px;
}
.category-section .section-heading h2,
.products-section .section-heading h2 {
  margin: 3px 0 4px;
}
.category-section .section-heading p,
.products-section .section-heading p {
  margin: 0;
}
.category-grid {
  gap: 11px;
}
.category-section .category-tile {
  min-height: 142px;
  padding: 17px 19px;
}
.products-section .product-grid {
  gap: 13px;
}

/* Close the unused area below the product cards and above the footer. */
.newsletter-band {
  margin: 25px auto 0;
  padding: 21px 27px;
  gap: 18px;
}
/* Scope the footer adjustment to Home/Index; other storefront pages are unaffected. */
body:has(#main-content > .home-hero-carousel) .site-footer {
  margin-top: 24px;
}

/* Tablet and phone: keep the ENTIRE uploaded banner in view. No cover/crop.
   The artwork sits above a separate right-aligned content panel so text and
   the always-visible catalogue CTA never obscure the creative. */
@media (max-width: 900px) {
  .home-hero-carousel {
    height: auto;
    border-radius: 17px;
  }
  .home-hero-stage {
    position: relative;
    inset: auto;
    display: grid;
  }
  .home-hero-slide {
    position: relative;
    inset: auto;
    grid-area: 1 / 1;
    display: grid;
    grid-template-rows: auto 1fr;
    align-content: start;
    align-items: stretch;
    justify-content: stretch;
    min-width: 0;
  }
  .home-hero-photo {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1920 / 760;
    object-fit: contain;
    object-position: center;
    background: #071b35;
    filter: none;
  }
  .home-hero-content {
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 19px 24px 64px;
    align-items: flex-end;
    justify-content: center;
    text-align: right;
    background: #0b203a;
    text-shadow: none;
  }
  .home-hero-content h1 {
    max-width: 100%;
    margin: 9px 0 8px;
    font-size: clamp(23px, 3.2vw, 32px);
    line-height: 1.15;
    letter-spacing: -.6px;
  }
  .home-hero-content p {
    max-width: 650px;
    margin: 0 0 13px;
    font-size: 13px;
    line-height: 1.55;
  }
  .home-hero-cta {
    padding: 10px 15px;
    gap: 18px;
    min-height: 39px;
  }
  .home-hero-controls { left: 24px; right: 24px; bottom: 11px; }
  .home-hero-fallback { display: flex; min-height: 260px; }
  .home-hero-fallback-art { display: none; }
  .home-hero-fallback .home-hero-content {
    justify-content: center;
    min-height: 260px;
  }
  .home-hero-carousel + .service-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-hero-carousel + .service-strip > div:nth-child(2) { border-right: 0; }
  .category-section.section { padding-top: 20px; }
  .products-section.section { padding-top: 22px; }
  .category-section .category-tile { min-height: 132px; }
  .newsletter-band { margin-top: 22px; }
  body:has(#main-content > .home-hero-carousel) .site-footer { margin-top: 20px; }
}

@media (max-width: 680px) {
  .home-hero-carousel {
    width: var(--page);
    height: auto;
    margin-top: 9px;
    border-radius: 15px;
  }
  .home-hero-content { padding: 14px 17px 58px; }
  .home-hero-kicker { font-size: 9px; letter-spacing: 1.2px; }
  .home-hero-content h1 {
    font-size: clamp(21px, 5.5vw, 28px);
    letter-spacing: -.45px;
    margin: 7px 0 6px;
  }
  .home-hero-content p { font-size: 11px; line-height: 1.5; margin-bottom: 10px; }
  .home-hero-cta { min-height: 36px; padding: 8px 12px; font-size: 11px; gap: 11px; }
  .home-hero-controls { left: 15px; right: 13px; bottom: 9px; }
  .home-hero-arrows button { width: 30px; height: 30px; font-size: 17px; }
  .home-hero-dot span { width: 18px; }
  .home-hero-dot.is-current span { width: 28px; }
  .home-hero-fallback, .home-hero-fallback .home-hero-content { min-height: 225px; }
  .home-hero-carousel + .service-strip {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    margin: 8px auto 0;
    padding: 3px 8px;
  }
  .home-hero-carousel + .service-strip > div {
    padding: 8px 6px;
    border-bottom: 1px solid #edf1f6;
    gap: 7px;
  }
  .home-hero-carousel + .service-strip > div:nth-child(n+3) { border-bottom: 0; }
  .home-hero-carousel + .service-strip .service-icon { font-size: 17px; }
  .category-section.section { margin: 0 auto; padding: 17px 0 0; }
  .products-section.section { margin: 0 auto; padding: 20px 0 0; }
  .category-section .section-heading,
  .products-section .section-heading { gap: 8px; margin-bottom: 12px; }
  .category-grid { gap: 9px; }
  .category-section .category-tile { min-height: 120px; padding: 12px 13px; }
  .products-section .product-grid { gap: 9px; }
  .newsletter-band { margin: 18px auto 0; padding: 18px; gap: 12px; }
  body:has(#main-content > .home-hero-carousel) .site-footer { margin-top: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero-slide { transition: none; }
  .home-hero-cta { transition: none; }
}

/* Homepage columns align exactly with the hero carousel on desktop and mobile.
   Keep a single width source for the service bar, category and product blocks. */
.home-hero-carousel,
.home-hero-carousel + .service-strip,
.category-section.section,
.products-section.section {
  width: min(1200px, var(--page));
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
