/* =========================================================
   Ателье натуральной отделки — основной стиль
   ========================================================= */

/* ---------- Шрифты ---------- */
@font-face { font-family:'Cormorant Garamond'; src:url('../assets/fonts/cormorant-cyrillic-400.woff2') format('woff2'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Cormorant Garamond'; src:url('../assets/fonts/cormorant-cyrillic-400-italic.woff2') format('woff2'); font-weight:400; font-style:italic; font-display:swap; }
@font-face { font-family:'Cormorant Garamond'; src:url('../assets/fonts/cormorant-latin-400.woff2') format('woff2'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Cormorant Garamond'; src:url('../assets/fonts/cormorant-latin-400-italic.woff2') format('woff2'); font-weight:400; font-style:italic; font-display:swap; }
@font-face { font-family:'Bodoni Moda'; src:url('../assets/fonts/bodoni-latin-500.woff2') format('woff2'); font-weight:500; font-display:swap; }
@font-face { font-family:'Manrope'; src:url('../assets/fonts/manrope-cyrillic-400.woff2') format('woff2'); font-weight:400; font-display:swap; }
@font-face { font-family:'Manrope'; src:url('../assets/fonts/manrope-cyrillic-500.woff2') format('woff2'); font-weight:500; font-display:swap; }
@font-face { font-family:'Manrope'; src:url('../assets/fonts/manrope-cyrillic-700.woff2') format('woff2'); font-weight:700; font-display:swap; }
@font-face { font-family:'Manrope'; src:url('../assets/fonts/manrope-latin-400.woff2') format('woff2'); font-weight:400; font-display:swap; }
@font-face { font-family:'Manrope'; src:url('../assets/fonts/manrope-latin-500.woff2') format('woff2'); font-weight:500; font-display:swap; }
@font-face { font-family:'Manrope'; src:url('../assets/fonts/manrope-latin-700.woff2') format('woff2'); font-weight:700; font-display:swap; }

/* ---------- Токены ---------- */
:root {
  --bg: #150e0d;
  --bg-2: #1a100f;
  --panel: #211513;
  --panel-2: #281917;
  --ink: #f3e9da;
  --muted: rgba(243, 233, 218, .6);
  --muted-2: rgba(243, 233, 218, .52);
  --gold: #c9a227;
  --gold-soft: #e0c48d;
  --line: rgba(201, 162, 39, .24);
  --line-soft: rgba(243, 233, 218, .12);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --display: 'Bodoni Moda', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --pad: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
::selection { background: var(--gold); color: #1b1210; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1400px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
section[id] { scroll-margin-top: 96px; }

.skip-link { position: fixed; top: -100px; left: 16px; z-index: 300; background: var(--gold); color: #1b1210; padding: 12px 18px; font-size: 14px; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* ---------- Типографика ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 22px;
  font-size: 10px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--gold); opacity: .7; }

.display {
  font-family: var(--serif);
  font-size: clamp(3rem, 6.4vw, 6.2rem);
  line-height: 1; letter-spacing: -.01em;
  color: #f7efe2;
}
.display em { font-style: italic; color: var(--gold-soft); }

.h2 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1.04;
  color: #f5ecdd;
}
.h2 em { font-style: italic; color: var(--gold-soft); }

.lead { font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.7; color: rgba(243,233,218,.78); }
.section-lead { max-width: 600px; margin-top: 18px; color: var(--muted); }

.link {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; letter-spacing: .04em; color: rgba(243,233,218,.8);
  border-bottom: 1px solid rgba(243,233,218,.3); padding-bottom: 4px;
  transition: gap .3s var(--ease), color .3s, border-color .3s;
}
.link:hover { gap: 15px; color: #fff; border-color: var(--gold); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 32px;
  border: 1px solid transparent;
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  cursor: pointer; white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn-gold { border-color: var(--gold); color: #f0dfc0; background: transparent; }
.btn-gold:hover { background: var(--gold); color: #1b1210; }
.btn-outline { border-color: rgba(243,233,218,.35); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #1b1210; border-color: var(--ink); }
.btn-block { width: 100%; }

/* ---------- Шапка ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 90;
  color: var(--ink);
  transition: background .4s var(--ease), border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(21,14,13,.9);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 88px; }

.logo { display: inline-flex; flex-direction: column; gap: 2px; line-height: 1; }
.logo-mark { font-family: var(--display); font-size: 24px; letter-spacing: .3em; text-transform: uppercase; color: #eddcc0; }
.logo-sub { font-size: 9px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted-2); text-align: center; }
@media (max-width: 600px) {
  .logo-mark { font-size: 19px; letter-spacing: .24em; }
  .logo-sub { font-size: 8px; letter-spacing: .2em; }
}

.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; }
.nav > a:not(.btn):not(.nav-phone) { position: relative; padding: 6px 0; color: rgba(243,233,218,.72); transition: color .25s; }
.nav > a:not(.btn):not(.nav-phone):hover { color: #fff; }
.nav > a:not(.btn):not(.nav-phone)::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--gold);
  transition: width .3s var(--ease);
}
.nav > a:not(.btn):not(.nav-phone):hover::after { width: 100%; }
.nav-sep { width: 1px; height: 16px; background: var(--line-soft); }
.nav-phone { font-size: 12px; letter-spacing: .04em; color: rgba(243,233,218,.8); white-space: nowrap; }

.header-actions { display: none; align-items: center; gap: 16px; }
.header-phone { font-size: 13px; letter-spacing: .04em; }

.burger { display: none; width: 44px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
body.nav-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
body.nav-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding-top: 88px; }
.hero-grid {
  display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(28px, 5vw, 84px);
  align-items: center;
  min-height: calc(100svh - 88px);
  padding-top: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(32px, 4vw, 56px);
}
.hero-copy { max-width: 620px; }
.hero-lead { max-width: 470px; font-size: 15px; line-height: 1.75; color: var(--muted); margin: 26px 0 34px; }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.hero-note { display: flex; align-items: center; gap: 14px; margin-top: 44px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); }
.hero-aphorism { margin-top: clamp(32px, 7vh, 72px); max-width: 470px; }
.hero-note i { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); }

.hero-figure { position: relative; margin: 0; padding: 16px; }
.frame { position: absolute; inset: 0; border: 1px solid var(--line); pointer-events: none; }
.frame::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(201,162,39,.14); }
.hero-figure img { width: 100%; height: min(70vh, 700px); object-fit: cover; filter: saturate(.9) contrast(1.02); }
.hero-figure figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  display: flex; justify-content: space-between; gap: 16px;
  padding: 14px 18px; background: rgba(21,14,13,.78); backdrop-filter: blur(6px);
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.hero-figure figcaption b { font-weight: 500; color: var(--gold); }

.hero-facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding-top: 28px; padding-bottom: 34px;
  border-top: 1px solid var(--line-soft);
}
.hero-facts dt { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1; color: #f0e2c9; }
.hero-facts dd { margin: 8px 0 0; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }

/* ---------- Секции ---------- */
.section { padding: clamp(72px, 9vw, 130px) 0; }
.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }

/* ---------- Манифест ---------- */
.manifesto { background: var(--bg-2); }
.manifesto-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.manifesto-body p { color: var(--muted); margin-bottom: 20px; }
.manifesto-body .lead { color: rgba(243,233,218,.82); }

/* ---------- Техники ---------- */
.techniques-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 42px); }
.tech { display: flex; flex-direction: column; border-top: 1px solid var(--line); padding-top: 22px; }
.tech-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 20px; }
.tech-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .5s; filter: saturate(.85) contrast(1.03); }
.tech:hover .tech-img img { transform: scale(1.05); }
.tech-img span {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--display); font-size: 11px; letter-spacing: .2em;
  color: var(--gold); padding: 3px 8px; background: rgba(21,14,13,.6);
}
.tech h3 { font-family: var(--serif); font-size: clamp(1.35rem, 1.8vw, 1.7rem); margin-bottom: 8px; }
.tech p { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.tech ul { display: flex; flex-wrap: wrap; gap: 8px; }
.tech li { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(243,233,218,.55); border: 1px solid var(--line-soft); padding: 4px 9px; }

.tech-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: clamp(32px, 4vw, 52px);
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}
.tech-cta p { margin: 0; font-size: 12.5px; letter-spacing: .06em; color: var(--muted-2); }

.tech-link {
  display: inline-flex; align-items: center; align-self: flex-start; gap: 8px;
  margin-top: auto; padding-top: 14px; padding-bottom: 3px;
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); border-bottom: 1px solid rgba(201,162,39,.4);
  transition: color .25s, border-color .25s, gap .25s;
}
.tech-link:hover { color: #fff; border-color: #fff; gap: 13px; }

/* ---------- Состав ---------- */
.materials { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.materials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); }
.materials-grid--four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .materials-grid--four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .materials-grid--four { grid-template-columns: 1fr; } }
.material { border-top: 1px solid var(--line); padding-top: 24px; }
.material span { font-family: var(--display); font-size: 11px; letter-spacing: .2em; color: var(--gold); }
.material h3 { font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 2rem); margin: 12px 0 10px; }
.material p { font-size: 14px; color: var(--muted); }
.materials-note { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-soft); font-size: 12px; letter-spacing: .04em; color: var(--muted-2); }

/* ---------- Афоризмы ---------- */
.aphorism { margin: clamp(28px, 4vw, 44px) 0 0; padding-top: 20px; border-top: 1px solid var(--line-soft); max-width: 660px; }
.aphorism blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 1.85vw, 1.5rem); line-height: 1.5; color: rgba(243,233,218,.9); }
.aphorism blockquote::before { content: "«"; color: var(--gold); }
.aphorism blockquote::after { content: "»"; color: var(--gold); }
.aphorism figcaption { margin-top: 12px; font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.aphorism--wide { grid-column: 1 / -1; max-width: 960px; margin-top: clamp(36px, 5vw, 64px); }
.aphorism--wide blockquote { font-size: clamp(1.35rem, 2.4vw, 1.95rem); line-height: 1.42; }
.faq-list .aphorism { margin-top: 34px; max-width: none; }
.workshop-copy blockquote cite { display: block; margin-top: 12px; font-family: var(--body); font-style: normal; font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
@media (max-width: 900px) {
  .aphorism { margin-top: 28px; }
  .aphorism--wide { margin-top: 34px; }
}

/* ---------- Проекты ---------- */
.projects-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); }
.project { display: block; position: relative; }
.project-wide { grid-column: span 2; }
.project-img { overflow: hidden; }
.project-wide .project-img { aspect-ratio: 16 / 7.4; }
.project .project-img { aspect-ratio: 4 / 3.1; }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); filter: saturate(.85); }
.project:hover .project-img img { transform: scale(1.04); filter: saturate(1); }
.project-body { padding: 20px 0 0; display: grid; gap: 6px; }
.project-body span { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.project-body h3 { font-family: var(--serif); font-size: clamp(1.25rem, 1.8vw, 1.6rem); }
.project-body p { font-size: 12.5px; color: var(--muted-2); letter-spacing: .02em; }

/* ---------- Мастерская ---------- */
.workshop { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.workshop-grid { display: grid; grid-template-columns: 1fr 1.05fr; }
.workshop-media { position: relative; min-height: 520px; overflow: hidden; }
.workshop-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) brightness(.9); }
.workshop-bg {
  position: absolute; inset: 0;
  background-image: url('../assets/img/photos/workshop-tile.jpg');
  background-repeat: repeat;
  background-size: auto;
  background-position: 0 0;
}
.workshop-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 40%, var(--bg-2)); }
.workshop-copy { padding: clamp(48px, 7vw, 104px) var(--pad) clamp(48px, 7vw, 104px) clamp(28px, 5vw, 80px); max-width: 700px; }
.workshop-copy > p { color: var(--muted); max-width: 480px; margin-bottom: 24px; }
.workshop-copy blockquote {
  margin: 0 0 30px; padding-left: 22px; border-left: 1px solid var(--gold);
  font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.4; color: #eadcc5; max-width: 460px;
}
.workshop-facts { display: flex; gap: clamp(20px, 4vw, 46px); margin-bottom: 36px; flex-wrap: wrap; }
.workshop-facts dt { font-family: var(--serif); font-size: 1.25rem; color: #f0e2c9; }
.workshop-facts dd { margin: 4px 0 0; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }

/* ---------- Процесс ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(22px, 3vw, 44px); }
.steps li { border-top: 1px solid var(--line); padding-top: 26px; position: relative; }
.steps li > span { position: absolute; top: -8px; left: 0; padding-right: 12px; background: var(--bg); font-family: var(--display); font-size: 10px; letter-spacing: .2em; color: var(--gold); }
.steps h3 { font-family: var(--serif); font-size: 1.35rem; margin-bottom: 8px; }
.steps p { font-size: 13.5px; color: var(--muted); }

/* ---------- Галерея ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 12px; grid-auto-flow: dense; }
.shot { position: relative; padding: 0; border: 0; background: var(--panel); cursor: zoom-in; overflow: hidden; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .4s; filter: saturate(.85); }
.shot:hover img { transform: scale(1.06); filter: saturate(1) brightness(1.05); }
.shot-wide { grid-column: span 2; }
.shot-tall { grid-row: span 2; }
.shot::after { content: "＋"; position: absolute; right: 12px; bottom: 8px; color: #fff; font-size: 18px; opacity: 0; transition: opacity .3s; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.shot:hover::after, .shot:focus-visible::after { opacity: .9; }

.gallery-more { margin-top: 28px; }
.gallery-more .link { font-size: 13px; }

/* ---------- FAQ ---------- */
/* ---------- Основание ---------- */
.base-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.base .h2 { font-size: clamp(1.9rem, 2.8vw, 2.8rem); }
.base-grid .section-head { margin-bottom: 0; position: sticky; top: 110px; }
.base-copy p { color: var(--muted); margin-bottom: 22px; }
.base-list { display: grid; gap: 12px; margin: 0 0 26px; }
.base-list li { position: relative; padding-left: 20px; font-size: 14px; color: rgba(243,233,218,.8); }
.base-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border: 1px solid var(--gold); transform: rotate(45deg); }
.base-list b { color: var(--ink); font-weight: 500; }
.base-note { padding-top: 20px; border-top: 1px solid var(--line-soft); font-size: 12.5px; color: var(--muted-2); max-width: 620px; }
@media (max-width: 900px) { .base-grid { grid-template-columns: 1fr; } .base-grid .section-head { position: static; } }

.faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-grid .section-head { margin-bottom: 0; position: sticky; top: 110px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: clamp(1.05rem, 1.35vw, 1.3rem); color: #f0e5d3;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: 0 0 auto; width: 10px; height: 10px; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(-135deg); }
.faq-list details p { padding-bottom: 24px; color: var(--muted); max-width: 620px; }

/* ---------- Контакты ---------- */
.contact { background: var(--panel); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.contact-info .h2 { margin-bottom: 34px; }
.contact-list { display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.contact-list span { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); padding-top: 4px; }
.contact-list p { margin: 0; font-size: 15px; color: rgba(243,233,218,.85); }
.contact-list a { border-bottom: 1px solid transparent; transition: border-color .3s, color .3s; }
.contact-list a:hover { color: #fff; border-color: var(--gold); }

.contact-form { background: var(--bg-2); border: 1px solid var(--line); padding: clamp(26px, 3.4vw, 46px); }
.contact-form h3 { font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 1.8rem); margin-bottom: 8px; }
.form-sub { font-size: 13px; color: var(--muted-2); margin-bottom: 28px; }
.field { display: block; margin-bottom: 20px; }
.field > span { display: block; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 10px 0 12px; border: 0; border-bottom: 1px solid var(--line-soft);
  background: transparent; font: inherit; font-size: 15px; color: var(--ink); border-radius: 0;
  transition: border-color .3s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(243,233,218,.3); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 84px; }
.field.has-error input, .field.has-error textarea { border-color: #d0604a; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin: 6px 0 22px; font-size: 12px; color: var(--muted-2); }
.consent label { cursor: pointer; }
.consent a { color: var(--gold-soft); border-bottom: 1px solid rgba(201, 162, 39, .4); }
.consent a:hover { color: #fff; }
.hero-actions-offset { margin-top: 34px; }
.consent input { margin: 3px 0 0; accent-color: var(--gold); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin-top: 14px; font-size: 13px; min-height: 1em; }
.form-status.is-ok { color: #8fbf8a; }
.form-status.is-error { color: #e0836c; }

/* ---------- Подвал ---------- */
.site-footer { background: #100b0a; border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 76px) 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr; gap: clamp(28px, 5vw, 72px); padding-bottom: 46px; }
.logo-light .logo-mark { color: #eddcc0; }
.footer-brand p { margin-top: 16px; font-size: 12.5px; color: var(--muted-2); max-width: 290px; }
.footer-nav { display: flex; flex-direction: column; gap: 9px; font-size: 12.5px; letter-spacing: .06em; color: rgba(243,233,218,.65); }
.footer-nav a:hover { color: #fff; }
.footer-contact { display: flex; flex-direction: column; gap: 7px; font-size: 13px; color: rgba(243,233,218,.7); }
.footer-contact a:hover { color: #fff; }
.footer-contact p { margin: 6px 0 0; font-size: 12px; color: var(--muted-2); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line-soft); font-size: 11px; letter-spacing: .06em; color: var(--muted-2); }
.footer-bottom a { color: var(--muted-2); border-bottom: 1px solid transparent; }
.footer-bottom a:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- Документы ---------- */
.legal { max-width: 820px; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.25rem, 1.8vw, 1.55rem); margin: 34px 0 10px; color: #f0e5d3; }
.legal p, .legal li { font-size: 14px; line-height: 1.78; color: var(--muted); }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 8px 0 16px; padding-left: 18px; display: grid; gap: 7px; }
.legal a { color: var(--gold-soft); border-bottom: 1px solid rgba(201, 162, 39, .4); }
.legal a:hover { color: #fff; }
.legal-date { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line-soft); font-size: 12px; color: var(--muted-2); }

/* ---------- Лайтбокс ---------- */
.lightbox { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 12px; background: rgba(10,7,6,.96); }
.lightbox[hidden] { display: none; }
.lightbox img { height: min(84vh, 860px); width: auto; max-width: calc(100vw - 24px); object-fit: contain; }
.lightbox.is-sample img {
  height: min(84vh, 860px);
  width: auto;
  max-width: calc(100vw - 24px);
  object-fit: contain;
}
.lightbox button {
  position: absolute; z-index: 3;
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(15,11,9,.78); border: 1px solid rgba(255,255,255,.6); color: #fff;
  cursor: pointer; font-size: 22px; line-height: 1; display: grid; place-items: center;
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 28px rgba(0,0,0,.55);
  transition: background .25s, color .25s, border-color .25s, transform .2s;
}
.lightbox button:hover { background: var(--gold); color: #1b1210; border-color: var(--gold); transform: scale(1.05); }
.lightbox button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lb-close { top: 3vh; right: 3vw; }
.lb-prev { left: 2vw; top: 50%; transform: translateY(-50%); }
.lb-next { right: 2vw; top: 50%; transform: translateY(-50%); }

/* ---------- Появление ---------- */
.reveal { transition: transform .9s var(--ease); }
body.reveal-ready .reveal:not(.is-visible) { transform: translateY(24px); }

/* ---------- Адаптив ---------- */
@media (max-width: 1180px) {
  .nav { gap: 14px; }
  .nav-cta { padding: 12px 18px; }
  .techniques-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 1024px) {
  .header-inner { height: 72px; }
  .nav {
    position: fixed; inset: 0; z-index: 95;
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 8px; padding: 100px var(--pad) 48px;
    background: var(--bg); color: var(--ink);
    transform: translateY(-100%); visibility: hidden;
    transition: transform .5s var(--ease), visibility .5s;
    font-family: var(--serif); font-size: clamp(1.6rem, 5vw, 2.2rem);
    letter-spacing: 0; text-transform: none;
    overflow-y: auto;
  }
  .nav > a:not(.btn):not(.nav-phone) { padding: 9px 0; color: var(--ink); }
  .nav > a:not(.btn):not(.nav-phone)::after { display: none; }
  body.nav-open .nav { transform: translateY(0); visibility: visible; }
  .nav-sep { display: none; }
  .nav-phone { font-family: var(--sans); font-size: 15px; letter-spacing: .04em; margin-top: 20px; color: var(--ink); }
  .nav-cta { margin-top: 12px; font-family: var(--sans); font-size: 11px; }
  .header-actions { display: flex; }
  .burger { display: block; z-index: 96; }
  .header-phone { display: none; }

  .hero { padding-top: 72px; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; padding-top: 40px; }
  .hero-figure { order: -1; max-width: 640px; }
  .hero-figure img { height: 52svh; }
  .hero-facts { grid-template-columns: repeat(2, 1fr); gap: 22px; }

  .manifesto-grid { grid-template-columns: 1fr; }
  .materials-grid { grid-template-columns: 1fr; gap: 26px; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-wide { grid-column: span 1; }
  .project-wide .project-img { aspect-ratio: 4 / 3; }
  .workshop-grid { grid-template-columns: 1fr; }
  .workshop-media { min-height: 340px; order: -1; }
  .workshop-media::after { background: linear-gradient(180deg, transparent 50%, var(--bg-2)); }
  .workshop-copy { padding-left: var(--pad); }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .section-head { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
}

@media (max-width: 720px) {
  .display { font-size: clamp(2.5rem, 12vw, 3.6rem); }
  .hero-figure { padding: 10px; }
  .hero-figure img { height: 44svh; }
  .hero-figure figcaption { left: 10px; right: 10px; bottom: 10px; padding: 10px 12px; font-size: 9px; }
  .hero-note { flex-wrap: wrap; gap: 10px; margin-top: 32px; }
  .techniques-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 8px; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .workshop-facts { gap: 18px 28px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .lb-close { top: 10px; right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  body.reveal-ready .reveal:not(.is-visible) { opacity: 1; transform: none; }
}
