/* ERGIO — Large-Scale Residential Developments
   Brand palette and typography are inherited from styles.css. */

.active-nav::after { transform: scaleX(1); transform-origin: left; }
.button-link { appearance: none; background: transparent; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; }
.residential-page .compact-section { padding-top: 108px; padding-bottom: 108px; }
.residential-page .reveal { opacity: 1; transform: none; }
.js .residential-page .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .residential-page .reveal.visible { opacity: 1; transform: none; }

/* HERO */
.solution-hero { position: relative; min-height: 96svh; overflow: hidden; background: var(--ink); color: white; }
.solution-hero-media,
.solution-hero-overlay { position: absolute; inset: 0; }
.solution-hero-media { background: url("assets/images/hero-residential.webp") 58% center/cover no-repeat; transform: scale(1.035); animation: heroZoom 16s ease-out both; }
.solution-hero-overlay { background: linear-gradient(90deg,rgba(0,0,0,.9) 0%,rgba(0,0,0,.72) 43%,rgba(0,0,0,.31) 74%),linear-gradient(0deg,rgba(0,0,0,.76),transparent 48%); }
.solution-hero-grid { position: relative; z-index: 2; min-height: 96svh; display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 70px; align-items: end; padding-top: calc(var(--header-h) + 92px); padding-bottom: 128px; }
.solution-hero-copy { max-width: 1040px; }
.solution-hero-copy h1 { max-width: 1080px; margin-bottom: 28px; font-size: clamp(58px,7vw,114px); }
.solution-hero-intro { max-width: 800px; margin-bottom: 35px; color: rgba(255,255,255,.86); font-size: clamp(17px,1.35vw,22px); line-height: 1.58; }
.page-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 36px; color: rgba(255,255,255,.62); font-size: 10px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.page-breadcrumb a:hover { color: white; }
.solution-hero-panel { align-self: end; margin-bottom: 5px; padding: 28px; border: 1px solid rgba(255,255,255,.32); background: rgba(17,17,17,.6); backdrop-filter: blur(12px); }
.solution-hero-panel .eyebrow { margin-bottom: 8px; color: var(--cream); }
.solution-hero-panel dl { margin: 0; }
.solution-hero-panel dl > div { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.solution-hero-panel dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.solution-hero-panel dt { margin-bottom: 5px; color: rgba(255,255,255,.52); font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.solution-hero-panel dd { margin: 0; font-size: 13px; line-height: 1.45; }
.solution-hero-bottom { position: absolute; z-index: 2; left: 50%; bottom: 30px; transform: translateX(-50%); display: flex; align-items: center; gap: 22px; color: rgba(255,255,255,.72); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.solution-hero-bottom i { width: 4px; height: 4px; border-radius: 50%; background: var(--red); }

/* PROOF BAR */
.development-proofbar { padding: 0 0 17px; background: var(--cream); }
.development-proofgrid { display: grid; grid-template-columns: repeat(4,1fr); }
.development-proofgrid article { min-height: 155px; padding: 32px 28px; border-right: 1px solid rgba(17,17,17,.18); display: flex; flex-direction: column; justify-content: space-between; }
.development-proofgrid article:first-child { padding-left: 0; }
.development-proofgrid article:last-child { border-right: 0; }
.development-proofgrid strong { font-size: clamp(25px,2.2vw,39px); font-weight: 500; letter-spacing: -.045em; }
.development-proofgrid span { max-width: 255px; font-size: 10px; font-weight: 700; letter-spacing: .075em; line-height: 1.45; text-transform: uppercase; }
.proofbar-note { margin-top: 10px; color: rgba(17,17,17,.62); font-size: 9px; }

/* INTRO */
.development-intro-grid { display: grid; grid-template-columns: 1.05fr .82fr; gap: 8vw; align-items: start; }
.development-intro-title h2 { max-width: 820px; }
.development-intro-title h2 span { color: var(--red); }
.development-intro-copy { padding-top: 48px; }
.development-intro-copy > p { color: #514c45; font-size: 15px; line-height: 1.78; }
.development-intro-copy .lead-copy { color: var(--ink); font-size: clamp(20px,1.65vw,27px); line-height: 1.45; letter-spacing: -.025em; }
.intro-image-stack { position: relative; height: 570px; margin-top: 65px; }
.intro-image-stack figure { margin: 0; overflow: hidden; }
.intro-image-stack img { width: 100%; height: 100%; object-fit: cover; }
.intro-image-large { position: absolute; inset: 0 14% 12% 0; }
.intro-image-small { position: absolute; right: 0; bottom: 0; width: 43%; height: 43%; border: 10px solid white; }
.intro-image-stack figcaption { position: absolute; inset: auto 12px 12px; padding: 7px 9px; background: rgba(17,17,17,.82); color: white; font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.fit-list { margin-top: 38px; border-top: 1px solid var(--line); }
.fit-list > div { display: grid; grid-template-columns: 45px 1fr; padding: 23px 0; border-bottom: 1px solid var(--line); }
.fit-list span { color: var(--red); font-size: 10px; font-weight: 700; }
.fit-list strong { font-size: 15px; }
.fit-list p { grid-column: 2; margin: 6px 0 0; color: #6a645c; font-size: 12px; }

/* FIT BAND */
.fit-band { padding: 105px 0; background: var(--ink); color: white; }
.fit-band-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 90px; align-items: center; }
.fit-band-copy h2 { max-width: 720px; font-size: clamp(43px,4.5vw,72px); }
.fit-band-copy > p:not(.eyebrow) { max-width: 690px; margin-bottom: 34px; color: rgba(255,255,255,.66); }
.fit-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.2); }
.fit-columns article { min-height: 470px; padding: 38px; background: #191919; }
.fit-columns article > span { color: var(--cream); font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.fit-columns ul { margin: 80px 0 0; padding: 0; list-style: none; }
.fit-columns li { position: relative; padding: 13px 0 13px 24px; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.75); font-size: 12px; }
.fit-positive li::before { content: "✓"; position: absolute; left: 0; color: var(--cream); }
.fit-negative li::before { content: "—"; position: absolute; left: 0; color: var(--red); }

/* SERIAL FRAMEWORK */
.scale-framework { background: var(--soft); }
.framework-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; margin-top: 58px; background: var(--line); border: 1px solid var(--line); }
.framework-card { min-height: 545px; padding: 34px; background: white; display: flex; flex-direction: column; }
.framework-card > span { color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: .15em; }
.framework-card h3 { margin: auto 0 22px; max-width: 440px; }
.framework-card p { color: #5d574f; font-size: 13px; }
.framework-card ul { margin: 15px 0 0; padding: 15px 0 0; border-top: 1px solid var(--line); list-style: none; }
.framework-card li { padding: 6px 0; font-size: 11px; }
.framework-card-image { position: relative; overflow: hidden; padding: 0; color: white; }
.framework-card-image img { width: 100%; height: 100%; object-fit: cover; }
.framework-card-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(0,0,0,.9),transparent 70%); }
.framework-card-image > div { position: absolute; z-index: 2; inset: auto 30px 30px; }
.framework-card-image > div span { color: var(--cream); font-size: 11px; font-weight: 700; letter-spacing: .15em; }
.framework-card-image h3 { margin: 22px 0 16px; }
.framework-card-image p { color: rgba(255,255,255,.78); }
.dark-framework { background: var(--ink); color: white; }
.dark-framework p { color: rgba(255,255,255,.68); }
.dark-framework ul { border-color: rgba(255,255,255,.18); }
.cream-framework { background: var(--cream); }
.framework-panorama { position: relative; height: 610px; margin: 28px 0 0; overflow: hidden; }
.framework-panorama img { width: 100%; height: 100%; object-fit: cover; }
.framework-panorama::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(0,0,0,.82),transparent 62%); }
.framework-panorama figcaption { position: absolute; z-index: 2; left: 35px; right: 35px; bottom: 30px; max-width: 800px; color: rgba(255,255,255,.76); font-size: 13px; }
.framework-panorama figcaption strong { display: block; margin-bottom: 6px; color: white; font-size: 18px; }

/* SUPPLY PACKAGES */
.development-scope { background: white; }
.package-comparison { margin-top: 55px; border: 1px solid var(--line); }
.package-labels,
.package-row { display: grid; grid-template-columns: 1.4fr repeat(3,1fr); }
.package-labels { background: var(--ink); color: white; }
.package-labels span { padding: 20px 18px; border-right: 1px solid rgba(255,255,255,.18); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.package-labels span:last-child { border-right: 0; }
.package-labels .recommended-label { background: var(--red); }
.package-row { border-top: 1px solid var(--line); }
.package-row strong,
.package-row i { padding: 17px 18px; border-right: 1px solid var(--line); }
.package-row strong { font-size: 12px; }
.package-row i { text-align: center; color: #615b53; font-size: 11px; font-style: normal; }
.package-row i:nth-child(3) { background: rgba(231,218,191,.38); color: var(--ink); font-weight: 700; }
.package-row > *:last-child { border-right: 0; }
.scope-rich-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 28px; }
.scope-rich-card { display: grid; grid-template-columns: .88fr 1.12fr; min-height: 445px; border: 1px solid var(--line); overflow: hidden; }
.scope-rich-card figure { margin: 0; min-height: 100%; overflow: hidden; }
.scope-rich-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.scope-rich-card:hover img { transform: scale(1.035); }
.scope-rich-card > div { padding: 32px; display: flex; flex-direction: column; }
.scope-rich-card > div > span { color: var(--red); font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.scope-rich-card h3 { margin: 56px 0 15px; font-size: clamp(27px,2.2vw,38px); }
.scope-rich-card p { color: #625c54; font-size: 12px; }
.scope-rich-card ul { margin: auto 0 0; padding: 17px 0 0; border-top: 1px solid var(--line); list-style: none; }
.scope-rich-card li { padding: 5px 0; font-size: 10px; }
.preferred-scope-card { background: var(--cream); }

/* SYSTEM SELECTION */
.system-selection { padding: 110px 0; background: var(--ink); color: white; }
.system-selection-heading { display: grid; grid-template-columns: 1.05fr .6fr; gap: 80px; align-items: end; margin-bottom: 55px; }
.system-selection-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -35px; }
.system-selection-heading h2 { max-width: 910px; }
.system-selection-heading > p:not(.eyebrow) { margin-bottom: 12px; color: rgba(255,255,255,.65); }
.system-selection-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }
.system-choice { background: #1a1a1a; overflow: hidden; }
.system-choice > img { width: 100%; height: 330px; object-fit: cover; transition: transform .8s var(--ease); }
.system-choice:hover > img { transform: scale(1.04); }
.system-choice > div { min-height: 480px; padding: 31px; display: flex; flex-direction: column; }
.system-choice span { color: var(--cream); font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.system-choice h3 { margin: 55px 0 18px; font-size: clamp(29px,2.4vw,42px); }
.system-choice p { color: rgba(255,255,255,.65); font-size: 12px; }
.system-choice ul { margin: 20px 0 28px; padding: 17px 0 0; border-top: 1px solid rgba(255,255,255,.16); list-style: none; }
.system-choice li { padding: 5px 0; color: rgba(255,255,255,.74); font-size: 10px; }
.system-choice a { margin-top: auto; display: flex; justify-content: space-between; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.2); font-size: 11px; font-weight: 700; }
.system-choice a:hover { color: var(--cream); }
.system-choice i { font-style: normal; }

/* PRODUCTION ENGINEERING */
.production-engineering { background: var(--soft); }
.production-engineering-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; }
.engineering-gallery { display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: 380px 310px; gap: 13px; }
.engineering-gallery figure { position: relative; margin: 0; overflow: hidden; }
.engineering-gallery .engineering-main { grid-row: 1 / 3; }
.engineering-gallery img { width: 100%; height: 100%; object-fit: cover; }
.engineering-gallery figcaption { position: absolute; left: 13px; bottom: 13px; padding: 7px 9px; background: rgba(17,17,17,.82); color: white; font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.engineering-copy h2 { font-size: clamp(44px,4.4vw,72px); }
.engineering-copy > p { color: #5c564e; }
.engineering-copy .lead-copy { color: var(--ink); font-size: 18px; line-height: 1.55; }
.engineering-steps { margin: 32px 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.engineering-steps li { display: grid; grid-template-columns: 43px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); }
.engineering-steps li > span { color: var(--red); font-size: 9px; font-weight: 700; }
.engineering-steps strong { font-size: 13px; }
.engineering-steps p { margin: 5px 0 0; color: #6b655c; font-size: 11px; }
.accepted-files { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.accepted-files strong { margin-right: 7px; font-size: 10px; text-transform: uppercase; }
.accepted-files span { padding: 7px 9px; border: 1px solid var(--line); background: white; font-size: 9px; font-weight: 700; }

/* PROCESS */
.detailed-process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; margin-top: 55px; background: var(--line); border: 1px solid var(--line); }
.detailed-process-grid article { min-height: 340px; padding: 28px; background: white; display: flex; flex-direction: column; transition: background .3s,color .3s; }
.detailed-process-grid article:hover { background: var(--ink); color: white; }
.detailed-process-grid article > span { color: var(--red); font-size: 10px; font-weight: 700; }
.detailed-process-grid h3 { margin: 78px 0 18px; font-size: clamp(25px,2vw,34px); }
.detailed-process-grid p { color: #625c54; font-size: 11px; }
.detailed-process-grid article:hover p { color: rgba(255,255,255,.67); }
.detailed-process-grid small { margin-top: auto; padding-top: 17px; border-top: 1px solid var(--line); color: #766f65; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.detailed-process-grid article:hover small { border-color: rgba(255,255,255,.2); color: var(--cream); }

/* PROGRAMME PLANNING */
.programme-planning { background: var(--red); color: white; }
.programme-planning-grid { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 780px; }
.programme-image { overflow: hidden; }
.programme-image img { width: 100%; height: 100%; object-fit: cover; }
.programme-copy { padding: 95px clamp(45px,6vw,105px); display: flex; flex-direction: column; justify-content: center; }
.programme-copy h2 { font-size: clamp(44px,4.4vw,72px); }
.programme-copy > p:not(.eyebrow) { color: rgba(255,255,255,.72); }
.programme-points { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 38px; background: rgba(255,255,255,.27); border: 1px solid rgba(255,255,255,.27); }
.programme-points article { min-height: 115px; padding: 21px; background: var(--red); }
.programme-points strong,
.programme-points span { display: block; }
.programme-points strong { margin-bottom: 7px; font-size: 12px; }
.programme-points span { color: rgba(255,255,255,.66); font-size: 10px; }

/* MARKET */
.market-adaptation { background: var(--soft); }
.market-adaptation-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 75px; align-items: center; }
.market-copy h2 { font-size: clamp(44px,4.5vw,74px); }
.market-copy > p:not(.eyebrow) { color: #5f5951; }
.market-country-grid { margin-top: 30px; border-top: 1px solid var(--line); }
.market-country-grid article { display: grid; grid-template-columns: 53px 1fr; padding: 17px 0; border-bottom: 1px solid var(--line); }
.market-country-grid article > span { color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.market-country-grid strong { font-size: 13px; }
.market-country-grid p { margin: 4px 0 0; color: #69635b; font-size: 10px; }
.market-image { position: relative; height: 760px; margin: 0; overflow: hidden; }
.market-image img { width: 100%; height: 100%; object-fit: cover; }
.market-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(0,0,0,.78),transparent 58%); }
.market-image figcaption { position: absolute; z-index: 2; left: 30px; right: 30px; bottom: 28px; color: rgba(255,255,255,.75); font-size: 12px; }
.market-image figcaption strong { display: block; color: white; font-size: 17px; }

/* RESPONSIBILITY MATRIX */
.responsibility-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin-top: 55px; background: var(--line); border: 1px solid var(--line); }
.responsibility-grid article { min-height: 570px; padding: 37px; background: white; display: flex; flex-direction: column; }
.responsibility-grid article > span { color: var(--red); font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.responsibility-grid h3 { margin: 90px 0 28px; font-size: clamp(31px,2.7vw,46px); }
.responsibility-grid ul { margin: auto 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); list-style: none; }
.responsibility-grid li { padding: 7px 0; color: #5e5850; font-size: 11px; }
.responsibility-primary { background: var(--red)!important; color: white; }
.responsibility-primary > span { color: var(--cream)!important; }
.responsibility-primary ul { border-color: rgba(255,255,255,.25); }
.responsibility-primary li { color: rgba(255,255,255,.76); }

/* LOGISTICS */
.logistics-section { padding: 110px 0; background: var(--ink); color: white; }
.logistics-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 85px; align-items: center; }
.logistics-copy h2 { font-size: clamp(43px,4.4vw,72px); }
.logistics-copy > p:not(.eyebrow) { color: rgba(255,255,255,.66); }
.logistics-list { margin-top: 35px; border-top: 1px solid rgba(255,255,255,.18); }
.logistics-list > div { display: grid; grid-template-columns: 45px 1fr; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.logistics-list span { color: var(--cream); font-size: 9px; font-weight: 700; }
.logistics-list p { margin: 0; color: rgba(255,255,255,.68); font-size: 11px; }
.logistics-list strong { color: white; }
.logistics-gallery { display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: 350px 350px; gap: 12px; }
.logistics-gallery figure { margin: 0; overflow: hidden; }
.logistics-gallery .logistics-main { grid-row: 1 / 3; }
.logistics-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.logistics-gallery figure:hover img { transform: scale(1.035); }

/* CASE STUDIES */
.case-study-spotlight { background: white; }
.case-study-top { display: grid; grid-template-columns: 1fr .55fr; gap: 70px; align-items: end; margin-bottom: 50px; }
.case-study-top h2 { max-width: 900px; }
.case-study-top > p { margin-bottom: 12px; color: #655f57; }
.case-study-feature { display: grid; grid-template-columns: 1.25fr .75fr; min-height: 690px; background: var(--cream); }
.case-study-feature figure { margin: 0; overflow: hidden; }
.case-study-feature img { width: 100%; height: 100%; object-fit: cover; }
.case-study-feature-copy { padding: 55px; display: flex; flex-direction: column; }
.case-study-feature-copy > span,
.case-study-secondary span { color: var(--red); font-size: 9px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.case-study-feature-copy h3 { margin: 110px 0 20px; font-size: clamp(50px,5vw,82px); }
.case-study-feature-copy > p { color: #5e5850; }
.case-study-feature-copy dl { margin: auto 0 30px; border-top: 1px solid rgba(17,17,17,.2); }
.case-study-feature-copy dl > div { padding: 14px 0; border-bottom: 1px solid rgba(17,17,17,.2); }
.case-study-feature-copy dt { margin-bottom: 3px; color: #756e65; font-size: 8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.case-study-feature-copy dd { margin: 0; font-size: 11px; }
.case-study-secondary { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; margin-top: 15px; }
.case-study-secondary article { border: 1px solid var(--line); overflow: hidden; }
.case-study-secondary img { width: 100%; height: 290px; object-fit: cover; transition: transform .7s var(--ease); }
.case-study-secondary article:hover img { transform: scale(1.035); }
.case-study-secondary article > div { min-height: 310px; padding: 27px; display: flex; flex-direction: column; }
.case-study-secondary h3 { margin: 48px 0 13px; font-size: clamp(30px,2.4vw,42px); }
.case-study-secondary p { color: #625c54; font-size: 11px; }
.case-study-secondary a { margin-top: auto; padding-top: 15px; border-top: 1px solid var(--line); font-size: 10px; font-weight: 700; }
.case-study-secondary a:hover { color: var(--red); }

/* GALLERY */
.residential-gallery { padding: 105px 0 0; background: var(--ink); color: white; }
.gallery-heading { display: grid; grid-template-columns: .6fr 1.4fr; gap: 50px; align-items: start; margin-bottom: 45px; }
.gallery-heading h2 { max-width: 950px; }
.gallery-mosaic { display: grid; grid-template-columns: repeat(4,1fr); grid-auto-rows: 330px; gap: 4px; }
.gallery-mosaic figure { position: relative; margin: 0; overflow: hidden; }
.gallery-mosaic .gallery-wide { grid-column: span 2; }
.gallery-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery-mosaic figure:hover img { transform: scale(1.045); }
.gallery-mosaic figcaption { position: absolute; left: 14px; bottom: 14px; padding: 7px 9px; background: rgba(17,17,17,.8); color: white; font-size: 8px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }

/* FACTORY CONFIDENCE */
.factory-confidence { background: var(--soft); }
.factory-confidence-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 75px; align-items: center; }
.factory-confidence-copy h2 { font-size: clamp(44px,4.5vw,74px); }
.factory-confidence-copy > p:not(.eyebrow) { color: #5f5951; }
.confidence-stats { display: grid; grid-template-columns: 1fr 1fr; margin: 35px 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.confidence-stats article { min-height: 145px; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.confidence-stats article:last-child:nth-child(odd) { grid-column: 1 / -1; }
.confidence-stats strong,
.confidence-stats span { display: block; }
.confidence-stats strong { margin-bottom: 30px; font-size: 20px; font-weight: 500; }
.confidence-stats span { color: #6b655c; font-size: 9px; text-transform: uppercase; }
.factory-confidence-images { display: grid; grid-template-columns: 1.25fr .75fr; grid-template-rows: 330px 330px; gap: 12px; }
.factory-confidence-images figure { margin: 0; overflow: hidden; }
.factory-confidence-images .factory-large { grid-row: 1 / 3; }
.factory-confidence-images img { width: 100%; height: 100%; object-fit: cover; }

/* FAQ */
.development-faq .faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 85px; }
.development-faq .faq-title { position: sticky; top: 125px; align-self: start; }
.development-faq .faq-title h2 { font-size: clamp(42px,4.3vw,69px); }
.development-faq .faq-title > p:last-child { color: #655f57; }
.development-faq .faq-list details { border-top: 1px solid var(--line); }
.development-faq .faq-list details:last-child { border-bottom: 1px solid var(--line); }
.development-faq .faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 23px 0; cursor: pointer; list-style: none; font-size: 16px; font-weight: 700; }
.development-faq .faq-list summary::-webkit-details-marker { display: none; }
.development-faq .faq-list summary span { font-size: 24px; font-weight: 400; transition: transform .3s; }
.development-faq .faq-list details[open] summary span { transform: rotate(45deg); }
.development-faq .faq-list details p { max-width: 800px; padding: 0 50px 23px 0; color: #655f56; font-size: 12px; }

/* CTA */
.development-contact { background: var(--red); color: white; }
.development-contact-grid { display: grid; grid-template-columns: 1.17fr .83fr; gap: 80px; align-items: center; }
.development-contact-copy h2 { max-width: 900px; }
.development-contact-copy > p:not(.eyebrow) { max-width: 730px; color: rgba(255,255,255,.72); }
.development-contact-checks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.development-contact-checks span { padding: 10px 12px; border: 1px solid rgba(255,255,255,.35); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.development-contact-card { padding: 40px; background: var(--ink); }
.development-contact-card > span { color: var(--cream); font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.development-contact-card h3 { margin: 72px 0 20px; font-size: clamp(33px,3vw,50px); }
.development-contact-card p { color: rgba(255,255,255,.65); }
.development-contact-card > div:last-child { display: flex; flex-direction: column; gap: 5px; margin-top: 25px; font-size: 12px; }

@media (max-width: 1250px) {
  .solution-hero-grid { grid-template-columns: 1fr 305px; gap: 43px; }
  .framework-grid { grid-template-columns: 1fr 1fr; }
  .scope-rich-card { grid-template-columns: .78fr 1.22fr; }
  .detailed-process-grid { grid-template-columns: repeat(2,1fr); }
  .market-adaptation-grid { gap: 48px; }
}

@media (max-width: 1020px) {
  .solution-hero-grid { grid-template-columns: 1fr; align-content: end; }
  .solution-hero-panel,
  .solution-hero-bottom { display: none; }
  .development-proofgrid { grid-template-columns: 1fr 1fr; }
  .development-proofgrid article:nth-child(2) { border-right: 0; }
  .development-proofgrid article:nth-child(-n+2) { border-bottom: 1px solid rgba(17,17,17,.18); }
  .development-intro-grid,
  .fit-band-grid,
  .production-engineering-grid,
  .market-adaptation-grid,
  .logistics-grid,
  .factory-confidence-grid,
  .development-faq .faq-layout,
  .development-contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .development-intro-copy { padding-top: 0; }
  .intro-image-stack { height: 530px; }
  .fit-columns article { min-height: 410px; }
  .scope-rich-grid { grid-template-columns: 1fr; }
  .system-selection-heading { grid-template-columns: 1fr; gap: 20px; }
  .system-selection-heading .eyebrow { grid-column: auto; margin-bottom: 0; }
  .system-selection-grid { grid-template-columns: 1fr; }
  .system-choice { display: grid; grid-template-columns: .95fr 1.05fr; }
  .system-choice > img { height: 100%; min-height: 480px; }
  .system-choice > div { min-height: 480px; }
  .programme-planning-grid { grid-template-columns: 1fr; }
  .programme-image { min-height: 520px; }
  .responsibility-grid { grid-template-columns: 1fr; }
  .responsibility-grid article { min-height: 470px; }
  .case-study-feature { grid-template-columns: 1fr; }
  .case-study-feature figure { height: 580px; }
  .case-study-feature-copy { min-height: 590px; }
  .case-study-secondary { grid-template-columns: 1fr 1fr; }
  .gallery-mosaic { grid-template-columns: 1fr 1fr; }
  .gallery-mosaic .gallery-wide { grid-column: span 2; }
  .development-faq .faq-title { position: static; }
}

@media (max-width: 720px) {
  .residential-page .compact-section { padding-top: 76px; padding-bottom: 76px; }
  .solution-hero { min-height: 100svh; }
  .solution-hero-media { background-position: 68% center; }
  .solution-hero-overlay { background: linear-gradient(90deg,rgba(0,0,0,.92),rgba(0,0,0,.43)),linear-gradient(0deg,rgba(0,0,0,.75),transparent 50%); }
  .solution-hero-grid { min-height: 100svh; padding-top: calc(var(--header-h) + 62px); padding-bottom: 65px; }
  .solution-hero-copy h1 { font-size: clamp(47px,14vw,70px); }
  .solution-hero-intro { font-size: 15px; }
  .page-breadcrumb { margin-bottom: 22px; }
  .hero-actions { display: grid; }
  .development-proofgrid { grid-template-columns: 1fr; }
  .development-proofgrid article { min-height: 116px; padding: 22px 0; border-right: 0; border-bottom: 1px solid rgba(17,17,17,.18); }
  .development-proofgrid article:last-child { border-bottom: 0; }
  .intro-image-stack { height: 430px; margin-top: 42px; }
  .intro-image-large { inset: 0 0 15% 0; }
  .intro-image-small { width: 55%; height: 37%; }
  .fit-band { padding: 78px 0; }
  .fit-columns { grid-template-columns: 1fr; }
  .fit-columns article { min-height: auto; }
  .fit-columns ul { margin-top: 48px; }
  .framework-grid { grid-template-columns: 1fr; }
  .framework-card { min-height: 440px; padding: 27px; }
  .framework-card-image { min-height: 540px; padding: 0; }
  .framework-panorama { height: 480px; }
  .package-comparison { overflow-x: auto; }
  .package-labels,
  .package-row { min-width: 770px; }
  .scope-rich-card { grid-template-columns: 1fr; }
  .scope-rich-card figure { height: 320px; }
  .scope-rich-card > div { min-height: 390px; padding: 27px; }
  .system-selection { padding: 78px 0; }
  .system-choice { display: block; }
  .system-choice > img { height: 310px; min-height: 0; }
  .system-choice > div { min-height: 450px; padding: 27px; }
  .engineering-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 400px 220px; }
  .engineering-gallery .engineering-main { grid-column: 1 / 3; grid-row: auto; }
  .detailed-process-grid { grid-template-columns: 1fr; }
  .detailed-process-grid article { min-height: 310px; }
  .programme-image { min-height: 410px; }
  .programme-copy { padding: 75px 24px; }
  .programme-points { grid-template-columns: 1fr; }
  .market-image { height: 520px; }
  .responsibility-grid article { min-height: 460px; padding: 30px; }
  .logistics-section { padding: 78px 0; }
  .logistics-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 400px 220px; }
  .logistics-gallery .logistics-main { grid-column: 1 / 3; grid-row: auto; }
  .case-study-top { grid-template-columns: 1fr; gap: 15px; }
  .case-study-feature figure { height: 430px; }
  .case-study-feature-copy { min-height: 540px; padding: 30px; }
  .case-study-feature-copy h3 { margin-top: 70px; }
  .case-study-secondary { grid-template-columns: 1fr; }
  .case-study-secondary img { height: 300px; }
  .gallery-heading { grid-template-columns: 1fr; gap: 10px; }
  .gallery-mosaic { grid-template-columns: 1fr; grid-auto-rows: 320px; }
  .gallery-mosaic .gallery-wide { grid-column: auto; }
  .factory-confidence-images { grid-template-columns: 1fr 1fr; grid-template-rows: 380px 220px; }
  .factory-confidence-images .factory-large { grid-column: 1 / 3; grid-row: auto; }
  .confidence-stats { grid-template-columns: 1fr; }
  .development-contact-card { padding: 30px; }
}
