/* Target v8.14 — supplied identity, semantic surfaces and accessible actions. */
:root{
 --font-weight-normal:400;--font-weight-bold:700;
 --brand-primary:#047271;--brand-secondary:#A9A891;--brand-olive:#59584B;
 --brand-paper:#F5F5F1;--brand-surface:#EBEBE2;--brand-tint:#E8E8DF;--brand-ink:#25261F;--brand-dark:#22241F;
 --brand-copper:#8E321B;--brand-copper-hover:#732611;--brand-copper-light:#F0B16A;--brand-copper-light-hover:#F4C185;
 --cta-bg:var(--brand-copper);--cta-hover:var(--brand-copper-hover);--cta-text:#FFFFFF;
 --green:var(--brand-primary);--green-2:#035E5D;--mint:var(--brand-tint);--accent:var(--brand-copper);
 --paper:var(--brand-paper);--paper-2:var(--brand-surface);--paper2:var(--brand-surface);--ink:var(--brand-ink);--muted:var(--brand-olive);--dark:var(--brand-dark);--white:#FFFFFF;
 --ths-green:var(--brand-primary);--ths-mint:var(--brand-tint);--ths-orange:var(--brand-copper);--ths-paper:var(--brand-paper);--ths-ink:var(--brand-ink);--ths-dark:var(--brand-dark);
 --line:rgba(89,88,75,.25);--ths-nav-h:92px;--radius-pill:999px;
}
body{background:var(--brand-paper);color:var(--brand-ink);font-weight:var(--font-weight-normal)}
body :is(b,strong){font-weight:var(--font-weight-bold)}
::selection{background:var(--brand-primary);color:#FFFFFF}
/* Light identity bar preserves the supplied multicolour artwork over photographs. */
body .ths-header,body .ths-header.scrolled,body .ths-header:has(.ths-menu-toggle[aria-expanded="true"]){height:92px;color:var(--brand-olive)!important;--cta-bg:var(--brand-copper);--cta-hover:var(--brand-copper-hover);--cta-text:#FFFFFF}
body .ths-header::before,body .ths-header.scrolled::before,body.experience-page .ths-header.ep-over-dark::before{border-radius:var(--radius-pill);background:var(--brand-paper)!important;border:1px solid rgba(89,88,75,.25)!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
body .ths-logo{height:72px;line-height:1;flex:none;max-width:calc(100% - 10px)}
.brand-logo{display:block;width:153px;height:64px;flex:none}
.brand-logo img{display:block;width:100%;height:100%;object-fit:contain!important;padding:0!important;filter:none!important;transform:none!important}
body .ths-header .ths-menu-toggle{width:60px;height:60px;background:var(--brand-primary)!important;color:#FFFFFF!important;border:1px solid var(--brand-primary)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
body .ths-header .ths-menu-toggle:hover{background:#035E5D!important}
body .ths-action{min-height:44px}
body .ths-action-call{background:var(--brand-primary);border-color:var(--brand-primary);color:#FFFFFF}
body .ths-action-call:hover{background:#035E5D;border-color:#035E5D}
/* Copper is complementary to teal. Its luminance adapts to the surrounding surface. */
:where(.page-hero,.product-hero,.cta,.cta-section,.showroom,.glass-story,.segment-horeca,.ep-guest,.ep-production,.ths-menu,footer,.glass,.showroom-card){
 --cta-bg:var(--brand-copper-light);--cta-hover:var(--brand-copper-light-hover);--cta-text:var(--brand-ink);--accent:var(--brand-copper-light);--ths-orange:var(--brand-copper-light);
}
body :is(.btn,.ep-cta,.ths-action-book){background:var(--cta-bg)!important;color:var(--cta-text)!important;border:1px solid var(--cta-bg)!important;box-shadow:none!important;transition:background .2s,color .2s,transform .2s}
body :is(.btn,.ep-cta,.ths-action-book):is(:hover,:active){background:var(--cta-hover)!important;color:var(--cta-text)!important;border-color:var(--cta-hover)!important;box-shadow:none!important}
/* Opaque reading panels give photographic CTAs a predictable adjacent colour. */
body :is(.glass,.showroom-card){background:var(--brand-dark);color:#FFFFFF;border-color:var(--brand-secondary);--green:#FFFFFF;--muted:var(--brand-tint);--mint:var(--brand-tint);backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none}
body :is(.glass,.showroom-card) :is(:is(p,.ths-rich),.body,.body-lg,.big,.h2,.h3,h2,h3,.eyebrow){color:#FFFFFF;opacity:1}
body .hero-glass{background:var(--brand-surface);color:var(--brand-ink);border-color:var(--brand-secondary);box-shadow:none}
/* Olive-grey provides a full brand surface; text uses a deeper neutral for contrast. */
body .index-note{background:var(--brand-secondary);color:var(--brand-ink)}
body .index-note :is(h2,:is(p,.ths-rich)){color:var(--brand-ink)}
body .segment-base{background:var(--brand-secondary);color:var(--brand-ink)}
body .segment-base :is(h2,:is(p,.ths-rich),a,.eyebrow){color:var(--brand-ink)}
body :is(.ths-menu-meta,.ths-menu-close-note,.ths-preview-label,.ths-product-link .num){color:var(--brand-tint);opacity:1}
body .ths-menu-tab{color:#FFFFFF;border-color:var(--brand-secondary);opacity:1}
body .ths-menu-tab.active{color:var(--brand-copper-light);border-color:var(--brand-copper-light)}
body .view-toggle{border-color:var(--brand-olive)}
body .view-toggle button{color:var(--brand-primary);min-height:44px}
body .view-toggle button.active{background:var(--brand-primary);color:#FFFFFF}
body .ep-topic-controls button{color:var(--brand-olive);border-bottom-color:var(--brand-primary)}
body .ep-topic-controls button[aria-selected="true"]{color:var(--brand-primary)}
body .ep-build-controls button{border-top-color:var(--brand-primary);color:var(--brand-olive)}
body .ep-build-controls button[aria-selected="true"]{color:var(--brand-primary)}
body .ep-build-controls button span{color:var(--brand-olive)}
body .ep-journey{border-color:var(--brand-olive)}
body .ep-journey-progress{background:var(--brand-copper)}
body .ep-journey-next{color:var(--brand-primary);border-left-color:var(--brand-olive)}
body .ep-compare-handle{background:var(--brand-primary);color:#FFFFFF;border:2px solid #FFFFFF}
body .ep-compare:focus-within .ep-compare-handle{outline:3px solid var(--brand-copper);outline-offset:4px}
/* Two-colour focus indicator remains visible on light, dark and photography. */
body :is(.btn,.ep-cta,.ths-action,.ths-menu-toggle,a,button,input,select,textarea):focus-visible{outline:3px solid #FFFFFF!important;outline-offset:3px!important;box-shadow:0 0 0 7px var(--brand-primary)!important}
body .ths-logo:focus-visible{border-radius:2px}
/* Original logos stay unchanged; a light field keeps every logo colour legible. */
body footer{background:var(--brand-olive);color:#FFFFFF}
body footer :is(.footer-col a,.footer-col :is(p,.ths-rich),.footer-col .label,.footer-bottom){color:#FFFFFF;opacity:1}
body .footer-brand{font-size:inherit;line-height:1;letter-spacing:normal;align-self:start}
.brand-footer-link{display:inline-flex;padding:18px;background:var(--brand-paper);width:fit-content;max-width:100%}
.brand-logo-footer{width:220px;height:auto;aspect-ratio:266/111;max-width:100%}
body .footer-bottom{border-color:var(--brand-secondary)}
@media(max-width:980px){body .ths-action-call{display:none}}
@media(max-width:650px){
 :root{--ths-nav-h:80px}
 body .ths-header,body .ths-header.scrolled,body .ths-header:has(.ths-menu-toggle[aria-expanded="true"]){height:80px}
 body .ths-logo{height:64px;max-width:100%;width:60px}
 .brand-logo{width:60px;height:60px}
 body .ths-header .ths-menu-toggle{width:56px;height:56px}
 body .ths-menu-grid{padding-top:104px}
 .brand-footer-link{padding:14px}
 .brand-logo-footer{width:88px;height:88px;aspect-ratio:1}
}
@media(prefers-reduced-motion:reduce){body :is(.btn,.ep-cta,.ths-action-book){transition:none}}
@media(forced-colors:active){body :is(.btn,.ep-cta,.ths-action,.ths-menu-toggle){border:1px solid ButtonText!important}body :is(.btn,.ep-cta,.ths-action,.ths-menu-toggle,a,button,input,select,textarea):focus-visible{outline:3px solid Highlight!important;box-shadow:none!important}}

body .hero-glass :is(:is(p,.ths-rich),.small,.body,.body-lg){color:var(--brand-olive);opacity:1}

/* Metadata remains readable at its actual small type size. */
body .ths-menu-tab{background:var(--brand-paper);color:var(--brand-olive);border-color:var(--brand-paper);min-height:44px}
body .ths-menu-tab.active{background:var(--brand-copper-light);color:var(--brand-ink);border-color:var(--brand-copper-light)}
body .ths-utilities a{color:#FFFFFF;opacity:1}
body .ths-utilities a:hover{color:var(--brand-dark)}
body :is(.page-hero-desc>.body,.value-item .body,.details .label){color:#FFFFFF;opacity:1}
body .link-card .label{color:var(--brand-olive);opacity:1}
body :is(.story-copy,.motion-copy)>div:last-child{color:var(--brand-olive);opacity:1}
body .motion-item .n{color:var(--brand-olive);opacity:1}

body .hero-glass small{color:var(--brand-olive);opacity:1}
body .fin-intro{--cta-bg:var(--brand-copper-light);--cta-hover:var(--brand-copper-light-hover);--cta-text:var(--brand-ink)}
body :is(.story-copy,.motion-copy)>div[style]{color:var(--brand-olive);opacity:1!important}
body .ths-menu:not(.is-open) *{visibility:inherit!important}
body .ths-menu :is(.ths-primary-link,.ths-sub-link,.ths-sub-link .name){color:#FFFFFF}
body .ths-menu .ths-primary-link[aria-current="page"]{color:var(--brand-tint)}

body.ths-menu-open .ths-header:has(.ths-menu-toggle[aria-expanded="true"])::before{background:var(--brand-paper)!important;border-color:rgba(89,88,75,.25)!important;opacity:1!important}
body.ths-menu-open .ths-header .ths-menu-toggle{background:var(--brand-primary)!important;color:#FFFFFF!important;border-color:var(--brand-primary)!important}
body .segment-copy :is(p,.ths-rich),body .method-step :is(:is(p,.ths-rich),.n){opacity:1}
body .values-pin{--accent:var(--brand-copper-light)}

body .wood-copy>div[style]{color:var(--brand-olive);opacity:1!important}

body.ths-menu-open .ths-header:has(.ths-menu-toggle[aria-expanded="true"]) .ths-menu-toggle{background:var(--brand-primary)!important;color:#FFFFFF!important;border-color:var(--brand-primary)!important}

/* Shared capsule geometry; the central control is a circle at every breakpoint. */
body :is(.ths-action,.ths-menu-toggle,.ths-menu-tab,.btn,.ep-cta){border-radius:var(--radius-pill)}
body .ths-header .ths-menu-toggle{display:grid;place-items:center;padding:0;flex:none;aspect-ratio:1}
body .ths-header .ths-menu-toggle .ths-menu-label{position:static;inset:auto;width:auto;height:auto;background:transparent;transform:none;opacity:1;font:700 12px/1 "Inter Tight",Arial,sans-serif;letter-spacing:0;transition:none}
body .ths-header .ths-menu-toggle .ths-menu-label-open{display:none}
body .ths-header .ths-menu-toggle[aria-expanded="true"] .ths-menu-label-closed{display:none}
body .ths-header .ths-menu-toggle[aria-expanded="true"] .ths-menu-label-open{display:block}

/* v8.14 — icon and text share the circular control; full logo on phones. */
body .ths-header .ths-menu-toggle{grid-template-rows:auto auto;align-content:center;justify-items:center;gap:5px}
body .ths-header .ths-menu-icon{display:block;width:19px;height:14px;overflow:visible}
.ths-menu-icon path{transform-origin:12px 9px;transition:transform .22s ease-out}
.ths-menu-line-top{transform:translateY(-4px)}
.ths-menu-line-bottom{transform:translateY(4px)}
[aria-expanded="true"] .ths-menu-line-top{transform:rotate(45deg)}
[aria-expanded="true"] .ths-menu-line-bottom{transform:rotate(-45deg)}
@media(max-width:650px){
 body .ths-header .ths-logo{width:clamp(104px,30vw,120px);height:64px;max-width:100%}
 body .ths-header .brand-logo{width:100%;height:auto;aspect-ratio:266/111}
 body .brand-logo-footer{width:200px;height:auto;aspect-ratio:266/111}
}
@media(prefers-reduced-motion:reduce){.ths-menu-icon path{transition:none}}

/* v8.16: panel captions keep the same inset from the first frame. */
body .story-panel:first-child{transform:none}
/* Static/reduced-motion method stays readable; controlled reveal is scoped in the home. */
body .method-base{visibility:visible;color:var(--brand-primary);pointer-events:auto}
body .method-fill,body .method-overlay{transition:none}
body .method-step[aria-current="step"]{isolation:isolate}
/* Static catalog remains browsable when motion is unavailable or reduced. */
body .catalog-static .catalog-stage{height:auto;min-height:100svh;overflow:visible}
body .catalog-static .track-wrap{overflow-x:auto;overscroll-behavior-x:contain}
body .catalog-static .catalog-progress{display:none}
body .product-card[href="infissi-finstral.html"] img{object-position:50% 50%}

@media(min-width:761px){
 body .method:not(.method-controlled){height:auto}
 body .method:not(.method-controlled) .method-stage{height:auto}
}
@media(min-width:761px) and (max-height:800px){
 body .method-stage{padding-top:104px;padding-bottom:24px}
 body .method-head{margin-bottom:24px}
 body .method-head .h2{font-size:clamp(48px,5vw,64px);line-height:.96}
 body .method-head .body-lg{font-size:18px;line-height:1.4;margin-top:14px!important}
 body .method-grid{min-height:280px}
 body .method-step h3{font-size:32px}
 body .method-step :is(p,.ths-rich){font-size:13px}
}
@media(min-width:761px) and (max-width:1000px){
 body .method-content{padding-left:12px;padding-right:12px}
 body .method-step h3{font-size:28px}
 body .method-step :is(p,.ths-rich){font-size:13px}
}

/* v8.40 — Footer follows its content rather than a viewport minimum. */
body>footer:is(footer,.site-footer){height:auto;min-height:0;padding:clamp(44px,3.5vw,80px) var(--pad,4vw) 24px;display:flex;flex-direction:column;justify-content:flex-start;gap:40px}
body>footer:is(footer,.site-footer) :is(.footer-top,.footer-bottom){width:100%;max-width:2240px;margin-inline:auto}
body>footer:is(footer,.site-footer) .footer-top{display:grid;grid-template-columns:minmax(160px,.95fr) repeat(2,minmax(140px,.7fr)) minmax(240px,1.15fr);gap:clamp(24px,3vw,64px);align-items:start}
body>footer:is(footer,.site-footer) .footer-brand{grid-column:auto;margin:0}
body>footer:is(footer,.site-footer) .footer-col:last-child{grid-column:auto}
body>footer:is(footer,.site-footer) .brand-footer-link{padding:0;background:transparent}
body>footer:is(footer,.site-footer) .brand-logo-footer{width:200px;height:auto;aspect-ratio:266/111;max-width:100%}
body>footer:is(footer,.site-footer) .footer-bottom{margin-top:0;padding-top:18px;row-gap:12px}
@media(min-width:1921px){body>footer:is(footer,.site-footer){gap:56px;padding-bottom:32px}body>footer:is(footer,.site-footer) .brand-logo-footer{width:clamp(220px,7vw,280px)}}
@media(max-width:1000px){
 body>footer:is(footer,.site-footer) .footer-top{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 32px}
 body>footer:is(footer,.site-footer) .footer-brand{grid-column:1/-1}
}
@media(max-width:650px){
 body>footer:is(footer,.site-footer){padding:36px 20px 22px;gap:28px}
 body>footer:is(footer,.site-footer) .footer-top{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 24px}
 body>footer:is(footer,.site-footer) .brand-logo-footer{width:160px}
 body>footer:is(footer,.site-footer) .footer-col:last-child{grid-column:1/-1}
 body>footer:is(footer,.site-footer) .footer-col .label{margin-bottom:14px}
 body>footer:is(footer,.site-footer) .footer-bottom{gap:12px 20px;padding-top:16px}
}

/* v8.44 — align controls after removing decorative navigation prompts. */
body .fp-footer,body .system-meta{justify-content:flex-end}
