/* Lisa Sweet Lab: il muro dei manifesti. Pop poster, adesivi fustellati, contorni d'inchiostro. */

@font-face { font-family: "Anton"; src: url("../fonts/anton-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-500_800-normal.woff2") format("woff2"); font-weight: 500 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Leckerli One"; src: url("../fonts/leckerli-one-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --pink: #FF78B4;
  --yellow: #FFE14D;
  --mint: #7FD8C3;
  --cream: #FFFDF8;
  --lilac: #C9B8FF;
  --paper: #FFFDF8;
  --blush: #FCE8EE;
  --ink: #170F12;
  --red: #E2342B;
  --rule: rgba(23, 15, 18, .2);

  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Leckerli One", "Archivo", cursive;

  --line: 3px;
  --wrap: 1280px;
  --gut: clamp(16px, 3.2vw, 44px);
  --edge: max(var(--gut), (100% - var(--wrap)) / 2);
  --sp: clamp(64px, 7.6vw, 112px);
  --navh: 72px;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --focus: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.menu-open { overflow: hidden; }
body {
  background: var(--pink); color: var(--ink);
  font: 500 1.0625rem/1.55 var(--sans);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img, picture { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button, .btn, .chip, summary, .top__menu { touch-action: manipulation; -webkit-user-select: none; user-select: none; }
h1, h2, h3 { text-wrap: balance; }
p, dd, li, blockquote { text-wrap: pretty; }
::selection { background: var(--yellow); color: var(--ink); }
html { accent-color: var(--ink); caret-color: var(--ink); scrollbar-color: var(--ink) var(--pink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
main { overflow-x: clip; }
main:focus, [tabindex="-1"]:focus { outline: none; }
section[id], footer[id] { scroll-margin-top: calc(var(--navh) - 3px); }

.skip {
  position: absolute; left: var(--gut); top: calc(var(--navh) + 10px); z-index: 100; padding: 10px 16px;
  background: var(--yellow); border: var(--line) solid var(--ink); border-radius: 999px;
  font-weight: 800; text-decoration: none; box-shadow: 4px 4px 0 var(--ink);
  transform: translateY(calc(-100% - var(--navh) - 20px));
}
.skip:focus { transform: none; }

/* ---------- buttons: sticker on a hard shadow; lift on hover, press flat on click ---------- */
.btn {
  --sh: var(--ink); --d: 4px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border: var(--line) solid var(--ink); border-radius: 999px;
  font: 800 1.0625rem/1.1 var(--sans); text-decoration: none; text-align: center;
  cursor: pointer;
  box-shadow: var(--d) var(--d) 0 var(--sh);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
}
.btn--ink { background-color: var(--ink); color: var(--yellow); --sh: var(--red); }
.btn--yellow { background-color: var(--yellow); color: var(--ink); }
.btn--big { --d: 6px; min-height: 62px; padding: 0 32px; font-size: 1.1875rem; }
.btn--sm { min-height: 46px; padding: 0 18px; font-size: .9375rem; }
.btn:active { transform: translate(var(--d), var(--d)); box-shadow: 0 0 0 var(--sh); transition-duration: .06s; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translate(-3px, -3px); box-shadow: calc(var(--d) + 4px) calc(var(--d) + 4px) 0 var(--sh); }
  .btn:active { transform: translate(var(--d), var(--d)); box-shadow: 0 0 0 var(--sh); }
}

.link {
  display: inline-flex; align-items: center; min-height: 44px;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em;
  padding: 0 6px; margin-inline: -6px; border-radius: 8px;
  font-weight: 700; transition: text-decoration-thickness .18s var(--ease), text-decoration-color .18s var(--ease), background-color .18s var(--ease), translate .18s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .link:hover { text-decoration-thickness: 5px; text-decoration-color: var(--ink); background-color: var(--yellow); translate: 0 -2px; }
  .brand:hover { background-color: var(--yellow); translate: 0 -2px; }
  .foot .link:hover { color: var(--yellow); background-color: transparent; text-decoration-color: var(--pink); }
}

/* ---------- top bar ---------- */
.top { position: sticky; top: 0; z-index: 50; background: var(--cream); border-bottom: var(--line) solid var(--ink); }
.top__nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: calc(var(--navh) - var(--line)); padding: 8px var(--edge);
}
.brand { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; margin-left: -8px; border-radius: 999px; transition: background-color .18s var(--ease), translate .18s var(--ease); font: 400 1.625rem/1 var(--display); text-transform: uppercase; letter-spacing: .01em; text-decoration: none; white-space: nowrap; }
.top__menu { display: none; }
.top__links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.top__links a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 15px;
  border: var(--line) solid var(--ink); border-radius: 999px; background: var(--paper);
  font-weight: 700; font-size: .9375rem; text-decoration: none;
  transition: background-color .18s var(--ease), transform .18s var(--ease);
}
.top__go { margin-left: 6px; }
.top__links a[aria-current]:not(.btn) { background: var(--yellow); box-shadow: 3px 3px 0 var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .top__links a:not(.btn):hover { background: var(--mint); transform: translateY(-2px); }
}

/* ---------- section grounds ---------- */
.sec { position: relative; padding: var(--sp) var(--edge); }
.sec--pink { background: var(--pink); }
.sec--yellow { background: var(--yellow); }
.sec--mint { background: var(--mint); }
.sec--lilac { background: var(--lilac); }
.sec--blush { background: var(--blush); }
.sec + .sec { border-top: var(--line) solid var(--ink); }
.sec h2 {
  font: 400 clamp(3rem, 6.2vw, 6rem)/.92 var(--display);
  text-transform: uppercase; letter-spacing: .005em;
}
.sec__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 48px; align-items: end; }
.sec__head p { max-width: 44ch; font-size: 1.1875rem; padding-bottom: .4em; }

/* ---------- hero: poster 1 ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 24px;
  align-items: center;
  min-height: calc(100svh - var(--navh) - 62px);
  padding-block: clamp(28px, 3.6vw, 56px) clamp(36px, 4vw, 60px);
}
.hero__copy { position: relative; z-index: 2; }
.hero h1 {
  font: 400 min(10.2vw, 10rem)/.88 var(--display);
  text-transform: uppercase; letter-spacing: .005em;
  color: var(--ink);                       /* what assistive tech measures: the ink outline against pink */
  -webkit-text-fill-color: var(--cream);  /* what the eye sees: cream letters cut out with an ink edge */
  -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill;
  text-shadow: 7px 7px 0 var(--ink);
}
.hero h1 .l { display: block; }
.hero__lead {
  margin-top: clamp(22px, 2.4vw, 32px); max-width: 33ch;
  padding: 16px 20px; background: var(--paper);
  border: var(--line) solid var(--ink); border-radius: 18px; box-shadow: 6px 6px 0 var(--ink);
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem); font-weight: 700; line-height: 1.45;
}
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 26px; }
.hero__more {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px; margin-left: -12px; border-radius: 999px;
  font-weight: 800; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .22em;
  transition: background-color .18s var(--ease), text-decoration-thickness .18s var(--ease), translate .18s var(--ease);
}
@media (hover: hover) and (pointer: fine) { .hero__more:hover { background-color: var(--yellow); text-decoration-thickness: 5px; translate: 0 -2px; } }

.hero__stickers { --px: 0; --py: 0; position: relative; align-self: stretch; min-height: 520px; }
/* Over the hero the stickers drift with the pointer, the near ones more: a wall of layers. */
.cut, .badge--h { transition: translate .7s cubic-bezier(.2, .8, .2, 1); }
.cut--a { translate: calc(var(--px) * -14px) calc(var(--py) * -10px); }
.cut--b { translate: calc(var(--px) * 26px) calc(var(--py) * 20px); }
.badge--h { translate: calc(var(--px) * 34px) calc(var(--py) * 24px); }
.badge--g { translate: calc(var(--px) * 20px) calc(var(--py) * 28px); }
/* The paper rim, ink outline and hard shadow are baked into the sticker images
   (rim 4.6px, shadow 8/9px at the size shown), so first paint has no filter to compute.
   Widths add the baked margin back and the margins put the cake where it sat before. */
.cut { position: absolute; height: auto; rotate: var(--r); }
.cut--a { --r: -6deg; width: calc(min(36vw, 520px) * 1.035); right: 3%; top: 2%; margin: -4.6px -12.6px 0 0; }
.cut--b { --r: 8deg; width: calc(min(19vw, 270px) * 1.066); left: 0; bottom: 4%; margin: 0 0 -13.6px -4.6px; }
.badge {
  position: absolute; z-index: 3;
  border: var(--line) solid var(--ink); box-shadow: 5px 5px 0 var(--ink);
  font-weight: 800; color: var(--ink); text-decoration: none;
  rotate: var(--r);
}
.badge--g {
  --r: 11deg;
  display: grid; place-content: center; text-align: center;
  width: 150px; height: 150px; padding: 14px; border-radius: 50%;
  right: 1%; bottom: 3%;
  background: var(--yellow); font-size: 1rem; line-height: 1.3;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), rotate .25s var(--ease), scale .25s var(--ease), translate .7s cubic-bezier(.2, .8, .2, 1);
}
.badge--g b { display: block; font: 400 2.75rem/1 var(--display); }
@media (hover: hover) and (pointer: fine) {
  .badge--g:hover { rotate: calc(var(--r) - 8deg); scale: 1.06; box-shadow: 8px 8px 0 var(--ink); }
}
.badge--h {
  --r: -4deg;
  left: -3%; top: 3%; white-space: nowrap;
  padding: 10px 16px; border-radius: 12px; background: var(--mint);
  font-size: .9375rem; line-height: 1.3;
}

/* ---------- ribbon ---------- */
.ribbon { overflow: hidden; background: var(--yellow); border-block: var(--line) solid var(--ink); }
.ribbon__run { display: flex; width: max-content; padding: 13px 0; font: 400 1.625rem/1 var(--display); text-transform: uppercase; letter-spacing: .01em; white-space: nowrap; }
.ribbon__run span { display: inline-flex; align-items: center; padding-right: 30px; }
.ribbon__run span::after { /* a sprinkle */
  content: ""; width: 24px; height: 9px; margin-left: 30px; border-radius: 99px;
  background: var(--red); border: 2px solid var(--ink); rotate: -28deg;
}
.ribbon__run span:nth-child(3n+2)::after { background: var(--pink); rotate: 22deg; }
.ribbon__run span:nth-child(3n)::after { background: var(--mint); rotate: -60deg; }
.ribbon__run { will-change: transform; }

/* ---------- le torte: poster 2 ---------- */
.wall {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(220px, 20vw, 290px);
  grid-template-areas:
    "big big big big big sq sq sq sq tl tl tl"
    "big big big big big rd rd rd in in in in";
  gap: 36px 32px; margin-top: clamp(40px, 5vw, 72px);
}
.stk {
  position: relative; padding: 10px; background: var(--paper);
  border: var(--line) solid var(--ink); border-radius: 22px; box-shadow: 8px 8px 0 var(--ink);
  rotate: var(--r, 0deg);
}
.stk picture, .stk img { width: 100%; height: 100%; }
.stk img { object-fit: cover; border-radius: 13px; }
.stk--big { grid-area: big; --r: -1.5deg; }
.stk--sq { grid-area: sq; --r: 2deg; }
.stk--tall { grid-area: tl; --r: -2.5deg; }
.stk--round { grid-area: rd; --r: 4deg; justify-self: center; aspect-ratio: 1; border-radius: 50%; }
.stk--round img { border-radius: 50%; }
.stk--insta {
  grid-area: in; --r: -2deg;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  padding: 24px 26px; background: var(--pink); text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.stk__h { font: 400 clamp(2.25rem, 3.6vw, 3.4rem)/.98 var(--display); text-transform: uppercase; }
.stk__h u { display: block; margin-top: .14em; text-decoration-thickness: 4px; text-underline-offset: .12em; overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) {
  .stk--insta:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--ink); }
}

.menu-board {
  margin-top: clamp(56px, 6vw, 88px); padding: 32px; padding: clamp(24px, 3.4vw, 48px);
  background: var(--yellow); border: var(--line) solid var(--ink); border-radius: 28px; box-shadow: 10px 10px 0 var(--ink);
}
.menu-board h3 { font: 400 clamp(2.2rem, 3.6vw, 3.25rem)/1 var(--display); text-transform: uppercase; margin-bottom: 18px; }
.menu-board dl { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
.menu-board dl div { display: grid; grid-template-columns: minmax(9.5em, .75fr) 1.5fr; gap: 6px 20px; padding: 16px 0; border-top: var(--line) dashed var(--ink); }
.menu-board dt { font-weight: 800; font-size: 1.125rem; line-height: 1.35; }

/* ---------- come si ordina: poster 3 ---------- */
.come { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 32px; align-items: end; }
.come h2 { grid-column: 1 / 8; }
.bubble { grid-column: 8 / 13; }
.bubble blockquote {
  position: relative; padding: 26px 28px; background: var(--paper);
  border: var(--line) solid var(--ink); border-radius: 28px; box-shadow: 8px 8px 0 var(--ink);
  font-size: clamp(1.1875rem, 1.6vw, 1.4375rem); font-weight: 700; line-height: 1.38;
}
.bubble blockquote::after { /* the tail of the speech bubble */
  content: ""; position: absolute; left: 44px; bottom: -17px; width: 30px; height: 30px;
  background: var(--paper); border-right: var(--line) solid var(--ink); border-bottom: var(--line) solid var(--ink);
  rotate: 45deg; border-bottom-right-radius: 6px;
}
.bubble figcaption { margin-top: 26px; padding-left: 28px; font-weight: 800; }
.steps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: clamp(24px, 4vw, 48px); counter-reset: s; }
.steps li { counter-increment: s; padding-top: 22px; border-top: var(--line) solid var(--ink); }
.steps li::before {
  content: counter(s);
  display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 18px;
  border-radius: 50%; background: var(--pink); border: var(--line) solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  font: 400 2rem/1 var(--display);
}
.steps h3 { font-size: 1.3125rem; font-weight: 800; line-height: 1.2; margin-bottom: 8px; }

/* ---------- matrimoni: the calm poster, nothing tilts ---------- */
.nozze { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 5vw, 80px); align-items: start; }
.nozze__side { position: sticky; top: calc(var(--navh) + 32px); }
.nozze__side .review { margin-top: 36px; }
.nozze__photo {
  position: relative;
  aspect-ratio: 1; overflow: hidden;
  border: var(--line) solid var(--ink); border-radius: 26px; box-shadow: 10px 10px 0 var(--ink); background: var(--paper);
}
.nozze__photo picture, .nozze__photo img { width: 100%; height: 100%; }
.nozze__photo img { object-fit: cover; object-position: var(--pos, 50% 50%); }
.nozze__lead { margin-top: 26px; max-width: 46ch; font-size: 1.1875rem; }
.nozze__quote { margin-top: 32px; max-width: 40ch; }
.nozze__quote blockquote { font-size: clamp(1.25rem, 1.7vw, 1.5rem); font-weight: 700; line-height: 1.35; }
.nozze__quote figcaption { margin-top: 10px; font-weight: 800; }
.terms { margin-top: 36px; border-bottom: var(--line) solid var(--ink); }
.terms div { display: grid; grid-template-columns: minmax(10em, .8fr) 1.6fr; gap: 4px 24px; padding: 14px 0; border-top: var(--line) solid var(--ink); }
.terms dt { font-weight: 800; }
.review { margin-top: 32px; padding: 20px 24px; background: var(--paper); border: var(--line) solid var(--ink); border-radius: 18px; }
.review blockquote { font-weight: 600; font-size: 1.0625rem; }
.review figcaption { margin-top: 8px; font-size: .9375rem; font-weight: 800; }
.nozze__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 32px; }
.nozze__cta span { max-width: 30ch; font-size: 1rem; }

/* ---------- domande: poster 5 ---------- */
.faq { display: grid; gap: clamp(28px, 3.2vw, 44px); }
.faq__side { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 48px; }
.faq__side h2 { max-width: 6.6em; font-size: clamp(3.4rem, 8.6vw, 8.5rem); line-height: .92; text-wrap: balance; }
/* the last slot of the wall is left open, dashed: your own question goes to Lisa */
.faq__more { align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 4px; min-height: 64px; padding: 16px 22px; border: var(--line) dashed var(--ink); border-radius: 18px; font-size: 1.0625rem; font-weight: 700; }
.faq__more .link { align-self: flex-start; }
.faq__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 18px 28px; }
.faq details { background: var(--paper); border: var(--line) solid var(--ink); border-radius: 18px; box-shadow: 5px 5px 0 var(--ink); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 64px; padding: 14px 18px 14px 22px; cursor: pointer; list-style: none;
  font-weight: 800; font-size: 1.125rem; line-height: 1.35; border-radius: 15px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { /* a plus that becomes a minus, drawn */
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%;
  border: var(--line) solid var(--ink); background-color: var(--yellow);
  background-image: linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--ink), var(--ink));
  background-position: center; background-repeat: no-repeat;
  background-size: 14px 3px, 3px 14px;
  transition: background-size .2s var(--ease), background-color .2s var(--ease);
}
.faq details[open] summary::after { background-size: 14px 3px, 3px 0; background-color: var(--pink); }
.faq details p { padding: 0 22px 20px; max-width: 58ch; }
@media (hover: hover) and (pointer: fine) {
  .faq summary:hover::after { background-color: var(--mint); }
}

/* ---------- scrivete la vostra torta: poster 6 ---------- */
.ordina { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(28px, 4vw, 64px); align-items: start; }
.ordina__head { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px clamp(28px, 4vw, 64px); align-items: end; }
.ordina__head p { font-size: 1.125rem; font-weight: 600; }
.order { display: grid; gap: 28px; }
.order__big { display: block; margin-bottom: 12px; font-size: clamp(1.25rem, 1.7vw, 1.5rem); font-weight: 800; line-height: 1.2; }
.order__hint { margin-top: 20px; font-size: 1rem; font-weight: 600; }
.order__label { display: block; margin-bottom: 8px; font-size: 1rem; font-weight: 800; }
.opt { font-weight: 500; }
fieldset { border: 0; min-width: 0; }
legend { padding: 0; }

.field {
  display: block; width: 100%; min-height: 54px; padding: 12px 14px;
  font-size: 1.0625rem; font-weight: 600; line-height: 1.3;
  background: var(--paper); border: var(--line) solid var(--ink); border-radius: 12px;
  -webkit-appearance: none; appearance: none;
  transition: box-shadow .16s var(--ease), background-color .16s var(--ease);
}
.field::placeholder { color: #6E5E64; opacity: 1; font-weight: 500; }
.field:focus { outline: none; box-shadow: 5px 5px 0 var(--ink); background-color: #FFFBE6; }
.field:focus-visible { outline: none; }
.field[aria-invalid="true"] { box-shadow: 5px 5px 0 var(--red); }
input[type="date"].field { min-height: 54px; }
input[type="number"].field { -moz-appearance: textfield; }
input[type="date"].field::-webkit-calendar-picker-indicator {
  width: 22px; height: 22px; padding: 4px; margin-right: -4px; border-radius: 8px; cursor: pointer; opacity: 1; color: transparent;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23170F12' stroke-width='2.6' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='3'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E") center / 20px no-repeat;
}
input[type="date"].field::-webkit-calendar-picker-indicator:hover { background-color: var(--mint); }

textarea.field--write {
  --lh: 1.8em;
  min-height: calc(6 * var(--lh) + 32px); padding: 16px 22px; resize: none; overflow: hidden;
  font-size: 1.25rem; font-weight: 600; line-height: var(--lh);
  background:
    repeating-linear-gradient(transparent 0 calc(var(--lh) - 2px), var(--rule) calc(var(--lh) - 2px) var(--lh)) content-box,
    var(--paper);
  background-attachment: local, scroll;
  border-radius: 18px; box-shadow: 6px 6px 0 var(--ink);
}
textarea.field--write:focus { box-shadow: 9px 9px 0 var(--ink); background-color: var(--paper); }

.err { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 1rem; font-weight: 800; }
.err::before { content: ""; flex: none; width: 22px; height: 9px; border-radius: 99px; background: var(--red); border: 2px solid var(--ink); rotate: -28deg; }

.order__details {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px;
  padding: 24px; padding: clamp(18px, 2.4vw, 28px); background: var(--cream);
  border: var(--line) solid var(--ink); border-radius: 22px; box-shadow: 6px 6px 0 var(--ink);
}
.order__occ, .order__sub--wide { grid-column: 1 / -1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: var(--line) solid var(--ink); border-radius: 999px; background: var(--paper);
  font-weight: 700; font-size: 1rem; pointer-events: none;
  transition: background-color .16s var(--ease), color .16s var(--ease), transform .16s var(--ease);
}
.chip input:checked + span { background-color: var(--ink); color: var(--yellow); }
.chip input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }
.chip input:active + span { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) {
  .chip input:not(:checked):hover + span { background: var(--mint); }
}

.order__send { display: grid; justify-items: start; gap: 14px; }
.order__alt { font-size: 1rem; font-weight: 600; }
.order__status { min-height: 1.5em; font-weight: 800; }
.order__status a { text-decoration-thickness: 2px; text-underline-offset: .2em; }

/* the drawn poster cake takes the colours and tiers you write */
.proof { position: sticky; top: calc(var(--navh) + 24px); display: grid; gap: 22px; }
.proof__stage {
  position: relative; overflow: hidden; padding: 30px 22px 18px;
  background: var(--yellow); border: var(--line) solid var(--ink); border-radius: 24px; box-shadow: 8px 8px 0 var(--ink);
}
.proof__stage::before { /* the colour you wrote spreads across the poster */
  content: ""; position: absolute; left: 50%; top: 55%; width: 0; aspect-ratio: 1; border-radius: 50%;
  background: var(--g); opacity: 0; transform: translate(-50%, -50%); pointer-events: none;
}
.proof__stage.is-flood::before { animation: flood .9s var(--ease); }
@keyframes flood { from { width: 0; opacity: .55; } to { width: 230%; opacity: 0; } }
.pcake {
  --g: #FFB3D4; --p: #E3B85A; --b: #E3B85A; --w: #8A1F4C; /* the placeholder's example: rosa e oro */
  position: relative; height: clamp(230px, 21vw, 290px);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  filter: drop-shadow(7px 7px 0 var(--ink));
}
.pt {
  position: relative; flex: none; margin-top: -3px;
  background-color: var(--g);
  background-image: radial-gradient(circle at 50% 0, var(--p) 0 11px, transparent 11.5px);
  background-size: 26px 22px;
  background-position: 50% 0;
  background-repeat: round no-repeat; /* always a whole number of piping drops, centred */
  border: var(--line) solid var(--ink); border-radius: 12px 12px 4px 4px;
  transition: width .5s var(--ease), height .5s var(--ease), opacity .35s var(--ease), border-width .35s, background-color .5s var(--ease);
}
.pt::before { /* sprinkles, kept clear of the outline and of the piping */
  content: ""; position: absolute; inset: 26px 10px 8px;
  background: radial-gradient(circle, var(--b) 0 3px, transparent 3.5px) 50% 0 / 30px 26px space; /* whole sprinkles only, none cut by the outline */
  transition: opacity .35s var(--ease);
}
.proof__stage.has-scritta .pt--1::before { opacity: 0; } /* the inscription sits on plain colour */
.pt--1 { width: 84%; height: 40%; container-type: inline-size; display: flex; align-items: center; justify-content: center; }
.pt--2 { width: 62%; height: 30%; }
.pt--3 { width: 42%; height: 24%; }
.proof__stage[data-piani="1"] .pt--1 { width: 78%; height: 54%; }
.proof__stage[data-piani="1"] .pt--2,
.proof__stage[data-piani="1"] .pt--3,
.proof__stage[data-piani="2"] .pt--3 { width: 30%; height: 0; opacity: 0; border-width: 0; }
.pt__scritta {
  --len: 12;
  position: relative; padding: 18px 6% 0; text-align: center; white-space: nowrap;
  font: 400 min(12cqi, calc(150cqi / var(--len)))/1.1 var(--script);
  color: var(--w); transition: color .5s var(--ease);
}
.pboard {
  flex: none; width: 98%; height: 18px; margin-top: -3px;
  background: var(--paper); border: var(--line) solid var(--ink); border-radius: 0 0 14px 14px;
}
.proof__words { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; min-height: 40px; margin-top: 18px; }
.proof__words li {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px 0 6px;
  background: var(--paper); border: var(--line) solid var(--ink); border-radius: 999px;
  font-size: .9375rem; font-weight: 800; rotate: -2deg;
}
.proof__words li:nth-child(2) { rotate: 2deg; }
.proof__words li i { width: 20px; height: 20px; border-radius: 50%; background: var(--c); border: 2px solid var(--ink); }
.proof__words .is-hint { rotate: 0deg; padding: 0 14px; background: none; border-style: dashed; font-weight: 700; }

.proof__card { padding-top: 4px; }
.proof__title { margin-bottom: 14px; font: 400 1.75rem/1 var(--display); text-transform: uppercase; }
.proof__msg {
  position: relative; max-height: 340px; overflow: auto; scrollbar-color: var(--ink) var(--mint); padding: 16px 18px;
  background: var(--mint); border: var(--line) solid var(--ink); border-radius: 22px 22px 22px 6px; box-shadow: 8px 8px 0 var(--ink);
  font-size: .9375rem; line-height: 1.5; font-weight: 600; white-space: pre-line; overflow-wrap: anywhere;
}
.proof__msg .is-empty { font-weight: 500; }

/* ---------- footer ---------- */
.foot { --focus: var(--yellow); background: var(--ink); color: var(--cream); padding: var(--sp) var(--edge) 32px; border-top: var(--line) solid var(--ink); }
.foot__in { position: relative; }
/* A last sticker slapped across the pink and ink edge, in the hero's empty right half of the address. */
.foot__cut { position: absolute; z-index: 1; top: calc(var(--sp) * -1 - 64px); right: 1%; width: clamp(200px, 18vw, 270px); height: auto; --r: 9deg; rotate: var(--r); pointer-events: none; }
@media (max-width: 1100px) { .foot__cut { display: none; } }
.foot__h { font: 400 clamp(3rem, 8.2vw, 8.25rem)/.9 var(--display); text-transform: uppercase; color: var(--yellow); letter-spacing: .005em; }
.foot__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: clamp(40px, 5vw, 72px); }
.foot__col h3 { margin-bottom: 14px; color: var(--yellow); font: 400 1.75rem/1 var(--display); text-transform: uppercase; }
.foot__col p + p { margin-top: 10px; }
.hours div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; padding: 8px 0; border-bottom: 2px solid rgba(255, 249, 242, .28); }
.hours dt { font-weight: 800; }
.foot__note { margin-top: 12px; }
.foot__links { display: grid; gap: 10px; }
.foot .link { text-decoration-color: var(--yellow); }
.foot__legal { margin-top: clamp(48px, 6vw, 80px); padding-top: 22px; border-top: 2px solid rgba(255, 249, 242, .28); font-size: .9375rem; }

/* ---------- phone action bar ---------- */
.mbar { display: none; }

/* ---------- si attacca: the posters go up ---------- */
.motion .hero h1 .l { animation: slam .5s var(--ease) backwards; }
.motion .hero h1 .l:nth-child(2) { animation-delay: .07s; }
.motion .hero h1 .l:nth-child(3) { animation-delay: .14s; }
@keyframes slam {
  0% { transform: translateY(-38%) scale(1.06); }
  55% { transform: translateY(3%) scale(.995); }
  100% { transform: none; }
}
.motion .hero__lead { animation: slap .42s var(--ease) .2s backwards; --r: 0deg; }
.motion .cut--a { animation: stick .45s var(--ease) .16s backwards; }
.motion .cut--b { animation: stick .45s var(--ease) .28s backwards; }
@keyframes stick { from { scale: 1.1; rotate: calc(var(--r, 0deg) * 2.6 + 3deg); } to { scale: 1; rotate: var(--r, 0deg); } }
/* entrances fill backwards only: once landed, the resting style (and its hover) is in charge */
.motion .badge--g { animation: pop .4s var(--ease) .42s backwards, sway 5.5s ease-in-out 1.4s infinite; }
@media (hover: hover) and (pointer: fine) { .motion .badge--g:hover { animation-play-state: running, paused; } }
/* the Google seal is the one thing that moves at rest: it swings slowly on its corner */
@keyframes sway { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(5deg); } }
.motion .badge--h { animation: pop .4s var(--ease) .5s backwards; }
@keyframes slap {
  from { opacity: 0; scale: 1.1; rotate: calc(var(--r, 0deg) * 2.6 + 3deg); }
  to { opacity: 1; scale: 1; rotate: var(--r, 0deg); }
}
@keyframes pop {
  0% { opacity: 0; scale: .4; }
  70% { opacity: 1; scale: 1.06; }
  100% { opacity: 1; scale: 1; }
}
/* section stickers settle once as they arrive */
.motion .io:not(.is-in) { opacity: 0; }
.motion .io.is-in { animation: slap .55s var(--ease) var(--delay, 0s) backwards; }
.motion .io.is-now { animation: none; }

/* ---------- from the 404 back home, the header stays put ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .top { view-transition-name: top; }
}

/* ---------- reduced motion: everything still, colour still changes ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-property: color, background-color, border-color, text-decoration-thickness, opacity, box-shadow !important; }
  .btn:hover, .btn:active, .badge--g:hover, .stk--insta:hover, .top__links a:not(.btn):hover { transform: none !important; }
}

/* ---------- widths ---------- */
@media (max-width: 1100px) {
  :root { --navh: 64px; }
  .brand { font-size: 1.4rem; }
  .js .top__menu {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px;
    background: var(--paper); border: var(--line) solid var(--ink); border-radius: 999px;
    font-weight: 800; font-size: 1rem; cursor: pointer;
  }
  .top__menu-i { position: relative; width: 18px; height: 12px; }
  .top__menu-i::before, .top__menu-i::after {
    content: ""; position: absolute; left: 0; right: 0; height: 3px; border-radius: 2px; background: var(--ink);
    transition: transform .25s var(--ease), top .25s var(--ease);
  }
  .top__menu-i::before { top: 0; }
  .top__menu-i::after { top: 9px; }
  .top.is-open .top__menu-i::before { top: 4.5px; transform: rotate(45deg); }
  .top.is-open .top__menu-i::after { top: 4.5px; transform: rotate(-45deg); }
  .top.is-open .top__menu { background: var(--yellow); }

  .js .top__panel {
    position: fixed; left: 0; right: 0; top: var(--navh); bottom: 0; z-index: 49;
    overflow-y: auto; padding: 16px var(--edge) calc(32px + env(safe-area-inset-bottom));
    background: var(--pink); border-top: var(--line) solid var(--ink);
    visibility: hidden; opacity: 0; translate: 0 -10px;
    transition: opacity .22s var(--ease), translate .3s var(--ease), visibility 0s linear .3s;
  }
  .js .top.is-open .top__panel { visibility: visible; opacity: 1; translate: 0 0; transition: opacity .22s var(--ease), translate .3s var(--ease), visibility 0s; }
  .js .top__links { flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 0; }
  .js .top__links a:not(.btn) {
    display: flex; min-height: 0; padding: 14px 0; border: 0; border-bottom: var(--line) solid var(--ink); border-radius: 0;
    background: none; font: 400 clamp(2.4rem, 10.5vw, 3.6rem)/1 var(--display); text-transform: uppercase;
  }
  .js .top__go { margin: 28px 0 0; }
  .js .top__go .btn { width: 100%; }
  .js .top__links li { opacity: 0; translate: 0 -8px; transition: opacity .2s var(--ease), translate .3s var(--ease); }
  .js .top.is-open .top__links li { opacity: 1; translate: 0 0; transition-delay: calc(var(--i, 0) * 35ms + 40ms); }
  .top__links li:nth-child(2) { --i: 1; } .top__links li:nth-child(3) { --i: 2; }
  .top__links li:nth-child(4) { --i: 3; } .top__links li:nth-child(5) { --i: 4; } .top__links li:nth-child(6) { --i: 5; }
  @media (hover: hover) and (pointer: fine) { .js .top__links a:not(.btn):hover { background: none; transform: translateX(6px); } }

  .hero { min-height: 0; }
  .cut--a { width: calc(min(42vw, 480px) * 1.035); }
  .cut--b { width: calc(min(22vw, 240px) * 1.066); }
  .wall { grid-auto-rows: clamp(200px, 24vw, 260px); gap: 28px 24px; }
  .menu-board dl { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 32px; }
}

@media (max-width: 900px) {
  .sec__head { grid-template-columns: 1fr; }
  .come h2, .bubble { grid-column: 1 / -1; }
  .nozze, .faq { grid-template-columns: 1fr; }
  .nozze__side { display: contents; }
  .nozze__photo { max-width: 560px; }
  .nozze__text { order: 1; }
  .nozze__side .review { order: 2; margin-top: 0; }
  .faq__list { grid-template-columns: 1fr; gap: 14px; }

  .ordina { grid-template-columns: 1fr; }
  .ordina__head { grid-template-columns: 1fr; }
  .order, .proof { display: contents; }
  .ordina__head { order: 1; }
  .order__write { order: 2; }
  .proof__stage { order: 3; }
  .order__details { order: 4; }
  .proof__card { order: 5; }
  .order__send { order: 6; }

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

  .mbar {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom));
    background: var(--cream); border-top: var(--line) solid var(--ink);
    translate: 0 110%; transition: translate .3s var(--ease);
  }
  .mbar.is-on { translate: 0 0; }
  .mbar .btn { flex: 1; --d: 3px; min-height: 50px; }
  .mbar__wa {
    display: inline-flex; align-items: center; min-height: 50px; padding: 0 18px;
    background: var(--mint); border: var(--line) solid var(--ink); border-radius: 999px;
    font-weight: 800; text-decoration: none;
  }
  body { padding-bottom: 0; }
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

@media (max-width: 680px) {
  :root { --navh: 60px; --sp: 52px; }
  .brand { font-size: 1.25rem; }
  .hero { grid-template-columns: 1fr; gap: 8px; padding-top: 24px; }
  .hero h1 { font-size: 20.5vw; line-height: .9; -webkit-text-stroke-width: 2.5px; text-shadow: 5px 5px 0 var(--ink); }
  .hero__lead { max-width: none; box-shadow: 5px 5px 0 var(--ink); }
  .hero__cta .btn { width: 100%; }
  .hero__more { min-height: 44px; }
  .hero__stickers { min-height: 0; height: 104vw; max-height: 430px; margin-top: 6px; }
  .cut--a { width: calc(min(76vw, 330px) * 1.054); right: -2%; top: 0; }
  .cut--b { width: calc(min(42vw, 182px) * 1.098); left: -1%; bottom: 2%; }
  .badge--g { width: 116px; height: 116px; right: 0; bottom: 0; font-size: .8125rem; padding: 10px; }
  .badge--g b { font-size: 2.1rem; }
  .badge--h { left: 0; top: 6%; white-space: normal; max-width: 11.5em; font-size: .875rem; padding: 8px 12px; }

  .ribbon__run { font-size: 1.3rem; padding: 11px 0; }
  .sec h2 { font-size: clamp(2.6rem, 13vw, 3.6rem); }
  .sec__head p { font-size: 1.0625rem; }

  .wall {
    grid-template-columns: 1fr 1fr; grid-auto-rows: auto;
    grid-template-areas: "big big" "sq tl" "rd in"; gap: 22px 18px;
  }
  .stk { padding: 7px; border-radius: 18px; box-shadow: 6px 6px 0 var(--ink); }
  .stk img { border-radius: 11px; }
  .stk--big { aspect-ratio: 4 / 4.4; }
  .stk--sq, .stk--tall { aspect-ratio: 4 / 5; }
  .stk--round { width: 100%; height: auto; align-self: center; }
  .stk--insta { padding: 16px; aspect-ratio: auto; align-self: stretch; }
  .stk__h { font-size: 1.55rem; }
  .stk__h u { font-size: .8em; text-decoration-thickness: 3px; }

  .menu-board { box-shadow: 6px 6px 0 var(--ink); border-radius: 22px; }
  .menu-board dl div { grid-template-columns: 1fr; gap: 2px; padding: 11px 0; }

  .steps { grid-template-columns: 1fr; gap: 24px; }
  .steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; padding-top: 18px; }
  .steps li::before { grid-row: 1 / span 2; width: 52px; height: 52px; margin: 0; font-size: 1.6rem; }
  .steps li > * { grid-column: 2; }
  .steps h3 { align-self: center; margin: 0 0 4px; }
  .bubble blockquote { padding: 20px 20px; }

  .terms div { grid-template-columns: minmax(6.6em, .8fr) 1.6fr; gap: 4px 14px; padding: 12px 0; }
  .nozze__photo { box-shadow: 6px 6px 0 var(--ink); }

  .faq summary { font-size: 1.0625rem; padding-left: 18px; }
  .faq details p { padding: 0 18px 18px; }

  .order__details { grid-template-columns: 1fr; }
  .order__send .btn { width: 100%; }
  .order__send { justify-items: stretch; }
  .pcake { height: 200px; }
  .proof__stage { padding: 22px 14px 14px; box-shadow: 6px 6px 0 var(--ink); }
  .proof__msg { box-shadow: 6px 6px 0 var(--ink); }

  .foot__cols { grid-template-columns: 1fr; gap: 32px; }
  .foot__h { font-size: 15vw; }
}

/* ---------- forced colours and print ---------- */
@media (forced-colors: active) {
  .hero h1 { -webkit-text-fill-color: CanvasText; -webkit-text-stroke: 0; text-shadow: none; }
  .btn, .chip span, .field, .stk, .badge, .faq details { border-color: CanvasText; }
}
@media print {
  .top, .ribbon, .mbar, .order, .proof { display: none !important; }
  .sec, .foot { background: none; color: #000; padding: 24px 0; }
}

/* ---------- 404 ---------- */
.lost { min-height: calc(100svh - var(--navh)); display: grid; align-content: center; justify-items: start; gap: 26px; }
.lost h1 {
  font: 400 clamp(3.4rem, 10vw, 9rem)/.9 var(--display); text-transform: uppercase;
  color: var(--ink); -webkit-text-fill-color: var(--cream); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill;
  text-shadow: 6px 6px 0 var(--ink);
}
.lost__go { display: flex; flex-wrap: wrap; gap: 16px 20px; }
/* an empty cake stand: the cake has already gone */
.lost__plate {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  width: min(100%, 440px); aspect-ratio: 1.15; padding-bottom: 14%;
  background: var(--yellow); border: var(--line) solid var(--ink); border-radius: 28px; box-shadow: 10px 10px 0 var(--ink);
  rotate: 3deg;
}
.lost__board {
  position: relative; z-index: 1; width: 76%; height: 28px;
  background: var(--paper); border: var(--line) solid var(--ink); border-radius: 0 0 18px 18px;
}
.lost__board i { position: absolute; bottom: calc(100% + 3px); width: 18px; height: 8px; border: 2px solid var(--ink); border-radius: 99px; }
.lost__board i:nth-child(1) { left: 26%; background: var(--red); rotate: -24deg; }
.lost__board i:nth-child(2) { left: 50%; background: var(--mint); rotate: 12deg; }
.lost__board i:nth-child(3) { left: 66%; background: var(--pink); rotate: -58deg; bottom: calc(100% + 1px); }
.lost__foot { position: relative; width: 16%; height: 64px; margin-top: -3px; background: var(--paper); border: var(--line) solid var(--ink); border-top: 0; }
.lost__foot::after {
  content: ""; position: absolute; left: 50%; bottom: -3px; translate: -50% 0; width: 260%; height: 18px;
  background: var(--paper); border: var(--line) solid var(--ink); border-radius: 12px 12px 6px 6px;
}
@media (min-width: 901px) {
  .lost { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); column-gap: clamp(32px, 4vw, 64px); align-items: center; }
  .lost h1 { font-size: clamp(3.4rem, 8vw, 7.5rem); }
  .lost > :not(.lost__plate) { grid-column: 1; }
  .lost__plate { grid-column: 2; grid-row: 1 / span 3; justify-self: center; }
}
@media (max-width: 900px) { .lost__plate { width: min(72%, 320px); justify-self: center; margin-top: 18px; } }
@media (max-width: 680px) { .lost__go { width: 100%; } .lost__go .btn { width: 100%; } }
.lost p:not(.lost__go) { max-width: 40ch; font-size: 1.1875rem; font-weight: 700; padding: 14px 18px; background: var(--paper); border: var(--line) solid var(--ink); border-radius: 16px; box-shadow: 5px 5px 0 var(--ink); }
