:root {
  --ivory: #ffcbe0;
  --white: #fff5f8;
  --ink: #3a0c22;
  --muted: #6d2744;
  --line: #f3a4c6;
  --gold: #ddb74a;
  --gold-deep: #8a6810;
  --rose: #c00a55;
  --mark: #8e0840;
  --berry: #c43874;
  --pink: #fc93be;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --shadow: 0 24px 60px rgba(192, 10, 85, 0.16);
  --header: 132px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.5;
  color-scheme: light;
}

body.lock { overflow: hidden; }

img { max-width: 100%; display: block; background: var(--pink); }
img.is-broken { visibility: hidden; }

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

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

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

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

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--white);
  padding: 8px 12px;
  z-index: 90;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 203, 224, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.promo {
  display: flex;
  justify-content: center;
  gap: 32px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 9px 20px;
  border-bottom: 1px solid transparent;
  background: var(--gold);
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.promo::-webkit-scrollbar { display: none; }
.promo p { margin: 0; white-space: nowrap; }

.header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 96px;
  padding: 0 22px;
  gap: 12px;
}

.menu-btn,
.tool-btn,
.text-btn,
.icon-round {
  background: none;
  border: 0;
  color: inherit;
}

.menu-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 4px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 0;
}
.logo img {
  height: 92px;
  width: auto;
  background: transparent;
}
.header .logo img { height: 84px; }
.nav .logo img { height: 72px; }
.footer .logo img { height: 120px; }

.header-tools {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2px;
}

.tool-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  position: relative;
}
.tool-btn svg { width: 20px; height: 20px; }

.bag-count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--rose);
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
}
.bag-count[hidden] { display: none !important; }

.backdrop,
.nav,
.search,
.drawer,
.modal {
  position: fixed;
  inset: 0;
}

.backdrop {
  background: rgba(58, 12, 34, 0.46);
  opacity: 0;
  visibility: hidden;
  z-index: 55;
  transition: opacity 0.3s ease;
}
.backdrop.is-open { opacity: 1; visibility: visible; }

.nav,
.search {
  background: var(--ivory);
  z-index: 62;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
}
.nav.is-open,
.search.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav-inner,
.search-inner {
  position: relative;
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 72px;
}

.nav-top,
.search-bar,
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.nav-word {
  font-family: var(--serif);
  font-size: 28px;
  margin: 0;
}

.nav-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.9fr;
  gap: 36px;
  margin-top: 48px;
  position: relative;
  z-index: 1;
}

.nav h2,
.footer h2 {
  margin: 0 0 12px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav a {
  display: block;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.2;
  padding: 3px 0;
}
.nav a.sub {
  font-family: var(--sans);
  font-size: 15px;
  padding: 6px 0;
}
.nav a.nest { padding-left: 16px; }
.fold-head { display: flex; align-items: center; gap: 8px; }
.fold-head .sub { flex: 1; }
.fold-toggle {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  padding: 0;
  font-size: 20px;
  line-height: 1;
}
.fold-toggle::before { content: "+"; }
.fold-toggle[aria-expanded="true"]::before { content: "–"; }
.nav a[aria-current="page"] { color: var(--mark); }

.menu-flower {
  position: absolute;
  right: -40px;
  bottom: -80px;
  width: min(420px, 50vw);
  color: rgba(221, 183, 74, 0.55);
  pointer-events: none;
}

.search-bar input {
  flex: 1;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  padding: 14px 0;
  font-family: var(--serif);
  font-size: 32px;
}
.search-results { margin-top: 18px; }
.hit {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.hit img { width: 72px; height: 72px; object-fit: cover; }
.hit strong {
  display: block;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
}
.hit .price { margin: 2px 0 0; }

.drawer {
  left: auto;
  width: min(420px, 100%);
  background: var(--white);
  z-index: 66;
  display: flex;
  flex-direction: column;
  transform: translateX(104%);
  visibility: hidden;
  transition: transform 0.35s ease, visibility 0.35s;
  box-shadow: var(--shadow);
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer-head,
.drawer-body,
.drawer-foot { padding-left: 22px; padding-right: 22px; }
.drawer-head { padding-top: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.drawer-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 32px;
}
.drawer-body { flex: 1; overflow: auto; padding-top: 12px; padding-bottom: 16px; }
.drawer-foot { border-top: 1px solid var(--line); padding-top: 14px; padding-bottom: 22px; }

.close-x {
  width: 42px;
  height: 42px;
  border: 0;
  background: none;
  font-size: 28px;
  line-height: 1;
}

.line {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.line img { width: 72px; height: 72px; object-fit: cover; }
.line h3 { margin: 0; font-family: var(--serif); font-size: 22px; font-weight: 500; }
.line p { margin: 2px 0; color: var(--muted); font-size: 13px; }
.line-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; }

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
}
.qty button, .qty input {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  text-align: center;
}
.qty input { width: 40px; }

.linkish {
  background: none;
  border: 0;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 13px;
  color: var(--muted);
}

.totals p, .summary p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 6px 0;
}
.totals .grand, .summary .grand {
  font-family: var(--serif);
  font-size: 26px;
  margin-top: 8px;
}

.promo-row { display: flex; gap: 8px; margin: 10px 0; }
.promo-row input {
  flex: 1;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 8px 0;
}
.promo-error { color: var(--rose); font-size: 13px; min-height: 1.2em; margin: 0; }

.modal {
  display: grid;
  place-items: center;
  background: rgba(58, 12, 34, 0.5);
  z-index: 72;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
  padding: 20px;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal-card {
  width: min(440px, 100%);
  background: var(--white);
  padding: 42px 32px 28px;
  text-align: center;
  position: relative;
}
.modal-card h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 52px;
  line-height: 0.9;
  margin: 6px 0 12px;
}
.kicker, .eyebrow, .badge {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--mark);
  margin: 0;
}
.modal-card .fine { margin-top: 14px; }
.codebox {
  display: flex;
  border: 1px dashed var(--gold);
  margin: 18px 0 8px;
}
.codebox input {
  flex: 1;
  border: 0;
  text-align: center;
  letter-spacing: 0.2em;
  padding: 12px;
  background: transparent;
}
.modal-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(16px);
  width: min(460px, calc(100% - 24px));
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  background: var(--rose);
  color: #fff;
  padding: 14px 16px;
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
}
.toast.is-open {
  opacity: 1;
  transform: translateX(-50%);
  pointer-events: auto;
}
.toast button {
  background: none;
  border: 0;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: min(88vh, 860px);
  background: var(--pink);
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(192, 10, 85, 0.18) 0%, rgba(58, 12, 34, 0.28) 42%, rgba(58, 12, 34, 0.78) 100%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  color: white;
  padding: 48px 7vw 96px;
  max-width: 820px;
}
.hero-copy .eyebrow { color: var(--gold); }
.hero-copy h1 {
  margin: 8px 0 18px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.92;
  letter-spacing: -0.03em;
}
.hero-ui {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 22px;
  display: flex;
  gap: 8px;
  align-items: center;
  color: white;
}
.hero-ui button, .hero-count {
  height: 42px;
  min-width: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: transparent;
  color: white;
}
#hero-toggle { padding: 0 14px; letter-spacing: 0.12em; text-transform: uppercase; font-size: 11px; }
.hero-count { display: grid; place-items: center; padding: 0 12px; font-size: 12px; letter-spacing: 0.08em; }

.section { padding: 84px 0 12px; }
.section-head {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}
.section-title, .page-title, .story h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.95;
}
.section-title {
  margin: 0;
  text-align: center;
  font-size: clamp(40px, 5vw, 64px);
}
.lede {
  max-width: 52ch;
  margin: 12px auto 0;
  text-align: center;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.7;
}
.center { text-align: center; }

.icon-round {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 22px;
}
.icon-round:hover { border-color: var(--ink); }

.track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 24%);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.track::-webkit-scrollbar { display: none; }

.card { scroll-snap-align: start; }
.card-media {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--ivory);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 12px 2px 8px; }
.card-body h3 {
  margin: 4px 0;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
}
.card-body h3 a { text-decoration: none; }
.badge { margin-bottom: 2px; }
.price { margin: 0; font-size: 14px; }
.price s { color: var(--muted); margin-right: 6px; }
.price .now { color: var(--mark); }
.price .from { color: var(--muted); margin-right: 4px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.card-action {
  display: inline-block;
  margin-top: 8px;
  padding: 0;
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  color: inherit;
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}
.card:hover .card-action { border-bottom-color: currentColor; }

.duo { display: grid; grid-template-columns: 1fr 1fr; }
.tile {
  position: relative;
  min-height: 440px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: white;
  text-decoration: none;
}
.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, rgba(58, 12, 34, 0.55));
}
.tile span, .tile strong {
  position: relative;
  z-index: 1;
  padding: 28px;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
}
.tile:hover img { transform: scale(1.05); }

.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  margin-top: 72px;
}
.story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 56px;
}
.story h2 { margin: 8px 0 12px; font-size: clamp(36px, 4vw, 54px); }
.story p { color: var(--muted); font-weight: 300; line-height: 1.7; }
.story img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }

.perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: center;
  padding: 28px 0 10px;
}
.perks article {
  padding: 8px 18px;
}
.perks h3 {
  margin: 8px 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 30px;
}
.perks p { margin: 0; color: var(--muted); font-weight: 300; }

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 64px;
}
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery figcaption {
  padding: 18px 8px 0;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
}

.footer {
  margin-top: 72px;
  background: var(--white);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  padding: 56px 0 36px;
}
.footer a { display: block; text-decoration: none; padding: 4px 0; }
.wa { text-decoration: underline; text-underline-offset: 3px; }
.footer a:hover { color: var(--mark); }
.footer p { color: var(--muted); }
.footer .logo { display: inline-block; margin-bottom: 8px; }
.footer-base {
  background: var(--rose);
  color: #fff;
}
.footer-base .wrap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  min-height: 52px;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.footer-base button {
  background: none;
  border: 0;
  color: inherit;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
}

.page { padding: 36px 0 72px; }
.page-title {
  margin: 8px 0 12px;
  font-size: clamp(44px, 6vw, 72px);
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.crumbs a { text-decoration: none; }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin: 8px 0 22px;
}
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  text-decoration: none;
  font-size: 13px;
  background: transparent;
}
.pill[aria-current="true"] {
  background: var(--rose);
  color: #fff;
  border-color: var(--rose);
}
.toolbar select, .sorts {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 10px 12px;
  min-width: 160px;
}
.sorts { display: flex; gap: 8px; flex-wrap: wrap; }
.result-count { color: var(--muted); margin: 0 0 14px; font-size: 14px; }

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

.product {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
}
.product-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-gallery { position: sticky; top: 128px; }
.product h1 {
  margin: 6px 0 8px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 0.95;
}
.product .price { font-size: 18px; margin: 8px 0 12px; }
.blurb { font-weight: 300; color: var(--ink); line-height: 1.7; }
.profile {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px 12px;
  margin: 16px 0;
}
.profile dt { color: var(--muted); }
.profile dd { margin: 0; }
fieldset { border: 0; margin: 18px 0; padding: 0; }
legend {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 8px;
}
.size-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  padding: 12px 14px;
  margin-bottom: 8px;
  cursor: pointer;
  background: transparent;
}
.size-opt:has(input:checked) { border-color: var(--rose); background: var(--white); }
.size-opt span { flex: 1; }
.size-opt strong { white-space: nowrap; }
.fine { color: var(--muted); font-size: 13px; line-height: 1.6; }
.stack { display: grid; gap: 14px; }
.product-actions { display: flex; gap: 12px; align-items: center; margin-top: 8px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  background: var(--rose);
  color: #fff;
  border: 1px solid var(--rose);
  text-decoration: none;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
}
.btn:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn.light { background: transparent; color: white; border-color: white; }
.btn.light:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--rose); color: #fff; border-color: var(--rose); }
.btn.block { width: 100%; margin-top: 8px; }

.text-link {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  text-underline-offset: 4px;
}

.occasion-board {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 12px;
}
.occasion-board .tile:first-child { grid-row: 1 / span 2; min-height: 0; }

.service-grid, .studio-grid, .package-grid, .class-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.package-grid, .class-grid { grid-template-columns: repeat(3, 1fr); }
.service, .studio, .package, .class-card, .summary, .banner-ok {
  background: var(--white);
  border: 1px solid var(--line);
}
.service img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service div, .studio, .package, .class-card, .summary { padding: 22px; }
.service h2, .package h3, .class-card h3, .studio h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 32px;
}
.service-grid, .package-grid, .class-grid, .studio-grid { margin: 28px 0; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 22px;
}
.form-grid .wide { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field span, .radios > span {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
input, select, textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 12px 0;
}
input[type="radio"],
input[type="checkbox"] {
  width: auto;
  padding: 0;
  border: 0;
}
textarea {
  border: 1px solid var(--line);
  padding: 12px;
  min-height: 110px;
  resize: vertical;
}
.toolbar select { border-bottom: 1px solid var(--line); }
input:user-invalid, select:user-invalid, textarea:user-invalid { border-color: var(--rose); }
.radios { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.radios label { display: flex; gap: 6px; align-items: center; text-transform: none; letter-spacing: 0; font-size: 15px; }

.banner-ok {
  padding: 28px;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.35;
}

.checkout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}
.summary { position: sticky; top: 128px; }
.summary h2 { margin: 0 0 12px; font-family: var(--serif); font-weight: 500; font-size: 32px; }
.summary li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.summary ul { list-style: none; margin: 0; padding: 0; }

.faq { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
}
.faq p { color: var(--muted); font-weight: 300; }
.block { margin-top: 48px; }
.block h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 40px;
  margin: 0 0 8px;
}

.empty {
  padding: 28px 0;
  font-family: var(--serif);
  font-size: 28px;
}
.noscript {
  padding: 48px 20px;
  text-align: center;
}

#view.rise { animation: rise 0.45s ease; }
@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .nav-grid, .footer-grid, .package-grid, .class-grid { grid-template-columns: 1fr 1fr; }
  .product { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
  .occasion-board { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .occasion-board .tile:first-child { grid-row: auto; min-height: 320px; }
}

@media (max-width: 800px) {
  .promo { justify-content: flex-start; }
  .duo, .story, .perks, .service-grid, .studio-grid, .checkout, .form-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .story-copy { padding: 36px 22px; }
  .grid, .package-grid, .class-grid, .footer-grid, .nav-grid { grid-template-columns: 1fr 1fr; }
  .track { grid-auto-columns: 70%; }
  .section-head { grid-template-columns: 40px 1fr 40px; }
  .hero { min-height: 78vh; }
  .footer-base .wrap { flex-direction: column; justify-content: center; padding: 12px 0; text-align: center; }
}

@media (max-width: 640px) {
  :root { --header: 112px; }
  .wrap { width: min(1180px, calc(100% - 28px)); }
  .header { padding: 0 10px; min-height: 72px; }
  .header .logo img { height: 64px; }
  .footer .logo img { height: 96px; }
  .grid, .nav-grid, .footer-grid, .occasion-board { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; gap: 16px 10px; }
  .card-body h3 { font-size: 20px; }
  .menu-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .hero-copy { padding: 28px 20px 88px; }
  .hero-copy h1 { font-size: 46px; }
  .modal-card h2 { font-size: 40px; }
  .search-bar input { font-size: 24px; }
}

.builder {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
  margin: 12px 0 36px;
}
.builder-stage { position: static; }
.cake-scene {
  min-height: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 56px 16px 28px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.75), transparent 42%),
    linear-gradient(180deg, #fff6f8, #ffcbe0);
  overflow: hidden;
}
.cake-stack { position: relative; z-index: 1; width: min(100%, 340px); }
.cake-tier { margin: 0 auto; }
.tier-top { width: 250px; position: relative; z-index: 3; }
.tier-mid { width: 250px; margin-top: -28px; position: relative; z-index: 2; }
.tier-base { width: 320px; margin-top: -28px; position: relative; z-index: 1; }
.cake-stack[data-tiers="1"] .tier-top { width: 280px; }
.cake-stack[data-tiers="2"] .tier-top { width: 200px; }
.cake-stack[data-tiers="3"] .tier-top { width: 150px; }
.cake-stack[data-tiers="3"] .tier-mid { width: 220px; }
.cake-stack[data-tiers="3"] .cake-body { height: 78px; }
.cake-stack[data-tiers="3"] .tier-base .cake-body { height: 88px; }
.cake-top {
  position: relative;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, #fff 0%, var(--frost-top, #ffd6e8) 46%, var(--frost, #ffcbe0) 100%);
  box-shadow: inset 0 -10px 0 rgba(58, 12, 34, 0.06);
  z-index: 3;
}
.cake-top.is-placing { cursor: crosshair; }
.cake-body {
  position: relative;
  z-index: 1;
  height: 96px;
  margin-top: -34px;
  border-radius: 16px 16px 46px 46px;
  background: linear-gradient(90deg, var(--frost-deep, #f3a4c6), var(--frost, #ffcbe0) 42%, var(--frost-deep, #f3a4c6));
  box-shadow: 0 18px 24px rgba(192, 10, 85, 0.12);
}
.tier-base .cake-body { height: 108px; }
.cake-script {
  position: absolute;
  inset: 16px 22px 10px;
  margin: 0;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1;
  color: var(--ink);
  pointer-events: none;
  z-index: 4;
}
.cake-stack.is-dark .cake-script { color: #fff6f8; }
.cake-trim, .cake-candles { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.trim {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.trim-roses { background: radial-gradient(circle at 35% 35%, #fff, #fc93be 40%, #c43874); box-shadow: 0 0 0 3px rgba(255, 203, 224, 0.7); }
.trim-berries { width: 12px; height: 12px; background: #c00a55; box-shadow: 8px -2px 0 #6b3a2a, -2px 6px 0 #8e0840; }
.trim-gold { width: 10px; height: 10px; background: #ddb74a; box-shadow: 0 0 0 3px rgba(221, 183, 74, 0.35); }
.drip {
  position: absolute;
  top: 28px;
  width: 14px;
  border-radius: 0 0 12px 12px;
  background: var(--frost-top, #fff);
  transform: translateX(-50%);
}
.candle {
  position: absolute;
  width: 8px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: linear-gradient(#fff, #f3d5e2);
  transform: translate(-50%, -108%);
  pointer-events: auto;
  cursor: pointer;
}
.candle::before {
  content: "";
  position: absolute;
  left: 1px;
  top: -12px;
  width: 6px;
  height: 12px;
  border-radius: 50% 50% 40% 40%;
  background: radial-gradient(circle at 50% 70%, #fff4c2, #f0a020 55%, #c43874);
}
.cake-plate {
  width: min(86%, 380px);
  height: 28px;
  margin-top: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, #f7d5e4 70%);
  box-shadow: 0 16px 24px rgba(192, 10, 85, 0.16);
}
.builder-panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 8px 22px 22px;
}
.builder-panel fieldset { margin: 14px 0; }
.builder-panel fieldset > .fine { margin: 0 0 8px; }
.finish-label { margin-top: 18px; }
#cake-finishes { margin-top: 0; }
.cake-key { margin: 8px 4px 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.swatches, .chips, .candle-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
  padding: 0;
}
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--rose); }
.color-pick {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
  cursor: pointer;
}
.color-pick.is-custom { box-shadow: 0 0 0 2px var(--rose); }
.builder-panel .color-pick input[type="color"] {
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
#cake-message {
  min-height: 88px;
  resize: none;
  line-height: 1.4;
  background: #fff;
}
.chip {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
}
.chip[aria-pressed="true"],
#cake-place[aria-pressed="true"] {
  background: var(--rose);
  color: #fff;
  border-color: var(--rose);
}
#cake-viewport.cake-scene {
  display: block;
  height: 480px;
  min-height: 480px;
  padding: 0;
  overflow: hidden;
}
#cake-viewport canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
}
#cake-viewport.is-placing canvas { cursor: crosshair; }
#cake-tiers { flex-direction: column; align-items: stretch; }
#cake-tiers .chip { text-align: left; }
.builder-panel .btn { margin-top: 8px; }
.builder-panel .candle-row .btn { margin-top: 0; }
@media (max-width: 800px) {
  #cake-viewport.cake-scene,
  .cake-scene { height: 440px; min-height: 440px; }
  .cake-stack[data-tiers="1"] .tier-top { width: 220px; }
  .cake-stack[data-tiers="2"] .tier-top { width: 160px; }
  .cake-stack[data-tiers="3"] .tier-top { width: 120px; }
  .tier-mid { width: 190px; }
  .tier-base { width: 240px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
