@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;1,500&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --ink: #1c211d;
  --primary: #234536;
  --primary-strong: #173126;
  --secondary: #66745e;
  --border: #d9d3c7;
  --paper: #f5f2ea;
  --surface: #fffdf8;
  --muted: #706f68;
  --clay: #9a5f3a;
  --error: #a9362b;
  --focus: #86a997;
  --container: 1440px;
  --gutter: clamp(20px, 4vw, 72px);
  --section: clamp(72px, 9vw, 136px);
  --shadow: 0 20px 60px rgba(23, 49, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: 16px;
  padding: 12px 16px;
  background: var(--surface);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: none;
}

.container {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section);
}

.section--surface {
  background: var(--surface);
}

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

.section--tight {
  padding-block: clamp(48px, 6vw, 80px);
}

.eyebrow,
.meta,
.project-card__type,
.service-number,
.breadcrumb,
.fact-label {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: var(--primary);
}

.eyebrow::before {
  width: 36px;
  height: 1px;
  content: '';
  background: currentColor;
}

.section--dark .eyebrow,
.hero--dark .eyebrow {
  color: #bac9c0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.035em;
}

h1 {
  max-width: 12ch;
  margin-bottom: 28px;
  font-size: clamp(44px, 6vw, 88px);
  font-weight: 500;
  line-height: 0.99;
}

h2 {
  max-width: 16ch;
  margin-bottom: 28px;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 500;
  line-height: 1.06;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(23px, 2.2vw, 31px);
  font-weight: 600;
  line-height: 1.2;
}

.lead {
  max-width: 62ch;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.48;
}

.measure {
  max-width: 70ch;
}

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

.display-serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 500;
  line-height: 1;
}

.btn {
  --button-sheen: rgba(255, 255, 255, 0.25);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.btn::after {
  position: absolute;
  z-index: 1;
  top: -55%;
  bottom: -55%;
  left: -32%;
  width: 18%;
  content: '';
  background: linear-gradient(90deg, transparent, var(--button-sheen), transparent);
  pointer-events: none;
  transform: translateX(-220%) skewX(-18deg);
  animation: button-sheen 7.2s ease-in-out infinite;
}

@keyframes button-sheen {
  0%, 72% {
    transform: translateX(-220%) skewX(-18deg);
  }

  84%, 100% {
    transform: translateX(760%) skewX(-18deg);
  }
}

.btn--primary {
  color: #fff;
  background: var(--primary);
}

.btn--primary:hover {
  background: var(--primary-strong);
}

.btn--light {
  --button-sheen: rgba(35, 69, 54, 0.13);
  color: var(--ink);
  background: var(--surface);
}

.btn--outline {
  --button-sheen: rgba(35, 69, 54, 0.11);
  color: var(--ink);
  border-color: currentColor;
  background: transparent;
}

.section--dark .btn--outline,
.hero--dark .btn--outline {
  --button-sheen: rgba(255, 255, 255, 0.22);
  color: var(--surface);
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 700;
}

.text-link::after {
  content: '↗';
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translate(2px, -2px);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.concept-bar {
  padding: 8px var(--gutter);
  color: #e9eee9;
  background: var(--primary-strong);
  font-size: 12px;
  text-align: center;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(217, 211, 199, 0.8);
  background: rgba(245, 242, 234, 0.94);
  backdrop-filter: blur(16px);
}

.nav {
  display: grid;
  min-height: 82px;
  grid-template-columns: minmax(180px, 1fr) auto auto auto auto;
  align-items: center;
  gap: clamp(16px, 1.8vw, 28px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
}

.brand__name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand__descriptor {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
}

.nav__links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.nav__links a[aria-current='page'],
.nav__links a:hover {
  color: var(--primary);
}

.header-phone {
  display: grid;
  margin-left: clamp(16px, 2vw, 36px);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-align: right;
  text-decoration: none;
  white-space: nowrap;
}

.header-phone span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-phone:hover {
  color: var(--primary);
}

.header-messengers {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-messenger {
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--primary);
  background: rgba(35, 69, 54, 0.05);
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.header-messenger:hover {
  border-color: var(--primary);
  color: var(--surface);
  background: var(--primary);
}

.header-messenger svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 20px;
  height: 1px;
  margin: 5px auto;
  content: '';
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded='true'] span {
  opacity: 0;
}

.menu-toggle[aria-expanded='true']::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded='true']::after {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(850px, calc(100dvh - 114px));
  overflow: hidden;
  background: var(--ink);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(100%, var(--container));
  min-height: inherit;
  display: flex;
  align-items: center;
  margin-inline: auto;
  padding: clamp(64px, 8vw, 120px) var(--gutter);
  color: var(--surface);
}

.hero__inner {
  max-width: 690px;
}

.hero__inner h1,
.hero__inner .lead,
.hero__inner .eyebrow {
  text-shadow: 0 2px 18px rgba(8, 14, 11, 0.38);
}

.hero__content .lead {
  color: #d8ddd9;
}

.hero__media {
  position: absolute;
  z-index: -2;
  inset: 0;
  margin: 0;
  overflow: hidden;
}

.hero__media::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: '';
  background: transparent;
}

.hero__media picture {
  display: contents;
}

.hero__media img {
  position: absolute;
  inset: -8% 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
  object-position: center;
  transform: translate3d(0, var(--hero-shift, 0px), 0) scale(1.015);
  will-change: transform;
}

.hero__caption {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 20px;
  max-width: 340px;
  padding: 11px 14px;
  color: var(--surface);
  background: rgba(28, 33, 29, 0.84);
  font-size: 12px;
}

.proof-line {
  display: grid;
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: var(--gutter);
  border-bottom: 1px solid var(--border);
  grid-template-columns: repeat(3, 1fr);
}

.proof-line__item {
  min-height: 120px;
  padding: 30px clamp(20px, 2.2vw, 32px);
  border-right: 1px solid var(--border);
}

.proof-line__item:first-child {
  padding-left: 0;
}

.proof-line__item:last-child {
  padding-right: 0;
  border-right: 0;
}

.proof-line strong {
  display: block;
  margin-bottom: 5px;
  font-size: 18px;
}

.intro-grid,
.split,
.case-feature,
.contact-grid,
.footer-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(20px, 2vw, 32px);
}

.intro-grid__title {
  grid-column: 1 / span 5;
}

.intro-grid__copy {
  grid-column: 7 / -1;
}

.scenario-grid {
  display: grid;
  margin-top: 64px;
  border-top: 1px solid var(--border);
  grid-template-columns: repeat(3, 1fr);
}

.scenario {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-right: 1px solid var(--border);
}

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

.scenario__number {
  margin-bottom: 72px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 700;
}

.scenario p {
  color: var(--muted);
}

.scenario .text-link {
  margin-top: auto;
}

.service-list {
  margin: 56px 0 0;
  padding: 0;
  border-top: 1px solid rgba(255, 253, 248, 0.32);
  list-style: none;
}

.service-list li {
  display: grid;
  grid-template-columns: 80px minmax(220px, 0.8fr) 1.2fr;
  gap: 24px;
  align-items: start;
  padding: 27px 0;
  border-bottom: 1px solid rgba(255, 253, 248, 0.24);
}

.service-list h3 {
  margin: 0;
  font-size: 24px;
}

.service-list p {
  margin: 0;
  color: #c6ccc8;
}

.service-number {
  color: #a9bbb0;
}

.case-feature__media {
  grid-column: 1 / span 7;
}

.case-feature__body {
  grid-column: 9 / -1;
  align-self: center;
}

.case-feature--reverse .case-feature__body {
  grid-column: 1 / span 4;
}

.case-feature--reverse {
  margin-top: 64px;
}

.case-feature--reverse .case-feature__media {
  grid-column: 6 / -1;
}

.case-feature__media img {
  height: 100%;
  aspect-ratio: auto;
}

.case-feature__body ul,
.check-list {
  padding-left: 20px;
}

.case-feature__body li,
.check-list li {
  margin-bottom: 8px;
}

.media-frame {
  position: relative;
  overflow: hidden;
  background: #dcd7ca;
}

.media-frame img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 300ms ease;
}

a.media-frame:hover img,
.project-card:hover .media-frame img {
  transform: scale(1.018);
}

.media-label {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 8px 10px;
  color: var(--ink);
  background: var(--surface);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process-grid {
  display: grid;
  margin-top: 56px;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.process-card {
  padding: 28px 0;
  border-top: 1px solid var(--border);
}

.process-card__number {
  display: block;
  margin-bottom: 48px;
  color: var(--clay);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 44px;
}

.process-card p {
  color: var(--muted);
}

.project-grid {
  display: grid;
  margin-top: 48px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(38px, 6vw, 88px) clamp(20px, 4vw, 56px);
}

.project-card {
  text-decoration: none;
}

.project-card:nth-child(even) {
  margin-top: 80px;
}

.project-card__body {
  padding-top: 18px;
}

.project-card__type {
  color: var(--muted);
}

.project-card h3 {
  margin: 8px 0;
}

.project-card p {
  max-width: 54ch;
  color: var(--muted);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.filter {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.filter[aria-pressed='true'],
.filter:hover {
  color: var(--surface);
  border-color: var(--primary);
  background: var(--primary);
}

.price-factors {
  display: grid;
  margin: 48px 0;
  border-top: 1px solid rgba(255, 253, 248, 0.25);
  grid-template-columns: repeat(2, 1fr);
}

.price-factors div {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 253, 248, 0.25);
}

.price-factors div:nth-child(odd) {
  padding-right: 24px;
}

.price-factors div:nth-child(even) {
  padding-left: 24px;
  border-left: 1px solid rgba(255, 253, 248, 0.25);
}

.page-hero {
  padding: clamp(72px, 9vw, 132px) 0 clamp(58px, 7vw, 100px);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  max-width: 14ch;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 42px;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--primary);
}

.fact-grid {
  display: grid;
  margin-top: 48px;
  border-top: 1px solid var(--border);
  grid-template-columns: repeat(4, 1fr);
}

.fact {
  min-height: 150px;
  padding: 24px 22px 24px 0;
  border-right: 1px solid var(--border);
}

.fact + .fact {
  padding-left: 22px;
}

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

.fact-label {
  display: block;
  margin-bottom: 18px;
  color: var(--muted);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.gallery figure {
  margin: 0;
}

.gallery figure:nth-child(1),
.gallery figure:nth-child(4) {
  grid-column: span 7;
}

.gallery figure:nth-child(2),
.gallery figure:nth-child(3) {
  grid-column: span 5;
}

.gallery img {
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.gallery figcaption {
  padding-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.timeline {
  margin: 48px 0 0;
  padding: 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 84px 0.8fr 1.2fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.timeline h3,
.timeline p {
  margin: 0;
}

.contact-grid__intro {
  grid-column: 1 / span 5;
}

.contact-grid__form {
  grid-column: 7 / -1;
}

.contact-list {
  margin: 36px 0 0;
  padding: 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.contact-list span:first-child {
  color: var(--muted);
  font-size: 13px;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field--wide {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--ink);
  background: var(--surface);
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--primary);
  outline: 3px solid rgba(134, 169, 151, 0.45);
  outline-offset: 1px;
}

.checkbox {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  margin: 20px 0;
  font-size: 13px;
}

.checkbox input {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
}

.form-note,
.form-status {
  color: var(--muted);
  font-size: 13px;
}

.form-status {
  min-height: 24px;
  margin-top: 14px;
  color: var(--primary);
  font-weight: 700;
}

.cta-band {
  padding-block: clamp(64px, 8vw, 110px);
  color: var(--surface);
  background: var(--primary);
}

.cta-band__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: end;
}

.cta-band h2 {
  max-width: 18ch;
  margin: 0;
}

.cta-band p {
  color: #d8e0db;
}

.site-footer {
  padding: 72px 0 34px;
  color: #d6dcd8;
  background: var(--ink);
}

.footer-grid__brand {
  grid-column: 1 / span 5;
}

.footer-grid__links {
  grid-column: 7 / span 2;
}

.footer-grid__contacts {
  grid-column: 10 / -1;
}

.site-footer h3 {
  color: var(--surface);
  font-size: 20px;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin-bottom: 9px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 253, 248, 0.22);
  font-size: 12px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 300ms ease, transform 300ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1240px) {
  .nav {
    grid-template-columns: 1fr auto auto auto;
  }

  .header-phone {
    margin-left: 0;
  }

  .nav__links,
  .nav > .btn {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav__links.is-open {
    position: fixed;
    inset: 114px 0 0;
    display: flex;
    overflow: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 34px var(--gutter) 64px;
    background: var(--paper);
  }

  .nav__links.is-open a {
    min-height: 64px;
    border-bottom: 1px solid var(--border);
    font-size: 22px;
  }

  .hero {
    min-height: min(760px, calc(100dvh - 114px));
  }

  .hero__inner {
    max-width: none;
    margin: 0;
  }

  .hero__media {
    min-height: 0;
  }

  .case-feature__media {
    grid-column: 1 / span 7;
  }

  .case-feature__body {
    grid-column: 8 / -1;
  }
}

@media (max-width: 780px) {
  body {
    font-size: 16px;
  }

  .brand__descriptor {
    display: none;
  }

  .header-phone span {
    display: none;
  }

  .nav {
    min-height: 72px;
    gap: 12px;
  }

  .nav__links.is-open {
    inset: 104px 0 0;
  }

  .hero__content {
    min-height: 680px;
    align-items: flex-end;
    padding-block: 96px 112px;
  }

  .hero__media {
    min-height: 0;
  }

  .hero__media img {
    inset: 0 0 auto;
    height: 116%;
    object-position: center top;
  }

  .hero__caption {
    right: var(--gutter);
    bottom: 18px;
    left: var(--gutter);
    max-width: none;
  }

  .proof-line,
  .scenario-grid,
  .process-grid,
  .project-grid,
  .price-factors,
  .fact-grid,
  .form-grid,
  .cta-band__grid {
    grid-template-columns: 1fr;
  }

  .proof-line__item,
  .proof-line__item:last-child,
  .scenario,
  .scenario:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .proof-line__item {
    min-height: 0;
    padding: 24px 0;
  }

  .intro-grid__title,
  .intro-grid__copy,
  .case-feature__media,
  .case-feature__body,
  .contact-grid__intro,
  .contact-grid__form,
  .footer-grid__brand,
  .footer-grid__links,
  .footer-grid__contacts {
    grid-column: 1 / -1;
  }

  .intro-grid__copy,
  .case-feature__body,
  .contact-grid__form,
  .footer-grid__links,
  .footer-grid__contacts {
    margin-top: 22px;
  }

  .case-feature--reverse .case-feature__media,
  .case-feature--reverse .case-feature__body {
    grid-column: 1 / -1;
  }

  .case-feature--reverse .case-feature__media {
    order: -1;
  }

  .case-feature__media img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .scenario-grid {
    margin-top: 42px;
  }

  .scenario {
    min-height: 0;
  }

  .scenario__number {
    margin-bottom: 38px;
  }

  .service-list li,
  .timeline li {
    grid-template-columns: 48px 1fr;
  }

  .service-list p,
  .timeline p {
    grid-column: 2;
  }

  .process-card__number {
    margin-bottom: 22px;
  }

  .project-card:nth-child(even) {
    margin-top: 0;
  }

  .price-factors div,
  .price-factors div:nth-child(odd),
  .price-factors div:nth-child(even) {
    padding: 18px 0;
    border-left: 0;
  }

  .fact,
  .fact + .fact {
    min-height: 0;
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

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

  .gallery figure:nth-child(n) {
    grid-column: 1;
  }

  .gallery img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .field--wide {
    grid-column: 1;
  }

  .contact-list li {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .brand__name {
    font-size: 16px;
  }

  .header-phone {
    font-size: 11px;
  }

  .nav {
    gap: 6px;
  }

  .header-messenger {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .hero__media img {
    transform: none;
    will-change: auto;
  }

  .btn::after {
    display: none;
    animation: none;
  }
}
