:root {
  color-scheme: light;
  --black: #4a3a31;
  --black-2: #725f53;
  --coffee: #b69279;
  --coffee-light: #ead4c2;
  --gold: #d8b79d;
  --gold-soft: #f3decd;
  --cream: #f8efe5;
  --muted: #9d8371;
  --muted-strong: #7f6758;
  --green: #d4d7ca;
  --line: rgba(164, 132, 109, 0.2);
  --line-strong: rgba(164, 132, 109, 0.38);
  --panel: rgba(248, 239, 229, 0.94);
  --panel-soft: rgba(243, 231, 220, 0.92);
  --panel-solid: rgba(250, 242, 234, 0.98);
  --shadow: 0 24px 72px rgba(118, 92, 71, 0.14);
  --serif: Georgia, "Times New Roman", serif;
  --sans:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #efe0d2;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--black);
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 247, 239, 0.82), transparent 27rem),
    radial-gradient(circle at 88% 0%, rgba(236, 217, 200, 0.78), transparent 24rem),
    radial-gradient(circle at 54% 96%, rgba(228, 205, 185, 0.68), transparent 26rem),
    linear-gradient(145deg, #f6ece2 0%, #efdfcf 48%, #e7d3c0 100%);
  font-family: var(--sans);
  font-size: 16px;
  letter-spacing: -0.01em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.phone-frame {
  position: relative;
  width: min(100%, 520px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: visible;
  border-inline: 1px solid rgba(170, 145, 126, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 246, 237, 0.55), transparent 18rem),
    rgba(247, 237, 227, 0.92);
  isolation: isolate;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -3;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(180, 160, 145, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 160, 145, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.glow {
  position: fixed;
  z-index: -2;
  width: 18rem;
  height: 18rem;
  border-radius: 999px;
  filter: blur(44px);
  pointer-events: none;
}

.glow-coffee {
  top: 7rem;
  left: calc(50% - 20rem);
  background: rgba(243, 222, 205, 0.9);
}

.glow-gold {
  right: calc(50% - 20rem);
  bottom: 5rem;
  background: rgba(228, 200, 178, 0.72);
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  width: auto;
  margin-left: 0;
  padding: max(0.8rem, env(safe-area-inset-top)) max(1.05rem, env(safe-area-inset-right)) 0.72rem max(1.05rem, env(safe-area-inset-left));
  border-bottom: 1px solid var(--line);
  background: rgba(246, 235, 225, 0.92);
  backdrop-filter: blur(22px) saturate(1.12);
}

.button-group,
.header-spacer {
  display: flex;
  align-items: center;
}

.button-group {
  gap: 0.5rem;
}

.header-spacer {
  min-width: 1px;
}

.round-button,
.quick-links a {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(249, 240, 231, 0.88);
  box-shadow: 0 10px 28px rgba(132, 107, 88, 0.12);
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.home-button {
  width: 2.78rem;
  height: 2.78rem;
  border-color: rgba(219, 194, 175, 0.7);
  background: rgba(243, 222, 205, 0.86);
}

.language-button {
  border-color: rgba(201, 210, 197, 0.85);
  background: rgba(234, 229, 219, 0.9);
}

.nav-icon {
  width: 1.42rem;
  height: 1.42rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.language-icon {
  width: 1.48rem;
  height: 1.48rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.language-letter {
  stroke-width: 1.65;
}

.round-button:hover,
.quick-links a:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: rgba(244, 225, 209, 0.98);
}

.round-button:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.screen {
  padding: calc(5.15rem + env(safe-area-inset-top)) 0.9rem 6.4rem;
}

.page-enter {
  animation: pageIn 260ms ease both;
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(0.6rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow {
  margin: 0 0 0.45rem;
  color: var(--gold-soft);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 0.72rem;
  font-size: clamp(2.25rem, 9.5vw, 3.75rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.58rem, 6.3vw, 2rem);
  line-height: 1.02;
  letter-spacing: -0.028em;
}

h3 {
  margin-bottom: 0.32rem;
  font-size: 1.06rem;
  line-height: 1.18;
}

.lead {
  max-width: 35rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.62;
}

.hero-intro {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 16.2rem;
  margin-bottom: 0.9rem;
  padding: 1.4rem 1.05rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.65rem;
  text-align: center;
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 246, 238, 0.84), transparent 34%),
    radial-gradient(circle at 78% 82%, rgba(232, 203, 181, 0.5), transparent 38%),
    linear-gradient(145deg, rgba(248, 238, 228, 0.98), rgba(239, 224, 211, 0.98));
  box-shadow: var(--shadow);
}

.hero-intro::after {
  content: "";
  position: absolute;
  right: -0.75rem;
  bottom: 0.35rem;
  color: rgba(170, 145, 126, 0.08);
  font-family: var(--serif);
  font-size: 4.35rem;
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.8;
  transform: rotate(-90deg);
  transform-origin: right bottom;
}

.hero-intro .eyebrow {
  position: relative;
  z-index: 1;
  margin-bottom: 0.7rem;
  color: var(--muted-strong);
}

.hero-intro h1 {
  position: relative;
  z-index: 1;
  max-width: 8ch;
  margin-bottom: 0;
}

.title-hero {
  min-height: 0;
  align-content: start;
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
  margin-bottom: 0.12rem;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.brand-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: min(72%, 16rem);
  height: auto;
}

.hero-actions,
.detail-strip,
.meta-row,
.item-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-actions,
.detail-strip,
.meta-row {
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.34rem 0.68rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--black);
  background: rgba(249, 240, 231, 0.88);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.01em;
}

.pill.gold {
  color: #5e4a3e;
  border-color: transparent;
  background: var(--gold-soft);
  box-shadow: 0 8px 20px rgba(183, 121, 70, 0.14);
}

.route-grid,
.category-grid,
.item-list {
  display: grid;
  gap: 0.78rem;
}

.route-card,
.category-card,
.item-card,
.notice-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(1.05);
}

.route-card,
.category-card {
  display: block;
  position: relative;
  min-height: 9.5rem;
  overflow: hidden;
  padding: 1rem 0.95rem;
  border-radius: 1.35rem;
  cursor: pointer;
}

.route-card::before,
.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 88% 18%, var(--accent), transparent 38%),
    linear-gradient(135deg, rgba(247, 239, 224, 0.075), transparent 44%);
  opacity: 0.74;
}

.route-card h2 {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(1.22rem, 5.1vw, 2rem);
}

.home-menu-card {
  min-height: 11rem;
}

.photo-card {
  display: grid;
  align-content: space-between;
  background:
    linear-gradient(90deg, rgba(74, 58, 49, 0.38), rgba(74, 58, 49, 0.14)),
    var(--card-image) center / cover no-repeat;
}

.card-cover-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.photo-card::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(74, 58, 49, 0.38), rgba(74, 58, 49, 0.14)),
    radial-gradient(circle at 88% 18%, var(--accent), transparent 44%);
}

.photo-card h2,
.photo-card .card-footer {
  position: relative;
  z-index: 2;
}

.photo-card h2 {
  color: #fffdf8;
}

.route-card p,
.category-card p,
.notice-card p,
.item-card p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.52;
}

.menu-preview-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.48rem;
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
}

.menu-preview-list li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  color: var(--muted-strong);
  font-size: 0.9rem;
  line-height: 1.28;
}

.menu-preview-list li::before {
  content: "";
  width: 0.34rem;
  height: 0.34rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--gold-soft);
  transform: translateY(-0.08rem);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.05rem;
}

.arrow {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  color: #5e4a3e;
  background: var(--gold-soft);
  font-weight: 900;
}

.notice-card {
  margin-bottom: 0.78rem;
  padding: 0.9rem 0.95rem;
  border-radius: 1.2rem;
  background: var(--panel-soft);
}

.section-gap {
  margin-top: 2.15rem;
}

.category-card {
  min-height: 8.2rem;
}

.item-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.85rem;
  padding: 0.92rem;
  border-radius: 1.1rem;
  background:
    linear-gradient(135deg, rgba(252, 243, 235, 0.42), transparent 48%),
    var(--panel);
}

.price {
  color: #8d5f45;
  font-size: 0.94rem;
  font-weight: 850;
  white-space: nowrap;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.tag {
  padding: 0.23rem 0.48rem;
  border-radius: 999px;
  color: #5e4a3e;
  background: rgba(224, 189, 146, 0.9);
  font-size: 0.66rem;
  font-weight: 820;
}

.pairing {
  color: var(--muted-strong);
}

.quick-menu {
  position: fixed;
  z-index: 30;
  right: max(0.9rem, calc((100vw - 520px) / 2 + 0.9rem));
  bottom: max(1rem, env(safe-area-inset-bottom));
}

.quick-links {
  display: grid;
}

.quick-links a {
  border-color: rgba(216, 183, 157, 0.68);
  background: rgba(246, 236, 226, 0.95);
  color: var(--black);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.social-icon {
  width: 1.28rem;
  height: 1.28rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.instagram-icon .filled-dot {
  fill: currentColor;
  stroke: none;
}

.facebook-icon {
  fill: currentColor;
  stroke: none;
}

.website-icon {
  fill: none;
  stroke: currentColor;
}

.overlay {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: end center;
  padding: 1rem;
  background: rgba(139, 111, 91, 0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.overlay-panel {
  width: min(100%, 506px);
  padding: 0.95rem;
  border: 1px solid var(--line);
  border-radius: 1.55rem;
  background: var(--panel-solid);
  box-shadow: var(--shadow);
  transform: translateY(0.8rem);
  transition: transform 180ms ease;
}

.overlay.open .overlay-panel {
  transform: translateY(0);
}

.promo-popup {
  position: fixed;
  inset: auto 1.1rem 1.1rem;
  z-index: 40;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.promo-popup-panel {
  position: relative;
  width: min(100%, 24rem);
  padding: 1rem 2.8rem 1rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  color: var(--text);
  background: var(--panel-solid);
  box-shadow: var(--shadow);
  pointer-events: auto;
}

.promo-popup-panel p {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
}

.promo-popup-close {
  position: absolute;
  top: 0.55rem;
  right: 0.6rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.35);
  font-size: 1.2rem;
  line-height: 1;
}

.overlay-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.overlay-head h2 {
  margin-bottom: 0;
}

.bare {
  background: transparent;
}

.language-list {
  display: grid;
  gap: 0.55rem;
}

.language-choice {
  min-height: 3.08rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(247, 237, 227, 0.9);
  cursor: pointer;
}

.language-choice.active {
  color: #5e4a3e;
  border-color: transparent;
  background: var(--gold-soft);
  font-weight: 950;
}

.fine-print {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

@media (min-width: 700px) {
  body {
    padding-block: 1.25rem;
  }

  .phone-frame {
    min-height: calc(100vh - 2.5rem);
    border: 1px solid rgba(170, 145, 126, 0.16);
    border-radius: 1.9rem;
    box-shadow: 0 28px 88px rgba(132, 107, 88, 0.16);
  }

  .topbar {
    border-radius: 0;
  }
}

@media (max-width: 370px) {
  .brand small {
    display: none;
  }

  .screen {
    padding-inline: 0.75rem;
  }

  .item-card {
    grid-template-columns: 1fr;
  }

  .price {
    justify-self: start;
  }
}
