/* =========================================================
   MÉLIA — confectionery atelier
   A warm editorial design system
   ========================================================= */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/cormorant-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/cormorant-latin.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/cormorant-italic-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/cormorant-italic-latin.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+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 700;
  font-display: swap;
  src: url("../fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/manrope-latin.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f6f1e8;
  --bg-soft: #ede5d8;
  --paper: #fcf8f1;
  --ink: #2b2118;
  --ink-2: #43352a;
  --muted: #7e6f61;
  --accent: #b0664b;
  --accent-deep: #8c4a34;
  --accent-soft: #e6cabb;
  --olive: #58624f;
  --sage: #8b987e;
  --gold: #b8965d;
  --line: rgba(43, 33, 24, 0.16);
  --line-strong: rgba(43, 33, 24, 0.34);
  --cream-line: rgba(246, 241, 232, 0.18);
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Manrope", "Segoe UI", system-ui, sans-serif;
  --shell: 1360px;
  --gutter: 48px;
  --header-h: 88px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("../images/noise.png");
  background-size: 160px 160px;
}

body.no-scroll {
  overflow: hidden;
}

*[hidden] {
  display: none !important;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  color: var(--bg);
  background: var(--accent);
}

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

.shell {
  width: min(var(--shell), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.025em;
}

h1 em,
h2 em,
h3 em,
.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-deep);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.eyebrow--line::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
}

.eyebrow--light {
  color: rgba(246, 241, 232, 0.6);
}

.eyebrow--light::before {
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 15px 27px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    color 0.3s var(--ease),
    background 0.3s var(--ease),
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.button .icon {
  width: 17px;
  height: 17px;
  transition: transform 0.3s var(--ease);
}

.button:hover .icon {
  transform: translateX(4px);
}

.button:active {
  transform: translateY(1px);
}

.button--dark {
  color: var(--bg);
  background: var(--ink);
}

.button--dark:hover {
  background: var(--accent-deep);
}

.button--cream {
  color: var(--ink);
  background: var(--paper);
}

.button--cream:hover {
  background: var(--accent-soft);
}

.button--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
}

.button--ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}

.button--small {
  min-height: 44px;
  padding: 12px 20px;
  font-size: 9.5px;
}

.button--full {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition:
    color 0.25s ease,
    border-color 0.25s ease;
}

.text-link .icon {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}

.text-link:hover {
  color: var(--accent-deep);
  border-color: var(--accent);
}

.text-link:hover .icon {
  transform: translateX(4px);
}

.text-link--light {
  color: var(--bg);
  border-color: var(--cream-line);
}

.text-link--light:hover {
  color: var(--accent-soft);
  border-color: var(--accent-soft);
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pill--cream {
  border-color: transparent;
  color: var(--ink);
  background: rgba(252, 248, 241, 0.92);
  backdrop-filter: blur(8px);
}

.icon-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.icon-button .icon {
  width: 19px;
  height: 19px;
}

.icon-button:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field > span {
  color: var(--ink-2);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.field > span small {
  margin-left: 6px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 14px 15px;
  color: var(--ink);
  background: rgba(252, 248, 241, 0.58);
  font-size: 14px;
  line-height: 1.5;
  transition:
    border-color 0.25s ease,
    background 0.25s ease;
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(43, 33, 24, 0.38);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--paper);
}

.field__hint {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.5;
}

.form-note {
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.55;
}

.form-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0 24px;
  padding: 15px 18px;
  border: 1px solid rgba(140, 74, 52, 0.28);
  background: rgba(176, 102, 75, 0.09);
  color: var(--accent-deep);
  font-size: 13px;
}

.form-alert .icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

/* ---------------------------------------------------------------- header */

.announcement {
  position: relative;
  z-index: 120;
  display: flex;
  justify-content: center;
  padding: 9px 20px;
  color: rgba(246, 241, 232, 0.8);
  background: var(--ink);
  font-size: 9.5px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.13em;
  text-align: center;
  text-transform: uppercase;
}

.announcement__inner {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.announcement__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent-soft);
  opacity: 0.7;
}

.announcement a {
  color: var(--accent-soft);
  border-bottom: 1px solid rgba(230, 202, 187, 0.4);
}

.announcement a:hover {
  color: var(--bg);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(43, 33, 24, 0.1);
  background: rgba(246, 241, 232, 0.9);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 40px rgba(43, 33, 24, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  flex-direction: column;
  flex: none;
  gap: 2px;
}

.brand__name {
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.14em;
}

.brand__tagline {
  padding-left: 1px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.21em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2vw, 32px);
  margin-left: auto;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.045em;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.main-nav + .site-header__actions {
  margin-left: 0;
}

.header-phone {
  display: none;
  color: var(--ink-2);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

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

.cart-trigger {
  width: 42px;
  height: 42px;
  border-color: transparent;
}

.cart-trigger:hover {
  border-color: var(--line);
  background: var(--paper);
  color: var(--ink);
}

.cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  display: grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  color: var(--bg);
  background: var(--accent-deep);
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
}

.menu-trigger {
  display: none;
}

.header-cta {
  margin-left: 3px;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: flex;
  flex-direction: column;
  padding: 28px var(--gutter) 36px;
  color: var(--bg);
  background: var(--ink);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px);
  transition:
    opacity 0.4s var(--ease),
    transform 0.4s var(--ease),
    visibility 0.4s;
}

.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--cream-line);
}

.mobile-menu__head .eyebrow {
  color: rgba(246, 241, 232, 0.5);
}

.mobile-menu__head .icon-button {
  border-color: var(--cream-line);
  color: var(--bg);
}

.mobile-menu__head .icon-button:hover {
  background: var(--bg);
  color: var(--ink);
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  margin: auto 0;
  padding: 24px 0;
}

.mobile-menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--cream-line);
  font-family: var(--serif);
  font-size: clamp(36px, 7vw, 64px);
  line-height: 1;
  transition: color 0.25s ease;
}

.mobile-menu__nav a:hover {
  color: var(--accent-soft);
}

.mobile-menu__nav a span {
  width: 24px;
  color: rgba(246, 241, 232, 0.38);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.mobile-menu__nav a .icon {
  width: 25px;
  height: 25px;
  margin-left: auto;
  stroke-width: 1;
}

.mobile-menu__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  padding-top: 22px;
  border-top: 1px solid var(--cream-line);
  color: rgba(246, 241, 232, 0.68);
  font-size: 12px;
}

.mobile-menu__foot p {
  flex-basis: 100%;
  margin-top: 8px;
  color: rgba(246, 241, 232, 0.4);
}

.toasts {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(390px, calc(100vw - 48px));
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 18px 50px rgba(43, 33, 24, 0.13);
  color: var(--ink);
  font-size: 12.5px;
  line-height: 1.5;
  animation: toast-in 0.4s var(--ease) both;
}

.toast--error {
  border-color: rgba(140, 74, 52, 0.35);
  background: #fbeee7;
  color: var(--accent-deep);
}

.toast__close {
  display: grid;
  place-items: center;
  margin-left: auto;
  opacity: 0.55;
  transition: opacity 0.2s;
}

.toast__close:hover {
  opacity: 1;
}

.toast__close .icon {
  width: 15px;
  height: 15px;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ------------------------------------------------------------------ hero */

.hero {
  padding: 50px 0 82px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

.hero__copy {
  position: relative;
  z-index: 2;
  padding: 38px 0 20px;
}

.hero__title {
  margin: 23px 0 28px;
  font-size: clamp(56px, 7.4vw, 112px);
  line-height: 0.88;
  letter-spacing: -0.045em;
}

.hero__title span,
.hero__title em {
  display: block;
}

.hero__title em {
  color: var(--accent-deep);
}

.hero__text {
  max-width: 430px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 38px;
  color: var(--muted);
  font-size: 11px;
}

.hero__price {
  font-size: 11.5px;
  letter-spacing: 0.02em;
}

.hero__price strong {
  color: var(--ink);
  font-weight: 600;
}

.hero__meta-divider {
  width: 1px;
  height: 18px;
  background: var(--line);
}

.hero__rating-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
  font-weight: 600;
}

.hero__rating-inline small {
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 400;
}

.stars {
  display: inline-flex;
  gap: 1px;
  color: var(--gold);
}

.stars .icon {
  width: 11px;
  height: 11px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 0.8;
}

.hero__visual {
  position: relative;
  width: 100%;
  max-width: 640px;
  justify-self: end;
}

.hero__frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 0.77;
  border-radius: 48% 48% 3px 3px / 35% 35% 3px 3px;
  background: var(--bg-soft);
}

.hero__frame::after {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 2;
  border: 1px solid rgba(246, 241, 232, 0.3);
  border-radius: inherit;
  pointer-events: none;
}

.hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.hero__visual:hover .hero__frame img {
  transform: scale(1.025);
}

.hero__photo-label {
  position: absolute;
  z-index: 3;
  top: 30%;
  left: 28px;
  padding: 10px 14px;
  color: var(--ink);
  background: rgba(252, 248, 241, 0.9);
  backdrop-filter: blur(8px);
  font-size: 8.5px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero__seal {
  position: absolute;
  top: 29%;
  right: 26px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 106px;
  height: 106px;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(246, 241, 232, 0.9);
  backdrop-filter: blur(10px);
}

.hero__seal svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 42s linear infinite;
}

.hero__seal text {
  fill: currentColor;
  font-family: var(--sans);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.hero__seal > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
}

.hero__seal-mark {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hero__rating-card {
  position: absolute;
  z-index: 3;
  bottom: -26px;
  left: 26px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 190px;
  padding: 16px 19px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 20px 45px rgba(43, 33, 24, 0.1);
  color: var(--muted);
  font-size: 9.5px;
  letter-spacing: 0.02em;
}

.hero__rating-top {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 2px;
}

.hero__rating-top strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
}

.hero__vertical-note {
  position: absolute;
  top: 50%;
  right: -46px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
}

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(252, 248, 241, 0.3);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  padding: 19px 0;
  animation: marquee 55s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__track span {
  font-family: var(--serif);
  font-size: 25px;
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.marquee__track i {
  display: inline-flex;
  color: var(--accent);
}

.marquee__track .icon {
  width: 15px;
  height: 15px;
}

@keyframes marquee {
  to {
    transform: translateX(-33.333%);
  }
}

/* ------------------------------------------------------------- intro block */

.intro-statement {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(240px, 0.45fr);
  gap: 64px;
  align-items: end;
  padding: 118px 0 120px;
}

.intro-statement > p {
  max-width: 900px;
  font-family: var(--serif);
  font-size: clamp(36px, 4.3vw, 64px);
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.intro-statement > p em {
  color: var(--accent-deep);
  font-style: italic;
}

.intro-statement__aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 8px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

/* ----------------------------------------------------------- section heads */

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 54px;
}

.section-head h2 {
  margin-top: 20px;
  font-size: clamp(42px, 5.1vw, 74px);
  line-height: 0.94;
}

.section-head__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding-bottom: 7px;
}

.section-head__aside p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.section-head--light {
  color: var(--bg);
}

.section-head--light .section-head__aside p {
  color: rgba(246, 241, 232, 0.6);
}

.section-head--light h2 em {
  color: var(--accent-soft);
}

/* ------------------------------------------------------------ constructor */

.constructor-section {
  padding: 20px 0 126px;
}

.constructor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(260px, 0.82fr);
  gap: 16px;
  align-items: stretch;
}

.step-card {
  display: flex;
  flex-direction: column;
  padding: 16px 16px 23px;
  border: 1px solid var(--line);
  background: rgba(252, 248, 241, 0.6);
  transition:
    transform 0.45s var(--ease),
    background 0.35s ease,
    border-color 0.35s ease;
}

.step-card:hover {
  border-color: var(--line-strong);
  background: var(--paper);
  transform: translateY(-5px);
}

.step-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 2px 14px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.step-card__top .icon {
  width: 20px;
  height: 20px;
  stroke-width: 1.1;
}

.step-card__image {
  overflow: hidden;
  aspect-ratio: 1 / 1.04;
  margin-bottom: 20px;
  background: var(--bg-soft);
}

.step-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.step-card:hover .step-card__image img {
  transform: scale(1.04);
}

.step-card h3 {
  margin-bottom: 8px;
  font-size: 30px;
  line-height: 1;
}

.step-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.step-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
  color: var(--ink-2);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.step-card__meta .icon {
  width: 14px;
  height: 14px;
  margin-left: auto;
  transition: transform 0.3s var(--ease);
}

.step-card:hover .step-card__meta .icon {
  transform: translateX(4px);
}

.constructor-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 27px;
  color: var(--bg);
  background: var(--ink);
}

.constructor-card__ring {
  position: absolute;
  top: -100px;
  right: -110px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(230, 202, 187, 0.22);
  border-radius: 50%;
}

.constructor-card__ring::before,
.constructor-card__ring::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(230, 202, 187, 0.14);
  border-radius: 50%;
}

.constructor-card__ring::before {
  inset: 30px;
}

.constructor-card__ring::after {
  inset: 62px;
}

.constructor-card > p {
  position: relative;
  color: rgba(246, 241, 232, 0.55);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.constructor-card__price {
  position: relative;
  margin: 15px 0 12px;
  font-family: var(--serif);
  font-size: clamp(38px, 3.5vw, 52px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.constructor-card__price span {
  display: block;
  margin-bottom: 6px;
  color: rgba(246, 241, 232, 0.52);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.constructor-card__note {
  position: relative;
  max-width: 210px;
  margin-bottom: 24px;
  color: rgba(246, 241, 232, 0.55);
  font-size: 11px;
  line-height: 1.6;
}

.constructor-card .button {
  position: relative;
  width: 100%;
}

/* ------------------------------------------------------------ works block */

.works-preview {
  padding: 118px 0 135px;
  color: var(--bg);
  background: var(--ink);
}

.works-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
}

.work-tile:nth-child(2) {
  margin-top: 52px;
}

.work-tile__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 0.76;
  background: rgba(255, 255, 255, 0.05);
}

.work-tile__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 14, 10, 0.3), transparent 40%);
  pointer-events: none;
}

.work-tile__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.work-tile:hover .work-tile__image img {
  transform: scale(1.04);
}

.work-tile__arrow {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(246, 241, 232, 0.35);
  border-radius: 50%;
  color: var(--bg);
  backdrop-filter: blur(8px);
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.work-tile:hover .work-tile__arrow {
  color: var(--ink);
  background: var(--bg);
}

.work-tile__arrow .icon {
  width: 16px;
  height: 16px;
}

.work-tile__body {
  padding-top: 17px;
}

.work-tile__meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: rgba(246, 241, 232, 0.45);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.work-tile h3 {
  margin: 10px 0 7px;
  font-size: 34px;
  line-height: 1;
}

.work-tile p {
  color: rgba(246, 241, 232, 0.48);
  font-size: 11px;
  line-height: 1.55;
}

.works-preview__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 86px;
  padding-top: 22px;
  border-top: 1px solid var(--cream-line);
}

.works-preview__footer > span {
  color: rgba(246, 241, 232, 0.4);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ----------------------------------------------------------- sweets block */

.sweets-preview {
  padding: 124px 0 130px;
}

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

.sweet-mini__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 0.8;
  background: var(--bg-soft);
}

.sweet-mini__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.sweet-mini:hover .sweet-mini__image img {
  transform: scale(1.04);
}

.sweet-mini__image .pill {
  position: absolute;
  top: 12px;
  left: 12px;
}

.sweet-mini__body {
  padding: 17px 2px 0;
}

.sweet-mini__category {
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sweet-mini h3 {
  margin: 7px 0 14px;
  font-size: 25px;
  line-height: 1.02;
}

.sweet-mini__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
}

.sweet-mini__foot small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
}

.sweet-mini__foot .icon {
  width: 15px;
  height: 15px;
  transition: transform 0.3s var(--ease);
}

.sweet-mini:hover .sweet-mini__foot .icon {
  transform: translateX(4px);
}

/* ------------------------------------------------------------------ about */

.about-section {
  padding: 60px 0 135px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: clamp(60px, 8vw, 130px);
  align-items: center;
}

.about-visual {
  position: relative;
  max-width: 560px;
}

.about-visual__frame {
  overflow: hidden;
  aspect-ratio: 0.84;
  margin: 0 28px;
  border-radius: 46% 46% 2px 2px / 30% 30% 2px 2px;
}

.about-visual__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-visual::before {
  content: "";
  position: absolute;
  inset: 22px 0 28px 0;
  border: 1px solid var(--line);
  border-radius: 46% 46% 2px 2px / 30% 30% 2px 2px;
  pointer-events: none;
}

.about-visual__caption {
  position: absolute;
  right: -20px;
  bottom: 54px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 208px;
  padding: 15px 17px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 20px 50px rgba(43, 33, 24, 0.09);
}

.about-visual__caption > span {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  flex: none;
  border-radius: 50%;
  color: var(--bg);
  background: var(--accent-deep);
}

.about-visual__caption .icon {
  width: 13px;
  height: 13px;
}

.about-visual__caption p {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.about-visual__index {
  position: absolute;
  top: 12px;
  left: -52px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.about-copy h2 {
  margin: 16px 0 28px;
  font-size: clamp(42px, 4.9vw, 68px);
  line-height: 0.95;
}

.about-copy__text {
  max-width: 540px;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.8;
  white-space: pre-line;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 38px 0 34px;
  padding: 27px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.stat strong {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat span {
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.4;
  letter-spacing: 0.03em;
}

/* ---------------------------------------------------------------- process */

.process-section {
  padding: 120px 0 110px;
  color: var(--bg);
  background: var(--olive);
}

.process-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.4fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 64px;
}

.process-head h2 {
  margin-top: 18px;
  font-size: clamp(44px, 5.2vw, 76px);
  line-height: 0.94;
}

.process-head h2 em {
  color: var(--accent-soft);
}

.process-head__note {
  max-width: 330px;
  padding-bottom: 9px;
  color: rgba(246, 241, 232, 0.58);
  font-size: 12.5px;
  line-height: 1.75;
}

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

.process-step {
  padding-top: 18px;
  border-top: 1px solid rgba(246, 241, 232, 0.26);
}

.process-step__num {
  color: var(--accent-soft);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.process-step h3 {
  margin: 22px 0 10px;
  font-size: 30px;
  line-height: 1;
}

.process-step p {
  color: rgba(246, 241, 232, 0.55);
  font-size: 11.5px;
  line-height: 1.7;
}

.process-quote {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-top: 90px;
  padding-top: 40px;
  border-top: 1px solid rgba(246, 241, 232, 0.18);
}

.process-quote > .icon {
  width: 34px;
  height: 34px;
  color: var(--accent-soft);
  stroke-width: 0.8;
}

.process-quote blockquote {
  max-width: 850px;
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 37px);
  font-style: italic;
  line-height: 1.16;
}

.process-quote > span {
  color: rgba(246, 241, 232, 0.45);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------- contact */

.contact-section {
  padding: 112px 0;
  color: var(--bg);
  background: var(--accent-deep);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.84fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: start;
}

.contact-copy h2 {
  margin: 18px 0 25px;
  font-size: clamp(45px, 5.2vw, 78px);
  line-height: 0.93;
}

.contact-copy h2 em {
  color: #f0d7c7;
}

.contact-copy__lead {
  max-width: 480px;
  color: rgba(246, 241, 232, 0.72);
  font-size: 13.5px;
  line-height: 1.75;
}

.contact-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
  margin-top: 40px;
  border-top: 1px solid rgba(246, 241, 232, 0.22);
}

.contact-list > a,
.contact-list > div {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(246, 241, 232, 0.22);
}

.contact-list > a:hover {
  color: #f0d7c7;
}

.contact-list__icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  flex: none;
  border: 1px solid rgba(246, 241, 232, 0.3);
  border-radius: 50%;
}

.contact-list__icon .icon {
  width: 15px;
  height: 15px;
}

.contact-list > a > span:last-child,
.contact-list > div > span:last-child {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.1;
}

.contact-list small {
  display: block;
  margin-bottom: 4px;
  color: rgba(246, 241, 232, 0.48);
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-copy__note {
  max-width: 430px;
  margin-top: 26px;
  color: rgba(246, 241, 232, 0.5);
  font-size: 10.5px;
  line-height: 1.65;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 17px;
  padding: 36px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 30px 80px rgba(43, 33, 24, 0.18);
}

.contact-form__head {
  margin-bottom: 4px;
}

.contact-form__head h3 {
  margin-top: 8px;
  font-size: 34px;
  line-height: 1;
}

.contact-form .field > span {
  color: var(--muted);
}

.contact-form .field input,
.contact-form .field textarea {
  border-color: rgba(43, 33, 24, 0.18);
  background: #fffdf9;
}

.contact-form .button {
  margin-top: 4px;
}

/* -------------------------------------------------------------- page hero */

.page-hero {
  padding: 74px 0 60px;
  border-bottom: 1px solid var(--line);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.48fr);
  gap: 64px;
  align-items: end;
}

.page-hero__title h1 {
  margin-top: 23px;
  font-size: clamp(55px, 7vw, 104px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  white-space: pre-line;
}

.page-hero__title h1 em {
  color: var(--accent-deep);
}

.page-hero__aside {
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding-bottom: 9px;
}

.page-hero__aside > p {
  max-width: 480px;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.75;
  white-space: pre-line;
}

.page-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.page-hero__chips span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-hero__chips .icon {
  width: 13px;
  height: 13px;
}

/* -------------------------------------------------------------- calculator */

.calc-form {
  padding-top: 44px;
  padding-bottom: 90px;
}

.calc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 378px;
  gap: 60px;
  align-items: start;
}

.calc-main {
  min-width: 0;
}

.calc-step {
  padding-bottom: 58px;
  margin-bottom: 58px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 120px;
}

.calc-step:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.calc-step__head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  margin-bottom: 27px;
}

.calc-step__number {
  padding-top: 7px;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
  line-height: 1;
}

.calc-step__head h2 {
  font-size: clamp(32px, 3vw, 42px);
  line-height: 0.95;
}

.calc-step__head p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}

.calc-step__hint {
  padding-top: 11px;
  color: var(--muted);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.size-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.size-option {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 14px;
  min-height: 96px;
  padding: 17px 19px;
  border: 1px solid var(--line);
  background: rgba(252, 248, 241, 0.5);
  cursor: pointer;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.size-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.size-option:hover {
  border-color: var(--line-strong);
  background: var(--paper);
}

.size-option:has(input:checked) {
  border-color: var(--ink);
  color: var(--bg);
  background: var(--ink);
}

.size-option:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.size-option__check {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: transparent;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.size-option__check .icon {
  width: 11px;
  height: 11px;
  stroke-width: 2;
}

.size-option:has(input:checked) .size-option__check {
  border-color: var(--accent-soft);
  color: var(--ink);
  background: var(--accent-soft);
}

.size-option__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.size-option__body strong {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
}

.size-option__body span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.02em;
}

.size-option:has(input:checked) .size-option__body span {
  color: rgba(246, 241, 232, 0.58);
}

.size-option__body i {
  font-style: normal;
  opacity: 0.55;
}

.size-option__price {
  margin-left: auto;
  padding-top: 3px;
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 600;
}

.size-option:has(input:checked) .size-option__price {
  color: var(--accent-soft);
}

.size-option__note {
  flex-basis: 100%;
  margin-top: 8px;
  color: var(--muted);
  font-size: 8.5px;
  letter-spacing: 0.04em;
}

.size-option:has(input:checked) .size-option__note {
  color: rgba(246, 241, 232, 0.38);
}

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

.choice-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: rgba(252, 248, 241, 0.55);
  cursor: pointer;
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    transform 0.3s var(--ease);
}

.choice-card:hover {
  border-color: var(--line-strong);
  background: var(--paper);
}

.choice-card:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.choice-card:has(input:checked) {
  border-color: var(--accent-deep);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--accent-deep);
}

.choice-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.choice-card__image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1.32;
  background: var(--bg-soft);
}

.choice-card--design .choice-card__image {
  aspect-ratio: 1.1;
}

.choice-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.choice-card:hover .choice-card__image img {
  transform: scale(1.035);
}

.choice-card__image .pill {
  position: absolute;
  top: 11px;
  left: 11px;
  z-index: 1;
}

.choice-card__check {
  position: absolute;
  top: 11px;
  right: 11px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid rgba(43, 33, 24, 0.22);
  border-radius: 50%;
  color: transparent;
  background: rgba(252, 248, 241, 0.8);
  backdrop-filter: blur(6px);
  transition:
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.choice-card__check .icon {
  width: 13px;
  height: 13px;
  stroke-width: 2;
}

.choice-card:has(input:checked) .choice-card__check {
  border-color: var(--accent-deep);
  color: var(--bg);
  background: var(--accent-deep);
}

.choice-card__body {
  display: flex;
  flex-direction: column;
  min-height: 150px;
  padding: 17px 17px 18px;
}

.choice-card__title {
  font-family: var(--serif);
  font-size: 27px;
  line-height: 0.98;
}

.choice-card__description {
  margin-top: 8px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.55;
}

.choice-card__price {
  margin-top: auto;
  padding-top: 15px;
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 600;
}

.choice-card__price small {
  color: var(--muted);
  font-weight: 400;
}

.details-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.78fr);
  gap: 22px;
}

.inscription-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.inscription-preview {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 155px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--paper);
  text-align: center;
}

.inscription-preview::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid var(--line);
  pointer-events: none;
}

.inscription-preview__eyebrow {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.inscription-preview__text {
  margin: 11px 0 13px;
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 38px);
  font-style: italic;
  line-height: 1;
  overflow-wrap: anywhere;
}

.inscription-preview__line {
  width: 48px;
  height: 1px;
  background: var(--accent);
}

.details-notes {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.detail-note {
  display: flex;
  gap: 13px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.detail-note__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent-deep);
}

.detail-note__icon .icon {
  width: 15px;
  height: 15px;
}

.detail-note strong {
  display: block;
  margin-bottom: 3px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.detail-note p {
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.55;
}

/* summary */

.calc-summary {
  position: sticky;
  top: 116px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.calc-summary__card {
  padding: 25px;
  color: var(--bg);
  background: var(--ink);
}

.calc-summary__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--cream-line);
}

.calc-summary__top .eyebrow {
  color: rgba(246, 241, 232, 0.5);
}

.calc-summary__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(246, 241, 232, 0.42);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calc-summary__live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 3px rgba(139, 152, 126, 0.16);
}

.calc-summary__preview {
  display: flex;
  gap: 15px;
  padding: 20px 0;
  border-bottom: 1px solid var(--cream-line);
}

.calc-summary__image {
  overflow: hidden;
  width: 76px;
  height: 92px;
  flex: none;
  background: rgba(255, 255, 255, 0.06);
}

.calc-summary__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.calc-summary__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.calc-summary__info h3 {
  font-size: 25px;
  line-height: 1;
  overflow-wrap: anywhere;
}

.calc-summary__info p {
  margin-top: 6px;
  color: rgba(246, 241, 232, 0.48);
  font-size: 9.5px;
  line-height: 1.45;
}

.calc-summary__info p[data-summary-filling] {
  color: var(--accent-soft);
  font-size: 10.5px;
}

.calc-lines {
  display: flex;
  flex-direction: column;
  padding: 9px 0;
}

.calc-lines > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 0;
}

.calc-lines dt {
  color: rgba(246, 241, 232, 0.7);
  font-size: 10px;
  line-height: 1.4;
}

.calc-lines dt small {
  display: block;
  margin-top: 2px;
  color: rgba(246, 241, 232, 0.35);
  font-size: 8px;
  letter-spacing: 0.02em;
}

.calc-lines dd {
  color: rgba(246, 241, 232, 0.85);
  font-size: 10.5px;
  font-weight: 500;
  white-space: nowrap;
}

.calc-total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 15px;
  margin: 9px 0 20px;
  padding-top: 16px;
  border-top: 1px solid var(--cream-line);
}

.calc-total span {
  padding-bottom: 5px;
  color: rgba(246, 241, 232, 0.6);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.calc-total strong {
  font-family: var(--serif);
  font-size: 39px;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.calc-summary__card .button {
  color: var(--ink);
  background: var(--accent-soft);
}

.calc-summary__card .button:hover {
  background: var(--paper);
}

.calc-summary__trust {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--cream-line);
  color: rgba(246, 241, 232, 0.45);
  font-size: 8.5px;
  line-height: 1.5;
}

.calc-summary__trust .icon {
  width: 14px;
  height: 14px;
  margin-top: 1px;
}

.calc-summary__note {
  margin-top: 10px;
  color: rgba(246, 241, 232, 0.3);
  font-size: 8.5px;
  line-height: 1.5;
}

.calc-summary__personal {
  padding: 19px;
  border: 1px solid var(--line);
  background: rgba(252, 248, 241, 0.45);
}

.calc-summary__personal .seal-mini {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 11px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent-deep);
}

.calc-summary__personal .icon {
  width: 14px;
  height: 14px;
}

.calc-summary__personal p {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.calc-summary__personal .text-link {
  font-size: 8.5px;
}

/* order dialog */

.order-dialog {
  width: min(680px, calc(100vw - 32px));
  max-height: min(90vh, 860px);
  padding: 0;
  border: 0;
  border-radius: 2px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 40px 100px rgba(23, 16, 11, 0.3);
  overflow: auto;
}

.order-dialog::backdrop {
  background: rgba(30, 22, 16, 0.65);
  backdrop-filter: blur(5px);
}

.order-dialog[open] {
  animation: dialog-in 0.35s var(--ease) both;
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.order-dialog__inner {
  padding: 34px;
}

.order-dialog__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.order-dialog__head h2 {
  margin-top: 9px;
  font-size: 42px;
  line-height: 0.95;
}

.order-dialog__head .icon-button {
  flex: none;
}

.order-dialog__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  margin: 23px 0 24px;
  padding: 14px 16px;
  background: var(--bg-soft);
}

.order-dialog__summary > span:first-child {
  color: var(--muted);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.order-dialog__summary strong {
  font-size: 11.5px;
  font-weight: 500;
}

.order-dialog__summary > span:last-child {
  margin-left: auto;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
}

.order-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.order-fields .field:nth-child(4) {
  grid-column: 1 / -1;
}

.order-dialog__foot {
  margin-top: 23px;
}

.order-dialog__foot p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
  text-align: center;
}

.order-dialog__foot .form-note {
  display: block;
  margin-top: 7px;
  font-size: 9px;
  text-align: center;
}

/* after calc */

.calc-mobile-bar {
  display: none;
}

.after-calc {
  padding: 82px 0;
  border-top: 1px solid var(--line);
  background: rgba(252, 248, 241, 0.4);
}

.after-calc__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.52fr);
  gap: 70px;
  align-items: end;
}

.after-calc h2 {
  margin-top: 15px;
  font-size: clamp(40px, 4.5vw, 62px);
  line-height: 0.96;
}

.after-calc__grid > div:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.after-calc__grid > div:last-child p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.75;
}

/* ----------------------------------------------------------------- sweets */

.catalogue {
  padding-top: 38px;
  padding-bottom: 120px;
}

.catalogue__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 35px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.filter-chip span {
  color: var(--muted);
  font-size: 8px;
}

.filter-chip:hover {
  border-color: var(--line-strong);
  background: var(--paper);
}

.filter-chip.is-active {
  border-color: var(--ink);
  color: var(--bg);
  background: var(--ink);
}

.filter-chip.is-active span {
  color: rgba(246, 241, 232, 0.55);
}

.catalogue__note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 8.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.catalogue__note .icon {
  width: 13px;
  height: 13px;
  color: var(--accent);
}

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

.product-card {
  min-width: 0;
}

.product-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 0.9;
  background: var(--bg-soft);
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.85s var(--ease);
}

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

.product-card__image .pill {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}

.product-card__quick {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(252, 248, 241, 0.92);
  backdrop-filter: blur(8px);
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s var(--ease);
}

.product-card__quick .icon {
  width: 18px;
  height: 18px;
}

.product-card__quick:hover {
  color: var(--bg);
  background: var(--ink);
  transform: rotate(90deg);
}

.product-card__body {
  padding-top: 17px;
}

.product-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.product-card h2 {
  margin: 8px 0 7px;
  font-size: 30px;
  line-height: 1;
}

.product-card p {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 17px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.product-card__price {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
}

.add-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.add-button .icon {
  width: 13px;
  height: 13px;
}

.add-button:hover {
  border-color: var(--ink);
  color: var(--bg);
  background: var(--ink);
}

.catalogue__empty,
.portfolio-empty {
  padding: 60px 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
  text-align: center;
}

.product-card.is-highlighted .product-card__image {
  animation: highlight-card 1.4s ease;
}

@keyframes highlight-card {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(176, 102, 75, 0);
  }
  30% {
    box-shadow: 0 0 0 5px rgba(176, 102, 75, 0.35);
  }
}

.sweets-note {
  padding: 92px 0;
  background: var(--bg-soft);
}

.sweets-note__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 80px;
}

.sweets-note h2 {
  margin-top: 16px;
  font-size: clamp(42px, 4.7vw, 67px);
  line-height: 0.95;
}

.sweets-note__steps {
  border-top: 1px solid var(--line);
}

.sweets-note__steps > div {
  display: flex;
  gap: 22px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}

.sweets-note__steps span {
  color: var(--accent-deep);
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
}

.sweets-note__steps p {
  max-width: 550px;
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.7;
}

/* cart drawer */

.cart-layer {
  position: fixed;
  inset: 0;
  z-index: 300;
}

.cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 22, 16, 0.56);
  backdrop-filter: blur(4px);
  animation: fade-in 0.35s ease both;
}

.cart-drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(480px, 100%);
  color: var(--ink);
  background: var(--paper);
  box-shadow: -30px 0 70px rgba(30, 22, 16, 0.2);
  animation: cart-in 0.45s var(--ease) both;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

@keyframes cart-in {
  from {
    transform: translateX(100%);
  }
}

.cart-drawer__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 27px 28px 22px;
  border-bottom: 1px solid var(--line);
}

.cart-drawer__head h2 {
  margin-top: 7px;
  font-size: 35px;
  line-height: 0.95;
}

.cart-drawer__head h2 span {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0;
}

.cart-drawer__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  overflow-y: auto;
  padding: 8px 28px 24px;
  overscroll-behavior: contain;
}

.cart-items {
  width: 100%;
}

.cart-note {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.cart-note__eyebrow {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cart-note p {
  max-width: 320px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.6;
}

.cart-note .text-link {
  margin-top: 13px;
  font-size: 8.5px;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  text-align: center;
}

.cart-empty__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 19px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent-deep);
}

.cart-empty__icon .icon {
  width: 27px;
  height: 27px;
  stroke-width: 1.1;
}

.cart-empty h3 {
  margin-bottom: 8px;
  font-size: 31px;
}

.cart-empty p {
  max-width: 250px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.6;
}

.cart-empty .text-link {
  margin-top: 22px;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item__image {
  width: 76px;
  height: 92px;
  flex: none;
  object-fit: cover;
  background: var(--bg-soft);
}

.cart-item__info {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.cart-item__top {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.cart-item__top h3 {
  font-size: 21px;
  line-height: 1.03;
}

.cart-item__remove {
  display: grid;
  place-items: center;
  margin-left: auto;
  color: var(--muted);
  transition: color 0.2s;
}

.cart-item__remove:hover {
  color: var(--accent-deep);
}

.cart-item__remove .icon {
  width: 13px;
  height: 13px;
}

.cart-item__unit {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.cart-item__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 9px;
}

.cart-item__bottom strong {
  font-size: 12px;
  font-weight: 600;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.qty-control button {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  color: var(--ink-2);
}

.qty-control button:hover {
  color: var(--accent-deep);
}

.qty-control .icon {
  width: 12px;
  height: 12px;
}

.qty-control span {
  min-width: 20px;
  font-size: 10px;
  font-weight: 600;
  text-align: center;
}

.cart-drawer__foot {
  flex: none;
  max-height: 54vh;
  overflow-y: auto;
  padding: 18px 28px 24px;
  border-top: 1px solid var(--line);
  background: #f8f3ea;
}

.cart-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 14px;
}

.cart-total span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cart-total strong {
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 500;
  line-height: 1;
}

.cart-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.cart-drawer__foot .field {
  gap: 5px;
}

.cart-drawer__foot .field > span {
  font-size: 8.5px;
}

.cart-drawer__foot .field input,
.cart-drawer__foot .field textarea {
  padding: 10px 12px;
  font-size: 12px;
  background: var(--paper);
}

.cart-drawer__foot .field textarea {
  min-height: 58px;
}

.cart-drawer__foot .button {
  margin-top: 12px;
  min-height: 47px;
}

.cart-drawer__foot .form-note {
  margin-top: 8px;
  font-size: 8.5px;
  text-align: center;
}

.cart-error {
  margin: 5px 0;
  color: var(--accent-deep);
  font-size: 10.5px;
}

/* -------------------------------------------------------------- portfolio */

.portfolio-section {
  padding-top: 37px;
  padding-bottom: 92px;
}

.portfolio-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.rail-controls {
  display: flex;
  align-items: center;
  gap: 7px;
}

.rail-controls__hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 8px;
  color: var(--muted);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rail-controls__hint .icon {
  width: 14px;
  height: 14px;
}

.rail-arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.rail-arrow:hover {
  border-color: var(--ink);
  color: var(--bg);
  background: var(--ink);
}

.rail-arrow:disabled {
  opacity: 0.3;
  pointer-events: none;
}

.rail-arrow .icon {
  width: 16px;
  height: 16px;
}

.portfolio-rail {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  padding-bottom: 17px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.portfolio-rail::-webkit-scrollbar {
  display: none;
}

.work-card {
  flex: 0 0 clamp(310px, 35vw, 510px);
  scroll-snap-align: start;
  cursor: pointer;
}

.work-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 0.78;
  background: var(--bg-soft);
}

.work-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.work-card:hover .work-card__image img {
  transform: scale(1.035);
}

.work-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  color: var(--bg);
  background: linear-gradient(to top, rgba(23, 16, 11, 0.42), transparent 38%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.work-card:hover .work-card__overlay,
.work-card:focus-visible .work-card__overlay {
  opacity: 1;
}

.work-card__index {
  font-size: 9px;
  letter-spacing: 0.12em;
}

.work-card__open {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.work-card__open .icon {
  width: 15px;
  height: 15px;
}

.work-card__body {
  padding-top: 17px;
}

.work-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.work-card h2 {
  margin: 8px 0 7px;
  font-size: 37px;
  line-height: 0.98;
}

.work-card p {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.work-card__details {
  display: block;
  margin-top: 11px;
  color: var(--accent-deep);
  font-size: 9px;
  letter-spacing: 0.03em;
}

.rail-progress {
  overflow: hidden;
  width: min(360px, 40%);
  height: 1px;
  margin-top: 28px;
  background: var(--line);
}

.rail-progress span {
  display: block;
  width: 26%;
  height: 100%;
  background: var(--ink);
  transition: width 0.15s linear;
}

.portfolio-cta {
  padding: 105px 0;
  color: var(--bg);
  background: var(--ink);
}

.portfolio-cta__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(280px, 0.52fr);
  gap: 45px;
  align-items: end;
}

.portfolio-cta__seal {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border: 1px solid var(--cream-line);
  border-radius: 50%;
  color: var(--accent-soft);
}

.portfolio-cta__seal .icon {
  width: 29px;
  height: 29px;
  stroke-width: 1;
}

.portfolio-cta h2 {
  margin-top: 16px;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 0.95;
}

.portfolio-cta h2 em {
  color: var(--accent-soft);
}

.portfolio-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.portfolio-cta__actions p {
  color: rgba(246, 241, 232, 0.55);
  font-size: 12px;
  line-height: 1.7;
}

/* work dialog */

.work-dialog {
  position: relative;
  display: none;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.98fr);
  width: min(1120px, calc(100vw - 40px));
  max-height: min(90vh, 850px);
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 100px rgba(23, 16, 11, 0.35);
  overflow: hidden;
}

.work-dialog[open] {
  display: grid;
  animation: dialog-in 0.4s var(--ease) both;
}

.work-dialog::backdrop {
  background: rgba(30, 22, 16, 0.7);
  backdrop-filter: blur(5px);
}

.work-dialog__close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--bg);
  background: rgba(30, 22, 16, 0.4);
  backdrop-filter: blur(8px);
  transition: background 0.2s;
}

.work-dialog__close:hover {
  background: var(--ink);
}

.work-dialog__close .icon {
  width: 18px;
  height: 18px;
}

.work-dialog__image {
  overflow: hidden;
  min-height: 360px;
  background: var(--bg-soft);
}

.work-dialog__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-dialog__content {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 45px 40px 34px;
}

.work-dialog__meta {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.work-dialog__meta span + span::before {
  content: "·";
  margin-right: 10px;
}

.work-dialog h2 {
  margin: 16px 0 17px;
  font-size: clamp(42px, 4vw, 58px);
  line-height: 0.93;
}

.work-dialog__description {
  color: var(--ink-2);
  font-size: 12.5px;
  line-height: 1.8;
}

.work-dialog__details {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 25px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.work-dialog__details span {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.work-dialog__details strong {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}

.work-dialog__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 19px;
  margin-top: auto;
  padding-top: 28px;
}

.work-dialog__nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.work-dialog__nav span {
  min-width: 48px;
  color: var(--muted);
  font-size: 9px;
  text-align: center;
}

/* ----------------------------------------------------------------- thanks */

.thanks {
  padding: 78px 0 95px;
}

.thanks__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  gap: 90px;
  align-items: start;
}

.thanks__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 25px;
  border-radius: 50%;
  color: var(--bg);
  background: var(--accent-deep);
}

.thanks__icon .icon {
  width: 24px;
  height: 24px;
  stroke-width: 1.8;
}

.thanks h1 {
  margin: 21px 0 24px;
  font-size: clamp(52px, 6vw, 88px);
  line-height: 0.9;
}

.thanks__lead {
  max-width: 530px;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.8;
}

.thanks__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.thanks__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 29px;
  color: var(--muted);
  font-size: 12px;
}

.thanks__phone:hover {
  color: var(--accent-deep);
}

.thanks__phone .icon {
  width: 15px;
  height: 15px;
}

.thanks__summary {
  padding: 27px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.thanks__summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.thanks__cake-row,
.thanks__item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.thanks__cake-row span,
.thanks__item span {
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.4;
}

.thanks__cake-row strong {
  max-width: 65%;
  font-size: 11px;
  font-weight: 500;
  text-align: right;
}

.thanks__item span {
  color: var(--ink-2);
  font-size: 11.5px;
}

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

.thanks__item strong {
  font-size: 11.5px;
  font-weight: 500;
}

.thanks__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 0 5px;
}

.thanks__total span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.thanks__total strong {
  font-family: var(--serif);
  font-size: 33px;
  font-weight: 500;
}

.thanks__message {
  padding: 18px 0;
}

.thanks__message > span {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.thanks__message p {
  margin-top: 7px;
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.65;
  white-space: pre-line;
}

.thanks__contacts {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.thanks__contacts p {
  margin: 8px 0 4px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.6;
}

.thanks__contacts a {
  color: var(--accent-deep);
  font-size: 11px;
}

.thanks-next {
  padding: 65px 0 85px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}

.thanks-next__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 28px;
}

.thanks-next__grid > div {
  padding-top: 16px;
  border-top: 1px solid var(--line-strong);
}

.thanks-next__grid span {
  color: var(--accent-deep);
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
}

.thanks-next__grid h3 {
  margin: 18px 0 7px;
  font-size: 27px;
}

.thanks-next__grid p {
  max-width: 300px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

/* ----------------------------------------------------------------- errors */

.error-page {
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--header-h) - 80px);
  padding: 75px 0;
}

.error-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
  gap: 70px;
  align-items: center;
}

.error-page__number {
  color: var(--accent-soft);
  font-family: var(--serif);
  font-size: clamp(120px, 20vw, 300px);
  font-style: italic;
  line-height: 0.72;
  letter-spacing: -0.06em;
}

.error-page__copy h1 {
  margin: 20px 0 22px;
  font-size: clamp(48px, 6vw, 84px);
  line-height: 0.92;
}

.error-page__copy > p {
  max-width: 480px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

/* ---------------------------------------------------------------- footer */

.site-footer {
  padding: 85px 0 26px;
  color: var(--bg);
  background: #211811;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.3fr 0.54fr 0.78fr 0.72fr;
  gap: 55px;
  padding-bottom: 70px;
}

.brand--footer .brand__name {
  font-size: 43px;
}

.brand--footer .brand__tagline {
  color: rgba(246, 241, 232, 0.42);
  font-size: 8.5px;
}

.site-footer__brand p {
  max-width: 260px;
  margin: 22px 0 25px;
  color: rgba(246, 241, 232, 0.46);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.25;
}

.site-footer__social {
  display: flex;
  gap: 8px;
}

.site-footer__social a {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border: 1px solid rgba(246, 241, 232, 0.2);
  border-radius: 50%;
  color: rgba(246, 241, 232, 0.7);
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.site-footer__social a:hover {
  color: var(--ink);
  background: var(--bg);
}

.site-footer__social .icon {
  width: 16px;
  height: 16px;
}

.site-footer__nav,
.site-footer__contact,
.site-footer__note {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer .eyebrow {
  margin-bottom: 9px;
  color: rgba(246, 241, 232, 0.34);
}

.site-footer__nav a,
.site-footer__contact a {
  width: fit-content;
  color: rgba(246, 241, 232, 0.72);
  font-size: 11px;
  line-height: 1.4;
}

.site-footer__nav a:hover,
.site-footer__contact a:hover {
  color: var(--accent-soft);
}

.site-footer__phone {
  font-family: var(--serif);
  font-size: 24px !important;
  color: var(--bg) !important;
}

.site-footer__contact p,
.site-footer__note p {
  color: rgba(246, 241, 232, 0.38);
  font-size: 10px;
  line-height: 1.65;
}

.site-footer__note .text-link {
  margin-top: 5px;
  color: rgba(246, 241, 232, 0.68);
  border-color: rgba(246, 241, 232, 0.22);
  font-size: 8.5px;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 21px;
  border-top: 1px solid rgba(246, 241, 232, 0.12);
  color: rgba(246, 241, 232, 0.3);
  font-size: 8.5px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.site-footer__bottom a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(246, 241, 232, 0.42);
}

.site-footer__bottom a:hover {
  color: var(--accent-soft);
}

.site-footer__bottom .icon {
  width: 12px;
  height: 12px;
}

/* --------------------------------------------------------------- reveal */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.85s var(--ease),
    transform 0.85s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal[data-delay="1"] {
  transition-delay: 0.08s;
}

.js .reveal[data-delay="2"] {
  transition-delay: 0.16s;
}

.js .reveal[data-delay="3"] {
  transition-delay: 0.24s;
}

/* ------------------------------------------------------------- responsive */

@media (min-width: 1320px) {
  .header-phone {
    display: block;
  }
}

@media (max-width: 1180px) {
  :root {
    --gutter: 36px;
  }

  .main-nav {
    gap: 18px;
  }

  .hero__grid {
    gap: 48px;
  }

  .hero__vertical-note {
    display: none;
  }

  .constructor-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .constructor-card {
    grid-column: 1 / -1;
    min-height: 280px;
    margin-top: 4px;
  }

  .constructor-card__ring {
    top: -170px;
    right: -40px;
  }

  .constructor-card__price {
    margin-top: 20px;
    font-size: 60px;
  }

  .constructor-card__note {
    max-width: 330px;
  }

  .constructor-card .button {
    width: fit-content;
    min-width: 230px;
    margin-top: 4px;
  }

  .calc-layout {
    grid-template-columns: minmax(0, 1fr) 345px;
    gap: 36px;
  }
}

@media (max-width: 1040px) {
  .main-nav {
    display: none;
  }

  .menu-trigger {
    display: inline-grid;
  }

  .site-header__actions {
    margin-left: auto;
  }

  .hero__grid {
    grid-template-columns: 1fr 0.86fr;
  }

  .hero__copy {
    padding-top: 10px;
  }

  .hero__title {
    font-size: clamp(52px, 7.6vw, 86px);
  }

  .hero__seal {
    width: 88px;
    height: 88px;
    top: 29%;
    right: 24px;
  }

  .hero__rating-card {
    left: 14px;
  }

  .works-preview__grid {
    gap: 18px;
  }

  .sweets-preview__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px 18px;
  }

  .about-grid {
    gap: 60px;
  }

  .calc-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .calc-summary {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(230px, 0.75fr);
    align-items: start;
  }

  .calc-summary__personal {
    height: 100%;
  }

  .calculator-page {
    padding-bottom: 72px;
  }

  .calc-mobile-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 11px var(--gutter) calc(11px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(252, 248, 241, 0.96);
    box-shadow: 0 -14px 40px rgba(43, 33, 24, 0.08);
    backdrop-filter: blur(14px);
  }

  .calc-mobile-bar > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .calc-mobile-bar span {
    color: var(--muted);
    font-size: 8px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .calc-mobile-bar strong {
    font-family: var(--serif);
    font-size: 27px;
    font-weight: 500;
    line-height: 1;
  }

  .calc-mobile-bar .button {
    min-height: 43px;
    padding: 11px 18px;
    font-size: 8.5px;
  }

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

  .contact-grid {
    gap: 50px;
  }

  .site-footer__top {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px;
  }

  .site-footer__note {
    grid-column: 2 / 4;
  }
}

@media (max-width: 860px) {
  :root {
    --gutter: 26px;
    --header-h: 76px;
  }

  .header-cta {
    display: none;
  }

  .brand__name {
    font-size: 26px;
  }

  .announcement {
    font-size: 8.5px;
  }

  .hero {
    padding: 24px 0 65px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero__copy {
    padding-bottom: 0;
  }

  .hero__title {
    max-width: 650px;
    font-size: clamp(54px, 11vw, 90px);
  }

  .hero__text {
    max-width: 540px;
  }

  .hero__visual {
    justify-self: center;
    max-width: 560px;
  }

  .hero__rating-card {
    left: 12px;
    bottom: -22px;
  }

  .hero__photo-label {
    top: 30%;
    left: 22px;
    bottom: auto;
  }

  .marquee__track span {
    font-size: 21px;
  }

  .intro-statement {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 80px 0;
  }

  .intro-statement__aside {
    max-width: 360px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 38px;
  }

  .section-head__aside {
    max-width: 480px;
    padding: 0;
  }

  .section-head h2 {
    font-size: clamp(40px, 7.6vw, 62px);
  }

  .constructor-section {
    padding-bottom: 90px;
  }

  .constructor-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .constructor-card {
    grid-column: 1 / -1;
    min-height: 300px;
  }

  .step-card__image {
    aspect-ratio: 1 / 1.15;
  }

  .works-preview {
    padding: 84px 0 95px;
  }

  .works-preview__grid {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 12px;
  }

  .works-preview__grid::-webkit-scrollbar {
    display: none;
  }

  .work-tile {
    flex: 0 0 72vw;
    max-width: 440px;
    scroll-snap-align: start;
  }

  .work-tile:nth-child(2) {
    margin-top: 0;
  }

  .works-preview__footer {
    margin-top: 46px;
  }

  .sweets-preview {
    padding: 85px 0 95px;
  }

  .about-section {
    padding: 35px 0 100px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 65px;
  }

  .about-visual {
    width: min(100%, 500px);
    margin-inline: auto;
  }

  .about-copy {
    max-width: 620px;
  }

  .process-section {
    padding: 85px 0 80px;
  }

  .process-head {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 22px;
  }

  .process-quote {
    grid-template-columns: auto 1fr;
    gap: 20px;
    margin-top: 60px;
  }

  .process-quote > span {
    grid-column: 2;
  }

  .contact-section {
    padding: 85px 0;
  }

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

  .contact-form {
    max-width: 600px;
  }

  .page-hero {
    padding: 54px 0 45px;
  }

  .page-hero__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .page-hero__aside {
    padding: 0;
    max-width: 580px;
  }

  .page-hero__title h1 {
    font-size: clamp(50px, 10.5vw, 82px);
  }

  .calc-form {
    padding-top: 32px;
  }

  .calculator-page {
    padding-bottom: 72px;
  }

  .calc-mobile-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 11px var(--gutter) calc(11px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(252, 248, 241, 0.96);
    box-shadow: 0 -14px 40px rgba(43, 33, 24, 0.08);
    backdrop-filter: blur(14px);
  }

  .calc-mobile-bar > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .calc-mobile-bar span {
    color: var(--muted);
    font-size: 8px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .calc-mobile-bar strong {
    font-family: var(--serif);
    font-size: 27px;
    font-weight: 500;
    line-height: 1;
  }

  .calc-mobile-bar .button {
    min-height: 43px;
    padding: 11px 18px;
    font-size: 8.5px;
  }

  .calc-summary {
    grid-template-columns: 1fr;
  }

  .calc-summary__personal {
    display: none;
  }

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

  .after-calc__grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .sweets-note__grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .product-grid {
    gap: 38px 18px;
  }

  .portfolio-cta__inner {
    grid-template-columns: auto 1fr;
    align-items: start;
  }

  .portfolio-cta__actions {
    grid-column: 2;
  }

  .portfolio-cta__seal {
    width: 64px;
    height: 64px;
  }

  .work-dialog[open] {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
  }

  .work-dialog__image {
    min-height: 0;
    height: 46vh;
    flex: none;
  }

  .work-dialog__content {
    overflow: visible;
    padding: 30px 25px;
  }

  .work-dialog h2 {
    font-size: 42px;
  }

  .thanks {
    padding: 55px 0 75px;
  }

  .thanks__grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .thanks__summary {
    max-width: 540px;
  }

  .thanks-next__grid {
    grid-template-columns: 1fr;
    gap: 23px;
  }

  .error-page {
    padding: 55px 0;
  }

  .error-page__grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .error-page__number {
    font-size: clamp(100px, 30vw, 190px);
  }

  .site-footer {
    padding-top: 62px;
  }

  .site-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 38px;
    padding-bottom: 48px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .site-footer__note {
    grid-column: 1 / -1;
  }

  .site-footer__bottom {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px 24px;
  }
}

@media (max-width: 620px) {
  :root {
    --gutter: 18px;
  }

  body {
    font-size: 15px;
  }

  .announcement {
    padding: 8px 14px;
    font-size: 8px;
    letter-spacing: 0.08em;
  }

  .announcement__dot {
    display: none;
  }

  .site-header__inner {
    gap: 12px;
  }

  .brand__name {
    font-size: 23px;
  }

  .brand__tagline {
    font-size: 7px;
  }

  .cart-trigger {
    width: 38px;
    height: 38px;
  }

  .icon-button {
    width: 39px;
    height: 39px;
  }

  .hero__title {
    font-size: clamp(47px, 13.5vw, 70px);
    line-height: 0.91;
  }

  .hero__text {
    font-size: 13.5px;
  }

  .hero__actions {
    gap: 8px;
  }

  .hero__actions .button {
    flex: 1 1 auto;
    padding-inline: 18px;
    min-height: 50px;
    font-size: 9px;
  }

  .hero__meta {
    gap: 11px;
    margin-top: 28px;
    font-size: 10px;
  }

  .hero__meta-divider {
    display: none;
  }

  .hero__meta .hero__rating-inline {
    flex-basis: 100%;
  }

  .hero__seal {
    width: 74px;
    height: 74px;
    top: 30%;
    right: 16px;
  }

  .hero__seal text {
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .hero__seal .icon {
    width: 18px;
    height: 18px;
  }

  .hero__photo-label {
    top: 31%;
    left: 14px;
    bottom: auto;
    padding: 8px 10px;
    font-size: 7px;
  }

  .hero__rating-card {
    bottom: -18px;
    left: 10px;
    min-width: 165px;
    padding: 12px 14px;
  }

  .hero__rating-top strong {
    font-size: 21px;
  }

  .hero__rating-card {
    font-size: 8px;
  }

  .marquee__track {
    gap: 22px;
    padding: 14px 0;
  }

  .marquee__track span {
    font-size: 18px;
  }

  .intro-statement {
    padding: 64px 0;
  }

  .intro-statement > p {
    font-size: clamp(30px, 8.6vw, 44px);
  }

  .section-head h2 {
    font-size: clamp(36px, 10.8vw, 48px);
  }

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

  .constructor-card {
    min-height: 260px;
  }

  .constructor-card__price {
    font-size: 48px;
  }

  .step-card {
    padding: 14px 14px 19px;
  }

  .step-card__image {
    aspect-ratio: 1.45;
  }

  .step-card h3 {
    font-size: 28px;
  }

  .works-preview {
    padding: 68px 0 78px;
  }

  .work-tile {
    flex-basis: 82vw;
  }

  .work-tile h3 {
    font-size: 29px;
  }

  .works-preview__footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .sweets-preview {
    padding: 68px 0 80px;
  }

  .sweets-preview__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .sweet-mini {
    display: grid;
    grid-template-columns: 40% 1fr;
    gap: 15px;
    align-items: center;
  }

  .sweet-mini__image {
    aspect-ratio: 0.86;
  }

  .sweet-mini__body {
    padding: 0;
  }

  .sweet-mini h3 {
    margin: 5px 0 10px;
    font-size: 24px;
  }

  .sweet-mini__foot {
    margin-top: 4px;
  }

  .about-visual__caption {
    right: -4px;
    bottom: 28px;
    max-width: 175px;
    padding: 11px 12px;
  }

  .about-visual__frame {
    margin: 0 12px;
  }

  .about-visual::before {
    inset: 12px 0 16px;
  }

  .about-visual__index {
    display: none;
  }

  .about-copy h2 {
    font-size: clamp(37px, 10.5vw, 48px);
  }

  .stats {
    gap: 10px;
  }

  .stat strong {
    font-size: 33px;
  }

  .stat span {
    font-size: 8px;
  }

  .process-section {
    padding: 67px 0 64px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .process-step {
    display: grid;
    grid-template-columns: 32px 1fr;
    column-gap: 10px;
  }

  .process-step__num {
    grid-row: 1 / 3;
    padding-top: 7px;
  }

  .process-step h3 {
    margin: 0 0 7px;
    font-size: 27px;
  }

  .process-quote {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 45px;
  }

  .process-quote > .icon {
    width: 26px;
    height: 26px;
  }

  .process-quote blockquote {
    font-size: 25px;
  }

  .process-quote > span {
    grid-column: 1;
  }

  .contact-section {
    padding: 65px 0;
  }

  .contact-copy h2 {
    font-size: clamp(39px, 11vw, 52px);
  }

  .contact-list {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 28px;
  }

  .contact-list > a > span:last-child,
  .contact-list > div > span:last-child {
    font-size: 19px;
  }

  .contact-form {
    padding: 24px 19px;
  }

  .contact-form__head h3 {
    font-size: 29px;
  }

  .page-hero {
    padding: 42px 0 36px;
  }

  .page-hero__title h1 {
    font-size: clamp(45px, 13vw, 64px);
  }

  .page-hero__aside > p {
    font-size: 12.5px;
  }

  .page-hero__chips {
    gap: 6px;
  }

  .page-hero__chips span {
    padding: 7px 9px;
    font-size: 7.5px;
  }

  .calc-step {
    margin-bottom: 44px;
    padding-bottom: 44px;
  }

  .calc-step__head {
    grid-template-columns: 32px 1fr;
    gap: 7px;
    margin-bottom: 21px;
  }

  .calc-step__number {
    font-size: 15px;
  }

  .calc-step__hint {
    display: none;
  }

  .calc-step__head h2 {
    font-size: 32px;
  }

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

  .size-option {
    min-height: 83px;
    padding: 14px 16px;
  }

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

  .choice-card__image,
  .choice-card--design .choice-card__image {
    aspect-ratio: 1.5;
  }

  .choice-card__body {
    min-height: 0;
    padding: 14px;
    padding-bottom: 16px;
  }

  .choice-card__title {
    font-size: 25px;
  }

  .calc-summary__card {
    padding: 20px;
  }

  .calc-total strong {
    font-size: 35px;
  }

  .after-calc {
    padding: 55px 0;
  }

  .after-calc h2 {
    font-size: 38px;
  }

  .order-dialog {
    width: calc(100vw - 18px);
    max-height: 93vh;
  }

  .order-dialog__inner {
    padding: 24px 18px;
  }

  .order-dialog__head h2 {
    font-size: 34px;
  }

  .order-dialog__summary {
    margin: 18px 0;
  }

  .order-dialog__summary > span:last-child {
    margin-left: 0;
    flex-basis: 100%;
  }

  .order-fields {
    grid-template-columns: 1fr;
  }

  .order-fields .field:nth-child(4) {
    grid-column: auto;
  }

  .catalogue {
    padding-top: 27px;
    padding-bottom: 80px;
  }

  .catalogue__toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 25px;
  }

  .catalogue__note {
    display: none;
  }

  .filter-chips {
    gap: 5px;
  }

  .filter-chip {
    padding: 8px 11px;
    font-size: 8px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 37px;
  }

  .product-card__image {
    aspect-ratio: 1.05;
  }

  .product-card h2 {
    font-size: 28px;
  }

  .product-card__body {
    padding-top: 13px;
  }

  .sweets-note {
    padding: 60px 0;
  }

  .sweets-note h2 {
    font-size: clamp(38px, 10.6vw, 50px);
  }

  .cart-drawer__head {
    padding: 22px 18px 17px;
  }

  .cart-drawer__body {
    padding: 6px 18px 18px;
  }

  .cart-drawer__foot {
    padding: 15px 18px 18px;
    max-height: 57vh;
  }

  .cart-fields {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cart-drawer__head h2 {
    font-size: 29px;
  }

  .portfolio-section {
    padding-top: 27px;
    padding-bottom: 65px;
  }

  .portfolio-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .rail-controls {
    align-self: flex-end;
  }

  .rail-controls__hint {
    display: none;
  }

  .portfolio-rail {
    gap: 17px;
  }

  .work-card {
    flex-basis: 84vw;
  }

  .work-card h2 {
    font-size: 31px;
  }

  .portfolio-cta {
    padding: 65px 0;
  }

  .portfolio-cta__inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .portfolio-cta__seal {
    display: none;
  }

  .portfolio-cta__actions {
    grid-column: 1;
  }

  .portfolio-cta h2 {
    font-size: clamp(37px, 11vw, 48px);
  }

  .work-dialog {
    width: calc(100vw - 16px);
    max-height: 93vh;
  }

  .work-dialog__image {
    height: 38vh;
  }

  .work-dialog__content {
    padding: 24px 19px;
  }

  .work-dialog h2 {
    font-size: 36px;
  }

  .work-dialog__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .thanks__grid {
    gap: 34px;
  }

  .thanks h1 {
    font-size: clamp(43px, 12vw, 58px);
  }

  .thanks__summary {
    padding: 20px;
  }

  .thanks__actions .button {
    flex: 1 1 100%;
  }

  .site-footer {
    padding-top: 50px;
  }

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

  .site-footer__brand,
  .site-footer__note {
    grid-column: 1;
  }

  .brand--footer .brand__name {
    font-size: 37px;
  }

  .site-footer__brand p {
    font-size: 20px;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .toasts {
    top: 13px;
    right: 13px;
    width: calc(100vw - 26px);
  }
}

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

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

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

  .marquee__track {
    animation: none;
  }
}

/* Honeypot: hidden from people, visible to naive bots. */
.hp-field { position: absolute !important; left: -10000px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

