/* SS Bucket Biryani website: The Bucket. 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. */

.the-bucket {
  --gold-light: #F2C46B;
  --ink-copy: #3B0A0D;
  --ink-soft: #5A2A2C;
  --card-line: #ECD2AB;
  --red-on-deep: #C9061F;   /* the red for small text on the deeper cream: 4.8:1, where the site's red is 4.1:1 */
  /* The gold of the opening's second line, spread over its two lines (one is drawn from the top, one from the bottom) */
  --gold-lines: linear-gradient(176.6deg, #997022 -36.7%, #C89D4A -14.4%, #FFD179 1.6%, #FFDB94 20.7%, #FFBB38 38.3%, #F4B336 62.2%, #FFD27C 78.1%, #E1A532 100.5%, #997022 122.8%);
  /* Most sections set their content in the Figma's 885 px column */
  --column: max(var(--gutter), (100% - 885px) / 2);
}
.the-bucket :is(.pack__face, .pack__back)[hidden] { display: none; }

/* ---------- Shared pieces ---------- */
.bk-eyebrow { font-family: var(--font-serif); font-size: 12px; line-height: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.bk-title { font-family: var(--font-condensed); font-weight: 400; font-size: clamp(46px, 5.03cqw, 76px); line-height: .921; text-transform: uppercase; color: var(--maroon); }
.bk-lead { max-width: 472px; font-size: 15px; line-height: 24px; color: var(--ink-copy); }
.bk-fine { font-size: 12px; line-height: 18px; text-align: center; }
.bk-quote { margin: 0; padding-left: 14px; border-left: 3px solid var(--gold-light); font-family: var(--font-serif); }

.bk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 1.6px solid transparent; border-radius: var(--radius-pill); font-weight: 500; font-size: 13.4px; line-height: 17px; white-space: nowrap; text-decoration: none; transition: background-color var(--dur-hover), box-shadow var(--dur-hover), transform var(--dur-hover) var(--ease-out); }
.bk-btn .icon { font-size: 15px; }
.bk-btn--cream { background: var(--cream); color: var(--maroon); }
.bk-btn--line { border-color: var(--cream); color: var(--cream); }
.bk-btn--red { background: var(--red); color: var(--cream); }
.bk-btn--red:hover { background: #C8061F; }
/* Gold carries maroon words: the Figma's cream on gold reads at 1.3:1 */
.bk-btn--gold { background: var(--gold); color: var(--maroon-deep); }
.bk-btn:hover { box-shadow: 0 8px 17px rgba(0, 0, 0, .28); }

/* ---------- 1. The opening: not packaging, a philosophy with a handle ---------- */
.bucket-hero {
  --fw: min(100cqw, 1512px);   /* the Figma's frame: the page's width, up to 1512 px */
  position: relative; overflow: hidden; color: var(--cream);
  background: radial-gradient(circle calc(var(--fw) * .754) at calc((100% - var(--fw)) / 2 + var(--fw) * .68) calc(var(--fw) * .325), #FF3355 0%, #ED0028 26%, #A30A1B 62%, #5A0610 100%);
}
.bucket-hero__frame { position: relative; max-width: 1512px; min-height: calc(var(--fw) * .625); margin-inline: auto; padding: calc(var(--fw) * .1343) 0 calc(var(--fw) * .06) calc(var(--fw) * .1098); }
.bucket-hero__copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; width: max(29.9cqw, 380px); }
.bucket-hero__title { margin-top: 9px; padding-top: 2px; font-family: var(--font-condensed); font-weight: 400; font-size: clamp(56px, 6.68cqw, 101px); line-height: .921; text-transform: uppercase; color: var(--cream); }
.bucket-hero__gold { display: block; font-style: normal; }
.bucket-hero__gold-line { background: var(--gold-lines) 0 0 / 100% 200%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.bucket-hero__gold-line + .bucket-hero__gold-line { background-position: 0 100%; }
.bucket-hero__eyebrow { color: var(--gold-light); }
.bucket-hero__text { max-width: 410px; margin-top: 9px; font-size: 15px; line-height: 24px; }
.bucket-hero__title + .bucket-hero__text { margin-top: 17px; }
.bucket-hero__actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 25px; }

/* The art is laid out in its own box (the Figma's bucket, track and astronaut, 944.5 × 829 from x 567.5, y 116), so
   it keeps its shape wherever the box goes */
.bucket-hero__art { position: absolute; left: calc((100% - var(--fw)) / 2 + var(--fw) * .3753); top: calc(var(--fw) * .0767); width: calc(var(--fw) * .6247); aspect-ratio: 944.5 / 829; container-type: inline-size; }
.bucket-hero__art > img { position: absolute; max-width: none; }
.bucket-hero__arch { left: 19.96%; top: 5.82cqw; width: 74.01%; }
.bucket-hero__bucket { z-index: 1; left: 9%; top: 9cqw; width: 43.41%; rotate: 45deg; filter: drop-shadow(0 23px 25px rgba(0, 0, 0, .5)); }
/* The astronaut waits below the opening and flies up into the arch when the opening is pointed at (the Figma's
   hover state, 0.6 s). It is turned about its own top left corner, as in the Figma. */
.bucket-hero__astronaut { left: 25.15%; top: 37.42cqw; width: 75.49%; transform-origin: 0 0; rotate: -15.55deg; translate: 54.42% 66.06%; }
@media (hover: hover) {
  .bucket-hero:is(:hover, :focus-within) .bucket-hero__astronaut { translate: 0 0; }
}
/* Without a pointer to hover with, the astronaut never comes, so it is not even fetched */
@media (hover: none) {
  .bucket-hero__astronaut { display: none; }
}

/* ---------- 2. One feast, not fifteen packets ---------- */
.bucket-story { display: flex; align-items: center; justify-content: center; gap: clamp(40px, 5.62cqw, 85px); min-height: 937px; padding: 76px var(--gutter); background: var(--cream); }
.bucket-story__copy { flex: 0 1 492px; min-height: 711px; display: flex; flex-direction: column; align-items: flex-start; }
.bucket-story__title { margin-top: 12px; }
.bucket-story__big { max-width: 390px; margin-top: 17px; font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 34px; color: var(--maroon); }
.bucket-story__text { display: grid; gap: 8px; max-width: 460px; margin-top: 17px; font-size: 16px; line-height: 24px; color: var(--ink-copy); }
.bucket-story__quote { max-width: 347px; margin-top: 15px; font-size: 17px; line-height: 22px; color: var(--red); }
.bucket-story .bk-btn { margin-top: 19px; }
.bucket-story__art { display: flex; align-items: center; gap: 25px; }

/* The card of packets: in the Figma's prototype the packets slide away and one bucket takes their place. Its own
   width is the unit for what is inside it, so the card keeps its picture at any size. */
.packets { position: relative; flex: none; width: clamp(280px, 26.8cqw, 405px); aspect-ratio: 1; overflow: hidden; container-type: inline-size; border-radius: 25px; background: radial-gradient(94.3% 70.6% at 50% 40%, #A30A1B 0%, #7E0D12 100%); }
.packets__pile { position: absolute; inset: 0; }
.packets__one { position: absolute; max-width: none; transform-origin: 0 0; }
.packets__one--packets { width: 18.96%; }
.packets__one--packet { width: 16.3%; }
.packets__bucket { position: absolute; left: 19.5%; top: 17.28%; width: 65.43%; }
.packets__one-big { position: absolute; left: 2.47%; top: 22.72%; font-family: var(--font-display); font-weight: 400; font-size: 74.07cqw; line-height: 68.64cqw; background: linear-gradient(180deg, #997022 0%, #E1A532 14%, #FFD27C 28%, #F4B336 38%, #FFBB38 53%, #FFDB94 64%, #FFD179 76%, #C89D4A 86%, #997022 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.packets__fits, .packets__bucket-word { position: absolute; left: 0; right: 0; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 8.89cqw; line-height: 1; letter-spacing: .3em; text-indent: .3em; text-transform: uppercase; color: var(--cream); font-synthesis: none; }
.packets__fits { top: 6.42%; }
.packets__bucket-word { top: 86.9%; }
/* Only the packets belong to the still design */
.packets__bucket, .packets__one-big, .packets__fits, .packets__bucket-word { opacity: 0; }

.bucket-story__photo { position: relative; flex: none; width: clamp(200px, 18.12cqw, 274px); aspect-ratio: 274 / 299; margin: 0; overflow: hidden; border-radius: 22px; background: var(--maroon); }
.bucket-story__photo img { width: 100%; height: 100% !important; object-fit: cover; }
.bucket-story__photo figcaption { position: absolute; left: 50%; bottom: 11px; width: min(191px, calc(100% - 24px)); translate: -50% 0; padding: 8px 13px; border-radius: var(--radius-pill); background: var(--cream); font-family: var(--font-serif); font-size: 12px; line-height: 14px; letter-spacing: .08em; text-transform: uppercase; text-align: center; color: var(--maroon); }

/* ---------- 3. Everything that makes it a feast ---------- */
.feast { padding: 76px var(--column) 84px; background: var(--maroon-ink); color: var(--cream); }
.feast__eyebrow { color: #FF6B83; }
.feast .bk-title { margin-top: 12px; color: var(--cream); }
.feast__lead { margin-top: 15px; color: var(--cream); }
/* The bucket and its sides, placed in % of the Figma's 772 × 622 stage (the water reaches below its 509 px box) */
.feast__stage { position: relative; width: min(772px, 100%); aspect-ratio: 772 / 622; margin: 39px auto 0; }
.feast__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.feast__line path { fill: none; stroke: rgba(255, 243, 224, .4); stroke-width: 1.6; stroke-dasharray: 4 5; transition: stroke var(--dur-hover); }
.feast__line circle { fill: rgba(255, 243, 224, .6); transition: fill var(--dur-hover); }
.feast__line[data-on] path { stroke: var(--gold-light); }
.feast__line[data-on] circle { fill: var(--gold-light); }
.feast__bucket, .feast__dish { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 5px; color: inherit; }
.feast__bucket { left: 32%; top: 21.29%; width: 35.98%; }
.feast__bucket img { width: 100%; filter: drop-shadow(0 19px 19px rgba(0, 0, 0, .5)); }
.feast__dish { width: 17%; }
.feast__dish img { max-width: none; }
.feast__dish--raitha { left: 8.5%; top: 10.06%; }
.feast__dish--raitha img { width: 100.6%; }
.feast__dish--chicken65 { left: 74.48%; top: 10.79%; }
.feast__dish--chicken65 img { width: 121.2%; }
.feast__dish--brinjal { left: 4.49%; top: 52.04%; }
.feast__dish--brinjal img { width: 101.4%; }
.feast__dish--sweet { left: 78.47%; top: 51.24%; }
.feast__dish--sweet img { width: 93%; }
.feast__dish--water { left: 41.49%; top: 76.95%; }
.feast__dish--water img { width: 93.75%; }
.feast__label { font-family: var(--font-serif); font-size: 12px; line-height: 14px; letter-spacing: .1em; text-transform: uppercase; text-align: center; white-space: nowrap; transition: color var(--dur-hover); }
.feast__label--top { position: absolute; left: 50%; bottom: 134.5%; width: 157px; translate: -50% 0; padding: 0 14px; font-size: 15px; line-height: 18px; white-space: normal; color: var(--gold-light); }
.feast__dish[aria-pressed="true"] .feast__label { color: var(--gold-light); }
/* Pointed at or focused, a dish comes forward (the Figma's hover state) */
.feast__dish img, .feast__bucket img { transition: scale .3s var(--tap); }
@media (hover: hover) {
  .feast__dish:hover img { scale: 1.28; }
  .feast__bucket:hover img { scale: 1.12; }
}
.feast__dish:focus-visible img { scale: 1.28; }
.feast__bucket:focus-visible img { scale: 1.12; }
.feast__dish:focus-visible, .feast__bucket:focus-visible { outline: none; box-shadow: none; }
.feast__dish:focus-visible .feast__label, .feast__bucket:focus-visible .feast__label { outline: 3px solid var(--gold-solid); outline-offset: 3px; border-radius: 3px; }
.feast__foot { display: flex; flex-direction: column; align-items: center; gap: 17px; margin-top: 56px; text-align: center; }
.feast__detail { max-width: 504px; padding-bottom: 9px; }
.feast__name { font-family: var(--font-serif); font-weight: 400; font-size: 24px; line-height: 27px; color: var(--gold-light); }
.feast__about { margin-top: 5px; padding-bottom: 1px; font-size: 14px; line-height: 23px; }
.feast__fine { color: #D6B9AD; }

/* ---------- 4. The packs ---------- */
.packs { padding: 76px var(--column); background: var(--cream-deep); }
.packs .bk-eyebrow { color: var(--red-on-deep); }
.packs .bk-title { margin-top: 12px; }
.packs__lead { margin-top: 15px; }
/* Two cards, then three, each row centred: six columns, a card spans two */
.packs__list { display: grid; grid-template-columns: repeat(6, 120px); gap: 45px 35px; justify-content: center; margin-top: 12px; }
.pack { grid-column: span 2; display: flex; flex-direction: column; min-height: 493px; overflow: hidden; border: 1px solid var(--card-line); border-radius: 25px; background: var(--white); }
.pack--executive { grid-column: 2 / span 2; }
.pack--smile { grid-column: 4 / span 2; }
.pack__face, .pack__back { display: flex; flex-direction: column; flex: 1; }
.pack__art { position: relative; flex: none; height: 273px; overflow: hidden; }
.pack--executive .pack__art { background: var(--red); }
.pack--smile .pack__art { background: linear-gradient(180deg, #B10911 35%, #4B0407 100%); }
.pack--smart .pack__art { height: 252px; background: var(--maroon); }
.pack--super .pack__art { background: #4D0A10; }
.pack--standard .pack__art { background: var(--maroon-ink); }
.pack__arch { position: absolute; left: 32.8px; width: 207.5px; height: 234.8px; border: .8px solid rgba(255, 243, 224, .9); border-bottom: 0; border-radius: 999px 999px 0 0; }
.pack--executive .pack__arch { top: 48.2px; }
.pack--smile .pack__arch, .pack--super .pack__arch { top: 158.2px; }
.pack--smart .pack__arch { top: 155.3px; height: 216.7px; }
.pack--standard .pack__arch { top: 138.3px; }
.pack__shadow { position: absolute; border-radius: 50%; background: var(--maroon-ink); filter: blur(2px); }
.pack--smile .pack__shadow { left: 87.5px; top: 199.5px; width: 103.3px; height: 43.4px; }
.pack--smart .pack__shadow { left: 79.3px; top: 180.5px; width: 116.2px; height: 49.2px; }
.pack--super .pack__shadow { left: 63.6px; top: 181.7px; width: 145.8px; height: 70.5px; }
.pack--standard .pack__shadow { left: 52px; top: 184px; width: 169px; height: 82px; background: #0D0D0D; filter: blur(3.5px); }
.pack__img { position: absolute; max-width: none; }
.pack--executive .pack__img { left: 5.7px; top: 27.2px; width: 260.8px; }
.pack--smile .pack__img { left: 67.6px; top: 86px; width: 143.2px; }
.pack--smart .pack__img { left: -28px; top: -21.7px; width: 328.5px; }
.pack--super .pack__img { left: 4.5px; top: 14px; width: 262.1px; }
.pack--standard .pack__img { left: 12px; top: 14px; width: 247px; }
.pack__num { position: absolute; left: 14px; top: 13px; font-family: var(--font-condensed); font-size: 27px; line-height: 25px; color: var(--gold-light); }
.pack__body { display: flex; flex-direction: column; flex: 1; padding: 14px; }
.pack__name { font-family: var(--font-condensed); font-weight: 400; font-size: 27px; line-height: 25px; text-transform: uppercase; color: var(--maroon); }
.pack__line { max-width: 232px; margin-top: 5px; font-size: 12px; line-height: 17px; color: var(--ink-soft); }
.pack__chip { display: flex; align-items: center; min-height: 30px; margin-top: 10px; padding: 0 8px; border-radius: 8px; background: var(--cream); font-size: 12px; line-height: 16px; color: var(--maroon); }
.pack__more { justify-content: space-between; margin-top: 5px; text-align: left; transition: background-color var(--dur-hover); }
.pack__more:hover { background: #FCE7C8; }
.pack__more .icon { font-size: 13px; color: var(--red); fill-rule: evenodd; }
.pack__order { justify-content: flex-start; margin-top: auto; min-height: 41px; padding-left: 18px; font-size: 12px; }
.pack__chip + .pack__order { margin-top: 10px; }
/* The other side of the card: what the bucket holds */
.pack__contents { position: absolute; left: 0; bottom: 72px; width: 100%; }
.pack--smart .pack__contents { bottom: 56px; }
.pack__return { position: absolute; z-index: 1; left: 7px; top: 7px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--gold-light); }
.pack__return .icon { font-size: 25px; rotate: 180deg; fill-rule: evenodd; }
.pack__return:hover { color: var(--cream); }
.pack__items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 10px; margin-top: 8px; font-size: 12px; line-height: 17px; color: var(--ink-soft); }
.pack__items li { position: relative; padding-left: 10px; }
.pack__items li::before { content: ""; position: absolute; left: 0; top: 7px; width: 4px; height: 4px; border-radius: 50%; background: var(--red); }
.pack__back .pack__order { margin-top: auto; }
.packs__fine { margin-top: 24px; color: #6B4446; }

/* ---------- 5. Not printed, not pasted: carved ---------- */
.carved { display: flex; align-items: flex-start; justify-content: center; gap: 50px; min-height: 853px; padding: 99px var(--gutter) 87px; background: linear-gradient(175.2deg, #7E0D12 25.7%, #E8002A 121.3%); color: var(--cream); }
.carved__copy { flex: 0 1 435px; margin-top: 67px; display: flex; flex-direction: column; align-items: flex-start; }
.carved__eyebrow { color: var(--gold-light); }
.carved .bk-title { margin-top: 12px; color: var(--cream); }
.carved__text { display: grid; gap: 10px; max-width: 410px; margin-top: 21px; font-size: 14px; line-height: 22px; }
.carved__quote { margin-top: 27px; font-size: 24px; line-height: 30px; color: var(--cream-deep); }
.carved__action { align-self: stretch; min-height: 43px; margin-top: 20px; font-size: 14px; }
.carved__compare { flex: 0 1 665px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.carved__subtitle { margin-top: 13px; font-family: var(--font-condensed); font-weight: 400; font-size: clamp(40px, 3.64cqw, 55px); line-height: .927; text-transform: uppercase; }

/* The comparison: the original on the left of the line, the copy on the right. A range input covers it, so a
   drag, a tap, a key or a screen reader all move the same line. */
.compare { --split: 53%; position: relative; container-type: inline-size; width: 100%; aspect-ratio: 665 / 388; margin-top: 12px; overflow: hidden; border: 2.5px solid var(--cream); border-radius: 25px; background: #D9D9D9; }
.compare > img, .compare__original img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; }
.compare__original { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--split) - var(--swing, 0) * 1%) 0 0); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--split); width: 2px; margin-left: -1px; background: var(--cream); pointer-events: none; }
.compare__knob { position: absolute; left: 50%; top: 47%; display: grid; place-items: center; width: 36px; height: 36px; translate: -50% -50%; border: 1.5px solid var(--cream); border-radius: 50%; background: var(--red); color: var(--white); font-size: 22px; }
.compare__tag { position: absolute; bottom: 16px; padding: 5px 13px; border-radius: var(--radius-pill); background: var(--cream); box-shadow: 0 5px 11px rgba(0, 0, 0, .25); font-weight: 500; font-size: 12px; line-height: 15px; color: var(--maroon); pointer-events: none; }
.compare__tag--original { left: 16px; }
.compare__tag--copy { right: 15px; }
.compare__range { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; touch-action: pan-y; }
.compare__range::-webkit-slider-thumb { -webkit-appearance: none; width: 2px; height: 388px; }
.compare__range::-moz-range-thumb { width: 2px; height: 388px; border: 0; }
.compare:has(.compare__range:focus-visible) .compare__knob { outline: 3px solid var(--gold-solid); outline-offset: 3px; box-shadow: 0 0 0 3px var(--maroon-ink); }
.carved__hint { margin-top: 14px; font-size: 14px; line-height: 21px; opacity: .95; }

/* ---------- 6. Look closer ---------- */
.closer { padding: 67px var(--gutter) 153px; background: linear-gradient(152.6deg, #7E0D12 0%, #2A0508 100%); color: var(--cream); text-align: center; }
.closer__eyebrow { color: var(--gold-light); }
.closer__title { margin-top: 25px; font-family: var(--font-condensed); font-weight: 400; font-size: clamp(40px, 3.64cqw, 55px); line-height: .927; text-transform: uppercase; }
.closer__card { position: relative; width: min(540px, 100%); aspect-ratio: 540 / 498; margin: 25px auto 0; border-radius: 27px; background: var(--red); box-shadow: 0 22px 39px rgba(0, 0, 0, .5); }
.closer__img { position: absolute; inset: 0; width: 100%; height: 100% !important; border-radius: inherit; object-fit: cover; }
.closer__card::after { content: ""; position: absolute; inset: 0; border: 2.5px solid var(--cream); border-radius: inherit; pointer-events: none; }
/* A detail: a ring round a small "+" (the Figma's 0.79 scale), with its label beside it */
.spot { position: absolute; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; }
.spot::before { content: ""; position: absolute; inset: 5.5px; border: 2px solid var(--cream); border-radius: 50%; }
.spot__plus { display: grid; place-items: center; width: 22.4px; height: 20.5px; border-radius: 10px; background: var(--cream); font-weight: 700; font-size: 14px; line-height: 1; color: var(--red); transition: scale var(--dur-hover) var(--ease-out); }
.spot__tip { position: absolute; top: 50%; left: calc(50% + 15px); translate: 0 -50%; padding: 5px 10px; border-radius: var(--radius-pill); background: var(--cream); box-shadow: 0 5px 11px rgba(0, 0, 0, .3); font-weight: 600; font-size: 12px; line-height: 16px; white-space: nowrap; color: var(--maroon); opacity: 0; pointer-events: none; transition: opacity var(--dur-hover), translate var(--dur-hover) var(--ease-out); }
.spot--left .spot__tip { left: auto; right: calc(50% + 15px); }
.spot:is(:focus-visible, [data-open]) .spot__tip { opacity: 1; }
@media (hover: hover) {
  .spot:hover .spot__tip { opacity: 1; }
  .spot:hover .spot__plus { scale: 1.12; }
}
.closer__text { display: grid; gap: 25px; max-width: 665px; margin: 25px auto 0; font-size: 14px; line-height: 21px; opacity: .95; }
.closer__text p { padding-bottom: 1px; }

/* ---------- 7. Wherever people gather ---------- */
.gather { padding: 76px var(--column); background: var(--cream); }
.gather .bk-title { margin-top: 12px; }
.gather__lead { margin-top: 15px; }
.gather__body { display: flex; align-items: center; gap: 38px; margin: 11px -28px 0 0; }
.gather__photos { position: relative; flex: 0 1 487px; aspect-ratio: 487 / 430; overflow: hidden; border-radius: 15px; background: var(--cream-deep); }
/* An occasion's photo is only fetched once someone reaches for its tab (data-shown), then fades in over the last */
.gather__photo { position: absolute; inset: 0; display: none; width: 100%; height: 100% !important; object-fit: cover; opacity: 0; transition: opacity .3s var(--tap); }
.gather__photo:is([data-on], [data-shown]) { display: block; }
.gather__photo[data-on] { z-index: 1; opacity: 1; }
.gather__panel { flex: 0 1 388px; display: flex; flex-direction: column; align-items: flex-start; }
.gather__name { font-family: var(--font-condensed); font-weight: 400; font-size: 41px; line-height: 41px; text-transform: uppercase; color: var(--maroon); }
.gather__line { max-width: 335px; margin-top: 5px; font-size: 14px; line-height: 24px; color: var(--ink-copy); }
.gather__action { margin-top: 8px; }
.gather__tabs { display: grid; gap: 10px; align-self: stretch; margin-top: 24px; }
.gather__tab { display: flex; align-items: center; gap: 11px; min-height: 40px; padding: 0 13px; border: 1.6px solid transparent; border-radius: 8px; background: var(--white); font-family: var(--font-display); font-size: 15px; line-height: 18px; text-align: left; color: var(--maroon); transition: background-color .3s var(--tap), border-color .3s var(--tap), color .3s var(--tap); }
.gather__tab:hover { border-color: rgba(126, 13, 18, .25); }
.gather__tab[aria-pressed="true"] { border-color: var(--maroon); background: var(--maroon); color: var(--cream); }
.gather__num { flex: none; width: 27px; font-family: var(--font-condensed); font-size: 22px; line-height: 20px; color: var(--red); transition: color .3s var(--tap); }
.gather__tab[aria-pressed="true"] .gather__num { color: var(--gold-light); }

/* ---------- 8. The best part ---------- */
.bucket-end { padding: 86px var(--gutter) 87px; background: linear-gradient(180deg, #D4041B 9%, #310105 100%); color: var(--cream); text-align: center; }
.bucket-end__title { font-family: var(--font-condensed); font-weight: 400; font-size: clamp(56px, 7.8cqw, 118px); line-height: .924; text-transform: uppercase; }
.bucket-end__text { max-width: 410px; margin: 17px auto 0; padding-bottom: 1px; font-size: 16px; line-height: 25px; }
.bucket-end__text + .bucket-end__text { margin-top: 18px; }
.bucket-end__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 11px; margin-top: 25px; }
.bucket-end__tag { margin-top: 34px; font-family: var(--font-serif); font-size: 14px; line-height: 18px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); }

/* ---------- Narrower screens ---------- */
@container page (max-width: 1280px) {
  .bucket-story__copy { flex-basis: 440px; }
  .carved { gap: 40px; }
}
@container page (max-width: 1100px) {
  /* The opening stacks: the words, then the bucket on its track, cut off at the bottom like the desktop's */
  .bucket-hero__frame { display: flex; flex-direction: column; min-height: 0; padding: clamp(112px, 15cqw, 150px) var(--gutter) 0; }
  .bucket-hero__copy { width: min(100%, 560px); }
  .bucket-hero__art { order: 1; position: relative; left: auto; top: auto; align-self: center; width: min(100%, 640px); margin-top: 24px; aspect-ratio: 944.5 / 680; overflow: hidden; }
  .bucket-hero { background: radial-gradient(circle min(100cqw, 900px) at 62% 72%, #FF3355 0%, #ED0028 26%, #A30A1B 62%, #5A0610 100%); }
  /* Here the outline button lies over the brightest red: a faint dark fill keeps its words at 4.5:1 */
  .bucket-hero .bk-btn--line { background: rgba(44, 7, 7, .25); }
  .bucket-story { flex-direction: column; align-items: stretch; gap: 48px; min-height: 0; padding-block: 72px; }
  .bucket-story__copy { flex-basis: auto; max-width: 600px; min-height: 0; }
  .bucket-story__art { justify-content: center; }
  .packets { width: min(405px, 54cqw); }
  .bucket-story__photo { width: min(274px, 36cqw); }
  .carved { flex-direction: column; align-items: stretch; gap: 56px; min-height: 0; padding-block: 72px; }
  .carved__copy { flex-basis: auto; max-width: 560px; margin-top: 0; }
  .carved__compare { flex-basis: auto; width: min(100%, 665px); margin-inline: auto; }
  .closer { padding-bottom: 96px; }
}
@container page (max-width: 1000px) {
  .packs__list { grid-template-columns: repeat(4, 120px); }
  .pack--executive { grid-column: 1 / span 2; }
  .pack--smile { grid-column: 3 / span 2; }
  .pack--standard { grid-column: 2 / span 2; }
  .gather__body { flex-direction: column; align-items: stretch; gap: 32px; margin-right: 0; }
  .gather__photos { flex-basis: auto; width: min(100%, 600px); }
  .gather__panel { flex-basis: auto; max-width: 600px; }
}
@container page (max-width: 760px) {
  .bk-br { display: none; }
  .bucket-hero__title { font-size: clamp(56px, 15cqw, 80px); }
  .bucket-hero__copy { width: 100%; }
  .bucket-hero__art { width: calc(100% + 2 * var(--gutter)); max-width: none; margin-top: 8px; }
  /* The sides' names may take two lines, so the outer ones stay on the screen */
  .feast__label { width: max-content; max-width: 96px; white-space: normal; }
  /* the biryani's name over the bucket keeps to two lines, clear of the words above the stage */
  .feast__label--top { width: 220px; max-width: none; }
  /* Two tags side by side would meet on a narrow photo: the original's moves to the top */
  .compare__tag--original { top: 12px; bottom: auto; }
  .bucket-story__art { flex-direction: column; align-items: center; gap: 24px; }
  .packets { width: min(405px, 100%); }
  .bucket-story__photo { width: min(274px, 76%); }
  .bucket-story__big { font-size: 24px; line-height: 30px; }
  .packs__list { grid-template-columns: repeat(2, 120px); }
  .pack--executive, .pack--smile, .pack--standard { grid-column: span 2; }
  .gather__name { font-size: 34px; line-height: 36px; }
  .bucket-end__title { font-size: clamp(48px, 13.5cqw, 72px); }
  .feast__stage { width: calc(100% + 2 * var(--gutter) - 8px); margin-inline: calc(4px - var(--gutter)); }
}
@container page (max-width: 400px) {
  .bk-btn { padding-inline: 18px; }
  .carved__quote { font-size: 21px; line-height: 27px; }
}

/* ==========================================================================
   Motion (see the motion notes in site.css: everything hangs off data-motion="on")
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .bucket-hero__astronaut { transition: translate .6s var(--tap); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .bk-btn:hover { transform: translateY(-2px); }
  .bk-btn .icon { transition: transform var(--dur-hover) var(--ease-out); }
  .bk-btn:hover .icon { transform: translateX(4px); }
  .pack__img { transition: translate var(--dur-enter) var(--ease-out), scale var(--dur-enter) var(--ease-out); }
  .pack:hover .pack__face .pack__img { translate: 0 -6px; scale: 1.03; }
}
@media (prefers-reduced-motion: no-preference) {
  .bk-btn:active { transform: scale(.97); transition-duration: var(--dur-press); }
}

/* New entrances: the dishes burst out of the bucket, and their lines open out from it */
[data-motion="on"] [data-reveal="burst"] { --from-scale: .35; --reveal-time: var(--dur-long); }
[data-motion="on"] [data-reveal="trace-lines"] { --reveal: radiate; --reveal-time: var(--dur-long); --reveal-ease: var(--ease-in-out); --reveal-wait: 200ms; }
@keyframes radiate { from { clip-path: circle(0 at 50% 44%); } to { clip-path: circle(80% at 50% 44%); } }

/* Where each piece comes from */
[data-motion="on"] .bucket-hero__bucket { --from-x: 28%; --from-y: -24%; --from-turn: -50deg; }
[data-motion="on"] .packets { --from-y: 10%; }
[data-motion="on"] .bucket-story__photo { --from-x: 14%; }
[data-motion="on"] .feast__bucket { --from-y: 6%; --from-scale: .85; }
/* each side starts at the bucket's centre: the gap to it, in its own width and height */
[data-motion="on"] .feast__dish--raitha { --from-x: 194%; --from-y: 105%; }
[data-motion="on"] .feast__dish--chicken65 { --from-x: -194%; --from-y: 112%; }
[data-motion="on"] .feast__dish--brinjal { --from-x: 218%; --from-y: -89%; }
[data-motion="on"] .feast__dish--sweet { --from-x: -218%; --from-y: -83%; }
[data-motion="on"] .feast__dish--water { --from-y: -192%; }
[data-motion="on"] .compare { --from-y: 6%; }
[data-motion="on"] .closer__card { --from-y: 8%; --from-scale: .96; }
[data-motion="on"] .gather__photos { --from-x: -6%; }

/* The bucket on its track and the one at the feast's centre float while their section is on screen */
[data-motion="on"] .bucket-hero[data-live] .bucket-hero__bucket[data-seen] { animation: var(--entrance), float var(--breath) var(--ease-in-out) calc(var(--reveal-start) + var(--reveal-time)) infinite; }
[data-motion="on"] .bucket-hero__bucket { --float-turn: 48deg; --float-rise: -10px; }
[data-motion="on"] .feast[data-live] .feast__bucket[data-seen] img { animation: float var(--breath) var(--ease-in-out) var(--dur-long) infinite; }
[data-motion="on"] .feast__bucket img { --float-turn: -1.5deg; --float-rise: -8px; }

/* The packets card plays the Figma's prototype on its own: the packets slide away, one bucket drops in, "all fits in
   one bucket" slides across, and the packets come back. Each turn starts and ends on the still design. */
[data-motion="on"] .bucket-story[data-live] .packets[data-seen] .packets__pile { animation: packets-away 12s linear 1.4s infinite; }
[data-motion="on"] .bucket-story[data-live] .packets[data-seen] .packets__bucket { animation: packets-bucket 12s linear 1.4s infinite; }
[data-motion="on"] .bucket-story[data-live] .packets[data-seen] :is(.packets__one-big, .packets__fits, .packets__bucket-word) { animation: packets-words 12s linear 1.4s infinite; }
@keyframes packets-away {
  0%, 22% { translate: 0 0; animation-timing-function: cubic-bezier(.55, 0, .85, .45); }
  29%, 86% { translate: 0 105%; animation-timing-function: var(--ease-out); }
  94%, 100% { translate: 0 0; }
}
@keyframes packets-bucket {
  0%, 29% { opacity: 0; scale: .7; animation-timing-function: var(--ease-overshoot); }
  35%, 80% { opacity: 1; scale: 1; animation-timing-function: var(--ease-in-out); }
  86%, 100% { opacity: 0; scale: .92; }
}
@keyframes packets-words {
  0%, 35% { opacity: 0; translate: 89cqw 0; animation-timing-function: var(--ease-out); }
  42%, 80% { opacity: 1; translate: 0 0; animation-timing-function: var(--ease-in-out); }
  86%, 100% { opacity: 0; translate: 0 0; }
}

/* After it arrives, the comparison line swings once each way, to show it moves. A visitor's own move stops it.
   The swing is --swing, in hundredths of the comparison's width: it widens and narrows the original's clip and
   carries the handle by a transform (cqi, the comparison's own width), so nothing is laid out while it plays. */
@property --swing { syntax: "<number>"; inherits: true; initial-value: 0; }
[data-motion="on"] .compare[data-seen]:not([data-moved], [data-rested]) { animation: var(--entrance), compare-hint 2.2s var(--ease-in-out) calc(var(--reveal-start) + var(--reveal-time) + 200ms); }
[data-motion="on"] .compare[data-seen]:not([data-moved], [data-rested]) .compare__handle { translate: calc(var(--swing, 0) * 1cqi) 0; }
@keyframes compare-hint {
  32% { --swing: 19; }
  70% { --swing: -17; }
}

/* The close-up's details send out a ring now and then */
[data-motion="on"] .spot::after { content: ""; position: absolute; inset: 5.5px; border: 2px solid var(--cream); border-radius: 50%; opacity: 0; }
[data-motion="on"] .closer[data-live] .spot[data-seen]::after { animation: spot-ping calc(var(--breath) * .5) var(--ease-out) calc(var(--reveal-start) + 900ms) infinite; }
@keyframes spot-ping { from { opacity: .8; scale: 1; } 60%, to { opacity: 0; scale: 1.9; } }
