@font-face {
  font-family: "Charis SIL";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/charis-sil-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F,
    U+FE2E-FE2F;
}

@font-face {
  font-family: "Charis SIL";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/charis-sil-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Charis SIL";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/charis-sil-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: "Charis SIL";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/charis-sil-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --background: #faf8f4;
  --ink: #17140f;
  --muted: #8a8578;
  --line: #eae6df;
  --accent: #1f9e12;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-family: Arial, Helvetica, sans-serif;
}

.hero {
  position: relative;
  min-height: 100svh;
  height: 100vh;
  overflow: hidden;
  isolation: isolate;
  background: var(--background);
}

.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
}

.hero::before {
  background: url("assets/hero-kitchen-bg-desktop.webp") center / cover no-repeat;
  opacity: 0.88;
}

.hero::after {
  background:
    linear-gradient(
      90deg,
      rgba(250, 248, 244, 0.68) 0%,
      rgba(250, 248, 244, 0.48) 43%,
      rgba(250, 248, 244, 0.16) 70%,
      rgba(250, 248, 244, 0.08) 100%
    ),
    linear-gradient(180deg, rgba(250, 248, 244, 0.08), rgba(250, 248, 244, 0.18));
}

.hero__accent {
  position: absolute;
  top: clamp(5.5rem, 12.3vh, 8.25rem);
  left: clamp(4rem, 5.85vw, 7rem);
  width: 2.25rem;
  height: 0.3rem;
  border-radius: 999px;
  background: var(--accent);
  z-index: 2;
}

.hero__title {
  position: absolute;
  z-index: 2;
  top: clamp(9.8rem, 18.5vh, 12.5rem);
  left: clamp(4rem, 5.85vw, 7rem);
  max-width: 68rem;
  margin: 0;
  font-family: "Charis SIL", Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 4.15vw, 5rem);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero__nowrap {
  white-space: nowrap;
}

.hero__chair {
  position: absolute;
  right: clamp(4.5rem, 7.5vw, 9rem);
  bottom: clamp(2.2rem, 6.5vh, 4.5rem);
  width: clamp(24rem, calc(37.5vw - 6rem), 39rem);
  aspect-ratio: 1;
  margin: 0;
  z-index: 1;
}

.hero__chair img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.15);
}

.hero__scroll {
  position: absolute;
  left: clamp(4rem, 5.85vw, 7rem);
  bottom: clamp(2rem, 5.7vh, 3.85rem);
  width: 1.5rem;
  height: 3rem;
  z-index: 2;
}

.hero__scroll span,
.hero__scroll span::before,
.hero__scroll span::after {
  position: absolute;
  display: block;
  content: "";
  background: var(--muted);
}

.problem {
  position: relative;
  min-height: 100svh;
  height: 100vh;
  overflow: hidden;
  isolation: isolate;
  background: var(--background);
  border-top: 1px solid var(--line);
}

.problem__accent {
  position: absolute;
  top: clamp(5.5rem, 12.3vh, 8.25rem);
  left: clamp(4rem, 5.85vw, 7rem);
  width: 2.25rem;
  height: 0.3rem;
  border-radius: 999px;
  background: var(--accent);
}

.problem__copy {
  position: absolute;
  z-index: 2;
  top: clamp(9.8rem, 17vh, 11.5rem);
  left: clamp(4rem, 5.85vw, 7rem);
  width: min(48vw, 57rem);
}

.problem__lead,
.problem__answer {
  margin: 0;
  font-family: "Charis SIL", Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: var(--ink);
}

.problem__lead {
  max-width: 56rem;
  font-size: clamp(1.78rem, 1.85vw, 2.2rem);
  line-height: 1.38;
}

.text-accent {
  color: var(--accent);
  font-weight: 400;
  white-space: nowrap;
}

.problem__nowrap {
  white-space: nowrap;
}

.problem__title {
  margin: clamp(2.7rem, 5.5vh, 3.75rem) 0 0;
  font-family: "Charis SIL", Georgia, "Times New Roman", serif;
  font-size: clamp(2.75rem, 2.9vw, 3.45rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
}

.problem__answer {
  max-width: 56rem;
  margin-top: clamp(4rem, 9vh, 6rem);
  font-size: clamp(1.5rem, 1.58vw, 1.9rem);
  line-height: 1.45;
}

.problem__chair {
  position: absolute;
  right: clamp(4.5rem, 7.5vw, 9rem);
  bottom: clamp(2.2rem, 6.5vh, 4.5rem);
  width: clamp(24rem, calc(37.5vw - 6rem), 39rem);
  aspect-ratio: 1;
  margin: 0;
}

.problem__chair img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.recipe-story {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--background);
}

.recipe-story > .recipe,
.recipe-story > .where {
  z-index: 1;
  isolation: auto;
  background: transparent;
}

.recipe-system {
  position: absolute;
  z-index: 0;
  top: calc(100svh + clamp(9.8rem, 17vh, 11.5rem));
  right: clamp(4.5rem, 7.5vw, 9rem);
  bottom: auto;
  width: clamp(20rem, 24vw, 28rem);
  margin: 0;
  pointer-events: none;
}

.recipe-system > img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 1rem 1.25rem rgba(23, 20, 15, 0.045));
}

.recipe-system-mobile {
  display: none;
}

.recipe-system__labels {
  position: absolute;
  inset: 0;
}

.recipe-system__label {
  position: absolute;
  --shelf-angle: 0deg;
  transform: translate(-50%, -50%) rotate(var(--shelf-angle)) scaleX(0.9);
  transform-origin: center;
  font-family: "Charis SIL", Georgia, "Times New Roman", serif;
  font-size: clamp(0.72rem, 0.78vw, 0.9rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(105, 82, 55, 0.68);
  -webkit-text-fill-color: rgba(105, 82, 55, 0.68);
  text-shadow: 0 1px 0 rgba(255, 253, 247, 0.74),
    0 -1px 0 rgba(86, 63, 38, 0.22);
}

.recipe-system__label--1 {
  --shelf-angle: -3.8deg;
  top: 20.96%;
  left: 40%;
}

.recipe-system__label--2 {
  --shelf-angle: -1.35deg;
  top: 38.3%;
  left: 40%;
}

.recipe-system__label--3 {
  --shelf-angle: 1.65deg;
  top: 55.52%;
  left: 40%;
}

.recipe-system__label--4 {
  --shelf-angle: 4.6deg;
  top: 72.48%;
  left: 40%;
}

.recipe-system__label--5 {
  --shelf-angle: 7.9deg;
  top: 91.4%;
  left: 40%;
}

.recipe {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--background);
  border-top: 1px solid var(--line);
}

.recipe__layout {
  display: grid;
  grid-template-columns: minmax(0, 57rem) minmax(24rem, 1fr);
  align-items: center;
  gap: clamp(3rem, 5vw, 7rem);
  min-height: 100svh;
  padding: clamp(9.8rem, 17vh, 11.5rem) clamp(4.5rem, 7.5vw, 9rem)
    clamp(3.5rem, 7vh, 5rem) clamp(4rem, 5.85vw, 7rem);
}

.recipe__copy {
  position: relative;
  z-index: 2;
  width: min(100%, 57rem);
}

.recipe__title {
  max-width: 52rem;
  margin: 0;
  font-family: "Charis SIL", Georgia, "Times New Roman", serif;
  font-size: clamp(3.3rem, 3.55vw, 4.25rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.recipe__intro {
  margin: clamp(2rem, 4vh, 3rem) 0 0;
  font-family: "Charis SIL", Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 1.62vw, 1.95rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink);
}

.recipe__list {
  display: grid;
  gap: clamp(3.5rem, 7vh, 5rem);
  max-width: 56rem;
  margin: clamp(4.5rem, 9vh, 6.5rem) 0 0;
  padding: 0;
  list-style: none;
}

.recipe__intro + .recipe__list {
  margin-top: clamp(1.75rem, 3.5vh, 2.5rem);
}

.recipe__item {
  max-width: 38rem;
  margin: 0;
  font-family: "Charis SIL", Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 1.62vw, 1.95rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink);
}

.recipe__number {
  margin-right: 0.35em;
}

.recipe__emphasis {
  font-weight: 700;
}

.recipe__chair {
  width: min(100%, 39rem);
  aspect-ratio: 1;
  justify-self: end;
  margin: 0;
}

.recipe__chair img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.recipe--continuation {
  border-top: 0;
}

.recipe__continuation-layout {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding: clamp(9.8rem, 17vh, 11.5rem) clamp(4.5rem, 7.5vw, 9rem)
    clamp(4.5rem, 9vh, 6.5rem) clamp(4rem, 5.85vw, 7rem);
}

.recipe-story .recipe__continuation-layout {
  padding-right: clamp(31rem, 36vw, 43rem);
}

.recipe__list--continuation {
  gap: clamp(3.5rem, 8vh, 5.5rem);
  max-width: 72rem;
  margin-top: 0;
}

.recipe__list--continuation .recipe__item {
  max-width: 72rem;
}

.recipe__payoff {
  max-width: 72rem;
  margin: auto 0 0;
  padding-top: clamp(6rem, 13vh, 9rem);
  font-family: "Charis SIL", Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 3.05vw, 3.65rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.where {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--background);
}

.where__layout {
  display: grid;
  grid-template-columns: minmax(0, 57rem) minmax(24rem, 1fr);
  align-items: center;
  gap: clamp(3rem, 5vw, 7rem);
  min-height: 100svh;
  padding: clamp(9.8rem, 17vh, 11.5rem) clamp(4.5rem, 7.5vw, 9rem)
    clamp(3.5rem, 7vh, 5rem) clamp(4rem, 5.85vw, 7rem);
}

.where__copy {
  position: relative;
  z-index: 2;
  width: min(100%, 57rem);
}

.where__title {
  max-width: 57rem;
  margin: 0;
  font-family: "Charis SIL", Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 4.05vw, 4.875rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.where__answer {
  max-width: 57rem;
  margin: clamp(6rem, 18vh, 12rem) 0 0;
  font-family: "Charis SIL", Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 1.78vw, 2.125rem);
  font-weight: 400;
  line-height: 1.48;
  color: var(--ink);
}

.where__chair {
  width: min(100%, 39rem);
  aspect-ratio: 1;
  justify-self: end;
  margin: 0;
}

.where__chair img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.price__layout {
  grid-template-columns: minmax(0, 57rem) minmax(24rem, 1fr);
}

.price__reception img {
  filter: drop-shadow(0 1rem 1.25rem rgba(23, 20, 15, 0.055));
}

.contacts__layout {
  grid-template-columns: minmax(0, 57rem);
}

.contacts__copy {
  width: min(100%, 57rem);
}

.contact-form {
  display: grid;
  gap: clamp(1.6rem, 3vh, 2.25rem);
  width: min(100%, 34rem);
  margin-top: clamp(4.5rem, 9vh, 6.5rem);
  font-family: "Charis SIL", Georgia, "Times New Roman", serif;
}

.contact-form__honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form__field {
  position: relative;
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.3;
}

.contact-form__field input {
  width: 100%;
  min-height: 3rem;
  padding: 0.35rem 0 0.55rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
  font-family: inherit;
  font-size: 1.2rem;
  line-height: 1.35;
}

.contact-form__field input::placeholder {
  color: var(--muted);
  opacity: 0.58;
}

.contact-form__field input:focus {
  border-bottom-color: var(--accent);
}

.contact-form__field.is-invalid input {
  border-bottom-color: var(--ink);
  border-bottom-width: 2px;
}

.contact-form__error {
  min-height: 1em;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.88rem;
  line-height: 1.25;
}

.contact-form__consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
  cursor: pointer;
}

.contact-form__consent input {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0.16rem 0 0;
  accent-color: var(--accent);
}

.contact-form__consent-copy a {
  color: inherit;
  text-decoration-color: var(--line);
  text-underline-offset: 0.16em;
}

.contact-form__consent-copy a:hover {
  color: var(--ink);
}

.contact-form__submit {
  width: fit-content;
  min-height: 4.875rem;
  margin-top: 0.65rem;
  padding: 1.1rem 2.4rem;
  border: 0;
  border-radius: 0.25rem;
  color: var(--background);
  background: var(--accent);
  font-family: "Charis SIL", Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.2;
  cursor: pointer;
}

.contact-form__submit:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 0.25rem;
}

.contact-form__submit:disabled {
  cursor: default;
  opacity: 0.68;
}

.contact-form__note,
.contact-form__status {
  margin: 0;
  color: var(--muted);
  font-family: "Charis SIL", Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  line-height: 1.4;
}

.contact-form__status {
  color: var(--ink);
  font-size: 1.2rem;
}

.site-footer {
  overflow: hidden;
  color: var(--ink);
  background: var(--background);
  font-family: "Charis SIL", Georgia, "Times New Roman", serif;
}

.site-footer__inner {
  margin: 0 clamp(4rem, 5.85vw, 7rem);
  padding: clamp(2.5rem, 5.5vh, 4.5rem) 0 clamp(3rem, 7vh, 5rem);
  border-top: 1px solid var(--line);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 0.85fr) minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4vw, 5rem);
}

.site-footer__column {
  min-width: 0;
}

.site-footer__heading,
.site-footer__brand,
.site-footer__description,
.site-footer__address,
.site-footer__details,
.site-footer__copyright {
  margin: 0;
  font-family: inherit;
  font-style: normal;
  font-weight: 400;
}

.site-footer__heading {
  margin-bottom: 1.45rem;
  font-size: 1.05rem;
  line-height: 1.3;
}

.site-footer__brand {
  font-size: clamp(1.12rem, 1.15vw, 1.35rem);
  line-height: 1.35;
}

.site-footer__description {
  max-width: 31rem;
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.site-footer__links {
  display: grid;
  justify-items: start;
  gap: 0.75rem;
}

.site-footer a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-color: var(--muted);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.site-footer a:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 0.25rem;
}

.site-footer__links > a,
.site-footer__messengers,
.site-footer__address,
.site-footer__map-link {
  font-size: 1rem;
  line-height: 1.45;
}

.site-footer__links > a {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.site-footer__messengers {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  color: var(--muted);
}

.site-footer__address {
  font-size: clamp(1rem, 1.05vw, 1.15rem);
  line-height: 1.45;
}

.site-footer__map-link {
  display: inline-block;
  margin-top: 1rem;
}

.site-footer__map-note {
  display: block;
  margin-top: 0.5rem;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.78rem;
  line-height: 1.4;
}

.site-footer__details {
  margin-top: clamp(3rem, 7vh, 5rem);
  padding-top: clamp(2rem, 4.5vh, 3.25rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

.site-footer__detail-number {
  white-space: nowrap;
}

.site-footer__copyright {
  margin-top: clamp(4rem, 9vh, 6.5rem);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.hero__scroll span {
  top: 0;
  left: 50%;
  width: 1px;
  height: 2.5rem;
}

.hero__scroll span::before,
.hero__scroll span::after {
  bottom: 0;
  width: 0.45rem;
  height: 1px;
  transform-origin: bottom right;
}

.hero__scroll span::before {
  right: 0;
  transform: rotate(45deg);
}

.hero__scroll span::after {
  left: 1px;
  transform: rotate(-45deg);
  transform-origin: bottom left;
}

@media (max-width: 700px) {
  .hero {
    min-height: 42rem;
  }

  .hero::before {
    background-image: url("assets/hero-kitchen-bg-mobile.webp");
    background-position: center;
    opacity: 0.82;
  }

  .hero::after {
    background:
      linear-gradient(
        180deg,
        rgba(250, 248, 244, 0.58) 0%,
        rgba(250, 248, 244, 0.4) 31%,
        rgba(250, 248, 244, 0.1) 57%,
        rgba(250, 248, 244, 0.16) 100%
      ),
      linear-gradient(90deg, rgba(250, 248, 244, 0.24), rgba(250, 248, 244, 0.08));
  }

  .hero__accent {
    top: 3.05rem;
    left: 1.75rem;
    width: 1.55rem;
    height: 0.25rem;
  }

  .hero__title {
    top: 5.35rem;
    left: 1.75rem;
    right: 1.5rem;
    max-width: none;
    font-size: 2rem;
    line-height: 1.2;
    letter-spacing: -0.035em;
  }

  .desktop-break {
    display: none;
  }

  .hero__chair {
    right: 50%;
    bottom: 3.3rem;
    width: min(82vw, 20rem);
    transform: translateX(50%);
  }

  .hero__scroll {
    left: 50%;
    bottom: 0.75rem;
    transform: translateX(-50%);
  }

  .problem {
    min-height: 52rem;
  }

  .problem__accent {
    top: 3.05rem;
    left: 1.75rem;
    width: 1.55rem;
    height: 0.25rem;
  }

  .problem__copy {
    top: 5.35rem;
    left: 1.75rem;
    right: 1.5rem;
    width: auto;
  }

  .problem__lead {
    max-width: 21rem;
    font-size: 1.16rem;
    line-height: 1.38;
  }

  .problem__lead br,
  .problem__answer br {
    display: none;
  }

  .problem__lead .problem__crisis-break {
    display: block;
  }

  .problem__lead .problem__requests-break {
    display: block;
  }

  .problem__title {
    margin-top: 2.4rem;
    font-size: 2.25rem;
  }

  .problem__answer {
    max-width: 21rem;
    margin-top: 2rem;
    font-size: 1.08rem;
    line-height: 1.45;
  }

  .problem__chair {
    right: 50%;
    bottom: 3.3rem;
    width: min(82vw, 20rem);
    transform: translateX(50%);
  }
}

@media (max-width: 1023px) {
  .recipe-story {
    display: flex;
    flex-direction: column;
  }

  .recipe-story #recipe-1 {
    order: 1;
  }

  .recipe-story #recipe-2 {
    order: 2;
  }

  .recipe-story #where {
    order: 3;
  }

  .recipe-system--desktop {
    display: none;
  }

  .recipe-system-mobile {
    position: relative;
    display: block;
    width: min(43vw, 20rem);
    margin: clamp(3rem, 6vh, 4.5rem) auto 0;
    pointer-events: none;
  }

  .recipe-system-mobile > img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 1rem 1.25rem rgba(23, 20, 15, 0.045));
  }

  .recipe-system__label {
    font-size: clamp(0.69rem, 1.6vw, 0.84rem);
  }

  .recipe__layout {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: clamp(3rem, 7vh, 4.5rem);
    min-height: auto;
    padding-top: clamp(9rem, 16vh, 10.5rem);
  }

  .recipe__copy {
    width: min(100%, 57rem);
  }

  .recipe__chair {
    width: min(68vw, 32rem);
    justify-self: center;
  }

  .recipe__continuation-layout {
    min-height: 100svh;
    padding-top: clamp(9rem, 16vh, 10.5rem);
  }

  .recipe-story .recipe__continuation-layout {
    padding-right: clamp(4.5rem, 7.5vw, 9rem);
  }

  .where__layout {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: clamp(3rem, 7vh, 4.5rem);
    min-height: auto;
    padding-top: clamp(9rem, 16vh, 10.5rem);
  }

  .where__chair {
    width: min(68vw, 32rem);
    justify-self: center;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3.5rem clamp(3rem, 8vw, 5rem);
  }
}

@media (max-width: 767px) {
  .recipe .problem__accent {
    top: 3.05rem;
    left: 1.75rem;
    width: 1.55rem;
    height: 0.25rem;
  }

  .recipe__layout {
    gap: 2.75rem;
    padding: 5.35rem 1.5rem 3.3rem 1.75rem;
  }

  .recipe-system-mobile {
    width: min(62vw, 15rem);
    margin-top: 3rem;
  }

  .recipe-system__label {
    font-size: clamp(0.66rem, 2.9vw, 0.78rem);
  }

  .recipe__title {
    font-size: clamp(2rem, 9.2vw, 2.55rem);
    line-height: 1.12;
  }

  .recipe__list {
    gap: 2.6rem;
    margin-top: 3rem;
  }

  .recipe__intro {
    margin-top: 2.1rem;
    font-size: clamp(1.08rem, 4.75vw, 1.35rem);
  }

  .recipe__intro + .recipe__list {
    margin-top: 1.75rem;
  }

  .recipe__item {
    max-width: 32rem;
    font-size: clamp(1.08rem, 4.75vw, 1.35rem);
    line-height: 1.42;
  }

  .recipe__chair {
    width: min(82vw, 20rem);
  }

  .recipe__chair img {
    height: auto;
  }

  .recipe__continuation-layout {
    min-height: 100svh;
    padding: 5.35rem 1.5rem 3.3rem 1.75rem;
  }

  .recipe-story .recipe__continuation-layout {
    padding-right: 1.5rem;
  }

  .recipe__list--continuation {
    gap: 2.6rem;
  }

  .recipe__payoff {
    margin-top: auto;
    padding-top: clamp(7rem, 20vh, 10rem);
    font-size: clamp(1.95rem, 8vw, 2.35rem);
    line-height: 1.25;
  }

  .recipe__payoff-break {
    display: none;
  }

  .where .problem__accent {
    top: 3.05rem;
    left: 1.75rem;
    width: 1.55rem;
    height: 0.25rem;
  }

  .where__layout {
    gap: 2.75rem;
    padding: 5.35rem 1.5rem 3.3rem 1.75rem;
  }

  .where__title {
    max-width: 21rem;
    font-size: clamp(2.3rem, 9.5vw, 2.75rem);
    line-height: 1.12;
  }

  .where__answer {
    max-width: 32rem;
    margin-top: 3.5rem;
    font-size: clamp(1.08rem, 4.75vw, 1.35rem);
    line-height: 1.45;
  }

  .where__answer-break {
    display: none;
  }

  .where__chair {
    width: min(82vw, 20rem);
  }

  .where__chair img {
    height: auto;
  }

  .price__answer-break {
    display: none;
  }

  .contacts__layout {
    padding-bottom: 4rem;
  }

  .contact-form {
    width: 100%;
    gap: 1.45rem;
    margin-top: 3.5rem;
  }

  .contact-form__field input {
    min-height: 3rem;
    font-size: 1rem;
  }

  .contact-form__submit {
    width: 100%;
    min-height: 3rem;
    padding: 0.9rem 1.2rem;
    font-size: 1.12rem;
  }

  .site-footer__inner {
    margin: 0 1.75rem;
    padding: 1.9rem 0 3rem;
  }

  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .site-footer__heading {
    margin-bottom: 0.65rem;
    font-size: 0.95rem;
  }

  .site-footer__brand {
    font-size: 1.08rem;
  }

  .site-footer__description,
  .site-footer__links > a,
  .site-footer__messengers,
  .site-footer__address,
  .site-footer__map-link {
    font-size: 1rem;
  }

  .site-footer__links {
    gap: 0;
  }

  .site-footer__links > a,
  .site-footer__messengers,
  .site-footer__map-link {
    min-height: 2.75rem;
    align-items: center;
  }

  .site-footer__messengers a {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
  }

  .site-footer__links > a,
  .site-footer__map-link {
    display: inline-flex;
  }

  .site-footer__map-link {
    margin-top: 0.45rem;
  }

  .site-footer__map-note {
    margin-top: 0;
    font-size: 0.75rem;
  }

  .site-footer__details {
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    font-size: 0.75rem;
  }

  .site-footer__details > span:first-child {
    display: block;
  }

  .site-footer__details > span:nth-child(2) {
    display: none;
  }

  .site-footer__copyright {
    margin-top: 4rem;
    font-size: 0.82rem;
  }
}

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