/* ============================================================
   El Binocol — Mobile-first editorial menu
   Palette: warm bone canvas, off-black ink, muted spot pastels
   ============================================================ */

:root {
  --bone:        #F4EFE6;
  --bone-soft:   #FAF6EE;
  --bone-deep:   #ECE5D6;
  --ink:         #1A1714;
  --ink-soft:    #4B4540;
  --ink-mute:    #8B8378;
  --rule:        rgba(26, 23, 20, 0.10);
  --rule-soft:   rgba(26, 23, 20, 0.06);
  --accent:      #6B3F2A;
  --price:       #1A1714;

  --serif:  'Cormorant Garamond', 'Lyon Text', 'Newsreader', Georgia, serif;
  --sans:   'Inter', 'SF Pro Display', 'Helvetica Neue', system-ui, sans-serif;
  --gothic: 'UnifrakturMaguntia', 'Cormorant Garamond', serif;

  --pad:    20px;
  --maxw:   720px;

  --ease:   cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
}

button { font-family: inherit; cursor: pointer; }

/* ----------------------------------------------------------------
   SPLASH — Language picker
---------------------------------------------------------------- */
.splash {
  position: fixed; inset: 0;
  background: var(--bone);
  display: flex; align-items: center; justify-content: center;
  z-index: 100;
  padding: 32px 24px;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(107, 63, 42, 0.04), transparent 50%),
    radial-gradient(circle at 80% 90%, rgba(107, 63, 42, 0.03), transparent 50%);
}
.splash.fade-out { opacity: 0; pointer-events: none; transition: opacity 600ms var(--ease); }

.splash-inner {
  width: 100%; max-width: 380px;
  display: flex; flex-direction: column;
  align-items: center; gap: 36px;
}

.splash-brand { text-align: center; }
.brand-mark {
  font-family: var(--gothic);
  font-size: clamp(46px, 14vw, 64px);
  font-weight: 400;
  letter-spacing: 0.01em;
  margin: 0;
  color: var(--ink);
  line-height: 1;
}
.splash-tagline {
  margin: 14px 0 0;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.splash-divider {
  display: flex; align-items: center; gap: 14px;
  width: 100%;
}
.splash-divider span {
  flex: 1; height: 1px;
  background: var(--rule);
}
.splash-divider small {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  white-space: nowrap;
}

.lang-grid {
  display: flex; flex-direction: column;
  gap: 10px; width: 100%;
}
.lang-btn {
  display: flex; align-items: baseline; justify-content: space-between;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 22px 24px;
  color: var(--ink);
  transition: background 220ms var(--ease), border-color 220ms var(--ease), transform 120ms var(--ease);
}
.lang-btn:hover { background: var(--bone-soft); border-color: rgba(26,23,20,0.18); }
.lang-btn:active { transform: scale(0.985); }
.lang-code {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.lang-name {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.splash-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: auto;
}
.splash-foot .poweredby { margin: 0; }

/* ----------------------------------------------------------------
   APP SHELL
---------------------------------------------------------------- */
.app[hidden] { display: none; }

.topbar {
  position: sticky; top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  padding: 12px var(--pad);
  padding-top: calc(12px + env(safe-area-inset-top));
  background: rgba(244, 239, 230, 0.92);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--rule);
}
.topbar-brand {
  text-align: center;
  font-family: var(--gothic);
  font-size: 26px;
  font-weight: 400;
  margin: 0;
  color: var(--ink);
  letter-spacing: 0.01em;
  cursor: pointer;
  user-select: none;
}

.icon-btn {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: none;
  color: var(--ink);
  border-radius: 6px;
  padding: 0;
  transition: background 180ms var(--ease);
}
.icon-btn:hover { background: var(--bone-deep); }
.icon-btn:active { transform: scale(0.95); }

.lang-pill {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--rule);
  width: auto;
  padding: 0 12px;
  height: 32px;
  border-radius: 999px;
  align-self: center;
  justify-self: end;
}

/* ----------------------------------------------------------------
   MENU CONTENT
---------------------------------------------------------------- */
.menu-content {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px var(--pad) 80px;
}

.category {
  margin: 56px 0 0;
  scroll-margin-top: 80px;
}
.category:first-child { margin-top: 28px; }

.cat-head {
  display: flex; align-items: baseline; gap: 16px;
  margin: 0 0 26px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.cat-number {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
  font-feature-settings: "tnum";
}
.cat-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(34px, 8.5vw, 44px);
  letter-spacing: -0.015em;
  line-height: 1;
  margin: 0;
  color: var(--ink);
}

.cat-intro {
  margin: -6px 0 30px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.65;
  font-family: var(--serif);
  font-style: italic;
}

.subcat {
  margin: 40px 0 20px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.005em;
  text-transform: none;
  color: var(--ink);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
}

/* Items */
.item {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.item:last-child { border-bottom: none; }

.item-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.item-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.25;
  flex: 0 1 auto;
}
.item-leader {
  flex: 1;
  height: 1px;
  align-self: end;
  margin: 0 4px 6px;
  border-bottom: 1px dotted rgba(26,23,20,0.22);
  min-width: 8px;
}
.item-price {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--price);
  font-feature-settings: "tnum";
  white-space: nowrap;
}

.item-desc {
  margin: 6px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
  padding-right: 70px;
}

.item-meta {
  margin: 6px 0 0;
  display: flex; flex-wrap: wrap;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.item-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-mute); align-self: center; opacity: 0.6; }

/* Sizes */
.sizes {
  margin: 8px 0 0;
  display: flex; flex-direction: column;
  gap: 4px;
}
.size-row {
  display: flex; align-items: baseline; gap: 10px;
  font-size: 13px;
  color: var(--ink-soft);
  font-family: var(--serif);
}
.size-label { min-width: 64px; font-style: italic; }
.size-leader { flex: 1; height: 1px; border-bottom: 1px dotted rgba(26,23,20,0.18); align-self: end; margin-bottom: 5px; }
.size-price { font-feature-settings: "tnum"; color: var(--price); font-weight: 500; }

/* Allergen badges */
.allergens {
  display: inline-flex; flex-wrap: wrap; gap: 4px;
  margin-left: 6px;
  vertical-align: middle;
}
.allergen {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0;
  line-height: 1;
  cursor: help;
}
.a-1  { background: #C97A2B; } /* glutine */
.a-2  { background: #2E6FAA; } /* crostacei */
.a-3  { background: #5BAFA8; } /* uova */
.a-4  { background: #2A6BB7; } /* pesce */
.a-5  { background: #E0742F; } /* arachidi */
.a-6  { background: #5B8B3A; } /* soia */
.a-7  { background: #B2A487; color: #2A2520;} /* latte */
.a-8  { background: #7E4A2B; } /* frutta a guscio */
.a-9  { background: #4A8C45; } /* sedano */
.a-10 { background: #D6A732; color: #2A2520;} /* senape */
.a-11 { background: #3A302A; } /* sesamo */
.a-12 { background: #2C3E62; } /* solfiti */
.a-13 { background: #9F4E84; } /* lupini */
.a-14 { background: #6FA8C1; } /* molluschi */

/* ----------------------------------------------------------------
   FEATURE ENTRIES — opening cards (pairings, finder)
---------------------------------------------------------------- */
.features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 8px 0 28px;
}

.feature-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  padding: 18px 18px;
  background: var(--bone-soft);
  border: 1px solid var(--rule);
  border-radius: 8px;
  cursor: pointer;
  transition: background 200ms var(--ease), border-color 200ms var(--ease), transform 120ms var(--ease);
  font-family: inherit;
  color: inherit;
}
.feature-card:hover {
  background: var(--bone-deep);
  border-color: rgba(26, 23, 20, 0.16);
}
.feature-card:active { transform: scale(0.99); }

.feature-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #FAF6EE;
  font-size: 16px;
  flex-shrink: 0;
}
.feature-marker svg { display: block; }

.feature-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.feature-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
  color: var(--ink);
}
.feature-sub {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}

.feature-arrow {
  color: var(--ink-mute);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 200ms var(--ease), color 200ms var(--ease);
}
.feature-card:hover .feature-arrow {
  color: var(--accent);
  transform: translateX(2px);
}

/* ----------------------------------------------------------------
   OVERLAY — generic modal
---------------------------------------------------------------- */
html.overlay-locked,
html.overlay-locked body { overflow: hidden; }

.overlay {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  align-items: stretch;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms var(--ease);
}
.overlay[hidden] { display: none; }
.overlay.open { opacity: 1; pointer-events: auto; }

.overlay-scrim {
  position: absolute;
  inset: 0;
  background: rgba(26, 23, 20, 0.45);
}

.overlay-panel {
  position: relative;
  z-index: 1;
  background: var(--bone);
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  max-height: 100dvh;
  overflow: hidden;
  transform: translateY(8px);
  transition: transform 280ms var(--ease);
}
.overlay.open .overlay-panel { transform: translateY(0); }

@media (min-width: 700px) {
  .overlay { padding: 40px 20px; align-items: center; }
  .overlay-panel {
    max-height: calc(100dvh - 80px);
    border-radius: 12px;
    border: 1px solid var(--rule);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
  }
}

.overlay-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  padding-top: calc(16px + env(safe-area-inset-top));
  border-bottom: 1px solid var(--rule);
  background: var(--bone);
  flex-shrink: 0;
}
.overlay-title {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
  line-height: 1.2;
}
.overlay-close {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: var(--ink);
  cursor: pointer;
  transition: background 180ms var(--ease);
}
.overlay-close:hover { background: var(--bone-deep); }

.overlay-body {
  padding: 22px;
  padding-bottom: calc(22px + env(safe-area-inset-bottom));
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

.overlay-intro {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ----------------------------------------------------------------
   PIZZA FINDER
---------------------------------------------------------------- */
.finder-selected {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  min-height: 38px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 4px;
}
.finder-empty {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-mute);
}

.finder-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--ink);
  color: var(--bone);
  border: none;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 180ms var(--ease);
}
.finder-tag:hover { background: var(--accent); }
.finder-tag-x { font-size: 10px; opacity: 0.7; }

.finder-clear {
  margin-left: auto;
  padding: 6px 0 6px 10px;
  background: transparent;
  border: none;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  cursor: pointer;
}
.finder-clear:hover { color: var(--accent); }

.finder-picker { margin: 14px 0 4px; }
.finder-category {
  margin: 18px 0 10px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.finder-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.finder-chip {
  padding: 8px 14px;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  border-radius: 999px;
  font-family: var(--serif);
  font-size: 14px;
  cursor: pointer;
  transition: background 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease);
}
.finder-chip:hover {
  background: var(--bone-soft);
  border-color: rgba(26, 23, 20, 0.2);
}
.finder-chip.active {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}

.finder-summary {
  margin: 26px 0 0;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  min-height: 0;
}
.finder-summary:empty { display: none; }

.finder-results {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}
.finder-result {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.finder-result-cat {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.finder-result .item {
  padding: 8px 0;
  border-bottom: none;
}

/* drawer entry for finder */
.drawer-nav a.finder-link {
  font-style: italic;
  color: var(--ink);
}
.drawer-nav a.finder-link .nav-index {
  font-size: 14px;
  color: var(--ink-mute);
}

/* ----------------------------------------------------------------
   PAIRINGS — cards inside overlay
---------------------------------------------------------------- */
.pairings-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 4px;
}

.pairing {
  padding: 22px 22px 20px;
  background: var(--bone-soft);
  border: 1px solid var(--rule);
  border-radius: 8px;
}

.pairing-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}
.pairing-num {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--accent);
  font-feature-settings: "tnum";
}
.pairing-label {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 20px;
  color: var(--accent);
  letter-spacing: -0.005em;
  line-height: 1.1;
}

.pairing-couple {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin: 0 0 16px;
  font-family: var(--serif);
}
.pairing-pizza {
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.pairing-amp {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--rule);
  margin: 4px 0;
}
.pairing-beer {
  font-size: 18px;
  font-style: italic;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.3;
}
.pairing-size {
  font-style: normal;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-left: 10px;
  vertical-align: 2px;
}

.pairing-note {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  padding-top: 14px;
  border-top: 1px solid var(--rule-soft);
}

.pairing-price {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
  font-feature-settings: "tnum";
  letter-spacing: -0.005em;
}

.drawer-nav a.pairings-link {
  font-style: italic;
  color: var(--accent);
}
.drawer-nav a.pairings-link:hover { color: var(--accent); }
.drawer-nav a.pairings-link .nav-index {
  color: var(--accent);
  font-size: 12px;
}

/* ----------------------------------------------------------------
   ALLERGEN KEY
---------------------------------------------------------------- */
.allergen-key {
  margin: 12px 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 22px;
  background: var(--bone-soft);
  border: 1px solid var(--rule);
  border-radius: 8px;
}
.allergen-key-row {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px;
  color: var(--ink-soft);
  font-family: var(--serif);
}
.allergen-key-row .allergen { width: 22px; height: 22px; font-size: 10px; flex-shrink: 0; }
.allergen-notice {
  margin: 18px 0 0;
  font-size: 12px;
  color: var(--ink-mute);
  line-height: 1.6;
  font-style: italic;
  font-family: var(--serif);
}

/* ----------------------------------------------------------------
   DRAWER
---------------------------------------------------------------- */
.drawer {
  position: fixed; inset: 0;
  z-index: 90;
  pointer-events: none;
}
.drawer.open { pointer-events: auto; }

.drawer-scrim {
  position: absolute; inset: 0;
  z-index: 1;
  background: rgba(26, 23, 20, 0);
  transition: background 320ms var(--ease);
}
.drawer.open .drawer-scrim { background: rgba(26, 23, 20, 0.42); }

.drawer-panel {
  position: absolute; top: 0; bottom: 0; left: 0;
  z-index: 2;
  width: min(86vw, 360px);
  background: var(--bone);
  display: flex; flex-direction: column;
  transform: translateX(-100%);
  transition: transform 360ms var(--ease);
  padding: 18px 22px;
  padding-top: calc(18px + env(safe-area-inset-top));
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto;
  box-shadow: 1px 0 0 0 var(--rule);
}
.drawer.open .drawer-panel { transform: translateX(0); }

.drawer-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.drawer-brand {
  font-family: var(--gothic);
  font-size: 24px;
  color: var(--ink);
}

.drawer-nav {
  display: flex; flex-direction: column;
  gap: 0;
  margin-bottom: 18px;
}
.drawer-nav a {
  display: flex; align-items: baseline; justify-content: space-between;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule-soft);
  transition: color 180ms var(--ease);
}
.drawer-nav a:hover { color: var(--accent); }
.drawer-nav .nav-index {
  font-family: var(--sans);
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: 0.18em;
  font-feature-settings: "tnum";
}

.drawer-nav a.featured {
  font-style: italic;
  font-weight: 600;
  font-size: 22px;
  color: var(--accent);
  background: rgba(107, 63, 42, 0.07);
  border: 1px solid rgba(107, 63, 42, 0.18);
  border-radius: 6px;
  padding: 16px 14px;
  margin: 8px -10px;
  transition: background 180ms var(--ease), color 180ms var(--ease);
}
.drawer-nav a.featured:hover {
  background: rgba(107, 63, 42, 0.13);
  color: var(--accent);
}
.drawer-nav a.featured .nav-index {
  color: var(--accent);
  opacity: 0.7;
  font-weight: 500;
}

.drawer-section { margin-top: 22px; }
.drawer-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 10px;
}
.drawer-langs {
  display: flex; gap: 6px;
}
.drawer-lang {
  flex: 1;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  border-radius: 6px;
  padding: 10px 0;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 180ms var(--ease);
}
.drawer-lang.active {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}

.drawer-allergen-link {
  display: block;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
}

/* ----------------------------------------------------------------
   FOOT
---------------------------------------------------------------- */
.app-foot {
  text-align: center;
  padding: 40px var(--pad);
  border-top: 1px solid var(--rule);
  margin-top: 60px;
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 14px;
}
.app-foot p { margin: 4px 0; }
.app-foot .muted {
  font-style: normal;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 12px;
}

.poweredby {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 14px 0 0;
}
.poweredby a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  transition: color 180ms var(--ease);
}
.poweredby a:hover {
  color: var(--accent);
}
.app-foot .poweredby { margin-top: 18px; }

/* ----------------------------------------------------------------
   Reveal animations
---------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ----------------------------------------------------------------
   Larger screens
---------------------------------------------------------------- */
@media (min-width: 700px) {
  :root { --pad: 32px; }
  .topbar-brand { font-size: 30px; }
  .item-name { font-size: 19px; }
  .cat-title { font-size: 48px; }
  .subcat { font-size: 26px; }
  .cat-intro { font-size: 16px; }
  .allergen-key { grid-template-columns: 1fr 1fr; }
  .pairings-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .pairing-label { font-size: 22px; }
  .pairing-pizza { font-size: 21px; }
  .pairing-beer { font-size: 19px; }
  .features { flex-direction: row; }
  .feature-card { flex: 1; }
}
