/* Metal ceilings — approved V2 direction. The shared site owns the header and global image guard. */
.ce-page {
  --ce-paper: #f7f6f1;
  --ce-ink: #132a26;
  --ce-red: #b34a30;
  --ce-red-hover: #913923;
  --ce-muted: #5f6862;
  --ce-line: #d9dcd5;
  --ce-header-height: 76px;
  --ce-jump-height: 58px;
  color: var(--ce-ink);
  background: var(--ce-paper);
  font-family: inherit;
  font-size: 17px;
  line-height: 1.65;
}
.ce-page *, .ce-page *::before, .ce-page *::after { box-sizing: border-box; }
.ce-page :is(h1,h2,h3,p,figure,dl) { margin: 0; }
.ce-page h2 { font-size: clamp(30px,3.15vw,46px); font-weight: 650; line-height: 1.2; letter-spacing: -.035em; text-wrap: balance; }
.ce-page h3 { font-size: 21px; font-weight: 650; line-height: 1.4; letter-spacing: -.012em; text-wrap: balance; }
.ce-page a { color: inherit; text-decoration: none; }
.ce-page button { font: inherit; cursor: pointer; }
.ce-page :is(a,button,summary):focus-visible { outline: 3px solid var(--ce-red); outline-offset: 5px; }
.ce-page [hidden] { display: none !important; }
.ce-wrap { width: min(1220px,calc(100% - 96px)); margin-inline: auto; }
.ce-section { padding-block: 76px; scroll-margin-top: calc(var(--ce-header-height) + var(--ce-jump-height) + 20px); }
.ce-section + .ce-section { border-top: 1px solid var(--ce-line); }
.ce-heading { max-width: 920px; margin-bottom: 34px; }
.ce-eyebrow { margin-bottom: 10px !important; color: var(--ce-muted); font-size: 12px; font-weight: 650; letter-spacing: .1em; line-height: 1.5; text-transform: uppercase; }
.ce-heading > p:not(.ce-eyebrow), .ce-lead { max-width: 790px; margin-top: 16px; color: var(--ce-muted); font-size: 18px; line-height: 1.7; text-wrap: pretty; }
.ce-note { color: var(--ce-muted); font-size: 13px; line-height: 1.65; }
.ce-page .ce-text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ce-red); font-size: 15px; font-weight: 650; line-height: 1.5; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.ce-page .ce-text-link:hover { color: var(--ce-red-hover); }
.ce-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.ce-page :is(.ce-button,.button) { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 13px 22px; border: 1px solid var(--ce-red); border-radius: 0; background: var(--ce-red); color: #fff; font-size: 15px; font-weight: 650; line-height: 1.45; text-align: center; transition: background .18s ease,border-color .18s ease,color .18s ease; }
.ce-page :is(.ce-button,.button):hover { background: var(--ce-red-hover); border-color: var(--ce-red-hover); }
.ce-page :is(.ce-button.ghost,.button.ghost,.ce-button-secondary) { background: transparent; color: var(--ce-red); }
.ce-page :is(.ce-button.ghost,.button.ghost,.ce-button-secondary):hover { background: #b34a3010; }

/* Every bounded image lives in the shared media-frame; no change to img {height:auto}. */
.ce-page .media-frame:where(.ce-frame) { display: block; position: relative; width: 100%; min-width: 0; min-height: 0; aspect-ratio: var(--ce-source-ratio,3 / 2); overflow: hidden; background: #e9eae4; }
.ce-page .media-frame:where(.ce-frame) > :is(img,video,picture), .ce-page .media-frame:where(.ce-frame) > picture > img { display: block; width: 100%; height: 100%; }
.ce-page .media-frame:where(.ce-frame) > :is(img,video), .ce-page .media-frame:where(.ce-frame) > picture > img { object-fit: cover; object-position: center; }
.ce-page .ce-product-frame { aspect-ratio: 1.75; background: #171b19; }
.ce-page .ce-line-photo-frame { aspect-ratio: 1.55; }
.ce-page .ce-color-frame { aspect-ratio: var(--ce-source-ratio,1.5); background: #fff; }
.ce-page .ce-installation-frame { aspect-ratio: 1.6; background: #fff; }
.ce-page .ce-construction-photo-frame { aspect-ratio: 2; }
.ce-page .ce-stainless-frame { aspect-ratio: .8; }
.ce-page .ce-finish-frame { aspect-ratio: 1; background: #e9e6dc; }
.ce-page .ce-workshop-frame { aspect-ratio: 2.4; }
.ce-page .ce-case-frame { aspect-ratio: 1.6; }
.ce-page :is(.ce-product-frame,.ce-color-frame,.ce-installation-frame,.ce-finish-frame) > img,
.ce-page :is(.ce-product-frame,.ce-color-frame,.ce-installation-frame,.ce-finish-frame) > picture > img { object-fit: contain; }
.ce-photo-link { display: block; position: relative; width: 100%; color: inherit; cursor: zoom-in; }
.ce-photo-link .media-frame > img { transition: transform .45s ease; }
.ce-photo-link:hover .ce-case-frame > img { transform: scale(1.018); }
.ce-zoom { position: absolute; right: 12px; bottom: 12px; z-index: 1; display: grid; place-items: center; min-width: 36px; min-height: 36px; padding: 7px; border: 1px solid #ffffff70; background: #132a26dd; color: #fff; font-size: 17px; line-height: 1; pointer-events: none; }
.ce-page figure > figcaption { padding-top: 10px; color: var(--ce-muted); font-size: 13px; line-height: 1.55; }

/* Full-width source photograph; the copy remains usable before any script runs. */
.ce-hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: 600px; overflow: hidden; background: var(--ce-ink); color: #fff; }
.ce-hero-media { position: absolute; inset: 0; z-index: -2; display: block; width: 100%; height: 100%; }
.ce-page .ce-hero-frame { width: 100%; height: 100%; min-height: 600px; aspect-ratio: 2.4; background: var(--ce-ink); }
.ce-hero-frame > img { object-position: center 43%; }
.ce-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#132a26e8 0%,#132a26bd 28%,#132a265b 52%,#132a2608 80%); pointer-events: none; }
.ce-hero > .ce-wrap { position: relative; z-index: 1; }
.ce-hero-copy { position: relative; z-index: 1; width: min(670px,100%); padding-block: 78px; }
.ce-hero .ce-eyebrow { color: #f0f1e9; letter-spacing: .11em; margin-bottom: 18px !important; }
.ce-hero-copy h1 { max-width: 730px; font-size: clamp(44px,5.2vw,72px); font-weight: 650; line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
.ce-hero-subtitle, .ce-hero-copy .ce-subtitle { margin-top: 18px !important; max-width: 640px; color: #fff; font-size: clamp(24px,2.65vw,35px); font-weight: 550; line-height: 1.35; letter-spacing: -.02em; text-wrap: balance; }
.ce-hero-lead, .ce-hero-copy .ce-lead { max-width: 535px; margin-top: 18px !important; color: #f1f2ec; font-size: 18px; line-height: 1.65; text-wrap: pretty; }
.ce-hero .ce-actions { margin-top: 30px; }
.ce-hero :is(.ce-button.ghost,.button.ghost,.ce-button-secondary) { border-color: #ffffff8c; background: #132a2666; color: #fff; }
.ce-hero :is(.ce-button.ghost,.button.ghost,.ce-button-secondary):hover { background: #132a26bb; border-color: #fff; }
.ce-hero :is(a,button):focus-visible { outline-color: #fff; }
.ce-hero-label { position: absolute; bottom: 15px; right: 20px; z-index: 2; max-width: calc(100% - 40px); padding: 5px 10px; background: #132a26c9; color: #fff; font-size: 11px; line-height: 1.55; }

/* Sticky section navigation stays below the site's existing sticky header. */
.ce-jump { position: sticky; top: var(--ce-header-height); z-index: 40; border-bottom: 1px solid var(--ce-line); background: #f7f6f1f5; backdrop-filter: blur(12px); }
.ce-jump > .ce-wrap { display: flex; align-items: center; justify-content: center; gap: 2px; min-height: var(--ce-jump-height); overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; scroll-padding-inline: 12px; }
.ce-jump a { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; min-height: 44px; padding: 10px 19px; color: var(--ce-muted); font-size: 13px; font-weight: 650; line-height: 1.4; white-space: nowrap; }
.ce-jump a:hover, .ce-jump a[aria-current], .ce-jump a.is-active { color: var(--ce-red); }
.ce-jump a:focus-visible { outline-offset: -4px; }

.ce-system-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px 28px; }
.ce-system { min-width: 0; }
.ce-system h3 { margin-top: 14px; font-size: 20px; }
.ce-system > p { margin-top: 6px; color: var(--ce-muted); font-size: 14px; line-height: 1.65; }
.ce-system .ce-note { margin-top: 8px; font-size: 12px; }
.ce-split { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: start; gap: 60px; }
.ce-split > *, .ce-stainless-layout > * { min-width: 0; }
.ce-split .ce-heading { margin-bottom: 26px; }
.ce-split + .ce-split { margin-top: 36px; }
.ce-steps { display: grid; gap: 22px; margin: 28px 0 0; padding: 0; list-style: none; }
.ce-steps li { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 3px 16px; align-items: start; }
.ce-steps li > span:first-child { grid-column: 1; grid-row: 1 / 3; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #bdc5bd; border-radius: 50%; color: var(--ce-ink); font-size: 17px; font-weight: 550; line-height: 1; }
.ce-steps li > :is(h3,p,div) { grid-column: 2; }
.ce-steps h3 { font-size: 18px; line-height: 1.45; }
.ce-steps p { margin-top: 3px; color: var(--ce-muted); font-size: 15px; line-height: 1.65; }
.ce-chip-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 22px 0 0; padding: 0; }
.ce-chip-list > li, .ce-chip-list > span { padding: 6px 11px; border: 1px solid #cbd1c8; color: var(--ce-muted); font-size: 13px; line-height: 1.5; }
.ce-construction-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.ce-construction-card { display: grid; align-content: start; gap: 13px; min-width: 0; padding: 28px; border: 1px solid var(--ce-line); background: #ffffffa6; }
.ce-construction-card h3 { font-size: 23px; }
.ce-construction-card > p { color: var(--ce-muted); font-size: 15px; line-height: 1.7; }
.ce-layer-list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ce-layer-list li { padding: 6px 10px; background: #e9ece5; color: var(--ce-ink); font-size: 13px; line-height: 1.4; }
.ce-layer-list li + li::before { content: "+"; margin-right: 8px; color: #69756c; }
.ce-construction-grid + :is(.ce-photo-link,figure,.ce-note), .ce-construction-photo-frame { margin-top: 24px; }

.ce-dark { background: var(--ce-ink); color: #f7f6f1; border-color: #36504a !important; }
.ce-dark .ce-eyebrow, .ce-dark .ce-heading > p:not(.ce-eyebrow), .ce-dark :is(.ce-note,figcaption) { color: #d1d9d2; }
.ce-dark :is(a,button,summary):focus-visible { outline-color: #f0c39f; }
.ce-stainless-layout { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); gap: 40px; align-items: start; }
.ce-finish-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; }
.ce-finish-button { display: block; width: 100%; min-width: 0; padding: 0 0 9px; border: 1px solid transparent; border-radius: 0; background: transparent; color: inherit; text-align: center; transition: border-color .18s ease,background .18s ease; }
.ce-finish-button:hover { border-color: #98aaa1; background: #ffffff09; }
.ce-finish-button[aria-pressed="true"] { border-color: #efd1aa; background: #ffffff0c; }
.ce-finish-button > :is(span,strong):not(.media-frame) { display: block; padding: 9px 4px 0; font-size: 13px; font-weight: 550; line-height: 1.5; }
.ce-page .ce-finish-button .ce-finish-frame { margin: 0; }
.ce-finish-description { min-height: 3.3em; margin-top: 17px !important; color: #dde3dd; font-size: 15px; line-height: 1.65; }
.ce-finish-description strong { color: #fff; font-weight: 650; }
.ce-stainless-layout .ce-workshop-frame { margin-top: 25px; }
.ce-color-notes { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 22px; padding-block: 18px; border-block: 1px solid #50615a; color: #d8e0d9; font-size: 14px; line-height: 1.6; }
.ce-color-notes > * { min-width: 0; flex: 1 1 180px; }
.ce-color-notes strong { display: block; margin-bottom: 4px; color: #fff; font-weight: 600; }
.ce-color-notes p { margin: 0; }
.ce-comparison { min-width: 0; overflow-x: auto; }
.ce-comparison table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 15px; line-height: 1.65; }
.ce-comparison :is(th,td) { padding: 16px 18px; border: 1px solid var(--ce-line); text-align: left; vertical-align: top; overflow-wrap: break-word; }
.ce-comparison thead th { background: var(--ce-ink); color: #fff; font-size: 18px; font-weight: 600; }
.ce-comparison thead th:last-child { background: #59645e; }
.ce-comparison tbody th { background: #e9ece5; font-size: 14px; font-weight: 600; }
.ce-comparison td { background: #ffffff91; color: #4e5953; }
.ce-comparison :is(p,ul) { margin: 0; }
.ce-comparison > p { margin-top: 12px; color: var(--ce-muted); font-size: 13px; }

.ce-case-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 35px 28px; }
.ce-case { min-width: 0; }
.ce-case h3 { margin-top: 14px; font-size: 22px; }
.ce-case > p { margin-top: 7px; color: var(--ce-muted); font-size: 15px; line-height: 1.65; }
.ce-case-label { display: inline-block; margin-top: 11px; color: var(--ce-red); font-size: 12px; font-weight: 650; line-height: 1.45; letter-spacing: .025em; }
.ce-case-wide { grid-column: span 2; }
.ce-page .ce-case-wide .ce-case-frame { aspect-ratio: 3.2; background: #e9e8e1; }
.ce-page .ce-case-wide .ce-case-frame > img, .ce-page .ce-case-wide .ce-case-frame > picture > img { object-fit: contain; }
.ce-questions { border-top: 1px solid var(--ce-line); }
.ce-questions details { border-bottom: 1px solid var(--ce-line); }
.ce-questions summary { display: flex; align-items: baseline; gap: 20px; min-height: 76px; padding-block: 21px; cursor: pointer; list-style: none; }
.ce-questions summary::-webkit-details-marker { display: none; }
.ce-questions summary::marker { content: ""; }
.ce-questions summary > span { flex: 0 0 auto; color: var(--ce-red); font-size: 13px; font-weight: 500; line-height: 1.6; }
.ce-questions summary h3 { flex: 1; min-width: 0; font-size: 21px; line-height: 1.5; }
.ce-questions summary::after { content: "+"; flex: 0 0 24px; margin-left: auto; font-size: 24px; font-weight: 400; line-height: 1; text-align: center; color: var(--ce-muted); }
.ce-questions details[open] summary::after { content: "−"; }
.ce-questions details[open] summary { padding-bottom: 12px; }
.ce-answer { max-width: 1000px; padding: 0 45px 25px 41px; color: #4f5b54; font-size: 16px; line-height: 1.8; }
.ce-answer p + p { margin-top: 12px; }
.ce-answer ul { margin: 12px 0; padding-left: 22px; }
.ce-answer a { color: var(--ce-red); text-decoration: underline; text-underline-offset: 4px; }
.ce-final { padding-block: 60px 68px; background: #edece4; }
.ce-final .ce-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px 40px; }
.ce-final h2 { max-width: 680px; }
.ce-final p { max-width: 650px; margin-top: 14px; color: var(--ce-muted); }
.ce-final .ce-actions { margin-top: 0; }

/* Catalog stays compatible with the shared original-PDF book component. */
.ce-catalog { scroll-margin-top: calc(var(--ce-header-height) + var(--ce-jump-height) + 20px); }
.ce-catalog .catalog-book { --book-red: var(--ce-red); border-block: 1px solid var(--ce-line); }
.ce-catalog .catalog-book-description { margin: 24px 0 28px; }
.ce-catalog .catalog-book-kicker { margin-bottom: 20px; color: var(--ce-red); }
.ce-catalog .catalog-book-primary { color: #fff; }
.ce-catalog .catalog-book-download { color: var(--ce-ink); text-decoration: underline; text-underline-offset: 5px; }
.ce-catalog .catalog-book-meta { margin-top: 23px; color: var(--ce-muted); }
.ce-catalog-related { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px; padding-block: 30px 48px; }
.ce-catalog-resource { padding: 25px; border: 1px solid var(--ce-line); }
.ce-catalog-resource > p:not(.ce-eyebrow) { margin-top: 10px; color: var(--ce-muted); font-size: 15px; }
.ce-catalog-resource-actions { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 17px; }

/* Modal geometry is bounded independently from image intrinsic dimensions. */
.ce-page .ce-lightbox { width: min(1320px,calc(100vw - 48px)); max-width: calc(100vw - 48px); height: min(92dvh,1000px); max-height: 92dvh; margin: auto; padding: 0; border: 1px solid #5b7065; background: #10221e; color: #f7f6f1; overflow: hidden; }
.ce-lightbox:not([open]) { display: none; }
.ce-lightbox[open] { display: flex; flex-direction: column; }
.ce-lightbox::backdrop { background: #08110eed; }
.ce-lightbox > header { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 18px; min-height: 66px; padding: 12px 22px; border-bottom: 1px solid #3c5148; }
.ce-lightbox > header :is(h2,h3) { max-width: 1000px; font-size: 18px; line-height: 1.4; letter-spacing: 0; }
.ce-close { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px 12px; border: 1px solid #687e72; background: transparent; color: #fff; font-size: 16px; line-height: 1.4; }
.ce-close:hover { background: #ffffff12; border-color: #e3eae3; }
.ce-lightbox > figure { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; min-height: 0; margin: 0; padding: 18px 22px; overflow-y: auto; }
.ce-page .ce-viewer-frame { flex: 1 1 auto; width: 100%; height: auto; min-height: 160px; max-height: calc(92dvh - 165px); aspect-ratio: 16 / 10; overflow: hidden; background: #10221e; }
.ce-page .ce-viewer-frame > img, .ce-page .ce-viewer-frame > picture > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ce-lightbox figure > figcaption { flex: 0 0 auto; padding-top: 12px; color: #d5dfd7; font-size: 14px; line-height: 1.55; }
.ce-lightbox :is(a,button):focus-visible { outline-color: #f0c39f; }

@media (max-width: 1100px) {
  .ce-wrap { width: calc(100% - 64px); }
  .ce-split { gap: 36px; }
  .ce-stainless-layout { gap: 28px; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); }
  .ce-finish-grid { gap: 8px; }
  .ce-finish-button > :is(span,strong):not(.media-frame) { font-size: 12px; }
  .ce-jump a { padding-inline: 13px; }
}
@media (max-width: 1000px) {
  .ce-page { --ce-header-height: 68px; }
  .ce-section { padding-block: 62px; }
  .ce-hero-copy { width: min(600px,100%); }
  .ce-hero-copy h1 { font-size: clamp(43px,6vw,62px); }
  .ce-system-grid { gap: 27px 20px; }
  .ce-system h3 { font-size: 18px; }
  .ce-stainless-layout { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); }
  .ce-page .ce-stainless-frame { aspect-ratio: .66; }
  .ce-finish-grid { grid-template-columns: repeat(5,minmax(0,1fr)); }
  .ce-comparison :is(th,td) { padding: 12px; font-size: 14px; }
  .ce-comparison thead th { font-size: 16px; }
  .ce-jump > .ce-wrap { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .ce-page { --ce-header-height: 66px; --ce-jump-height: 54px; font-size: 16px; }
  .ce-wrap { width: calc(100% - 40px); }
  .ce-section { padding-block: 48px; }
  .ce-heading { margin-bottom: 27px; }
  .ce-page h2 { font-size: clamp(28px,6.2vw,36px); line-height: 1.28; letter-spacing: -.025em; }
  .ce-page h3 { font-size: 20px; }
  .ce-heading > p:not(.ce-eyebrow), .ce-lead { margin-top: 13px; font-size: 16px; }
  .ce-eyebrow { font-size: 11px; }
  .ce-hero { min-height: 620px; align-items: end; }
  .ce-page .ce-hero-frame { min-height: 620px; aspect-ratio: .72; }
  .ce-hero-frame > img { object-position: 60% center; }
  .ce-hero::after { background: linear-gradient(180deg,#132a2614 0%,#132a2638 23%,#132a26d1 52%,#132a26f0 100%); }
  .ce-hero-copy { width: 100%; padding-block: 190px 47px; }
  .ce-hero-copy h1 { max-width: 550px; font-size: clamp(38px,9vw,54px); line-height: 1.08; }
  .ce-hero-subtitle, .ce-hero-copy .ce-subtitle { margin-top: 15px !important; font-size: 25px; line-height: 1.36; }
  .ce-hero-lead, .ce-hero-copy .ce-lead { max-width: 490px; margin-top: 15px !important; font-size: 16px; line-height: 1.7; }
  .ce-hero .ce-actions { gap: 10px; margin-top: 25px; }
  .ce-page :is(.ce-button,.button) { min-height: 47px; padding: 12px 16px; font-size: 14px; }
  .ce-hero-label { bottom: 10px; right: 20px; max-width: calc(100% - 40px); font-size: 10px; }
  .ce-jump > .ce-wrap { width: 100%; padding-inline: 12px; }
  .ce-jump a { min-height: 44px; padding-inline: 12px; font-size: 12px; }
  .ce-system-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 25px 17px; }
  .ce-page .ce-product-frame { aspect-ratio: 1.65; }
  .ce-system h3 { margin-top: 11px; font-size: 18px; }
  .ce-system > p { font-size: 13px; line-height: 1.6; }
  .ce-split { grid-template-columns: 1fr; gap: 30px; }
  .ce-split .ce-heading { margin-bottom: 20px; }
  .ce-steps { gap: 20px; margin-top: 23px; }
  .ce-steps li { grid-template-columns: 40px minmax(0,1fr); gap: 3px 13px; }
  .ce-steps li > span:first-child { width: 38px; height: 38px; font-size: 16px; }
  .ce-steps h3 { font-size: 18px; }
  .ce-construction-grid { gap: 14px; }
  .ce-construction-card { padding: 20px 17px; gap: 12px; }
  .ce-construction-card h3 { font-size: 20px; }
  .ce-construction-card > p { font-size: 14px; }
  .ce-layer-list { gap: 6px; }
  .ce-layer-list li { padding: 5px 7px; font-size: 12px; }
  .ce-page .ce-construction-photo-frame { aspect-ratio: 1.7; }
  .ce-stainless-layout { grid-template-columns: 1fr; gap: 30px; }
  .ce-page .ce-stainless-frame { aspect-ratio: 1; }
  .ce-stainless-frame > img { object-position: center 38%; }
  .ce-finish-grid { gap: 9px; }
  .ce-finish-button > :is(span,strong):not(.media-frame) { font-size: 12px; overflow-wrap: anywhere; }
  .ce-finish-description { margin-top: 15px !important; min-height: 5em; font-size: 14px; }
  .ce-color-notes { margin-top: 16px; gap: 16px; font-size: 13px; }
  .ce-page .ce-workshop-frame { aspect-ratio: 1.9; }
  .ce-case-grid { gap: 29px 20px; }
  .ce-case h3 { font-size: 19px; }
  .ce-case > p { font-size: 14px; }
  .ce-questions summary { align-items: baseline; gap: 13px; min-height: 72px; padding-block: 19px; }
  .ce-questions summary h3 { font-size: 18px; line-height: 1.55; }
  .ce-questions summary::after { flex-basis: 20px; font-size: 23px; }
  .ce-answer { padding: 0 0 22px 31px; font-size: 15px; line-height: 1.8; }
  .ce-final { padding-block: 46px; }
  .ce-final .ce-wrap { gap: 24px; }
  .ce-final .ce-actions { width: 100%; }
  .ce-final .ce-actions > a { flex: 1 1 auto; }
  .ce-catalog-related { grid-template-columns: 1fr; gap: 17px; padding-block: 24px 40px; }
  .ce-catalog-resource { padding: 22px; }
  .ce-page .ce-lightbox { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; border: 0; }
  .ce-lightbox > header { gap: 12px; min-height: 68px; padding: 11px 16px; }
  .ce-lightbox > header :is(h2,h3) { font-size: 16px; line-height: 1.45; }
  .ce-lightbox > figure { padding: 14px 16px; }
  .ce-page .ce-viewer-frame { max-height: calc(100dvh - 170px); min-height: 200px; aspect-ratio: .8; }
  .ce-lightbox figure > figcaption { font-size: 13px; }
}
@media (max-width: 560px) {
  .ce-construction-grid, .ce-case-grid { grid-template-columns: 1fr; }
  .ce-case-wide { grid-column: auto; }
  .ce-page .ce-case-wide .ce-case-frame { aspect-ratio: 2.6; }
  .ce-page .ce-case-frame { aspect-ratio: 1.55; }
  .ce-construction-card { padding: 23px; }
  .ce-finish-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
  .ce-finish-button > :is(span,strong):not(.media-frame) { padding-top: 8px; font-size: 13px; }
  .ce-page .ce-finish-frame { aspect-ratio: 1.12; }
  .ce-finish-description { min-height: 6.6em; }
  .ce-comparison :is(th,td) { padding: 11px 10px; font-size: 13px; }
  .ce-comparison thead th { font-size: 15px; }
  .ce-color-notes > * { flex-basis: 100%; }
}
@media (max-width: 380px) {
  .ce-wrap { width: calc(100% - 32px); }
  .ce-hero-copy h1 { font-size: 36px; }
  .ce-hero-subtitle, .ce-hero-copy .ce-subtitle { font-size: 23px; }
  .ce-hero .ce-actions > a { width: 100%; }
  .ce-system-grid { gap: 24px 12px; }
  .ce-system h3 { font-size: 17px; }
  .ce-system > p { font-size: 12px; }
  .ce-questions summary h3 { font-size: 17px; }
  .ce-final .ce-actions > a { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .ce-page *, .ce-page *::before, .ce-page *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .ce-photo-link:hover .ce-case-frame > img { transform: none; }
}

/* Renderer details: source proof, native disclosure controls and a scrollable comparison. */
.ce-photo { min-width: 0; }
.ce-linear .ce-photo + .ce-product-frame { margin-top: 22px; }
.ce-linear .ce-product-frame + .ce-note { margin-top: 10px; }
.ce-chip-list + .ce-note { margin-top: 12px; }
.ce-construction-proof { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 34px; margin-top: 32px; }
.ce-construction-proof > * { min-width: 0; }
.ce-construction-proof .ce-construction-photo-frame { margin-top: 0; }
.ce-construction-proof h3 { max-width: 560px; font-size: 25px; line-height: 1.4; }
.ce-construction-proof p { margin-top: 12px; color: var(--ce-muted); font-size: 16px; line-height: 1.75; }
.ce-construction-proof .ce-text-link { margin-top: 15px; }
.ce-dark .ce-text-link { color: #f1b799; }
.ce-dark .ce-text-link:hover { color: #fff; }
.ce-color-notes h3 { margin-bottom: 5px; font-size: 17px; color: #fff; }
.ce-stainless-layout .ce-finish-description + p { color: #d5dfd7; font-size: 14px; }
.ce-case .ce-case-label { display: block; margin: 0 0 11px; color: var(--ce-red); font-size: 12px; font-weight: 650; }
.ce-table-scroll { width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; }
.ce-table-scroll:focus-visible { outline: 3px solid var(--ce-red); outline-offset: 5px; }
.ce-table-scroll table { min-width: 540px; }
.ce-table-scroll thead th:first-child { width: 20%; }
.ce-table-scroll + .ce-note { margin-top: 15px; }
.ce-questions summary::after { display: none; }
.ce-questions summary > .ce-question-toggle { display: inline-flex; flex: 0 0 24px; align-items: center; justify-content: center; margin-left: auto; font-size: 24px; line-height: 1; color: var(--ce-muted); }
.ce-questions details[open] .ce-question-toggle { font-size: 0; }
.ce-questions details[open] .ce-question-toggle::after { content: "−"; font-size: 24px; }
.ce-faq .ce-split { grid-template-columns: minmax(0,.7fr) minmax(0,1.3fr); }
.ce-faq .ce-heading h2 { font-size: clamp(29px,2.6vw,38px); }
@media (max-width:760px) {
  .ce-construction-proof, .ce-faq .ce-split { grid-template-columns: 1fr; gap: 27px; }
  .ce-construction-proof h3 { font-size: 23px; }
  .ce-construction-proof p { font-size: 15px; }
  .ce-questions summary > .ce-question-toggle { flex-basis: 20px; font-size: 22px; }
  .ce-questions details[open] .ce-question-toggle::after { font-size: 22px; }
  .ce-faq .ce-heading h2 { font-size: 30px; }
}

/* R1 review: balance the detail with the scene, and reserve comparison space for materials. */
.ce-line-detail {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:center;margin-top:18px;}
.ce-line-detail .ce-note {font-size:14px;line-height:1.7;}
.ce-page .ce-line-detail .ce-product-frame {aspect-ratio:1.75;}
.ce-comparison th:first-child {width:20%;}
.ce-comparison th:not(:first-child), .ce-comparison td {width:40%;}
@media(max-width:700px){.ce-line-detail {gap:15px;} .ce-line-detail .ce-note {font-size:13px;}}

/* Direct chapter navigation keeps long-page reading and reduced-motion use predictable. */
html:has(body.page-metal-ceilings) { scroll-behavior: auto !important; }
