/*
Theme Name: Fox Vision
Description: WordPress theme migrated from the Fox Vision site.
Version: 1.25.4
*/
html, body { background-color: #000; background-image: none; }
body main .bg-grain { background-color: #000; background-image: none; }

/* Keep decoration out of the rendering path while preserving the card layouts. */
.vhs-noise,
.vhs-tracking,
.vhs-eye-glow,
[data-fox-creepy],
[data-fox-egg],
[data-fox-nose],
#hero-cam-clock,
#hero-cam-date {
    display: none !important;
}

[data-intro-cam] > svg { display: none; }
[data-intro-cam] img { filter: none; }
[data-fit-title] { text-wrap: balance; }
.fv-card-poster { object-fit: cover; }
:focus-visible { outline: 2px solid #ff8b4f; outline-offset: 3px; }

@media (max-width: 767px) {
    main h1, main h2 { overflow-wrap: anywhere; }
    main [data-carousel] { scroll-padding-inline: 1.25rem; }
    main [data-carousel] a { scroll-margin-inline: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
    html:focus-within { scroll-behavior: auto; }
    main *, main *::before, main *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

[data-carousel] { overscroll-behavior-inline: contain; }
[data-carousel] > :is(a, figure, div) { scroll-margin-inline: 1.25rem; }
@media (max-width: 1023px) {
    .fv-team-grid { scroll-snap-type: x proximity; }
    .fv-team-grid > div { scroll-snap-align: start; }
}
@media (min-width: 1024px) {
    .fv-team-grid {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        max-width: 80rem;
        margin: 2.5rem auto 0;
        padding-inline: 2rem;
        overflow: visible;
        cursor: auto;
    }
    .fv-team-grid > div { width: auto; min-width: 0; }
}

.fv-breadcrumbs { color: #b8bdc6; font-size: .875rem; line-height: 1.5; }
.fv-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; margin: 0; padding: 0; list-style: none; }
.fv-breadcrumbs li { overflow-wrap: anywhere; }
.fv-breadcrumbs li + li::before { content: "/"; margin-inline-end: .5rem; color: #7f8794; }
.fv-breadcrumbs a { color: #ff934f; }

.fv-site-shell { display: flex; flex-direction: column; min-height: 100vh; }
.fv-skip { position: fixed; z-index: 100; inset: .75rem auto auto .75rem; padding: .5rem .75rem; background: #fff; color: #000; border-radius: .5rem; transform: translateY(-200%); }
.fv-skip:focus { transform: none; }
.fv-header { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid #25272b; background: #0b0c0e; }
.fv-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: min(100%, 80rem); min-height: 4.25rem; margin-inline: auto; padding: .65rem clamp(1rem, 3vw, 2rem); }
.fv-brand { display: inline-flex; align-items: center; flex-shrink: 0; gap: .6rem; color: #f3f4f6; font-size: 1.05rem; font-weight: 800; white-space: nowrap; }
.fv-brand img { width: 2.25rem; height: 2.25rem; object-fit: contain; }
.fv-nav-links, .fv-mobile-contacts { list-style: none; margin: 0; padding: 0; }
.fv-nav-desktop { display: none; }
.fv-nav-desktop .fv-nav-links { display: flex; align-items: center; gap: clamp(.25rem, 1vw, .85rem); }
.fv-nav-links a { display: block; padding: .65rem .6rem; color: #d2d5dc; border-radius: .45rem; font-size: .925rem; font-weight: 600; }
.fv-nav-links a:hover, .fv-nav-links a:focus-visible { color: #ff9c62; background: #191a1e; }
.fv-header-actions { display: flex; align-items: center; gap: .5rem; }
.fv-call { display: inline-flex; min-height: 2.65rem; align-items: center; padding: .45rem clamp(.6rem, 2vw, 1rem); border-radius: .55rem; color: #16110d; background: #ff883f; font-size: .875rem; font-weight: 800; white-space: nowrap; }
.fv-call:hover { background: #ffa168; }
.fv-mobile-nav summary { display: grid; width: 2.65rem; height: 2.65rem; place-items: center; border: 1px solid #303238; border-radius: .55rem; color: #f3f4f6; background: #15161a; cursor: pointer; list-style: none; }
.fv-mobile-nav summary::-webkit-details-marker { display: none; }
.fv-mobile-nav summary span { font-size: 1.2rem; line-height: 1; }
.fv-mobile-nav nav { position: absolute; inset: 100% 0 auto; max-height: calc(100dvh - 5rem); overflow: auto; padding: .75rem 1rem 1rem; border-bottom: 1px solid #303238; background: #0b0c0e; }
.fv-mobile-nav .fv-nav-links a { padding: .85rem .65rem; }
.fv-mobile-contacts { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.fv-mobile-contacts a { display: block; padding: .55rem .65rem; border: 1px solid #303238; border-radius: .45rem; color: #f3f4f6; font-size: .85rem; }
body.admin-bar .fv-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .fv-header { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .fv-header { top: 0; } }
@media (max-width: 360px) {
    .fv-header-inner { gap: .4rem; padding-inline: .65rem; }
    .fv-brand { gap: .35rem; font-size: .95rem; }
    .fv-brand img { width: 1.85rem; height: 1.85rem; }
}
@media (min-width: 960px) { .fv-nav-desktop { display: block; } .fv-mobile-nav { display: none; } }

.fv-project-card { display: inline-block; width: 100%; margin-bottom: 1.25rem; break-inside: avoid; overflow: hidden; border: 1px solid #292c31; border-radius: 1rem; background: var(--fv-surface-ink); scroll-margin-top: 5.25rem; }
.fv-project-image, .fv-project-image img { display: block; width: 100%; height: auto; }
.fv-project-text { padding: clamp(1rem, 2vw, 1.5rem); }
.fv-project-text h2, .fv-hub-card h2 { color: #f4f4f5; font-size: clamp(1.125rem, 2vw, 1.5rem); font-weight: 750; line-height: 1.25; overflow-wrap: anywhere; }
.fv-project-subtitle { margin-bottom: .45rem; color: #ffa36e; font-size: .8rem; }
.fv-project-copy { display: flow-root; color: #c1c5cd; font-size: .95rem; line-height: 1.65; }
.fv-project-copy p { margin-top: .65rem; }
.fv-project-copy figure { margin-block: 1rem 0; }
.fv-project-copy video { display: block; width: 100%; height: auto; max-height: 75vh; background: #000; border-radius: .65rem; }
.fv-project-preview { position: relative; display: block; flex: 0 0 clamp(10rem, 31vw, 19rem); overflow: hidden; border: 1px solid #292c31; border-radius: .85rem; background: var(--fv-surface-ink); }
.fv-project-preview img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fv-project-preview span { display: block; padding: .65rem .75rem; color: #f3f4f6; font-size: .85rem; font-weight: 600; }
.fv-hub-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.fv-hub-card { position: relative; isolation: isolate; display: flex; align-items: end; min-height: 13rem; overflow: hidden; border: 1px solid #292c31; border-radius: 1rem; background: #141518; }
.fv-hub-cover { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fv-hub-card::before { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, #14151846, #050506 95%); content: ""; }
.fv-hub-card-text { padding: clamp(1rem, 3vw, 1.6rem); }
.fv-hub-card p { margin-top: .5rem; color: #d0d3da; font-size: .9rem; line-height: 1.5; }
.fv-hub-card span { display: block; margin-top: .45rem; color: #ff9c62; }
.fv-hub-links { display: flex; flex-wrap: wrap; gap: .65rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.fv-hub-links a { display: block; padding: .6rem .8rem; border: 1px solid #303238; border-radius: .6rem; color: #d4d6dc; font-size: .875rem; }
.fv-hub-links a:hover { color: #ff9c62; }
@media (min-width: 600px) { .fv-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fv-hub-card-wide { grid-column: 1 / -1; } }
@media (min-width: 1050px) { .fv-hub-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .fv-hub-card { min-height: 17rem; } }

.fv-section-heading { margin: 0 0 1.5rem; color: #f4f4f5; font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; line-height: 1.15; }
.fv-hub-section { padding: clamp(1.5rem, 5vw, 3.5rem) 0; }
.fv-section-link { display: block; min-width: 0; overflow: hidden; border: 1px solid #292c31; border-radius: .85rem; background: var(--fv-surface-ink); }
.fv-section-link > img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.fv-section-link > div { padding: .85rem 1rem; }
.fv-section-link h3, .fv-guide-group h2 { color: #f4f4f5; font-weight: 750; overflow-wrap: anywhere; }
.fv-section-link p { margin-top: .35rem; color: #c1c5cd; font-size: .85rem; line-height: 1.5; }
.fv-guide-group h2 { margin-bottom: .75rem; font-size: 1.25rem; }
.fv-guide-group > div { display: grid; gap: .6rem; }
[data-carousel] > .fv-section-link { flex: 0 0 clamp(13rem, 36vw, 21rem); }
.fv-lab-card { max-width: 100%; }
.fv-lab-card .wp-block-video { max-width: 48rem; }
.fv-lab-card .wp-block-video:has(video[poster]) { margin-inline: 0; }

/* Let the browser handle pinch zoom and both directions of touch scrolling. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
[data-carousel], .fv-mobile-nav nav { touch-action: auto; }
@media (pointer: coarse) { [data-carousel] { overscroll-behavior-inline: auto; } }

html { scroll-padding-top: 4.65rem; }
.fv-fox-trigger { position: absolute; z-index: 25; inset: auto .5rem .5rem auto; min-height: 2.5rem; padding: .4rem .55rem; border: 1px solid #ffffff40; border-radius: .5rem; color: #fff; background: #09090bea; font-size: .75rem; font-weight: 700; }
.fv-fox-trigger:hover { background: #24252a; }
.fv-fox-video { position: absolute; z-index: 15; inset: 0; display: block; width: 100%; height: 100%; padding-bottom: 3rem; object-fit: contain; background: #080809; }
.fv-fox-video[hidden] { display: none; }
[data-intro-cam] .vhs-eye-glow, [data-intro-cam] .vhs-tracking, [data-intro-cam] .vhs-noise { animation: none !important; }
@media (max-width: 959px) {
    main input:not([type="checkbox"]):not([type="radio"]), main select, main textarea { font-size: 16px; }
    .fv-mobile-nav nav a { overflow-wrap: anywhere; }
}

:root { color-scheme: dark; }

@media (forced-colors: none) {
    html { scrollbar-color: #f2711c #15191e; scrollbar-width: thin; }
    body { scrollbar-color: auto; }

    @supports not (scrollbar-color: auto) {
        html::-webkit-scrollbar { width: 6px; }
        html::-webkit-scrollbar-track { background-color: #15191e; }
        html::-webkit-scrollbar-thumb {
            background-color: #f2711c;
            border: 1px solid #15191e;
            border-radius: 999px;
        }
        html::-webkit-scrollbar-thumb:hover { background-color: #ff934f; }
    }
}
body { color: #eceef1; background: #000; }
main section { scroll-margin-top: 4.65rem; }
.fv-site-shell { min-width: 0; }
.fv-zoomed .fv-header { position: relative; top: auto; }
.fv-zoomed body.admin-bar .fv-header { top: auto; }
.fv-hero-links { display: flex; flex: 0 0 min(28%, 7rem); flex-direction: column; justify-content: center; gap: .45rem; }
.fv-hero-contact { display: grid; min-height: 2.45rem; align-items: center; padding: .35rem; border: 1px solid #34363c; border-radius: .65rem; background: var(--fv-surface-ink); color: #eee; text-align: center; font-size: .75rem; font-weight: 650; overflow-wrap: anywhere; }
.fv-hero-contact:hover { color: #ff9c62; }
@media (min-width: 768px) { .fv-hero-links { flex: 0 0 auto; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; margin-top: .8rem; } .fv-hero-contact { padding-inline: .85rem; } }
.fv-fox-trigger { inset: 79% auto auto 49%; width: max(44px, 20%); height: max(44px, 16%); min-height: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; transform: translate(-50%, -50%); }
.fv-fox-trigger:hover { background: transparent; }
.fv-fox-video { padding: 0; object-fit: cover; background: transparent; opacity: 0; pointer-events: none; }
.fv-fox-video.is-playing { opacity: 1; }
[data-intro-cam], .fv-fox-trigger { touch-action: manipulation; }
.fv-fox-trigger { user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.fv-fox-surprise img { filter: grayscale(1) contrast(1.5) !important; }

.fv-team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.65rem, 2vw, 1rem); width: min(100%, 80rem); margin: clamp(1.2rem, 3vw, 2rem) auto 0; padding: 0 clamp(1rem, 3vw, 2rem); overflow: visible; cursor: auto; }
.fv-team-card, .fv-review, .fv-partner-card { overflow: hidden; min-width: 0; border: 1px solid #2a2d32; border-radius: .9rem; background: #111215; }
.fv-team-photo { aspect-ratio: 4 / 5; background: #17181c; }
.fv-team-photo img { width: 100%; height: 100%; object-fit: cover; }
.fv-team-info { padding: clamp(.65rem, 1.8vw, 1rem); }
.fv-team-info h3 { font-weight: 760; line-height: 1.2; overflow-wrap: anywhere; }
.fv-team-role { margin-top: .35rem; color: #ff9d67; font-size: .8rem; overflow-wrap: anywhere; }
.fv-team-bio { margin-top: .5rem; color: #c4c7cf; font-size: .82rem; line-height: 1.45; }
@media (max-width: 345px) { .fv-team-grid { grid-template-columns: 1fr; } }
@media (min-width: 760px) { .fv-team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1070px) { .fv-team-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.fv-reviews, .fv-partners-home, .fv-contacts { width: min(100%, 80rem); margin-inline: auto; padding: clamp(1.5rem, 5vw, 4rem) clamp(1rem, 3vw, 2rem); }
.fv-reviews-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .6rem 1rem; margin-bottom: 1rem; }
.fv-reviews-heading h2, .fv-contacts > h2 { font-size: clamp(1.45rem, 3vw, 2.2rem); font-weight: 800; }
.fv-reviews-heading a, .fv-all-projects, .fv-map-actions a, .fv-contact-panel dd a { color: #ff9c62; font-size: .9rem; font-weight: 650; }
.fv-review-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: .85rem; }
.fv-review { display: flex; flex-direction: column; padding: clamp(1rem, 2vw, 1.35rem); }
.fv-review-quote { color: #d3d5dc; font-size: .875rem; line-height: 1.6; }
.fv-review figcaption { display: grid; gap: .25rem; margin-top: auto; padding-top: 1rem; color: #f1f1f3; font-size: .85rem; }
.fv-review figcaption span { color: #a7abb5; font-size: .75rem; }
.fv-project-details summary { width: fit-content; color: #ff9c62; font-weight: 650; cursor: pointer; }
@media (min-width: 620px) { .fv-review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 930px) { .fv-review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fv-logo-grid, .fv-partner-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.fv-logo-grid a { display: grid; grid-template-rows: 5rem auto; gap: .6rem; align-items: center; padding: .65rem; border: 1px solid #2a2d32; border-radius: .8rem; background: #111215; text-align: center; font-size: .8rem; overflow-wrap: anywhere; }
.fv-partner-logo { display: grid; height: 5rem; place-items: center; padding: .7rem; border-radius: .5rem; background: #ededf0; }
.fv-partner-logo img { width: auto; max-width: 100%; height: auto; max-height: 3.25rem; object-fit: contain; }
.fv-partner-card > .fv-partner-logo { border-radius: 0; }
.fv-partner-card h2 { font-size: 1rem; }
.fv-partner-card .fv-project-subtitle { margin-top: .4rem; }
@media (max-width: 490px) { .fv-partner-grid { grid-template-columns: 1fr; } }
@media (min-width: 650px) { .fv-logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 950px) { .fv-logo-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); } .fv-partner-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.columns-1:has(.fv-portfolio) { columns: auto; }
.fv-portfolio { column-span: all; }
.fv-portfolio-grid, .fv-home-project-grid { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: clamp(.75rem, 2vw, 1.15rem); }
.fv-home-project-grid { max-width: 80rem; margin: 1.5rem auto 0; padding-inline: clamp(1rem, 3vw, 2rem); }
.fv-home-project-grid + .fv-all-projects { display: block; width: fit-content; margin: 1rem auto 0; }
.fv-portfolio-grid .fv-project-card { display: block; margin: 0; }
.fv-portfolio-grid .fv-project-card[hidden] { display: none; }
.fv-photo-button { display: block; width: 100%; cursor: zoom-in; text-align: start; }
.fv-portfolio-grid .fv-project-card > .fv-photo-button img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.fv-project-details { margin-top: .8rem; }
.fv-project-details summary { font-size: .88rem; }
.fv-project-preview figcaption { display: block; padding: .65rem .75rem; color: #f3f4f6; font-size: .85rem; font-weight: 600; }
.fv-portfolio-filters, .fv-pagination ul { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.fv-pagination ul { justify-content: center; margin: 1.5rem 0 0; }
.fv-portfolio-filters a, .fv-pagination .page-numbers:not(ul) { display: block; padding: .45rem .7rem; border: 1px solid #303238; border-radius: .55rem; color: #d4d7de; font-size: .875rem; }
.fv-portfolio-filters a[aria-current], .fv-pagination .current { border-color: #ba6230; color: #ff9c62; background: #211710; }
.fv-map-open { padding: .5rem .7rem; border: 1px solid #3c3e45; border-radius: .5rem; color: #f3f4f6; background: #1b1c21; }
@media (min-width: 540px) { .fv-portfolio-grid, .fv-home-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 880px) { .fv-portfolio-grid, .fv-home-project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.fv-contacts > h2 { margin-bottom: 1rem; }
.fv-contact-grid { display: grid; gap: .9rem; }
.fv-contact-panel { min-width: 0; padding: clamp(1rem, 3vw, 1.55rem); border: 1px solid var(--fv-surface-line); border-radius: .95rem; background: var(--fv-surface-ink); }
.fv-contact-panel h3 { margin-bottom: .85rem; font-size: 1.15rem; font-weight: 780; }
.fv-contact-phones { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-bottom: .8rem; }
.fv-contact-phones a, .fv-footer-phone { color: #f3f4f6; font-size: 1rem; font-weight: 750; }
.fv-social-links { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.fv-social-links a { display: block; padding: .35rem .55rem; border: 1px solid #36383e; border-radius: .45rem; color: #d7d9de; font-size: .8rem; }
.fv-social-links a:hover { color: #ff9c62; }
:is(.fv-mobile-contacts,.fv-social-links) a { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.75rem; }
.fv-social-icon { display: block; width: 18px; height: 18px; flex: none; }
.fv-contact-panel dl { display: grid; row-gap: .3rem; margin-top: 1rem; color: #d0d2d8; font-size: .9rem; }
.fv-contact-panel dt { font-weight: 700; }
.fv-contact-panel dd { margin: 0 0 .45rem; color: #b7bac4; }
.fv-request { display: grid; align-content: start; gap: .5rem; }
.fv-request label { color: #d3d5db; font-size: .9rem; font-weight: 650; }
.fv-request :is(select, textarea) { width: 100%; min-width: 0; padding: .6rem .7rem; border: 1px solid #3a3b42; border-radius: .55rem; background: #090a0d; color: #f1f1f3; font-size: 16px; }
.fv-request .fv-call { justify-self: start; margin-top: .35rem; white-space: normal; }
.fv-map { display: grid; align-items: center; gap: .9rem; }
.fv-map h3 { margin: 0 0 .25rem; }
.fv-map p { color: #b7bac4; font-size: .9rem; }
.fv-map-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; }
.fv-map iframe { width: 100%; height: clamp(16rem, 40vw, 25rem); border: 0; border-radius: .65rem; }
.fv-map iframe[hidden] { display: none; }
@media (min-width: 730px) { .fv-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fv-map { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto; } .fv-map iframe { grid-column: 1 / -1; } }

.fv-site-shell { --fv-shell-ink: #0c0f13; --fv-surface-ink: #12171d; --fv-surface-line: #303943; }
.fv-footer { border-top: 1px solid #333; background: var(--fv-shell-ink); }
.fv-footer-inner, .fv-footer-bottom { display: grid; width: min(100%, 80rem); margin-inline: auto; padding: clamp(1rem, 3vw, 2rem); gap: 1rem; }
.fv-footer-identity p { margin-top: .55rem; color: #aeb1ba; font-size: .875rem; }
.fv-footer-links { display: flex; flex-wrap: wrap; gap: .6rem 1rem; margin: 0; padding: 0; list-style: none; }
.fv-footer-links a { color: #d1d3da; font-size: .875rem; }
.fv-footer-links a:hover { color: #ff9c62; }
.fv-footer-contact { display: grid; gap: .65rem; align-content: start; }
.fv-footer-bottom { gap: .35rem; border-top: 1px solid #26282d; color: #acafb9; font-size: .875rem; }
@media (min-width: 840px) { .fv-footer-inner { grid-template-columns: 1fr 1.65fr 1fr; } .fv-footer-bottom { grid-template-columns: max-content 1fr; gap: 1rem; } }

[data-fv-disabled-link] { display: none !important; }

body.home [data-intro-title] {
    font-size: clamp(1.95rem, 5vw, 4.65rem);
    font-weight: 820;
    letter-spacing: -.04em;
    line-height: 1.04;
    text-wrap: balance;
}
body.home [data-intro-cam] { border-radius: clamp(.85rem, 2vw, 1.35rem); }
.fv-fox-surprise [data-fox-creepy] {
    position: absolute;
    z-index: 18;
    inset: 0;
    display: block !important;
    width: 100%;
    height: 100%;
    opacity: 1 !important;
    object-fit: cover;
    filter: none !important;
}
@media (max-width: 430px) {
    body.home [data-intro-title] { font-size: clamp(1.9rem, 7vw, 2.45rem); }
}

[data-intro-cam] div:has(> #hero-cam-date),
[data-intro-cam] div:has(> #hero-cam-clock) { display: none; }
[data-intro-cam] .animate-pulse { animation: none; }

/* Primary navigation */
.fv-header { background: var(--fv-shell-ink); border-color: #262c33; }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .fv-header {
        --header-blur: 10px;
        background-color: rgb(12 15 19 / 73%);
        border-bottom-color: rgb(195 211 228 / 16%);
        -webkit-backdrop-filter: blur(var(--header-blur));
        backdrop-filter: blur(var(--header-blur));
    }
    @media (max-width: 959px) {
        .fv-header { --header-blur: 6px; background-color: rgb(12 15 19 / 80%); }
    }
    @media (prefers-reduced-transparency: reduce), (forced-colors: active) {
        .fv-header {
            background-color: var(--fv-shell-ink);
            -webkit-backdrop-filter: none;
            backdrop-filter: none;
        }
    }
}
.fv-site-shell { --fv-header-height: 4.65rem; }
.fv-header-inner { min-height: var(--fv-header-height); }
.fv-header .fv-brand { gap: .55rem; font-size: 1.22rem; letter-spacing: -.045em; }
.fv-nav-desktop { padding: 0; border: 0; border-radius: 0; background: transparent; }
.fv-nav-desktop .fv-nav-links { gap: .25rem; }
.fv-nav-desktop .fv-nav-links a { border-radius: .5rem; padding: .55rem .75rem; font-size: .865rem; }
.fv-nav-desktop .fv-nav-links a:hover, .fv-nav-desktop .current-menu-item > a { background: #292a2c; color: #fff; }
.fv-header .fv-call { border-radius: .625rem; padding-inline: 1.1rem; font-weight: 650; }
.fv-mobile-nav summary { border-radius: .625rem; }
.fv-menu-icon { position: relative; display: block; width: 1.05rem; height: 1rem; border: 0; }
.fv-menu-icon::before, .fv-menu-icon::after {
    content: ""; position: absolute; left: 0; width: 100%; height: 2px;
    border-radius: 2px; background: currentColor; transition: top .18s ease, transform .18s ease;
}
.fv-menu-icon::before { top: .32rem; }
.fv-menu-icon::after { top: .68rem; }
.fv-mobile-nav[open] .fv-menu-icon::before { top: .5rem; transform: rotate(45deg); }
.fv-mobile-nav[open] .fv-menu-icon::after { top: .5rem; transform: rotate(-45deg); }
.fv-mobile-nav nav { padding: .85rem max(1rem, calc((100% - 46rem) / 2)) 1.1rem; border-bottom: 1px solid #48433f; }
.fv-mobile-nav .fv-nav-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem; }
.fv-mobile-nav .fv-nav-links a { background: #191a1c; border-radius: .65rem; padding: .85rem; }

/* Portraits and the partner strip */
.fv-team-grid { gap: clamp(.8rem,1.8vw,1.35rem); }
.fv-team-card { border: 0; background: transparent; border-radius: 0; }
.fv-team-photo { border-radius: .95rem; aspect-ratio: 4 / 4.7; overflow:hidden; }
.fv-team-info { padding: .9rem .1rem .1rem; }
.fv-team-info h3 { font-size: clamp(1.05rem,1.45vw,1.4rem); letter-spacing:-.03em; }
.fv-team-role { font-size:.875rem; }
.fv-team-bio { border-top: 1px solid #2e2f30; padding-top:.55rem; line-height:1.55; }
.fv-logo-grid { display:grid; grid-template-columns:none; grid-auto-flow:column; grid-auto-columns: minmax(0,calc((100% - 4rem) / 6)); align-items:stretch; gap:.8rem; overflow-x:auto; scroll-snap-type:x proximity; padding-bottom:.6rem; scrollbar-width:thin; scrollbar-color:#52483f transparent; }
.fv-logo-grid > a { display:flex; flex-direction:column; align-items:stretch; gap:0; border-color:#323234; border-radius:.9rem; padding:0; overflow:hidden; scroll-snap-align:start; text-align:left; }
.fv-logo-grid .fv-partner-logo { height:6.25rem; border-radius:0; background:#f3f4f6; }
.fv-logo-grid > a span { padding:.6rem .8rem; }
.fv-rail-controls { display:flex; justify-content:flex-end; gap:.45rem; margin-top:.5rem; }
.fv-rail-controls[hidden] { display:none; }
.fv-rail-controls button,.fv-back-top { display:grid; place-items:center; width:2.75rem; height:2.75rem; border-radius:50%; border:1px solid #414144; color:#f4f3ef; background:#19191b; }
.fv-rail-controls button:disabled { opacity:.35; }

/* Contact invitation and footer navigation */
.fv-footer-lead { display:flex; justify-content:space-between; align-items:center; gap:1rem; width:min(100%,80rem); margin:auto; padding:clamp(2rem,4vw,4rem) clamp(1rem,3vw,2rem); border-bottom:1px solid #333; }
.fv-footer-lead > a:first-child { font-size:clamp(1.85rem,5vw,4.6rem); font-weight:780; letter-spacing:-.055em; line-height:1.05; color:#f4f0ea; }
.fv-footer-lead span { color:#ff904e; }
.fv-back-top { flex:none; }
.fv-footer-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
.fv-footer-inner { gap: clamp(1.5rem, 4vw, 3.5rem); padding-block: clamp(1.75rem, 4vw, 3.5rem); }
.fv-footer-links { gap: .15rem 1rem; }
.fv-footer-links a { display: inline-flex; align-items: center; min-height: 2.75rem; line-height: 1.35; }
.fv-footer-contact .fv-social-links a { display: inline-flex; align-items: center; min-height: 2.75rem; padding-inline: .8rem; }
@media (max-width: 839px) {
    .fv-footer-contact { grid-row: 2; }
    .fv-footer-nav { border-top: 1px solid #333; padding-top: 1rem; }
}
.fv-footer-phone { font-size:1.3rem; letter-spacing:-.035em; }
@media(max-width:850px) {
    .fv-logo-grid { grid-auto-columns:calc((100% - 2.4rem) / 4); }
}
@media(max-width:767px) {
    .fv-site-shell { --fv-header-height: 3.85rem; }
    body.home [data-parallax]:has(> [data-intro-cam]) { display:grid; grid-template-columns:minmax(0,1fr); gap:.7rem; }
    body.home [data-intro-cam] { width:100%; max-width:none; }
    body.home .fv-hero-links { display:flex; flex-direction:row; max-width:none; gap:.45rem; }
    body.home .fv-hero-contact { flex:1 1 0; min-width:0; border-radius:2rem; min-height:2.65rem; }
    body.home .fv-hero-contact:first-child { color:#16110d; background:#ff914e; border-color:#ff914e; }
    .fv-logo-grid { grid-auto-columns:clamp(8.7rem,41%,14rem); }
    .fv-team-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:540px) {
    .fv-team-grid { display:flex; overflow-x:auto; scroll-snap-type:x proximity; gap:.8rem; padding-bottom:.6rem; scrollbar-width:thin; scrollbar-color:#504941 transparent; }
    .fv-team-grid .fv-team-card { flex:0 0 min(73vw,18rem); scroll-snap-align:center; }
    .fv-team-photo { aspect-ratio:1.05; }
    .fv-team-photo img { object-position:50% 30%; }
    .fv-rail-controls { justify-content:flex-start; }
}

:root {
    --fv-title: #f7f5f2;
    --fv-copy: #dad7d3;
    --fv-muted: #b6b2ae;
    --fv-accent: #ffa46c;
    --fv-link-highlight: #ffcfad;
    --fv-display: "Manrope Variable", Manrope, system-ui, sans-serif;
    --fv-body: "Inter Variable", Inter, system-ui, sans-serif;
}
.fv-site-shell { color: var(--fv-copy); font-family: var(--fv-body); line-height: 1.55; }
.fv-site-shell :is(h1, h2, h3, .font-display, .fv-brand, .fv-footer-lead) { font-family: var(--fv-display); }
main :is(h1, h2, h3) { color: var(--fv-title); text-wrap: balance; }
main h1.font-display { font-size: clamp(2.15rem, 1.4rem + 3vw, 4rem); line-height: 1.07; letter-spacing: -.042em; }
main :is(h2.text-3xl, .fv-section-heading, .fv-reviews-heading h2, .fv-contacts > h2) {
    font-size: clamp(1.7rem, 1.25rem + 1.9vw, 3rem); font-weight: 650; line-height: 1.13; letter-spacing: -.025em;
}
main .text-fog-100 { color: var(--fv-title); }
main .text-fog-300, main :is(.fv-project-copy,.fv-review-quote,.fv-team-bio) { color: var(--fv-copy); }
main .text-fog-400, main .text-fog-500 { color: var(--fv-muted); }
main .text-fox-400, main .fv-team-role { color: var(--fv-accent); }
main .text-gradient-fox, main .neon-fox {
    background-image: none; color: var(--fv-accent); -webkit-text-fill-color: currentColor; text-shadow: none;
}
main :is(p.leading-relaxed, .fv-project-copy, .fv-hub-card p) { line-height: 1.65; }
main p.leading-relaxed:not(.text-xs):not(.text-sm) { max-inline-size: 68ch; }
main :is(.fv-team-bio,.fv-review-quote,.fv-section-link p) { font-size: .9375rem; }
.fv-price-group { border: 1px solid #333233; border-radius: 1rem; overflow: hidden; background: var(--fv-surface-ink); }
.fv-price-group h2 { font-size: clamp(1.2rem, 1rem + 1vw, 1.7rem); font-weight: 730; letter-spacing: -.025em; line-height: 1.25; padding: 1.3rem clamp(1rem, 3vw, 1.75rem); background: #1b222a; }
.fv-price-group li { padding: 1rem clamp(1rem, 3vw, 1.75rem); }
.fv-price-group li + li { border-top: 1px solid #302e2e; }
.fv-price-line { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 1rem; }
.fv-price-line strong { color: var(--fv-title); text-align: end; font-variant-numeric: tabular-nums; }
.fv-price-group small { display: inline-block; margin-bottom: .35rem; color: var(--fv-accent); font-weight: 650; }
.fv-price-group li > a { display: inline-block; padding-block: .35rem; color: var(--fv-accent); font-size: .875rem; }
.fv-price-group li p { margin-block: .35rem; max-width: 70ch; color: var(--fv-muted); }
@media (max-width: 640px) {
    .fv-price-line { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
    .fv-price-line strong { text-align: start; }
}

.fv-review-grid, .fv-team-grid, .fv-home-project-grid, .fv-logo-grid {
    display: flex; flex-flow: row nowrap; align-items: stretch;
    overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #514840 transparent;
    gap: 1rem; padding: 0 0 .65rem;
}
.fv-team-grid, .fv-home-project-grid, .fv-rail-controls {
    width: min(calc(100% - 2 * clamp(1rem, 3vw, 2rem)), 76rem); margin-inline: auto;
}
.fv-team-grid { --card-size: calc((100% - 3rem) / 4); }
.fv-home-project-grid { --card-size: calc((100% - 2rem) / 3); }
.fv-logo-grid { --card-size: calc((100% - 3rem) / 4); }
.fv-team-grid .fv-team-card, .fv-home-project-grid > figure, .fv-logo-grid > a { flex: 0 0 var(--card-size); scroll-snap-align: start; }
.fv-team-grid .fv-team-card { width: auto; }
.fv-home-project-grid > figure { width: 100%; margin: 0; }
.fv-home-project-grid figcaption, .fv-logo-grid > a span { padding: .8rem 1rem; font-size: .95rem; line-height: 1.4; }
.fv-logo-grid .fv-partner-logo { height: clamp(7rem, 10vw, 9rem); }
.fv-logo-grid .fv-partner-logo img { max-height: 4.5rem; }
.fv-rail-controls { margin-top: .5rem; justify-content: flex-end; }
.fv-partners-home .fv-rail-controls { width: 100%; }
.fv-rail-controls + .fv-all-projects { display: block; width: fit-content; margin: .75rem auto 0; }
@media (max-width: 900px) {
    .fv-team-grid, .fv-home-project-grid, .fv-logo-grid { --card-size: calc((100% - 1rem) / 2); }
}
@media (max-width: 600px) {
    .fv-team-grid, .fv-home-project-grid { --card-size: 83%; }
    .fv-logo-grid { --card-size: 68%; }
    .fv-rail-controls { justify-content: flex-start; }
}

.fv-icon-defs { position: absolute; pointer-events: none; }
.fv-arrow { display: inline-block; flex: none; width: 1.15em; height: 1.15em; vertical-align: -.16em; }
.fv-arrow-left { transform: rotate(180deg); }
.fv-arrow-diagonal { transform: rotate(-45deg); }
.fv-arrow-up { transform: rotate(-90deg); }
.fv-back-top .fv-arrow, .fv-rail-controls .fv-arrow { width: 1.2rem; height: 1.2rem; }
.fv-footer-lead > a:first-child .fv-arrow { width: .82em; height: .82em; vertical-align: baseline; color: var(--fv-accent); }
.fv-site-shell:focus { outline: none; }

.fv-carousel-frame { position: relative; width: min(calc(100% - 2 * clamp(1rem, 3vw, 2rem)), 76rem); margin: 1.5rem auto 0; }
.fv-partners-home .fv-carousel-frame { width: 100%; margin-top: 0; }
.fv-carousel-frame > :is(.fv-team-grid, .fv-home-project-grid, .fv-logo-grid) { width: 100%; margin: 0; }
.fv-carousel-frame > .fv-rail-controls {
    position: absolute; z-index: 2; inset-inline: 0; top: var(--control-height, 35%); transform: translateY(-50%);
    display: flex; width: auto; margin: 0; justify-content: space-between; pointer-events: none;
}
.fv-carousel-frame > .fv-rail-controls[hidden] { display: none; }
.fv-rail-controls button {
    pointer-events: auto; background: #101113; border: 1px solid #93908b; color: #fff;
    box-shadow: 0 2px 6px #0006; cursor: pointer;
}
.fv-rail-controls button:disabled { visibility: hidden; pointer-events: none; }
.fv-carousel-frame + .fv-all-projects { display: block; width: fit-content; margin: .85rem auto 0; }

/* Browse the rail from the gutters without covering its photographs. */
.fv-carousel-frame { --gutter: clamp(3rem, 4vw, 3.75rem); padding-inline: var(--gutter); }
.fv-carousel-frame:has(> .fv-rail-controls[hidden]) { padding-inline: 0; }
@media (max-width: 600px) {
    .fv-carousel-frame { width: calc(100% - .5rem); }
    .fv-partners-home .fv-carousel-frame { margin-inline: -.75rem; width: calc(100% + 1.5rem); }

}

@media (max-width: 767px) {
    .fv-carousel-frame > :is(.fv-team-grid, .fv-home-project-grid, .fv-logo-grid) {
        --card-size: 100%; scroll-snap-type: x mandatory;
    }
}

/* Homepage introduction */
body.admin-bar { --fv-admin-height: var(--wp-admin--admin-bar--height, 32px); }
.fv-intro {
    display: grid;
    align-content: center;
    min-height: calc(100svh - var(--fv-header-height) - var(--fv-admin-height, 0px));
    background: #121417;
}
.fv-intro-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.03fr);
    align-items: center;
    width: min(100%, 80rem);
    margin-inline: auto;
    gap: clamp(2rem, 4vw, 4rem);
    padding: clamp(3rem, 5vw, 5rem) clamp(1.25rem, 3vw, 2rem);
}
.fv-intro-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: start;
    gap: 1.25rem;
}
.fv-intro #hero-status {
    order: -1;
    display: block;
    width: auto;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #ffb066;
    font: 600 .875rem/1.4 var(--fv-body);
}
body.home .fv-intro .fv-intro-title {
    max-width: 18ch;
    margin: 0;
    color: var(--fv-title);
    font: 640 clamp(2.7rem, 4.2vw, 4.25rem)/1.07 var(--fv-display);
    letter-spacing: -.035em;
    text-wrap: balance;
    overflow-wrap: normal;
}
.fv-intro-description {
    max-width: 52ch;
    margin: 0;
    color: var(--fv-copy);
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    line-height: 1.62;
}
.fv-intro-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .75rem;
    width: 100%;
    margin-top: .25rem;
}
.fv-intro-actions :is(.fv-hero-primary, .fv-hero-secondary) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: .65rem 1.15rem;
    border-radius: .625rem;
    font-size: .925rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    box-shadow: none;
    transition: background-color .16s ease-out, border-color .16s ease-out, color .16s ease-out;
}
.fv-intro-actions .fv-hero-primary {
    border: 1px solid #ff9a58;
    background: #ff9a58;
    color: #17110c;
}
.fv-intro-actions .fv-hero-primary:hover { background: #ffb27d; border-color: #ffb27d; }
.fv-hero-secondary-wrap { display: flex; margin: 0; }
.fv-intro-actions .fv-hero-secondary {
    border: 1px solid #45494f;
    background: transparent;
    color: var(--fv-title);
}
.fv-intro-actions .fv-hero-secondary:hover { border-color: #b6b2ae; background: #1d2126; }
.fv-intro-facts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    width: 100%;
    margin-top: .25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #30353a;
}
.fv-intro-facts > * + * { border-inline-start: 1px solid #3b4147; padding-inline-start: 1.5rem; }
.fv-intro-facts .font-display {
    color: var(--fv-title);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.2;
}
.fv-intro-facts .text-xs { color: var(--fv-muted); font-size: .875rem; }
.fv-intro-facts a:hover .font-display { color: #ffb066; }
.fv-intro-visual { width: 100%; max-width: none; min-width: 0; justify-self: stretch; }
body.home .fv-intro .fv-intro-camera { display: block; width: 100%; transform: none; }
.fv-hero-photo-frame {
    overflow: hidden;
    border: 1px solid #383c41;
    border-radius: 1rem;
    background: #171a1e;
}
.fv-hero-photo-frame .fv-hero-photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center;
    filter: none;
}
.fv-hero-photo-frame p {
    margin: 0;
    padding: .85rem 1rem;
    border-top: 1px solid #34383d;
    color: var(--fv-muted);
    font-size: .8rem;
    line-height: 1.4;
}
@media (max-width: 767px) {
    .fv-intro { min-height: 0; }
    .fv-intro-layout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "region" "title" "description" "actions" "media" "facts";
        gap: 1rem;
        padding: 2.5rem clamp(1rem, 4vw, 1.5rem) 3rem;
    }
    .fv-intro-copy { display: contents; }
    .fv-intro #hero-status { grid-area: region; }
    body.home .fv-intro .fv-intro-title {
        grid-area: title;
        max-width: 19ch;
        font-size: clamp(2.15rem, 8vw, 3.25rem);
    }
    .fv-intro-description { grid-area: description; }
    .fv-intro-actions { grid-area: actions; margin-top: .25rem; }
    .fv-intro-visual { grid-area: media; margin-top: .5rem; }
    .fv-intro-facts { grid-area: facts; margin-top: .25rem; }
    .fv-hero-photo-frame .fv-hero-photo { aspect-ratio: 1; }
}
@media (max-width: 420px) {
    .fv-intro-actions { align-items: stretch; }
    .fv-intro-actions :is(.fv-hero-primary, .fv-hero-secondary) { flex: 1 1 auto; padding-inline: .8rem; }
    .fv-intro-facts { gap: .75rem 1rem; }
    .fv-intro-facts > * + * { padding-inline-start: 1rem; }
}

/* Service catalog */
#services [data-carousel], main [data-reveal-group]:has(> .fv-service-card) {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
    gap: clamp(.65rem, 1.4vw, 1.15rem); overflow: visible; cursor: auto;
}
#services [data-carousel] { width: min(100%, 80rem); margin: 1.5rem auto 0; padding: 0 clamp(1rem, 3vw, 2rem); }
.fv-service-card, #services a[data-goal-place="services"] {
    position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: end;
    width: auto; min-width: 0; min-height: clamp(12rem, 20vw, 17rem); overflow: hidden;
    border-radius: 1rem; border: 1px solid #393635; background: #202020; box-shadow: none;
}
.fv-service-card > img, #services a[data-goal-place="services"] > img {
    position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1;
}
.fv-service-card::after, #services a[data-goal-place="services"]::after {
    content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, #0b0b0b08 15%, #0b0b0b50 46%, #0b0b0bf2 100%);
}
.fv-service-card > div, #services a[data-goal-place="services"] > div:last-child {
    height: auto; padding: clamp(.9rem, 2.1vw, 1.5rem);
}
.fv-service-card :is(h2, h3), #services a[data-goal-place="services"] h3 {
    font: 720 clamp(1.05rem, 1.65vw, 1.52rem)/1.16 var(--fv-display); letter-spacing: -.028em; color: #fff;
    text-wrap: balance; overflow-wrap: anywhere;
}
.fv-service-card p { margin-top: .5rem; font-size: 1rem; line-height: 1.5; color: #e8e4de; }
#services a[data-goal-place="services"] > div:not(:last-child), #services a[data-goal-place="services"] p,
#services a[data-goal-place="services"]::before { display: none; }
.fv-service-card ~ .fv-pagination { grid-column: 1/-1; }
@media (min-width: 580px) {
    main [data-reveal-group]:has(> .fv-service-card) { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (min-width: 960px) {
    main [data-reveal-group]:has(> .fv-service-card) { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (min-width: 420px) and (max-width: 579px) {
    #services [data-carousel] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #services [data-carousel] > a { min-height: 11.5rem; }
}

.fv-portfolio-grid { align-items: stretch; grid-auto-rows: 1fr; }
.fv-portfolio-grid:has(details[open]) { grid-auto-rows: auto; }
.fv-portfolio-grid .fv-project-card { display: flex; flex-direction: column; border-radius: 1.1rem; }
.fv-portfolio-grid .fv-project-text { display: flex; flex: 1; flex-direction: column; }
.fv-portfolio-grid .fv-project-details { margin-top: auto; padding-top: 1rem; }
.fv-project-details summary { padding-block: .4rem; }
.fv-portfolio-filters { padding-bottom: .6rem; }
.fv-portfolio-filters a, .fv-pagination .page-numbers:not(ul) { border-radius: .625rem; }
.fv-home-project-grid figcaption { font: 650 1.03rem/1.4 var(--fv-display); }

.fv-hub-section h1 { font-size: clamp(2.3rem, 5vw, 4.5rem); letter-spacing: -.05em; }
.fv-hub-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.fv-hub-card {
    display: grid; grid-template-columns: minmax(5rem, 32%) minmax(0, 1fr); align-items: stretch;
    min-height: 10rem; background: var(--fv-surface-ink);
}
.fv-hub-card::before { display: none; }
.fv-hub-cover { position: static; z-index: auto; min-height: 100%; height: 100%; max-height: 13rem; }
.fv-hub-card-text { display: flex; flex-direction: column; justify-content: center; align-items: start; padding: clamp(1rem,2vw,1.55rem); }
.fv-hub-card:not(:has(.fv-hub-cover)) .fv-hub-card-text { grid-column: 1/-1; }
.fv-hub-card-text > span { margin-top: auto; padding-top: .65rem; }
.fv-hub-card-wide { grid-column: 1/-1; grid-template-columns: minmax(0, 47%) minmax(0,1fr); }
.fv-hub-card-wide h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); }
.fv-hub-links a { border-radius: .625rem; }
@media (max-width: 760px) {
    .fv-hub-grid { grid-template-columns: minmax(0,1fr); }
    .fv-hub-card-wide { grid-template-columns: minmax(5rem,32%) minmax(0,1fr); }
}

.fv-faq { display: grid; gap: .65rem; }
.fv-faq-search { display: grid; gap: .45rem; font-weight: 650; margin-bottom: .8rem; }
.fv-faq-search input { width: 100%; min-height: 3rem; padding: .65rem 1rem; border: 1px solid #46413e; background: var(--fv-surface-ink); color: var(--fv-title); border-radius: .75rem; font-size: 1rem; }
.fv-guide-group { border: 1px solid var(--fv-surface-line); border-radius: .9rem; background: var(--fv-surface-ink); }
.fv-guide-group summary { display: flex; align-items: center; gap: .65rem; padding: 1rem 1.2rem; cursor: pointer; list-style: none; font: 680 clamp(1.05rem, 2vw, 1.35rem)/1.3 var(--fv-display); color: var(--fv-title); }
.fv-guide-group summary::-webkit-details-marker { display:none; }
.fv-guide-group summary h2 { display: flex; align-items: center; flex: 1; gap: .65rem; margin: 0; font: inherit; color: inherit; }
.fv-guide-group summary small { margin-left: auto; color: var(--fv-muted); font: 500 .875rem var(--fv-body); }
.fv-guide-group summary::after { content: ""; width: .55rem; height: .55rem; margin-inline: .45rem .15rem; border: solid var(--fv-accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.fv-guide-group[open] summary::after { transform: rotate(225deg); }
.fv-guide-group > div { gap: 0; padding-inline: 1rem; }
.fv-guide-group .fv-section-link { border: 0; border-radius: 0; border-top: 1px solid #34312f; background: transparent; }
.fv-guide-group .fv-section-link > div { padding: .9rem .25rem; }
.fv-guide-group a:hover h3 { color: var(--fv-accent); }
.fv-faq [hidden] { display: none; }
[data-start-here] > h2 {
    color: var(--fv-title); text-transform: none; font-size: clamp(1.35rem,2vw,1.85rem);
    letter-spacing: -.035em; font-weight: 700;
}
[data-start-here] .fv-section-link {
    display: grid; grid-template-columns: minmax(0,1fr) auto; align-content: start; gap: .85rem;
    padding: clamp(1rem,2vw,1.5rem); border: 1px solid var(--fv-surface-line); border-radius: 1rem; background: var(--fv-surface-ink);
}
[data-start-here] .fv-section-link > div { padding: 0; }
[data-start-here] .fv-section-link h3 { font: 700 clamp(1.03rem,1.5vw,1.25rem)/1.27 var(--fv-display); letter-spacing: -.025em; }
[data-start-here] .fv-section-link p { margin-top: .6rem; font-size: .93rem; line-height: 1.6; color: var(--fv-muted); }
[data-start-here] .fv-section-link > svg { color: var(--fv-muted); margin-top: .2rem; }
[data-start-here] .fv-section-link:hover { background: #1c242c; }
section:has(.fv-faq) a[href="/equipment/"] > span.absolute { display: none; }
.fv-breadcrumbs { font-size: .83rem; line-height: 1.5; }
.fv-breadcrumbs a { color: var(--fv-muted); }
.fv-breadcrumbs a:hover { color: var(--fv-title); }
.fv-breadcrumbs li[aria-current] { color: var(--fv-copy); }
.fv-breadcrumbs-wrap + section { padding-top: clamp(1.25rem, 3.5vw, 3rem); }
.fv-breadcrumbs-wrap + section > .pt-8 { padding-top: 0; }
.fv-price-index { display: flex; flex-wrap: wrap; gap: .5rem; }
.fv-price-index a { border: 1px solid #403c38; border-radius: 1.5rem; padding: .55rem .9rem; font-size: .85rem; }
.fv-price-index a:hover, .fv-price-group:target h2 { color: var(--fv-accent); }
.fv-price-group { scroll-margin-top: 5.5rem; }

[data-intro-cam] div:has(> p > #hero-cam-date) { display: none; }
body.home [data-intro-title] ~ .order-5 .btn-glow { filter: none; text-shadow: none; box-shadow: none; }
.fv-header .fv-brand { min-width: 0; flex-shrink: 1; }
.fv-header .fv-brand span { overflow: hidden; text-overflow: ellipsis; }

.fv-pagination a.page-numbers, .fv-portfolio-filters a { display: inline-flex; min-height: 2.75rem; min-width: 2.75rem; align-items: center; justify-content: center; }
:is(.fv-map-open, .fv-pagination a, .fv-portfolio-filters a, .fv-rail-controls button):focus-visible {
    outline: 2px solid var(--fv-accent); outline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) {
    .fv-map-open:hover, .fv-pagination a.page-numbers:hover, .fv-portfolio-filters a:hover,
    .fv-rail-controls button:enabled:hover {
        border-color: #ffa46c; background: #352318; color: #ffe1c9;
    }
}
.fv-map-open:active, .fv-pagination a.page-numbers:active, .fv-portfolio-filters a:active, .fv-rail-controls button:enabled:active {
    background: #513120; border-color: #ffac7a; color: #fff;
}
@media (prefers-reduced-motion: no-preference) {
    .fv-map-open, .fv-pagination a, .fv-portfolio-filters a, .fv-rail-controls button {
        transition: background-color .14s ease, border-color .14s ease, color .14s ease;
    }
}

/* Story index and related reading */
.fv-stories { display: grid; grid-template-columns: minmax(0, 1fr); gap: .9rem; }
.fv-story { display: flex; min-width: 0; overflow: hidden; border: 1px solid var(--fv-surface-line); border-radius: 1rem; background: var(--fv-surface-ink); }
.fv-story-link { display: flex; flex-direction: column; width: 100%; }
.fv-story-link > img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.fv-story-inner { display: flex; flex: 1; flex-direction: column; gap: .8rem; padding: clamp(1.15rem, 2.6vw, 2rem); }
.fv-story-inner h2 { font: 690 clamp(1.35rem, 2.1vw, 2rem)/1.16 var(--fv-display); letter-spacing: -.035em; }
.fv-story-inner p { line-height: 1.6; color: var(--fv-copy); }
.fv-story-read { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 1rem;
    font-size: .86rem; font-weight: 650; color: var(--fv-accent); }
.fv-story-link:focus-visible { outline-offset: -4px; border-radius: inherit; }
@media (min-width: 700px) { .fv-stories { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
body.single-fv_story main section a[href*="/blog/"]:hover .font-display { color: var(--fv-accent); }


/* Review bylines */
.fv-review { padding: clamp(1.1rem, 2vw, 1.6rem); border-radius: 1.1rem; background: #171716; }
.fv-review figcaption { display: flex; gap: .75rem; align-items: center; margin: 0 0 1rem; padding: 0 0 1rem; border-bottom: 1px solid var(--fv-surface-line); }
.fv-review .fv-review-avatar { display: grid; flex: 0 0 2.55rem; height: 2.55rem; place-items: center;
    border-radius: 50%; background: #e7ded1; color: #29231d; font: 660 1.2rem var(--fv-display); }
.fv-review-byline { display: grid; gap: .1rem; min-width: 0; overflow-wrap: anywhere; }
.fv-review-byline strong { color: var(--fv-title); font: 700 1.05rem/1.25 var(--fv-display); }
.fv-review-byline small { font-size: .8rem; color: var(--fv-muted); }

/* Partner directory */
.fv-partner-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: clamp(.8rem, 1.6vw, 1.3rem); }
.fv-partner-card { display: flex; flex-direction: column; padding: clamp(1.1rem, 2.3vw, 1.7rem);
    border-radius: 1.1rem; background: var(--fv-surface-ink); scroll-margin-top: 5.5rem; }
.fv-partner-identity { display: flex; align-items: center; gap: clamp(.75rem, 1.5vw, 1.2rem); padding-bottom: 1.05rem; border-bottom: 1px solid #363430; }
.fv-partner-identity > div { min-width: 0; }
.fv-partner-identity .fv-partner-logo { flex: 0 0 clamp(4.4rem, 9vw, 7.5rem); height: 4.8rem;
    border-radius: .65rem; background: #f3f4f6; padding: .55rem; }
.fv-partner-identity .fv-partner-logo img { max-height: 3.6rem; }
.fv-partner-identity h2 { font: 700 clamp(1.15rem, 2vw, 1.65rem)/1.15 var(--fv-display); letter-spacing: -.025em; overflow-wrap: anywhere; }
.fv-partner-card .fv-project-subtitle { margin: .4rem 0 0; color: var(--fv-muted); line-height: 1.4; }
.fv-partner-body { display: flex; flex: 1; flex-direction: column; gap: .9rem; padding-top: .9rem; }
.fv-partner-body .fv-project-copy p:first-child { margin-top: 0; }
.fv-partner-body .fv-all-projects { align-self: start; margin-top: auto; padding-block: .3rem; }
.fv-partner-card:target { border-color: #b98562; }
@media (min-width: 700px) { .fv-partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.fv-lab-heading { max-width: 72rem; margin-inline: auto; padding: clamp(1.8rem,4vw,3rem) clamp(1.25rem,3vw,2rem) 0; }
.fv-lab-heading h1 { font: 720 clamp(2.15rem,4.4vw,4rem)/1.05 var(--fv-display); letter-spacing: -.045em; }
.fv-lab-heading p { max-width: 62ch; margin-top: .9rem; line-height: 1.6; color: var(--fv-copy); }
.fv-lab-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: stretch; grid-auto-rows: 1fr; gap: clamp(1rem,2vw,1.5rem); }
.fv-lab-card { overflow: hidden; border: 1px solid #383633; border-radius: 1.1rem; background: var(--fv-surface-ink); }
.fv-lab-media { background: #0c0c0c; }
.fv-lab-media figure { max-width: none; margin: 0; }
.fv-lab-media :is(video,img) { display: block; width: 100%; aspect-ratio: 16/10; height: auto; object-fit: contain; }
.fv-lab-media figcaption { padding: .5rem 1rem; color: var(--fv-muted); }
.fv-lab-text { padding: clamp(1.05rem,2.2vw,1.65rem); }
.fv-lab-text h2 { margin: 0; font: 680 clamp(1.3rem,2vw,1.75rem)/1.2 var(--fv-display); letter-spacing: -.032em; }
.fv-lab-topic { margin-bottom: .55rem; font-size: .875rem; color: var(--fv-muted); }
.fv-lab-copy { margin-top: .85rem; line-height: 1.6; color: var(--fv-copy); overflow-wrap: anywhere; }
.fv-lab-copy > * + * { margin-top: .7rem; }
.fv-lab-copy :is(img,video,iframe) { max-width: 100%; }
@media(max-width: 700px) { .fv-lab-grid { grid-template-columns: minmax(0,1fr); } }
.fv-brand { transform-origin: center; -webkit-tap-highlight-color: transparent; }
.fv-brand:active { opacity: .8; }
@media (prefers-reduced-motion: no-preference) {
    .fv-brand { transition: transform .12s ease-out, opacity .12s ease-out; }
    .fv-brand:active { transform: translateY(1px) scale(.97); }
}

#services .fv-carousel-frame > [data-carousel] {
    display: flex; flex-flow: row nowrap; align-items: stretch; overflow-x: auto; width: 100%;
    margin: 0; padding: 0 0 .65rem; gap: 1rem; scroll-snap-type: x mandatory;
    scrollbar-width: thin; scrollbar-color: #514840 transparent;
}
#services .fv-carousel-frame > [data-carousel]::-webkit-scrollbar { display: revert; }
#services .fv-carousel-frame > [data-carousel] > a {
    flex: 0 0 calc((100% - 2rem) / 3); min-width: 0; margin: 0;
    min-height: clamp(12rem, 18vw, 16rem); scroll-snap-align: start; scroll-margin-inline: 0;
}
@media (max-width: 1000px) {
    #services .fv-carousel-frame > [data-carousel] > a { flex-basis: calc((100% - 1rem) / 2); }
}
@media (max-width: 767px) {
    #services .fv-carousel-frame > [data-carousel] { scroll-padding-inline: 0; }
    #services .fv-carousel-frame > [data-carousel] > a { flex-basis: 100%; }
}

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}
.fv-gallery .pswp__fv-caption {
    position: absolute; inset: auto 0 0; padding: .65rem 1rem max(.75rem, env(safe-area-inset-bottom));
    color: #f5f5f5; background: #101010dc; text-align: center; pointer-events: none;
    font: 550 1rem/1.35 var(--fv-body, sans-serif); overflow-wrap: anywhere;
}
.fv-gallery .pswp__top-bar { background-color: #101010b8; }
.fv-gallery .pswp__button:focus-visible { outline: 2px solid #ff9a58; outline-offset: -3px; }
.fv-gallery.pswp--touch:not(.pswp--one-slide) .pswp__button--arrow { visibility: visible; width: 44px; }
.fv-gallery.pswp--touch .pswp__button--arrow .pswp__icn { width: 32px; height: 32px; left: 6px; right: auto; }
.fv-gallery .pswp__button--download .pswp__icn, .fv-gallery .pswp__button--fullscreen .pswp__icn { fill: none; }

.fv-reviews-heading { align-items: center; margin-bottom: clamp(1rem, 2vw, 1.6rem); }
.fv-reviews-heading a { display: inline-flex; align-items: center; gap: .3rem; min-height: 2.75rem; }
.fv-reviews .fv-carousel-frame { width: 100%; margin-block-start: 0; --control-height: calc(50% - .325rem); }
.fv-review-grid > .fv-review { flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
@media (min-width: 720px) {
    .fv-review-grid > .fv-review { flex-basis: calc((100% - 1rem) / 2); }
}
@media (max-width: 600px) {
    .fv-reviews .fv-carousel-frame { width: calc(100% + 1.5rem); margin-inline: -.75rem; }
}
.fv-reviews .fv-review { padding: clamp(1.2rem, 2.5vw, 2rem); background: var(--fv-surface-ink); border-color: var(--fv-surface-line); }
.fv-reviews .fv-review-quote { font-size: clamp(1rem, 1.3vw, 1.16rem); line-height: 1.55; overflow-wrap: anywhere; }

.fv-lab-link, .fv-lab-card .fv-lab-text { display: flex; flex-direction: column; }
.fv-lab-link { height: 100%; }
.fv-lab-card .fv-lab-text { flex: 1; }
.fv-lab-card .fv-lab-media img { object-fit: cover; }
.fv-lab-summary { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
    margin-top: .65rem; color: var(--fv-copy); font-size: .95rem; line-height: 1.55; }
.fv-lab-read { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-top: auto;
    padding-top: 1.2rem; color: var(--fv-accent); font-weight: 650; }
.fv-lab-link:focus-visible { outline-offset: -3px; border-radius: inherit; }
.fv-lab-entry { width: min(100%, 55rem); margin-inline: auto; padding: 1.5rem clamp(1rem, 3vw, 2rem) 4rem; }
.fv-lab-entry h1 { margin-block: 1.4rem; color: var(--fv-title); font: 720 clamp(2rem,4vw,3.8rem)/1.08 var(--fv-display); overflow-wrap: anywhere; }
.fv-lab-entry .fv-lab-copy { font-size: 1.08rem; line-height: 1.65; }
.fv-lab-entry .fv-lab-copy p { max-width: 68ch; margin-top: 1rem; }
.fv-lab-entry video { display: block; width: 100%; max-height: 65svh; border-radius: .75rem; background: #08090a; }

.home main h2 a[href$="/portfolio/"] { text-decoration: none; }
.home main .fv-all-projects[href$="/portfolio/"] {
    display: flex; width: fit-content; min-height: 3rem; align-items: center; justify-content: center;
    gap: .8rem; margin: 1.25rem auto 0; padding: .65rem 1.3rem; border: 1px solid #aa734f;
    border-radius: .75rem; background: #1c1917; color: #ffb585; font-size: 1rem; text-decoration: none;
}
.home main h2 a[href$="/portfolio/"]:focus-visible { color: #ffcfad; }
@media (hover: hover) {
    .home main h2 a[href$="/portfolio/"]:hover { color: #ffcfad; text-shadow: 0 0 .45em #ff914c42; text-decoration: none; }
    .home main .fv-all-projects[href$="/portfolio/"]:hover { color: #17110e; background: #ffac74; border-color: #ffac74; }
}

.fv-carousel-frame > .swiper-wrapper.fv-dragging, #services .fv-carousel-frame > .fv-dragging { scroll-snap-type: none; user-select: none; cursor: grabbing; }

/* Match outer content gutters across internal pages. */
body.page:not(.home) main > .mx-auto.max-w-6xl,
body.page:not(.home) main > section > .mx-auto.max-w-6xl,
main > .fv-guide-related,
.fv-editorial-wide main :is(.mx-auto.max-w-3xl, .mx-auto.max-w-6xl, .fv-lab-entry, .fv-lab-heading) {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin-inline: auto;
    padding-inline: clamp(1rem, 3vw, 3rem);
}
.fv-editorial-wide .fv-lab-entry .fv-lab-copy p { max-width: none; }
.fv-editorial-wide main :is(.max-w-3xl,.max-w-6xl) > .p-8 { padding: clamp(1rem, 2.5vw, 2.25rem); }
.fv-editorial-wide main :is(h1,h2,h3,p) { overflow-wrap: break-word; }
.fv-guide-related { padding-bottom: clamp(2.5rem, 5vw, 5rem); }
.fv-guide-related h2 { margin-bottom: 1rem; color: var(--fv-title); font: 700 clamp(1.35rem, 2vw, 2rem)/1.2 var(--fv-display); }
.fv-related-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.fv-related-grid .fv-section-link > div { padding: clamp(1rem, 2vw, 1.5rem); }
.fv-guide-topic { display: block; margin-bottom: .55rem; color: var(--fv-accent); font-size: .8rem; }


.fv-guide-page { padding: clamp(1.25rem, 3vw, 3rem) clamp(1rem, 3vw, 3rem) clamp(2rem, 4vw, 4rem); min-width: 0; }
.fv-guide-page h1 { font: 750 clamp(1.85rem, 3vw, 3.25rem)/1.1 var(--fv-display); color: var(--fv-title); }
.fv-guide-copy > * { margin-top: 1.1rem; }
.fv-guide-copy p, .fv-guide-copy li, .fv-guide-note p { color: var(--fv-copy); line-height: 1.65; }
.fv-guide-copy :is(p,li) a { color: var(--fv-accent); font-weight: 650; }
.fv-guide-copy :is(ul,ol) { padding-inline-start: 1.5em; }
.fv-guide-copy ul { list-style: disc; }
.fv-guide-copy ol { list-style: decimal; }
.fv-guide-copy li + li { margin-top: .4em; }
.fv-guide-copy h2, .fv-guide-section > h2, .fv-guide-equipment h2 { color: var(--fv-title); font: 700 clamp(1.25rem, 2vw, 1.65rem)/1.25 var(--fv-display); }
.fv-guide-copy .wp-block-image { text-align: center; }
.fv-guide-copy .wp-block-image img { display: block; max-width: 100%; height: auto; margin-inline: auto; }
.fv-guide-copy .wp-block-image img[src*="/guide-diagrams/"] { width: min(100%, 60rem); }
.fv-guide-answers, .fv-guide-note, .fv-guide-contact { padding: clamp(1rem, 2.5vw, 2.25rem); background: var(--fv-surface-ink); border: 1px solid var(--fv-surface-line); border-radius: 1rem; }
.fv-guide-row + .fv-guide-row { margin-top: 2rem; }
.fv-guide-row > * + *, .fv-guide-note > * + * { margin-top: .65rem; }
.fv-guide-equipment, .fv-guide-contact, .fv-guide-section, .fv-guide-section + .fv-faq { margin-top: 2rem; }
.fv-guide-equipment { display: block; margin-bottom: 2rem; }
.fv-guide-equipment :is(span,strong) { color: var(--fv-accent); }
.fv-guide-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.fv-guide-contact > div { flex: 1 1 22rem; }
.fv-guide-section > h2 { margin-bottom: 1rem; }
@media (min-width: 60rem) {
    .fv-guide-row:has(> h2:first-child) { display: grid; grid-template-columns: minmax(12rem,1fr) minmax(0,2.4fr); column-gap: clamp(1.5rem,4vw,4rem); align-items: baseline; }
    .fv-guide-row > h2:first-child ~ * { grid-column: 2; }
    .fv-guide-row > h2:first-child + * { margin-top: 0; }
}

.fv-contact-callout > .flex-1 {
    flex: 1 1 18rem;
    min-width: 0;
    overflow-wrap: anywhere;
}
.fv-contact-callout > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    text-align: center;
}
@media (max-width: 45rem) {
    .fv-contact-callout > .flex-1 { flex-basis: 100%; }
    .fv-contact-callout > a { flex: 1 1 auto; }
}

/* Keep the same single-row geometry while the slider scripts are in flight. */
#services [data-carousel]:not(.swiper-wrapper) {
    display: flex; flex-flow: row nowrap; gap: 1rem; overflow-x: auto; scroll-snap-type: x proximity;
}
#services [data-carousel]:not(.swiper-wrapper) > a {
    flex: 0 0 calc((100% - 2rem) / 3); min-width: 0; scroll-snap-align: start;
}
@media (max-width: 900px) {
    #services [data-carousel]:not(.swiper-wrapper) > a { flex-basis: calc((100% - 1rem) / 2); }
}
@media (max-width: 600px) {
    #services [data-carousel]:not(.swiper-wrapper) > a,
    .fv-team-grid, .fv-home-project-grid, .fv-logo-grid { --card-size: 100%; }
    #services [data-carousel]:not(.swiper-wrapper) > a { flex-basis: 100%; }
}
html:has(#contacts:target) { scroll-behavior: auto; }
.fv-pagination .fv-more-button {
    display: inline-flex; align-items: center; justify-content: center; min-height: 2.85rem;
    padding: .65rem 1.5rem; border: 1px solid #755137; border-radius: .75rem;
    color: #ffb585; background: #1b1816; font: inherit; font-weight: 650; cursor: pointer;
}
.fv-pagination .fv-more-button:is(:hover, :focus-visible) { color: #18110d; background: #ffab6e; }
.fv-pagination .fv-more-button[aria-busy=true] { cursor: progress; }
.fv-pagination .fv-more-button[hidden], .fv-pagination > [hidden] { display: none; }

nav.fv-pagination[data-catalog] {
    grid-column: 1 / -1;
    display: grid;
    justify-items: center;
    width: 100%;
    gap: .6rem;
}
nav.fv-pagination[data-catalog]:has(> .fv-more-button:not([hidden])) {
    padding-block-start: clamp(1.25rem, 3vw, 2rem);
}
.fv-pagination .fv-more-button {
    box-sizing: border-box;
    min-inline-size: min(100%, 12rem);
    max-inline-size: 100%;
    text-align: center;
    text-decoration: none;
}
.fv-pagination [role="status"] {
    position: absolute;
    width: 1px; height: 1px; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap;
}

.fv-price-guide { margin-block-start: .45rem; min-width: 0; }
.fv-price-guide a { display: inline-block; max-width: 100%; padding-block: .35rem; color: var(--fv-accent); overflow-wrap: anywhere; line-height: 1.45; }
.fv-price-guide span { color: var(--fv-muted); margin-inline-end: .35em; }

/* Text links use the same warm highlight across catalogues and editorial pages. */
.fv-site-shell :is(.fv-breadcrumbs a, .fv-price-group a, .fv-guide-copy :is(p,li) a,
    a.underline, a.hover\:underline, a .hover\:underline) { text-decoration-line: none; }
@media (hover: hover) {
    .fv-site-shell :is(.fv-breadcrumbs a, .fv-price-group a, .fv-guide-copy :is(p,li) a,
        a.underline, a.hover\:underline):hover,
    .fv-site-shell a:hover .hover\:underline,
    .fv-site-shell :is(.fv-story-link, .fv-lab-link):hover h2 { color: var(--fv-link-highlight); }
}
.fv-site-shell :is(.fv-breadcrumbs a, .fv-price-group a, .fv-guide-copy :is(p,li) a,
    a.underline, a.hover\:underline):focus-visible,
.fv-site-shell :is(.fv-story-link, .fv-lab-link):focus-visible h2 { color: var(--fv-link-highlight); }

@media (forced-colors: active) {
    .fv-site-shell :is(.fv-guide-copy :is(p,li) a, a.underline, .fv-price-guide a) { text-decoration-line: underline; }
}

/* Site-wide polish: a single quiet accent and compact controls. */
.fv-site-shell .btn-glow { box-shadow: none; }
.fv-site-shell .neon-fox { text-shadow: none; }
.fv-site-shell main .uppercase { text-transform: none; letter-spacing: normal; }
@media (max-width: 767px) {
    .fv-price-index {
        flex-wrap: nowrap;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        padding-bottom: .25rem;
    }
    .fv-price-index::-webkit-scrollbar { display: none; }
    .fv-price-index a {
        flex: 0 0 auto;
        max-width: min(80vw, 22rem);
        scroll-snap-align: start;
    }
    .fv-portfolio-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        padding-bottom: .25rem;
    }
    .fv-portfolio-filters::-webkit-scrollbar { display: none; }
    .fv-portfolio-filters a { flex: 0 0 auto; white-space: nowrap; scroll-snap-align: start; }
    .fv-guide-copy .wp-block-image:has(img[src*="/guide-diagrams/"]) {
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: thin;
    }
    .fv-guide-copy .wp-block-image img[src*="/guide-diagrams/"] {
        max-width: none;
        min-width: 40rem;
    }
}

/* Browse by title first. Full-size media stays in the case or photo viewer. */
body:has(.fv-lab-grid) .fv-lab-heading,
body:has(.fv-lab-grid) main > section > .mx-auto,
body:has(.fv-stories) main > section > .mx-auto {
    max-width: 76rem;
}
main > section:has(+ section .fv-portfolio),
main > section:has(+ section .fv-stories),
main > section:has(+ section .fv-service-card) { padding-block: clamp(1.25rem,3vw,2.25rem); }
main > section:has(.fv-lab-grid, .fv-stories, .fv-portfolio, [data-reveal-group] > .fv-service-card) { padding-top: 1.5rem; }
.fv-lab-grid, .fv-stories {
    grid-auto-rows: auto;
    gap: 0 clamp(1rem,3vw,2.5rem);
}
.fv-lab-grid .fv-lab-card, .fv-stories .fv-story {
    border: 0;
    border-bottom: 1px solid var(--fv-surface-line);
    border-radius: 0;
    background: transparent;
}
.fv-lab-grid .fv-lab-link {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: .9rem;
    align-items: center;
    padding: 1rem .15rem;
}
.fv-lab-grid .fv-lab-link:has(.fv-lab-media) { grid-template-columns: clamp(5rem,10vw,8rem) minmax(0,1fr); }
.fv-lab-grid .fv-lab-media { overflow: hidden; border-radius: .4rem; }
.fv-lab-grid .fv-lab-media img { aspect-ratio: 4/3; }
.fv-lab-grid .fv-lab-text { padding: 0; }
.fv-lab-grid .fv-lab-text h2, .fv-stories .fv-story-inner h2 {
    font-size: clamp(1.03rem,1.5vw,1.35rem);
    line-height: 1.24;
}
.fv-lab-grid .fv-lab-summary { -webkit-line-clamp: 2; margin-top: .35rem; }
.fv-stories .fv-story-inner { gap: .35rem; padding: 1rem .15rem; }
.fv-stories .fv-story-read { align-self: flex-start; padding-top: .35rem; gap: .5rem; }
.fv-stories .fv-story-link:has(> img) { display: grid; grid-template-columns: 25% 1fr; gap: .85rem; align-items: center; }
.fv-stories .fv-story-link > img { aspect-ratio: 1; border-radius: .4rem; }
main [data-reveal-group] > .fv-service-card {
    display: grid; grid-template-columns: clamp(4rem,8vw,7rem) minmax(0,1fr);
    gap: .9rem; align-items: center; min-height: 0; aspect-ratio: auto;
    padding: .85rem; background: var(--fv-surface-ink);
}
main [data-reveal-group] > .fv-service-card > img { position: static; z-index: auto; height: auto; aspect-ratio: 1; border-radius: .4rem; }
main [data-reveal-group] > .fv-service-card::after { display: none; }
main [data-reveal-group] > .fv-service-card > div { padding: 0; }
main [data-reveal-group] > .fv-service-card h2 { font-size: 1.08rem; text-wrap: initial; }
main [data-reveal-group] > .fv-service-card p { margin-top: .3rem; color: var(--fv-copy); }
@media (min-width: 580px) {
    main [data-reveal-group]:has(> .fv-service-card) { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
.fv-portfolio-grid { grid-auto-rows: auto; align-items: start; }
.fv-portfolio-grid .fv-project-card > .fv-photo-button img { aspect-ratio: 16/9; max-height: 13rem; }
.fv-portfolio-grid .fv-project-text { padding: .85rem 1rem; }
.fv-portfolio-grid .fv-project-details { padding-top: .45rem; }
.fv-portfolio-grid .fv-project-details summary { min-height: 2.75rem; align-content: center; }
@media (max-width: 539px) {
    .fv-portfolio-grid .fv-project-card { display: flow-root; padding: .8rem; }
    .fv-portfolio-grid .fv-project-card[hidden] { display: none; }
    .fv-portfolio-grid .fv-project-card > .fv-photo-button { float: right; width: clamp(4.5rem,25vw,7rem); margin: 0 0 .45rem .7rem; }
    .fv-portfolio-grid .fv-project-card > .fv-photo-button img { aspect-ratio: 4/3; border-radius: .35rem; }
    .fv-portfolio-grid .fv-project-text { display: block; padding: 0; }
    .fv-portfolio-grid .fv-project-copy { clear: both; padding-top: .3rem; }
}
.fv-guide-page > .fv-faq { margin-top: 1.25rem; }
.fv-guide-group summary { min-height: 2.85rem; padding: .65rem 1rem; font-size: 1.03rem; }

/* Price list, contents and city directory */
body:has(.fv-pricebook) main > section:first-of-type,
body:has(.fv-city-directory) main > section:first-of-type { padding-block: clamp(1.3rem,3vw,2.4rem); }
body:has(.fv-pricebook) main > section > .mx-auto,
body:has(.fv-city-directory) main > section > .mx-auto { max-width: 70rem; margin-inline: auto; }
body:has(.fv-pricebook) main > section:first-of-type .text-center { text-align: left; }
body:has(.fv-pricebook) main > section:first-of-type .pt-8 { padding-top: 0; }
body:has(.fv-pricebook) main > section:first-of-type .max-w-2xl {
    margin: .55rem 0 0; padding: 0; border: 0; box-shadow: none; background: transparent;
}
main > section:has(.fv-pricebook,.fv-city-directory) { padding-top: 1.4rem; }
.fv-price-contents { padding: .25rem 0; border-block: 1px solid var(--fv-surface-line); margin-bottom: 1.5rem; }
.fv-price-contents summary { cursor: pointer; color: var(--fv-accent); padding: .8rem 0; font-weight: 650; }
.fv-price-contents nav { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,19rem),1fr)); padding: .25rem 0 1rem; gap: .3rem 1rem; }
.fv-price-contents a { padding-block: .6rem; text-decoration: underline; text-underline-offset: .25em; }
.fv-pricebook .fv-price-group { border: 0; border-radius: 0; background: transparent; margin: 0 0 2rem; }
.fv-pricebook .fv-price-group h2 { border-left: 3px solid var(--fv-accent); padding: .65rem .85rem; background: var(--fv-surface-ink); font-size: clamp(1.08rem,2vw,1.35rem); }
.fv-pricebook .fv-price-group li { padding: .8rem .25rem; }
.fv-pricebook .fv-price-line { grid-template-columns: minmax(0,1.8fr) minmax(7rem,1fr); align-items: baseline; }
.fv-price-line strong { overflow-wrap: anywhere; }
@media(max-width: 450px) {
    .fv-pricebook .fv-price-line { grid-template-columns: minmax(0,1.45fr) minmax(6.5rem,1fr); gap: .65rem; }
    .fv-pricebook .fv-price-line strong { text-align: right; }
}
.fv-city-directory { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,17rem),1fr)); gap: 0 1.5rem; }
.fv-city-link { position: relative; display: block; padding: 1.1rem 2rem 1.1rem 0; border-top: 1px solid var(--fv-surface-line); }
.fv-city-link h2 { font: 650 1.22rem/1.3 var(--fv-display); }
.fv-city-link p { font-size: .94rem; line-height: 1.45; color: var(--fv-copy); margin-top: .25rem; }
.fv-city-link svg { position: absolute; top: 1.2rem; right: .15rem; color: var(--fv-accent); }
.fv-city-link:hover h2 { color: var(--fv-accent); }
#hero-status a { text-decoration: underline; text-underline-offset: .25em; }
#contacts { scroll-margin-top: var(--fv-header-height,4.65rem); }

.fv-hub-card { min-height: 7rem; }
.fv-hub-card-text { justify-content: center; }
.fv-hub-card-text > span { display: none; }
.fv-hub-card:is(:hover,:focus-visible) h2 { color: var(--fv-accent); }
.fv-hub-links { gap: .25rem 1.25rem; border-top: 1px solid var(--fv-surface-line); padding-top: .5rem; }
.fv-hub-links a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .3rem 0; border: 0; text-decoration: underline; text-underline-offset: .24em; }
@media (max-width: 760px) {
    .fv-hub-grid { gap: 0; }
    .fv-hub-card, .fv-hub-card-wide {
        grid-template-columns: clamp(4rem,19vw,6.5rem) minmax(0,1fr); align-items: center;
        gap: .85rem; min-height: 0; padding: .8rem 0; border: 0; border-top: 1px solid var(--fv-surface-line);
        border-radius: 0; background: transparent; overflow: visible;
    }
    .fv-hub-cover { width: 100%; height: auto; min-height: 0; aspect-ratio: 1; border-radius: .4rem; }
    .fv-hub-card-text { padding: 0; }
    .fv-hub-card h2 { font-size: 1.125rem; }
    .fv-hub-card p { margin-top: .25rem; font-size: .9rem; line-height: 1.45; }
    .fv-hub-links { margin-top: .5rem; }
}
.fv-service-routes, .fv-service-detail .fv-related-grid { gap: 0 1.5rem; }
main .fv-service-routes > a, .fv-service-detail .fv-related-grid .fv-section-link {
    align-content: start; padding: .95rem 0; border: 0; border-top: 1px solid var(--fv-surface-line);
    border-radius: 0; background: transparent; box-shadow: none;
}
.fv-service-routes > a p + p { margin-top: .25rem; }
.fv-service-routes > a p:first-child, .fv-service-detail .fv-related-grid h3 { text-decoration: underline; text-decoration-color: #676a70; text-underline-offset: .24em; }
.fv-service-routes > a:is(:hover,:focus-visible) p:first-child,
.fv-service-detail .fv-related-grid a:is(:hover,:focus-visible) h3 { color: var(--fv-accent); }
.fv-service-detail .fv-related-grid .fv-section-link > div { padding: 0; }
.fv-service-detail .fv-guide-topic { margin-bottom: .35rem; }
.fv-request :is(select,textarea):focus, .fv-faq-search input:focus {
    border-color: #d7ac8e; outline: none; box-shadow: none;
}
@media (forced-colors: active) {
    .fv-request :is(select,textarea):focus, .fv-faq-search input:focus { outline: 1px solid Highlight; outline-offset: 0; }
}
.fv-map iframe { height: clamp(18rem,55vh,32rem); }
.fv-intro-facts a { min-height: 2.75rem; }
.fv-intro-facts a .font-display { text-decoration: underline; text-decoration-color: #81756d; text-underline-offset: .2em; }
