
@font-face { font-family: "Dongga"; src: url("/live/pipe-up/fonts/dongga.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/live/pipe-up/fonts/figtree-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/live/pipe-up/fonts/figtree-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --pink: #FDEBF0;
  --pink-hi: #FFF7FA;
  --cream: #FFF5E8;
  --plum: #2A1530;
  --plum-soft: #6E5A70;
  --raspberry: #C4215A;
  --raspberry-deep: #A3184A;
  --pistachio: #C9DDB0;
  --butter: #F5D565;
  --butter-deep: #EDC94A;
  --top: #EEE9DF;
  --err: #9B1243;
  --ice-raspberry: #C4215A;
  --ice-pistachio: #4F7D35;
  --ice-chocolate: #4A2A26;
  --ice-blueberry: #34407E;
  --line: rgba(42, 21, 48, 0.16);
  --line-strong: rgba(42, 21, 48, 0.34);

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 144px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: linear(0, 0.053, 0.189, 0.374, 0.576, 0.77, 0.939, 1.072, 1.164, 1.216, 1.234, 1.223, 1.192, 1.15, 1.103, 1.057, 1.017, 0.985, 0.963, 0.95, 0.945, 0.948, 0.954, 0.964, 0.975, 0.986, 0.995, 1.003, 1.008, 1.012, 1.013, 1.012, 1);

  --nav-h: 72px;
  --g: 24px;
  --m: max(5vw, 16px);
  --display: "Dongga", "Marker Felt", sans-serif;
  --text: "Figtree", ui-sans-serif, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (max-width: 599px) {
  :root { --g: 8px; --m: 16px; --nav-h: 64px; }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
html.motion { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--pink);
  color: var(--plum);
  font: 400 18px/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
  overflow-x: clip;
}
@media (max-width: 599px) { body { font-size: 17px; } }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 400; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: 12px; z-index: 100;
  padding: 12px 16px; border-radius: 10px;
  background: var(--plum); color: var(--pink);
  font: 600 15px/1.2 var(--text); text-decoration: none;
  transform: translateY(-160%);
}
.skip:focus-visible { transform: none; outline-color: var(--raspberry); }

/* Grid: 12 columns, 24px gutters, max 1320px, side margins 5vw */
.grid {
  display: grid;
  grid-template-columns:
    [full-start] minmax(calc(var(--m) - var(--g)), 1fr)
    repeat(12, minmax(0, 88px))
    minmax(calc(var(--m) - var(--g)), 1fr) [full-end];
  column-gap: var(--g);
}
.grid > * { grid-column: 2 / -2; min-width: 0; }

.label {
  display: block;
  font: 600 13px/1.2 var(--text);
  letter-spacing: 0.02em;
  color: var(--plum);
}
.sample {
  display: inline-flex; align-items: center;
  padding: 5px 12px;
  border: 1px solid currentColor; border-radius: 4px;
  font: 600 11px/1 var(--text); letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--plum-soft);
  vertical-align: 0.15em;
  white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border: 1.5px solid transparent; border-radius: 999px;
  font: 600 16px/1 var(--text); text-decoration: none; white-space: nowrap;
  transition: transform 120ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(2px); }
.btn svg { flex: none; }
.btn-primary { background: var(--raspberry); color: var(--cream); }
.btn-ghost { background: transparent; color: var(--plum); border-color: var(--plum); }

/* ---------- Nav: wordmark, links, order docket ---------- */
.nav {
  position: sticky; top: 0; z-index: 30;
  height: var(--nav-h);
  background: var(--pink);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-in { height: 100%; }
.nav-bar { display: flex; align-items: center; gap: var(--s6); height: 100%; }
.mark {
  display: inline-flex; align-items: baseline; gap: 3px; flex: none; white-space: nowrap;
  min-height: 44px; align-self: center; padding-top: 8px;
  font: 400 34px/1 var(--display); color: var(--plum); text-decoration: none;
}
.mark-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--raspberry); align-self: flex-end; margin-bottom: 9px; }
.mark-dot { transition: transform 160ms var(--ease-out); }
.links { display: flex; gap: var(--s6); margin-left: auto; }
.links a {
  display: inline-flex; align-items: center; min-height: 44px;
  font: 600 15px/1 var(--text); text-decoration: none;
  text-decoration-thickness: 2px; text-underline-offset: 7px;
}
.links a:active { transform: translateY(2px); }
.menu-btn { display: none; }
.docket {
  --z: 4px;
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; width: 260px; flex: none;
  padding: 10px 14px 13px;
  background: var(--butter); color: var(--plum);
  font: 400 14px/1.2 var(--text); text-decoration: none;
  border-radius: 4px 4px 0 0;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--z)) 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--z)) 100%;
  transition: transform 120ms ease;
}
.docket:active { transform: translateY(2px); }
.nav .docket:focus-visible { outline: none; background: var(--plum); color: var(--butter); }
.dk-k { font-weight: 600; letter-spacing: 0.02em; flex: none; font-size: 13px; }
.dk-v { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.dk-v.is-blank { color: var(--plum); }
.docket:focus-visible .dk-v.is-blank { color: var(--butter); }
.links-wrap { margin-left: auto; display: flex; align-items: center; flex: none; }

@media (max-width: 859px) {
  .nav-bar { gap: var(--s3); }
  .mark { font-size: 30px; }
  .links-wrap { position: static; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 44px; padding: 0 14px;
    background: transparent; border: 1.5px solid var(--plum); border-radius: 999px;
    font: 600 14px/1 var(--text);
    transition: transform 120ms ease;
  }
  .menu-btn:active { transform: translateY(2px); }
  .menu-btn .bars { width: 14px; height: 10px; position: relative; }
  .menu-btn .bars::before, .menu-btn .bars::after {
    content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor;
    transition: transform 200ms var(--ease-out);
  }
  .menu-btn .bars::before { top: 1px; }
  .menu-btn .bars::after { bottom: 1px; }
  .menu-btn[aria-expanded="true"] .bars::before { transform: translateY(3px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .bars::after { transform: translateY(-3px) rotate(-45deg); }
  .links {
    position: absolute; left: 0; right: 0; top: var(--nav-h);
    flex-direction: column; gap: 0;
    padding: var(--s2) var(--m) var(--s5);
    background: var(--pink);
    border-bottom: 1px solid var(--line);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s linear 200ms;
  }
  .links.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
  .links a { font: 400 40px/1 var(--display); min-height: 64px; width: 100%; border-bottom: 1px solid var(--line); }
  .docket { width: clamp(120px, 40vw, 170px); padding-inline: 10px; }
}
@media (max-width: 380px) {
  .menu-btn .menu-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .menu-btn { width: 44px; padding: 0; justify-content: center; }
}
@media (max-width: 420px) {
  ul.flavours li { white-space: normal; }
}
@media (max-width: 370px) {
  .w-surprise svg { display: none; }
}
/* 960 to 1179px: the copy column is narrow, so the four icing chips tighten to stay on one row */
@media (min-width: 960px) and (max-width: 1179px) {
  .hero-tools .chip-row { gap: 4px; }
  .chip-row .chip { gap: 6px; padding: 0 9px 0 8px; font-size: 14px; }
  .chip-row .chip-dot { width: 14px; height: 14px; }
  .chip-row .chip:has(input:checked) .chip-dot::after { inset: 4px; }
}

/* ---------- Hero with the Writer ---------- */
.hero {
  position: relative;
  min-height: max(640px, calc(100svh - var(--nav-h)));
  grid-template-rows: 1.1fr auto auto auto 1fr;
}
.hero-copy {
  grid-column: 2 / 8; grid-row: 2;
  container-type: inline-size;
  padding: var(--s7) var(--s7) 0 0;
}
.hero-field { grid-column: 2 / 8; grid-row: 3; padding-right: var(--s7); }
.hero-tools { grid-column: 2 / 8; grid-row: 4; padding: 0 0 var(--s7) 0; }
.hero h1 {
  font: 400 clamp(64px, 21.4cqi, 168px)/0.9 var(--display);
  letter-spacing: -0.004em;
}
.hero h1 .hl { display: block; }
.hero-lede { margin-top: var(--s5); max-width: 30ch; font-size: 19px; }
.w-labelrow { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); margin-top: var(--s6); }
.w-row { display: flex; gap: var(--s3); margin-top: var(--s2); }
.w-field { position: relative; flex: 1 1 auto; min-width: 0; }
.w-surprise { flex: none; min-height: 64px; }
.w-input {
  display: block; width: 100%; height: 64px;
  padding: 0 20px;
  background: var(--pink-hi);
  border: 1.5px solid var(--plum); border-radius: 14px;
  font: 600 22px/1 var(--text); color: var(--plum);
  caret-color: var(--raspberry);
}
.w-input::placeholder { color: var(--plum-soft); opacity: 1; font-weight: 400; }
.w-input:focus-visible { outline: 3px solid var(--raspberry); outline-offset: 2px; }
.w-count { font: 600 13px/1 var(--text); color: var(--plum-soft); font-variant-numeric: tabular-nums; }
.chips { border: 0; padding: 0; margin-top: var(--s5); min-width: 0; }
.chips legend { padding: 0; margin-bottom: var(--s2); }
.chip-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.chip {
  position: relative;
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 44px; padding: 0 13px 0 10px;
  border: 1.5px solid var(--line-strong); border-radius: 999px;
  font: 600 15px/1 var(--text);
  cursor: pointer; user-select: none;
  transition: transform 120ms ease;
  -webkit-tap-highlight-color: transparent;
}
.chip input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; border-radius: 999px; }
.chip:active { transform: translateY(2px); }
.chip:has(input:focus-visible) { outline: 3px solid var(--plum); outline-offset: 3px; }
.chip:has(input:checked) { background: var(--raspberry); border-color: var(--raspberry); color: var(--cream); }
.chip-dot { position: relative; width: 18px; height: 18px; border-radius: 50%; background: var(--c); flex: none; }
.chip:has(input:checked) .chip-dot { background: var(--cream); }
.chip:has(input:checked) .chip-dot::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--c); }
.chip-now { display: none; font: 600 15px/1 var(--text); margin-left: var(--s2); }
.w-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }

.hero-cake {
  grid-column: 8 / -1; grid-row: 1 / -1;
  position: relative; overflow: hidden;
  container-type: size;
  --D: min(calc((100cqh - 32px) / 1.32), calc((100cqw - 24px) / 1.02), 860px);
  --cx: calc(100cqw - var(--D) * 0.36);
  --cy: 50cqh;
}

/* A stage is the cake photo scaled by its own diameter D; the message sits in measured image coordinates. */
.stage {
  position: absolute;
  width: calc(var(--D) * 1.35962);
  aspect-ratio: 3690 / 3654;
  left: calc(var(--cx) - var(--D) * 0.67981);
  top: calc(var(--cy) - var(--D) * 0.67981);
  clip-path: circle(calc(var(--D) * var(--clipr, 0.66)) at 50% 50.493%);
  --ice: var(--ice-raspberry);
}
.stage picture, .stage img { display: block; width: 100%; height: 100%; }
.msg { position: absolute; left: 45.610%; top: 41.078%; width: 0; height: 0; pointer-events: none; }
.msg-scale {
  position: absolute; left: 0; top: 0;
  transform-origin: 0 0;
  font: 400 200px/1 var(--display);
  color: var(--ice);
  white-space: pre;
  transition: transform 340ms var(--ease-out);
}
.msg-scale.snap, .msg-scale.snap .g, .msg-scale.snap .nozzle { transition: none; }
.g { position: absolute; left: 0; top: 0; transform-origin: 0 var(--base, 154px); transition: transform 300ms var(--ease-out); }
.gi { display: block; transform-origin: 50% var(--base, 154px); filter: var(--icing-filter, none); }
#hero-stage { --icing-filter: url(#icing-hero); }
#preview-stage { --icing-filter: url(#icing-preview); }
.ghost { position: absolute; left: 0; top: 0; }
.ghost, .ghost * { transition: none !important; }
/* A round writing tip seen from above: collar, cone, opening with icing. Counter-scaled to stay 32px. */
.nozzle {
  position: absolute; left: -16px; top: -16px;
  width: 32px; height: 32px;
  opacity: 0;
  transition: transform 170ms var(--ease-out), opacity 220ms ease;
}
.nozzle svg { display: block; width: 32px; height: 32px; overflow: visible; }
.nz-collar { fill: color-mix(in srgb, var(--ice) 14%, #FFFFFF); stroke: color-mix(in srgb, var(--ice) 80%, #000000); stroke-width: 1.5; }
.nz-step { fill: none; stroke: color-mix(in srgb, var(--ice) 45%, #FFFFFF); stroke-width: 1.2; }
.nz-cone { fill: color-mix(in srgb, var(--ice) 32%, #FFFFFF); }
.nz-shine { fill: none; stroke: #FFFFFF; stroke-opacity: 0.85; stroke-width: 1.8; stroke-linecap: round; }
.nz-mouth { fill: color-mix(in srgb, var(--ice) 70%, #000000); }
.nz-icing { fill: var(--ice); }
.nozzle.is-on { opacity: 1; }

@media (max-width: 959px) {
  .hero { min-height: 0; grid-template-rows: auto; }
  .hero-copy { grid-column: 2 / -2; grid-row: auto; padding: var(--s6) 0 0; }
  .hero-cake {
    grid-column: 1 / -1; grid-row: auto;
    height: calc(min(66vw, 520px) * 1.32);
    margin-top: var(--s5);
    --D: min(66vw, 520px);
    --cx: calc(50cqw + var(--D) * 0.0597);
    --cy: calc(var(--D) * 0.66);
  }
  .hero-field { grid-column: 2 / -2; grid-row: auto; padding: 0; }
  .hero-tools { grid-column: 2 / -2; grid-row: auto; padding: var(--s4) 0 var(--s8); }
  .chips { margin-top: var(--s2); }
  .w-labelrow { margin-top: var(--s4); }
}
@media (max-width: 599px) {
  .hero-lede { font-size: 17px; }
  .hero-cake { height: calc(min(84vw, 440px) * 1.32); --D: min(84vw, 440px); }
  .chip { width: 44px; padding: 0; justify-content: center; }
  .chip-dot { width: 24px; height: 24px; }
  .chip:has(input:checked) .chip-dot::after { inset: 7px; }
  .chip-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .chip-now { display: inline-block; }
  .w-actions .btn { flex: 1 1 auto; }
  .w-input { font-size: 20px; height: 60px; }
  .w-surprise { min-height: 60px; padding: 0 16px; gap: 8px; }
}

/* ---------- Sections ---------- */
.sec { padding-top: var(--s10); }
.sec-end, .order { padding-bottom: var(--s10); }
@media (max-width: 599px) { .sec { padding-top: var(--s9); } .sec-end, .order { padding-bottom: var(--s9); } }
.h2 { font: 400 clamp(52px, 7vw, 108px)/0.92 var(--display); }
.h3 { font: 400 clamp(44px, 4.6vw, 64px)/1 var(--display); }
.lede { color: var(--plum); max-width: 38ch; }
.muted { color: var(--plum-soft); }

/* Sizes and flavours */
.cakes-h { grid-column: 2 / 9; }
.cakes-lede { grid-column: 10 / 14; align-self: end; }
.sizes {
  margin-top: var(--s9);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g);
  align-items: end;
  container-type: inline-size;
}
.size { --U: calc((100cqi - 11 * var(--g)) / 3 + 3 * var(--g)); }
.size-15 { grid-column: 1 / span 3; --k: 0.6; }
.size-20 { grid-column: 4 / span 4; --k: 0.8; }
.size-25 { grid-column: 8 / span 5; --k: 1; }
.disc {
  position: relative;
  width: calc(var(--U) * var(--k)); aspect-ratio: 1;
  border-radius: 50%;
  background: var(--top);
  border: 1.5px solid var(--plum);
}
.dim { position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px solid var(--plum); }
.dim::before, .dim::after { content: ""; position: absolute; top: -7px; width: 1.5px; height: 12px; background: var(--plum); }
.dim::before { left: 0; }
.dim::after { right: 0; }
.dim-l {
  position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%);
  font: 400 clamp(28px, 3vw, 44px)/1 var(--display); white-space: nowrap;
}
.size-info { margin-top: var(--s5); }
.price { font: 400 clamp(36px, 3.2vw, 48px)/1 var(--display); }
.serves { margin-top: var(--s2); font-size: 16px; color: var(--plum-soft); display: flex; gap: var(--s2); align-items: center; flex-wrap: wrap; }
.flav-h { margin-top: var(--s9); }
.flavours { margin-top: var(--s5); max-width: 23em; font: 400 clamp(32px, 3.4vw, 48px)/1.2 var(--display); }
.flavours li { display: inline; white-space: nowrap; }
.flavours li:not(:last-child)::after {
  content: ""; display: inline-block;
  width: 0.2em; height: 0.2em; margin: 0 0.4em;
  border-radius: 50%; background: var(--raspberry); vertical-align: 0.18em;
}
@media (max-width: 959px) {
  .cakes-h, .cakes-lede { grid-column: 2 / -2; }
  .cakes-lede { margin-top: var(--s5); }
}
@media (max-width: 599px) {
  .sizes { margin-top: var(--s7); display: flex; flex-direction: column; gap: var(--s6); align-items: stretch; }
  .size { display: flex; align-items: center; gap: var(--s5); --U: min(200px, 58vw); }
  .size-info { margin-top: 0; min-width: 0; flex: 1 1 auto; }
  .disc { flex: none; }
  .dim-l { font-size: 28px; bottom: 6px; }
}

/* Process */
.made { row-gap: var(--s8); }
.made-pic { grid-column: 2 / 9; grid-row: 1; }
.made-pic img { width: 100%; height: auto; border-radius: 20px; }
.made-text { grid-column: 10 / 14; grid-row: 1; align-self: center; }
.made-text p { margin-top: var(--s5); }
.facts { grid-column: 2 / -2; grid-row: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--g); }
.facts li { border-top: 1.5px solid var(--plum); padding-top: var(--s4); }
.facts strong { display: block; font-weight: 600; font-size: 18px; }
.facts li > span { display: block; margin-top: var(--s1); color: var(--plum-soft); font-size: 16px; }
@media (max-width: 959px) {
  .made-text { grid-column: 2 / -2; grid-row: 1; }
  .made-pic { grid-column: 2 / -2; grid-row: 2; }
  .facts { grid-row: 3; grid-template-columns: 1fr; row-gap: var(--s5); }
}

/* Message wall */
.wall-h { grid-column: 2 / 10; }
.wall-lede { grid-column: 10 / 14; align-self: end; }
.wall {
  margin-top: var(--s8);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
}
.wall-item {
  position: relative;
  display: flex; flex-direction: column; gap: var(--s4);
  min-height: 280px;
  padding: var(--s6) var(--s5) var(--s5);
  border-bottom: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}
.wall-item.rs { border-left: 0; padding-left: 0; }
.w7 { grid-column: span 7; } .w6 { grid-column: span 6; } .w5 { grid-column: span 5; } .w4 { grid-column: span 4; }
.wall-pick {
  flex: 1;
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--s4);
  width: 100%; margin: 0; padding: 0;
  background: none; border: 0; border-radius: 8px;
  color: var(--c); text-align: left;
  cursor: pointer;
  transition: transform 120ms ease;
  -webkit-tap-highlight-color: transparent;
}
.wall-pick:active { transform: translateY(2px); }
.wall-pick:focus-visible { outline: 3px solid var(--plum); outline-offset: 10px; }
.wall-msg { display: block; color: var(--c); font: 400 var(--fs)/1 var(--display); text-wrap: balance; }
.wall-cta {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 36px; padding: 8px 14px;
  border: 1.5px solid var(--plum); border-radius: 999px;
  font: 600 14px/1 var(--text); color: var(--plum);
  opacity: 0; transform: translateY(4px);
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.wall-pick:focus-visible .wall-cta { opacity: 1; transform: none; }
.cue-touch { display: none; }
@media (hover: none) { .wall-cta, .cue-hover { display: none; } .cue-touch { display: inline; } }
.w7 .wall-msg { --fs: clamp(48px, 5.2vw, 80px); }
.w6 .wall-msg { --fs: clamp(44px, 4.4vw, 68px); }
.w5 .wall-msg { --fs: clamp(40px, 3.9vw, 60px); }
.w4 .wall-msg { --fs: clamp(34px, 3.3vw, 50px); }
.wl-word { display: inline-block; white-space: nowrap; }
.wl { display: inline-block; transform-origin: 50% 78%; }
.wall-cap { font-size: 15px; color: var(--plum-soft); }
@media (max-width: 959px) {
  .wall-h, .wall-lede { grid-column: 2 / -2; }
  .wall-lede { margin-top: var(--s5); }
  .w7, .w6, .w5, .w4 { grid-column: span 6; }
  .wall-item { min-height: 240px; }
  .wall-item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .wall-item:nth-child(even) { border-left: 1px solid var(--line-strong); padding-left: var(--s5); }
  .wall-item:nth-child(9) { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
  .w7, .w6, .w5, .w4 { grid-column: 1 / -1; }
  .wall-item, .wall-item:nth-child(even) { border-left: 0; padding: var(--s5) 0; min-height: 0; }
  .wall-item .wall-msg { --fs: 40px; }
  .wall-item:nth-child(n+7) { display: none; }
}

/* Order */
.order { background: var(--pistachio); }
.order .sample { color: var(--plum); }
.order-side { grid-column: 2 / 7; position: sticky; top: calc(var(--nav-h) + var(--s5)); align-self: start; }
.order-side .lede { margin-top: var(--s5); }
.preview {
  position: relative; overflow: hidden;
  margin-top: var(--s7);
  width: min(400px, 100%);
  aspect-ratio: 1;
  container-type: inline-size;
  --D: calc(100cqw / 1.34); --cx: 50cqw; --cy: 50cqw;
}
.preview-cap { margin-top: var(--s3); font-size: 15px; color: var(--plum); }
.order-main { grid-column: 8 / 14; }
.form { display: grid; gap: var(--s5); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5) var(--s4); }
.field { display: flex; flex-direction: column; gap: var(--s2); min-width: 0; border: 0; padding: 0; }
.field legend { padding: 0; margin-bottom: var(--s2); display: flex; align-items: center; gap: var(--s2); }
.opt-l { font-weight: 400; color: var(--plum); }
.hint { font-size: 14px; line-height: 1.4; color: var(--plum); margin-top: calc(var(--s1) * -1); }
.inp {
  width: 100%; height: 52px; padding: 0 16px;
  background: var(--pink-hi); color: var(--plum);
  border: 1.5px solid var(--plum); border-radius: 12px;
  font: 400 17px/1 var(--text);
}
.inp:focus-visible { outline: 3px solid var(--plum); outline-offset: 2px; }
.inp[aria-invalid="true"] { border-color: var(--err); border-width: 2px; }
select.inp {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%232A1530' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
input[type="date"].inp { padding-right: 12px; }
.err { font: 600 14px/1.4 var(--text); color: var(--err); }
.err:empty { display: none; }
.err::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--err); margin-right: 8px; vertical-align: 0.1em; }
.with-count { position: relative; }
.with-count .inp { padding-right: 72px; }
.f-count { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font: 600 13px/1 var(--text); color: var(--plum-soft); font-variant-numeric: tabular-nums; pointer-events: none; }
.opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
.opt {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 14px 16px 16px;
  background: var(--pink-hi);
  border: 1.5px solid var(--plum); border-radius: 14px;
  cursor: pointer;
  transition: transform 120ms ease;
}
.opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.opt:active { transform: translateY(2px); }
.opt:has(input:focus-visible) { outline: 3px solid var(--plum); outline-offset: 3px; }
.opt:has(input:checked) { background: var(--plum); color: var(--pink); }
.opt-size { font: 600 15px/1.2 var(--text); }
.opt-price { font: 400 32px/1 var(--display); }
.opt-serves { font-size: 13px; line-height: 1.3; }
.opts[aria-invalid="true"] .opt { border-color: var(--err); }
.swatches { display: flex; gap: var(--s2); align-items: center; flex-wrap: wrap; }
.swatch {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--plum); background: var(--pink-hi);
  cursor: pointer;
  transition: transform 120ms ease;
}
.swatch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; border-radius: 50%; }
.swatch span { width: 26px; height: 26px; border-radius: 50%; background: var(--c); }
.swatch:active { transform: translateY(2px); }
.swatch:has(input:checked) { background: var(--raspberry); border-color: var(--raspberry); }
.swatch span { position: relative; }
.swatch:has(input:checked) span { background: var(--cream); }
.swatch:has(input:checked) span::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--c); }
.swatch:has(input:focus-visible) { outline: 3px solid var(--plum); outline-offset: 3px; }
.swatch-now { font-weight: 600; font-size: 15px; margin-left: var(--s1); }
.f-submit { display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap; margin-top: var(--s2); }
.f-note { font-size: 15px; }
.btn.is-loading { pointer-events: none; }
.btn .dots { display: none; gap: 4px; }
.btn.is-loading .dots { display: inline-flex; }
.dots span { display: block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: dot 900ms var(--ease-out) infinite; }
.dots span:nth-child(2) { animation-delay: 120ms; }
.dots span:nth-child(3) { animation-delay: 240ms; }
@keyframes dot { 0%, 100% { opacity: 0.3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.err-sum {
  padding: var(--s5); border-radius: 14px;
  background: var(--pink-hi); border: 2px solid var(--err);
}
.err-sum:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; }
.err-sum h3 { font: 600 22px/1.25 var(--text); color: var(--err); }
.err-sum ul { font-size: 16px; }
.err-sum ul { margin-top: var(--s2); display: grid; gap: var(--s1); }
.err-sum a { font-weight: 600; text-underline-offset: 3px; min-height: 32px; display: inline-flex; align-items: center; }
.success {
  background: var(--pink-hi); border-radius: 20px;
  padding: var(--s7);
}
.success:focus { outline: none; }
.success h3 { font: 400 clamp(44px, 4.2vw, 64px)/0.95 var(--display); }
.success-lede { margin-top: var(--s4); }
.success-msg { margin-top: var(--s5); color: var(--c, var(--ice-raspberry)); font: 400 clamp(40px, 4vw, 60px)/1 var(--display); text-wrap: balance; }
.success dl { margin-top: var(--s6); display: grid; grid-template-columns: auto 1fr; gap: var(--s2) var(--s5); font-size: 16px; }
.success dt { font-weight: 600; }
.success-note { margin-top: var(--s5); font-size: 15px; color: var(--plum-soft); }
.success .btn { margin-top: var(--s6); }
@media (max-width: 959px) {
  .order-side, .order-main { grid-column: 2 / -2; }
  .order-side { position: static; }
  .order-main { margin-top: var(--s7); }
  .preview, .preview-cap { display: none; }
}
@media (max-width: 599px) {
  .row2 { grid-template-columns: 1fr; }
  .opts { grid-template-columns: 1fr; }
  .opt { flex-direction: row; align-items: baseline; flex-wrap: wrap; column-gap: var(--s3); }
  .opt-price { margin-left: auto; }
  .opt-serves { flex-basis: 100%; }
  .success { padding: var(--s6) var(--s5); }
}

/* Footer */
.foot { background: var(--plum); color: var(--pink); padding: var(--s9) 0 var(--s6); }
.foot :focus-visible { outline-color: var(--butter); }
.foot .sample { color: rgba(253, 235, 240, 0.84); }
.foot .sign { margin: 0; font: 400 clamp(120px, 23vw, 340px)/0.82 var(--display); color: var(--pink); }
.sign .wl { transform-origin: 50% 80%; }
.foot-cols { margin-top: var(--s8); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); row-gap: var(--s6); }
.foot-cols > div { grid-column: span 4; }
.foot h2 { font: 400 32px/1 var(--display); color: var(--pink); }
.foot p, .foot address { margin-top: var(--s2); font-style: normal; font-size: 17px; }
.foot-links { margin-top: var(--s1); display: flex; flex-wrap: wrap; column-gap: var(--s5); }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.foot-links a:active { transform: translateY(2px); }
.foot-base { margin-top: var(--s8); padding-top: var(--s4); border-top: 1px solid rgba(253, 235, 240, 0.22); font-size: 14px; color: rgba(253, 235, 240, 0.84); }
@media (max-width: 959px) { .foot-cols > div { grid-column: 1 / -1; } }


/* Hover only where a pointer can hover, so fills never stick after a tap */
@media (hover: hover) {
  .btn-primary:hover { background: var(--raspberry-deep); }
  .btn-ghost:hover { background: var(--plum); color: var(--pink); }
  .mark:hover .mark-dot { transform: translateY(-2px); }
  .links a:hover { text-decoration: underline; text-decoration-color: var(--raspberry); }
  .docket:hover { background: var(--butter-deep); }
  .menu-btn:hover { background: var(--plum); color: var(--pink); }
  .w-input:hover { background: #FFFFFF; }
  .chip:hover { border-color: var(--plum); }
  .wall-pick:hover .wall-cta { opacity: 1; transform: none; }
  .inp:hover { background: #FFFFFF; }
  .opt:hover { background: #FFFFFF; }
  .swatch:hover { background: #FFFFFF; }
  .foot-links a:hover { text-decoration: underline; text-decoration-color: var(--butter); }
}

/* Motion: entrances and reveals (only when motion is allowed) */
html.motion [data-enter] { opacity: 0; transform: translateY(12px); }
html.motion .hero-cake[data-enter] { transform: none; }
html.motion .is-entered [data-enter] {
  opacity: 1; transform: none;
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 60ms);
}
html.motion .is-entered .hero-cake[data-enter] { transition-duration: 900ms; }
html.motion [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
html.motion [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html.motion { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
  .btn:active, .chip:active, .opt:active, .swatch:active, .wall-pick:active, .docket:active { transform: none; }
}

/* Designed dropdown and day picker (replace native select and date input) */
.xsel-native { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; border: 0 !important; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); opacity: 0; pointer-events: none; white-space: nowrap; }
.xsel, .xdate { position: relative; }
.xsel-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; height: 52px; padding: 0 16px;
  background: var(--pink-hi); color: var(--plum); border: 1.5px solid var(--plum); border-radius: 12px;
  font: 400 17px/1 var(--text); text-align: left; cursor: pointer;
}
.xsel-btn:focus-visible, .xdate-nav:focus-visible, .xdate-day:focus-visible { outline: 3px solid var(--plum); outline-offset: 2px; }
.xsel-btn.is-ph .xsel-val { color: var(--plum-soft); }
.xsel-btn:disabled { opacity: .55; cursor: not-allowed; }
.xsel-val { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xsel-chev { flex: none; width: 14px; height: 9px; color: var(--plum); }
.xdate-btn .xsel-chev { width: 18px; height: 18px; }
.is-open > .xsel-btn .xsel-chev { transform: rotate(180deg); }
.xdate.is-open > .xsel-btn .xsel-chev { transform: none; }
.xsel-native[aria-invalid="true"] + .xsel > .xsel-btn { border-color: var(--err); border-width: 2px; }
.xsel-list, .xdate-pan {
  position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; min-width: 100%;
  background: var(--pink-hi); border: 1.5px solid var(--plum); border-radius: 14px;
}
.is-up > .xsel-list, .is-up > .xdate-pan { top: auto; bottom: calc(100% + 6px); }
.is-right > .xdate-pan { left: auto; right: 0; }
.xsel-list { list-style: none; margin: 0; padding: 6px; max-height: min(280px, 50vh); overflow-y: auto; outline: none; }
.xsel-opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding: 10px 12px; border-radius: 9px; font: 400 17px/1.25 var(--text); color: var(--plum); cursor: pointer; }
.xsel-opt.is-ph { color: var(--plum-soft); }
.xsel-opt.is-active { background: var(--butter); }
.xsel-opt[aria-selected="true"] { background: var(--plum); color: var(--pink); }
.xsel-opt[aria-selected="true"]::after { content: ""; flex: none; width: 12px; height: 7px; border-left: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(-45deg) translateY(-2px); }
.xsel-opt[aria-selected="true"].is-active { outline: 3px solid var(--butter); outline-offset: -3px; }
.xsel-opt[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.xdate-pan { width: 304px; max-width: calc(100vw - 32px); padding: 14px; }
.xdate-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.xdate-title { font: 400 22px/1 var(--display, var(--text)); color: var(--plum); text-align: center; flex: 1; }
.xdate-nav { flex: none; width: 44px; height: 44px; display: grid; place-items: center; background: transparent; color: var(--plum); border: 1.5px solid var(--plum); border-radius: 50%; cursor: pointer; }
.xdate-nav svg { width: 10px; height: 14px; }
.xdate-nav:disabled { opacity: .3; cursor: not-allowed; }
.xdate-grid { width: 100%; border-collapse: collapse; table-layout: fixed; }
.xdate-grid th { padding: 4px 0 6px; font: 600 12px/1 var(--text); color: var(--plum-soft); text-align: center; }
.xdate-grid td { padding: 1px; text-align: center; }
.xdate-day { width: 100%; height: 38px; display: grid; place-items: center; padding: 0; border: 1.5px solid transparent; border-radius: 10px; background: transparent; color: var(--plum); font: 400 16px/1 var(--text); font-variant-numeric: tabular-nums; cursor: pointer; }
.xdate-day.is-today { border-color: var(--line-strong); }
.xdate-day.is-off { color: var(--plum-soft); opacity: .4; cursor: not-allowed; }
.xdate-grid td[aria-selected="true"] .xdate-day { background: var(--plum); color: var(--pink); border-color: var(--plum); opacity: 1; }
.xdate-note { margin: 10px 2px 0; font: 400 13px/1.4 var(--text); color: var(--plum-soft); }
@media (hover: hover) {
  .xsel-btn:hover { background: #FFFFFF; }
  .xsel-opt:not([aria-selected="true"]):not([aria-disabled="true"]):hover { background: var(--butter); }
  .xdate-day:not(.is-off):hover { background: var(--butter); }
  .xdate-grid td[aria-selected="true"] .xdate-day:hover { background: var(--plum); }
  .xdate-nav:not(:disabled):hover { background: var(--butter); }
}
@media (prefers-reduced-motion: no-preference) {
  .xsel-chev { transition: transform .18s var(--ease-out); }
  .xsel-list:not([hidden]), .xdate-pan:not([hidden]) { animation: xpop .16s var(--ease-out); }
  @keyframes xpop { from { opacity: 0; transform: translateY(-4px); } }
}

