/* SS Bucket Biryani website: Contact Us. Loaded after site.css, whose tokens, header, footer and motion it uses.
   Desktop values match the Figma at 1512 px. --u is one of its pixels: 1px from 1512 px up, less below, so the
   opening's art and the big headings keep their proportions as the window narrows. */

.contact-page {
  --panel: #FBE4C2;
  --ink-copy: #3B0A0D;
  --ink-note: #6B4446;
  --field-line: #E9CFA8;
  --gold-light: #F2C46B;
  --pink: #FF8DA0;
  --dark: #2A0508;
  --arch-dark: #5F090C;
  /* the site's red is 4.1:1 on the panel colour; this deeper one is 4.9:1, for small red text there */
  --red-deep: #C5061F;
  /* the gold ring round the opening's arch */
  --gold-ring: linear-gradient(90deg, #C9890E 0%, #FFDC98 21%, #FAD286 47%, #FFC556 61%, #FFDB97 72%, #CAA459 85%, #BD7C00 100%);
}
.contact-page main { --u: min(1px, calc(100cqw / 1512)); }
/* the reset in site.css covers ul, not form */
:where(.contact-page) :where(form) { margin: 0; padding: 0; }

/* ---------- Shared pieces ---------- */
.cu-eyebrow { font-family: var(--font-serif); font-size: 12px; line-height: 18px; letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.cu-eyebrow--deep { color: var(--red-deep); }
.cu-eyebrow--pink { color: var(--pink); }

/* A row of the Figma's diamond motif, as long as it needs to be */
.cu-diamonds { display: flex; overflow: hidden; height: clamp(22px, calc(32 * var(--u, 1px)), 32px); margin-bottom: 3px; }
.cu-diamonds img { flex: none; width: auto; max-width: none; height: 100% !important; }

/* ---------- 1. The opening: let's talk biryani ---------- */
.cu-hero { position: relative; overflow: hidden; padding: calc(177 * var(--u)) var(--gutter) calc(134 * var(--u)); background: var(--red); color: var(--cream); }
.cu-hero__inner { display: grid; grid-template-columns: minmax(0, calc(474 * var(--u))) calc(469 * var(--u)); column-gap: calc(24 * var(--u)); align-items: center; width: calc(967 * var(--u)); margin-left: max(0px, calc((100% - 885 * var(--u)) / 2)); }
.cu-hero__copy { display: flex; flex-direction: column; align-items: flex-start; }
.cu-hero__eyebrow { color: var(--cream); }
.cu-hero__title { margin-top: 13px; font-family: var(--font-condensed); font-weight: 400; font-size: max(56px, calc(118 * var(--u))); line-height: .924; letter-spacing: .005em; text-transform: uppercase; }
.cu-hero__title em { font-style: normal; color: var(--dark); }
.cu-hero__lead { max-width: 472px; margin-top: 16px; font-size: 15px; line-height: 24px; }
.cu-hero__actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 26px; }
/* the art keeps the Figma's proportions: every piece is placed in its pixels */
.cu-hero__art { --a: var(--u); position: relative; width: calc(469 * var(--a)); height: calc(515 * var(--a)); }
.cu-hero__arch { position: absolute; left: calc(-20 * var(--a)); top: 0; width: calc(489.5 * var(--a)); height: calc(497.7 * var(--a)); padding: 2px; border-radius: 999px 999px 0 0; background: var(--gold-ring); }
.cu-hero__arch img { display: block; width: 100%; height: 100% !important; border-radius: 999px 999px 0 0; background: var(--arch-dark); object-fit: cover; }
.cu-hero__sticker { position: absolute; left: calc(364.2 * var(--a)); top: calc(38.3 * var(--a)); width: calc(114.3 * var(--a)); max-width: none; rotate: 12deg; 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 13px rgba(60, 0, 0, .35)); }
.cu-sign { position: absolute; left: calc(84 * var(--a)); top: calc(454 * var(--a)); width: calc(249.3 * var(--a)); padding: calc(12 * var(--a)); border-radius: calc(25 * var(--a)); background: var(--dark); box-shadow: 0 11px 23px rgba(60, 0, 0, .4); }
.cu-sign__plate { display: block; padding: calc(9 * var(--a)) calc(25 * var(--a)) calc(10 * var(--a)); border-radius: calc(14 * var(--a)); background: var(--cream); font-family: var(--font-condensed); font-size: calc(32 * var(--a)); line-height: 1; letter-spacing: .05em; text-align: center; text-transform: uppercase; white-space: nowrap; color: var(--red); }
.cu-sign__bulbs { position: absolute; left: calc(6.4 * var(--a)); top: calc(5.5 * var(--a)); width: calc(237.2 * var(--a)); height: calc(65.3 * var(--a)); overflow: visible; color: var(--cream); pointer-events: none; }
/* the checkered edge along the foot of the opening */
.cu-check { position: absolute; left: 0; right: 0; bottom: 0; display: flex; overflow: hidden; height: 24px; }
.cu-check img { flex: none; width: auto; max-width: none; height: 100% !important; }

/* ---------- 2. The contact strip ---------- */
.cu-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 15px max(var(--gutter), calc((100% - 885px) / 2)); background: var(--dark); color: var(--cream); }
.cu-strip__list { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.cu-strip__list li { display: flex; }
.cu-strip__link { display: inline-flex; align-items: center; gap: 8px; min-height: 24px; font-weight: 500; font-size: 14px; line-height: 18px; color: var(--cream); text-decoration: none; transition: color .3s var(--tap); }
.cu-strip__link:hover { color: var(--gold-light); }
.cu-strip__icon { flex: none; width: 17px; height: 17px; color: var(--gold-light); }
.cu-strip__hours { font-size: 12px; line-height: 19px; opacity: .8; }

/* ---------- 3. How can we help: four tiles ---------- */
.cu-help { padding: 72px max(var(--gutter), calc((100% - 885px) / 2)); }
.cu-help__title { margin-top: 13px; font-family: var(--font-condensed); font-weight: 400; font-size: clamp(44px, calc(72 * var(--u)), 72px); line-height: .93; letter-spacing: .005em; text-transform: uppercase; color: var(--maroon); }
.cu-help__lead { margin-top: 16px; font-size: 15px; line-height: 24px; color: var(--ink-copy); }
.cu-help__tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 41px; }
.cu-tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 24px 20px 25px; border-radius: 22px; background: var(--panel); color: var(--ink-copy); transition: background-color .3s var(--tap), rotate .3s var(--tap), color .3s var(--tap); }
.cu-tile__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--red); color: var(--cream); transition: background-color .3s var(--tap), color .3s var(--tap); }
.cu-tile__svg { width: 24px; height: 24px; }
.cu-tile__name { margin-top: 20px; font-family: var(--font-display); font-weight: 400; font-size: 19px; line-height: 21px; color: var(--maroon); transition: color .3s var(--tap); }
.cu-tile__text { margin-top: 6px; font-size: 12px; line-height: 16px; }
.cu-tile__note { margin-top: 7px; font-weight: 500; font-size: 12px; line-height: 17px; color: var(--red-deep); transition: color .3s var(--tap); }
.cu-tile__link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 16px; font-weight: 600; font-size: 13px; line-height: 16px; color: var(--red-deep); text-decoration: none; transition: color .3s var(--tap); }
.cu-tile__link .icon { font-size: 13px; }
/* the whole tile takes the link's click */
.cu-tile__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.cu-tile:is(:hover, :focus-within) { rotate: -1deg; background: var(--maroon); color: var(--cream); }
.cu-tile:is(:hover, :focus-within) .cu-tile__icon { background: var(--gold-light); color: var(--maroon); }
.cu-tile:is(:hover, :focus-within) .cu-tile__name { color: var(--cream); }
.cu-tile:is(:hover, :focus-within) :is(.cu-tile__note, .cu-tile__link) { color: var(--gold-light); }

/* ---------- 4. Send us a message ---------- */
.cu-form { display: grid; grid-template-columns: minmax(0, 336px) minmax(0, 505px); justify-content: space-between; align-items: start; padding: 72px max(var(--gutter), calc((100% - 885px) / 2)) 73px; background: var(--panel); }
.cu-form__title { margin-top: 12px; font-family: var(--font-condensed); font-weight: 400; font-size: clamp(44px, calc(72 * var(--u)), 72px); line-height: .93; letter-spacing: .005em; text-transform: uppercase; color: var(--maroon); }
.cu-form__lead { max-width: 336px; margin-top: 16px; font-size: 15px; line-height: 24px; color: var(--ink-copy); }
.cu-form__note { margin-top: 14px; font-size: 12px; line-height: 18px; color: var(--ink-note); }
.cu-form__mini { width: 228px; margin: 40px 0 0 -4px; padding: 4.7px; border-radius: 999px 999px 20px 20px; background: var(--maroon); box-shadow: 0 0 0 4.7px var(--cream) inset, 0 16px 31px rgba(60, 0, 0, .35); rotate: -2deg; }
.cu-form__mini img { display: block; width: 100%; height: auto !important; aspect-ratio: 219 / 247.5; border-radius: 999px 999px 16px 16px; object-fit: cover; }
.cu-message { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 27px; border: 2.4px solid var(--maroon); border-radius: 25px; background: var(--white); box-shadow: 9px 9px 0 var(--maroon); color: var(--maroon); }
.cu-message__field { display: grid; align-content: start; gap: 5px; }
.cu-message__field--wide { grid-column: 1 / -1; }
.cu-message__label { font-weight: 600; font-size: 12px; line-height: 14px; }
.cu-message__optional { font-weight: 400; }
.cu-message__control { width: 100%; min-height: 45px; padding: 0 13px; border: 1.6px solid var(--field-line); border-radius: 13px; background: #FFF3E0; font: inherit; font-size: 13px; line-height: 21px; color: var(--ink-copy); }
.cu-message__control::placeholder { color: #6F6F6F; opacity: 1; }
.cu-message__control:user-invalid { border-color: var(--red); }
.cu-message__control--area { min-height: 87px; padding-block: 10px; resize: vertical; }
select.cu-message__control { min-height: 42px; padding-left: 16px; }
.cu-message__hint { font-size: 12px; line-height: 16px; color: var(--ink-note); }
.cu-message__privacy { grid-column: 1 / -1; font-size: 12px; line-height: 16px; text-align: center; color: var(--ink-note); }
.cu-message__send { grid-column: 1 / -1; width: 100%; min-height: 44px; margin-top: -1px; }
.cu-message__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 */
.cu-message__status:empty { position: absolute; }

/* ---------- 5. Find us ---------- */
.cu-find { display: grid; grid-template-columns: minmax(0, 421px) minmax(0, 394px); justify-content: space-between; align-items: start; padding: 72px max(var(--gutter), calc((100% - 885px) / 2)) 73px; background: var(--maroon); color: var(--cream); }
.cu-find__title { margin-top: 13px; font-family: var(--font-condensed); font-weight: 400; font-size: clamp(44px, calc(72 * var(--u)), 72px); line-height: .93; letter-spacing: .005em; text-transform: uppercase; }
.cu-find__lead { margin-top: 16px; font-size: 15px; line-height: 24px; }
.cu-find__cities { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.cu-chip { display: inline-flex; align-items: center; min-height: 28px; padding: 0 14px; border: 1.6px solid rgba(255, 242, 222, .45); border-radius: var(--radius-pill); font-weight: 500; font-size: 12px; line-height: 15px; color: var(--cream); text-decoration: none; transition: background-color .3s var(--tap), border-color .3s var(--tap), color .3s var(--tap); }
/* a 44 px tap area round each small chip */
.cu-chip { position: relative; }
.cu-chip::after { content: ""; position: absolute; inset: -8px -2px; }
.cu-chip:hover { border-color: var(--cream); background: var(--cream); color: var(--maroon); }
.cu-find__action { margin-top: 26px; }
.cu-find__photo { position: relative; margin: 13px 0 0; }
.cu-find__arch { padding: 4.7px; border-radius: 999px 999px 24px 24px; background: var(--dark); box-shadow: 0 0 0 4.7px var(--cream) inset, 0 19px 35px rgba(0, 0, 0, .45); rotate: 1.5deg; }
.cu-find__arch img { display: block; width: 100%; height: auto !important; aspect-ratio: 384.3 / 404; border-radius: 999px 999px 20px 20px; object-fit: cover; }
.cu-find__cap { position: absolute; left: 50%; bottom: -16px; translate: -50% 0; display: inline-flex; align-items: center; gap: 9px; padding: 7px 19px 7px 7px; border-radius: var(--radius-pill); background: var(--cream); box-shadow: 0 8px 19px rgba(0, 0, 0, .3); font-family: var(--font-serif); font-size: 13px; line-height: 17px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; color: var(--maroon); }
.cu-find__cap b { display: grid; place-items: center; width: 30px; height: 30px; padding-top: 2px; border-radius: 50%; background: var(--red); font-family: var(--font-condensed); font-weight: 400; font-size: 18px; line-height: 17px; color: var(--cream); }

/* ---------- 6. Feedback ---------- */
.cu-feedback { padding: 72px max(var(--gutter), calc((100% - 885px) / 2)); }
.cu-feedback__panel { display: grid; grid-template-columns: minmax(0, 471px) minmax(0, 198px); column-gap: 81px; align-items: center; padding: 50px; border-radius: 28px; background: var(--panel); }
.cu-feedback__title { margin-top: 12px; font-family: var(--font-condensed); font-weight: 400; font-size: clamp(42px, calc(66 * var(--u)), 66px); line-height: .924; letter-spacing: .005em; text-transform: uppercase; color: var(--maroon); }
.cu-feedback__lead { margin-top: 16px; font-size: 15px; line-height: 24px; color: var(--ink-copy); }
.cu-feedback__copy > div { margin-top: 24px; }
.cu-feedback__arch { padding: 4.7px; border-radius: 999px 999px 16px 16px; background: var(--maroon); box-shadow: 0 0 0 4.7px var(--cream) inset, 0 17px 31px rgba(60, 0, 0, .35); rotate: 2.5deg; }
.cu-feedback__arch img { display: block; width: 100%; height: auto !important; aspect-ratio: 188.2 / 362.5; border-radius: 999px 999px 12px 12px; object-fit: cover; }

/* ---------- 7. Feeding a crowd: catering ---------- */
.cu-crowd { padding: 72px max(var(--gutter), calc((100% - 885px) / 2)); background: var(--red); color: var(--cream); }
.cu-crowd .cu-eyebrow { color: var(--cream); }
.cu-crowd__inner { display: grid; grid-template-columns: minmax(0, 421px) minmax(0, 421px); justify-content: space-between; align-items: center; }
.cu-crowd__photo { padding: 5.5px; border-radius: 24px; background: var(--maroon); box-shadow: 0 0 0 5.5px var(--cream) inset, 0 20px 39px rgba(60, 0, 0, .45); rotate: -1.5deg; }
.cu-crowd__photo img { display: block; width: 100%; height: auto !important; aspect-ratio: 409.5 / 269.3; border-radius: 19px; object-fit: cover; }
.cu-crowd__title { margin-top: 13px; font-family: var(--font-condensed); font-weight: 400; font-size: clamp(44px, calc(72 * var(--u)), 72px); line-height: .93; letter-spacing: .005em; text-transform: uppercase; }
.cu-crowd__lead { margin-top: 16px; font-weight: 700; font-size: 15px; line-height: 24px; }
.cu-crowd__copy > div { margin-top: 24px; }

/* ---------- 8. The closing call ---------- */
.cu-close { position: relative; isolation: isolate; overflow: hidden; padding: 118px var(--gutter); background: var(--dark); color: var(--cream); text-align: center; }
.cu-close__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100% !important; object-fit: cover; }
.cu-close::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(42, 5, 8, .8), rgba(42, 5, 8, .92)); }
.cu-close__inner { display: flex; flex-direction: column; align-items: center; }
.cu-close__title { max-width: 677px; font-family: var(--font-condensed); font-weight: 400; font-size: clamp(44px, calc(72 * var(--u)), 72px); line-height: .93; letter-spacing: .005em; text-transform: uppercase; }
.cu-close__lead { max-width: 482px; margin-top: 17px; font-weight: 700; font-size: 15px; line-height: 24px; }
.cu-close__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 11px; margin-top: 25px; }

/* ---------- Smaller screens ---------- */
@container page (max-width: 1100px) {
  .cu-help__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container page (max-width: 900px) {
  /* the opening stacks: its words first, then the art as wide as the column allows */
  .cu-hero { padding-top: 112px; padding-bottom: 72px; }
  .cu-hero__inner { grid-template-columns: minmax(0, 1fr); row-gap: 40px; width: auto; margin-left: 0; }
  .cu-hero__title { font-size: clamp(56px, 11cqw, 96px); }
  .cu-hero__art { --a: min(1px, calc((100cqw - 2 * var(--gutter)) / 489.5)); justify-self: center; margin-left: calc(20 * var(--a)); }
  .cu-strip { justify-content: flex-start; }
  .cu-form { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .cu-form__copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; }
  .cu-form__copy > :not(.cu-form__mini) { grid-column: 1; }
  .cu-form__mini { grid-column: 2; grid-row: 1 / span 5; align-self: center; width: 180px; margin: 0; }
  .cu-form__lead { max-width: 480px; }
  .cu-find { grid-template-columns: minmax(0, 1fr); row-gap: 56px; }
  .cu-find__photo { justify-self: center; width: min(100%, 394px); }
  .cu-crowd__inner { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .cu-crowd__photo { justify-self: center; width: min(100%, 421px); }
}
@container page (max-width: 760px) {
  .cu-strip__list { flex-direction: column; }
  .cu-feedback__panel { grid-template-columns: minmax(0, 1fr); row-gap: 36px; padding: 36px 28px; }
  .cu-feedback__arch { justify-self: center; width: min(60%, 198px); }
  .cu-form__copy { display: block; }
  .cu-form__mini { width: 180px; margin: 32px auto 0; }
  .cu-message { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  /* phones zoom into fields whose text is under 16 px */
  .cu-message__control { font-size: 16px; }
}
@container page (max-width: 480px) {
  .cu-help__tiles { grid-template-columns: minmax(0, 1fr); }
  .cu-hero__actions .btn-compact, .cu-close__actions .btn-compact { padding-inline: 18px; }
}

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

/* The opening's photo is there from the first frame, in low light (lit); its sticker pops on with a turn and the
   sign swings up under it. Further down, each framed picture tips into its tilt as it arrives, from its own side. */
[data-motion="on"] .cu-hero__sticker { --from-turn: 24deg; }
[data-motion="on"] .cu-sign { --from-y: 40%; --from-turn: -6deg; }
[data-motion="on"] .cu-form__mini { --from-y: 12%; --from-turn: -6deg; }
[data-motion="on"] .cu-find__arch { --from-x: 6%; --from-y: 6%; --from-turn: 4deg; }
[data-motion="on"] .cu-feedback__arch { --from-y: 10%; --from-turn: 6deg; }
[data-motion="on"] .cu-crowd__photo { --from-x: -6%; --from-y: 6%; --from-turn: -5deg; }
@container page (max-width: 900px) {
  [data-motion="on"] :is(.cu-find__arch, .cu-crowd__photo) { --from-x: 0px; --from-y: 10%; }
}

/* ---------- Motion: hover and press ---------- */
.cu-message__control { transition: border-color var(--dur-hover), box-shadow var(--dur-hover); }
.cu-chip { transition: background-color .3s var(--tap), border-color .3s var(--tap), color .3s var(--tap), transform var(--dur-hover) var(--ease-out); }
@media (prefers-reduced-motion: no-preference) {
  .cu-tile { transition: background-color .3s var(--tap), rotate .3s var(--tap), color .3s var(--tap), scale var(--dur-hover) var(--ease-out); }
  .cu-tile__link .icon { transition: transform var(--dur-hover) var(--ease-out); }
  /* the whole tile is its link, so the whole tile answers the press */
  .cu-tile:has(.cu-tile__link:active) { scale: .98; transition-duration: .3s, .3s, .3s, var(--dur-press); }
  .cu-chip:active { transform: scale(.97); transition-duration: var(--dur-press); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .cu-tile:is(:hover, :focus-within) .cu-tile__link .icon { transform: translateX(4px); }
}
