/*
 * Homepage styles. Loaded only on the front page (see roar_enqueue_home_assets in functions.php).
 *
 * Ported from the homepage prototype's override stylesheet (decision 014). The rules keep
 * the prototype's order, because later rules override earlier ones.
 * Every rule is scoped to the homepage: .roar-home is the <main> of templates/front-page.html,
 * .roar__home-section is each section, and #home-* are the section anchors.
 */

/* Type tokens. Colours use the theme.json palette presets, spacing uses --sp-* below.
   Move these to theme.json when the type scale goes site-wide. */
.roar-home {
    --home-h1-size: 68px;
    --home-h1-line: 72px;
    --home-h2-size: 40px;
    --home-h2-line: 46px;
    --home-h3-size: 24px;
    --home-h3-line: 28px;
    --home-body-size: 16px;
    --home-body-line: 24px;
}

/* ===== Base rules for the hero checklist and logo strip ===== */

/* hero checklist */

.rv-checks {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: grid;
    gap: .55rem;
    max-width: 30em;
}

.rv-checks li {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    font-size: 1.125rem;
    line-height: 1.4;
    color: var(--wp--preset--color--neutral-800);
}

.rv-checks li svg {
    flex: 0 0 auto;
    width: 1.35rem;
    height: 1.35rem;
    margin-top: .12rem;
}

/* logo strip */

#home-logos {
    background: var(--wp--preset--color--neutral-900) !important;
    padding-top: 2.75rem !important;
    padding-bottom: 2.75rem !important;
}

#home-logos img {
    filter: grayscale(1) invert(1) brightness(1.15) contrast(1.05);
    mix-blend-mode: screen;
    opacity: .82;
    max-height: 56px;
    width: auto;
    transition: opacity .2s;
}

#home-logos img:hover {
    opacity: 1;
}

#home-logos .is-style-roar__logo-grid {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

#home-logos .is-style-roar__logo-grid figure {
    flex: 1 1 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 64px;
    margin: 0;
}

#home-logos .is-style-roar__logo-grid img {
    object-fit: contain;
}

#home-logos figure {
    margin: 0;
}

/* ===== Centegix type + spacing system, ROAR fonts & colors ===== */

.roar-home {
    --wp--style--root--padding-left: 80px;
    --wp--style--root--padding-right: 80px;
    --wp--style--global--wide-size: 1280px;
}

.roar__home-section .alignwide {
    max-width: 1280px !important;
}

/* section rhythm: 144px, like Centegix .padding-vertical-xhuge */

#home-hero,
#home-simple,
#home-industries,
#home-coverage,
#home-sites,
#home-quotes,
#home-results,
#home-heritage {
    padding-top: 144px !important;
    padding-bottom: 144px !important;
}

#home-hero {
    padding-top: 96px !important;
    padding-bottom: 112px !important;
}

#home-logos {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
}

/* headings: Greed SemiBold at Centegix sizes */

:where(.roar__home-section) h1 {
    font-family: Greed,sans-serif !important;
    font-weight: 400 !important;
    font-size: var(--home-h1-size) !important;
    line-height: var(--home-h1-line) !important;
    letter-spacing: .0015em !important;
    margin: 0 0 24px !important;
}

:where(.roar__home-section) h2 {
    font-family: Greed,sans-serif !important;
    font-weight: 400 !important;
    font-size: var(--home-h2-size) !important;
    line-height: var(--home-h2-line) !important;
    letter-spacing: 0 !important;
    margin-bottom: 20px !important;
}

:where(.roar__home-section) h2 em {
    font-weight: 400;
}

:where(.roar__home-section) h1 em {
    font-weight: 400;
}

:where(.roar__home-section) h3 {
    font-family: Greed,sans-serif !important;
    font-weight: 400 !important;
    font-size: var(--home-h3-size) !important;
    line-height: var(--home-h3-line) !important;
    letter-spacing: 0 !important;
    margin: 0 0 8px !important;
}

:where(.roar__home-section) p,
:where(.roar__home-section) li {
    font-size: var(--home-body-size);
    line-height: var(--home-body-line);
}

/* hero: large body 20/27, stat line small */

.rv-checks li {
    font-size: 20px !important;
    line-height: 27px !important;
}

:where(.roar__home-section) .wp-block-button__link {
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 24px !important;
    padding: 12px 28px !important;
}

/* "why" cards and coverage cards: body 16/24 */

#home-simple p,
#home-sites p {
    font-size: 16px !important;
    line-height: 24px !important;
}

#home-coverage li {
    font-size: 16px !important;
    line-height: 24px !important;
}

/* industry tiles */

#home-industries h2 {
    margin-bottom: 48px !important;
}

/* testimonial: 18/28.8 quote, 16 bold author */

#home-quotes blockquote p {
    font-size: 18px !important;
    line-height: 28.8px !important;
}

#home-quotes cite {
    font-size: 15px !important;
    line-height: 21px !important;
    font-style: normal !important;
    margin-top: 16px;
    display: block;
}

/* ---------- inline stats (Centegix .stats_*) ---------- */

#home-results h2 {
    text-align: center !important;
    margin-bottom: 52px !important;
}

#home-results .is-content-justification-left {
    justify-content: center !important;
    text-align: center;
}

/* ---------- large stats band (Centegix .stats_large_*) ---------- */

#home-results .wp-block-group-is-layout-grid {
    display: grid !important;
    grid-template-columns: repeat(5,1fr) !important;
    gap: 0 !important;
}

#home-results .roar__stat {
    background: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    border: 0 !important;
    border-left: 1px solid rgba(255,255,255,.5) !important;
    padding: 0 24px 0 20px !important;
    margin: 0 !important;
    min-height: 0 !important;
}

#home-results .roar__stat p {
    text-align: left !important;
}

#home-results .is-style-roar__paragraph-stat-large {
    font-family: Greed,sans-serif !important;
    font-weight: 700 !important;
    font-size: 68px !important;
    line-height: 72px !important;
    letter-spacing: .0015em !important;
    margin: 0 !important;
    color: #fff !important;
}

#home-results .roar__stat p.has-text-large-font-size {
    font-size: 16px !important;
    line-height: 24px !important;
    margin: 0 !important;
    color: #fff !important;
}

/* heritage + final cta */

#home-heritage li {
    font-size: 18px !important;
    line-height: 25.92px !important;
}

@media (max-width: 900px) {
    .roar-home {
        --wp--style--root--padding-left: 20px;
        --wp--style--root--padding-right: 20px;
    }

    :where(.roar__home-section) h1 {
        font-size: 44px !important;
        line-height: 48px !important;
    }

    :where(.roar__home-section) h2 {
        font-size: 32px !important;
        line-height: 38px !important;
    }

    #home-hero,
    #home-simple,
    #home-industries,
    #home-coverage,
    #home-sites,
    #home-quotes,
    #home-results,
    #home-heritage {
        padding-top: 80px !important;
        padding-bottom: 80px !important;
    }

    #home-results .wp-block-group-is-layout-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 32px 0 !important;
    }

    #home-results .is-style-roar__paragraph-stat-large {
        font-size: 48px !important;
        line-height: 52px !important;
    }
}

#home-results h2 {
    max-width: none !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

#home-results .is-content-justification-left {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: none !important;
}

#home-results .roar__stat p.has-text-large-font-size .is-style-roar__group-highlight p:not(.is-style-roar__paragraph-stat-large) {
    font-weight: 400 !important;
}

/* ===== round 2 ===== */

/* tracking: optical tighten to match Centegix density */

:where(.roar__home-section) h1 {
    letter-spacing: -.015em !important;
}

:where(.roar__home-section) h2,
:where(.roar__home-section) h3 {
    letter-spacing: -.01em !important;
}

/* Why ROAR cards: no lavender on green */

#home-simple h3 {
    color: #fff !important;
}

#home-simple .icon-container,
#home-simple .icon-container svg {
    color: var(--wp--preset--color--mint-200) !important;
    fill: var(--wp--preset--color--mint-200) !important;
}

#home-simple .icon-container svg path {
    fill: var(--wp--preset--color--mint-200) !important;
}

#home-simple .is-style-roar__group-highlight p {
    font-family: "Albert Sans",sans-serif !important;
    font-size: 16px !important;
    line-height: 24px !important;
    font-weight: 400 !important;
    letter-spacing: normal !important;
    color: rgba(255,255,255,.86) !important;
    margin-top: 8px !important;
}

/* Industries: Centegix hover-card grid, 4 columns */

#home-industries h2 {
    color: var(--wp--preset--color--roar-purple-600) !important;
    margin-bottom: 16px !important;
}

.rv-sub {
    font-size: 18px !important;
    line-height: 25.92px !important;
    color: var(--wp--preset--color--neutral-800);
    max-width: 720px;
    margin: 0 0 48px !important;
}

.rv-chc {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 12px;
}

.rv-chc-card {
    position: relative;
    display: block;
    aspect-ratio: 419/523;
    border-radius: 12px;
    overflow: hidden;
    background: var(--wp--preset--color--roar-purple-900);
    color: #fff !important;
    text-decoration: none !important;
    isolation: isolate;
}

.rv-chc-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.rv-chc-tint {
    position: absolute;
    inset: 0;
    background: rgba(31,10,64,.55);
    transition: opacity .3s ease;
}

.rv-chc-grad {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(16,5,32,0) 35%,rgba(16,5,32,.92));
}

.rv-chc-body {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 28px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.rv-chc-icon {
    width: 40px;
    height: 40px;
    color: var(--wp--preset--color--mint-200);
    margin-bottom: 12px;
}

.rv-chc-title {
    font-family: Greed,sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 28px;
    letter-spacing: -.01em;
    color: #fff;
}

.rv-chc-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-family: "Albert Sans",sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 19.5px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #fff;
}

.rv-chc-cta svg {
    width: 14px;
    height: 14px;
    transition: transform .2s ease;
}

.rv-chc-card:hover .rv-chc-img {
    transform: scale(1.03);
}

.rv-chc-card:hover .rv-chc-tint {
    opacity: .35;
}

.rv-chc-card:hover .rv-chc-cta svg {
    transform: translateX(3px);
}

.rv-chc-card:focus-visible {
    outline: 3px solid var(--wp--preset--color--mint-200);
    outline-offset: 3px;
}

.rv-chc-card.is-cta .rv-chc-tint {
    background: rgba(88,28,182,.72);
}

/* 100% coverage: aligned two-column comparison */

#home-coverage h2 {
    text-align: center !important;
    margin-bottom: 52px !important;
}

.rv-cmp {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1000px;
    margin: 0 auto;
}

.rv-cmp-cell {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 32px;
    font-family: "Albert Sans",sans-serif;
    font-size: 17px;
    line-height: 24px;
}

.rv-cmp-cell svg {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
}

.rv-cmp-cell.is-them {
    background: #fff;
    color: var(--wp--preset--color--neutral-600);
    border-left: 1px solid var(--wp--preset--color--neutral-200);
    border-bottom: 1px solid var(--wp--preset--color--neutral-200);
}

.rv-cmp-cell.is-us {
    background: var(--wp--preset--color--roar-purple-900);
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.12);
    position: relative;
}

.rv-cmp-cell.is-head {
    padding-top: 28px;
    padding-bottom: 28px;
    border-bottom-width: 1px;
}

.rv-cmp-cell.is-them.is-head {
    border-top: 1px solid var(--wp--preset--color--neutral-200);
    border-top-left-radius: 16px;
}

.rv-cmp-cell.is-us.is-head {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    margin-top: -16px;
    padding-top: 44px;
}

.rv-cmp-cell.is-them.is-last {
    border-bottom-left-radius: 16px;
}

.rv-cmp-cell.is-us.is-last {
    border-bottom: 0;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    margin-bottom: -16px;
    padding-bottom: 36px;
}

.rv-cmp-label {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--wp--preset--color--neutral-500);
}

.rv-cmp-cell.is-us.is-head img {
    height: 26px;
    width: auto;
    filter: brightness(0) invert(1);
}

.rv-cmp-cell.is-us {
    box-shadow: 0 0 0 0 transparent;
}

.rv-cmp {
    filter: drop-shadow(0 24px 40px rgba(31,10,64,.10));
}

.rv-center {
    justify-content: center !important;
    margin-top: 64px !important;
}

@media (max-width: 900px) {
    .rv-chc {
        grid-template-columns: 1fr 1fr;
    }

    .rv-cmp-cell {
        padding: 16px;
        font-size: 15px;
    }
}

/* =====================================================================
   SPACING SYSTEM (8-point scale)
   --sp-8 8 · --sp-16 16 · --sp-24 24 · --sp-32 32 · --sp-48 48 · --sp-64 64 · section 144
   R1  section mark (icon or eyebrow) → section heading ........ 24
   R2  section heading → section content ....................... 48
       heading → intro line 16, intro line → content ........... 48
   R3  card: inner padding 32; icon (32px, flush left) → title 20; title → body 8
   R4  stat: number → label 16; label → supporting line 4
   R5  section content → section button ........................ 64
   R6  section padding top/bottom .............................. 144
   WordPress's automatic block gaps are switched off inside these
   sections so only these rules add space.
   ===================================================================== */

.roar-home {
    --sp-8: 8px;
    --sp-16: 16px;
    --sp-20: 20px;
    --sp-24: 24px;
    --sp-32: 32px;
    --sp-48: 48px;
    --sp-64: 64px;
}

:where(#home-simple,#home-coverage,#home-quotes,#home-industries,#home-results,#home-sites,#home-heritage) :is(.is-layout-flow,.is-layout-constrained,.is-layout-flex,.is-layout-grid) > * {
    margin-block-start: 0 !important;
}

:where(#home-simple,#home-coverage,#home-industries,#home-results,#home-sites,#home-heritage) .wp-block-group.has-global-padding.is-content-justification-left {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* R1: section mark → heading */

#home-simple > .alignwide > .wp-block-outermost-icon-block,
#home-simple .alignwide > .wp-block-group > .wp-block-outermost-icon-block,
#home-sites .alignwide .wp-block-outermost-icon-block:not(.is-style-roar__group-highlight *) {
    margin: 0 0 var(--sp-24) !important;
}

/* R2: heading → content */

#home-simple h2,
#home-coverage h2 h2,
#home-results h2,
#home-sites h2,
#home-heritage h2 {
    margin: 0 0 var(--sp-48) !important;
}

#home-industries h2 {
    margin: 0 0 var(--sp-16) !important;
}

.rv-sub {
    margin: 0 0 var(--sp-48) !important;
}

#home-coverage .rv-cmp {
    margin-top: var(--sp-64) !important;
}

/* R3: cards */

:is(#home-simple,#home-sites) .is-style-roar__group-highlight {
    padding: var(--sp-32) !important;
}

.is-style-roar__group-highlight .wp-block-outermost-icon-block {
    margin: 0 0 var(--sp-20) !important;
    padding: 0 !important;
    line-height: 0;
}

.is-style-roar__group-highlight .icon-container {
    width: 32px !important;
    height: 32px;
    margin: 0 !important;
    padding: 0 !important;
}

.is-style-roar__group-highlight .icon-container svg {
    display: block;
    width: 32px;
    height: 32px;
    margin-left: -3px;
}

:is(#home-simple,#home-sites) .is-style-roar__group-highlight h3 {
    margin: 0 0 var(--sp-8) !important;
}

:is(#home-simple,#home-sites) .is-style-roar__group-highlight p {
    margin: 0 !important;
}

#home-sites .is-style-roar__group-highlight p + p {
    margin-top: var(--sp-8) !important;
}

/* R5: section buttons */

#home-coverage .wp-block-buttons,
#home-sites .wp-block-buttons {
    margin-top: var(--sp-64) !important;
}

/* ---- spacing fixes ---- */

/* R1 generalised: whatever sits above a section heading (icon row, icon, eyebrow) gets 24 */

:where(.roar__home-section) .is-content-justification-left > :not(h2):has(+ h2) {
    margin: 0 0 var(--sp-24) !important;
}

/* R3: card icons at 40px, glyph optically flush with the text edge */

.is-style-roar__group-highlight .icon-container {
    width: 40px !important;
    height: 40px;
}

.is-style-roar__group-highlight .icon-container svg {
    width: 40px;
    height: 40px;
    margin-left: -3px;
}

.is-style-roar__group-highlight > figure {
    margin: 0 0 var(--sp-20) !important;
}

/* =====================================================================
   DESIGNER PASS
   Rule: a section heading is always the first thing in its section.
   Decorative marks never take up layout space; they sit in the background.
   ===================================================================== */

#home-simple,
#home-sites {
    position: relative !important;
    overflow: hidden !important;
}

/* Numbers + Every site: one large faint mark, top right */

:is(#home-sites) .is-content-justification-left > :not(h2):has(+ h2) {
    position: absolute !important;
    top: 40px;
    right: 80px;
    margin: 0 !important;
    transform: scale(4);
    transform-origin: top right;
    opacity: .08;
    pointer-events: none;
    z-index: 0;
}

:is(#home-sites) .alignwide,
:is(#home-sites) .is-content-justification-left {
    position: static !important;
}

:is(#home-sites) .is-content-justification-left > h2,
:is(#home-sites) .is-style-roar__group-highlight-grid {
    position: relative;
    z-index: 1;
}

/* Every site, any size: cards rebuilt
   - image full-bleed at the top, one fixed ratio so all four line up
   - text block 24px padding
   - title 24/28 ink → 8 → description 16/24 neutral-600 → 12 → payoff 16/24 semibold purple
   - one surface colour (purple-50) instead of cobalt tint + purple titles */

#home-sites {
    background: #fff !important;
}

#home-sites .is-style-roar__group-highlight-grid {
    gap: 24px !important;
}

#home-sites .is-style-roar__group-highlight {
    background: var(--wp--preset--color--roar-purple-50) !important;
    padding: 0 !important;
    border-radius: 12px !important;
    overflow: hidden;
    display: flex !important;
    flex-direction: column;
}

#home-sites .is-style-roar__group-highlight > figure {
    margin: 0 !important;
    width: 100% !important;
    max-width: none !important;
}

#home-sites .is-style-roar__group-highlight > figure img,
#home-sites .is-style-roar__group-highlight > figure figure img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 3/2 !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    display: block;
}

#home-sites .is-style-roar__group-highlight > figure.wp-block-gallery {
    display: block !important;
    gap: 0 !important;
}

#home-sites .is-style-roar__group-highlight > figure.wp-block-gallery > figure {
    margin: 0 !important;
    width: 100% !important;
}

#home-sites .is-style-roar__group-highlight h3 {
    margin: 24px 24px 8px !important;
    color: var(--wp--preset--color--neutral-900) !important;
}

#home-sites .is-style-roar__group-highlight p {
    margin: 0 24px !important;
    font-size: 16px !important;
    line-height: 24px !important;
    color: var(--wp--preset--color--neutral-600) !important;
}

#home-sites .is-style-roar__group-highlight p + p {
    margin: 12px 24px 0 !important;
    font-weight: 600 !important;
    color: var(--wp--preset--color--roar-purple-600) !important;
}

#home-sites .is-style-roar__group-highlight > :last-child {
    margin-bottom: 28px !important;
}

/* Logo strip: six single-colour light-grey marks, equal visual weight (equal area, max 64px tall) */

#home-logos .is-style-roar__logo-grid {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    max-width: 1180px;
    margin: 0 auto;
}

#home-logos .rv-logo {
    flex: 0 0 auto;
    margin: 0 !important;
    display: flex;
    align-items: center;
    height: 64px;
}

#home-logos .rv-logo img {
    display: block;
    max-width: none !important;
    object-fit: contain;
    opacity: .72;
    filter: none !important;
    mix-blend-mode: normal !important;
    transition: opacity .2s;
}

#home-logos .rv-logo img:hover {
    opacity: 1;
}

@media (max-width: 1080px) {
    #home-logos .is-style-roar__logo-grid {
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px 40px;
    }
}

/* Heritage list: bold lead + plain benefit, 16px between items */

#home-heritage li {
    font-size: 18px !important;
    line-height: 26px !important;
    color: var(--wp--preset--color--neutral-600) !important;
    margin: 0 0 16px !important;
}

#home-heritage li strong {
    font-weight: 600;
    color: var(--wp--preset--color--neutral-900);
}

#home-heritage li::before {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDE4IDE4Ij48Y2lyY2xlIGN4PSI5IiBjeT0iOSIgcj0iOSIgZmlsbD0iI0VERTRGQSIvPjxjaXJjbGUgY3g9IjkiIGN5PSI5IiByPSI0IiBmaWxsPSIjNTgxQ0I2Ii8+PC9zdmc+") !important;
}

#home-simple h2 {
    margin-bottom: var(--sp-16) !important;
}

#home-simple .rv-sub-dark {
    margin: 0 0 var(--sp-48) !important;
    color: rgba(255,255,255,.86) !important;
    font-size: 20px !important;
    line-height: 27px !important;
}

/* ===== Customer quotes: Centegix "What our clients are saying" pattern, ROAR lavender row ===== */

#home-quotes {
    position: relative;
    overflow: hidden;
}

#home-quotes::before,
#home-quotes::after {
    display: none !important;
}

.rv-t .rv-t-h {
    text-align: center !important;
    color: var(--wp--preset--color--roar-purple-900) !important;
    margin: 0 0 var(--sp-64) !important;
}

.rv-t-row {
    display: grid;
    grid-template-columns: 36px 1fr 36px;
    align-items: center;
    gap: 4px;
}

.rv-t-viewport {
    overflow: hidden;
    clip-path: inset(0 0 0 1px);
}

.rv-t-track {
    display: flex;
    transition: transform .45s ease;
}

.rv-t-slide {
    flex: 0 0 33.3333%;
    box-sizing: border-box;
    margin: 0;
    padding: 0 40px;
    border-left: 1px solid rgba(31,10,64,.22);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 440px;
}

.rv-t-quote {
    margin: 0 0 32px !important;
    padding: 0 !important;
    border: 0 !important;
    font-family: "Albert Sans",sans-serif !important;
    font-style: italic;
    font-size: 18px !important;
    line-height: 28.8px !important;
    color: var(--wp--preset--color--roar-purple-900) !important;
    quotes: none;
}

.rv-t-quote::before,
.rv-t-quote::after {
    content: none !important;
}

.rv-t-by {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rv-t-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--wp--preset--color--roar-purple-900);
    color: var(--wp--preset--color--mint-200);
    display: grid;
    place-items: center;
    font-family: Greed,sans-serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: .02em;
    margin-bottom: 12px;
}

.rv-t-avatar svg {
    width: 30px;
    height: 30px;
}

.rv-t-name {
    font-family: "Albert Sans",sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    color: var(--wp--preset--color--neutral-900);
}

.rv-t-title {
    font-family: "Albert Sans",sans-serif;
    font-size: 15px;
    line-height: 21px;
    color: var(--wp--preset--color--roar-purple-800);
    margin-top: 6px;
    max-width: 300px;
    min-height: 42px;
}

.rv-t-arrow {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--wp--preset--color--roar-purple-900);
    cursor: pointer;
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: background .2s;
}

.rv-t-arrow:hover {
    background: rgba(31,10,64,.1);
}

.rv-t-arrow:focus-visible {
    outline: 2px solid var(--wp--preset--color--roar-purple-900);
    outline-offset: 2px;
}

.rv-t-arrow svg {
    width: 26px;
    height: 26px;
}

.rv-t-cta {
    display: flex;
    justify-content: center;
    margin-top: var(--sp-64);
}

.rv-t-btn {
    display: inline-block;
    background: var(--wp--preset--color--roar-purple-900);
    color: #fff !important;
    text-decoration: none !important;
    font-family: "Albert Sans",sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    padding: 12px 30px;
    border-radius: 999px;
    transition: background .2s;
}

.rv-t-btn:hover {
    background: var(--wp--preset--color--roar-purple-800);
}

@media (max-width: 1000px) {
    .rv-t-slide {
        flex-basis: 50%;
    }
}

@media (max-width: 700px) {
    .rv-t-slide {
        flex-basis: 100%;
        min-height: 0;
    }
}

/* ===== Customer quotes on a darkened hospital image ===== */

#home-quotes {
    background: var(--wp--preset--color--roar-purple-900) !important;
    isolation: isolate;
}

.rv-t .rv-t-h {
    color: #fff !important;
}

.rv-t-slide {
    border-left-color: rgba(255,255,255,.16);
}

.rv-t-quote {
    color: rgba(255,255,255,.9) !important;
}

.rv-t-name {
    color: #fff;
}

.rv-t-title {
    color: var(--wp--preset--color--roar-purple-200);
}

.rv-t-avatar {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(168,232,200,.45);
    color: var(--wp--preset--color--mint-200);
}

.rv-t-arrow {
    color: #fff;
}

.rv-t-arrow:hover {
    background: rgba(255,255,255,.12);
}

.rv-t-arrow:focus-visible {
    outline-color: var(--wp--preset--color--mint-200);
}

.rv-t-btn {
    background: #fff;
    color: var(--wp--preset--color--roar-purple-900) !important;
}

.rv-t-btn:hover {
    background: var(--wp--preset--color--roar-purple-100);
}

/* ===== Full-width hero: photo always pinned right, copy on the wall side ===== */

#home-hero {
    position: relative;
    background-color: #fff !important;
    --rv-hero-image: image-set(url(../images/home/hero-team-wide-1440.webp) 1x,url(../images/home/hero-team-wide-1672.webp) 2x);
    background-image: linear-gradient(90deg,rgba(255,255,255,.975) 0%,rgba(255,255,255,.95) 28%,rgba(255,255,255,.74) 40%,rgba(255,255,255,0) 58%),var(--rv-hero-image) !important;
    background-size: 100% 100%,cover !important;
    background-position: 0 0,right top !important;
    background-repeat: no-repeat !important;
    min-height: 640px;
    padding-top: 112px !important;
    padding-bottom: 112px !important;
    display: flex;
    align-items: center;
}

#home-hero::before,
#home-hero::after {
    display: none !important;
    content: none !important;
}

#home-hero > .wp-block-columns {
    width: 100%;
    margin: 0 auto !important;
}

#home-hero .wp-block-columns > .wp-block-column:last-child {
    display: none !important;
}

#home-hero .wp-block-columns > .wp-block-column:first-child {
    flex: 0 0 560px !important;
    max-width: 560px;
}

#home-hero h1 {
    color: var(--wp--preset--color--neutral-900) !important;
}

#home-hero .rv-checks li {
    color: var(--wp--preset--color--neutral-900) !important;
}

@media (min-width: 1800px) {
    #home-hero {
        min-height: 720px;
    }
}

@media (min-width: 1600px) {
    #home-hero {
        --rv-hero-image: url(../images/home/hero-team-wide-1672.webp);
    }
}

@media (min-width: 901px) and (max-width: 1199px) {
    #home-hero {
        --rv-hero-image: image-set(url(../images/home/hero-team-wide-1440.webp) 1x,url(../images/home/hero-team-wide-1672.webp) 2x);
    }
    #home-hero h1 {
        font-size: 48px !important;
    }
}

@media (max-width: 900px) {
    #home-hero {
        --rv-hero-image: image-set(url(../images/home/hero-team-wide-640.webp) 1x,url(../images/home/hero-team-wide-1440.webp) 2x);
        background-image: linear-gradient(180deg,rgba(255,255,255,.3) 0%,#fff 55%),var(--rv-hero-image) !important;
        background-size: 100% 100%,auto 320px !important;
        background-position: 0 0,right top !important;
        padding-top: 300px !important;
    }

    #home-hero .wp-block-columns > .wp-block-column:first-child {
        flex-basis: 100% !important;
        max-width: none;
    }
}

/* Selected tablet layout: bounded photo band above clear, centered copy.
   Include large touch tablets in landscape without changing desktop laptops. */
@media (min-width:701px) and (max-width:1199px),
       (min-width:1200px) and (max-width:1366px) and (pointer:coarse) {
    #home-hero {
        --rv-hero-band-height: max(310px,40vw);
        --rv-hero-tablet-image: image-set(url(../images/home/hero-team-tablet-960.webp) 1x,url(../images/home/hero-team-tablet-1012.webp) 2x);
        background-image: none !important;
        min-height: 0 !important;
        display: block;
        padding: calc(var(--rv-hero-band-height) + 36px) 40px 48px !important;
    }
    #home-hero::before {
        content: "" !important;
        display: block !important;
        position: absolute;
        inset: 0 0 auto;
        height: var(--rv-hero-band-height);
        background-image: var(--rv-hero-tablet-image);
        background-size: cover;
        background-position: center top;
        background-repeat: no-repeat;
        pointer-events: none;
        z-index: 0;
    }
    #home-hero .rv-tex {
        display: none !important;
    }
    #home-hero > .wp-block-columns {
        max-width: 660px !important;
    }
    #home-hero .wp-block-columns > .wp-block-column:first-child {
        flex: 0 0 100% !important;
        max-width: none;
    }
}

@media (min-width:961px) and (max-width:1199px),
       (min-width:1200px) and (max-width:1366px) and (pointer:coarse) {
    #home-hero {
        --rv-hero-tablet-image: url(../images/home/hero-team-tablet-1012.webp);
    }
}

/* Founder line under the heritage list */

#home-heritage .rv-founder {
    margin: 24px 0 0 !important;
    padding-top: 24px;
    border-top: 1px solid var(--wp--preset--color--neutral-200);
    font-size: 18px !important;
    line-height: 26px !important;
    color: var(--wp--preset--color--neutral-600) !important;
    max-width: 560px;
}

#home-heritage .rv-founder strong {
    font-weight: 600;
    color: var(--wp--preset--color--neutral-900);
}

#home-heritage .rv-founder a {
    color: var(--wp--preset--color--roar-purple-600);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}

#home-heritage .rv-founder a:hover {
    color: var(--wp--preset--color--roar-purple-800);
}

/* ===== Mobile: customer quotes carousel (full-width slide, arrows below, swipe) ===== */

@media (max-width: 700px) {
    .rv-t .rv-t-h {
        margin-bottom: 32px !important;
    }

    .rv-t-row {
        grid-template-columns: 1fr 1fr;
        row-gap: 20px;
        gap: 20px 12px;
    }

    .rv-t-viewport {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .rv-t-arrow.is-prev {
        grid-column: 1;
        grid-row: 2;
        justify-self: end;
    }

    .rv-t-arrow.is-next {
        grid-column: 2;
        grid-row: 2;
        justify-self: start;
    }

    .rv-t-arrow {
        width: 44px;
        height: 44px;
        border: 1px solid rgba(255,255,255,.28);
    }

    .rv-t-slide {
        padding: 0 4px;
        border-left: 0 !important;
    }

    .rv-t-quote {
        font-size: 17px !important;
        line-height: 27px !important;
        margin-bottom: 24px !important;
    }

    .rv-t-title {
        min-height: 0;
    }

    .rv-t-cta {
        margin-top: 40px;
    }

    .rv-t-track {
        touch-action: pan-y;
    }
}

/* ===== Mobile: check lists ===== */

@media (max-width: 700px) {
    .rv-checks li {
        font-size: 17px !important;
        line-height: 24px !important;
    }
}

/* ===== Logo strip: even rows on tablet (3 + 3) and phone (2 + 2 + 2) ===== */

@media (max-width: 1080px) {
    #home-logos .is-style-roar__logo-grid {
        display: grid !important;
        grid-template-columns: repeat(3,minmax(0,1fr)) !important;
        gap: 28px 24px !important;
        justify-items: center !important;
        align-items: center !important;
        flex-direction: initial !important;
    }

    #home-logos .rv-logo {
        margin: 0 !important;
    }
}

@media (max-width: 600px) {
    #home-logos .is-style-roar__logo-grid {
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    }
}

/* =====================================================================
   HOMEPAGE MOBILE (<=700px): shorter hero photo, full-width CTAs,
   compact Why ROAR rows, readable industry tiles, swipeable site cards
   ===================================================================== */

@media (max-width: 700px) {
    #home-hero {
        --rv-hero-image: image-set(url(../images/home/hero-team-wide-640.webp) 1x,url(../images/home/hero-team-wide-960.webp) 2x);
        background-size: 100% 100%,auto 230px !important;
        padding-top: 246px !important;
        padding-bottom: 48px !important;
        min-height: 0 !important;
    }

    #home-hero h1 {
        font-size: clamp(28px,8vw,36px) !important;
        line-height: 40px !important;
        margin-bottom: 20px !important;
    }

    #home-hero .rv-checks {
        margin-bottom: 24px !important;
    }

    #home-hero .wp-block-buttons {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    #home-hero .wp-block-button,
    #home-hero .wp-block-button__link {
        width: 100% !important;
        text-align: center;
        box-sizing: border-box;
    }

    #home-simple .is-style-roar__group-highlight-grid {
        gap: 12px !important;
    }

    #home-simple .is-style-roar__group-highlight {
        display: grid !important;
        grid-template-columns: 32px 1fr;
        column-gap: 16px;
        padding: 20px !important;
        align-items: start;
    }

    #home-simple .is-style-roar__group-highlight .wp-block-outermost-icon-block {
        grid-row: 1 / span 2;
        margin: 2px 0 0 !important;
    }

    #home-simple .is-style-roar__group-highlight .icon-container {
        width: 28px !important;
    }

    #home-simple .is-style-roar__group-highlight h3 {
        font-size: 19px !important;
        line-height: 23px !important;
        margin: 0 !important;
    }

    #home-simple .is-style-roar__group-highlight p {
        margin-top: 4px !important;
        font-size: 15px !important;
        line-height: 22px !important;
    }

    #home-simple .rv-sub-dark {
        margin-bottom: 32px !important;
        font-size: 18px !important;
        line-height: 25px !important;
    }

    .rv-chc {
        gap: 10px !important;
    }

    .rv-chc-title {
        font-size: 19px !important;
        line-height: 22px !important;
        overflow-wrap: anywhere;
        hyphens: auto;
    }

    .rv-chc-body {
        left: 16px !important;
        right: 12px !important;
        bottom: 16px !important;
    }

    .rv-chc-icon {
        width: 32px !important;
        height: 32px !important;
        margin-bottom: 8px !important;
    }

    .rv-chc-cta {
        font-size: 11px !important;
        letter-spacing: .03em !important;
    }

    /* Cards stack on phones. The prototype had a swipeable row here. */
    #home-sites .is-style-roar__group-highlight-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    #home-sites .is-style-roar__group-highlight {
        padding: 0 0 20px !important;
        margin: 0 !important;
    }

    #home-results .wp-block-group-is-layout-grid > :last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

/* ===== Tablet + phone: keep tall photos from taking over the screen ===== */

@media (max-width: 1000px) {
    .rv-chc-card {
        aspect-ratio: 4/3;
    }

    #home-heritage img.wp-image-6772 {
        width: 100% !important;
        height: 420px !important;
        object-fit: cover;
        object-position: 50% 15%;
    }
}

@media (max-width: 700px) {
    .rv-chc-card {
        aspect-ratio: 4/5;
    }

    #home-heritage img.wp-image-6772 {
        height: 340px !important;
    }
}

/* hero headline: two lines on desktop */

@media (min-width: 1000px) {
    #home-hero h1 {
        font-size: 54px !important;
        line-height: 58px !important;
    }
}

/* ===== ROAR texture over the hero: the live site's node field, across the white gradient and over the photo ===== */

@media (min-width:701px) and (max-width:1199px),
       (min-width:1200px) and (max-width:1366px) and (pointer:coarse) {
    #home-hero h1 {
        font-size: clamp(42px,6vw,48px) !important;
    }
}

#home-hero .rv-tex {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-repeat: no-repeat;
    background-image: url(../images/texture-node-hero-two-column-complex.svg),url(../images/texture-node-hero-two-column-complex.svg);
    background-size: 1500px auto,1500px auto;
    background-position: left -120px bottom -260px,right -300px top -120px;
    -webkit-mask-image: linear-gradient(90deg,#000 45%,transparent 58%);
    mask-image: linear-gradient(90deg,#000 45%,transparent 58%);
}

#home-hero > *:not(.rv-tex) {
    position: relative;
    z-index: 1;
}

@media (max-width: 700px) {
    #home-hero .rv-tex {
        display: none;
    }
}

/* hero proof stats: three figures, number over label */

#home-hero .rv-hstats {
    display: flex;
    gap: 0;
    margin-top: 32px;
}

#home-hero .rv-hstats > div {
    padding: 0 24px;
    border-left: 2px solid var(--wp--preset--color--roar-purple-200);
}

#home-hero .rv-hstats > div:first-child {
    padding-left: 0;
    border-left: 0;
}

#home-hero .rv-hstat-n {
    font-family: Greed,sans-serif !important;
    font-weight: 700 !important;
    font-size: 32px !important;
    line-height: 36px !important;
    color: var(--wp--preset--color--roar-purple-600) !important;
    margin: 0 0 2px !important;
}

#home-hero .rv-hstat-l {
    font-family: "Albert Sans",sans-serif !important;
    font-size: 14px !important;
    line-height: 19px !important;
    color: var(--wp--preset--color--neutral-700) !important;
    margin: 0 !important;
    max-width: 130px;
}

@media (max-width: 700px) {
    #home-hero .rv-hstats {
        margin-top: 24px;
    }

    #home-hero .rv-hstats > div {
        padding: 0 14px;
    }

    #home-hero .rv-hstat-n {
        font-size: 26px !important;
        line-height: 30px !important;
    }

    #home-hero .rv-hstat-l {
        font-size: 13px !important;
        line-height: 17px !important;
    }
}

/* testimonial marks: role icons, org logo, property photo */

.rv-t-avatar.rv-t-av-icon svg {
    width: 26px;
    height: 26px;
}

.rv-t-avatar.rv-t-av-logo {
    background: #fff !important;
    border-color: #fff !important;
    overflow: hidden;
}

.rv-t-avatar.rv-t-av-logo img {
    width: 44px;
    height: auto;
    display: block;
}

.rv-t-avatar.rv-t-av-photo {
    overflow: hidden;
    padding: 0;
}

.rv-t-avatar.rv-t-av-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== Page rhythm: hero L, logos D, full scope L, simple D, coverage L, results D, quotes L, industries D, heritage L ===== */

/* Simple by design: restore the ROAR green treatment. */

#home-simple {
    background-color: var(--wp--preset--color--mint-800) !important;
}

#home-simple .icon-container,
#home-simple .icon-container svg {
    color: var(--wp--preset--color--mint-200) !important;
    fill: var(--wp--preset--color--mint-200) !important;
}

#home-simple .icon-container svg path {
    fill: var(--wp--preset--color--mint-200) !important;
}

/* Results: one section, 50% once, reach as the subline */

#home-results h2 {
    margin-bottom: 12px !important;
}

/* Customer quotes: light */

#home-quotes {
    background: #fff !important;
}

#home-quotes::before,
#home-quotes::after {
    display: none !important;
}

.rv-t .rv-t-h {
    color: var(--wp--preset--color--neutral-900) !important;
}

.rv-t-slide {
    border-left-color: rgba(31,10,64,.14);
}

.rv-t-quote {
    color: var(--wp--preset--color--roar-purple-900) !important;
}

.rv-t-name {
    color: var(--wp--preset--color--neutral-900);
}

.rv-t-title {
    color: var(--wp--preset--color--roar-purple-600);
}

.rv-t-avatar {
    background: var(--wp--preset--color--roar-purple-900);
    border: 1px solid var(--wp--preset--color--roar-purple-900);
    color: #C9B2F2;
}

.rv-t-arrow {
    color: var(--wp--preset--color--roar-purple-900);
}

.rv-t-arrow:hover {
    background: rgba(31,10,64,.08);
}

.rv-t-arrow:focus-visible {
    outline-color: var(--wp--preset--color--roar-purple-600);
}

.rv-t-btn {
    background: var(--wp--preset--color--roar-purple-600);
    color: #fff !important;
}

.rv-t-btn:hover {
    background: var(--wp--preset--color--roar-purple-800);
}

/* Industries: dark */

#home-industries {
    background-color: var(--wp--preset--color--roar-purple-950) !important;
}

#home-industries h2 {
    color: #fff !important;
}

#home-industries .is-content-justification-left p,
#home-industries h2 + p {
    color: var(--wp--preset--color--roar-purple-200) !important;
}

/* results: two rows of four (outcomes, then scale) */

#home-results h2 {
    margin-bottom: 56px !important;
}

@media (min-width: 1000px) {
    #home-results .wp-block-group-is-layout-grid {
        grid-template-columns: repeat(4,1fr) !important;
        row-gap: 56px !important;
    }
}

/* industry card icons: white */

.rv-chc-icon {
    color: #fff !important;
}

.rv-chc-card:focus-visible {
    outline-color: #fff;
}

/* stat split: outcomes 3-up, reach under logos, uptime under comparison */

@media (min-width: 1000px) {
    #home-results .wp-block-group-is-layout-grid {
        grid-template-columns: repeat(3,1fr) !important;
        max-width: 1000px;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

#home-logos .rv-reach {
    text-align: center;
    margin: 40px 0 0 !important;
    font-family: "Albert Sans",sans-serif;
    font-size: 18px;
    line-height: 26px;
    color: rgba(255,255,255,.82);
}

#home-logos .rv-reach strong {
    font-family: Greed,sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #fff;
}

#home-coverage .rv-uptime {
    text-align: center;
    margin: var(--sp-48) 0 0 !important;
    font-family: "Albert Sans",sans-serif;
    font-size: 20px;
    line-height: 28px;
    color: var(--wp--preset--color--roar-purple-900);
}

#home-coverage .rv-uptime strong {
    font-family: Greed,sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: var(--wp--preset--color--roar-purple-600);
    margin-right: 4px;
}

/* hero pills + stats strip below logos */

#home-hero .rv-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    margin: 32px 0 0 !important;
    padding: 0 !important;
}

#home-hero .rv-pills li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 !important;
    padding: 6px 18px 6px 6px;
    border-radius: 999px;
    background: #EFE7FC;
    font-family: "Albert Sans",sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: var(--wp--preset--color--roar-purple-900);
    white-space: nowrap;
}

#home-hero .rv-pill-ic {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--wp--preset--color--roar-purple-600);
    color: #fff;
    flex: 0 0 auto;
}

#home-hero .rv-pill-ic svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 700px) {
    #home-hero .rv-pills {
        gap: 8px;
        margin-top: 24px !important;
    }

    #home-hero .rv-pills li {
        font-size: 14px;
        padding: 4px 14px 4px 4px;
        gap: 8px;
    }

    #home-hero .rv-pill-ic {
        width: 30px;
        height: 30px;
    }

    #home-hero .rv-pill-ic svg {
        width: 15px;
        height: 15px;
    }
}

.rv-sstrip {
    background: #fff;
    padding: 56px 24px;
}

.rv-sstrip-in {
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 56px;
    border-bottom: 1px solid var(--wp--preset--color--neutral-200);
}

.rv-sstats {
    display: grid !important;
    grid-template-columns: repeat(3,1fr);
    margin: 0 !important;
}

.rv-sstats > div {
    text-align: center;
    padding: 0 16px;
}

.rv-sstats .rv-hstat-n {
    font-family: Greed,sans-serif !important;
    font-weight: 700 !important;
    font-size: 40px !important;
    line-height: 44px !important;
    color: var(--wp--preset--color--roar-purple-600) !important;
    margin: 0 0 4px !important;
}

.rv-sstats .rv-hstat-l {
    font-family: "Albert Sans",sans-serif !important;
    font-size: 16px !important;
    line-height: 22px !important;
    color: var(--wp--preset--color--neutral-700) !important;
    margin: 0 !important;
}

#home-sites {
    padding-top: 96px !important;
}

@media (max-width: 700px) {
    .rv-sstrip {
        padding: 40px 16px;
    }

    .rv-sstrip-in {
        padding-bottom: 40px;
    }

    .rv-sstats .rv-hstat-n {
        font-size: 30px !important;
        line-height: 34px !important;
    }

    .rv-sstats .rv-hstat-l {
        font-size: 13px !important;
        line-height: 18px !important;
    }

    #home-sites {
        padding-top: 64px !important;
    }
}

@media (min-width: 701px) {
    #home-hero .rv-pills {
        gap: 8px;
        flex-wrap: nowrap;
    }

    #home-hero .rv-pills li {
        font-size: 15px;
        padding: 4px 14px 4px 4px;
        gap: 8px;
    }

    #home-hero .rv-pill-ic {
        width: 32px;
        height: 32px;
    }

    #home-hero .rv-pill-ic svg {
        width: 16px;
        height: 16px;
    }
}

/* pills: green, smaller */

#home-hero .rv-pills {
    --rv-pill-scale: .77;
    gap: calc(8px * var(--rv-pill-scale)) !important;
    margin-top: calc(32px * var(--rv-pill-scale)) !important;
}

#home-hero .rv-pills li {
    background: #DCEFE2 !important;
    color: var(--wp--preset--color--neutral-900) !important;
    font-size: calc(14px * var(--rv-pill-scale)) !important;
    line-height: calc(20px * var(--rv-pill-scale)) !important;
    padding: calc(3px * var(--rv-pill-scale)) calc(12px * var(--rv-pill-scale)) calc(3px * var(--rv-pill-scale)) calc(3px * var(--rv-pill-scale)) !important;
    gap: calc(7px * var(--rv-pill-scale)) !important;
}

#home-hero .rv-pill-ic {
    background: #3B7A50 !important;
    width: calc(26px * var(--rv-pill-scale)) !important;
    height: calc(26px * var(--rv-pill-scale)) !important;
}

#home-hero .rv-pill-ic svg {
    width: calc(14px * var(--rv-pill-scale)) !important;
    height: calc(14px * var(--rv-pill-scale)) !important;
}

@media (max-width: 700px) {
    #home-hero .rv-pills {
        margin-top: calc(24px * var(--rv-pill-scale)) !important;
    }
}

/* stats: dividers, left aligned */

.rv-sstats > div {
    text-align: left !important;
    padding: 0 32px !important;
    border-left: 1px solid var(--wp--preset--color--neutral-300);
}

.rv-sstats > div:first-child {
    border-left: 0;
    padding-left: 0 !important;
}

@media (max-width: 700px) {
    .rv-sstats > div {
        padding: 0 12px !important;
    }
}

/* founder name overlay */

#home-heritage .rv-founder-fig {
    position: relative;
}

#home-heritage .rv-founder-tag {
    position: absolute;
    left: 20px;
    bottom: 20px;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 18px;
    border-radius: 12px;
    background: rgba(255,255,255,.92);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(28,25,23,.12);
    text-align: left;
    font-family: "Albert Sans",sans-serif;
}

#home-heritage .rv-founder-tag strong {
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
    color: var(--wp--preset--color--neutral-900);
}

#home-heritage .rv-founder-tag span {
    font-size: 14px;
    line-height: 20px;
    color: var(--wp--preset--color--neutral-600);
}

@media (max-width: 700px) {
    #home-heritage .rv-founder-tag {
        left: 12px;
        bottom: 12px;
        padding: 10px 14px;
    }
}

#home-heritage .rv-founder-tag,
#home-heritage .rv-founder-tag * {
    font-style: normal !important;
    font-family: "Albert Sans",sans-serif !important;
}

/* 02b heading centered on desktop; stats strip rule full width */

@media (min-width: 1000px) {
    #home-sites .is-content-justification-left {
        justify-content: center !important;
        text-align: center;
    }

    #home-sites h2 {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    #home-sites .wp-block-buttons {
        justify-content: center !important;
    }
}

.rv-sstrip {
    border-bottom: 1px solid var(--wp--preset--color--neutral-200);
}

.rv-sstrip-in {
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Emotional headline followed by the retained adoption proof. */
#home-hero h1 {
    margin-bottom: 16px !important;
    line-height: 1.04 !important;
}

#home-hero .rv-hero-ink {
    position: relative;
    display: inline-block;
    white-space: nowrap;
    padding-bottom: 10px;
}

#home-hero .rv-hero-row {
    display: block;
    white-space: nowrap;
}

#home-hero .rv-hero-ink svg {
    position: absolute;
    left: -1%;
    bottom: -1px;
    width: 102%;
    height: 12px;
    color: #7834d9;
    overflow: visible;
    pointer-events: none;
}

#home-hero .rv-hero-proof {
    margin: 0 0 28px !important;
    font-family: "Albert Sans",sans-serif;
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
    color: var(--wp--preset--color--roar-purple-900);
}

#home-hero .rv-hero-proof + .rv-checks {
    margin-top: 0 !important;
}

@media (max-width:700px) {
    #home-hero .rv-hero-proof {
        font-size: 18px;
        line-height: 26px;
        margin-bottom: 24px !important;
    }
}

/* Center the logos in a compact band, with reach directly underneath. */
#home-logos {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
}

.rv-reach-strip {
    padding: 18px 24px 96px;
    background: #fff;
    text-align: center;
}

.rv-reach-strip .rv-reach {
    margin: 0 !important;
    font-family: "Albert Sans",sans-serif;
    font-size: 18px;
    line-height: 26px;
    color: var(--wp--preset--color--roar-purple-900);
}

.rv-reach-strip .rv-reach strong {
    font-weight: 600;
}

#rv-stats {
    background: var(--wp--preset--color--roar-purple-50);
    padding: 96px 24px;
    border-bottom: 0;
}

#rv-impact-title {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
    font-size: clamp(34px,3.4vw,48px);
    line-height: 1.15;
    color: var(--wp--preset--color--roar-purple-900);
}

#rv-stats .rv-sstats {
    gap: 48px;
}

#rv-stats .rv-sstats > div {
    position: relative;
    text-align: center !important;
    padding: 0 !important;
    border: 0;
}

#rv-stats .rv-hstat-n {
    font-size: 64px !important;
    line-height: 1.1 !important;
    margin-bottom: 16px !important;
}

#rv-stats .rv-hstat-l {
    font-size: 18px !important;
    line-height: 26px !important;
    max-width: 20ch;
    margin: 0 auto !important;
}

@media (min-width:701px) {
    #rv-stats .rv-sstats > div + div::before {
        content: "";
        position: absolute;
        top: 8px;
        bottom: 8px;
        left: -24px;
        width: 1px;
        background: rgba(88,28,182,.14);
    }
}

#home-sites h2 {
    margin: 0 auto 24px !important;
    text-align: center !important;
}

#home-sites .rv-sites-intro {
    max-width: 760px;
    margin: 0 auto !important;
    text-align: center;
    font-size: 20px !important;
    line-height: 30px !important;
    color: var(--wp--preset--color--neutral-700);
}

#home-sites .is-style-roar__group-highlight-grid {
    margin-top: 48px !important;
}

@media (max-width:700px) {
    #home-logos {
        padding-top: 28px !important;
        padding-bottom: 28px !important;
    }

    .rv-reach-strip {
        padding: 16px 20px 64px;
    }

    .rv-reach-strip .rv-reach {
        font-size: 16px;
        line-height: 24px;
    }

    #rv-stats {
        padding: 64px 24px;
    }

    #rv-impact-title {
        margin-bottom: 40px;
    }

    #rv-stats .rv-sstats {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    #rv-stats .rv-hstat-n {
        font-size: 56px !important;
        margin-bottom: 12px !important;
    }

    #home-sites h2 {
        margin-bottom: 20px !important;
    }

    #home-sites .rv-sites-intro {
        font-size: 18px !important;
        line-height: 27px !important;
    }

    #home-sites .is-style-roar__group-highlight-grid {
        margin-top: 32px !important;
    }
}

/* Homepage review: clearer crops, card rhythm and secondary quiz invitation. */
#home-hero .is-style-outline .wp-block-button__link {
    background-color: #fff !important;
    color: var(--wp--preset--color--roar-purple-600) !important;
}

#home-sites .is-style-roar__group-highlight h3 {
    min-height: 56px;
}

#home-sites .is-style-roar__group-highlight p:not(:last-child) {
    min-height: 48px;
}

#home-sites .is-style-roar__group-highlight p:last-child {
    white-space: nowrap;
}

@media (min-width:701px) and (max-width:1199px) {
    #home-sites .is-style-roar__group-highlight-grid {
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    }
}

#home-coverage .rv-coverage-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1000px;
    margin: 64px auto 0 !important;
}

#home-coverage .rv-coverage-actions .wp-block-buttons {
    margin: 0 !important;
    justify-content: flex-start !important;
    flex: 0 0 auto;
}

#home-coverage .rv-coverage-quiz {
    margin: 0 !important;
    text-align: right;
}

@media (max-width:600px) {
    #home-coverage .rv-coverage-actions { flex-direction: column; align-items: stretch; gap: 20px; }
    #home-coverage .rv-coverage-quiz { text-align: right; }
}

#home-coverage .rv-quiz-link {
    border: 0;
    background: none;
    padding: 8px 0;
    font: inherit;
    font-size: 16px;
    line-height: 24px;
    color: var(--wp--preset--color--roar-purple-600);
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
}

#home-coverage .rv-quiz-link:hover {
    color: var(--wp--preset--color--roar-purple-800);
}

#home-coverage .rv-quiz-link:focus-visible {
    outline: 2px solid var(--wp--preset--color--roar-purple-600);
    outline-offset: 4px;
    border-radius: 2px;
}

#home-coverage .rv-quiz-status {
    margin: 8px 0 0 !important;
    font-size: 14px;
    line-height: 22px;
}

#home-coverage .rv-quiz-status[hidden] {
    display: none;
}

#home-results .wp-block-group-is-layout-grid {
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    max-width: 1180px;
    margin-left: auto !important;
    margin-right: auto !important;
}

#home-results .roar__stat {
    padding: 0 16px !important;
}

#home-heritage img.wp-image-6772 {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 !important;
    object-fit: cover;
    object-position: 50% 15%;
}

#home-heritage .rv-founder-tag {
    left: auto;
    right: 10px;
    width: calc(66.666% - 20px);
    bottom: 28px;
    padding: 0;
    gap: 0;
    border-radius: 0;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
    color: #fff;
    text-align: left;
    text-shadow: 0 1px 3px rgba(0,0,0,.8),0 2px 12px rgba(0,0,0,.5);
}

#home-heritage .rv-founder-tag strong {
    font-size: 28px;
    line-height: 34px;
    font-weight: 700;
    color: #fff;
    padding-bottom: 8px;
    position: relative;
}

#home-heritage .rv-founder-tag strong::after {
    content: "";
    position: absolute;
    left: 0;
    right: -10px;
    bottom: 0;
    border-bottom: 1px solid rgba(255,255,255,.8);
}

#home-heritage .rv-founder-tag span {
    color: #fff;
    padding-top: 8px;
}

@media (max-width:1000px) {
    #home-heritage img.wp-image-6772 {
        height: 315px !important;
    }
}

@media (max-width:700px) {
    #rv-impact-title {
        font-size: clamp(28px,7vw,34px);
    }

    #home-sites .is-style-roar__group-highlight h3 {
        min-height: 0;
    }

    #home-results .wp-block-group-is-layout-grid {
        grid-template-columns: 1fr !important;
        row-gap: 40px !important;
    }

    #home-results .roar__stat {
        border-left: 0 !important;
    }

    #home-heritage img.wp-image-6772 {
        height: 255px !important;
    }

    #home-heritage .rv-founder-tag {
        right: 8px;
        bottom: 20px;
        width: calc(66.666% - 16px);
    }

    #home-heritage .rv-founder-tag strong::after { right: -8px; }

    #home-heritage .rv-founder-tag strong {
        font-size: clamp(20px,5vw,24px);
        line-height: 28px;
    }
}

/* People first workforce accordion, retaining the original scenes and destinations. */
#home-sites .rv-w-heading {
    max-width: 740px;
    margin: 0 0 24px !important;
    text-align: left !important;
    font-size: clamp(34px,3.4vw,48px) !important;
    line-height: 1.08 !important;
}
#home-sites .rv-sites-intro {
    max-width: 760px;
    text-align: left;
    margin: 0 0 40px !important;
}
#home-sites .rv-sites-intro strong { font-weight: 500; }
#home-sites .rv-workforce {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0,32%) minmax(0,68%);
    overflow: hidden;
    border-radius: 12px;
    background: #28113e;
    color: #fff;
    margin-top: 40px !important;
}
#home-sites .rv-workforce * { box-sizing: border-box; }
#home-sites .rv-w-rail {
    padding: 28px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#home-sites .rv-w-rail[hidden] { display: none; }
#home-sites .rv-w-tabs { display: flex; flex-direction: column; }
#home-sites .rv-w-item { border-bottom: 1px solid #ffffff21; }
#home-sites .rv-w-item-heading { display: flex; align-items: center; gap: 8px; }
#home-sites .rv-w-tab {
    appearance: none;
    cursor: pointer;
    flex: 1;
    min-width: 0;
    padding: 18px 0;
    border: 0;
    background: transparent;
    color: #ccbddd;
    text-align: left;
    font: 500 19px/1.3 "Albert Sans",sans-serif;
    transition: color .25s;
}
#home-sites .rv-w-tab[aria-expanded="true"],
#home-sites .rv-w-tab:hover { color: #fff; }
#home-sites .rv-w-link {
    display: flex;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid #ffffff26;
    border-radius: 50%;
    color: #ddc7f5;
    text-decoration: none;
    transition: background .25s,color .25s;
}
#home-sites .rv-w-link:hover { background: #ffffff12; color: #fff; }
#home-sites .rv-w-tab:focus-visible,
#home-sites .rv-w-link:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
#home-sites .rv-w-number {
    display: block;
    font-size: 11px;
    letter-spacing: 1px;
    margin-bottom: 7px;
    color: #c6a6ee;
}
#home-sites .rv-w-expansion {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    visibility: hidden;
    transition: grid-template-rows .4s ease,opacity .3s ease,visibility 0s .4s;
}
#home-sites .rv-w-item.is-active .rv-w-expansion {
    grid-template-rows: 1fr;
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}
#home-sites .rv-w-expansion-inner { min-height: 0; overflow: hidden; }
#home-sites p.rv-w-detail {
    margin: 0 !important;
    padding-bottom: 20px;
    font-size: 16px !important;
    line-height: 24px !important;
    color: #e0d5eb !important;
}
#home-sites .rv-w-progress {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    margin: 0;
    z-index: 2;
    pointer-events: none;
    background: #ffffff26;
}
#home-sites .rv-workforce.is-ready .rv-w-progress { display: block; }
#home-sites .rv-w-progress span { display: block; width: 0; height: 100%; background: #bc8bef; }
#home-sites .rv-w-view { min-width: 0; position: relative; }
#home-sites .rv-w-panel {
    position: relative;
    margin: 0 !important;
    height: 626px;
    overflow: hidden;
}
#home-sites .rv-w-panel img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 0;
}
#home-sites .rv-w-caption {
    position: absolute;
    inset: auto 0 0;
    padding: 110px 32px 32px;
    background: linear-gradient(transparent,#21112f 55%);
}
#home-sites .rv-w-caption h3 {
    margin: 0 0 12px !important;
    font: 400 clamp(25px,2.3vw,34px)/1.16 Greed,sans-serif !important;
    color: #fff !important;
}
#home-sites .rv-w-caption p {
    max-width: 640px;
    margin: 0 !important;
    color: #e2c9ff !important;
    font-size: 18px !important;
    line-height: 26px !important;
    font-weight: 500;
}
#home-sites .rv-w-fallback-link { display: inline-block; margin-top: 18px; color: #fff; }
#home-sites .rv-workforce.is-ready .rv-w-fallback-link { display: none; }
#home-sites .rv-workforce.is-ready .rv-w-view { height: auto; min-height: 626px; }
#home-sites .rv-workforce.is-ready .rv-w-panel {
    position: absolute;
    inset: 0;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity .48s ease,visibility 0s .48s;
}
#home-sites .rv-workforce.is-ready .rv-w-panel.is-active {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
    z-index: 1;
}
#home-sites .rv-workforce:not(.is-ready) { display: block; }
@media (min-width:701px) and (max-width:1000px) {
    #home-sites .rv-workforce { grid-template-columns: minmax(0,38%) minmax(0,62%); }
    #home-sites .rv-w-rail { padding: 24px 18px; }
    #home-sites .rv-w-tab { font-size: 17px; }
    #home-sites .rv-workforce.is-ready .rv-w-view { min-height: 720px; }
    #home-sites .rv-w-caption { padding: 110px 24px 28px; }
}
@media (max-width:700px) {
    #home-sites .rv-workforce { grid-template-columns: minmax(0,1fr); }
    #home-sites .rv-w-rail { padding: 20px; }
    #home-sites .rv-w-tab { font-size: 18px; padding: 14px 0; }
    #home-sites .rv-w-number { display: inline-block; width: 28px; margin: 0 8px 0 0; vertical-align: middle; }
    #home-sites .rv-w-expansion-inner p { padding-left: 36px; }
    #home-sites .rv-workforce.is-ready .rv-w-view,
    #home-sites .rv-w-panel { height: clamp(470px,115vw,540px); }
    #home-sites .rv-workforce.is-ready .rv-w-view { min-height: 0; }
    #home-sites .rv-w-caption { padding: 100px 20px 26px; }
    #home-sites .rv-w-caption h3 { font-size: clamp(24px,6.5vw,27px) !important; }
    #home-sites .rv-w-caption p { font-size: 17px !important; line-height: 25px !important; }
    #home-sites .rv-sites-intro { font-size: 18px !important; line-height: 28px !important; }
}
@media (prefers-reduced-motion:reduce) {
    #home-sites .rv-w-panel,#home-sites .rv-w-tab,#home-sites .rv-w-link,#home-sites .rv-w-expansion { transition: none !important; }
}

#home-hero .rv-checks strong { font-weight: 600; }

/* Original ROAR section marks and connected, full-scale node fields (decision 124). */
.roar-home .entry-content{isolation:isolate}
.roar-home .rv-section-mark{display:block !important;position:relative !important;width:48px;height:48px;margin:0 0 24px !important;transform:none !important;opacity:1;pointer-events:none;color:#6821d6;background-color:currentColor;-webkit-mask:url(../images/brand-section-snowflake.svg) center/contain no-repeat;mask:url(../images/brand-section-snowflake.svg) center/contain no-repeat}
#home-simple .rv-section-mark{color:#a8e8c8}
#home-results .rv-section-mark{color:#a8e8c8}
#home-industries .rv-section-mark{color:#2340dc}
#home-sites,#home-simple{position:relative !important;overflow:visible !important}
#home-sites>.alignwide,#home-simple>.alignwide{position:relative !important;z-index:2}
#home-sites::after,#home-simple::after,#home-coverage::after{content:none !important;display:none !important}
.roar-home .rv-node-bridge{--rv-node-size:clamp(240px,30vw,520px);position:absolute !important;z-index:1;right:0;bottom:calc(-1 * var(--rv-node-size));width:var(--rv-node-size);height:calc(2 * var(--rv-node-size));max-width:none !important;margin:0 !important;pointer-events:none;opacity:.85;mask-image:linear-gradient(90deg,transparent,#000 55%)}
.roar-home .rv-node-bridge::before,.roar-home .rv-node-bridge::after{content:"";position:absolute;right:0;width:100%;height:50%;background:url(../images/texture-node-purple-large.svg) right top/100% 100% no-repeat;pointer-events:none}
.roar-home .rv-node-bridge::before{top:0;transform:scaleY(-1)}
.roar-home .rv-node-bridge::after{bottom:0;background-image:url(../images/texture-node-mint-large.svg)}
.roar-home .rv-node-bridge--left{right:auto;left:0;opacity:.65;transform:scaleX(-1)}
.roar-home .rv-node-bridge--left::before{background-image:url(../images/texture-node-mint-large.svg)}
.roar-home .rv-node-bridge--left::after{background-image:url(../images/texture-node-purple-large.svg)}
@media(max-width:700px){
 .roar-home .rv-section-mark{width:36px;height:36px;margin-bottom:20px !important}
 .roar-home .rv-node-bridge{--rv-node-size:clamp(128px,35vw,230px);opacity:.65}
 .roar-home .rv-node-bridge--left{opacity:.45}
}
