[hidden] { display: none !important; }

/* front page fades out / comes back */
#landing.leaving { animation: leave .45s ease-in forwards; }
#landing.returning { animation: rise .35s ease both; }
@keyframes leave { to { opacity: 0; transform: scale(.96) translateY(-20px); filter: blur(6px); } }
@keyframes rise { from { opacity: 0; } to { opacity: 1; } }

/* plate builder: same dark green and gold as the front page */
.planner { position: relative; text-align: center; padding: 28px 5vw 64px; min-height: calc(100vh - 100px);
  color: var(--ink);
  background: radial-gradient(ellipse at 50% 36%, rgba(205,168,106,.18), transparent 55%), linear-gradient(180deg, #071411, #0b1b16); }
.planner h2 { margin: 8px 0 0; font: 600 clamp(40px, 6vw, 64px)/1 'Cormorant Garamond', Georgia, serif; color: var(--ink); }
.planner .sub { margin: 10px 0 24px; color: var(--muted); }
.back { position: absolute; left: 5vw; top: 28px; background: none; border: 0; color: var(--gold); font: inherit; font-size: 15px; cursor: pointer; }

.planner.enter { animation: planner-in .6s ease both; }
.planner.enter h2, .planner.enter .sub { animation: rise .7s .15s cubic-bezier(.2,.7,.2,1) both; }
.planner.enter .tab, .planner.enter .chip { animation: pop .45s cubic-bezier(.3,1.5,.5,1) both; }
.planner.enter .tab:nth-child(2) { animation-delay: .05s; } .planner.enter .tab:nth-child(3) { animation-delay: .1s; }
.planner.enter .tab:nth-child(4) { animation-delay: .15s; } .planner.enter .tab:nth-child(n+5) { animation-delay: .2s; }
@keyframes planner-in { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }
@keyframes pop { from { opacity: 0; scale: .8; } to { opacity: 1; scale: 1; } }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 0 16px; justify-content: center; }
.tab { border: 1px solid rgba(205,168,106,.5); background: rgba(16,37,30,.7); color: var(--ink); padding: 9px 16px;
  border-radius: 999px; cursor: pointer; font: inherit; font-size: 14px; transition: background .2s, color .2s, transform .2s; }
.tab:hover { transform: translateY(-1px); border-color: var(--gold); }
.tab.active { background: var(--cream); color: #13221c; border-color: var(--cream); }

.dish-list { display: flex; flex-wrap: wrap; gap: 8px; max-width: 980px; margin: 0 auto 24px; justify-content: center; }
.chip { display: flex; flex-direction: column; align-items: center; gap: 2px; border: 1px solid var(--line); background: var(--card);
  color: var(--ink); border-radius: 12px; padding: 9px 13px; cursor: pointer; font: inherit; font-size: 14px; transition: .2s; }
.chip:hover { border-color: var(--gold); transform: translateY(-2px); }
.chip small { color: var(--muted); font-size: 12px; }
.chip.selected { background: var(--cream); color: #13221c; border-color: var(--cream); }
.chip.selected small { color: #5b5a4d; }

/* "Your menu" box */
.picked { max-width: 980px; margin: 0 auto; padding: 22px; border: 1px solid var(--line); border-radius: 20px;
  background: rgba(16,37,30,.6); text-align: left; }
.picked h3 { margin: 0 0 12px; font: 600 28px 'Cormorant Garamond', Georgia, serif; color: var(--ink); }
.picked-empty { color: var(--muted); margin: 0; }
.picked-zone { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0; }
.picked-zone > b { min-width: 86px; color: var(--gold); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--cream); color: #13221c; border: 0;
  border-radius: 999px; padding: 6px 10px 6px 14px; font: inherit; font-size: 13px; cursor: pointer; }
.pill span { opacity: .6; font-size: 16px; line-height: 1; }
.pill:hover span { opacity: 1; }

/* plate */
.stage { padding: 0 0 8px; }
#vessel { display: block; width: min(92vw, 560px); height: auto; margin: 0 auto 24px; overflow: visible; }
#vessel > *:not(defs):not(.dishes) { transform-box: fill-box; transform-origin: center; animation: plate-in .65s cubic-bezier(.2,.9,.3,1.15) both; }
#vessel > g.slots { animation-delay: .25s; }
@keyframes plate-in { from { opacity: 0; transform: translateY(-50px) rotate(-6deg) scale(.88); } to { opacity: 1; transform: none; } }
.slot { fill: rgba(255,255,255,.18); stroke: rgba(0,0,0,.35); stroke-width: 2; stroke-dasharray: 6 6; }
.slot-label { font: 14px 'DM Sans', system-ui, sans-serif; text-anchor: middle; fill: rgba(0,0,0,.55); pointer-events: none; transition: opacity .2s; }

/* dishes placed on the plate */
.dish-blob { filter: drop-shadow(0 2px 2px rgba(0,0,0,.35)); }
.dish-blob.new { animation: blob-in .4s cubic-bezier(.3,1.6,.5,1) both; transform-box: fill-box; transform-origin: center; }
@keyframes blob-in { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }
.dish-text { font: 600 11px 'DM Sans', sans-serif; text-anchor: middle; pointer-events: none; paint-order: stroke; stroke: rgba(0,0,0,.65); stroke-width: 3px; }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; } }

/* two columns: Items on the left, plate on the right */
.builder { display: grid; grid-template-columns: 340px 1fr; gap: 28px; max-width: 1280px; margin: 0 auto 28px; align-items: start; text-align: left; }
.items-panel { position: sticky; top: 100px; border: 1px solid var(--line); border-radius: 20px; background: rgba(16,37,30,.7); padding: 18px; }
.items-panel h3 { margin: 0 0 12px; font: 600 28px 'Cormorant Garamond', Georgia, serif; color: var(--gold); }
.items-panel .tabs { justify-content: flex-start; gap: 6px; padding-bottom: 12px; }
.items-panel .tab { padding: 6px 11px; font-size: 12px; }
.items-panel .dish-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; max-height: 52vh; overflow-y: auto; margin: 0; padding-right: 4px; justify-content: stretch; }
.items-panel .chip { padding: 8px 6px; font-size: 13px; text-align: center; }
.chip-pic { width: 42px; height: 42px; margin-bottom: 2px; }
.builder .stage { min-width: 0; }
.builder .stage .tabs { justify-content: center; }
@media (max-width: 900px) {
  .builder { grid-template-columns: 1fr; }
  .items-panel { position: static; }
  .items-panel .dish-list { max-height: 320px; grid-template-columns: repeat(3, 1fr); }
}

/* ===== event details form ===== */
.quote-form { max-width: 1280px; margin: 0 auto 28px; padding: 24px; border: 1px solid var(--line); border-radius: 20px;
  background: rgba(16,37,30,.7); text-align: left; color-scheme: dark; }
.quote-form h3 { margin: 0 0 16px; font: 600 28px 'Cormorant Garamond', Georgia, serif; color: var(--gold); }
.qf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.qf-grid label { font-size: 12px; color: #aeb8b0; }
.qf-grid .wide { grid-column: 1 / -1; }
.qf-grid input, .qf-grid select, .qf-grid textarea { display: block; width: 100%; margin-top: 7px; padding: 13px; font: inherit; font-size: 14px;
  color: var(--ink); background: #0a1b16; border: 1px solid var(--line); border-radius: 10px; outline: 0; }
.qf-grid input:focus, .qf-grid select:focus, .qf-grid textarea:focus { border-color: var(--gold); }
.qf-grid select option { background: #0a1b16; color: var(--ink); }
.quote-actions { text-align: center; margin: 26px 0 8px; }
.quote-actions #quote-msg { min-height: 22px; margin: 12px 0 0; color: var(--gold); font-size: 14px; }
.quote-result { max-width: 980px; margin: 20px auto 0; padding: 26px; border: 1px solid var(--gold); border-radius: 20px;
  background: linear-gradient(135deg, #10251e, #0b1b16); text-align: left; animation: rise .5s ease both; }
.quote-result h3 { margin: 0 0 16px; font: 600 30px 'Cormorant Garamond', Georgia, serif; color: var(--gold); }
.qr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 14px; }
.qr-grid small { display: block; color: #7d8b83; letter-spacing: .12em; font-size: 10px; text-transform: uppercase; }
.qr-grid b { font-weight: 600; }
.quote-result .picked-zone span { color: var(--ink); font-size: 14px; }
.quote-result .primary { display: inline-block; margin-top: 18px; text-decoration: none; }
/* welcome drink: juice pours into the glass */
.juice-liquid.pour { transform-box: fill-box; transform-origin: 50% 100%; animation: juice-fill 1.4s .3s cubic-bezier(.3,.6,.3,1) both; }
.juice-stream { transform-box: fill-box; transform-origin: 50% 0; animation: juice-stream 1.6s ease-in both; }
@keyframes juice-fill { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes juice-stream {
  0% { transform: scaleY(0); opacity: 1; }
  18% { transform: scaleY(1); opacity: 1; }
  80% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .juice-stream { display: none; } }
/* water: a tilted bottle pours into a glass, then lifts away */
.pour-bottle { transform-box: fill-box; transform-origin: 50% 50%; animation: bottle-pour 1.9s ease both; }
@keyframes bottle-pour {
  0%   { transform: translateY(-16px) rotate(0deg); opacity: 0; }
  18%  { transform: translateY(0) rotate(150deg); opacity: 1; }
  80%  { transform: translateY(0) rotate(150deg); opacity: 1; }
  100% { transform: translateY(-16px) rotate(0deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .pour-bottle { display: none; } }

/* welcome drinks: paper cup opening fills, texts under glasses */
.juice-top { animation: juice-top .5s 1.2s ease both; }
@keyframes juice-top { from { opacity: 0; } to { opacity: 1; } }
.tray-name { fill: #fff; font-family: 'DM Sans', sans-serif; font-weight: 600; text-anchor: middle; pointer-events: none;
  paint-order: stroke; stroke: rgba(0,0,0,.65); stroke-width: 3px; }
.tray-hint { fill: #a9b2aa; font: 17px 'DM Sans', sans-serif; text-anchor: middle; }
/* tea steam */
.steam path { animation: steam 2.2s ease-in-out infinite; }
.steam path:nth-child(2) { animation-delay: -1.1s; }
@keyframes steam { 0%, 100% { opacity: .2; transform: translateY(0); } 50% { opacity: .8; transform: translateY(-2px); } }

.sparkle { transform-box: fill-box; transform-origin: center; animation: twinkle 2.4s ease-in-out infinite; }
@keyframes twinkle { 0%,100% { opacity:.15; transform:scale(.5); } 50% { opacity:.95; transform:scale(1.1); } }
.bubble { transform-box: fill-box; transform-origin: center; animation: bub 2.2s ease-in-out infinite; }
@keyframes bub { 0%,100% { opacity:.2; transform:scale(.7); } 50% { opacity:.7; transform:scale(1.15); } }
.sheen { animation: sheen 3s ease-in-out infinite; }
@keyframes sheen { 0%,100% { opacity:.15; } 50% { opacity:.65; } }

#vessel .slots { display: none; }


.picked { position: relative; }
.clear-all { position: absolute; top: 0; right: 0; background: none; border: 1px solid rgba(245,239,227,.25); color: #cda86a; border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 12px; cursor: pointer; }
.clear-all:hover { background: rgba(205,168,106,.12); }

@media (max-width: 700px) {
  /* plate uses the full phone width so dishes and names are bigger */
  #vessel { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); }
  .dish-text { font-size: 12px !important; }
  /* 16px inputs stop iPhones zooming in when a field is tapped */
  .qf-grid input, .qf-grid select, .qf-grid textarea { font-size: 16px; }
  .planner { padding: 20px 4vw 48px; }
  .items-panel .dish-list { grid-template-columns: repeat(2, 1fr); max-height: 300px; }
  .quote-actions .primary, .quote-actions .outline { display: block; width: 100%; margin: 10px 0 0; }
  .stage .tabs, .builder .stage .tabs { overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; -webkit-overflow-scrolling: touch; }
  .back { position: static; display: block; margin: 0 0 14px; padding: 0; }
  .stage .tab { white-space: nowrap; }
}

/* ===== planner steps: details -> plate -> service ===== */
.step-no { margin: 0 0 6px; font-size: 11px; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; color: var(--gold); }
.step-head { max-width: 1280px; margin: 8px auto 18px; text-align: left; }
.step-head h3 { margin: 0 0 6px; font: 600 clamp(30px, 4vw, 40px)/1 'Cormorant Garamond', Georgia, serif; color: var(--ink); }
.step-head .qf-help { margin: 0; }
.qf-after { margin-top: 28px; }
.qf-after .spice-meter { margin: 0 auto; max-width: none; text-align: center; }
.qs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.qf-opt { margin-left: 6px; font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.qs-opt input[type="checkbox"]:checked + .qs-card b::after { content: " \2713"; color: var(--gold); }
@media (max-width: 480px) { .qs-grid { grid-template-columns: 1fr 1fr; } }

/* ===== steps 3 to 8 ===== */
.svc { max-width: 1280px; margin: 0 auto; }
.svc-block { margin: 0 auto 22px; }
.step-solo { max-width: 1280px; margin: 8px auto 12px; text-align: left; }
.svc-block .spice-meter { border: 0; background: none; padding: 0; margin: 0 auto; max-width: 760px; }
.svc-block .spice-meter legend { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); }
.qs-card .ico { display: block; height: 34px; margin-bottom: 4px; color: var(--muted); transition: color .2s; }
.qs-opt input:checked + .qs-card .ico { color: var(--gold); }
.qs-opt input[type="checkbox"]:checked + .qs-card b::after { content: " \2713"; color: var(--gold); }
.qs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.qf-opt { margin-left: 6px; font-size: 11px; color: var(--muted); }
.live-panel { padding-top: 6px; }
.live-panel:not([hidden]) { animation: live-open .5s var(--ease) both; }
.live-panel .qs-opt { animation: pop .45s cubic-bezier(.3,1.5,.5,1) both; animation-delay: calc(var(--i, 0) * 60ms + 120ms); }
.live-panel .qs-card { min-height: 0; align-items: center; text-align: center; }

/* reveal: each block enters its own way (only added by JS when motion is allowed) */
[data-reveal].pre { opacity: 0; }
[data-reveal="left"].in  { animation: rv-left .7s var(--ease) both; }
[data-reveal="right"].in { animation: rv-right .7s var(--ease) both; }
[data-reveal="up"].in    { animation: rise .7s var(--ease) both; }
[data-reveal="zoom"].in  { animation: rv-zoom .6s cubic-bezier(.3,1.3,.5,1) both; }
@keyframes rv-left  { from { opacity: 0; transform: translateX(-48px); } to { opacity: 1; transform: none; } }
@keyframes rv-right { from { opacity: 0; transform: translateX(48px); } to { opacity: 1; transform: none; } }
@keyframes rv-zoom  { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes live-open { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* service boys */
.crew { display: flex; flex-wrap: wrap; gap: 6px; align-items: flex-end; min-height: 40px; margin-top: 14px; color: var(--gold); }
.crew .waiter { display: inline-flex; }
.crew .waiter.new { animation: waiter-in .5s cubic-bezier(.3,1.6,.5,1) both; }
.crew .more { align-self: center; font-size: 13px; font-weight: 600; }
@keyframes waiter-in { from { opacity: 0; transform: translateY(14px) scale(.5); } to { opacity: 1; transform: none; } }
.qs-step input.bump { animation: bump .3s ease; }
.qs-step button:active { transform: scale(.88); }
@keyframes bump { 50% { transform: scale(1.18); color: var(--gold); } }

/* icon animations: they play when a card is chosen */
.qs-opt input:checked + .qs-card .ico svg { overflow: visible; }
.ico [class] { transform-box: fill-box; transform-origin: center; }
.steam { opacity: 0; }
.qs-opt input:checked + .qs-card .steam { animation: steam-up 1.3s ease-out 2 both; }
.qs-opt input:checked + .qs-card .steam.s2 { animation-delay: .25s; }
.qs-opt input:checked + .qs-card .steam.s3 { animation-delay: .5s; }
@keyframes steam-up { 0% { opacity: 0; transform: translateY(5px); } 40% { opacity: .9; } 100% { opacity: 0; transform: translateY(-5px); } }
.qs-opt input:checked + .qs-card .lid { animation: lid-pop .6s var(--ease) both; }
.qs-opt input:checked + .qs-card .lid + .lid { animation-delay: .12s; }
.qs-opt input:checked + .qs-card .lid + .lid + .lid { animation-delay: .24s; }
.qs-opt input:checked + .qs-card [data-ico="cloche"] .lid,
.qs-opt input:checked + .qs-card [data-ico="chafing"] .lid { animation: lid-lift 1.2s ease both; }
@keyframes lid-pop { from { opacity: 0; transform: translateY(5px) scale(.6); } to { opacity: 1; transform: none; } }
@keyframes lid-lift { 0%, 100% { transform: none; } 30%, 70% { transform: translateY(-5px) rotate(-10deg); } }
.qs-opt input:checked + .qs-card [data-ico="truck"] svg { animation: truck-in .9s var(--ease) both; }
.qs-opt input:checked + .qs-card .wheel { animation: wheel .9s linear both; }
@keyframes truck-in { 0% { transform: translateX(-34px); opacity: 0; } 60% { transform: translateX(3px); opacity: 1; } 100% { transform: none; } }
@keyframes wheel { to { transform: rotate(540deg); } }
.qs-opt input:checked + .qs-card [data-ico="bag"] svg { animation: bag-hop .7s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes bag-hop { 0% { transform: translateY(10px); } 55% { transform: translateY(-6px); } 100% { transform: none; } }
.qs-opt input:checked + .qs-card .leafp { transform-origin: 0 50%; animation: leaf-open .7s var(--ease) both; }
@keyframes leaf-open { from { transform: scaleX(.2); opacity: 0; } to { transform: none; opacity: 1; } }
.qs-opt input:checked + .qs-card .broom { transform-origin: 90% 10%; animation: sweep .9s ease-in-out both; }
@keyframes sweep { 0%, 100% { transform: none; } 25% { transform: rotate(-22deg); } 60% { transform: rotate(18deg); } }
.spark { opacity: 0; }
.qs-opt input:checked + .qs-card .spark { animation: spark .9s .3s ease both; }
@keyframes spark { 0%, 100% { opacity: 0; transform: scale(.4); } 50% { opacity: 1; transform: scale(1.2); } }
.qs-opt input:checked + .qs-card .sway { transform-origin: 50% 100%; animation: sway .9s ease-in-out both; }
@keyframes sway { 0%, 100% { transform: none; } 30% { transform: rotate(-12deg); } 65% { transform: rotate(10deg); } }
.qs-opt input:checked + .qs-card .flip { animation: flip .7s ease both; }
@keyframes flip { 50% { transform: scaleX(-1); } }
.qs-opt input:checked + .qs-card .spin { animation: spin-once 1s var(--ease) both; }
@keyframes spin-once { to { transform: rotate(360deg); } }
.qs-opt input:checked + .qs-card .bit { animation: hop .6s ease 2 both; }
.qs-opt input:checked + .qs-card .bit.b2 { animation-delay: .1s; }
.qs-opt input:checked + .qs-card .bit.b3 { animation-delay: .2s; }
@keyframes hop { 40% { transform: translateY(-4px); } }

/* spice: the lit chillies pop one after another, hot levels glow */
.sp-opt input:checked + .sp-card .sp-c { animation: chili-pop .5s cubic-bezier(.3,1.6,.5,1) both; }
.sp-opt input:checked + .sp-card .sp-c:nth-child(2) { animation-delay: .08s; }
.sp-opt input:checked + .sp-card .sp-c:nth-child(3) { animation-delay: .16s; }
.sp-opt input:checked + .sp-card .sp-c:nth-child(4) { animation-delay: .24s; }
.sp-opt.l3 input:checked + .sp-card { animation: heat 1.1s ease 2; }
.sp-opt.l4 input:checked + .sp-card { animation: heat .8s ease 3, shiver .35s ease 2; }
@keyframes chili-pop { from { transform: scale(.2) rotate(-25deg); } to { transform: none; } }
@keyframes heat { 50% { box-shadow: 0 0 22px rgba(205, 168, 106, .55); } }
@keyframes shiver { 25% { translate: -2px 0; } 75% { translate: 2px 0; } }

/* your menu: dishes drop into the list */
.picked .pill { animation: pill-in .35s var(--ease) both; }
@keyframes pill-in { from { opacity: 0; transform: translateY(8px) scale(.85); } to { opacity: 1; transform: none; } }
/* Step 8: Your menu sits in its own box, same width as the others, with a gap below */
#app { max-width: 1280px; margin: 0 auto 22px; }
#app .picked { max-width: none; margin: 0; }

/* many category tabs (Lunch, Dinner): keep to three rows and scroll inside */
.items-panel .tabs { max-height: 118px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(205,168,106,.5) transparent; padding-right: 4px; }

/* ===== steps 3 to 7: a journey, not a stack of boxes ===== */
.svc { counter-reset: st 2; }
.svc .svc-block { position: relative; display: grid; grid-template-columns: 250px 1fr; column-gap: 34px; align-items: start; padding: 34px 36px; }
.svc .svc-block > .step-no { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }   /* the big numeral replaces it */
.svc .svc-block::before { content: attr(data-num); grid-column: 1; grid-row: 1; font: 600 76px/.8 'Cormorant Garamond', Georgia, serif; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px var(--gold); }
.svc .svc-block > h3 { grid-column: 1; grid-row: 2; margin: 14px 0 0; font-size: 34px; }
.svc .svc-block > .svc-note { grid-column: 1; grid-row: 3; margin: 8px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.svc .svc-block > .qf-grid, .svc .svc-block > .spice-meter { grid-column: 2; grid-row: 1 / span 4; align-self: center; }
.svc .svc-block > .spice-meter { margin: 0; max-width: none; }
/* a gold thread joins one step to the next */
.svc .svc-block:not(:last-child)::after { content: ""; position: absolute; left: 52px; top: 100%; width: 1px; height: 22px; background: linear-gradient(var(--gold), transparent); }

/* option cards: icon in a medallion, a gold tick when chosen */
.svc .qs-card { position: relative; min-height: 96px; padding: 14px 16px; }
.svc .qs-card .ico { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(205,168,106,.14), transparent 70%); transition: border-color .2s, background .2s; }
.svc .qs-opt input:checked + .qs-card .ico { border-color: var(--gold); background: radial-gradient(circle at 35% 30%, rgba(205,168,106,.34), rgba(205,168,106,.06) 75%); }
.svc .qs-opt:hover .qs-card { transform: translateY(-2px); }
.svc .qs-card { transition: border-color .2s, background .2s, transform .2s; }
.svc .qs-opt input:checked + .qs-card b::after { content: none; }
.svc .qs-card::after { content: "\2713"; position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: #0a1b16; font-size: 12px; font-weight: 700; transform: scale(0); transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.svc .qs-opt input:checked + .qs-card::after { transform: scale(1); }

/* service boys: a stage with a floor line; waiters stand on it */
.svc .crew { position: relative; min-height: 72px; margin-top: 18px; padding: 0 14px 10px; border-bottom: 1px dashed rgba(205,168,106,.45); align-items: flex-end; }
.svc .crew:not(:has(.waiter))::before { content: "Your crew will stand here"; align-self: center; margin: 0 auto 0 0; font-size: 13px; font-style: italic; color: var(--muted); }
.svc .crew .waiter svg { width: 30px; height: 40px; }

@media (max-width: 860px) {
  .svc .svc-block { grid-template-columns: 1fr; padding: 26px 20px; }
  .svc .svc-block::before { font-size: 54px; }
  .svc .svc-block > h3 { font-size: 30px; margin-top: 10px; }
  .svc .svc-block > .svc-note { margin-bottom: 18px; }
  .svc .svc-block > .qf-grid, .svc .svc-block > .spice-meter { grid-column: 1; grid-row: auto; }
  .svc .svc-block:not(:last-child)::after { left: 30px; }
}

/* ===== steps 1 and 2 join the journey ===== */
#quote-form { position: relative; display: grid; grid-template-columns: 250px 1fr; column-gap: 34px; align-items: start; padding: 34px 36px; }
#quote-form::before, .step-head::before { content: "01"; font: 600 76px/.8 'Cormorant Garamond', Georgia, serif; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px var(--gold); }
#quote-form::before { grid-column: 1; grid-row: 1; }
.step-head::before { content: "02"; grid-column: 1; grid-row: 1 / span 2; }
#quote-form > .step-no, .step-head > .step-no { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
#quote-form > h3 { grid-column: 1; grid-row: 2; margin: 14px 0 0; font-size: 34px; }
#quote-form > .svc-note { grid-column: 1; grid-row: 3; margin: 8px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
#quote-form > .qf-grid { grid-column: 2; grid-row: 1 / span 4; }
/* step 2 is a header strip above the plate: numeral, title, and a live count of chosen dishes */
.step-head { position: relative; display: grid; grid-template-columns: auto 1fr auto; column-gap: 26px; align-items: center; margin: 22px auto 18px; padding: 0 4px; }
.step-head > h3 { grid-column: 2; grid-row: 1; margin: 0; font-size: 40px; color: var(--gold); }
.step-head > .qf-help { grid-column: 2; grid-row: 2; margin: 6px 0 0; }
.dish-count { grid-column: 3; grid-row: 1 / span 2; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--muted); transition: border-color .25s, color .25s, background .25s; }
.dish-count.has { border-color: var(--gold); color: var(--gold); background: rgba(205,168,106,.1); animation: bump .3s ease; }
/* gold threads: 01 to 02, and from the plate down to 03 */
#quote-form::after { content: ""; position: absolute; left: 52px; top: 100%; width: 1px; height: 22px; background: linear-gradient(var(--gold), transparent); }
.builder { position: relative; margin-bottom: 22px; }
.builder::after { content: ""; position: absolute; left: 52px; top: 100%; width: 1px; height: 22px; background: linear-gradient(var(--gold), transparent); }
@media (max-width: 860px) {
  #quote-form { grid-template-columns: 1fr; padding: 26px 20px; }
  #quote-form::before, .step-head::before { font-size: 54px; }
  #quote-form > h3 { font-size: 30px; margin-top: 10px; }
  #quote-form > .svc-note { margin-bottom: 18px; }
  #quote-form > .qf-grid { grid-column: 1; grid-row: auto; }
  #quote-form::after, .builder::after { left: 30px; }
  .step-head { grid-template-columns: auto 1fr; }
  .step-head > h3 { font-size: 30px; }
  .dish-count { grid-column: 1 / -1; grid-row: 3; justify-self: start; margin-top: 12px; }
}

/* ===== touch screens (phones, tablets, foldables): every tap target is at least 44px ===== */
@media (pointer: coarse) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
  .cin-skip { min-height: 44px; padding-inline: 20px; }
  .mn-chip { min-height: 44px; }
  .tab { min-height: 44px; }
  .back { padding: 12px 10px; margin-left: -10px; }
  .nav nav a, footer a, a[href^="tel:"], a[href^="mailto:"] { display: inline-block; padding-block: 15px; }
  .nav .brand { display: flex; padding-block: 0; }
}

/* quotation sent: thank-you message */
.qr-thanks{margin-top:22px;padding:18px 20px;border:1px solid var(--gold);border-radius:var(--r-card, 20px);background:rgba(205,168,106,.08)}
.qr-thanks h4{margin:0 0 6px;color:var(--gold);font-size:18px}
.qr-thanks p{margin:4px 0 0;color:var(--ink);line-height:1.6}


/* =========================================================
   [CHANGE 3] PHONE: tidy "Your menu" and the quotation summary
========================================================= */
@media (max-width: 700px) {
  .picked { padding: 18px 14px; border-radius: 18px; }
  .picked h3 { font-size: 26px; padding-right: 84px; }
  .clear-all { top: 16px; right: 14px; min-height: 36px; padding: 8px 14px; }

  .picked-zone { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 12px 0; border-top: 1px solid var(--line); }
  .picked-zone > b { flex: 0 0 100%; min-width: 0; font-size: 12px; letter-spacing: .12em; }
  .pill { min-height: 38px; padding: 8px 10px 8px 14px; font-size: 14px; }
  .pill span { font-size: 18px; }

  .quote-result { padding: 20px 16px; border-radius: 18px; }
  .quote-result h3 { font-size: 26px; }
  .quote-result > h4 { margin: 20px 0 4px; font: 600 22px 'Cormorant Garamond', Georgia, serif; color: var(--ink); }
  .quote-result > h4 + .picked-zone { border-top-color: rgba(205, 168, 106, .45); }
  .quote-result .picked-zone span { flex: 0 0 100%; line-height: 1.55; overflow-wrap: anywhere; }
  .qr-grid { grid-template-columns: 1fr 1fr; gap: 14px 12px; }
  .qr-grid b { display: block; margin-top: 2px; overflow-wrap: anywhere; }
}

.lang-pick { margin: 0 0 18px; text-align: center; }
.lang-q { margin: 0 0 10px; font-size: 13px; color: var(--muted, #b9ad92); }
.lang-btns { display: inline-flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.lang-btns button { min-height: 44px; padding: 10px 22px; border-radius: 999px; border: 1px solid var(--gold, #cda86a); background: transparent; color: var(--gold, #cda86a); font: 600 16px/1 'DM Sans', 'Noto Sans Telugu', 'Noto Sans Devanagari', system-ui, sans-serif; cursor: pointer; }
.lang-btns button[aria-pressed="true"] { background: var(--gold, #cda86a); color: #0c1d18; }
.mf-multi { margin-top: 8px; padding: 10px 14px; border-left: 3px solid var(--gold, #cda86a); background: rgba(205, 168, 106, .08); border-radius: 6px; }
html[data-lang="te"] .chip small, html[data-lang="hi"] .chip small { display: none; }
html[data-lang="te"] #planner, html[data-lang="te"] #planner * { font-family: 'Noto Sans Telugu', 'Nirmala UI', Gautami, system-ui, sans-serif; letter-spacing: 0; }
html[data-lang="hi"] #planner, html[data-lang="hi"] #planner * { font-family: 'Noto Sans Devanagari', 'Nirmala UI', Mangal, system-ui, sans-serif; letter-spacing: 0; }
html[data-lang="te"] #planner .lang-btns button, html[data-lang="hi"] #planner .lang-btns button { font-family: 'DM Sans', 'Noto Sans Telugu', 'Noto Sans Devanagari', system-ui, sans-serif; }
html[data-lang="te"] .svc .crew:not(:has(.waiter))::before { content: "మీ సిబ్బంది ఇక్కడ నిలబడతారు"; }
html[data-lang="hi"] .svc .crew:not(:has(.waiter))::before { content: "आपकी टीम यहाँ खड़ी होगी"; }

.svc .svc-block.last-vis::after { display: none; }
