/* Ō Lounge — tokens sampled from the brand deck swatches. */
:root {
  --cream: #f7e6d6;
  --paper: #f9eee2;
  --sand: #eaccaf;
  --taupe: #b18b6c;
  --olive: #3d3f28;
  --green: #15281e;
  --orange: #af4013;
  --orange-soft: #e2864f; /* burnt orange lifted for contrast on the dark footer */
  --gold: #c8923f;
  --ink: #1f2a22;
  --muted: #6b5d4f;

  --serif: "Bodoni Moda", "Didot", Georgia, serif;
  --sans: "Jost", "Futura", system-ui, sans-serif;
  --script: "Allura", "Snell Roundhand", cursive;

  --wrap: 40rem;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 4.25rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 300 1rem/1.55 var(--sans);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- hero: arch-framed sign photo over the deck's shapes ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 2.25rem 1rem 1.5rem;
  text-align: center;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(255, 244, 230, 0.9), transparent 70%),
    var(--cream);
}

.shape { position: absolute; z-index: -1; pointer-events: none; }
.shape--blob {
  left: -22%; top: 8%;
  width: 58%; aspect-ratio: 0.62;
  background: var(--olive);
  border-radius: 0 60% 55% 0 / 0 50% 50% 0;
  opacity: 0.92;
}
.shape--sun {
  right: -18%; top: -10%;
  width: 52%; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--orange);
}
.shape--arc {
  right: -30%; top: 2%;
  width: 78%; aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--gold);
  opacity: 0.8;
}

.hero__frame {
  margin: 0 auto;
  width: min(100%, 27.5rem);
  aspect-ratio: 860 / 880;
  border-radius: 999px 999px 1.25rem 1.25rem;
  overflow: hidden;
  box-shadow: 0 1.5rem 3rem -1.5rem rgba(21, 40, 30, 0.55);
  outline: 1px solid rgba(200, 146, 63, 0.55);
  outline-offset: 6px;
  background: #2a2016;
}
.hero__photo { width: 100%; height: 100%; object-fit: cover; }

.hero__script {
  margin: 1.4rem 0 0;
  font: 400 2.9rem/1 var(--script);
  color: var(--orange);
}
.hero__sprig { display: block; margin: 0.35rem auto 0; color: var(--olive); opacity: 0.8; }

/* ---------- sticky category nav ---------- */
.catnav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(21, 40, 30, 0.97);
  box-shadow: 0 0.5rem 1rem -0.75rem rgba(0, 0, 0, 0.5);
}
.catnav ul {
  display: flex; gap: 0.4rem;
  margin: 0 auto; padding: 0.7rem 1rem;
  max-width: var(--wrap);
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.catnav ul::-webkit-scrollbar { display: none; }
.catnav a {
  display: block;
  padding: 0.45rem 0.95rem;
  border: 1px solid rgba(234, 204, 175, 0.35);
  border-radius: 999px;
  color: var(--cream);
  font: 400 0.75rem/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.catnav a:hover, .catnav a:focus-visible { background: var(--orange); border-color: var(--orange); outline: none; }

/* ---------- menu ---------- */
.menu { max-width: var(--wrap); margin: 0 auto; padding: 2rem 1rem 1rem; }
.menu__empty, .menu__note { text-align: center; color: var(--muted); font-size: 0.85rem; }
.menu__note { margin: 2.5rem 0 0; letter-spacing: 0.04em; }

.section { padding-top: 1.25rem; }
.section__title {
  margin: 0;
  text-align: center;
  font: 500 1.05rem/1.2 var(--sans);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--green);
  padding-left: 0.32em; /* optically centre tracked caps */
}
.section__rule {
  display: block;
  width: 2.75rem; height: 1px;
  margin: 0.8rem auto 1.4rem;
  background: var(--gold);
}
.section__sprig { display: block; margin: 2rem auto 0.75rem; color: var(--taupe); opacity: 0.7; }
.section__sprig--flip { transform: scaleX(-1); }

.items { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.15rem; }
.item { display: flex; gap: 0.9rem; align-items: flex-start; }
.item__img {
  flex: none;
  width: 84px; height: 100px;
  object-fit: cover;
  border-radius: 42px 42px 0.6rem 0.6rem; /* the deck's arch */
  background: var(--sand);
}
.item__body { flex: 1; min-width: 0; }
.item__head { display: flex; align-items: baseline; gap: 0.5rem; }
.item__name {
  font-weight: 400;
  margin: 0;
  font: 400 1.02rem/1.3 var(--sans);
  color: var(--ink);
  letter-spacing: 0.02em;
}
.item__dots {
  flex: 1; min-width: 1rem;
  border-bottom: 1px dotted rgba(177, 139, 108, 0.7);
  transform: translateY(-0.25rem);
}
.item__price {
  flex: none;
  font: 400 0.95rem/1 var(--sans);
  color: var(--green);
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
}
.item__desc { margin: 0.25rem 0 0; font-size: 0.88rem; color: var(--muted); }

.item--out .item__name,
.item--out .item__price { color: var(--muted); }
.item--out .item__price { text-decoration: line-through; }
.item--out .item__img { filter: grayscale(0.8); opacity: 0.6; }
.badge {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.15rem 0.55rem;
  border: 1px solid var(--orange);
  border-radius: 999px;
  color: var(--orange);
  font: 500 0.66rem/1.4 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---------- footer ---------- */
.footer {
  position: relative;
  overflow: hidden;
  margin-top: 3rem;
  padding: 3rem 1rem calc(2rem + env(safe-area-inset-bottom));
  background: var(--green);
  color: rgba(247, 230, 214, 0.78);
  text-align: center;
  font-size: 0.85rem;
  border-radius: 2.5rem 2.5rem 0 0;
}
.footer::before {
  content: "";
  position: absolute; left: -25%; bottom: -35%;
  width: 70%; aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(200, 146, 63, 0.45);
}
.footer__logo { width: 112px; height: auto; margin: 0 auto; }
.footer__sub {
  margin: 0.6rem 0 0;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: var(--sand);
}
.footer__tagline { margin: 0.9rem 0 1.4rem; font: 400 2rem/1 var(--script); color: var(--orange-soft); }
.footer__line { margin: 0.35rem 0; }
.footer__line a, .footer__legal a { color: var(--cream); text-decoration-color: rgba(247, 230, 214, 0.35); text-underline-offset: 3px; }
.footer__ps { display: inline-flex; align-items: center; gap: 0.4rem; }
.icon { flex: none; }
.footer__legal { margin: 1.4rem 0 0; font-size: 0.75rem; }

.powered {
  position: relative;
  display: inline-block;
  margin-top: 1.1rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(247, 230, 214, 0.5);
  text-decoration: none;
}
.powered__brand { font-weight: 500; color: var(--orange-soft); }
.powered:hover .powered__brand, .powered:focus-visible .powered__brand { text-decoration: underline; }

/* ---------- plain pages ---------- */
.page { max-width: var(--wrap); margin: 0 auto; padding: 2.5rem 1rem 1rem; }
.page__back { font-size: 0.85rem; color: var(--orange); }
.page__title { font: 400 2.2rem/1.2 var(--serif); color: var(--green); margin: 1.25rem 0 1rem; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

.subgroup { margin-top: 0.4rem; }
.subgroup__title { margin: 0; font: 400 1.9rem/1 var(--script); color: var(--orange); }

/* ---------- menu switcher (Café · Sushi · Oriental) ---------- */
.menus {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem;
  width: fit-content; max-width: 100%;
  margin: 1.1rem auto 0; padding: 0.3rem;
  border: 1px solid rgba(177, 139, 108, 0.45);
  border-radius: 999px;
  background: rgba(249, 238, 226, 0.75);
}
.menus__tab {
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  color: var(--green);
  font: 500 0.78rem/1 var(--sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
}
.menus__tab--on { background: var(--green); color: var(--cream); }
.menus__tab:not(.menus__tab--on):hover { background: var(--sand); }

/* "Ō" drawn like the logo: an O with a bar above it (see Brand in Layout.tsx). */
.brand { white-space: nowrap; }
.brand__o { position: relative; display: inline-block; line-height: 1; }
.brand__o::before {
  content: "";
  position: absolute; left: 20%; right: 20%; top: -0.1em;
  height: max(1px, 0.08em);
  background: currentColor;
}
