/* =========================================================
   [CAKE BUSINESS NAME]
   A page built like a cake cross-section: full-bleed strata,
   butted together, separated by colour and by piped scallops.
   ========================================================= */

:root {
  /* --- Palette. Five colours. The four cake flavours in the
         builder map onto four of them, so colour carries meaning. --- */
  --sponge:   #F5CF4E;  /* butter yellow, the page ground */
  --sponge-2: #E8BE33;
  --sugar:    #EFEFE4;  /* cool chalky off-white */
  --sugar-2:  #DFDFD1;
  --jam:      #C01E4C;
  --jam-2:    #9C1740;
  --cocoa:    #35211B;  /* warm brown ink, not a tinted black */
  --cocoa-2:  #4B3229;
  --pistachio:#A8C083;
  --pipe:     #F7EDD8;  /* buttercream piping */

  /* --- Type --- */
  --display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --text:    "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --icing:   "Caveat", "Segoe Script", cursive;

  --fs-fine: 0.8125rem;
  --fs-sm:   0.9375rem;
  --fs-base: 1.0625rem;
  --fs-md:   1.1875rem;
  --fs-lg:   clamp(1.35rem, 1.1rem + 1.1vw, 1.75rem);
  --fs-h2:   clamp(2rem, 1.3rem + 3.1vw, 3.4rem);
  --fs-h1:   clamp(2.6rem, 1.4rem + 5.4vw, 5.4rem);

  --gut: clamp(1rem, 0.55rem + 2.1vw, 2.75rem);
  --band-y: clamp(3.75rem, 2.2rem + 6vw, 7.5rem);
  --max: 1220px;
  --head-h: 66px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }

body {
  margin: 0;
  background: var(--sponge);
  color: var(--cocoa);
  font-family: var(--text);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
figure, blockquote, fieldset { margin: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }

h1, h2, h3, h4 {
  text-wrap: balance;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0;
  font-variation-settings: "opsz" 72;
}
h3, h4 { letter-spacing: -0.02em; line-height: 1.12; font-variation-settings: "opsz" 20; }
p { margin: 0; }
p + p { margin-top: 0.9em; }

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 200;
  background: var(--cocoa); color: var(--sponge);
  padding: 10px 16px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 8px; }

:focus-visible { outline: 3px solid var(--cocoa); outline-offset: 2px; }
.band--cocoa :focus-visible,
.foot :focus-visible,
.jam :focus-visible { outline-color: var(--sponge); }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gut);
}

/* =========================================================
   Strata
   ========================================================= */
.band { padding-block: var(--band-y); }
.band--sugar  { background: var(--sugar);  color: var(--cocoa); }
.band--sponge { background: var(--sponge); color: var(--cocoa); }
.band--cocoa  { background: var(--cocoa);  color: var(--sugar); }

/* Two touching bands of one colour read as a single stratum. */
.band--cocoa + .band--cocoa,
.band--sugar + .band--sugar,
.band--sponge + .band--sponge { padding-top: 0; }

.lede { font-size: var(--fs-md); line-height: 1.5; max-width: 56ch; }
.band--cocoa .lede { color: color-mix(in srgb, var(--sugar) 82%, transparent); }

/* --- Piped scallop dividers. Used at two places on the page,
       where one layer genuinely sits on another. --- */
.scallop {
  height: 22px;
  background-repeat: repeat-x;
  background-size: 44px 22px;
  pointer-events: none;
}
.scallop--sponge,
.scallop--top-sponge {
  background-image: radial-gradient(circle at 22px 0, var(--sponge) 21.5px, transparent 22px);
}
/* Hero sits on the sugar band below it. */
.scallop--sponge { background-color: var(--sugar); }
/* Inside the jam band, so the gaps already show jam. */
.scallop--top-sponge { background-color: transparent; }
/* Jam drips onto the sugar band below. */
.scallop--jam {
  background-image: radial-gradient(circle at 22px 0, var(--jam) 21.5px, transparent 22px);
  background-color: var(--sugar);
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 3px;
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--fs-sm);
  font-variation-settings: "opsz" 14;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color .16s ease, color .16s ease;
}
.btn--sm  { padding: 9px 16px; font-size: var(--fs-fine); }
.btn--lg  { padding: 16px 28px; font-size: var(--fs-base); }
.btn--full { width: 100%; }

.btn--jam   { background: var(--jam); color: var(--sugar); }
.btn--jam:hover, .btn--jam:focus-visible { background: var(--jam-2); }
.btn--cocoa { background: var(--cocoa); color: var(--sponge); }
.btn--cocoa:hover, .btn--cocoa:focus-visible { background: #241511; }

.link {
  font-family: var(--display); font-weight: 700; font-size: var(--fs-sm);
  text-decoration: none;
  border-bottom: 2px solid var(--jam);
  padding-bottom: 2px;
}
.link:hover { color: var(--jam); }

/* =========================================================
   Notice and header
   ========================================================= */
.notice {
  background: var(--cocoa); color: var(--sugar);
  font-size: var(--fs-fine); text-align: center;
  padding-block: 9px;
}

.head {
  position: sticky; top: 0; z-index: 60;
  background: var(--sponge);
}
.head.is-stuck { box-shadow: 0 2px 0 var(--cocoa); }
.head__in { display: flex; align-items: center; gap: 20px; min-height: var(--head-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 28px; height: 28px; color: var(--cocoa); flex: none; }
.brand__mark svg { width: 100%; height: 100%; }
.brand__name {
  font-family: var(--display); font-weight: 800;
  font-size: 1.0625rem; letter-spacing: -0.03em;
  font-variation-settings: "opsz" 18;
}

.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a {
  text-decoration: none; font-size: var(--fs-sm); font-weight: 500;
  padding-bottom: 2px; border-bottom: 2px solid transparent;
}
.nav a:hover { border-bottom-color: var(--cocoa); }

.head__end { display: flex; align-items: center; gap: 10px; }

.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger span {
  position: absolute; left: 9px; width: 22px; height: 2px;
  background: var(--cocoa); transition: transform .2s ease;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 23px; }
.burger.is-on span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger.is-on span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.drawer {
  flex-direction: column;
  padding: 8px var(--gut) 24px;
  border-top: 2px solid var(--cocoa);
  background: var(--sponge);
}
.drawer a {
  text-decoration: none; padding: 12px 0;
  font-family: var(--display); font-weight: 700; font-size: 1.125rem;
  border-bottom: 1px solid color-mix(in srgb, var(--cocoa) 18%, transparent);
}
.drawer__cta { margin-top: 18px; border-bottom: 0; justify-content: center; }

/* =========================================================
   Hero: the cake builder. This is the one loud thing on
   the page, so everything below it stays quiet.
   ========================================================= */
.hero { background: var(--sponge); padding-top: clamp(2.5rem, 1.5rem + 4vw, 5rem); }
.hero__in { padding-bottom: clamp(3rem, 2rem + 4vw, 5.5rem); }
.hero__say {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 1rem + 3vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
}
.hero h1 {
  font-size: var(--fs-h1);
  font-variation-settings: "opsz" 96;
}
.hero .lede { max-width: 44ch; padding-bottom: 0.4em; }

/* --- The builder panel --- */
.cake {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  background: var(--cocoa);
  color: var(--sugar);
  border-radius: 4px;
  overflow: hidden;
}
.cake__stage {
  background: var(--cocoa-2);
  padding: clamp(20px, 1rem + 1.5vw, 34px);
  display: flex; align-items: flex-end; justify-content: center;
  min-height: 340px;
}
.cake__svg { width: 100%; }
.cake__svg svg { width: 100%; height: auto; max-height: 440px; overflow: visible; }
.cake__fallback { font-size: var(--fs-sm); text-align: center; }

.cake__controls {
  padding: clamp(20px, 1rem + 1.2vw, 34px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 26px;
  align-content: start;
}
/* Tiers and layers share the first row; the rest run full width. */
.cake__controls > .ctl:nth-child(3),
.cake__controls > .ctl:nth-child(4),
.cake__controls > .cake__sum,
.cake__controls > .btn,
.cake__controls > .cake__note { grid-column: 1 / -1; }
.ctl legend, .ctl__lab {
  font-family: var(--display); font-weight: 700; font-size: var(--fs-fine);
  font-variation-settings: "opsz" 14;
  color: color-mix(in srgb, var(--sugar) 68%, transparent);
  padding: 0; margin-bottom: 8px; display: block;
}

.seg { display: flex; gap: 6px; flex-wrap: wrap; }
.seg__b {
  flex: 1 1 auto;
  min-width: 44px;
  padding: 9px 12px;
  border: 2px solid color-mix(in srgb, var(--sugar) 28%, transparent);
  border-radius: 3px;
  font-family: var(--display); font-weight: 700; font-size: var(--fs-sm);
  font-variation-settings: "opsz" 14;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.seg__b:hover { border-color: var(--sugar); }
.seg__b.is-on { background: var(--sponge); border-color: var(--sponge); color: var(--cocoa); }

/* --- Per-layer flavour rows --- */
.layers { display: flex; flex-direction: column; gap: 6px; }
.layer {
  display: flex; align-items: center; gap: 10px;
  padding: 5px 0;
}
.layer__size {
  font-family: var(--display); font-weight: 700; font-size: var(--fs-sm);
  font-variation-settings: "opsz" 14;
  width: 2.9em; flex: none;
}
.layer__serves {
  font-size: var(--fs-fine);
  white-space: nowrap;
  color: color-mix(in srgb, var(--sugar) 60%, transparent);
  flex: 1 1 auto; min-width: 0; overflow: hidden;
}
.layer__opts { display: flex; gap: 4px; flex: none; }
.dot {
  width: 23px; height: 23px; border-radius: 50%;
  background: var(--c);
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cocoa) 45%, transparent);
  transition: transform .15s ease, border-color .15s ease;
}
.dot:hover { transform: scale(1.12); }
.dot.is-on {
  border-color: var(--sugar);
  box-shadow: inset 0 0 0 1px var(--cocoa), 0 0 0 1px var(--sugar);
}

.ctl input[type="text"] {
  width: 100%;
  background: transparent;
  border: 0; border-bottom: 2px solid color-mix(in srgb, var(--sugar) 30%, transparent);
  color: var(--sugar);
  font-family: var(--icing); font-size: 1.5rem; line-height: 1.3;
  padding: 2px 0 6px;
}
.ctl input[type="text"]:focus { outline: 0; border-bottom-color: var(--sponge); }
.ctl input[type="text"]::placeholder {
  font-family: var(--text); font-size: 0.9rem;
  color: color-mix(in srgb, var(--sugar) 45%, transparent);
}

.cake__sum {
  margin: 4px 0 0;
  font-size: var(--fs-sm);
  padding-top: 14px;
  border-top: 2px solid color-mix(in srgb, var(--sugar) 22%, transparent);
}
.cake__sum strong { font-family: var(--display); font-weight: 700; }
.cake__note {
  margin-top: 0; font-size: var(--fs-fine);
  color: color-mix(in srgb, var(--sugar) 62%, transparent);
}

/* One orchestrated moment: the cake stacks itself on load. */
@keyframes tier-in {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes icing-in { from { opacity: 0; } to { opacity: 1; } }
.is-animating .tier { animation: tier-in .42s cubic-bezier(.2,.85,.3,1) var(--d) both; }
.is-animating .piped { animation: icing-in .5s ease var(--dm) both; }

/* =========================================================
   About
   ========================================================= */
.about__in {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: start;
}
.about__pics { display: grid; gap: 4px; grid-template-columns: 1fr 1fr; }
.about__pic {
  width: 100%; border-radius: 3px;
  grid-column: 1 / -1;
  aspect-ratio: 5 / 4; object-fit: cover;
}
.about__pic--sm { grid-column: 1; aspect-ratio: 1; }
.about h2 { font-size: var(--fs-h2); margin-bottom: 0.5em; }
.about .lede { margin-bottom: 1em; }
.about p { max-width: 58ch; }

.facts { margin-top: 2rem; border-top: 2px solid var(--cocoa); }
.facts > div {
  display: grid;
  grid-template-columns: 10.5rem minmax(0, 1fr);
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--cocoa) 20%, transparent);
}
.facts dt {
  font-family: var(--display); font-weight: 700; font-size: var(--fs-sm);
  font-variation-settings: "opsz" 14;
}
.facts dd { font-size: var(--fs-sm); }
.facts--link a { text-decoration: none; border-bottom: 2px solid var(--jam); }
.facts--link a:hover { color: var(--jam); }

/* =========================================================
   Cakes: a price list, not a grid of cards
   ========================================================= */
.menu__head { max-width: 62ch; margin-bottom: clamp(2rem, 1rem + 2.5vw, 3.25rem); }
.menu__head h2 { font-size: var(--fs-h2); margin-bottom: 0.45em; }

.menu__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.5fr);
  gap: clamp(2rem, 1rem + 3vw, 4rem);
  align-items: start;
}

.list { border-top: 2px solid color-mix(in srgb, var(--sugar) 30%, transparent); }
.row {
  display: grid;
  grid-template-columns: minmax(0, 13rem) minmax(0, 1fr) 8.5rem 7rem;
  align-items: baseline;
  gap: 8px 20px;
  padding: 18px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--sugar) 18%, transparent);
  cursor: default;
  transition: background-color .15s ease;
}
.row:hover, .row:focus-visible { background: color-mix(in srgb, var(--sugar) 7%, transparent); }
.row__thumb { display: none; }
.row__name {
  font-family: var(--display); font-weight: 700; font-size: var(--fs-md);
  font-variation-settings: "opsz" 22; letter-spacing: -0.02em;
}
.row__desc { font-size: var(--fs-sm); color: color-mix(in srgb, var(--sugar) 76%, transparent); }
.row__serves {
  font-size: var(--fs-fine);
  color: color-mix(in srgb, var(--sugar) 60%, transparent);
  text-align: right;
}
.row__price {
  font-family: var(--display); font-weight: 700; font-size: var(--fs-md);
  font-variation-settings: "opsz" 22;
  color: var(--sponge); text-align: right;
}

.menu__pic {
  position: sticky; top: calc(var(--head-h) + 32px);
  aspect-ratio: 4 / 5; overflow: hidden; border-radius: 3px;
  max-width: 100%;
}
.menu__pic img { width: 100%; height: 100%; object-fit: cover; transition: opacity .22s ease; }
.menu__pic img.is-swapping { opacity: 0; }

/* =========================================================
   Gallery
   ========================================================= */
.gallery__head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: 20px; margin-bottom: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
}
.gallery__head h2 { font-size: var(--fs-h2); }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  padding: 8px 15px; border-radius: 3px;
  border: 2px solid color-mix(in srgb, var(--sugar) 28%, transparent);
  font-size: var(--fs-fine); font-weight: 500;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.chip:hover { border-color: var(--sugar); }
.chip.is-on { background: var(--sponge); border-color: var(--sponge); color: var(--cocoa); font-weight: 600; }

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
  gap: 4px;
}
.tile {
  padding: 0; overflow: hidden; position: relative;
  grid-column: span 1; grid-row: span 1;
}
.tile--tall { grid-row: span 2; }
.tile--wide { grid-column: span 2; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.05); }
.tile[hidden] { display: none; }
.gallery__none { margin-top: 24px; font-size: var(--fs-sm); }

/* =========================================================
   Ordering: a real sequence, so it is numbered
   ========================================================= */
.how h2 { font-size: var(--fs-h2); max-width: 18ch; margin-bottom: clamp(2rem, 1rem + 2.5vw, 3.25rem); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 2px solid var(--cocoa);
}
.step {
  padding: 22px 22px 0 0;
  border-right: 1px solid color-mix(in srgb, var(--cocoa) 25%, transparent);
}
.step:last-child { border-right: 0; }
.step + .step { padding-left: 22px; }
.step__n {
  display: block;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.75rem, 1.5rem + 3.5vw, 4.25rem);
  font-variation-settings: "opsz" 72;
  line-height: 1; letter-spacing: -0.05em;
  color: var(--jam);
  margin-bottom: 12px;
}
.step h3 { font-size: var(--fs-lg); margin-bottom: 8px; }
.step p { font-size: var(--fs-sm); }

/* =========================================================
   Flavours
   ========================================================= */
.flav__in {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 1rem + 3vw, 4rem);
  align-items: start;
}
.flav h2 { font-size: var(--fs-h2); margin-bottom: 0.5em; }
.flav__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.flav__col h3 {
  font-size: var(--fs-sm);
  font-variation-settings: "opsz" 14;
  padding-bottom: 9px; margin-bottom: 12px;
  border-bottom: 2px solid var(--cocoa);
}
.swatches li, .plain li { padding: 7px 0; font-size: var(--fs-sm); }
.swatches li { display: flex; align-items: center; gap: 10px; }
.sw {
  width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: var(--sw);
  box-shadow: inset 0 0 0 2px var(--cocoa);
}

/* =========================================================
   The jam layer
   ========================================================= */
.jam { background: var(--jam); color: var(--sugar); }
.jam__in {
  padding-block: clamp(3rem, 2rem + 3vw, 5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 1rem + 1.5vw, 2rem) clamp(1.5rem, 1rem + 2.5vw, 3.5rem);
  align-items: start;
}
.jam h2 { font-size: var(--fs-h2); max-width: 13ch; }
.jam p { font-size: var(--fs-md); max-width: 46ch; }
.jam .btn { grid-column: 2; justify-self: start; }

/* =========================================================
   Reviews
   ========================================================= */
.quotes h2 { font-size: var(--fs-h2); margin-bottom: clamp(1.75rem, 1rem + 2vw, 2.75rem); }
.quotes__in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.quote { border-top: 2px solid var(--cocoa); padding-top: 18px; display: flex; flex-direction: column; }
.quote blockquote {
  font-family: var(--display); font-weight: 600;
  font-size: var(--fs-lg); line-height: 1.28; letter-spacing: -0.02em;
  font-variation-settings: "opsz" 32;
}
.quote figcaption { margin-top: auto; padding-top: 20px; font-size: var(--fs-fine); color: var(--cocoa-2); }
.quote figcaption span { display: block; font-weight: 600; color: var(--cocoa); }

/* =========================================================
   Instagram
   ========================================================= */
.insta__head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: 24px;
}
.insta__head h2 { font-size: var(--fs-h2); }
.insta__strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 3px; }
.insta__strip a { position: relative; overflow: hidden; aspect-ratio: 1; }
.insta__strip img { width: 100%; height: 100%; object-fit: cover; }
.insta__strip a::after {
  content: ""; position: absolute; inset: 0;
  background: var(--jam); opacity: 0; transition: opacity .2s ease;
}
.insta__strip a:hover::after, .insta__strip a:focus-visible::after { opacity: .32; }

/* =========================================================
   Contact
   ========================================================= */
.contact__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: start;
}
.contact h2 { font-size: var(--fs-h2); margin-bottom: 0.5em; }

.form { border-top: 2px solid var(--cocoa); padding-top: 26px; }
.field { margin-bottom: 20px; }
.field label {
  display: block; margin-bottom: 6px;
  font-family: var(--display); font-weight: 700; font-size: var(--fs-fine);
  font-variation-settings: "opsz" 14;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--text); font-size: var(--fs-base);
  color: var(--cocoa);
  background: transparent;
  border: 0; border-bottom: 2px solid var(--sugar-2);
  padding: 9px 0;
  border-radius: 0;
}
.field select { padding-right: 20px; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-bottom-color: var(--cocoa);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field__err { display: block; margin-top: 6px; font-size: var(--fs-fine); color: var(--jam-2); }
.field.is-bad input { border-bottom-color: var(--jam); }
.form__status { margin-top: 14px; font-size: var(--fs-sm); font-weight: 500; }

/* =========================================================
   Footer
   ========================================================= */
.foot { background: var(--cocoa); color: var(--sugar); padding-top: clamp(3rem, 2rem + 3vw, 4.5rem); }
.foot__in {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 36px;
  padding-bottom: clamp(2.5rem, 1.5rem + 2vw, 3.5rem);
}
.brand--foot .brand__mark { color: var(--sponge); }
.foot__brand p {
  margin-top: 14px; font-size: var(--fs-sm); max-width: 34ch;
  color: color-mix(in srgb, var(--sugar) 72%, transparent);
}
.foot__col h4 {
  font-size: var(--fs-fine); font-variation-settings: "opsz" 14;
  margin-bottom: 12px; color: var(--sponge);
}
.foot__col li { padding: 5px 0; font-size: var(--fs-sm); }
.foot__col a { text-decoration: none; }
.foot__col a:hover { color: var(--sponge); }
.foot__bar {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  padding-block: 18px;
  border-top: 1px solid color-mix(in srgb, var(--sugar) 18%, transparent);
  font-size: var(--fs-fine);
  color: color-mix(in srgb, var(--sugar) 62%, transparent);
}

/* =========================================================
   Floating WhatsApp and lightbox
   ========================================================= */
.wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 70;
  width: 50px; height: 50px; border-radius: 3px;
  background: var(--cocoa); color: var(--sponge);
  display: grid; place-items: center;
  transition: background-color .16s ease;
}
.wa:hover { background: var(--jam); color: var(--sugar); }

.box[hidden] { display: none; }
.box {
  position: fixed; inset: 0; z-index: 120;
  background: color-mix(in srgb, var(--cocoa) 94%, transparent);
  display: grid; place-items: center; padding: 56px 20px;
}
.box img { max-width: min(1000px, 92vw); max-height: 86vh; object-fit: contain; }
.box button {
  position: absolute; color: var(--sugar);
  width: 46px; height: 46px; font-size: 2rem; line-height: 1;
  display: grid; place-items: center;
}
.box__x { top: 12px; right: 12px; }
.box__p { left: 10px; top: 50%; transform: translateY(-50%); }
.box__n { right: 10px; top: 50%; transform: translateY(-50%); }

/* =========================================================
   Narrower screens
   ========================================================= */
@media (max-width: 1040px) {
  .about__in, .menu__in, .contact__in, .flav__in { grid-template-columns: minmax(0, 1fr); }
  .hero__say { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 1.25rem; }
  .about__pics { max-width: 520px; }
  .menu__pic { display: none; }
  .row { grid-template-columns: 66px minmax(0, 1fr) 7rem; align-items: center; }
  .row__thumb {
  display: block; grid-row: span 3; align-self: start;
  width: 66px; height: 66px; object-fit: cover; border-radius: 3px;
}
  .row__name { grid-column: 2; grid-row: 1; }
  .row__price { grid-column: 3; grid-row: 1; }
  .row__desc { grid-column: 2 / 4; grid-row: 2; }
  .row__serves { grid-column: 2 / 4; grid-row: 3; text-align: left; }
  .foot__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 880px) {
  .nav { display: none; }
  .burger { display: block; }
  .head__end { margin-left: auto; }
  .cake { grid-template-columns: minmax(0, 1fr); }
  .cake__stage { min-height: 240px; }
  .cake__svg svg { max-height: 330px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step { padding-right: 18px; }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(3), .step:nth-child(4) {
    border-top: 1px solid color-mix(in srgb, var(--cocoa) 25%, transparent);
    margin-top: 6px;
  }
  .step:nth-child(odd) { padding-left: 0; }
  .step:nth-child(even) { padding-left: 22px; }
  .quotes__in { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .jam__in { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .jam .btn { grid-column: 1; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; }
  .insta__strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .flav__cols { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .facts > div { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 10px 0; }
  .field-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step { border-right: 0; padding-left: 0; }
  .step:nth-child(even) { padding-left: 0; }
  .step + .step { border-top: 1px solid color-mix(in srgb, var(--cocoa) 25%, transparent); }
  .foot__in { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .row { grid-template-columns: 56px minmax(0, 1fr); }
  .row__thumb { width: 56px; height: 56px; grid-row: span 4; }
  .row__name { grid-column: 2; grid-row: 1; }
  .row__desc { grid-column: 2; grid-row: 2; }
  .row__price { grid-column: 2; grid-row: 3; text-align: left; }
  .row__serves { grid-column: 2; grid-row: 4; }
  .cake__controls { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .layer__serves { display: none; }
  .head__end .btn { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 1ms;
    animation-delay: 0ms;
    transition-duration: 1ms;
  }
  .tile:hover img, .tile:focus-visible img { transform: none; }
}
