.fmv-site-main {
    --site-ink: #16372f;
    --site-muted: #475e54;
    --site-green: #176254;
    --site-paper: #fbfaf5;
    --site-line: #dbe3d9;
    --site-nav-height: 64px;
    --site-content-width: 100rem;
    --site-gutter: clamp(1.25rem, 3.4vw, 3.5rem);
    padding-top: var(--site-nav-height);
    background: var(--site-paper);
}

@media (min-width: 768px) {
    .fmv-site-main { --site-nav-height: 116px; }
}

.fmv-site-wrap {
    width: min(var(--site-content-width), calc(100% - 2 * var(--site-gutter)));
    margin-inline: auto;
}

.fmv-site-main .max-w-7xl, body > header .max-w-7xl, body > footer .max-w-7xl {
    width: 100%;
    max-width: 106rem;
    padding-inline: clamp(1.25rem, 3.4vw, 3.5rem);
}

.fmv-site-hero {
    --hero-dark: #0d271f;
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: center;
    overflow: hidden;
    color: var(--site-ink);
    background:
        radial-gradient(ellipse at 87% 22%, #cfe5d5, transparent 58%),
        linear-gradient(115deg, #f4ebd8, #f9f8ef 62%, #e1eadc);
    border-bottom: 1px solid var(--site-line);
}

.fmv-site-hero-inner { padding-block: clamp(2.5rem, 6vw, 5.5rem); }
.fmv-site-hero-copy { position: relative; z-index: 2; max-width: 44rem; }
.fmv-site-hero-split {
    min-height: clamp(24rem, 36vw, 36rem);
    color: #fffdf4;
    background: var(--hero-dark);
    border-bottom: 0;
}
.fmv-site-hero-split .fmv-site-hero-inner { padding-block: clamp(2.7rem, 5.4vw, 4.5rem); }
.fmv-site-hero-split .fmv-site-hero-copy { max-width: min(49rem, 57%); }
.fmv-site-hero-split .fmv-site-kicker { color: #d7ebd9; }
.fmv-site-hero-split .fmv-site-hero-lead { color: #eff4ef; }
.fmv-site-hero-split .fmv-site-back { color: #e3f1e7; }
.fmv-site-hero-split .fmv-site-button:not(.fmv-site-button-secondary) { background: #d6efd9; color: #123c30; }
.fmv-site-hero-split .fmv-site-button:not(.fmv-site-button-secondary):hover { background: #fff8e3; }
.fmv-site-hero-split .fmv-site-button-secondary { background: #102f25b0; color: #fffdf3; border-color: #a9bbad; }
.fmv-site-hero-split .fmv-site-button-secondary:hover { background: #204c3e; }
.fmv-site-hero-split .fmv-site-button:focus-visible, .fmv-site-hero-split a:focus-visible { outline-color: #f8dfa6; }

.fmv-site-hero h1 {
    margin: 0;
    font-size: clamp(2.55rem, 5.4vw, 5.25rem);
    line-height: 1.04;
    font-weight: 500;
    font-family: var(--font-display, Georgia, serif);
    letter-spacing: -.045em;
    overflow-wrap: anywhere;
    text-wrap: balance;
}
.fmv-site-kicker {
    margin: 0 0 .9rem;
    color: #355e4c;
    font-size: .76rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .13em;
}
.fmv-site-hero-lead {
    max-width: 53ch;
    margin: 1.1rem 0 0;
    color: var(--site-muted);
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.7;
}
.fmv-site-back {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: 1rem;
    color: #1a584a;
    font-size: .84rem;
    font-weight: 700;
}
.fmv-site-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem 1rem;
    margin-top: 1.55rem;
}
.fmv-site-hero-actions:empty { display: none; }
.fmv-site-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: .55rem;
    min-height: 2.85rem;
    padding: .65rem 1.12rem;
    background: var(--site-green);
    border: 1px solid transparent;
    color: #fff;
    border-radius: 999px;
    font-size: .91rem;
    font-weight: 700;
    text-align: center;
}
.fmv-site-button:hover { background: #104b40; color: #fff; }
.fmv-site-button-secondary {
    background: #ffffff80;
    border-color: #91ab9f;
    color: #174f43;
}
.fmv-site-button-secondary:hover { background: white; color: #173e34; }
.fmv-site-hero a:focus-visible, .fmv-site-button:focus-visible { outline: 3px solid #996015; outline-offset: 3px; }
.fmv-site-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    margin: 0;
    overflow: hidden;
    background: var(--hero-dark);
}
.fmv-site-hero-media > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 53%; }
.fmv-site-hero-media::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: "";
    pointer-events: none;
    background: linear-gradient(90deg, #0a231bf5 0%, #0b271eea 29%, #0d2920b0 53%, #102d251e 80%),
        linear-gradient(0deg, #10281e8c, transparent 38%);
}
.fmv-site-hero-media figcaption {
    position: absolute;
    z-index: 2;
    right: var(--site-gutter);
    bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .35rem .7rem;
    border: 1px solid #ffffff42;
    border-radius: 999px;
    color: #fff;
    background: #132b23dc;
    font-size: .79rem;
    font-weight: 650;
}
.fmv-site-hero-media figcaption svg { width: 1rem; height: 1rem; flex: none; }
.fmv-site-hero-media .fmv-hero-controls { right: var(--site-gutter); bottom: 1rem; left: auto; transform: none; }
.fmv-site-main [id] { scroll-margin-top: calc(var(--site-nav-height) + 1rem); }

@media (max-width: 54rem) {
    .fmv-site-hero-split { min-height: 0; }
    .fmv-site-hero-split .fmv-site-hero-copy { max-width: 37rem; }
    .fmv-site-hero-split .fmv-site-hero-inner { padding-block: clamp(8rem, 26vw, 13rem) 3.4rem; }
    .fmv-site-hero-media::after {
        background: linear-gradient(0deg, #0b241cfb 0%, #102b22ed 45%, #10302773 78%, #10302714),
            linear-gradient(90deg, #10281e59, transparent 80%);
    }
    .fmv-site-hero-media figcaption { bottom: .6rem; font-size: .72rem; }
}
@media (prefers-reduced-motion: no-preference) {
    .fmv-site-hero-media > img { animation: fmv-hero-arrive 900ms ease-out both; }
    @keyframes fmv-hero-arrive { from { transform: scale(1.025); } to { transform: scale(1); } }
}

.fmv-site-main .fmv-case-thanks-page.fmv-site-secondary { padding-top: clamp(2.5rem, 6vw, 5rem); min-height: 0; }

.fmv-home-map-art { position: relative; margin: auto; width: min(78%,25rem); }
.fmv-home-map-art img { display: block; width: 100%; height: auto; filter: drop-shadow(0 12px 17px #19362a32); }
.fmv-home-map-marker { position: absolute; left: 20.3%; top: 52.6%; transform: translate(-.37rem,-50%); display: flex; align-items: center; gap: .45rem; color: #fff; white-space: nowrap; }
.fmv-home-map-marker span { width: .75rem; height: .75rem; flex: none; border: 2px solid #fff; border-radius: 50%; background: #cb762a; box-shadow: 0 0 0 4px #f4d2a364; }
.fmv-home-map-marker b { padding: .35rem .55rem; border-radius: 999px; background: #124b3b; font-size: .76rem; }
.fmv-home-map-marker:hover b { background: #0b352a; }
.fmv-home-map-marker:focus-visible { outline: 2px solid #9e561b; outline-offset: 4px; }
.fmv-home-photos { padding-block: 1.3rem; }
.fmv-home-carousel.fmv-site-hero-media { position: relative; height: clamp(10rem,25vw,23rem); border-radius: 1rem; }
.fmv-home-carousel::after { display: none; }
.fmv-project-videos { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); gap: clamp(1rem,4vw,3rem); align-items: center; padding-block: clamp(1.4rem,3.2vw,2.9rem); }
.fmv-project-videos h2 { color: var(--site-ink); font-size: clamp(1.8rem,3vw,3rem); line-height: 1.1; }
.fmv-project-videos-copy > p:not(.fmv-site-kicker) { color: var(--site-muted); margin-top: .6rem; }
.fmv-project-videos-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,10rem),1fr)); gap: .7rem; }
.fmv-project-videos-grid figure { overflow: hidden; margin: 0; border-radius: .85rem; background: #e9f1e8; }
.fmv-project-videos-grid figcaption { padding: .45rem .7rem; color: var(--site-ink); font-size: .86rem; }
main.fmv-site-main :is(.py-20,.py-24,.md\:py-24,.md\:py-20) { padding-block: clamp(1.8rem,4vw,3.9rem); }
@media (max-width: 44rem) {
    .fmv-project-videos { grid-template-columns: minmax(0,1fr); }
    .fmv-home-map-art { width: min(70%,15rem); }
}

.fmv-home-lead.fmv-site-hero-split { min-height: clamp(27rem, 43vw, 42rem); }
.fmv-home-lead .fmv-site-hero-copy { max-width: min(46rem, 65%); }
.fmv-home-lead .fmv-site-hero-media img { object-position: 63% center; }
.fmv-home-field { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(0,1fr); gap: 1.5rem; align-items: center; padding: clamp(1.5rem,4vw,3.4rem) 0; }
.fmv-home-field h2 { font-size: clamp(2rem,4vw,3.65rem); line-height: 1.1; color: var(--site-ink); }
.fmv-home-field p:not(.fmv-site-kicker) { margin: .8rem 0 1rem; max-width: 58ch; color: var(--site-muted); }
.fmv-home-field .fmv-home-map-art { width: min(68%, 13rem); margin: auto; }
.fmv-video-preview { position: relative; display: grid; place-items: center; background: #16362a; aspect-ratio: 16/9; overflow: hidden; }
.fmv-video-preview img { width: 100%; height: 100%; object-fit: cover; }
.fmv-video-preview span { position: absolute; display: grid; place-items: center; width: 3rem; height: 3rem; color: white; background: #154c3c; border: 1px solid #fff; border-radius: 50%; }
.fmv-video-preview:hover span, .fmv-video-preview:focus-visible span { background: #237a5d; }
.fmv-video-dialog { margin: auto; width: min(calc(100% - 2rem), 46rem); border: 0; padding: 0; border-radius: 1rem; color: white; background: #10241d; }
.fmv-video-dialog::backdrop { background: #081b15ce; backdrop-filter: blur(5px); }
.fmv-video-dialog header { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .65rem 1rem; }
.fmv-video-dialog h2 { font-size: 1.1rem; }
.fmv-video-dialog button { width: 2.1rem; height: 2.1rem; border-radius: 50%; background: #ffffff23; font-size: 1.5rem; }
.fmv-video-dialog video { display: block; width: 100%; height: min(70dvh, 34rem); object-fit: contain; background: #080f0c; }
@media (max-width: 54rem) {
    .fmv-home-lead .fmv-site-hero-copy { max-width: 100%; }
}
@media (max-width: 34rem) {
    .fmv-home-field { grid-template-columns: minmax(0,1fr); }
}
