/* Oliva & Sal. The layout follows the Casa Mono site: a fixed paper
   sidebar, a full-bleed photograph, then alternating bands. */
:root {
  --paper: #e9dcd0;
  --paper-deep: #e2d2c4;
  --sheet: #f7f1ea;
  --ink: #110e0d;
  --brown: #642a12;
  --rule: #e7c4a7;
  --gold: #c6a36a;
  --side: 243px;
  --rail: 48px;
  --font: "EB Garamond", "Palatino Linotype", Palatino, serif;
}

* { box-sizing: border-box; }
html { font-size: 16px; }
body {
  margin: 0;
  color: var(--ink);
  background-color: #f4efe4;
  background-image: url("../img/flora-tile.svg"), url("../img/flora-tile.svg");
  background-repeat: repeat-y, repeat-y;
  background-position: left top, right top;
  background-size: var(--rail) auto, var(--rail) auto;
  background-attachment: fixed;
  top: 0 !important;
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.45;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
a.map-link {
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}
a.map-link:hover,
a.map-link:focus-visible { text-decoration-thickness: 2px; }
button, input, select, textarea { font-family: inherit; color: inherit; }
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: #000;
  color: var(--paper);
  padding: 0.4rem 0.8rem;
}
.skip:focus { top: 0.5rem; }

.paper,
.page,
.split-copy,
.site-foot,
.mobi-bar,
.sidebar,
.menu-sheet,
.top-place,
.brand-plaque,
.nav-toggle,
.drawer-panel,
.modal-panel {
  background-color: #f4efe4;
  background-image:
    radial-gradient(rgba(90, 60, 30, 0.055) 0.6px, transparent 0.7px),
    radial-gradient(rgba(255, 255, 255, 0.4) 0.5px, transparent 0.6px);
  background-size: 7px 9px, 11px 13px;
  background-position: 0 0, 3px 5px;
}
.sidebar {
  display: none;
}
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: block;
  padding: 0;
  background: transparent;
  border: 0;
}
.top-place {
  margin: 0;
  padding: 0.32rem 0.8rem 0.28rem;
  text-align: center;
  font-size: 0.82rem;
  background-color: #f4efe4;
}
.top-place p { margin: 0; }
.lang {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.1rem 0.7rem;
  margin: 0.2rem 0 0.1rem;
}
.lang button {
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  padding: 0;
  color: var(--ink);
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.lang button.is-on { color: var(--brown); border-bottom-color: var(--brown); }
.lang button:hover { color: var(--brown); }
.gt-off {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
iframe.skiptranslate,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame { display: none !important; }
font, .goog-text-highlight {
  background: transparent !important;
  box-shadow: none !important;
  font-family: inherit !important;
}
.tile-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 4.7rem;
  padding: 0.45rem 0.7rem;
  background-color: #1d4e8c;
  background-image: url("../img/catalan-tile.svg");
  background-size: 140px 140px;
}
.brand-plaque {
  display: block;
  padding: 0.28rem 0.6rem 0.32rem;
  text-align: left;
  text-decoration: none;
  color: var(--ink);
  background: rgba(244, 239, 228, 0.94);
}
.brand-plaque .mark,
.brand-plaque .kicker { display: block; }
.brand-plaque .mark { font-size: 1.02rem; letter-spacing: 0.12em; }
.brand-plaque .kicker { margin: 0.1rem 0 0; font-size: 0.62rem; letter-spacing: 0.14em; }
.nav-toggle {
  width: 3.15rem;
  height: 2.75rem;
  border: 0;
  background: #f4efe4;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.28rem;
  cursor: pointer;
  flex: 0 0 auto;
}
.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: #1a120e;
}
.nav-toggle .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
body.nav-open .mobi-bar { display: none; }
.mobile-panel {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  overflow: auto;
  padding: 0.65rem;
  background-color: #e7d3b0;
  background-image: url("../img/catalan-tile.svg");
  background-size: 168px 168px;
}
.mobile-panel.is-open { display: block; }
.menu-sheet {
  position: relative;
  min-height: calc(100% - 0.2rem);
  padding: 0.4rem 1.35rem 1.6rem;
  text-align: left;
}
.menu-close {
  position: absolute;
  top: 0.15rem;
  right: 0.45rem;
  border: 0;
  background: transparent;
  color: #8d3a32;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.menu-sheet nav { margin: 1.6rem 0 1.2rem; }
.menu-sheet a, .menu-sheet button.linkish {
  display: block;
  width: fit-content;
  margin: 0.28rem 0;
  padding: 0;
  background: none;
  border: 0;
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1.25;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.menu-sheet a[aria-current="page"] {
  color: var(--brown);
  box-shadow: inset 0 -2px 0 var(--brown);
}
.menu-place {
  margin: 1.4rem 0 0;
  text-align: center;
  font-size: 0.95rem;
}
.side-nav a[aria-current="page"] { color: var(--brown); }

.content { padding: 8rem var(--rail) 0; }
.mobi-bar {
  position: fixed;
  left: var(--rail);
  right: var(--rail);
  bottom: 0;
  z-index: 30;
  display: grid;
  padding: 0.6rem 0.8rem calc(0.6rem + env(safe-area-inset-bottom));
  background: var(--paper);
  border-top: 2px solid var(--rule);
}
.mobi-bar .btn { width: 100%; margin: 0; }

.mark-block { text-align: center; text-decoration: none; color: var(--ink); }
.sprig { width: 4.6rem; height: 1.1rem; margin: 0 auto 0.35rem; display: block; }
.mark {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 1.28rem;
  line-height: 1.15;
}
.kicker {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.place {
  margin: 0.8rem 0 0;
  text-align: center;
  font-size: 0.95rem;
}
.place span { display: block; }
.place .map-link { display: inline-block; }

.btn {
  display: inline-block;
  margin: 0.4rem 0;
  padding: 0.45rem 1.3rem 0.35rem;
  border: 2px solid #000;
  background: transparent;
  color: #000;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn:hover, .btn:focus-visible {
  background: #000;
  color: var(--paper);
}
.btn-block { width: 100%; }

.side-nav, .mobile-panel nav { margin: 0.4rem 0; }
.side-nav a, .text-link {
  color: #000;
  text-decoration: none;
  transition: color 0.2s ease;
}
.side-nav a:hover, .text-link:hover { color: var(--brown); }

.hero-mark {
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(100svh - 8rem - 4.4rem);
  padding: 2.5rem 1.3rem;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background-color: #2a211c;
}
.hero-mark .slide { z-index: 0; }
.hero-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(17, 14, 13, 0.48);
}
.hero-mark::after {
  content: "";
  position: absolute;
  inset: 0.7rem;
  z-index: 3;
  border: 1px solid rgba(231, 196, 167, 0.9);
  pointer-events: none;
}
.hero-veil { position: relative; z-index: 2; max-width: 40rem; }
.hero-mark .hero-toggle { z-index: 4; }
.hero-mark h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(3.2rem, 8vw, 6.2rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: 0.01em;
}
.hero-rule {
  display: block;
  width: 4.5rem;
  height: 1px;
  margin: 1.1rem auto;
  background: #e7c4a7;
}
.hero-mark p {
  margin: 0 auto;
  max-width: 34rem;
  color: #fff;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.35;
}
.hero {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 16rem;
  background: #000;
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.slide.is-on { opacity: 1; }
.hero-toggle {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  border: 1px solid rgba(255,255,255,0.7);
  background: rgba(17,14,13,0.35);
  color: #fff;
  font-family: var(--font);
  font-size: 0.95rem;
  padding: 0.2rem 0.7rem;
  cursor: pointer;
}

.split {
  display: grid;
  min-height: 0;
}
.split-copy, .split-photo { min-height: 22rem; }
.split-copy {
  display: grid;
  place-items: center;
  padding: 3rem 1.4rem;
  text-align: center;
}
.split + .split::before {
  content: "";
  display: block;
  grid-column: 1 / -1;
  order: -2;
  height: var(--rail);
  background: #f4efe4 url("../img/flora-tile.svg") center / auto 100% repeat-x;
}
.split-tile {
  background-color: #efe6d8;
  background-image: url("../img/flora-tile.svg");
  background-size: 96px 96px;
  background-repeat: repeat;
}
.tile-card {
  width: min(22rem, 100%);
  padding: 1.7rem 1.45rem 1.8rem;
  background: rgba(244, 239, 228, 0.94);
  box-shadow: 0 0 0 1px rgba(63, 81, 36, 0.2);
}
.split-copy h2 {
  margin: 0 0 0.6rem;
  font-size: 2.4rem;
  font-weight: 500;
}
.page h1::before,
.split-copy h2::before {
  content: "";
  display: block;
  width: 6.6rem;
  height: 1.4rem;
  margin: 0 auto 0.45rem;
  background: url("../img/sprig.svg") center / contain no-repeat;
}
.split-copy p { margin: 0 0 1rem; font-size: 1.25rem; max-width: 26rem; }
.split-copy.has-photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.split-photo {
  background-size: cover;
  background-position: center;
}

.tout {
  position: relative;
  min-height: 70vw;
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
  background-size: cover;
  background-position: center;
}
.tout::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(17, 14, 13, 0.46);
}
.tout-inner { position: relative; z-index: 1; max-width: 38rem; padding: 3.5rem 1.4rem; }
.tout h2 { margin: 0 0 0.6rem; font-size: 2.6rem; font-weight: 500; color: #fff; }
.tout p { margin: 0 0 1rem; font-size: 1.3rem; }
.band-rule {
  height: var(--rail);
  background: #f4efe4 url("../img/flora-tile.svg") center / auto 100% repeat-x;
}
.private-band {
  min-height: 78vh;
  background-position: center 42%;
}
.private-band::before { background: rgba(17, 14, 13, 0.5); }
.private-band::after {
  content: "";
  position: absolute;
  inset: 0.7rem;
  z-index: 1;
  border: 1px solid rgba(231, 196, 167, 0.9);
  pointer-events: none;
}
.private-band h2::before {
  content: "";
  display: block;
  width: 6.6rem;
  height: 1.4rem;
  margin: 0 auto 0.55rem;
  background: url("../img/sprig.svg") center / contain no-repeat;
}
.private-band .btn {
  border-color: #f4efe4;
  color: #f4efe4;
}
.private-band .btn:hover,
.private-band .btn:focus-visible {
  background: #f4efe4;
  color: #1a120e;
}
.private-hero {
  margin: 0 auto 2.2rem;
  max-width: 46rem;
  min-height: 22rem;
  background-size: cover;
  background-position: center 42%;
  box-shadow: 0 0 0 1px var(--gold);
}

.page {
  padding: 3rem 1.25rem 5rem;
  max-width: 52rem;
  margin: 0 auto;
}
.page h1 {
  margin: 0 0 0.4rem;
  text-align: center;
  font-size: 3rem;
  font-weight: 500;
}
.lede {
  margin: 0 auto 2rem;
  max-width: 36rem;
  text-align: center;
  font-size: 1.3rem;
}
.gold-rule {
  width: 13rem;
  height: 2rem;
  margin: 0.45rem auto 1.35rem;
  border: 0;
  background:
    url("../img/flora-tile.svg") center / 2rem 2rem no-repeat,
    linear-gradient(var(--gold), var(--gold)) left center / 4.2rem 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right center / 4.2rem 1px no-repeat;
}

.hours { list-style: none; margin: 0 auto; padding: 0; max-width: 22rem; font-size: 1.3rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.35rem 0; border-bottom: 1px solid var(--rule); }
.visit-photo {
  margin: 2rem auto 0;
  max-width: 36rem;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 0 1px var(--gold);
}

.go-to {
  margin: 0 0 0.35rem;
  text-align: center;
  font-style: italic;
  font-size: 1.45rem;
  line-height: 1;
}
.menu-jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.9rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}
.menu-jump a { text-decoration: none; font-size: 1.05rem; }
.menu-jump a:hover { color: var(--brown); }
.course { margin: 0 0 2.4rem; }
.course h2 {
  margin: 0;
  text-align: center;
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.course h2::before, .course h2::after {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  margin: 0 0.55rem;
  background: url("../img/flora-tile.svg") center / contain no-repeat;
  vertical-align: middle;
}
.dishes { list-style: none; margin: 1rem auto 0; padding: 0; max-width: 40rem; }
.dish { padding: 0.55rem 0 0.35rem; }
.dish-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 0.85rem;
  align-items: baseline;
}
.dish-name { font-size: 1.2rem; }
.leader { display: none; }
.dish-price { font-size: 1.05rem; white-space: nowrap; }
.dish-en { margin: 0.1rem 0 0; color: #5c5348; font-size: 0.95rem; font-style: italic; }
.dish-allergens {
  margin: 0.15rem 0 0;
  color: #642a12;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.allergen-key {
  margin: 0 auto 2rem;
  max-width: 40rem;
  text-align: center;
}
.allergen-key h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.allergen-key ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.85rem;
  margin: 0.7rem 0 0.6rem;
  padding: 0;
  list-style: none;
  counter-reset: allergen;
  font-size: 0.95rem;
}
.allergen-key li { counter-increment: allergen; }
.allergen-key li::before { content: counter(allergen) " "; }
.allergen-key p { margin: 0; font-size: 1rem; }

.form { max-width: 28rem; margin: 0 auto; display: grid; gap: 0.9rem; }
.form label { display: grid; gap: 0.2rem; font-size: 1.05rem; text-align: left; }
.form input, .form select, .form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #000;
  background: transparent;
  padding: 0.35rem 0;
  font-size: 1.15rem;
}
.form textarea { min-height: 6rem; resize: vertical; }
.thanks { display: none; text-align: center; font-size: 1.3rem; }
.thanks.is-on { display: block; }
.form.is-done { display: none; }
.fine { text-align: center; color: #5c5348; font-size: 0.95rem; }

.drawer, .modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  background: rgba(17, 14, 13, 0.48);
}
.drawer.is-open, .modal.is-open { display: block; }
.drawer-panel, .modal-panel {
  background: var(--paper);
  height: 100%;
  margin-left: auto;
  width: min(28rem, 100%);
  padding: 1.4rem 1.3rem 2rem;
  overflow: auto;
}
.modal { place-items: center; }
.modal.is-open { display: grid; }
.modal-panel {
  height: auto;
  margin: 0;
  width: min(26rem, calc(100% - 2rem));
  padding: 1.5rem;
}
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.panel-head h2 { margin: 0; font-size: 2rem; font-weight: 500; }
.close-x {
  border: 0;
  background: transparent;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.site-foot {
  padding: 1.2rem 1.2rem 5.5rem;
  text-align: center;
  background: var(--paper);
}
.site-foot::before {
  content: "";
  display: block;
  height: var(--rail);
  margin: 0 auto 0.9rem;
  background: url("../img/flora-tile.svg") center / auto 100% repeat-x;
}
.menu-sheet::before,
.side-card::before,
.side-card::after {
  content: "";
  display: block;
  height: 2rem;
  background: url("../img/flora-tile.svg") center / auto 100% repeat-x;
}
.menu-sheet::before { margin: 0.1rem 1.8rem 0.15rem; }
.side-card::before { margin: 0 0.4rem 0.75rem; }
.side-card::after { margin: 0.75rem 0.4rem 0; }
.site-foot p { margin: 0.2rem 0; }
.foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1rem; margin-bottom: 0.6rem; }
.foot-nav a { text-decoration: none; }

@media (max-width: 768px) {
  body.home {
    background-image: none;
  }
  body.home .content {
    padding-left: 0;
    padding-right: 0;
  }
  body.home .mobi-bar {
    left: 0;
    right: 0;
  }
  body.home .split + .split::before,
  body.home .site-foot::before {
    display: none;
  }
  body.home .split-tile {
    background-image: none;
  }
  body.home .hero-mark::after {
    display: none;
  }
}
@media (min-width: 769px) {
  .topbar, .mobile-panel, .mobi-bar { display: none; }
  .sidebar {
    display: block;
    position: fixed;
    top: 0;
    bottom: 0;
    left: var(--rail);
    z-index: 20;
    width: var(--side);
    overflow: auto;
    background: var(--paper);
  }
  .side-card {
    width: 90%;
    margin: 1rem auto 2rem;
    padding: 1.1rem 0.85rem 1.3rem;
    border-top: 2px solid var(--rule);
    border-bottom: 2px solid var(--rule);
    text-align: center;
  }
  .side-nav { display: flex; flex-direction: column; gap: 0.15rem; margin: 0.8rem 0; }
  .side-nav a { font-size: 1.2rem; padding: 0.12rem 0; }
  .content {
    margin-left: calc(var(--side) + var(--rail));
    margin-right: var(--rail);
    padding: 0 0 0 0;
  }
  .hero-mark { min-height: 78vh; }
  .split { grid-template-columns: 1fr 1fr; min-height: 65vh; }
  .split-copy, .split-photo { min-height: 65vh; }
  .split.is-flip .split-photo { order: -1; }
  .split.is-flip .split-copy { order: 0; }
  .tout { min-height: 62vh; }
  .tout.private-band { min-height: 78vh; }
  .page { padding: 4rem 2rem 5rem; }
  .site-foot { padding-bottom: 2rem; }
  .hero { aspect-ratio: 16 / 9; }
}
@media (prefers-reduced-motion: reduce) {
  .slide { transition: none; }
}
