/* PRO GUY Garage Door Service — design system. Mobile-first. No frameworks. */
:root{
  --navy:#0E2846; --navy-deep:#091C33; --navy-soft:#173B66;
  --red:#E0262E; --red-dark:#B81D25; --red-text:#B81D25;
  --off:#F2F4F7; --white:#FFFFFF;
  --slate:#5B6B7F; --slate-brand:#5B6B7F; --line:#E1E5E8; --glass:#E9EEF1;
  --font:"Poppins",system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --radius:10px; --radius-lg:18px;
  --wrap:1200px; --gap:1.25rem;
  --shadow:0 1px 2px rgba(16,36,58,.06),0 8px 24px rgba(16,36,58,.08);
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:5.5rem}
body{margin:0;font-family:var(--font);font-size:1rem;line-height:1.65;color:var(--navy);background:var(--white);padding-bottom:4.5rem}
img,svg{max-width:100%;height:auto;display:block}
h1,h2,h3,h4{line-height:1.12;letter-spacing:-.02em;font-weight:800;margin:0 0 .6em;text-wrap:balance}
h1{font-size:clamp(2rem,6vw,3.5rem)}
h2{font-size:clamp(1.6rem,4vw,2.5rem)}
h3{font-size:1.2rem;letter-spacing:-.01em}
p{margin:0 0 1em}
a{color:var(--navy);text-underline-offset:.18em}
a:hover{color:var(--red-text)}
ul,ol{margin:0 0 1em;padding-left:1.2em}
:focus-visible{outline:3px solid var(--red);outline-offset:3px;border-radius:4px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:absolute;left:1rem;top:-4rem;background:var(--red);color:var(--white);padding:.75rem 1rem;font-weight:800;border-radius:8px;z-index:200}
.skip-link:focus{top:1rem}
.container{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 1.25rem}
.icon{width:1.25em;height:1.25em;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* Demo banner */
.demo-banner{background:#FDECEC;color:var(--navy);font-size:.82rem;line-height:1.4;padding:.5rem 0;border-bottom:1px solid #F5C4C6}
.demo-banner strong{font-weight:800}
.demo-tag{display:inline-block;font-size:.68rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;background:#FDECEC;color:#9B1C22;border:1px solid #F5C4C6;border-radius:4px;padding:.1rem .4rem;vertical-align:middle}
.demo-note{background:#FDECEC;border:1px solid #F5C4C6;border-radius:var(--radius);padding:.85rem 1rem;font-size:.92rem;margin:0 0 1.25rem}

/* Header */
.site-header{position:sticky;top:0;z-index:100;background:var(--white);border-bottom:1px solid var(--line)}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:4.5rem;flex-wrap:wrap}
.logo{display:flex;align-items:center;gap:.7rem;text-decoration:none;color:var(--navy)}
.logo img{height:40px;width:auto;display:block}
.logo--light{color:var(--off)}
.nav-toggle{display:none;align-items:center;gap:.5rem;background:none;border:2px solid var(--navy);color:var(--navy);border-radius:8px;padding:.55rem .8rem;font:inherit;font-weight:800;cursor:pointer;min-height:44px}
.js .nav-toggle{display:inline-flex}
.site-nav{width:100%}
.js .site-nav{display:none}
.js .site-nav.is-open{display:block}
.site-nav ul{list-style:none;margin:0;padding:0}
.site-nav>ul{padding:.5rem 0 1rem;border-top:1px solid var(--line)}
.site-nav a{display:block;padding:.7rem .25rem;text-decoration:none;font-weight:700}
.site-nav a[aria-current="page"]{color:var(--red-text)}
.has-sub{display:flex;flex-wrap:wrap;align-items:center}
.has-sub>a{flex:1}
.sub-toggle{display:none;background:none;border:0;color:var(--navy);padding:.6rem;cursor:pointer;min-width:44px;min-height:44px}
.js .sub-toggle{display:inline-flex;align-items:center;justify-content:center}
.sub-toggle .icon{transition:transform .2s}
.sub-toggle[aria-expanded="true"] .icon{transform:rotate(180deg)}
.sub{width:100%;padding-left:1rem!important;border-left:3px solid var(--red)}
.js .sub{display:none}
.js .sub.is-open{display:block}
.sub a{font-weight:600;padding:.5rem .25rem}
.header-cta{display:none;gap:.6rem}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;min-height:48px;padding:.75rem 1.35rem;border-radius:999px;border:2px solid transparent;font:inherit;font-weight:800;line-height:1.1;text-decoration:none;cursor:pointer;transition:background-color .15s,color .15s,border-color .15s,transform .15s}
.btn:hover{transform:translateY(-1px)}
.btn--primary{background:var(--red);color:var(--white)}
.btn--primary:hover{background:var(--red-dark);color:var(--white)}
.btn--navy{background:var(--navy);color:var(--white)}
.btn--navy:hover{background:var(--navy-soft);color:var(--white)}
.btn--outline{border-color:var(--navy);color:var(--navy);background:transparent}
.btn--outline:hover{background:var(--navy);color:var(--white)}
.btn--light{border-color:rgba(247,247,245,.6);color:var(--off);background:transparent}
.btn--light:hover{background:var(--off);color:var(--navy)}
.btn--lg{min-height:56px;padding:.9rem 1.7rem;font-size:1.08rem}
.btn--sm{min-height:44px;padding:.5rem 1rem;font-size:.92rem}
.btn-row{display:flex;flex-wrap:wrap;gap:.75rem}
.link-arrow{display:inline-flex;align-items:center;gap:.4rem;font-weight:800;text-decoration:none;border-bottom:2px solid var(--red);padding-bottom:.1rem}
.link-arrow .icon{width:1em;height:1em;transition:transform .15s}
.link-arrow:hover .icon{transform:translateX(3px)}

/* Sections */
.section{padding:3.5rem 0}
.section--alt{background:var(--off)}
.section--navy{background:var(--navy);color:var(--off)}
.section--navy a{color:var(--off)}
.section--navy h2,.section--navy h3{color:var(--white)}
.section-head{max-width:46rem;margin-bottom:2rem}
.section-head p{color:var(--slate);font-size:1.08rem;margin:0}
.section--navy .section-head p{color:#C5CDD5}
.eyebrow{display:flex;align-items:center;gap:.6rem;font-size:.78rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--slate);margin:0 0 .8rem}
.eyebrow::before{content:"";width:1.75rem;height:4px;background:var(--red);flex:none}
.section--navy .eyebrow,.hero .eyebrow,.page-hero .eyebrow{color:#C5CDD5}
.grid{display:grid;gap:var(--gap)}
.lead{font-size:1.12rem}

/* Hero */
.hero{background:var(--navy);color:var(--off);padding:2.5rem 0 3rem;overflow:hidden}
.hero h1{color:var(--white)}
.hero-grid{display:grid;gap:2rem;align-items:center}
.hero p.lead{color:#D5DBE1;max-width:36rem}
.hero-benefits{list-style:none;padding:0;margin:1.75rem 0 0;display:grid;gap:.55rem}
.hero-benefits li{display:flex;gap:.6rem;align-items:flex-start;font-weight:600}
.hero-benefits .icon{color:var(--red);margin-top:.2em}
/* Photo behind the homepage hero, under a navy overlay that keeps text readable */
.hero--photo{position:relative;isolation:isolate}
.hero-bg{position:absolute;inset:0 0 auto 0;height:34rem;z-index:-2}
.hero-bg picture,.hero-bg img{display:block;width:100%;height:100%;object-fit:cover;object-position:58% 40%}
.hero--photo::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(180deg,rgba(9,28,51,.80) 0,rgba(9,28,51,.86) 16rem,rgba(14,40,70,.97) 30rem,var(--navy) 34rem)}
.hero .hero-benefits{border-top:1px solid rgba(255,255,255,.16);padding-top:1.5rem;margin-top:2rem;gap:.8rem 1.75rem}
.hero .hero-benefits li{font-weight:500;font-size:1rem;color:#E6EAEF}
/* Request form card in the hero */
.hero-form{background:var(--white);color:var(--navy);border-top:6px solid var(--red);border-radius:18px;padding:1.5rem 1.25rem 1.35rem;box-shadow:0 30px 60px -24px rgba(0,0,0,.6);scroll-margin-top:6.5rem}
.hero-form h2{color:var(--navy);font-size:clamp(1.35rem,1.1rem + .8vw,1.6rem);line-height:1.15;margin:0 0 .5rem;text-wrap:pretty}
.hero-form .form-intro{color:var(--slate);margin:0 0 1.25rem;font-size:.98rem;line-height:1.5}
.hero-form .form{gap:1rem}
.hero-form .form-row{gap:1rem}
@media (min-width:23rem){.hero-form .form-row--split{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:.75rem}}
.hero-form .field label{text-transform:uppercase;letter-spacing:.05em;font-size:.78rem;font-weight:700;margin-bottom:.4rem}
.hero-form .field input,.hero-form .field select,.hero-form .field textarea{border-color:#C9D2DC;background:#FBFCFD;border-radius:10px}
.hero-form .field input::placeholder,.hero-form .field textarea::placeholder{color:#6E7A89;opacity:1}
.hero-form .field textarea{min-height:5.25rem}
.btn--block{width:100%}
.form-note{font-size:.84rem;color:var(--slate);margin:0;line-height:1.45}
.form-note--demo{background:#FDECEC;border:1px solid #F5C4C6;border-radius:8px;padding:.6rem .8rem;color:#5A1216}
.form-note--demo a{color:inherit;font-weight:700}
.media-frame{position:relative;margin:0}
.media-frame video{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:var(--radius-lg);background:var(--glass)}
.split.split--media{align-items:center}
.media-frame--video::after{content:"";position:absolute;left:0;bottom:-.6rem;width:38%;height:.75rem;background:var(--red);z-index:-1}
.media-frame--video{isolation:isolate}
.video-toggle{position:absolute;right:.85rem;bottom:.85rem;width:44px;height:44px;border-radius:999px;border:0;background:rgba(9,28,51,.8);color:#fff;display:grid;place-items:center;cursor:pointer;transition:background-color .15s}
.video-toggle:hover{background:var(--navy)}
.video-toggle:focus-visible{outline:3px solid var(--red);outline-offset:2px}
.video-toggle .icon{width:20px;height:20px;margin:0}
.video-toggle .icon-pause{display:none}
.video-toggle.is-playing .icon-pause{display:block}
.video-toggle.is-playing .icon-play{display:none}
.media-frame img{border-radius:var(--radius-lg);width:100%;aspect-ratio:4/3;object-fit:cover;background:var(--glass)}
.page-hero{background:var(--navy);color:var(--off);padding:2rem 0 2.5rem}
.page-hero h1{color:var(--white);font-size:clamp(1.9rem,5vw,3rem);max-width:22ch}
.page-hero p.lead{color:#D5DBE1;max-width:44rem;margin-bottom:1.25rem}

/* Breadcrumbs */
.breadcrumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:.35rem;margin:0 0 1.25rem;padding:0;font-size:.86rem}
.breadcrumbs li+li::before{content:"/";margin-right:.35rem;opacity:.6}
.breadcrumbs a{color:#C5CDD5}
.breadcrumbs [aria-current]{color:var(--white);font-weight:700}

/* Cards */
.cards{grid-template-columns:repeat(auto-fill,minmax(min(100%,17rem),1fr))}
.card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .2s,transform .2s,border-color .2s}
.card:hover{box-shadow:var(--shadow);transform:translateY(-3px);border-color:#CDD3D8}
.card img{width:100%;aspect-ratio:4/3;object-fit:cover;background:var(--glass)}
.card-body{padding:1.25rem;display:flex;flex-direction:column;gap:.5rem;flex:1}
.card-body h3{margin:0}
.card-body h3 a{text-decoration:none}
.card-body p{color:var(--slate);margin:0;font-size:.96rem}
.card-body .link-arrow{margin-top:auto;align-self:flex-start}
.card-meta{font-size:.78rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--slate)}

/* Problems */
.problems{list-style:none;padding:0;margin:0;grid-template-columns:repeat(auto-fill,minmax(min(100%,16rem),1fr))}
.problems a{display:flex;align-items:center;gap:.85rem;min-height:4.25rem;padding:.9rem 1rem;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);text-decoration:none;font-weight:700;line-height:1.3;transition:border-color .15s,box-shadow .15s}
.problems a:hover{border-color:var(--red);box-shadow:var(--shadow);color:var(--navy)}
.problems .icon-wrap{width:2.5rem;height:2.5rem;border-radius:8px;background:var(--navy);color:var(--red);display:grid;place-items:center;flex:none}
.problems .go{margin-left:auto;color:var(--slate)}

/* Why choose */
.why{grid-template-columns:repeat(auto-fill,minmax(min(100%,15rem),1fr))}
.why-item{border-top:4px solid var(--red);padding-top:1rem}
.why-item h3{margin-bottom:.35rem}
.why-item p{color:#C5CDD5;margin:0;font-size:.96rem}

/* Split */
.split{display:grid;gap:2rem;align-items:start}
.panel{background:var(--white);border:1px solid var(--line);border-radius:var(--radius-lg);padding:1.5rem;box-shadow:var(--shadow);color:var(--navy)}
.panel h2,.panel h3{color:var(--navy)}
.fineprint{font-size:.86rem;color:var(--slate)}
.section--navy .fineprint{color:#C5CDD5}

/* Steps */
.steps{list-style:none;padding:0;margin:0;counter-reset:step;grid-template-columns:repeat(auto-fill,minmax(min(100%,14rem),1fr))}
.steps li{counter-increment:step;background:var(--white);border:1px solid var(--line);border-radius:var(--radius-lg);padding:1.5rem 1.25rem}
.steps li::before{content:counter(step);display:grid;place-items:center;width:2.75rem;height:2.75rem;border-radius:50%;background:var(--red);color:var(--white);font-weight:700;font-size:1.2rem;margin-bottom:1rem}
.steps h3{margin-bottom:.35rem}
.steps p{margin:0;color:var(--slate);font-size:.96rem}

/* Brands */
.brand-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,10.5rem),1fr))}
.brand-card{display:flex;flex-direction:column;justify-content:space-between;gap:.5rem;min-height:6.5rem;padding:1rem 1.1rem;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);text-decoration:none;transition:border-color .15s,box-shadow .15s}
.brand-card:hover{border-color:var(--red);box-shadow:var(--shadow);color:var(--navy)}
.brand-card strong{font-size:1.15rem;font-weight:800;letter-spacing:-.01em}
.brand-card span{font-size:.82rem;color:var(--slate);font-weight:600}

/* Testimonials */
.quote{background:var(--white);border:1px solid var(--line);border-radius:var(--radius-lg);padding:1.5rem;display:flex;flex-direction:column;gap:.85rem}
.quote blockquote{margin:0;font-size:1.02rem;color:var(--slate)}
.quote footer{font-size:.92rem;font-weight:700;margin-top:auto}
.quote footer span{display:block;font-weight:500;color:var(--slate)}
.stars{display:flex;gap:.15rem;color:#B9C0C6}
.stars .icon{width:1.1rem;height:1.1rem}

/* Areas */
.areas-grid{align-items:start}
.area-list{list-style:none;padding:0;margin:0;align-content:start;display:grid;grid-template-columns:repeat(auto-fill,minmax(9.5rem,1fr));gap:.4rem .9rem}
.area-list li{display:flex;align-items:center;gap:.45rem;font-weight:600}
.area-list .icon{color:var(--red);width:1rem;height:1rem}
.area-map{background:var(--white);border:1px solid var(--line);border-radius:var(--radius-lg);padding:.75rem}
.area-map svg{width:100%;height:auto}
.area-map figcaption{font-size:.8rem;color:var(--slate);padding:.25rem .5rem .25rem}
figure{margin:0}

/* FAQ */
.faq{max-width:52rem}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1.1rem 0;font-weight:800;font-size:1.06rem;line-height:1.35}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";flex:none;width:2rem;height:2rem;display:grid;place-items:center;border-radius:50%;background:var(--navy);color:var(--white);font-size:1.3rem;font-weight:600;line-height:1}
.faq details[open] summary::after{background:var(--red)}
.faq details[open] summary::after{content:"\2212"}
.faq .answer{padding:0 0 1.25rem;color:var(--slate);max-width:46rem}
.faq .answer p:last-child{margin:0}

/* CTA band */
.cta-band{background:var(--navy);color:var(--off);padding:3.5rem 0;position:relative;overflow:hidden}
.cta-band::before{content:"";position:absolute;left:0;right:0;top:0;height:6px;background:var(--red)}
.cta-band h2{color:var(--white);max-width:18ch}
.cta-band p{color:#D5DBE1;max-width:38rem;font-size:1.08rem}

/* Inner page layout */
.layout{display:grid;gap:2.5rem}
.prose{max-width:46rem}
.prose h2{font-size:clamp(1.4rem,3vw,1.9rem);margin-top:2.25rem}
.prose h3{margin-top:1.5rem}
.prose>*:first-child{margin-top:0}
.prose li{margin-bottom:.4em}
.prose img{border-radius:var(--radius-lg);margin:0 0 1.5rem;width:100%;background:var(--glass)}
.check-list{list-style:none;padding:0}
.check-list li{display:flex;gap:.6rem;align-items:flex-start}
.check-list .icon{color:var(--red-dark);margin-top:.25em}
.callout{border-left:5px solid var(--red);background:var(--off);border-radius:0 var(--radius) var(--radius) 0;padding:1.1rem 1.25rem;margin:1.75rem 0}
.callout h2,.callout h3{font-size:1.1rem;margin:0 0 .4rem;display:flex;gap:.5rem;align-items:center}
.callout p:last-child{margin:0}
.aside-card{background:var(--navy);color:var(--off);border-radius:var(--radius-lg);padding:1.5rem}
.aside-card h2{color:var(--white);font-size:1.35rem}
.aside-card p{color:#D5DBE1;font-size:.96rem}
.aside-card .btn{width:100%}
.aside-card .btn+.btn{margin-top:.6rem}
.aside-links{margin-top:1.5rem;border:1px solid var(--line);border-radius:var(--radius-lg);padding:1.25rem 1.5rem}
.aside-links h2{font-size:1.05rem}
.aside-links ul{list-style:none;padding:0;margin:0}
.aside-links li{padding:.35rem 0;border-top:1px solid var(--line)}
.aside-links li:first-child{border-top:0}
.aside-links a{text-decoration:none;font-weight:600}
.tag-list{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:.5rem}
.tag-list a,.tag-list span{display:inline-block;padding:.4rem .85rem;border:1px solid var(--line);border-radius:999px;font-size:.9rem;font-weight:700;text-decoration:none;background:var(--white)}
.tag-list a:hover{border-color:var(--red)}
.meta-line{font-size:.88rem;color:var(--slate)}
.page-hero .meta-line{color:#C5CDD5}

/* Tables */
.table-wrap{overflow-x:auto;margin:1.5rem 0;border:1px solid var(--line);border-radius:var(--radius)}
table{border-collapse:collapse;width:100%;min-width:34rem;font-size:.94rem}
caption{text-align:left;font-weight:800;padding:.85rem 1rem;background:var(--off)}
th,td{text-align:left;vertical-align:top;padding:.75rem 1rem;border-top:1px solid var(--line)}
thead th{background:var(--navy);color:var(--white);border-top:0;font-weight:700}
tbody th{font-weight:800}

/* Forms */
.form{display:grid;gap:1rem}
.form-row{display:grid;gap:1rem}
.field label{display:block;font-weight:700;font-size:.92rem;margin-bottom:.3rem}
.field .req{color:var(--red-text)}
.field input,.field select,.field textarea{width:100%;min-height:48px;padding:.7rem .85rem;border:1.5px solid #AEB6BD;border-radius:8px;font:inherit;color:var(--navy);background:var(--white)}
.field textarea{min-height:7rem;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--navy);outline:3px solid var(--red);outline-offset:1px}
.field [aria-invalid="true"]{border-color:#B3261E}
.field .error{color:#B3261E;font-size:.86rem;font-weight:700;margin:.3rem 0 0;min-height:0}
.field .error:empty{display:none}
.hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.form-status{border-radius:8px;padding:.85rem 1rem;font-weight:700;font-size:.95rem}
.form-status:empty{display:none}
.form-status.is-error{background:#FDECEA;color:#8C1D18;border:1px solid #F3B7B2}
.form-status.is-ok{background:#E8F3EC;color:#1B5E3B;border:1px solid #B5D8C2}
.form-status.is-info{background:#EAF0F7;color:var(--navy);border:1px solid #C9D2DC}

/* Footer */
.site-footer{background:var(--navy-deep);color:#C5CDD5;padding:3rem 0 2rem;font-size:.95rem}
.site-footer a{color:#DDE2E7;text-decoration:none}
.site-footer a:hover{color:var(--red);text-decoration:underline}
.footer-grid{display:grid;gap:2rem}
.site-footer h2{font-size:.82rem;letter-spacing:.14em;text-transform:uppercase;color:var(--white);margin-bottom:.9rem}
.site-footer ul{list-style:none;padding:0;margin:0}
.site-footer li{padding:.22rem 0}
.footer-bottom{margin-top:2.5rem;padding-top:1.25rem;border-top:1px solid #23384F;display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;justify-content:space-between;font-size:.86rem}
.footer-bottom ul{display:flex;gap:1.25rem;flex-wrap:wrap}
.footer-contact li{display:flex;gap:.55rem;align-items:flex-start}
.footer-contact .icon{color:var(--red);margin-top:.2em;width:1.05rem;height:1.05rem}

/* Sticky mobile action bar */
.mobile-bar{position:fixed;left:0;right:0;bottom:0;z-index:90;display:grid;grid-template-columns:1fr 1fr;gap:.5rem;padding:.55rem .75rem calc(.55rem + env(safe-area-inset-bottom));background:var(--white);border-top:1px solid var(--line);box-shadow:0 -4px 16px rgba(16,36,58,.1)}
.mobile-bar .btn{min-height:50px;padding:.5rem .6rem;font-size:.98rem}

/* Utilities */
.center{text-align:center}
.mt-0{margin-top:0}.mt-2{margin-top:2rem}.mb-0{margin-bottom:0}
.stack>*+*{margin-top:1rem}

/* ---------- Breakpoints ---------- */
@media (min-width:36rem){
  .form-row{grid-template-columns:1fr 1fr}
  .hero-form{padding:2rem 1.85rem 1.75rem}
}
@media (min-width:40rem){
  .hero .hero-benefits{grid-template-columns:1fr 1fr}
  .logo img{height:46px}
}
@media (min-width:48rem){
  body{padding-bottom:0}
  .mobile-bar{display:none}
  .section{padding:5rem 0}
  .cta-band{padding:5rem 0}
  .hero{padding:4rem 0 5rem}
  .hero-grid{gap:3rem}
  .split{grid-template-columns:1fr 1fr;gap:3rem}
  .media-frame--video::after{left:-.75rem;bottom:-.75rem}
  .header-cta{display:flex}
  .footer-grid{grid-template-columns:1.4fr 1fr 1fr 1fr}
  .layout{grid-template-columns:minmax(0,1fr) 20rem;gap:3.5rem}
  .layout aside{position:sticky;top:6rem;align-self:start}
  .areas-grid{grid-template-columns:1fr 1.1fr}
}
@media (min-width:64rem){
  .hero--photo{padding:5.5rem 0 6rem}
  .hero-bg{inset:0;height:auto}
  .hero--photo::before{background:
    linear-gradient(90deg,rgba(9,28,51,.95) 0%,rgba(9,28,51,.9) 42%,rgba(9,28,51,.62) 66%,rgba(9,28,51,.42) 100%),
    linear-gradient(0deg,rgba(9,28,51,.55) 0%,rgba(9,28,51,0) 30%)}
  .hero-grid{grid-template-columns:minmax(0,1.22fr) minmax(23rem,.78fr);gap:3rem}
}
@media (min-width:80rem){
  .hero-grid{gap:4rem}
  .header-inner{flex-wrap:nowrap}
  .nav-toggle,.js .nav-toggle{display:none}
  .site-nav,.js .site-nav{display:block;width:auto}
  .site-nav>ul{display:flex;align-items:center;gap:.15rem;padding:0;border:0}
  .site-nav>ul>li{position:relative}
  .site-nav>ul>li>a{padding:.6rem .5rem;font-size:.94rem;border-radius:6px;white-space:nowrap}
  .has-sub>a{flex:0 1 auto}
  .site-nav>ul>li>a:hover{background:var(--off);color:var(--navy)}
  .has-sub{flex-wrap:nowrap}
  .sub-toggle,.js .sub-toggle{min-width:28px;min-height:44px;padding:.2rem;margin-left:-.4rem}
  .sub,.js .sub{display:none;position:absolute;top:100%;left:0;width:19rem;padding:.6rem!important;background:var(--white);border:1px solid var(--line);border-top:4px solid var(--red);border-left:1px solid var(--line);border-radius:0 0 var(--radius) var(--radius);box-shadow:var(--shadow)}
  .has-sub:hover>.sub,.has-sub:focus-within>.sub,.js .sub.is-open{display:block}
  .sub a{padding:.45rem .6rem;border-radius:6px;font-size:.93rem}
  .sub a:hover{background:var(--off);color:var(--navy)}
  .header-cta .btn{white-space:nowrap}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition:none!important;animation:none!important}
  .btn:hover,.card:hover{transform:none}
}
@media print{
  .site-header,.mobile-bar,.demo-banner,.cta-band,.site-footer,.aside-card{display:none}
  body{padding:0;color:#000}
}

/* Header ordering: nav drops below the bar until the desktop breakpoint */
body{font-weight:400}
.site-nav{order:10}
.header-cta{order:2;margin-left:auto}
.nav-toggle{order:3}
@media (max-width:47.99rem){.nav-toggle{margin-left:auto}}
@media (min-width:80rem){.site-nav{order:1;margin-left:auto}.header-cta{order:2;margin-left:.5rem}}
code{background:var(--off);border:1px solid var(--line);border-radius:4px;padding:.05rem .3rem;font-size:.9em}
.layout>*,.split>*,.hero-grid>*,.areas-grid>*{min-width:0}
.check-list li>span{min-width:0;overflow-wrap:anywhere}
