/* Bistro: a shopfront. A striped awning over every page, a printed menu card on a gingham tablecloth. */
:root {
  --paper: #fbf1dc;
  --card: #fffaf0;
  --ink: #2b1510;
  --muted: #65493c;
  --tomato: #b5301a;
  --tomato-deep: #8f2412;
  --espresso: #2b1510;
  --mustard: #edb63f;
  --cream: #fbf1dc;
  --line: #d9c4a0;
  --display: "Gloock", "Georgia", serif;
  --text: "Crimson Pro", "Georgia", serif;
  --wrap: 76rem;
  --stripe: 2.5rem;
}

* {
  box-sizing: border-box;
}
html {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 112.5%;
  line-height: 1.55;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
  border-radius: 2px;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.08;
  overflow-wrap: anywhere;
}
address {
  font-style: normal;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

/* The shopfront: a painted sign and the awning that hangs from it. */
.sign {
  background: var(--espresso);
  color: var(--cream);
}
.sign-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}
.brand {
  font-family: var(--display);
  font-size: 1.7rem;
  line-height: 1.1;
  color: var(--mustard);
  overflow-wrap: anywhere;
  min-width: 0;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.1rem;
  font-size: 1rem;
}
.nav a {
  padding: 0.2rem 0;
}
.nav a:hover {
  color: var(--mustard);
}
/* The last item in the navigation hangs like a little sign of its own. */
.nav a:last-child:not(:first-child) {
  padding: 0.2rem 0.75rem;
  border-radius: 0.2rem;
  background: var(--mustard);
  color: var(--espresso);
  font-weight: 600;
}
.nav a:last-child:not(:first-child):hover {
  background: var(--cream);
}
.awning-shadow {
  filter: drop-shadow(0 0.35rem 0.3rem rgb(43 21 16 / 0.28));
}
.awning {
  height: 3.5rem;
  background-image:
    linear-gradient(rgb(43 21 16 / 0.28), transparent 45%),
    repeating-linear-gradient(
      90deg,
      var(--tomato) 0 var(--stripe),
      var(--card) var(--stripe) calc(var(--stripe) * 2)
    );
  mask-image:
    linear-gradient(#000 0 0),
    radial-gradient(
      circle at 50% 0,
      #000 calc(var(--stripe) / 2),
      transparent calc(var(--stripe) / 2 + 0.5px)
    );
  mask-size:
    100% calc(100% - var(--stripe) / 2),
    var(--stripe) calc(var(--stripe) / 2);
  mask-position:
    top left,
    bottom left;
  mask-repeat: no-repeat, repeat-x;
}

/* Hero */
.hero-inner {
  display: grid;
  gap: 2.5rem;
  padding-top: clamp(2rem, 6vw, 4.5rem);
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
}
.hero-copy {
  min-width: 0;
}
.eyebrow {
  margin: 0 0 0.9rem;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--muted);
}
.hero-title {
  margin: 0;
  font-size: clamp(3rem, 10vw, 7rem);
  line-height: 0.98;
  color: var(--tomato);
}
.hero-text {
  max-width: 34rem;
  margin: 1.5rem 0 1.75rem;
  font-size: 1.2rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin: 0;
}
.button {
  display: inline-block;
  padding: 0.7rem 1.25rem;
  border-radius: 0.2rem;
  background: var(--tomato);
  color: var(--cream);
  font-weight: 600;
  box-shadow: 0.25rem 0.25rem 0 var(--espresso);
}
.button:hover {
  background: var(--tomato-deep);
}
.button-gold {
  background: var(--mustard);
  color: var(--espresso);
  box-shadow: 0.25rem 0.25rem 0 var(--tomato);
}
.button-gold:hover {
  background: var(--cream);
}
.text-link {
  font-weight: 600;
  color: var(--tomato);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.text-link:hover {
  color: var(--tomato-deep);
}

/* The ticket: hours and address, like a card pinned up in the window. */
.ticket {
  align-self: end;
  min-width: 0;
  padding: 1.5rem;
  background: var(--mustard);
  color: var(--espresso);
  box-shadow: 0.4rem 0.4rem 0 var(--espresso);
}
.ticket-title {
  margin: 0 0 0.6rem;
  font-size: 1.45rem;
}
.ticket-title:not(:first-child) {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 2px dashed var(--espresso);
}
.hours {
  margin: 0;
}
.hours div {
  padding: 0.3rem 0;
}
.hours dt {
  font-weight: 600;
}
.hours dd {
  margin: 0;
  font-variant-numeric: lining-nums tabular-nums;
}
.hours-closed {
  margin: 0.5rem 0 0;
  font-style: italic;
}
.ticket-address span,
.footer-address span {
  display: block;
}

/* The tablecloth and the printed menu lying on it. */
.tablecloth {
  padding: clamp(2.5rem, 7vw, 5rem) clamp(1rem, 4vw, 2.5rem);
  background-color: var(--tomato);
  background-image:
    linear-gradient(90deg, rgb(255 244 222 / 0.13) 50%, transparent 50%),
    linear-gradient(rgb(255 244 222 / 0.13) 50%, transparent 50%);
  background-size: 2.75rem 2.75rem;
}
.menu-card {
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(1.75rem, 6vw, 4rem) clamp(1.5rem, 6vw, 4rem);
  background: var(--card);
  border: 1px solid var(--tomato);
  outline: 1px solid var(--tomato);
  outline-offset: -0.5rem;
  box-shadow: 0 1.25rem 2.5rem rgb(43 21 16 / 0.4);
}
.menu-head {
  margin-bottom: 1.5rem;
  text-align: center;
}
.menu-title {
  margin: 0 0 0.6rem;
  font-size: clamp(2.2rem, 7vw, 3.5rem);
  color: var(--tomato);
}
.menu-intro {
  margin: 0 auto;
  max-width: 30rem;
  font-style: italic;
  color: var(--muted);
}
.course {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.25rem 0 0.75rem;
  font-size: 1.5rem;
  text-align: center;
  color: var(--tomato);
}
.course::before,
.course::after {
  content: "";
  flex: 1 1 1rem;
  min-width: 1rem;
  border-top: 1px solid var(--line);
}
.dish {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 0;
}
.dish-img {
  flex: none;
  width: 4.5rem;
  height: 4.5rem;
  object-fit: cover;
}
.dish-body {
  flex: 1 1 auto;
  min-width: 0;
}
.dish-line {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.dish-name {
  flex: 0 1 auto;
  min-width: 0;
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.2;
}
.dish-name a:hover {
  color: var(--tomato);
}
.leader {
  flex: 1 1 1rem;
  min-width: 1rem;
  border-bottom: 2px dotted var(--muted);
}
.dish-price {
  flex: none;
  font-weight: 600;
  font-variant-numeric: lining-nums tabular-nums;
}
.dish-desc {
  margin-top: 0.2rem;
  font-style: italic;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.dish-desc p {
  margin: 0;
}
.dish-desc p + p {
  margin-top: 0.4rem;
}
.menu-more {
  margin: 1.5rem 0 0;
  text-align: center;
}
.menu-note {
  margin: 2.25rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  font-style: italic;
  text-align: center;
  color: var(--muted);
}
.empty {
  font-style: italic;
  text-align: center;
  color: var(--muted);
}

/* One dish */
.dish-photo {
  width: 100%;
  margin-bottom: 1.5rem;
}
.dish-line-big {
  margin-bottom: 1.25rem;
}
.dish-line-big .dish-name {
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  color: var(--tomato);
}
.dish-line-big .dish-price {
  font-size: 1.25rem;
}
.dish-card .prose {
  font-style: italic;
  font-size: 1.15rem;
}

/* Story */
.story-inner {
  display: grid;
  gap: 1rem 3rem;
  padding-top: clamp(3rem, 7vw, 5.5rem);
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
}
.story-title {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 3.75rem);
  color: var(--tomato);
}
.story-text {
  margin: 0 0 1rem;
  font-size: 1.2rem;
}

/* News: notices with the date set large, no picture needed. */
.news {
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1rem;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
}
.notices {
  border-top: 3px double var(--espresso);
}
.notice {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
.notice-date {
  flex: none;
  display: grid;
  align-content: start;
  width: 5.5rem;
  color: var(--tomato);
}
.notice-day {
  font-family: var(--display);
  font-size: 3rem;
  line-height: 1;
}
.notice-month {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--muted);
}
.notice-body {
  flex: 1 1 14rem;
  min-width: 0;
}
.notice-title {
  margin: 0 0 0.4rem;
  font-size: 1.5rem;
}
.notice-title a:hover {
  color: var(--tomato);
}
.notice-excerpt {
  margin: 0;
  color: var(--muted);
}
.notice-img {
  flex: 0 1 12rem;
  min-width: 0;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* The call to reserve */
.reserve {
  background: var(--espresso);
  color: var(--cream);
}
.reserve-inner {
  padding-top: clamp(3rem, 8vw, 6rem);
  padding-bottom: clamp(3rem, 8vw, 6rem);
  text-align: center;
}
.reserve-title {
  max-width: 50rem;
  margin: 0 auto 1rem;
  font-size: clamp(2.4rem, 8vw, 5rem);
  line-height: 1;
  color: var(--mustard);
}
.reserve-text {
  max-width: 34rem;
  margin: 0 auto 2rem;
  font-size: 1.15rem;
}
.reserve .actions {
  justify-content: center;
}
.reserve-phone {
  font-size: 1.15rem;
  font-weight: 600;
}

/* Pages and posts */
.page-head {
  padding-bottom: 1.75rem;
}
.page-title {
  margin: 0 0 1.25rem;
  font-size: clamp(2.6rem, 8vw, 4.75rem);
  line-height: 1;
  color: var(--tomato);
}
.page-head .page-title {
  margin-bottom: 0.75rem;
}
.page-intro {
  max-width: 36rem;
  margin: 0;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--muted);
}
.news-page,
.page-body,
.post-body {
  padding-top: clamp(2rem, 6vw, 4rem);
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
}
.page-body,
.post-body {
  max-width: 48rem;
}
.page-with-ticket {
  display: grid;
  gap: 1.5rem 3.5rem;
  max-width: var(--wrap);
}
.page-with-ticket > * {
  min-width: 0;
}
.page-with-ticket .ticket {
  align-self: start;
}
.crumb {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.crumb a:hover {
  color: var(--tomato);
}
.post-date {
  margin: 0 0 0.5rem;
  font-style: italic;
  color: var(--muted);
}
.lede {
  margin: 0 0 1.5rem;
  font-size: 1.3rem;
  line-height: 1.4;
}
.cover {
  width: 100%;
  margin: 0 0 2rem;
}
.ornament {
  height: 0.5rem;
  margin: 0 0 2rem;
  border-top: 3px double var(--tomato);
}
.post-cta {
  margin: 2.25rem 0 0;
}
.prose {
  font-size: 1.1rem;
  overflow-wrap: anywhere;
}
.prose p {
  margin: 0 0 1.1em;
}
.prose h2 {
  margin: 1.8em 0 0.5em;
  font-size: 1.6rem;
}
.prose h3 {
  margin: 1.5em 0 0.4em;
  font-size: 1.3rem;
}
.prose ul,
.prose ol {
  padding-left: 1.25rem;
}
.prose a {
  color: var(--tomato);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.prose blockquote {
  margin: 1.5em 0;
  padding-left: 1rem;
  border-left: 3px solid var(--mustard);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--tomato-deep);
}
.prose img {
  height: auto;
}

/* Footer */
.footer {
  background: var(--espresso);
  border-top: 3px double var(--mustard);
  color: var(--cream);
  font-size: 0.95rem;
}
.footer-inner {
  display: grid;
  gap: 1.25rem 3rem;
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}
.footer p {
  margin: 0;
}
.footer-tagline {
  font-family: var(--display);
  font-size: 1.3rem;
  line-height: 1.2;
  color: var(--mustard);
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.pagination-status {
  color: var(--muted);
  font-variant-numeric: lining-nums tabular-nums;
}
.pagination-link {
  font-weight: 600;
  color: var(--tomato);
}
.pagination-link:hover {
  text-decoration: underline;
}

/* The language switcher; only there on a site with several languages. */
.lang-switch {
  display: inline-flex;
  gap: 0.6rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.lang-switch a {
  color: inherit;
  text-decoration: none;
  opacity: 0.7;
}
.lang-switch a:hover,
.lang-switch a[aria-current] {
  opacity: 1;
  color: var(--mustard);
}

@media (min-width: 48rem) {
  .sign-inner {
    flex-wrap: nowrap;
  }
  .brand {
    margin-right: auto;
    font-size: 2rem;
  }
  .nav {
    justify-content: flex-end;
  }
  .hero-inner {
    grid-template-columns: minmax(0, 1.7fr) minmax(17rem, 1fr);
    gap: 3.5rem;
  }
  .ticket {
    transform: rotate(-1.5deg);
  }
  .page-with-ticket {
    grid-template-columns: minmax(0, 1.7fr) minmax(17rem, 1fr);
  }
  .page-with-ticket .page-title {
    grid-column: 1 / -1;
  }
  .story-inner {
    grid-template-columns: 1fr 1.4fr;
    align-items: start;
  }
  .footer-inner {
    grid-template-columns: 1.4fr 1fr 1.2fr;
  }
}
