
:root{
  --ink:#12202f;
  --muted:#5c6b7b;
  --panel:#ffffff;
  --soft:#f3f6f8;
  --line:#dbe3ea;
  --brand:#0d5f7c;
  --brand-dark:#08384f;
  --accent:#f28c28;
  --accent-2:#37a57c;
  --shadow:0 20px 60px rgba(15,35,55,.12);
  --radius:24px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.6}
a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline;text-underline-offset:4px}
img{max-width:100%;height:auto;display:block}
.container{width:min(1180px,92vw);margin-inline:auto}.skip-link{position:absolute;left:-999px;top:0;background:#fff;color:#000;padding:.75rem 1rem;z-index:99}.skip-link:focus{left:1rem;top:1rem}
.topbar{background:var(--brand-dark);color:#e8f6fb;font-size:.92rem}.topbar-inner{display:flex;justify-content:space-between;gap:1rem;padding:.55rem 0}.topbar a{color:#fff}
.site-header{background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:40;backdrop-filter:blur(14px)}.nav-shell{display:flex;align-items:center;justify-content:space-between;padding:1rem 0;gap:1rem}.brand{display:flex;align-items:center;gap:.7rem;font-weight:800;letter-spacing:-.02em}.brand span{display:flex;flex-direction:column;line-height:1}.brand em{font-style:normal;color:var(--brand);font-weight:700;font-size:.88rem}.site-nav{display:flex;align-items:center;gap:1.2rem;font-weight:700;color:#243649}.nav-toggle{display:none;background:var(--brand-dark);color:#fff;border:0;border-radius:999px;padding:.75rem 1rem;font-weight:800}.button{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;background:var(--accent);color:#1b1b1b;border:2px solid var(--accent);border-radius:999px;padding:.85rem 1.1rem;font-weight:850;box-shadow:0 10px 25px rgba(242,140,40,.22);text-decoration:none}.button:hover{text-decoration:none;transform:translateY(-1px)}.button.secondary{background:#fff;color:var(--brand-dark);border-color:var(--line);box-shadow:none}.button.small{padding:.62rem .9rem}.button.light{background:#fff;border-color:#fff;color:var(--brand-dark);box-shadow:none}
.breadcrumbs{font-size:.9rem;color:var(--muted);padding:1rem 0}.breadcrumbs span{color:#9aa8b4;margin:0 .4rem}.breadcrumbs a:hover{color:var(--brand)}
.hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#0a3048 0%,#0d5f7c 58%,#0e8a81 100%);color:#fff}.hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 12% 20%,rgba(255,255,255,.18),transparent 25%),radial-gradient(circle at 85% 0%,rgba(242,140,40,.35),transparent 26%);pointer-events:none}.hero-grid{position:relative;display:grid;grid-template-columns:1.05fr .95fr;gap:3rem;align-items:center;padding:5.2rem 0}.hero h1{font-size:clamp(2.4rem,5vw,5rem);line-height:.98;letter-spacing:-.06em;margin:.4rem 0 1.2rem}.lede{font-size:clamp(1.08rem,1.8vw,1.35rem);max-width:68ch;color:#e6f5fa}.hero-actions{display:flex;flex-wrap:wrap;gap:1rem;margin-top:2rem}.hero-panel{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.24);border-radius:var(--radius);padding:1.2rem;box-shadow:var(--shadow);backdrop-filter:blur(16px)}.hero-panel img{border-radius:18px;background:rgba(255,255,255,.09)}.stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:.7rem;margin-top:.9rem}.stat-row div{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.18);border-radius:16px;padding:.85rem}.stat-row strong{display:block;color:#fff}.stat-row span{display:block;color:#d4ecf5;font-size:.84rem;line-height:1.35}.eyebrow{font-size:.78rem;text-transform:uppercase;letter-spacing:.13em;font-weight:900;color:var(--accent);margin:0 0 .65rem}.hero .eyebrow,.cta-band .eyebrow{color:#ffd8ad}.section{padding:4.4rem 0}.section.alt{background:var(--soft)}.section-head{max-width:800px;margin-bottom:2rem}.section-head h2,.two-col h2,.container>h2{font-size:clamp(1.75rem,3vw,3rem);line-height:1.05;letter-spacing:-.04em;margin:.2rem 0 1rem}.section-head p{font-size:1.08rem;color:var(--muted)}.card-grid{display:grid;gap:1.1rem}.card-grid.four{grid-template-columns:repeat(4,1fr)}.card-grid.three{grid-template-columns:repeat(3,1fr)}.card,.wide-card,.info-card,.aside-card,.process-card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:1.4rem;box-shadow:0 12px 35px rgba(18,32,47,.06)}.lift{transition:transform .18s ease,box-shadow .18s ease}.lift:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.card h3,.wide-card h2{margin:.2rem 0 .7rem;font-size:1.18rem;line-height:1.18}.card p,.wide-card p,.two-col p{color:var(--muted)}.micro{font-size:.86rem;color:#708090!important}.text-link{color:var(--brand);font-weight:850}.two-col{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:2rem;align-items:start}.aside-card{position:sticky;top:95px}.check-list{list-style:none;padding:0;margin:1rem 0;display:grid;gap:.75rem}.check-list li{position:relative;padding-left:1.75rem}.check-list li:before{content:"✓";position:absolute;left:0;top:0;color:var(--accent-2);font-weight:900}.pill-row,.tag-list{display:flex;flex-wrap:wrap;gap:.7rem;padding:0;margin:1.2rem 0 0;list-style:none}.pill-row span,.tag-list li{background:#fff;border:1px solid var(--line);border-radius:999px;padding:.55rem .78rem;font-weight:750;color:#203449}.alt .pill-row span,.alt .tag-list li{background:#fff}.process-card{background:var(--brand-dark);color:#fff}.process-card h3{font-size:1.55rem;margin-top:0}.steps{list-style:none;margin:1.2rem 0 0;padding:0;display:grid;gap:1rem}.steps li{display:grid;gap:.25rem;border-left:4px solid var(--accent);padding-left:1rem}.steps span{color:#d8eaf2}.split-cards{display:grid;grid-template-columns:1fr 1fr;gap:1.2rem}.faq-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin-top:1.5rem}details{background:#fff;border:1px solid var(--line);border-radius:18px;padding:1rem 1.1rem}summary{font-weight:850;cursor:pointer}details p{color:var(--muted);margin-bottom:0}.cta-band{background:linear-gradient(135deg,var(--brand-dark),var(--brand));color:#fff}.cta-inner{display:flex;align-items:center;justify-content:space-between;gap:2rem}.cta-inner h2{font-size:clamp(1.8rem,3.6vw,3.4rem);line-height:1.05;letter-spacing:-.04em;margin:.2rem 0}.cta-inner p{color:#dceff6;max-width:700px}.list-grid{display:grid;gap:1rem}.wide-card{display:flex;justify-content:space-between;align-items:center;gap:1rem}.quote-card{background:linear-gradient(160deg,#fff,#eef9f7)}.site-footer{background:#0a1621;color:#d9e5ec;padding:4rem 0 1.5rem}.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;gap:2rem}.footer-grid h2{font-size:1rem;color:#fff}.footer-grid ul{list-style:none;margin:0;padding:0;display:grid;gap:.45rem}.footer-grid a{color:#fff}.footer-brand{color:#fff;margin-bottom:1rem}.footer-bottom{display:flex;justify-content:space-between;border-top:1px solid rgba(255,255,255,.14);padding-top:1.2rem;margin-top:2.2rem;color:#aebfca}
@media (max-width:980px){.hero-grid,.two-col,.split-cards{grid-template-columns:1fr}.card-grid.four,.card-grid.three,.faq-grid,.footer-grid{grid-template-columns:1fr 1fr}.aside-card{position:static}.cta-inner{align-items:flex-start;flex-direction:column}.site-nav{display:none;position:absolute;left:4vw;right:4vw;top:78px;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:20px;padding:1rem;box-shadow:var(--shadow);flex-direction:column;align-items:flex-start}.site-nav.open{display:flex}.nav-toggle{display:inline-flex}.topbar-inner{flex-direction:column;gap:.25rem}.stat-row{grid-template-columns:1fr}}
@media (max-width:640px){.hero-grid{padding:3.4rem 0}.section{padding:3rem 0}.card-grid.four,.card-grid.three,.faq-grid,.footer-grid{grid-template-columns:1fr}.wide-card{align-items:flex-start;flex-direction:column}.hero-actions{flex-direction:column}.button{width:100%}.footer-bottom{flex-direction:column;gap:.5rem}.brand span{font-size:.94rem}}


/* Real image and video updates */
.hero.has-video{background:#061b2a;color:#fff;isolation:isolate}.hero.has-video:before{z-index:-1}.hero-bg-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.34;z-index:-2}.hero.has-video:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,18,30,.86) 0%,rgba(5,18,30,.58) 48%,rgba(5,18,30,.82) 100%);z-index:-1}.video-panel{padding:.78rem;overflow:hidden}.hero-photo-card{position:relative;margin:0;border-radius:20px;overflow:hidden;background:#fff;box-shadow:0 20px 60px rgba(0,0,0,.22)}.hero-photo-card img{width:100%;aspect-ratio:1.52/1;object-fit:cover;background:#fff}.hero-photo-card figcaption{position:absolute;left:.85rem;right:.85rem;bottom:.85rem;background:rgba(6,27,42,.82);border:1px solid rgba(255,255,255,.18);border-radius:999px;color:#fff;font-weight:800;font-size:.82rem;padding:.48rem .72rem;backdrop-filter:blur(8px)}.real-image-strip{padding:2rem 0;background:#fff}.image-strip-grid{display:grid;grid-template-columns:1.25fr .85fr .85fr;gap:1rem}.image-tile{position:relative;border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);box-shadow:0 12px 35px rgba(18,32,47,.08);background:#fff;min-height:230px}.image-tile img{width:100%;height:100%;min-height:230px;object-fit:cover}.image-tile strong{position:absolute;left:1rem;bottom:1rem;background:rgba(8,56,79,.9);color:#fff;border-radius:999px;padding:.55rem .8rem;font-size:.9rem}.image-tile.large{grid-row:span 2}.card-media{margin:-1.4rem -1.4rem 1.05rem;border-radius:var(--radius) var(--radius) 16px 16px;overflow:hidden;background:#f7fafc;border-bottom:1px solid var(--line)}.card-media img{width:100%;height:168px;object-fit:cover}.wide-card{overflow:hidden}.wide-card-media{flex:0 0 220px;align-self:stretch;margin:-1.4rem 0 -1.4rem -1.4rem;border-right:1px solid var(--line);background:#f7fafc}.wide-card-media img{width:220px;height:100%;min-height:168px;object-fit:cover}.media-note{font-size:.86rem;color:#708090;margin-top:.75rem}.source-list{font-size:.92rem;color:var(--muted)}
@media (max-width:980px){.image-strip-grid{grid-template-columns:1fr 1fr}.image-tile.large{grid-row:auto}.wide-card-media{flex-basis:180px}.wide-card-media img{width:180px}}
@media (max-width:640px){.hero-photo-card img{aspect-ratio:1.2/1}.hero-photo-card figcaption{position:static;border-radius:0;background:#082236}.image-strip-grid{grid-template-columns:1fr}.wide-card-media{width:calc(100% + 2.8rem);margin:-1.4rem -1.4rem 1rem}.wide-card-media img{width:100%;height:180px}.card-media img{height:190px}}

/* V3: brighter hero video, homepage showcase and polished media cards */
.hero.has-video{background:#08283b;min-height:620px}.hero-grid{min-height:620px}.hero-bg-video{opacity:.66;filter:brightness(1.42) contrast(1.06) saturate(1.16);transform:scale(1.015)}.hero.has-video:after{background:linear-gradient(90deg,rgba(5,18,30,.66) 0%,rgba(5,18,30,.30) 48%,rgba(5,18,30,.50) 100%)}.hero.has-video:before{background:radial-gradient(circle at 14% 18%,rgba(255,255,255,.18),transparent 24%),radial-gradient(circle at 86% 0%,rgba(242,140,40,.24),transparent 26%),linear-gradient(180deg,rgba(7,41,62,.08),rgba(7,41,62,.28));opacity:.9}.hero h1,.hero .lede{text-shadow:0 2px 22px rgba(0,0,0,.35)}.hero .button.secondary{background:rgba(255,255,255,.93);border-color:rgba(255,255,255,.72)}.video-panel{background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.34);box-shadow:0 28px 70px rgba(0,0,0,.28)}.hero-video-card{position:relative;margin:0;border-radius:22px;overflow:hidden;background:#061b2a;box-shadow:0 22px 65px rgba(0,0,0,.30)}.hero-feature-video{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;filter:brightness(1.24) contrast(1.05) saturate(1.12)}.hero-video-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 52%,rgba(3,16,25,.68));pointer-events:none}.hero-video-card figcaption{position:absolute;left:1rem;right:1rem;bottom:1rem;z-index:1;background:rgba(255,255,255,.92);color:#0a3048;border-radius:999px;padding:.62rem .9rem;font-weight:900;font-size:.9rem;box-shadow:0 10px 28px rgba(0,0,0,.18)}
.showcase-section{position:relative;overflow:hidden;padding:4.5rem 0;background:linear-gradient(180deg,#ffffff 0%,#eef7fb 100%)}.showcase-section:before{content:"";position:absolute;right:-14rem;top:-12rem;width:32rem;height:32rem;border-radius:50%;background:rgba(14,138,129,.12);pointer-events:none}.showcase-layout{position:relative;display:grid;grid-template-columns:.86fr 1.14fr;gap:2rem;align-items:center}.showcase-copy{background:#fff;border:1px solid var(--line);border-radius:30px;padding:2rem;box-shadow:0 22px 60px rgba(18,32,47,.08)}.showcase-copy h2{font-size:clamp(1.9rem,3.3vw,3.3rem);line-height:1.02;letter-spacing:-.045em;margin:.2rem 0 1rem}.showcase-copy p{color:var(--muted);font-size:1.06rem}.showcase-badges{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1.35rem}.showcase-badges span{display:inline-flex;align-items:center;border:1px solid var(--line);background:#f8fbfd;border-radius:999px;padding:.58rem .82rem;font-weight:850;color:#183246;font-size:.92rem}.showcase-badges span:before{content:"";width:.48rem;height:.48rem;border-radius:50%;background:var(--accent);margin-right:.45rem}.showcase-board{display:grid;grid-template-columns:1.16fr .84fr;grid-auto-rows:178px;gap:1rem}.showcase-tile{position:relative;margin:0;border-radius:28px;overflow:hidden;border:1px solid rgba(255,255,255,.9);box-shadow:0 20px 55px rgba(18,32,47,.12);background:#dfe9ef}.showcase-tile.feature{grid-row:span 2}.showcase-tile img{display:block;width:100%;height:100%;object-fit:cover;transform:scale(1.02)}.showcase-tile:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(3,20,31,.02) 20%,rgba(3,20,31,.74) 100%)}.showcase-tile figcaption{position:absolute;left:1rem;right:1rem;bottom:1rem;z-index:1;color:#fff}.showcase-tile figcaption strong{display:block;font-size:1rem;line-height:1.1;text-shadow:0 2px 14px rgba(0,0,0,.35)}.showcase-tile figcaption span{display:block;margin-top:.2rem;color:#d9eef5;font-size:.86rem;line-height:1.25}.showcase-tile.feature figcaption strong{font-size:1.25rem}.showcase-tile:hover img{transform:scale(1.055);transition:transform .35s ease}
.card-grid.four{grid-template-columns:repeat(auto-fit,minmax(245px,1fr))}.card-grid.three{grid-template-columns:repeat(auto-fit,minmax(285px,1fr))}.media-card{padding:0;overflow:hidden;display:flex;flex-direction:column;border-radius:28px;box-shadow:0 16px 45px rgba(18,32,47,.075)}.media-card .card-media{margin:0 0 1.1rem;border-radius:0;border-bottom:1px solid var(--line)}.media-card .card-media img{height:205px;transition:transform .28s ease}.media-card:hover .card-media img{transform:scale(1.045)}.media-card h3,.media-card p,.media-card .text-link{margin-left:1.25rem;margin-right:1.25rem}.media-card .eyebrow:empty{display:none}.media-card h3{font-size:1.22rem;margin-top:.15rem}.media-card .micro{margin-top:.45rem;background:#f6fafc;border-left:4px solid var(--accent);border-radius:14px;padding:.72rem .8rem;color:#5f7280!important}.media-card .text-link{display:inline-flex;margin-top:auto;margin-bottom:1.25rem;padding-top:.55rem}.category-section{background:linear-gradient(180deg,#ffffff 0%,#f8fbfd 100%)}.category-section .section-head{background:#fff;border:1px solid var(--line);border-radius:30px;padding:2rem;box-shadow:0 16px 44px rgba(18,32,47,.06)}
@media (max-width:980px){.hero.has-video,.hero-grid{min-height:auto}.hero-bg-video{opacity:.55}.hero.has-video:after{background:rgba(5,18,30,.62)}.showcase-layout{grid-template-columns:1fr}.showcase-board{grid-template-columns:1fr 1fr}.showcase-tile.feature{grid-column:span 2;grid-row:auto}.showcase-tile{min-height:220px}.showcase-tile.feature{min-height:310px}}
@media (max-width:640px){.showcase-section{padding:3rem 0}.showcase-copy{padding:1.35rem;border-radius:24px}.showcase-board{grid-template-columns:1fr;grid-auto-rows:auto}.showcase-tile,.showcase-tile.feature{grid-column:auto;min-height:240px}.hero-video-card figcaption{position:static;border-radius:0}.media-card .card-media img{height:210px}.category-section .section-head{padding:1.35rem;border-radius:24px}}
@media (prefers-reduced-motion:reduce){.hero-bg-video,.hero-feature-video{display:none}.hero.has-video{background-image:linear-gradient(90deg,rgba(5,18,30,.62),rgba(5,18,30,.34)),url('../assets/images/packaging-conveyors-poster.jpg');background-size:cover;background-position:center}.showcase-tile:hover img,.media-card:hover .card-media img{transform:none}}

/* V6: compact, customer-facing hero that fits within the first screen */
.breadcrumbs{padding:.75rem 0}
.hero.has-video{
  min-height:min(590px,calc(100svh - 128px));
  display:flex;
  align-items:center;
}
main>.container+.hero.has-video{
  min-height:min(520px,calc(100svh - 154px));
}
.hero-grid{
  min-height:0;
  padding:clamp(1.9rem,4vh,3rem) 0;
  gap:clamp(1.3rem,2.6vw,2.35rem);
  grid-template-columns:minmax(0,1.04fr) minmax(320px,.86fr);
}
main>.container+.hero .hero-grid{
  padding:clamp(1.45rem,3.4vh,2.45rem) 0;
}
.hero h1{
  font-size:clamp(2.05rem,4.05vw,4.05rem);
  line-height:1.02;
  letter-spacing:-.052em;
  margin:.22rem 0 .8rem;
}
main>.container+.hero h1{
  font-size:clamp(1.95rem,3.35vw,3.35rem);
}
.hero .lede{
  font-size:clamp(1rem,1.4vw,1.16rem);
  line-height:1.5;
  max-width:62ch;
}
.hero-actions{margin-top:1.2rem;gap:.8rem}
.hero .button{padding:.76rem 1rem}
.hero-panel{padding:.68rem;align-self:center}
.video-panel{padding:.62rem}
.hero-video-card,.hero-photo-card{border-radius:18px}
.hero-feature-video{aspect-ratio:16/8.7;max-height:285px}
.hero-photo-card img{aspect-ratio:16/9;max-height:285px;object-fit:cover;width:100%}
.hero-video-card figcaption,.hero-photo-card figcaption{
  left:.7rem;
  right:.7rem;
  bottom:.7rem;
  padding:.45rem .68rem;
  font-size:.78rem;
}
.stat-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;margin-top:.58rem}
.stat-row div{padding:.56rem .62rem;border-radius:14px}
.stat-row strong{font-size:.92rem}
.stat-row span{font-size:.76rem;line-height:1.25}
.showcase-section{padding:3.75rem 0}
.showcase-copy h2{font-size:clamp(1.8rem,3vw,3rem)}
.media-card .micro{background:#f8fbfd;border-left:4px solid var(--accent-2);color:#506575!important}
@media (min-width:981px){
  .hero-grid>div:first-child{max-width:690px}
  .hero-panel{max-width:560px;justify-self:end;width:100%}
}
@media (min-width:981px) and (max-height:780px){
  .topbar-inner{padding:.42rem 0}
  .nav-shell{padding:.72rem 0}
  .hero.has-video{min-height:calc(100svh - 96px)}
  main>.container+.hero.has-video{min-height:calc(100svh - 138px)}
  .hero-grid{padding:1.35rem 0;gap:1.45rem}
  main>.container+.hero .hero-grid{padding:1.15rem 0}
  .hero h1{font-size:clamp(1.9rem,3.55vw,3.45rem);margin:.15rem 0 .62rem}
  main>.container+.hero h1{font-size:clamp(1.85rem,2.95vw,2.95rem)}
  .hero .lede{font-size:1rem;line-height:1.42}
  .hero-actions{margin-top:.95rem}
  .hero-feature-video,.hero-photo-card img{max-height:235px;aspect-ratio:16/7.8}
  .stat-row{display:none}
}
@media (max-width:980px){
  .hero.has-video,main>.container+.hero.has-video{min-height:auto;display:block}
  .hero-grid,main>.container+.hero .hero-grid{grid-template-columns:1fr;padding:3rem 0;gap:1.25rem}
  .hero h1,main>.container+.hero h1{font-size:clamp(2.05rem,7vw,3.45rem)}
  .hero-panel{max-width:680px}
  .hero-bg-video{opacity:.5}
  .hero.has-video:after{background:linear-gradient(180deg,rgba(5,18,30,.70),rgba(5,18,30,.54))}
}
@media (max-width:640px){
  .topbar-inner{font-size:.84rem;padding:.45rem 0}
  .nav-shell{padding:.75rem 0}
  .hero-grid,main>.container+.hero .hero-grid{padding:2.35rem 0}
  .hero h1,main>.container+.hero h1{font-size:clamp(1.9rem,10vw,2.8rem)}
  .hero .lede{font-size:1rem}
  .hero-actions{margin-top:1rem}
  .hero-panel{display:none}
  .hero .button{width:100%}
  .showcase-section{padding:2.75rem 0}
}
/* V6 final adjustment: let the hero heading use the available column width rather than wrapping too tightly. */
.hero h1{max-width:min(780px,100%)}
@media (max-width:980px){.hero h1{max-width:100%}}

/* V6.1: viewport unit fallback for older browsers */
.hero.has-video{min-height:min(590px,calc(100vh - 128px));min-height:min(590px,calc(100svh - 128px))}
main>.container+.hero.has-video{min-height:min(520px,calc(100vh - 154px));min-height:min(520px,calc(100svh - 154px))}
@media (min-width:981px) and (max-height:780px){
  .hero.has-video{min-height:calc(100vh - 96px);min-height:calc(100svh - 96px)}
  main>.container+.hero.has-video{min-height:calc(100vh - 138px);min-height:calc(100svh - 138px)}
}

/* V6.1: strict desktop viewport fit for hero areas */
@media (min-width:981px){
  .hero.has-video{
    height:clamp(460px,calc(100vh - 128px),610px)!important;
    min-height:0!important;
  }
  main > .container + .hero.has-video{
    height:clamp(440px,calc(100vh - 168px),590px)!important;
  }
  .hero-grid{
    height:100%!important;
    min-height:0!important;
    padding:clamp(1rem,2.5vh,2rem) 0!important;
  }
  .hero h1{font-size:clamp(2rem,3.75vw,4rem)}
  .hero .lede{font-size:clamp(.98rem,1.25vw,1.12rem)}
  .hero-feature-video,.hero-photo-card img{max-height:250px}
  .stat-row div{padding:.48rem .58rem}
}
@media (max-height:760px) and (min-width:981px){
  .topbar-inner{padding:.38rem 0}
  .nav-shell{padding:.65rem 0}
  .hero.has-video{height:clamp(440px,calc(100vh - 128px),590px)!important}
  main > .container + .hero.has-video{height:clamp(420px,calc(100vh - 156px),560px)!important}
  .hero h1{font-size:clamp(1.9rem,3.4vw,3.45rem)}
  .hero .eyebrow{margin-bottom:.42rem}
  .hero-actions{margin-top:.95rem}
  .hero-feature-video,.hero-photo-card img{max-height:225px}
  .hero-video-card figcaption,.hero-photo-card figcaption{padding:.42rem .62rem}
}

/* V6.2: mobile heroes stay compact instead of inheriting desktop viewport heights */
@media (max-width:980px){
  .hero.has-video,main > .container + .hero.has-video{height:auto!important;min-height:0!important}
  .hero-grid,main > .container + .hero .hero-grid{height:auto!important;min-height:0!important}
}
