@font-face {
  font-family: "Golos Text";
  src: url("../fonts/golos-cyrillic.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Golos Text";
  src: url("../fonts/golos-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF,U+2000-206F,U+20AC,U+2122;
}
:root {
  --ink: #292b24;
  --muted: #53574d;
  --paper: #faf9f4;
  --green: #304e3d;
  --line: #d8d9ce;
  --serif: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--paper);
  font-family: "Golos Text", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height, 84px); }
body, figure { margin: 0; }
body { font-size: 1rem; line-height: 1.55; }
a { color: inherit; text-underline-offset: .25em; }
button, summary { font: inherit; cursor: pointer; }
button { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #a85929; outline-offset: 4px; }
.wrap { width: min(91%, 1472px); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -8rem; padding: 1rem; background: white; z-index: 5; }
.skip:focus { top: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
header {
  position: sticky;
  top: 0;
  z-index: 4;
  background: var(--paper);
}
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 68px; height: auto; }
.brand span { font: bold clamp(17px,1.45vw,24px)/1.15 var(--serif); }
.brand small { display: block; font: 10px/1.3 Arial,sans-serif; letter-spacing: 2px; margin-top: 6px; }
nav, .head-phone { display: flex; align-items: center; }
nav { gap: clamp(14px,2.3vw,40px); }
nav a, .head-phone a { text-decoration: none; }
nav a, .head-phone { padding-block: 12px; font-size: .94rem; }
.head-phone { font-weight: 600; gap: 9px; white-space: nowrap; }
.head-phone .icon { width: 16px; }
nav a:hover, .head-phone:hover, footer a:hover { text-decoration: underline; }
.menu { border: 1px solid var(--line); padding: 9px 13px; background: transparent; }
.hero { display: grid; gap: 28px; padding-block: 36px; align-items: center; }
.kicker { display: flex; align-items: center; gap: 12px; color: var(--green); font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.kicker span { display: block; width: 30px; height: 1px; background: currentColor; }
h1, h2, h3, .features strong { font-family: var(--serif); font-weight: normal; }
h1 { font-size: clamp(3rem,5.5vw,6.2rem); line-height: .99; letter-spacing: -.055em; margin: 24px 0 20px; }
h1 em { color: var(--green); font-weight: normal; }
p { color: var(--muted); }
.intro p, .split > div > p { max-width: 47ch; line-height: 1.65; margin: 0 0 26px; }
.actions, .social { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px; padding: 11px 21px; text-decoration: none; border: 1px solid transparent; border-radius: 3px; font-weight: 600; font-size: .94rem; transition: background .18s; }
.primary { background: var(--green); color: white; }
.primary:hover { background: #203d2c; }
.outline { border-color: #abad9e; }
.outline:hover { background: #eeeee4; }
.hero-photo, .hero-photo img { display: block; width: 100%; height: 100%; }
.hero-photo img { object-fit: cover; }
.hero-photo { overflow: hidden; aspect-ratio: 1.4; }
.ribbon, footer { background: var(--green); color: #fffdf1; }
.features { display: grid; padding-block: 24px; gap: 18px; }
.features > div { display: flex; align-items: center; gap: 17px; }
.features .icon { width: 34px; height: 34px; stroke-width: 1.2; color: #e4dec4; }
.features strong, .features small { display: block; }
.features strong { font-size: 1.4rem; line-height: 1.3; }
.features small { color: #e0e4d8; margin-top: 3px; font-size: .88rem; }
.section { padding-block: clamp(48px,5vw,90px); }
h2 { margin: 10px 0 28px; font-size: clamp(2.6rem,4vw,4.4rem); letter-spacing: -.055em; line-height: 1.1; }
h3 { font-size: 1.7rem; margin: 0; }
.studio, .split { display: grid; gap: 24px; }
.comparison, .gallery { display: grid; gap: clamp(8px, 1vw, 16px); }
.gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.highlights { margin-top: clamp(8px, 1vw, 16px); }
.work-photo {
  display: block;
  position: relative;
  overflow: hidden;
  background: #e5e4da;
  border-radius: 5px;
  cursor: zoom-in;
}
.work-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.comparison .work-photo img { aspect-ratio: 2 / 1; }
.stage, .zoom {
  position: absolute;
  background: var(--paper);
  color: var(--ink);
  pointer-events: none;
}
.stage {
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 2px;
  font-size: .86rem;
  font-weight: 600;
}
.comparison a:last-child .stage { background: var(--green); color: white; }
.zoom {
  right: 10px;
  bottom: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 21px/1 Arial, sans-serif;
}
.work-photo:hover .zoom, .work-photo:focus-visible .zoom { background: var(--green); color: white; }
.more { margin: 22px 0 32px; }
.more summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  min-height: 46px;
  margin-inline: auto;
  padding: 8px 24px;
  border: 1px solid #aeb5a8;
  border-radius: 3px;
  color: var(--green);
  font-weight: 600;
  list-style: none;
}
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; font-size: 1.2em; }
.more[open] summary::after { content: "−"; }
.more summary:hover { background: #eeeee5; }
.more .gallery { margin-top: 20px; }
@media (min-width: 680px) {
  .comparison { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 679px) {
  .highlights a:first-child { grid-column: 1 / -1; }
  .highlights a:first-child img { aspect-ratio: 2 / 1; }
}
.tint { background: #eeeee5; }
ol, .materials { list-style: none; padding: 0; margin: 0; }
ol { counter-reset: step; }
ol li, .materials li { border-bottom: 1px solid #c9cbbf; padding: 13px 0; }
ol li { counter-increment: step; display: flex; gap: 20px; }
ol li::before { content: counter(step,decimal-leading-zero); color: var(--green); font: italic 1.2rem var(--serif); }
.materials li { font: 1.35rem var(--serif); }
.materials small { display: block; color: var(--muted); font: .94rem/1.5 Arial,sans-serif; margin-top: 4px; }
.fabric { width: min(100%,400px); height: auto; aspect-ratio: 1.9; object-fit: cover; }
.studio article img { width: 100%; aspect-ratio: 2.2; object-fit: cover; margin-bottom: 16px; }
.studio p { margin-top: 6px; max-width: 60ch; }
address { display: grid; justify-items: start; gap: 10px; font-style: normal; margin: 0 0 24px; }
address strong { font: 1.8rem var(--serif); }
address strong a { text-decoration: none; }
address span { display: flex; align-items: center; gap: 8px; }
.social { margin-top: 18px; gap: 24px; }
.map iframe { width: 100%; height: 315px; display: block; border: 1px solid var(--line); background: #e8e9e0; margin-bottom: 10px; }
footer .wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; padding-block: 18px; }
footer p { color: inherit; }
footer a { margin-left: auto; }
dialog { background: var(--paper); color: var(--ink); border: none; width: min(470px,92vw); padding: 30px; box-shadow: 0 15px 70px #10180c40; }
dialog::backdrop { background: #111a14bb; }
dialog form { text-align: right; }
dialog form button { background: none; border: 0; font-size: 28px; min-width: 44px; min-height: 44px; }
dialog h2 { font-size: 2.4rem; }
#photo-dialog {
  width: fit-content;
  max-width: 96vw;
  max-height: 94dvh;
  padding: 0;
  border-radius: 5px;
  background: #22251f;
}
#photo-dialog form { position: absolute; top: 8px; right: 8px; }
#photo-dialog button { background: var(--paper); border-radius: 50%; }
#photo-dialog img {
  width: auto;
  height: auto;
  max-width: 96vw;
  max-height: 88vh;
  object-fit: contain;
}
@media(min-width:800px) {
  .hero { grid-template-columns: .94fr 1.13fr; gap: clamp(24px,3vw,55px); padding-block: clamp(34px,3.3vw,62px); }
  .hero-photo { aspect-ratio: auto; height: clamp(430px,36vw,610px); }
  .features { grid-template-columns: repeat(3,1fr); padding-block: 28px; gap: 0; }
  .features > div + div { border-left: 1px solid #697e6d; padding-left: clamp(24px,5vw,80px); }
  .studio { grid-template-columns: 1fr 1fr; gap: 4vw; }
  .split { grid-template-columns: .92fr 1.08fr; gap: 7%; }
}
@media(max-width:1000px) { .head-phone { display: none; } }
@media(max-width:799px) {
  .header-inner { padding-block: 14px; min-height: 68px; gap: 10px; }
  .brand img { width: 48px; }
  .brand { gap: 8px; }
  nav { width: 100%; flex-wrap: wrap; justify-content: space-between; gap: 0 12px; }
  nav a { font-size: .9rem; }
  header.ready nav:not(.open) { display: none; }
  .intro p { max-width: 49ch; }
  h1 { font-size: clamp(2.8rem,8.9vw,4.8rem); }
  .hero-photo { aspect-ratio: 1.6; }
  .studio img { max-height: 260px; }
}
@media(min-width:800px) { .menu { display: none; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } *, *::before { transition: none !important; } }


.repair { border-bottom: 1px solid var(--line); }
.repair .repair-services p { margin: 8px 0 24px; max-width: 56ch; }
.repair-services h3 { border-top: 1px solid var(--line); padding-top: 14px; }
.portfolio-social {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 22px clamp(14px, 2vw, 32px);
  background: #eeeee5;
}
.social { gap: 12px; }
.portfolio-social .social { margin: 0; }
.network { background: var(--paper); border-color: #bcbfb2; }
.network span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  color: white;
  font: bold 14px/1 Arial, sans-serif;
}
.network.vk span { background: #176bc8; }
.network.ok span { background: #af530d; }
.network:hover { background: #e7e9de; border-color: var(--green); }
