/* bowl'd: one orange page with the TV menu's white step cards, a paper order docket,
   and a black Find us panel. Single theme by design. */

@font-face {
  font-family: "Jost";
  src: url("../fonts/jost.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* Brand colours, sampled from the TV menu */
  --orange: #FC8136;
  --orange-soft: #FD9D62;
  --green: #53A014;
  --green-ink: #2D6A08;   /* green dark enough for small text on white */
  --ink: #07080B;
  --brown: #AD4B17;       /* prices and small headings */
  --white: #FFFFFF;

  /* Neutrals and states */
  --cream: #FFF1E6;
  --picked: #FFEADB;      /* a ticked menu option */
  --hover: #FFF6EF;
  --rule: #F0DCCD;
  --check-border: #CDB4A2;
  --muted: #3B302A;
  --sand: #EADDD3;        /* secondary text on black */
  --hot: #B5300C;
  --open: #53A014;
  --closed: #E55024;

  --font: "Jost", "Futura", "Century Gothic", "Avenir Next", sans-serif;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-card: 24px;
  --radius-pill: 999px;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--ink) var(--orange-soft); }
body { margin: 0; background: var(--orange); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.5; }
::selection { background: var(--ink); color: var(--orange); }
img { max-width: 100%; }
a { color: var(--ink); }
button { font-family: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.find-us :focus-visible { outline-color: var(--white); }
.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon { flex: none; width: 18px; height: 18px; }
.icon--gf { width: 20px; height: 20px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 54px; padding: 0 24px;
  border: 2px solid transparent; border-radius: var(--radius-pill);
  font-size: 18px; font-weight: 700; text-decoration: none;
  cursor: pointer; transition: transform .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn--orange { background: var(--orange); color: var(--ink); }
.btn--outline-light { color: var(--white); border-color: var(--white); }
.btn--small { min-height: 46px; padding: 0 18px; font-size: 16px; white-space: nowrap; }
.btn--small svg { width: 18px; height: 18px; }
.btn-quiet {
  display: inline-flex; align-items: center; flex: none;
  min-height: 44px; padding: 0 16px;
  border: 2px solid #E3CBB9; border-radius: var(--radius-pill);
  background: var(--white); color: var(--ink); font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap;
}

/* ---------- White background drawings ---------- */
/* Placed one by one. They may bleed off the left and right edges and tuck
   behind cards, but never sit under text or get cut off at a section's bottom. */

.deco-layer { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.deco { position: absolute; height: auto; user-select: none; }
.deco--wide { display: none; }                                        /* only where the side margins are wide */
@media (min-width: 1360px) { .deco--wide { display: block; } }
@media (max-width: 899px) { .deco--desk { display: none; } }          /* desktop and tablet */
@media (min-width: 900px) { .deco--phone { display: none; } }         /* phones only */

.deco-hero-bonnet    { left: 31%; top: 20px; width: 92px; transform: rotate(-10deg); }
.deco-hero-sparkles  { left: 63%; top: 44px; width: 60px; transform: rotate(12deg); }
.deco-hero-sparkles-phone { left: 34%; top: 28px; width: 48px; transform: rotate(-8deg); }
.deco-hero-corn      { left: -46px; top: 30%; width: 156px; transform: rotate(-14deg); }
.deco-hero-shrimp    { right: -48px; top: 40%; width: 150px; transform: rotate(14deg); }

.deco-build-cutlery  { left: -40px; top: 2.5%; width: 132px; transform: rotate(-12deg); }
.deco-build-tomatoes { right: -40px; top: 12%; width: 140px; transform: rotate(10deg); }
.deco-build-beans    { left: -54px; top: 24%; width: 170px; transform: rotate(8deg); }
.deco-build-onion    { right: -44px; top: 36%; width: 150px; transform: rotate(-12deg); }
.deco-build-plantain { left: -64px; top: 48%; width: 190px; transform: rotate(22deg); }
.deco-build-fish     { right: -56px; top: 60%; width: 176px; transform: rotate(-8deg); }
.deco-build-mango    { left: -42px; top: 72%; width: 150px; transform: rotate(-14deg); }
.deco-build-bowl     { right: -50px; top: 84%; width: 170px; transform: rotate(8deg); }
.deco-build-sparkle  { left: 55%; top: 20px; width: 54px; transform: rotate(10deg); }
.deco-build-shrimp-phone   { right: -28px; top: 2px; width: 74px; transform: rotate(14deg); }
.deco-build-corn-phone     { left: -24px; bottom: 18px; width: 100px; transform: rotate(12deg); }
.deco-build-sparkles-phone { right: 10%; bottom: 26px; width: 40px; transform: rotate(-10deg); }

/* ---------- Hero ---------- */

.hero { position: relative; background: var(--orange); overflow-x: clip; }
.site-header {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 18px;
}
.site-header__logo { display: block; line-height: 0; }
.site-header__logo img { display: block; height: clamp(78px, 8.6vw, 104px); width: auto; }

.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr));
  gap: 32px 48px; align-items: center;
  padding-block: 20px 72px;
}
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hero__title {
  margin: 0;
  font-size: clamp(54px, 7.4vw, 104px); font-weight: 900; line-height: .92;
  letter-spacing: .01em; text-transform: uppercase; text-wrap: balance;
}
.hero__lede { margin: 0; max-width: 32ch; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.45; font-weight: 500; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.status-line { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 17px; font-weight: 600; }
.status-line li { display: inline-flex; align-items: center; gap: 9px; }
.status-line li + li::before { content: ""; width: 5px; height: 5px; margin-right: 3px; border-radius: 50%; background: var(--ink); }
.status-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--open); }
.status-dot.is-closed { background: var(--closed); }
.status-line .status-dot { width: 11px; height: 11px; box-shadow: 0 0 0 4px rgba(255, 255, 255, .6); }

.hero__art { position: relative; width: 100%; max-width: 560px; justify-self: center; aspect-ratio: 1; }
.hero__art img { position: absolute; height: auto; }
.hero__art .art-dots     { top: 3%; left: 4%; width: 17%; }
.hero__art .art-sparkles { top: 0; right: 3%; width: 21%; }
.hero__art .art-bowl     { left: 9%; top: 7%; width: 83%; }
.hero__art .art-bonnet   { left: -3%; bottom: 1%; width: 30%; transform: rotate(-10deg); }
.hero__art .art-leaf     { right: 1%; bottom: 12%; width: 13%; transform: rotate(18deg); }

/* ---------- Builder ---------- */

.builder { position: relative; background: var(--orange); padding: 8px 0 88px; overflow-x: clip; } /* clip, not hidden: hidden would stop the docket and order bar sticking */
.builder__inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 32px; }
.builder__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; }
.builder__intro { display: flex; flex-direction: column; gap: 8px; }
.builder__intro p { margin: 0; max-width: 52ch; font-size: 19px; font-weight: 500; text-wrap: pretty; }

.section-title {
  margin: 0;
  font-size: clamp(38px, 5vw, 62px); font-weight: 800; line-height: 1;
  letter-spacing: .06em; text-transform: uppercase; text-wrap: balance;
}

/* Dietary filters: checkboxes styled as pills */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.filters__label { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.filter {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  min-height: 46px; padding: 0 16px 0 8px;
  border: 2px solid var(--ink); border-radius: var(--radius-pill);
  background: var(--white); font-size: 16px; font-weight: 700; cursor: pointer;
}
.filter input { position: absolute; opacity: 0; pointer-events: none; }
.filter:has(input:checked) { background: var(--ink); color: var(--white); }
.filter:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.filter__icon { width: 30px; height: 30px; border-radius: 50%; background: var(--white); display: grid; place-items: center; }
.filter__icon svg { width: 18px; height: 18px; }
.filter__icon .icon--gf { width: 20px; height: 20px; }

/* Two columns: favourites and step cards on the left, the docket riding beside them */
.build-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.build-main { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.build-zone { display: flex; flex-direction: column; gap: 32px; }   /* the phone order bar sticks only inside this */

/* House favourites */
.favs { display: flex; flex-direction: column; gap: 14px; }
.favs__title { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.2; }
.favs__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fav {
  display: flex; flex-direction: column; gap: 12px;
  padding: 18px; border: 2px solid var(--white); border-radius: 22px; background: var(--white);
}
.fav.is-active { border-color: var(--ink); }
.fav__head { display: flex; align-items: center; gap: 12px; }
.fav__head img { width: 64px; height: 64px; object-fit: contain; flex: none; }
.fav__name { margin: 0; font-size: 21px; font-weight: 800; line-height: 1.15; }
.fav__tags { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-ink); }
.fav__tags--hot { color: var(--hot); }
.fav__desc { margin: 0; flex: 1 1 auto; font-size: 15px; line-height: 1.45; color: var(--muted); }
.fav__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fav__price { font-size: 22px; font-weight: 800; color: var(--brown); font-variant-numeric: tabular-nums; }
.chip-btn {
  min-height: 44px; padding: 0 16px; white-space: nowrap;
  border: 2px solid var(--ink); border-radius: var(--radius-pill);
  background: var(--white); color: var(--ink); font-size: 15px; font-weight: 700; cursor: pointer;
}
.fav.is-active .chip-btn { background: var(--ink); color: var(--white); }

/* The four steps, as on the TV menu */
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 46px 22px; align-items: stretch; margin: 14px 0 0; }
.step { position: relative; background: var(--white); border-radius: var(--radius-card); padding: 50px 18px 20px; }
.step fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.step__num {
  position: absolute; top: -23px; left: 50%; transform: translateX(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green); color: var(--white); font-size: 23px; font-weight: 800;
  box-shadow: 0 0 0 4px var(--orange);
}
.step.is-done .step__num { background: var(--ink); }
.step__art { position: absolute; top: -30px; right: -12px; width: 82px; height: auto; pointer-events: none; }
.step__art--bowl { transform: rotate(8deg); }
.step__art--base { width: 80px; transform: rotate(-6deg); }
.step__art--fixins { top: -28px; right: -14px; width: 86px; transform: rotate(10deg); }
.step__art--sauce { top: -32px; right: -10px; width: 78px; transform: rotate(6deg); }
.step__head {
  float: left; width: 100%; margin: 0 0 18px; padding: 0;
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
}
.step__title {
  display: flex; align-items: center; gap: 10px;
  font-size: 30px; font-weight: 800; line-height: 1; letter-spacing: .16em; text-transform: uppercase;
}
.step__title .icon--gf { width: 26px; height: 26px; }
.step__sub { font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--brown); }
.step__extras { clear: both; padding: 0 10px 6px; text-align: right; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--brown); }
.step__extras.is-off { opacity: .45; }

/* Options: list rows, ticked rows peach with an ink border */
.options { clear: both; display: flex; flex-direction: column; gap: 3px; }
.option {
  position: relative; display: flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 8px 10px;
  border: 2px solid transparent; border-radius: 12px; background: var(--white);
  font-size: 17px; font-weight: 600; line-height: 1.25; cursor: pointer;
}
.option:not(:last-child)::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -3px; height: 1px; background: var(--rule); }
.option:hover { background: var(--hover); }
.option input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.option__pick { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 10px; cursor: inherit; }
.option__check {
  flex: none; width: 22px; height: 22px;
  border: 2px solid var(--check-border); border-radius: 50%;
  background: var(--white) center / 13px 13px no-repeat;
}
.options--multi .option__check { border-radius: 7px; }
.option__name { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.option__price { flex: none; min-width: 34px; text-align: right; font-weight: 700; color: var(--brown); font-variant-numeric: tabular-nums; }
.option:has(input:checked) { background: var(--picked); border-color: var(--ink); }
.option:has(input:checked)::after, .option:has(+ .option input:checked)::after { opacity: 0; }
.option:has(input:checked) .option__check {
  background-color: var(--green); border-color: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.option:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
/* Unavailable rows stay readable (the menu is the product): muted text, faded tick box and marks */
.option:has(input:disabled) { color: #6B5D54; cursor: not-allowed; }
.option:has(input:disabled) .option__check, .option:has(input:disabled) .icon { opacity: .4; }
.option:has(input:disabled) .option__price { color: inherit; }
.option:has(input:disabled):hover { background: var(--white); }
/* Extras: the + keeps working on a greyed-out row. The amount and "x2" only show once it has been tapped. */
.option__times { font-weight: 800; white-space: nowrap; }
.option__extra { flex: none; font-weight: 700; color: var(--brown); font-variant-numeric: tabular-nums; }
.plus {
  position: relative; flex: none; display: grid; place-items: center;
  width: 34px; height: 34px; padding: 0 0 2px;
  border: 2px solid var(--ink); border-radius: 50%; background: var(--white); color: var(--ink);
  font: inherit; font-size: 22px; font-weight: 700; line-height: 1; cursor: pointer;
}
.plus::before { content: ""; position: absolute; inset: -6px; }   /* a 46px tap target */
.plus.has-extras { background: var(--ink); color: var(--white); }
.plus:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.plus:disabled { opacity: .3; cursor: not-allowed; }

/* Extras */
.extras {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px;
  padding: 16px 18px 16px 108px; border-radius: 28px; background: var(--green);
}
.extras__art { position: absolute; left: 8px; top: 50%; width: 92px; height: auto; transform: translateY(-50%) rotate(-8deg); pointer-events: none; }
.extras__label { font-size: 20px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--white); }
.extras__text { display: flex; flex-direction: column; flex: 1 1 240px; min-width: 0; }
.extras__name { font-size: 20px; font-weight: 700; }
.extras__note { font-size: 16px; font-weight: 500; }
.extras__toggle {
  position: relative; display: inline-flex; align-items: center;
  min-height: 46px; padding: 0 20px;
  border: 2px solid var(--ink); border-radius: var(--radius-pill);
  background: var(--white); font-size: 16px; font-weight: 700; cursor: pointer;
}
.extras__toggle input { position: absolute; opacity: 0; pointer-events: none; }
.extras__toggle .when-on { display: none; }
.extras__toggle:has(input:checked) { background: var(--ink); color: var(--white); }
.extras__toggle:has(input:checked) .when-on { display: inline; }
.extras__toggle:has(input:checked) .when-off { display: none; }
.extras__toggle:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.extras__toggle:has(input:disabled) { color: #6B5D54; border-color: var(--check-border); cursor: not-allowed; }

/* Order bar: phones and small tablets only, stays at the bottom while you build */
.order-bar {
  position: sticky; bottom: 12px; z-index: 5;
  display: none; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px;
  padding: 14px 14px 14px 22px; border-radius: 22px;
  background: var(--ink); color: var(--white);
  box-shadow: 0 12px 30px rgba(7, 8, 11, .3);
}
.order-bar__text { display: flex; flex-direction: column; gap: 2px; flex: 1 1 220px; min-width: 0; }
.order-bar__label { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--orange-soft); }
.order-bar__closed { font-size: 14px; font-weight: 600; color: var(--orange-soft); }
.order-bar__progress { font-size: 16px; font-weight: 500; line-height: 1.35; }
.order-bar__action { display: flex; align-items: center; gap: 16px; }
.order-bar__total { font-size: 32px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* The docket: a food-court order slip, scalloped top and bottom */
.docket { position: sticky; top: 24px; filter: drop-shadow(0 22px 26px rgba(7, 8, 11, .3)); }
.docket__paper { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 34px 26px 36px; background: var(--white); }
.docket__paper::before, .docket__paper::after {
  content: ""; position: absolute; left: 0; right: 0; height: 12px;
  background: radial-gradient(circle at 9px var(--y), var(--orange) 7px, transparent 7.5px) 0 0 / 18px 12px repeat-x;
}
.docket__paper::before { top: 0; --y: 0px; }
.docket__paper::after { bottom: 0; --y: 12px; }
.docket__head { display: flex; flex-direction: column; gap: 4px; padding-bottom: 14px; border-bottom: 2px dashed var(--rule); }
.docket__head h3 { margin: 0; font-size: 26px; font-weight: 800; line-height: 1.1; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.docket__head span { font-size: 13px; font-weight: 600; color: var(--brown); }
.docket__progress { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.4; }
.docket__lines { list-style: none; margin: 0; padding: 0; }
.docket__lines li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 16px; border-bottom: 1px dotted #E6CDBB; }
.docket__lines li:first-child { font-weight: 700; }
.docket__lines .price { font-weight: 700; color: var(--brown); font-variant-numeric: tabular-nums; }
.docket__total { display: flex; align-items: baseline; justify-content: space-between; font-size: 18px; font-weight: 700; }
.docket__total span:last-child { font-size: 40px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.docket__say { padding: 14px 16px; border-radius: 14px; background: var(--cream); }
.docket__say h4 { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brown); }
.docket__say p { margin: 0; font-size: 17px; font-weight: 500; line-height: 1.45; }
.docket__closed { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--brown); }
.docket__closed svg { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.docket .btn { justify-content: center; width: 100%; }
.docket__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }

/* ---------- Find us ---------- */

.find-us { background: var(--ink); color: var(--white); padding: 80px 0 36px; overflow-x: clip; }
.find-us__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 40px 56px; align-items: center; }
.find-us__info { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.find-us__where { display: flex; flex-direction: column; gap: 4px; }
.find-us__place { margin: 0; font-size: clamp(28px, 3vw, 38px); font-weight: 700; line-height: 1.15; }
.find-us__area { margin: 0; font-size: 19px; color: var(--sand); }
.find-us__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 18px; }
.find-us__list li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.find-us__list svg { width: 20px; height: 20px; flex: none; color: var(--orange-soft); }
.find-us__list a { color: var(--white); font-weight: 600; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.find-us__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.status-chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border: 1px solid #3A3A3E; border-radius: var(--radius-pill); font-size: 15px; font-weight: 600; }

/* The phone call: a tap-to-call scene whose bubble reads out the order built above.
   Sizes use cqw (1cqw = 1% of the box, which is 440px wide at full size). */
.call { position: relative; display: block; justify-self: center; width: min(100%, 440px); aspect-ratio: 1; container-type: inline-size; color: inherit; text-decoration: none; border-radius: 24px; }
.call:focus-visible { outline-offset: 8px; }
.call > * { position: absolute; }
.call img { height: auto; }
.phone {
  left: 8.18cqw; top: 4.09cqw; width: 50cqw; height: 93.18cqw;
  padding: 2.5cqw; border: .68cqw solid #3A3A3E; border-radius: 8.64cqw;
  background: #1C1C20; transform: rotate(-6deg); transform-origin: 50% 60%;
  box-shadow: 0 6.82cqw 13.64cqw rgba(0, 0, 0, .5);
}
.phone__screen {
  width: 100%; height: 100%; padding: 7.73cqw 3.64cqw 5.91cqw; border-radius: 6.36cqw;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  background: var(--orange); color: var(--ink);
}
.phone__calling { font-size: 2.95cqw; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.phone__who { display: flex; flex-direction: column; align-items: center; gap: 2.27cqw; }
.phone__avatar { width: 23.64cqw; height: 23.64cqw; border-radius: 50%; background: var(--white); display: grid; place-items: center; }
.phone__avatar img { position: static; width: 18.18cqw; }
.phone__name { font-size: 6.36cqw; font-weight: 900; line-height: 1; }
.phone__number { font-size: 3.41cqw; font-weight: 600; letter-spacing: .04em; }
.phone__end { width: 13.18cqw; height: 13.18cqw; border-radius: 50%; background: #C8361A; display: grid; place-items: center; color: var(--white); }
.phone__end svg { width: 5.91cqw; height: 5.91cqw; transform: rotate(135deg); }
.bubble {
  left: 44.55cqw; top: 14.09cqw; width: 53.64cqw; z-index: 1;  /* a long order covers the caption, never the other way round */
  padding: 3.64cqw 4.09cqw 4.09cqw; border-radius: 5cqw;
  display: flex; flex-direction: column; gap: 1.36cqw;
  background: var(--white); color: var(--ink);
  transform: rotate(3deg); box-shadow: 0 3.64cqw 9.09cqw rgba(0, 0, 0, .45);
}
.bubble::before { content: ""; position: absolute; left: -2.05cqw; bottom: 6.82cqw; width: 5cqw; height: 5cqw; background: var(--white); transform: rotate(45deg); }
.bubble__label { position: relative; font-size: 2.5cqw; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--brown); }
.bubble__text { position: relative; font-size: 3.86cqw; font-weight: 600; line-height: 1.35; }
.bubble__text.is-long { font-size: 3.3cqw; line-height: 1.3; }
.call__caption { left: 63.64cqw; top: 66.36cqw; margin: 0; font-size: 5cqw; font-weight: 900; line-height: 1.1; letter-spacing: .02em; text-transform: uppercase; color: var(--white); }
.call__caption span { color: var(--orange); }
.call__sparkles { right: -1.36cqw; top: 2.27cqw; width: 12.73cqw; }
.call__dots { right: 1.36cqw; bottom: 1.36cqw; width: 19.09cqw; }

/* Footer */
.site-footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  margin-top: 64px; padding-top: 24px; border-top: 1px solid #2B2B2E;
}
.site-footer img { display: block; height: 64px; width: auto; }
.site-footer__small { display: flex; flex-direction: column; gap: 2px; font-size: 15px; color: #CFC3BA; }

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .phone { animation: ring 5s cubic-bezier(.36, .07, .19, .97) 1.5s infinite; }
  @keyframes ring {
    0%, 14%, 100% { transform: rotate(-6deg); }
    2%, 6%, 10% { transform: rotate(-9deg); }
    4%, 8%, 12% { transform: rotate(-3deg); }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}

/* ---------- Smaller screens ---------- */

@media (max-width: 1180px) {
  .build-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; }
  .docket__paper { padding: 30px 20px 32px; }
  .docket__head h3 { font-size: 23px; }
  .docket .btn { padding: 0 14px; font-size: 16px; }
  .docket__foot { flex-direction: column; align-items: flex-start; }
}
/* Two cards per row leave too little room for a row with extras at these widths */
@media (min-width: 901px) and (max-width: 1100px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .build-layout { grid-template-columns: 1fr; }
  .docket { position: static; width: 100%; max-width: 560px; margin-inline: auto; }
  .order-bar { display: flex; }
}
@media (max-width: 800px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .favs__row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 10px; }
  .fav { flex: 1 0 252px; scroll-snap-align: start; }
}
@media (max-width: 600px) {
  .status-line { flex-direction: column; align-items: flex-start; gap: 6px; }
  .status-line li + li::before { display: none; }
  .filters__label { flex-basis: 100%; }
  .order-bar { padding: 14px 14px 14px 18px; }
  .order-bar__action { flex: 1 1 100%; justify-content: space-between; gap: 12px; }
  .order-bar__total { font-size: 28px; }
  .order-bar .btn--small { padding: 0 16px; font-size: 15px; }
}
@media (max-width: 480px) { .step__art { right: -4px; } }   /* keep the art on screen on narrow phones */
@media (max-width: 400px) {   /* on narrow phones the running amount gets its own line */
  .option:has(.option__extra) { flex-wrap: wrap; }
  .option:has(.option__extra) .option__pick { flex-basis: calc(100% - 44px); }
  .option__extra { order: 1; flex-basis: 100%; padding-right: 44px; text-align: right; }
}
