:root {
  --paper: #f9f8f5;
  --ink: #20282a;
  --text: #424c4d;
  --muted: #606967;
  --line: #ced0c9;
  --copper: #9d4529;
  --margin: clamp(18px, 4.6vw, 76px);
  --measure: 1280px;
  --body-size: clamp(1rem, .94rem + .2vw, 1.125rem);
  --caption-size: .8125rem;
  --link-size: .9375rem;
  --page-title: clamp(3rem, 6vw, 5.5rem);
  --section-title: clamp(1.875rem, 3vw, 2.75rem);
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; }
main { flex: 1; min-width: 0; }
img { display: block; max-width: 100%; }
p, h1, h2, figure, ul { margin: 0; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--copper); outline-offset: 4px; }
::selection { background: #efd2be; color: var(--ink); }
.header-inner, .frame, .footer-inner {
  width: min(calc(100% - 2 * var(--margin)), var(--measure));
  margin-inline: auto;
}
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; min-height: 79px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 25px; font-weight: 735; letter-spacing: -.04em; white-space: nowrap; }
.brand small { font-size: 11px; letter-spacing: .02em; vertical-align: .16em; font-weight: 600; }
.brand-mark {
  width: 29px; height: 30px; flex: none;
  background: linear-gradient(124deg, #1f2d32 0 55%, #a75232 55%);
  clip-path: polygon(0 0,22% 0,50% 40%,78% 0,100% 0,100% 100%,77% 100%,77% 41%,50% 78%,23% 41%,23% 100%,0 100%);
}
nav { display: flex; align-self: stretch; align-items: stretch; gap: clamp(16px, 2.7vw, 38px); }
nav a { display: inline-flex; align-items: center; position: relative; text-decoration: none; font-size: var(--link-size); line-height: 1.35; font-weight: 560; white-space: nowrap; }
nav a::after { content: ""; position: absolute; bottom: 0; width: 100%; height: 2px; background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
nav a[aria-current], nav a:hover, .header-phone:hover { color: var(--copper); }
nav a[aria-current]::after, nav a:hover::after { transform: scaleX(1); }
.header-phone { font-size: var(--link-size); font-weight: 610; letter-spacing: -.015em; text-decoration: none; white-space: nowrap; }
h1,h2 { font-weight: 620; letter-spacing: -.035em; line-height: 1.12; }
.scene { position: absolute; inset: 0; overflow: hidden; background: #b6b7b1; }
.scene picture { display: block; height: calc(100% + 96px); margin-top: -48px; transform: translate3d(0,var(--drift,0px),0); }
.scene img { width: 100%; height: 100%; object-fit: cover; }
.home-hero {
  margin-top: clamp(20px,3vw,45px); display: grid; grid-template-columns: minmax(0,1.03fr) minmax(0,.97fr);
  column-gap: clamp(24px,4vw,62px); align-items: stretch;
}
.home-hero .hero-inner {
  container-type: inline-size;
  display: flex; flex-direction: column; align-items: start; justify-content: center; padding-block: clamp(14px,3vw,48px);
}
.home-hero h1 { order: 0; font: 850 min(5vw, 5.5rem)/1.04 Roboto,Arial,sans-serif; font-size: min(11.2cqi, 5.5rem); font-stretch: 75%; letter-spacing: -.032em; }
.home-hero h1 small { display: block; font: 580 var(--caption-size)/1.25 Inter,sans-serif; letter-spacing: .055em; margin-bottom: .5rem; color: var(--copper); }
.home-hero h1 span { white-space: nowrap; }
.welcome { order: -1; margin-bottom: clamp(18px,1.8vw,28px); max-width: 42ch; color: var(--text); font-size: var(--body-size); line-height: 1.55; }
.registration { order: 3; margin-top: clamp(22px,2.6vw,38px); color: var(--muted); font-size: var(--caption-size); line-height: 1.5; font-variant-numeric: tabular-nums; }
.intro-links { order: 2; display:flex; flex-wrap:wrap; align-items:center; gap: 22px; margin-top: 20px; }
.intro-links a { padding-block: 5px; font-size: var(--link-size); line-height: 1.4; font-weight: 560; color: var(--text); text-decoration-color: #a7aaa4; }
.intro-links a:first-child, .map-link, .download-link { color: var(--copper); }
.arrow { display: inline-block; margin: 0 2px 0 .34em; width: .56em; height: .56em; border-top: 1.6px solid; border-right: 1.6px solid; position: relative; vertical-align: .11em; }
.arrow::after { content:""; position:absolute; width:130%; height:1.5px; background:currentColor; right:-.3px; top:-.15px; transform:rotate(-45deg); transform-origin:right; }
.home-photo { min-height: 450px; position: relative; }
.home-photo .scene img { object-position: 59% 52%; }
.story { border-top: 1px solid var(--line); margin-top: clamp(32px,3.5vw,50px); padding-block: clamp(32px,3.8vw,56px); display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(32px,5.5vw,80px); }
.story-opening .copy { margin-top: 1.25em; }
.lead { max-width: 25ch; font-size: clamp(1.65rem,2.35vw,2.2rem); font-weight: 525; letter-spacing: -.028em; line-height: 1.32; text-wrap: balance; }
.lead span { white-space: nowrap; }
.lead em { color: var(--copper); font-style: normal; }
.copy { max-width: 65ch; font-size: var(--body-size); color: var(--text); line-height: 1.68; }
.copy p + p { margin-top: 1.05em; }
.story-opening .copy p:first-child { color: var(--ink); }
.copy b { color: var(--ink); font-weight: 610; }
.directions { border-top: 1px solid var(--line); padding-top: clamp(28px,3.8vw,55px); }
.directions h2 { font-size: var(--section-title); }
.directions-inner { display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:clamp(30px,5vw,72px);align-items:center;margin-top:22px; }
.map { display: grid; gap: 12px; }
.map img { width:100%; height:auto; aspect-ratio:4 / 3; object-fit:contain; border:1px solid var(--line); }
.map-link { width:fit-content; font-size:var(--link-size); font-weight:560; line-height:1.45; }
.contacts { font-size: var(--body-size); line-height:1.6; font-variant-numeric:tabular-nums; }
.contact-label { display:block; margin-bottom:.25rem; color:var(--muted); font-size:var(--caption-size); font-weight:600; line-height:1.45; }
.contacts p + p { margin-top:1em; padding-top:1em; border-top:1px solid var(--line); }
.contacts a[href^="tel:"] { white-space:nowrap; }
.contacts a:hover { color:var(--copper); }
.site-footer { margin-top:clamp(36px,5vw,72px); }
.footer-inner { min-height:65px; display:flex; align-items:center; gap:20px; justify-content:flex-end; border-top:1px solid var(--line);padding-block:12px; }
.footer-inner > a { display:inline-flex; align-items:center; min-height:40px; }
.footer-inner img { width:88px;height:31px; }
.credit { margin-right:auto;font-size:var(--caption-size);line-height:1.5;color:var(--muted); }
.section-hero h1,.price-copy h1 { font: 850 var(--page-title)/1.06 Roboto,Inter,sans-serif; font-stretch:75%; letter-spacing:-.032em; }
.page-prod .section-hero { padding:clamp(35px,4.7vw,70px) 0 clamp(22px,2.5vw,38px); border-bottom:1px solid var(--ink); }
.page-prod .hero-inner { display:flex; justify-content:space-between; align-items:end; gap:32px; }
.page-prod .hero-inner p { max-width:31ch; font-size:clamp(16px,1.4vw,20px); line-height:1.45; color:var(--text); }
.page-prod .hero-inner strong { color:var(--copper); font-weight:650; }
.catalogue { display:grid;grid-template-columns:minmax(0, .92fr) minmax(0,1.08fr);gap:clamp(26px,5vw,76px);margin-top:30px;align-items:start; }
.assortment,.gallery { list-style:none;padding:0; }
.assortment { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(14px,2.4vw,32px); }
.assortment li { padding:13px 0; font-size:var(--body-size); line-height:1.48;border-bottom:1px solid var(--line); }
.gallery { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; }
.gallery li { min-width:0; }
.gallery img { width:100%;height:auto;aspect-ratio:160/123; border:0; }
.page-metall .section-hero {display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:20px;margin-block:clamp(28px,3.5vw,54px); }
.metall-photo { position:relative;height:clamp(140px,14.4vw,214px); }
.metall-photo .scene img {object-position:50% 53%;}
.material {display:grid;grid-template-columns:minmax(0,.55fr) minmax(0,1.45fr);grid-template-areas:"photo title" "photo prose";align-items:start;column-gap:clamp(30px,6.8vw,104px);padding-block:clamp(32px,3.8vw,58px);border-top:1px solid var(--line);}
.material h2 {grid-area:title;margin-bottom:16px;font-size:var(--section-title);text-wrap:balance;}
.material figure {grid-area:photo;align-self:start;}
.material figure img { width:min(100%,305px);height:auto; }
.material .copy {grid-area:prose;}
.price-layout {display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(30px,6vw,95px);align-items:center;margin-top:clamp(30px,4vw,62px);}
.price-copy h1 { margin-bottom:24px; }
.price-copy p {font-size:clamp(18px,1.55vw,23px);line-height:1.52;max-width:26ch;letter-spacing:-.017em;color:var(--text);}
.download-link {color:var(--copper);font-weight:580;text-decoration:none;}
.download-link > span:first-child {text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.23em;}
.down {transform:rotate(135deg);}
.file-data {display:flex;width:fit-content;align-items:center;gap:12px;font-size:var(--caption-size);line-height:1.5;color:var(--muted);margin-top:24px;font-variant-numeric:tabular-nums;}
.file-data b {padding-inline:3px;}
.document-stage {height:clamp(350px,35vw,510px);overflow:hidden;position:relative;display:flex;justify-content:center;align-items:flex-start;background:#e1e4df;background:linear-gradient(128deg,#d6dcd8,#e8ebe8 52%,#c6ceca);}
.document { width:64%;height:auto;max-width:385px;margin-top:35px;transform:rotate(5deg);box-shadow:7px 15px 28px #20282945;}
@media (max-width:950px) {
  .header-phone {display:block;font-size:12px;}
  .header-inner {gap:14px;}
  .brand {font-size:22px;}
  nav {gap:15px;}
  .story { grid-template-columns:1fr; gap:calc(1.05 * var(--body-size)); }
  .story .copy { max-width:66ch; }
  .lead { max-width:31ch; }
  .home-photo {min-height:380px;}
  .catalogue {grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:26px;}
  .page-metall .section-hero h1 {font-size:clamp(41px,5.7vw,54px);}
}
@media (max-width:830px) {
  .header-inner {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 8px;min-height:0;}
  .brand {min-height:56px;font-size:22px;gap:8px;}
  .brand-mark {width:24px;height:25px;}
  .header-phone {display:block;grid-area:1/2;font-size:12px;}
  nav {grid-row:2;grid-column:1/-1;justify-content:space-between;gap:8px;}
  nav a {min-height:43px;font-size:clamp(12px,3.35vw,15px);}
}
@media (max-width:700px) {
  .home-hero {grid-template-columns:1fr;margin-top:18px;gap:20px;}
  .home-photo {grid-row:1;min-height:0;height:clamp(180px,50vw,275px);}
  .home-hero .hero-inner {padding:0;}
  .home-hero h1 small {margin-bottom:8px;font-size:12px;}
  .welcome {margin-bottom:15px;}
  .intro-links {margin-top:12px;gap:19px;}
  .registration {margin-top:13px;}
  .directions-inner {grid-template-columns:1fr;gap:23px;}
  .story {margin-top:27px;padding-block:29px;}
  .lead {font-size:clamp(1.5rem, 5.8vw, 1.8rem);max-width:30ch;}
  .page-prod .hero-inner {display:block;}
  .page-prod .hero-inner p {margin-top:13px;}
  .catalogue {grid-template-columns:1fr;gap:22px;margin-top:20px;}
  .gallery {grid-row:1;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;}
  .page-metall .section-hero {grid-template-columns:1fr;gap:16px;margin-block:27px;}
  .page-metall .section-hero h1 {font-size:clamp(39px,9vw,60px);}
  .metall-photo {height:clamp(110px,30vw,180px);}
  .material {grid-template-columns:minmax(85px,.48fr) minmax(0,1fr);grid-template-areas:"photo title" "prose prose";gap:17px;align-items:center;}
  .material h2 {font-size:clamp(23px,5.5vw,32px);margin:0;overflow-wrap:break-word;}
  .material figure img {max-width:195px;}
  .price-layout {grid-template-columns:1fr;gap:21px;margin-top:32px;}
  .price-copy h1 {margin-bottom:12px;}
  .price-copy p {max-width:34ch;}
  .file-data {margin-top:13px;gap:9px;}
  .file-data img {width:32px;height:32px;}
  .document-stage {height:clamp(210px,62vw,335px);}
  .document {margin-top:20px;width:61%;}
}
@media (min-width:701px) and (max-width:830px), (max-width:365px) {
  .assortment {grid-template-columns:1fr;}
}
@media (max-width:365px) {
  .material {grid-template-areas:"title" "photo" "prose";grid-template-columns:1fr;}
  .material h2 {overflow-wrap:normal;}
}
@media (max-width:355px) {
  .brand {font-size:19px;gap:5px;}
  .brand-mark {width:20px;height:22px;}
  .header-phone {font-size:11px;}
  nav a {font-size:12px;}
}
@media (max-width:319px) {
  .brand {font-size:17px;}
  nav {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;}
}
@media (prefers-reduced-motion:reduce) {
  .scene picture {transform:none;}
  nav a::after {transition:none;}
}
