:root {
  --ink: #1a1916;
  --ink-soft: #3b3934;
  --muted: #6d6b63;
  --paper: #eceae3;
  --card: #f8f6f1;
  --sand: #d9d3c5;
  --moss: #4e5a49;
  --moss-deep: #3c4638;
  --moss-light: #cdd3c8;
  --brass: #9b7a3c;
  --brass-light: #cba966;
  --line: rgba(26, 25, 22, .16);
  --line-soft: rgba(26, 25, 22, .09);
  --line-dark: rgba(240, 236, 226, .18);
  --max: 1240px;
  --radius: 2px;
  --display: "Prata", Georgia, "Times New Roman", serif;
  --sans: "Golos Text", "Segoe UI", Arial, sans-serif;
  --shadow: 0 24px 60px rgba(26, 25, 22, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

::selection {
  background: var(--moss);
  color: #fff;
}

.container {
  width: min(var(--max), calc(100% - 56px));
  margin: auto;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 100;
  background: var(--card);
  padding: 12px 18px;
}

.skip-link:focus {
  top: 12px;
}

/* Верхняя строка */

.source-strip {
  background: var(--ink);
  color: #cfcdc5;
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.source-strip .container {
  min-height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.source-strip a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Шапка */

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(236, 234, 227, .9);
  backdrop-filter: blur(18px) saturate(1.1);
  border-bottom: 1px solid var(--line-soft);
}

.nav {
  height: 86px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-right: auto;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid var(--ink);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: .82rem;
  letter-spacing: .1em;
  transition: background .3s, color .3s;
}

.brand:hover .brand-mark {
  background: var(--ink);
  color: var(--card);
}

.brand-copy strong, .brand-copy small {
  display: block;
}

.brand-copy strong {
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .18em;
}

.brand-copy small {
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--muted);
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: .78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .11em;
}

.navlinks a {
  position: relative;
  padding: 10px 0;
  color: var(--ink-soft);
  transition: color .25s;
}

.navlinks a:hover,
.navlinks a[aria-current="page"] {
  color: var(--ink);
}

.navlinks a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 4px;
  height: 1px;
  background: var(--moss);
  transition: right .3s;
}

.navlinks a:hover:after,
.navlinks a[aria-current="page"]:after {
  right: 0;
}

.nav-cta {
  border: 1px solid var(--ink);
  padding: 12px 16px;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .02em;
  transition: background .25s, color .25s;
}

.nav-cta:hover {
  background: var(--ink);
  color: var(--card);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--ink);
  padding: 11px 14px;
  text-transform: uppercase;
  font-size: .74rem;
  letter-spacing: .1em;
}

/* Первый экран */

.hero {
  min-height: calc(100vh - 126px);
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  padding: clamp(44px, 4.6vw, 68px) clamp(34px, 6vw, 94px) clamp(40px, 4.2vw, 60px) max(28px, calc((100vw - var(--max))/2));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow, .kicker {
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .7rem;
  font-weight: 600;
  color: var(--brass);
  margin: 0;
}

.hero h1, .page-hero h1, .display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -.015em;
  line-height: .96;
  margin: 22px 0;
  font-size: clamp(2.6rem, 4.4vw, 4.5rem);
}

.hero h1 em, .page-hero h1 em {
  font-style: normal;
  color: var(--moss);
}

.hero-lede {
  font-size: clamp(1.02rem, 1.15vw, 1.18rem);
  max-width: 520px;
  color: var(--ink-soft);
  margin: 0;
}

.hero-actions, .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--ink);
  text-transform: uppercase;
  font-size: .74rem;
  letter-spacing: .12em;
  font-weight: 600;
  transition: background .25s, color .25s, border-color .25s;
}

.btn:hover {
  background: var(--ink);
  color: var(--card);
}

.btn.primary {
  background: var(--moss);
  border-color: var(--moss);
  color: #f4f2ec;
}

.btn.primary:hover {
  background: var(--moss-deep);
  border-color: var(--moss-deep);
}

.btn.light {
  background: var(--card);
  border-color: var(--card);
  color: var(--ink);
}

.btn.light:hover {
  background: transparent;
  color: var(--card);
  border-color: currentColor;
}

.hero-visual {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background: var(--sand);
}

.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(16, 15, 13, .6));
}

.image-note {
  position: absolute;
  z-index: 2;
  left: 28px;
  right: 28px;
  bottom: 26px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

/* Полоса фактов — в подвале первого экрана */

.fact-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.fact {
  padding: 24px clamp(20px, 2.4vw, 34px);
  border-right: 1px solid var(--line-soft);
}

.fact:last-child {
  border-right: 0;
}

.fact strong {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.85rem;
  line-height: 1.25;
}

.fact span {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--muted);
}

/* Секции */

.section {
  padding: clamp(76px, 9vw, 132px) 0;
}

.section.compact {
  padding: clamp(56px, 7vw, 92px) 0;
}

.section.dark {
  background: var(--ink);
  color: #edeae1;
}

.section.dark .kicker {
  color: var(--brass-light);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  margin-bottom: 52px;
}

.section.dark .section-head {
  border-top-color: var(--line-dark);
}

.section-head h2, .section h2 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.1vw, 3.2rem);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -.015em;
  margin: 14px 0 0;
}

.section-head p {
  max-width: 400px;
  color: var(--muted);
  margin: 0 0 8px;
}

.section.dark .section-head p {
  color: #b6b3aa;
}

.section-head a {
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  font-size: .82rem;
  color: var(--ink-soft);
  transition: border-color .25s, color .25s;
}

.section-head a:hover {
  color: var(--moss);
  border-color: var(--moss);
}

/* Услуги на главной */

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  padding: 30px 30px 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  transition: border-color .3s, transform .3s;
}

.service-card:hover {
  border-color: var(--moss);
  transform: translateY(-3px);
}

.service-card.featured {
  background: var(--moss);
  border-color: var(--moss);
  color: #f1f3ee;
}

.service-card.featured:hover {
  border-color: var(--moss-deep);
  background: var(--moss-deep);
}

.service-card .tag {
  font-size: .66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--moss-light);
}

.service-card.featured p {
  color: #dde2d8;
}

.service-card.featured strong {
  border-top-color: rgba(241, 243, 238, .28);
}

.service-card h3 {
  font-size: 1.32rem;
  font-weight: 500;
  letter-spacing: -.01em;
  margin: 0 0 8px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.service-card strong {
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
}

.notice {
  border-left: 2px solid var(--moss);
  padding: 18px 22px;
  background: var(--card);
  font-size: .92rem;
  color: var(--ink-soft);
}

/* Блок проекта */

.project-slice {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 14px;
}

.project-copy {
  padding: clamp(34px, 4vw, 52px);
  background: var(--moss);
  color: #f1f3ee;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}

.project-copy .kicker {
  color: var(--moss-light);
}

.project-copy h2 {
  font-size: clamp(2rem, 3.2vw, 3.3rem);
}

.project-copy p {
  max-width: 420px;
  color: #dde2d8;
}

.project-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: clamp(230px, 25vw, 330px) clamp(150px, 16vw, 215px);
  gap: 14px;
}

.project-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-images img:first-child {
  grid-row: span 2;
}

/* Отзывы */

/* Полоса с принципом */

.statement-band {
  background: var(--card);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.statement-band .container {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  align-items: stretch;
  gap: clamp(32px, 5vw, 76px);
  padding: 0;
  width: min(var(--max), calc(100% - 56px));
}

.statement-media {
  overflow: hidden;
  max-height: 460px;
}

.statement-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.statement-copy {
  padding: clamp(48px, 6vw, 84px) 0;
  align-self: center;
}

.statement {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.1vw, 2.15rem);
  line-height: 1.24;
  letter-spacing: -.015em;
  margin: 18px 0 22px;
  max-width: 660px;
}

.statement-note {
  color: var(--muted);
  max-width: 480px;
  margin: 0;
}

/* Отзывы */

.reviews-layout {
  display: grid;
  grid-template-columns: .32fr .68fr;
  gap: 14px;
  align-items: stretch;
}

.rating-card {
  background: var(--ink);
  color: #edeae1;
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rating-card strong {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.4rem, 5vw, 4.6rem);
  line-height: 1;
}

.rating-card .stars {
  color: var(--brass-light);
  letter-spacing: .2em;
  font-size: .95rem;
  margin: 12px 0 16px;
}

.rating-card p {
  margin: 0;
  color: #b6b3aa;
  font-size: .9rem;
}

.reviews-carousel {
  background: var(--card);
  border: 1px solid var(--line-soft);
  padding: clamp(32px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-slide {
  display: none;
  min-height: 190px;
}

.review-slide.is-active {
  display: block;
}

.review-slide p {
  font-family: var(--display);
  font-size: clamp(1.2rem, 1.8vw, 1.7rem);
  line-height: 1.28;
  letter-spacing: -.01em;
  margin: 0 0 24px;
}

.review-slide small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .7rem;
}

.reviews-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}

.review-arrow {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background .25s, color .25s, border-color .25s;
}

.review-arrow:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--card);
}

.review-counter {
  min-width: 46px;
  font-size: .74rem;
  letter-spacing: .12em;
  color: var(--muted);
}

/* Полоса призыва */

.cta-band {
  background: var(--moss);
  color: #f2f4ef;
  padding: clamp(34px, 4.4vw, 58px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.cta-band h2 {
  font-size: clamp(1.7rem, 2.7vw, 2.8rem);
  margin: 0;
  max-width: 720px;
}

.cta-band .actions {
  margin-top: 0;
}

/* Шапка внутренних страниц */

.page-hero {
  min-height: clamp(380px, 54vh, 520px);
  display: grid;
  grid-template-columns: 1fr clamp(320px, 48vw, 700px);
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}

.page-hero .container {
  width: auto;
  margin: 0;
  padding: clamp(52px, 6vw, 88px) clamp(34px, 5vw, 72px) clamp(52px, 6vw, 88px) max(28px, calc((100vw - var(--max))/2));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-hero h1 {
  font-size: clamp(2.3rem, 3.8vw, 3.9rem);
  margin: 18px 0 24px;
}

.page-hero .intro {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin: 0;
  max-width: 520px;
}

.page-hero-media {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  background: var(--sand);
}

.page-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Прайс */

.price-table {
  border-top: 1px solid var(--line);
}

.price-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  gap: 32px;
  padding: 30px 16px;
  margin: 0 -16px;
  border-bottom: 1px solid var(--line-soft);
  align-items: center;
  transition: background .25s;
}

.price-row:hover {
  background: var(--card);
}

.price-row h2 {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -.01em;
  font-size: 1.45rem;
  line-height: 1.25;
  margin: 0;
}

.price-row p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

.price-row strong {
  font-size: 1.1rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Этапы работы */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.process-card {
  background: #232219;
  border: 1px solid rgba(240, 236, 226, .12);
  padding: 32px 28px 36px;
  min-height: 264px;
  display: flex;
  flex-direction: column;
  transition: border-color .3s;
}

.process-card:hover {
  border-color: var(--brass);
}

.process-card span {
  color: var(--brass-light);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
}

.process-card h3 {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.2;
  margin: 18px 0 12px;
}

.process-card p {
  color: #b6b3aa;
  margin: 0;
  font-size: .95rem;
}

/* Галерея */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.filter {
  background: transparent;
  border: 1px solid var(--line);
  padding: 12px 20px;
  cursor: pointer;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  transition: background .25s, color .25s, border-color .25s;
}

.filter:hover {
  border-color: var(--ink);
}

.filter.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--card);
}

.gallery {
  columns: 3;
  column-gap: 14px;
}

.gallery-item {
  margin: 0 0 14px;
  position: relative;
  overflow: hidden;
  background: var(--sand);
  cursor: zoom-in;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}

.gallery-item.hidden {
  display: none;
}

.gallery-item img {
  width: 100%;
  height: auto;
  transition: transform .6s cubic-bezier(.2, .7, .3, 1);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 46px 20px 18px;
  color: #fff;
  background: linear-gradient(transparent, rgba(20, 19, 16, .82));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s, transform .3s;
}

.gallery-item figcaption span {
  display: block;
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--brass-light);
  margin-bottom: 5px;
}

.gallery-item figcaption b {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1.25;
}

.gallery-item:hover figcaption,
.gallery-item:focus-visible figcaption {
  opacity: 1;
  transform: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(16, 15, 13, .95);
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 42px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
}

/* О студии */

.about-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 64px;
}

.portrait-card {
  position: sticky;
  top: 130px;
  padding: clamp(32px, 3.4vw, 44px);
  background: var(--ink);
  color: #edeae1;
}

.portrait-card .kicker {
  color: var(--brass-light);
}

.portrait-card img {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 28px;
}

.portrait-card h2 {
  font-size: clamp(2rem, 2.6vw, 2.7rem);
  margin: 14px 0 12px;
}

.portrait-card p {
  color: #b6b3aa;
}

.portrait-card .btn {
  margin-top: 12px;
}

.about-copy>p {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.42;
  margin: 0;
}

.principles {
  border-top: 1px solid var(--line);
  margin-top: 44px;
}

.principle {
  padding: 24px 0;
  border-bottom: 1px solid var(--line-soft);
}

.principle h3 {
  margin: 0 0 7px;
  font-size: 1.18rem;
  font-weight: 500;
}

.principle p {
  margin: 0;
  color: var(--muted);
}

/* Контакты */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-panel {
  padding: clamp(30px, 3.6vw, 48px);
  background: var(--card);
  border: 1px solid var(--line-soft);
}

.contact-panel h2 {
  font-size: clamp(1.7rem, 2.5vw, 2.6rem);
  margin: 14px 0 26px;
}

.contact-panel.dark {
  background: var(--ink);
  border-color: var(--ink);
  color: #edeae1;
}

.contact-panel.dark .kicker {
  color: var(--brass-light);
}

.contact-links {
  border-top: 1px solid var(--line);
}

.contact-link {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
  transition: padding-left .25s;
}

.contact-link:hover {
  padding-left: 8px;
}

.contact-link span {
  font-size: 1.05rem;
}

.contact-link b {
  color: var(--moss);
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  white-space: nowrap;
}

.hours {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 25px;
  margin: 24px 0 0;
  font-size: .95rem;
}

.hours span {
  color: var(--muted);
}

.hours b {
  font-weight: 500;
}

.map-card {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  background: var(--moss);
  border-color: var(--moss);
  color: #f1f3ee;
}

.map-card .kicker {
  color: var(--moss-light);
}

.map-card p {
  color: #dde2d8;
}

/* Подвал */

.footer {
  background: #131210;
  color: #cfcdc5;
  padding: 76px 0 90px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
}

.footer .brand {
  margin-right: 0;
  margin-bottom: 18px;
}

.footer .brand-mark {
  border-color: rgba(240, 236, 226, .4);
  color: #edeae1;
}

.footer .brand:hover .brand-mark {
  background: #edeae1;
  color: var(--ink);
}

.footer .brand-copy strong {
  color: #edeae1;
}

.footer .brand-copy small {
  color: #8b887f;
}

.footer h4 {
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: #8b887f;
  margin: 0 0 16px;
}

.footer p {
  color: #a3a099;
  max-width: 320px;
  font-size: .95rem;
}

.footer-grid a:not(.brand), .footer-grid>div>span {
  display: block;
  margin: 9px 0;
  font-size: .95rem;
}

.footer-grid a:not(.brand) {
  color: #cfcdc5;
  transition: color .25s;
}

.footer-grid a:not(.brand):hover {
  color: #fff;
}

.footer span span {
  display: inline;
  margin: 0;
}

.footer-bottom {
  border-top: 1px solid #2e2c28;
  margin-top: 56px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  font-size: .74rem;
  letter-spacing: .06em;
  color: #8b887f;
}

.mobile-bar {
  display: none;
}

/* Появление при скролле */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

:focus-visible {
  outline: 2px solid var(--moss);
  outline-offset: 3px;
}

.section.dark :focus-visible,
.footer :focus-visible {
  outline-color: var(--brass-light);
}

@media (max-width: 1080px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery {
    columns: 2;
  }
}

@media (max-width: 980px) {
  .navlinks, .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .navlinks.open {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    top: 126px;
    left: 0;
    right: 0;
    height: calc(100vh - 126px);
    background: var(--paper);
    padding: 34px 28px;
    z-index: 50;
    font-size: 1.1rem;
    letter-spacing: .08em;
  }

  .navlinks.open a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    padding: clamp(48px, 8vw, 72px) 28px;
  }

  .hero-visual {
    min-height: 62vh;
  }

  .fact-rail {
    grid-template-columns: 1fr 1fr;
  }

  .fact:nth-child(2) {
    border-right: 0;
  }

  .fact:nth-child(-n+2) {
    border-bottom: 1px solid var(--line-soft);
  }

  .project-slice, .about-grid, .reviews-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .statement-band .container {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .statement-media {
    max-height: 320px;
  }

  .statement-copy {
    padding: 40px 0 48px;
  }

  .reviews-layout {
    gap: 14px;
  }

  .rating-card {
    flex-direction: row;
    align-items: baseline;
    gap: 20px;
    flex-wrap: wrap;
  }

  .rating-card .stars {
    margin: 0;
  }

  .portrait-card {
    position: static;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    grid-template-columns: 1fr;
  }

  .page-hero .container {
    padding: clamp(44px, 7vw, 68px) 28px;
  }

  .page-hero-media {
    min-height: 300px;
    max-height: 46vh;
  }

  .price-row {
    grid-template-columns: 1fr auto;
    gap: 8px 24px;
    align-items: start;
  }

  .price-row p {
    grid-column: 1/-1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, var(--max));
  }

  .source-strip {
    font-size: .66rem;
  }

  .source-strip .container {
    min-height: 42px;
  }

  .source-strip span:last-child {
    display: none;
  }

  .nav {
    height: 74px;
  }

  .brand-copy small {
    display: none;
  }

  .navlinks.open {
    top: 116px;
    height: calc(100vh - 116px);
  }

  .hero h1 {
    font-size: clamp(2.9rem, 13vw, 4.6rem);
  }

  .hero-visual {
    min-height: 460px;
  }

  .image-note {
    right: 16px;
    left: 16px;
    bottom: 16px;
    padding: 14px 16px 12px;
  }

  .fact {
    padding: 20px 18px;
  }

  .fact strong {
    font-size: 1.55rem;
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    display: block;
  }

  .section-head p, .section-head a {
    margin-top: 18px;
    display: inline-block;
  }

  .service-card {
    padding: 26px 22px 30px;
  }

  .project-images {
    grid-template-rows: 260px 170px;
  }

  .project-images img:first-child {
    grid-column: span 2;
    grid-row: auto;
  }

  .cta-band {
    display: block;
    padding: 30px 22px 34px;
  }

  .page-hero .container {
    padding: 48px 16px 44px;
  }

  .page-hero h1 {
    font-size: clamp(2.8rem, 12.5vw, 4.4rem);
  }

  .page-hero-media {
    min-height: 240px;
  }

  .price-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 24px 12px;
  }

  .price-row h2 {
    font-size: 1.22rem;
  }

  .price-row strong, .price-row p {
    grid-column: 1;
  }

  .process-grid, .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .process-card {
    min-height: 0;
  }

  .contact-panel {
    min-width: 0;
  }

  .contact-panel h2 {
    overflow-wrap: anywhere;
  }

  .contact-link {
    flex-wrap: wrap;
    gap: 4px;
  }

  .gallery {
    columns: 1;
  }

  .gallery-item {
    margin-bottom: 10px;
  }

  .gallery-item figcaption {
    opacity: 1;
    transform: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    display: block;
  }

  .mobile-bar {
    position: fixed;
    z-index: 60;
    bottom: 0;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--card);
    border-top: 1px solid var(--line);
    padding: 8px calc(8px + env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) calc(8px + env(safe-area-inset-left));
    gap: 6px;
  }

  .mobile-bar a {
    display: grid;
    place-items: center;
    min-height: 46px;
    background: var(--ink);
    color: var(--card);
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .1em;
  }

  .mobile-bar a:nth-child(2) {
    background: var(--moss);
  }

  body {
    padding-bottom: 64px;
  }

  .lightbox {
    padding: 20px;
  }

  .footer {
    padding-bottom: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    scroll-behavior: auto!important;
    animation: none!important;
    transition: none!important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
