/* Reference-led proportions. Original DM House colors and section order stay intact. */
#dm-redesign{--dm-line:rgba(2,30,76,.15);--dm-muted:rgba(42,46,52,.76)}
#dm-redesign .dm-container,#dm-redesign .dm-hero-content{max-width:1440px;padding-left:64px;padding-right:64px}
#dm-redesign .dm-section{padding:100px 0}
#dm-redesign .dm-section h2{font-size:clamp(38px,4vw,56px);letter-spacing:-.045em;line-height:1.08;font-weight:500}
#dm-redesign .dm-section-heading{align-items:start;margin-bottom:40px}
#dm-redesign .dm-kicker{color:var(--dm-orange);font-size:12px;font-weight:500;letter-spacing:.035em}
#dm-redesign .dm-header{height:76px;border-radius:22px;box-shadow:none;max-width:1312px;width:calc(100% - 128px);padding:0 24px}
#dm-redesign .dm-header .dm-brand{font-size:24px}
#dm-redesign .dm-header .dm-nav{gap:20px;font-size:13px}
#dm-redesign .dm-hero{min-height:780px;height:100svh;max-height:1080px}
#dm-redesign .dm-hero-content{padding-top:180px;padding-bottom:85px}
#dm-redesign .dm-hero h1{font-size:clamp(56px,5.2vw,76px)!important;line-height:1.07!important;letter-spacing:-.05em!important;max-width:820px;font-weight:500}
#dm-redesign .dm-title-mark{display:table;font-size:.86em;margin:12px 0 0;padding:6px 13px 10px;border-radius:7px;background:#e36718}
#dm-redesign .dm-hero-description{max-width:570px;font-size:16px;line-height:1.6}
#dm-redesign .dm-hero-price{font-size:30px;margin-top:24px!important}
#dm-redesign .dm-hero-shade{background:linear-gradient(90deg,rgba(2,30,76,.82),rgba(2,30,76,.38) 48%,rgba(2,30,76,.03) 85%),linear-gradient(0deg,rgba(2,30,76,.48),transparent 55%)}
#dm-redesign .dm-seasonal{padding-top:96px}
#dm-redesign .dm-seasonal-panel{min-height:350px}
#dm-redesign .dm-seasonal-copy{padding:40px 0 40px 40px;width:60%}
#dm-redesign #dm-seasonal-title{font-size:38px}
#dm-redesign #dm-seasonal-title>span{font-size:28px}
#dm-redesign .dm-advantages .dm-section-heading>div:first-child{max-width:820px}
#dm-redesign .dm-advantages .dm-heading-side{max-width:620px}

/* A large house with selectable construction details, as in the reference. */
.dm-tech-explorer{margin-bottom:24px}
.dm-tech-stage{position:relative;overflow:hidden;border-radius:24px;border:1px solid var(--dm-line);background:white;aspect-ratio:2.15}
#dm-redesign .dm-tech-stage>img{position:absolute;width:100%;height:auto;top:50%;transform:translateY(-50%)}
#dm-redesign .dm-tech-point{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);width:48px;height:48px;padding:0;border-radius:50%;background:white;color:var(--dm-ink);border:1px solid #ffffff80;box-shadow:0 4px 18px #021e4c29;font-size:17px;font-weight:600;transition:background .18s,box-shadow .18s}
#dm-redesign .dm-tech-point:hover{box-shadow:0 0 0 5px #ffffff40,0 4px 18px #021e4c29}
#dm-redesign .dm-tech-point[aria-pressed=true]{background:var(--dm-orange);color:white}
.dm-visual-label{position:absolute;bottom:20px;left:24px;font-size:12px;color:var(--dm-muted)}
.dm-tech-caption{display:flex;align-items:start;justify-content:space-between;gap:48px;padding:25px 0 8px}
#dm-redesign .dm-tech-caption>p{font-size:14px;color:var(--dm-muted);max-width:230px}
#dm-tech-detail{display:flex;gap:22px;max-width:740px;min-height:90px;flex:1}
.dm-tech-number{font-size:14px;color:var(--dm-orange);padding-top:5px}
#dm-redesign #dm-tech-detail h3{font-size:24px;line-height:1.3;font-weight:500;letter-spacing:-.025em}
#dm-redesign #dm-tech-detail p{font-size:16px;line-height:1.6;color:var(--dm-muted);margin-top:8px}
#dm-redesign .dm-advantage-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#dm-redesign .dm-advantage-grid button.dm-feature{border:1px solid var(--dm-line);border-radius:14px;padding:24px;text-align:left;background:white;min-height:168px;grid-template-columns:28px minmax(0,1fr);gap:12px 16px;transition:border-color .18s,box-shadow .18s}
#dm-redesign .dm-advantage-grid button.dm-feature[aria-pressed=true]{border-color:var(--dm-orange);box-shadow:inset 0 -3px var(--dm-orange)}
#dm-redesign .dm-advantage-grid button.dm-feature:hover{border-color:var(--dm-orange)}
#dm-redesign .dm-advantage-grid .dm-feature-icon{width:28px;height:28px}
#dm-redesign .dm-advantage-grid .dm-feature h3{font-size:19px;line-height:1.3;letter-spacing:-.025em;font-weight:500}
#dm-redesign .dm-advantage-grid .dm-feature p{font-size:16px!important}

/* The model selector is a photographic catalog, keeping the full project below. */
#dm-redesign .dm-model-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-bottom:40px}
#dm-redesign .dm-model-tabs>button{display:grid;grid-template-columns:1fr auto;gap:5px 12px;padding:0 0 17px;overflow:hidden;border:1px solid var(--dm-line);border-radius:16px;background:white;color:var(--dm-ink);font-size:18px;text-align:left;transition:border-color .18s}
#dm-redesign .dm-model-tabs>button[aria-selected=true]{border-color:var(--dm-orange);box-shadow:inset 0 -3px var(--dm-orange);background:white;color:var(--dm-ink)}
#dm-redesign .dm-model-tabs>button>img{grid-column:1/-1;width:100%;height:auto;aspect-ratio:1.5;object-fit:cover;margin-bottom:9px}
#dm-redesign .dm-model-tabs .dm-model-card-name{font-size:18px;color:var(--dm-ink);margin:0 0 0 16px;font-weight:600}
#dm-redesign .dm-model-tabs .dm-model-card-area{font-size:13px;color:var(--dm-muted);margin:3px 16px 0 0}
#dm-redesign .dm-model-tabs .dm-model-card-price{grid-column:1/-1;margin-left:16px;font-size:15px;font-weight:500}
#dm-redesign .dm-model-tabs>button:hover{border-color:var(--dm-orange)}
#dm-redesign .dm-project-panel{padding:32px;border:1px solid var(--dm-line);border-radius:24px;gap:40px}
#dm-redesign .dm-project-copy h3,#dm-redesign .dm-case-copy h3{font-size:30px;line-height:1.2}
#dm-redesign .dm-project-panel .dm-detail-main{aspect-ratio:1.35}
#dm-redesign .dm-project-price{font-size:36px}
#dm-redesign .dm-project-description{max-width:60ch}
#dm-redesign .dm-inline-specs strong{font-size:20px}
#dm-redesign .dm-project-benefits{font-size:13px}
#dm-redesign .dm-production-with-video{grid-template-columns:1fr 1.3fr;gap:64px}
#dm-redesign .dm-production-intro .dm-kicker{font-size:15px;letter-spacing:0}
#dm-redesign .dm-production-intro h2{font-size:44px;line-height:1.14;max-width:520px}
#dm-redesign .dm-production-gallery{gap:20px;margin-top:48px}
#dm-redesign .dm-production-gallery img{height:300px;border-radius:16px}
#dm-redesign .dm-production-gallery figcaption{font-size:15px}
#dm-redesign .dm-contract-features .dm-feature h3,#dm-redesign .dm-included-features .dm-feature h3{font-size:22px;letter-spacing:-.025em}
#dm-redesign .dm-contract-features .dm-feature p,#dm-redesign .dm-included-features .dm-feature p{font-size:16px!important}
#dm-redesign .dm-faq-grid{display:grid;grid-template-columns:.9fr 1.3fr;gap:80px}
#dm-redesign .dm-faq-grid>div:first-child{max-width:480px;margin:0}
#dm-redesign .dm-questions summary{font-size:17px;padding:25px 0}
#dm-redesign .dm-questions details>p{font-size:16px;color:var(--dm-muted)}
#dm-redesign .dm-case-tabs{grid-template-columns:repeat(5,minmax(0,1fr));margin-top:0;margin-bottom:36px;gap:16px}
#dm-redesign .dm-case-tabs>button{display:block;padding:0 0 14px;border-radius:14px;overflow:hidden}
#dm-redesign .dm-case-tabs img{width:100%;height:auto;aspect-ratio:1.3;object-fit:cover;border-radius:0;margin-bottom:12px}
#dm-redesign .dm-case-tabs span,#dm-redesign .dm-case-tabs small{display:block;padding:0 14px;font-size:16px}
#dm-redesign .dm-case-tabs small{font-size:12px;margin-top:4px}

/* Facade configurator: large visual left, round swatches in a quiet panel right. */
.dm-configurator{margin-top:110px;padding-top:80px;border-top:1px solid var(--dm-line);scroll-margin-top:30px}
.dm-config-heading{display:block;margin-bottom:42px}
#dm-redesign .dm-config-heading h3{font-size:clamp(38px,4vw,56px);letter-spacing:-.045em;line-height:1.08;font-weight:500;max-width:820px}
#dm-redesign .dm-config-heading>p{font-size:16px;line-height:1.6;color:var(--dm-muted);max-width:570px;margin-top:24px}
.dm-config-layout{display:grid;grid-template-columns:1.65fr 1fr;gap:24px;align-items:stretch}
.dm-config-preview{position:relative;display:flex;flex-direction:column;justify-content:center;min-width:0;border:1px solid var(--dm-line);border-radius:24px;overflow:hidden;background:white}
.dm-config-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px 24px 0;font-size:13px;color:var(--dm-muted)}
#dm-redesign .dm-config-toolbar button{display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 12px;border:1px solid var(--dm-line);border-radius:30px;font-size:12px;color:var(--dm-ink);background:white}
#dm-redesign .dm-config-toolbar svg{width:17px;height:17px}
#dm-redesign .dm-house-color-view{display:block;width:100%;height:auto;flex:1;min-height:0}
.dm-config-caption{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:0 24px 16px;font-size:12px;color:var(--dm-muted)}
#dm-redesign .dm-config-caption button{font-size:13px;min-height:44px;text-decoration:underline;text-underline-offset:4px}
.dm-config-controls{padding:28px;border:1px solid var(--dm-line);border-radius:24px;min-width:0}
.dm-config-controls fieldset{padding:0;border:0;margin:0 0 26px;min-width:0}
.dm-config-controls legend{display:flex;justify-content:space-between;gap:12px;width:100%;font-size:14px;color:var(--dm-muted);margin-bottom:15px}
.dm-config-controls legend strong{font-weight:500;color:var(--dm-ink)}
.dm-swatches{display:grid;grid-template-columns:repeat(6,44px);gap:12px}
#dm-redesign .dm-swatch{display:grid;place-items:center;width:44px;height:44px;padding:0;border-radius:50%;background:var(--swatch);border:1px solid #021e4c26;transition:box-shadow .18s}
#dm-redesign .dm-swatch[aria-pressed=true]{box-shadow:0 0 0 3px #fff,0 0 0 5px var(--dm-ink)}
#dm-redesign .dm-swatch svg{visibility:hidden;width:20px;height:20px}
#dm-redesign .dm-swatch[aria-pressed=true] svg{visibility:visible}
#dm-redesign .dm-swatch:hover{outline:1px solid var(--dm-ink);outline-offset:4px}
#dm-redesign .dm-swatch:focus-visible{outline:3px solid var(--dm-orange);outline-offset:7px}
.dm-preset-group>p{color:var(--dm-muted);font-size:14px;margin-bottom:12px!important}
.dm-color-presets{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#dm-redesign .dm-color-presets>button{display:flex;align-items:center;gap:8px;min-height:44px;text-align:left;font-size:12px;padding:6px 8px;border:1px solid var(--dm-line);border-radius:9px}
#dm-redesign .dm-color-presets>button[aria-pressed=true]{border-color:var(--dm-orange)}
.dm-color-presets>button>span{display:block;width:22px;height:22px;border-radius:50%;flex-shrink:0;border:1px solid #021e4c26}
#dm-redesign .dm-config-note{font-size:13px;color:var(--dm-muted);line-height:1.6;margin:24px 0 20px}
#dm-redesign [data-config-enquiry]{width:100%;font-size:14px;gap:12px}
#dm-redesign button{scroll-margin-block:100px}
@media(min-width:1441px){#dm-redesign .dm-hero h1{max-width:870px}}
@media(max-width:1200px){
 #dm-redesign .dm-container,#dm-redesign .dm-hero-content{padding-left:40px;padding-right:40px}
 #dm-redesign .dm-header{width:calc(100% - 80px);gap:18px}
 #dm-redesign .dm-header .dm-nav{gap:14px;font-size:12px}
 .dm-config-layout{grid-template-columns:1.3fr 1fr}
 .dm-config-controls{padding:24px}.dm-swatches{grid-template-columns:repeat(5,44px)}
 #dm-redesign .dm-model-tabs{gap:14px}
 #dm-redesign .dm-project-panel{padding:24px;gap:28px}
 #dm-redesign .dm-faq-grid{gap:48px}
}
@media(max-width:900px){
 #dm-redesign .dm-hero h1{max-width:660px;font-size:64px!important}
 #dm-redesign .dm-header{width:calc(100% - 48px)}
 #dm-redesign .dm-advantage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #dm-redesign .dm-model-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}
 .dm-config-layout{grid-template-columns:1fr}.dm-swatches{grid-template-columns:repeat(8,44px)}
 .dm-config-preview{min-height:0}.dm-config-controls{padding:28px}
 #dm-redesign .dm-house-color-view{flex:none}
 #dm-redesign .dm-faq-grid{grid-template-columns:1fr;gap:28px}
 #dm-redesign .dm-production-with-video{grid-template-columns:1fr;gap:32px}
 #dm-redesign .dm-production-intro h2{max-width:600px}
 #dm-redesign .dm-project-panel{grid-template-columns:1fr}
}
@media(max-width:640px){
 #dm-redesign .dm-container,#dm-redesign .dm-hero-content{padding-left:20px;padding-right:20px}
 #dm-redesign .dm-section{padding:64px 0}
 #dm-redesign .dm-section h2,#dm-redesign .dm-config-heading h3{font-size:36px;letter-spacing:-.045em;line-height:1.12}
 #dm-redesign .dm-header{height:64px;width:calc(100% - 24px);padding:0 12px;top:12px;border-radius:18px}
 #dm-redesign .dm-header .dm-brand{font-size:23px}
 #dm-redesign .dm-hero{height:auto;min-height:0;max-height:none;padding-top:320px}
 #dm-redesign .dm-hero-photo{height:320px!important;object-position:64% 45%;border-radius:0 0 32px 32px}
 #dm-redesign .dm-hero-content{padding-top:28px;padding-bottom:32px}
 #dm-redesign .dm-hero h1{font-size:42px!important;letter-spacing:-.05em!important;line-height:1.08!important;max-width:100%}
 #dm-redesign .dm-title-mark{display:block;font-size:.82em;max-width:fit-content;padding:6px 8px 8px;margin-top:10px}
 #dm-redesign .dm-hero-description{font-size:16px;line-height:1.6}
 #dm-redesign .dm-hero-price{font-size:28px}
 #dm-redesign .dm-seasonal{padding-top:32px}
 #dm-redesign .dm-seasonal-copy{width:100%;padding:28px 24px 0}
 #dm-redesign #dm-seasonal-title{font-size:32px}
 #dm-redesign #dm-seasonal-title>span{font-size:24px}
 #dm-redesign .dm-model-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:28px}
 #dm-redesign .dm-model-tabs>button{grid-template-columns:1fr;gap:3px;border-radius:12px;padding-bottom:14px}
 #dm-redesign .dm-model-tabs .dm-model-card-name{font-size:17px;margin-left:12px}
 #dm-redesign .dm-model-tabs .dm-model-card-area{margin:0 12px;font-size:12px}
 #dm-redesign .dm-model-tabs .dm-model-card-price{margin-left:12px;font-size:13px}
 #dm-redesign .dm-project-panel{padding:0;border:0;border-radius:0;gap:28px}
 #dm-redesign .dm-project-copy h3,#dm-redesign .dm-case-copy h3{font-size:28px}
 #dm-redesign .dm-production-intro h2{font-size:32px;line-height:1.15}
 #dm-redesign .dm-production-gallery{gap:24px 14px;margin-top:32px}
 #dm-redesign .dm-production-gallery img{height:220px;border-radius:12px}
 #dm-redesign .dm-production-gallery figcaption{font-size:14px}
 #dm-redesign .dm-contract-features,#dm-redesign .dm-included-features{grid-template-columns:1fr}
 #dm-redesign .dm-contract-features .dm-feature h3,#dm-redesign .dm-included-features .dm-feature h3{font-size:22px}
 .dm-tech-stage{aspect-ratio:1.3;border-radius:18px}
 #dm-redesign .dm-tech-stage>img{width:140%;max-width:none;left:-20%}
 #dm-redesign .dm-tech-point{width:44px;height:44px;font-size:15px;left:var(--mx);top:var(--my)}
 .dm-visual-label{left:14px;bottom:12px;font-size:10px}
 .dm-tech-caption{display:block;padding-top:20px}
 #dm-redesign .dm-tech-caption>p{max-width:none;font-size:13px;margin-bottom:18px}
 #dm-tech-detail{min-height:145px;gap:12px}
 #dm-redesign #dm-tech-detail h3{font-size:22px}
 #dm-redesign .dm-advantage-grid{grid-template-columns:1fr;gap:10px}
 #dm-redesign .dm-advantage-grid button.dm-feature{min-height:0;padding:20px}
 .dm-configurator{margin-top:64px;padding-top:56px}
 .dm-config-heading{margin-bottom:28px}
 .dm-config-controls{padding:24px 20px;border-radius:18px}
 .dm-swatches{grid-template-columns:repeat(5,44px);gap:14px}
 .dm-config-toolbar{padding:16px 14px 0;flex-wrap:wrap;gap:8px}
 .dm-config-toolbar>span{font-size:12px}
 #dm-redesign .dm-config-toolbar button{min-height:44px;font-size:11px;padding:8px 10px}
 .dm-config-preview{border-radius:18px}
 .dm-config-caption{padding:0 14px 10px;font-size:10px;gap:8px}
 #dm-redesign .dm-case-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 #dm-redesign .dm-case-tabs>button{padding-bottom:12px}
 #dm-redesign .dm-case-tabs span{font-size:15px;padding:0 12px}
 #dm-redesign .dm-case-tabs small{font-size:11px;padding:0 12px}
 #dm-redesign .dm-questions summary{font-size:16px}
 #dm-redesign button{scroll-margin-bottom:120px}
}
@media(prefers-reduced-motion:reduce){#dm-redesign *{transition:none!important}}
/* Keep the two-line hero headline from breaking into an orphaned word. */
@media(min-width:901px){
 #dm-redesign .dm-hero h1{font-size:clamp(54px,4.5vw,68px)!important;max-width:980px}
 #dm-redesign .dm-title-mark{font-size:.94em}
}
@media(min-width:641px) and (max-width:900px){
 #dm-redesign .dm-hero h1{font-size:56px!important;max-width:690px;text-wrap:balance}
}
