.home.humann-reference-layout .reference-header-inner { width: calc(100% - 128px); max-width: none; }
.hp-announcements {
    display: grid; grid-template-columns: minmax(250px,1fr) minmax(0,640px) minmax(250px,1fr);
    min-height: 42px; align-items: center; width: calc(100% - 128px); margin-inline: auto; color: #fff;
}
.hp-announcement-track { display: grid; grid-template-columns: 38px minmax(0,1fr) 38px; align-items: center; }
.hp-announcement-track button { display: grid; place-items: center; padding: 0; width: 38px; min-height: 42px; color: inherit; border: 0; background: transparent; cursor: pointer; }
.hp-announcement-track button[hidden] { display: none; }
.hp-announcement-track button:last-child { grid-column: 3; }
.hp-announcement-track button:hover { background: #fff2; }
.hp-announcement-track p { grid-column: 2; grid-row: 1; text-align: center; margin: 0; line-height: 1.26; font-weight: 700; }
.hp-announcement-track a { color: inherit; white-space: nowrap; }
.hp-announcements .reference-utility { justify-self: end; gap: 12px; margin-left: 0; }
.hp-announcements .reference-utility a { white-space: nowrap; color: #fff; }

.home-replica .hp-hero { min-height: 0; padding: 8px 0 16px; }
.home-replica .reference-carousel { margin: 0 16px; border-radius: 12px; }
.home-replica .reference-slide { min-height: 704px; }
.home-replica .reference-range { background-position: center; padding-top: 42px; }
.home-replica .reference-range-strip {
    display: block; overflow: hidden; padding: 0; height: 42px; background: #aaff88; color: #171717;
    text-decoration: none; font: 700 16px/1 var(--sans); letter-spacing: -.015em;
}
.home-replica .reference-range-strip > .hp-ticker { display: flex; align-items: center; width: max-content; height: 100%; }
.hp-ticker > span { display: flex; align-items: center; flex: none; gap: 24px; padding-right: 24px; }
.hp-ticker b { font: 700 25px/1 var(--sans); }
.hp-ticker i { width: 42px; height: 1px; background: currentColor; }
.home-replica .reference-range-strip:hover .hp-ticker, .home-replica .reference-range-strip:focus-visible .hp-ticker { animation-play-state: paused; }
@media (prefers-reduced-motion: no-preference) {
    .hp-ticker { animation: hp-ticker-scroll 25s linear infinite; }
    @keyframes hp-ticker-scroll { to { transform: translateX(-50%); } }
}
.home-replica .reference-range .reference-slide-copy { width: min(51%,602px); padding: 0 40px; }
.home-replica .reference-range h1 {
    font: 400 clamp(38px,3.7vw,54px)/.98 var(--serif);
    letter-spacing: -.045em; max-width: 520px;
}
.home-replica .reference-range h1 b { font-family: var(--sans); font-weight: 700; letter-spacing: -.048em; }
.home-replica .reference-range .hp-hero-badge {
    position: relative; display: inline-flex; margin-bottom: 24px; padding: 7px 14px;
    border-radius: 5px; background: #fff3; font-size: 14px; letter-spacing: 0;
}
.hp-hero-badge i { position: absolute; top: -25px; left: -4px; color: #b3ff9a; font: normal 27px/1 var(--sans); }
.home-replica .reference-range .hp-hero-description {
    border-top: 1px solid #fff7; padding-top: 14px; margin: 14px 0 24px; max-width: 390px;
    font: 400 clamp(17px,1.65vw,24px)/1.15 var(--sans); letter-spacing: -.02em;
}
.home-replica .reference-range .action {
    display: inline-flex; align-items: center; justify-content: center; min-width: 235px; min-height: 51px;
    padding: 10px 24px; color: #fff; border-radius: 30px; background: #bc0f0f;
}
.home-replica .reference-range .action:hover { background: #a50f0f; }
.home-replica .reference-range .reference-slide-art { inset: 45px 6.8% 37px 43.5%; }
.home-replica .reference-range .reference-slide-art picture { inset: 0; }
.home-replica .reference-slide-art picture img { object-fit: contain; }
.hp-hero-service { position: absolute; bottom: 36px; left: 40px; display: flex; align-items: center; gap: 9px; color: white; line-height: 1.1; font: 700 13px/1.12 var(--sans); }
.hp-hero-service b { color: #fff; font-size: 35px; font-style: italic; }
.home-replica .reference-slide-controls { right: 3.5%; bottom: 28px; gap: 7px; }
.home-replica .reference-slide-controls button { width: 59px; min-height: 48px; }

.home-replica .hp-guide { margin-bottom: 80px; }
.home-replica .hp-guide-search { padding-left: 40px; padding-right: 32px; }
.home-replica .hp-guide-panel { grid-template-columns: 1.95fr 1fr; border-radius: 12px; }
.home-replica .hp-guide-aside { background: #ffffff12; }
.home-replica .hp-guide-aside img { width: 72px; height: 72px; }
.home-replica .hp-guide-search button { background: #bc0f0f; }
.home-replica .hp-bestsellers { --hp-height: 747px; padding-bottom: 48px; }
.home-replica .hp-bestsellers .hp-section-heading { margin-bottom: 25px; }
.home-replica .hp-products-rail { --hp-card: calc((100% - 60px) / 4.12); }
.home-replica .hp-product-card > div { min-height: 0; padding: 12px 14px; gap: 5px; }
.home-replica .hp-product-card h3 { margin: 0; font-size: 16px; line-height: 1.15; }
.home-replica .hp-product-card p { margin: 0; font-size: 14px; line-height: 1.2; }
.home-replica .hp-product-link { min-height: 36px; }
.home-replica .hp-bestsellers .hp-frame { position: relative; }
.home-replica .hp-bestsellers .hp-scroll-group:has(.hp-rail-arrows:not([hidden])) + .hp-shop-all {
    position: absolute; inset: auto auto 0 0; width: auto; margin: 0;
}
.home-replica .hp-ingredients { padding-bottom: 36px; }
.home-replica .hp-articles { padding-bottom: 40px; }
.home-replica .hp-articles .hp-section-heading { padding-bottom: 5px; }
.hp-offer-note { opacity: .92; }
.hp-knowledge-launch {
    position: fixed; top: 50%; right: 0; z-index: 5; width: 46px; aspect-ratio: 1; display: grid;
    place-items: center; border: 3px solid #fff; border-radius: 50%; color: #fff; background: #101010;
    text-decoration: none; font: 700 23px/1 var(--sans); transform: translateY(-50%);
}

@media (max-width: 1000px) {
    .home.humann-reference-layout .reference-header-inner,.hp-announcements { width: calc(100% - 32px); }
    .hp-announcements { grid-template-columns: minmax(0,1fr); }
    .hp-announcements > span { display: none; }
}
@media (max-width: 749px) {
    .home.humann-reference-layout .reference-logo img { width: 134px; }
    .hp-announcements { width: calc(100% - 12px); min-height: 58px; }
    .hp-announcement-track p { font-size: 13px; }
    .hp-announcement-track button { min-height: 52px; }
    .home-replica .hp-hero { padding: 0; }
    .home-replica .reference-carousel { margin: 0; border-radius: 0; }
    .home-replica .reference-slide {
        min-height: clamp(634px,176.4vw,745px); margin-inline: 12px; border-radius: 16px; overflow: clip;
    }
    .home-replica .reference-range { overflow: visible; padding-top: 46px; background: none; }
    .home-replica .reference-range::before {
        content: ''; position: absolute; inset: 16px 0 0; z-index: -3; border-radius: 16px; background: #181818 url('../layout/assets/hero-black-mobile.jpg') center / cover;
    }
    .home-replica .reference-range-strip { inset: 0 -12px auto; height: 47px; font-size: 14px; }
    .hp-ticker > span { gap: 22px; padding-right: 22px; }
    .home-replica .reference-range .reference-slide-art {
        position: relative; inset: auto; grid-row: 1; width: calc(100% - 18px);
        height: clamp(248px,76vw,331px); align-self: start; margin: 7px auto 0;
    }
    .home-replica .reference-range .reference-slide-art picture { inset: 0 0 4%; }
    .home-replica .reference-range .reference-slide-copy { width: 100%; padding: 0 12px 80px; }
    .home-replica .reference-range .hp-hero-badge { justify-content: center; min-width: 190px; margin-bottom: 18px; font-size: 13px; }
    .hp-hero-badge i,.hp-hero-service { display: none; }
    .home-replica .reference-range h1 { font-size: clamp(28px,8.9vw,38px); line-height: 1.02; margin-inline: auto; }
    .home-replica .reference-range .hp-hero-description { border: 0; padding-top: 0; font-size: clamp(15px,4.85vw,22px); line-height: 1.15; margin: 15px auto 18px; }
    .home-replica .reference-range .action { min-width: 200px; min-height: 49px; }
    .home-replica .reference-slide-controls { bottom: 20px; right: 27px; gap: 4px; }
    .home-replica .reference-slide-controls button { width: 46px; min-height: 42px; }
    .home-replica .hp-guide { margin: 80px 0 0; }
    .home-replica .hp-guide-panel { grid-template-columns: 1fr; }
    .home-replica .hp-guide-search { padding: 24px 16px; }
    .home-replica .hp-guide-search h2 { font-size: clamp(24px,7.3vw,33px); }
    .home-replica .hp-guide-aside img { width: 48px; height: 48px; }
    .home-replica .hp-bestsellers { --hp-mobile: 619px; padding-bottom: 24px; }
    .home-replica .hp-bestsellers .hp-section-heading { margin-bottom: 20px; }
    .home-replica .hp-products-rail { --hp-card: 69%; }
    .home-replica .hp-ingredients { padding-bottom: 48px; }
    .home-replica .hp-articles { padding-bottom: 6px; }
    .home-replica .hp-articles .hp-section-heading { padding-bottom: 0; margin-bottom: 17px; }
    .home-replica .hp-articles .hp-rail-arrows { margin-top: 10px; }
    .home-replica .hp-articles .hp-outline { margin-top: 11px; }
    .hp-knowledge-launch { width: 53px; right: -1px; }
}
