.stair-story { background:#f3f2ed; }
.stair-story-heading { margin-bottom:32px; }
.stair-story-panels { display:grid; grid-template-columns:minmax(0,2.2fr) minmax(0,1.75fr); gap:16px; align-items:start; }
.stair-story-panel { min-width:0; }
.stair-story-panel h3 { font-size:24px; font-weight:400; margin:0 0 18px; }
.stair-image { display:block; position:relative; overflow:hidden; aspect-ratio:4/3; background:#e6e3dd; }
.stair-image img { display:block; width:100%; height:100%; object-fit:contain; }
.stair-design { background:#fff; }
/* Full steel bounds in the 1200 x 1600 source: x=300..795, y=435..1270. */
.stair-steel-crop { width:100%; aspect-ratio:495/835; margin:0; }
.stair-steel-crop img { position:absolute; width:242.424243%; max-width:none; height:191.616767%; left:-60.606061%; top:-52.095808%; object-fit:fill; transform:none; }
.stair-film { padding:76px 0; }
.stair-film[hidden] { display:none; }
.stair-stage-head { display:grid; grid-template-columns:1fr 1fr; gap:48px; margin-bottom:32px; }
.stair-film-frame { aspect-ratio:4/3; max-width:960px; margin-inline:auto; background:#eeede7; border:1px solid #d2d2ca; }
.stair-film-frame iframe { width:100%; height:100%; border:0; display:block; }
@media(max-width:760px) {
 .stair-story-panels { gap:14px; }
 .stair-story-panel h3 { font-size:20px; margin-bottom:12px; }
 .stair-stage-head { grid-template-columns:1fr; gap:20px; }
 }
@media(max-width:600px) {
 .stair-story-panels { grid-template-columns:1fr; gap:28px; }
 .stair-steel-crop { width:44.461078%; margin-inline:auto; }
}

/* Trim only the CAD UI: source x456..2124, y132..1183. */
.stair-design { display:block; aspect-ratio:1668/1051; background:transparent; }
.stair-design-window { display:block; position:relative; width:100%; aspect-ratio:1668/1051; overflow:hidden; }

.stair-design-window img { position:absolute; width:127.3381295%; max-width:none; height:116.5556613%; left:-27.3381295%; top:-12.5594672%; object-fit:fill; }
.stair-film-placeholder { width:100%; height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; color:#13203a; }
.stair-film-placeholder p { margin:0; font-size:28px; }
.stair-film-placeholder span { color:#5f6875; font-size:17px; }

.stairs-page .stair-gallery .stair-gallery-large { grid-row:auto; }
.stairs-page .stair-gallery .stair-gallery-large img { height:clamp(190px,21vw,295px); }
@media(max-width:760px) { .stairs-page .stair-gallery .stair-gallery-large img { height:auto; } }

.stair-design-build { display:grid; grid-template-columns:minmax(0,1.587059943fr) minmax(0,.592814371fr); gap:16px; align-items:start; min-width:0; }
.stair-story-note { grid-column:1/-1; margin:0; max-width:48ch; font-size:20px; line-height:1.5; color:#13203a; }
@media(max-width:760px) { .stair-design-build { gap:14px; } .stair-story-note { font-size:18px; } }
@media(max-width:600px) { .stair-design-build { grid-template-columns:1fr; gap:28px; } .stair-design-build .stair-steel-crop { width:37.353053% ; } }

/* Keep the full 1086px source height; trim the room after the white post at x=1205. */
.stairs-page .hero-image { position:relative; height:auto; aspect-ratio:1205/1086; overflow:hidden; }
.stairs-page .hero-image img { position:absolute; inset:0 auto auto 0; width:120.1659751%; max-width:none; height:100%; object-fit:fill; }

/* Keep the section heading left aligned and let the photographs carry their captions. */
.stairs-page .stair-styles .section-head { max-width:none; margin:0 0 38px; text-align:left; align-items:start; }
.stairs-page .stair-style-grid { display:grid; grid-template-columns:1fr; gap:40px; }
.stairs-page .stair-style-card { margin:0; min-width:0; background:transparent; }
.stairs-page .stair-style-card img { display:block; max-width:100%; width:auto; height:auto; aspect-ratio:auto; }
.stairs-page .stair-style-card figcaption { padding:16px 0 0; color:#52606d; line-height:1.65; }
.stairs-page .stair-style-card + .stair-style-card { padding-top:40px; border-top:1px solid #cccac3; }
