/* wall-wheel.css */
#virtual-roof .studio-rail .studio-wall-palette .ss-wall-wheel-trigger i{
 background:radial-gradient(circle,#fff,transparent 73%),conic-gradient(#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00)
}
#virtual-roof .studio-rail .studio-wall-palette .ss-wall-wheel-trigger span{align-self:end;z-index:1;padding:.13rem .28rem;border-radius:3px;background:#061523e8;color:#fff;font-size:.68rem}
#virtual-roof .studio-rail .studio-wall-palette .ss-wall-wheel-trigger[data-custom-active=true]{outline:2px solid #70e4ff;outline-offset:1px}
#virtual-roof .studio-rail .studio-wall-palette .ss-wall-wheel-trigger[data-custom-active=true]::after{content:"";position:absolute;right:4px;top:4px;width:13px;height:13px;border-radius:50%;background:var(--ss-wall-active);border:1px solid white}
/* Keep the compact controls in the second swatch row, below the Custom tile. */
#virtual-roof .studio-rail .studio-wall-palette:has(>.ss-wall-wheel:not([hidden])){grid-template-rows:minmax(43px,auto) max-content}
#virtual-roof .ss-wall-wheel{grid-area:2/1/3/-1;display:grid;grid-template-columns:minmax(70px,90px) minmax(0,1fr);align-items:center;gap:.65rem;margin:0;padding:.44rem .56rem;border:1px solid #44799a;border-radius:9px;background:#102437;color:#edf9ff;min-width:0}
#virtual-roof .ss-wall-wheel-disc{position:relative;width:100%;aspect-ratio:1;border-radius:50%;
 background:linear-gradient(rgb(0 0 0 / var(--ss-value)),rgb(0 0 0 / var(--ss-value))),radial-gradient(circle,#fff,transparent 70.71%),conic-gradient(#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00);
 box-shadow:0 0 0 1px #ccf3ff;touch-action:none;cursor:crosshair
}
#virtual-roof .ss-wall-wheel-pin{position:absolute;width:13px;height:13px;border:2px solid #fff;border-radius:50%;box-shadow:0 0 1px 2px #151b22;transform:translate(-50%,-50%);pointer-events:none}
#virtual-roof .ss-wall-wheel-sliders{position:relative;display:grid;grid-template-columns:minmax(0,1fr);min-width:0}
#virtual-roof .ss-wall-wheel input[type=range]{appearance:none;grid-area:1/1;width:100%;height:44px;margin:0;background:none;cursor:pointer;--ss-track:linear-gradient(to right,#080a0e,var(--ss-bright,#fff))}
#virtual-roof .ss-wall-wheel input[type=range]::-webkit-slider-runnable-track{height:9px;border:1px solid #a7d2e5;border-radius:9px;background:var(--ss-track)}
#virtual-roof .ss-wall-wheel input[type=range]::-moz-range-track{height:9px;border:1px solid #a7d2e5;border-radius:9px;background:var(--ss-track)}
#virtual-roof .ss-wall-wheel input[type=range]::-webkit-slider-thumb{appearance:none;width:17px;height:17px;margin-top:-5px;border:2px solid #091723;border-radius:50%;background:#f4faff}
#virtual-roof .ss-wall-wheel input[type=range]::-moz-range-thumb{width:14px;height:14px;border:2px solid #091723;border-radius:50%;background:#f4faff}
#virtual-roof .ss-wall-wheel input.ss-wall-wheel-hue{--ss-track:linear-gradient(to right,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00)}
#virtual-roof .ss-wall-wheel input.ss-wall-wheel-saturation{--ss-track:linear-gradient(to right,#ccc,var(--ss-saturated,#0af))}
#virtual-roof .ss-wall-wheel input.ss-wall-wheel-key:not(:focus){clip-path:inset(50%);pointer-events:none}
#virtual-roof .ss-wall-wheel input.ss-wall-wheel-key:focus{z-index:1}
#virtual-roof .ss-wall-wheel-sliders:has(.ss-wall-wheel-key:focus) .ss-wall-wheel-brightness{opacity:0;pointer-events:none}
#virtual-roof .ss-wall-wheel input:focus-visible,#virtual-roof .ss-wall-wheel-trigger:focus-visible{outline:2px solid white;outline-offset:2px}
@media(max-width:700px){
 #virtual-roof .ss-wall-wheel{grid-template-columns:76px minmax(0,150px)}
 #virtual-roof .ss-wall-wheel input{scroll-margin-block-start:calc(min(25vh,220px) + 80px)}
}

/* opening-grid-v36.css */
/* Approved static curved grid, behind the original transparent 3D canvas. */
#hv-scene::before{
 content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
 background:linear-gradient(180deg,#0915235c 0%,#09152359 48%,#08152232 80%) center/100% 100% no-repeat,
 url("/home-assets/ss-curved-grid.svg") center 61%/100% 125% no-repeat;
 opacity:.46;mask-image:radial-gradient(ellipse 34% 58% at 50% 40%,#0003 4%,#0008 64%,#000 100%);
}
.hv-floating-logo{
 position:absolute;z-index:1;pointer-events:none;
 inset:auto auto clamp(14px,3.1%,22px) clamp(16px,3%,39px);
 width:clamp(108px,12vw,169px);aspect-ratio:520/359;
 filter:drop-shadow(0 4px 6px #020813dc) drop-shadow(0 0 8px #43c7f551)
}
.hv-floating-logo img{display:block;position:absolute;inset:0;width:100%;height:auto}
.hv-floating-logo .hv-logo-contrast{clip-path:polygon(38% 13%,100% 13%,100% 43%,49% 43%,47.5% 37%,38% 29%);filter:grayscale(1) brightness(0) invert(.92)}
@media(max-width:760px){
 #hv-scene::before{background-size:100% 100%,115% 100%;opacity:.43}
 .hv-floating-logo{inset-inline-start:10px;inset-block-end:49px;width:clamp(58px,17vw,88px)}
 .hv-stage[data-phase="6"] .hv-floating-logo{display:none}
}

/* suntuf-lightbox.css */
#polycarbonate .ss-suntuf-open{position:absolute;inset:0;display:block;color:#fff}
#polycarbonate .ss-suntuf-open:focus-visible{outline:0}
#polycarbonate .ss-suntuf-open:focus-visible::after{
 content:"";position:absolute;inset:2px;border:2px solid #a7edff;border-radius:5px;z-index:3;pointer-events:none
}
#polycarbonate .ss-suntuf-scene figcaption{pointer-events:none}
#polycarbonate .ss-suntuf-enlarge{
 position:absolute;z-index:2;inset:.3rem .3rem auto auto;display:flex;gap:.27rem;align-items:center;
 padding:.25rem .4rem;border:1px solid #a6dcf28c;border-radius:5px;background:#091727ed;
 color:#fff;font:650 .675rem/1.15 system-ui,sans-serif;white-space:nowrap
}
#polycarbonate .ss-suntuf-open:hover .ss-suntuf-enlarge,#polycarbonate .ss-suntuf-open:focus-visible .ss-suntuf-enlarge{
 border-color:#bceeff;background:#164361
}
#polycarbonate .ss-suntuf-lightbox{
 position:fixed;inset:0;margin:auto;padding:.65rem;width:max-content;
 max-width:calc(100vw - 1.5rem);max-height:calc(100dvh - 1.5rem);
 overflow:auto;border:1px solid #69a8ca;border-radius:.75rem;background:#0b1c2c;color:#fff
}
#polycarbonate .ss-suntuf-lightbox::backdrop{background:#030a12dc}
#polycarbonate .ss-suntuf-lightbox-head{display:flex;align-items:center;justify-content:space-between;gap:.65rem;margin-bottom:.45rem}
#polycarbonate .ss-suntuf-lightbox-head h3{margin:0;font:700 clamp(.95rem,2.1vw,1.16rem)/1.2 system-ui,sans-serif}
#polycarbonate .ss-suntuf-lightbox-head button{
 min-height:44px;padding:.25rem .6rem;font:650 .84rem/1.2 system-ui,sans-serif;white-space:nowrap;
 color:#fff;background:#153955;border:1px solid #71b8d8;border-radius:6px;cursor:pointer
}
#polycarbonate .ss-suntuf-lightbox img{
 display:block;width:auto;height:auto;max-width:min(78vw,860px);max-height:calc(100dvh - 7rem);margin-inline:auto;object-fit:contain
}
html.ss-suntuf-modal-open{overflow:hidden}

/* highveld-lineup-next.css */
/* The caption is a scene overlay, not part of the playback rail. */
.hv-scene .hv-gallery-caption{
 position:absolute;z-index:2;inset:auto;top:var(--hv-lineup-caption-top,44.8%);
 left:50%;transform:translate(-50%,-50%);margin:0;
 box-sizing:border-box;width:min(92%,760px);padding:.22em .26em .28em;
 font-size:clamp(1.02rem,2.42vw,2.14rem);gap:.85em;white-space:nowrap;
 background:linear-gradient(90deg,transparent,#0d233399 20%,#0d233399 80%,transparent);
 text-shadow:0 2px 7px #050d17;
}
.hv-stage.hv-ready[data-phase="6"] .hv-action-rail{display:flex}
@media(max-width:760px){
 .hv-scene .hv-gallery-caption{font-size:clamp(.87rem,4.2vw,1.52rem);gap:.8em}
}

/* opening-swatch-stable.css */
/* Two fixed-height label lines; long names never resize the stage above/below. */
.hv-compact-stack #hv-colours {
  --opening-swatch-min: max(54px, 6.6em);
  grid-template-columns: repeat(var(--finish-count, 13), minmax(var(--opening-swatch-min), 1fr));
  font-size: .6875rem;
}
.hv-compact-stack #hv-colours > li {
  font-size: 1em;
  line-height: 1.2;
  font-weight: 650;
}
.hv-compact-stack #hv-colours > li.hv-active {
  font-weight: 650;
}
.hv-compact-stack #hv-colours > li > span {
  display: block;
  block-size: 2.4em;
  inline-size: min(100%, 6.6em);
  margin-inline: auto;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  text-wrap: balance;
}

/* profiles-rev-d.css */
/* Rev D drawing crops preserve the approved master geometry at one X scale. */
/* Image and technical drawing are sibling click targets inside one photo. */
#profiles .ss-revd-floating {position:relative;isolation:isolate;aspect-ratio:1.077}
#profiles .ss-revd-floating > .ss-brand-media {display:block;position:absolute;inset:0}
#profiles .ss-revd-floating .ss-image-expand {height:100%}
#profiles .ss-revd-floating .ss-image-expand > img {height:100%;aspect-ratio:auto;object-fit:cover;object-position:center 96%}
#profiles .ss-revd-floating .ss-image-expand {z-index:0}
#profiles .ss-revd-floating .ss-image-action {inset:auto .42rem .42rem auto}
#profiles .ss-revd-float {
  position:absolute;inset:0 0 auto;z-index:3;margin:0;color:#eafaff;
  background:linear-gradient(180deg,#081a2bec,#0a2238da);
  border-bottom:1px solid #73b8d69e;
}
#profiles .ss-revd-float a {display:block;padding:clamp(7px,1.05vw,13px) 4.2% clamp(5px,.7vw,9px);text-decoration:none;color:inherit}
#profiles .ss-revd-float-heading {
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.1rem .48rem;
  font:650 clamp(.62rem,1.12vw,.8rem)/1.35 ui-monospace,monospace;letter-spacing:.035em;text-transform:uppercase;
}
#profiles .ss-revd-float-enlarge {color:#a4e6f4;text-transform:none;letter-spacing:0;font-family:system-ui,sans-serif}
#profiles .ss-revd-float a:hover .ss-revd-float-enlarge {text-decoration:underline;text-underline-offset:.2em}
#profiles .ss-revd-float a:focus-visible {outline:2px solid #adf1ff;outline-offset:-3px}
#profiles .ss-revd-float .ss-revd-diagram {
  display:block;width:100%;height:auto;margin:.19rem 0 0;
  /* Display-only treatment: keep the exact Rev D labels and pixels; the
     modal and direct link retain the original, unfiltered pale drawing. */
  filter:grayscale(1) invert(1) contrast(1.55);mix-blend-mode:screen;
}
.ss-revd-dialog img{display:block;width:100%;height:auto;border-radius:6px;background:#f2f6f7}
#profiles .ss-revd-card .hv-card-copy{padding-block:.9rem;display:grid;gap:.5rem;align-content:start}
#profiles .ss-revd-card .hv-card-copy .hv-section-specs{margin:0}
.ss-revd-card-note{margin:0;color:#c5d7e2;font-size:.78rem}
.ss-profile-dialog .ss-revd-dialog{display:block}
.ss-revd-dialog .ss-revd-dialog-layout{display:grid;gap:.8rem;padding:clamp(10px,2vw,20px)}
.ss-revd-dialog figure{margin:0}
.ss-revd-dialog figcaption{margin-top:.55rem;color:#d3e7ef;font-size:.8rem}
.ss-revd-dialog .hv-section-specs{margin:.65rem 0}
@media(max-width:630px){#profiles .hv-profile-grid{grid-template-columns:1fr}}

/* floating-product-logos.css */
/* 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;
}

/* expand-image.css */
/* A link is both the full image's touch target and a direct image fallback. */
a.ss-image-expand {position:relative;display:block;inline-size:100%;min-inline-size:0;color:#fff;cursor:zoom-in}
a.ss-image-expand:focus-visible,#ss-image-dialog button:focus-visible {outline:2px solid #adf1ff;outline-offset:2px}
a.ss-image-expand:focus-visible {outline-offset:-4px;z-index:2}
.ss-image-action {
 position:absolute;z-index:4;inset:.3rem .35rem auto auto;display:flex;gap:.27rem;align-items:center;
 padding:.28rem .4rem;border:1px solid #a6dcf28c;border-radius:5px;background:#091727ed;
 color:#fff;font:650 .685rem/1.15 system-ui,sans-serif;white-space:nowrap;pointer-events:none;
}
a.ss-image-expand:hover .ss-image-action,a.ss-image-expand:focus-visible .ss-image-action {border-color:#bceeff;background:#164361}
#profiles .ss-image-expand>img {display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:contain}
#ss-image-dialog {
 position:fixed;inset:0;margin:auto;padding:.65rem;width:max-content;max-width:calc(100% - 1.1rem);
 max-height:calc(100dvh - 1.1rem);overflow:auto;background:#0b1c2c;color:#fff;
 border:1px solid #69a8ca;border-radius:.75rem;box-sizing:border-box;
}
#ss-image-dialog::backdrop {background:#030a12de}
.ss-image-dialog-head {display:flex;justify-content:space-between;align-items:center;gap:.7rem;margin-bottom:.45rem}
.ss-image-dialog-head h2 {margin:0;font:700 clamp(.93rem,2.1vw,1.16rem)/1.2 system-ui,sans-serif}
.ss-image-close {min-height:44px;padding:.28rem .65rem;font:650 .84rem/1.2 system-ui,sans-serif;color:#fff;background:#153955;border:1px solid #71b8d8;border-radius:6px;cursor:pointer}
.ss-image-dialog-media {position:relative;display:block;max-width:100%;margin-inline:auto;padding:0;border:0;background:none;cursor:zoom-out}
.ss-image-dialog-media img {
 display:block;width:auto;height:auto;aspect-ratio:var(--ss-image-ratio,auto);
 max-width:min(calc(100vw - 2.6rem), 1120px);max-height:calc(100dvh - 6.3rem);
 object-fit:contain;
}
#ss-image-dialog [hidden] {display:none}
html.ss-image-open {overflow:hidden}

