/* Shared CSS extracted from repeated inline style blocks. */
/* PEK Civil Defence — professional responsive polish pass */
*{box-sizing:border-box;}
html,body{width:100%;max-width:100%;overflow-x:hidden!important;-webkit-text-size-adjust:100%;text-size-adjust:100%;}
img,video,iframe,canvas,svg{max-width:100%;}
@media (max-width:1180px){
  body{min-width:0!important;}
  #nav{position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;max-width:100%!important;z-index:9900!important;height:64px!important;padding:0 clamp(14px,4vw,28px)!important;background:rgba(4,4,4,.96)!important;border-bottom:1px solid rgba(255,255,255,.08)!important;backdrop-filter:blur(20px)!important;-webkit-backdrop-filter:blur(20px)!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;overflow:visible!important;}
  #nav .logo-switcher,#nav .logo-switcher-main,#nav .nav-logo{min-width:0!important;max-width:calc(100vw - 86px)!important;flex:0 1 auto!important;}
  #nav .logo-switcher-main img,#nav .nav-logo img{height:32px!important;width:auto!important;max-width:min(250px,calc(100vw - 98px))!important;object-fit:contain!important;display:block!important;}
  #nav .nav-links{top:74px!important;left:clamp(14px,4vw,28px)!important;right:clamp(14px,4vw,28px)!important;max-height:calc(100dvh - 92px)!important;}
  #nav .nav-links a{min-height:48px!important;display:flex!important;align-items:center!important;}
  .pcd-mobile-toggle{flex:0 0 44px!important;width:44px!important;height:44px!important;}
  .logo-switcher-menu{max-width:calc(100vw - 28px)!important;}
}
@media (max-width:980px){
  /* Always show content on mobile: no invisible scroll-reveal states */
  [data-anim],.reveal,.shown,.section-head,.mission-card,.product-card,.domain-card,.cap,.story-card,.capability-item,.ecosystem-card,.contact-info-card,.req-c,.scen-c,.ffrs-video-copy,.ffrs-video-frame{opacity:1!important;visibility:visible!important;transform:none!important;filter:none!important;transition:transform .28s ease,border-color .28s ease,box-shadow .28s ease!important;}
  [data-anim] *, .reveal *{animation-delay:0s!important;}
  body{font-size:15px!important;line-height:1.6!important;}
  main,section,header,footer,.container,.story-wrap,.contact-shell,.technology-page,.reqs-inner,.scen-inner,.comp-inner,.eng-inner,.ffrs-video-wrap{max-width:100vw!important;overflow-x:hidden!important;}
  .container,.story-wrap,.contact-shell,.technology-page,.reqs-inner,.scen-inner,.comp-inner,.specs-wrap{width:100%!important;max-width:100%!important;padding-left:clamp(18px,5vw,28px)!important;padding-right:clamp(18px,5vw,28px)!important;margin-left:auto!important;margin-right:auto!important;}
  section{padding-left:0!important;padding-right:0!important;}
  .section-head,.story-grid,.contact-shell,.tech-wrap,.domain-layout,.ffrs-video-wrap,.eng-grid,.eng-inner,.comp-grid,.branch-grid,.ecosystem-branches,.foundation-content,.foot-grid{display:grid!important;grid-template-columns:1fr!important;gap:28px!important;align-items:stretch!important;}
  .products-grid,.product-grid,.portfolio-grid,#mission,.domain-grid,.cap-grid,.reqs-grid,#reqs .reqs-grid,.scen-grid,#scenarios .scen-grid,.story-cards,.contact-info-grid,.pillars-grid,.spec-grid,.stats-grid{display:grid!important;grid-template-columns:1fr!important;gap:18px!important;}
  h1,.hero-title,.hero-h1,.deminer-title,.story-title,.contact-title,.tech-page-title,.offensive-coming-title{max-width:100%!important;overflow:visible!important;word-break:normal!important;overflow-wrap:normal!important;text-wrap:balance!important;}
  h2,.section-title,.s-h,.story-heading,.ffrs-video-copy h2{max-width:100%!important;overflow:visible!important;text-wrap:balance!important;}
  p,.hero-copy,.section-desc,.story-text,.contact-copy,.tech-page-copy,.eng-desc{max-width:100%!important;}
  .btn,.nav-btn,.deminer-btn,.btn-fire,.btn-ghost-hero,.contact-submit,.demo-submit,.ecosystem-button{width:100%!important;max-width:100%!important;min-height:48px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;white-space:normal!important;padding:14px 18px!important;}
  .hero-actions,.hero-cta,.deminer-hero-cta,.story-actions,.contact-actions{width:100%!important;max-width:380px!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important;}
  footer{padding:58px clamp(18px,5vw,28px) 26px!important;}
  .foot-grid{grid-template-columns:1fr!important;gap:30px!important;}
  .foot-brand,.foot-col{min-width:0!important;}
  .foot-bottom{display:flex!important;flex-direction:column!important;gap:10px!important;align-items:flex-start!important;text-align:left!important;font-size:15px!important;line-height:1.6!important;}
  .demo-modal-box,.spec-modal-panel{width:calc(100vw - 28px)!important;max-width:calc(100vw - 28px)!important;max-height:calc(100dvh - 28px)!important;overflow:auto!important;padding:26px 20px!important;}
  .demo-form,.full-contact-form{display:grid!important;grid-template-columns:1fr!important;gap:14px!important;}
  .demo-wide,.form-row{grid-column:auto!important;display:grid!important;grid-template-columns:1fr!important;gap:14px!important;}
  input,select,textarea{width:100%!important;max-width:100%!important;font-size:16px!important;}

  /* Global stat/feature strips */
  #stats{height:auto!important;min-height:0!important;overflow:hidden!important;padding:10px 14px!important;background:#080808!important;border-top:1px solid rgba(255,255,255,.08)!important;border-bottom:1px solid rgba(255,255,255,.08)!important;}
  #stats .ticker-wrap,.ticker-wrap{display:grid!important;grid-template-columns:1fr!important;width:100%!important;max-width:100%!important;min-width:0!important;animation:none!important;transform:none!important;gap:0!important;}
  #stats .tick-item,.tick-item,.stat{width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;min-height:82px!important;padding:18px 20px!important;border-right:0!important;border-bottom:1px solid rgba(255,255,255,.08)!important;background:rgba(255,255,255,.018)!important;display:flex!important;align-items:center!important;gap:16px!important;}
  #stats .tick-item:last-child,.stat:last-child{border-bottom:0!important;}
  #stats .tick-val,.stat b{font-size:20px!important;line-height:1.05!important;color:rgba(255,255,255,.88)!important;}
  #stats .tick-lbl,.stat span{font-size:15px!important;letter-spacing:2.5px!important;color:rgba(255,255,255,.42)!important;line-height:1.35!important;}
  #stats .tick-icon{flex:0 0 22px!important;color:var(--red,#a28448)!important;opacity:.9!important;}
  body:not(.deminer-page) #stats .tick-item:nth-of-type(n+8){display:none!important;}

  /* Main page */
  body:not(.ffrs-page):not(.deminer-page) #hero, #hero:not(.deminer-clean-hero){min-height:86dvh!important;height:auto!important;padding-top:84px!important;padding-bottom:52px!important;display:flex!important;align-items:center!important;}
  body:not(.ffrs-page):not(.deminer-page) .hero-content{width:100%!important;padding:24px clamp(18px,5vw,28px) 0!important;margin:0!important;}
  .hero-title{font-size:clamp(48px,17vw,68px)!important;line-height:.95!important;letter-spacing:-2px!important;}
  .hero-sub,.hero-copy{font-size:15px!important;line-height:1.7!important;}
  #mission{background:#f5f3ef!important;color:#101010!important;padding:0!important;gap:0!important;}
  #mission .mission-card{background:#f8f7f4!important;color:#111!important;border-color:rgba(0,0,0,.07)!important;min-height:0!important;padding:38px 28px!important;}
  #mission .mission-card h3{color:#111!important;font-size:18px!important;letter-spacing:2.8px!important;line-height:1.25!important;}
  #mission .mission-card p{color:rgba(0,0,0,.58)!important;font-size:15px!important;line-height:1.75!important;}
  #mission .m-num{color:rgba(0,0,0,.04)!important;}
  #products,#domains,#tech,#capabilities,#cta{padding-top:74px!important;padding-bottom:74px!important;}
  .product-card{min-height:0!important;}
  .product-visual{height:220px!important;}
  .product-body{padding:26px 22px!important;}
  .domain-stage{min-height:280px!important;}
  .tech-visual{min-height:300px!important;margin-top:10px!important;}
  .specs .spec{grid-template-columns:1fr!important;gap:0!important;}
  .tech-labels{grid-template-columns:1fr!important;}

  /* FFRS hero and sections */
  .ffrs-page #hero,#hero:has(.hero-h1){min-height:86dvh!important;height:auto!important;padding-top:76px!important;padding-bottom:54px!important;display:flex!important;align-items:center!important;overflow:hidden!important;}
  .ffrs-page #hero .hero-bg,#hero:has(.hero-h1) .hero-bg{background-position:68% center!important;opacity:.82!important;}
  .ffrs-page #hero .hero-grad-l,#hero:has(.hero-h1) .hero-grad-l{background:linear-gradient(90deg,rgba(5,5,5,.92) 0%,rgba(5,5,5,.72) 48%,rgba(5,5,5,.28) 100%)!important;}
  .ffrs-page #hero .hero-content,#hero:has(.hero-h1) .hero-content{width:100%!important;max-width:100%!important;padding:24px clamp(18px,5vw,28px) 0!important;margin:0!important;}
  .hero-h1{font-size:clamp(50px,16vw,68px)!important;line-height:.94!important;letter-spacing:-2px!important;margin:0 0 12px!important;overflow:visible!important;}
  .hero-h1 .word{display:block!important;overflow:visible!important;}
  .hero-h1 .word-inner,.hero-h2-inner{transform:none!important;animation:none!important;display:block!important;}
  .hero-h2{font-size:clamp(21px,6.4vw,28px)!important;line-height:1.15!important;letter-spacing:3.2px!important;margin:0 0 22px!important;overflow:visible!important;white-space:normal!important;}
  .hero-tagline{font-size:15px!important;letter-spacing:3px!important;line-height:1.55!important;margin-bottom:24px!important;color:rgba(255,28,31,.88)!important;opacity:1!important;animation:none!important;transform:none!important;}
  .hero-eyebrow{margin-bottom:26px!important;gap:8px!important;}
  .hero-eye-item{height:auto!important;overflow:visible!important;}
  .hero-eye-inner{transform:none!important;animation:none!important;}
  .hero-eye-text{font-size:15px!important;letter-spacing:2.4px!important;line-height:1.45!important;}
  .hero-cta{opacity:1!important;animation:none!important;}
  .ffrs-page #stats .ticker-wrap,#stats .ticker-wrap{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;}
  .ffrs-page #stats .tick-item,#stats .tick-item{border:1px solid rgba(255,255,255,.08)!important;border-radius:0!important;min-height:84px!important;padding:16px 14px!important;background:rgba(255,255,255,.025)!important;}
  #ffrs-video-showcase{padding:78px clamp(18px,5vw,28px)!important;}
  .ffrs-video-wrap{width:100%!important;max-width:100%!important;grid-template-columns:1fr!important;gap:28px!important;}
  .ffrs-video-copy h2{font-size:clamp(34px,11vw,48px)!important;line-height:1!important;}
  .ffrs-video-frame{width:100%!important;padding:7px!important;}
  .ffrs-video-aspect{aspect-ratio:16/9!important;}
  #danger{padding:78px 0!important;background:radial-gradient(circle at 50% 10%,rgba(204,20,23,.28),transparent 42%),linear-gradient(180deg,#080202 0%,#250505 52%,#050505 100%)!important;}
  .danger-slider-shell{width:min(100%,calc(100vw - 24px))!important;margin:0 auto!important;}
  .danger-slide,.danger-slide.pdf-slide{width:100%!important;min-width:100%!important;flex:0 0 100%!important;border-radius:12px!important;overflow:hidden!important;}
  .danger-slide.pdf-slide img{width:100%!important;height:auto!important;display:block!important;object-fit:contain!important;}
  .danger-arrows{position:static!important;display:flex!important;justify-content:center!important;gap:12px!important;margin-top:18px!important;inset:auto!important;transform:none!important;}
  .danger-arrow,.danger-arrow.left,.danger-arrow.right{position:relative!important;left:auto!important;right:auto!important;top:auto!important;transform:none!important;width:46px!important;height:46px!important;}
  .danger-dots{margin-top:16px!important;}
  #engineered,#reqs,#scenarios,#comp{padding:78px clamp(18px,5vw,28px)!important;}
  #engineered .eng-inner{padding-left:0!important;padding-right:0!important;}
  .s-h{font-size:clamp(34px,10vw,48px)!important;line-height:1.02!important;letter-spacing:-1.2px!important;}
  .eng-desc{font-size:15px!important;line-height:1.7!important;}
  .specs-wrap{padding:0!important;}
  .spec-row{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;}
  .spec-cell{padding:18px!important;min-height:auto!important;}
  .ffrs-360-viewer{width:100%!important;max-width:100%!important;height:auto!important;aspect-ratio:16/10!important;min-height:0!important;margin:12px auto 0!important;}
  .cad-callouts,.cad-callout{display:none!important;}
  #reqs .reqs-grid,#scenarios .scen-grid{grid-template-columns:1fr!important;gap:18px!important;}
  #reqs .req-c,#scenarios .scen-c{min-height:0!important;width:100%!important;}
  #reqs .req-c img{width:100%!important;height:auto!important;aspect-ratio:16/10!important;object-fit:cover!important;display:block!important;}
  #reqs .req-body{position:relative!important;padding:24px 20px 28px!important;min-height:0!important;}
  #reqs .req-h{font-size:21px!important;line-height:1.1!important;min-height:0!important;}
  #reqs .req-bullets li{font-size:15px!important;line-height:1.55!important;}
  #scenarios{background:#f4f4f2!important;color:#111!important;}
  #scenarios .scen-head{grid-template-columns:1fr!important;gap:18px!important;margin-bottom:30px!important;}
  #scenarios .scen-img-wrap{height:auto!important;aspect-ratio:16/10!important;overflow:hidden!important;}
  #scenarios .scen-img-wrap img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;}
  #scenarios .scen-body{padding:26px 22px 30px!important;min-height:0!important;}
  #scenarios .scen-h{font-size:20px!important;line-height:1.18!important;min-height:0!important;}
  #scenarios .scen-list li{font-size:15px!important;line-height:1.6!important;}

  /* DeMINER */
  .deminer-clean-hero{min-height:86dvh!important;height:auto!important;padding-top:80px!important;padding-bottom:52px!important;display:flex!important;align-items:center!important;background:#050505!important;}
  .deminer-hero-bg{background-position:62% center!important;opacity:.45!important;}
  .deminer-hero-shade{background:linear-gradient(90deg,rgba(0,0,0,.92),rgba(0,0,0,.72) 55%,rgba(0,0,0,.4))!important;}
  .deminer-hero-content{width:100%!important;max-width:100%!important;margin:0!important;padding:22px clamp(22px,6vw,34px) 0!important;}
  .deminer-hero-lines{margin-bottom:24px!important;gap:9px!important;}
  .deminer-hero-lines span{font-size:15px!important;letter-spacing:2.6px!important;line-height:1.4!important;opacity:1!important;transform:none!important;animation:none!important;}
  .deminer-title{font-size:clamp(50px,15vw,72px)!important;line-height:.92!important;letter-spacing:-2.2px!important;opacity:1!important;transform:none!important;animation:none!important;}
  .deminer-subtitle{font-size:clamp(22px,6.2vw,30px)!important;line-height:1.2!important;letter-spacing:4.4px!important;opacity:1!important;transform:none!important;animation:none!important;}
  .deminer-tagline{font-size:15px!important;letter-spacing:3px!important;line-height:1.55!important;opacity:1!important;transform:none!important;animation:none!important;}
  .deminer-hero-cta{opacity:1!important;transform:none!important;animation:none!important;}
  .deminer-btn{clip-path:none!important;}
  #stats.deminer-feature-strip{padding:0!important;}
  .deminer-feature-wrap{grid-template-columns:1fr!important;gap:0!important;}
  .deminer-feature-item{min-height:96px!important;padding:20px 28px!important;border-bottom:1px solid rgba(255,255,255,.1)!important;}
  #engineered .eng-grid,.eng-grid{grid-template-columns:1fr!important;gap:26px!important;}
  .deminer-360-wrap{width:100%!important;min-height:0!important;padding:18px 0 0!important;background:#fff!important;overflow:hidden!important;display:flex!important;justify-content:center!important;align-items:center!important;}
  .deminer-360-viewer{width:100%!important;max-width:700px!important;height:auto!important;aspect-ratio:1120/522!important;min-height:0!important;transform:none!important;background:#fff!important;overflow:hidden!important;margin:0 auto!important;}
  .deminer-360-frame{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;}
  .deminer-slider,.deminer-slider-shell,.deminer-slide{max-width:100%!important;}

  /* Technology */
  .technology-page{padding-top:96px!important;padding-bottom:76px!important;}
  .technology-hero{padding:0!important;min-height:auto!important;}
  .tech-page-title{font-size:clamp(42px,12vw,58px)!important;line-height:.98!important;letter-spacing:-1.8px!important;}
  .tech-page-copy{font-size:15px!important;line-height:1.75!important;}
  .tech-ecosystem{padding-top:28px!important;}
  .ecosystem-parent,.ecosystem-card{padding:26px 22px!important;min-height:0!important;}
  .ecosystem-connector,.branch-mid-line{display:none!important;}
  .branch-grid{grid-template-columns:1fr!important;gap:18px!important;}

  /* Contact */
  .contact-page{padding:96px clamp(18px,5vw,28px) 76px!important;}
  .contact-shell{grid-template-columns:1fr!important;padding:0!important;}
  .contact-title{font-size:clamp(44px,13vw,62px)!important;line-height:.98!important;letter-spacing:-2px!important;}
  .contact-info-grid{grid-template-columns:1fr!important;}
  .contact-info-card,.contact-form-panel{padding:24px 22px!important;}
  .contact-info-card a,.contact-info-card p{overflow-wrap:anywhere!important;}

  /* Our Story */
  .story-hero{min-height:auto!important;padding:106px 0 64px!important;}
  .story-hero-inner{padding:0 clamp(22px,6vw,34px)!important;}
  .story-title{font-size:clamp(54px,16vw,76px)!important;line-height:.92!important;letter-spacing:-2px!important;}
  .story-lead{font-size:15px!important;line-height:1.75!important;}
  .story-section{padding:70px 0!important;}
  .story-heading{font-size:clamp(34px,10.5vw,48px)!important;line-height:1.05!important;}
  .capability-list,.timeline,.values-grid{grid-template-columns:1fr!important;}

  /* Offensive */
  .offensive-coming-soon{min-height:auto!important;padding:96px clamp(18px,5vw,28px) 72px!important;}
  .offensive-coming-inner{width:100%!important;max-width:100%!important;padding:34px 22px!important;}
  .offensive-coming-title{font-size:clamp(40px,12vw,58px)!important;line-height:1!important;letter-spacing:-1px!important;}
  #offensive-lock{padding:18px!important;align-items:center!important;}
  .offensive-lock-box{width:100%!important;max-width:420px!important;padding:32px 24px!important;}
  .offensive-lock-box h1{font-size:clamp(36px,10.6vw,44px)!important;line-height:1!important;letter-spacing:-1px!important;word-break:normal!important;overflow-wrap:normal!important;}
  .offensive-lock-kicker{font-size:15px!important;letter-spacing:3px!important;}
  .offensive-password-row{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;}
  #offensive-password-input,#offensive-password-button{width:100%!important;min-height:48px!important;}
}
@media (min-width:701px) and (max-width:1180px){
  .products-grid,.product-grid,.portfolio-grid,#mission,.domain-grid,.cap-grid,.reqs-grid,#reqs .reqs-grid,.scen-grid,#scenarios .scen-grid,.story-cards,.contact-info-grid,.branch-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  #stats .ticker-wrap{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
  #reqs .reqs-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  #scenarios .scen-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .ffrs-video-wrap,.eng-inner,.eng-grid{grid-template-columns:1fr!important;}
}
@media (max-width:700px){
  #nav{height:64px!important;padding:0 14px!important;}
  #nav .logo-switcher-main img,#nav .nav-logo img{height:30px!important;max-width:calc(100vw - 88px)!important;}
  .logo-switcher-menu{top:48px!important;}
  .pcd-mobile-toggle{width:42px!important;height:42px!important;flex-basis:42px!important;}
  .container,.story-wrap,.contact-shell,.technology-page,.reqs-inner,.scen-inner,.comp-inner,.specs-wrap{padding-left:18px!important;padding-right:18px!important;}
  #products,#domains,#tech,#capabilities,#cta,#engineered,#reqs,#scenarios,#comp,#ffrs-video-showcase{padding-top:64px!important;padding-bottom:64px!important;}
  .hero-title{font-size:clamp(44px,16vw,60px)!important;}
  .tech-page-title{font-size:43px!important;line-height:1!important;}
  .contact-title{font-size:50px!important;}
  .story-title{font-size:58px!important;}
  .s-h,.section-title,.story-heading,.ffrs-video-copy h2{font-size:clamp(31px,10vw,42px)!important;}
  #stats .ticker-wrap{grid-template-columns:1fr!important;gap:0!important;}
  .ffrs-page #stats .ticker-wrap,#stats .ticker-wrap{grid-template-columns:1fr!important;}
  .product-visual{height:205px!important;}
  #reqs .req-c img,#scenarios .scen-img-wrap{aspect-ratio:4/3!important;}
  .danger-slider-shell{width:calc(100vw - 18px)!important;}
  .danger-slide.pdf-slide img{min-height:230px!important;object-fit:cover!important;}
  .ffrs-360-viewer{aspect-ratio:4/3!important;}
}
@media (max-width:420px){
  .hero-h1{font-size:50px!important;}
  .hero-h2{font-size:21px!important;letter-spacing:2.6px!important;}
  .deminer-title{font-size:54px!important;}
  .deminer-subtitle{font-size:23px!important;letter-spacing:3.5px!important;}
  .tech-page-title{font-size:41px!important;}
  .contact-title{font-size:48px!important;}
  .btn,.nav-btn,.deminer-btn,.btn-fire,.btn-ghost-hero,.contact-submit,.demo-submit,.ecosystem-button{font-size:15px!important;letter-spacing:1.6px!important;}
}
