@media (max-width: 767px) {
  body.home {
    --mh-bg: #f7f6fb;
    --mh-surface: #fff;
    --mh-ink: #12172f;
    --mh-muted: #686b7c;
    --mh-violet: #7167c7;
    --mh-gold: #c5a15b;
    --mh-line: rgba(18, 23, 47, .10);
    overflow-x: clip;
    background: var(--mh-bg);
  }

  body.home .entry-content,
  body.home .ct-container-full,
  body.home main {
    overflow-x: clip;
  }

  /* V5 artwork is background-only; CTA and pagination stay interactive. */
  body.home .wp-block-stackable-carousel.stk-45e11a5 .zc-hero[data-zc-mobile-hero] .wp-block-buttons.zc-hero__cta {
    right: 16% !important;
    bottom: 104px !important;
    left: 16% !important;
    height: 58px !important;
    min-height: 58px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.home .wp-block-stackable-carousel.stk-45e11a5 .zc-hero[data-zc-mobile-hero] .wp-block-buttons.zc-hero__cta .wp-block-button,
  body.home .wp-block-stackable-carousel.stk-45e11a5 .zc-hero[data-zc-mobile-hero] .wp-block-buttons.zc-hero__cta .wp-block-button__link.wp-element-button {
    width: 100% !important;
    height: 100% !important;
    min-height: 58px !important;
    padding: 0 !important;
    opacity: 1 !important;
  }

  /* Match the approved glass CTA instead of Stackable's generic white pill. */
  body.home .stk-45e11a5 .zc-hero {
    --zc-cta-glass-start: rgba(16, 116, 119, .92);
    --zc-cta-glass-end: rgba(24, 126, 130, .78);
    --zc-cta-glow: rgba(30, 214, 206, .32);
    --zc-cta-highlight: rgba(178, 255, 250, .46);
  }

  body.home .stk-45e11a5 .zc-hero--01 {
    --zc-cta-glass-start: rgba(4, 25, 57, .94);
    --zc-cta-glass-end: rgba(8, 78, 132, .84);
    --zc-cta-glow: rgba(76, 181, 255, .34);
    --zc-cta-highlight: rgba(174, 228, 255, .48);
  }

  body.home .stk-45e11a5 .zc-hero--03 {
    --zc-cta-glass-start: rgba(23, 105, 102, .9);
    --zc-cta-glass-end: rgba(75, 143, 130, .78);
    --zc-cta-glow: rgba(81, 211, 194, .28);
    --zc-cta-highlight: rgba(223, 255, 245, .48);
  }

  body.home .stk-45e11a5 .zc-hero--04 {
    --zc-cta-glass-start: rgba(53, 24, 105, .94);
    --zc-cta-glass-end: rgba(37, 58, 137, .86);
    --zc-cta-glow: rgba(167, 101, 255, .36);
    --zc-cta-highlight: rgba(224, 196, 255, .48);
  }

  body.home .wp-block-stackable-carousel.stk-45e11a5 .zc-hero[data-zc-mobile-hero] .wp-block-buttons.zc-hero__cta .wp-block-button .wp-block-button__link.wp-element-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: none !important;
    border: 1px solid rgba(255, 244, 229, .9) !important;
    border-radius: 999px !important;
    background:
      radial-gradient(85% 125% at 18% -18%, var(--zc-cta-highlight), transparent 55%),
      linear-gradient(180deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .025) 52%),
      linear-gradient(108deg, var(--zc-cta-glass-start), var(--zc-cta-glass-end)) !important;
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, .12),
      0 0 22px var(--zc-cta-glow),
      0 12px 28px rgba(7, 24, 39, .2),
      inset 0 1px 0 rgba(255, 255, 255, .58),
      inset 0 -1px 0 rgba(255, 229, 204, .2) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font: 600 clamp(13px, 3.55vw, 15px)/1.1 'Avenir Next', Avenir, Arial, sans-serif !important;
    letter-spacing: .005em !important;
    text-align: center !important;
    text-shadow: 0 1px 7px rgba(0, 35, 44, .38) !important;
    text-transform: none !important;
    white-space: nowrap !important;
    -webkit-backdrop-filter: blur(14px) saturate(150%) !important;
    backdrop-filter: blur(14px) saturate(150%) !important;
  }

  body.home .stk-45e11a5 .stk-block-carousel__slider-wrapper {
    position: relative !important;
  }

  body.home .stk-45e11a5 > .stk-block-carousel__content-wrapper > .stk-block-carousel__dots {
    position: absolute !important;
    right: 0 !important;
    top: calc(var(--zc-home-hero-height) - 56px) !important;
    bottom: auto !important;
    left: 0 !important;
    z-index: 12 !important;
    display: flex !important;
    width: 100% !important;
    transform: none !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 8px 0 !important;
  }

  body.home .stk-45e11a5 > .stk-block-carousel__content-wrapper > .stk-block-carousel__dots .stk-block-carousel__dot {
    box-sizing: border-box !important;
    width: 10px !important;
    height: 10px !important;
    min-width: 10px !important;
    min-height: 10px !important;
    margin: 0 !important;
    border: 1.5px solid rgba(255,255,255,.92) !important;
    border-radius: 50% !important;
    background: rgba(23,31,65,.22) !important;
    box-shadow: 0 1px 5px rgba(0,0,0,.28) !important;
  }

  body.home .stk-45e11a5 > .stk-block-carousel__content-wrapper > .stk-block-carousel__dots .stk-block-carousel__dot::before {
    content: none !important;
    display: none !important;
  }

  body.home .stk-45e11a5 > .stk-block-carousel__content-wrapper > .stk-block-carousel__dots .stk-block-carousel__dot.stk-block-carousel__dot--active {
    width: 10px !important;
    min-width: 10px !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(255,255,255,.18), 0 0 12px rgba(255,255,255,.72) !important;
  }

  /* Energy packages: replace the five compressed columns with a touch-first rail. */
  body.home .zc-pkg-block {
    padding: 52px 0 46px !important;
    background: var(--mh-surface) !important;
    overflow: hidden !important;
  }

  body.home .zc-pkg-block > div {
    width: 100% !important;
    max-width: none !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  body.home .zc-pkg-block h2 {
    max-width: 330px !important;
    margin: 0 auto 16px !important;
    padding: 0 20px !important;
    font-size: clamp(30px, 8.8vw, 36px) !important;
    line-height: 1.08 !important;
    letter-spacing: .015em !important;
  }

  body.home .zc-pkg-block h2 + div,
  body.home .zc-pkg-block h2 ~ p {
    margin-right: 20px !important;
    margin-left: 20px !important;
  }

  body.home .zc-pkg-images-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 28px 0 12px !important;
    padding: 0 20px 18px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  body.home .zc-pkg-images-grid::-webkit-scrollbar { display: none; }

  body.home .zc-pkg-images-grid > div {
    flex: 0 0 152px !important;
    width: 152px !important;
    gap: 12px !important;
    padding-bottom: 4px !important;
    scroll-snap-align: start;
  }

  body.home .zc-pkg-images-grid > div > div:first-child {
    width: 152px !important;
    aspect-ratio: 3 / 4 !important;
    border: 1px solid var(--mh-line) !important;
    border-radius: 20px !important;
    box-shadow: 0 12px 28px rgba(40, 42, 72, .08) !important;
  }

  body.home .zc-pkg-images-grid img {
    border-radius: 20px !important;
  }

  body.home .zc-pkg-plus-btn {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    border-color: var(--mh-line) !important;
    font-size: 24px !important;
    box-shadow: 0 8px 20px rgba(40, 42, 72, .08) !important;
  }

  body.home .zc-pkg-footer {
    margin-top: 4px !important;
    padding: 0 20px !important;
  }

  body.home .zc-pkg-footer .zc-meet-aoi-btn {
    min-height: 48px !important;
    padding: 0 24px !important;
    border-radius: 999px !important;
  }

  /* Material universe: compact rhythm and consistent card language. */
  body.home .zc-material-universe .page {
    padding-right: 16px !important;
    padding-left: 16px !important;
  }

  body.home .zc-material-universe .copy {
    padding-top: 48px !important;
    padding-bottom: 28px !important;
  }

  body.home .zc-material-universe .title {
    font-size: clamp(40px, 11.2vw, 46px) !important;
    line-height: .92 !important;
  }

  body.home .zc-material-universe .button,
  body.home .zc-material-universe .detail-cta {
    min-height: 48px !important;
  }

  body.home .zc-material-universe .detail-shell {
    padding: 16px !important;
  }

  body.home .zc-material-universe .detail-story,
  body.home .zc-material-universe .detail-products,
  body.home .zc-material-universe .detail-stage {
    border: 1px solid var(--mh-line) !important;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, .92) !important;
    box-shadow: 0 14px 34px rgba(40, 42, 72, .07) !important;
  }

  body.home .zc-material-universe .detail-story,
  body.home .zc-material-universe .detail-products {
    padding: 20px !important;
  }

  body.home .zc-material-universe .detail-action,
  body.home .zc-material-universe .match-card,
  body.home .zc-material-universe .product-card {
    border-color: var(--mh-line) !important;
    border-radius: 16px !important;
    background: #fbfafd !important;
    box-shadow: none !important;
  }

  body.home .zc-material-universe .match-card__portrait {
    background: linear-gradient(145deg, #292d43, #0e101a) !important;
  }

  body.home .zc-material-universe .product-card__thumb {
    background: radial-gradient(circle at 35% 30%, #fff, #e9e9ef 56%, #d6d7df) !important;
  }

  /* Footer: compact, readable accordions instead of a long link wall. */
  body.home footer .ct-container {
    padding-right: 20px !important;
    padding-left: 20px !important;
  }

  body.home .zc-footer-sanctuary-signup,
  body.home .zc-footer-pre__form {
    border-radius: 22px !important;
  }

  body.home .zc-footer-sanctuary-form > div {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  body.home .zc-footer-sanctuary-form input[type="email"],
  body.home .zc-footer-sanctuary-form button {
    width: 100% !important;
    min-height: 48px !important;
    border-radius: 999px !important;
  }

  body.home footer .ct-widget.widget_nav_menu {
    margin: 0 !important;
    padding: 0 !important;
    border-top: 1px solid var(--mh-line);
  }

  body.home footer .ct-widget.widget_nav_menu .widget-title {
    position: relative;
    min-height: 56px;
    margin: 0 !important;
    padding: 19px 34px 16px 0 !important;
    cursor: pointer;
    font-size: 13px !important;
    line-height: 1.35 !important;
    text-transform: uppercase;
  }

  body.home footer .ct-widget.widget_nav_menu .widget-title::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 2px;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 400;
  }

  body.home footer .ct-widget.widget_nav_menu.is-open .widget-title::after { content: "−"; }

  body.home footer .ct-widget.widget_nav_menu nav {
    display: none;
    padding: 0 0 18px !important;
  }

  body.home footer .ct-widget.widget_nav_menu.is-open nav { display: block; }

  body.home footer .ct-widget.widget_nav_menu a {
    display: block;
    min-height: 40px;
    padding: 10px 0 !important;
  }

  body.home #zc-support-widget-root {
    width: 52px !important;
    height: 52px !important;
    right: 16px !important;
    bottom: max(16px, env(safe-area-inset-bottom)) !important;
    transition: opacity .2s ease, transform .2s ease !important;
  }

  body.home #zc-support-widget-root.zc-aoi--footer-overlap {
    opacity: .36 !important;
    transform: scale(.88) !important;
    pointer-events: none !important;
  }

  @media (prefers-reduced-motion: reduce) {
    body.home .zc-pkg-images-grid { scroll-behavior: auto !important; }
    body.home #zc-support-widget-root { transition: none !important; }
  }
}
