@media (max-width: 767px) {
  /* The mobile homepage needs a compact horizontal brand lockup. Keep the
     global site logo untouched so this refinement cannot leak to other pages. */
  body.home header#header [data-device="mobile"] .site-logo-container,
  body.home .zc-mobile-header-shell .zc-menu-brand {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: center !important;
    gap: 12px !important;
    width: 184px !important;
    height: 36px !important;
    background: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    filter: none;
    text-decoration: none !important;
  }

  body.home header#header [data-device="mobile"] .site-logo-container img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
  }

  body.home header#header [data-device="mobile"] .site-logo-container::before {
    content: '';
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    background: #142b4a;
    clip-path: polygon(50% 0, 58% 39%, 100% 50%, 58% 61%, 50% 100%, 42% 61%, 0 50%, 42% 39%);
  }

  body.home header#header [data-device="mobile"] .site-logo-container::after {
    content: 'MIRLINKS';
    padding-left: 13px;
    border-left: 1px solid rgba(20,43,74,.28);
    color: #142b4a;
    font: 400 22px/1 Didot, Baskerville, 'Times New Roman', serif;
    letter-spacing: .16em;
    white-space: nowrap;
  }

  /* Older cached menu builds render an enhanced header instead of Blocksy's
     native header. Give both variants the same compact home-page lockup. */
  body.home .zc-mobile-header-shell .zc-menu-brand__orbit {
    display: block !important;
    flex: 0 0 17px;
    width: 17px !important;
    height: 17px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #142b4a !important;
    clip-path: polygon(50% 0, 58% 39%, 100% 50%, 58% 61%, 50% 100%, 42% 61%, 0 50%, 42% 39%);
    color: transparent !important;
    font-size: 0 !important;
    opacity: 1 !important;
    transform: none !important;
  }

  body.home .zc-mobile-header-shell .zc-menu-brand__orbit::after {
    content: none !important;
  }

  body.home .zc-mobile-header-shell .zc-menu-brand__word {
    display: block !important;
    padding-left: 13px;
    overflow: visible;
    border-left: 1px solid rgba(20,43,74,.28);
    color: #142b4a;
    font: 400 22px/1 Didot, Baskerville, 'Times New Roman', serif;
    letter-spacing: .16em;
    opacity: 1 !important;
    white-space: nowrap;
  }

  /* Mobile artwork has editorial copy in its upper safe area. A restrained
     pearl veil keeps that copy from colliding with the fixed navigation. */
  body.home header#header [data-device="mobile"] > div {
    background: linear-gradient(180deg, rgba(251,250,253,.96), rgba(251,250,253,.84)) !important;
    border-bottom: 1px solid rgba(20,43,74,.08);
    box-shadow: 0 8px 22px rgba(20,29,55,.07);
    -webkit-backdrop-filter: blur(12px) saturate(1.08);
    backdrop-filter: blur(12px) saturate(1.08);
  }

  .stk-45e11a5 {
    --zc-home-ink: #101936;
    --zc-home-accent: #6962c6;
    --zc-home-copy-scale: 1;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible;
    background: #f7f6fb;
  }

  .stk-45e11a5 .stk-block-carousel__content-wrapper {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible;
  }

  .stk-45e11a5 .stk-block-carousel__slider-wrapper,
  .stk-45e11a5 .stk-block-carousel__slider,
  .stk-45e11a5 .zc-hero,
  .stk-45e11a5 .zc-hero > .stk-column-wrapper,
  .stk-45e11a5 .zc-hero .stk-block-content {
    height: var(--zc-home-hero-height, 100dvh) !important;
    min-height: 0 !important;
    max-height: var(--zc-home-hero-height, 100dvh) !important;
  }

  .stk-45e11a5 > .stk-block-carousel__content-wrapper > .stk-block-carousel__slider {
    height: var(--zc-home-hero-height, 100dvh) !important;
    min-height: var(--zc-home-hero-height, 100dvh) !important;
    max-height: var(--zc-home-hero-height, 100dvh) !important;
  }

  .stk-45e11a5 .zc-hero {
    position: relative;
    overflow: hidden;
    background-image: var(--zc-mobile-hero-image) !important;
    background-position: center center !important;
    background-size: 100% 100% !important;
    isolation: isolate;
  }

  .stk-45e11a5 .zc-hero::before {
    content: none;
  }

  .stk-45e11a5 .zc-hero__inner {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none;
  }

  .stk-45e11a5 .zc-mobile-hero-copy {
    display: none !important;
  }

  .stk-45e11a5 .zc-mobile-hero-copy p,
  .stk-45e11a5 .zc-mobile-hero-copy h2,
  .stk-45e11a5 .zc-mobile-hero-copy ul {
    margin: 0;
  }

  .stk-45e11a5 .zc-mobile-hero-copy__eyebrow {
    margin-bottom: 12px !important;
    color: #625bc3;
    font: 700 11px/1.35 Arial, sans-serif;
    letter-spacing: .14em;
    text-transform: uppercase;
  }

  .stk-45e11a5 .zc-mobile-hero-copy h2 {
    max-width: 240px;
    color: inherit;
    font: 500 clamp(29px, 8.1vw, 42px)/.96 Georgia, 'Times New Roman', serif;
    letter-spacing: -.035em;
    text-transform: none;
  }

  .stk-45e11a5 .zc-mobile-hero-copy__lead {
    margin-top: 17px !important;
    font: 700 14px/1.35 Arial, sans-serif;
  }

  .stk-45e11a5 .zc-mobile-hero-copy__body {
    margin-top: 7px !important;
    color: #525a70;
    font: 500 12px/1.55 Arial, sans-serif;
  }

  .stk-45e11a5 .zc-hero--01 .zc-mobile-hero-copy {
    width: min(54vw, 224px);
  }

  .stk-45e11a5 .zc-hero--01 .zc-mobile-hero-copy__body,
  .stk-45e11a5 .zc-hero--01 .zc-mobile-hero-copy__lead {
    color: #253a59;
    text-transform: uppercase;
  }

  .stk-45e11a5 .zc-hero--04 .zc-mobile-hero-copy {
    width: min(58vw, 238px);
    color: #fff;
  }

  .stk-45e11a5 .zc-hero--04 .zc-mobile-hero-copy__eyebrow {
    color: #c7b7ff;
  }

  .stk-45e11a5 .zc-mobile-hero-copy__benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin-top: 19px !important;
    padding: 0;
    list-style: none;
  }

  .stk-45e11a5 .zc-mobile-hero-copy__benefits li {
    padding: 8px 6px;
    border: 1px solid rgba(206,194,255,.42);
    border-radius: 999px;
    background: rgba(10,18,58,.42);
    color: #f0ebff;
    font: 700 9px/1.1 Arial, sans-serif;
    letter-spacing: .06em;
    text-align: center;
    text-transform: uppercase;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }

  .stk-45e11a5 .zc-hero__cta {
    position: absolute !important;
    right: 20px;
    right: 16%;
    bottom: max(100px, calc(env(safe-area-inset-bottom) + 88px));
    left: 16%;
    height: 58px;
    z-index: 8;
    display: block !important;
    margin: 0 !important;
    pointer-events: auto;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .stk-45e11a5 .zc-hero__cta .wp-block-button,
  .stk-45e11a5 .zc-hero__cta .wp-block-button__link {
    width: min(100%, 360px);
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .stk-45e11a5 .zc-hero__cta .wp-block-button__link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 0 18px;
    border: 1px solid rgba(255,255,255,.72) !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.88) !important;
    box-shadow: 0 14px 32px rgba(12,17,40,.22), inset 0 1px 0 rgba(255,255,255,.68);
    color: #242454 !important;
    font: 600 clamp(13px, 3.55vw, 15px)/1.1 'Avenir Next', Avenir, Arial, sans-serif !important;
    letter-spacing: .005em;
    text-transform: none;
    opacity: 1 !important;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .stk-45e11a5 .zc-hero--02 .zc-hero__cta .wp-block-button__link {
    border-color: rgba(255,255,255,.76) !important;
    background: linear-gradient(135deg, rgba(17,104,107,.91), rgba(55,151,148,.82)) !important;
    box-shadow: 0 10px 30px rgba(9,82,86,.24), inset 0 1px 0 rgba(255,255,255,.48);
    color: #fff !important;
  }

  .stk-45e11a5 .zc-hero--03 .zc-hero__cta .wp-block-button__link {
    border-color: rgba(219,167,91,.78) !important;
    background: linear-gradient(135deg, rgba(255,248,235,.9), rgba(224,196,154,.78)) !important;
    box-shadow: 0 10px 28px rgba(112,72,30,.2), inset 0 1px 0 rgba(255,255,255,.78);
    color: #553918 !important;
  }

  .stk-45e11a5 .zc-hero--01 .zc-hero__cta .wp-block-button__link {
    border-color: rgba(164,219,255,.9) !important;
    background: linear-gradient(135deg, rgba(4,34,66,.94), rgba(7,75,126,.88)) !important;
    box-shadow: 0 0 24px rgba(74,174,255,.32), inset 0 1px 0 rgba(205,238,255,.54);
    color: #f7fbff !important;
  }

  .stk-45e11a5 .zc-hero--04 .zc-hero__cta .wp-block-button__link {
    border-color: rgba(221,145,255,.9) !important;
    background: linear-gradient(135deg, rgba(119,24,201,.94), rgba(20,42,112,.94)) !important;
    box-shadow: 0 0 25px rgba(174,73,255,.35), inset 0 1px 0 rgba(255,255,255,.42);
    color: #fff !important;
  }

  body.home .wp-block-stackable-carousel.stk-45e11a5 .stk-block-carousel__dots {
    position: absolute !important;
    right: 0 !important;
    top: calc(var(--zc-home-hero-height, 100dvh) - 56px) !important;
    bottom: auto !important;
    left: 0 !important;
    z-index: 12 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 8px 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .stk-45e11a5 .stk-block-carousel__dot {
    width: 10px !important;
    height: 10px !important;
    border: 1.5px solid rgba(255,255,255,.9) !important;
    border-radius: 50% !important;
    background: rgba(23,31,65,.22) !important;
    box-shadow: 0 1px 5px rgba(0,0,0,.28) !important;
  }

  .stk-45e11a5 .stk-block-carousel__dot::before {
    content: none !important;
    display: none !important;
  }

  .stk-45e11a5 .stk-block-carousel__dot.stk-block-carousel__dot--active {
    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;
  }

  .stk-45e11a5[data-zc-mobile-hero-active="02"] .stk-block-carousel__dot { border-color: #0f6d70 !important; background: rgba(255,255,255,.52) !important; box-shadow: none !important; }
  .stk-45e11a5[data-zc-mobile-hero-active="02"] .stk-block-carousel__dot--active { background: #0f7474 !important; }
  .stk-45e11a5[data-zc-mobile-hero-active="03"] .stk-block-carousel__dot { border-color: rgba(255,255,255,.95) !important; background: rgba(109,69,35,.18) !important; }
  .stk-45e11a5[data-zc-mobile-hero-active="03"] .stk-block-carousel__dot--active { background: #fff !important; }

  .stk-45e11a5 .stk-block-carousel__button {
    display: none !important;
  }

  .stk-45e11a5.zc-home-hero--short .zc-mobile-hero-copy {
    top: 24px;
  }

  .stk-45e11a5.zc-home-hero--short .zc-mobile-hero-copy__eyebrow {
    margin-bottom: 8px !important;
  }

  .stk-45e11a5.zc-home-hero--short .zc-mobile-hero-copy__lead {
    margin-top: 11px !important;
  }

  .stk-45e11a5.zc-home-hero--short .zc-mobile-hero-copy__body {
    line-height: 1.4;
  }

  .stk-45e11a5.zc-home-hero--short .zc-mobile-hero-copy__benefits {
    margin-top: 12px !important;
  }

  @media (prefers-reduced-motion: reduce) {
    .stk-45e11a5 .stk-block-carousel__slider,
    .stk-45e11a5 .zc-hero {
      scroll-behavior: auto !important;
      transition: none !important;
    }
  }
}
