/* Page builder sections (Design, views/sections/). Loaded only on sites with a design (layouts/main.php). */

/* section styles */
.nv-ds { position: relative; }
/* the alt text of a photo drawn as a background (the hero): read by screen readers, not shown */
.nv-ds-sr { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.nv-ds-bg-surface, .nv-ds-bg-accent, .nv-ds-bg-dark, .nv-ds-bg-image { padding-bottom: var(--nova-section-space, 72px); margin-top: var(--nova-section-space, 72px); }
.nv-ds-bg-surface > .nv-section, .nv-ds-bg-accent > .nv-section, .nv-ds-bg-dark > .nv-section, .nv-ds-bg-image > .nv-section { padding-top: var(--nova-section-space, 72px); }
.nv-ds-bg-surface { background: var(--nova-soft); }
.nv-ds-bg-accent { background: var(--nova-accent); color: #fff; }
.nv-ds-bg-dark { background: var(--nova-ink); color: #fff; }
.nv-ds-bg-image { background-size: cover; background-position: center; color: #fff; }
.nv-ds-bg-image::before { content: ''; position: absolute; inset: 0; background: rgba(20,22,26,.5); }
.nv-ds-bg-image > * { position: relative; }
.nv-ds-bg-accent :is(h1, h2, h3, .nv-h2, p, a:not(.nv-btn), .nv-eyebrow),
.nv-ds-bg-dark :is(h1, h2, h3, .nv-h2, p, a:not(.nv-btn), .nv-eyebrow),
.nv-ds-bg-image :is(h1, h2, h3, .nv-h2, p, a:not(.nv-btn), .nv-eyebrow) { color: #fff !important; }
.nv-ds-bg-accent .nv-btn-primary { background: #fff; color: var(--nova-accent-ink); border-color: #fff; }
/* formatting owners add to headings and texts (Design::format): ==accent== in the accent color, or underlined on bands
   of that color and on photos; [words]{#hex} keep their own color */
.nv-ds-mark { background: none; color: var(--nova-accent); padding: 0; }
/* a size the owner picked ([words]{24}): exact on wide screens, smaller on tablets and phones (never under 16px for
   sizes above it), and never wider than the screen allows (sizes go up to 200px) */
.nv-ds-fs { font-size: min(calc(var(--fs) * 1px), 14vw); line-height: 1.15; }
@media (max-width: 1024px) { .nv-ds-fs { font-size: min(max(min(calc(var(--fs) * 1px), 16px), calc(var(--fs) * .85px)), 12vw); } }
@media (max-width: 760px) { .nv-ds-fs { font-size: min(max(min(calc(var(--fs) * 1px), 16px), calc(var(--fs) * .68px)), 13vw); } }
:is(.nv-ds-bg-accent, .nv-hero.has-image, .nv-ds-cta.has-image) .nv-ds-mark { color: inherit; text-decoration: underline; text-decoration-color: currentColor; text-decoration-thickness: .08em; text-underline-offset: .14em; }
.nv-ds-bg-dark .nv-ds-mark, body.nova.ds-scheme-dark .nv-ds-mark { color: var(--nova-accent-light, var(--nova-accent)); }
.nv-ds-prose blockquote { margin: 1em 0; padding: .2em 0 .2em 1em; border-left: 3px solid var(--nova-accent); color: var(--nova-subtle); font-style: italic; }
.nv-ds-prose h3 { margin: 1.4em 0 .5em; font-size: 1.2em; }
.nv-ds-prose ol { padding-left: 1.4em; }
/* a background photo darkened less, more or not at all (style overlay) */
.nv-ds-bg-image.nv-ds-ov-light::before { background: rgba(20,22,26,.28); }
.nv-ds-bg-image.nv-ds-ov-strong::before { background: rgba(20,22,26,.74); }
.nv-ds-bg-image.nv-ds-ov-none::before { display: none; }
/* a section's own light color (style bg_color): Nova's light palette inside it, also on a dark site */
.nv-ds-on-light {
    --nova-white: #fff; --nova-ink: #14161A; --nova-body: #2F343B; --nova-subtle: #4A505A; --nova-muted: #646A73;
    --nova-line: rgba(0,0,0,.08); --nova-line-strong: rgba(0,0,0,.14); --nova-soft: rgba(255,255,255,.7); color: var(--nova-ink);
}
.nv-ds-on-light :is(h1, h2, h3, .nv-h2) { color: var(--nova-ink); }
/* the section's own text color (style text_color): its headings and text, not cards that have their own background */
.nv-ds.has-text-color :is(h1, h2, h3, h4, .nv-h2, p, li, blockquote, .nv-eyebrow, .nv-ds-eyebrow, .nv-ds-sub, a:not(.nv-btn)):not(:is(.nv-card, .nv-ds-feature, .nv-ds-quote, .nv-cat-tile, .nv-ds-tile, .nv-ds-plan, .nv-ds-spot, .nv-ds-collection, .nv-ds-alerts-box, .nv-ds-photo) *) { color: var(--nv-ds-text) !important; }
/* in a colored band Nova's gray texts turn light; cards keep their light background, dark text and accent button */
:is(.nv-ds-bg-accent, .nv-ds-bg-dark, .nv-ds-bg-image) { --nova-subtle: rgba(255,255,255,.85); --nova-muted: rgba(255,255,255,.75); }
:is(.nv-ds-bg-accent, .nv-ds-bg-dark, .nv-ds-bg-image) :is(.nv-ds-cta, .nv-cat-tile, .nv-ds-feature, .nv-ds-quote) { --nova-subtle: #4A505A; --nova-muted: #646A73; color: var(--nova-ink); }
:is(.nv-ds-bg-accent, .nv-ds-bg-dark, .nv-ds-bg-image) :is(.nv-ds-cta, .nv-cat-tile, .nv-ds-feature, .nv-ds-quote) :is(h1, h2, h3, .nv-h2, a:not(.nv-btn), .nv-eyebrow) { color: var(--nova-ink) !important; }
:is(.nv-ds-bg-accent, .nv-ds-bg-dark, .nv-ds-bg-image) :is(.nv-ds-cta, .nv-cat-tile, .nv-ds-feature, .nv-ds-quote) p { color: var(--nova-subtle) !important; }
:is(.nv-ds-bg-accent, .nv-ds-bg-dark, .nv-ds-bg-image) a.nv-cat-tile { color: var(--nova-ink) !important; }
.nv-ds-bg-accent :is(.nv-ds-cta, .nv-cat-tile, .nv-ds-feature, .nv-ds-quote) .nv-btn-primary { background: var(--nova-accent); color: #fff; border-color: var(--nova-accent); }
.nv-ds-space-tight > .nv-section { padding-top: 36px; }
.nv-ds-space-loose > .nv-section { padding-top: 120px; }
.nv-ds-full > .nv-container { max-width: none; }
.nv-ds-center { text-align: center; }
/* style.device: a section shown on phones only, or on larger screens only (760px, Nova's phone layout) */
@media (max-width: 760px) { .nv-ds-only-desktop { display: none !important; } }
@media (min-width: 761px) { .nv-ds-only-mobile { display: none !important; } }
.nv-ds-center .nv-section-head { justify-content: center; text-align: center; }
.nv-ds-center .nv-ds-prose { margin-left: auto; margin-right: auto; }
.nv-ds-center .nv-ds-actions { justify-content: center; }

.nv-ds-heading { margin-bottom: 28px !important; }
/* the shared section heading (Design::head): eyebrow, heading, intro; large and xl sizes; split (heading left, intro right) */
.nv-ds-heading > .nv-ds-heading-main > .nv-h2, .nv-ds-heading > .nv-ds-heading-main > .nv-ds-eyebrow { margin-top: 0; }
.nv-ds-heading .nv-h2 { margin-bottom: 0; }
.nv-ds-eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--nova-accent-ink); }
:is(.nv-ds-bg-accent, .nv-ds-bg-dark, .nv-ds-bg-image) .nv-ds-eyebrow { color: rgba(255,255,255,.8) !important; }
body.nova .nv-ds .nv-ds-heading.is-large .nv-h2 { font-size: clamp(34px, 4.6vw, 58px) !important; line-height: 1.04 !important; letter-spacing: -0.035em; }
body.nova .nv-ds .nv-ds-heading.is-xl .nv-h2 { font-size: clamp(44px, 7.2vw, 104px) !important; line-height: .98 !important; letter-spacing: -0.045em; max-width: 16ch; }
.nv-ds-heading.is-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 16px clamp(24px, 5vw, 72px); align-items: end; }
.nv-ds-heading.is-split .nv-ds-sub { margin: 0; max-width: 46ch; }
.nv-ds-center .nv-ds-heading:not(.is-split) .nv-h2 { margin-inline: auto; }
@media (max-width: 760px) { .nv-ds-heading.is-split { grid-template-columns: minmax(0, 1fr); } }

/* hero */
.nv-hero.nv-hero-light::before { background: rgba(255,255,255,.55); }
.nv-hero.nv-hero-light.has-image h1, .nv-hero.nv-hero-light.has-image .nv-lead { color: var(--nova-ink); text-shadow: none; }
.nv-hero.nv-hero-dark::before { background: rgba(20,22,26,.65); }
/* overlay dark without a photo: a dark band in the site's ink color */
.nv-hero.nv-hero-dark:not(.has-image) { background: var(--nova-ink); }
.nv-hero.nv-hero-dark:not(.has-image) h1, .nv-hero.nv-hero-dark:not(.has-image) .nv-lead { color: #fff; }
.nv-hero.nv-hero-dark:not(.has-image) .nv-muted { color: rgba(255,255,255,.75); }
.nv-hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* categories as a list */
.nv-ds-cat-list { list-style: none; margin: 0; padding: 0; columns: 3 220px; column-gap: 32px; }
.nv-ds-cat-list li { break-inside: avoid; border-bottom: 1px solid var(--nova-line); }
.nv-ds-cat-list a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; color: var(--nova-ink); font-weight: 600; text-decoration: none; }
.nv-ds-cat-list a:hover { color: var(--nova-accent); }
.nv-ds-cat-list small { color: var(--nova-muted); font-weight: 500; }

/* text */
.nv-ds-prose { max-width: 1080px; font-size: 17px; line-height: 1.65; }
.nv-ds-prose.is-narrow { max-width: 760px; }
.nv-ds-prose .nv-h2 { margin-bottom: 20px; }
.nv-ds-prose p { margin: 0 0 16px; }
.nv-ds-prose ul { margin: 0 0 16px; padding-left: 22px; }
.nv-ds-prose a { color: var(--nova-accent-ink); text-decoration: underline; }
.nv-ds-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 0 !important; }

/* image and text */
.nv-ds-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.nv-ds-split.is-reversed .nv-ds-split-media { order: 2; }
.nv-ds-split-media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--nova-radius-lg); overflow: hidden; background: var(--nova-soft); }
.nv-ds-split-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 760px) {
    .nv-ds-split { grid-template-columns: 1fr; }
    .nv-ds-split.is-reversed .nv-ds-split-media { order: 0; }
}

/* grids: features, testimonials, stats */
.nv-ds-grid { display: grid; gap: 24px; grid-template-columns: repeat(var(--nv-ds-cols, 3), minmax(0, 1fr)); }
.nv-ds-cols-1 { --nv-ds-cols: 1; }
.nv-ds-cols-2 { --nv-ds-cols: 2; }
.nv-ds-cols-3 { --nv-ds-cols: 3; }
.nv-ds-cols-4 { --nv-ds-cols: 4; }
@media (max-width: 900px) { .nv-ds-cols-3, .nv-ds-cols-4 { --nv-ds-cols: 2; } }
@media (max-width: 560px) { .nv-ds-grid { --nv-ds-cols: 1; } .nv-ds-stats { --nv-ds-cols: 2; } }

.nv-ds-feature { padding: 28px; border-radius: var(--nova-radius); background: var(--nova-card-bg, #fff); border: var(--nova-card-border, 1px solid var(--nova-line)); box-shadow: var(--nova-card-shadow, none); color: var(--nova-ink); }
.nv-ds-feature h3 { margin: 16px 0 6px; font-size: 18px; font-weight: 700; color: var(--nova-ink) !important; }
.nv-ds-feature p { margin: 0; color: var(--nova-subtle) !important; }
.nv-ds-feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: calc(var(--nova-radius) * .78); background: var(--nova-accent-soft); color: var(--nova-accent-ink); }

.nv-ds-quote { margin: 0; padding: 28px; border-radius: var(--nova-radius); background: var(--nova-card-bg, #fff); border: var(--nova-card-border, 1px solid var(--nova-line)); box-shadow: var(--nova-card-shadow, none); display: flex; flex-direction: column; justify-content: space-between; gap: 20px; color: var(--nova-ink); }
.nv-ds-quote blockquote { margin: 0; padding: 0; border: 0; font-size: 17px; line-height: 1.6; color: var(--nova-ink); }
.nv-ds-quote blockquote::before { content: '\201C'; display: block; font-size: 44px; line-height: .8; color: var(--nova-accent); }
.nv-ds-quote figcaption { display: flex; align-items: center; gap: 12px; }
.nv-ds-quote figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.nv-ds-quote figcaption b { display: block; color: var(--nova-ink); }
.nv-ds-quote figcaption small { color: var(--nova-muted); }

.nv-ds-stats > div { text-align: center; padding: 8px; }
.nv-ds-stats b { display: block; font-size: clamp(32px, 5vw, 48px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.nv-ds-stats span { color: var(--nova-muted); font-weight: 600; }

/* faq */
.nv-ds-faq details { border-bottom: 1px solid var(--nova-line); }
.nv-ds-faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; position: relative; font-weight: 700; font-size: 17px; }
.nv-ds-faq summary::-webkit-details-marker { display: none; }
.nv-ds-faq summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font-size: 24px; font-weight: 400; color: var(--nova-muted); }
.nv-ds-faq details[open] summary::after { content: '\2212'; }
.nv-ds-faq details > div { padding: 0 0 12px; color: var(--nova-subtle); }

/* call to action */
.nv-ds-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(28px, 5vw, 56px); border-radius: calc(var(--nova-radius-lg) * 7 / 6); background: var(--nova-accent-soft); }
.nv-ds-cta h2 { margin: 0; font-size: clamp(26px, 3.6vw, 38px) !important; letter-spacing: -0.03em !important; line-height: 1.1 !important; font-weight: 800; color: var(--nova-ink) !important; }
.nv-ds-cta p { margin: 8px 0 0; color: var(--nova-subtle) !important; }
.nv-ds-cta .nv-ds-actions { margin: 0 !important; }

/* logos */
.nv-ds-logos-heading { text-align: center; }
.nv-ds-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 48px; }
.nv-ds-logos img { max-height: 44px; max-width: 160px; width: auto; object-fit: contain; }
.nv-ds-logos.is-gray img { filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.nv-ds-logos.is-gray a:hover img, .nv-ds-logos.is-gray img:hover { filter: none; opacity: 1; }

/* "Follow us" builder section: the site's social profiles, bigger than the footer's own small icon row */
.nv-ds-follow-us { text-align: center; }
.nv-ds-follow-us-heading { margin: 0 0 8px; }
.nv-ds-follow-us-subtitle { margin: 0 0 20px; color: var(--nova-muted, #6B7280); }
.nv-ds-follow-us-links { justify-content: center; }

/* preview bar */
.nv-ds-preview-bar { position: sticky; top: 0; z-index: 1050; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: center; padding: 10px 16px; background: #14161A; color: #fff; font-size: 14px; }
.nv-ds-preview-bar a { color: #fff; text-decoration: underline; font-weight: 600; }

/* sections in slots inside a page column (listing results, ad sidebar, CMS pages, post an ad) */
.nv-ds-slot { margin: 24px 0; }
.nv-ds-slot .nv-ds > .nv-container,
.nv-ds-slot .nv-ds > .nv-section { padding-left: 0; padding-right: 0; max-width: none; }
.nv-ds-slot .nv-section { padding-top: 0; }
.nv-ds-slot .nv-ds + .nv-ds { margin-top: 32px; }
.nv-ad-side .nv-ds-slot .nv-ds-grid { --nv-ds-cols: 1; }

/* Code and custom HTML keep to the page width: nothing in them makes a phone scroll sideways */
.nv-ds-code, .nv-ds-custom-html { max-width: 100%; min-width: 0; overflow-x: clip; overflow-wrap: anywhere; }
.nv-ds-code img, .nv-ds-code video, .nv-ds-code iframe, .nv-ds-code table, .nv-ds-code pre,
.nv-ds-custom-html img, .nv-ds-custom-html video, .nv-ds-custom-html iframe, .nv-ds-custom-html table, .nv-ds-custom-html pre { max-width: 100%; }
.nv-ds-code img, .nv-ds-custom-html img { height: auto; }

/* ==========================================================================
   The modern look: tokens drawn as body classes (Design::body_classes). Each is optional; unset, Nova as before.
   ========================================================================== */

/* --- display: the size of headings --- */
body.nova.ds-display-large .nv-hero h1 { font-size: clamp(44px, 7.4vw, 88px) !important; line-height: 1 !important; letter-spacing: -0.045em !important; }
body.nova.ds-display-large :is(.nv-h2, .nv-ds h2) { font-size: clamp(30px, 3.8vw, 46px) !important; line-height: 1.08 !important; letter-spacing: -0.035em !important; }
body.nova.ds-display-huge .nv-hero h1 { font-size: clamp(52px, 10.5vw, 136px) !important; line-height: .94 !important; letter-spacing: -0.055em !important; max-width: 14ch; }
body.nova.ds-display-huge :is(.nv-h2, .nv-ds h2) { font-size: clamp(34px, 5.2vw, 68px) !important; line-height: 1.02 !important; letter-spacing: -0.045em !important; }
body.nova.ds-display-huge .nv-ds-cta h2 { font-size: clamp(30px, 4.4vw, 56px) !important; }
/* a long word set this big (in capitals, in a wide display face) can be wider than a phone: smaller on phones, and a
   word that still doesn't fit breaks with a hyphen instead of pushing the page sideways */
body.nova:is(.ds-display-large, .ds-display-huge) :is(.nv-hero h1, .nv-h2, .nv-ds h2) { overflow-wrap: anywhere; hyphens: auto; }
/* the extra-wide display faces (Unbounded, Syne, Archivo Black) at about three quarters of the size */
body.nova.ds-font-wide.ds-display-huge .nv-hero h1 { font-size: clamp(34px, 7.6vw, 100px) !important; }
body.nova.ds-font-wide.ds-display-large .nv-hero h1 { font-size: clamp(32px, 5.6vw, 66px) !important; }
body.nova.ds-font-wide.ds-display-huge :is(.nv-h2, .nv-ds h2) { font-size: clamp(26px, 4vw, 52px) !important; }
body.nova.ds-font-wide.ds-display-large :is(.nv-h2, .nv-ds h2) { font-size: clamp(24px, 3vw, 36px) !important; }
@media (max-width: 480px) {
    body.nova.ds-display-huge:is(.ds-head-uppercase, .ds-font-display) .nv-hero h1 { font-size: clamp(36px, 10.5vw, 52px) !important; }
    body.nova.ds-display-huge:is(.ds-head-uppercase, .ds-font-display) :is(.nv-h2, .nv-ds h2) { font-size: clamp(28px, 8vw, 34px) !important; }
    /* last: the extra-wide faces smaller still */
    body.nova.ds-font-wide:is(.ds-display-large, .ds-display-huge) .nv-hero h1 { font-size: clamp(26px, 7.4vw, 36px) !important; }
}

/* --- heading weight and style --- */
body.nova.ds-weight-regular :is(h1, h2, h3, .nv-h2) { font-weight: 400 !important; }
body.nova.ds-weight-semibold :is(h1, h2, h3, .nv-h2) { font-weight: 600 !important; }
body.nova.ds-weight-bold :is(h1, h2, h3, .nv-h2) { font-weight: 700 !important; }
body.nova.ds-weight-black :is(h1, h2, h3, .nv-h2) { font-weight: 900 !important; }
body.nova.ds-head-tight :is(h1, h2, .nv-h2) { letter-spacing: -0.06em !important; }
body.nova.ds-head-uppercase :is(h1, h2, .nv-h2) { text-transform: uppercase; letter-spacing: -0.015em !important; }
body.nova.ds-head-italic :is(h1, h2, .nv-h2) { font-style: italic; }
/* capitals and condensed display faces need their letters apart: the display sizes' tight tracking would make them
   touch (these come after, at the same weight, so they win) */
body.nova.ds-head-uppercase :is(.nv-hero h1, .nv-h2, .nv-ds h2) { letter-spacing: -0.01em !important; }
body.nova.ds-font-display :is(.nv-hero h1, .nv-h2, .nv-ds h2) { letter-spacing: 0 !important; }

/* --- shadow depth --- */
body.nova.ds-shadow-none { --nova-shadow: none; --nova-shadow-sm: none; }
body.nova.ds-shadow-soft { --nova-shadow: 0 1px 2px rgba(16,18,24,.04), 0 8px 24px rgba(16,18,24,.06); --nova-shadow-sm: 0 1px 2px rgba(16,18,24,.06); }
body.nova.ds-shadow-deep { --nova-shadow: 0 2px 4px rgba(16,18,24,.06), 0 24px 60px -12px rgba(16,18,24,.28); --nova-shadow-sm: 0 2px 8px rgba(16,18,24,.12); }
body.nova.ds-shadow-deep :is(.nv-ds-feature, .nv-ds-quote, .nv-cat-tile) { box-shadow: var(--nova-shadow); border-color: transparent; }

/* --- gradients (the accent and --nova-accent-2) --- */
body.nova.ds-grad-subtle .nv-hero:not(.has-image) { background: linear-gradient(165deg, var(--nova-accent-soft) 0%, var(--nova-soft) 55%, #fff 100%); }
body.nova.ds-grad-subtle .nv-ds-cta { background: linear-gradient(120deg, var(--nova-accent-soft), var(--nova-soft)); }
body.nova:is(.ds-grad-subtle, .ds-grad-bold, .ds-grad-mesh) .nv-ds-bg-accent { background: linear-gradient(120deg, var(--nova-accent) 0%, var(--nova-accent-2) 100%); }
body.nova.ds-grad-bold .nv-hero:not(.has-image) { background: linear-gradient(125deg, var(--nova-accent) 0%, var(--nova-accent-2) 100%); color: #fff; }
body.nova.ds-grad-bold .nv-hero:not(.has-image) :is(h1, .nv-lead, .nv-chips > .nv-muted) { color: #fff !important; }
body.nova.ds-grad-bold .nv-hero:not(.has-image) .nv-lead { opacity: .9; }
body.nova.ds-grad-bold .nv-ds-cta { background: linear-gradient(125deg, var(--nova-accent) 0%, var(--nova-accent-2) 100%); }
body.nova.ds-grad-bold .nv-ds-cta :is(h2, p) { color: #fff !important; }
body.nova.ds-grad-bold .nv-ds-cta .nv-btn-primary { background: #fff; color: var(--nova-accent-ink); border-color: #fff; }
body.nova:is(.ds-grad-bold, .ds-grad-mesh) .nv-btn-primary { background-image: linear-gradient(120deg, var(--nova-accent), var(--nova-accent-2)); border-color: transparent; }
/* mesh: soft blobs of both colors on the light surface; browsers without color-mix() get the subtle gradient */
body.nova.ds-grad-mesh :is(.nv-hero:not(.has-image), .nv-ds-cta) { background: linear-gradient(165deg, var(--nova-accent-soft) 0%, var(--nova-soft) 60%, #fff 100%); }
@supports (color: color-mix(in srgb, red 50%, white)) {
    body.nova.ds-grad-mesh :is(.nv-hero:not(.has-image), .nv-ds-cta) {
        background:
            radial-gradient(60% 70% at 12% 18%, color-mix(in srgb, var(--nova-accent) 30%, transparent) 0, transparent 70%),
            radial-gradient(50% 60% at 88% 12%, color-mix(in srgb, var(--nova-accent-2) 28%, transparent) 0, transparent 70%),
            radial-gradient(70% 60% at 70% 100%, color-mix(in srgb, var(--nova-accent) 18%, transparent) 0, transparent 70%),
            var(--nova-soft);
    }
}

/* --- texture: a faint pattern laid over the bands (hero, colored sections, call to action, footer), above their
   background (so a gradient stays) and below their content --- */
body.nova:is(.ds-tex-grain, .ds-tex-dots, .ds-tex-grid) :is(.nv-hero, .nv-ds-bg-surface, .nv-ds-bg-accent, .nv-ds-bg-dark, .nv-ds-cta, .nv-footer) { position: relative; isolation: isolate; }
body.nova:is(.ds-tex-grain, .ds-tex-dots, .ds-tex-grid) :is(.nv-hero, .nv-ds-bg-surface, .nv-ds-bg-accent, .nv-ds-bg-dark, .nv-ds-cta, .nv-footer)::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit; }
body.nova:is(.ds-tex-grain, .ds-tex-dots, .ds-tex-grid) .nv-hero.has-image::after { z-index: 0; }
body.nova:is(.ds-tex-grain, .ds-tex-dots, .ds-tex-grid) .nv-hero.has-image > * { position: relative; z-index: 1; }
body.nova.ds-tex-grain :is(.nv-hero, .nv-ds-bg-surface, .nv-ds-bg-accent, .nv-ds-bg-dark, .nv-ds-cta, .nv-footer)::after {
    opacity: .22; mix-blend-mode: soft-light;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body.nova.ds-tex-dots :is(.nv-hero, .nv-ds-bg-surface, .nv-ds-cta, .nv-footer)::after { background-image: radial-gradient(rgba(16,18,24,.10) 1px, transparent 1.4px); background-size: 18px 18px; }
body.nova.ds-tex-grid :is(.nv-hero, .nv-ds-bg-surface, .nv-ds-cta, .nv-footer)::after { background-image: linear-gradient(rgba(16,18,24,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(16,18,24,.055) 1px, transparent 1px); background-size: 40px 40px; }
/* on dark and colored bands (and the bold gradient, and a dark site) the pattern is light */
body.nova.ds-tex-dots :is(.nv-ds-bg-accent, .nv-ds-bg-dark)::after,
body.nova.ds-tex-dots:is(.ds-grad-bold, .ds-scheme-dark) :is(.nv-hero, .nv-ds-cta)::after,
body.nova.ds-tex-dots.ds-scheme-dark :is(.nv-ds-bg-surface, .nv-footer)::after { background-image: radial-gradient(rgba(255,255,255,.13) 1px, transparent 1.4px); background-size: 18px 18px; }
body.nova.ds-tex-grid :is(.nv-ds-bg-accent, .nv-ds-bg-dark)::after,
body.nova.ds-tex-grid:is(.ds-grad-bold, .ds-scheme-dark) :is(.nv-hero, .nv-ds-cta)::after,
body.nova.ds-tex-grid.ds-scheme-dark :is(.nv-ds-bg-surface, .nv-footer)::after { background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 40px 40px; }
/* the pattern fades out toward the bottom of the hero, so the page below starts clean */
body.nova:is(.ds-tex-dots, .ds-tex-grid) .nv-hero::after { -webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent); }

/* --- glass: a frosted, sticky header and translucent cards on photos and colored bands --- */
body.nova.ds-glass-on .nv-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.72); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); border-bottom-color: rgba(16,18,24,.06); }
body.nova.ds-glass-on .nv-catbar { background: rgba(255,255,255,.6); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
body.nova.ds-glass-on :is(.nv-ds-bg-accent, .nv-ds-bg-dark, .nv-ds-bg-image) :is(.nv-ds-feature, .nv-ds-quote) { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.22); color: #fff; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
body.nova.ds-glass-on :is(.nv-ds-bg-accent, .nv-ds-bg-dark, .nv-ds-bg-image) :is(.nv-ds-feature, .nv-ds-quote) :is(h3, p, blockquote, b, span) { color: #fff !important; }
body.nova.ds-glass-on .nv-hero.has-image .nv-pill { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.28); color: #fff; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }

/* --- section dividers: the bottom edge of a colored band --- */
body.nova:is(.ds-div-wave, .ds-div-slant, .ds-div-curve) :is(.nv-ds-bg-surface, .nv-ds-bg-accent, .nv-ds-bg-dark, .nv-ds-bg-image) { padding-bottom: calc(var(--nova-section-space, 72px) + 48px); }
body.nova.ds-div-slant :is(.nv-ds-bg-surface, .nv-ds-bg-accent, .nv-ds-bg-dark, .nv-ds-bg-image) { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 64px), 0 100%); }
body.nova.ds-div-curve :is(.nv-ds-bg-surface, .nv-ds-bg-accent, .nv-ds-bg-dark, .nv-ds-bg-image) { clip-path: ellipse(120% 100% at 50% 0); }
body.nova.ds-div-wave :is(.nv-ds-bg-surface, .nv-ds-bg-accent, .nv-ds-bg-dark, .nv-ds-bg-image) {
    -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 40px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1200v12c-100 18-200 28-300 28S700 30 600 20 400 0 300 0 100 10 0 20z'/%3E%3C/svg%3E") bottom / 100% 40px no-repeat;
    mask: linear-gradient(#000 0 0) top / 100% calc(100% - 40px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1200v12c-100 18-200 28-300 28S700 30 600 20 400 0 300 0 100 10 0 20z'/%3E%3C/svg%3E") bottom / 100% 40px no-repeat;
}

/* --- motion (js/design.js marks elements .ds-reveal, then .is-in when they scroll into view) --- */
@media (prefers-reduced-motion: no-preference) {
    body.nova:is(.ds-motion-subtle, .ds-motion-lively) .ds-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--ds-delay, 0s); }
    body.nova.ds-motion-lively .ds-reveal { transform: translateY(32px) scale(.98); }
    body.nova:is(.ds-motion-subtle, .ds-motion-lively) .ds-reveal.is-in { opacity: 1; transform: none; }
    body.nova:is(.ds-motion-subtle, .ds-motion-lively) :is(.nv-card-media, .nv-ds-feature, .nv-ds-quote, .nv-cat-tile, .nv-btn) { transition: transform .25s ease, box-shadow .25s ease; }
    body.nova:is(.ds-motion-subtle, .ds-motion-lively) :is(.nv-ds-feature, .nv-ds-quote, .nv-cat-tile):hover { transform: translateY(-4px); box-shadow: var(--nova-shadow); }
    body.nova.ds-motion-lively .nv-card:hover .nv-card-media { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--nova-shadow); }
    body.nova.ds-motion-lively .nv-btn-primary:hover { transform: translateY(-2px); }
}

/* --- a dark site: Nova's palette inverted; the accent stays --- */
body.nova.ds-scheme-dark {
    color-scheme: dark;
    --nova-white: #0C0D10; --nova-ink: #F3F4F6; --nova-body: #D6D9DE; --nova-subtle: #B3B8C0; --nova-muted: #959BA5;
    --nova-line: rgba(255,255,255,.08); --nova-line-strong: rgba(255,255,255,.14); --nova-soft: #15171C; --nova-soft-2: #111216;
    --nova-accent-soft: rgba(255,255,255,.07);
    --nova-shadow: 0 1px 2px rgba(0,0,0,.4), 0 16px 40px rgba(0,0,0,.45); --nova-shadow-sm: 0 1px 3px rgba(0,0,0,.5);
    background: var(--nova-white); color: var(--nova-ink);
}
@supports (color: color-mix(in srgb, red 50%, white)) {
    body.nova.ds-scheme-dark { --nova-accent-soft: color-mix(in srgb, var(--nova-accent) 18%, #0C0D10); --nova-accent-ink: color-mix(in srgb, var(--nova-accent) 55%, white); }
}
body.nova.ds-scheme-dark :is(.nv-header, .nv-catbar, .nv-pill, .nv-search, .nv-subcat, .nv-fav, .nv-panel, .nv-spec, .nv-buybox, .nv-plan, .nv-account-nav, .nv-account-subnav, .nv-list, .nv-done-card, .nv-chat, .nv-bubble, .nv-review, .nv-forum-post, .nv-ds-feature, .nv-ds-quote, .nv-cat-tile, .nv-empty .nv-icon-wrap, .nv-seller .nv-chips span, .nv-icon-btn) { background: var(--nova-soft); border-color: var(--nova-line-strong); color: var(--nova-ink); }
body.nova.ds-scheme-dark :is(.nv-btn-outline, .btn-default, .btn-light, .btn-outline-secondary, .btn-outline-dark, .btn-outline-primary, .nv-toggle button.is-active, .nv-segment .is-active, .nv-auth-switch a.is-active) { background: var(--nova-soft); color: var(--nova-ink); border-color: var(--nova-line-strong); }
body.nova.ds-scheme-dark :is(input, select, textarea, .form-control, .custom-select, .nv-select-inline select) { background-color: #15171C !important; color: var(--nova-ink) !important; border-color: var(--nova-line-strong) !important; }
body.nova.ds-scheme-dark :is(.dropdown-menu, .modal-content, .popover, .card, .list-group-item, .table, .nv-account-main .table-responsive) { background-color: #15171C; color: var(--nova-ink); border-color: var(--nova-line-strong); }
body.nova.ds-scheme-dark .dropdown-item { color: var(--nova-ink); }
body.nova.ds-scheme-dark .dropdown-item:hover { background: rgba(255,255,255,.06); }
body.nova.ds-scheme-dark :is(.nv-hero:not(.has-image), .nv-footer) { background-color: var(--nova-soft-2); }
body.nova.ds-scheme-dark .nv-ds-bg-dark { background: #000; }
body.nova.ds-scheme-dark .nv-ds-cta { background: var(--nova-soft); }
body.nova.ds-scheme-dark.ds-glass-on .nv-header { background: rgba(12,13,16,.7); }
body.nova.ds-scheme-dark.ds-glass-on .nv-catbar { background: rgba(12,13,16,.6); }
body.nova.ds-scheme-dark.ds-grad-subtle .nv-hero:not(.has-image) { background: linear-gradient(165deg, var(--nova-accent-soft) 0%, var(--nova-soft-2) 60%, #0C0D10 100%); }
body.nova.ds-scheme-dark.ds-grad-mesh :is(.nv-hero:not(.has-image), .nv-ds-cta) { background: #0C0D10; }
@supports (color: color-mix(in srgb, red 50%, white)) {
    body.nova.ds-scheme-dark.ds-grad-mesh :is(.nv-hero:not(.has-image), .nv-ds-cta) {
        background:
            radial-gradient(60% 70% at 12% 18%, color-mix(in srgb, var(--nova-accent) 34%, transparent) 0, transparent 70%),
            radial-gradient(50% 60% at 88% 12%, color-mix(in srgb, var(--nova-accent-2) 30%, transparent) 0, transparent 70%),
            #0C0D10;
    }
}
/* things Nova paints in its text color with white text: on a dark site they turn light with dark text */
body.nova.ds-scheme-dark :is(.nv-btn-dark, .btn-secondary, .btn-dark, .nv-badge-featured, .badge-secondary, .badge-dark, .nv-chip.is-active, .nv-icon-btn.is-active) { background: #F3F4F6; border-color: #F3F4F6; color: #0C0D10 !important; }
body.nova.ds-scheme-dark .pagination .active :is(a, .page-link, span) { background: #F3F4F6 !important; border-color: #F3F4F6 !important; color: #0C0D10 !important; }
body.nova.ds-scheme-dark :is(.nv-band, .nv-hero.nv-hero-dark:not(.has-image)) { background: #17191F; border: 1px solid var(--nova-line); }
body.nova.ds-scheme-dark .nv-chip { background: var(--nova-soft); border-color: var(--nova-line-strong); color: var(--nova-ink); }
body.nova.ds-scheme-dark .nv-card-media { background-color: #1A1C22; }
/* a condensed display face for headlines; small titles keep the body font */
body.nova.ds-font-display :is(h3, h4, h5, h6) { font-family: var(--nova-font) !important; text-transform: none !important; letter-spacing: -0.01em !important; font-style: normal; }

/* ==========================================================================
   Modern sections: hero layouts, bento, gallery, marquee, spotlight, the call to action with a photo
   ========================================================================== */
.nv-ds-sub { margin: 10px 0 0; max-width: 60ch; font-size: 17px; color: var(--nova-subtle); }
.nv-ds-center .nv-ds-sub { margin-inline: auto; }

/* --- hero: split (text beside a framed photo) --- */
.nv-hero-layout-split .nv-hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); column-gap: clamp(32px, 5vw, 72px); row-gap: 20px; align-items: center; justify-items: start; text-align: left; }
.nv-hero-layout-split .nv-hero-inner > * { grid-column: 1; }
.nv-hero-layout-split .nv-hero-media { grid-column: 2; grid-row: 1 / span 8; align-self: stretch; min-height: 380px; border-radius: var(--nova-radius-lg); overflow: hidden; box-shadow: var(--nova-shadow); }
.nv-hero-layout-split .nv-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nv-hero-layout-split :is(h1, .nv-lead) { max-width: none; text-align: left; }
.nv-hero-layout-split .nv-search { margin-left: 0; margin-right: 0; }
.nv-hero-layout-split .nv-chips, .nv-hero-layout-editorial .nv-chips, .nv-hero-layout-full .nv-chips { justify-content: flex-start !important; }
@media (max-width: 860px) {
    .nv-hero-layout-split .nv-hero-inner { grid-template-columns: minmax(0, 1fr); }
    .nv-hero-layout-split .nv-hero-media { grid-column: 1; grid-row: auto; min-height: 0; aspect-ratio: 4 / 3; order: -1; }
}

/* --- hero: full (a full-screen photo, the text at the bottom) --- */
.nv-hero-layout-full { min-height: min(86vh, 900px); display: flex; align-items: flex-end; }
.nv-hero-layout-full .nv-hero-inner { width: 100%; align-items: flex-start; text-align: left; padding-bottom: clamp(40px, 7vw, 88px); }
.nv-hero-layout-full.has-image::before { background: linear-gradient(180deg, rgba(10,11,14,.15) 0%, rgba(10,11,14,.35) 45%, rgba(10,11,14,.8) 100%); }
.nv-hero-layout-full :is(h1, .nv-lead) { text-align: left; }
.nv-hero-layout-full.has-image :is(h1, .nv-lead, .nv-chips > .nv-muted) { color: #fff !important; }

/* --- hero: editorial (big, left-aligned type) --- */
.nv-hero-layout-editorial .nv-hero-inner { align-items: flex-start; text-align: left; padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(48px, 7vw, 96px); }
.nv-hero-layout-editorial h1 { max-width: 18ch !important; text-align: left; font-size: clamp(48px, 9vw, 120px) !important; line-height: .96 !important; letter-spacing: -0.055em !important; }
.nv-hero-layout-editorial .nv-lead { text-align: left; max-width: 52ch; font-size: clamp(17px, 1.6vw, 21px); }
.nv-hero-layout-editorial .nv-search { margin-left: 0; }

/* --- bento --- */
.nv-ds-bento-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(190px, auto); grid-auto-flow: dense; gap: 16px; }
.nv-ds-tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 24px; border-radius: var(--nova-radius-lg); background: var(--nova-soft); color: var(--nova-ink); text-decoration: none !important; overflow: hidden; border: 1px solid var(--nova-line); min-width: 0; }
.nv-ds-tile.is-wide { grid-column: span 2; }
.nv-ds-tile.is-tall { grid-row: span 2; }
.nv-ds-tile-text { display: flex; flex-direction: column; gap: 6px; position: relative; }
.nv-ds-tile-text b { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 800; }
.nv-ds-tile-text span { color: var(--nova-subtle); line-height: 1.5; }
.nv-ds-tile.has-image { justify-content: flex-end; border: 0; color: #fff; min-height: 220px; }
.nv-ds-tile.has-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.nv-ds-tile.has-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(10,11,14,.78) 100%); }
.nv-ds-tile.has-image .nv-ds-tile-text { z-index: 1; }
.nv-ds-tile.has-image .nv-ds-tile-text span { color: rgba(255,255,255,.86); }
a.nv-ds-tile:hover img { transform: scale(1.04); }
a.nv-ds-tile:not(.has-image):hover { border-color: var(--nova-accent); }
.nv-ds-bento-grid .nv-ds-tile:nth-child(3n+2):not(.has-image) { background: var(--nova-accent-soft); }
@media (max-width: 900px) { .nv-ds-bento-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .nv-ds-bento-grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: minmax(160px, auto); } .nv-ds-tile.is-wide { grid-column: auto; } .nv-ds-tile.is-tall { grid-row: auto; min-height: 280px; } }

/* --- gallery --- */
.nv-ds-gallery-grid { display: grid; gap: 12px; }
.nv-ds-photo { position: relative; margin: 0; border-radius: var(--nova-radius); overflow: hidden; background: var(--nova-soft); min-width: 0; }
.nv-ds-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.nv-ds-photo a { display: block; height: 100%; }
.nv-ds-photo a:hover img { transform: scale(1.04); }
.nv-ds-photo figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(10,11,14,.6); color: #fff; font-size: 13px; font-weight: 600; width: fit-content; max-width: calc(100% - 24px); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.nv-ds-gallery-grid.is-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.nv-ds-gallery-grid.is-grid .nv-ds-photo { aspect-ratio: 4 / 3; }
.nv-ds-gallery-grid.is-mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(140px, 16vw, 220px); }
.nv-ds-gallery-grid.is-mosaic .nv-ds-photo:first-child { grid-column: span 2; grid-row: span 2; }
.nv-ds-gallery-grid.is-mosaic .nv-ds-photo:nth-child(6n) { grid-column: span 2; }
.nv-ds-gallery-grid.is-strip { grid-auto-flow: column; grid-auto-columns: clamp(220px, 30vw, 360px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.nv-ds-gallery-grid.is-strip .nv-ds-photo { aspect-ratio: 3 / 4; scroll-snap-align: start; }
@media (max-width: 700px) {
    .nv-ds-gallery-grid.is-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
    .nv-ds-gallery-grid.is-mosaic .nv-ds-photo:nth-child(6n) { grid-column: auto; }
}

/* --- marquee --- */
.nv-ds-marquee-band { overflow: hidden; padding: clamp(18px, 3vw, 32px) 0; border-block: 1px solid var(--nova-line); }
.nv-ds-marquee-inner { display: flex; width: max-content; }
.nv-ds-marquee-track { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); padding-right: clamp(20px, 3vw, 40px); flex-shrink: 0; }
.nv-ds-marquee-track :is(span, a) { font-family: var(--nova-font-heading, var(--nova-font)); font-weight: 800; letter-spacing: -0.035em; line-height: 1; white-space: nowrap; color: var(--nova-ink); text-decoration: none; }
.nv-ds-marquee-track a:hover { color: var(--nova-accent); }
.nv-ds-marquee-track i { font-style: normal; color: var(--nova-accent); font-size: .6em; }
.nv-ds-marquee-band.is-medium .nv-ds-marquee-track { font-size: clamp(22px, 3vw, 34px); }
.nv-ds-marquee-band.is-large .nv-ds-marquee-track { font-size: clamp(32px, 5vw, 64px); }
.nv-ds-marquee-band.is-huge .nv-ds-marquee-track { font-size: clamp(44px, 8vw, 112px); }
:is(.nv-ds-bg-accent, .nv-ds-bg-dark, .nv-ds-bg-image) .nv-ds-marquee-band { border-color: rgba(255,255,255,.14); }
:is(.nv-ds-bg-accent, .nv-ds-bg-dark, .nv-ds-bg-image) .nv-ds-marquee-track :is(span, a) { color: #fff !important; }
.nv-ds-bg-accent .nv-ds-marquee-track i { color: #fff; }
@media (prefers-reduced-motion: no-preference) {
    .nv-ds-marquee-inner { animation: nv-ds-marquee-band 40s linear infinite; }
    .nv-ds-marquee-band.is-slow .nv-ds-marquee-inner { animation-duration: 70s; }
    .nv-ds-marquee-band.is-fast .nv-ds-marquee-inner { animation-duration: 22s; }
    .nv-ds-marquee-band:hover .nv-ds-marquee-inner { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
    .nv-ds-marquee-inner { width: auto; }
    .nv-ds-marquee-track { flex-wrap: wrap; justify-content: center; padding-inline: 16px; }
    .nv-ds-marquee-track[aria-hidden] { display: none; }
}
@keyframes nv-ds-marquee-band { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- spotlight --- */
.nv-ds-spotlight-grid { display: grid; gap: 20px; }
.nv-ds-spotlight-grid.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nv-ds-spotlight-grid.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nv-ds-spot { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; min-width: 0; }
.nv-ds-spotlight-grid:is(.is-2, .is-3) .nv-ds-spot { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 16px; }
.nv-ds-spot-media { display: block; aspect-ratio: 4 / 3; border-radius: var(--nova-radius-lg); overflow: hidden; background: var(--nova-soft); box-shadow: var(--nova-shadow); }
.nv-ds-spot-media :is(img, picture) { width: 100%; height: 100%; object-fit: cover; display: block; }
.nv-ds-spot-media .nv-card-noimg { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: var(--nova-muted); }
.nv-ds-spot-text { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0; }
.nv-ds-spot-text h3 { margin: 0; font-size: clamp(24px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; overflow-wrap: anywhere; }
.nv-ds-spotlight-grid:is(.is-2, .is-3) .nv-ds-spot-text h3 { font-size: clamp(20px, 2vw, 26px); }
.nv-ds-spot-text h3 a { color: var(--nova-ink); text-decoration: none; }
.nv-ds-spot-text .nv-eyebrow { margin: 0; }
.nv-ds-spot-price { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; letter-spacing: -0.02em; color: var(--nova-accent); }
:is(.nv-ds-bg-accent, .nv-ds-bg-dark, .nv-ds-bg-image) .nv-ds-spot-text h3 a { color: #fff; }
:is(.nv-ds-bg-accent, .nv-ds-bg-dark, .nv-ds-bg-image) .nv-ds-spot-price { color: #fff; }
@media (max-width: 760px) { .nv-ds-spot, .nv-ds-spotlight-grid:is(.is-2, .is-3) { grid-template-columns: minmax(0, 1fr); } }
/* a listing without a photo: its text on a tinted card, not a large empty frame */
.nv-ds-spot.is-text { grid-template-columns: minmax(0, 1fr); align-content: end; min-height: 220px; padding: clamp(24px, 4vw, 44px); border-radius: var(--nova-radius-lg); background: var(--nova-accent-soft); }
/* listing cards without a photo (all sections and pages of a site with a design): a soft tint of the site's color */
body.nova .nv-card-media:has(> .nv-card-noimg) { background: var(--nova-accent-soft); }
body.nova .nv-card-media > .nv-card-noimg { color: var(--nova-accent-ink); opacity: .45; }

/* --- call to action: centered, and with a photo --- */
.nv-ds-cta.is-centered { flex-direction: column; text-align: center; justify-content: center; }
.nv-ds-cta.is-centered p { margin-inline: auto; max-width: 56ch; }
.nv-ds-cta.has-image { position: relative; isolation: isolate; overflow: hidden; background-size: cover; background-position: center; min-height: 260px; }
.nv-ds-cta.has-image::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, rgba(10,11,14,.82) 0%, rgba(10,11,14,.55) 55%, rgba(10,11,14,.35) 100%); }
.nv-ds-cta.has-image.is-centered::before { background: rgba(10,11,14,.6); }
/* white on its darkened photo; the same list as the dark-section card rule above (its .nv-h2 made it the stronger
   rule, leaving the heading dark on the photo in a dark or accent section) */
.nv-ds-cta.has-image :is(h1, h2, h3, .nv-h2, p, a:not(.nv-btn), .nv-eyebrow) { color: #fff !important; }
/* a marquee is a band on its own: no section padding around it, its own padding is enough */
.nv-ds-marquee:is(.nv-ds-bg-surface, .nv-ds-bg-accent, .nv-ds-bg-dark, .nv-ds-bg-image) { padding-bottom: 0; }
.nv-ds-marquee:is(.nv-ds-bg-surface, .nv-ds-bg-accent, .nv-ds-bg-dark, .nv-ds-bg-image) .nv-ds-marquee-band { border-block: 0; }
body.nova:is(.ds-div-wave, .ds-div-slant, .ds-div-curve) .nv-ds-marquee:is(.nv-ds-bg-surface, .nv-ds-bg-accent, .nv-ds-bg-dark, .nv-ds-bg-image) { padding-bottom: 0; clip-path: none; -webkit-mask: none; mask: none; }

/* --- graphic: the AI's own SVG art --- */
.nv-ds-graphic-box { display: grid; gap: clamp(24px, 5vw, 64px); align-items: center; position: relative; }
.nv-ds-art { min-width: 0; color: var(--nova-accent); }
.nv-ds-art svg { display: block; width: 100%; height: auto; max-height: 70vh; }
.nv-ds-graphic-box.is-center { justify-items: center; text-align: center; }
.nv-ds-graphic-box.is-center .nv-ds-art { width: 100%; }
.nv-ds-graphic-box.is-center.is-small .nv-ds-art { max-width: 240px; }
.nv-ds-graphic-box.is-center.is-medium .nv-ds-art { max-width: 520px; }
.nv-ds-graphic-box.is-center.is-large .nv-ds-art { max-width: 880px; }
.nv-ds-graphic-box.is-center .nv-ds-graphic-text { max-width: 60ch; }
.nv-ds-graphic-box:is(.is-left, .is-right) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.nv-ds-graphic-box.is-right .nv-ds-art { order: 2; }
.nv-ds-graphic-box:is(.is-left, .is-right).is-small { grid-template-columns: minmax(0, .5fr) minmax(0, 1fr); }
.nv-ds-graphic-box:is(.is-left, .is-right).is-large { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.nv-ds-graphic-box.is-right.is-small { grid-template-columns: minmax(0, 1fr) minmax(0, .5fr); }
.nv-ds-graphic-box.is-right.is-large { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
.nv-ds-graphic-box.is-background { min-height: 320px; place-items: center; text-align: center; }
.nv-ds-graphic-box.is-background .nv-ds-art { position: absolute; inset: 0; z-index: 0; opacity: .9; }
.nv-ds-graphic-box.is-background .nv-ds-art svg { width: 100%; height: 100%; max-height: none; }
.nv-ds-graphic-box.is-background .nv-ds-graphic-text { position: relative; z-index: 1; max-width: 60ch; }
.nv-ds-graphic-box.is-full .nv-ds-art { max-width: none; }
/* the hero's art (its art setting): the AI's SVG filling the band behind the text, when the hero has no photo */
.nv-hero.has-art { position: relative; overflow: hidden; isolation: isolate; }
.nv-hero-art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.nv-hero-art svg { display: block; width: 100%; height: 100%; }
.nv-ds-full .nv-ds-graphic-box.is-full { margin-inline: calc(-1 * var(--nova-gutter, 20px)); }
@media (max-width: 760px) {
    .nv-ds-graphic-box:is(.is-left, .is-right), .nv-ds-graphic-box:is(.is-left, .is-right):is(.is-small, .is-large) { grid-template-columns: minmax(0, 1fr); }
    .nv-ds-graphic-box.is-right .nv-ds-art { order: 0; }
    .nv-ds-graphic-box:is(.is-left, .is-right) .nv-ds-art { max-width: 420px; justify-self: center; width: 100%; }
}

/* text on the accent: white, or near-black on a light accent (Design::tokens_css sets --nova-on-accent) */
body.nova .nv-btn-primary, body.nova .nv-btn-primary:hover, body.nova .nv-btn-primary:focus { color: var(--nova-on-accent, #fff); }
body.nova .nv-ds-bg-accent .nv-btn-primary { color: var(--nova-accent-ink); }

/* ==========================================================================
   Section layouts (the layout setting): features rows, list and numbered; one big quote and a strip of quotes; stats
   as a band of giant numbers; FAQ beside its heading
   ========================================================================== */
/* features: rows (alternating sides) */
.nv-ds-rows { display: flex; flex-direction: column; gap: clamp(40px, 7vw, 96px); }
.nv-ds-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.nv-ds-row.is-reversed .nv-ds-row-media { order: 2; }
.nv-ds-row-media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--nova-radius-lg); overflow: hidden; background: var(--nova-accent-soft); display: flex; align-items: center; justify-content: center; color: var(--nova-accent-ink); }
.nv-ds-row-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nv-ds-row-text h3 { margin: 0 0 12px; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.12; letter-spacing: -0.025em; font-weight: 800; color: var(--nova-ink); }
.nv-ds-row-text p { margin: 0; max-width: 46ch; font-size: 17px; line-height: 1.65; color: var(--nova-subtle); }
@media (max-width: 760px) { .nv-ds-row { grid-template-columns: minmax(0, 1fr); } .nv-ds-row.is-reversed .nv-ds-row-media { order: 0; } }
/* features: list (no cards) and numbered (between rules) */
.nv-ds-features-list .nv-ds-feature, .nv-ds-features-numbered .nv-ds-feature { background: none; border: 0; box-shadow: none; border-radius: 0; padding: 0; }
.nv-ds-features-list .nv-ds-feature { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 18px; align-content: start; }
.nv-ds-features-list .nv-ds-feature-icon { grid-row: span 2; }
.nv-ds-features-list .nv-ds-feature h3 { margin-top: 2px; }
.nv-ds-features-numbered .nv-ds-feature { border-top: 2px solid var(--nova-ink); padding-top: 20px; }
.nv-ds-feature-num { display: block; font-family: var(--nova-font-heading, var(--nova-font)); font-size: clamp(36px, 4vw, 56px); font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--nova-accent); }
:is(.nv-ds-bg-accent, .nv-ds-bg-dark, .nv-ds-bg-image) .nv-ds-features-numbered .nv-ds-feature { border-top-color: rgba(255,255,255,.5); }
:is(.nv-ds-bg-accent, .nv-ds-bg-dark, .nv-ds-bg-image) :is(.nv-ds-features-list, .nv-ds-features-numbered) .nv-ds-feature :is(h3, p) { color: #fff !important; }
:is(.nv-ds-bg-accent, .nv-ds-bg-dark, .nv-ds-bg-image) .nv-ds-feature-num { color: #fff; }
/* testimonials: one big quote; a sideways strip */
.nv-ds-quotes-single .nv-ds-quote { background: none; border: 0; box-shadow: none; padding: 0; max-width: 900px; }
.nv-ds-quotes-single blockquote { font-family: var(--nova-font-heading, var(--nova-font)); font-size: clamp(24px, 3.4vw, 44px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; }
.nv-ds-quotes-single blockquote::before { font-size: 1.6em; }
.nv-ds-center .nv-ds-quotes-single .nv-ds-quote { margin-inline: auto; }
.nv-ds-center .nv-ds-quotes-single figcaption { justify-content: center; }
:is(.nv-ds-bg-accent, .nv-ds-bg-dark, .nv-ds-bg-image) .nv-ds-quotes-single :is(blockquote, b, small) { color: #fff !important; }
.nv-ds-quotes-strip { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 32vw, 380px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.nv-ds-quotes-strip .nv-ds-quote { scroll-snap-align: start; }
/* stats: a band of giant numbers */
.nv-ds-stats.is-band { gap: 0; }
.nv-ds-stats.is-band > div { text-align: left; padding: 8px clamp(16px, 3vw, 40px); border-left: 1px solid var(--nova-line-strong); }
.nv-ds-stats.is-band > div:first-child { border-left: 0; padding-left: 0; }
.nv-ds-stats.is-band b { font-family: var(--nova-font-heading, var(--nova-font)); font-size: clamp(48px, 8vw, 120px); line-height: .95; letter-spacing: -0.05em; }
:is(.nv-ds-bg-accent, .nv-ds-bg-dark, .nv-ds-bg-image) .nv-ds-stats.is-band > div { border-left-color: rgba(255,255,255,.2); }
@media (max-width: 560px) { .nv-ds-stats.is-band > div { border-left: 0; padding-left: 0; } }
/* faq: beside its heading */
.nv-ds-faq-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px clamp(32px, 6vw, 96px); align-items: start; }
.nv-ds-faq-split > .nv-ds-heading { position: sticky; top: 96px; }
@media (max-width: 860px) { .nv-ds-faq-split { grid-template-columns: minmax(0, 1fr); } .nv-ds-faq-split > .nv-ds-heading { position: static; } }

/* ==========================================================================
   Width, type scale, button style and image treatment (tokens width, type_scale, button_style, images)
   ========================================================================== */
/* headings break into balanced lines; paragraphs avoid a lonely last word */
body.nova :is(.nv-hero h1, .nv-h2, .nv-ds h2, .nv-ds h3) { text-wrap: balance; }
body.nova .nv-ds :is(p, blockquote) { text-wrap: pretty; }
/* the page's width */
body.nova.ds-width-narrow { --nova-container: 1080px; }
body.nova.ds-width-wide { --nova-container: 1440px; }
/* type scale: compact (smaller headings, 15px text), dramatic (large headings and 18px text); after the display sizes */
body.nova.ds-type-compact :is(.nv-h2, .nv-ds h2) { font-size: clamp(24px, 2.6vw, 32px) !important; }
body.nova.ds-type-compact :is(.nv-ds-prose, .nv-ds-sub, .nv-ds-row-text p) { font-size: 15px; }
body.nova.ds-type-dramatic :is(.nv-h2, .nv-ds h2) { font-size: clamp(36px, 5vw, 64px) !important; line-height: 1.02 !important; }
body.nova.ds-type-dramatic .nv-ds h3 { font-size: clamp(20px, 1.8vw, 24px); }
body.nova.ds-type-dramatic :is(.nv-ds-prose, .nv-ds-sub, .nv-ds-row-text p, .nv-ds-feature p) { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; }
/* buttons in the sections and the hero: outline, soft (a tint), arrow (solid with a moving arrow) */
body.nova.ds-btn-outline :is(.nv-ds, .nv-hero-buttons) .nv-btn-primary { background: transparent !important; background-image: none !important; color: var(--nova-accent-ink) !important; border: 2px solid var(--nova-accent) !important; }
body.nova.ds-btn-outline :is(.nv-ds-bg-accent, .nv-ds-bg-dark, .nv-ds-bg-image, .nv-hero.has-image, .nv-ds-cta.has-image) .nv-btn-primary { color: #fff !important; border-color: #fff !important; }
body.nova.ds-btn-soft :is(.nv-ds, .nv-hero-buttons) .nv-btn-primary { background: var(--nova-accent-soft) !important; background-image: none !important; color: var(--nova-accent-ink) !important; border-color: transparent !important; }
body.nova.ds-btn-arrow :is(.nv-ds, .nv-hero-buttons) .nv-btn-primary::after { content: '\2192'; display: inline-block; margin-left: 8px; transition: transform .2s ease; }
body.nova.ds-btn-arrow :is(.nv-ds, .nv-hero-buttons) .nv-btn-primary:hover::after { transform: translateX(4px); }
/* the sections' own photos (never the listings' photos): rounded, framed, black and white, tinted in the accent */
body.nova.ds-img-rounded :is(.nv-ds-split-media, .nv-ds-row-media, .nv-hero-media, .nv-ds-photo, .nv-ds-tile.has-image) { border-radius: calc(var(--nova-radius-lg) * 1.6 + 8px); }
body.nova.ds-img-framed :is(.nv-ds-split-media, .nv-ds-row-media, .nv-hero-media, .nv-ds-photo) { box-shadow: 0 0 0 8px var(--nova-white), 0 0 0 9px var(--nova-line-strong); }
body.nova.ds-img-mono :is(.nv-ds-split-media, .nv-ds-row-media, .nv-hero-media, .nv-ds-photo, .nv-ds-tile.has-image) img { filter: grayscale(1) contrast(1.06); transition: filter .4s ease; }
body.nova.ds-img-mono :is(.nv-ds-photo, .nv-ds-tile.has-image):hover img { filter: none; }
body.nova.ds-img-tint :is(.nv-ds-split-media, .nv-ds-row-media, .nv-hero-media, .nv-ds-photo) { background: var(--nova-accent); }
body.nova.ds-img-tint :is(.nv-ds-split-media, .nv-ds-row-media, .nv-hero-media, .nv-ds-photo) img { mix-blend-mode: luminosity; opacity: .92; }

/* ==========================================================================
   Motion presets per section (style.effect). Scroll-driven where the browser supports it, else at rest; nothing moves
   for visitors who ask to reduce motion, or in a still capture (html.ds-still, the page check)
   ========================================================================== */
.ds-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; max-width: 100%; }
/* a word wider than the line breaks inside its box instead of widening the page */
.ds-word > span { display: inline-block; max-width: 100%; overflow-wrap: break-word; }
@media (prefers-reduced-motion: no-preference) {
    html:not(.ds-still) .nv-ds-fx-split .ds-reveal .ds-word > span { transform: translateY(105%); transition: transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--ds-w, 0s); }
    html:not(.ds-still) .nv-ds-fx-split .ds-reveal.is-in .ds-word > span { transform: none; }
    @supports (animation-timeline: view()) {
        html:not(.ds-still) .nv-ds-fx-clip :is(.nv-ds-split-media, .nv-ds-row-media, .nv-ds-photo, .nv-ds-tile.has-image, .nv-ds-spot-media) { animation: ds-clip linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
        html:not(.ds-still) .nv-ds-fx-zoom :is(.nv-ds-split-media, .nv-ds-row-media, .nv-ds-photo, .nv-ds-tile.has-image, .nv-ds-spot-media) img { animation: ds-zoom linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
        html:not(.ds-still) .nv-ds-fx-parallax :is(.nv-ds-split-media, .nv-ds-row-media, .nv-ds-photo, .nv-ds-tile.has-image) img { animation: ds-parallax linear both; animation-timeline: view(); }
        html:not(.ds-still) .nv-ds-fx-parallax.nv-ds-bg-image { animation: ds-parallax-bg linear both; animation-timeline: view(); background-size: auto 130%; }
        html:not(.ds-still) body.nova.ds-motion-lively .nv-hero-layout-full.has-image { animation: ds-parallax-bg linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; background-size: auto 125%; }
    }
}
@keyframes ds-clip { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
@keyframes ds-zoom { from { transform: scale(1.18); } to { transform: scale(1); } }
@keyframes ds-parallax { from { transform: translateY(-7%) scale(1.15); } to { transform: translateY(7%) scale(1.15); } }
@keyframes ds-parallax-bg { from { background-position: 50% 0%; } to { background-position: 50% 100%; } }

/* ==========================================================================
   Pricing, video, tabs, before/after, email alerts
   ========================================================================== */
/* pricing: plan cards; the one with a badge stands out */
.nv-ds-plans { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: stretch; }
.nv-ds-plans.is-1 { max-width: 420px; }
.nv-ds-plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--nova-radius-lg); background: var(--nova-card-bg, var(--nova-white)); border: var(--nova-card-border, 1px solid var(--nova-line)); box-shadow: var(--nova-card-shadow, none); color: var(--nova-ink); }
.nv-ds-plan.is-featured { border: 2px solid var(--nova-accent); box-shadow: var(--nova-shadow); }
.nv-ds-plan-badge { position: absolute; top: -12px; left: 24px; padding: 4px 12px; border-radius: 999px; background: var(--nova-accent); color: var(--nova-on-accent, #fff); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.nv-ds-plan h3 { margin: 0; font-size: 18px; font-weight: 700; color: var(--nova-ink) !important; }
.nv-ds-plan-price { margin: 0; color: var(--nova-subtle) !important; }
.nv-ds-plan-price span { margin-left: 4px; }
.nv-ds-plan-price b { font-family: var(--nova-font-heading, var(--nova-font)); font-size: clamp(32px, 3.6vw, 44px); font-weight: 800; letter-spacing: -0.03em; color: var(--nova-ink); }
.nv-ds-plan-features { flex: 1; color: var(--nova-subtle); }
.nv-ds-plan-features ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.nv-ds-plan-features li { padding-left: 24px; position: relative; }
.nv-ds-plan-features li::before { content: ''; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--nova-accent); border-bottom: 2px solid var(--nova-accent); transform: rotate(-45deg); }
.nv-ds-plan .nv-ds-actions { margin-top: 4px !important; }
.nv-ds-plan .nv-btn { width: 100%; justify-content: center; }
/* video: a poster and a play button until it plays */
.nv-ds-video-box { margin: 0; }
.nv-ds-video-box :is(.nv-ds-video-play, iframe) { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--nova-radius-lg); }
.nv-ds-video-box.is-classic :is(.nv-ds-video-play, iframe) { aspect-ratio: 4 / 3; }
.nv-ds-video-box.is-tall { max-width: 420px; }
.nv-ds-video-box.is-tall :is(.nv-ds-video-play, iframe) { aspect-ratio: 9 / 16; }
.nv-ds-center .nv-ds-video-box.is-tall { margin-inline: auto; }
.nv-ds-video-play { position: relative; cursor: pointer; padding: 0; background: var(--nova-ink) center / cover no-repeat; overflow: hidden; }
.nv-ds-video-play::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10,11,14,.45)); }
.nv-ds-video-icon { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--nova-accent); color: var(--nova-on-accent, #fff); display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 40px rgba(0,0,0,.35); transition: transform .2s ease; }
.nv-ds-video-play:hover .nv-ds-video-icon, .nv-ds-video-play:focus-visible .nv-ds-video-icon { transform: scale(1.08); }
.nv-ds-video-box figcaption { margin-top: 12px; color: var(--nova-subtle); font-size: 14px; }
/* tabs: radios and labels, no script */
.nv-ds-tab-input { position: absolute; opacity: 0; pointer-events: none; }
.nv-ds-tab-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.nv-ds-tab-list label { margin: 0; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--nova-line-strong); font-weight: 600; cursor: pointer; color: var(--nova-ink); background: var(--nova-white); }
.nv-ds-tab-panel { display: none; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.nv-ds-tab-panel.has-image { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.nv-ds-tab-text h3 { margin: 0 0 12px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; letter-spacing: -0.02em; color: var(--nova-ink); }
.nv-ds-tab-media { aspect-ratio: 4 / 3; border-radius: var(--nova-radius-lg); overflow: hidden; background: var(--nova-soft); }
.nv-ds-tab-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 760px) { .nv-ds-tab-panel.has-image { grid-template-columns: minmax(0, 1fr); } }

.nv-ds-tabset .nv-ds-tab-input:nth-of-type(1):checked ~ .nv-ds-tab-panels > .nv-ds-tab-panel:nth-child(1) { display: grid; }
.nv-ds-tabset .nv-ds-tab-input:nth-of-type(2):checked ~ .nv-ds-tab-panels > .nv-ds-tab-panel:nth-child(2) { display: grid; }
.nv-ds-tabset .nv-ds-tab-input:nth-of-type(3):checked ~ .nv-ds-tab-panels > .nv-ds-tab-panel:nth-child(3) { display: grid; }
.nv-ds-tabset .nv-ds-tab-input:nth-of-type(4):checked ~ .nv-ds-tab-panels > .nv-ds-tab-panel:nth-child(4) { display: grid; }
.nv-ds-tabset .nv-ds-tab-input:nth-of-type(5):checked ~ .nv-ds-tab-panels > .nv-ds-tab-panel:nth-child(5) { display: grid; }
.nv-ds-tabset .nv-ds-tab-input:nth-of-type(6):checked ~ .nv-ds-tab-panels > .nv-ds-tab-panel:nth-child(6) { display: grid; }
.nv-ds-tabset .nv-ds-tab-input:nth-of-type(1):checked ~ .nv-ds-tab-list > label:nth-child(1) { background: var(--nova-ink); color: var(--nova-white); border-color: var(--nova-ink); }
.nv-ds-tabset .nv-ds-tab-input:nth-of-type(2):checked ~ .nv-ds-tab-list > label:nth-child(2) { background: var(--nova-ink); color: var(--nova-white); border-color: var(--nova-ink); }
.nv-ds-tabset .nv-ds-tab-input:nth-of-type(3):checked ~ .nv-ds-tab-list > label:nth-child(3) { background: var(--nova-ink); color: var(--nova-white); border-color: var(--nova-ink); }
.nv-ds-tabset .nv-ds-tab-input:nth-of-type(4):checked ~ .nv-ds-tab-list > label:nth-child(4) { background: var(--nova-ink); color: var(--nova-white); border-color: var(--nova-ink); }
.nv-ds-tabset .nv-ds-tab-input:nth-of-type(5):checked ~ .nv-ds-tab-list > label:nth-child(5) { background: var(--nova-ink); color: var(--nova-white); border-color: var(--nova-ink); }
.nv-ds-tabset .nv-ds-tab-input:nth-of-type(6):checked ~ .nv-ds-tab-list > label:nth-child(6) { background: var(--nova-ink); color: var(--nova-white); border-color: var(--nova-ink); }
.nv-ds-tabset .nv-ds-tab-input:nth-of-type(1):focus-visible ~ .nv-ds-tab-list > label:nth-child(1) { outline: 2px solid var(--nova-accent); outline-offset: 2px; }
.nv-ds-tabset .nv-ds-tab-input:nth-of-type(2):focus-visible ~ .nv-ds-tab-list > label:nth-child(2) { outline: 2px solid var(--nova-accent); outline-offset: 2px; }
.nv-ds-tabset .nv-ds-tab-input:nth-of-type(3):focus-visible ~ .nv-ds-tab-list > label:nth-child(3) { outline: 2px solid var(--nova-accent); outline-offset: 2px; }
.nv-ds-tabset .nv-ds-tab-input:nth-of-type(4):focus-visible ~ .nv-ds-tab-list > label:nth-child(4) { outline: 2px solid var(--nova-accent); outline-offset: 2px; }
.nv-ds-tabset .nv-ds-tab-input:nth-of-type(5):focus-visible ~ .nv-ds-tab-list > label:nth-child(5) { outline: 2px solid var(--nova-accent); outline-offset: 2px; }
.nv-ds-tabset .nv-ds-tab-input:nth-of-type(6):focus-visible ~ .nv-ds-tab-list > label:nth-child(6) { outline: 2px solid var(--nova-accent); outline-offset: 2px; }

/* before and after: the "before" photo over the "after" one, cut at the slider */
.nv-ds-ba { position: relative; aspect-ratio: 16 / 10; border-radius: var(--nova-radius-lg); overflow: hidden; background: var(--nova-soft); user-select: none; }
.nv-ds-ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nv-ds-ba-before { clip-path: inset(0 calc(100% - var(--ba, 50%)) 0 0); }
.nv-ds-ba-handle { position: absolute; top: 0; bottom: 0; left: var(--ba, 50%); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 12px rgba(0,0,0,.35); pointer-events: none; }
.nv-ds-ba-handle::after { content: '\2194'; position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: #fff; color: #111; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; }
.nv-ds-ba-label { position: absolute; top: 14px; padding: 4px 10px; border-radius: 999px; background: rgba(10,11,14,.6); color: #fff; font-size: 12px; font-weight: 700; pointer-events: none; }
.nv-ds-ba-label.is-before { left: 14px; }
.nv-ds-ba-label.is-after { right: 14px; }
.nv-ds-ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.nv-ds-ba input[type=range]:focus-visible ~ .nv-ds-ba-handle, .nv-ds-ba:focus-within .nv-ds-ba-handle { box-shadow: 0 0 0 3px var(--nova-accent); }
/* email alerts: heading beside a one-line form */
.nv-ds-alerts-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(24px, 5vw, 64px); align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: var(--nova-radius-lg); background: var(--nova-accent-soft); }
.nv-ds-alerts-box .nv-ds-heading { margin: 0 !important; }
.nv-ds-alerts-form { display: flex; flex-wrap: wrap; gap: 10px; }
.nv-ds-alerts-form input[type=email] { flex: 1 1 220px; min-width: 0; height: 52px; padding: 0 18px; border: 1px solid var(--nova-line-strong); border-radius: var(--nova-btn-radius, 999px); background: var(--nova-white); color: var(--nova-ink); font: inherit; }
.nv-ds-alerts-form .nv-btn { height: 52px; }
.nv-ds-alerts-captcha { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.nv-ds-alerts-captcha input { height: 44px; padding: 0 14px; border: 1px solid var(--nova-line-strong); border-radius: 10px; }
:is(.nv-ds-bg-accent, .nv-ds-bg-dark, .nv-ds-bg-image) .nv-ds-alerts-box { background: rgba(255,255,255,.08); }
@media (max-width: 760px) { .nv-ds-alerts-box { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Phone layout per section (style.phone), at Nova's phone width
   ========================================================================== */
@media (max-width: 760px) {
    /* compact: less space, smaller headings and gaps */
    .nv-ds-phone-compact > .nv-section { padding-top: 28px; }
    .nv-ds-phone-compact.nv-ds:is(.nv-ds-bg-surface, .nv-ds-bg-accent, .nv-ds-bg-dark, .nv-ds-bg-image) { padding-bottom: 28px; margin-top: 28px; }
    body.nova .nv-ds-phone-compact :is(.nv-h2, h2) { font-size: clamp(22px, 6.4vw, 28px) !important; }
    .nv-ds-phone-compact .nv-ds-heading { margin-bottom: 16px !important; }
    .nv-ds-phone-compact :is(.nv-ds-grid, .nv-ds-plans, .nv-ds-bento-grid, .nv-ds-rows) { gap: 12px; }
    .nv-ds-phone-compact :is(.nv-ds-feature, .nv-ds-quote, .nv-ds-plan) { padding: 18px; }
    /* swipe: the section's grid becomes one sideways row of cards, the next one peeking in */
    .nv-ds-phone-swipe :is(.nv-ds-grid, .nv-ds-plans, .nv-ds-bento-grid, .nv-cards, .nv-ds-spotlight-grid, .nv-ds-gallery-grid) {
        display: grid !important; grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: 80%; grid-auto-rows: auto;
        gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px;
    }
    .nv-ds-phone-swipe :is(.nv-ds-grid, .nv-ds-plans, .nv-ds-bento-grid, .nv-cards, .nv-ds-spotlight-grid, .nv-ds-gallery-grid)::-webkit-scrollbar { display: none; }
    .nv-ds-phone-swipe :is(.nv-ds-grid, .nv-ds-plans, .nv-ds-bento-grid, .nv-cards, .nv-ds-spotlight-grid, .nv-ds-gallery-grid) > * { scroll-snap-align: start; min-width: 0; grid-column: auto !important; grid-row: auto !important; }
    .nv-ds-phone-swipe .nv-ds-stats { grid-auto-columns: 46%; }
    /* text first: the text above the photo in split layouts */
    .nv-ds-phone-text-first :is(.nv-ds-split-media, .nv-ds-row-media, .nv-ds-tab-media, .nv-ds-graphic-box .nv-ds-art) { order: 2 !important; }
}

/* ==========================================================================
   Live sections: "just listed" marquee, live bento tiles, collections, top sellers
   ========================================================================== */
.nv-ds-marquee-track small { margin-left: .5em; font-size: .42em; font-weight: 600; letter-spacing: 0; opacity: .7; font-family: var(--nova-font); vertical-align: middle; }
.nv-ds-tile-number { font-family: var(--nova-font-heading, var(--nova-font)); font-size: clamp(40px, 5vw, 64px); line-height: 1; font-weight: 800; letter-spacing: -0.04em; color: var(--nova-accent-ink); }
.nv-ds-tile-live { position: relative; z-index: 1; align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--nova-accent); color: var(--nova-on-accent, #fff); font-size: 12px; font-weight: 700; }
.nv-ds-tile.has-image .nv-ds-tile-live { position: absolute; top: 16px; left: 16px; }
.nv-ds-collections-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.nv-ds-collection { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; padding: 20px; border-radius: var(--nova-radius-lg); overflow: hidden; background: var(--nova-accent-soft); color: var(--nova-ink); text-decoration: none !important; scroll-snap-align: start; }
.nv-ds-collection img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.nv-ds-collection.has-image { color: #fff; }
.nv-ds-collection.has-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(10,11,14,.8)); }
.nv-ds-collection-text { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 4px; }
.nv-ds-collection-text b { font-size: clamp(20px, 2vw, 26px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
.nv-ds-collection-text span { opacity: .85; }
.nv-ds-collection-go { position: absolute; top: 16px; right: 16px; z-index: 1; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.9); color: #111; display: flex; align-items: center; justify-content: center; font-style: normal; transition: transform .2s ease; }
.nv-ds-collection:hover img { transform: scale(1.05); }
.nv-ds-collection:hover .nv-ds-collection-go { transform: translateX(3px); }
[dir=rtl] .nv-ds-collection-go { right: auto; left: 16px; transform: scaleX(-1); }
[dir=rtl] .nv-ds-collection:hover .nv-ds-collection-go { transform: scaleX(-1) translateX(3px); }
.nv-ds-sellers-row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.nv-ds-seller { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 24px 16px; text-align: center; border-radius: var(--nova-radius-lg); background: var(--nova-card-bg, var(--nova-white)); border: var(--nova-card-border, 1px solid var(--nova-line)); color: var(--nova-ink); text-decoration: none !important; }
.nv-ds-seller img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin-bottom: 8px; background: var(--nova-soft); }
.nv-ds-seller b { display: inline-flex; align-items: center; gap: 6px; }
.nv-ds-seller span { color: var(--nova-subtle); font-size: 14px; }
.nv-ds-seller small { color: var(--nova-muted); font-size: 12px; }
.nv-ds-verified { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: var(--nova-accent); color: var(--nova-on-accent, #fff); }
.nv-ds-seller:hover { border-color: var(--nova-accent); }

/* ===================================================================   Background video (style.background video): the video behind the darkening layer and the content; its poster is the
   band's photo until it plays (js/design-media.js starts it on larger screens only)
   ========================================================================== */
.nv-ds-bg-video { overflow: hidden; background-color: var(--nova-ink); background-size: cover; background-position: center; }
.nv-ds-bg-video > .nv-ds-bgv { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.nv-ds-bg-video > .nv-ds-bgv.is-on { opacity: 1; }
.nv-ds-bg-video::before { z-index: 1; }
.nv-ds-bg-video > :not(.nv-ds-bgv) { z-index: 2; }
@media (prefers-reduced-motion: reduce) { .nv-ds-bg-video > .nv-ds-bgv { display: none; } }

/* ==========================================================================
   Form section (Design_Form): a card with the fields, stacked or in two columns
   ========================================================================== */
.nv-ds-fm-wrap { max-width: 760px; }
.nv-ds-center .nv-ds-fm-wrap { margin-inline: auto; text-align: left; }
.nv-ds-center .nv-ds-fm-wrap .nv-ds-heading { text-align: center; }
.nv-ds-fm, .nv-ds-fm-done { padding: clamp(20px, 3.5vw, 36px); border-radius: var(--nova-radius-lg); background: var(--nova-card-bg, var(--nova-white)); border: var(--nova-card-border, 1px solid var(--nova-line)); box-shadow: var(--nova-card-shadow, none); color: var(--nova-ink); }
.nv-ds-fm { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.nv-ds-fm.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nv-ds-fm.is-two :is(.nv-ds-fm-field.is-textarea, .nv-ds-fm-field.is-checkbox, .nv-ds-fm-captcha, .nv-ds-fm-foot) { grid-column: 1 / -1; }
.nv-ds-fm-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.nv-ds-fm-field > label { margin: 0; font-size: 14px; font-weight: 600; color: var(--nova-ink); }
.nv-ds-fm-req { color: var(--nova-accent); }
.nv-ds-fm :is(input[type=text], input[type=email], input[type=tel], select, textarea) { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--nova-line-strong); border-radius: var(--nova-radius-sm, 8px); background: var(--nova-white); color: var(--nova-ink); font: inherit; font-size: 16px; }
.nv-ds-fm textarea { min-height: 132px; resize: vertical; }
.nv-ds-fm :is(input, select, textarea):focus-visible { outline: 2px solid var(--nova-accent); outline-offset: 1px; border-color: var(--nova-accent); }
.nv-ds-fm-check { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 15px; font-weight: 500; color: var(--nova-ink); cursor: pointer; }
.nv-ds-fm-check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--nova-accent); }
.nv-ds-fm .nv-ds-fm-err { margin: 0; font-size: 13px; color: #B42318 !important; }
.nv-ds-fm-err:empty { display: none; }
.nv-ds-fm-field.has-error :is(input, select, textarea) { border-color: #B42318; }
.nv-ds-fm-captcha-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.nv-ds-fm-captcha-row input { flex: 1 1 140px; max-width: 220px; }
.nv-ds-fm-foot { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.nv-ds-fm-foot .nv-btn { min-height: 48px; }
.nv-ds-fm[aria-busy=true] .nv-btn { opacity: .6; }
.nv-ds-fm-status { margin: 0; font-size: 14px; color: var(--nova-subtle); }
.nv-ds-fm .nv-ds-fm-status.is-error { color: #B42318 !important; font-weight: 600; }
.nv-ds-fm-status:empty { display: none; }
.nv-ds-fm-done { margin: 0; font-size: 17px; font-weight: 600; }
.nv-ds-fm-done:focus { outline: none; }
/* the field people never see (bots fill it in) */
.nv-ds-fm-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
/* on a colored band the card keeps its own light colors */
:is(.nv-ds-bg-accent, .nv-ds-bg-dark, .nv-ds-bg-image) :is(.nv-ds-fm, .nv-ds-fm-done) { --nova-subtle: #4A505A; --nova-muted: #646A73; color: var(--nova-ink) !important; }
:is(.nv-ds-bg-accent, .nv-ds-bg-dark, .nv-ds-bg-image) .nv-ds-fm .nv-ds-fm-status:not(.is-error) { color: var(--nova-subtle) !important; }
.nv-ds-bg-accent .nv-ds-fm .nv-btn-primary { background: var(--nova-accent); color: var(--nova-on-accent, #fff); border-color: var(--nova-accent); }
body.nova.ds-scheme-dark .nv-ds-fm :is(.nv-ds-fm-err, .nv-ds-fm-status.is-error) { color: #FDA29B !important; }
@media (max-width: 760px) { .nv-ds-fm.is-two { grid-template-columns: minmax(0, 1fr); } }

/* --- the site frame (Design_Site): announcement bar, header options, dropdown menus, footer --- */
.nv-announce { background: var(--nova-accent); color: var(--nova-on-accent, #fff); font-size: 14px; font-weight: 600; }
.nv-announce.is-dark { background: var(--nova-ink); color: #fff; }
body.nova.ds-scheme-dark .nv-announce.is-dark { background: #000; }
.nv-announce-inner { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 40px; padding-top: 8px; padding-bottom: 8px; position: relative; text-align: center; }
.nv-announce-text { margin: 0; line-height: 1.4; }
body.nova a.nv-announce-text { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
body.nova a.nv-announce-text:hover { text-decoration: underline; text-underline-offset: 3px; }
.nv-announce-x { all: unset; cursor: pointer; position: absolute; right: var(--nova-gutter, 16px); top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; opacity: .8; }
.nv-announce-x:hover, .nv-announce-x:focus-visible { opacity: 1; background: rgba(255,255,255,.16); }
.nv-announce-x:focus-visible { outline: 2px solid currentColor; outline-offset: 1px; }
@media (max-width: 600px) { .nv-announce-inner { justify-content: flex-start; text-align: left; padding-right: 48px; } }

/* logo size: s, m (Nova's), l */
.nv-hdr-logo-s .nv-brand img { max-height: 28px; }
body.nova .nv-hdr-logo-s .nv-brand { font-size: 17px; }
.nv-hdr-logo-s .nv-brand-mark { width: 28px; height: 28px; border-radius: 8px; }
.nv-hdr-logo-l .nv-brand img { max-height: 60px; }
body.nova .nv-hdr-logo-l .nv-brand { font-size: 24px; }
.nv-hdr-logo-l .nv-brand-mark { width: 44px; height: 44px; border-radius: 13px; }
.nv-hdr-logo-l .nv-brand-mark i { font-size: 20px; }
@media (max-width: 600px) { .nv-hdr-logo-l .nv-brand img { max-height: 44px; } body.nova .nv-hdr-logo-l .nv-brand { font-size: 20px; } }

/* logo centered on its own row, the rest below it */
@media (min-width: 861px) {
    .nv-hdr-center .nv-header-inner { justify-content: center; }
    body.nova .nv-hdr-center .nv-brand { flex: 1 0 100%; justify-content: center; }
    .nv-hdr-center .nv-nav { flex: 0 1 auto; }
}

/* sticky */
.nv-header.nv-hdr-sticky { position: sticky; top: 0; z-index: 30; }

/* over the hero: the header takes no room, the hero's text moves down below it */
.nv-hdr-over-wrap { position: relative; z-index: 30; height: 0; }
.nv-hdr-over-wrap.is-sticky { position: sticky; top: 0; }
body.nova .nv-hdr-over-wrap .nv-header { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; transition: background-color .25s ease, box-shadow .25s ease; }
body.nova .nv-hdr-over-wrap .nv-header:not(.is-scrolled):not(.is-open) :is(.nv-brand, .nv-nav > li > a, .nv-nav-drop-btn, .nv-header-actions > a:not(.nv-btn), .nv-header-actions .nv-btn-ghost:not(:hover), .nv-header-actions .nv-icon-btn, .nv-menu-toggle) { color: #fff; }
body.nova .nv-hdr-over-wrap .nv-header:not(.is-scrolled):not(.is-open) .nv-brand { text-shadow: 0 1px 12px rgba(0,0,0,.3); }
body.nova .nv-hdr-over-wrap .nv-header:not(.is-scrolled):not(.is-open) .nv-header-search { background: rgba(255,255,255,.16); color: rgba(255,255,255,.85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
body.nova .nv-hdr-over-wrap .nv-header:not(.is-scrolled):not(.is-open) .nv-header-search input { color: #fff; }
body.nova .nv-hdr-over-wrap .nv-header:not(.is-scrolled):not(.is-open) .nv-header-search input::placeholder { color: rgba(255,255,255,.8); }
body.nova .nv-hdr-over-wrap .nv-header:not(.is-scrolled):not(.is-open) .nv-icon-btn { background: rgba(255,255,255,.14); border-color: transparent; }
body.nova .nv-hdr-over-wrap .nv-header:is(.is-scrolled, .is-open) { background: var(--nova-white); border-bottom-color: var(--nova-line); box-shadow: 0 6px 24px rgba(20,22,26,.08); }
body.nova.ds-scheme-dark .nv-hdr-over-wrap .nv-header:is(.is-scrolled, .is-open) { background: var(--nova-soft); }
body.nv-hdr-over .nv-hero .nv-hero-inner { padding-top: 168px; }
@media (max-width: 860px) { body.nv-hdr-over .nv-hero .nv-hero-inner { padding-top: 132px; } }

/* the design's menu: one level of dropdowns, opened on hover and keyboard focus; listed under the parent on phones */
.nv-nav-drop { position: relative; }
body.nova .nv-nav-drop > a { display: inline-flex; align-items: center; gap: 4px; }
.nv-nav-drop-btn { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; color: var(--nova-ink); font-weight: 500; padding: 6px 0; }
.nv-nav-drop-btn:focus-visible { outline: 2px solid var(--nova-accent); outline-offset: 2px; border-radius: 4px; }
.nv-nav-caret { transition: transform .2s ease; }
.nv-nav-sub { display: none; position: absolute; top: 100%; left: -14px; z-index: 40; min-width: 210px; margin: 0; padding: 8px; list-style: none; background: var(--nova-white); border: 1px solid var(--nova-line); border-radius: var(--nova-radius-sm); box-shadow: var(--nova-shadow); }
body.nova .nv-nav-sub a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--nova-ink) !important; white-space: nowrap; text-shadow: none; }
body.nova .nv-nav-sub a:hover { background: var(--nova-soft); color: var(--nova-accent) !important; }
.nv-nav-drop:hover > .nv-nav-sub, .nv-nav-drop:focus-within > .nv-nav-sub { display: block; }
.nv-nav-drop:hover .nv-nav-caret, .nv-nav-drop:focus-within .nv-nav-caret { transform: rotate(180deg); }
body.nova.ds-scheme-dark .nv-nav-sub { background: var(--nova-soft); border-color: var(--nova-line-strong); }
@media (max-width: 860px) {
    .nv-nav-sub { display: block; position: static; min-width: 0; padding: 0 0 0 14px; border: 0; box-shadow: none; background: none; }
    body.nova .nv-nav-sub a { padding: 6px 0; }
    .nv-nav-caret { display: none; }
}

/* footer */
.nv-copyright { margin-left: 10px; }

/* --- image banner: a wide picture as it is (its own picture on phones), optionally a link --- */
.nv-ds-ib { max-width: var(--nova-container); margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.nv-ds-image-banner--full .nv-ds-ib, .nv-ds-full .nv-ds-ib { max-width: none; padding: 0; }
.nv-ds-ib picture, .nv-ds-ib img { display: block; width: 100%; height: auto; }
.nv-ds-ib img { object-fit: cover; }
.nv-ds-ib__link { display: block; border-radius: inherit; }
.nv-ds-ib__link:focus-visible { outline: 3px solid var(--nova-accent); outline-offset: 3px; }
@media (max-width: 760px) { .nv-ds-ib { padding: 0 16px; } }

/* --- ribbon: a heading on a notched ribbon (the second color), a band in the accent below it --- */
.nv-ds-rb { text-align: center; }
.nv-ds-rb__main { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 2.5vw, 28px); padding: 10px clamp(28px, 5vw, 48px) 12px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--nova-accent-2, var(--nova-ink)) 82%, #fff) 0%, var(--nova-accent-2, var(--nova-ink)) 55%, color-mix(in srgb, var(--nova-accent-2, var(--nova-ink)) 80%, #000) 100%);
  background-color: var(--nova-accent-2, var(--nova-ink)); color: #fff; }
.nv-ds-rb--ribbon .nv-ds-rb__main { clip-path: polygon(0 0, 100% 0, 97.5% 50%, 100% 100%, 0 100%, 2.5% 50%); }
body.nova .nv-ds-rb__main h2 { margin: 0; color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; line-height: 1.05;
  font-size: clamp(24px, 5vw, 56px); text-shadow: 0 2px 0 rgba(0, 0, 0, .22); text-wrap: balance; }
.nv-ds-rb__star { font-size: clamp(18px, 3.2vw, 38px); line-height: 1; flex: none; }
.nv-ds-rb__band { margin: 4px clamp(8px, 2%, 24px) 0; padding: 8px clamp(22px, 4vw, 36px) 10px; background: var(--nova-accent); color: var(--nova-on-accent, #fff);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(0, 0, 0, .1)); }
.nv-ds-rb--ribbon .nv-ds-rb__band { clip-path: polygon(0 0, 100% 0, 98.5% 50%, 100% 100%, 0 100%, 1.5% 50%); }
.nv-ds-rb__band p { margin: 0; color: inherit; text-transform: uppercase; font-weight: 800; line-height: 1.15; text-wrap: balance; }
.nv-ds-rb__sub { font-size: clamp(14px, 2.6vw, 30px); }
.nv-ds-rb__text { font-size: clamp(11px, 1.9vw, 22px); font-weight: 700 !important; }
.nv-ds-rb__main + .nv-ds-rb__band { margin-top: 4px; }

/* --- categories, icons style: round icons beside names and descriptions, filling column by column --- */
.nv-ds-caticons { columns: var(--nv-cols, 3); column-gap: 0; column-rule: 2px solid var(--nova-line-strong, #D5DBE7); }
.nv-ds-caticon { display: flex; align-items: center; gap: 14px; padding: 8px 14px; break-inside: avoid; text-decoration: none; color: var(--nova-ink); min-height: 84px; box-sizing: border-box; }
.nv-ds-caticon__icon { flex: none; width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; overflow: hidden;
  background: var(--nova-accent); color: var(--nova-on-accent, #fff); box-shadow: 0 2px 4px rgba(0, 0, 0, .22); transition: transform .15s; font-size: 28px; }
.nv-ds-caticon__icon.is-alt { background: var(--nova-accent-2, var(--nova-ink)); color: #fff; }
.nv-ds-caticon__icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nv-ds-caticon:hover .nv-ds-caticon__icon { transform: scale(1.06); }
.nv-ds-caticon__text { min-width: 0; }
.nv-ds-caticon__text b { display: block; font-family: var(--nova-font-heading, inherit); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; font-size: 21px; line-height: 1.1; color: var(--nova-accent-2, var(--nova-ink)); }
.nv-ds-caticon__text small { display: block; margin-top: 3px; font-family: var(--nova-font-heading, inherit); font-size: 17px; line-height: 1.25; color: var(--nova-subtle); }
.nv-ds-caticon__count { font-family: inherit !important; font-size: 13px !important; color: var(--nova-muted) !important; }
.nv-ds-caticon:hover b { color: var(--nova-accent); }
/* subcategory_links: the name and each subcategory are links of their own */
body.nova .nv-ds-caticon.has-links .nv-ds-caticon__name { color: inherit; text-decoration: none; }
.nv-ds-caticon.has-links:hover b { color: var(--nova-accent-2, var(--nova-ink)); }
.nv-ds-caticon.has-links .nv-ds-caticon__name:hover b, .nv-ds-caticon.has-links .nv-ds-caticon__name:focus-visible b { color: var(--nova-accent); }
body.nova .nv-ds-caticon__subs a { color: inherit; text-decoration: none; }
body.nova .nv-ds-caticon__subs a:hover, body.nova .nv-ds-caticon__subs a:focus-visible { color: var(--nova-accent); text-decoration: underline; }
.nv-ds-caticon:focus-visible { outline: 2px solid var(--nova-accent); outline-offset: 2px; border-radius: var(--nova-radius-sm, 8px); }
/* the first item of each column on a large screen; fewer columns below (the browser balances them again) */
.nv-ds-caticon.is-col { break-before: column; }
@media (max-width: 900px) { .nv-ds-caticons { columns: min(var(--nv-cols, 3), 2); } .nv-ds-caticon.is-col { break-before: auto; } }
@media (max-width: 560px) {
  .nv-ds-caticons { columns: 1; }
  .nv-ds-caticon { min-height: 0; padding: 8px 0; border-bottom: 1px solid var(--nova-line); }
  .nv-ds-caticon__icon { width: 56px; height: 56px; }
  .nv-ds-caticon__text b { font-size: 18px; }
  .nv-ds-caticon__text small { font-size: 15px; }
}
body.nova.ds-scheme-dark .nv-ds-caticon__text b { color: #fff; }

/* --- brand band: a closing band in the second color, the logo and a tagline between a picture and a statement --- */
.nv-ds-bb { background: var(--nova-accent-2, var(--nova-ink)); color: #fff; }
.nv-ds-bb::before { content: ""; display: block; height: 12px; background: linear-gradient(180deg, var(--nova-accent) 0 6px, #fff 6px 9px, transparent 9px); }
.nv-ds-bb__in { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 20px; padding-top: 16px; padding-bottom: 20px; text-align: center; }
.nv-ds-bb.has-image .nv-ds-bb__in { grid-template-columns: 180px minmax(0, 1fr); }
.nv-ds-bb.has-side .nv-ds-bb__in { grid-template-columns: minmax(0, 1fr) 210px; }
.nv-ds-bb.has-image.has-side .nv-ds-bb__in { grid-template-columns: 180px minmax(0, 1fr) 210px; }
.nv-ds-bb__img { display: block; width: 100%; height: auto; }
.nv-ds-bb__logo { display: block; width: min(92%, 640px); height: auto; margin: 0 auto; }
body.nova .nv-ds-bb__name { margin: 0; color: #fff; font-family: var(--nova-font-heading, inherit); font-weight: 800; font-size: clamp(28px, 4.5vw, 52px); line-height: 1.05; }
.nv-ds-bb__rule { display: flex; align-items: center; gap: 10px; margin: 8px 6% 4px; }
.nv-ds-bb__rule span { flex: 1; height: 5px; border-radius: 3px; background: linear-gradient(90deg, var(--nova-accent) 0 35%, #fff 35% 65%, var(--nova-accent) 65%); }
.nv-ds-bb__rule em, .nv-ds-bb__side em { font-style: normal; letter-spacing: 5px; font-size: 18px; color: #fff; }
body.nova .nv-ds-bb__tagline { margin: 0; color: #fff; font-weight: 800; font-style: italic; font-size: clamp(16px, 2.4vw, 28px); line-height: 1.2; }
.nv-ds-bb__side { border-left: 2px solid rgba(255, 255, 255, .75); padding-left: 18px; }
.nv-ds-bb__side strong { display: block; margin: 4px 0; font-weight: 800; text-transform: uppercase; font-size: 24px; line-height: 1.05; color: #fff; }
@media (max-width: 760px) {
  .nv-ds-bb .nv-ds-bb__in, .nv-ds-bb.has-image .nv-ds-bb__in, .nv-ds-bb.has-side .nv-ds-bb__in, .nv-ds-bb.has-image.has-side .nv-ds-bb__in { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .nv-ds-bb__img { width: 150px; margin: 0 auto; }
  .nv-ds-bb__side { border-left: 0; padding-left: 0; border-top: 2px solid rgba(255, 255, 255, .5); padding-top: 10px; }
}
