/* ==========================================================================
   Lin Garden — Wilmington, MA
   Implemented from the "Lin Garden.dc.html" design canvas artboard.
   Tokens below are taken verbatim from the artboard.
   ========================================================================== */

:root {
  /* Surfaces */
  --bg:         #fdf8f1;  /* page cream            */
  --surface:    #ffffff;  /* cards, about panel    */
  --blush:      #fbe9d8;  /* dish tile / hero halo */
  --tile:       #f4ece1;  /* photo well            */

  /* Ink */
  --ink:        #241c18;  /* headings, footer bg   */
  --muted:      #5b4b43;  /* body copy             */
  --soft:       #7a675d;  /* captions, meta        */
  --cream:      #f6ece1;  /* text on dark footer   */

  /* Brand */
  --red:        #c8342b;
  --red-deep:   #8f231d;

  /* Lines */
  --line:       #eee0d0;
  --line-warm:  #e4d7c8;

  /* Type */
  --display: "Baloo 2", ui-rounded, "Trebuchet MS", system-ui, sans-serif;
  --body:    "Karla", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Metrics */
  --shell:  1180px;
  --gutter: 20px;
  --anchor-offset: 110px;

  --shadow-header: 0 2px 14px rgba(36, 28, 24, .16);
  --shadow-card:   0 1px 2px rgba(36, 28, 24, .04);
  --shadow-lift:   0 10px 24px rgba(36, 28, 24, .10);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; }

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-deep); }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-red :focus-visible { outline-color: #fff; }

/* Skip link ---------------------------------------------------------------- */
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: #fff;
  color: var(--red);
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-header);
  transition: top .15s ease;
}
.skip:focus { top: 12px; }

/* Shell -------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Shared type -------------------------------------------------------------- */
.eyebrow {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
}

.section-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
}

.link-more {
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
}

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  border-radius: 999px;
  text-align: center;
  white-space: nowrap;
  transition: transform .12s ease, background-color .12s ease, color .12s ease, box-shadow .12s ease;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  font-size: 20px;
  padding: 16px 38px;
  box-shadow: 0 4px 0 var(--red-deep);
}
.btn-primary:hover { background: var(--red-deep); color: #fff; box-shadow: 0 4px 0 #6d1a15; }
.btn-primary:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--red-deep); }

.btn-onred {
  background: #fff;
  color: var(--red);
  font-size: 16px;
  padding: 10px 22px;
  box-shadow: 0 2px 0 rgba(36, 28, 24, .18);
}
.btn-onred:hover { background: var(--cream); color: var(--red-deep); }
.btn-onred:active { transform: translateY(2px); box-shadow: none; }

.btn-invite {
  align-self: flex-start;
  background: #fff;
  color: var(--red);
  font-size: 18px;
  padding: 14px 30px;
}
.btn-invite:hover { background: var(--cream); color: var(--red-deep); }

/* Announcement banner ------------------------------------------------------ */
/* Sits above the sticky masthead and scrolls away with the page. Blush rather
   than red so it reads as a notice strip instead of merging into the header. */
.banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(100deg, #fbe9d8 0%, #fdf4e8 38%, #fbe9d8 70%, #f7dfc9 100%);
  border-bottom: 1px solid var(--line-warm);
  text-align: center;
}

/* One highlight band sweeps across, then rests. It travels behind the copy so
   the text never washes out, and the global reduced-motion rule parks it
   off-screen for anyone who asked for less movement. */
.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    transparent 34%,
    rgba(255, 255, 255, .85) 47%,
    rgba(255, 255, 255, .95) 52%,
    transparent 66%
  );
  transform: translateX(-100%);
  animation: banner-shine 5.5s ease-in-out infinite;
}

@keyframes banner-shine {
  0%        { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}

/* Twinkling glints. Decorative only, so they live behind aria-hidden and are
   positioned clear of the centred copy; the innermost three drop out on narrow
   screens where the text fills the bar. Gold is the one colour outside the
   artboard palette — nothing else in it reads as a spark. */
.glints {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.glints i {
  position: absolute;
  width: 17px;
  height: 17px;
  background: #e9a53c;
  clip-path: polygon(50% 0%, 59% 41%, 100% 50%, 59% 59%, 50% 100%, 41% 59%, 0% 50%, 41% 41%);
  opacity: 0;
  animation: glint 3.4s ease-in-out infinite;
}

.glints i:nth-child(1) { left: 4%;  top: 24%; animation-delay: 0s; }
.glints i:nth-child(2) { left: 12%; top: 60%; width: 13px; height: 13px; animation-delay: 1.1s; }
.glints i:nth-child(3) { left: 27%; top: 28%; width: 11px; height: 11px; animation-delay: 2.2s; }
.glints i:nth-child(4) { right: 5%; top: 56%; animation-delay: .6s; }
.glints i:nth-child(5) { right: 22%; top: 22%; width: 12px; height: 12px; animation-delay: 1.7s; }

@keyframes glint {
  0%        { opacity: 0; transform: scale(.3) rotate(0deg); }
  8%        { opacity: 1; transform: scale(1) rotate(25deg); }
  22%       { opacity: 0; transform: scale(.4) rotate(45deg); }
  100%      { opacity: 0; transform: scale(.3) rotate(45deg); }
}

.banner .shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding-block: 14px;
}

.banner-lead {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(21px, 2.5vw, 28px);
  line-height: 1.15;
  color: var(--ink);
}

.banner-note {
  margin: 0;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--red);
  text-wrap: pretty;
}

.banner-note strong { font-weight: 700; }

/* Header ------------------------------------------------------------------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--red);
  box-shadow: var(--shadow-header);
}

.masthead .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 12px;
}

.brand { display: flex; align-items: center; gap: 12px; }
/* The logo is a transparent PNG that sits directly on the masthead red, so
   there is no matte rectangle left to round off. */
.brand img {
  height: 44px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
  font-weight: 500;
}
/* Scoped to .nav-link, not `.nav a` — a bare `.nav a` (0-1-1) outranks
   .btn-onred (0-1-0) and paints the Order Now button white on white. */
.nav .nav-link { color: #fff; position: relative; }
.nav .nav-link:hover { color: var(--cream); }
.nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform .16s ease;
}
.nav .nav-link:hover::after { transform: scaleX(1); }

/* Mobile menu (progressive: works without JS via <details>) */
.menu { display: none; position: relative; }
.menu > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  padding: 9px 16px;
  border: 1.5px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
}
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary .bars,
.menu > summary .bars::before,
.menu > summary .bars::after {
  display: block;
  width: 16px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}
.menu > summary .bars { position: relative; }
.menu > summary .bars::before,
.menu > summary .bars::after { content: ""; position: absolute; left: 0; }
.menu > summary .bars::before { top: -5px; }
.menu > summary .bars::after  { top: 5px; }
.menu[open] > summary .bars { background: transparent; }
.menu[open] > summary .bars::before { top: 0; transform: rotate(45deg); }
.menu[open] > summary .bars::after  { top: 0; transform: rotate(-45deg); }

.menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  min-width: 210px;
  display: flex;
  flex-direction: column;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lift);
}
.menu-panel a {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  padding: 11px 14px;
  border-radius: 12px;
}
.menu-panel a:hover { background: var(--blush); color: var(--red-deep); }

/* Hero --------------------------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 36px;
  align-items: center;
  padding: 56px 0 48px;
}

.hero-copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.02;
  text-wrap: pretty;
}

.hero p {
  margin: 0;
  max-width: 46ch;
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  text-wrap: pretty;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
.tags li {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--soft);
  border: 1px solid var(--line-warm);
  border-radius: 999px;
  padding: 7px 14px;
}

.hero-art {
  min-width: 0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-art::before {
  content: "";
  position: absolute;
  width: min(88%, 440px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--blush);
}
.hero-art img {
  position: relative;
  width: min(100%, 480px);
  height: auto;
  display: block;
}

/* Dishes ------------------------------------------------------------------- */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.dishes { padding: 20px 0 56px; }

.dish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dish {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow-card);
  transition: transform .16s ease, box-shadow .16s ease;
}
.dish:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.dish-photo {
  border-radius: 14px;
  overflow: hidden;
  background: var(--blush);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
.dish-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.dish-name {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.2;
}
.dish-note {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--soft);
  line-height: 1.5;
}

/* About -------------------------------------------------------------------- */
.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 36px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 38px;
  margin-bottom: 56px;
}

.about-copy { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.about-copy p {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  text-wrap: pretty;
}

.facts {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  margin: 4px 0 0;
  padding: 0;
}
.facts div { display: flex; flex-direction: column; }
.facts dt {
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.1;
  color: var(--red);
}
.facts dd { margin: 0; font-size: 14px; color: var(--soft); }

.about-photo {
  min-width: 0;
  border-radius: 20px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--tile);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Guestbook ---------------------------------------------------------------- */
/* Blush panel, so it reads as a different kind of block from the white .about
   panel above it without introducing a colour the artboard doesn't have. */
.guestbook {
  background: var(--blush);
  border-radius: 28px;
  padding: 38px;
  margin-bottom: 56px;
}

.guestbook .section-head { margin-bottom: 22px; }

/* The lead quote carries the section — set as display type on the panel
   itself, not in a card, so it reads louder than the three notes below. */
.gb-lead { margin: 0 0 30px; }

.gb-lead blockquote {
  margin: 0;
  max-width: min(100%, 780px);
}
.gb-lead blockquote p {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(23px, 2.6vw, 32px);
  line-height: 1.3;
  color: var(--ink);
  text-wrap: pretty;
  /* Hang the opening quote mark into the left margin. */
  text-indent: -.44em;
}

/* Quote marks are punctuation, not content — added here so the markup stays
   clean and the marks can hang without a wrapper element. */
.guestbook blockquote p::before { content: "\201C"; }
.guestbook blockquote p::after  { content: "\201D"; }

.guestbook figcaption {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.gb-lead figcaption { margin-top: 18px; }

.guestbook cite {
  font-family: var(--display);
  font-weight: 700;
  font-style: normal;
  color: var(--red-deep);
}
.gb-lead cite { font-size: 18px; }

/* Ties each quote back to something orderable. */
.gb-dish {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--soft);
  background: var(--bg);
  border: 1px solid var(--line-warm);
  border-radius: 999px;
  padding: 6px 12px;
}

.gb-notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.note {
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow-card);
}

.note blockquote { margin: 0; }
.note blockquote p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  text-wrap: pretty;
  text-indent: -.4em;
}

.note cite { font-size: 15px; }

.gb-source {
  margin: 22px 0 0;
  font-size: 13px;
  color: var(--soft);
}

/* Visit -------------------------------------------------------------------- */
.visit {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  padding-bottom: 56px;
}

.visit h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
}

.panel { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.panel p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--muted); }

.hours {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  font-size: 16px;
  color: var(--muted);
}
.hours > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}
.hours > div:last-child { border-bottom: 0; padding-bottom: 0; }
.hours dt { font-weight: 400; }
.hours dd { margin: 0; font-weight: 700; color: var(--ink); }
.hours .closed { color: var(--red); }

.invite {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  background: var(--red);
  border-radius: 24px;
  padding: 28px;
  color: #fff;
}
.invite-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.15;
}
.invite p { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .92); }

/* Footer ------------------------------------------------------------------- */
.colophon { background: var(--ink); color: var(--cream); }
.colophon .shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 26px;
  font-size: 14px;
}
.colophon a { color: var(--cream); font-weight: 700; }
.colophon a:hover { color: #fff; text-decoration: underline; }

/* Anchor offsets ----------------------------------------------------------- */
#top, #dishes, #about, #reviews, #visit { scroll-margin-top: var(--anchor-offset); }

/* Responsive --------------------------------------------------------------- */
@media (max-width: 700px) {
  .nav .nav-link { display: none; }
  .menu { display: block; }
  .nav { gap: 12px; }
  .hero { padding: 40px 0 36px; }
  .glints i:nth-child(2),
  .glints i:nth-child(3),
  .glints i:nth-child(5) { display: none; }
  .glints i:nth-child(1) { left: 3%; }
  .glints i:nth-child(4) { right: 3%; }
  .about { padding: 26px; border-radius: 22px; }
  .guestbook { padding: 26px; border-radius: 22px; }
  .facts { gap: 20px; }
}

@media (max-width: 420px) {
  .brand img { height: 38px; }
  .banner-note { font-size: 13px; }
  .btn-onred { font-size: 15px; padding: 9px 16px; }
  .btn-primary { font-size: 18px; padding: 14px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .banner, .masthead, .menu, .hero-actions, .invite, .skip { display: none !important; }
  body { background: #fff; }
  .dish, .about, .note { box-shadow: none; }
}

/* New-dish pop-up ------------------------------------------------------------ */
/* Native <dialog> opened with showModal(): focus is trapped, Esc closes it and
   the page behind is inert. Clicking the backdrop lands on the dialog itself. */
.promo {
  padding: 0;
  border: 0;
  background: transparent;
  width: min(460px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  overflow: visible;
}
.promo::backdrop {
  background: rgba(36, 28, 24, .58);
  backdrop-filter: blur(3px);
}

.promo-card {
  position: relative;
  background: var(--bg);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(36, 28, 24, .35);
  outline: none;
}

.promo-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  font: 700 26px/1 var(--body);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(36, 28, 24, .18);
}
.promo-close:hover { background: #fff; color: var(--red); }

.promo-photo {
  position: relative;
  background: var(--blush);
  aspect-ratio: 920 / 502;
}
.promo-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Echoes the red brush ribbon on the printed poster. */
.promo-tag {
  position: absolute;
  left: 22px;
  bottom: -16px;
  background: var(--red);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 16px 4px;
  border-radius: 8px;
  transform: rotate(-2deg);
  box-shadow: 0 3px 0 var(--red-deep);
}

.promo-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 34px 28px 26px;
}

.promo-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 38px;
  line-height: 1.05;
  color: var(--ink);
  text-wrap: balance;
}
.promo-zh {
  display: inline-block;
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
  font-size: .78em;
  color: var(--red);
  margin-left: 4px;
  vertical-align: 2px;
}

.promo-desc { margin: 0; color: var(--muted); font-size: 17px; }

.promo-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 4px 0 6px;
  font-family: var(--display);
}
.promo-price span {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--soft);
  background: var(--blush);
  padding: 3px 12px 1px;
  border-radius: 999px;
}
.promo-price strong { font-weight: 700; font-size: 34px; line-height: 1; color: var(--red); }

.promo-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.promo-actions .btn-primary { font-size: 19px; padding: 14px 34px; }

.promo-later {
  border: 0;
  background: none;
  padding: 6px 2px;
  font: 700 16px var(--body);
  color: var(--soft);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.promo-later:hover { color: var(--ink); }

.promo-note { margin: 4px 0 0; font-size: 14px; color: var(--soft); }

@media (prefers-reduced-motion: no-preference) {
  .promo[open] { animation: promo-in .35s cubic-bezier(.2, .8, .3, 1.1); }
  .promo[open]::backdrop { animation: promo-fade .25s ease-out; }
}
@keyframes promo-in   { from { opacity: 0; transform: translateY(18px) scale(.97); } }
@keyframes promo-fade { from { opacity: 0; } }

/* Phones: a bottom sheet, so the thumb lands on Order now and Maybe later. */
@media (max-width: 560px) {
  .promo {
    width: 100%;
    max-width: none;
    max-height: 92%;
    margin: auto 0 0;
  }
  .promo-card {
    border-radius: 24px 24px 0 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .promo-photo { aspect-ratio: 16 / 8; }
  .promo-body { padding: 30px 20px 22px; }
  .promo-title { font-size: 32px; }
  .promo-actions .btn-primary { flex: 1; }
  @media (prefers-reduced-motion: no-preference) {
    .promo[open] { animation: promo-up .35s cubic-bezier(.2, .8, .3, 1); }
  }
}
@keyframes promo-up { from { transform: translateY(100%); } }
