/* Biang — additions on top of the built stylesheet: real logo, Drinks & Tea. */

/* Logo (preloader + footer) */
.preloader-mark.preloader-logo { width: min(44vw, 220px); aspect-ratio: 1; color: inherit; border-radius: 50%; overflow: hidden; }
.preloader-logo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; box-shadow: 0 0 60px rgba(201, 164, 92, 0.18); }
.brand-mark-img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; vertical-align: middle; }

/* Drinks & Tea */
.drinks { position: relative; overflow: hidden; }
.drinks-lead { max-width: 56ch; margin: var(--space-s) 0 0; font-size: var(--text-lg); color: var(--paper-dim); }
.drinks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xs);
  margin-top: var(--space-m);
}
.drinks-tile { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); }
.drinks-tile img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
.drinks-tile:hover img { transform: scale(1.03); }
.drinks-tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.6rem 1rem 0.9rem;
  background: linear-gradient(to top, rgba(11, 10, 8, 0.85), rgba(11, 10, 8, 0));
  color: var(--paper); font-size: var(--text-sm); letter-spacing: 0.02em;
}
.drinks-tile.is-trio img { object-position: center 45%; }
.drinks-tile.is-trio figcaption { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.2; letter-spacing: -0.01em; }
@media (min-width: 900px) {
  .drinks-grid { grid-template-columns: repeat(4, 1fr); gap: var(--space-s); }
}
.drinks-sub { margin-top: var(--space-l); font-size: var(--text-h3); }
.drinks-sub-line { margin: 0.4rem 0 0; color: var(--paper-mute); font-size: var(--text-sm); }
.drinks-strip { margin-top: var(--space-s); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: max(4vw, calc((100vw - var(--container)) / 2)); }
.drinks-strip::-webkit-scrollbar { display: none; }
.drinks-track { display: flex; gap: var(--space-xs); width: max-content; padding-bottom: 0.5rem; }
.drinks-card { flex: 0 0 auto; width: clamp(220px, 28vw, 340px); margin: 0; scroll-snap-align: start; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.drinks-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.drinks-card figcaption { padding: 0.6rem 0.9rem 0.8rem; font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper-mute); }
.drinks-card figcaption strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.05rem; letter-spacing: 0; text-transform: none; color: var(--paper); margin-bottom: 0.1rem; }

/* Hero: lighter dark overlay so the room shows through more (owner request) */
.hero-bg {
  opacity: 1;
  background-image:
    linear-gradient(96deg, var(--ink) 6%, rgba(11, 10, 8, 0.78) 30%, rgba(11, 10, 8, 0.42) 58%, rgba(11, 10, 8, 0.22) 100%),
    linear-gradient(to bottom, var(--ink) 0%, rgba(11, 10, 8, 0.18) 22%, rgba(11, 10, 8, 0.22) 62%, var(--ink) 97%),
    url(/images/hero-bg.webp);
}
@media (max-width: 899px) {
  .hero-bg {
    background-image:
      linear-gradient(to bottom, var(--ink) 0%, rgba(11, 10, 8, 0.78) 30%, rgba(11, 10, 8, 0.66) 60%, var(--ink) 98%),
      url(/images/hero-bg-sm.webp);
  }
}

/* Menu: spice chooser shown under the noodle bowls */
.menu-extra { margin-top: var(--space-m); padding: var(--space-s) var(--space-m); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); max-width: 620px; }
.menu-extra h4 { font-family: var(--font-display); font-weight: 400; font-size: var(--text-h3); color: var(--paper); margin: 0 0 0.6rem; }
.menu-extra ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.menu-extra li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 0.75rem; align-items: baseline; padding: 0.4rem 0; border-top: 1px solid var(--line); font-size: var(--text-sm); }
.menu-extra li b { font-weight: 500; color: var(--gold); letter-spacing: 0.04em; }
.menu-extra li span { color: var(--paper-dim); }
.menu-extra p { margin: 0.8rem 0 0; font-style: italic; color: var(--paper-mute); font-size: var(--text-sm); }

/* ---- Less scrolling (owner request) -------------------------------- */
/* Tighter vertical rhythm between sections */
.section { padding-block: var(--space-l); }
.hero { padding-block: calc(var(--space-xl) + 3rem) var(--space-l); }

/* Story: two landscape tiles instead of two tall portraits */
.story-window { margin-top: var(--space-m); }
.story-window .photo { aspect-ratio: 3 / 2 !important; }

/* Gallery: one swipeable row instead of a 15-image grid */
.gallery-grid.container-wide { width: 100%; max-width: none; }
.gallery-grid {
  display: flex; gap: var(--space-xs); margin-top: var(--space-m);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: max(4vw, calc((100vw - var(--container)) / 2)); padding-bottom: 0.5rem;
}
.gallery-grid::-webkit-scrollbar { display: none; }
.gallery-item { flex: 0 0 auto; width: clamp(200px, 22vw, 300px); scroll-snap-align: start; }

/* Press: smaller film stage, less gap */
.film { margin-top: var(--space-m); }
@media (min-width: 900px) { .film { grid-template-columns: 1fr minmax(280px, 360px); gap: var(--space-m); } }

/* Drinks: squarer tiles, narrower cocktail cards */
@media (min-width: 900px) { .drinks-tile img { aspect-ratio: 1 / 1; } }
.drinks-sub { margin-top: var(--space-m); }
.drinks-card { width: clamp(200px, 22vw, 280px); }

/* Story: outline map of China with Xi’an marked */
.story-map { margin: var(--space-m) 0; max-width: 420px; color: var(--gold-dim); }
.story-map-svg { display: block; width: 100%; height: auto; }
.story-map-label { font-family: var(--font-body); font-size: 22px; font-weight: 500; letter-spacing: 0.04em; }
.story-map figcaption { margin-top: 0.6rem; font-size: var(--text-sm); color: var(--paper-mute); }
.story-map .pulse { transform-origin: center; animation: story-pulse 2.4s ease-out infinite; }
@keyframes story-pulse { 0% { transform: scale(0.4); opacity: 0.45; } 100% { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .story-map .pulse { animation: none; } }

/* Menu: sub-headings inside a tab (Bar, Tea & Coffee) */
.menu-group { list-style: none; padding: var(--space-s) 0 0.25rem; border: 0; }
.menu-group + .menu-row { border-top: 0; }
.menu-group { padding-top: var(--space-m); }
.menu-group:first-child { padding-top: var(--space-xs); }
.menu-group h4 { margin: 0; padding-bottom: 0.5rem; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); letter-spacing: -0.01em; color: var(--paper); border-bottom: 1px solid var(--gold-dim); }
.menu-group h4::before { content: ""; display: block; width: 2.5rem; height: 2px; background: var(--gold); margin-bottom: 0.5rem; }

/* Hero: walk-in badge under the opening hours */
.hero-walkin { display: inline-flex; align-items: center; gap: .5em; margin: .9rem 0 0; padding: .45em .9em; border: 1px solid var(--gold-dim); border-radius: 999px; font-size: var(--text-sm); color: var(--gold); letter-spacing: .02em; }
.hero-walkin::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--jade); box-shadow: 0 0 0 3px rgba(78,138,116,.25); }
