/* Compact Company selector and dedicated Imperium Technologies page. */
.company-nav{position:relative}
.company-nav .company-dropdown{left:auto;right:-10px;width:min(720px,calc(100vw - 48px));border:1px solid #294356}
.company-nav .company-dropdown .desktop-mega-inner{display:block;padding:14px;max-width:none}
.company-nav .company-dropdown .desktop-mega-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.company-nav .company-dropdown .desktop-mega-links>a{min-height:145px;padding:20px;display:flex;flex-direction:column}
.company-nav .company-dropdown .desktop-mega-links>a>small{font:11px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.09em;color:#91a8ba!important;margin:0 0 13px}
.company-nav .company-dropdown .desktop-mega-links>a>span{font-size:1.05rem}
.company-nav .company-dropdown .desktop-mega-links>a>p{color:#aebfcb!important;font-size:.82rem;line-height:1.5;margin:13px 0 0}

.idg-operations{background:var(--pale);max-width:none}
.idg-operation-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.idg-operation-grid>article,.idg-operation-grid>a{background:white;border:1px solid var(--line);border-top:3px solid var(--blue);padding:28px;min-height:220px}
.idg-operation-grid>a{position:relative;transition:transform .18s ease,border-color .18s ease}
.idg-operation-grid>a:hover,.idg-operation-grid>a:focus-visible{transform:translateY(-2px);border-color:#8099aa}
.idg-operation-grid span{display:block;font:12px ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.1em;color:var(--red);margin-bottom:24px}
.idg-operation-grid h3{font-size:1.65rem;margin-bottom:14px}
.idg-operation-grid p{max-width:580px;margin-bottom:22px}
.idg-operation-grid b{color:var(--blue);font-size:.88rem}

.tech-hero{max-width:none;background:var(--navy);color:white;display:grid;grid-template-columns:.92fr 1.08fr;gap:50px;align-items:center;padding-top:48px;padding-bottom:48px}
body.idg-custom-theme .tech-hero h1{color:#fff!important;font-size:clamp(2.8rem,4.7vw,5.1rem);line-height:1.02;margin-bottom:25px;max-width:780px}
.tech-hero .eyebrow{color:#c6d4df}
.tech-hero-copy>p:not(.eyebrow){color:#c3d1db;font-size:1.08rem;line-height:1.68;max-width:720px;margin-bottom:30px}
.tech-button-outline{background:transparent!important;border-color:#8196a6!important}
.tech-button-outline:hover{background:white!important;color:var(--blue)!important}
.tech-hero-image{margin:0;position:relative;min-height:430px;align-self:stretch;overflow:hidden}
.tech-hero-image img{width:100%;height:100%;min-height:430px;object-fit:cover;object-position:center;filter:saturate(.82)}
.tech-hero-image:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(4,19,32,.56),transparent 44%)}
.tech-hero-image figcaption{position:absolute;z-index:1;left:24px;right:24px;bottom:22px;color:white;display:flex;align-items:center;justify-content:space-between;gap:20px;font:11px ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.08em}
.tech-hero-image figcaption strong{font:600 14px Arial,Helvetica,sans-serif;letter-spacing:0}

.tech-role,.tech-workflow,.tech-focus,.tech-location,.tech-capabilities,.tech-cooperation{scroll-margin-top:165px}
.tech-section-heading{display:grid;grid-template-columns:.85fr 1.15fr;gap:60px;align-items:end;margin-bottom:32px}
.tech-section-heading h2{margin:0;max-width:760px}
.tech-section-heading>p{border-left:3px solid var(--blue);padding:8px 0 8px 24px;margin:0;max-width:760px}
.tech-role-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.tech-role-grid article{border:1px solid var(--line);border-top:3px solid var(--blue);padding:28px;min-height:290px}
.tech-role-grid article>span,.tech-card-grid article>span,.tech-focus-grid>a>span,.tech-cooperation-grid article>span{display:block;font:11px ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.09em;color:var(--red);margin-bottom:23px}
.tech-role-grid h3{font-size:1.65rem;margin-bottom:18px}
.tech-role-grid ul{margin:0 0 24px;padding-left:19px;color:var(--muted);line-height:1.8}
.tech-role-grid a{color:var(--blue);font-weight:650;font-size:.88rem}
.tech-role-grid .tech-role-highlight{background:var(--blue);border-color:var(--blue);color:white}
body.idg-custom-theme .tech-role-highlight h3{color:white!important}
.tech-role-highlight ul{color:#d5e1e9}

.tech-capabilities,.tech-cooperation{max-width:none;background:var(--navy);color:white}
body.idg-custom-theme .tech-capabilities h2,body.idg-custom-theme .tech-capabilities h3,body.idg-custom-theme .tech-cooperation h2,body.idg-custom-theme .tech-cooperation h3{color:white!important}
.tech-light .eyebrow{color:#b9cad8}
.tech-light>p{color:#b7c7d2;border-left-color:#557184}
.tech-card-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #365365;border-left:1px solid #365365}
.tech-card-grid article{border-right:1px solid #365365;border-bottom:1px solid #365365;padding:26px;min-height:225px}
.tech-card-grid article>span,.tech-cooperation-grid article>span{color:#9fb5c5}
.tech-card-grid h3{font-size:1.25rem;margin-bottom:13px}
.tech-card-grid p{color:#aebfcb;font-size:.92rem;line-height:1.62;margin:0}

.tech-steps{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line)}
.tech-steps li{border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:24px;min-height:260px}
.tech-steps li>span{display:block;font:12px ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--red);margin-bottom:34px}
.tech-steps h3{font-size:1.18rem;margin-bottom:13px}
.tech-steps p{font-size:.9rem;line-height:1.6;margin:0}

.tech-focus{background:var(--pale);max-width:none}
.tech-focus-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.tech-focus-grid>a{position:relative;background:white;border:1px solid var(--line);border-top:3px solid var(--blue);padding:24px;min-height:260px;transition:transform .18s ease,border-color .18s ease}
.tech-focus-grid>a:hover,.tech-focus-grid>a:focus-visible{transform:translateY(-2px);border-color:#8099aa}
.tech-focus-grid h3{font-size:1.22rem;margin-bottom:13px;padding-right:20px}
.tech-focus-grid p{font-size:.9rem;line-height:1.58;margin:0}
.tech-focus-grid .idg-arrow{position:absolute;right:22px;top:21px;color:var(--blue)}

.tech-location{display:grid;grid-template-columns:1.05fr .95fr;gap:54px;align-items:center}
.tech-location figure{margin:0;position:relative}
.tech-location img{width:100%;height:420px;object-fit:cover;filter:saturate(.78)}
.tech-location figcaption{position:absolute;left:18px;bottom:17px;background:#081d2cd9;color:white;padding:9px 11px;font:11px ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.08em}
.tech-location p{max-width:690px;margin-bottom:14px}

.tech-cooperation-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.tech-cooperation-grid article{border:1px solid #365365;background:#0e2a3d;padding:29px;min-height:280px;display:flex;flex-direction:column}
.tech-cooperation-grid h3{font-size:1.55rem;max-width:540px}
.tech-cooperation-grid p{color:#aebfcb;max-width:620px}
.tech-cooperation-grid a{color:white;border-top:1px solid #496276;padding-top:17px;margin-top:auto;font-weight:650;font-size:.9rem}

@media(max-width:1150px){
  .company-nav .company-dropdown{right:-65px;width:min(680px,calc(100vw - 30px))}
  .tech-card-grid{grid-template-columns:repeat(2,1fr)}
  .tech-steps{grid-template-columns:repeat(3,1fr)}
  .tech-focus-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:850px){
  .tech-hero{grid-template-columns:1fr;gap:28px}
  .tech-hero-image,.tech-hero-image img{min-height:0;height:360px}
  .tech-section-heading{grid-template-columns:1fr;gap:19px}
  .tech-section-heading>p{max-width:none}
  .tech-location{grid-template-columns:1fr;gap:28px}
  .tech-location img{height:330px}
}
@media(max-width:560px){
  .idg-operation-grid,.tech-role-grid,.tech-card-grid,.tech-focus-grid,.tech-cooperation-grid,.tech-steps{grid-template-columns:1fr}
  .idg-operation-grid>article,.idg-operation-grid>a{min-height:0;padding:22px}
  .tech-hero{padding-top:28px;padding-bottom:28px}
  body.idg-custom-theme .tech-hero h1{font-size:2.45rem}
  .tech-hero-copy>p:not(.eyebrow){font-size:.98rem}
  .tech-hero-image,.tech-hero-image img{height:255px}
  .tech-hero-image figcaption{left:16px;right:16px;bottom:15px}
  .tech-role-grid article,.tech-card-grid article,.tech-focus-grid>a,.tech-cooperation-grid article,.tech-steps li{min-height:0;padding:22px}
  .tech-steps li>span{margin-bottom:18px}
  .tech-location img{height:245px}
}
@media(prefers-reduced-motion:reduce){.idg-operation-grid>a,.tech-focus-grid>a{transition:none}}
