/* =============================================================================
   YMO marketing theme v2 — layout & surfaces only (content/HTML unchanged).
   Scoped to .ymo-theme-v2 on <body>.
   ============================================================================= */

.ymo-theme-v2 {
    --ymo-v2-max-prose: 42rem;
    --ymo-v2-max-wide: 72rem;
    --ymo-v2-block-pad: clamp(1.75rem, 4vw, 2.5rem);
    --ymo-v2-section-y: clamp(3.25rem, 7vw, 5.5rem);
    --ymo-v2-surface: #ffffff;
    --ymo-v2-surface-dim: #f6f6f7;
    --ymo-v2-surface-muted: #ececee;
    --ymo-v2-ink-muted: #52525b;
    --ymo-v2-ink-subtle: #71717a;
    --ymo-v2-radius-xl: 1.25rem;
    --ymo-v2-shadow-soft: 0 24px 48px -12px rgba(17, 20, 24, 0.12);
    --ymo-v2-shadow-media: 0 32px 64px -16px rgba(17, 20, 24, 0.18);
    --ymo-v2-card-radius: var(--ymo-v2-radius-xl);
    --ymo-v2-card-bg: linear-gradient(168deg, #ffffff 0%, #fafafb 52%, #f3f4f6 100%);
    --ymo-v2-card-border: 1px solid color-mix(in srgb, var(--md-sys-color-outline-variant) 72%, #ffffff);
    --ymo-v2-card-shadow:
        0 1px 2px rgba(17, 20, 24, 0.05),
        0 0 0 1px rgba(255, 255, 255, 0.75) inset,
        0 16px 40px -24px rgba(17, 20, 24, 0.22);
    --ymo-v2-card-shadow-hover:
        0 2px 4px rgba(17, 20, 24, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.85) inset,
        0 28px 56px -20px rgba(17, 20, 24, 0.28);
    --ymo-v2-card-accent: linear-gradient(
        90deg,
        var(--ymo-primary, #2d6a4f) 0%,
        color-mix(in srgb, var(--ymo-primary, #2d6a4f) 55%, #86efac) 100%
    );
}

.ymo-theme-v2.ymo-marketing .ymo-main {
    background: var(--ymo-v2-surface-dim);
    overflow-x: clip;
}

/* Typography rhythm (Apple / Stripe lean) */
.ymo-theme-v2 .ymo-v2-display-sm {
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: var(--ymo-grey-900);
}

.ymo-theme-v2 .ymo-v2-section {
    padding: var(--ymo-v2-section-y) 0;
}

.ymo-theme-v2 .ymo-v2-section--tight {
    padding-top: clamp(1.25rem, 3vw, 2rem);
    padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.ymo-theme-v2 .ymo-v2-section--surface {
    background: var(--ymo-v2-surface);
}

.ymo-theme-v2 .ymo-v2-section--page {
    padding-top: clamp(2rem, 4vw, 3rem);
    padding-bottom: clamp(2rem, 4vw, 3rem);
}

.ymo-theme-v2 .ymo-v2-section-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.ymo-theme-v2 .ymo-v2-prose {
    max-width: var(--ymo-v2-max-prose);
}

.ymo-theme-v2 .ymo-v2-prose-wide {
    max-width: var(--ymo-v2-max-wide);
    margin-left: auto;
    margin-right: auto;
}

/* One content rail: match Bootstrap .container width (nav, hero, body, CTA) */
.ymo-theme-v2.ymo-marketing .ymo-v2-page .container > .row > .ymo-v2-prose-wide,
.ymo-theme-v2.ymo-marketing .ymo-v2-page .container > .row > .ymo-v2-prose {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.ymo-theme-v2 .ymo-v2-lead {
    max-width: var(--ymo-v2-max-prose);
    font-size: clamp(1.0625rem, 1.85vw, 1.2rem);
    font-weight: 500;
    letter-spacing: -0.012em;
    line-height: 1.6;
    color: var(--ymo-grey-900, var(--md-sys-color-on-surface));
}

/* Secondary headline for long in-body copy (not page-level display) */
.ymo-theme-v2 .ymo-v2-subhead {
    font-size: clamp(1.0625rem, 1.65vw, 1.1875rem);
    font-weight: 600;
    letter-spacing: -0.014em;
    line-height: 1.5;
    color: var(--ymo-grey-900, var(--md-sys-color-on-surface));
}

.ymo-theme-v2 .ymo-v2-prose {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.72;
    letter-spacing: 0.01em;
    color: var(--ymo-v2-ink-muted);
}

/* =============================================================================
   Typography system — site-wide under v2 marketing (maps md-* + body defaults)
   ============================================================================= */

.ymo-theme-v2.ymo-marketing {
    text-rendering: optimizeLegibility;
}

.ymo-theme-v2.ymo-marketing .md-headline-lg {
    font-size: clamp(1.75rem, 3.2vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.028em;
    line-height: 1.18;
    color: var(--ymo-grey-900);
}

.ymo-theme-v2.ymo-marketing .md-headline-md {
    font-size: clamp(1.375rem, 2.2vw, 1.625rem);
    font-weight: 700;
    letter-spacing: -0.022em;
    line-height: 1.28;
    color: var(--ymo-grey-900);
}

.ymo-theme-v2.ymo-marketing .md-title-lg {
    font-size: clamp(1.125rem, 1.85vw, 1.3125rem);
    font-weight: 600;
    letter-spacing: -0.016em;
    line-height: 1.35;
    color: var(--ymo-grey-900);
}

.ymo-theme-v2.ymo-marketing .md-title-md {
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.4;
    color: var(--ymo-grey-900);
}

.ymo-theme-v2.ymo-marketing .md-body-lg {
    font-size: clamp(1.0625rem, 1.85vw, 1.125rem);
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: 0.005em;
    color: var(--ymo-v2-ink-muted);
}

.ymo-theme-v2.ymo-marketing .md-body-md,
.ymo-theme-v2.ymo-marketing .ymo-v2-prose {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.72;
    letter-spacing: 0.01em;
    color: var(--ymo-v2-ink-muted);
}

.ymo-theme-v2.ymo-marketing .md-body-sm {
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.01em;
    color: var(--ymo-v2-ink-subtle);
}

.ymo-theme-v2.ymo-marketing .md-label-lg {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.35;
    color: var(--ymo-primary, #2d6a4f);
}

.ymo-theme-v2.ymo-marketing .ymo-v2-lead {
    font-size: clamp(1.0625rem, 1.85vw, 1.2rem);
    font-weight: 500;
    letter-spacing: -0.012em;
    line-height: 1.6;
    color: var(--ymo-grey-900);
}

.ymo-theme-v2.ymo-marketing .ymo-v2-lead.ymo-muted,
.ymo-theme-v2.ymo-marketing .ymo-v2-lead.md-body-lg.ymo-muted {
    font-weight: 400;
    color: var(--ymo-v2-ink-muted);
}

.ymo-theme-v2.ymo-marketing .ymo-v2-section-head .md-body-md,
.ymo-theme-v2.ymo-marketing .ymo-v2-section-head .ymo-v2-prose {
    max-width: 38rem;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-display-sm + .md-body-md,
.ymo-theme-v2.ymo-marketing h2.ymo-v2-display-sm + p {
    max-width: 38rem;
}

.ymo-theme-v2.ymo-marketing .marketing-body {
    font-size: 1rem;
    line-height: 1.72;
    color: var(--ymo-v2-ink-muted);
}

.ymo-theme-v2.ymo-marketing .marketing-body p {
    margin-bottom: 1rem;
    line-height: 1.72;
    color: var(--ymo-v2-ink-muted);
}

.ymo-theme-v2.ymo-marketing .marketing-body h2,
.ymo-theme-v2.ymo-marketing .marketing-body h3,
.ymo-theme-v2.ymo-marketing .marketing-body h4 {
    color: var(--ymo-grey-900);
    font-weight: 600;
    letter-spacing: -0.014em;
    line-height: 1.38;
}

.ymo-theme-v2.ymo-marketing .marketing-body h2 {
    font-size: clamp(1.0625rem, 1.85vw, 1.25rem);
    margin: 1.75rem 0 0.75rem;
}

.ymo-theme-v2.ymo-marketing .marketing-body h2.ymo-v2-display-sm,
.ymo-theme-v2.ymo-marketing .marketing-body h2.ymo-v2-subhead,
.ymo-theme-v2.ymo-marketing .marketing-body h2.md-headline-md {
    font-weight: 700;
}

.ymo-theme-v2.ymo-marketing .marketing-body h3 {
    font-size: 1.0625rem;
    margin: 1.35rem 0 0.55rem;
}

.ymo-theme-v2.ymo-marketing .marketing-body h4 {
    font-size: 1rem;
    margin: 1.15rem 0 0.45rem;
}

.ymo-theme-v2.ymo-marketing .ymo-page-section__title,
.ymo-theme-v2.ymo-marketing .ymo-faq-section__title {
    font-size: clamp(1.375rem, 2.2vw, 1.625rem);
    font-weight: 700;
    letter-spacing: -0.022em;
    line-height: 1.28;
    color: var(--ymo-grey-900);
}

.ymo-theme-v2.ymo-marketing .ymo-faq-card__question {
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.4;
}

.ymo-theme-v2.ymo-marketing .ymo-faq-card__answer {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--ymo-v2-ink-muted);
}

.ymo-theme-v2.ymo-marketing .ymo-v2-card__title.md-title-md {
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -0.018em;
    line-height: 1.35;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-card__teaser.md-body-md {
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--ymo-v2-ink-muted);
}

.ymo-theme-v2.ymo-marketing .ymo-city-hint-text.md-body-md {
    font-size: 0.9375rem;
    line-height: 1.55;
}

.ymo-theme-v2.ymo-marketing .ymo-footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--ymo-v2-ink-subtle);
}

.ymo-theme-v2.ymo-marketing .ymo-footer-links a {
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Tonal bands instead of nested filled cards */
.ymo-theme-v2 .ymo-v2-band {
    padding: clamp(1.5rem, 4vw, 2.25rem);
    border-radius: var(--md-shape-corner-large);
    background: var(--ymo-v2-surface);
}

.ymo-theme-v2 .ymo-v2-band--tonal {
    background: var(--md-sys-color-primary-container);
}

/* ==========================================================================
   Card system v2.2 — all marketing surfaces (services, body HTML, reviews, steps)
   ========================================================================== */

.ymo-theme-v2.ymo-marketing .ymo-v2-card-grid > [class*="col-"],
.ymo-theme-v2.ymo-marketing .ymo-v2-card-grid.row[class*="g-"] > [class*="col-"] {
    display: flex;
}

/* Shared shell (static + interactive) */
.ymo-theme-v2.ymo-marketing .ymo-v2-card,
.ymo-theme-v2.ymo-marketing .ymo-v2-card--static {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex: 1 1 auto;
    width: 100%;
    padding: clamp(1.35rem, 2.8vw, 1.65rem);
    border-radius: var(--ymo-v2-card-radius);
    background: var(--ymo-v2-card-bg);
    border: var(--ymo-v2-card-border);
    box-shadow: var(--ymo-v2-card-shadow);
    color: inherit;
    position: relative;
    overflow: hidden;
}

/* Duplex faces — readable front + back during 3D orbit (no mirrored text) */
.ymo-theme-v2.ymo-marketing .ymo-v2-card--duplex {
    padding: 0;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    overflow: visible;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-card--duplex .ymo-v2-card__faces {
    display: flex;
    flex: 1 1 auto;
    width: 100%;
    min-height: 100%;
    position: relative;
    transform-style: preserve-3d;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-card__face {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    min-height: 100%;
    box-sizing: border-box;
    padding: clamp(1.35rem, 2.8vw, 1.65rem);
    border-radius: var(--ymo-v2-card-radius);
    background: var(--ymo-v2-card-bg);
    border: var(--ymo-v2-card-border);
    box-shadow: var(--ymo-v2-card-shadow);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
    overflow: hidden;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-card__face--front {
    position: relative;
    z-index: 2;
    transform: rotateY(0deg);
}

.ymo-theme-v2.ymo-marketing .ymo-v2-card__face--back {
    position: absolute;
    inset: 0;
    transform: rotateY(180deg);
}

.ymo-theme-v2.ymo-marketing a.ymo-v2-card--duplex:hover .ymo-v2-card__face,
.ymo-theme-v2.ymo-marketing a.ymo-v2-card--duplex:focus-visible .ymo-v2-card__face {
    border-color: color-mix(in srgb, var(--ymo-primary, #2d6a4f) 32%, var(--md-sys-color-outline-variant));
    box-shadow:
        var(--ymo-v2-card-shadow-hover),
        0 0 24px -6px color-mix(in srgb, var(--ymo-primary, #2d6a4f) 45%, transparent);
}

.ymo-theme-v2.ymo-marketing a.ymo-v2-card--duplex:hover,
.ymo-theme-v2.ymo-marketing a.ymo-v2-card--duplex:focus-visible {
    border-color: transparent;
    box-shadow: none;
}

.ymo-theme-v2.ymo-marketing a.ymo-v2-card,
.ymo-theme-v2.ymo-marketing a.md-card-elevated.marketing-service-card {
    text-decoration: none;
    transform-style: preserve-3d;
    transition:
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.ymo-theme-v2.ymo-marketing .ymo-v2-card-grid > [class*="col-"] {
    perspective: 1100px;
}

.ymo-theme-v2.ymo-marketing a.ymo-v2-card--interactive:not(.ymo-v2-card--duplex)::before,
.ymo-theme-v2.ymo-marketing a.md-card-elevated.marketing-service-card:not(.ymo-v2-card)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--ymo-v2-card-accent);
    border-radius: var(--ymo-v2-card-radius) var(--ymo-v2-card-radius) 0 0;
    opacity: 0;
    transition: opacity 0.22s ease;
    pointer-events: none;
}

/* Duplex cards: radius lives on __face, not the <a> — draw accent on the face */
.ymo-theme-v2.ymo-marketing a.ymo-v2-card--duplex::before {
    content: none;
    display: none;
}

.ymo-theme-v2.ymo-marketing a.ymo-v2-card--duplex .ymo-v2-card__face::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--ymo-v2-card-accent);
    border-radius: var(--ymo-v2-card-radius) var(--ymo-v2-card-radius) 0 0;
    opacity: 0;
    transition: opacity 0.22s ease;
    pointer-events: none;
    z-index: 1;
}

.ymo-theme-v2.ymo-marketing a.ymo-v2-card--interactive:hover,
.ymo-theme-v2.ymo-marketing a.ymo-v2-card--interactive:focus-visible,
.ymo-theme-v2.ymo-marketing a.md-card-elevated.marketing-service-card:hover,
.ymo-theme-v2.ymo-marketing a.md-card-elevated.marketing-service-card:focus-visible {
    border-color: color-mix(in srgb, var(--ymo-primary, #2d6a4f) 32%, var(--md-sys-color-outline-variant));
    box-shadow:
        var(--ymo-v2-card-shadow-hover),
        0 0 24px -6px color-mix(in srgb, var(--ymo-primary, #2d6a4f) 45%, transparent);
    transform: translateY(-6px) rotateX(-5deg) rotateY(5deg) scale(1.02);
    text-decoration: none;
}

.ymo-theme-v2.ymo-marketing a.ymo-v2-card--interactive:not(.ymo-v2-card--duplex):hover::before,
.ymo-theme-v2.ymo-marketing a.ymo-v2-card--interactive:not(.ymo-v2-card--duplex):focus-visible::before,
.ymo-theme-v2.ymo-marketing a.ymo-v2-card--duplex:hover .ymo-v2-card__face::before,
.ymo-theme-v2.ymo-marketing a.ymo-v2-card--duplex:focus-visible .ymo-v2-card__face::before,
.ymo-theme-v2.ymo-marketing a.md-card-elevated.marketing-service-card:hover::before,
.ymo-theme-v2.ymo-marketing a.md-card-elevated.marketing-service-card:focus-visible::before {
    opacity: 1;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    border-radius: calc(var(--md-shape-corner-medium) + 2px);
    background: linear-gradient(
        145deg,
        color-mix(in srgb, var(--md-sys-color-primary-container) 88%, #ffffff) 0%,
        var(--md-sys-color-primary-container) 100%
    );
    color: var(--ymo-primary-dark, var(--md-sys-color-primary));
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--ymo-primary, #2d6a4f) 12%, transparent) inset,
        0 6px 16px -8px color-mix(in srgb, var(--ymo-primary, #2d6a4f) 45%, transparent);
}

.ymo-theme-v2.ymo-marketing .ymo-v2-card__icon .mi {
    font-size: 1.55rem;
    line-height: 1;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-card__title {
    margin: 1rem 0 0.4rem;
    color: var(--ymo-grey-900, var(--md-sys-color-on-surface));
    letter-spacing: -0.02em;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-card__teaser {
    flex: 1 1 auto;
    margin: 0;
    color: var(--ymo-v2-ink-muted);
    line-height: 1.55;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-card__arrow {
    margin-top: auto;
    padding-top: 1rem;
    align-self: flex-end;
    font-size: 1.35rem;
    color: var(--ymo-primary, #2d6a4f);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.ymo-theme-v2.ymo-marketing a.ymo-v2-card--interactive:hover .ymo-v2-card__arrow,
.ymo-theme-v2.ymo-marketing a.ymo-v2-card--interactive:focus-visible .ymo-v2-card__arrow {
    opacity: 1;
    transform: translateX(0);
}

.ymo-theme-v2.ymo-marketing .ymo-v2-card--step .ymo-v2-card__step {
    color: var(--ymo-primary, #2d6a4f);
    letter-spacing: 0.02em;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-card--quote {
    gap: 0.15rem;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-card--quote .md-label-lg {
    color: #ca8a04;
    letter-spacing: 0.08em;
}

/* Legacy body HTML — elevate md-card-* grids without changing stored copy */
.ymo-theme-v2.ymo-marketing .marketing-body .row[class*="g-"] > [class*="col-"] > .md-card-elevated,
.ymo-theme-v2.ymo-marketing .marketing-body .row[class*="g-"] > [class*="col-"] > .md-card-outlined,
.ymo-theme-v2.ymo-marketing .marketing-body .row[class*="g-"] > [class*="col-"] > a.md-card-elevated {
    flex: 1 1 auto;
    width: 100%;
    padding: clamp(1.35rem, 2.8vw, 1.65rem);
    border-radius: var(--ymo-v2-card-radius);
    background: var(--ymo-v2-card-bg);
    border: var(--ymo-v2-card-border);
    box-shadow: var(--ymo-v2-card-shadow);
}

.ymo-theme-v2.ymo-marketing .marketing-body a.md-card-elevated.marketing-service-card > .mi.mi-xl:first-child,
.ymo-theme-v2.ymo-marketing .marketing-body .row[class*="g-"] > [class*="col-"] > .md-card-elevated:has(> .mi.mi-xl) > .mi.mi-xl:first-child,
.ymo-theme-v2.ymo-marketing .marketing-body .row[class*="g-"] > [class*="col-"] > a.md-card-elevated:has(> .mi.mi-xl) > .mi.mi-xl:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 0;
    padding: 0;
    border-radius: calc(var(--md-shape-corner-medium) + 2px);
    background: linear-gradient(
        145deg,
        color-mix(in srgb, var(--md-sys-color-primary-container) 88%, #ffffff) 0%,
        var(--md-sys-color-primary-container) 100%
    );
    color: var(--ymo-primary-dark, var(--md-sys-color-primary));
    font-size: 1.55rem;
    line-height: 1;
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--ymo-primary, #2d6a4f) 12%, transparent) inset,
        0 6px 16px -8px color-mix(in srgb, var(--ymo-primary, #2d6a4f) 45%, transparent);
}

.ymo-theme-v2.ymo-marketing .marketing-body a.md-card-elevated.marketing-service-card .md-title-md {
    margin-top: 1rem;
    letter-spacing: -0.02em;
}

.ymo-theme-v2.ymo-marketing .marketing-body .md-card-filled:not(.ymo-nap-block) {
    border-radius: var(--ymo-v2-card-radius);
    border: var(--ymo-v2-card-border);
    box-shadow: var(--ymo-v2-card-shadow);
}

.ymo-theme-v2.ymo-marketing .marketing-body .md-card-filled.ymo-nap-block {
    border-radius: var(--ymo-v2-card-radius);
    box-shadow: var(--ymo-v2-card-shadow);
}

.ymo-theme-v2.ymo-marketing .ymo-v2-steps .row.g-4 {
    --bs-gutter-x: 1.25rem;
}

/* FAQ / pricing sections — card shell at section scale */
.ymo-theme-v2.ymo-marketing .ymo-page-section,
.ymo-theme-v2.ymo-marketing .ymo-faq-section {
    background: var(--ymo-v2-card-bg);
    border-radius: var(--ymo-v2-card-radius);
    padding: var(--ymo-v2-block-pad);
    box-shadow: var(--ymo-v2-card-shadow);
    border: var(--ymo-v2-card-border);
}

.ymo-theme-v2.ymo-marketing .ymo-v2-prose-wide .ymo-page-section,
.ymo-theme-v2.ymo-marketing .ymo-v2-prose-wide .ymo-faq-section {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* Hub / supplement 2-column pricing table (city pages, pricing + FAQ row) */
.ymo-theme-v2.ymo-marketing .ymo-page-section__panel.ymo-pricing-table--hub {
    background: var(--ymo-v2-surface);
}

.ymo-theme-v2.ymo-marketing .ymo-pricing-table--hub .ymo-pricing-table__grid {
    width: 100%;
    margin-bottom: 0;
    table-layout: auto;
    border-collapse: collapse;
}

.ymo-theme-v2.ymo-marketing .ymo-pricing-table--hub .ymo-pricing-table__grid thead th {
    padding: 0.65rem 0.85rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--ymo-v2-ink-subtle);
    background: var(--ymo-v2-surface);
    border-bottom: 1px solid var(--md-sys-color-outline-variant);
    vertical-align: bottom;
}

.ymo-theme-v2.ymo-marketing .ymo-pricing-table--hub .ymo-pricing-table__grid thead .ymo-pricing-table__price {
    text-align: right;
}

.ymo-theme-v2.ymo-marketing .ymo-pricing-table--hub .ymo-pricing-table__grid tbody tr {
    background: var(--ymo-v2-surface);
}

.ymo-theme-v2.ymo-marketing .ymo-pricing-table--hub .ymo-pricing-table__grid tbody th,
.ymo-theme-v2.ymo-marketing .ymo-pricing-table--hub .ymo-pricing-table__grid tbody td {
    padding: 0.7rem 0.85rem;
    border-bottom: 1px solid color-mix(in srgb, var(--md-sys-color-outline-variant) 70%, transparent);
    vertical-align: middle;
    background: var(--ymo-v2-surface);
    font-weight: inherit;
}

.ymo-theme-v2.ymo-marketing .ymo-pricing-table--hub .ymo-pricing-table__grid tbody th.ymo-pricing-table__service {
    font-weight: 500;
    color: var(--ymo-grey-900);
}

.ymo-theme-v2.ymo-marketing .ymo-pricing-table--hub .ymo-pricing-table__grid tbody tr:last-child th,
.ymo-theme-v2.ymo-marketing .ymo-pricing-table--hub .ymo-pricing-table__grid tbody tr:last-child td {
    border-bottom: none;
}

.ymo-theme-v2.ymo-marketing .ymo-pricing-table--hub .ymo-pricing-table__service {
    width: auto;
    font-weight: 500;
    color: var(--ymo-grey-900);
    text-align: left;
}

.ymo-theme-v2.ymo-marketing .ymo-pricing-table--hub .ymo-pricing-table__price {
    width: 7.5rem;
    min-width: 6.5rem;
    max-width: none;
    text-align: right;
    font-variant-numeric: tabular-nums;
    color: var(--ymo-v2-ink-muted);
    white-space: nowrap;
}

.ymo-theme-v2 .ymo-page-section__panel {
    border: none;
    box-shadow: none;
    border-radius: var(--md-shape-corner-medium);
    background: var(--ymo-v2-surface-muted);
}

.ymo-theme-v2 .ymo-faq-card {
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    border-bottom: 1px solid var(--md-sys-color-outline-variant);
}

.ymo-theme-v2 .ymo-faq-list .ymo-faq-card:last-child {
    border-bottom: none;
}

.ymo-theme-v2 .ymo-faq-card__question {
    padding-left: 0;
    padding-right: 0;
}

.ymo-theme-v2 .ymo-faq-card__answer {
    padding-left: 0;
    padding-right: 0;
}

/* Body content — readable measure, cleaner tables */
.ymo-theme-v2 .ymo-v2-body.marketing-body {
    display: flex;
    flex-direction: column;
    gap: clamp(1.75rem, 3.5vw, 2.5rem);
    width: 100%;
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ymo-v2-ink-muted);
}

.ymo-theme-v2.ymo-marketing .ymo-v2-page .ymo-v2-prose-wide,
.ymo-theme-v2.ymo-marketing .ymo-v2-page .ymo-v2-prose {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-body.marketing-body > .ymo-content-section {
    display: block;
    width: 100%;
    max-width: 100%;
    clear: both;
    flex: none;
    min-width: 0;
    margin-bottom: 0;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-why-faq {
    display: block;
    width: 100%;
    clear: both;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-why-faq__row {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-page .ymo-supplement-grid {
    width: 100%;
    max-width: 100%;
    clear: both;
    margin: 0 0 2rem;
}

/* Legacy WP flex rows must not squeeze v2 body sections into one horizontal strip */
.ymo-theme-v2.ymo-marketing .ymo-v2-body.marketing-body .vc_row.wpb_row {
    display: block;
    flex-wrap: unset;
    gap: 0;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-body.marketing-body .wpb_column,
.ymo-theme-v2.ymo-marketing .ymo-v2-body.marketing-body .vc_col-sm-6,
.ymo-theme-v2.ymo-marketing .ymo-v2-body.marketing-body .vc_col-sm-4 {
    flex: none;
    width: 100%;
    max-width: 100%;
}

/* Service page body — v2 typography wins over legacy .marketing-body h2 rules */
.ymo-theme-v2.ymo-marketing .ymo-v2-body.marketing-body h2.ymo-v2-display-sm {
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: var(--ymo-grey-900);
    margin: 0 0 1rem;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-body.marketing-body .ymo-v2-prose-section {
    padding: var(--ymo-v2-block-pad);
    border-radius: var(--ymo-v2-card-radius);
    background: var(--ymo-v2-card-bg);
    border: var(--ymo-v2-card-border);
    box-shadow: var(--ymo-v2-card-shadow);
}

.ymo-theme-v2.ymo-marketing .ymo-v2-body.marketing-body .ymo-v2-prose-section .md-headline-md {
    margin-top: 0;
    font-size: clamp(1.375rem, 2.2vw, 1.625rem);
    letter-spacing: -0.02em;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-body.marketing-body .ymo-v2-prose-section .md-title-md {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--ymo-grey-900);
    margin-top: 1.5rem;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-trust-page__meta {
    padding: 0.75rem 1rem;
    border-radius: var(--md-shape-corner-medium);
    background: var(--ymo-v2-surface-dim);
    border: 1px solid var(--md-sys-color-outline-variant);
}

.ymo-theme-v2.ymo-marketing .ymo-v2-trust-page__prose p:last-child {
    margin-bottom: 0;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-trust-page--pricing .ymo-v2-trust-page__table-wrap {
    padding: clamp(1.25rem, 3vw, 1.75rem);
    overflow: visible;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-trust-page--reviews .ymo-v2-card--quote {
    min-height: 100%;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-trust-page__related {
    padding-top: 0.25rem;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-trust-page__prose ul {
    margin: 0.5rem 0 0;
    padding-left: 1.15rem;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-trust-page__prose li {
    margin-bottom: 0.5rem;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-trust-page--pricing .ymo-v2-trust-page__footnote {
    max-width: 52rem;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-pricing-matrix__scroll {
    margin: 0 0 1.25rem;
    border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: var(--md-shape-corner-medium);
    overflow-x: auto;
    background: var(--ymo-v2-surface);
}

.ymo-theme-v2.ymo-marketing .ymo-v2-pricing-table__grid {
    width: 100%;
    margin-bottom: 0;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-pricing-table__grid thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--ymo-v2-surface-dim);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ymo-v2-ink-subtle);
    border-bottom: 1px solid var(--md-sys-color-outline-variant);
    padding: 0.75rem 1rem;
    vertical-align: bottom;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-pricing-table__grid tbody tr:nth-child(even) {
    background: color-mix(in srgb, var(--ymo-v2-surface-dim) 55%, transparent);
}

.ymo-theme-v2.ymo-marketing .ymo-v2-pricing-table__grid tbody th,
.ymo-theme-v2.ymo-marketing .ymo-v2-pricing-table__grid tbody td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid color-mix(in srgb, var(--md-sys-color-outline-variant) 65%, transparent);
    vertical-align: top;
    background: inherit;
    font-weight: inherit;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-pricing-table__grid tbody th[scope="row"].ymo-v2-pricing-table__service {
    font-weight: 600;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-pricing-table__grid tbody tr:last-child th,
.ymo-theme-v2.ymo-marketing .ymo-v2-pricing-table__grid tbody tr:last-child td {
    border-bottom: none;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-pricing-table__service {
    width: 34%;
    min-width: 10.5rem;
    font-weight: 600;
    color: var(--ymo-grey-900);
    text-align: left;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-pricing-table__price {
    text-align: right;
    font-variant-numeric: tabular-nums;
    color: var(--ymo-v2-ink-muted);
    white-space: nowrap;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-pricing-matrix__callout {
    margin-bottom: 1.25rem;
    padding: clamp(1rem, 2.5vw, 1.25rem) clamp(1.15rem, 2.5vw, 1.35rem);
    border-radius: var(--md-shape-corner-medium);
    background: color-mix(in srgb, var(--md-sys-color-primary-container) 42%, var(--ymo-v2-surface));
    border: 1px solid color-mix(in srgb, var(--ymo-primary) 14%, var(--md-sys-color-outline-variant));
}

.ymo-theme-v2.ymo-marketing .ymo-v2-pricing-matrix__quoted {
    padding: clamp(1rem, 2.5vw, 1.25rem) clamp(1.15rem, 2.5vw, 1.35rem);
    border-radius: var(--md-shape-corner-medium);
    background: var(--ymo-v2-surface-dim);
    border: 1px solid var(--md-sys-color-outline-variant);
}

.ymo-theme-v2.ymo-marketing .ymo-v2-pricing-matrix__quote-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem 1.25rem;
    padding-left: 1.15rem;
    margin: 0;
}

@media (max-width: 575.98px) {
    .ymo-theme-v2.ymo-marketing .ymo-v2-pricing-matrix__quote-list {
        grid-template-columns: 1fr;
    }

    .ymo-theme-v2.ymo-marketing .ymo-v2-pricing-table__grid thead {
        display: none;
    }

    .ymo-theme-v2.ymo-marketing .ymo-v2-pricing-table__grid tbody tr {
        display: block;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--md-sys-color-outline-variant);
    }

    .ymo-theme-v2.ymo-marketing .ymo-v2-pricing-table__grid tbody tr:last-child {
        border-bottom: none;
    }

    .ymo-theme-v2.ymo-marketing .ymo-v2-pricing-table__grid tbody th[scope="row"] {
        display: block;
        width: 100%;
        padding-bottom: 0.35rem;
        border: none;
        background: transparent !important;
    }

    .ymo-theme-v2.ymo-marketing .ymo-v2-pricing-table__grid tbody td {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
        padding: 0.25rem 0;
        border: none;
        text-align: right;
        background: transparent !important;
    }

    .ymo-theme-v2.ymo-marketing .ymo-v2-pricing-table__grid tbody td::before {
        content: attr(data-label);
        font-weight: 500;
        color: var(--ymo-v2-ink-subtle);
        text-align: left;
    }
}

/* Normalized “Why choose YMO” + FAQ (legacy service pages) */
.ymo-theme-v2.ymo-marketing .ymo-v2-why-faq {
    margin-top: 0;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-service-overview + .ymo-v2-why-faq,
.ymo-theme-v2.ymo-marketing .ymo-v2-service-overview + .ymo-content-section {
    margin-top: clamp(0.25rem, 1vw, 0.5rem);
}

.ymo-theme-v2.ymo-marketing .ymo-v2-why-faq__row > [class*="col-"] {
    min-width: 0;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-why-faq__panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    height: 100%;
    padding: clamp(1.75rem, 4vw, 2.35rem);
    border-radius: var(--ymo-v2-card-radius);
    background: var(--ymo-v2-card-bg);
    border: var(--ymo-v2-card-border);
    box-shadow: var(--ymo-v2-card-shadow);
}

.ymo-theme-v2.ymo-marketing .ymo-v2-why-faq__panel--faq {
    padding-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

.ymo-theme-v2.ymo-marketing .ymo-v2-why-faq .ymo-page-section.ymo-faq-section,
.ymo-theme-v2.ymo-marketing .ymo-v2-why-faq__panel--faq .ymo-faq-section {
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-why-faq .ymo-page-section__title {
    font-size: clamp(1.375rem, 2.2vw, 1.625rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0 0 1.25rem;
    color: var(--ymo-grey-900);
}

.ymo-theme-v2.ymo-marketing .ymo-v2-why-faq .ymo-faq-list {
    gap: 0;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-why-faq .ymo-faq-card {
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    border-bottom: 1px solid color-mix(in srgb, var(--md-sys-color-outline-variant) 85%, transparent);
}

.ymo-theme-v2.ymo-marketing .ymo-v2-why-faq .ymo-faq-list .ymo-faq-card:last-child {
    border-bottom: none;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-why-faq .ymo-faq-card__question {
    padding: 1rem 0;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-why-faq .ymo-faq-card__question::after {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.5rem;
    background: var(--ymo-v2-surface-muted);
}

.ymo-theme-v2.ymo-marketing .ymo-v2-why-faq .ymo-faq-card__answer {
    padding: 0 0 1rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--ymo-v2-ink-muted);
}

.ymo-theme-v2.ymo-marketing .ymo-v2-checklist {
    --bs-gutter-x: 0.75rem;
    --bs-gutter-y: 0.75rem;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-checklist__tile {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    width: 100%;
    height: 100%;
    padding: 0.85rem 0.95rem;
    border-radius: calc(var(--ymo-v2-card-radius) - 4px);
    background: var(--ymo-v2-surface);
    border: 1px solid color-mix(in srgb, var(--md-sys-color-outline-variant) 70%, #ffffff);
    box-shadow: 0 1px 2px rgba(17, 20, 24, 0.04);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-checklist__tile:hover {
    border-color: color-mix(in srgb, var(--ymo-primary, #2d6a4f) 28%, var(--md-sys-color-outline-variant));
    box-shadow: 0 8px 24px -16px rgba(17, 20, 24, 0.18);
}

.ymo-theme-v2.ymo-marketing .ymo-v2-checklist__icon {
    flex-shrink: 0;
    font-size: 1.2rem;
    line-height: 1.25;
    color: var(--ymo-primary, #2d6a4f);
}

.ymo-theme-v2.ymo-marketing .ymo-v2-checklist__text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ymo-grey-900, var(--md-sys-color-on-surface));
    line-height: 1.45;
    letter-spacing: 0.005em;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-overview-layout__includes .ymo-v2-checklist__text {
    font-weight: 500;
}

.ymo-theme-v2 .ymo-v2-body.marketing-body .ymo-content-section > p,
.ymo-theme-v2 .ymo-v2-body.marketing-body > .wpb_text_column p {
    max-width: none;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-service-overview {
    padding: clamp(1.35rem, 3vw, 2rem);
    border-radius: var(--ymo-v2-card-radius);
    background: var(--ymo-v2-card-bg);
    border: var(--ymo-v2-card-border);
    box-shadow: var(--ymo-v2-card-shadow);
}

.ymo-theme-v2.ymo-marketing .ymo-v2-service-overview--split {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

/* Story + includes stacked in one card when side-by-side would leave awkward gaps. */
.ymo-theme-v2.ymo-marketing .ymo-v2-service-overview--stacked .ymo-v2-overview-layout__includes {
    margin-top: clamp(0.25rem, 1vw, 0.5rem);
}

.ymo-theme-v2.ymo-marketing .ymo-v2-service-overview--split .ymo-v2-overview-layout__story {
    padding: clamp(1.25rem, 2.75vw, 1.65rem);
    border-radius: var(--ymo-v2-card-radius);
    background: var(--ymo-v2-card-bg);
    border: var(--ymo-v2-card-border);
    box-shadow: var(--ymo-v2-card-shadow);
}

@media (min-width: 992px) {
    .ymo-theme-v2.ymo-marketing .ymo-v2-service-overview--split .ymo-v2-overview-layout--split {
        gap: clamp(1.25rem, 2.5vw, 1.75rem);
    }
}

.ymo-theme-v2.ymo-marketing .ymo-v2-service-overview__lead {
    max-width: none;
    margin: 0 0 0;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-overview-layout__story-title {
    margin: clamp(1.25rem, 2.5vw, 1.75rem) 0 clamp(0.85rem, 2vw, 1.1rem);
    padding-top: clamp(1.15rem, 2.5vw, 1.5rem);
    border-top: 1px solid color-mix(in srgb, var(--md-sys-color-outline-variant) 80%, transparent);
}

.ymo-theme-v2.ymo-marketing .ymo-v2-overview-layout__story-title:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-overview-layout {
    display: flex;
    flex-direction: column;
    gap: clamp(1.5rem, 3.5vw, 2rem);
    align-items: stretch;
}

@media (min-width: 992px) {
    .ymo-theme-v2.ymo-marketing .ymo-v2-overview-layout--split {
        display: grid;
        grid-template-columns: minmax(0, 1.1fr) minmax(17rem, 26rem);
        gap: clamp(1.75rem, 3vw, 2.5rem);
        align-items: start;
    }
}

.ymo-theme-v2.ymo-marketing .ymo-v2-overview-layout__story {
    min-width: 0;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-overview-layout__story-copy {
    max-width: none;
    margin: 0 0 1.25rem;
    font-size: 1rem;
    line-height: 1.72;
    letter-spacing: 0.01em;
    color: var(--ymo-v2-ink-muted);
}

.ymo-theme-v2.ymo-marketing .ymo-v2-overview-layout__story-copy:last-child {
    margin-bottom: 0;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-checklist--grid-3 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 0;
    align-items: start;
}

@media (min-width: 992px) {
    .ymo-theme-v2.ymo-marketing .ymo-v2-checklist--grid-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.75rem;
    }
}

.ymo-theme-v2.ymo-marketing .ymo-v2-checklist--grid-3 .ymo-v2-checklist__cell {
    min-width: 0;
    height: auto;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-checklist--grid-3 .ymo-v2-checklist__tile {
    height: auto;
    min-height: 0;
    align-items: flex-start;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-checklist--grid-3 .ymo-v2-checklist__icon {
    align-self: flex-start;
    margin-top: 0.12em;
}

@media (min-width: 576px) {
    .ymo-theme-v2.ymo-marketing .ymo-v2-why-faq__panel .ymo-v2-checklist--grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .ymo-theme-v2.ymo-marketing .ymo-v2-overview-layout--split .ymo-v2-overview-layout__includes .ymo-v2-checklist--grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.ymo-theme-v2.ymo-marketing .ymo-v2-overview-layout__includes {
    min-width: 0;
    padding: clamp(0.95rem, 2vw, 1.25rem);
    border-radius: calc(var(--ymo-v2-card-radius) - 2px);
    background: linear-gradient(
        165deg,
        color-mix(in srgb, var(--md-sys-color-primary-container) 42%, #ffffff) 0%,
        var(--ymo-v2-surface) 55%
    );
    border: 1px solid color-mix(in srgb, var(--ymo-primary, #2d6a4f) 14%, var(--md-sys-color-outline-variant));
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.65) inset,
        0 12px 32px -20px color-mix(in srgb, var(--ymo-primary, #2d6a4f) 35%, transparent);
}

@media (min-width: 992px) {
    .ymo-theme-v2.ymo-marketing .ymo-v2-overview-layout__includes {
        position: relative;
        top: auto;
    }
}

.ymo-theme-v2.ymo-marketing .ymo-v2-overview-layout__eyebrow {
    display: block;
    margin-bottom: 0.85rem;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--ymo-primary, #2d6a4f);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-overview-layout__includes .ymo-v2-checklist--stack {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0.5rem;
    margin: 0;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-overview-layout__includes .ymo-v2-checklist__tile {
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.82);
}

.ymo-theme-v2.ymo-marketing .ymo-v2-why-faq__panel .ymo-v2-checklist__tile {
    align-items: flex-start;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-why-faq__panel .ymo-v2-checklist__icon {
    align-self: flex-start;
    margin-top: 0.12em;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-checklist--stack .ymo-v2-checklist__text {
    flex: 1 1 auto;
    min-width: 0;
}

/* Kill legacy iconList ticks inside v2 overview (absolute ✓ vs flex icons) */
.ymo-theme-v2.ymo-marketing .ymo-v2-service-overview ul.iconList li,
.ymo-theme-v2.ymo-marketing .ymo-v2-service-overview ul.list li {
    position: static;
    padding-left: 0;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-service-overview ul.iconList li::before,
.ymo-theme-v2.ymo-marketing .ymo-v2-service-overview ul.list li::before {
    content: none;
}

.ymo-theme-v2.ymo-marketing
    .ymo-v2-body.marketing-body
    > .ymo-content-section.mb-5:not(.ymo-v2-service-overview):not(.ymo-v2-why-faq) {
    padding: var(--ymo-v2-block-pad);
    border-radius: var(--ymo-v2-card-radius);
    background: var(--ymo-v2-card-bg);
    border: var(--ymo-v2-card-border);
    box-shadow: var(--ymo-v2-card-shadow);
}

.ymo-theme-v2.ymo-marketing .ymo-v2-supplement-block .ymo-v2-lead {
    max-width: none;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ymo-v2-ink-muted);
}

.ymo-theme-v2.ymo-marketing .ymo-v2-supplement-meta {
    display: grid;
    gap: 0.85rem;
    margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
    padding-top: clamp(1.1rem, 2vw, 1.35rem);
    border-top: 1px solid color-mix(in srgb, var(--md-sys-color-outline-variant) 85%, transparent);
}

.ymo-theme-v2.ymo-marketing .ymo-v2-supplement-meta__hours {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    font-size: 0.9375rem;
    color: var(--ymo-v2-ink-muted);
}

.ymo-theme-v2.ymo-marketing .ymo-v2-supplement-meta__links {
    font-size: 0.9375rem;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-link-chip-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

@media (min-width: 992px) {
    .ymo-theme-v2.ymo-marketing .ymo-v2-link-chip-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.75rem;
    }
}

.ymo-theme-v2.ymo-marketing .ymo-v2-link-chip {
    min-width: 0;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-link-chip a {
    display: flex;
    align-items: center;
    min-height: 100%;
    padding: 0.85rem 1rem;
    border-radius: calc(var(--ymo-v2-card-radius) - 4px);
    background: var(--ymo-v2-surface);
    border: 1px solid color-mix(in srgb, var(--md-sys-color-outline-variant) 72%, #ffffff);
    box-shadow: 0 1px 2px rgba(17, 20, 24, 0.04);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.45;
    color: var(--ymo-grey-900);
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-link-chip a:hover {
    border-color: color-mix(in srgb, var(--ymo-primary, #2d6a4f) 28%, var(--md-sys-color-outline-variant));
    box-shadow: 0 8px 24px -16px rgba(17, 20, 24, 0.18);
}

.ymo-theme-v2.ymo-marketing .ymo-v2-body.marketing-body > p.md-body-md {
    padding: 0.85rem 1rem;
    border-radius: calc(var(--ymo-v2-card-radius) - 4px);
    background: var(--ymo-v2-surface-muted);
    border: 1px solid color-mix(in srgb, var(--md-sys-color-outline-variant) 70%, transparent);
    font-size: 0.9375rem;
}

/* Trust note — align with inset of card blocks above */
.ymo-theme-v2.ymo-marketing .ymo-v2-prose-wide > .ymo-v2-inline-note {
    padding-inline: var(--ymo-v2-block-pad);
    margin-top: 0;
    margin-bottom: 2rem;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-body.marketing-body .ymo-content-section.mb-5 > .md-headline-md {
    margin-top: 0;
    font-size: clamp(1.25rem, 2.1vw, 1.5rem);
    font-weight: 700;
    letter-spacing: -0.022em;
    line-height: 1.28;
    color: var(--ymo-grey-900);
}

.ymo-theme-v2.ymo-marketing .ymo-v2-body.marketing-body .ymo-content-section.mb-5 > .md-title-md {
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.4;
    color: var(--ymo-grey-900);
}

.ymo-theme-v2.ymo-marketing .ymo-v2-body.marketing-body .ymo-content-section.mb-5 ul.md-body-md {
    padding-left: 1.15rem;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    line-height: 1.65;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-body.marketing-body .ymo-content-section.mb-5 ul.md-body-md li {
    margin-bottom: 0.5rem;
    color: var(--ymo-v2-ink-muted);
}

.ymo-theme-v2.ymo-marketing .ymo-v2-body.marketing-body .ymo-content-section.mb-5 > .md-body-sm.ymo-muted {
    font-size: 0.875rem;
    line-height: 1.6;
}

.ymo-theme-v2 .ymo-v2-body.marketing-body ul.list:not(.ymo-v2-checklist):not(.iconList) {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
    gap: 0.55rem 1.25rem;
    margin: 1.25rem 0 1.75rem;
}

.ymo-theme-v2 .ymo-v2-body.marketing-body .table {
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: var(--md-shape-corner-medium);
    overflow: hidden;
}

.ymo-theme-v2 .ymo-v2-inline-note {
    padding: 0.75rem 0;
    border-top: 1px solid var(--md-sys-color-outline-variant);
}

/* CTA — v1-style mint card in container (not full-bleed band) */
.ymo-theme-v2 .ymo-v2-cta-band {
    background: transparent;
    padding: 0 0 clamp(2rem, 4vw, 3rem);
    margin-top: 0;
}

.ymo-theme-v2 .ymo-v2-cta-band--compact {
    padding-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}

/* Editorial heroes — see v2.1 block below */

/* Suppress v1 quick-answer card chrome when lead shown in v2 page */
.ymo-theme-v2 .ymo-quick-answer-block {
    background: transparent;
    border-left: none;
    padding: 0;
}

/* Service catalog uses ymo-v2-card (see unified block above) */

/* Contact form panel + sidebar bands */
.ymo-theme-v2.ymo-marketing .ymo-v2-form-panel,
.ymo-theme-v2.ymo-marketing .ymo-v2-band:not(.ymo-v2-spotlight) {
    background: var(--ymo-v2-card-bg);
    border: var(--ymo-v2-card-border);
    border-radius: var(--ymo-v2-card-radius);
    box-shadow: var(--ymo-v2-card-shadow);
}

/* Shell — see v2.1 block below */

/* Standalone body cards (not in a grid column) */
.ymo-theme-v2.ymo-marketing .marketing-body > .md-card-filled,
.ymo-theme-v2.ymo-marketing .marketing-body > .md-card-elevated,
.ymo-theme-v2.ymo-marketing .marketing-body > .md-card-outlined,
.ymo-theme-v2.ymo-marketing .marketing-body .ymo-content-section > .md-card-filled {
    border-radius: var(--ymo-v2-card-radius);
    border: var(--ymo-v2-card-border);
    box-shadow: var(--ymo-v2-card-shadow);
}

.ymo-theme-v2 .marketing-body .ymo-content-section {
    margin-bottom: 2rem;
}

.ymo-theme-v2 .marketing-body h2.md-headline-md,
.ymo-theme-v2 .marketing-body h2.box-header,
.ymo-theme-v2 .marketing-body h3.box-header {
    font-size: clamp(1.25rem, 2.2vw, 1.5rem);
    letter-spacing: -0.02em;
    margin-top: 2rem;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-page .marketing-body .md-card-filled {
    background: linear-gradient(
        168deg,
        color-mix(in srgb, var(--md-sys-color-primary-container) 92%, #ffffff) 0%,
        var(--md-sys-color-primary-container) 100%
    );
    border-radius: var(--ymo-v2-card-radius);
    box-shadow: var(--ymo-v2-card-shadow);
    border: var(--ymo-v2-card-border);
}

.ymo-theme-v2.ymo-marketing .marketing-body [class*="col-"] > .md-card-filled,
.ymo-theme-v2.ymo-marketing .marketing-body [class*="col-"] > .md-card-elevated,
.ymo-theme-v2.ymo-marketing .marketing-body [class*="col-"] > .md-card-outlined {
    border-radius: var(--ymo-v2-card-radius);
    background: var(--ymo-v2-card-bg);
    border: var(--ymo-v2-card-border);
    box-shadow: var(--ymo-v2-card-shadow);
}

.ymo-theme-v2.ymo-marketing .marketing-body [class*="col-"] > .md-card-filled {
    background: linear-gradient(
        168deg,
        color-mix(in srgb, var(--md-sys-color-primary-container) 92%, #ffffff) 0%,
        var(--md-sys-color-primary-container) 100%
    );
}

/* City hint — subtle */
.ymo-theme-v2 .ymo-city-hint {
    background: var(--ymo-v2-surface-muted);
    border-bottom-color: var(--md-sys-color-outline-variant);
}

/* =============================================================================
   v2.1 — Visible redesign (layout shells + CSS; copy unchanged)
   ============================================================================= */

.ymo-theme-v2.ymo-marketing {
    letter-spacing: -0.011em;
    --ymo-v2-page-gutter: max(0.75rem, env(safe-area-inset-left, 0px));
}

.ymo-theme-v2.ymo-marketing .container:not(.container-fluid) {
    padding-left: max(calc(var(--bs-gutter-x, 1.5rem) * 0.5), var(--ymo-v2-page-gutter));
    padding-right: max(
        calc(var(--bs-gutter-x, 1.5rem) * 0.5),
        var(--ymo-v2-page-gutter),
        env(safe-area-inset-right, 0px)
    );
}

@media (max-width: 575.98px) {
    .ymo-theme-v2.ymo-marketing {
        --ymo-v2-page-gutter: max(1.125rem, env(safe-area-inset-left, 0px));
        --bs-gutter-x: 2.25rem;
    }

    .ymo-theme-v2.ymo-marketing .ymo-v2-footer__col {
        min-width: 0;
    }

    .ymo-theme-v2 .ymo-v2-footer__links {
        gap: 1.35rem 1rem;
    }

    .ymo-theme-v2 .ymo-v2-footer__list a {
        overflow-wrap: anywhere;
    }

    .ymo-theme-v2 .ymo-v2-footer__inner {
        padding-bottom: calc(clamp(1.25rem, 3vw, 1.75rem) + env(safe-area-inset-bottom, 0px));
    }
}

/* Top bar + nav */
.ymo-theme-v2 .ymo-topbar {
    background: var(--ymo-v2-surface);
    color: var(--ymo-v2-ink-subtle);
    border-bottom: 1px solid var(--md-sys-color-outline-variant);
    font-size: 0.8125rem;
    padding: 0.45rem 0;
}

.ymo-theme-v2 .ymo-topbar a {
    color: var(--ymo-grey-900);
    font-weight: 600;
}

.ymo-theme-v2 .ymo-topbar a:hover {
    color: var(--ymo-primary-dark);
}

.ymo-theme-v2 .ymo-topbar-trust {
    color: var(--ymo-grey-900) !important;
}

.ymo-theme-v2 .ymo-navbar {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--md-sys-color-outline-variant);
    box-shadow: none;
    padding: 0.65rem 0;
}

.ymo-theme-v2 .ymo-nav-actions .md-btn--filled {
    box-shadow: 0 1px 2px rgba(58, 111, 55, 0.2), 0 4px 12px rgba(58, 111, 55, 0.15);
}

.ymo-theme-v2 .ymo-nav-link.nav-link {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

/* Home + split editorial hero */
.ymo-theme-v2 .ymo-hero--v2-editorial {
    color: var(--ymo-grey-900);
    background: var(--ymo-v2-surface-dim);
    border-bottom: 1px solid var(--md-sys-color-outline-variant);
}

.ymo-theme-v2 .ymo-v2-hero-glow {
    pointer-events: none;
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 55% 45% at 92% 8%, rgba(58, 111, 55, 0.14), transparent 55%),
        radial-gradient(ellipse 40% 35% at 8% 92%, rgba(58, 111, 55, 0.08), transparent 50%);
}

.ymo-theme-v2 .ymo-v2-hero-glow--subtle {
    background: radial-gradient(ellipse 50% 40% at 100% 0%, rgba(58, 111, 55, 0.1), transparent 55%);
}

.ymo-theme-v2 .ymo-hero--home-v2 {
    display: block;
    min-height: 0;
    color: inherit;
    background: var(--ymo-v2-surface-dim);
}

.ymo-theme-v2 .ymo-hero--home-v2::after {
    display: none;
}

.ymo-theme-v2 .ymo-hero--home-v2 .ymo-hero__inner {
    padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 3.5rem);
}

.ymo-theme-v2 .ymo-v2-hero-split {
    position: relative;
    z-index: 1;
}

.ymo-theme-v2 .ymo-hero--v2-editorial .ymo-hero__title,
.ymo-theme-v2 .ymo-v2-hero-title {
    font-size: clamp(2.125rem, 4.8vw, 3.35rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.08;
    color: var(--ymo-grey-900);
    text-shadow: none;
}

.ymo-theme-v2 .ymo-hero--v2-editorial .ymo-hero__lead,
.ymo-theme-v2 .ymo-hero--minimal-v2 .ymo-hero__lead,
.ymo-theme-v2 .ymo-v2-hero-lead {
    font-size: clamp(1.0625rem, 1.85vw, 1.2rem);
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.005em;
    color: var(--ymo-v2-ink-muted);
    max-width: 32rem;
    text-shadow: none;
    opacity: 1;
}

.ymo-theme-v2 .ymo-v2-hero-media {
    border-radius: var(--ymo-v2-radius-xl);
    box-shadow: var(--ymo-v2-shadow-media);
    border: 1px solid rgba(255, 255, 255, 0.65);
    aspect-ratio: 5 / 4;
    min-height: 280px;
}

.ymo-theme-v2 .ymo-v2-hero-actions .md-btn--outlined {
    border-color: var(--ymo-grey-900);
    color: var(--ymo-grey-900);
}

.ymo-theme-v2 .ymo-v2-hero-actions .md-btn--outlined:hover {
    background: var(--ymo-grey-900);
    color: #fff;
    border-color: var(--ymo-grey-900);
}

.ymo-theme-v2 .ymo-hero--split-v2,
.ymo-theme-v2 .ymo-hero--minimal-v2 {
    background: var(--ymo-v2-surface-dim);
}

.ymo-theme-v2 .ymo-hero--minimal-v2 .ymo-v2-hero-minimal-inner {
    max-width: var(--ymo-v2-max-wide);
    padding: clamp(2rem, 5vw, 3.25rem) 0;
}

.ymo-theme-v2 .ymo-v2-eyebrow {
    margin-bottom: 1rem;
}

.ymo-theme-v2 .ymo-hero--v2-editorial .ymo-hero__badge {
    background: var(--ymo-v2-surface);
    color: var(--ymo-primary-dark);
    border: 1px solid var(--md-sys-color-outline-variant);
    backdrop-filter: none;
}

/* Section typography */
.ymo-theme-v2 .ymo-v2-display-sm {
    font-size: clamp(1.625rem, 3vw, 2.125rem);
    letter-spacing: -0.03em;
}

.ymo-theme-v2 .ymo-v2-home > .ymo-v2-section:nth-child(even) {
    background: var(--ymo-v2-surface);
}

.ymo-theme-v2 .ymo-v2-spotlight {
    background: var(--ymo-v2-card-bg);
    border: var(--ymo-v2-card-border);
    border-left: 4px solid var(--ymo-primary);
    box-shadow: var(--ymo-v2-card-shadow);
    border-radius: var(--ymo-v2-card-radius);
}

.ymo-theme-v2 .ymo-v2-spotlight .ymo-v2-display-sm {
    font-size: clamp(1.375rem, 2.5vw, 1.75rem);
}

/* Home — CodePen-style roll lists (split gradient highlight) */
.ymo-theme-v2.ymo-marketing .ymo-v2-section--roll {
    padding-top: clamp(2rem, 4vw, 3rem);
    padding-bottom: clamp(1.35rem, 3vw, 2rem);
}

.ymo-theme-v2.ymo-marketing .ymo-v2-section--roll + .ymo-v2-section--roll {
    padding-top: clamp(1.15rem, 2.5vw, 1.75rem);
}

.ymo-theme-v2.ymo-marketing .ymo-v2-section--roll-tight-bottom {
    padding-bottom: clamp(2rem, 4vw, 3rem);
}

.ymo-theme-v2.ymo-marketing .ymo-v2-roll-list-row > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-roll-list-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 1 auto;
    min-height: 100%;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-roll-list-panel-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 1 auto;
    width: 100%;
    min-height: clamp(8rem, 14vw, 9.5rem);
}

.ymo-theme-v2.ymo-marketing .ymo-v2-roll-list-panel {
    --ymo-v2-roll-dim: color-mix(in srgb, #a1a1aa 42%, var(--ymo-v2-roll-bg) 58%);
    --ymo-v2-roll-accent: color-mix(in srgb, var(--ymo-primary, #2d6a4f) 38%, #86efac);
    --ymo-v2-roll-bg: color-mix(in srgb, var(--ymo-grey-900, #18181b) 90%, var(--ymo-primary, #2d6a4f) 10%);
    --ymo-v2-roll-grid: color-mix(in srgb, var(--ymo-primary, #2d6a4f) 14%, transparent);
    --ymo-v2-roll-lead: #f4f4f5;
    width: 100%;
    padding: clamp(1.05rem, 2.2vw, 1.35rem) clamp(1.15rem, 2.5vw, 1.5rem);
    border-radius: var(--ymo-v2-card-radius);
    background-color: var(--ymo-v2-roll-bg);
    background-image:
        linear-gradient(to right, var(--ymo-v2-roll-grid) 1px, transparent 1px),
        linear-gradient(to bottom, var(--ymo-v2-roll-grid) 1px, transparent 1px);
    background-size: 28px 28px;
    border: 1px solid color-mix(in srgb, var(--ymo-primary, #2d6a4f) 22%, transparent);
    box-shadow:
        var(--ymo-v2-shadow-soft),
        0 0 0 1px color-mix(in srgb, #ffffff 6%, transparent) inset;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-roll-list {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    column-gap: clamp(1.15rem, 3vw, 1.75rem);
    min-height: clamp(7.25rem, 13vw, 8.5rem);
}

.ymo-theme-v2.ymo-marketing .ymo-v2-roll-list__lead {
    margin: 0;
    grid-column: 1;
    grid-row: 1;
    max-width: 11rem;
    font-size: clamp(1.25rem, 2.5vw, 1.625rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--ymo-v2-roll-lead);
    text-transform: lowercase;
    white-space: nowrap;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-roll-list__viewport {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    height: clamp(7.5rem, 15vw, 9rem);
    overflow: hidden;
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        #000 18%,
        #000 82%,
        transparent 100%
    );
}

.ymo-theme-v2.ymo-marketing .ymo-v2-roll-list__track {
    list-style: none;
    margin: 0;
    padding: 0;
    will-change: transform;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-roll-list[data-roll-loop="0"] .ymo-v2-roll-list__viewport {
    display: flex;
    align-items: center;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-roll-list[data-roll-loop="1"] .ymo-v2-roll-list__track {
    animation: ymo-v2-roll-marquee 32s linear infinite;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-roll-list__item {
    margin: 0;
    padding: 0.05rem 0;
    line-height: 1.1;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-roll-list__item a {
    display: inline-block;
    text-decoration: none;
    border-radius: 0.2rem;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-roll-list__item a:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--ymo-v2-roll-accent) 80%, #ffffff);
    outline-offset: 3px;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-roll-list__text {
    display: inline-block;
    font-size: clamp(1.3rem, 2.75vw, 1.75rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    text-transform: lowercase;
    background: linear-gradient(
        to bottom,
        var(--ymo-v2-roll-dim) 0%,
        var(--ymo-v2-roll-dim) 50%,
        var(--ymo-v2-roll-accent) 50%,
        var(--ymo-v2-roll-accent) 100%
    );
    background-size: 100% 200%;
    background-position: 0 calc(var(--roll-shift, 50) * 1%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: opacity 0.15s ease;
}

.ymo-theme-v2.ymo-marketing .ymo-v2-roll-list__item a:hover .ymo-v2-roll-list__text,
.ymo-theme-v2.ymo-marketing .ymo-v2-roll-list__item a:focus-visible .ymo-v2-roll-list__text {
    opacity: 0.92;
}

@keyframes ymo-v2-roll-marquee {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-50%);
    }
}

@media (max-width: 575.98px) {
    .ymo-theme-v2.ymo-marketing .ymo-v2-roll-list {
        grid-template-columns: 1fr;
        row-gap: 0.65rem;
        min-height: 0;
    }

    .ymo-theme-v2.ymo-marketing .ymo-v2-roll-list__lead,
    .ymo-theme-v2.ymo-marketing .ymo-v2-roll-list__viewport {
        grid-column: 1;
    }

    .ymo-theme-v2.ymo-marketing .ymo-v2-roll-list__viewport {
        grid-row: 2;
    }

    .ymo-theme-v2.ymo-marketing .ymo-v2-roll-list-panel-wrap {
        min-height: 0;
    }

    .ymo-theme-v2.ymo-marketing .ymo-v2-roll-list__viewport {
        width: 100%;
        height: 8.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ymo-theme-v2.ymo-marketing .ymo-v2-roll-list[data-roll-loop="1"] .ymo-v2-roll-list__track {
        animation: none;
    }

    .ymo-theme-v2.ymo-marketing .ymo-v2-roll-list__viewport {
        height: auto;
        max-height: none;
        overflow: visible;
        mask-image: none;
    }

    .ymo-theme-v2.ymo-marketing .ymo-v2-roll-list__text {
        background: none;
        -webkit-background-clip: unset;
        background-clip: unset;
        color: color-mix(in srgb, var(--ymo-v2-roll-accent) 55%, #e4e4e7);
    }
}

.ymo-theme-v2 .ymo-v2-cta-band--card .ymo-v2-cta-band__panel {
    max-width: none;
    margin: 0;
    padding: clamp(2rem, 4.5vw, 2.75rem) clamp(1.25rem, 3vw, 2rem);
    border-radius: var(--ymo-v2-card-radius);
    background: var(--md-sys-color-primary-container);
    color: var(--md-sys-color-on-primary-container);
    border: 1px solid color-mix(in srgb, var(--ymo-primary) 12%, transparent);
    box-shadow: 0 12px 40px -20px rgba(17, 20, 24, 0.18);
}

.ymo-theme-v2 .ymo-v2-cta-band--card .md-title-lg,
.ymo-theme-v2 .ymo-v2-cta-band--card .md-body-md {
    color: var(--md-sys-color-on-primary-container);
}

.ymo-theme-v2 .ymo-v2-cta-band--card .md-body-md.ymo-muted {
    color: color-mix(in srgb, var(--md-sys-color-on-primary-container) 78%, var(--ymo-v2-ink-muted));
}

.ymo-theme-v2 .ymo-v2-cta-band--card a:not(.md-btn) {
    color: var(--ymo-primary-dark);
    font-weight: 500;
    text-decoration: none;
}

.ymo-theme-v2 .ymo-v2-cta-band--card a:not(.md-btn):hover {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.ymo-theme-v2 .ymo-v2-cta-band--card .md-btn--tonal {
    background: color-mix(in srgb, var(--ymo-v2-surface) 55%, var(--md-sys-color-primary-container));
    color: var(--ymo-primary-dark);
}

.ymo-theme-v2 .ymo-v2-cta-band--card .md-btn--tonal:hover,
.ymo-theme-v2 .ymo-v2-cta-band--card .md-btn--tonal:focus-visible {
    background: color-mix(in srgb, var(--ymo-v2-surface) 72%, var(--md-sys-color-primary-container));
    color: var(--ymo-primary-dark);
}

.ymo-theme-v2 .ymo-v2-cta-band--compact .ymo-v2-cta-band__panel {
    padding: clamp(1.5rem, 3vw, 2rem) clamp(1.25rem, 3vw, 1.75rem);
}

/* Footer v2 — masthead + link grid */
.ymo-theme-v2 .ymo-v2-footer {
    position: relative;
    margin-top: 0;
    padding: 0;
    color: var(--ymo-v2-ink-muted);
    background: linear-gradient(180deg, var(--ymo-v2-surface-dim) 0%, var(--ymo-v2-surface) 35%, var(--ymo-v2-surface) 100%);
    border-top: none;
}

.ymo-theme-v2 .ymo-v2-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--ymo-v2-card-accent);
}

.ymo-theme-v2 .ymo-v2-footer__inner {
    padding: clamp(2.25rem, 4.5vw, 3rem) 0 clamp(1.25rem, 3vw, 1.75rem);
}

.ymo-theme-v2 .ymo-v2-footer__masthead {
    display: grid;
    gap: clamp(1.5rem, 3vw, 2rem);
    align-items: start;
    padding-bottom: clamp(1.75rem, 3.5vw, 2.25rem);
    border-bottom: 1px solid color-mix(in srgb, var(--md-sys-color-outline-variant) 82%, transparent);
}

.ymo-theme-v2 .ymo-v2-footer__identity {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    min-width: 0;
}

.ymo-theme-v2 .ymo-v2-footer__logo {
    display: block;
    height: 48px;
    width: auto;
    margin-bottom: 1rem;
}

.ymo-theme-v2 .ymo-v2-footer__tagline {
    max-width: 26rem;
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--ymo-v2-ink-subtle);
}

.ymo-theme-v2 .ymo-v2-footer__reach {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    min-width: 0;
    padding: clamp(1.15rem, 2.5vw, 1.4rem) clamp(1.25rem, 2.5vw, 1.5rem);
    border-radius: var(--ymo-v2-card-radius);
    background: var(--ymo-v2-surface);
    border: var(--ymo-v2-card-border);
    box-shadow: var(--ymo-v2-card-shadow);
}

.ymo-theme-v2 .ymo-v2-footer__reach-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
    align-items: stretch;
}

.ymo-theme-v2 .ymo-v2-footer__reach-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    height: 100%;
    min-height: 3.75rem;
    padding: 0.7rem 0.8rem;
    border-radius: calc(var(--ymo-v2-card-radius) - 6px);
    background: var(--ymo-v2-surface-dim);
    border: 1px solid color-mix(in srgb, var(--md-sys-color-outline-variant) 75%, transparent);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ymo-theme-v2 .ymo-v2-footer__reach-link:hover {
    border-color: color-mix(in srgb, var(--ymo-primary, #2d6a4f) 35%, var(--md-sys-color-outline-variant));
    box-shadow: 0 6px 20px -14px rgba(17, 20, 24, 0.25);
    color: inherit;
}

.ymo-theme-v2 .ymo-v2-footer__reach-link .mi {
    flex-shrink: 0;
    font-size: 1.25rem;
    color: var(--ymo-primary, #2d6a4f);
}

.ymo-theme-v2 .ymo-v2-footer__reach-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.ymo-theme-v2 .ymo-v2-footer__reach-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ymo-v2-ink-subtle);
}

.ymo-theme-v2 .ymo-v2-footer__reach-value {
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--ymo-grey-900);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.ymo-theme-v2 .ymo-v2-footer__social {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--ymo-v2-ink-subtle);
}

.ymo-theme-v2 .ymo-v2-footer__social a {
    color: var(--ymo-v2-ink-muted);
    text-decoration: none;
}

.ymo-theme-v2 .ymo-v2-footer__social a:hover {
    color: var(--ymo-primary, #2d6a4f);
}

.ymo-theme-v2 .ymo-v2-footer__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ymo-theme-v2 .ymo-v2-footer__actions .md-btn--filled,
.ymo-theme-v2 .ymo-v2-footer__actions .md-btn--filled:hover {
    color: #fff;
    background: var(--ymo-primary, #2d6a4f);
    border-color: var(--ymo-primary, #2d6a4f);
}

.ymo-theme-v2 .ymo-v2-footer__actions .md-btn--outlined {
    color: var(--ymo-primary, #2d6a4f);
    border-color: color-mix(in srgb, var(--ymo-primary, #2d6a4f) 45%, var(--md-sys-color-outline-variant));
    background: var(--ymo-v2-surface);
}

.ymo-theme-v2 .ymo-v2-footer__col {
    min-width: 0;
}

.ymo-theme-v2 .ymo-v2-footer__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 2rem) clamp(1.25rem, 2.5vw, 1.75rem);
    padding: clamp(1.75rem, 3.5vw, 2.25rem) 0;
}

.ymo-theme-v2 .ymo-v2-footer__heading {
    margin: 0 0 0.75rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ymo-grey-900);
}

.ymo-theme-v2 .ymo-v2-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.ymo-theme-v2 .ymo-v2-footer__list a {
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--ymo-v2-ink-muted);
    text-decoration: none;
}

.ymo-theme-v2 .ymo-v2-footer__list a:hover {
    color: var(--ymo-primary, #2d6a4f);
}

.ymo-theme-v2 .ymo-v2-footer__areas {
    margin-top: 0.25rem;
    background: var(--ymo-v2-surface);
    border: var(--ymo-v2-card-border);
    border-radius: var(--ymo-v2-card-radius);
    overflow: hidden;
    box-shadow: var(--ymo-v2-card-shadow);
}

.ymo-theme-v2 .ymo-v2-footer__areas .ymo-footer-areas__summary {
    color: var(--ymo-grey-900);
}

.ymo-theme-v2 .ymo-v2-footer__areas .ymo-footer-areas__summary::after {
    background: var(--ymo-v2-surface-muted);
    color: var(--ymo-grey-900);
}

.ymo-theme-v2 .ymo-v2-footer__areas .ymo-footer-areas__body {
    border-top-color: color-mix(in srgb, var(--md-sys-color-outline-variant) 85%, transparent);
}

.ymo-theme-v2 .ymo-v2-footer__areas .ymo-footer-areas__city {
    color: var(--ymo-grey-900);
}

.ymo-theme-v2 .ymo-v2-footer__bottom {
    margin-top: clamp(1rem, 2vw, 1.35rem);
    padding-top: 1rem;
    border-top: 1px solid color-mix(in srgb, var(--md-sys-color-outline-variant) 85%, transparent);
    font-size: 0.8125rem;
    color: var(--ymo-v2-ink-subtle);
}

@media (min-width: 768px) {
    .ymo-theme-v2 .ymo-v2-footer__masthead {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        column-gap: clamp(1.75rem, 4vw, 3rem);
        align-items: start;
    }

    .ymo-theme-v2 .ymo-v2-footer__links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .ymo-theme-v2 .ymo-v2-footer__reach-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ymo-theme-v2 .ymo-v2-footer__links {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

/* Legacy footer hooks (non-v2 branch) */
.ymo-theme-v2 .ymo-footer:not(.ymo-v2-footer) {
    background: var(--ymo-v2-surface);
    color: var(--ymo-v2-ink-muted);
    border-top: 1px solid color-mix(in srgb, var(--md-sys-color-outline-variant) 88%, transparent);
}

.ymo-theme-v2 .ymo-footer a:not(.md-btn) {
    color: var(--ymo-v2-ink-muted);
}

.ymo-theme-v2 .ymo-footer a:not(.md-btn):hover {
    color: var(--ymo-primary, #2d6a4f);
}

.ymo-theme-v2 .ymo-floating-action {
    box-shadow: 0 8px 24px rgba(17, 20, 24, 0.22);
}

/* -------------------------------------------------------------------------
   Radical hero — home (dark typographic panel + full-bleed photo + metrics)
   ------------------------------------------------------------------------- */

.ymo-theme-v2 .ymo-hero--v2-radical {
    border-bottom: none;
    overflow: hidden;
    background: #12161c;
    margin-bottom: 0;
}

.ymo-theme-v2 .ymo-v2-hero-radical__stage {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: clamp(520px, 82vh, 760px);
}

.ymo-theme-v2 .ymo-v2-hero-radical__copy {
    position: relative;
    z-index: 3;
    flex: 1;
    display: flex;
    align-items: center;
    background:
        linear-gradient(155deg, #0f1216 0%, #162218 42%, #2c5429 118%);
    color: #fff;
    padding: clamp(2.25rem, 5vw, 3.5rem) max(1.25rem, env(safe-area-inset-left))
        clamp(2rem, 4vw, 3rem) max(1.25rem, env(safe-area-inset-right));
}

.ymo-theme-v2 .ymo-v2-hero-radical__copy-inner {
    width: 100%;
    max-width: 36rem;
}

.ymo-theme-v2 .ymo-hero--v2-radical-subpage .ymo-v2-hero-radical__copy .container {
    width: 100%;
}

.ymo-theme-v2 .ymo-hero--v2-radical-subpage .ymo-v2-hero-radical__copy-inner {
    max-width: none;
}

.ymo-theme-v2 .ymo-hero--v2-radical-subpage .ymo-v2-hero-radical__copy .ymo-v2-hero-cta {
    max-width: none;
}

.ymo-theme-v2 .ymo-v2-hero-display {
    font-size: clamp(2.35rem, 6.2vw, 4.25rem);
    font-weight: 700;
    letter-spacing: -0.042em;
    line-height: 1.02;
    color: #fff;
    text-wrap: balance;
}

.ymo-theme-v2 .ymo-v2-hero-lead {
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
    line-height: 1.55;
    max-width: 34rem;
}

.ymo-theme-v2 .ymo-v2-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ymo-theme-v2 .ymo-v2-hero-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.85rem;
    border-radius: var(--md-shape-corner-full);
    font-size: 0.8125rem;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
}

.ymo-theme-v2 .ymo-v2-hero-radical .ymo-v2-hero-cta .md-btn--filled {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.ymo-theme-v2 .ymo-v2-hero-radical__copy .md-btn--on-dark,
.ymo-theme-v2 .ymo-v2-hero-radical__copy .md-btn--outlined,
.ymo-theme-v2 .ymo-v2-hero-radical__copy .md-btn--outlined.md-btn--on-dark {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff;
}

.ymo-theme-v2 .ymo-v2-hero-radical__copy .md-btn--on-dark:hover,
.ymo-theme-v2 .ymo-v2-hero-radical__copy .md-btn--outlined:hover,
.ymo-theme-v2 .ymo-v2-hero-radical__copy .md-btn--outlined.md-btn--on-dark:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
}

.ymo-theme-v2 .ymo-v2-hero-radical__copy .md-btn--tonal {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.ymo-theme-v2 .ymo-v2-hero-display--sub {
    font-size: clamp(2rem, 4.5vw, 3.1rem);
}

.ymo-theme-v2 .ymo-v2-hero-radical__stage--solo {
    min-height: 0;
    display: block;
}

.ymo-theme-v2 .ymo-v2-hero-radical__copy--full {
    clip-path: none;
    max-width: none;
}

.ymo-theme-v2 .ymo-hero--v2-radical-subpage .ymo-v2-hero-radical__stage:not(.ymo-v2-hero-radical__stage--solo) {
    min-height: clamp(420px, 58vh, 620px);
}

.ymo-theme-v2 .ymo-v2-eyebrow--on-dark {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ymo-theme-v2 .ymo-v2-hero-radical__copy .ymo-v2-hero-chips-label {
    color: rgba(255, 255, 255, 0.55);
}

.ymo-theme-v2 .ymo-v2-hero-radical__copy .ymo-v2-hero-phone,
.ymo-theme-v2 .ymo-v2-hero-radical__copy .ymo-hero__phone {
    color: rgba(255, 255, 255, 0.9);
}

.ymo-theme-v2 .ymo-v2-hero-radical__copy .ymo-v2-hero-phone:hover,
.ymo-theme-v2 .ymo-v2-hero-radical__copy .ymo-hero__phone:hover {
    color: #fff;
}

.ymo-theme-v2 .ymo-v2-hero-foot--radical-home.container {
    justify-content: center;
}

.ymo-theme-v2 .ymo-v2-hero-foot--radical-home .ymo-v2-hero-metrics {
    width: 100%;
    max-width: 680px;
}

.ymo-theme-v2 .ymo-v2-hero-radical__media {
    position: relative;
    flex: 0 0 auto;
    min-height: clamp(220px, 38vw, 340px);
    overflow: hidden;
}

.ymo-theme-v2 .ymo-v2-hero-radical__photo {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    display: block;
}

.ymo-theme-v2 .ymo-v2-hero-radical__media-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(15, 18, 22, 0.35) 0%, transparent 40%);
    pointer-events: none;
}

/* Shared hero CTA + metrics foot (all v2 hero types) */
.ymo-theme-v2 .ymo-v2-hero-cta {
    gap: 0.65rem;
    margin-bottom: 0;
}

.ymo-theme-v2 .ymo-v2-hero-foot {
    position: relative;
    z-index: 4;
    display: flex;
    justify-content: center;
    margin-top: clamp(1.25rem, 3vw, 1.75rem);
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.ymo-theme-v2 .ymo-v2-hero-foot .ymo-v2-hero-metrics {
    width: 100%;
}

.ymo-theme-v2 .ymo-v2-home--after-radical,
.ymo-theme-v2 .ymo-v2-page--after-hero {
    padding-top: 0;
}

.ymo-theme-v2 .ymo-v2-hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    padding: clamp(0.85rem, 2vw, 1.15rem) clamp(1rem, 2.5vw, 1.35rem);
    background: var(--ymo-v2-surface);
    border: 1px solid var(--md-sys-color-outline-variant);
    border-radius: var(--ymo-v2-radius-xl);
    box-shadow: var(--ymo-v2-shadow-soft);
}

.ymo-theme-v2 .ymo-v2-hero-metrics--count-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 0.35rem 0.5rem;
}

.ymo-theme-v2 .ymo-v2-hero-metrics--count-3 .ymo-v2-hero-metric {
    background: transparent;
    border-radius: 0;
    padding: 0.85rem 1rem;
    border-right: 1px solid var(--md-sys-color-outline-variant);
    justify-content: flex-start;
    text-align: left;
    flex-direction: row;
    align-items: center;
    gap: 0.65rem;
}

.ymo-theme-v2 .ymo-v2-hero-metrics--count-3 .ymo-v2-hero-metric:last-child {
    border-right: none;
}

.ymo-theme-v2 .ymo-v2-hero-metrics--count-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    padding: 0.35rem 0.5rem;
}

.ymo-theme-v2 .ymo-v2-hero-metrics--count-4 .ymo-v2-hero-metric {
    background: transparent;
    border-radius: 0;
    padding: 0.85rem 1rem;
    border-right: 1px solid var(--md-sys-color-outline-variant);
    justify-content: flex-start;
    text-align: left;
    flex-direction: row;
    align-items: center;
    gap: 0.65rem;
}

.ymo-theme-v2 .ymo-v2-hero-metrics--count-4 .ymo-v2-hero-metric:last-child {
    border-right: none;
}

.ymo-theme-v2 .ymo-v2-hero-metric {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.65rem;
    border-radius: var(--md-shape-corner-medium);
    background: var(--ymo-v2-surface-dim);
    min-width: 0;
}

.ymo-theme-v2 .ymo-v2-hero-metrics--count-3 .ymo-v2-hero-metric,
.ymo-theme-v2 .ymo-v2-hero-metrics--count-4 .ymo-v2-hero-metric {
    background: transparent;
}

.ymo-theme-v2 .ymo-v2-hero-metric__icon {
    color: var(--ymo-primary);
    font-size: 1.35rem;
    margin-top: 0.1rem;
}

.ymo-theme-v2 .ymo-v2-hero-metric__body {
    min-width: 0;
}

.ymo-theme-v2 .ymo-v2-hero-metric__value {
    display: block;
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ymo-grey-900);
    line-height: 1.2;
}

.ymo-theme-v2 .ymo-v2-hero-metric__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ymo-v2-ink-subtle);
    margin-top: 0.1rem;
    line-height: 1.25;
}

@media (min-width: 992px) {
    .ymo-theme-v2 .ymo-v2-hero-radical__stage {
        display: grid;
        grid-template-columns: minmax(0, 46%) minmax(0, 1fr);
        min-height: clamp(560px, 72vh, 780px);
    }

    .ymo-theme-v2 .ymo-v2-hero-radical__copy {
        clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
        padding-left: max(calc((100vw - 1140px) / 2 + 0.75rem), 1.5rem);
        padding-right: clamp(2rem, 4vw, 3.5rem);
        padding-bottom: clamp(2.5rem, 4vw, 3.25rem);
    }

    .ymo-theme-v2 .ymo-v2-hero-radical__media {
        position: absolute;
        inset: 0 0 0 36%;
        min-height: 100%;
        z-index: 1;
    }

    .ymo-theme-v2 .ymo-v2-hero-radical__media-scrim {
        background: linear-gradient(90deg, #0f1216 0%, rgba(15, 18, 22, 0.55) 18%, transparent 42%);
    }

    .ymo-theme-v2 .ymo-hero--home-v2 .ymo-v2-hero-foot--radical-home.container {
        justify-content: flex-end;
        margin-top: clamp(-3.25rem, -4.5vw, -2.5rem);
        padding-left: max(calc((100vw - 1140px) / 2 + 0.75rem), 1.5rem);
        padding-right: max(calc((100vw - 1140px) / 2 + 0.75rem), 1.5rem);
    }

    .ymo-theme-v2 .ymo-hero--home-v2 .ymo-v2-hero-foot--radical-home .ymo-v2-hero-metrics {
        width: min(100%, 680px);
        max-width: 56vw;
        min-width: min(100%, 520px);
    }

    .ymo-theme-v2 .ymo-hero--v2-radical-subpage .ymo-v2-hero-foot--radical-home.container {
        justify-content: center;
        margin-top: clamp(-3.25rem, -4.5vw, -2.5rem);
        padding-left: var(--bs-gutter-x, 0.75rem);
        padding-right: var(--bs-gutter-x, 0.75rem);
    }

    .ymo-theme-v2 .ymo-hero--v2-radical-subpage .ymo-v2-hero-foot--radical-home .ymo-v2-hero-metrics {
        width: min(100%, 680px);
        max-width: 680px;
        min-width: 0;
    }

    .ymo-theme-v2 .ymo-v2-hero-radical__copy .ymo-v2-hero-cta {
        max-width: 36rem;
    }
}

@media (max-width: 575.98px) {
    .ymo-theme-v2 .ymo-v2-hero-metrics--count-3,
    .ymo-theme-v2 .ymo-v2-hero-metrics--count-4 {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: clamp(0.85rem, 2vw, 1.15rem);
    }

    .ymo-theme-v2 .ymo-v2-hero-metrics--count-3 .ymo-v2-hero-metric,
    .ymo-theme-v2 .ymo-v2-hero-metrics--count-4 .ymo-v2-hero-metric {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        border-right: none;
        background: var(--ymo-v2-surface-dim);
        border-radius: var(--md-shape-corner-medium);
    }
}

@media (max-width: 991.98px) {
    .ymo-theme-v2 .ymo-v2-hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .ymo-theme-v2 .ymo-v2-hero-cta .md-btn {
        width: 100%;
        justify-content: center;
    }

    .ymo-theme-v2 .ymo-v2-hero-foot--radical-home.container {
        justify-content: center;
        margin-top: clamp(1.25rem, 3vw, 1.75rem);
    }

    .ymo-theme-v2 .ymo-v2-hero-foot--radical-home .ymo-v2-hero-metrics {
        width: 100%;
        max-width: 680px;
        min-width: 0;
    }
}

/* 3D orbit carousel (UIverse-style) — service link grids, desktop only */
.ymo-theme-v2.ymo-marketing .ymo-v2-card-orbit-viewport--active {
    --orbit-radius: clamp(280px, 34vw, 440px);
    --orbit-tilt: -14deg;
    --orbit-duration: 24s;
    --orbit-flatten-ms: 920ms;
    --orbit-grid-ms: 560ms;
}

@media (min-width: 992px) {
    .ymo-theme-v2.ymo-marketing .ymo-v2-card-orbit-viewport--active {
        overflow: visible;
        perspective: 1200px;
        min-height: clamp(440px, 48vw, 600px);
        margin: -2rem -1.25rem 0.5rem;
        padding: 2rem 1.25rem;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: min-height var(--orbit-flatten-ms) cubic-bezier(0.22, 1, 0.36, 1);
    }

    .ymo-theme-v2.ymo-marketing .ymo-v2-card-orbit-viewport--active.is-flat,
    html:not(.js) .ymo-theme-v2.ymo-marketing .ymo-v2-card-orbit-viewport--active:hover,
    html:not(.js) .ymo-theme-v2.ymo-marketing .ymo-v2-card-orbit-viewport--active:focus-within {
        min-height: 0;
        perspective: none;
    }

    .ymo-theme-v2.ymo-marketing .ymo-v2-card-grid--orbit.row {
        position: relative;
        flex-wrap: nowrap;
        width: 100%;
        max-width: var(--ymo-v2-max-wide, 72rem);
        height: clamp(440px, 48vw, 600px);
        margin: 0 auto;
        transform-style: preserve-3d;
        animation: ymo-v2-orbit-spin var(--orbit-duration) linear infinite;
        transform: rotateX(var(--orbit-tilt));
        will-change: transform;
    }

    .ymo-theme-v2.ymo-marketing .ymo-v2-card-orbit-viewport--active.is-flat .ymo-v2-card-grid--orbit.row,
    html:not(.js) .ymo-theme-v2.ymo-marketing .ymo-v2-card-orbit-viewport--active:hover .ymo-v2-card-grid--orbit.row,
    html:not(.js) .ymo-theme-v2.ymo-marketing .ymo-v2-card-orbit-viewport--active:focus-within .ymo-v2-card-grid--orbit.row {
        animation: none;
        transform: none;
        transform-style: flat;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem;
        height: auto;
        flex-wrap: wrap;
        will-change: auto;
    }

    .ymo-theme-v2.ymo-marketing .ymo-v2-card-grid--orbit > [class*="col-"] {
        position: absolute;
        top: 50%;
        left: 50%;
        width: min(100%, 236px) !important;
        max-width: 236px;
        flex: none;
        margin: 0 !important;
        padding: 0 !important;
        transform-style: preserve-3d;
        transform:
            translate(-50%, -50%)
            rotateY(calc(var(--orbit-i) * (360deg / var(--orbit-count, 9))))
            translateZ(var(--orbit-radius))
            rotateY(calc(var(--orbit-i) * (-360deg / var(--orbit-count, 9))));
    }

    .ymo-theme-v2.ymo-marketing .ymo-v2-card-orbit-viewport--active.is-flat .ymo-v2-card-grid--orbit > [class*="col-"],
    html:not(.js) .ymo-theme-v2.ymo-marketing .ymo-v2-card-orbit-viewport--active:hover .ymo-v2-card-grid--orbit > [class*="col-"],
    html:not(.js) .ymo-theme-v2.ymo-marketing .ymo-v2-card-orbit-viewport--active:focus-within .ymo-v2-card-grid--orbit > [class*="col-"] {
        position: relative;
        top: auto;
        left: auto;
        width: auto !important;
        max-width: none;
        transform: none;
        transform-style: flat;
    }

    .ymo-theme-v2.ymo-marketing .ymo-v2-card-orbit-viewport--active.is-orbit-flip .ymo-v2-card-grid--orbit > [class*="col-"] {
        z-index: 2;
    }

    .ymo-theme-v2.ymo-marketing .ymo-v2-card-orbit-viewport--active.is-orbit-flip .ymo-v2-card-grid--orbit > [class*="col-"] .ymo-v2-card {
        will-change: transform;
    }

    .ymo-theme-v2.ymo-marketing .ymo-v2-card-grid--orbit .ymo-v2-card--duplex .ymo-v2-card__face {
        padding: clamp(1.1rem, 2.2vw, 1.35rem);
        box-shadow:
            var(--ymo-v2-card-shadow),
            0 0 20px -8px color-mix(in srgb, var(--ymo-primary, #2d6a4f) 35%, transparent);
    }

    .ymo-theme-v2.ymo-marketing .ymo-v2-card-grid--orbit .ymo-v2-card__title {
        font-size: clamp(1rem, 1.5vw, 1.0625rem);
    }

    .ymo-theme-v2.ymo-marketing .ymo-v2-card-grid--orbit .ymo-v2-card__teaser {
        font-size: 0.875rem;
        line-height: 1.55;
    }
}

@keyframes ymo-v2-orbit-spin {
    from {
        transform: rotateX(var(--orbit-tilt, -14deg)) rotateY(0deg);
    }

    to {
        transform: rotateX(var(--orbit-tilt, -14deg)) rotateY(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ymo-theme-v2.ymo-marketing a.ymo-v2-card,
    .ymo-theme-v2.ymo-marketing a.md-card-elevated.marketing-service-card {
        transition: none;
    }

    .ymo-theme-v2.ymo-marketing a.ymo-v2-card--interactive:hover,
    .ymo-theme-v2.ymo-marketing a.ymo-v2-card--interactive:focus-visible,
    .ymo-theme-v2.ymo-marketing a.md-card-elevated.marketing-service-card:hover,
    .ymo-theme-v2.ymo-marketing a.md-card-elevated.marketing-service-card:focus-visible {
        transform: none;
    }

    .ymo-theme-v2.ymo-marketing .ymo-v2-card__arrow {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .ymo-theme-v2.ymo-marketing .ymo-v2-card-grid--orbit.row {
        animation: none;
        transform: none;
        height: auto;
    }

    .ymo-theme-v2.ymo-marketing .ymo-v2-card-orbit-viewport--active {
        min-height: 0;
        overflow: visible;
    }

    .ymo-theme-v2.ymo-marketing .ymo-v2-card-grid--orbit > [class*="col-"] {
        position: static;
        width: auto !important;
        max-width: none;
        transform: none;
    }
}
