/* ---------------------------------------------------------------
   La Đanesā — menu site
   Palette and type follow the printed card: warm paper, ink navy,
   coral accents, blush panels.
   --------------------------------------------------------------- */

:root {
  /* The dining room is a dim stone cellar under warm bulbs — the page
     defaults to that, and only goes light if the visitor asks for light. */
  --paper: #17120e;
  --paper-2: #1d1710;
  --card: #221b15;
  --panel: #2c2319;
  --blush: #38241b;
  --stone: #4a3a2a;
  --ink: #f3e7d5;
  --ink-soft: #c2ad91;
  --ink-faint: #8d7c66;
  --coral: #e08a3e;
  --coral-soft: #eaa163;
  --basil: #9bb083;
  --line: rgba(243, 231, 213, 0.15);
  --line-soft: rgba(243, 231, 213, 0.08);
  --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 14px 32px -16px rgba(0, 0, 0, .75);
  --radius: 18px;
  --nav-h: 100px;
  --serif: "Playfair Display", Georgia, serif;
  --slab: "Bitter", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --script: "Caveat", cursive;
}

@media (prefers-color-scheme: light) {
  :root {
    --paper: #f6efe3;
    --paper-2: #efe5d5;
    --card: #fffbf4;
    --panel: #ece2d2;
    --blush: #f3ddcd;
    --stone: #d8c4a5;
    --ink: #2b2118;
    --ink-soft: #6b5b48;
    --ink-faint: #9b8b76;
    --coral: #b85a26;
    --coral-soft: #cd7440;
    --basil: #5a7a4a;
    --line: rgba(43, 33, 24, 0.14);
    --line-soft: rgba(43, 33, 24, 0.08);
    --shadow: 0 1px 2px rgba(43, 33, 24, .05), 0 8px 24px -12px rgba(43, 33, 24, .2);
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    radial-gradient(90% 45% at 50% 0%, rgba(224, 138, 62, .16) 0%, transparent 70%),
    radial-gradient(120% 60% at 50% 0%, var(--paper-2) 0%, transparent 60%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom);
}

.wrap { max-width: 720px; margin: 0 auto; padding: 0 18px; }

/* ---------------------------------------------------------------- hero */

.hero {
  position: relative;
  min-height: clamp(430px, 62svh, 640px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #2a2521;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(16, 22, 28, .82) 0%, rgba(16, 22, 28, .28) 46%, rgba(16, 22, 28, .30) 100%);
}

.hero-content {
  position: relative;
  padding: 0 20px calc(30px + env(safe-area-inset-bottom) * 0);
  padding-bottom: 34px;
  width: 100%;
}

.hero .meta-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #f4b9ab;
  font-weight: 600;
}

.hero .meta-line::before,
.hero .meta-line::after {
  content: "";
  height: 1px;
  width: 34px;
  background: rgba(252, 245, 236, .45);
}

.wordmark {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: .02em;
  margin: 12px 0 0;
  line-height: 1;
  color: #fcf5ec;
  text-shadow: 0 2px 24px rgba(16, 22, 28, .45);
}

.wordmark .la {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .3em;
  padding-left: .3em;
  text-transform: uppercase;
}

.wordmark .name {
  display: block;
  font-family: var(--serif);
  font-size: clamp(52px, 17vw, 86px);
  font-weight: 900;
  letter-spacing: .06em;
  padding-left: .06em;
  margin-top: 4px;
  line-height: .95;
}

.hero .tagline {
  margin: 12px 0 0;
  font-family: var(--slab);
  font-style: italic;
  font-size: 15.5px;
  color: rgba(252, 245, 236, .92);
}

.hero .hours {
  margin: 10px auto 0;
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(252, 245, 236, .35);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .02em;
  color: rgba(252, 245, 236, .9);
  background: rgba(16, 22, 28, .25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* entrance */

@media (prefers-reduced-motion: no-preference) {
  .hero-img { animation: hero-zoom 7s ease-out both; }
  .hero-content > * { animation: rise .7s cubic-bezier(.2, .7, .3, 1) both; }
  .hero-content > *:nth-child(2) { animation-delay: .08s; }
  .hero-content > *:nth-child(3) { animation-delay: .16s; }
  .hero-content > *:nth-child(4) { animation-delay: .24s; }
}

@keyframes hero-zoom {
  from { transform: scale(1.07); }
  to { transform: none; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* ----------------------------------------------------------- nav / tabs */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  max-width: 720px;
  margin: 0 auto;
}

.tabs {
  display: flex;
  flex: 1;
  gap: 4px;
  padding: 4px;
  background: var(--panel);
  border-radius: 999px;
}

.tab {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 8px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .18s, color .18s;
}

.tab[aria-selected="true"] {
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.icon-btn {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  transition: border-color .18s, color .18s;
}

.icon-btn:active { color: var(--coral); border-color: var(--coral); }
.icon-btn svg { width: 18px; height: 18px; }

/* language switch */

.lang { position: relative; flex: 0 0 auto; }

.lang-btn {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
}

.lang-btn[aria-expanded="true"] { border-color: var(--coral); color: var(--coral); }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 5px;
  min-width: 92px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 30px -10px rgba(36, 56, 74, .35);
}

.lang-menu[hidden] { display: none; }

.lang-option {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  text-align: left;
  padding: 8px 12px;
  border-radius: 9px;
  cursor: pointer;
}

.lang-option.active { background: var(--coral); color: #fff; font-weight: 600; }

/* search */

.search-wrap { display: none; padding: 0 18px 10px; max-width: 720px; margin: 0 auto; }
.search-wrap.open { display: block; }

.search-wrap input {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
}

.search-wrap input:focus { border-color: var(--coral); }
.search-wrap input::placeholder { color: var(--ink-faint); }

/* chips */

.chips {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 18px 10px;
  max-width: 720px;
  margin: 0 auto;
  scroll-padding-inline: 18px;
}

.chips::-webkit-scrollbar { display: none; }

.chip {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  padding: 6px 13px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}

.chip.active {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}

/* -------------------------------------------------------------- sections */

main { padding-top: 14px; }

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .3, 1);
  }
  .reveal.in { opacity: 1; transform: none; }
}

.section {
  margin: 0 0 12px;
  padding: 20px 18px 8px;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  scroll-margin-top: var(--nav-h);
}

.section.accent { background: var(--blush); }

.section-head { margin-bottom: 14px; }

.section h2 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(25px, 7.4vw, 32px);
  line-height: 1.02;
  letter-spacing: -.005em;
  text-transform: uppercase;
  color: var(--coral);
  margin: 0;
}

.section .script {
  display: block;
  font-family: var(--script);
  font-weight: 700;
  font-size: 27px;
  line-height: 1;
  color: var(--ink);
  margin-top: 4px;
  transform: rotate(-2.2deg);
  transform-origin: left center;
}

.section .kicker {
  margin: 8px 0 0;
  font-family: var(--slab);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.section .note {
  margin: 6px 0 0;
  font-size: 13px;
  font-style: italic;
  color: var(--ink-soft);
  max-width: 46ch;
}

.base-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 10px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
}

.base-badge .lbl {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.base-badge .val { font-family: var(--slab); font-weight: 700; font-size: 15px; }

/* group inside a section */

.group { margin-top: 18px; }

.group-title {
  font-family: var(--slab);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.group-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--coral);
  opacity: .5;
}

.group-title.hand {
  font-family: var(--script);
  font-size: 24px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--coral);
}

.group .note { margin-bottom: 6px; }

/* ------------------------------------------------------------------ items */

.item {
  display: block;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
}

.item:last-child { border-bottom: 0; }

.item-top {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.item-name {
  font-family: var(--slab);
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1.25;
  color: var(--ink);
}

.dots {
  flex: 1;
  min-width: 14px;
  height: 1px;
  align-self: flex-end;
  margin-bottom: 5px;
  border-bottom: 1.5px dotted var(--line);
}

.price {
  font-family: var(--slab);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  white-space: nowrap;
}

.price .xl {
  color: var(--coral);
  font-size: 13.5px;
}

.price .xl::before {
  content: " / ";
  color: var(--ink-faint);
}

.item-desc {
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-soft);
  max-width: 48ch;
}

.item.extra .item-name,
.item.extra .price { color: var(--coral); font-style: italic; font-size: 14px; }

.item.compact { padding: 8px 0; }
.item.compact .item-name { font-size: 14.5px; font-style: italic; font-weight: 500; }

.star {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--coral);
  margin-right: 7px;
  vertical-align: middle;
  transform: translateY(-2px);
}

mark {
  background: color-mix(in srgb, var(--coral) 22%, transparent);
  color: inherit;
  border-radius: 3px;
  padding: 0 1px;
}

.footnote {
  margin: 12px 0 4px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--panel);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-soft);
  text-align: center;
}

.milk-note {
  margin: 0 0 12px;
  font-family: var(--script);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.15;
  color: var(--ink-soft);
  text-align: center;
}

/* -------------------------------------------------------------- no results */

.empty {
  display: none;
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-soft);
}

.empty.show { display: block; }
.empty .big { font-family: var(--serif); font-size: 22px; color: var(--ink); }

/* ------------------------------------------------------------------ footer */

footer {
  padding: 28px 18px calc(28px + env(safe-area-inset-bottom));
  text-align: center;
}

.legend {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--blush);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 500;
  margin-bottom: 22px;
}

.contact {
  display: flex;
  justify-content: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.contact a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}

.contact a svg { width: 15px; height: 15px; }
.contact a:active { border-color: var(--coral); color: var(--coral); }

.legal { font-size: 11.5px; line-height: 1.7; color: var(--ink-faint); font-style: italic; }
.legal .disclaimer { margin-top: 14px; font-style: normal; opacity: .8; }

/* ------------------------------------------------------------ back to top */

.to-top {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s;
  z-index: 30;
}

.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top svg { width: 18px; height: 18px; }

@media (min-width: 620px) {
  .section { padding: 26px 26px 12px; }
  .item-name { font-size: 16.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ------------------------------------------------------------ photography */

/* Hero photo bleeds to the card edges; the section keeps its own padding. */
.section.has-photo { padding-top: 0; overflow: hidden; }

.hero-photo {
  display: block;
  width: calc(100% + 36px);
  margin: 0 -18px 18px;
  padding: 0;
  border: 0;
  background: var(--panel);
  cursor: zoom-in;
  aspect-ratio: 16 / 10;
  line-height: 0;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section.accent .hero-photo { background: color-mix(in srgb, var(--blush) 70%, var(--ink) 8%); }

/* Instagram strip */

.feed-wrap { margin: 26px 0 4px; }

.feed-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-bottom: 12px;
}

.feed-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 20px;
  text-transform: uppercase;
  color: var(--ink);
}

.feed-head a {
  flex: 0 0 auto;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--coral);
  text-decoration: none;
  white-space: nowrap;
}

.feed {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 18px 6px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 18px;
}

.feed::-webkit-scrollbar { display: none; }

.feed-tile {
  flex: 0 0 auto;
  width: 150px;
  height: 150px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--panel);
  cursor: zoom-in;
  scroll-snap-align: start;
  box-shadow: var(--shadow);
  line-height: 0;
}

.feed-tile img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .35s ease;
}

@media (hover: hover) {
  .feed-tile:hover img { transform: scale(1.06); }
  .hero-photo:hover img { transform: scale(1.02); }
}

.hero-photo img { transition: transform .45s ease; }

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(16, 26, 35, .88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lightbox[hidden] { display: none; }

.lb-figure {
  margin: 0;
  max-width: 560px;
  width: 100%;
  text-align: center;
}

.lb-figure img {
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
  border-radius: 16px;
  display: block;
}

.lb-figure figcaption {
  margin-top: 14px;
  color: #f2e7db;
  font-size: 13.5px;
  line-height: 1.5;
}

.lb-link {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  border: 1px solid rgba(242, 231, 219, .35);
  border-radius: 999px;
  color: #f2e7db;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}

.lb-close {
  position: absolute;
  top: calc(14px + env(safe-area-inset-top));
  right: 14px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(242, 231, 219, .14);
  color: #f2e7db;
  cursor: pointer;
}

.lb-close svg { width: 20px; height: 20px; }

/* Address and hours */

.hours-block {
  margin-bottom: 22px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.hours-block .address {
  display: inline-block;
  margin-bottom: 4px;
  font-family: var(--slab);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--coral);
  padding-bottom: 2px;
}

@media (min-width: 620px) {
  .hero-photo { width: calc(100% + 52px); margin: 0 -26px 22px; }
  .feed-tile { width: 180px; height: 180px; }
}

/* --------------------------------------------------------- live overrides */

.deal-banner {
  margin: 12px 18px 0;
  padding: 9px 14px;
  border-radius: 12px;
  background: var(--coral);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  line-height: 1.45;
}

@media (min-width: 720px) {
  .deal-banner { max-width: 684px; margin-left: auto; margin-right: auto; }
}

.deal-banner .deal-label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 11px;
  margin-right: 4px;
}

.deal-banner .deal-value {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
  font-family: var(--slab);
  font-weight: 700;
}

.item.soldout .item-name,
.item.soldout .price,
.item.soldout .item-desc { opacity: .45; }

.item.soldout .item-name { text-decoration: line-through; text-decoration-thickness: 1px; }

.soldout-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  vertical-align: middle;
  transform: translateY(-1px);
}

.item .price s { color: var(--ink-faint); font-weight: 500; margin-right: 2px; }
.item .deal-price { color: var(--coral); font-weight: 700; }

/* 13 languages need a scrollable menu */
.lang-menu { max-height: 62vh; overflow-y: auto; min-width: 130px; }

/* language flags */

.lang-btn {
  width: auto;
  min-width: 38px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.lang-btn .flag, .lang-option .flag {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  line-height: 1;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 9px;
}

.flag-svg {
  width: 17px;
  height: 11.5px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
}

/* -------------------------------------------------- ingredient markers */

.tags {
  display: inline-flex;
  gap: 3px;
  margin-left: 7px;
  vertical-align: middle;
  transform: translateY(-1px);
}

.tag {
  font-size: 13px;
  line-height: 1;
  cursor: help;
}

/* legend card under the nav */

.legend-card {
  margin: 14px auto 4px;
  padding: 13px 16px;
  background: var(--card);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.legend-title {
  margin: 0 0 9px;
  font-family: var(--slab);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.tag-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--ink-soft);
  white-space: nowrap;
}

/* ---------------------------------------------------------- dough card */

.dough {
  margin: 14px 0 4px;
  padding: 2px 0 2px;
  background: var(--panel);
  border-radius: 16px;
  box-shadow: var(--shadow);
  text-align: center;
  overflow: hidden;
}

.dough-photo {
  display: block;
  width: 100%;
  margin-bottom: 14px;
  border-radius: 16px;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  line-height: 0;
}

.dough-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.dough-title {
  margin: 14px 18px 8px;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 19px;
  text-transform: uppercase;
  color: var(--coral);
}

.dough-picker {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
}

.dough-opt { cursor: pointer; }

.dough-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.dough-opt span {
  display: block;
  padding: 9px 20px;
  border-radius: 999px;
  font-family: var(--slab);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-soft);
  transition: background .25s, color .25s;
}

.dough-opt input:checked + span { background: var(--coral); color: var(--paper); }
.dough-opt input:focus-visible + span { outline: 2px solid var(--coral-soft); outline-offset: 2px; }

.dough-stage {
  position: relative;
  width: min(260px, 70%);
  margin: 16px auto 0;
}

.dough-pizza { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .35)); }
.dough-profile { display: block; width: 100%; height: auto; margin-top: 10px; overflow: visible; }

.pz-top, .pz-spots, .pz-chars, .pz-crust-thick,
.pz-p-base, .pz-p-sauce, .pz-p-rim, .pz-p-hole {
  transition: transform .55s cubic-bezier(.3, .7, .3, 1), opacity .4s;
}

.pz-top { transform-origin: 160px 160px; }
.pz-spot { fill: #6f4a24; opacity: .62; }
.pz-char { fill: #6f4a24; opacity: .7; }
.pz-chars { opacity: 0; }

.pz-p-base { fill: #dcae69; transform: scaleY(2.4); transform-origin: 160px 52px; }
.pz-p-sauce { fill: #c2361f; transform: translateY(-8.4px); }
.pz-p-rim ellipse { fill: #e8bd7c; }
.pz-p-hole { fill: #b98443; }
.pz-p-rim-l { transform-origin: 36px 52px; }
.pz-p-rim-r { transform-origin: 284px 52px; }

.dough[data-dough="fina"] .pz-top { transform: scale(1.24); }
.dough[data-dough="fina"] .pz-crust-thick,
.dough[data-dough="fina"] .pz-spots { opacity: 0; }
.dough[data-dough="fina"] .pz-chars { opacity: 1; }
.dough[data-dough="fina"] .pz-p-base { transform: scaleY(1); }
.dough[data-dough="fina"] .pz-p-sauce { transform: translateY(0); }
.dough[data-dough="fina"] .pz-p-rim { transform: scale(.42, .26); }
.dough[data-dough="fina"] .pz-p-hole { opacity: 0; }

.dough-flour { position: absolute; top: 45%; left: 50%; pointer-events: none; }
.dough-flour i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #fbf4e6; opacity: 0; }

.dough-desc {
  margin: 12px 18px 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-soft);
}

.dough-note {
  margin: 8px 18px 16px;
  font-family: var(--script);
  font-size: 19px;
  color: var(--basil);
}

.section.has-dough { padding-top: 20px; }

.dough-chosen {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--ink-soft);
}

.dough-chosen b { color: var(--ink); font-family: var(--slab); }

.dough-change {
  margin-left: 10px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--coral);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

body[data-view="contacto"] #dough-home { display: none; }

@media (prefers-reduced-motion: reduce) {
  .pz-top, .pz-spots, .pz-chars, .pz-crust-thick,
  .pz-p-base, .pz-p-sauce, .pz-p-rim, .pz-p-hole { transition: none; }
}

.item-note {
  margin-top: 4px;
  font-family: var(--slab);
  font-size: 12px;
  font-weight: 600;
  color: var(--basil);
}

/* section headings pick up the basil green for scripts */
.section .script { color: var(--basil); }

@media (min-width: 620px) {
  .dough-title, .dough-desc, .dough-note { margin-left: 26px; margin-right: 26px; }
}

/* ------------------------------------------------------- the cellar room */

/* Faint plaster grain over the whole page, so flat dark areas read as wall. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
}

body > * { position: relative; z-index: 1; }

/* Cards sit on the wall: warm edge highlight above, deep shadow below. */
.section,
.legend-card {
  border: 1px solid var(--line-soft);
  background-image: linear-gradient(180deg, rgba(255, 236, 210, .045) 0%, transparent 34%);
}

.section.accent {
  background-image:
    linear-gradient(180deg, rgba(255, 236, 210, .06) 0%, transparent 40%);
}

/* Section titles catch the bulb light. */
.section h2 {
  text-shadow: 0 1px 0 rgba(0, 0, 0, .35);
}

/* The sticky bar reads as a lit ledge over the room. */
.nav {
  border-bottom: 1px solid var(--line-soft);
  box-shadow: 0 10px 24px -20px rgba(0, 0, 0, .9);
}

/* Warm bulb halo behind the hero wordmark. */
.hero-content::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8%;
  width: min(420px, 88%);
  height: 240px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(240, 176, 96, .3) 0%, transparent 68%);
  pointer-events: none;
}

.hero-scrim {
  background:
    linear-gradient(to top, rgba(12, 9, 7, .9) 0%, rgba(16, 12, 9, .42) 46%, rgba(14, 10, 8, .5) 100%);
}

/* Dough card sits in a lit alcove. */
.dough {
  background:
    linear-gradient(180deg, rgba(255, 236, 210, .07) 0%, transparent 45%),
    var(--panel);
}

.dough-note { color: var(--coral-soft); }

/* Prices glow slightly warmer than body text, like the menu boards. */
.price { color: var(--ink); }
.item.on-deal .deal-price { color: var(--coral-soft); }

@media (prefers-color-scheme: light) {
  body::before { opacity: .28; }
  .section h2 { text-shadow: none; }
  .hero-content::before { display: none; }
}

/* Amber is a light accent: dark text on it reads far better than white. */
.chip.active,
.deal-banner,
.lang-option.active,
.base-badge {
  color: #17120e;
}

.deal-banner .deal-value { background: rgba(23, 18, 14, .16); }

@media (prefers-color-scheme: light) {
  .chip.active,
  .deal-banner,
  .lang-option.active,
  .base-badge {
    color: #fff;
  }
  .deal-banner .deal-value { background: rgba(255, 255, 255, .22); }
}

/* Footnotes stay legible in a dim room. */
.legal { color: var(--ink-soft); opacity: .75; }

.gluten-note {
  margin: 0 0 14px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--panel);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-soft);
  text-align: center;
}

/* ------------------------------------------------------- dietary filters */

.filter-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.filter-head .legend-title { margin: 0; }

.filter-clear {
  border: 0;
  background: none;
  color: var(--coral);
  font: 600 12px var(--sans);
  cursor: pointer;
  padding: 0;
  white-space: nowrap;
}

.filters { display: flex; flex-wrap: wrap; gap: 7px; }

.filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font: 500 12.5px var(--sans);
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}

.filter.on {
  background: var(--coral);
  border-color: var(--coral);
  color: #17120e;
  font-weight: 600;
}

@media (prefers-color-scheme: light) { .filter.on { color: #fff; } }

/* the icon key collapses under the filters */
.legend-details { margin-top: 12px; }

.legend-details summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--slab);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.legend-details summary::-webkit-details-marker { display: none; }
.legend-details summary::after { content: " ▾"; }
.legend-details[open] summary::after { content: " ▴"; }
.legend-details .tag-legend { margin-top: 10px; }

/* book-a-table button leads the footer */
.contact a.reserve {
  background: var(--coral);
  border-color: var(--coral);
  color: #17120e;
  font-weight: 600;
}

@media (prefers-color-scheme: light) { .contact a.reserve { color: #fff; } }

/* ------------------------------------------------------------ site views */

.view[hidden] { display: none; }
.view.wrap { padding-top: 14px; }

/* Keyword band under the hero; scrolls endlessly, pauses under a finger. */
.keywords {
  overflow: hidden;
  background: var(--coral);
  color: var(--paper);
  white-space: nowrap;
}

.kw-track { display: inline-flex; animation: kw-scroll 40s linear infinite; }
.keywords:hover .kw-track, .keywords:active .kw-track { animation-play-state: paused; }
.kw-set { display: inline-flex; align-items: center; }

.kw-set a {
  padding: 11px 13px;
  color: var(--paper);
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.kw-set i { font-style: normal; opacity: .65; font-size: 12px; }

@keyframes kw-scroll { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .keywords { overflow-x: auto; scrollbar-width: none; }
  .kw-track { animation: none; }
  .kw-set[aria-hidden] { display: none; }
}

/* Big photo tabs: one per view. */
.site-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
  margin-bottom: 4px;
}

.site-tab {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 96px;
  padding: 12px 14px;
  border-radius: 16px;
  overflow: hidden;
  background: #2a2521;
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: box-shadow .18s;
}

.site-tab.wide { grid-column: 1 / -1; min-height: 108px; }

.site-tab img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.site-tab::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(16, 22, 28, .86) 0%, rgba(16, 22, 28, .2) 78%);
}

.site-tab.plain { background: var(--coral); color: var(--paper); }
.site-tab.plain::before { display: none; }
.site-tab.plain svg { width: 24px; height: 24px; margin-bottom: auto; }

.site-tab b {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 19px;
  line-height: 1.05;
  text-transform: uppercase;
}

.site-tab small { margin-top: 3px; font-size: 12px; font-weight: 500; opacity: .9; line-height: 1.3; }
.site-tab.active { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--coral), var(--shadow); }

@media (hover: hover) {
  .site-tab:hover img { transform: scale(1.05); }
}

@media (min-width: 720px) {
  .site-tabs { grid-template-columns: repeat(4, 1fr); }
  .site-tab, .site-tab.wide { grid-column: auto; min-height: 150px; }
}

.more { margin-top: 30px; }

.more h2 {
  margin: 0;
  text-align: center;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 22px;
  text-transform: uppercase;
  color: var(--coral);
}

/* Outside the menu the sticky bar swaps food/drinks for the view pills. */
.view-pills {
  display: none;
  flex: 1;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.view-pills::-webkit-scrollbar { display: none; }

.view-pill {
  flex: 0 0 auto;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.view-pill.active { background: var(--coral); border-color: var(--coral); color: #fff; }

body:not([data-view="carta"]) .view-pills { display: flex; }
body:not([data-view="carta"]) .tabs,
body:not([data-view="carta"]) #search-toggle,
body:not([data-view="carta"]) .search-wrap,
body:not([data-view="carta"]) .chips,
body:not([data-view="carta"]) .legend { display: none !important; }

/* Contact page */
.info-card {
  margin: 0 0 12px;
  padding: 22px 18px 18px;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  scroll-margin-top: calc(var(--nav-h) + 12px);
  text-align: center;
}

.info-card h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(25px, 7.4vw, 32px);
  line-height: 1.02;
  text-transform: uppercase;
  color: var(--coral);
}

.info-card .script {
  display: block;
  margin-top: 6px;
  font-family: var(--script);
  font-weight: 700;
  font-size: 25px;
  line-height: 1.1;
  color: var(--ink);
}

.info-card .contact { margin-bottom: 0; }

.contact a.primary { background: var(--coral); border-color: var(--coral); color: #fff; }

.map {
  margin: 16px 0 18px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--panel);
  aspect-ratio: 4 / 3;
  line-height: 0;
}

.map iframe { width: 100%; height: 100%; border: 0; }

/* Eden has one photo so far: the two tiles show different parts of it. */
.site-tab[data-view="pizze"] img { width: 190%; max-width: none; object-position: left center; }
