/* Same unboxed transparent wordmark and contrast treatment as the opener. */
.ss-brand-media { position:relative; display:block; min-width:0; }
.ss-brand-float {
  pointer-events:none; position:absolute; z-index:2; display:block;
  inline-size:min(clamp(108px,12vw,169px),55%);
  aspect-ratio:520/359;
  inset:auto clamp(16px,3%,39px) clamp(14px,3.1%,22px) auto;
  filter:drop-shadow(0 4px 6px #020813db) drop-shadow(0 1px 2px #07111bba);
}
.ss-brand-float::before,.ss-brand-float::after {
  content:""; position:absolute; inset:0;
  background:url("home-assets/ss-profiling-wordmark.webp") center/contain no-repeat;
}
.ss-brand-float::after {
  clip-path:polygon(38% 13%,100% 13%,100% 43%,49% 43%,47.5% 37%,38% 29%);
  filter:grayscale(1) brightness(0) invert(.92);
}
.ss-brand-float--left {
  inset-inline:auto; inset-inline-start:clamp(16px,3%,39px);
}
.ss-brand-float--small {
  inline-size:min(clamp(35px,6vw,69px),40%);
  inset-inline-end:clamp(7px,2%,15px);
  inset-block-end:clamp(6px,3%,13px);
}
#delivery .delivery-factory-aerial>.ss-brand-media { grid-area:1/1; }
#delivery .delivery-factory-aerial .ss-brand-media>img {
  display:block; box-sizing:border-box; width:100%; height:auto; object-fit:contain;
  border:1px solid #416682; border-radius:12px;
}
/* Above the tint overlay, non-interactive, at right away from the film button. */
#delivery .delivery-factory-aerial .ss-brand-float { z-index:3; }
/* The controls/readout stay at the sheet stage bottom right. */
.ss-sheet-stage .ss-brand-float { inset-block-end:14px; }
.ss-profile-sheet-photo { margin:0; overflow:hidden; background:#20252a; }
.ss-profile-sheet-photo>img {
  display:block; inline-size:100%; block-size:auto; aspect-ratio:4/5; object-fit:contain;
}
@media(max-width:760px) {
  .ss-brand-float:not(.ss-brand-float--small) {
    inline-size:min(clamp(58px,17vw,88px),55%); inset-block-end:10px;
  }
  .ss-brand-float:not(.ss-brand-float--small):not(.ss-brand-float--left) { inset-inline-end:10px; }
  .ss-brand-float--left { inset-inline-start:10px; }
  #delivery .delivery-factory-aerial .ss-brand-media>img { border-radius:9px; }
}
@media(max-width:600px) {
  /* Reserve this strip to the right of the mobile wordmark. */
  .ss-sheet-stage:has(.ss-brand-float) .ss-sheet-hint {
    left:calc(clamp(58px,17vw,88px) + 18px); right:8px;
  }
}

/* Smaller wordmarks on the three approved product-photo groups. */
#lipped-sections .ss-lipped-set .ss-brand-float,
#ss-sheet-story .ss-sheet-story-grid .ss-brand-float,
#bullnosing .ss-bull-grid .ss-brand-float {
  inline-size:min(clamp(54px,6vw,84.5px),27.5%);
}
@media(max-width:760px) {
  #lipped-sections .ss-lipped-set .ss-brand-float,
#ss-sheet-story .ss-sheet-story-grid .ss-brand-float,
#bullnosing .ss-bull-grid .ss-brand-float {
    inline-size:min(clamp(29px,8.5vw,44px),27.5%);
  }
}

/* Match the logo's two shadow passes on the named editorial text only. */
:is(#virtual-roof-title,#hv-profiles-title,#sheet-explorer-title,#ss-flash-title,
    #ss-lips-title,#ss-suntuf-title,#ss-coils-title,#ss-bullnosing-title,
    #ss-sheet-story-title,#ss-enquiry-preview-title),
#virtual-roof .ss-studio-title-line > :is(strong,em),
#polycarbonate .ss-daylight-concepts > h3,
#explore-the-possibilities h3,
#delivery .delivery-v2-visit > :is(strong,em),
#big-roofs-start-here #inside-ss-profiling-caption,
#delivery #delivery-heading,
#quote > .foot > div > h2 {
  text-shadow:0 4px 6px #020813db,0 1px 2px #07111bba;
}
