.humann-matched {
    --rv-wine: #950f17;
    --rv-text: #272727;
    --rv-width: 1200px;
}
.rv-frame { width: min(calc(100% - 72px), var(--rv-width)); margin-inline: auto; }
.rv-two,.rv-three { display: grid; align-items: center; gap: clamp(20px,4vw,64px); }
.rv-two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.rv-three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.rv-frame figure { margin: 0; }
.rv-frame img { max-width: 100%; display: block; }
.rv-outline {
    display: inline-flex; align-items: center; justify-content: center; padding: 10px 22px; min-height: 44px;
    border: 1px solid currentColor; border-radius: 28px; color: inherit;
    font: 700 14px/1.2 var(--sans); text-align: center; text-decoration: none;
}
.rv-outline:hover,.rv-outline:focus-visible { text-decoration: underline; }
.humann-matched :is(.rv-frame,.rv-policy) h2 {
    margin: 0 0 16px; color: inherit; font: 400 clamp(33px,4vw,58px)/1.05 var(--serif); letter-spacing: -.025em;
}
.humann-matched :is(.rv-frame,.rv-policy) h2 b { font-family: var(--sans); }
.humann-matched .reference-catalogue-hero picture { display: contents; }
.humann-matched .reference-catalogue-hero { min-height: 302px; }
.humann-matched .reference-catalogue-hero p { max-width: 43rem; }
.humann-matched .reference-collection-nav { margin-top: 40px; }
.humann-matched.woocommerce-shop .reference-catalogue-results { margin-top: 27px; }
.humann-matched.woocommerce-shop ul.products li.product a img {
    box-sizing: border-box; padding: 16px;
}
.rv-card-photos { display: block; position: relative; margin-bottom: 1em; min-width: 0; }
.rv-card-photo-rail { display: block; position: relative; border-radius: .6rem; overflow: hidden; }
.rv-card-photo { display: block; width: 100%; }
.humann-matched ul.products li.product .rv-card-photo img { display: block; width: 100%; margin: 0; aspect-ratio: 1; object-fit: contain; }
.rv-card-photo-secondary { position: absolute; inset: 0; opacity: 0; transition: opacity .18s ease; }
.woocommerce-loop-product__link:is(:hover,:focus-visible) .rv-card-photo-secondary { opacity: 1; }
.rv-card-photo-indicator { display: none; }

@media (hover: none), (max-width: 749px) {
    .rv-card-photo-rail {
        display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
        overscroll-behavior-inline: contain;
    }
    .rv-card-photo-rail::-webkit-scrollbar { display: none; }
    .rv-card-photo { flex: 0 0 100%; scroll-snap-align: start; }
    .rv-card-photo-secondary { position: static; opacity: 1; }
    .rv-card-photo-indicator {
        display: flex; justify-content: center; gap: 5px; position: absolute; inset: auto 0 7px;
        pointer-events: none;
    }
    .rv-card-photo-indicator i { width: 5px; height: 5px; border-radius: 50%; background: #a8a8a8; }
    .rv-card-photos:not([data-second]) .rv-card-photo-indicator i:first-child,
    .rv-card-photos[data-second] .rv-card-photo-indicator i:last-child { background: #262626; }
}
@media (prefers-reduced-motion: reduce) { .rv-card-photo-secondary { transition: none; } }

.rv-quick-open {
    width: 100%; margin-top: 9px; padding: 9px 12px; border: 1px solid #a8a8a8; border-radius: 24px;
    color: #222; background: #fff; font: 700 12px var(--sans); text-transform: uppercase; cursor: pointer;
}
.rv-quick-dialog { max-width: min(calc(100% - 28px), 880px); max-height: 88dvh; padding: clamp(18px,3.4vw,44px); border: 0; border-radius: 12px; box-shadow: 0 20px 60px #0004; }
.rv-quick-dialog::backdrop { background: #17171780; }
.rv-quick-dialog h2 { margin: 6px 0; font: 400 clamp(24px,4vw,38px)/1.12 var(--serif); }
.rv-quick-dialog img { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 8px; background: #f3f3f3; object-fit: contain; }
.rv-quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px,3vw,34px); align-items: center; }
.rv-quick-close { position: absolute; inset: 7px 7px auto auto; width: 37px; height: 37px; border: 0; border-radius: 50%; color: #222; background: #f4f4f4; cursor: pointer; font: 24px var(--sans); }
.rv-quick-buy { min-height: 44px; padding: 9px 18px; border: 0; border-radius: 25px; color: #fff; background: var(--rv-wine); font: 700 14px var(--sans); cursor: pointer; }
.rv-quick-details { margin: 5px 0; }
.rv-read-band,.rv-catalogue-help { color: var(--rv-text); padding: clamp(52px,7vw,108px) 0; }
.woocommerce-shop .rv-read-band,.woocommerce-shop .rv-catalogue-help {
    width: 100vw; margin-left: calc(50% - 50vw);
}
.rv-read-band { background: #f4f4f4; text-align: center; }
.rv-read-band .rv-outline { margin-top: 30px; }
.rv-read-band .rv-article-grid { margin-top: 32px; }
.rv-article-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; text-align: left; }
.rv-article-grid article { color: #282828; min-width: 0; }
.rv-article-grid article[hidden] { display: none; }
.rv-article-grid article a { display: block; height: 100%; color: inherit; text-decoration: none; }
.rv-article-grid article a:hover h3,.rv-article-grid article a:focus-visible h3 { text-decoration: underline; }
.rv-article-grid img { display: block; aspect-ratio: 1.32; width: 100%; object-fit: cover; border-radius: 8px; background: #eee; }
.rv-article-grid h3 { margin: 12px 0 6px; color: inherit; font: 700 clamp(17px,1.55vw,23px)/1.18 var(--sans); }
.rv-article-grid span { color: #554e4b; font-size: 13px; }
.rv-catalogue-help { background: #f8f6f2; }
.rv-catalogue-help .rv-frame { display: grid; align-items: start; grid-template-columns: 1fr 1.2fr; gap: 5vw; }
.rv-catalogue-help a { display: inline-block; color: inherit; margin-top: 18px; }
.rv-disclosures { border-top: 1px solid #c5c2bd; }
.humann-matched .rv-disclosures details {
    margin: 0; border: 0; border-bottom: 1px solid #c5c2bd; border-radius: 0; padding: 0; background: transparent; color: inherit;
}
.rv-disclosures summary {
    display: flex; gap: 16px; justify-content: space-between; align-items: center; font-weight: 700;
    min-height: 59px; padding: 13px 0; list-style: none; cursor: pointer;
}
.rv-disclosures summary::-webkit-details-marker { display: none; }
.rv-disclosures summary::after { content: "+"; font: 400 23px/1 var(--sans); flex: none; }
.rv-disclosures details[open] summary::after { content: "−"; }
.humann-matched .rv-disclosures details p { margin: 0; padding: 0 28px 20px 0; }
.rv-cart-progress { color: #262626; padding: 0 0 15px; }
.rv-cart-progress p { margin: 0 0 5px; font-size: 13px; }
.rv-cart-progress progress { display: block; width: 100%; height: 7px; accent-color: var(--rv-wine); }

.humann-matched main.content:has(.rv-support) { width: 100%; max-width: none; padding: 0; }
.humann-matched .content:has(.rv-support) .entry-title,
.humann-matched .content > article:has(.rv-support) > h1,
.humann-matched .content:has(.rv-support) > h1 { display: none; }
.humann-matched .rv-support { width: 100%; max-width: none; margin: 0; }
.humann-matched .rv-support :where(section) { margin: 0; border: 0; border-radius: 0; padding: 0; color: inherit; background: transparent; }
.humann-matched .rv-support h1 { margin: 0 0 22px; font: 400 clamp(44px,6vw,88px)/1 var(--serif); color: inherit; letter-spacing: -.033em; }
.rv-policy { width: min(calc(100% - 72px), 970px); margin-inline: auto; padding: 50px 0 98px; color: var(--rv-text); }
.rv-faq,.rv-contact { width: min(calc(100% - 72px), 1200px); }
.humann-matched .rv-policy h1 { font-size: clamp(33px,3.3vw,50px); }
.humann-matched .rv-policy h2 { font-size: clamp(25px,2.45vw,34px); }
.humann-matched .rv-faq .rv-disclosures { border-top-color: #e2e1e0; }
.humann-matched .rv-faq .rv-disclosures details { border-bottom-color: #e2e1e0; }
.rv-faq .rv-disclosures summary { min-height: 105px; font-weight: 500; }
.humann-matched .rv-policy section { margin-top: 44px; padding-top: 0; }
.rv-policy .market-policy-rates { margin: 24px 0 30px; }
.rv-policy .market-policy-rates div { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 20px; padding-block: 13px; }
.rv-contact .market-contact-form { max-width: 620px; }

.humann-matched .rv-knowledge-hero {
    display: grid; align-items: center; min-height: 571px; padding: 46px 0;
    color: white; text-align: center; background: #bc0f0f;
    background-image: radial-gradient(ellipse at center bottom,#d02b2a,transparent 73%);
}
.humann-matched .rv-knowledge-hero h1 { font-size: clamp(39px,4.4vw,65px); margin-bottom: 8px; }
.rv-knowledge-hero h1 img { display: inline-block; width: 2.85em; height: auto; vertical-align: -.07em; filter: brightness(0) invert(1); }
.rv-knowledge-hero h1 b { font-family: var(--sans); }
.rv-knowledge-hero p { margin: 0 auto 21px; font-size: clamp(16px,2vw,20px); }
.rv-knowledge-search-title { display: block; margin: 0 auto 10px; font: 700 13px/1 var(--sans); text-transform: uppercase; }
.rv-knowledge-search {
    width: min(100%, 660px); margin: 0 auto; display: flex; align-items: center; padding: 5px; border-radius: 32px; background: #fff; color: #282828;
}
.rv-knowledge-search input { appearance: none; flex: 1; min-width: 0; border: 0; padding: 10px 16px; border-radius: 36px; font: inherit; background: white; }
.rv-knowledge-search button { display: grid; place-items: center; border: 0; border-radius: 50%; width: 42px; height: 42px; padding: 0; background: #242424; color: #fff; cursor: pointer; }
.rv-knowledge-markers,.rv-topics,.rv-story-nav { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.rv-knowledge-queries { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 11px; }
.rv-knowledge-queries button { border: 1px solid #fff8; border-radius: 20px; padding: 4px 12px; color: white; background: transparent; cursor: pointer; font: 700 12px var(--sans); }
.rv-knowledge-markers { margin-top: 33px; gap: 13px 26px; color: inherit; font: 700 13px var(--sans); }
.rv-knowledge-markers a { display: grid; width: 95px; justify-items: center; gap: 8px; color: inherit; text-decoration: none; }
.rv-knowledge-markers i { display: grid; width: 43px; height: 43px; place-items: center; border: 1px solid #fff8; border-radius: 50%; font: 400 25px var(--sans); }
.rv-topics { min-height: 70px; padding: 12px 20px; border-bottom: 1px solid #ddd; }
.rv-topics a,.rv-story-nav a { flex: none; white-space: nowrap; color: #292929; text-decoration: none; }
.rv-topics a { border: 1px solid #d9d7d5; border-radius: 25px; padding: 8px 15px; font: 700 13px/1.2 var(--sans); }
.rv-topics a[aria-current=true] { background: #303030; border-color: #303030; color: white; }
.humann-matched .rv-knowledge-intro { padding: clamp(45px,6vw,90px) 0; background: #f5f5f5; }
.rv-knowledge-start { margin: 0; font: 400 clamp(26px,3.4vw,42px) var(--serif); color: #6c6c6c; }
.rv-knowledge-diagrams { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin: 32px auto 0; max-width: 880px; }
.rv-knowledge-diagrams a { background: #fff; color: inherit; border-radius: 12px; padding: 12px; font-weight: 700; text-decoration: none; }
.rv-knowledge-diagrams img { aspect-ratio: 1.35; width: 100%; object-fit: contain; }
.humann-matched .rv-knowledge .rv-knowledge-index { margin-inline: auto; padding: 65px 0 82px; scroll-margin-top: 110px; }
.rv-knowledge-index .rv-article-grid { margin-top: 30px; row-gap: 32px; }
.humann-matched .rv-knowledge-feature { padding: clamp(35px,5vw,85px) 0; background: #f3f3f3; }
.rv-knowledge-feature .rv-frame { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: center; gap: 7%; }
.rv-knowledge-feature img { border-radius: 9px; width: 100%; }

.humann-matched:has(.rv-story) .market-announcement { display: none; }
.humann-matched .rv-story-hero {
    position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center;
    min-height: calc(100svh - 65px); color: #fff; text-align: center; background: #bc0f0f;
}
.rv-story-grain { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; transform: scale(1.04); animation: rv-grain-drift 10s ease-in-out alternate infinite; }
.rv-story-hero.is-paused canvas { animation-play-state: paused; }
@keyframes rv-grain-drift { to { transform: translate(1%, -1%) scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .rv-story-grain { animation: none; } }
.rv-story-hero img { display: block; width: min(435px, 90%); height: auto; margin: 0 auto 14px; filter: brightness(0) invert(1); }
.humann-matched .rv-story-hero h1 { font-size: clamp(16px,1.3vw,19px); letter-spacing: 0; margin: 0; }
.rv-story-hero h1 b { font-family: var(--sans); }
.rv-story-pause { position: absolute; inset: 18px 30px auto auto; padding: 8px 11px; border: 1px solid #fff9; color: white; background: transparent; border-radius: 50%; cursor: pointer; }
.rv-story-discover { position: absolute; bottom: 27px; justify-self: center; color: white; text-decoration: none; font: 700 12px var(--sans); text-transform: uppercase; }
.rv-story-discover span { display: block; font-size: 22px; }
.rv-story-nav { gap: 13px 34px; padding: 21px 16px; background: #f9f4ee; }
.rv-story-nav a { font: 700 13px/1.2 var(--sans); }
.rv-story-nav a:hover,.rv-story-nav a:focus-visible { text-decoration: underline; }
.humann-matched .rv-story section[id] { scroll-margin-top: 90px; }
.humann-matched .rv-story-intro { overflow: hidden; padding: 70px 0 0; background: #2b1014; color: #fff; }
.rv-story-intro .rv-frame img { width: 100%; aspect-ratio: 1.06; object-fit: cover; }
.rv-story-runner { display: block; width: 100%; max-height: 510px; object-fit: cover; margin-top: 50px; }
.humann-matched .rv-story-molecule { padding: clamp(70px,11vw,155px) 0; text-align: center; background: #251113; color: #fff; }
.rv-story-molecule span { display: block; margin-bottom: 22px; color: #ef7776; font: 700 clamp(55px,10vw,126px)/1 var(--sans); }
.humann-matched .rv-story-timeline { padding: 82px 0; background: #f6eee4; text-align: center; }
.rv-story-timeline .rv-three { margin-top: 34px; align-items: start; text-align: left; }
.rv-story-timeline article img { aspect-ratio: 1.54; width: 100%; object-fit: cover; border-radius: 8px; }
.rv-story-timeline article span { display: block; margin-top: 18px; color: var(--rv-wine); font: 400 32px/1 var(--serif); }
.rv-story-timeline article h3 { margin: 7px 0; font: 700 22px/1.18 var(--sans); }
.rv-story-timeline .rv-outline { margin-top: 27px; }
.humann-matched .rv-story-proof,.rv-pdp-scene {
    isolation: isolate; position: relative; display: grid; align-items: center; min-height: clamp(360px,47vw,680px);
    color: white; text-align: center; background: #332530;
}
.rv-story-proof > img,.rv-pdp-scene > img { position: absolute; z-index: -2; width: 100%; height: 100%; inset: 0; object-fit: cover; }
.rv-story-proof::after,.rv-pdp-scene::after { content: ""; position: absolute; z-index: -1; inset: 0; background: #1c0c1766; }
.humann-matched .rv-story-people,.humann-matched .rv-story-community,.humann-matched .rv-story-next { padding: 72px 0; }
.humann-matched .rv-story-people { background: #f7f2ec; text-align: center; }
.rv-story-people .rv-three,.rv-story-community .rv-three,.rv-pdp-research .rv-three { margin-top: 30px; gap: 18px; }
.rv-story-people img,.rv-story-community img,.rv-pdp-research img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.rv-story-people figcaption,.rv-pdp-research figcaption { margin-top: 10px; font: 700 17px var(--sans); }
.humann-matched .rv-story-community { color: #fff; background: #27141c; text-align: center; }
.humann-matched .rv-story-next { background: #ebd8d3; }

.humann-matched.single-product .woocommerce-product-gallery .flex-viewport { width: 100%; height: auto !important; min-height: 0; aspect-ratio: 1; }
.humann-matched.single-product .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper { aspect-ratio: 1; align-items: flex-start; overflow: hidden; }
.humann-matched.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image > a > img:not(.zoomImg) { height: auto; width: 100%; aspect-ratio: 1; object-fit: contain; }
.humann-matched.single-product div.product > :is(.rv-pdp-feature,.rv-pdp-research,.rv-pdp-bundle,.rv-pdp-scene,.rv-pdp-services,.rv-pdp-education,.rv-pdp-faq,.rv-read-band) {
    width: 100vw; margin-left: calc(50% - 50vw);
}
.rv-pdp-feature,.rv-pdp-research,.rv-pdp-bundle,.rv-pdp-education { padding: clamp(42px,7vw,100px) 0; }
.rv-pdp-feature { background: linear-gradient(125deg,#171523,#381923 68%,#552d36); color: #fff; }
.rv-pdp-feature .rv-frame > div > span { display: block; margin-bottom: 10px; font-weight: 700; }
.rv-pdp-feature figure img,.rv-pdp-bundle img { max-height: 480px; width: 100%; object-fit: contain; border-radius: 12px; }
.rv-ingredient-art { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.rv-ingredient-art img { width: 100%; border-radius: 9px; aspect-ratio: 1.2; object-fit: cover; }
.rv-ingredient-art img:first-child:last-child { grid-column: 1 / -1; max-height: 450px; }
.rv-ingredient-art img:last-child:nth-child(odd):not(:first-child) { grid-column: 1 / -1; aspect-ratio: 2.65; }
.rv-pdp-feature dl div { display: flex; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid #fff6; }
.rv-pdp-feature dt { font-weight: 700; }
.rv-pdp-feature dd { margin: 0; }
.rv-pdp-feature .rv-outline { margin-top: 12px; }
.rv-pdp-research { text-align: center; background: #f3f1ee; }
.rv-pdp-research .rv-outline { margin-top: 28px; }
.rv-pdp-bundle { background: #351d25; color: #fff; }
.rv-pdp-education { background: #f6f2ef; }
.rv-pdp-education img { width: 100%; max-height: 390px; object-fit: contain; }
.rv-pdp-services { background: #f4f3f1; display: flex; gap: 10px 32px; justify-content: center; flex-wrap: wrap; padding: 17px 13px; margin-block: -12px; }
.rv-pdp-services a { color: inherit; font: 700 14px var(--sans); }
.humann-matched .hp-footer .hp-frame { width: min(calc(100% - 72px), var(--rv-width)); margin-inline: auto; }

@media (max-width: 749px) {
    .rv-frame,.rv-policy,.humann-matched .hp-footer .hp-frame { width: calc(100% - 32px); }
    .humann-matched .reference-catalogue-hero { min-height: 244px; }
    .humann-matched .reference-collection-nav { margin-top: 23px; }
    .humann-matched.woocommerce-shop .reference-catalogue-results { margin-top: 13px; }
    .humann-matched.woocommerce-shop ul.products li.product a img { padding: 7px; }
    .rv-quick-grid { grid-template-columns: 1fr; }
    .rv-quick-dialog img { max-width: 260px; margin-inline: auto; }
    .rv-two,.rv-catalogue-help .rv-frame,.rv-knowledge-feature .rv-frame { grid-template-columns: minmax(0,1fr); gap: 20px; }
    .rv-three { gap: 9px; }
    .rv-read-band .rv-article-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 66%; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; }
    .rv-read-band .rv-article-grid article { scroll-snap-align: start; }
    .rv-knowledge-index .rv-article-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .rv-policy { padding-top: 43px; padding-bottom: 62px; }
    .rv-faq .rv-disclosures summary { min-height: 72px; }
    .humann-matched .rv-policy section { margin-top: 32px; }
    .humann-matched .rv-knowledge-hero { min-height: 589px; }
    .rv-topics,.rv-story-nav { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
    .rv-knowledge-diagrams { gap: 5px; }
    .rv-knowledge-diagrams a { padding: 5px 3px 9px; font-size: 12px; }
    .humann-matched .rv-story-hero { min-height: calc(100svh - 61px); }
    .rv-story-hero img { width: 150px; }
    .humann-matched .rv-story-timeline { padding: 49px 0; }
    .rv-story-timeline .rv-three { grid-template-columns: 1fr; gap: 28px; }
    .rv-pdp-feature .rv-frame,.rv-pdp-bundle .rv-frame { text-align: center; }
    .rv-pdp-feature dl div { justify-content: center; }
    .rv-story-people figcaption,.rv-pdp-research figcaption { font-size: 12px; }
}

.hp-footer { color: #424242; }
.hp-footer-brand { text-align: center; padding: 63px 24px; color: #9b1111; }
.hp-footer-brand img { width: 223px; height: auto; }
.hp-footer-brand p { font: 400 32px/1.26 var(--serif); margin: 22px auto 0; max-width: 620px; }
.hp-footer-brand b { font-family: var(--sans); }
.hp-footer-main { background: #f2f2f2; padding: 70px 0 40px; min-height: 680px; }
.hp-footer-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; padding: 0 0 45px; }
.hp-footer-links a,.hp-footer-legal a { color: #333; }
.hp-footer-links a { display: table; margin-top: 12px; }
.hp-footer-links h2 { margin: 0; font: 700 18px var(--sans); }
.hp-footer-help { display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid #ccc; padding-top: 22px; }
.hp-footer-help a { padding: 11px 18px; border-radius: 28px; color: #222; background: white; text-decoration: none; font: 700 13px var(--sans); }
.hp-footer-note { margin-top: 22px; padding: 12px; max-width: 690px; border: 1px solid #bcbcbc; font-size: 13px; }
.hp-footer-legal { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; }
.hp-footer-legal small { flex-basis: 100%; }
@media (max-width: 749px) {
    .hp-footer-brand { padding: 57px 18px; }
    .hp-footer-brand p { font-size: 25px; }
    .hp-footer-main { min-height: 0; padding: 40px 0 33px; }
    .hp-footer-links { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 25px 12px; padding-bottom: 35px; }
}
