/* Full-film openings: the authored typography stays; architecture opens on native scroll. */
body[data-opening]{--opening-ink:#152723;--opening-type:#fff9ef;--opening-accent:#e0c79b;--opening-rgb:15,31,27;--opening-origin:50% 82%;--opening-scale:.6;--opening-rise:-12%}
body[data-opening="harborline"]{--opening-rgb:15,27,45;--opening-accent:#d5b681;--opening-ink:#14213a;--opening-origin:64% 80%}
body[data-opening="alloy"]{--opening-rgb:15,20,23;--opening-accent:#d49462;--opening-ink:#202729;--opening-origin:78% 55%;--opening-scale:.38;--opening-rise:-8%}
body[data-opening="fernway"]{--opening-rgb:17,37,29;--opening-ink:#1f3b2d}
body[data-opening="plumbline"]{--opening-rgb:17,24,23;--opening-accent:#e2ca5b;--opening-ink:#171e1d;--opening-origin:50% 52%;--opening-scale:.45;--opening-rise:0%}
body[data-opening="casa-tejada"]{--opening-rgb:39,24,19;--opening-accent:#e5b596;--opening-ink:#593124;--opening-origin:60% 90%;--opening-scale:.85;--opening-rise:-5%}
body[data-opening="ledger"]{--opening-rgb:22,26,29;--opening-accent:#e0a270;--opening-ink:#252d2c;--opening-origin:68% 55%;--opening-scale:.45;--opening-rise:-4%}
body[data-opening="hollow-ridge"]{--opening-rgb:11,20,29;--opening-accent:#e59a60;--opening-ink:#152230;--opening-origin:55% 92%;--opening-scale:.7}
body[data-opening="whitcombe"]{--opening-rgb:31,22,24;--opening-accent:#dfc7a4;--opening-ink:#581f29;--opening-origin:55% 85%;--opening-scale:.6}
body[data-opening="broadleaf"]{--opening-rgb:17,28,43;--opening-accent:#c6d5dd;--opening-ink:#243349;--opening-origin:70% 75%;--opening-scale:.5}
body[data-opening="maple-row"]{--opening-rgb:20,33,26;--opening-accent:#dcc296;--opening-ink:#293c2e;--opening-origin:50% 85%;--opening-scale:.7}
body[data-opening][data-ten] .site-header,body[data-opening][data-ten] .site-header.wow-header{position:absolute!important;inset:0 0 auto!important;height:88px;padding:0 6%!important;background:transparent!important;color:var(--opening-type)!important;border:0!important;z-index:50;box-shadow:none}
body[data-opening][data-ten] .site-header .brand,body[data-opening][data-ten] .site-header nav,body[data-opening][data-ten] .site-header .wow-menu-button,body[data-opening][data-ten] .site-header .wow-header-motion{color:var(--opening-type);background:transparent}
body[data-opening][data-ten] .site-header .brand small{color:inherit;opacity:.8}
body[data-opening][data-ten] .site-header nav a{color:inherit}
body[data-opening][data-ten] .hero.opening{--opening-progress:1;position:relative;display:block;min-height:0;height:auto;overflow:visible;padding:0;margin:0;background:var(--opening-ink);color:var(--opening-type);border:0;isolation:auto}
body[data-opening][data-ten] .hero.opening:before,body[data-opening][data-ten] .hero.opening:after{display:none}
body[data-opening][data-ten] .opening__stage{position:relative;min-height:max(680px,100svh);height:auto;display:flex;align-items:center;padding:140px 6%;overflow:hidden;isolation:isolate}
body[data-opening][data-ten] .opening .opening__film{position:absolute;inset:0;z-index:-3;width:100%;height:100%;min-height:0;max-height:none;margin:0;padding:0;overflow:hidden;aspect-ratio:auto;border:0;border-radius:0;clip-path:none;transform:scale(calc(1.12 - var(--opening-progress)*.12));transform-origin:55% 50%}
body[data-opening][data-ten] .opening__film:before,body[data-opening][data-ten] .opening__film:after{display:none}
body[data-opening][data-ten] .opening .opening__film img,body[data-opening][data-ten] .opening .opening__film video{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 45%;border:0;border-radius:0;transform:none;clip-path:none}
body[data-opening][data-ten] .opening__shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,rgba(var(--opening-rgb),.86),rgba(var(--opening-rgb),.30) 75%),linear-gradient(0deg,rgba(var(--opening-rgb),.7),transparent 35%,rgba(var(--opening-rgb),.3));pointer-events:none}
/* Text-safe drawing (owner 14.10.2026): the roof drawing moves on its svg; the geometry box stays still so opening.js can cut it
   away (a clip-path with holes) over the header, the copy and the bottom bar: the lines never cross the words. */
body[data-opening][data-ten] .opening__geometry{position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:calc(1 - var(--opening-progress)*.95)}
body[data-opening][data-ten] .opening__geometry svg{display:block;width:100%;height:100%;overflow:visible;transform:translateY(calc(var(--opening-rise)*var(--opening-progress))) scale(calc(1 + var(--opening-scale)*var(--opening-progress)));transform-origin:var(--opening-origin)}
body[data-opening][data-ten] .opening__line{fill:none;stroke:var(--opening-accent);stroke-width:1.4;vector-effect:non-scaling-stroke;opacity:.8}
body[data-opening][data-ten] .opening__wash{fill:rgba(var(--opening-rgb),.25);stroke:none}
body[data-opening][data-ten] .opening__content{position:relative;width:100%;max-width:1380px;margin:0 auto;transform:translateY(calc(-24px*var(--opening-progress)))}
body[data-opening][data-ten] .opening .opening__copy{position:static;display:block;max-width:none;margin:0;padding:0;background:transparent;color:var(--opening-type);border:0}
body[data-opening][data-ten] .opening__copy .eyebrow{color:var(--opening-type);font-size:12px;line-height:1.4;letter-spacing:.015em;margin:0 0 27px;opacity:.9}
body[data-opening][data-ten] .opening__copy h1{font-size:clamp(58px,7.2vw,112px);line-height:1.04;max-width:15ch;margin:0;padding:0;color:var(--opening-type);text-transform:none;text-wrap:balance;letter-spacing:-.045em}
body[data-opening][data-ten] .opening__copy .opening__lede{font-size:18px;line-height:1.55;max-width:38ch;color:var(--opening-type);opacity:.88;margin:27px 0 0;padding:0}
body[data-opening][data-ten] .opening .opening__actions{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:30px;margin:0;padding:32px 0 0;color:var(--opening-type);border:0}
body[data-opening][data-ten] .opening__actions .button{display:inline-flex;width:auto;min-height:54px;max-width:100%;margin:0;padding:14px 24px;background:var(--opening-type);color:var(--opening-ink);border:1px solid var(--opening-type);border-radius:2px;font-size:14px;gap:30px;text-align:left}
body[data-opening][data-ten] .opening__actions .button:hover{background:var(--opening-accent);border-color:var(--opening-accent);transform:translateY(-2px)}
body[data-opening][data-ten] .opening__actions .text-link{font-size:14px;color:var(--opening-type);border-color:#fff7;min-height:44px;margin:0}
body[data-opening][data-ten] .opening .opening__bottom{position:absolute;inset:auto 6% 27px;width:auto;display:flex;flex-direction:row;align-items:end;justify-content:space-between;gap:24px;padding:14px 0 0;margin:0;border-top:1px solid #fff3;background:transparent;color:var(--opening-type);font-size:11px;line-height:1.5}
body[data-opening][data-ten] .opening__bottom>span{max-width:45ch;opacity:.8}
body[data-opening][data-ten] .opening__scroll{display:inline-flex;align-items:center;gap:12px;min-height:44px;white-space:nowrap;font-size:12px}
body[data-opening][data-ten] .opening__scroll-line{display:block;width:42px;height:1px;background:var(--opening-accent);transform:scaleX(calc(1 - var(--opening-progress)*.55));transform-origin:right}
body[data-opening="alloy"] .opening__copy h1,body[data-opening="ledger"] .opening__copy h1{font-weight:600;letter-spacing:-.055em}
body[data-opening="whitcombe"][data-ten] .opening__copy h1{max-width:19ch;font-size:clamp(56px,6.2vw,100px);font-weight:300}
body[data-opening="casa-tejada"][data-ten] .opening__copy h1{font-weight:400}
@media(min-width:1024px) and (min-height:720px){
 body[data-opening][data-ten] .hero.opening.opening--enabled{min-height:160svh}
 body[data-opening][data-ten] .opening--enabled .opening__stage{position:sticky;top:0;height:100svh}
}
@media(max-width:1023px),(max-height:719px){
 body[data-opening][data-ten] .opening__stage{padding-block:125px 135px}
}
@media(max-width:760px){
 body[data-opening][data-ten] .site-header,body[data-opening][data-ten] .site-header.wow-header{height:76px;gap:8px;padding-inline:6%!important}
 body[data-opening][data-ten] .site-header .brand{font-size:clamp(20px,5.6vw,27px);flex:1;min-width:0}
 body[data-opening][data-ten] .site-header .brand small{display:none}
 body[data-opening][data-ten] .opening__stage{padding:124px 6% 136px;min-height:max(680px,100svh)}
 body[data-opening][data-ten] .opening__copy h1{font-size:clamp(43px,12.2vw,76px);line-height:1.055;max-width:15ch}
 body[data-opening="whitcombe"][data-ten] .opening__copy h1{font-size:clamp(42px,11.7vw,72px);max-width:16ch}
 body[data-opening][data-ten] .opening__copy .eyebrow{font-size:10px;margin-bottom:22px}
 body[data-opening][data-ten] .opening__copy .opening__lede{font-size:16px;max-width:29ch;margin-top:23px}
 body[data-opening][data-ten] .opening .opening__actions{gap:14px 22px;padding-top:26px}
 body[data-opening][data-ten] .opening__actions .button{padding:13px 17px;font-size:13px;gap:18px}
 body[data-opening][data-ten] .opening__actions .text-link{font-size:13px}
 body[data-opening][data-ten] .opening .opening__bottom{font-size:9px;gap:14px;bottom:22px}
 body[data-opening][data-ten] .opening__bottom>span{max-width:145px}
 body[data-opening][data-ten] .opening__scroll{font-size:10px;gap:7px}
 body[data-opening][data-ten] .opening__scroll-line{width:22px}
 body[data-opening][data-ten] .opening__shade{background:linear-gradient(90deg,rgba(var(--opening-rgb),.77),rgba(var(--opening-rgb),.40)),linear-gradient(0deg,rgba(var(--opening-rgb),.65),transparent 45%,rgba(var(--opening-rgb),.35))}
 html:not(.js) body[data-opening][data-ten] .site-header{height:auto;display:block;padding:16px 6%!important}
 html:not(.js) body[data-opening][data-ten] .site-header nav{display:flex;flex-wrap:wrap;gap:0 18px;margin-top:10px;font-size:11px}
 html:not(.js) body[data-opening][data-ten] .site-header nav a{padding-block:8px;min-height:32px;display:inline-flex;align-items:center}
 html:not(.js) body[data-opening][data-ten] .opening__stage{padding-top:180px}
}
@media(prefers-reduced-motion:reduce){
 body[data-opening][data-ten] .hero.opening.opening--enabled{min-height:0}
 body[data-opening][data-ten] .opening--enabled .opening__stage{position:relative;height:auto}
 body[data-opening][data-ten] .opening__geometry{display:none}
 body[data-opening][data-ten] .opening .opening__film,body[data-opening][data-ten] .opening__content{transform:none}
}
