/* HT Containers — editorial depth and varied page composition
   Added 2026-10-26. Designed for large, complete imagery and distinct page rhythms. */
:root{--ed-navy:#16262f;--ed-blue:#1f3a4a;--ed-teal:#0f596d;--ed-paper:#f5f3ee;--ed-cream:#ebe6dc;--ed-orange:#d77a2d;--ed-ink:#202a30;--ed-muted:#5d6b72;--ed-line:#d9d6cf;--ed-white:#fff}
.ed-section{padding:76px 0;background:var(--ed-white);color:var(--ed-ink)}
.ed-wrap{width:min(1180px,calc(100% - 44px));margin:0 auto}
.ed-kicker{display:block;margin:0 0 14px;color:var(--ed-orange);font-size:12px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.ed-section h2{margin:0;color:var(--ed-navy);font-size:clamp(34px,4vw,58px);line-height:1.02;letter-spacing:-.04em}
.ed-section h3{margin:0 0 10px;color:var(--ed-navy);font-size:21px;line-height:1.18}
.ed-section p{color:var(--ed-muted);font-size:16px;line-height:1.72}
.ed-btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 22px;background:var(--ed-orange);color:#fff!important;font-size:13px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;text-decoration:none}
.ed-btn.dark{background:var(--ed-navy)}
.ed-heading{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:70px;align-items:end;margin-bottom:38px}
.ed-heading>p{margin:0}

/* Homepage: dark editorial proof feature with asymmetric real-image mosaic. */
.ed-home-proof{background:var(--ed-navy);color:#fff;padding:82px 0}
.ed-home-proof .ed-kicker{color:#f2a35e}.ed-home-proof h2{color:#fff}
.ed-home-grid{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(420px,.98fr);gap:62px;align-items:center}
.ed-home-copy>p{max-width:650px;color:#c9d3d7;font-size:18px}
.ed-proof-list{margin:32px 0 34px;border-top:1px solid #40545e}
.ed-proof-row{display:grid;grid-template-columns:54px 1fr;gap:18px;padding:19px 0;border-bottom:1px solid #40545e}
.ed-proof-row b{color:#f2a35e;font-size:13px}.ed-proof-row strong{display:block;margin-bottom:5px;color:#fff;font-size:17px}.ed-proof-row span{color:#bdcbd0;font-size:14px;line-height:1.55}
.ed-proof-media{display:grid;grid-template-columns:1.25fr .75fr;grid-template-rows:310px 230px;gap:12px}
.ed-proof-media figure{position:relative;margin:0;overflow:hidden;background:#263a43}
.ed-proof-media figure:first-child{grid-row:1/3}
.ed-proof-media img{width:100%;height:100%;object-fit:cover;display:block;border:0}
.ed-proof-media figcaption{position:absolute;left:14px;bottom:14px;padding:9px 11px;background:rgba(22,38,47,.88);color:#fff;font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}

/* Product hub: tangible approval/document pack. */
.ed-doc-pack{background:var(--ed-paper)}
.ed-doc-grid{display:grid;grid-template-columns:1.15fr .85fr .85fr;grid-template-rows:245px 245px;gap:16px}
.ed-doc-visual{position:relative;grid-row:1/3;overflow:hidden;background:#d9d5cd}
.ed-doc-visual img{width:100%;height:100%;object-fit:cover;display:block}
.ed-doc-item{padding:28px;background:#fff;border:1px solid var(--ed-line);display:flex;flex-direction:column;justify-content:space-between}
.ed-doc-item:nth-child(3){background:var(--ed-blue)}.ed-doc-item:nth-child(3) h3,.ed-doc-item:nth-child(3) p{color:#fff}.ed-doc-item:nth-child(3) p{color:#cbd5da}
.ed-doc-item b{color:var(--ed-orange);font-size:12px;letter-spacing:.14em}.ed-doc-item p{margin:0;font-size:14px}

/* Expandable series: drawing-to-order review board. */
.ed-blueprint{background:#fff}
.ed-blueprint-grid{display:grid;grid-template-columns:minmax(420px,.95fr) minmax(0,1.05fr);gap:0;border:1px solid var(--ed-line)}
.ed-blueprint-media{min-height:560px;background:var(--ed-paper);overflow:hidden}
.ed-blueprint-media img{width:100%;height:100%;object-fit:contain;display:block;padding:24px;background:var(--ed-paper)}
.ed-blueprint-copy{padding:48px}
.ed-gates{margin-top:28px}
.ed-gate{display:grid;grid-template-columns:42px 1fr;gap:16px;padding:18px 0;border-top:1px solid var(--ed-line)}
.ed-gate:last-child{border-bottom:1px solid var(--ed-line)}.ed-gate b{color:var(--ed-orange)}.ed-gate strong{display:block;color:var(--ed-navy);font-size:17px}.ed-gate span{display:block;margin-top:4px;color:var(--ed-muted);font-size:14px;line-height:1.55}

/* Folding series: side-by-side structural choice. */
.ed-folding{background:var(--ed-paper)}
.ed-fold-cards{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.ed-fold-card{display:grid;grid-template-columns:1fr 1fr;min-height:430px;background:#fff;border:1px solid var(--ed-line)}
.ed-fold-card img{width:100%;height:100%;min-height:430px;object-fit:cover;display:block}
.ed-fold-card:first-child img{object-fit:contain;background:#fff}
.ed-fold-copy{padding:34px;display:flex;flex-direction:column;justify-content:center}
.ed-fold-copy ul{margin:18px 0 0;padding:0;list-style:none}
.ed-fold-copy li{padding:10px 0;border-top:1px solid var(--ed-line);color:var(--ed-muted);font-size:14px}
.ed-fold-copy li strong{color:var(--ed-navy)}

/* Solutions: operating-scenario matrix, not another card grid. */
.ed-solution-matrix{background:#fff}
.ed-matrix{border-top:1px solid var(--ed-line)}
.ed-matrix-row{display:grid;grid-template-columns:1.15fr .8fr 1fr 1fr .85fr;border-bottom:1px solid var(--ed-line)}
.ed-matrix-row>*{padding:20px 18px;border-right:1px solid var(--ed-line);font-size:14px;line-height:1.45}
.ed-matrix-row>*:last-child{border-right:0}.ed-matrix-row.head{background:var(--ed-navy);color:#fff}.ed-matrix-row.head>*{font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.ed-matrix-row strong{color:var(--ed-navy)}.ed-matrix-row:nth-child(3){background:var(--ed-paper)}
.ed-matrix-note{margin-top:20px;padding-left:18px;border-left:3px solid var(--ed-orange);max-width:900px}

/* Projects: one deep case-study narrative with a full photo sequence. */
.ed-case{background:var(--ed-paper)}
.ed-case-shell{display:grid;grid-template-columns:minmax(300px,.72fr) minmax(0,1.28fr);background:#fff;border:1px solid var(--ed-line)}
.ed-case-brief{padding:46px;display:flex;flex-direction:column}
.ed-case-brief p{margin-bottom:26px}.ed-case-facts{margin-top:auto}
.ed-case-fact{padding:16px 0;border-top:1px solid var(--ed-line)}.ed-case-fact small{display:block;color:var(--ed-orange);font-weight:800;letter-spacing:.12em}.ed-case-fact strong{display:block;margin-top:6px;color:var(--ed-navy);font-size:16px}
.ed-case-gallery{display:grid;grid-template-columns:1.25fr .75fr;grid-template-rows:300px 300px;gap:10px;padding:10px;background:var(--ed-navy)}
.ed-case-gallery figure{position:relative;margin:0;overflow:hidden}.ed-case-gallery figure:first-child{grid-row:1/3}.ed-case-gallery img{width:100%;height:100%;object-fit:cover;display:block}.ed-case-gallery figcaption{position:absolute;bottom:12px;left:12px;padding:8px 10px;background:rgba(22,38,47,.84);color:#fff;font-size:10px;font-weight:800;letter-spacing:.1em}

/* Resources: editorial library, featured story plus decision-led guides. */
.ed-library{background:#fff}
.ed-library-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr);gap:18px}
.ed-featured-guide{position:relative;min-height:620px;overflow:hidden;background:var(--ed-navy)}
.ed-featured-guide img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;opacity:.65}
.ed-featured-guide:after{content:"";position:absolute;inset:25% 0 0;background:linear-gradient(transparent,rgba(11,26,34,.96))}
.ed-featured-copy{position:absolute;z-index:2;left:38px;right:38px;bottom:38px}.ed-featured-copy h2{color:#fff}.ed-featured-copy p{color:#d4dde1;max-width:600px}
.ed-guide-list{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.ed-guide{padding:24px;background:var(--ed-paper);border-top:4px solid var(--ed-orange);text-decoration:none;display:flex;flex-direction:column;min-height:196px}
.ed-guide:nth-child(2),.ed-guide:nth-child(5){background:var(--ed-blue)}.ed-guide:nth-child(2) h3,.ed-guide:nth-child(5) h3,.ed-guide:nth-child(2) p,.ed-guide:nth-child(5) p{color:#fff}.ed-guide small{color:var(--ed-orange);font-weight:800;letter-spacing:.1em}.ed-guide h3{margin-top:12px}.ed-guide p{margin:0;font-size:13px}.ed-guide span{margin-top:auto;color:var(--ed-orange);font-size:12px;font-weight:800}

/* Model detail pages: approval scope with alternating visual treatments. */
.ed-approval{padding:70px 0;background:#fff}
.ed-approval-shell{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);border:1px solid var(--ed-line)}
.ed-approval-intro{padding:42px;background:var(--ed-blue);color:#fff}.ed-approval-intro h2{color:#fff;font-size:clamp(31px,3vw,46px)}.ed-approval-intro p{color:#cbd5da}.ed-approval-items{display:grid;grid-template-columns:1fr 1fr;background:#fff}
.ed-approval-item{padding:28px;border-left:1px solid var(--ed-line);border-bottom:1px solid var(--ed-line)}.ed-approval-item:nth-last-child(-n+2){border-bottom:0}.ed-approval-item b{color:var(--ed-orange);font-size:12px;letter-spacing:.12em}.ed-approval-item h3{font-size:18px;margin-top:10px}.ed-approval-item p{margin:0;font-size:13px}
.ed-approval.variant-paper .ed-approval-intro{background:var(--ed-paper);color:var(--ed-ink)}.ed-approval.variant-paper .ed-approval-intro h2{color:var(--ed-navy)}.ed-approval.variant-paper .ed-approval-intro p{color:var(--ed-muted)}
.ed-approval.variant-teal .ed-approval-intro{background:var(--ed-teal)}

@media(max-width:980px){
 .ed-heading,.ed-home-grid,.ed-blueprint-grid,.ed-case-shell,.ed-library-grid,.ed-approval-shell{grid-template-columns:1fr}
 .ed-home-grid{gap:38px}.ed-proof-media{grid-template-rows:270px 200px}
 .ed-doc-grid{grid-template-columns:1fr 1fr;grid-template-rows:auto}.ed-doc-visual{grid-row:auto;grid-column:1/-1;height:420px}
 .ed-fold-card{grid-template-columns:1fr}.ed-fold-card img{min-height:0;height:330px}
 .ed-matrix-row{grid-template-columns:1fr 1fr}.ed-matrix-row>*{border-bottom:1px solid var(--ed-line)}.ed-matrix-row.head{display:none}
 .ed-blueprint-media{min-height:430px}.ed-case-gallery{grid-template-rows:260px 260px}
}
@media(max-width:640px){
 .ed-section,.ed-home-proof,.ed-approval{padding:54px 0}.ed-wrap{width:min(100% - 28px,1180px)}
 .ed-heading{gap:18px;margin-bottom:28px}.ed-section h2{font-size:36px}
 .ed-proof-media{grid-template-columns:1fr;grid-template-rows:260px 180px 180px}.ed-proof-media figure:first-child{grid-row:auto}
 .ed-doc-grid,.ed-fold-cards,.ed-guide-list,.ed-approval-items{grid-template-columns:1fr}
 .ed-doc-visual{height:320px}.ed-doc-item{min-height:190px}
 .ed-fold-card img{height:270px}.ed-fold-copy{padding:26px}
 .ed-matrix-row{display:block;padding:18px}.ed-matrix-row>*{padding:8px 0;border:0}.ed-matrix-row>*:before{content:attr(data-label);display:block;margin-bottom:3px;color:var(--ed-orange);font-size:10px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
 .ed-case-brief{padding:30px}.ed-case-gallery{display:block;padding:8px}.ed-case-gallery figure{height:260px;margin-bottom:8px}.ed-case-gallery figure:last-child{margin-bottom:0}
 .ed-featured-guide{min-height:540px}.ed-featured-copy{left:24px;right:24px;bottom:28px}
 .ed-blueprint-copy{padding:30px}.ed-blueprint-media{min-height:360px}.ed-blueprint-media img{padding:12px}
 .ed-approval-item{border-left:0;border-bottom:1px solid var(--ed-line)!important}.ed-approval-item:last-child{border-bottom:0!important}
}

/* Cross-page adjacent band correction */
.hp-products + .hp-double-storey{background:#fff!important}
.ed-folding + .pl-section.pl-soft{background:#fff!important}
.ht-x-spec + .cr-pre-final + .cr-section.cr-paper{background:#fff!important}

/* Final adjacent-band and overflow guard */
html,body{overflow-x:clip}
.ht-x-spec + .cr-pre-final + .cr-section.cr-paper + .cr-section{background:#f5f3ee!important}
.sp-section.sp-section-soft + .ed-case{background:#fff!important}

/* Specific X-Type band override after legacy page styles */
body main > section.ht-x-spec + section.ht-x-bottom.cr-pre-final + section.cr-section.cr-paper + section.cr-section{background:#f5f3ee!important}

/* Fill the full Projects case-study column; no dead band below the photo mosaic */
@media(min-width:981px){.ed-case-gallery{grid-template-rows:minmax(0,1fr) minmax(0,1fr);height:100%;min-height:620px}}
