/*
 * Shared public-page finishing layer.
 *
 * Route styles keep each page's information architecture. This file owns the
 * visual system that must remain identical across the homepage and inner pages:
 * header, type scale, spacing rhythm, cards, calls to action and footer.
 */

:root {
  --rmh-offwhite: #f7f6f1;
  --rmh-ivory: #fcfbf7;
  --rmh-paper: #fffefb;
  --rmh-border-soft: #e9e6df;
  --rmh-orange: #f36a2d;
  --rmh-orange-deep: #df5720;
  --rmh-navy: #12304d;
  --rmh-ink: #1d3449;
  --rmh-muted: #687785;
  --rmh-shadow-soft: 0 18px 48px rgba(24, 48, 67, .055);
  --rmh-radius-card: 18px;
  --rmh-section-space: 96px;
}

/* One header on every public page. */
.rmh-header.header-area {
  background: rgba(252, 251, 247, .96);
  border-bottom: 1px solid rgba(18, 48, 77, .08);
  backdrop-filter: blur(16px);
}

.rmh-header.header-area.sticky-active {
  background: rgba(252, 251, 247, .94);
  box-shadow: 0 10px 34px rgba(23, 45, 63, .055);
}

.rmh-header .rmh-header-main { min-height: 78px; }
.rmh-header .rmh-logo img { width: 164px; height: auto; }
.rmh-header .rmh-nav > ul { gap: 36px; }
.rmh-header .rmh-nav > ul > li > a {
  padding-top: 28px;
  padding-bottom: 25px;
  color: #30475a;
  font-size: 14px;
  font-weight: 650;
}
.rmh-header .rmh-nav > ul > li > a::after { height: 2px; }
.rmh-header .rmh-nav > ul > li.active > a,
.rmh-header .rmh-nav > ul > li > a[aria-current="page"] { color: var(--rmh-navy); }

.rmh-header .rmh-search-trigger {
  width: 40px;
  height: 40px;
  color: var(--rmh-navy);
  background: transparent;
  border: 1px solid rgba(18, 48, 77, .14);
}
.rmh-header .rmh-search-trigger:hover,
.rmh-header .rmh-search-trigger:focus-visible {
  color: #fff;
  border-color: var(--rmh-orange);
  background: var(--rmh-orange);
}
.rmh-header .rmh-header-cta {
  min-height: 45px;
  padding-inline: 21px;
  border-radius: 999px;
  box-shadow: none;
  font-size: 13px;
  font-weight: 750;
}
.rmh-header .rmh-header-cta:hover { transform: translateY(-1px); box-shadow: none; }

/* Product menu redesigned as luxury medical dropdown */
.rmh-header .rmh-nav-products {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.rmh-header .rmh-nav-products > a {
  padding-right: 2px;
}

.rmh-header .rmh-submenu-toggle {
  width: 22px;
  height: 28px;
  padding: 0;
  margin-left: 1px;
  border: none;
  background: transparent !important;
  color: #728496;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  border-radius: 6px;
  transition: color .2s ease, transform .25s ease;
}

.rmh-header .rmh-submenu-toggle i {
  transition: transform .28s cubic-bezier(0.16, 1, 0.3, 1), color .2s ease;
}

.rmh-header .rmh-submenu-toggle:hover,
.rmh-header .rmh-submenu-toggle:focus-visible,
.rmh-header .rmh-nav-products:hover .rmh-submenu-toggle,
.rmh-header .rmh-nav-products.is-open .rmh-submenu-toggle {
  color: var(--rmh-orange, #ff6a21);
  background: transparent !important;
}

.rmh-header .rmh-nav-products.is-open .rmh-submenu-toggle i {
  transform: rotate(180deg);
  color: var(--rmh-orange, #ff6a21);
}

.rmh-header .rmh-nav-products:hover > a,
.rmh-header .rmh-nav-products.is-open > a {
  color: var(--rmh-orange, #ff6a21);
}

.rmh-header .rmh-nav .rmh-submenu {
  position: absolute;
  top: calc(100% - 6px);
  left: -20px;
  width: 350px;
  max-width: calc(100vw - 32px);
  max-height: min(78vh, 560px);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 10px;
  margin: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(16, 47, 78, 0.08);
  border-radius: 18px;
  box-shadow: 0 24px 48px -12px rgba(16, 47, 78, 0.16), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.98);
  pointer-events: none;
  transition: opacity .22s cubic-bezier(0.16, 1, 0.3, 1), transform .22s cubic-bezier(0.16, 1, 0.3, 1), visibility .22s;
  z-index: 120;
}

.rmh-header .rmh-nav-products.is-open .rmh-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.rmh-header .rmh-nav .rmh-submenu::-webkit-scrollbar {
  width: 5px;
}
.rmh-header .rmh-nav .rmh-submenu::-webkit-scrollbar-thumb {
  background: rgba(16, 47, 78, 0.12);
  border-radius: 999px;
}

.rmh-header .rmh-nav .rmh-submenu .rmh-submenu-featured {
  display: block;
  margin-bottom: 8px;
}

.rmh-header .rmh-nav .rmh-submenu .rmh-submenu-featured a {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 11px 14px !important;
  background: linear-gradient(135deg, rgba(255, 106, 33, 0.07), rgba(255, 138, 77, 0.02)) !important;
  border: 1px solid rgba(255, 106, 33, 0.16) !important;
  border-radius: 13px !important;
  text-decoration: none !important;
  transition: all .2s ease !important;
}

.rmh-header .rmh-nav .rmh-submenu .rmh-submenu-featured a::after {
  display: none !important;
}

.rmh-header .rmh-nav .rmh-submenu .rmh-submenu-featured a:hover,
.rmh-header .rmh-nav .rmh-nav-products.active .rmh-submenu .rmh-submenu-featured a[aria-current="page"] {
  background: linear-gradient(135deg, rgba(255, 106, 33, 0.13), rgba(255, 138, 77, 0.05)) !important;
  border-color: rgba(255, 106, 33, 0.32) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 106, 33, 0.12);
}

.rmh-header .rmh-nav .rmh-submenu .rmh-submenu-featured .rmh-sub-icon.all {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff6a21, #ff8a4d);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(255, 106, 33, 0.28);
}

.rmh-header .rmh-nav .rmh-submenu .rmh-submenu-featured .rmh-sub-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rmh-header .rmh-nav .rmh-submenu .rmh-submenu-featured .rmh-sub-title {
  font-size: 13.5px;
  font-weight: 750;
  color: #102f4e;
  line-height: 1.25;
}

.rmh-header .rmh-nav .rmh-submenu .rmh-submenu-featured .rmh-sub-desc {
  font-size: 11px;
  color: #6a7d8e;
  font-weight: 500;
  line-height: 1.25;
}

.rmh-header .rmh-nav .rmh-submenu .rmh-submenu-featured .rmh-sub-arrow {
  color: #ff6a21;
  font-size: 12px;
  transition: transform .2s ease;
}

.rmh-header .rmh-nav .rmh-submenu .rmh-submenu-featured a:hover .rmh-sub-arrow {
  transform: translateX(4px);
}

.rmh-header .rmh-nav .rmh-submenu .rmh-submenu-section-label {
  display: block;
  padding: 4px 8px 6px;
  margin-top: 2px;
}

.rmh-header .rmh-nav .rmh-submenu .rmh-submenu-section-label span {
  display: block;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8c9ea7;
}

.rmh-header .rmh-nav .rmh-submenu .rmh-submenu-item {
  display: block;
  margin-bottom: 2px;
}

.rmh-header .rmh-nav .rmh-submenu .rmh-submenu-item a,
.rmh-header .rmh-nav .rmh-nav-products.active .rmh-submenu .rmh-submenu-item a {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 8px 10px !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  background: transparent !important;
  transition: all .2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  border: 1px solid transparent !important;
}

.rmh-header .rmh-nav .rmh-submenu .rmh-submenu-item a::after {
  display: none !important;
}

.rmh-header .rmh-nav .rmh-submenu .rmh-submenu-item .rmh-sub-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(16, 47, 78, 0.045);
  color: #102f4e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all .2s ease;
}

.rmh-header .rmh-nav .rmh-submenu .rmh-submenu-item .rmh-sub-title {
  flex: 1;
  font-size: 13.5px;
  font-weight: 600;
  color: #1a324b;
  line-height: 1.3;
  transition: color .2s ease;
}

.rmh-header .rmh-nav .rmh-submenu .rmh-submenu-item .rmh-sub-arrow {
  font-size: 10px;
  color: #ff6a21;
  opacity: 0;
  transform: translateX(-4px);
  transition: all .2s ease;
}

.rmh-header .rmh-nav .rmh-submenu .rmh-submenu-item a:hover,
.rmh-header .rmh-nav .rmh-submenu .rmh-submenu-item a:focus-visible {
  background: rgba(255, 106, 33, 0.06) !important;
  border-color: rgba(255, 106, 33, 0.12) !important;
}

.rmh-header .rmh-nav .rmh-submenu .rmh-submenu-item a:hover .rmh-sub-icon,
.rmh-header .rmh-nav .rmh-submenu .rmh-submenu-item a:focus-visible .rmh-sub-icon {
  background: rgba(255, 106, 33, 0.14);
  color: #ff6a21;
}

.rmh-header .rmh-nav .rmh-submenu .rmh-submenu-item a:hover .rmh-sub-title,
.rmh-header .rmh-nav .rmh-submenu .rmh-submenu-item a:focus-visible .rmh-sub-title {
  color: #ff6a21;
}

.rmh-header .rmh-nav .rmh-submenu .rmh-submenu-item a:hover .rmh-sub-arrow,
.rmh-header .rmh-nav .rmh-submenu .rmh-submenu-item a:focus-visible .rmh-sub-arrow {
  opacity: 1;
  transform: translateX(0);
}

.rmh-header .rmh-nav .rmh-nav-products .rmh-submenu .rmh-submenu-item a[aria-current="page"] {
  background: rgba(255, 106, 33, 0.09) !important;
  border-color: rgba(255, 106, 33, 0.2) !important;
}

.rmh-header .rmh-nav .rmh-nav-products .rmh-submenu .rmh-submenu-item a[aria-current="page"] .rmh-sub-icon {
  background: #ff6a21;
  color: #fff;
}

.rmh-header .rmh-nav .rmh-nav-products .rmh-submenu .rmh-submenu-item a[aria-current="page"] .rmh-sub-title {
  color: #ff6a21;
  font-weight: 750;
}

.rmh-header .rmh-nav .rmh-nav-products .rmh-submenu .rmh-submenu-item a[aria-current="page"] .rmh-sub-arrow {
  opacity: 1;
  transform: translateX(0);
}

.rmh-header .rmh-nav .rmh-submenu .rmh-submenu-foot {
  display: block;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(16, 47, 78, 0.05);
}

.rmh-header .rmh-nav .rmh-submenu .rmh-sub-trust {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(16, 47, 78, 0.025);
  font-size: 11px;
  font-weight: 600;
  color: #627588;
}

.rmh-header .rmh-nav .rmh-submenu .rmh-sub-trust i {
  color: #ff6a21;
  font-size: 12px;
}
.lc-offcanvas-nav a[aria-current="page"],
.lc-offcanvas-nav .rmh-mobile-products[open] > summary {
  color: var(--rmh-orange-deep);
  font-weight: 800;
}

.lc-offcanvas .lc-offcanvas-nav .rmh-mobile-products > summary {
  padding: 12px 0;
  border-bottom: 1px solid var(--lc-color-dark-soft);
  color: var(--lc-color-cream);
  font-family: var(--lc-ff-heading);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.65;
}

.lc-offcanvas .lc-offcanvas-nav .rmh-mobile-products > ul {
  padding: 8px 0 8px 14px;
}

.lc-offcanvas .lc-offcanvas-nav .rmh-mobile-products > ul a {
  padding: 9px 0;
  color: rgba(255, 247, 241, .82);
  font-size: 16px;
  font-weight: 500;
}

/* Inner-page foundation: same off-white, same reading colour, same grid. */
body.rmh-inner-page {
  color: var(--rmh-ink);
  background: var(--rmh-offwhite);
}
body.rmh-inner-page main { min-height: 45vh; }
body.rmh-inner-page main .container { max-width: 1260px; }
body.rmh-inner-page :is(h1, h2, h3) {
  color: var(--rmh-navy);
  font-family: "Bricolage Grotesque", sans-serif;
  text-wrap: balance;
}
body.rmh-inner-page p { color: var(--rmh-muted); }
body.rmh-inner-page :is(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--rmh-orange);
  outline-offset: 4px;
}

/* Quiet hero treatment shared by every information architecture. */
body.rmh-inner-page :is(
  .rmh-catalog-hero,
  .rmh-news-hero,
  .rmh-careers-hero,
  .rmh-career-detail-hero,
  .rmh-static-hero,
  .rmh-detail-top
) {
  border-bottom-color: var(--rmh-border-soft);
  background: linear-gradient(118deg, var(--rmh-offwhite) 0%, var(--rmh-ivory) 62%, #f3f6f7 100%);
}

body.rmh-inner-page :is(
  .rmh-catalog-hero h1,
  .rmh-news-hero h1,
  .rmh-careers-hero h1,
  .rmh-career-detail-head h1,
  .rmh-static-hero-copy h1,
  .rmh-detail-heading h1
) {
  font-size: clamp(46px, 5vw, 68px);
  line-height: 1.025;
  letter-spacing: -.052em;
}

body.rmh-inner-page :is(
  .rmh-catalog-hero h1 span,
  .rmh-news-hero h1 span,
  .rmh-careers-hero h1 span,
  .rmh-static-hero h1 em,
  .rmh-static-accent
) { color: var(--rmh-orange-deep); }

body.rmh-inner-page :is(
  .rmh-kicker,
  .rmh-news-kicker,
  .rmh-careers-kicker,
  .rmh-static-eyebrow,
  .rmh-catalog-eyebrow
) {
  color: #74808a;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .21em;
  line-height: 1.45;
  text-transform: uppercase;
}

body.rmh-inner-page :is(
  .rmh-catalog-hero .rmh-kicker,
  .rmh-careers-hero .rmh-careers-kicker,
  .rmh-career-detail-hero .rmh-careers-kicker,
  .rmh-static-hero-copy .rmh-static-eyebrow,
  .rmh-detail-heading .rmh-kicker
)::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 2px;
  margin-right: 9px;
  vertical-align: middle;
  background: var(--rmh-orange);
}

body.rmh-inner-page :is(
  .rmh-news-breadcrumb,
  .rmh-careers-breadcrumb,
  .rmh-static-crumb,
  .rmh-detail-top nav
) {
  color: #6b7984;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
}
body.rmh-inner-page :is(
  .rmh-news-breadcrumb,
  .rmh-careers-breadcrumb,
  .rmh-static-crumb,
  .rmh-detail-top nav
) a { color: #617281; }
body.rmh-inner-page :is(
  .rmh-news-breadcrumb,
  .rmh-careers-breadcrumb,
  .rmh-static-crumb,
  .rmh-detail-top nav
) a:hover { color: var(--rmh-orange-deep); }

/* Predictable vertical rhythm. */
body.rmh-inner-page .rmh-catalog-hero { padding-top: 72px; padding-bottom: 64px; }
body.rmh-inner-page .rmh-news-hero { padding-top: 42px; padding-bottom: 72px; }
body.rmh-inner-page .rmh-careers-hero { padding-top: 36px; padding-bottom: 84px; }
body.rmh-inner-page .rmh-static-hero { padding-top: 36px; padding-bottom: 78px; }
body.rmh-inner-page .rmh-detail-top { padding-top: 43px; padding-bottom: 48px; }
body.rmh-inner-page .rmh-career-detail-hero { padding-top: 36px; padding-bottom: 70px; }

body.rmh-inner-page .rmh-news-archive-content { padding-top: var(--rmh-section-space); padding-bottom: 112px; }
body.rmh-inner-page .rmh-careers-openings { padding-top: var(--rmh-section-space); padding-bottom: 108px; }
body.rmh-inner-page .rmh-career-detail-body { padding-top: 88px; padding-bottom: 108px; }
body.rmh-inner-page .rmh-product-detail .rmh-detail-body { padding-top: 76px; padding-bottom: 108px; }
body.rmh-inner-page .rmh-contact-workspace { padding-top: var(--rmh-section-space); padding-bottom: 108px; }
body.rmh-inner-page .rmh-sustainability-intro,
body.rmh-inner-page .rmh-sustainability-principles { padding-top: var(--rmh-section-space); padding-bottom: var(--rmh-section-space); }

body.rmh-inner-page :is(
  .rmh-catalog-section-heading h2,
  .rmh-catalog-toolbar h2,
  .rmh-news-section-heading h2,
  .rmh-careers-section-head h2,
  .rmh-contact-workspace-copy h2,
  .rmh-sustainability-intro h2,
  .rmh-sustainability-principles-head h2,
  .rmh-sustainability-next h2,
  .rmh-detail-section-head h2
) {
  font-size: clamp(36px, 3.7vw, 52px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

/* Shared component geometry. */
body.rmh-inner-page :is(
  .rmh-news-feature-card,
  .rmh-news-archive-card,
  .rmh-catalog-card,
  .rmh-contact-form-card,
  .rmh-sustainability-principle,
  .rmh-career-apply,
  .rmh-status-card,
  .rmh-detail-panel
) {
  border-color: var(--rmh-border-soft);
  border-radius: var(--rmh-radius-card);
  background: var(--rmh-paper);
  box-shadow: var(--rmh-shadow-soft);
}

body.rmh-inner-page :is(
  .rmh-news-feature-image,
  .rmh-news-archive-image,
  .rmh-careers-hero-visual,
  .rmh-static-hero-visual,
  .rmh-news-detail-image,
  .rmh-career-apply-photo
) { border-radius: 16px; }

body.rmh-inner-page :is(
  .rmh-static-button,
  .rmh-career-apply-button,
  .rmh-catalog-more button,
  .rmh-filter-bar button,
  .rmh-news-empty > a,
  .rmh-careers-empty > a,
  .rmh-careers-connect-link
) {
  min-height: 46px;
  border-radius: 999px;
  box-shadow: none;
}

/* Replaces the inherited green template CTA on inner pages. */
.rmh-inner-contact-cta {
  padding: 82px 0;
  border-top: 1px solid var(--rmh-border-soft);
  background: var(--rmh-ivory);
}
.rmh-inner-contact-cta .cta-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  padding: 0;
  border: 0;
}
.rmh-inner-contact-copy { max-width: 760px; }
.rmh-inner-contact-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: #74808a;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .21em;
  line-height: 1.45;
}
.rmh-inner-contact-kicker::before { width: 16px; height: 2px; content: ""; background: var(--rmh-orange); }
.rmh-inner-contact-cta .cta-title {
  margin: 0;
  color: var(--rmh-navy);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.047em;
  text-transform: none;
}
.rmh-inner-contact-cta .cta-title .lc-accent-word { color: var(--rmh-orange-deep); }
.rmh-inner-contact-copy > p { max-width: 590px; margin: 20px 0 0; color: var(--rmh-muted); font-size: 15px; line-height: 1.7; }
.rmh-inner-contact-button {
  min-height: 48px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 14px;
  padding: 12px 21px;
  border-radius: 999px;
  color: #fff;
  background: var(--rmh-orange);
  font-size: 13px;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease;
}
.rmh-inner-contact-button:hover { color: #fff; background: var(--rmh-orange-deep); transform: translateY(-2px); }

/* The footer no longer changes composition between the homepage and inner routes. */
body.rmh-inner-page .rmh-footer.footer-area {
  min-height: 450px;
  padding-top: 68px;
  background: #102d47;
}
body.rmh-inner-page .rmh-footer-glow,
body.rmh-inner-page .rmh-footer-stage { display: none; }
body.rmh-inner-page .rmh-footer-grid { width: 100%; padding-bottom: 50px; }
body.rmh-inner-page .rmh-footer .rmh-footer-lockup { width: 220px; height: auto; padding: 0; background: transparent; }
body.rmh-inner-page .rmh-footer-slogan { margin-top: 21px; font-size: 27px; font-weight: 500; }
body.rmh-inner-page .rmh-footer-bottom { min-height: 68px; }

@media (max-width: 1199.98px) {
  .rmh-header .rmh-nav > ul { gap: 25px; }
  body.rmh-inner-page :is(
    .rmh-catalog-hero h1,
    .rmh-news-hero h1,
    .rmh-careers-hero h1,
    .rmh-career-detail-head h1,
    .rmh-static-hero-copy h1,
    .rmh-detail-heading h1
  ) { font-size: clamp(44px, 5.6vw, 62px); }
}

@media (max-width: 991.98px) {
  :root { --rmh-section-space: 76px; }
  .rmh-header .rmh-header-main { min-height: 72px; }
  .rmh-header .rmh-logo img { width: 155px; }
  .rmh-inner-contact-cta { padding: 72px 0; }
  .rmh-inner-contact-cta .cta-inner { align-items: flex-start; flex-direction: column; gap: 28px; }
  body.rmh-inner-page .rmh-footer.footer-area { min-height: 0; }
  body.rmh-inner-page .rmh-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 30px; }
  body.rmh-inner-page .rmh-footer-brand,
  body.rmh-inner-page .rmh-footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 767.98px) {
  :root { --rmh-section-space: 64px; }
  body.rmh-inner-page :is(
    .rmh-catalog-hero h1,
    .rmh-news-hero h1,
    .rmh-careers-hero h1,
    .rmh-career-detail-head h1,
    .rmh-static-hero-copy h1,
    .rmh-detail-heading h1
  ) { font-size: clamp(39px, 10vw, 50px); line-height: 1.04; }

  body.rmh-inner-page .rmh-catalog-hero { padding-top: 52px; padding-bottom: 48px; }
  body.rmh-inner-page .rmh-news-hero { padding-top: 28px; padding-bottom: 52px; }
  body.rmh-inner-page .rmh-careers-hero,
  body.rmh-inner-page .rmh-static-hero { padding-top: 25px; padding-bottom: 60px; }
  body.rmh-inner-page .rmh-detail-top,
  body.rmh-inner-page .rmh-career-detail-hero { padding-top: 28px; padding-bottom: 44px; }
  body.rmh-inner-page .rmh-news-archive-content,
  body.rmh-inner-page .rmh-careers-openings,
  body.rmh-inner-page .rmh-career-detail-body,
  body.rmh-inner-page .rmh-product-detail .rmh-detail-body,
  body.rmh-inner-page .rmh-contact-workspace,
  body.rmh-inner-page .rmh-sustainability-intro,
  body.rmh-inner-page .rmh-sustainability-principles { padding-top: 64px; padding-bottom: 72px; }

  body.rmh-inner-page :is(
    .rmh-catalog-section-heading h2,
    .rmh-catalog-toolbar h2,
    .rmh-news-section-heading h2,
    .rmh-careers-section-head h2,
    .rmh-contact-workspace-copy h2,
    .rmh-sustainability-intro h2,
    .rmh-sustainability-principles-head h2,
    .rmh-sustainability-next h2,
    .rmh-detail-section-head h2
  ) { font-size: clamp(31px, 8vw, 40px); }

  .rmh-inner-contact-cta { padding: 64px 0; }
  .rmh-inner-contact-cta .cta-title { font-size: clamp(35px, 9vw, 46px); }
  body.rmh-inner-page .rmh-footer.footer-area { padding-top: 50px; }
}

@media (max-width: 575.98px) {
  .rmh-header .rmh-header-main { min-height: 66px; }
  .rmh-header .rmh-logo img { width: 145px; }
  body.rmh-inner-page :is(
    .rmh-news-feature-card,
    .rmh-news-archive-card,
    .rmh-catalog-card,
    .rmh-contact-form-card,
    .rmh-sustainability-principle,
    .rmh-career-apply,
    .rmh-status-card,
    .rmh-detail-panel
  ) { border-radius: 15px; }
  body.rmh-inner-page .rmh-footer-grid { gap: 32px 20px; padding-bottom: 38px; }
  body.rmh-inner-page .rmh-footer-bottom { min-height: 0; padding: 22px 0 27px; }
}

@media (prefers-reduced-motion: reduce) {
  .rmh-header *,
  .rmh-inner-contact-button { transition-duration: .01ms !important; }
}

/* --------------------------------------------------------------------------
   Cross-page visual continuity: the restrained curves and off-white layering
   from the homepage continue through every inner-page hero and closing CTA.
   -------------------------------------------------------------------------- */
body.rmh-inner-page :is(
  .rmh-catalog-hero,
  .rmh-news-hero,
  .rmh-careers-hero,
  .rmh-career-detail-hero,
  .rmh-static-hero,
  .rmh-detail-top
) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
body.rmh-inner-page :is(
  .rmh-catalog-hero,
  .rmh-news-hero,
  .rmh-careers-hero,
  .rmh-career-detail-hero,
  .rmh-static-hero,
  .rmh-detail-top
) > .container {
  position: relative;
  z-index: 1;
}
body.rmh-inner-page :is(
  .rmh-catalog-hero,
  .rmh-news-hero,
  .rmh-careers-hero,
  .rmh-career-detail-hero,
  .rmh-static-hero,
  .rmh-detail-top
) > :not(.container) {
  position: relative;
  z-index: 1;
}

body.rmh-inner-page :is(
  .rmh-catalog-hero,
  .rmh-news-hero,
  .rmh-careers-hero,
  .rmh-career-detail-hero,
  .rmh-static-hero,
  .rmh-detail-top
)::before {
  position: absolute;
  z-index: 0;
  inset: -42% -12% -52% 34%;
  content: "";
  pointer-events: none;
  background: url('../img/rmh/decor/rmh-flow-lines-v3.svg') center / cover no-repeat;
  opacity: .075;
}

body.rmh-inner-page :is(
  .rmh-catalog-hero,
  .rmh-news-hero,
  .rmh-careers-hero,
  .rmh-career-detail-hero,
  .rmh-static-hero,
  .rmh-detail-top
)::after {
  position: absolute;
  z-index: 0;
  top: -110px;
  right: -90px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle, rgba(243, 106, 45, .07), rgba(243, 106, 45, 0) 68%);
}

body.rmh-inner-page :is(
  .rmh-catalog-content,
  .rmh-news-archive-content,
  .rmh-careers-openings,
  .rmh-career-detail-body,
  .rmh-detail-body,
  .rmh-contact-workspace,
  .rmh-sustainability-intro,
  .rmh-sustainability-principles
) { position: relative; }

body.rmh-inner-page :is(
  .rmh-news-feature-card,
  .rmh-news-archive-card,
  .rmh-catalog-card,
  .rmh-sustainability-principle,
  .rmh-career-apply,
  .rmh-detail-panel
) {
  transition: transform .32s cubic-bezier(.22, 1, .36, 1),
              border-color .32s ease,
              box-shadow .32s ease;
}

body.rmh-inner-page :is(
  .rmh-news-feature-card,
  .rmh-news-archive-card,
  .rmh-catalog-card,
  .rmh-sustainability-principle,
  .rmh-career-apply
):hover {
  border-color: rgba(243, 106, 45, .2);
  box-shadow: 0 21px 50px rgba(24, 48, 67, .075);
  transform: translateY(-4px);
}

.rmh-inner-contact-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.rmh-inner-contact-cta > .container { position: relative; z-index: 1; }
.rmh-inner-contact-cta::before {
  position: absolute;
  z-index: 0;
  inset: -65% -8% -85%;
  content: "";
  pointer-events: none;
  background: url('../img/rmh/decor/rmh-flow-lines-v3.svg') center / cover no-repeat;
  opacity: .085;
}
.rmh-inner-contact-cta::after {
  position: absolute;
  z-index: 0;
  right: max(5vw, 36px);
  bottom: -180px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle, rgba(243, 106, 45, .075), rgba(243, 106, 45, 0) 69%);
}

body.rmh-inner-page :is(
  .rmh-news-feature-image img,
  .rmh-news-archive-image img,
  .rmh-catalog-image img,
  .rmh-careers-hero-visual img,
  .rmh-static-hero-visual img,
  .rmh-career-apply-photo img
) { transition: transform .7s cubic-bezier(.22, 1, .36, 1), filter .45s ease; }

body.rmh-inner-page :is(
  .rmh-news-feature-card,
  .rmh-news-archive-card,
  .rmh-catalog-card,
  .rmh-career-apply
):hover img { transform: scale(1.025); }

@media (max-width: 767.98px) {
  body.rmh-inner-page :is(
    .rmh-catalog-hero,
    .rmh-news-hero,
    .rmh-careers-hero,
    .rmh-career-detail-hero,
    .rmh-static-hero,
    .rmh-detail-top
  )::before {
    inset: -20% -55% -25% 8%;
    opacity: .055;
  }
  .rmh-inner-contact-cta::before { inset-inline: -60%; opacity: .06; }
}

@media (prefers-reduced-motion: reduce) {
  body.rmh-inner-page :is(
    .rmh-news-feature-card,
    .rmh-news-archive-card,
    .rmh-catalog-card,
    .rmh-sustainability-principle,
    .rmh-career-apply,
    .rmh-detail-panel,
    .rmh-news-feature-image img,
    .rmh-news-archive-image img,
    .rmh-catalog-image img,
    .rmh-careers-hero-visual img,
    .rmh-static-hero-visual img,
    .rmh-career-apply-photo img
  ) { transition: none; }
}
