/* V23: viewport-filling desktop video; preserve the full-frame mobile layout. */
.marlin-video-hero{position:relative;isolation:isolate;color:#fff;background:#10242b;width:100%;max-width:none;margin:0;padding:0;border-radius:0;aspect-ratio:auto;height:calc(100svh - 105px);max-height:none;min-height:480px;overflow:hidden}
.hero-film,.hero-film-poster,.hero-film-video,.hero-film-shade{position:absolute;inset:0;width:100%;height:100%}
.hero-film{z-index:-2;background:#10242b}
.hero-film-poster,.hero-film-video{object-fit:cover;object-position:50% 50%;display:block;transform:none}
.hero-film-video{opacity:0;transition:opacity .45s ease}
.hero-film-video.is-playing{opacity:1}
.hero-film-shade{z-index:-1;pointer-events:none;background:linear-gradient(180deg,#06191f00 22%,#06191f1a 43%,#06191fbd 80%,#06191fe0),linear-gradient(90deg,#06191f38,transparent 72%)}
.video-hero-content{height:100%;display:flex;align-items:flex-end;padding-block:52px 60px}
.video-hero-copy{max-width:770px}
.video-hero-eyebrow{font-size:11px;font-weight:800;letter-spacing:.17em;color:#a2e1ee;margin-bottom:16px}
.video-hero-copy h1{font-size:clamp(38px,4.2vw,61px);line-height:1.07;letter-spacing:-.045em;color:#fff;text-shadow:0 2px 22px #06191f38}
.video-hero-intro{font-size:15px;line-height:1.8;color:#e4eef1;margin-top:17px}
.video-hero-actions{display:flex;flex-wrap:wrap;gap:13px;margin-top:26px}
.video-hero-actions .button{min-height:53px;padding:15px 23px;border-radius:6px;font-size:14px}
.video-hero-actions .pink{border-color:#ed72c6;box-shadow:0 7px 24px #140a1640}
.video-hero-actions .video-estimate-trigger{background:#102a3540;color:#fff;border-color:#dceef4b3;backdrop-filter:blur(5px)}
.video-hero-actions .video-estimate-trigger:hover{background:#ffffff24;border-color:#fff}
.hero-film-controls{position:absolute;bottom:30px;right:30px;z-index:2}
.hero-film-controls[hidden]{display:none}
.hero-film-toggle{display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 14px;border:1px solid #ffffff70;border-radius:30px;background:#071d28a6;color:#fff;font-size:11px;font-weight:700;backdrop-filter:blur(5px)}
.hero-film-toggle:hover{background:#071d28e6;border-color:#fff}
.hero-film-toggle svg{height:17px;width:17px;stroke-width:2.3}
.video-play-icon{display:none;fill:currentColor;stroke:none}
.hero-film-toggle.is-paused .video-play-icon{display:block}
.hero-film-toggle.is-paused .video-pause-icon{display:none}
.hero-estimate-dialog{border:0;border-radius:14px;width:min(480px,calc(100% - 32px));padding:0;max-height:calc(100dvh - 40px);color:var(--ink);box-shadow:0 28px 100px #0006;overscroll-behavior:contain}
.hero-estimate-dialog::backdrop{background:#06191f80;backdrop-filter:blur(3px)}
.hero-estimate-dialog .quote-panel{border-radius:0;box-shadow:none;padding:35px 30px 25px;border-top:4px solid var(--cyan)}
.hero-estimate-dialog .quote-panel h2{font-size:27px;padding-right:20px}
.hero-estimate-dialog .quote-panel>p{margin-top:8px;margin-bottom:20px}
.hero-estimate-close{position:absolute;right:10px;top:10px;display:flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid #dde7ea;border-radius:50%;background:#fff;color:#243e49;font-size:27px;line-height:1;z-index:2}
.hero-estimate-close:hover{background:#edf6f8}
body:has(.hero-estimate-dialog[open]){overflow:hidden}
@media(min-width:1800px){.hero-film-poster,.hero-film-video{object-position:50% 42%}}
@media(max-width:1080px) and (min-width:861px){.marlin-video-hero{height:calc(100svh - 95px)}}
@media(max-width:860px) and (min-width:681px){.marlin-video-hero{height:calc(100svh - 89px)}}
@media(max-width:1000px) and (min-width:681px){.marlin-video-hero{min-height:480px}.video-hero-content{padding-bottom:70px}.video-hero-copy{max-width:630px}.video-hero-copy h1{font-size:46px}.hero-film-controls{right:22px;bottom:21px}}
@media(max-width:680px){
 .marlin-video-hero{aspect-ratio:auto;height:auto;min-height:0;max-height:none;overflow:visible;padding:0 0 30px;background:#10242b}
 .hero-film{position:relative;width:100%;height:auto;aspect-ratio:20/9;z-index:0}
 .hero-film-poster,.hero-film-video{object-fit:contain}
 .hero-film-shade{display:none}
 .video-hero-content{height:auto;position:relative;padding-top:27px;padding-bottom:0}
 .video-hero-copy{max-width:100%;width:100%}
 .video-hero-eyebrow{font-size:10px;margin-bottom:13px;letter-spacing:.13em}
 .video-hero-copy h1{font-size:clamp(31px,8.2vw,47px);line-height:1.1}
 .video-hero-intro{font-size:13px;line-height:1.8;margin-top:14px;max-width:360px}
 .video-hero-actions{display:grid;grid-template-columns:1fr;gap:10px;margin-top:22px}
 .video-hero-actions .button{min-height:49px;padding:13px 14px;font-size:13px;width:100%}
 .hero-film-controls{top:calc(45vw - 52px);right:12px;bottom:auto}
 .hero-film-toggle{width:40px;min-height:40px;padding:9px;border-color:#ffffffa6}
 .hero-film-toggle span{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}
 .hero-estimate-dialog{max-height:calc(100dvh - 24px);width:calc(100% - 24px);border-radius:12px}
 .hero-estimate-dialog .quote-panel{padding:30px 21px 22px}
 .hero-estimate-dialog .quote-panel h2{font-size:24px}
 .hero-estimate-dialog .field input,.hero-estimate-dialog .field select{height:46px;font-size:16px}
}
@media(prefers-reduced-motion:no-preference){.video-hero-copy{animation:marlin-video-copy-enter .8s .65s both ease-out}@keyframes marlin-video-copy-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}}
@media(prefers-reduced-motion:reduce){.hero-film-video{transition:none}.video-hero-copy{animation:none}.video-hero-actions .button,.hero-film-toggle{transition:none;transform:none}}

/* V25: move the desktop message higher and toward the left edge. */
@media(min-width:681px){.video-hero-content{width:calc(100% - 64px);max-width:none;align-items:center;padding-block:64px 128px}.video-hero-copy{max-width:740px}.hero-film-shade{background:linear-gradient(90deg,#06191fa8 0%,#06191f52 42%,#06191f00 76%),linear-gradient(0deg,#06191f9c,transparent 70%)}}

/* V32: staggered editorial entrance and a nonmodal next step after the first play. */
.hero-entrance .video-hero-copy{animation:none}
.hero-heading-line{display:block}
@keyframes marlin-hero-float{from{opacity:0;transform:translate3d(0,28px,0);filter:blur(4px)}to{opacity:1;transform:translate3d(0,0,0);filter:blur(0)}}
@keyframes marlin-followup-enter{from{opacity:0;transform:translate3d(0,18px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@media(prefers-reduced-motion:no-preference){
 .hero-entrance .video-hero-eyebrow{animation:marlin-hero-float .85s .12s both cubic-bezier(.16,1,.3,1)}
 .hero-entrance .hero-heading-line{animation:marlin-hero-float 1.1s .22s both cubic-bezier(.16,1,.3,1)}
 .hero-entrance .hero-heading-line+span{animation-delay:.37s}
 .hero-entrance .video-hero-intro{animation:marlin-hero-float 1s .55s both cubic-bezier(.16,1,.3,1)}
 .hero-entrance .video-hero-actions{animation:marlin-hero-float 1s .7s both cubic-bezier(.16,1,.3,1)}
 .hero-followup:not([hidden]){animation:marlin-followup-enter .7s both cubic-bezier(.16,1,.3,1)}
}
.hero-followup[hidden]{display:none!important}
.hero-followup{position:absolute;z-index:3;left:32px;right:32px;bottom:24px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:28px;padding:23px 55px 23px 26px;border:1px solid #a7d8e54d;border-radius:14px;background:linear-gradient(115deg,#102e3af5,#182c3bf5);box-shadow:0 18px 50px #0004;color:#fff;backdrop-filter:blur(12px);overflow:hidden}
.hero-followup:before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,#47d4ef,#86cde1 55%,#d20c98)}
.hero-followup-kicker{display:block;color:#a2e1ee;font-size:9px;font-weight:800;letter-spacing:.16em;margin-bottom:7px}
.hero-followup h2{font-size:clamp(20px,2vw,26px);line-height:1.16;color:#fff;letter-spacing:-.035em}
.hero-followup-copy p{color:#d8e7ed;font-size:12px;line-height:1.6;margin-top:8px;max-width:440px}
.hero-followup-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.hero-followup-actions .button{min-height:47px;padding:13px 18px;font-size:12px;white-space:nowrap}
.hero-followup-budget{border:1px solid #9dd8e6a6;color:#c7f0f8;background:#16435470}
.hero-followup-budget:hover{color:#fff;background:#24596c;border-color:#b8e8f1}
.hero-followup-close{position:absolute;right:9px;top:8px;display:grid;place-items:center;width:34px;height:34px;font-size:24px;line-height:1;color:#e0edf2;background:transparent;border:0;border-radius:50%}
.hero-followup-close:hover{background:#ffffff18}
.marlin-video-hero.has-followup .hero-film-controls{top:24px;bottom:auto}
@media(min-width:681px){.marlin-video-hero.has-followup .video-hero-content{padding-bottom:225px}.marlin-video-hero.has-followup .video-hero-actions{visibility:hidden}}
@media(min-width:681px) and (max-width:1000px){.hero-followup{left:24px;right:24px;gap:18px;padding:21px 45px 21px 22px}.hero-followup-actions{display:grid;gap:8px}.hero-followup-actions .button{min-height:42px;padding:11px 14px;font-size:11px}.hero-followup-copy p{max-width:290px}}
@media(max-width:680px){
 .hero-followup{position:relative;inset:auto;margin:24px 20px 0;display:block;padding:23px 22px 22px;border-radius:12px;backdrop-filter:none}
 .hero-followup h2{font-size:23px;padding-right:8px}.hero-followup-copy p{font-size:12px;max-width:280px}
 .hero-followup-actions{display:grid;grid-template-columns:1fr;gap:9px;margin-top:18px}.hero-followup-actions .button{width:100%;min-height:47px;font-size:12px;white-space:normal;text-align:center}
 .marlin-video-hero.has-followup .hero-film-controls{top:calc(45vw - 52px);bottom:auto}
 .marlin-video-hero.has-followup .video-hero-actions{display:none}
 .hero-entrance .video-hero-copy .hero-heading-line{filter:none}
}
@media(prefers-reduced-motion:reduce){.hero-entrance .video-hero-eyebrow,.hero-entrance .hero-heading-line,.hero-entrance .video-hero-intro,.hero-entrance .video-hero-actions,.hero-followup:not([hidden]){animation:none;filter:none;transform:none;opacity:1}}
