/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/show_00.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/show_01.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/show_02.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/show_03.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/show_04.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/show_05.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #111111;
  --bone: #EFECE6;
  --dust: #8A8175;
  --display: "Unbounded", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --edge: 1px solid var(--dust);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bone);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, .logo, .overlay-nav a {
  font-family: var(--display);
  font-weight: 300;
  letter-spacing: -0.03em;
  margin: 0;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus { left: 12px; top: 12px; z-index: 80; background: var(--bone); padding: 8px 12px; }

/* ——— Nav ——— */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 36px;
  color: #fff;
  background: transparent;
  transition: background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}
.nav.is-solid,
body:not(.is-home) .nav {
  background: var(--ink);
  color: var(--bone);
  box-shadow: 0 1px 0 rgba(239, 236, 230, 0.08);
}
.logo {
  font-size: 22px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.nav-links a {
  font-family: var(--body);
  font-size: 15px;
  letter-spacing: 0;
  color: inherit;
  opacity: 0.9;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { opacity: 1; }
.menu-btn {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  position: relative;
}
.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
  position: relative;
}
.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-btn span::before { top: -7px; }
.menu-btn span::after { top: 7px; }
body.menu-open .menu-btn span { background: transparent; }
body.menu-open .menu-btn span::before { top: 0; transform: rotate(45deg); }
body.menu-open .menu-btn span::after { top: 0; transform: rotate(-45deg); }

/* ——— Overlay ——— */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: #000;
  color: var(--bone);
  display: flex;
  align-items: center;
  padding: 100px 48px 48px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
body.menu-open .overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.overlay-nav { list-style: none; margin: 0; padding: 0; }
.overlay-nav a {
  display: block;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.12;
  padding: 4px 0;
}
.overlay-nav a:hover { color: #fff; }
.overlay-phones {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 16px;
}
.overlay-phones a { color: var(--dust); }
.overlay-phones a:hover { color: var(--bone); }

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #111;
  color: #fff;
}
.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  animation: ken 12s ease-out forwards;
}
@keyframes ken {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,17,17,0.28) 0%, rgba(17,17,17,0.12) 40%, rgba(17,17,17,0.55) 100%);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 0 48px 72px;
  max-width: 920px;
}
.hero-copy h1 {
  font-size: clamp(56px, 10vw, 120px);
  line-height: 0.92;
}
.hero-copy p {
  margin: 18px 0 0;
  max-width: 28em;
  font-size: 17px;
  color: rgba(239,236,230,0.88);
}
.stone-edge {
  height: 0;
  border-top: var(--edge);
}

/* ——— Chapters ——— */
.chapter {
  display: block;
  position: relative;
  min-height: 92vh;
  min-height: 92dvh;
  overflow: hidden;
  background: #1a1a1a;
  color: var(--ink);
}
.chapter-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.chapter-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.9s ease;
}
.chapter:hover .chapter-media img { transform: scale(1.04); }
.chapter-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 40px 26px;
  background: var(--bone);
  border-top: var(--edge);
}
.chapter-strip h2 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1;
}
.chapter-strip span {
  font-size: 14px;
  color: var(--dust);
}
.chapter.type {
  display: flex;
  align-items: flex-end;
  background:
    radial-gradient(1200px 600px at 18% 20%, rgba(239,236,230,0.08), transparent 55%),
    linear-gradient(165deg, #161616 0%, #1c1b19 46%, #2a2723 100%);
  color: var(--bone);
}
.chapter.type .chapter-type {
  padding: 0 48px 120px;
  max-width: 920px;
}
.chapter.type h2 {
  font-size: clamp(48px, 9vw, 104px);
  line-height: 0.92;
}
.chapter.type p {
  margin: 20px 0 0;
  max-width: 36em;
  color: rgba(239,236,230,0.72);
}
.chapter.type .chapter-strip {
  position: absolute;
}

/* ——— Inner pages ——— */
.page-hero {
  position: relative;
  min-height: 72vh;
  overflow: hidden;
  background: #111;
  color: #fff;
}
.page-hero img {
  width: 100%;
  height: 72vh;
  object-fit: cover;
}
.page-hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 40px 32px;
  background: linear-gradient(180deg, transparent, rgba(17,17,17,0.72));
}
.page-hero-copy h1 {
  font-size: clamp(44px, 7vw, 80px);
  line-height: 0.95;
}
.page-hero-copy p { margin: 10px 0 0; color: rgba(239,236,230,0.86); }

.page-type {
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  background:
    radial-gradient(900px 500px at 80% 10%, rgba(138,129,117,0.18), transparent 50%),
    #111;
  color: var(--bone);
  padding: 140px 48px 64px;
}
.page-type h1 {
  font-size: clamp(48px, 9vw, 108px);
  line-height: 0.92;
}
.page-type p {
  margin: 18px 0 0;
  max-width: 34em;
  color: rgba(239,236,230,0.72);
}

.copy {
  padding: 72px 48px;
  max-width: 1080px;
}
.copy h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 18px;
}
.copy p { max-width: 40em; margin: 0 0 16px; }
.copy ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  max-width: 40em;
  color: #333;
}
.copy li { padding-left: 18px; position: relative; }
.copy li::before {
  content: "";
  width: 7px;
  height: 1px;
  background: var(--dust);
  position: absolute;
  left: 0;
  top: 0.75em;
}

.works {
  padding: 0 24px 80px;
}
.works-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 800px) {
  .works-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}
.works figure { margin: 0; }
.works img {
  width: 100%;
  height: min(62vh, 640px);
  object-fit: cover;
  background: #ddd;
}
.works figcaption {
  padding: 12px 2px 8px;
  font-size: 13px;
  color: var(--dust);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 22px;
  border: var(--edge);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}
.btn:hover { background: var(--ink); color: var(--bone); }
.page-type .btn,
.hero-copy .btn { color: var(--bone); border-color: var(--dust); }
.page-type .btn:hover { background: var(--bone); color: var(--ink); }
.link { border-bottom: 1px solid var(--dust); padding-bottom: 2px; color: var(--dust); }
.link:hover { color: var(--ink); border-color: var(--ink); }

/* ——— Zamer ——— */
.zamer {
  padding: 140px 48px 80px;
  max-width: 1100px;
}
.zamer h1 {
  font-size: clamp(44px, 7vw, 80px);
  margin-bottom: 16px;
}
.zamer-grid {
  display: grid;
  gap: 48px;
  margin-top: 40px;
}
@media (min-width: 860px) {
  .zamer-grid { grid-template-columns: 1fr 1fr; }
}
.phone-block { margin: 0 0 22px; }
.phone-block a.num {
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 34px);
  display: block;
}
.phone-block .acts { display: flex; gap: 16px; margin-top: 6px; font-size: 13px; color: var(--dust); }
.addr { color: var(--dust); margin-top: 28px; }

form.lead { display: grid; gap: 16px; }
form.lead label { display: grid; gap: 6px; }
form.lead span { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dust); }
form.lead input,
form.lead select,
form.lead textarea {
  border: 0;
  border-bottom: var(--edge);
  background: transparent;
  padding: 10px 0;
  border-radius: 0;
  outline: none;
}
form.lead textarea { min-height: 96px; resize: vertical; }
.form-note { font-size: 13px; color: var(--dust); margin: 0; }
.form-ok { display: none; padding: 12px 0; }
.form-ok.show { display: block; }
.form-ok pre {
  white-space: pre-wrap;
  background: #e6e2da;
  padding: 12px;
  font-size: 13px;
}

/* ——— Footer ——— */
.footer {
  background: var(--ink);
  color: var(--bone);
  padding: 56px 48px 40px;
  border-top: var(--edge);
}
.footer-grid {
  display: grid;
  gap: 28px;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr; align-items: start; }
}
.foot-brand {
  font-family: var(--display);
  font-size: 28px;
  margin: 0 0 16px;
}
.footer .phones { display: flex; flex-direction: column; gap: 6px; }
.footer .phones a { color: var(--bone); }
.footer .phones span { color: var(--dust); font-size: 13px; }
.legal, .footer .ig { color: var(--dust); margin: 16px 0 0; font-size: 14px; }
.footer .ig a { color: var(--bone); border-bottom: 1px solid var(--dust); }

@media (max-width: 860px) {
  .nav { padding: 16px 18px; }
  .nav-links { display: none; }
  .hero-copy, .chapter.type .chapter-type, .copy, .page-type, .zamer, .footer { padding-left: 20px; padding-right: 20px; }
  .chapter-strip { padding: 16px 20px 18px; }
  .works { padding-left: 12px; padding-right: 12px; }
  .overlay { padding: 96px 24px 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img { animation: none; }
  .chapter-media img,
  .chapter:hover .chapter-media img { transition: none; transform: none; }
  .nav, .overlay { transition: none; }
}
