/* SITE-07 visual iteration: A, finish and workbench in distinct areas of the same visit. */
body[data-rreako-geo="product"] .story .sticky {
  grid-template-columns: minmax(220px,.42fr) minmax(0,1.58fr);
  column-gap: clamp(15px,3vw,54px);
}
body[data-rreako-geo="product"] .intro .product-benefit { font-size: clamp(1.3rem,2.6vw,3.15rem); }
body[data-rreako-geo="product"][data-product="rk-dk01"] .intro .product-benefit { display: none; }
body[data-rreako-geo="product"] .intro .eyebrow { display: none; }
body[data-rreako-geo="product"] .intro h1 { font-size: clamp(39px,5.6vw,96px); }
body[data-rreako-geo="product"][data-product^="rk-"] .intro h1 { font-size: clamp(37px,3.74vw,68px); white-space: nowrap; }

body[data-rreako-geo="product"] .story .model-frame:has(.product-appearance:not([hidden])) {
  grid-template: auto minmax(0,1fr) / minmax(0,1.09fr) minmax(0,.91fr);
  gap: 0;
  background: #f1efe7;
  height: clamp(270px,55svh,572px);
}
body[data-rreako-geo="product"] .model-frame .product-appearance:not([hidden]) {
  grid-area: 1 / 1 / 3 / 2;
  background: #edf0f3;
  padding: clamp(10px,1.5vw,22px);
  border-inline-end: 7px solid #f1efe7;
}
body[data-rreako-geo="product"] .model-frame .product-appearance figcaption { font-weight: 760; }
body[data-rreako-geo="product"] .model-frame .workbench-label:not([hidden]) {
  grid-area: 1 / 2;
  padding: clamp(10px,1.5vw,22px) clamp(10px,1.6vw,22px) 10px;
  border-block-start: 3px solid #243fba;
  background: #e6eaf3;
  color: #141d31;
  font: 760 clamp(.78rem,1.25vw,1.12rem)/1.16 Inter,Arial,sans-serif;
  letter-spacing: -.018em;
}
body[data-rreako-geo="product"] .model-frame:has(.product-appearance:not([hidden])) > canvas {
  grid-area: 2 / 2;
  background: #e6eaf3;
}
body[data-rreako-geo="product"] .sticky:has(.product-appearance:not([hidden])) .stage-tools {
  margin-inline-start: 54.5%;
}
body[data-rreako-geo="product"] .stage-tools .mode-switch { gap: 2px; }
body[data-rreako-geo="product"] .stage-tools .mode-switch button { padding-inline: clamp(6px,.85vw,13px); }
body[data-rreako-geo="product"] .stage-tools .tool-row { gap: 6px 12px; }
body[data-rreako-geo="product"] .stage-tools .head-label,body[data-rreako-geo="product"] .stage-tools #head { max-width: 100%; }

@media (max-width: 900px) {
  body[data-rreako-geo="product"] .sticky:has(.product-appearance:not([hidden])) .stage-tools { margin-inline-start: 0; }
}
@media (max-width: 780px) {
  body[data-rreako-geo="product"] .story .sticky { grid-template-columns: minmax(0,1fr); }
  body[data-rreako-geo="product"] .intro h1,body[data-rreako-geo="product"][data-product^="rk-"] .intro h1 { font-size: clamp(40px,12vw,75px); }
  body[data-rreako-geo="product"] .intro .eyebrow { display: none; }
  body[data-rreako-geo="product"] .intro .product-benefit { font-size: clamp(1.16rem,5.8vw,2.2rem); }
  body[data-rreako-geo="product"] .story .model-frame:has(.product-appearance:not([hidden])) { height: clamp(241px,36svh,380px); }
  body[data-rreako-geo="product"] .model-frame .product-appearance:not([hidden]) { border-inline-end-width: 4px; }
}
@media (min-width: 781px) and (max-height: 630px) {
  body[data-rreako-geo="product"] .story .model-frame:has(.product-appearance:not([hidden])) { height: clamp(220px,49svh,310px); }
}

/* SITE-07 visual iteration: B, a full appearance panel with a lower inset workbench. */
@media (min-width: 781px) {
  body[data-rreako-geo="product"] .story .model-frame:has(.product-appearance:not([hidden])) {
    grid-template: minmax(56px,.35fr) auto minmax(0,1fr) / minmax(0,1.22fr) minmax(0,.78fr);
  }
  body[data-rreako-geo="product"] .model-frame .product-appearance:not([hidden]) { grid-area: 1 / 1 / -1 / 2; border: 0; background: #edf0f3; }
  body[data-rreako-geo="product"] .model-frame .workbench-label:not([hidden]) { grid-area: 2 / 2; align-self: end; margin-inline: 20px 0; }
  body[data-rreako-geo="product"] .model-frame:has(.product-appearance:not([hidden])) > canvas { grid-area: 3 / 2; margin-inline-start: 20px; width: calc(100% - 20px); }
  body[data-rreako-geo="product"] .sticky .stage-tools { margin-inline-start: calc(61% + 20px); }
}
@media (min-width: 781px) and (max-width: 960px) {
  body[data-rreako-geo="product"] .sticky .stage-tools { margin-inline-start: 0; }
}
@media (max-width: 780px) {
  body[data-rreako-geo="product"] .story .model-frame:has(.product-appearance:not([hidden])) {
    height: clamp(435px,66svh,690px);
    grid-template: minmax(0,1fr) auto minmax(0,1fr) / minmax(0,1fr);
    background: #f1efe7;
  }
  body[data-rreako-geo="product"] .model-frame .product-appearance:not([hidden]) { grid-area: 1 / 1; border: 0; }
  body[data-rreako-geo="product"] .model-frame .workbench-label:not([hidden]) { grid-area: 2 / 1; margin-block-start: 8px; }
  body[data-rreako-geo="product"] .model-frame:has(.product-appearance:not([hidden])) > canvas { grid-area: 3 / 1; }
}
