/* DS team review 16 October 2026. Scoped to ordinary DS pages, not the entrance/admin. */
@font-face{font-family:'DS Rethink Team';src:local('Rethink Sans ExtraBold'),url('/assets/fonts/ds-source-v021/5376c8380b10fe811dc527d76d40708553fc62fb171342172a6352b655a7b8b3.woff2') format('woff2');font-style:normal;font-weight:800;font-display:swap}
@font-face{font-family:'DS Mulish Team';src:local('Mulish'),url('/assets/fonts/ds-source-v021/8d1d33d6beea5a722b8f336d79c61c07405949457e37b5e65454c72dc10aba1a.woff2') format('woff2');font-style:normal;font-weight:200 1000;font-display:swap}
body.ds-choice{--font:'DS Mulish Team','DS Mulish Original',Mulish,Arial,sans-serif;--ds-heading-font:'DS Rethink Team','DS Rethink Original','Rethink Sans',Mulish,Arial,sans-serif;font-family:'DS Mulish Team','DS Mulish Original',Mulish,Arial,sans-serif}
body.ds-choice.editorial-v200.repair-v202 :is(main,.site-footer) :is(h1,h2,h3,h4,h5,h6,.dsgen-hero-title){font-family:'DS Rethink Team','DS Rethink Original','Rethink Sans',Mulish,Arial,sans-serif!important;font-weight:800!important;text-transform:none!important;letter-spacing:-.015em}
body.ds-choice :is(button,input,select,textarea){font-family:inherit}
body.ds-choice main :is(.button,.ds202-submit){box-sizing:border-box;min-height:46px;padding:14px 24px;gap:20px;line-height:1.4;white-space:normal;max-width:100%}
body.ds-choice main .button svg{flex:0 0 22px;width:22px;height:22px}
body.ds-choice main :is(p,ul,ol,.section-heading,.dsgen-rich)+.button{margin-top:22px}
body.ds-choice main :is(.contact-buttons,.af-intro-action){margin-top:24px;gap:16px}
body.ds-choice main .button--text{padding-left:14px;padding-right:14px;text-align:left}
body.ds-choice main :is(.hy-card,.ds-info-card,.editorial-highlight){box-sizing:border-box;padding:28px;min-width:0}
body.ds-choice main .hy-card>:last-child{margin-bottom:0}
body.ds-choice main .product-tile__text{padding:22px 10px 10px;min-width:0}
body.ds-choice main .product-tile__text p{margin-bottom:16px}
body.ds-choice main .product-tile__media{aspect-ratio:4/3!important;height:auto!important;min-height:0!important;overflow:hidden}
body.ds-choice main .product-tile__media img{display:block;width:100%;height:100%;object-fit:cover}
body.ds-choice main .af-product-link{display:inline-flex;align-items:center;gap:14px;font-weight:600;line-height:1.4;padding:7px 0;margin-top:4px}
body.ds-choice main .af-product-link svg{width:22px;height:22px;flex-shrink:0}
body.ds-choice main .af-product-function{font-weight:700;margin:10px 0 16px;line-height:1.4;color:inherit}
body.ds-choice .hero .af-product-function{color:white!important;font-size:clamp(16px,1.4vw,21px)}
.af-intro-mobile,.af-mobile-products{display:none}
.af-intro-action .button{margin:0}
body.ds-choice .hy-intro-media{min-width:0}
body.ds-choice .hy-code-card{padding:0!important;border:0!important;background:none!important;display:block;min-width:0;align-self:center}
body.ds-choice .hy-code-card img{display:block;width:100%;height:auto!important;aspect-ratio:auto!important;object-fit:contain!important}
/* The top header remains as approved. The scrolled state now uses matte glass. */
body.ds-choice.team-update-v105 .site-header.is-scrolled{background:rgba(31,37,35,.94)!important;color:#fff!important;border-bottom:1px solid rgba(255,255,255,.16)!important;box-shadow:0 5px 22px rgba(0,0,0,.10)}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){body.ds-choice.team-update-v105 .site-header.is-scrolled{background:rgba(31,37,35,.84)!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}}
body.ds-choice.team-update-v105 .site-header.is-scrolled :is(.utility a,.utility span,.menu-toggle,.nav-cta){color:#fff!important}
body.ds-choice.team-update-v105 .site-header.is-scrolled .logo img{filter:brightness(0) invert(1)!important}
body.ds-choice.team-update-v105 .site-header.is-scrolled .utility{border-color:rgba(255,255,255,.18)!important}
body.ds-choice.team-update-v105 .site-header.is-scrolled .nav-cta{border-color:rgba(255,255,255,.6)!important}
/* Only plain, correctly grouped links. The former flat list is no longer rendered. */
body.ds-choice .af-menu-panel{padding:18px 22px!important;color:var(--ink,#32281f);background:var(--surface,#f6f0e5)}
body.ds-choice .af-menu-panel--groups{width:min(760px,90vw)!important;max-width:90vw}
body.ds-choice .af-menu-panel .team-menu-all{display:flex;justify-content:space-between;align-items:center;padding:10px 0 16px!important;margin:0 0 16px;border-bottom:1px solid var(--line,#d1c8b8);font-weight:700}
body.ds-choice .af-menu-panel .team-menu-all svg{width:22px;height:22px}
body.ds-choice .af-menu-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
body.ds-choice .af-menu-group{margin:0;border:0;background:none;min-width:0}
body.ds-choice .af-menu-group summary{font-size:15px;font-weight:800;line-height:1.4;list-style:none;padding:0 0 12px;cursor:default;display:flex;align-items:center;justify-content:space-between}
body.ds-choice .af-menu-group summary::-webkit-details-marker{display:none}
body.ds-choice .af-menu-chevron{display:none}
body.ds-choice .af-menu-items{display:flex;flex-direction:column;gap:0}
body.ds-choice .af-menu-panel .af-menu-items a{padding:9px 0!important;line-height:1.45;white-space:normal;border:0;display:block;font-size:14px;color:var(--ink,#32281f)!important;min-width:0}
body.ds-choice .af-menu-panel .af-menu-items a:hover,body.ds-choice .af-menu-panel .af-menu-items a:focus-visible{color:var(--ink,#32281f)!important;text-decoration:underline;text-underline-offset:4px;background:none}
body.ds-choice .af-menu-panel .af-menu-items a[aria-current=page]{font-weight:800;text-decoration:underline;text-underline-offset:4px}
/* Complete row geometry for cards; inline CSS variables are set from actual child count. */
body.ds-choice main .af-balanced:not(.af-track-mobile){display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:28px;align-items:stretch}
body.ds-choice main .af-balanced:not(.af-track-mobile)>*{grid-column:span var(--af-card-span,4)!important;min-width:0;width:auto!important;margin:0!important}
body.ds-choice main .af-balanced:not(.af-track-mobile)>.product-tile{display:flex;flex-direction:column;height:100%}
body.ds-choice main .af-balanced:not(.af-track-mobile)>.product-tile .product-tile__text{flex:1;display:flex;flex-direction:column}
body.ds-choice main .af-balanced:not(.af-track-mobile)>.product-tile .af-product-link{margin-top:auto;padding-top:14px}
/* Public product originals. Source order retained, responsive copies only for delivery. */
body.ds-choice .af-product-gallery,body.ds-choice .af-original-models,body.ds-choice .af-other-models{clear:both}
body.ds-choice .af-gallery-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:20px}
body.ds-choice .af-gallery-grid figure{grid-column:span var(--af-span,3);margin:0;min-width:0}
body.ds-choice .af-gallery-grid a{position:relative;display:block;aspect-ratio:4/3;overflow:hidden;background:var(--soft,#f0e8da)}
body.ds-choice .af-gallery-grid img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
body.ds-choice .af-gallery-grid a:hover img{transform:scale(1.025)}
body.ds-choice .af-gallery-expand{position:absolute;right:12px;bottom:12px;display:grid;place-items:center;background:rgba(22,26,24,.75);color:white;width:42px;height:42px}
body.ds-choice .af-gallery-expand svg{width:22px;height:22px}
body.ds-choice .af-model-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
body.ds-choice .af-model-grid figure{margin:0;align-self:center;min-width:0}
body.ds-choice .af-model-grid a{display:block}
body.ds-choice .af-model-grid img{display:block;width:100%;height:auto;object-fit:contain}
body.ds-choice .af-model-grid figcaption{padding:14px 0;font-size:14px}
body.ds-choice .af-model-grid:has(>figure:only-child){grid-template-columns:1fr}
body.ds-choice .af-model-grid>figure:last-child:nth-child(odd){grid-column:1/-1}
body.ds-choice .af-other-models .af-model-grid{max-width:980px}
body.ds-choice .af-carousel{display:contents}
body.ds-choice .af-controls{display:none}
body.ds-choice .af-viewport{display:contents}
@media(min-width:981px){
 body.ds-choice.team-update-v105 .site-header.is-scrolled .main-nav>:is(a,.nav-dropdown)>button,body.ds-choice.team-update-v105 .site-header.is-scrolled .main-nav>a{color:#fff!important}
 body.ds-choice .af-menu-group:not([open])>.af-menu-items{display:flex}
 body.ds-choice .af-menu-groups:has(>.af-menu-group:only-child){grid-template-columns:1fr}
 body.ds-choice .af-menu-groups:has(>.af-menu-group:nth-child(2):last-child){grid-template-columns:1fr 1fr}
 body.ds-choice .af-nav-dropdown{position:static}
 body.ds-choice .af-menu-panel{left:auto;right:3vw;top:100%;position:absolute}
}
@media(min-width:681px) and (max-width:980px){
 body.ds-choice main .section{padding-top:calc(var(--section-space,88px)*.72);padding-bottom:calc(var(--section-space,88px)*.72)}
 body.ds-choice main .af-balanced:not(.af-track-mobile)>*{--af-card-span:6!important}
 body.ds-choice main .af-balanced:not(.af-track-mobile)>:last-child:nth-child(odd){grid-column:4/span 6!important}
}
@media(max-width:980px){
 body.ds-choice .main-nav.is-open{max-height:calc(100dvh - 145px);overflow:auto;overscroll-behavior:contain;background:var(--surface,#f6f0e5)!important;color:var(--ink,#32281f)!important}
 body.ds-choice.team-update-v105 .site-header.is-scrolled .main-nav :is(a,button){color:var(--ink,#32281f)!important}
 body.ds-choice .af-menu-panel,body.ds-choice .af-menu-panel--groups{position:static!important;width:100%!important;max-width:100%;padding:8px 14px 16px!important;box-shadow:none;transform:none!important}
 body.ds-choice .af-menu-groups{display:block}
 body.ds-choice .af-menu-group{border-top:1px solid var(--line,#d1c8b8)}
 body.ds-choice .af-menu-group summary{padding:16px 2px;font-size:16px;cursor:pointer;min-height:52px}
 body.ds-choice .af-menu-chevron{display:block;line-height:0}
 body.ds-choice .af-menu-chevron svg{width:20px;height:20px;transform:rotate(90deg);transition:transform .15s}
 body.ds-choice .af-menu-group[open] .af-menu-chevron svg{transform:rotate(-90deg)}
 body.ds-choice .af-menu-panel .af-menu-items a{padding:13px 14px!important;font-size:16px;min-height:48px;border-top:1px solid rgba(105,92,78,.13)}
 body.ds-choice .af-menu-panel .team-menu-all{padding:12px 2px!important;margin-bottom:6px;font-size:15px}
}
@media(max-width:680px){
 body.ds-choice main .section{padding-top:calc(var(--section-space,88px)*.325)!important;padding-bottom:calc(var(--section-space,88px)*.325)!important}
 body.ds-choice main :is(.catalog-section,.inspiration-grid,.contact-page){padding-top:30px;padding-bottom:30px}
 body.ds-choice main .section-heading{margin-bottom:22px}
 body.ds-choice main :is(.hy-intro,.product-story,.hy-code-panel,.hy-split){gap:26px!important}
 body.ds-choice main :is(.hy-code-panel,.hy-comfort-grid){margin-top:30px!important}
 body.ds-choice main :is(.button,.ds202-submit){padding:12px 20px;min-height:46px;gap:18px}
 body.ds-choice main :is(p,ul,ol,.section-heading)+.button{margin-top:20px}
 body.ds-choice main :is(.contact-buttons,.af-intro-action){margin-top:20px}
 body.ds-choice main :is(.hy-card,.ds-info-card,.editorial-highlight){padding:23px}
 body.ds-choice .af-intro-desktop,.af-intro-photos{display:none!important}
 body.ds-choice .af-intro-mobile,.af-mobile-products{display:block}
 body.ds-choice .af-intro-mobile p{font-size:16px;line-height:1.72}
 body.ds-choice .hy-intro-media{width:100%;max-width:100%}
 body.ds-choice .af-roof-grid{display:grid;gap:28px}
 /* The roof choices are now at the first photo position, not repeated lower down. */
 body.ds-choice.page-home .hy-solutions>.hy-heading-row,body.ds-choice.page-home .hy-solutions>.section-heading,body.ds-choice.page-home .hy-solutions>.hy-product-grid,body.ds-choice.page-home .hy-solutions>.af-carousel{display:none!important}
 body.ds-choice.page-home .hy-solutions:not(:has(.hy-code-panel)){display:none!important}
 body.ds-choice.page-home .hy-solutions:has(.hy-code-panel){padding-top:0!important}
 body.ds-choice.page-home .hy-solutions .hy-code-panel{margin-top:0!important}
 body.ds-choice main .af-carousel{display:block;position:relative;min-width:0;width:100%;touch-action:pan-y;scroll-margin-top:180px}
 body.ds-choice main .af-viewport{display:block;overflow:hidden;width:100%;transition:height .25s ease}
 body.ds-choice main .af-track-mobile{display:flex!important;flex-wrap:nowrap!important;gap:0!important;grid-template-columns:none!important;width:100%;align-items:flex-start!important;transition:transform .4s ease;will-change:transform;margin:0!important}
 body.ds-choice main .af-track-mobile>*{flex:0 0 100%!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box;grid-column:auto!important;margin:0!important}
 body.ds-choice main .af-track-mobile>.product-tile{display:block;height:auto}
 body.ds-choice main .af-track-mobile .product-tile__text{padding:20px 8px 8px}
 body.ds-choice main .af-track-mobile .product-tile__text h3{font-size:26px!important;line-height:1.18;margin:7px 0 13px}
 body.ds-choice main .af-track-mobile .product-tile__text p{font-size:16px;line-height:1.65}
 body.ds-choice main .af-track-mobile .product-tile__media .circle-arrow{display:none}
 body.ds-choice main .af-track-mobile .af-product-link{margin-top:4px;padding:8px 0}
 body.ds-choice main .af-controls{display:block;position:absolute;inset:0 0 auto 0;height:var(--af-image-height,60px);pointer-events:none}
 body.ds-choice main .af-controls button{position:absolute;pointer-events:auto;border:0;background:rgba(23,29,25,.62);color:white;display:grid;place-items:center;width:44px;height:44px;padding:7px;line-height:1;cursor:pointer}
 body.ds-choice main .af-controls button svg{width:26px;height:26px}
 body.ds-choice main .af-controls .af-prev{left:7px;top:50%;transform:translateY(-50%)}
 body.ds-choice main .af-controls .af-next{right:7px;top:50%;transform:translateY(-50%)}
 body.ds-choice main .af-controls .af-play{right:7px;top:7px;width:36px;height:36px;padding:9px;min-width:44px;min-height:44px}
 body.ds-choice main .af-controls .af-play svg{width:19px;height:19px}
 body.ds-choice main .af-slide-count{position:absolute;bottom:8px;right:8px;padding:4px 9px;color:#fff;background:rgba(23,29,25,.7);font-size:12px;line-height:1.5}
 body.ds-choice main .af-carousel.af-text-carousel{padding-top:54px}
 body.ds-choice main .af-text-carousel .af-controls{height:44px;top:0;left:auto;width:168px}
 body.ds-choice main .af-text-carousel .af-controls .af-prev{left:0;top:0;transform:none}
 body.ds-choice main .af-text-carousel .af-controls .af-next{left:50px;top:0;transform:none}
 body.ds-choice main .af-text-carousel .af-controls .af-play{left:100px;top:0}
 body.ds-choice main .af-text-carousel .af-slide-count{left:-58px;right:auto;bottom:8px;background:transparent;color:var(--ink,#32281f);font-size:13px}
 body.ds-choice main .af-controls button:focus-visible{outline:3px solid #fff;outline-offset:2px;box-shadow:0 0 0 5px #32281f}
 body.ds-choice main .af-carousel .af-sr-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
 body.ds-choice .af-gallery-grid{grid-template-columns:1fr;gap:16px}
 body.ds-choice .af-gallery-grid figure{grid-column:1!important}
 body.ds-choice .af-gallery-grid a{aspect-ratio:auto}
 body.ds-choice .af-gallery-grid img{width:100%;height:auto;object-fit:contain}
 body.ds-choice .af-model-grid{grid-template-columns:1fr;gap:22px}
 body.ds-choice .af-model-grid>figure{grid-column:1!important}
 body.ds-choice .af-model-grid figcaption{padding:10px 0}
 body.ds-choice .af-product-gallery .section-heading p{max-width:100%}
}
@media(prefers-reduced-motion:reduce){body.ds-choice .af-track-mobile,body.ds-choice .af-viewport,body.ds-choice .af-gallery-grid img{transition:none!important}}

/* Balanced fallback before JavaScript / when scripts are unavailable. */
@media(min-width:981px){
 body.ds-choice main :is(.hy-product-grid,.catalog-grid,.hy-message-grid,.hy-comfort-grid,.editorial-highlights,.ds-info-cards,.dsgen-card-grid):not(.af-balanced):has(>:nth-child(4):last-child){grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.ds-choice main :is(.hy-product-grid,.catalog-grid,.hy-message-grid,.hy-comfort-grid,.editorial-highlights,.ds-info-cards,.dsgen-card-grid):not(.af-balanced):has(>:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
