/* Homepage alignment with the shared Slomax design system — 2026-07-24. */

body.home-modern {
  --home-green: #4e7953;
  --home-green-strong: #3f6244;
  --home-ink: #2f3431;
  --home-muted: #6a6f69;
  --home-border: rgba(47, 52, 49, 0.08);
  --home-surface: #fff;
  --home-surface-soft: #f6f2ea;
  background: #f3f0e8;
  color: var(--home-ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-x: clip;
  overflow-y: visible;
}

html {
  overflow-x: clip;
}

body.home-modern #Wrapper {
  max-width: none;
  background: #f3f0e8;
}

body.home-modern h1,
body.home-modern h2,
body.home-modern h3,
body.home-modern h4,
body.home-modern h5,
body.home-modern h6 {
  color: var(--home-ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

body.home-modern h1 {
  font-weight: 900;
}

body.home-modern .home-hero-accent {
  color: var(--home-green);
  font-weight: 900;
}

/* Header matches the shared Distribution / Wholesale / Private Label chrome. */
body.home-modern #Header.header-home {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 0;
}

body.home-modern #Header.header-home #Top_bar,
body.home-modern #Header.header-home #Top_bar.is-sticky {
  position: relative;
  inset: auto;
  width: 100%;
  margin: 0;
  border-bottom: 1px solid transparent;
  background: rgba(243, 240, 232, 0.85);
  box-shadow: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.home-modern #Header.header-home #Top_bar.is-sticky {
  border-bottom-color: var(--home-border);
}

body.home-modern #Header.header-home #Top_bar .container {
  width: 100%;
  max-width: 1280px;
  padding-inline: 32px;
}

body.home-modern #Header.header-home .top_bar_left--home {
  min-height: 80px;
  height: 80px;
  gap: 32px;
}

body.home-modern #Header.header-home #logo {
  padding: 0;
}

body.home-modern #Header.header-home #logo img {
  width: auto;
  height: 48px;
}

body.home-modern .header-home__nav {
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}

body.home-modern .header-home__menu {
  gap: clamp(16px, 1.7vw, 28px);
}

body.home-modern .header-home__menu a,
body.home-modern .header-home__contact {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 0;
  color: var(--home-green);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

body.home-modern .header-home__menu a:hover,
body.home-modern .header-home__contact:hover {
  color: var(--home-green-strong);
}

body.home-modern .header-home__actions {
  flex: 0 0 auto;
  gap: 12px;
}

body.home-modern .header-home__languages,
body.home-modern .home-side-slide__languages {
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--home-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

body.home-modern .header-home__languages a,
body.home-modern .home-side-slide__languages a {
  min-width: 34px;
  min-height: 32px;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.05em;
}

body.home-modern .header-home__button,
body.home-modern .home-side-slide__button {
  min-height: 42px;
  padding: 9px 16px;
  border-radius: 10px;
  box-shadow: none;
  font-size: 14px;
}

body.home-modern #Header.header-home .responsive-menu-toggle {
  position: relative;
  width: 44px;
  min-width: 44px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--home-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
}

body.home-modern #Header.header-home .responsive-menu-toggle span {
  left: 11px;
  right: auto;
  width: 20px;
  height: 2px;
  transform: none;
}

body.home-modern #Header.header-home .responsive-menu-toggle span:nth-child(1) { top: 13px; }
body.home-modern #Header.header-home .responsive-menu-toggle span:nth-child(2) { top: 20px; }
body.home-modern #Header.header-home .responsive-menu-toggle span:nth-child(3) { top: 27px; }

body.home-modern.menu-open #Header.header-home .responsive-menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.home-modern.menu-open #Header.header-home .responsive-menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.home-modern.menu-open #Header.header-home .responsive-menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1121px) {
  body.home-modern .header-home__nav[data-astro-cid-3ef6ksr2],
  body.home-modern .header-home__button[data-astro-cid-3ef6ksr2] {
    display: flex;
  }

  body.home-modern #Header.header-home .responsive-menu-toggle {
    display: none;
  }

  body.home-modern #Side_slide.home-side-slide {
    display: none;
  }
}

@media (max-width: 1120px) {
  body.home-modern .header-home__nav[data-astro-cid-3ef6ksr2],
  body.home-modern .header-home__button[data-astro-cid-3ef6ksr2] {
    display: none;
  }

  body.home-modern #Header.header-home .top_bar_left--home {
    min-height: 76px;
    height: 76px;
    gap: 18px;
  }

  body.home-modern #Header.header-home .responsive-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  body.home-modern #Side_slide.home-side-slide {
    position: fixed;
    top: 76px;
    left: 32px;
    right: 32px;
    z-index: 49;
    display: block;
    width: auto;
    height: auto;
    max-height: calc(100vh - 96px);
    padding: 22px;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    border: 1px solid transparent;
    border-radius: 0 0 16px 16px;
    background: rgba(243, 240, 232, 0.98);
    box-shadow: 0 22px 44px rgba(47, 52, 49, 0.08);
    color: var(--home-ink);
    transform: translateY(-8px);
    pointer-events: none;
    transition: transform 200ms ease, opacity 180ms ease, visibility 180ms ease;
  }

  body.home-modern.menu-open #Side_slide.home-side-slide {
    right: 32px;
    visibility: visible;
    opacity: 1;
    border-color: var(--home-border);
    transform: none;
    pointer-events: auto;
  }

  body.home-modern #Side_slide.home-side-slide .close-wrapper {
    display: none;
  }

  body.home-modern .home-side-slide__body {
    gap: 20px;
  }

  body.home-modern .home-side-slide__menu {
    gap: 0;
  }

  body.home-modern .home-side-slide__menu a {
    display: block;
    padding: 13px 0;
    border-bottom: 1px solid var(--home-border);
    color: var(--home-ink);
    font-size: 17px;
    font-weight: 700;
  }

  body.home-modern .home-side-slide__button {
    width: 100%;
  }

  body.home-modern #body_overlay {
    display: none;
  }

  body.home-modern.menu-open {
    overflow: auto;
  }
}

/* HERO: remove the outer card while keeping the photo as a visual surface. */
body.home-modern .hero-option--grid[data-astro-cid-adege4ql] .hero-option__frame[data-astro-cid-adege4ql] {
  overflow: visible;
  padding: 34px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.home-modern .hero-option--grid[data-astro-cid-adege4ql] .hero-option__media[data-astro-cid-adege4ql] {
  min-height: 360px;
  border: 0;
  border-radius: 16px;
  background: var(--home-surface-soft);
}

body.home-modern .hero-option--grid[data-astro-cid-adege4ql] h1[data-astro-cid-adege4ql] {
  font-size: clamp(39px, 4.6vw, 42px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

body.home-modern .hero-option--grid[data-astro-cid-adege4ql] .hero-option__signals--wide[data-astro-cid-adege4ql] span[data-astro-cid-adege4ql] {
  border-radius: 10px;
  color: var(--home-ink);
}

/* Remove the redundant outer surface in Portfolio and Production. */
body.home-modern .portfolio-new2-clone {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.home-modern .production-concept {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* One compact radius scale across homepage cards and media. */
body.home-modern .solution-card,
body.home-modern .retail-banner,
body.home-modern .advantage-card,
body.home-modern .portfolio-new2-card,
body.home-modern .production-pillars__card,
body.home-modern .final-cta-panel {
  border-radius: 12px;
}

body.home-modern .portfolio-new2-card__media,
body.home-modern .advantage-card__icon {
  border-radius: 10px;
}

body.home-modern .final-cta-panel {
  border-radius: 16px;
}

/* Contacts heading and supporting copy use the entire panel width. */
body.home-modern .final-cta-heading {
  width: 100%;
  max-width: none;
}

body.home-modern .final-cta-heading h2,
body.home-modern .final-cta-heading p {
  width: 100%;
  max-width: none;
}

body.home-modern #contact {
  scroll-margin-top: 104px;
}

@media (max-width: 860px) {
  body.home-modern .home-page {
    padding-top: 0;
  }

  body.home-modern .hero-option--grid[data-astro-cid-adege4ql] .hero-option__frame[data-astro-cid-adege4ql] {
    display: flex;
    gap: 22px;
    padding: 32px 0 0;
  }

  body.home-modern .hero-option--grid[data-astro-cid-adege4ql] .hero-option__content[data-astro-cid-adege4ql] {
    order: 1;
    gap: 14px;
    width: 100%;
  }

  body.home-modern .hero-option--grid[data-astro-cid-adege4ql] h1[data-astro-cid-adege4ql] {
    max-width: 100%;
    font-size: clamp(39px, 4.6vw, 42px);
    line-height: 1.02;
    overflow-wrap: break-word;
  }

  body.home-modern .hero-option--grid[data-astro-cid-adege4ql] p[data-astro-cid-adege4ql] {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.55;
  }

  body.home-modern .hero-option--grid[data-astro-cid-adege4ql] .hero-option__media[data-astro-cid-adege4ql] {
    order: 2;
    width: 100%;
    height: clamp(250px, 76vw, 350px);
    min-height: 0;
    border-radius: 12px;
  }

  body.home-modern .hero-option--grid[data-astro-cid-adege4ql] .hero-option__signals--wide[data-astro-cid-adege4ql] {
    order: 3;
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0 0 8px;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    scroll-snap-type: x proximity;
  }

  body.home-modern .hero-option--grid[data-astro-cid-adege4ql] .hero-option__signals--wide[data-astro-cid-adege4ql] span[data-astro-cid-adege4ql] {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  body.home-modern .portfolio-new2-clone,
  body.home-modern .production-concept {
    padding: 0;
    border-radius: 0;
  }
}

/* Tablet and mobile landscape: do not treat the coloured phrase as one line. */
@media (min-width: 861px) and (max-width: 1160px) {
  body.home-modern
    .hero-option--grid[data-astro-cid-adege4ql]
    .hero-option__frame[data-astro-cid-adege4ql],
  body.home-modern
    .hero-option--grid[data-astro-cid-adege4ql]
    .hero-option__content[data-astro-cid-adege4ql],
  body.home-modern
    .hero-option--grid[data-astro-cid-adege4ql]
    .hero-option__media[data-astro-cid-adege4ql] {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  body.home-modern
    .hero-option--grid[data-astro-cid-adege4ql]
    .hero-option__frame[data-astro-cid-adege4ql] {
    overflow: hidden;
  }

  body.home-modern
    .hero-option--grid[data-astro-cid-adege4ql]
    h1[data-astro-cid-adege4ql] {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    font-size: clamp(32px, 4vw, 38px);
    line-height: 1.04;
    white-space: normal;
    text-wrap: wrap;
    overflow-wrap: anywhere;
  }

  body.home-modern .home-hero-accent {
    display: inline;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 620px) {
  body.home-modern #Header.header-home #Top_bar .container {
    padding-inline: 20px;
  }

  body.home-modern #Header.header-home #logo img.logo-main,
  body.home-modern #Header.header-home #logo img.logo-sticky,
  body.home-modern #Header.header-home #logo img.logo-mobile,
  body.home-modern #Header.header-home #logo img.logo-mobile-sticky {
    width: auto !important;
    max-width: none !important;
    height: 40px !important;
  }

  body.home-modern #Header.header-home .header-home__actions[data-astro-cid-3ef6ksr2] {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    margin-left: auto;
  }

  body.home-modern #Side_slide.home-side-slide,
  body.home-modern.menu-open #Side_slide.home-side-slide {
    right: 20px;
    left: 20px;
  }

  body.home-modern .hero-option__actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  body.home-modern .hero-option__actions .home-button {
    display: inline-flex;
    width: 100%;
    justify-content: center;
  }
}

/* Section labels match the neutral eyebrow used on the Distributors hero. */
body.home-modern .hero-option--grid .section-tag,
body.home-modern .portfolio-new2-kicker,
body.home-modern .section-kicker {
  display: inline-block;
  width: fit-content;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #8a8f88;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.home-modern .hero-option--grid[data-astro-cid-adege4ql]
  .hero-option__content[data-astro-cid-adege4ql]
  .section-tag[data-astro-cid-adege4ql] {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #8a8f88;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.14em;
}

body.home-modern .final-cta-heading[data-astro-cid-adege4ql]
  .section-kicker[data-astro-cid-adege4ql] {
  background: transparent;
  color: rgba(255, 255, 255, 0.58);
}

/* The homepage now uses the same header structure as all inner pages. */
body.home-modern #Header.home-shared-header {
  --slm-shell-x: 32px;
  --slm-shell-max: 1280px;
  --slm-line: rgba(47, 52, 49, 0.08);
  --slm-fg: #2f3431;
  --slm-fg-2: #6a6f69;
  --slm-green-strong: #4e7953;
  --slm-green-hover: #3f6244;
  --slm-green-deep: #355738;
  --slm-r-tile: 8px;
  --slm-r-btn: 10px;
  --slm-r-card: 12px;
  --slm-r-card-lg: 16px;
  --slm-shadow-panel: 0 2px 4px rgba(47, 52, 49, 0.04),
    0 22px 44px rgba(47, 52, 49, 0.08);
  --slm-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 0;
  border-bottom: 1px solid transparent;
  background: rgba(243, 240, 232, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 200ms var(--slm-ease), background 200ms var(--slm-ease);
}

body.home-modern #Header.home-shared-header.scrolled {
  border-bottom-color: var(--slm-line);
}

body.home-modern .home-shared-header > .slm-shell {
  position: relative;
  width: 100%;
  max-width: var(--slm-shell-max);
  margin-inline: auto;
  padding-inline: var(--slm-shell-x);
}

body.home-modern .home-shared-header .slm-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 32px;
}

body.home-modern .home-shared-header .slm-logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  color: var(--slm-green-strong);
  text-decoration: none;
}

body.home-modern .home-shared-header .slm-logo img {
  display: block;
  width: auto;
  max-width: none;
  height: 48px;
}

body.home-modern .home-shared-header .slm-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 1.7vw, 28px);
  min-width: 0;
}

body.home-modern .home-shared-header .slm-nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 0;
  color: var(--slm-green-strong);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: color 200ms var(--slm-ease);
}

body.home-modern .home-shared-header .slm-nav-item:hover {
  color: var(--slm-green-deep);
}

body.home-modern .home-shared-header .slm-nav-item.active {
  color: var(--slm-fg);
}

body.home-modern .home-shared-header .slm-nav-item.active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--slm-green-strong);
  content: "";
}

body.home-modern .home-shared-header .slm-header-right {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

body.home-modern .home-shared-header .slm-language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--slm-line);
  border-radius: var(--slm-r-card);
  background: rgba(255, 255, 255, 0.72);
}

body.home-modern .home-shared-header .slm-lang-button {
  min-width: 34px;
  min-height: 32px;
  margin: 0;
  padding: 6px 8px;
  border: 0;
  border-radius: var(--slm-r-tile);
  background: transparent;
  box-shadow: none;
  color: var(--slm-fg-2);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  cursor: pointer;
}

body.home-modern .home-shared-header .slm-lang-button:hover {
  background: transparent;
  color: var(--slm-fg);
}

body.home-modern .home-shared-header .slm-lang-button.active,
body.home-modern .home-shared-header .slm-lang-button.active:hover {
  background: var(--slm-green-strong);
  color: #fff;
}

body.home-modern .home-shared-header .slm-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 16px;
  border-radius: var(--slm-r-btn);
  background: var(--slm-green-strong);
  color: #fff;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

body.home-modern .home-shared-header .slm-header-cta:hover {
  background: var(--slm-green-hover);
  color: #fff;
}

body.home-modern .home-shared-header .slm-menu-toggle {
  position: relative;
  display: none;
  width: 44px;
  min-width: 44px;
  height: 42px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--slm-line);
  border-radius: var(--slm-r-btn);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
  cursor: pointer;
}

body.home-modern .home-shared-header .slm-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.9);
}

body.home-modern .home-shared-header .slm-menu-toggle span {
  position: absolute;
  left: 11px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--slm-fg);
  transition: transform 180ms var(--slm-ease), opacity 180ms var(--slm-ease);
}

body.home-modern .home-shared-header .slm-menu-toggle span:nth-child(1) {
  top: 13px;
}

body.home-modern .home-shared-header .slm-menu-toggle span:nth-child(2) {
  top: 20px;
}

body.home-modern .home-shared-header .slm-menu-toggle span:nth-child(3) {
  top: 27px;
}

body.home-modern .home-shared-header.menu-open .slm-menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.home-modern .home-shared-header.menu-open .slm-menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.home-modern .home-shared-header.menu-open .slm-menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body.home-modern .home-shared-header .slm-mobile-menu {
  display: none;
}

@media (max-width: 1120px) {
  body.home-modern .home-shared-header .slm-header-row {
    height: 76px;
  }

  body.home-modern .home-shared-header .slm-nav,
  body.home-modern .home-shared-header .slm-header-right > .slm-header-cta {
    display: none;
  }

  body.home-modern .home-shared-header .slm-menu-toggle {
    display: inline-block;
  }

  body.home-modern .home-shared-header .slm-mobile-menu {
    position: absolute;
    top: 100%;
    right: var(--slm-shell-x);
    left: var(--slm-shell-x);
    display: grid;
    gap: 20px;
    max-height: 0;
    padding: 0 22px;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    border: 1px solid transparent;
    border-radius: 0 0 var(--slm-r-card-lg) var(--slm-r-card-lg);
    background: rgba(243, 240, 232, 0.98);
    box-shadow: var(--slm-shadow-panel);
    transition: max-height 260ms var(--slm-ease), padding 260ms var(--slm-ease),
      opacity 180ms var(--slm-ease);
  }

  body.home-modern .home-shared-header.menu-open .slm-mobile-menu {
    max-height: 620px;
    padding-block: 22px;
    visibility: visible;
    opacity: 1;
    border-color: var(--slm-line);
  }

  body.home-modern .home-shared-header .slm-mobile-nav {
    display: grid;
  }

  body.home-modern .home-shared-header .slm-mobile-nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--slm-line);
    color: var(--slm-fg);
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.55;
    text-decoration: none;
  }

  body.home-modern .home-shared-header .slm-mobile-menu-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  body.home-modern #Header.home-shared-header {
    --slm-shell-x: 20px;
  }
}

@media (max-width: 640px) {
  body.home-modern .home-shared-header .slm-logo img {
    height: 40px;
  }

  body.home-modern .home-shared-header .slm-header-right > .slm-language-switcher {
    display: none;
  }

  body.home-modern .home-shared-header .slm-mobile-menu-foot {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Keep the complete first screen inside narrow mobile viewports. */
@media (max-width: 860px) {
  body.home-modern,
  body.home-modern #Wrapper,
  body.home-modern #MainContent,
  body.home-modern .home-page[data-astro-cid-adege4ql],
  body.home-modern .hero-gallery[data-astro-cid-adege4ql],
  body.home-modern .hero-option--grid[data-astro-cid-adege4ql] {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  body.home-modern .home-shell[data-astro-cid-adege4ql] {
    width: calc(100% - 28px);
    max-width: 100%;
    min-width: 0;
  }

  body.home-modern
    .hero-option--grid[data-astro-cid-adege4ql]
    .hero-option__frame[data-astro-cid-adege4ql],
  body.home-modern
    .hero-option--grid[data-astro-cid-adege4ql]
    .hero-option__content[data-astro-cid-adege4ql],
  body.home-modern
    .hero-option--grid[data-astro-cid-adege4ql]
    .hero-option__actions[data-astro-cid-adege4ql],
  body.home-modern
    .hero-option--grid[data-astro-cid-adege4ql]
    .hero-option__media[data-astro-cid-adege4ql] {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  body.home-modern
    .hero-option--grid[data-astro-cid-adege4ql]
    .hero-option__frame[data-astro-cid-adege4ql] {
    overflow: hidden;
  }

  body.home-modern
    .hero-option--grid[data-astro-cid-adege4ql]
    h1[data-astro-cid-adege4ql] {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    font-size: clamp(30px, 8.8vw, 36px);
    line-height: 1.04;
    white-space: normal;
    text-wrap: wrap;
    overflow-wrap: anywhere;
  }

  body.home-modern .home-hero-accent {
    white-space: normal;
  }

  body.home-modern
    .hero-option--grid[data-astro-cid-adege4ql]
    p[data-astro-cid-adege4ql] {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    font-size: 15px;
    overflow-wrap: anywhere;
  }

  body.home-modern
    .hero-option--grid[data-astro-cid-adege4ql]
    .hero-option__actions[data-astro-cid-adege4ql] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  body.home-modern
    .hero-option--grid[data-astro-cid-adege4ql]
    .hero-option__actions[data-astro-cid-adege4ql]
    .home-button[data-astro-cid-adege4ql] {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-inline: 16px;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
}

/* Remaining homepage revisions from the current review document. */
body.home-modern .retail-banner__copy h3 {
  color: #fff;
}

body.home-modern .production-pillars__header {
  display: contents;
}

body.home-modern .production-pillars__header .production-copy {
  order: 1;
  width: 100%;
  max-width: none;
}

body.home-modern .production-pillars__header .production-copy p {
  width: 100%;
  max-width: none;
}

body.home-modern .production-pillars__grid {
  order: 2;
}

body.home-modern .production-pillars__header .production-button {
  order: 3;
  width: fit-content;
  margin-top: 4px;
  justify-self: center;
}

@media (max-width: 640px) {
  body.home-modern .production-pillars__header .production-button {
    width: 100%;
  }
}

/* Keep the three supporting statements on one line where the viewport allows it. */
body.home-modern .new2-section-heading,
body.home-modern .production-pillars__header .production-copy,
body.home-modern .final-cta-heading {
  width: 100%;
  max-width: none;
}

body.home-modern .new2-section-heading > p:last-child,
body.home-modern .production-pillars__header .production-copy p,
body.home-modern .final-cta-heading > p:last-child {
  width: 100%;
  max-width: none;
}

@media (min-width: 1180px) {
  body.home-modern .new2-section-heading > p:last-child,
  body.home-modern .production-pillars__header .production-copy p,
  body.home-modern .final-cta-heading > p:last-child {
    font-size: clamp(14px, 1.05vw, 16px);
    white-space: nowrap;
  }
}

/* Align the homepage hero columns and keep benefit chips compact. */
body.home-modern
  .hero-option--grid[data-astro-cid-adege4ql]
  .hero-option__content[data-astro-cid-adege4ql] {
  align-self: start;
  align-content: start;
  padding-top: 0;
}

body.home-modern
  .hero-option--grid[data-astro-cid-adege4ql]
  .hero-option__signals--wide[data-astro-cid-adege4ql] {
  align-self: start;
  align-items: flex-start;
  align-content: flex-start;
  min-height: 0;
}

body.home-modern
  .hero-option--grid[data-astro-cid-adege4ql]
  .hero-option__signals--wide[data-astro-cid-adege4ql]
  span[data-astro-cid-adege4ql] {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: max-content;
  min-width: 0;
  height: 40px;
  min-height: 40px;
  max-height: 40px;
  padding-inline: 14px;
  border: 1px solid rgba(34, 50, 40, 0.1);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(33, 49, 39, 0.05);
}

@media (min-width: 861px) {
  body.home-modern
    .hero-option--grid[data-astro-cid-adege4ql]
    .hero-option__frame[data-astro-cid-adege4ql] {
    grid-template-rows: auto max-content;
    align-content: start;
    height: auto;
    min-height: 0;
  }

  body.home-modern
    .hero-option--grid[data-astro-cid-adege4ql]
    .hero-option__media[data-astro-cid-adege4ql] {
    align-self: start;
    width: 100%;
    height: clamp(340px, 38vw, 400px);
    min-height: 0;
    aspect-ratio: auto;
  }
}

@media (min-width: 1161px) {
  body.home-modern
    .hero-option--grid[data-astro-cid-adege4ql]
    .hero-option__media[data-astro-cid-adege4ql] {
    width: calc(100% + 48px);
    height: clamp(380px, 28vw, 440px);
    margin-left: -48px;
  }
}
