/* Shared styling for the static content pages (menu, about).
   Self-contained and script-free: palette and fonts mirror the app so these
   pages read as the same café. Theme follows the visitor's system setting. */

:root {
  --page: #fdf3ec;
  --ink: #3f3730;
  --sub: #70645b;
  --acc: #b8637d;
  --acc-hover: #8a4a5e;
  --edge: #3f3730;
  --card: #ffffff;
  --shadow: rgba(63, 55, 48, 0.85);
  --soft: rgba(63, 55, 48, 0.15);
  --chip: #fbe3ea;
  --tape-a: rgba(216, 137, 158, 0.6);
  --tape-b: rgba(249, 218, 226, 0.72);
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #1d211e;
    --ink: #efece2;
    --sub: #a9a293;
    --acc: #e6a2b3;
    --acc-hover: #f3c2ce;
    --edge: #454c45;
    --card: #2b302c;
    --shadow: rgba(0, 0, 0, 0.5);
    --soft: rgba(0, 0, 0, 0.3);
    --chip: #3a2f33;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Quicksand", "Noto Color Emoji", sans-serif;
  font-weight: 600;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--acc); text-decoration: none; }
a:hover { color: var(--acc-hover); text-decoration: underline; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 10px 14px;
  background: var(--card);
  border: 2px solid var(--edge);
  border-radius: 10px;
  z-index: 10;
}
.skip:focus { left: 12px; top: 12px; }

.wrap { max-width: 860px; margin: 0 auto; padding: 26px 20px 72px; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 26px;
}
.brand {
  font-family: "Cherry Bomb One", cursive;
  font-size: 26px;
  color: var(--acc);
  line-height: 1;
}
.brand:hover { text-decoration: none; }
.back { font-weight: 700; font-size: 14px; }

h1 {
  font-family: "Jua", sans-serif;
  font-weight: 400;
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.1;
  margin: 0 0 8px;
}
.lede { color: var(--sub); margin: 0 0 30px; font-size: 15px; }

h2 {
  font-family: "Jua", sans-serif;
  font-weight: 400;
  font-size: 22px;
  margin: 34px 0 14px;
}

/* Menu */
.menu-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--card);
  border: 2px solid var(--edge);
  border-radius: 16px;
  box-shadow: 3px 3px 0 var(--soft);
}
.item .emoji { font-size: 26px; line-height: 1; flex: none; }
.item .name { flex: 1; font-weight: 700; }
.item .price { color: var(--sub); font-weight: 700; font-variant-numeric: tabular-nums; }

.note { margin-top: 30px; color: var(--sub); font-size: 14px; }

/* About */
.card {
  position: relative;
  background: var(--card);
  border: 2px solid var(--edge);
  border-radius: 20px;
  box-shadow: 4px 4px 0 var(--shadow);
  padding: 26px 22px;
  margin: 0 0 22px;
}
.tape {
  position: absolute;
  top: -11px;
  left: 50%;
  width: 118px;
  height: 20px;
  border-radius: 3px;
  background: repeating-linear-gradient(45deg, var(--tape-a) 0 8px, var(--tape-b) 8px 16px);
  transform: translateX(-50%) rotate(-1.4deg);
}
.story { font-size: 17px; margin: 0; }
.about-section { margin: 22px 0 0; }
.about-section p { margin: 4px 0 0; color: var(--sub); }
.rooms { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rooms li a {
  display: inline-block;
  padding: 7px 13px;
  background: var(--chip);
  border: 1px solid var(--acc);
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
}
.rooms li a:hover { text-decoration: none; }

.foot {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--soft);
  color: var(--sub);
  font-size: 13px;
}

@media (prefers-reduced-motion: no-preference) {
  .item { transition: transform 150ms ease; }
  .item:hover { transform: translateY(-2px); }
}
