/* SS Bucket Biryani website: Catering. Loaded after site.css, whose tokens, header, footer and motion it uses.
   Desktop values match the Figma at 1512 px; clamp() and cqw scale them down, as in site.css. */

.catering-page {
  --gold-light: #F2C46B;
  --ink-copy: #3B0A0D;
  --ink-soft: #5A2A2C;
  --card-line: #ECD2AB;
  --field-line: #E9CFA8;
  --plan-tile: #451417;
  --proof-red: #ED1D24;
  --proof-deep: #831518;
  /* the gold ring round the arch photo */
  --gold-ring: linear-gradient(90deg, #B46E00 0%, #F6A21E 13%, #FFF2DD 25%, #FFBE58 39%, #FFB541 56%, #F6DCB3 69%, #FF9C00 86%, #A96800 100%);
}
.catering-page :is(.cat-calc__panel, .cat-sum__lines, .cat-sum__empty)[hidden] { display: none; }
/* the reset in site.css covers ul, not ol or form */
:where(.catering-page) :where(ol, form) { margin: 0; padding: 0; list-style: none; }

/* ---------- Shared pieces ---------- */
.ct-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 43px; padding: 0 24px; border-radius: var(--radius-pill); font-weight: 600; font-size: 13px; line-height: 16px; white-space: nowrap; color: var(--cream); text-decoration: none; transition: background-color var(--dur-hover), box-shadow var(--dur-hover), transform var(--dur-hover) var(--ease-out); }
.ct-btn .icon { font-size: 14px; }
.ct-btn--maroon { background: var(--maroon); }
.ct-btn--red { background: var(--red); }
.ct-btn--red:hover { background: #C8061F; }
.ct-btn:hover { box-shadow: 0 8px 17px rgba(0, 0, 0, .28); }

/* A row of the Figma's diamond motif, as long as it needs to be */
.cat-diamonds { display: flex; overflow: hidden; }
.cat-diamonds img { flex: none; width: auto; max-width: none; height: 100% !important; }

/* ---------- 1. The opening: make every gathering a feast ---------- */
.cat-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; justify-content: center; min-height: clamp(600px, 63.16cqw, 955px); padding: clamp(112px, 10.52cqw, 159px) var(--gutter) clamp(72px, 9cqw, 136px); background: var(--maroon-ink); color: var(--cream); text-align: center; }
.cat-hero__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100% !important; object-fit: cover; }
/* the darkening deepens from halfway down, so the paragraph keeps 4.5:1 over the photo's brightest parts */
.cat-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(42, 10, 12, .55) 40%, rgba(42, 10, 12, .9) 100%); }
.cat-hero__copy { display: flex; flex-direction: column; align-items: center; gap: 14px; width: min(100%, 772px); }
.cat-hero__seal { width: 76px; }
.cat-hero__eyebrow { padding-top: 3px; font-family: var(--font-serif); font-size: clamp(16px, 1.46cqw, 22px); line-height: 18px; letter-spacing: .1em; text-transform: uppercase; opacity: .9; }
.cat-hero__title { font-family: var(--font-condensed); font-weight: 400; font-size: clamp(64px, 8.86cqw, 134px); line-height: .918; letter-spacing: .005em; text-transform: uppercase; }
/* a soft dark glow keeps the red line 3:1 over the photo's bright tray, without darkening the whole photo */
.cat-hero__title em { font-style: normal; color: var(--red-on-dark); text-shadow: 0 0 max(.04em, 4px) rgba(42, 10, 12, 1), 0 0 max(.04em, 4px) rgba(42, 10, 12, 1), 0 0 max(.1em, 9px) rgba(42, 10, 12, .95), 0 0 max(.1em, 9px) rgba(42, 10, 12, .9), 0 0 .3em rgba(42, 10, 12, .7), 0 0 .6em rgba(42, 10, 12, .5); }
.cat-hero__text { max-width: 714px; padding-top: 7px; text-wrap: balance; font-weight: 600; font-size: clamp(16px, 1.32cqw, 20px); line-height: 1.2; opacity: .92; }
.cat-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 11px; padding-top: 14px; }

/* ---------- 2. The proof: catered across 3000+ events, order without limits ---------- */
.cat-proof { display: flex; justify-content: center; gap: clamp(16px, 1.85cqw, 28px); padding: clamp(40px, 6.42cqw, 97px) var(--gutter) clamp(48px, 6.94cqw, 105px); background: var(--cream); }
.cat-proof__events, .cat-proof__order { flex: 0 1 659px; min-width: 0; aspect-ratio: 659 / 392; border-radius: 28px; }
.cat-proof__order { width: 100%; height: auto !important; object-fit: cover; }
/* The card is its own unit: everything in it is placed in % of its width (cqw), as in the Figma's 659 px card */
.cat-proof__events { position: relative; overflow: hidden; container-type: inline-size; background: var(--proof-red); color: var(--cream); text-align: center; }
.cat-proof__events > * { position: absolute; }
.cat-proof__tab { z-index: 1; left: 46.59cqw; top: -.61cqw; width: 9.1cqw; height: 12.75cqw; border-radius: 0 0 999px 999px; background: var(--proof-deep); }
.cat-proof__tab img { position: absolute; left: .76cqw; top: 4.25cqw; width: 7.59cqw; }
.cat-proof__title { left: 0; right: 0; top: 16.24cqw; display: flex; flex-direction: column; align-items: center; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-synthesis: none; }
/* 19 px or more keeps it large text, which the Figma's red (3.95:1 with cream) is enough for */
.cat-proof__lead { font-size: max(19px, 4.7cqw); line-height: 1; }
.cat-proof__number { margin-top: .76cqw; font-size: 11.38cqw; line-height: 1; }
.cat-proof__band { left: 0; right: 0; bottom: 0; height: 12.29cqw; background: var(--proof-deep); }
.cat-proof__events .cat-diamonds { left: -7.13cqw; right: -7.13cqw; top: 54.63cqw; height: 3.04cqw; }
.cat-proof__steel { left: .76cqw; top: 26.25cqw; width: 99.24cqw; max-width: none; }
.cat-proof__lid { left: 12.29cqw; top: 26.25cqw; width: 30.5cqw; max-width: none; }

/* ---------- 3. The photo strip ---------- */
.cat-strip { display: grid; gap: 18px; overflow: hidden; background: var(--cream); }
.cat-strip > .cat-diamonds { height: clamp(28px, 2.98cqw, 45px); }
.cat-strip__list { display: flex; gap: 11px; padding: 0 17px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.cat-strip__list::-webkit-scrollbar { display: none; }
.cat-strip__item { flex: none; height: clamp(220px, 25.33cqw, 383px); scroll-snap-align: start; }
.cat-strip__item img { width: auto; max-width: none; height: 100% !important; }

/* ---------- 4. Every occasion deserves something special ---------- */
.cat-occasions { padding: clamp(56px, 5.75cqw, 87px) var(--gutter) clamp(64px, 6.61cqw, 100px); background: var(--cream); }
.cat-occasions__head, .cat-occasions__list { width: min(100%, 1038px); margin-inline: auto; }
.cat-occasions__title { max-width: 709px; font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 5.03cqw, 76px); line-height: 1.079; letter-spacing: .01em; text-transform: uppercase; color: var(--maroon); font-synthesis: none; }
.cat-occasions__lead { max-width: 930px; margin-top: 18px; font-size: clamp(16px, 1.32cqw, 20px); line-height: 1.2; color: var(--red); }
.cat-occasions__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 35px; }
.cat-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; background: var(--maroon); color: var(--cream); }
.cat-card--parties, .cat-card--bulk { background: var(--red); }
.cat-card__photo { position: relative; aspect-ratio: 509 / 339; }
.cat-card__photo img { width: 100%; height: 100% !important; object-fit: cover; }
.cat-card__photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(rgba(42, 10, 12, 0), rgba(42, 10, 12, .55)); }
.cat-card__num { position: absolute; z-index: 1; left: 17px; bottom: 9px; font-family: var(--font-condensed); font-size: 49px; line-height: 1; letter-spacing: .005em; }
.cat-card__body { padding: 20px 24px 27px; }
.cat-card__name { font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 23px; letter-spacing: .01em; text-transform: uppercase; font-synthesis: none; }
.cat-card__text { margin-top: 9px; font-size: 17px; line-height: 24px; }

/* ---------- 5. More than food: four reasons, each with its photo ---------- */
.cat-reasons { display: flex; align-items: center; justify-content: center; gap: clamp(40px, 5.62cqw, 85px); min-height: 1137px; padding: 76px var(--gutter); background: var(--red); color: var(--cream); }
.cat-reasons__copy { flex: 0 1 514px; padding-top: 29px; }
.cat-reasons__title { font-family: var(--font-condensed); font-weight: 400; font-size: clamp(46px, 5.03cqw, 76px); line-height: .921; letter-spacing: .005em; text-transform: uppercase; }
.cat-reasons__lead { max-width: 488px; margin-top: 18px; font-size: 16px; line-height: 24px; }
.cat-reasons__list { display: grid; gap: 11px; margin: 28px 0 0 8px; }
.cat-reason { display: flex; align-items: center; gap: 11px; width: 475px; max-width: 100%; min-height: 105px; padding: 14px 17px; border-radius: 16px; background: rgba(123, 13, 18, .5); text-align: left; color: var(--cream); transition: background-color .3s var(--tap), box-shadow .3s var(--tap), color .3s var(--tap); }
.cat-reason[aria-pressed="true"] { width: 503px; background: var(--cream); box-shadow: 0 11px 22px rgba(60, 0, 0, .3); color: var(--maroon); }
.cat-reason:not([aria-pressed="true"]):hover { background: rgba(123, 13, 18, .72); }
.cat-reason__num { flex: none; width: 38px; font-family: var(--font-condensed); font-size: 31px; line-height: 29px; color: var(--gold-light); transition: color .3s var(--tap); }
.cat-reason[aria-pressed="true"] .cat-reason__num { color: var(--red); }
.cat-reason__words { flex: 1; display: grid; gap: 8px; }
.cat-reason__name { font-family: var(--font-display); font-size: 22px; line-height: 1.05; letter-spacing: .01em; text-transform: uppercase; }
.cat-reason__text { font-size: 15px; line-height: 18px; opacity: .92; }
.cat-reason__arrow { flex: none; font-size: 17px; color: var(--red); opacity: 0; transition: opacity .3s var(--tap); }
.cat-reason[aria-pressed="true"] .cat-reason__arrow { opacity: 1; }
.cat-reasons__figure { position: relative; flex: 0 1 515px; margin: 0; padding-bottom: 28px; }
/* The arch: a gold ring 3.5 px wide round a maroon ground, with the photos inside */
.cat-reasons__arch { position: relative; aspect-ratio: 515 / 631; border-radius: 999px 999px 30px 30px; background: var(--gold-ring); }
.cat-reasons__arch::before { content: ""; position: absolute; inset: 3.5px; border-radius: 999px 999px 26.5px 26.5px; background: var(--maroon); }
/* A reason's photo is only fetched once someone reaches for its button (data-shown), then fades in over the last */
.cat-reasons__photo { position: absolute; inset: 3.5px; display: none; width: calc(100% - 7px); height: calc(100% - 7px) !important; border-radius: 999px 999px 26.5px 26.5px; object-fit: cover; opacity: 0; transition: opacity .3s var(--tap); }
.cat-reasons__photo:is([data-on], [data-shown]) { display: block; }
.cat-reasons__photo[data-on] { z-index: 1; opacity: 1; }
.cat-reasons__caption { position: absolute; z-index: 2; left: 50%; bottom: 0; display: flex; align-items: center; gap: 12px; width: max-content; max-width: calc(100% - 16px); padding: 9px 24px 9px 9px; translate: -50% 0; border-radius: var(--radius-pill); background: var(--cream); box-shadow: 0 10px 24px rgba(0, 0, 0, .3); font-family: var(--font-serif); font-size: 17px; line-height: 21px; letter-spacing: .04em; text-transform: uppercase; color: var(--maroon); }
.cat-reasons__caption b { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--red); font-family: var(--font-condensed); font-weight: 400; font-size: 23px; line-height: 1; letter-spacing: 0; color: var(--cream); }

/* ---------- 6. Tell us about your gathering: four steps ---------- */
.cat-plan { padding: 76px var(--gutter); background: var(--maroon-ink); color: var(--cream); }
.cat-plan__head, .cat-plan__steps { width: min(100%, 1037px); margin-inline: auto; }
.cat-plan__title { font-family: var(--font-condensed); font-weight: 400; font-size: clamp(46px, 5.03cqw, 76px); line-height: .921; letter-spacing: .005em; text-transform: uppercase; }
.cat-plan__lead { max-width: 488px; margin-top: 18px; font-size: 15px; line-height: 24px; }
.cat-plan__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 203px)); justify-content: space-between; gap: 48px 24px; padding: 89px 0 28px; }
.cat-step { display: flex; flex-direction: column; align-items: center; text-align: center; }
.cat-step__arch { position: relative; display: flex; justify-content: center; width: 100%; aspect-ratio: 203 / 191; padding-top: 17.24%; overflow: visible; border-radius: 999px 999px 22px 22px; background: var(--plan-tile); }
.cat-step__arch img { width: 70%; height: auto; align-self: flex-start; border-radius: 0 0 4px 4px; }
.cat-step__num { position: absolute; left: 50%; top: -17px; display: grid; place-items: center; width: 41px; height: 41px; translate: -50% 0; border: 3.1px solid var(--maroon-ink); border-radius: 50%; background: var(--red); font-family: var(--font-condensed); font-size: 28px; line-height: 1; color: var(--cream); }
.cat-step__name { margin-top: 16px; text-wrap: wrap; font-family: var(--font-display); font-weight: 400; font-size: 20px; line-height: 24px; letter-spacing: .01em; text-transform: uppercase; }
.cat-step__text { max-width: 230px; margin-top: 12px; font-size: 14px; line-height: 20px; text-wrap: balance; opacity: .85; }
.cat-plan__action { display: flex; justify-content: center; margin-top: 10px; }

/* ---------- 7. Build your order: the price calculator ---------- */
.cat-calc { padding: clamp(72px, 8.27cqw, 125px) var(--gutter) clamp(64px, 6.28cqw, 95px); background: var(--cream); }
.cat-calc__head, .cat-calc__body { width: min(100%, 1032px); margin-inline: auto; }
.cat-calc__title { max-width: 680px; font-family: var(--font-condensed); font-weight: 400; font-size: clamp(46px, 5.03cqw, 76px); line-height: .921; letter-spacing: .005em; text-transform: uppercase; color: var(--maroon); }
.cat-calc__lead { max-width: 540px; margin-top: 17px; font-size: 16px; line-height: 24px; color: var(--ink-copy); }
.cat-calc__body { display: grid; grid-template-columns: minmax(0, 612fr) minmax(0, 393fr); gap: 27px; align-items: start; margin-top: 35px; }
.cat-calc__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 15px; }
.cat-calc__tab { min-height: 36px; padding: 0 17px; border: 1.6px solid var(--maroon); border-radius: var(--radius-pill); font-weight: 600; font-size: 13px; line-height: 16px; color: var(--maroon); transition: background-color var(--dur-hover), color var(--dur-hover); }
.cat-calc__tab:hover { background: rgba(126, 13, 18, .08); }
.cat-calc__tab[aria-pressed="true"] { background: var(--maroon); color: var(--cream); }
.cat-calc__intro { position: relative; min-height: 78px; padding: 16px 140px 16px 19px; border-radius: 19px; background: var(--cream-deep); }
.cat-calc__intro-title { font-family: var(--font-display); font-weight: 400; font-size: 20px; line-height: 24px; letter-spacing: .01em; text-transform: uppercase; color: var(--maroon); }
.cat-calc__intro-text { margin-top: 3px; font-size: 13px; line-height: 19px; color: var(--ink-soft); }
.cat-calc__sticker { position: absolute; right: 6px; top: -46px; width: 122px; pointer-events: none; filter: drop-shadow(3px 0 0 var(--cream)) drop-shadow(-3px 0 0 var(--cream)) drop-shadow(0 3px 0 var(--cream)) drop-shadow(0 -3px 0 var(--cream)) drop-shadow(0 13px 8px rgba(60, 0, 0, .2)); }
.cat-calc__dishes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 16px; margin-top: 13px; }
.cat-dish { display: flex; flex-direction: column; gap: 5px; padding: 14px 14px 13px; border: 1.6px solid var(--card-line); border-radius: 17px; background: var(--white); transition: border-color var(--dur-hover); }
.cat-dish[data-chosen] { border-color: var(--maroon); }
.cat-dish__name { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 15px; line-height: 24px; color: var(--maroon); }
.cat-dish__text { font-size: 13px; line-height: 16px; color: var(--ink-soft); }
.cat-dish__price { font-size: 12px; line-height: 21px; color: #7A4A4C; }
.cat-dish__price b { font-weight: 600; font-size: 13px; color: var(--red); }
.cat-dish__stepper { display: flex; align-items: center; gap: 5px; margin-top: auto; padding-top: 6px; }
/* 30 px buttons, as drawn, with a 44 px area to press */
.cat-dish__step { position: relative; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--maroon); color: var(--cream); font-size: 16px; transition: background-color var(--dur-hover), opacity var(--dur-hover); }
.cat-dish__step::after { content: ""; position: absolute; inset: -7px; }
.cat-dish__step:hover:not(:disabled) { background: var(--maroon-deep); }
.cat-dish__step:disabled { opacity: .3; cursor: default; }
.cat-dish__kg { min-width: 51px; font-weight: 600; font-size: 13px; line-height: 16px; text-align: center; color: #4A0A0E; }
.cat-calc__soon { margin-top: 16px; }
.cat-calc__soon-link { display: inline-flex; align-items: center; gap: 8px; padding-block: 8px; font-weight: 600; font-size: 15px; color: var(--maroon); text-decoration: underline; text-underline-offset: 3px; }
.cat-calc__fine { max-width: 494px; margin-top: 14px; font-size: 12px; line-height: 16px; color: var(--ink-soft); }

.cat-sum { padding: 26px 24px 24px; border-radius: 28px; background: var(--maroon); color: var(--cream); }
.cat-sum__title { font-family: var(--font-serif); font-weight: 400; font-size: 30px; line-height: 1; letter-spacing: .01em; text-transform: uppercase; }
.cat-sum__empty { margin: 13px 0 26px; font-size: 14px; line-height: 22px; opacity: .85; }
.cat-sum__lines { display: grid; gap: 6px; margin: 13px 0 20px; font-size: 14px; line-height: 20px; }
.cat-sum__lines li { display: flex; justify-content: space-between; gap: 12px; }
.cat-sum__lines b { font-weight: 600; white-space: nowrap; }
.cat-sum__figures { margin: 0; }
.cat-sum__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-top: .9px solid rgba(255, 243, 224, .3); font-size: 15px; line-height: 24px; }
.cat-sum__row dt, .cat-sum__row dd { margin: 0; }
.cat-sum__row dd { font-weight: 700; white-space: nowrap; }
.cat-sum__row--off dd { color: var(--gold-light); }
.cat-sum__row--total { align-items: flex-end; padding: 15px 0 6px; border-bottom: .9px solid rgba(255, 243, 224, .3); }
.cat-sum__row--total dt { padding-bottom: 6px; font-family: var(--font-serif); font-size: 14px; line-height: 17px; letter-spacing: .12em; text-transform: uppercase; }
.cat-sum__row--total dd { font-family: var(--font-condensed); font-weight: 400; font-size: clamp(42px, 3.5cqw, 53px); line-height: 1; letter-spacing: .02em; }
/* The discount ladder: a track with a mark for each discount, filled as far as the order's kilos reach */
.cat-sum__ladder { padding-top: 18px; }
.cat-sum__track { position: relative; display: block; height: 11px; border-radius: 91px; background: rgba(255, 243, 224, .2); }
.cat-sum__fill { position: absolute; inset: 0; border-radius: inherit; background: var(--gold-light); clip-path: inset(0 calc(100% - var(--filled, 0%)) 0 0 round 91px); transition: clip-path .3s var(--tap); }
.cat-sum__tiers { position: relative; height: 51px; margin-top: -15.5px; }
.cat-sum__tiers li { position: absolute; top: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; translate: -50% 0; }
.cat-sum__tiers li:nth-child(1) { left: 16.81%; }
.cat-sum__tiers li:nth-child(2) { left: 36.81%; }
.cat-sum__tiers li:nth-child(3) { left: 56.81%; }
.cat-sum__tiers li:nth-child(4) { left: 76.81%; }
.cat-sum__tiers li:nth-child(5) { left: 96.81%; }
.cat-sum__dot { width: 20px; height: 20px; border: 2.8px solid rgba(255, 243, 224, .5); border-radius: 50%; background: var(--maroon-ink); transition: background-color .3s var(--tap), border-color .3s var(--tap); }
.cat-sum__dot[data-reached] { border-color: var(--gold-light); background: var(--gold-light); }
.cat-sum__tiers span { display: grid; font-size: 12px; line-height: 15px; text-align: center; white-space: nowrap; opacity: .85; }
.cat-sum__next { margin-top: 12px; font-size: 13px; line-height: 21px; text-align: center; color: #FFD9A0; }
.cat-sum__request { width: 100%; min-height: 51px; margin-top: 4px; font-size: 15px; }
.cat-sum__clear { display: block; margin: 6px auto 0; padding: 6px 10px; font-weight: 500; font-size: 13px; line-height: 16px; color: var(--cream); opacity: .75; text-decoration: underline; text-underline-offset: 3px; }
.cat-sum__clear:hover { opacity: 1; }

/* ---------- 8. Let's plan something good: the enquiry ---------- */
.cat-enquiry { display: grid; grid-template-columns: minmax(0, 357px) minmax(0, 484px); justify-content: center; align-items: start; column-gap: 45px; padding: 76px var(--gutter) 75px; background: var(--maroon-ink); color: var(--cream); }
.cat-enquiry__copy { padding-top: 30px; }
.cat-enquiry__title { font-family: var(--font-condensed); font-weight: 400; font-size: clamp(46px, 5.03cqw, 76px); line-height: .921; letter-spacing: .005em; text-transform: uppercase; }
.cat-enquiry__title em { font-style: normal; color: var(--red-on-dark); }
.cat-enquiry__lead { max-width: 357px; margin-top: 17px; font-size: 15px; line-height: 24px; }
.cat-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 28px; border: 1.5px solid var(--maroon); border-radius: 25px; background: var(--cream); color: var(--maroon); }
.cat-form__field { display: grid; align-content: start; gap: 5px; }
.cat-form__field--wide { grid-column: 1 / -1; }
.cat-form__label { font-weight: 600; font-size: 12px; line-height: 14px; }
.cat-form__optional { font-weight: 400; }
.cat-form__control { width: 100%; min-height: 45px; padding: 0 13px; border: 1.6px solid var(--field-line); border-radius: 13px; background: var(--white); font: inherit; font-size: 14px; line-height: 21px; color: #4A0A0E; }
.cat-form__control::placeholder { color: #757575; opacity: 1; }
.cat-form__control:user-invalid { border-color: var(--red); }
.cat-form__control--area { min-height: 82px; padding-block: 10px; resize: vertical; }
.cat-form__send { grid-column: 1 / -1; width: 100%; margin-top: 1px; }
.cat-form__status { grid-column: 1 / -1; font-size: 13px; line-height: 19px; color: var(--maroon); }
/* empty, it takes no room, yet stays in the accessibility tree so its message is announced when it comes */
.cat-form__status:empty { position: absolute; }

/* ---------- 9. Bring people together ---------- */
.cat-close { --fw: min(100cqw, 1512px); position: relative; overflow: hidden; padding: 86px var(--gutter) 87px; background: var(--maroon); color: var(--cream); text-align: center; }
.cat-close__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.cat-close__title { font-family: var(--font-condensed); font-weight: 400; font-size: clamp(52px, 6.68cqw, 101px); line-height: .921; letter-spacing: .005em; text-transform: uppercase; }
.cat-close__text { max-width: 410px; padding-bottom: 8px; font-size: 15px; line-height: 24px; opacity: .9; }
/* the two buckets stand at the bottom corners of the Figma's 1512 px frame, cut off by the section's edge */
.cat-close__bucket { position: absolute; bottom: calc(var(--fw) * -.0556); max-width: none; pointer-events: none; }
.cat-close__bucket--mutton { left: calc((100% - var(--fw)) / 2 + var(--fw) * .0245); width: calc(var(--fw) * .33); }
.cat-close__bucket--chicken { left: calc((100% - var(--fw)) / 2 + var(--fw) * .6594); width: calc(var(--fw) * .2963); }

/* ---------- Narrower screens ---------- */
@container page (max-width: 1100px) {
  .cat-reasons { flex-direction: column; align-items: stretch; gap: 56px; min-height: 0; padding-block: 72px; }
  .cat-reasons__copy { flex-basis: auto; max-width: 560px; margin-inline: auto; padding-top: 0; }
  .cat-reasons__figure { flex-basis: auto; width: min(100%, 420px); margin-inline: auto; }
  .cat-reasons__list { margin-left: 0; }
  .cat-reason, .cat-reason[aria-pressed="true"] { width: 100%; }
}
@container page (max-width: 1000px) {
  .cat-calc__body { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  .cat-sum__row--total dd { font-size: 48px; }
}
@container page (max-width: 900px) {
  .cat-plan__steps { grid-template-columns: repeat(2, minmax(0, 220px)); justify-content: center; gap: 56px 48px; }
  .cat-enquiry { grid-template-columns: minmax(0, 560px); row-gap: 40px; }
  .cat-enquiry__copy { padding-top: 0; }
  .cat-enquiry__lead { max-width: 480px; }
}
@container page (max-width: 760px) {
  .cat-proof { flex-direction: column; align-items: center; }
  .cat-proof__events, .cat-proof__order { flex-basis: auto; width: min(100%, 560px); }
  .cat-occasions__list { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
  .cat-card__text { font-size: 16px; }
  .cat-calc__dishes { grid-template-columns: minmax(0, 1fr); }
  /* the sticker stays inside its box here, clear of the tabs above */
  .cat-calc__intro { padding-right: 96px; }
  .cat-calc__sticker { top: 50%; right: 8px; width: 80px; translate: 0 -50%; }
  .cat-form { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  /* a phone zooms into any field whose text is under 16 px */
  .cat-form__control { font-size: 16px; }
  .cat-reasons__caption { font-size: 14px; letter-spacing: .02em; }
  .cat-close { padding-bottom: calc(var(--fw) * .3 + 48px); }
  .cat-close__bucket--mutton { left: -4%; width: 50%; }
  .cat-close__bucket--chicken { left: 56%; width: 46%; }
}
@container page (max-width: 480px) {
  .cat-plan__steps { grid-template-columns: minmax(0, 220px); }
  .cat-hero__actions .ct-btn { padding-inline: 18px; }
}

/* ==========================================================================
   Motion (see the motion notes in site.css: everything hangs off data-motion="on")
   ========================================================================== */

/* Where each piece comes from. Side by side, the two proof cards and the arch come in from their own sides. */
[data-motion="on"] .cat-proof__events { --from-x: -5%; --from-y: 5%; }
[data-motion="on"] .cat-proof__order { --from-x: 5%; --from-y: 5%; }
[data-motion="on"] .cat-reasons__figure { --from-x: 5%; --from-y: 6%; }
[data-motion="on"] .cat-calc__sticker { --from-turn: 14deg; }
[data-motion="on"] .cat-close__bucket--mutton { --from-x: -28%; --from-y: 24%; --from-turn: -10deg; }
[data-motion="on"] .cat-close__bucket--chicken { --from-x: 28%; --from-y: 24%; --from-turn: 10deg; }
@container page (max-width: 1100px) {
  [data-motion="on"] .cat-reasons__figure { --from-x: 0px; --from-y: 8%; }
}
@container page (max-width: 760px) {
  [data-motion="on"] :is(.cat-proof__events, .cat-proof__order) { --from-x: 0px; --from-y: var(--rise); }
}

/* The first dish shows what it holds: once its card has arrived the lid lifts on its back edge, as the dishes on
   Home do, and comes back down with a small bounce. A pointer lifts it again. */
.cat-proof__lid { transform-origin: 88% 100%; }
@media (prefers-reduced-motion: no-preference) {
  .cat-proof__lid { transition: transform var(--dur-enter) var(--ease-out); }
}
@media (hover: hover) {
  .cat-proof__events:hover .cat-proof__lid { transform: translateY(-24%) rotate(-6deg); }
}
[data-motion="on"] .cat-proof__events[data-seen]:not([data-rested]) .cat-proof__lid { animation: lid-peek 2600ms var(--ease-in-out) calc(var(--reveal-start) + var(--reveal-time)) backwards; }
@keyframes lid-peek {
  0%, 100% { transform: none; }
  24%, 60% { transform: translateY(-24%) rotate(-6deg); animation-timing-function: cubic-bezier(.5, 0, .9, .5); }
  78% { transform: translateY(0) rotate(0deg); animation-timing-function: var(--ease-out); }
  86% { transform: translateY(-2.5%) rotate(-.8deg); animation-timing-function: cubic-bezier(.5, 0, .9, .5); }
  93% { transform: translateY(0) rotate(0deg); }
}

/* An occasion's photo settles into its card as the card rises, and its number follows a beat later. The photo
   grows from its foot, where it meets the words: the card's own rounded edge clips the rest, and nothing has to
   clip the photo's box (a clip there would redraw the fraction of a pixel its foot stands on). */
.cat-card__photo img { transform-origin: 50% 100%; }
[data-motion="on"] .cat-card__photo img { --from-scale: 1.08; }
[data-motion="on"] .cat-card[data-seen]:not([data-rested]) .cat-card__photo img { animation: ease-back calc(var(--reveal-time) * 1.6) var(--ease-out) var(--reveal-start) backwards; }
[data-motion="on"] .cat-card[data-seen]:not([data-rested]) .cat-card__num { animation: enter var(--dur-enter) var(--ease-out) calc(var(--reveal-start) + 240ms) backwards; }

/* A reason that is chosen grows into its place, and the one before it draws back: the box changes width at once,
   and a short stretch from the left carries the eye across the difference (475 to 503 px). */
[data-motion="on"] .cat-reason { transform-origin: 0 50%; }
[data-motion="on"] .cat-reason[data-nudged="chosen"] { animation: reason-on .3s var(--tap); }
[data-motion="on"] .cat-reason[data-nudged="left"] { animation: reason-off .3s var(--tap); }
@keyframes reason-on { from { transform: scaleX(.944); } }
@keyframes reason-off { from { transform: scaleX(1.059); } }
@container page (max-width: 1100px) {
  /* there every reason is as wide as the list, chosen or not */
  [data-motion="on"] .cat-reason[data-nudged] { animation: none; }
}

/* Each step's number lands on its arch after the step has risen */
[data-motion="on"] .cat-step[data-seen]:not([data-rested]) .cat-step__num { animation: grow var(--dur-short) var(--ease-overshoot) calc(var(--reveal-start) + 250ms) backwards; }

/* The total answers every change of the order with a small swell (bump, in site.css), from its own right edge */
[data-motion="on"] .cat-sum__total { transform-origin: 100% 60%; }

/* ---------- Motion: hover and press ---------- */
.cat-calc__tab { transition: background-color var(--dur-hover), color var(--dur-hover), transform var(--dur-hover) var(--ease-out); }
.cat-form__control { transition: border-color var(--dur-hover), box-shadow var(--dur-hover); }
@media (prefers-reduced-motion: no-preference) {
  .cat-card__photo img { transition: transform var(--dur-enter) var(--ease-out); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .ct-btn:hover { transform: translateY(-2px); }
  .ct-btn .icon { transition: transform var(--dur-hover) var(--ease-out); }
  .ct-btn:hover .icon { transform: translateX(4px); }
  .cat-card:hover .cat-card__photo img { transform: scale(1.04); }
  .cat-calc__soon-link .icon { transition: transform var(--dur-hover) var(--ease-out); }
  .cat-calc__soon-link:hover .icon { transform: translateX(4px); }
}
@media (prefers-reduced-motion: no-preference) {
  .ct-btn:active, .cat-dish__step:active:not(:disabled) { transform: scale(.96); transition-duration: var(--dur-press); }
  .cat-calc__tab:active { transform: scale(.97); transition-duration: var(--dur-press); }
}
