/* Portfolio photography and product views */
.hero-home {
  color: #f6f8fe;
  background: #0b1630;
  --hero-halo-core: #4164d768;
  --hero-halo-edge: #233d8c50;
  --hero-shadow-color: #040b24c7;
}
.hero-home .hero-inner {
  position: relative;
  z-index: 1;
  align-items: center;
}
.hero-home .hero-copy :is(.eyebrow,em) { color: #9fbaff; }
.hero-home .hero-copy p:not(.eyebrow) { color: #d3dff6; }
.hero-home .button-primary { background: #294ee8; border-color: #5f7bff; }
.hero-home .button-primary:hover { background: #3a5ff9; }
.hero-home .button-outline { background: #182947; color: #edf3ff; border-color: #60789f; }
.hero-home .button-outline:hover { background: #263b61; }
.hero-home .hero-figure {
  background: #14264b;
  box-shadow: 0 20px 68px #03091b82;
  border: 1px solid #5b75ad80;
}
.hero-home .hero-figure figcaption { background: #14264b; color: #d9e4fe; }
.hero-home .hero-figure img { object-position: 50% 52%; }

.service-hero .crumbs { margin-bottom: clamp(14px,3vw,32px); }
.service-hero-grid {
  display: grid;
  grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr);
  gap: clamp(25px,6vw,82px);
  align-items: center;
}
.service-hero h1 { margin-top: 0; font-size: clamp(2.25rem,4.3vw,4.65rem); }
.service-hero .capability-visual {
  margin: 0;
  padding: 6px;
  background: #e2eaff;
  border: 1px solid #9eb4e9;
  box-shadow: 0 22px 52px -31px #163a84a8;
}
.service-hero .capability-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center;
}
.service-hero .capability-visual figcaption {
  padding: 7px 9px 2px;
  color: #243b67;
  font-size: .86rem;
  font-weight: 650;
}
.sector-header.sector-header-media { grid-template-columns: minmax(0,1fr) minmax(150px,42%); }
.sector-header .sector-visual {
  display: block;
  margin: 0;
  align-self: stretch;
  min-width: 0;
}
.sector-header .sector-visual img {
  display: block;
  max-height: none;
  width: 100%;
  height: 100%;
  min-height: 180px;
  aspect-ratio: 2.5 / 1;
  object-fit: cover;
}
.sector-header-interface .sector-visual img { object-fit: contain; background: #0d1730; }
.sector-header .sector-work-link { display: inline-block; margin-top: 10px; }
.sector-header > div { padding: clamp(15px,3vw,30px); }
.sector-header p { max-width: 42rem; }

.system-flow { margin: 0; padding: 0; min-width: 0; border: 0; }
.system-flow legend {
  font-size: clamp(1.55rem,3.45vw,2.85rem);
  font-weight: 780;
  line-height: 1.25;
  letter-spacing: -.034em;
}
.system-flow > p { color: var(--muted); margin: 7px 0 19px; max-width: 53rem; }
.flow-stages { position: relative; border: 1px solid #bdccea; background: #f6f8ff; }
.flow-stages > input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
}
.flow-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.flow-tabs label {
  display: grid;
  place-items: center;
  min-height: 49px;
  padding: 8px 9px;
  cursor: pointer;
  color: #354c78;
  font-weight: 700;
  text-align: center;
  transition: background-color .2s ease, color .2s ease;
}
.flow-tabs label:hover { background: #e6edff; }
.flow-tabs label + label { border-left: 1px solid #c4d0ee; }
.flow-line { height: 3px; background: #c5d3f5; overflow: hidden; }
.flow-line::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: #3158e7;
  transform: scaleX(.3333);
  transform-origin: left;
  transition: transform .38s cubic-bezier(.18,.82,.26,1);
}
#flow-assign:checked ~ .flow-line::after { transform: scaleX(.6666); }
#flow-close:checked ~ .flow-line::after { transform: scaleX(1); }
#flow-open:checked ~ .flow-tabs label[for="flow-open"],
#flow-assign:checked ~ .flow-tabs label[for="flow-assign"],
#flow-close:checked ~ .flow-tabs label[for="flow-close"] { color: #1640be; background: #e9efff; }
#flow-open:focus-visible ~ .flow-tabs label[for="flow-open"],
#flow-assign:focus-visible ~ .flow-tabs label[for="flow-assign"],
#flow-close:focus-visible ~ .flow-tabs label[for="flow-close"] { outline: 2px solid #254dd7; outline-offset: -4px; }
.flow-output { padding: clamp(18px,4vw,38px); min-height: 200px; }
.flow-output > section { display: none; }
#flow-open:checked ~ .flow-output #flow-panel-open,
#flow-assign:checked ~ .flow-output #flow-panel-assign,
#flow-close:checked ~ .flow-output #flow-panel-close {
  display: block;
  animation: flow-appear .37s ease-out both;
}
.flow-output h2 { font-size: clamp(1.12rem,2.05vw,1.55rem); }
.flow-output p { color: var(--muted); max-width: 55rem; margin-top: 7px; }
.flow-output dl {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px 24px;
  margin-top: 14px;
}
.flow-output dt { font-size: .87rem; font-weight: 720; color: #24438c; line-height: 1.4; }
.flow-output dd { margin-top: 4px; }
@keyframes flow-appear {
  from { opacity: .45; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 790px) {
  .service-hero-grid { grid-template-columns: 1fr; gap: 23px; }
  .service-hero .capability-visual img { aspect-ratio: 16 / 10; }
}
@media (max-width: 550px) {
  .sector-header.sector-header-media { grid-template-columns: 1fr; }
  .sector-header .sector-visual img { aspect-ratio: 2.2 / 1; min-height: 0; }
  .flow-output { min-height: 255px; }
  .flow-output dl { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .flow-line::after,.flow-tabs label { transition: none; }
  .flow-output > section { animation: none !important; }
}
