/* Official EkuBites artwork placements. The images are used exactly as supplied (no filters, no recolouring);
   every <img> reserves its own width/height so the layout never shifts while it loads. */
.brand-pic { display: inline-flex; flex: 0 0 auto; line-height: 0; }
.brand-wordmark, .brand-logo, .brand-symbol, .boot-mark { display: block; max-width: 100%; height: auto; }
.brandmark { display: flex; align-items: center; gap: 8px; min-width: 0; }
.brand-sub { font-size: 15px; font-weight: 700; color: var(--ink-2); letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-sub::before { content: "·"; margin-right: 8px; color: var(--muted); }
.brand-hero { display: flex; justify-content: center; margin: 4px 0 14px; }
.boot-mark { width: 139px; height: 28px; }

/* ---------------------------------------------------------------- customer home header
   Row 1: [drop-off] [EkuBites wordmark, centred on the screen] [bell] — 1fr | auto | 1fr keeps the wordmark
   centred whatever the address length. Row 2: the full drop-off line (same action as the drop-off button). */
.top.home-top { display: block; padding-bottom: 6px; }
.home-top-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; column-gap: 6px; min-height: 52px; }
.home-top .dropoff { justify-self: start; max-width: 100%; min-height: 48px; padding: 4px 6px 4px 2px; gap: 8px; }
.home-top .dropoff-ic { width: 34px; height: 34px; border-radius: 11px; }
.home-top .dropoff-text { gap: 0; }
.dropoff-kicker { font-size: 12px; line-height: 1.2; font-weight: 650; color: var(--muted); }
.home-top .dropoff-title { font-size: 15px; line-height: 1.25; }
.home-wordmark { margin: 0; display: flex; justify-content: center; line-height: 0; }
.home-wordmark .brand-wordmark { height: 24px; width: auto; }
.home-top-end { justify-self: end; display: flex; }
.dropoff-line { display: flex; align-items: center; gap: 2px; width: 100%; min-height: 28px; margin: 2px 0 0; padding: 2px 4px; border: 0; background: transparent; border-radius: 8px;
  font: inherit; font-size: 13.5px; color: var(--muted); text-align: left; cursor: pointer; transition: background-color var(--t-fast) ease; }
.dropoff-line .ellipsis { min-width: 0; }
.dropoff-line .ic { flex: 0 0 auto; color: var(--brand); }
.dropoff-line:active { background: var(--surface-2); }
@media (max-width: 340px) { .home-top .dropoff-ic { display: none; } .home-wordmark .brand-wordmark { height: 20px; } }
/* Narrow phones: the pin stays as a plain icon (no tile) so the compact label keeps room. */
.home-top .dropoff-ic { width: 22px; height: 34px; background: transparent; color: var(--brand); border-radius: 0; }
.home-top .dropoff.unset .dropoff-ic { background: transparent; color: var(--brand); }
.home-top .dropoff { gap: 4px; padding-left: 0; }
@media (max-width: 340px) { .home-top .dropoff-ic { display: grid; width: 18px; } }
@media (max-width: 340px) { .home-top .dropoff-title { font-size: 14px; } .dropoff-kicker { font-size: 11.5px; } .home-top-row { column-gap: 4px; } }
@media (max-width: 340px) { .home-top .dropoff-title .ic { display: none; } }

/* ---------------------------------------------------------------- opening splash (public/js/splash.js)
   Fixed cream layer above the app while it loads underneath. The mark's box (B + gap + wordmark) is
   reserved from the first frame, so nothing shifts when the wordmark arrives. */
.splash { position: fixed; inset: 0; z-index: 2000; background: #FCF8F2; display: grid; place-items: center; contain: strict; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.splash-mark { position: relative; display: grid; justify-items: center; gap: 18px; opacity: 0; }
.splash.on .splash-mark { opacity: 1; }
.splash-react { opacity: 0; }
.splash-b { display: block; width: 120px; height: 130px; overflow: visible; transform-origin: 50% 100%; }
.splash-base { opacity: 0; }
.splash-word { display: block; width: 139px; height: 28px; opacity: 0; }
.splash-wait { position: absolute; left: 50%; top: calc(100% + 24px); margin-left: -9px; color: var(--brand); opacity: 0; transition: opacity 200ms ease; }
.splash-wait.on { opacity: .8; }
