﻿/* Owner-approved video hero and shared sticky navigation. */
html{scroll-padding-top:160px}
header{position:sticky;top:0;z-index:100;box-shadow:0 2px 12px #0002}
header .navbar{min-height:144px}
header .navbar-brand img{width:120px;height:120px}
#main.container:has(.hero-section){width:100%;max-width:none;padding:0}
.home-layout>section:not(.hero-section){width:min(1240px,calc(100% - 48px));margin-inline:auto}
.hero-section{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr);margin-top:0;min-height:calc(100svh - 145px);background:var(--navy)}
.hero-section .home-hero{display:contents}
.hero-section .hero-copy,.hero-section .hero-actions,.hero-section .media-caption{display:none}
.hero-section .hero-media,.hero-section .hero-media:has(.hero-video){grid-area:1/1;position:relative;width:100%;height:100%;min-height:0;background:var(--navy)}
.hero-section .hero-video{object-fit:cover;width:100%;height:100%}
.hero-section .hero-media:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgb(8 19 28 / var(--hero-shade,.45)) 0%,rgb(8 19 28 / calc(var(--hero-shade,.45)*.75)) 45%,rgb(8 19 28 / calc(var(--hero-shade,.45)*.14)) 100%)}
.hero-section .hero-intro{grid-area:1/1;z-index:1;align-self:center;pointer-events:auto;border:0;padding:64px max(36px,calc((100% - 1168px)/2));color:white}
.hero-section .hero-intro .eyebrow{color:var(--gold-light);font-size:.75rem;letter-spacing:.2em;margin-bottom:24px}
.hero-section h1{color:white;max-width:800px;font-size:clamp(2.6rem,5.5vw,5rem);line-height:1.08;letter-spacing:-.025em;text-shadow:0 2px 14px #0005}
.hero-section .lead{color:white;max-width:620px;font-size:1.12rem;line-height:1.8;margin:28px 0 0}
.hero-section .hero-footnote{color:var(--gold-light);margin-top:40px;letter-spacing:.18em}
.hero-section .video-toggle{bottom:24px;right:24px;z-index:3;background:#15233be8;min-height:44px}
.back-to-top{position:fixed;right:24px;bottom:24px;z-index:110;width:48px;height:48px;border:1px solid var(--gold-light);border-radius:50%;background:var(--navy);color:var(--gold-light);font:28px/1 Arial,sans-serif;box-shadow:0 3px 12px #0003;cursor:pointer}
.back-to-top[hidden]{display:none}
@media(max-width:991px){header .navbar{min-height:112px}header .navbar-brand img{width:88px;height:88px}.hero-section{min-height:calc(100svh - 113px)}}
@media(max-width:650px){
 html{scroll-padding-top:128px}
 header .navbar-brand{gap:8px}header .brand-wordmark{font-size:25px}
 .home-layout>section:not(.hero-section){width:calc(100% - 32px)}
 .hero-section .hero-intro{padding:44px 24px 90px}
 .hero-section h1,.hero-section .hero-intro h1[data-editor-key="HomeHeadline"]{font-size:clamp(1.6rem,7vw,2rem);line-height:1.16;text-wrap:balance}
 .hero-section .lead{font-size:1rem;line-height:1.7;margin-top:24px}
 .hero-section .hero-intro .eyebrow{font-size:.65rem;letter-spacing:.14em;margin-bottom:20px}
 .hero-section .hero-footnote{font-size:9px;letter-spacing:.08em;margin-top:28px}
 .hero-section .hero-media:after{background:linear-gradient(90deg,rgb(8 19 28 / var(--hero-shade,.45)),rgb(8 19 28 / calc(var(--hero-shade,.45)*.55)))}
 .hero-section .video-toggle{right:16px;bottom:18px;font-size:12px}
 .back-to-top{right:16px;bottom:16px}
}

/* Preserve deliberate line breaks in owner-authored opening copy. */
.hero-section h1,.hero-section .lead{white-space:pre-line}

/* Clear next steps stay above the existing video control on narrow screens. */
.hero-section .hero-intro .launch-actions{display:flex;gap:16px 24px;margin-top:28px;align-items:center;flex-wrap:wrap}
.hero-section .launch-actions .btn{min-height:48px;padding:12px 22px;font-weight:600}
.hero-section .launch-actions .text-link{display:inline-flex;align-items:center;min-height:44px}
.hero-section .hero-intro .hero-footnote{margin-top:24px}
@media(max-width:650px){.hero-section .hero-intro{align-self:start;padding-top:28px;padding-bottom:92px}.hero-section .hero-intro .launch-actions{gap:8px 16px;margin-top:20px}.hero-section .hero-intro .hero-footnote{margin-top:20px}}

/* Approved simplified first screen. Existing element identities stay stable. */
.hero-intro>.eyebrow,.hero-intro>.hero-footnote,.hero-intro .launch-actions>.text-link{display:none!important}
.hero-section .video-toggle{background:transparent;border:0;box-shadow:none;color:#fff;min-width:44px;min-height:44px;width:44px;padding:0;font-size:18px;line-height:1;opacity:.7;text-shadow:0 1px 3px #000;display:grid;place-items:center}
.hero-section .video-toggle:hover{opacity:1;background:transparent}
.hero-section .video-toggle:focus-visible{outline:2px solid #dfc38b;outline-offset:2px;opacity:1}
.hero-section .video-toggle[hidden]{display:none}

/* Approved gold outline action on the first screen only. */
.hero-intro .launch-actions>.btn-gold{background:transparent!important;border:1px solid #dfc38b!important;color:#dfc38b;box-shadow:none;text-shadow:0 1px 2px rgba(0,0,0,.5)}
.hero-intro .launch-actions>.btn-gold>span[aria-hidden=true]{color:inherit}
.hero-intro .launch-actions>.btn-gold:hover{background:transparent!important;border-color:#f3dfb2!important;text-decoration:underline;text-underline-offset:4px}
.hero-intro .launch-actions>.btn-gold:focus-visible{outline:2px solid #f3dfb2;outline-offset:4px}

/* Match Bootstrap navbar-expand-lg: icons only when navigation collapses. */
header .navbar-nav .nav-link>.mobile-nav-icon{display:none;width:18px;height:18px;flex:0 0 18px;color:#dfc38b}
/* Replace the previous Products-only attached logo without deleting saved media. */
header .navbar-nav .nav-link>.v-attached-media{display:none!important}
@media(max-width:991.98px){header .navbar-nav .nav-link{display:flex;align-items:center;gap:10px;min-height:44px}header .navbar-nav .nav-link>.mobile-nav-icon{display:inline-block;vertical-align:middle}}

/* Keep saved rich-text headline sizes within the mobile heading scale. */
@media(max-width:650px){.hero-section .hero-intro h1[data-editor-key="HomeHeadline"] [data-v-run]{font-size:inherit!important}}

/* Mobile introduction stays readable even when saved rich text has a larger desktop size. */
@media(max-width:650px){
 .hero-section .hero-intro .lead[data-editor-key="HomeIntro"]{font-size:clamp(1.05rem,4.8vw,1.2rem);line-height:1.65;margin-top:20px;text-wrap:pretty}
 .hero-section .hero-intro .lead[data-editor-key="HomeIntro"] [data-v-run]{font-size:inherit!important}
}

/* Let the mobile opening follow its content instead of filling the whole screen. */
@media(max-width:650px){.hero-section{min-height:0}.hero-section .hero-intro{padding-bottom:64px}}
