/* SPECTRUM V7 — typography hierarchy, ink-bound vector fitting, artwork-safe framing,
   and a frozen rendering of the original star/motif background. No new libraries. */

/* The five Duality H1s fill the available *inner content* edge to edge. The paths
   were remeasured from the source SVG; each glyph has its own undistorted viewport. */
.page-head.page-head-duality h1.duality-title {
  box-sizing:border-box;
  display:block;
  width:100%;
  max-width:100%;
  padding:clamp(21px,2.5vw,38px) var(--pad) 0;
  margin:0;
  min-width:0;
  line-height:1;
  overflow:visible!important;
}
.page-head.page-head-duality .duality-word {
  display:block;
  width:100%;
  max-width:none!important;
  height:auto;
  overflow:visible;
  fill:currentColor;
  transform:none;
}
.page-head.page-head-duality .duality-character {overflow:hidden}

/* Now Bold, with the actual locally hosted weight, replaces the former repetitive
   experimental lettering everywhere outside those five page titles. */
.editorial-word-band {
  min-width:0;
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:16px 5vw;
}
.editorial-word-band>.editorial-word {
  flex:0 1 auto;
  display:block;
  min-width:0;
  max-width:75%;
  padding:0;
  margin:0;
  font-family:Now,Arial,sans-serif;
  font-weight:700;
  font-size:clamp(45px,7.4vw,124px);
  line-height:.92;
  letter-spacing:-.082em;
  text-transform:uppercase;
  font-synthesis:none;
}
.editorial-word-band>p {align-self:end}
.closing .editorial-word-band>.editorial-word {color:var(--navy)}
.case-head-compact .case-heading h1.case-project-title {
  margin:0;
  padding:0;
  min-width:0;
  font-family:Now,Arial,sans-serif;
  font-weight:700;
  font-size:clamp(63px,8.4vw,146px);
  line-height:.96;
  letter-spacing:-.075em;
  overflow-wrap:anywhere;
  font-synthesis:none;
}

.next-project h2, .case-scope h2, .case-outcome h2,
.section-display, .page-head-plain h1 {font-family:Now,Arial,sans-serif;font-weight:700;font-synthesis:none}
.page-head-plain h1{font-size:clamp(65px,11vw,165px);letter-spacing:-.075em;line-height:.98}

/* Preserve full artwork for the three project previews. CCM and CSD sources are
   exactly 3:2; Scoutify is 16:9 and intentionally letterboxed, never cropped. */



/* Supporting project previews: no automatic cover crop, including the application
   gallery and the related-project navigation. */
.application-primary img,.application-secondary img{width:100%;height:auto;aspect-ratio:auto;object-fit:contain}
.next-project-compact img,.next-project img{object-fit:contain;background:#001b3d;transition:filter .35s ease}
.next-project a:hover img{transform:none;filter:brightness(1.08)}

/* Full case-study artwork. Limits cap the visual footprint, not the image itself;
   the browser scales it proportionally and never slices the supplied composition. */
.case-hero,.case-hero--scoutify,.case-hero--csd{overflow:visible;max-height:none}
.case-hero>img,.case-hero--scoutify>img,.case-hero--csd>img {
  display:block;
  width:auto;
  max-width:100%;
  max-height:clamp(320px,45vw,600px);
  height:auto;
  margin:0 auto;
  aspect-ratio:auto;
  object-fit:contain;
  object-position:center;
  background:transparent;
}
.case-gallery-grid .gallery-item button{overflow:hidden}
.case-gallery-grid .gallery-item img{max-height:none;width:100%;height:auto;aspect-ratio:auto;object-fit:contain}
.case-gallery-grid .gallery-item:hover img{transform:none;filter:brightness(1.08)}

/* The original radial lighting, noise, cream masks and SVG motifs remain intact.
   Animation is forbidden throughout the entire fixed background, including
   inline styles; static opacity values create a stable, softly luminous frame.
   Drop the duplicate blurred layers to avoid costly full-screen GPU filters. */
.original-background, .original-background *, .original-background *::before,
.original-background *::after {
  animation:none!important;
  transition:none!important;
  will-change:auto!important;
  transform:none!important;
}
.original-background .starry-lite-Rdmlp {
  opacity:clamp(.14, calc(var(--peak, .5) * .56), .42)!important;
}
.original-background .starry-atmosphere-Rdmlp {opacity:.13!important}
.original-background .starry-lite-Rdmlp > div[style*="filter:blur"] {
  display:none!important;
}
.original-background [style*="filter:blur"] {filter:none!important}


@media(max-width:600px){
  .editorial-word-band{display:block;padding-block:20px 16px}
  .editorial-word-band>.editorial-word{font-size:clamp(42px,11vw,67px);max-width:100%}
  .editorial-word-band>p{margin:8px 0 0;font-size:12px}
  .page-head.page-head-duality h1.duality-title{padding-top:24px}
  .case-head-compact .case-heading h1.case-project-title{font-size:clamp(51px,13.5vw,81px)}
  
  .case-hero>img,.case-hero--scoutify>img,.case-hero--csd>img{max-height:none}
}
@media(prefers-reduced-motion:reduce){
  .original-background,.original-background * {animation:none!important;transition:none!important}
  .duality-title .duality-character .duality-mark{animation:none!important;transform:none!important}
}
.application-secondary>a:last-child img {object-fit:contain;aspect-ratio:auto}
