:root {
  --paper: #fbf8f4;
  --surface: #fffdf9;
  --milk: #f3ece3;
  --rose: #ead3cf;
  --rose-deep: #b97970;
  --sage: #abb7a8;
  --navy: #1d3a50;
  --sand: #d7c6b5;
  --heading: #283a33;
  --text: #59615d;
  --muted: #7d827f;
  --line: rgba(40, 58, 51, .14);
  --shadow: 0 24px 70px rgba(51, 42, 35, .11);
  --radius-lg: 34px;
  --radius-md: 22px;
  --size-body: clamp(1rem, .97rem + .12vw, 1.08rem);
  --size-paragraph: clamp(1.16rem, 1.1rem + .2vw, 1.28rem);
  --size-h1: clamp(2.7rem, 4.4vw, 3.6rem);
  --size-h2: clamp(2.05rem, 3.2vw, 2.6rem);
  --size-h3: clamp(1.25rem, 1.6vw, 1.5rem);
  --display-font: "Caveat", "Segoe Print", cursive;
  --body-font: "Nunito", "Segoe UI", Arial, sans-serif;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body-font);
  font-size: var(--size-body);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

button,
input,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

:where(h1, h2, h3) {
  margin: 0;
  color: var(--heading);
  font-family: var(--display-font);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.01em;
}

h1 {
  max-width: 760px;
  font-size: var(--size-h1);
}

h2 {
  font-size: var(--size-h2);
}

h3 {
  font-size: var(--size-h3);
  letter-spacing: 0;
}

p {
  margin: 0;
  font-family: var(--body-font);
  font-size: var(--size-paragraph);
  font-weight: 500;
  line-height: 1.45;
}

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

:focus-visible {
  outline: 3px solid rgba(183, 121, 112, .45);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-150%);
  border-radius: 999px;
  background: var(--heading);
  color: white;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  width: min(calc(100% - 48px), var(--container));
  min-height: 96px;
  padding: 0 18px;
  margin: 0 auto;
  border: 1px solid rgba(40, 58, 51, .08);
  border-top: 0;
  border-radius: 0 0 24px 24px;
  background: rgba(251, 248, 244, .92);
  box-shadow: 0 12px 32px rgba(51, 42, 35, .08);
  backdrop-filter: blur(12px);
}

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

.brand-mark {
  width: 54px;
  fill: none;
  stroke: var(--heading);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-copy {
  display: grid;
  line-height: 1.08;
}

.brand-copy strong {
  color: var(--heading);
  font-family: var(--display-font);
  font-size: 1.38rem;
  font-weight: 600;
}

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

.site-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.site-nav a,
.footer-links a {
  color: var(--heading);
  font-size: .94rem;
  text-decoration: none;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--rose-deep);
  content: "";
  transition: transform .25s ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  border: 1px solid var(--heading);
  border-radius: 999px;
  background: var(--heading);
  color: #fff;
  font-weight: 650;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: #1f2e29;
  box-shadow: 0 12px 24px rgba(40, 58, 51, .16);
}

.button-small {
  min-height: 44px;
  padding-inline: 20px;
  font-size: .9rem;
}

.button-dark {
  width: 100%;
  background: var(--navy);
  border-color: var(--navy);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--heading);
  font-weight: 650;
  text-underline-offset: 6px;
}

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 100%;
  min-height: clamp(680px, 100svh, 980px);
  margin: 0;
  padding: 150px max(24px, calc((100% - var(--container)) / 2)) clamp(56px, 9vh, 104px);
  overflow: hidden;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(251, 248, 244, .98) 0%, rgba(251, 248, 244, .93) 34%, rgba(251, 248, 244, .48) 52%, rgba(251, 248, 244, 0) 72%),
    url("assets/hero-watercolor.png") 58% center / cover no-repeat;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 570px;
}

.hero-copy > p {
  max-width: 620px;
  margin-top: 24px;
  font-size: clamp(1.24rem, 1.55vw, 1.42rem);
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 38px;
}

.hero-facts span {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 249, .76);
  backdrop-filter: blur(4px);
  color: var(--heading);
  font-size: .82rem;
}

.section {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
  padding: 98px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 470px);
  align-items: end;
  gap: 50px;
  margin-bottom: 42px;
}

.section-heading > p {
  max-width: 520px;
}

.compact-heading {
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 720px;
}

.night-section,
.beige-section,
.day-border-section,
.master-section,
.toys-section {
  width: 100%;
  max-width: none;
  padding-right: max(24px, calc((100% - var(--container)) / 2));
  padding-left: max(24px, calc((100% - var(--container)) / 2));
}

.night-section {
  background-color: #102743;
  background-image:
    linear-gradient(180deg, rgba(7, 23, 43, .06), rgba(7, 23, 43, .28)),
    url("assets/night-stars.png");
  background-position: center;
  background-size: cover;
}

.night-section .section-heading {
  padding: 30px 34px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 26px;
  background: rgba(251, 248, 244, .92);
  box-shadow: 0 18px 50px rgba(4, 17, 33, .14);
  backdrop-filter: blur(6px);
}

.advantages-section {
  border-top: 0;
}

.advantages-section .section-heading {
  align-items: start;
}

.beige-section {
  background: #eee1d2;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.advantage-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid rgba(40, 58, 51, .1);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 249, .78);
  box-shadow: 0 18px 50px rgba(51, 42, 35, .06);
}

.advantage-card:nth-child(2) {
  background: rgba(234, 211, 207, .58);
}

.advantage-card:nth-child(3) {
  background: rgba(214, 222, 209, .68);
}

.advantage-card:nth-child(4) {
  background: rgba(222, 214, 204, .72);
}

.advantage-card p {
  margin-top: 18px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  overflow: hidden;
  border: 1px solid rgba(40, 58, 51, .1);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(51, 42, 35, .06);
}

.product-image {
  position: relative;
  height: 420px;
  overflow: hidden;
  background: var(--milk);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s ease;
}

.product-image-pink img {
  object-position: center 78%;
  transform: scale(1.12);
  transform-origin: center 80%;
}

.product-image-blue img {
  object-position: center 72%;
  transform: scale(1.08);
  transform-origin: center 75%;
}

.product-card:hover .product-image img {
  transform: scale(1.035);
}

.stock-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255, 253, 249, .93);
  color: var(--heading);
  font-size: .8rem;
  font-weight: 650;
  box-shadow: 0 8px 20px rgba(40, 58, 51, .08);
}

.product-body {
  display: grid;
  gap: 24px;
  padding: 30px;
}

.product-body p {
  margin-top: 12px;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-features li {
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--milk);
  color: var(--heading);
  font-size: .8rem;
}

.price-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 13px;
}

.price del {
  color: var(--muted);
  font-size: .95rem;
}

.price strong {
  color: var(--heading);
  font-family: var(--body-font);
  font-size: clamp(1.55rem, 2vw, 1.9rem);
  font-weight: 500;
}

.saving {
  color: var(--rose-deep);
  font-size: .85rem;
  font-weight: 700;
}

.product-cta {
  width: 100%;
}

.basket-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  gap: clamp(46px, 7vw, 92px);
  align-items: center;
  min-height: 820px;
  background-color: var(--paper);
  background-image: url("assets/sun-grass-border.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

.basket-gallery {
  position: relative;
  min-height: 0;
  aspect-ratio: 3 / 2;
}

.basket-photo {
  position: absolute;
  margin: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.basket-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.basket-photo-main {
  inset: 0;
  border-radius: 28px 28px 28px 28px;
  background: var(--sand);
}

.basket-photo-main img {
  object-position: center;
  transform: scale(1);
  transform-origin: center;
  transition: opacity .2s ease;
}

.basket-config > p {
  margin-top: 18px;
}

.availability {
  display: inline-flex;
  margin-top: 22px;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--rose);
  color: var(--heading);
  font-size: .83rem;
  font-weight: 650;
}

.choice-group {
  margin: 28px 0 0;
  padding: 0;
  border: 0;
}

.choice-group legend {
  margin-bottom: 12px;
  color: var(--heading);
  font-size: .94rem;
}

.color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.color-option {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.color-option span {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(40, 58, 51, .15);
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .3);
}

.color-option.is-active {
  border-color: var(--heading);
}

.canopy-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.canopy-group legend {
  width: 100%;
}

.canopy-group label {
  position: relative;
  cursor: pointer;
}

.canopy-group input {
  position: absolute;
  opacity: 0;
}

.canopy-group label:has(input:checked) {
  border-color: var(--heading);
  background: var(--heading);
  color: #fff;
}

.canopy-group label {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--heading);
  font-size: .88rem;
}

.basket-price {
  margin: 28px 0 24px;
}

.selection-summary {
  margin-bottom: 16px;
  color: var(--heading);
  font-size: 1.05rem;
}

.textiles-section {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  gap: clamp(46px, 7vw, 90px);
  align-items: center;
  min-height: 760px;
}

.textiles-copy {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 26px;
  background: rgba(251, 248, 244, .92);
  box-shadow: 0 18px 50px rgba(4, 17, 33, .14);
  backdrop-filter: blur(6px);
}

.textiles-copy > p {
  max-width: 560px;
  margin-top: 18px;
}

.textile-options {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.textile-options a {
  display: grid;
  gap: 2px;
  padding: 17px 18px;
  border: 1px solid rgba(40, 58, 51, .14);
  border-radius: 16px;
  background: rgba(255, 253, 249, .88);
  color: var(--heading);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease;
}

.textile-options a:hover {
  transform: translateX(4px);
  background: var(--surface);
}

.textile-options strong {
  font-family: var(--body-font);
  font-size: 1.08rem;
  font-weight: 500;
}

.textile-options small {
  color: var(--muted);
  font-size: .78rem;
}

.textiles-visual {
  position: relative;
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.textiles-visual figure {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  border: 8px solid rgba(251, 248, 244, .9);
  border-radius: 34px 34px 34px 34px;
  box-shadow: var(--shadow);
}

.textiles-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.about-section {
  display: flex;
  align-items: center;
  min-height: 760px;
  background-color: var(--paper);
  background-image:
    linear-gradient(90deg, rgba(251, 248, 244, .98) 0%, rgba(251, 248, 244, .92) 39%, rgba(251, 248, 244, .54) 61%, rgba(251, 248, 244, .05) 82%),
    url("assets/master-knitting.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.about-copy {
  max-width: 610px;
  padding: 38px;
  border: 1px solid rgba(40, 58, 51, .09);
  border-radius: 28px;
  background: rgba(251, 248, 244, .84);
  box-shadow: 0 18px 50px rgba(51, 42, 35, .08);
  backdrop-filter: blur(5px);
}

.about-copy > p {
  margin-top: 20px;
}

.about-lead {
  color: var(--heading);
  font-family: var(--body-font);
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  line-height: 1.45;
}

.about-copy .text-link {
  margin-top: 24px;
}

.craft-points {
  display: grid;
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.craft-points article {
  display: grid;
  grid-template-columns: minmax(150px, .7fr) minmax(0, 1.3fr);
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.craft-points p {
  margin: 0;
  font-size: 1.05rem;
}

.process-section {
  border-top: 0;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 0;
}

.process-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 22px;
  background: rgba(251, 248, 244, .92);
  box-shadow: 0 18px 48px rgba(4, 17, 33, .12);
  backdrop-filter: blur(6px);
}

.process-list li + li {
  padding-left: 28px;
}

.process-list li:last-child {
  border-right: 1px solid rgba(255, 255, 255, .38);
}

.process-list li > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--rose);
  color: var(--heading);
  font-size: .86rem;
  font-weight: 700;
}

.process-list p {
  margin-top: 10px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 24px 48px 24px 0;
  color: var(--heading);
  font-family: var(--body-font);
  font-size: 1.16rem;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 21px;
  right: 0;
  color: var(--rose-deep);
  content: "+";
  font-family: var(--body-font);
  font-size: 1.5rem;
  font-weight: 300;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 680px;
  padding: 0 48px 24px 0;
}

.order-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  min-height: 760px;
  align-items: start;
  padding-top: 96px;
  padding-bottom: 270px;
  background-color: var(--paper);
  background-image:
    linear-gradient(90deg, rgba(251, 248, 244, .22), rgba(251, 248, 244, .03)),
    url("assets/final-room-toys.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
}

.order-copy {
  width: min(100%, 900px);
  margin-inline: auto;
  padding: 32px;
  border: 1px solid rgba(40, 58, 51, .09);
  border-radius: 26px;
  background: rgba(251, 248, 244, .82);
  box-shadow: 0 18px 48px rgba(51, 42, 35, .08);
  backdrop-filter: blur(5px);
}

.order-copy > p {
  margin-top: 20px;
}

.order-copy .faq-list {
  margin-top: 28px;
}

.contact-card {
  display: grid;
  gap: 24px;
  width: min(100%, 900px);
  margin-inline: auto;
  padding: 30px;
  border-radius: 26px;
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(51, 42, 35, .1);
}

.form-heading {
  margin-bottom: 6px;
}

.form-heading p {
  margin-top: 12px;
  font-size: 1.06rem;
}

.messenger-actions {
  display: grid;
  gap: 12px;
}

.button-telegram {
  border-color: #2aabee;
  background: #2aabee;
}

.button-telegram:hover {
  background: #229ed9;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 40px;
  align-items: center;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 62px max(24px, calc((100% - var(--container)) / 2)) 70px;
  border-top: 0;
  background-color: #102743;
  background-image:
    radial-gradient(circle at 8% 22%, rgba(255, 225, 151, .92) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 20% 72%, rgba(255, 239, 194, .82) 0 1px, transparent 2px),
    radial-gradient(circle at 38% 16%, rgba(255, 225, 151, .88) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 61% 68%, rgba(255, 239, 194, .78) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 25%, rgba(255, 225, 151, .9) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 92% 76%, rgba(255, 239, 194, .84) 0 1px, transparent 2px),
    linear-gradient(rgba(7, 23, 43, .14), rgba(7, 23, 43, .34)),
    url("assets/night-stars.png");
  background-position: center 82%;
  background-size: cover;
}

.site-footer > p {
  grid-column: 1;
  color: #d9d6cd;
  font-size: 1rem;
}

.site-footer .brand-mark {
  stroke: #f7ead0;
}

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

.site-footer .brand-copy small {
  color: #f7ead0;
}

.site-footer .footer-links a {
  color: #f7ead0;
}

.footer-links {
  display: flex;
  grid-column: 2;
  grid-row: 1 / span 2;
  gap: 22px;
}

.footer-links a {
  font-size: .78rem;
}

.legal-page {
  min-height: 100vh;
  background: var(--paper);
}

.legal-shell {
  width: min(calc(100% - 40px), 820px);
  margin: 0 auto;
  padding: 70px 0 110px;
}

.legal-shell h1 {
  margin-bottom: 28px;
}

.legal-shell h2 {
  margin: 38px 0 14px;
  font-size: 1.55rem;
}

.legal-shell p + p {
  margin-top: 16px;
}

.legal-back {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--heading);
  font-weight: 650;
}

.legal-notice {
  padding: 18px;
  border-left: 3px solid var(--rose-deep);
  background: var(--milk);
}

@media (max-width: 980px) {
  .advantages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header {
    grid-template-columns: auto auto;
  }

  .site-nav {
    position: absolute;
    top: 82px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 12px;
  }

  .menu-toggle {
    display: grid;
    justify-self: end;
    width: 44px;
    height: 44px;
    place-content: center;
    gap: 7px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
  }

  .menu-toggle span:not(.sr-only) {
    width: 18px;
    height: 1px;
    background: var(--heading);
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-right: 32px;
    padding-left: 32px;
    background-position: center, 62% center;
  }

  .hero-copy {
    max-width: 520px;
  }

  .basket-section,
  .textiles-section,
  .order-section {
    grid-template-columns: 1fr;
  }

  .basket-gallery {
    width: min(100%, 720px);
  }

  .textiles-section {
    padding: 76px max(32px, calc((100% - 760px) / 2));
  }

  .textiles-visual {
    width: min(100%, 680px);
  }

  .about-section {
    min-height: 720px;
    background-position: 58% center;
  }

  .order-section {
    padding: 76px max(32px, calc((100% - 760px) / 2)) 250px;
  }

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

@media (max-width: 760px) {
  :root {
    --size-h1: clamp(2.35rem, 11vw, 3.05rem);
    --size-h2: clamp(1.9rem, 8vw, 2.35rem);
  }

  .site-header,
  .section {
    width: min(calc(100% - 32px), var(--container));
  }

  .site-header {
    min-height: 82px;
  }

  .brand-mark {
    width: 46px;
  }

  .brand-copy small {
    display: none;
  }

  .hero {
    min-height: max(760px, 100svh);
    align-items: flex-start;
    padding: 116px 20px 34px;
    border-radius: 0;
    background:
      linear-gradient(180deg, rgba(251, 248, 244, .99) 0%, rgba(251, 248, 244, .96) 56%, rgba(251, 248, 244, .56) 78%, rgba(251, 248, 244, .16) 100%),
      url("assets/hero-watercolor.png") 68% center / cover no-repeat;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .section {
    padding: 72px 0;
  }

  .night-section,
  .beige-section,
  .day-border-section,
  .master-section,
  .toys-section {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  .night-section {
    background-position: center, right top;
    background-size: auto, auto 520px;
    background-repeat: no-repeat;
  }

  .night-section .section-heading,
  .textiles-copy,
  .about-copy {
    padding: 25px 22px;
    border-radius: 22px;
  }

  .textiles-section {
    width: 100%;
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 72px;
    border-radius: 0;
  }

  .textiles-section.night-section,
  .process-section.night-section {
    padding-top: 150px;
  }

  .section-heading,
  .advantages-grid,
  .product-grid,
  .process-list,
  .faq-section {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 16px;
  }

  .product-image {
    height: 360px;
  }

  .basket-photo-main {
    border-radius: 22px 22px 22px 22px;
  }

  .basket-section {
    min-height: auto;
    padding-top: 110px;
    padding-bottom: 120px;
    background-size: auto 100%;
  }

  .about-section {
    min-height: 1240px;
    align-items: flex-start;
    padding-top: 72px;
    padding-bottom: 560px;
    background-image:
      linear-gradient(180deg, rgba(251, 248, 244, .99) 0%, rgba(251, 248, 244, .96) 39%, rgba(251, 248, 244, .08) 43%, rgba(251, 248, 244, 0) 45%),
      url("assets/master-knitting.png");
    background-position: center, right bottom;
    background-size: 100% 100%, auto 40%;
  }

  .about-copy {
    max-width: none;
  }

  .craft-points article {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .process-list {
    border-top: 0;
  }

  .process-list li,
  .process-list li + li {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 20px;
  }

  .faq-section {
    gap: 16px;
  }

  .order-section {
    width: 100%;
    min-height: auto;
    padding-top: 72px;
    padding-right: 16px;
    padding-bottom: 230px;
    padding-left: 16px;
    border-radius: 0;
    background-position: center, center bottom;
    background-size: auto, 100% auto;
  }

  .order-copy {
    padding: 25px 22px;
    border-radius: 22px;
  }

  .contact-card {
    padding: 22px;
  }

  .price-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    width: 100%;
    padding: 56px 20px 62px;
  }

  .footer-links {
    grid-column: 1;
    grid-row: auto;
    gap: 8px;
    margin-top: 16px;
  }
}

@media (max-width: 390px) {
  .brand-copy strong {
    font-size: 1.02rem;
  }

  .hero {
    padding: 106px 16px 28px;
    background-position: center, 100% 100%;
    background-size: auto, auto 72%;
  }

  .product-body {
    padding: 23px;
  }

  .product-image {
    height: 320px;
  }

  .color-options {
    gap: 4px;
  }

  .color-option {
    width: 44px;
    height: 44px;
  }
}

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

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