@font-face {
  font-family: "Vetrino";
  src: url("../assets/fonts/vetrino.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../assets/fonts/montserrat-cyrillic.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045f, U+0490-0491, U+04b0-04b1, U+2116;
}

@font-face {
  font-family: "Montserrat";
  src: url("../assets/fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
  unicode-range: U+0000-00ff, U+0131, U+0152-0153, U+02bb-02bc, U+02c6, U+02da, U+02dc, U+0304,
    U+0308, U+0329, U+2000-206f, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd;
}

:root {
  --ink: #1c1c1a;
  --ink-soft: #4d4c48;
  --muted: #74716b;
  --line: #e8e5de;
  --paper: #fbfaf6;
  --white: #ffffff;
  --lavender-strong: #6269bb;
  --lavender: #c0c4f4;
  --lavender-soft: #eef0ff;
  --peony: #ffb5cc;
  --peony-soft: #fff0f5;
  --stem: #b7d365;
  --stem-soft: #f1f6df;
  --coral: #ff8562;
  --coral-soft: #fff0eb;
  --font-display: "Vetrino", Georgia, serif;
  --font-text: "Montserrat", Arial, sans-serif;
  --shell: 1240px;
  --header: 78px;
  --radius-s: 12px;
  --radius-m: 22px;
  --radius-l: 36px;
  --radius-pill: 999px;
  --shadow: 0 22px 64px rgb(28 28 26 / 10%);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 24px);
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

::selection {
  color: var(--ink);
  background: var(--peony);
}

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

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

button {
  cursor: pointer;
}

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

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

:focus-visible {
  outline: 3px solid var(--ink);
  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: 1000;
  top: 12px;
  left: 12px;
  min-height: 44px;
  padding: 10px 18px;
  transform: translateY(-180%);
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  transition: transform 160ms var(--ease);
}

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

.shell {
  width: min(calc(100% - 64px), var(--shell));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  border-bottom: 1px solid transparent;
  transition: background-color 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-solid {
  border-color: rgb(28 28 26 / 9%);
  background: rgb(251 250 246 / 91%);
  backdrop-filter: blur(18px);
}

.header__inner {
  display: grid;
  min-height: var(--header);
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
}

.wordmark {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 0.045em;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 34px);
  font-size: 12px;
  font-weight: 600;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--peony);
  content: "";
  transition: transform 180ms var(--ease);
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-contact {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid rgb(28 28 26 / 16%);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
}

.header-contact::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--stem);
  content: "";
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  place-content: center;
  gap: 7px;
  border: 1px solid rgb(28 28 26 / 14%);
  border-radius: 50%;
  background: var(--paper);
}

.menu-button span:not(.sr-only) {
  width: 19px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 180ms ease;
}

.menu-button[aria-expanded="true"] span:nth-of-type(1) {
  transform: translateY(4.25px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-of-type(2) {
  transform: translateY(-4.25px) rotate(-45deg);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  transition: transform 180ms var(--ease), background-color 180ms ease, color 180ms ease,
    border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--ink {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 10px 24px rgb(28 28 26 / 13%);
}

.button--ink:hover {
  background: var(--lavender-strong);
  box-shadow: 0 14px 30px rgb(98 105 187 / 22%);
}

.button--light {
  background: var(--white);
  color: var(--ink);
}

.button--outline {
  border-color: rgb(28 28 26 / 24%);
}

.button--outline:hover {
  border-color: var(--ink);
}

.button--small {
  min-height: 44px;
  padding: 11px 18px;
}

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

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  border-bottom: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.text-link span {
  transition: transform 180ms var(--ease);
}

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

.eyebrow {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section {
  padding: 120px 0;
}

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

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

.section-heading h2,
.subhero h1,
.home-hero h1,
.story h2,
.closing h2,
.dialog__body h2 {
  margin-bottom: 0;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.97;
}

.section-heading h2,
.story h2,
.closing h2 {
  font-size: clamp(46px, 5vw, 72px);
}

h1 em,
h2 em {
  color: var(--lavender-strong);
  font-style: normal;
}

.section-heading__copy {
  margin: 0 0 6px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.vector-art {
  position: absolute;
  z-index: 3;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.home-hero {
  position: relative;
  min-height: 840px;
  padding: calc(var(--header) + 54px) 0 64px;
  overflow: hidden;
  background: radial-gradient(circle at 82% 18%, rgb(192 196 244 / 38%), transparent 27rem),
    radial-gradient(circle at 11% 82%, rgb(255 181 204 / 19%), transparent 26rem), var(--paper);
}

.home-hero__layout {
  display: grid;
  min-height: 700px;
  grid-template-columns: minmax(0, 0.88fr) minmax(460px, 0.8fr);
  align-items: center;
  gap: 72px;
}

.home-hero__copy {
  position: relative;
  z-index: 5;
}

.home-hero h1 {
  max-width: 750px;
  margin-bottom: 25px;
  font-size: clamp(64px, 7.2vw, 106px);
}

.home-hero h1 span {
  color: var(--lavender-strong);
}

.home-hero__lead {
  max-width: 570px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.7;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}

.home-hero__visual {
  position: relative;
  justify-self: end;
  width: min(100%, 540px);
  height: 650px;
}

.home-hero__photo-main,
.home-hero__photo-small {
  position: absolute;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.home-hero__photo-main {
  z-index: 1;
  inset: 5% 0 3% 16%;
  width: 82%;
  height: 86%;
  transform: rotate(2deg);
  border-radius: 46% 46% 34% 38% / 33% 33% 47% 49%;
}

.home-hero__photo-small {
  z-index: 2;
  bottom: 0;
  left: 0;
  width: 185px;
  height: 220px;
  transform: rotate(-6deg);
  border: 10px solid var(--paper);
  border-radius: 24px;
}

.home-hero__blob {
  position: absolute;
  inset: 0 -12% 3% 9%;
  transform: rotate(5deg);
  border-radius: 44% 48% 44% 52%;
  background: var(--lavender);
}

.home-hero__overlay--bloom {
  right: -7%;
  bottom: 5%;
  width: 190px;
  transform: rotate(9deg);
}

.home-hero__overlay--curve {
  top: 5%;
  left: 1%;
  width: 138px;
  transform: rotate(-8deg);
}

.home-hero__aside {
  position: absolute;
  bottom: 67px;
  left: 32px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--ink);
  background: var(--stem);
}

.ticker__track {
  display: flex;
  width: max-content;
  min-height: 62px;
  align-items: center;
  animation: ticker 34s linear infinite;
}

.ticker__track span {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 20px;
}

.ticker__track span::after {
  margin: 0 28px;
  color: var(--lavender-strong);
  content: "✦";
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 370px 300px;
  gap: 16px;
}

.service-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgb(28 28 26 / 9%);
  border-radius: var(--radius-l);
  transition: transform 240ms var(--ease), box-shadow 240ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card--bouquets {
  grid-column: 1 / 7;
  grid-row: 1 / 3;
  background: var(--peony-soft);
}

.service-card--subscription {
  grid-column: 7 / 10;
  background: var(--lavender-soft);
}

.service-card--wedding {
  grid-column: 10 / 13;
  background: var(--peony);
}

.service-card--workshops {
  grid-column: 7 / 11;
  background: var(--stem-soft);
}

.service-card--certificate {
  grid-column: 11 / 13;
  background: var(--coral-soft);
}

.service-card__top {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.service-card__index {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.service-card__content {
  position: relative;
  z-index: 3;
  max-width: 420px;
}

.service-card h3 {
  margin-bottom: 9px;
  font-family: var(--font-display);
  font-size: clamp(27px, 3vw, 44px);
  font-weight: 500;
  line-height: 1;
}

.service-card p {
  max-width: 330px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.65;
}

.service-card--bouquets .service-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 700ms var(--ease);
}

.service-card--bouquets::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(28 28 26 / 3%) 35%, rgb(28 28 26 / 68%));
  content: "";
}

.service-card--bouquets:hover .service-card__photo {
  transform: scale(1.035);
}

.service-card--bouquets .service-card__content,
.service-card--bouquets .service-card__top {
  color: var(--white);
}

.service-card--bouquets p,
.service-card--bouquets .service-card__index {
  color: rgb(255 255 255 / 72%);
}

.service-card__artwork {
  top: 63px;
  right: 12px;
  width: 145px;
  transform: rotate(7deg);
}

.service-card--workshops .service-card__artwork {
  top: 28px;
  right: 22px;
  width: 126px;
  transform: rotate(-8deg);
}

.service-card--certificate .service-card__artwork {
  top: 70px;
  right: 4px;
  width: 100px;
  transform: rotate(12deg);
}

.service-card--certificate h3 {
  font-size: clamp(24px, 2.35vw, 36px);
  overflow-wrap: anywhere;
}

.bouquet-entry {
  background: var(--paper);
}

.bouquet-entry__heading {
  max-width: 910px;
  margin: 0 auto 58px;
  text-align: center;
}

.bouquet-entry__heading h2 {
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-size: clamp(50px, 6.6vw, 88px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.bouquet-entry__heading > p:last-child {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

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

.bouquet-path {
  display: grid;
  min-width: 0;
  min-height: 510px;
  grid-template-rows: auto 1fr auto;
  gap: 34px;
  padding: 38px;
  border: 1px solid rgb(28 28 26 / 8%);
  border-radius: var(--radius-l);
}

.bouquet-path--quick {
  background: var(--lavender);
}

.bouquet-path--individual {
  background: var(--stem-soft);
}

.bouquet-path__top,
.bouquet-path__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.bouquet-path__top > span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bouquet-path__top strong {
  color: rgb(28 28 26 / 38%);
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 500;
}

.bouquet-path h3 {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: clamp(47px, 5vw, 68px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.bouquet-path p {
  max-width: 510px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.75;
}

.bouquet-path__footer {
  padding-top: 28px;
  border-top: 1px solid rgb(28 28 26 / 18%);
}

.bouquet-path__footer b {
  font-size: 11px;
}

.bouquet-path__footer .button {
  min-width: 218px;
  background: rgb(255 255 255 / 28%);
}

.product-row,
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--white);
}

.product-card__image {
  height: 410px;
  overflow: hidden;
  background: var(--lavender-soft);
}

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

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

.product-card__body {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 21px;
}

.product-card h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
}

.product-card strong {
  font-size: 12px;
}

.product-card__button {
  position: absolute;
  right: 16px;
  bottom: 72px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
}

.story {
  position: relative;
  overflow: hidden;
  background: var(--lavender-strong);
  color: var(--paper);
}

.story__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 0.72fr);
  align-items: center;
  gap: 96px;
}

.story__visual {
  position: relative;
  min-height: 590px;
}

.story__visual > img {
  position: absolute;
  inset: 0 0 0 10%;
  width: 76%;
  height: 100%;
  object-fit: cover;
  border-radius: 46% 46% 30% 30%;
}

.story .eyebrow {
  color: var(--lavender);
}

.story h2 {
  margin-bottom: 25px;
}

.story h2 em {
  color: var(--peony);
}

.story__copy > p:not(.eyebrow) {
  max-width: 570px;
  margin-bottom: 30px;
  color: rgb(251 250 246 / 72%);
  font-size: 14px;
  line-height: 1.8;
}

.story .text-link {
  border-color: var(--paper);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}

.info-card {
  min-height: 260px;
  padding: 30px;
  border-left: 1px solid var(--line);
}

.info-card:last-child {
  border-right: 1px solid var(--line);
}

.info-card__icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 50px;
  border-radius: 50%;
  background: var(--lavender);
  font-family: var(--font-display);
  font-size: 25px;
}

.info-card:nth-child(2) .info-card__icon {
  background: var(--peony);
}

.info-card:nth-child(3) .info-card__icon {
  background: var(--stem);
}

.info-card h3 {
  margin-bottom: 9px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.social-block,
.certificate {
  position: relative;
  display: grid;
  min-height: 410px;
  grid-template-columns: 1fr 0.62fr;
  align-items: center;
  gap: 70px;
  overflow: hidden;
  padding: 58px;
  border-radius: var(--radius-l);
  background: var(--peony);
}

.social-block h2,
.certificate h2 {
  max-width: 760px;
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: clamp(45px, 5.5vw, 76px);
  font-weight: 500;
  line-height: 0.97;
}

.social-block p,
.certificate p {
  max-width: 620px;
  margin-bottom: 25px;
  font-size: 13px;
  line-height: 1.75;
}

.social-block__artwork,
.certificate__artwork {
  position: relative;
  z-index: 2;
  width: min(100%, 330px);
  justify-self: center;
  transform: rotate(5deg);
  mix-blend-mode: multiply;
}

.subhero {
  position: relative;
  min-height: 640px;
  padding: calc(var(--header) + 74px) 0 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.subhero--catalog,
.subhero--weddings {
  background: var(--peony-soft);
}

.subhero--subscription {
  background: var(--lavender-soft);
}

.subhero--workshops {
  background: var(--stem-soft);
}

.subhero__layout {
  display: grid;
  min-height: 480px;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 0.72fr);
  align-items: center;
  gap: 80px;
}

.subhero__copy {
  position: relative;
  z-index: 3;
}

.subhero h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(61px, 7vw, 100px);
}

.subhero__lead {
  max-width: 610px;
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
}

.subhero__visual {
  position: relative;
  height: 480px;
}

.subhero__photo {
  position: absolute;
  inset: 0 0 0 6%;
  width: 82%;
  height: 100%;
  object-fit: cover;
  border-radius: 44% 44% 28% 28%;
  box-shadow: var(--shadow);
}

.subhero__overlay--art {
  right: -3%;
  bottom: -8%;
  width: 185px;
  transform: rotate(8deg);
}

.subhero__overlay--curve {
  top: 1%;
  left: -2%;
  width: 126px;
  transform: rotate(-10deg);
}

.subhero--subscription .subhero__overlay--art {
  right: -1%;
  bottom: -5%;
  width: 178px;
  transform: rotate(-6deg);
}

.subhero--weddings .subhero__overlay--art {
  right: -5%;
  bottom: -4%;
  width: 202px;
  transform: rotate(8deg);
}

.subhero--workshops .subhero__overlay--art {
  right: -2%;
  bottom: -7%;
  transform: rotate(-5deg);
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.filter-list,
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button,
.preference-chip {
  min-height: 44px;
  padding: 10px 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-size: 10px;
  font-weight: 700;
}

.filter-button[aria-pressed="true"],
.preference-chip[aria-pressed="true"] {
  border-color: var(--lavender-strong);
  background: var(--lavender);
}

.filter-button:hover,
.preference-chip:hover {
  border-color: var(--lavender-strong);
}

.catalog-count {
  color: var(--muted);
  font-size: 10px;
}

.catalog-card[hidden] {
  display: none;
}

.catalog-card .product-card__image {
  height: 460px;
}

.catalog-note {
  display: grid;
  min-height: 280px;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 60px;
  margin-top: 72px;
  padding: 44px;
  border-radius: var(--radius-l);
  background: var(--lavender);
}

.catalog-note h2 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: clamp(35px, 4vw, 56px);
  font-weight: 500;
  line-height: 1;
}

.catalog-note p {
  max-width: 620px;
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
}

.subscription-builder {
  background: var(--lavender-soft);
}

.builder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  align-items: start;
  gap: 34px;
}

.builder__form {
  display: grid;
  gap: 24px;
}

.choice-group {
  min-width: 0;
  padding: 30px;
  border: 1px solid rgb(28 28 26 / 9%);
  border-radius: var(--radius-l);
  background: rgb(255 255 255 / 72%);
}

.choice-group legend {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
}

.choice-group legend span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-text);
  font-size: 10px;
}

.size-options,
.rhythm-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 10px;
}

.size-card,
.rhythm-card {
  position: relative;
  cursor: pointer;
}

.size-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--white);
  transition: transform 180ms var(--ease), border-color 180ms ease, box-shadow 180ms ease;
}

.size-card:hover {
  transform: translateY(-3px);
}

.size-card:has(input:checked),
.rhythm-card:has(input:checked) {
  border-color: var(--lavender-strong);
  box-shadow: 0 0 0 2px var(--lavender-strong);
}

.size-card:has(input:focus-visible),
.rhythm-card:has(input:focus-visible) {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.size-card input,
.rhythm-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.size-card__image {
  height: 185px;
  overflow: hidden;
  background: var(--peony-soft);
}

.size-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.size-card__image--illustrated {
  position: relative;
  display: block;
  isolation: isolate;
}

.size-card__image--small {
  background: var(--stem-soft);
}

.size-card__image--medium {
  background: var(--lavender-soft);
}

.size-card__image--large {
  background: var(--peony-soft);
}

.size-card__image--illustrated::before,
.size-card__image--illustrated::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.size-card__image--illustrated::before {
  top: -42px;
  right: -34px;
  width: 112px;
  height: 112px;
  background: rgb(255 255 255 / 54%);
}

.size-card__image--illustrated::after {
  bottom: -56px;
  left: -38px;
  width: 126px;
  height: 126px;
  border: 1px solid rgb(28 28 26 / 10%);
}

.size-card__image--illustrated .size-card__art {
  position: absolute;
  z-index: 2;
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: none;
}

.size-card__art-label {
  position: absolute;
  z-index: 1;
  top: 13px;
  left: 15px;
  color: rgb(28 28 26 / 24%);
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1;
}

.size-card__art--tulip {
  right: 22%;
  bottom: 5px;
  width: 112px !important;
  transform: rotate(-5deg);
}

.size-card__art--curve-small {
  top: 8px;
  right: 5px;
  width: 62px !important;
  transform: rotate(12deg);
}

.size-card__art--bloom {
  right: 13%;
  bottom: -7px;
  width: 118px !important;
  transform: rotate(8deg);
}

.size-card__art--berries-medium {
  top: 11px;
  right: 8px;
  width: 68px !important;
  transform: rotate(11deg);
}

.size-card__art--curve-medium {
  bottom: 4px;
  left: 3px;
  width: 70px !important;
  transform: rotate(-8deg);
}

.size-card__art--flower-large {
  right: 25%;
  bottom: -4px;
  width: 122px !important;
  transform: rotate(-8deg);
}

.size-card__art--bloom-large {
  top: 3px;
  right: -1px;
  width: 88px !important;
  transform: rotate(16deg);
}

.size-card__art--berries-large {
  top: 4px;
  left: 24%;
  width: 63px !important;
  transform: rotate(-15deg);
}

.size-card__art--curve-large {
  right: 3px;
  bottom: 0;
  width: 66px !important;
  transform: rotate(-10deg);
}

.size-card__body {
  position: relative;
  display: grid;
  gap: 6px;
  min-height: 112px;
  padding: 17px;
}

.size-card__body strong {
  font-family: var(--font-display);
  font-size: 17px;
}

.size-card__body small {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.size-card__price {
  font-size: 11px;
  font-weight: 700;
}

.size-card__check {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  transform: scale(0);
  border-radius: 50%;
  background: var(--lavender-strong);
  color: var(--white);
  font-size: 10px;
  transition: transform 180ms var(--ease);
}

.size-card:has(input:checked) .size-card__check {
  transform: scale(1);
}

.rhythm-card {
  display: flex;
  min-height: 90px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--white);
}

.rhythm-card span {
  display: grid;
  gap: 4px;
}

.rhythm-card strong {
  font-size: 11px;
}

.rhythm-card small {
  color: var(--muted);
  font-size: 8px;
}

.rhythm-card i {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.rhythm-card:has(input:checked) i {
  border: 6px solid var(--lavender-strong);
}

.choice-group__hint {
  margin: 8px 0 17px 50px;
  color: var(--muted);
  font-size: 10px;
}

.preference-chip[aria-pressed="true"]::before {
  margin-right: 6px;
  content: "✓";
}

.order-summary {
  position: sticky;
  top: calc(var(--header) + 24px);
  padding: 29px;
  border: 1px solid var(--lavender);
  border-radius: var(--radius-l);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.order-summary .eyebrow {
  color: var(--lavender-strong);
}

.order-summary h3 {
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
}

.order-summary__rhythm {
  color: var(--muted);
  font-size: 10px;
}

.order-summary dl {
  display: grid;
  gap: 10px;
  padding: 17px 0;
  margin: 0;
  border-block: 1px solid var(--line);
}

.order-summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 10px;
}

.order-summary dt {
  color: var(--muted);
}

.order-summary dd {
  margin: 0;
  text-align: right;
}

.order-summary__price {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding: 21px 0;
}

.order-summary__price span {
  max-width: 78px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.4;
  text-transform: uppercase;
}

.order-summary__price strong {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
}

.order-summary .button {
  background: var(--ink);
  color: var(--white);
}

.order-summary__fineprint {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.5;
  text-align: center;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.editorial-card {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  padding: 34px;
  border-radius: var(--radius-l);
  background: var(--lavender-soft);
}

.editorial-card--pink {
  background: var(--peony-soft);
}

.editorial-card--green {
  background: var(--stem-soft);
}

.editorial-card--photo {
  color: var(--white);
}

.editorial-card--photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(28 28 26 / 4%), rgb(28 28 26 / 66%));
  content: "";
}

.editorial-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-card__content {
  position: absolute;
  z-index: 2;
  right: 34px;
  bottom: 34px;
  left: 34px;
}

.editorial-card h3 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 500;
  line-height: 1;
}

.editorial-card p {
  max-width: 520px;
  margin-bottom: 0;
  font-size: 11px;
  line-height: 1.7;
}

.editorial-card__artwork {
  top: 34px;
  right: 28px;
  width: 170px;
  transform: rotate(8deg);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
  margin: 0;
  border-block: 1px solid var(--line);
  list-style: none;
}

.step {
  min-height: 280px;
  padding: 28px;
  border-left: 1px solid var(--line);
}

.step:last-child {
  border-right: 1px solid var(--line);
}

.step__number {
  color: var(--lavender-strong);
  font-size: 9px;
  font-weight: 800;
}

.step__dot {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  margin: 40px 0 29px;
  border-radius: 50%;
  background: var(--lavender);
  font-family: var(--font-display);
  font-size: 24px;
}

.step:nth-child(2) .step__dot {
  background: var(--peony);
}

.step:nth-child(3) .step__dot {
  background: var(--stem);
}

.step:nth-child(4) .step__dot {
  background: var(--coral);
}

.step h3 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.workshop-list {
  display: grid;
  gap: 12px;
}

.workshop-card {
  display: grid;
  min-height: 165px;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--white);
}

.workshop-card__date {
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  border-radius: 50%;
  background: var(--stem-soft);
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  text-align: center;
}

.workshop-card:nth-child(2) .workshop-card__date {
  background: var(--peony-soft);
}

.workshop-card:nth-child(3) .workshop-card__date {
  background: var(--lavender-soft);
}

.workshop-card__date small {
  font-family: var(--font-text);
  font-size: 8px;
  text-transform: uppercase;
}

.workshop-card h3 {
  margin-bottom: 5px;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 600;
}

.workshop-card p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.workshop-card__meta {
  display: grid;
  justify-items: end;
  gap: 9px;
}

.workshop-card__meta strong {
  font-size: 12px;
}

.certificate {
  background: var(--coral-soft);
}

.certificate__artwork {
  transform: rotate(-6deg);
}

.accordion {
  border-top: 1px solid var(--ink);
}

.accordion__item {
  border-bottom: 1px solid var(--line);
}

.accordion__item h3 {
  margin: 0;
}

.accordion__item button {
  display: flex;
  width: 100%;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 19px 0;
  border: 0;
  background: transparent;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  text-align: left;
}

.accordion__item button span {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.accordion__item button span::before,
.accordion__item button span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1px;
  transform: translate(-50%, -50%);
  background: var(--ink);
  content: "";
  transition: transform 180ms ease;
}

.accordion__item button span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.accordion__item button[aria-expanded="true"] span {
  border-color: var(--lavender-strong);
  background: var(--lavender);
}

.accordion__item button[aria-expanded="true"] span::after {
  transform: translate(-50%, -50%);
}

.accordion__panel {
  max-width: 760px;
  padding: 0 52px 24px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.accordion__panel p {
  margin: 0;
}

.closing {
  position: relative;
  overflow: hidden;
  background: var(--stem-soft);
}

.closing__layout {
  position: relative;
  display: grid;
  min-height: 390px;
  grid-template-columns: 1fr 0.55fr;
  align-items: center;
  gap: 80px;
}

.closing h2 {
  margin-bottom: 0;
}

.closing__action p {
  max-width: 480px;
  margin-bottom: 24px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.75;
}

.closing__artwork {
  top: -34px;
  right: 36%;
  width: 150px;
  transform: rotate(9deg);
}

.site-footer {
  padding: 68px 0 24px;
  background: var(--ink);
  color: var(--white);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.7fr 0.7fr 0.9fr;
  gap: 52px;
  padding-bottom: 54px;
}

.wordmark--footer {
  margin-bottom: 12px;
}

.footer__brand p,
.footer__grid address {
  margin: 0;
  color: rgb(255 255 255 / 48%);
  font-size: 10px;
  font-style: normal;
  line-height: 1.7;
}

.footer__nav,
.footer__contacts {
  display: grid;
  align-content: start;
  gap: 3px;
}

.footer__nav a,
.footer__contacts a {
  display: inline-flex;
  width: max-content;
  min-height: 44px;
  align-items: center;
  font-size: 11px;
}

.footer__grid a:hover {
  color: var(--peony);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding-top: 22px;
  border-top: 1px solid rgb(255 255 255 / 12%);
  color: rgb(255 255 255 / 36%);
  font-size: 8px;
  text-transform: uppercase;
}

.order-dialog {
  width: min(calc(100% - 32px), 600px);
  max-height: min(840px, calc(100svh - 32px));
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: var(--radius-l);
  background: var(--paper);
  box-shadow: 0 34px 100px rgb(28 28 26 / 36%);
}

.order-dialog::backdrop {
  background: rgb(28 28 26 / 58%);
  backdrop-filter: blur(8px);
}

.bouquet-dialog {
  width: min(calc(100% - 32px), 1420px);
  height: min(930px, calc(100svh - 32px));
  max-width: none;
  max-height: none;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 0 34px 100px rgb(28 28 26 / 36%);
}

.bouquet-dialog::backdrop {
  background: rgb(28 28 26 / 64%);
  backdrop-filter: blur(8px);
}

.bouquet-wizard {
  display: grid;
  height: 100%;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.wizard__header {
  position: relative;
  padding: 34px 70px 0;
}

.wizard__kicker {
  margin-bottom: 12px;
  color: var(--lavender-strong);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.wizard__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.wizard__close {
  position: absolute;
  top: 28px;
  right: 38px;
  display: grid;
  width: 52px;
  height: 52px;
  padding: 0 0 4px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  font-size: 31px;
}

.wizard__progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.wizard__progress span {
  height: 3px;
  border-radius: var(--radius-pill);
  background: var(--line);
}

.wizard__progress span.is-active {
  background: var(--lavender-strong);
}

.wizard__scroll {
  overflow: auto;
  padding: 42px 70px 50px;
}

.wizard-step[hidden],
.wizard-mode[hidden],
.wizard-recipient[hidden] {
  display: none;
}

.wizard-step__heading {
  display: grid;
  max-width: 1040px;
  grid-template-columns: 86px 1fr;
  gap: 30px;
  margin-bottom: 34px;
}

.wizard-step__number {
  padding-top: 5px;
  color: var(--lavender-strong);
  font-family: var(--font-display);
  font-size: 34px;
}

.wizard-step__heading h3 {
  margin: 0 0 7px;
  font-family: var(--font-display);
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
}

.wizard-step__heading p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.wizard-mode,
.wizard-fields,
.wizard-summary {
  max-width: 1120px;
  margin-left: 116px;
}

.wizard-fieldset {
  min-width: 0;
  padding: 0;
  margin: 0 0 30px;
  border: 0;
}

.wizard-fieldset legend,
.wizard-field > span {
  display: block;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 800;
}

.wizard-size-grid,
.wizard-mood-grid,
.wizard-field-grid {
  display: grid;
  gap: 16px;
}

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

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

.wizard-choice {
  position: relative;
  display: flex;
  min-width: 0;
  border: 1px solid rgb(28 28 26 / 22%);
  background: var(--white);
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.wizard-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.wizard-choice:has(input:checked) {
  border-color: var(--ink);
  background: var(--lavender-soft);
  box-shadow: 0 0 0 4px var(--lavender);
}

.wizard-choice:has(input:focus-visible) {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.wizard-choice--size {
  min-height: 190px;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border-radius: 28px;
}

.wizard-choice__letter {
  color: var(--lavender-strong);
  font-family: var(--font-display);
  font-size: 38px;
}

.wizard-choice__copy {
  display: grid;
  gap: 4px;
}

.wizard-choice__copy b {
  font-size: 15px;
}

.wizard-choice__copy span {
  color: var(--muted);
  font-size: 11px;
}

.wizard-choice__copy strong {
  margin-top: 8px;
  font-size: 15px;
}

.wizard-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wizard-choice--chip {
  min-height: 52px;
  align-items: center;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 13px;
}

.wizard-choice--chip:has(input:checked) {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
  box-shadow: none;
}

.wizard-budget-input {
  position: relative;
  display: flex;
  width: 210px;
  min-height: 52px;
  align-items: center;
}

.wizard-budget-input input {
  width: 100%;
  min-height: 52px;
  padding: 12px 42px 12px 20px;
  border: 1px solid rgb(28 28 26 / 22%);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-size: 13px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.wizard-budget-input > span {
  position: absolute;
  right: 20px;
  color: var(--muted);
  font-size: 13px;
  pointer-events: none;
}

.wizard-budget-input.is-active input,
.wizard-budget-input:focus-within input {
  border-color: var(--ink);
  outline: 0;
  box-shadow: 0 0 0 4px var(--lavender);
}

.wizard-choice--mood {
  min-height: 122px;
  align-items: flex-end;
  padding: 22px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 800;
}

.wizard-choice--mood::before {
  position: absolute;
  top: 20px;
  left: 22px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--lavender);
  content: "";
}

.wizard-choice--mood:nth-child(2)::before {
  background: var(--coral);
}

.wizard-choice--mood:nth-child(3)::before {
  background: linear-gradient(135deg, var(--lavender-strong), var(--stem));
}

.wizard-choice--mood:nth-child(4)::before {
  background: var(--muted);
}

.wizard-field {
  display: grid;
  align-content: start;
}

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

.wizard-field input,
.wizard-field select,
.wizard-field textarea {
  width: 100%;
  min-height: 58px;
  padding: 15px 18px;
  border: 1px solid rgb(28 28 26 / 25%);
  border-radius: 18px;
  background: var(--white);
  font-size: 13px;
}

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

.wizard-toggle {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  padding: 7px;
  border-radius: 22px;
  background: var(--line);
}

.wizard-toggle .wizard-choice {
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 16px;
  background: transparent;
  font-size: 13px;
}

.wizard-toggle .wizard-choice:has(input:checked) {
  background: var(--white);
  box-shadow: var(--shadow);
}

.wizard-recipient {
  margin-top: 24px;
}

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

.wizard-summary > div {
  min-height: 122px;
  padding: 22px;
  border-radius: 22px;
  background: var(--lavender-soft);
}

.wizard-summary dt {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wizard-summary dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.15;
}

.wizard__status {
  grid-column: 1 / -1;
  min-height: 0;
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 12px;
}

.wizard__status:not(:empty) {
  padding: 16px;
  border-radius: 18px;
  background: var(--stem-soft);
}

.wizard__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 108px;
  padding: 20px 70px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.wizard__back {
  min-height: 44px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  font-size: 13px;
}

.wizard__next,
.wizard__submit {
  min-width: 330px;
}

.wizard__next[hidden],
.wizard__submit[hidden] {
  display: none;
}

.dialog__body {
  position: relative;
  padding: 46px;
}

.dialog__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0 0 3px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  font-size: 25px;
}

.dialog__body h2 {
  margin-bottom: 16px;
  font-size: clamp(40px, 7vw, 56px);
}

.dialog__summary {
  padding: 12px 15px;
  margin-bottom: 24px;
  border-radius: var(--radius-s);
  background: var(--lavender-soft);
  color: var(--lavender-strong);
  font-size: 10px;
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 15px;
}

.contact-form label {
  display: grid;
  gap: 6px;
}

.contact-form label > span {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--white);
  font-size: 13px;
  resize: vertical;
}

.contact-form textarea {
  min-height: 86px;
}

.form-note,
.form-status {
  margin: -3px 0 0;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.5;
  text-align: center;
}

.form-status:not(:empty) {
  padding: 10px;
  border-radius: var(--radius-s);
  background: var(--stem-soft);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 680ms var(--ease), transform 680ms var(--ease);
}

.reveal--late {
  transition-delay: 120ms;
}

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

@media (max-width: 1080px) {
  .main-nav {
    gap: 16px;
  }

  .header-contact {
    padding-inline: 14px;
  }

  .home-hero__layout,
  .subhero__layout {
    grid-template-columns: minmax(0, 1fr) minmax(370px, 0.7fr);
    gap: 44px;
  }

  .home-hero__visual {
    height: 580px;
  }

  .home-hero__overlay--bloom {
    right: -3%;
    width: 160px;
  }

  .home-hero__overlay--curve {
    width: 116px;
  }

  .service-card--subscription,
  .service-card--wedding {
    grid-column: 7 / 13;
  }

  .service-card--subscription {
    grid-row: 1;
  }

  .service-card--wedding {
    display: none;
  }

  .service-card--workshops {
    grid-column: 7 / 10;
  }

  .service-card--certificate {
    grid-column: 10 / 13;
  }

  .builder {
    grid-template-columns: minmax(0, 1fr) 315px;
    gap: 22px;
  }

  .choice-group {
    padding: 24px;
  }

  .size-card__image {
    height: 155px;
  }

  .story__layout {
    gap: 55px;
  }
}

@media (max-width: 920px) {
  :root {
    --header: 72px;
  }

  .shell {
    width: min(calc(100% - 44px), var(--shell));
  }

  .menu-button {
    display: grid;
  }

  .header-contact {
    justify-self: end;
  }

  .main-nav {
    position: fixed;
    z-index: -1;
    inset: var(--header) 0 auto;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 20px 22px 30px;
    transform: translateY(-120%);
    background: var(--paper);
    box-shadow: 0 22px 50px rgb(28 28 26 / 12%);
    opacity: 0;
    visibility: hidden;
    transition: transform 280ms var(--ease), opacity 200ms ease, visibility 200ms ease;
  }

  .main-nav.is-open {
    z-index: 1;
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .main-nav a {
    min-height: 50px;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: 18px;
  }

  .main-nav a::after {
    display: none;
  }

  .site-header,
  .site-header.is-scrolled {
    border-color: rgb(28 28 26 / 9%);
    background: rgb(251 250 246 / 94%);
    backdrop-filter: blur(18px);
  }

  .home-hero {
    min-height: auto;
  }

  .home-hero__layout {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr) 330px;
  }

  .home-hero h1 {
    font-size: clamp(58px, 8vw, 74px);
  }

  .home-hero__visual {
    height: 500px;
  }

  .home-hero__overlay--bloom {
    width: 138px;
  }

  .home-hero__overlay--curve {
    width: 98px;
  }

  .home-hero__photo-small {
    width: 135px;
    height: 165px;
  }

  .bouquet-path {
    min-height: 470px;
    padding: 30px;
  }

  .bouquet-path__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .bouquet-path__footer .button {
    width: 100%;
  }

  .wizard__header {
    padding-inline: 44px;
  }

  .wizard__scroll {
    padding-inline: 44px;
  }

  .wizard-mode,
  .wizard-fields,
  .wizard-summary {
    margin-left: 0;
  }

  .wizard__footer {
    padding-inline: 44px;
  }

  .home-hero__aside {
    display: none;
  }

  .section {
    padding: 94px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 470px 300px 300px;
  }

  .service-card--bouquets {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .service-card--subscription,
  .service-card--wedding,
  .service-card--workshops,
  .service-card--certificate {
    display: flex;
    grid-column: auto;
    grid-row: auto;
  }

  .service-card--certificate {
    grid-column: 1 / 3;
  }

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

  .product-row .product-card:last-child {
    display: none;
  }

  .story__layout {
    grid-template-columns: 0.8fr 1fr;
  }

  .story__visual {
    min-height: 500px;
  }

  .subhero__layout {
    min-height: 440px;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 36px;
  }

  .subhero__visual {
    height: 400px;
  }

  .subhero__overlay--art,
  .subhero--subscription .subhero__overlay--art,
  .subhero--weddings .subhero__overlay--art {
    right: -1%;
    width: 152px;
  }

  .subhero__overlay--curve {
    left: 0;
    width: 94px;
  }

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

  .order-summary {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 28px;
  }

  .order-summary dl {
    grid-column: 2;
    grid-row: 1 / 4;
    padding: 0 0 0 28px;
    border-block: 0;
    border-left: 1px solid var(--line);
  }

  .order-summary__price {
    grid-column: 1;
  }

  .order-summary .button,
  .order-summary__fineprint {
    grid-column: 1 / 3;
  }

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

  .step:nth-child(2) {
    border-right: 1px solid var(--line);
  }

  .step:nth-child(3),
  .step:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .social-block,
  .certificate {
    grid-template-columns: 1fr 0.5fr;
    gap: 38px;
    padding: 44px;
  }
}

@media (max-width: 700px) {
  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .header-contact {
    display: none;
  }

  .header__inner {
    grid-template-columns: auto 1fr;
  }

  .menu-button {
    justify-self: end;
  }

  .home-hero {
    padding: calc(var(--header) + 38px) 0 48px;
  }

  .home-hero__layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .home-hero h1 {
    font-size: clamp(54px, 14vw, 75px);
  }

  .home-hero__lead {
    font-size: 14px;
  }

  .home-hero__actions .button {
    width: 100%;
  }

  .home-hero__visual {
    justify-self: center;
    width: min(100%, 440px);
    height: 520px;
  }

  .home-hero__photo-main {
    left: 10%;
    width: 84%;
  }

  .home-hero__overlay--bloom {
    right: -1%;
    bottom: 4%;
    width: 142px;
  }

  .home-hero__overlay--curve {
    top: 3%;
    left: 0;
    width: 102px;
  }

  .ticker__track {
    min-height: 54px;
  }

  .ticker__track span {
    font-size: 17px;
  }

  .section {
    padding: 78px 0;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .section-heading h2,
  .story h2,
  .closing h2 {
    font-size: clamp(43px, 12vw, 60px);
  }

  .service-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 430px repeat(4, 260px);
  }

  .service-card--bouquets,
  .service-card--subscription,
  .service-card--wedding,
  .service-card--workshops,
  .service-card--certificate {
    grid-column: 1;
    grid-row: auto;
  }

  .service-card {
    padding: 23px;
  }

  .service-card__artwork {
    width: 120px;
  }

  .bouquet-entry__heading {
    margin-bottom: 40px;
    text-align: left;
  }

  .bouquet-entry__heading > p:last-child {
    margin-left: 0;
  }

  .bouquet-paths {
    grid-template-columns: 1fr;
  }

  .bouquet-path {
    min-height: 430px;
    padding: 26px 22px;
  }

  .bouquet-path h3 {
    font-size: clamp(43px, 12vw, 58px);
  }

  .bouquet-dialog {
    width: 100%;
    height: 100svh;
    max-width: none;
    max-height: none;
    border-radius: 0;
  }

  .wizard__header {
    padding: 26px 20px 0;
  }

  .wizard__title {
    padding-right: 50px;
    font-size: 45px;
  }

  .wizard__close {
    top: 20px;
    right: 18px;
    width: 44px;
    height: 44px;
    font-size: 27px;
  }

  .wizard__progress {
    gap: 6px;
    margin-top: 22px;
  }

  .wizard__scroll {
    padding: 28px 20px 36px;
  }

  .wizard-step__heading {
    grid-template-columns: 44px 1fr;
    gap: 10px;
    margin-bottom: 26px;
  }

  .wizard-step__number {
    font-size: 25px;
  }

  .wizard-step__heading h3 {
    font-size: 36px;
  }

  .wizard-step__heading p {
    font-size: 12px;
  }

  .wizard-size-grid,
  .wizard-mood-grid,
  .wizard-field-grid,
  .wizard-summary {
    grid-template-columns: 1fr;
  }

  .wizard-choice--size {
    min-height: 126px;
    padding: 18px;
  }

  .wizard-choice__letter {
    font-size: 30px;
  }

  .wizard-choice--mood {
    min-height: 105px;
  }

  .wizard-summary > div {
    min-height: 100px;
  }

  .wizard__footer {
    min-height: 88px;
    padding: 14px 20px;
  }

  .wizard__next,
  .wizard__submit {
    min-width: 0;
    flex: 1;
  }

  .product-row,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .product-row .product-card:last-child {
    display: block;
  }

  .product-card__image,
  .catalog-card .product-card__image {
    height: 390px;
  }

  .story__layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .story__visual {
    min-height: 460px;
  }

  .story__visual > img {
    left: 12%;
  }

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

  .info-card {
    display: grid;
    min-height: auto;
    grid-template-columns: 64px 1fr;
    gap: 0 20px;
    padding: 24px 18px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .info-card:last-child {
    border-bottom: 0;
  }

  .info-card__icon {
    grid-row: 1 / 3;
    width: 58px;
    height: 58px;
    margin: 0;
  }

  .info-card h3 {
    margin: 0 0 6px;
  }

  .social-block,
  .certificate {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 34px 23px;
  }

  .social-block__artwork,
  .certificate__artwork {
    width: 230px;
  }

  .subhero {
    min-height: auto;
    padding: calc(var(--header) + 45px) 0 58px;
  }

  .subhero__layout {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .subhero h1 {
    font-size: clamp(54px, 14vw, 76px);
  }

  .subhero__lead {
    font-size: 14px;
  }

  .subhero__visual {
    height: 440px;
  }

  .subhero__photo {
    left: 10%;
  }

  .subhero__overlay--art,
  .subhero--subscription .subhero__overlay--art,
  .subhero--weddings .subhero__overlay--art {
    right: 0;
    bottom: -3%;
    width: 138px;
  }

  .subhero__overlay--curve {
    top: 2%;
    left: 1%;
    width: 86px;
  }

  .catalog-toolbar {
    display: grid;
  }

  .catalog-note {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 30px 23px;
  }

  .choice-group {
    padding: 23px 16px 18px;
    border-radius: 26px;
  }

  .choice-group legend {
    font-size: 18px;
  }

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

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

  .size-card__image {
    height: 120px;
  }

  .size-card__art-label {
    top: 9px;
    left: 10px;
    font-size: 28px;
  }

  .size-card__art--tulip {
    right: 12%;
    width: 78px !important;
  }

  .size-card__art--curve-small {
    width: 42px !important;
  }

  .size-card__art--bloom {
    right: 5%;
    width: 82px !important;
  }

  .size-card__art--berries-medium {
    width: 46px !important;
  }

  .size-card__art--curve-medium {
    width: 45px !important;
  }

  .size-card__art--flower-large {
    right: 20%;
    width: 80px !important;
  }

  .size-card__art--bloom-large {
    width: 56px !important;
  }

  .size-card__art--berries-large {
    width: 42px !important;
  }

  .size-card__art--curve-large {
    width: 44px !important;
  }

  .size-card__body {
    min-height: 120px;
  }

  .rhythm-card {
    min-height: 70px;
  }

  .choice-group__hint {
    margin-left: 0;
  }

  .order-summary {
    display: block;
    padding: 25px 22px;
  }

  .order-summary dl {
    padding: 17px 0;
    border-block: 1px solid var(--line);
    border-left: 0;
  }

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

  .editorial-card {
    min-height: 410px;
    padding: 25px;
  }

  .editorial-card__content {
    right: 25px;
    bottom: 25px;
    left: 25px;
  }

  .editorial-card__artwork {
    width: 125px;
  }

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

  .step {
    position: relative;
    display: grid;
    min-height: auto;
    grid-template-columns: 62px 1fr;
    gap: 0 18px;
    padding: 22px 18px;
    border-right: 1px solid var(--line);
    border-top: 1px solid var(--line);
  }

  .step:first-child {
    border-top: 0;
  }

  .step__number {
    position: absolute;
    top: 8px;
    left: 8px;
  }

  .step__dot {
    grid-row: 1 / 3;
    margin: 0;
  }

  .step h3 {
    margin: 4px 0 7px;
  }

  .workshop-card {
    grid-template-columns: 72px 1fr;
    gap: 18px;
    padding: 20px;
  }

  .workshop-card__date {
    width: 68px;
    height: 68px;
    font-size: 18px;
  }

  .workshop-card__meta {
    grid-column: 1 / 3;
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-items: start;
    padding-top: 16px;
    border-top: 1px solid var(--line);
  }

  .closing__layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 68px;
  }

  .closing__artwork {
    top: auto;
    right: -40px;
    bottom: -48px;
    width: 125px;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px 22px;
  }

  .footer__bottom {
    display: grid;
  }

  .dialog__body {
    padding: 52px 23px 28px;
  }
}

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

  .home-hero h1,
  .subhero h1 {
    font-size: 53px;
  }

  .home-hero__visual {
    height: 455px;
  }

  .home-hero__photo-small {
    width: 110px;
    height: 140px;
  }

  .home-hero__overlay--bloom {
    width: 118px;
  }

  .home-hero__overlay--curve {
    width: 82px;
  }

  .subhero__overlay--art,
  .subhero--subscription .subhero__overlay--art,
  .subhero--weddings .subhero__overlay--art {
    width: 116px;
  }

  .subhero__overlay--curve {
    width: 72px;
  }

  .product-card__image,
  .catalog-card .product-card__image {
    height: 340px;
  }

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

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
