/* Homepage-only brand presentation layer. */
/* Homepage: the supplied silicone-material visual carries the first impression.
   The copy sits directly on its quiet left field instead of in a floating card. */
.home-mosaic-v2 .mosaic-hero__content h1 span {
  display: block;
}

.home-mosaic-v2 .mosaic-hero__eyebrow {
  margin: 0 0 1.55rem;
  color: #73787c;
  font-size: .8rem;
  font-weight: 750;
  letter-spacing: .075em;
  line-height: 1.2;
  text-transform: uppercase;
}

@media (min-width: 1200px) {
  .home-mosaic-v2 .mosaic-hero {
    background: #f4f1ed;
  }

  .home-mosaic-v2 .mosaic-hero::before {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgb(255 253 249 / .88) 0%, rgb(255 253 249 / .68) 34%, rgb(255 253 249 / .16) 57%, transparent 75%);
    pointer-events: none;
  }

  .home-mosaic-v2 .mosaic-hero__media {
    z-index: 0;
    object-position: 57% center;
  }

  .home-mosaic-v2 .mosaic-hero__layout {
    z-index: 2;
    align-items: center;
    padding-block: 6.3rem 3.75rem;
  }

  .home-mosaic-v2 .mosaic-hero__card.mosaic-hero__content {
    width: min(56rem, 64vw);
    max-width: none;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .home-mosaic-v2 .mosaic-hero__content h1 {
    max-width: 15ch;
    margin: 0;
    color: #17191e;
    font-size: clamp(3rem, 4vw, 4.25rem);
    font-weight: 760;
    letter-spacing: -.04em;
    line-height: .92;
    text-transform: uppercase;
  }

  .home-mosaic-v2 .mosaic-hero__content .mosaic-hero__accent-line { color: #788da5; }

  .home-mosaic-v2 .mosaic-hero__lead {
    max-width: 38rem;
    margin-top: 1.15rem;
    color: #60676d;
    font-size: 1.24rem;
    font-weight: 500;
    line-height: 1.45;
  }

  .home-mosaic-v2 .mosaic-hero__content .actions {
    margin-top: 1.5rem;
  }

  .home-mosaic-v2 .mosaic-hero__content .button {
    min-height: 3.25rem;
    padding-inline: 1.55rem;
  }

  .home-mosaic-v2 .mosaic-hero__content .button span {
    margin-left: .65rem;
    font-size: 1.25em;
    line-height: 0;
  }

  .home-mosaic-v2 .mosaic-hero__routes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(45rem, 61vw);
    margin: 2rem 0 0;
    padding: 1.2rem 0 0;
    border-top: 1px solid rgb(29 35 40 / .2);
    list-style: none;
  }

  .home-mosaic-v2 .mosaic-hero__routes li {
    display: grid;
    gap: .25rem;
    padding: 0 1.1rem;
  }

  .home-mosaic-v2 .mosaic-hero__routes li:first-child { padding-left: 0; }
  .home-mosaic-v2 .mosaic-hero__routes li + li { border-left: 1px solid rgb(29 35 40 / .2); }
  .home-mosaic-v2 .mosaic-hero__routes strong { color: #1b2025; font-size: 1.05rem; letter-spacing: -.02em; }
  .home-mosaic-v2 .mosaic-hero__routes span { color: #747b81; font-size: .78rem; line-height: 1.35; }

  /* The compact state becomes a continuous reading surface edge-to-edge. */
  .site-header {
    background: rgb(255 255 255 / .08);
    border-bottom: 1px solid rgb(255 255 255 / .16);
    box-shadow: none;
    backdrop-filter: blur(4px);
    transition: height .24s cubic-bezier(.2,.8,.2,1), background-color .24s ease, box-shadow .24s ease, backdrop-filter .24s ease;
  }

  .site-header .nav-shell {
    z-index: 2;
    width: 100%;
    padding-inline: max(1.5rem, calc((100vw - 84rem) / 2));
    background: transparent !important;
    box-shadow: none;
    backdrop-filter: none;
  }

  .site-header .primary-nav .nav-trigger {
    text-shadow: none;
  }

  .site-header .locale-switcher {
    right: max(13rem, calc((100% - 84rem) / 2 + 12rem));
  }

  .site-header .locale-switcher__trigger {
    gap: .42rem;
    padding-block: .2rem;
  }

  .site-header .locale-switcher .locale-flag {
    display: inline-flex;
    width: 1.35rem;
    height: .86rem;
    border: 0;
    box-shadow: none;
  }

  .site-header.is-compact {
    background: rgb(255 255 255 / .9);
    box-shadow: 0 .45rem 1.4rem rgb(20 28 24 / .07);
    backdrop-filter: blur(12px);
  }

  .site-header.is-compact .nav-shell {
    background: transparent !important;
    box-shadow: none;
    backdrop-filter: none;
  }

  .site-header .mega-menu {
    top: var(--navigation-height) !important;
  }

  /* The outer positioning layer must not read as a second, oversized card.
     Each panel itself is only as wide as its information needs. */
  .site-header .mega-menu {
    left: 50% !important;
    right: auto !important;
    padding: 0 !important;
    overflow: visible;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  #silicone-rubber-mega-menu { width: min(74rem, calc(100vw - 3rem)) !important; }
  #silicone-additives-mega-menu,
  #custom-extrusion-mega-menu { width: min(67rem, calc(100vw - 3rem)) !important; }
  #applications-mega-menu,
  #quality-mega-menu,
  #resources-mega-menu { width: min(42rem, calc(100vw - 3rem)) !important; }
  #company-mega-menu { width: min(47rem, calc(100vw - 3rem)) !important; }

  .site-header .mega-menu__inner {
    width: 100% !important;
    border-radius: .875rem;
    transform: none !important;
  }

  /* Keep the full-size navigation's menu visibly separate from the bar.
     The compact, scrolled state retains its established placement below. */
  .site-header:not(.is-compact) .mega-menu {
    top: calc(var(--navigation-height) + .5rem) !important;
  }

  .site-header.is-compact .mega-menu {
    top: calc(var(--navigation-height) + .35rem) !important;
  }
}

@media (max-width: 1199px) {
  .home-mosaic-v2 .mosaic-hero__content h1 {
    max-width: 15ch;
    font-size: clamp(2.5rem, 6.4vw, 3.75rem);
    line-height: .96;
  }

  .mosaic-hero__routes {
    display: grid;
    gap: .42rem;
    margin: 1.25rem 0;
    padding: .75rem 0;
    border-block: 1px solid #d9ddda;
    list-style: none;
  }

  .mosaic-hero__routes li {
    display: flex;
    align-items: center;
    gap: .62rem;
    color: #313631;
    font-size: .88rem;
    font-weight: 650;
  }

  .mosaic-hero__routes li::before {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #e44727;
    content: "";
  }

  .mosaic-hero__routes span { display: none; }
}
