:root{--ink:#222722;--paper:#f4f0e8;--dark:#181c19;--soft:#ded5c4;--line:#c9bead;--gold:#e1ad69;--muted:#57574e;--sans:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font:1rem/1.6 var(--sans)}
h1,h2,h3,p{margin:0}
h1,h2,h3{line-height:1.03;letter-spacing:-.06em}
h1,h2{font-weight:770}
a{color:inherit;text-underline-offset:.25em}
a:focus-visible{outline:3px solid #b47429;outline-offset:5px}
img{display:block;max-width:100%}
.wrap{width:min(calc(100% - 96px),1260px);margin-inline:auto}
.head{background:var(--dark);color:#f9f4e9}
.header-inner{display:flex;align-items:center;justify-content:space-between;min-height:82px;gap:24px}
.brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;font-size:1.42rem;font-weight:820;letter-spacing:-.06em}
.brand small{font-size:.68em;color:var(--gold)}
.joinery{display:inline-block;flex:none;width:29px;height:31px;border:2px solid var(--gold);position:relative}
.joinery:before{content:"";position:absolute;inset:4px 5px 0 0;border:2px solid var(--gold);border-left:0;border-bottom:0;transform:skewY(-8deg)}
nav{display:flex;align-items:center;gap:clamp(16px,3vw,36px);font-size:.9rem}
nav a{text-decoration:none}
nav a:hover{text-decoration:underline}
nav .catalog{border:1px solid #776d5c;padding:7px 11px;color:var(--gold)}
.skip{position:absolute;z-index:4;top:12px;left:12px;padding:8px 11px;background:var(--paper);transform:translateY(-170%)}
.skip:focus{transform:none}
.hero{position:relative;isolation:isolate;background:#26241e;color:#fff9ed;min-height:570px;display:grid;align-items:center}
.hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 47%;z-index:-2}
.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(24,26,23,.92),rgba(24,26,23,.78) 29%,rgba(24,26,23,.39) 57%,rgba(24,26,23,.07));z-index:-1}
.hero-text{padding-block:58px 77px}
.category{font-size:.71rem;font-weight:760;letter-spacing:.18em;text-transform:uppercase}
.hero .category{color:#f4cf9c}
.hero h1{font-size:clamp(3.7rem,8vw,7.3rem);margin:17px 0 22px}
.hero p:not(.category){font-size:clamp(1rem,1.6vw,1.18rem);color:#f1e8d9;max-width:34ch}
.actions{display:flex;gap:13px 22px;align-items:center;flex-wrap:wrap;margin-top:29px;font-weight:680}
.button{display:inline-flex;gap:22px;align-items:center;justify-content:space-between;background:var(--gold);color:#1a1d18;border:1px solid transparent;text-decoration:none;font-size:.9rem;font-weight:760;padding:12px 15px;white-space:nowrap}
.button:hover{background:#efc88c}
.button.dark{background:#252c24;color:#fff9eb}
.button.dark:hover{background:#394334}
.caption{position:absolute;bottom:14px;right:20px;background:#252821;color:#f6eddc;padding:3px 7px;font-size:.67rem}
.product-block{padding-block:55px 63px}
.product-block h2,.guides h2,.business h2{font-size:clamp(2rem,4.4vw,3.6rem)}
.product-block h2{margin-bottom:22px}
.product-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.product{padding:25px 27px;background:#fbf7ee;border:1px solid var(--line);min-width:0}
.product h3,.product h2{font-size:clamp(1.6rem,3vw,2.55rem);margin:12px 0 9px}
.product p{color:var(--muted);margin-bottom:12px;max-width:45ch}
.product a{font-weight:730}
.detail-mark{display:block;width:32px;height:36px;position:relative;border:2px solid #8b5830}
.door-mark:after{content:"";position:absolute;width:4px;height:4px;border-radius:50%;background:#8b5830;right:4px;top:14px}
.wardrobe-mark{width:38px;border-top-width:4px}
.wardrobe-mark:after{content:"";position:absolute;height:100%;width:2px;background:#8b5830;left:50%}
.guides{background:var(--soft);padding-block:48px 56px}
.split-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:22px}
.guide-list{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0;padding:0}
.guide-list a{min-height:224px;height:100%;display:flex;flex-direction:column;gap:10px;text-decoration:none;padding:20px;border-top:2px solid #8b5830;background:#f8f3e9}
.guide-list a:hover{background:#fff9ed}
.guide-list .category{color:#79502d}
.guide-list h3{font-size:clamp(1.5rem,2.6vw,2.12rem)}
.guide-list p{color:var(--muted);font-size:.91rem}
.go{margin-top:auto;text-decoration:underline;font-weight:670;font-size:.89rem}
.business{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-block:51px}
.business p{margin-top:8px;color:var(--muted)}
.foot{background:var(--dark);color:#f5ecdb;padding-block:34px}
.foot-inner{display:grid;grid-template-columns:1.1fr 1fr .8fr;gap:26px;font-size:.88rem}
.foot-brand{font-size:1.25rem}
.foot p{color:#e4d7c2}
address{font-style:normal}
.inner-lead{padding-block:60px 35px;border-bottom:1px solid var(--line)}
.inner-lead h1{font-size:clamp(2.8rem,7vw,6rem);max-width:19ch}
.inner-lead p{font-size:1.13rem;color:var(--muted);margin-top:15px;max-width:53ch}
.prose{max-width:760px;margin-left:max(48px,calc((100% - 1260px)/2));padding-block:28px 68px}
.prose section{margin-top:22px;scroll-margin-top:15px}
.prose section+section{margin-top:31px}
.prose h2{font-size:clamp(1.65rem,3.2vw,2.5rem);margin-bottom:9px}
.prose p+p,.prose section+p{margin-top:12px}
.prose p{color:var(--muted);max-width:63ch}
.contact-grid,.guide-index{padding-block:36px 63px}
.mail{overflow-wrap:anywhere}
@media(max-width:850px){.wrap{width:calc(100% - 56px)}.prose{margin-left:28px}.hero{min-height:500px}.hero h1{font-size:clamp(3.65rem,8.5vw,5.8rem)}}
@media(max-width:630px){
 .wrap{width:calc(100% - 32px)}.prose{margin-left:16px}.header-inner{align-items:flex-start;flex-direction:column;min-height:0;gap:7px;padding-top:12px}
 nav{width:100%;overflow:auto;padding-bottom:8px;gap:15px}nav a{white-space:nowrap;padding-block:5px}nav .catalog{padding:4px 7px}
 .hero{min-height:462px}.hero img{object-position:65% center}.hero:after{background:linear-gradient(90deg,rgba(24,26,23,.93),rgba(24,26,23,.65) 72%,rgba(24,26,23,.43))}
 .hero-text{padding-block:34px 57px}.hero h1{font-size:clamp(3.25rem,12vw,5.7rem);margin:13px 0 16px}.actions{margin-top:19px}
 .product-grid,.guide-list,.foot-inner{grid-template-columns:1fr}.product,.guide-list a{padding:17px}.guide-list a{min-height:0}
 .product-block,.guides,.business{padding-block:34px}.split-head,.business{align-items:flex-start;flex-direction:column;gap:11px}
 .inner-lead{padding-block:38px 24px}.foot-inner{gap:15px}
}
