@font-face {
  font-family: 'Marcellus';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/marcellus-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0;
}
@font-face {
  font-family: 'Marcellus';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/marcellus-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/manrope-latin-ext-300-normal.woff2') format('woff2');
  unicode-range: U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/manrope-latin-300-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/manrope-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/manrope-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/manrope-latin-ext-500-normal.woff2') format('woff2');
  unicode-range: U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/manrope-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/manrope-latin-ext-600-normal.woff2') format('woff2');
  unicode-range: U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/manrope-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: #34322A;
  background: #F2EEE3;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
::selection {
  background: #6D7051;
  color: #F7F4EB;
}
h1,
h2,
h3,
h4 {
  font-family: 'Marcellus', 'Times New Roman', serif;
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: 0.04em;
}
h1,
h2 {
  text-transform: uppercase;
}
.container {
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4.5vw, 60px);
}
.section {
  padding-block: clamp(64px, 9vw, 120px);
}
.label {
  font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #7B7466;
  display: flex;
  align-items: center;
  gap: 12px;
}
.label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6D7051;
  flex: none;
}
.link-line {
  font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: #F3F1E7;
  background: #6D7051;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px;
  transition: background 0.25s, color 0.25s;
}
.link-line:hover {
  background: #34322A;
  color: #F7F4EB;
}
.link-under {
  font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 10.5px;
  color: #34322A;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(52, 50, 42, 0.45);
  transition: color 0.2s, border-color 0.2s;
}
.link-under:hover {
  color: #6D7051;
  border-color: #6D7051;
}
.top {
  position: sticky;
  top: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 66px;
  padding: 10px clamp(20px, 4.5vw, 60px);
  background: #F7F4EB;
  border-bottom: 1px solid #DAD3C1;
}
.menu-btn {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 10.5px;
  color: #34322A;
  padding: 8px 0;
}
.menu-btn span.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6D7051;
  transition: transform 0.25s, background 0.25s;
}
.menu-btn:hover span.dot {
  background: #34322A;
}
.menu-open .menu-btn span.dot {
  background: #34322A;
  transform: scale(1.25);
}
.top__brand {
  text-align: center;
  display: grid;
  gap: 2px;
  justify-items: center;
}
.top__brand strong {
  font-family: 'Marcellus', 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(15px, 2vw, 19px);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  white-space: nowrap;
  margin-right: -0.3em;
}
.top__brand span {
  font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 8.5px;
  letter-spacing: 0.38em;
  color: #7B7466;
  white-space: nowrap;
  margin-right: -0.38em;
}
.top__side {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 26px;
  font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 10.5px;
}
.top__side a {
  padding: 8px 0;
  transition: color 0.2s;
}
.top__side a:hover {
  color: #6D7051;
}
.top__side .top__phone {
  color: #7B7466;
}
.top__side .top__phone:hover {
  color: #34322A;
}
.menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 55;
  padding: calc(66px + clamp(28px, 5vw, 56px)) clamp(20px, 4.5vw, 60px) clamp(32px, 5vw, 56px);
  background: #F7F4EB;
  border-bottom: 1px solid #DAD3C1;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s 0.3s;
}
.menu-open .menu {
  transform: none;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
.menu nav {
  display: grid;
  gap: 6px;
  justify-items: start;
}
.menu nav a {
  font-family: 'Marcellus', 'Times New Roman', serif;
  font-size: clamp(26px, 4vw, 40px);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: baseline;
  gap: 16px;
  padding: 6px 0;
  transition: color 0.2s;
}
.menu nav a::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid #DAD3C1;
  align-self: center;
  transition: background 0.2s, border-color 0.2s;
}
.menu nav a:hover {
  color: #6D7051;
}
.menu nav a:hover::before,
.menu nav a.is-active::before {
  background: #6D7051;
  border-color: #6D7051;
}
.menu .menu__foot {
  margin-top: clamp(22px, 3.5vw, 36px);
  padding-top: 22px;
  border-top: 1px solid #DAD3C1;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 10px;
  color: #7B7466;
}
.menu .menu__foot a {
  transition: color 0.2s;
}
.menu .menu__foot a:hover {
  color: #6D7051;
}
.menu-veil {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(32, 31, 25, 0.24);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0s 0.3s;
}
.menu-open .menu-veil {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
.hero {
  position: relative;
  overflow: hidden;
}
.hero img {
  width: 100%;
  height: clamp(480px, 78vh, 820px);
  object-fit: cover;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(26, 24, 18, 0) 52%, rgba(26, 24, 18, 0.44) 100%);
}
.hero__inner {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 0 clamp(20px, 4.5vw, 60px) clamp(30px, 5vw, 60px);
  max-width: 1320px;
  margin-inline: auto;
}
.hero__inner h1 {
  color: #F6F3EA;
  text-transform: none;
  letter-spacing: 0.015em;
  font-size: clamp(30px, 4.6vw, 58px);
  line-height: 1.12;
  max-width: 17ch;
  text-wrap: balance;
}
.hero__inner h1 em {
  font-style: italic;
}
.hero__inner .link-line {
  margin-top: clamp(18px, 2.6vw, 28px);
}
.works {
  padding-top: clamp(56px, 7vw, 96px);
}
.works__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  margin-bottom: clamp(30px, 4.5vw, 54px);
}
.works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3.4vw, 48px);
}
.works__grid > div {
  display: grid;
  gap: clamp(24px, 3.4vw, 48px);
  align-content: start;
}
.works__grid .works__col--mid {
  padding-top: clamp(40px, 6vw, 88px);
}
.works__grid .works__col--right {
  padding-top: clamp(20px, 3vw, 44px);
}
.work {
  display: grid;
  gap: 14px;
}
.work img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.work.work--tall img {
  aspect-ratio: 3/4;
}
.work h3 {
  font-family: 'Marcellus', 'Times New Roman', serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 400;
  font-size: 13.5px;
  letter-spacing: 0.16em;
}
.work p {
  font-size: 13.5px;
  color: #7B7466;
  line-height: 1.65;
  max-width: 34ch;
}
.work .link-under {
  margin-top: 2px;
  justify-self: start;
}
.work:hover img {
  filter: brightness(1.04);
}
.work img {
  transition: filter 0.3s;
}
.philo {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.philo__media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: grayscale(1) contrast(0.96);
}
.philo__media figcaption {
  font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 9.5px;
  color: #7B7466;
  margin-top: 10px;
}
.philo__body h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  margin: 14px 0 22px;
}
.philo__body .philo__quote {
  font-family: 'Marcellus', 'Times New Roman', serif;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.5;
  margin-bottom: 18px;
}
.philo__body p {
  color: #7B7466;
  max-width: 58ch;
}
.philo__body p + p {
  margin-top: 14px;
}
.philo__body .link-under {
  margin-top: 26px;
}
.svc__head {
  margin-bottom: clamp(28px, 4vw, 46px);
}
.svc__head h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  margin-top: 14px;
}
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 44px);
}
.service {
  border-top: 1px solid #DAD3C1;
  padding-top: 22px;
  display: grid;
  gap: 10px;
  align-content: start;
}
.service .service__no {
  font-family: 'Marcellus', 'Times New Roman', serif;
  font-size: 15px;
  color: #6D7051;
  letter-spacing: 0.08em;
}
.service h3 {
  font-family: 'Marcellus', 'Times New Roman', serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.14em;
  line-height: 1.4;
}
.service p {
  font-size: 13.5px;
  color: #7B7466;
  line-height: 1.7;
}
.band {
  background: #2A2922;
  color: #E8E4D5;
}
.band__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.band__grid .label {
  color: rgba(232, 228, 213, 0.72);
}
.band__grid .label::before {
  background: #A6A886;
}
.band__grid h2 {
  color: #F3F0E4;
  font-size: clamp(24px, 3vw, 38px);
  margin: 14px 0 16px;
}
.band__grid p {
  color: rgba(232, 228, 213, 0.82);
  max-width: 58ch;
}
.band__actions {
  display: grid;
  gap: 16px;
  justify-items: start;
}
.band__actions .link-line {
  background: #A6A886;
  color: #2A2922;
}
.band__actions .link-line:hover {
  background: #F7F4EB;
  color: #2A2922;
}
.band__actions .link-under {
  color: #E8E4D5;
  border-color: rgba(232, 228, 213, 0.45);
}
.band__actions .link-under:hover {
  color: #fff;
  border-color: #fff;
}
.duo {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}
.duo h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  margin-top: 14px;
}
.steps {
  margin-top: clamp(26px, 4vw, 40px);
  display: grid;
}
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 8px 22px;
  padding: 22px 0;
  border-top: 1px solid #DAD3C1;
  align-items: start;
}
.step .step__no {
  font-family: 'Marcellus', 'Times New Roman', serif;
  font-size: clamp(24px, 2.6vw, 32px);
  color: #6D7051;
  line-height: 1.1;
}
.step h3 {
  font-family: 'Marcellus', 'Times New Roman', serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.14em;
  padding-top: 6px;
}
.step p {
  grid-column: 2;
  font-size: 14px;
  color: #7B7466;
  line-height: 1.7;
  max-width: 52ch;
}
.ctc {
  margin-top: clamp(26px, 4vw, 40px);
  border-top: 1px solid #DAD3C1;
  display: grid;
}
.ctc__row {
  padding: 20px 0;
  border-bottom: 1px solid #DAD3C1;
  display: grid;
  gap: 6px;
}
.ctc__row dt {
  font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 9.5px;
  color: #7B7466;
}
.ctc__row dd {
  font-family: 'Marcellus', 'Times New Roman', serif;
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: 0.03em;
}
.ctc__row dd a {
  transition: color 0.2s;
}
.ctc__row dd a:hover {
  color: #6D7051;
}
.ctc__note {
  margin-top: 18px;
  font-size: 13.5px;
  color: #7B7466;
  max-width: 44ch;
}
.ctc .link-line {
  margin-top: 24px;
  justify-self: start;
}
.footer {
  border-top: 1px solid #DAD3C1;
  background: #F7F4EB;
  padding: clamp(48px, 7vw, 84px) 0 30px;
  margin-top: clamp(64px, 9vw, 120px);
  text-align: center;
}
.footer__wordmark {
  font-family: 'Marcellus', 'Times New Roman', serif;
  font-size: clamp(22px, 3.4vw, 34px);
  letter-spacing: 0.3em;
  margin-right: -0.3em;
  text-transform: uppercase;
}
.footer__claim {
  font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 9.5px;
  letter-spacing: 0.38em;
  margin-right: -0.38em;
  color: #7B7466;
  margin-top: 8px;
}
.footer__contacts {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 36px;
  font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 10.5px;
}
.footer__contacts a {
  transition: color 0.2s;
}
.footer__contacts a:hover {
  color: #6D7051;
}
.footer__base {
  margin-top: clamp(30px, 5vw, 48px);
  padding: 22px clamp(20px, 4.5vw, 60px) 0;
  border-top: 1px solid #DAD3C1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  font-size: 11.5px;
  color: #7B7466;
}
.page-head {
  padding-top: clamp(48px, 7vw, 90px);
}
.page-head h1 {
  font-size: clamp(30px, 4.4vw, 54px);
  margin-top: 16px;
}
.page-head .page-head__intro {
  margin-top: 20px;
  max-width: 62ch;
  color: #7B7466;
  font-size: 17px;
}
.refs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3.4vw, 48px);
}
.refs--grid {
  grid-template-columns: repeat(2, 1fr);
}
.ref {
  display: grid;
  gap: 14px;
  align-content: start;
}
.ref .ref__media {
  overflow: hidden;
}
.ref .ref__media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s;
}
.ref:hover .ref__media img {
  transform: scale(1.02);
  filter: brightness(1.04);
}
.ref .ref__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.ref .ref__title {
  font-family: 'Marcellus', 'Times New Roman', serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.14em;
}
.ref .ref__meta {
  font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 9.5px;
  color: #7B7466;
  white-space: nowrap;
}
.ref .ref__excerpt {
  font-size: 13.5px;
  color: #7B7466;
  max-width: 52ch;
}
.detail-head {
  padding-top: clamp(48px, 7vw, 90px);
}
.detail-head h1 {
  font-size: clamp(30px, 4.4vw, 54px);
}
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 54px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid #DAD3C1;
}
.detail-meta dt {
  font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 9.5px;
  color: #7B7466;
  margin-bottom: 5px;
}
.detail-meta dd {
  font-family: 'Marcellus', 'Times New Roman', serif;
  font-size: 17px;
  letter-spacing: 0.04em;
}
.detail-desc {
  margin-top: clamp(26px, 4vw, 40px);
  max-width: 68ch;
}
.detail-desc p {
  color: #7B7466;
}
.detail-desc p + p {
  margin-top: 14px;
}
.gallery {
  margin-top: clamp(34px, 5vw, 56px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2.6vw, 36px);
}
.gallery figure {
  cursor: zoom-in;
  overflow: hidden;
}
.gallery figure img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: filter 0.3s;
}
.gallery figure:hover img {
  filter: brightness(1.05);
}
.gallery .gallery__wide {
  grid-column: 1 / -1;
}
.gallery .gallery__wide img {
  aspect-ratio: 16/9;
}
.detail-next {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-top: 1px solid #DAD3C1;
  padding-top: 30px;
}
.detail-next .detail-next__title {
  font-family: 'Marcellus', 'Times New Roman', serif;
  font-size: clamp(20px, 2.6vw, 30px);
  letter-spacing: 0.04em;
  display: block;
  margin-top: 6px;
}
.detail-next a {
  transition: color 0.2s;
}
.detail-next a:hover {
  color: #6D7051;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(30px, 5vw, 70px);
  border-top: 1px solid #DAD3C1;
}
.contact-grid .contact-item {
  padding: 24px 0;
  border-bottom: 1px solid #DAD3C1;
}
.contact-grid .contact-item dt {
  font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 9.5px;
  color: #7B7466;
  margin-bottom: 8px;
}
.contact-grid .contact-item dd {
  font-family: 'Marcellus', 'Times New Roman', serif;
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: 0.03em;
}
.contact-grid .contact-item dd a:hover {
  color: #6D7051;
}
.err {
  min-height: 46vh;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 18px;
}
.lb {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(29, 28, 22, 0.93);
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0s 0.25s;
}
.lb.is-open {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
.lb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.lb button {
  position: absolute;
  top: 14px;
  right: 20px;
  color: #F7F4EB;
  font-size: 34px;
  line-height: 1;
  opacity: 0.8;
}
.lb button:hover {
  opacity: 1;
}
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 36px;
  align-items: center;
}
@media (max-width: 1020px) {
  .works__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .works__grid .works__col--mid,
  .works__grid .works__col--right {
    padding-top: 0;
  }
  .works__grid .works__col--right {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .services {
    grid-template-columns: repeat(2, 1fr);
  }
  .philo {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .philo .philo__media {
    max-width: 440px;
  }
  .duo {
    grid-template-columns: 1fr;
  }
  .band__grid {
    grid-template-columns: 1fr;
  }
  .refs {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .top {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }
  .top .top__brand span {
    display: none;
  }
  .top .top__brand strong {
    font-size: 13.5px;
    letter-spacing: 0.22em;
    margin-right: -0.22em;
  }
  .top .top__side {
    gap: 16px;
  }
  .top .top__side .top__phone {
    display: none;
  }
  .hero img {
    height: clamp(380px, 68vh, 560px);
  }
  .works__grid {
    grid-template-columns: 1fr;
  }
  .works__grid .works__col--right {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
  .work img,
  .work.work--tall img {
    aspect-ratio: 4/3;
  }
  .services {
    grid-template-columns: 1fr;
  }
  .refs,
  .refs--grid {
    grid-template-columns: 1fr;
  }
  .gallery {
    grid-template-columns: 1fr;
  }
  .gallery .gallery__wide img {
    aspect-ratio: 4/3;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .step {
    grid-template-columns: 46px 1fr;
  }
  .step p {
    grid-column: 2;
  }
  .step .step__no {
    font-size: 21px;
  }
  .footer__contacts {
    flex-direction: column;
    gap: 14px;
  }
  .detail-next {
    flex-direction: column;
    align-items: flex-start;
  }
}
