:root {
  --ink: #24191a;
  --ink-soft: #5e4747;
  --paper: #f7eee7;
  --paper-deep: #ead8ca;
  --cream: #fffaf4;
  --wine: #7c2949;
  --wine-deep: #371323;
  --rose: #e6a6ab;
  --rose-soft: #f1cbd0;
  --cocoa: #5a3024;
  --gold: #d6ad70;
  --line: rgba(49, 25, 29, 0.18);
  --display: Georgia, "Times New Roman", serif;
  --sans: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.16, 1.24, .41, 1);
  --shell: min(1260px, calc(100vw - 80px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

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

body[data-occasion="birthday"] {
  --rose: #eb9b83;
  --wine: #a0442c;
  --gold: #e0b254;
}

body[data-occasion="little-one"] {
  --rose: #dfb3ce;
  --wine: #754c77;
  --gold: #c5a782;
}

body[data-occasion="brand"] {
  --rose: #e8be79;
  --wine: #8d4131;
  --gold: #f0d393;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 11px 14px;
  color: var(--cream);
  background: var(--wine-deep);
  transform: translateY(-170%);
  transition: transform 160ms ease-out;
}

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

.page-noise {
  position: fixed;
  z-index: 20;
  inset: 0;
  pointer-events: none;
  opacity: 0.15;
  background-image: repeating-linear-gradient(0deg, rgba(55, 19, 35, .035) 0 1px, transparent 1px 4px), repeating-linear-gradient(90deg, rgba(255, 250, 244, .035) 0 1px, transparent 1px 5px);
  mix-blend-mode: multiply;
}

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  gap: 32px;
  width: var(--shell);
  min-height: 112px;
  margin-inline: auto;
  padding-block: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  width: fit-content;
  min-height: 44px;
}

.brand-name {
  color: var(--wine-deep);
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .16em;
}

.brand-note {
  padding-left: 12px;
  border-left: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.35;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.2vw, 36px);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.site-nav a,
.text-link,
.site-footer a {
  position: relative;
}

.site-nav a::after,
.text-link::after,
.site-footer a::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms var(--ease-out);
}

.site-nav a:hover::after,
.text-link:hover::after,
.site-footer a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
  min-height: 44px;
  padding: 0 0 0 18px;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color 220ms ease, border-color 220ms ease;
}

.header-cta span:last-child {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--cream);
  background: var(--wine-deep);
  border-radius: 50%;
  transition: transform 260ms var(--ease-spring), background 220ms ease;
}

.header-cta:hover {
  color: var(--wine);
  border-color: var(--wine);
}

.header-cta:hover span:last-child {
  background: var(--wine);
  transform: rotate(45deg);
}

.hero {
  display: grid;
  grid-template-areas:
    "copy visual"
    "picker visual";
  grid-template-columns: minmax(0, .98fr) minmax(390px, .86fr);
  grid-template-rows: auto auto;
  gap: clamp(50px, 8vw, 136px);
  align-items: center;
  min-height: 720px;
  padding-block: 58px 82px;
}

.hero-copy {
  grid-area: copy;
  position: relative;
  z-index: 2;
  padding-block: 32px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 25px;
  color: var(--wine);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .17em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 8px;
  letter-spacing: 0;
}

.eyebrow-dark {
  color: var(--wine);
}

.eyebrow-light {
  color: var(--rose-soft);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 680px;
  margin-bottom: 28px;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(54px, 7.15vw, 112px);
  font-weight: 400;
  letter-spacing: -.075em;
  line-height: .89;
}

h1 span,
h1 em {
  display: block;
}

h1 em,
h2 em {
  color: var(--wine);
  font-weight: 400;
}

.hero-summary {
  max-width: 475px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.62;
}

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

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 52px;
  overflow: hidden;
  padding: 15px 17px 15px 22px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: border-color 220ms ease, color 220ms ease, transform 180ms ease;
}

.button::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: var(--wine-deep);
  content: "";
  transform: translateX(-102%);
  transition: transform 360ms var(--ease-out);
}

.button span {
  position: relative;
  z-index: 1;
}

.button span:last-child {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  transition: transform 320ms var(--ease-spring), background 220ms ease, color 220ms ease;
}

.button:hover::before,
.button:focus-visible::before {
  transform: translateX(0);
}

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

.button:active {
  transform: translateY(0) scale(.98);
}

.button-primary {
  color: var(--cream);
  background: var(--wine);
}

.button-primary span:last-child {
  color: var(--wine-deep);
  background: var(--gold);
}

.button-primary:hover span:last-child,
.button-primary:focus-visible span:last-child {
  color: var(--cream);
  background: rgba(255, 250, 244, .17);
  transform: translateX(4px);
}

.text-link {
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.text-link span {
  display: inline-block;
  margin-left: 4px;
  transition: transform 240ms var(--ease-spring);
}

.text-link:hover span {
  transform: translate(3px, 3px);
}

.occasion-picker {
  grid-area: picker;
  max-width: 555px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
}

.picker-label,
.occasion-note {
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: .05em;
}

.picker-label {
  margin-bottom: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.occasion-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.occasion-option {
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid rgba(49, 25, 29, .27);
  color: var(--ink-soft);
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  transition: background 240ms var(--ease-out), color 240ms ease, border-color 240ms ease, transform 180ms ease;
}

.occasion-option:hover,
.occasion-option.is-selected {
  border-color: var(--wine);
  color: var(--cream);
  background: var(--wine);
}

.occasion-option:active {
  transform: scale(.97);
}

.occasion-note {
  min-height: 20px;
  margin: 14px 0 0;
  font-style: italic;
}

.hero-visual {
  grid-area: visual;
  position: relative;
  min-height: 635px;
  overflow: clip;
  isolation: isolate;
}

.hero-visual::before {
  position: absolute;
  z-index: -3;
  top: 1%;
  right: -10vw;
  bottom: 2%;
  left: 6%;
  background: linear-gradient(158deg, var(--rose-soft), var(--rose) 46%, var(--wine) 160%);
  border-radius: 47% 53% 25% 34% / 38% 45% 55% 62%;
  content: "";
  transform: rotate(4deg);
  transition: background 480ms var(--ease-out);
}

.hero-visual::after {
  position: absolute;
  z-index: -2;
  top: 9%;
  right: 2%;
  width: 54%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 250, 244, .9);
  border-radius: 50%;
  content: "";
  transform: rotate(-18deg);
}

.hero-figure {
  position: absolute;
  z-index: 1;
  right: 3%;
  bottom: 0;
  width: min(76%, 493px);
  margin: 0;
  overflow: hidden;
  background: var(--paper-deep);
  border-radius: 52% 48% 11% 14% / 18% 19% 8% 8%;
  box-shadow: 26px 31px 0 rgba(55, 19, 35, .12);
}

.hero-figure::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 250, 244, .6);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.hero-figure img {
  width: 100%;
  height: auto;
  transition: transform 800ms var(--ease-out), filter 500ms ease;
}

.hero-visual:hover .hero-figure img {
  filter: saturate(1.07) contrast(1.02);
  transform: scale(1.025);
}

.hero-figure figcaption {
  position: absolute;
  right: 20px;
  bottom: 18px;
  left: 20px;
  margin: 0;
  padding: 11px 13px;
  color: var(--cream);
  background: rgba(55, 19, 35, .71);
  backdrop-filter: blur(8px);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.visual-index {
  position: absolute;
  z-index: 2;
  top: 6%;
  left: 4%;
  color: var(--wine-deep);
  font-family: var(--display);
  font-size: clamp(43px, 5vw, 74px);
  letter-spacing: -.08em;
}

.visual-orbit {
  position: absolute;
  z-index: 0;
  border: 1px solid rgba(55, 19, 35, .2);
  border-radius: 50%;
}

.visual-orbit-one {
  top: 15%;
  left: -7%;
  width: 45%;
  aspect-ratio: 1;
}

.visual-orbit-two {
  right: -5%;
  bottom: 8%;
  width: 24%;
  aspect-ratio: 1;
  border-color: rgba(255, 250, 244, .78);
}

.visual-caption {
  position: absolute;
  z-index: 2;
  top: 43%;
  left: -2%;
  display: grid;
  gap: 7px;
  margin: 0;
  color: var(--wine-deep);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.kinetic-strip {
  width: 100%;
  overflow: hidden;
  padding-block: 15px;
  color: var(--paper);
  background: var(--wine-deep);
  border-top: 1px solid rgba(255, 250, 244, .16);
  border-bottom: 1px solid rgba(255, 250, 244, .16);
}

.kinetic-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 20px;
  padding-left: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  white-space: nowrap;
  animation: ticker 38s linear infinite;
}

.kinetic-track i {
  color: var(--gold);
  font-style: normal;
}

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

.collections {
  padding-block: clamp(100px, 12vw, 180px);
}

.collection-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .6fr);
  column-gap: clamp(45px, 10vw, 160px);
  align-items: end;
  margin-bottom: clamp(55px, 7vw, 100px);
}

.collection-heading .eyebrow,
.collection-heading h2 {
  grid-column: 1;
}

.collection-heading h2,
.brief-intro h2,
.ritual-heading h2,
.closing h2 {
  margin-bottom: 0;
  font-family: var(--display);
  font-size: clamp(48px, 6.1vw, 92px);
  font-weight: 400;
  letter-spacing: -.075em;
  line-height: .9;
}

.collection-heading > p:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  max-width: 360px;
  margin: 0 0 5px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.68;
}

.collection-layout {
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(430px, 1.1fr);
  gap: clamp(34px, 7vw, 114px);
  align-items: start;
}

.collection-image {
  margin: 0;
}

.collection-image-frame {
  position: relative;
  overflow: hidden;
  background: var(--paper-deep);
  box-shadow: 17px 18px 0 var(--rose-soft);
}

.collection-image-frame::before {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: 41%;
  height: 30%;
  border-bottom: 1px solid rgba(255, 250, 244, .95);
  border-left: 1px solid rgba(255, 250, 244, .95);
  content: "";
}

.collection-image img {
  width: 100%;
  height: auto;
  transition: transform 760ms var(--ease-out);
}

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

.collection-image figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.collection-notes {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 15px;
  padding-top: clamp(40px, 8vw, 126px);
}

.note-card {
  min-height: 246px;
  padding: clamp(25px, 3.2vw, 43px);
  border: 1px solid var(--line);
}

.note-card-large {
  grid-row: span 2;
  min-height: 508px;
  color: var(--cream);
  background: var(--wine-deep);
}

.note-card-accent {
  color: var(--wine-deep);
  background: var(--rose-soft);
  transform: translateY(-25px);
}

.note-card-line {
  display: flex;
  flex-direction: column;
  justify-content: end;
  color: var(--ink);
  background: transparent;
}

.note-number {
  margin-bottom: auto;
  color: var(--gold);
  font-family: var(--display);
  font-size: 28px;
  font-style: italic;
}

.note-card h3 {
  margin: 29px 0 15px;
  font-family: var(--display);
  font-size: clamp(26px, 3.1vw, 47px);
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .91;
}

.note-card p:last-child {
  max-width: 260px;
  margin-bottom: 0;
  color: currentColor;
  font-size: 14px;
  line-height: 1.55;
  opacity: .83;
}

.brief-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(100px, 11vw, 168px);
  color: var(--cream);
  background: var(--wine-deep);
}

.brief-section::before,
.brief-section::after {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.brief-section::before {
  top: -260px;
  right: -150px;
  width: 570px;
  aspect-ratio: 1;
  background: radial-gradient(circle at 39% 42%, rgba(231, 157, 168, .32) 0 5%, transparent 6%), radial-gradient(circle at center, rgba(231, 157, 168, .13), transparent 64%);
  border: 1px solid rgba(255, 250, 244, .12);
}

.brief-section::after {
  bottom: -260px;
  left: -170px;
  width: 520px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 250, 244, .12);
}

.brief-intro,
.cake-builder {
  position: relative;
  z-index: 1;
}

.brief-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, .55fr);
  column-gap: clamp(40px, 10vw, 155px);
  margin-bottom: clamp(60px, 8vw, 108px);
}

.brief-intro .eyebrow,
.brief-intro h2 {
  grid-column: 1;
}

.brief-intro > p:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  max-width: 370px;
  align-self: end;
  margin: 0 0 5px;
  color: rgba(255, 250, 244, .76);
  font-size: 16px;
  line-height: 1.65;
}

.brief-intro h2,
.closing h2 {
  color: var(--cream);
}

.brief-intro h2 em,
.closing h2 em {
  color: var(--rose);
}

.cake-builder {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(270px, .78fr);
  overflow: hidden;
  border: 1px solid rgba(255, 250, 244, .25);
  background: rgba(255, 250, 244, .055);
  box-shadow: 24px 26px 0 rgba(0, 0, 0, .12);
}

.builder-controls {
  display: grid;
  gap: 0;
  padding: clamp(30px, 4.8vw, 68px);
}

.builder-step {
  padding-block: 0 31px;
  border-bottom: 1px solid rgba(255, 250, 244, .17);
}

.builder-step + .builder-step {
  padding-top: 29px;
}

.builder-step-range {
  border-bottom: 0;
}

.builder-index {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend,
.builder-step-range label {
  display: block;
  margin-bottom: 17px;
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(22px, 2.2vw, 31px);
  letter-spacing: -.05em;
  line-height: 1.05;
}

.builder-step-range label .builder-index {
  display: block;
}

.builder-step-range output {
  color: var(--rose);
  font-style: italic;
}

.choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 250, 244, .3);
  color: rgba(255, 250, 244, .84);
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  transition: background 250ms var(--ease-out), color 250ms ease, border-color 250ms ease, transform 180ms ease;
}

.choice-button:hover,
.choice-button.is-selected {
  border-color: var(--cream);
  color: var(--wine-deep);
  background: var(--cream);
}

.choice-button:active {
  transform: scale(.97);
}

.choice-swatch {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: currentColor;
}

.swatch-organic { box-shadow: 7px 0 0 var(--rose); }
.swatch-graphic { border-radius: 0; box-shadow: 7px 0 0 var(--gold); }
.swatch-soft { background: var(--rose-soft); box-shadow: 7px 0 0 var(--rose); }

input[type="range"] {
  width: 100%;
  height: 24px;
  margin: 4px 0 0;
  accent-color: var(--rose);
  cursor: ew-resize;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 3px;
  background: rgba(255, 250, 244, .36);
}

input[type="range"]::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  margin-top: -8px;
  border: 2px solid var(--wine-deep);
  background: var(--gold);
  border-radius: 50%;
  appearance: none;
}

input[type="range"]::-moz-range-track {
  height: 3px;
  background: rgba(255, 250, 244, .36);
}

input[type="range"]::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border: 2px solid var(--wine-deep);
  background: var(--gold);
  border-radius: 50%;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 2px;
  color: rgba(255, 250, 244, .55);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
}

.builder-stage {
  position: relative;
  display: grid;
  min-height: 620px;
  overflow: hidden;
  place-items: center;
  background: linear-gradient(155deg, #e3a2aa, #a5405d 62%, #5b1e36);
  transition: background 450ms var(--ease-out);
}

.builder-stage::before {
  position: absolute;
  top: -12%;
  right: -12%;
  width: 71%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 250, 244, .45);
  border-radius: 50%;
  content: "";
}

.builder-stage::after {
  position: absolute;
  bottom: 9%;
  left: -14%;
  width: 45%;
  aspect-ratio: 1;
  border: 1px solid rgba(55, 19, 35, .35);
  border-radius: 50%;
  content: "";
}

.builder-stage[data-mood="graphic"] {
  background: linear-gradient(155deg, #f0c27f, #bd5e4c 55%, #732841);
}

.builder-stage[data-mood="soft"] {
  background: linear-gradient(155deg, #efc9da, #ae78aa 60%, #60446b);
}

.stage-label,
.stage-code {
  position: absolute;
  z-index: 2;
  margin: 0;
  color: rgba(255, 250, 244, .86);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.stage-label {
  top: 24px;
  left: 26px;
  max-width: 155px;
  line-height: 1.45;
}

.stage-code {
  right: 26px;
  bottom: 24px;
}

.cake-object {
  position: relative;
  z-index: 1;
  width: min(68%, 325px);
  aspect-ratio: .8;
  transition: transform 440ms var(--ease-spring);
}

.cake-object.is-shifting {
  animation: cakeShift 560ms var(--ease-spring);
}

@keyframes cakeShift {
  0% { transform: translateY(0) rotate(0); }
  42% { transform: translateY(-13px) rotate(-2deg); }
  100% { transform: translateY(0) rotate(0); }
}

.cake-shadow {
  position: absolute;
  right: 7%;
  bottom: 6%;
  left: 7%;
  height: 10%;
  border-radius: 50%;
  background: rgba(55, 19, 35, .33);
  filter: blur(13px);
}

.cake-tier {
  position: absolute;
  left: 50%;
  display: block;
  border: 1px solid rgba(65, 30, 35, .22);
  background: linear-gradient(128deg, #fff4e8, #e9baaf 61%, #a94759);
  box-shadow: inset 10px -10px 0 rgba(255, 250, 244, .19), 0 11px 20px rgba(55, 19, 35, .2);
  transform: translateX(-50%);
}

.cake-tier::after {
  position: absolute;
  right: 10%;
  bottom: 18%;
  left: 10%;
  height: 16%;
  border-top: 2px solid rgba(123, 41, 73, .52);
  border-radius: 50%;
  content: "";
}

.cake-tier-one {
  bottom: 11%;
  width: 94%;
  height: 32%;
  border-radius: 47% 53% 16% 18% / 14% 15% 10% 11%;
}

.cake-tier-two {
  bottom: 38%;
  width: 70%;
  height: 26%;
  border-radius: 44% 56% 11% 15% / 14% 16% 10% 11%;
}

.cake-tier-three {
  bottom: 60%;
  width: 48%;
  height: 21%;
  border-radius: 49% 51% 12% 13% / 14% 14% 8% 9%;
}

.cake-gesture {
  position: absolute;
  z-index: 2;
  display: block;
  border-radius: 50%;
  background: var(--wine-deep);
  box-shadow: 0 4px 0 rgba(255, 250, 244, .2);
  transition: background 400ms ease, transform 450ms var(--ease-spring), border-radius 400ms ease;
}

.cake-gesture-one {
  top: 22%;
  left: 4%;
  width: 77%;
  height: 11%;
  transform: rotate(24deg);
}

.cake-gesture-two {
  right: 7%;
  bottom: 28%;
  width: 57%;
  height: 8%;
  background: var(--gold);
  transform: rotate(-31deg);
}

.cake-orb {
  position: absolute;
  z-index: 3;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 6px 10px rgba(55, 19, 35, .24);
  transition: background 400ms ease, transform 450ms var(--ease-spring);
}

.cake-orb-one { top: 10%; right: 18%; width: 16px; aspect-ratio: 1; }
.cake-orb-two { top: 31%; left: 7%; width: 11px; aspect-ratio: 1; background: var(--rose-soft); }

.builder-stage[data-mood="graphic"] .cake-tier {
  border-radius: 4px;
  background: linear-gradient(130deg, #fff2cf, #ef9c68 56%, #a33b45);
}

.builder-stage[data-mood="graphic"] .cake-gesture-one {
  height: 15%;
  border-radius: 0;
  background: var(--wine-deep);
  transform: rotate(-20deg) skewX(-13deg);
}

.builder-stage[data-mood="graphic"] .cake-gesture-two {
  border-radius: 0;
  background: #fff2cf;
  transform: rotate(27deg);
}

.builder-stage[data-mood="graphic"] .cake-orb-one {
  border-radius: 0;
  background: var(--wine-deep);
  transform: rotate(30deg);
}

.builder-stage[data-mood="soft"] .cake-tier {
  background: linear-gradient(133deg, #fff3f2, #e4b7d5 62%, #8a5687);
  border-radius: 50% 50% 20% 20% / 28% 28% 15% 15%;
}

.builder-stage[data-mood="soft"] .cake-gesture-one {
  height: 14%;
  background: #f6d5e7;
  transform: rotate(16deg) skewX(8deg);
}

.builder-stage[data-mood="soft"] .cake-gesture-two {
  background: #7f4c87;
  transform: rotate(-20deg);
}

.builder-stage[data-mood="soft"] .cake-orb-one { background: #f5de9b; }
.builder-stage[data-mood="soft"] .cake-orb-two { background: #fff0f6; transform: scale(1.5); }

.brief-result {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 45px;
  padding: 25px clamp(30px, 4.8vw, 68px) 28px;
  border-top: 1px solid rgba(255, 250, 244, .25);
  background: rgba(0, 0, 0, .1);
}

.brief-result-label {
  grid-column: 1;
  margin: 0;
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.brief-result-text {
  grid-column: 1;
  margin: 0;
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(23px, 2.3vw, 34px);
  letter-spacing: -.048em;
  line-height: 1.1;
}

.brief-result-note {
  grid-column: 1;
  max-width: 590px;
  margin: 3px 0 0;
  color: rgba(255, 250, 244, .65);
  font-size: 12px;
  line-height: 1.48;
}

.button-light {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  color: var(--wine-deep);
  background: var(--cream);
}

.button-light::before {
  background: var(--rose);
}

.button-light span:last-child {
  color: var(--cream);
  background: var(--wine-deep);
}

.button-light:hover span:last-child,
.button-light:focus-visible span:last-child {
  color: var(--wine-deep);
  background: var(--cream);
  transform: rotate(45deg);
}

.copy-status {
  grid-column: 1;
  min-height: 20px;
  color: var(--rose-soft);
  font-size: 11px;
}

.ritual {
  padding-block: clamp(105px, 13vw, 195px);
}

.ritual-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 45px;
  margin-bottom: clamp(56px, 7vw, 98px);
}

.ritual-heading h2 {
  max-width: 805px;
}

.ritual-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.ritual-step {
  display: grid;
  grid-template-columns: minmax(85px, .2fr) minmax(0, 1fr) minmax(155px, .36fr);
  gap: 23px;
  align-items: baseline;
  padding: 28px 4px 29px;
  border-bottom: 1px solid var(--line);
  transition: background 220ms ease, padding-inline 250ms var(--ease-out);
}

.ritual-step::after {
  grid-column: 3;
  grid-row: 1;
  color: var(--wine);
  content: "↘";
  font-family: var(--display);
  font-size: 36px;
  justify-self: end;
  transition: transform 300ms var(--ease-spring);
}

.ritual-step:hover {
  padding-inline: 14px;
  background: rgba(230, 166, 171, .2);
}

.ritual-step:hover::after {
  transform: translate(4px, 4px);
}

.ritual-number {
  color: var(--wine);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
}

.ritual-step h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(27px, 3.6vw, 54px);
  font-weight: 400;
  letter-spacing: -.06em;
  line-height: .96;
}

.ritual-step p {
  grid-column: 3;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.ritual-step > div {
  display: contents;
}

.closing {
  position: relative;
  display: grid;
  width: 100%;
  max-width: none;
  min-height: 640px;
  overflow: hidden;
  align-items: center;
  padding: 90px max(40px, calc((100% - 1260px) / 2));
  isolation: isolate;
}

.closing::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(117deg, #241018, #521b35 55%, #9b3856);
  content: "";
}

.closing::after {
  position: absolute;
  z-index: -1;
  right: -7%;
  bottom: -28%;
  width: min(60vw, 750px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 250, 244, .22);
  border-radius: 50%;
  content: "";
}

.closing-word {
  position: absolute;
  z-index: -1;
  top: 43%;
  left: max(40px, calc((100% - 1260px) / 2 + 1vw));
  color: rgba(255, 250, 244, .06);
  font-family: var(--sans);
  font-size: clamp(105px, 20vw, 340px);
  font-weight: 800;
  letter-spacing: -.11em;
  line-height: .5;
  white-space: nowrap;
}

.closing-content {
  max-width: 820px;
}

.closing h2 {
  margin-bottom: 38px;
}

.button-large {
  min-height: 62px;
  padding-left: 25px;
}

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(250px, 520px) auto;
  align-items: start;
  gap: 30px;
  width: var(--shell);
  margin-inline: auto;
  padding-block: 27px 35px;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.5;
}

.site-footer p {
  margin: 0;
}

.site-footer p:first-child {
  color: var(--wine-deep);
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.site-footer a {
  justify-self: end;
  color: var(--wine-deep);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.site-footer a span {
  margin-left: 4px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 580ms var(--ease-out), transform 580ms var(--ease-out);
}

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

@media (max-width: 1080px) {
  :root { --shell: min(100% - 52px, 960px); }

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

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: start;
    padding-top: 2px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(330px, .76fr);
    gap: 42px;
    min-height: 650px;
  }

  .hero-visual { min-height: 545px; }
  .collection-notes { gap: 12px; }
  .note-card { min-height: 218px; }
  .note-card-large { min-height: 448px; }
  .brief-result { gap: 8px 28px; }
  .closing { padding-inline: 26px; }
  .closing-word { left: 36px; }
}

@media (max-width: 800px) {
  :root { --shell: min(100% - 40px, 640px); }

  .site-header {
    gap: 16px;
    min-height: 102px;
  }

  .header-cta { font-size: 10px; }
  .hero { grid-template-areas: "copy" "visual" "picker"; grid-template-columns: 1fr; min-height: 0; padding-block: 39px 74px; }
  .hero-copy { padding-block: 0; }
  .hero-visual { width: min(100%, 570px); min-height: 620px; margin-left: auto; }
  .hero-visual::before { right: -5vw; }
  .hero-figure { width: min(74%, 455px); }
  .collection-heading,
  .brief-intro { grid-template-columns: 1fr; }
  .collection-heading .eyebrow,
  .collection-heading h2,
  .brief-intro .eyebrow,
  .brief-intro h2 { grid-column: 1; }
  .collection-heading > p:last-child,
  .brief-intro > p:last-child { grid-column: 1; grid-row: auto; max-width: 470px; margin: 28px 0 0; }
  .collection-layout { grid-template-columns: 1fr; }
  .collection-image { width: min(78%, 420px); }
  .collection-notes { grid-template-columns: 1fr 1fr; padding-top: 0; }
  .note-card-large { grid-row: auto; min-height: 355px; }
  .note-card-line { min-height: 355px; }
  .note-card-accent { transform: translateY(22px); }
  .brief-intro { margin-bottom: 53px; }
  .cake-builder { grid-template-columns: 1fr; }
  .builder-stage { min-height: 470px; grid-row: 1; }
  .builder-controls { grid-row: 2; }
  .brief-result { grid-row: 3; }
  .ritual-heading { display: block; }
  .ritual-heading h2 { margin-top: 26px; }
  .ritual-step { grid-template-columns: 65px 1fr minmax(120px, .45fr); }
  .closing { min-height: 550px; }
  .closing { padding-inline: 20px; }
  .closing-word { left: 24px; }
}

@media (max-width: 600px) {
  :root { --shell: calc(100% - 32px); }

  .site-header { display: flex; flex-wrap: wrap; justify-content: space-between; min-height: 0; padding-block: 18px 19px; }
  .brand { gap: 9px; }
  .brand-name { font-size: 16px; }
  .brand-note { font-size: 8px; }
  .site-nav { order: 3; width: 100%; gap: 16px; overflow-x: auto; padding: 12px 0 2px; font-size: 9px; white-space: nowrap; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
  .header-cta { gap: 6px; padding-left: 8px; font-size: 9px; }
  .header-cta span:first-child { max-width: 98px; }
  .header-cta span:last-child { width: 24px; height: 24px; }
  h1 { font-size: clamp(51px, 15.4vw, 79px); line-height: .89; }
  .hero-summary { font-size: 16px; }
  .hero-actions { gap: 22px; margin-bottom: 38px; }
  .button { min-height: 50px; }
  .hero { row-gap: 18px; }
  .hero-visual { min-height: min(139vw, 530px); }
  .hero-visual::before { top: 3%; right: -9%; left: 2%; }
  .hero-figure { top: 8%; right: 0; bottom: auto; width: 78%; }
  .visual-index { top: 7%; left: 2%; }
  .visual-caption { left: -1%; }
  .hero-figure figcaption { right: 12px; bottom: 12px; left: 12px; padding: 9px 10px; font-size: 8px; }
  .kinetic-strip { padding-block: 13px; }
  .kinetic-track { font-size: 10px; }
  .collections { padding-block: 91px; }
  .collection-heading h2,
  .brief-intro h2,
  .ritual-heading h2,
  .closing h2 { font-size: clamp(46px, 13.5vw, 67px); }
  .collection-layout { gap: 45px; }
  .collection-image { width: calc(100% - 18px); }
  .collection-notes { grid-template-columns: 1fr; gap: 13px; }
  .note-card-large, .note-card-line { min-height: 270px; }
  .note-card-accent { min-height: 220px; transform: none; }
  .note-card h3 { font-size: 37px; }
  .brief-section { padding-block: 90px; }
  .brief-intro > p:last-child { margin-top: 25px; font-size: 15px; }
  .builder-stage { min-height: 390px; }
  .cake-object { width: 60%; }
  .stage-label { top: 17px; left: 17px; }
  .stage-code { right: 17px; bottom: 17px; }
  .builder-controls { padding: 29px 21px; }
  .brief-result { grid-template-columns: 1fr; padding: 25px 21px; }
  .button-light { grid-column: 1; grid-row: auto; width: fit-content; margin-top: 13px; }
  .copy-status { grid-column: 1; }
  .ritual { padding-block: 92px; }
  .ritual-step { grid-template-columns: 47px 1fr; gap: 15px; padding-block: 24px; }
  .ritual-step::after { display: none; }
  .ritual-step h3 { font-size: 36px; }
  .ritual-step p { grid-column: 2; margin-top: 12px; }
  .closing { min-height: 500px; padding: 76px 16px; }
  .closing-word { top: 46%; left: -10px; font-size: 37vw; }
  .site-footer { grid-template-columns: 1fr; gap: 12px; padding-block: 23px 29px; }
  .site-footer a { justify-self: start; margin-top: 6px; }
}

@media (max-width: 360px) {
  :root { --shell: calc(100% - 28px); }
  .brand-note { display: none; }
  .header-cta span:first-child { max-width: 90px; }
  .occasion-option { min-height: 40px; padding-inline: 10px; font-size: 10px; }
  .hero-visual { min-height: 450px; }
  .hero-figure { width: 80%; }
  .choice-button { padding-inline: 10px; }
  .builder-stage { min-height: 360px; }
  .closing { padding-inline: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .kinetic-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}
