/* Restaurace Merkur — sales preview
 * Direction: "the sign and the chalkboard by the door" (design-direction.md).
 * Colours come from the building: sign black, facade plaster, floor terracotta.
 */

@font-face {
  font-family: 'Barlow Condensed';
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/barlow-condensed-latin-ext-600-normal.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/barlow-condensed-latin-600-normal.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/barlow-condensed-latin-ext-700-normal.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/barlow-condensed-latin-700-normal.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/source-sans-3-latin-ext-400-normal.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/source-sans-3-latin-400-normal.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/source-sans-3-latin-ext-600-normal.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/source-sans-3-latin-600-normal.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --sign: #1e1a17; /* the square sign on the facade, the chalkboards */
  --sign-2: #2b2622;
  --chalk: #f3f1ec;
  --chalk-soft: #c9c4bb;
  --plaster: #e8e6e1; /* facade render: cool, a little grey, not cream */
  --plaster-deep: #d9d6cf;
  --ink: #1e1a17;
  --ink-soft: #524c46;
  --rule: #b9b4ab;
  --terracotta: #9e4326; /* floor tiles */
  --terracotta-deep: #7f341d;
  --focus: #d9643f;

  --font-sign: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-text: 'Source Sans 3', system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 74rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--plaster);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-wrap: break-word;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}
a:hover {
  text-decoration-thickness: 2px;
}
a,
button,
summary {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(158, 67, 38, 0.18);
}
h1,
h2,
h3,
.door-title {
  text-wrap: balance;
}
p,
li {
  text-wrap: pretty;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 100;
  background: var(--chalk);
  color: var(--ink);
  padding: 8px 12px;
}
.skip:focus {
  top: 8px;
}

/* ---------- Sign typography ---------- */

.h-sign,
h1,
h2,
h3 {
  font-family: var(--font-sign);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  margin: 0;
}

/* The facade sign underlines each line of lettering. Drawn as a background so it can be
 * "painted on" when it scrolls into view (see Motion). */
.underline,
.hero-sign .s1,
.hero-sign .s2 {
  --u: 0.07em;
  display: inline-block;
  padding-bottom: calc(0.08em + var(--u));
  background: linear-gradient(currentColor, currentColor) left bottom / 100% var(--u) no-repeat;
}

h2 {
  font-size: clamp(2rem, 6vw, 3rem);
}
h3 {
  font-size: 1.5rem;
}

.label {
  font-family: var(--font-sign);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

p {
  margin: 0 0 1em;
}

/* ---------- Preview bar ---------- */

.preview-bar {
  background: var(--terracotta);
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.35;
  padding: 8px var(--gutter);
  text-align: center;
}
.preview-bar a {
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--sign);
  color: var(--chalk);
  border-bottom: 1px solid #000;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 56px;
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-sign);
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.04em;
  line-height: 1.05;
  color: var(--chalk);
}
.wordmark span {
  border-bottom: 2px solid currentColor;
  padding-bottom: 1px;
}
.wordmark .w1 {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}
.wordmark .w2 {
  font-size: 1.25rem;
  margin-top: 2px;
}

.site-nav {
  margin-left: auto;
  overflow-x: auto;
  scrollbar-width: none;
}
.site-nav::-webkit-scrollbar {
  display: none;
}
.site-nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: block;
  padding: 10px 10px;
  font-family: var(--font-sign);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
  color: var(--chalk-soft);
}
.site-nav a:hover {
  color: var(--chalk);
}
/* Heritage as one line beside the name, the way old pubs put "since" under the sign. */
.since {
  display: none;
  margin: 0;
  padding-left: 14px;
  border-left: 1px solid rgba(243, 241, 236, 0.3);
  font-family: var(--font-sign);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chalk-soft);
  white-space: nowrap;
}
/* One action in the header: booking. Phones have it in the bar at the bottom. */
.site-header .book {
  display: none;
}
@media (min-width: 560px) {
  .since {
    display: block;
  }
}
@media (min-width: 720px) {
  .site-header .book {
    display: inline-flex;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 20px;
  font-family: var(--font-sign);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.1;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.btn-primary {
  background: var(--terracotta);
  color: #fff;
}
.btn-primary:hover {
  background: var(--terracotta-deep);
  text-decoration: none;
}
.btn-chalk {
  border-color: var(--chalk);
  color: var(--chalk);
  background: transparent;
}
.btn-chalk:hover {
  background: var(--chalk);
  color: var(--sign);
}
.btn-ink {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn-ink:hover {
  background: var(--ink);
  color: var(--chalk);
}
.btn-sm {
  min-height: 40px;
  padding: 6px 14px;
  font-size: 1.05rem;
}

/* ---------- Hero ----------
 * Type-led, because there are no photos yet: the name in big sign capitals, the week's
 * regulars in a ruled strip, today's opening status in words, and four square doors on.
 */

.hero {
  background: var(--sign);
  color: var(--chalk);
}
.hero-grid {
  display: grid;
  grid-template-areas:
    'status'
    'sign'
    'since'
    'offers'
    'bar';
  padding-top: 28px;
  padding-bottom: 32px;
}
.hero-sign {
  grid-area: sign;
  font-family: var(--font-sign);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.86;
  letter-spacing: 0.01em;
  font-size: clamp(3.4rem, 18.5vw, 9.25rem);
  margin: 0;
}
.hero-sign .s1,
.hero-sign .s2 {
  --u: clamp(3px, 0.05em, 7px);
  padding-bottom: 0.1em;
}
/* RESTAURACE in outline, MERKUR solid: two weights of the same sign without a second font. */
.hero-sign .s1 {
  color: var(--chalk);
  background-image: linear-gradient(var(--chalk), var(--chalk));
}
@supports (-webkit-text-stroke: 1px black) {
  .hero-sign .s1 {
    color: transparent;
    -webkit-text-stroke: clamp(1.5px, 0.018em, 2.5px) var(--chalk);
  }
}
.hero-sign .s2 {
  margin-top: 0.06em;
}
.hero-since {
  grid-area: since;
  margin: 14px 0 0;
  color: var(--chalk-soft);
}
@media (min-width: 560px) {
  .hero-since {
    display: none;
  }
}

/* Today's opening status, in words (main.js updates it from the hours). */
.status {
  grid-area: status;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
  margin: 0 0 22px;
  font-size: 1.125rem;
}
.status [data-status] {
  font-weight: 600;
}
.status-dot {
  align-self: center;
  width: 10px;
  height: 10px;
  border: 2px solid var(--terracotta);
  background: var(--terracotta);
}
.status.closed .status-dot {
  background: transparent;
  border-color: var(--chalk-soft);
}
.status-where {
  color: var(--chalk-soft);
}
/* On a phone the status can wrap, so the dot keeps its own column. */
@media (max-width: 559px) {
  .status {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 10px;
  }
  .status-dot {
    align-self: start;
    margin-top: 0.45em;
  }
  .status-sep {
    display: none;
  }
  .status-where {
    grid-column: 2;
  }
}

/* What Merkur does every week, between two rules like the band on a menu card. */
.offers {
  grid-area: offers;
  list-style: none;
  margin: 26px 0 0;
  padding: 10px 0;
  border-block: 3px double rgba(243, 241, 236, 0.45);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  font-family: var(--font-sign);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--chalk-soft);
}
.offers li {
  white-space: nowrap;
}
.offers li:not(:last-child)::after {
  content: '·' / '';
  padding-inline: 12px;
  color: var(--terracotta);
}
/* On a phone, one regular per line: separators at the end of a wrapped line look like typos. */
@media (max-width: 719px) {
  .offers {
    display: grid;
    gap: 2px;
  }
  .offers li::before {
    content: '' / '';
    display: inline-block;
    width: 10px;
    height: 2px;
    margin: 0 10px 0.3em 0;
    vertical-align: middle;
    background: var(--terracotta);
  }
  .offers li:not(:last-child)::after {
    content: none;
  }
}

/* Four square doors out of the hero. */
.hero-bar {
  grid-area: bar;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 22px;
  border-top: 2px solid var(--chalk);
  border-left: 2px solid var(--chalk);
}
.hero-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 60px;
  padding: 10px 12px;
  border-right: 2px solid var(--chalk);
  border-bottom: 2px solid var(--chalk);
  font-family: var(--font-sign);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  line-height: 1.1;
  transition:
    background-size 0.35s var(--ease-out),
    color 0.25s;
}
/* On hover a chalk fill rises from the bottom edge of the cell. */
.hero-bar a {
  background-image: linear-gradient(var(--chalk), var(--chalk));
  background-position: bottom;
  background-size: 100% 0;
  background-repeat: no-repeat;
}
.hero-bar a:hover,
.hero-bar a:focus-visible {
  background-size: 100% 100%;
  color: var(--sign);
}
.hero-bar a span {
  display: inline-block;
  transition: transform 0.3s var(--ease-out);
}
.hero-bar a:hover span {
  transform: translateY(4px);
}
.hero-bar svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.hero-bar .hero-bar-call {
  background-color: var(--terracotta);
  color: #fff;
  white-space: nowrap;
}
.hero-bar .hero-bar-call {
  background-image: linear-gradient(var(--chalk), var(--chalk));
}
.hero-bar .hero-bar-call:hover,
.hero-bar .hero-bar-call:focus-visible {
  color: var(--terracotta-deep);
}
.hero-art {
  grid-area: art;
  display: none;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    grid-template-areas:
      'offers offers'
      'status art'
      'sign art'
      'bar bar';
    column-gap: 48px;
    padding-top: 20px;
    padding-bottom: 56px;
  }
  .offers {
    margin: 0 0 40px;
  }
  .status {
    align-self: end;
  }
  .hero-sign {
    font-size: clamp(6rem, 11.5vw, 9.25rem);
  }
  .hero-art {
    display: block;
    align-self: end;
  }
  .hero-bar {
    grid-template-columns: repeat(4, 1fr);
    margin-top: 44px;
  }
  .hero-bar a {
    min-height: 68px;
    font-size: 1.25rem;
  }
}

/* The drawing beside the name has no frame: the type carries the hero. */
.hero-art .sketch {
  background: none;
}
.hero-art .sketch figcaption {
  padding: 8px 0 0;
  border-top: 1px solid rgba(243, 241, 236, 0.25);
  font-size: 0.85rem;
}

/* ---------- Placeholder sketches ---------- */

.sketch {
  position: relative;
  margin: 0;
  background: var(--sign-2);
  color: var(--chalk);
}
.sketch svg {
  width: 100%;
  aspect-ratio: 4 / 3;
}
.sketch figcaption {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 14px 12px;
  border-top: 1px dashed rgba(243, 241, 236, 0.35);
  font-size: 0.95rem;
  color: var(--chalk-soft);
}
.sketch figcaption b {
  font-family: var(--font-sign);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--chalk);
  white-space: nowrap;
}
.sketch .line {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sketch .thin {
  stroke-width: 1.2;
  opacity: 0.7;
}
.sketch .fill {
  fill: currentColor;
  stroke: none;
}

/* ---------- Chalkboard: today's lunch ---------- */

.today {
  padding: 48px 0 56px;
}
.board {
  position: relative;
  background: var(--sign);
  color: var(--chalk);
  padding: 24px 20px 20px;
  border: 6px solid #3b2f27; /* the board's wooden frame */
}
.board-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.board h2 {
  font-size: clamp(2.25rem, 9vw, 3.5rem);
}
.board .note {
  margin: 8px 0 0;
  color: var(--chalk-soft);
}
.stamp {
  flex: none;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 2px solid currentColor;
  outline: 1px solid currentColor;
  outline-offset: -8px;
  text-align: center;
  font-family: var(--font-sign);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  --rot: -8deg;
  transform: rotate(var(--rot));
}
.stamp small {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  font-weight: 600;
}
.stamp strong {
  display: block;
  font-size: 1.6rem;
  margin: 2px 0;
}

.menu-group + .menu-group {
  margin-top: 18px;
}
.menu-group h3 {
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  color: var(--chalk-soft);
  margin-bottom: 4px;
}
.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-list li {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, max-content) minmax(1.25rem, 1fr) auto;
  gap: 4px 8px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid rgba(243, 241, 236, 0.2);
}
/* Dotted leader from the dish to its price, as on a printed lístek. */
.menu-list li::after {
  content: '';
  grid-column: 3;
  grid-row: 1;
  align-self: baseline;
  height: 0.6em;
  border-bottom: 2px dotted currentColor;
  opacity: 0.35;
}
.menu-list .qty {
  grid-column: 1;
}
.menu-list .name {
  grid-column: 2;
}
.menu-list .price {
  grid-column: 4;
  grid-row: 1;
}
/* On a phone the dish names need the width more than the leaders do. */
@media (max-width: 559px) {
  .menu-list li {
    grid-template-columns: 3.4rem 1fr auto;
    gap: 4px 10px;
  }
  .menu-list li::after {
    display: none;
  }
  .menu-list .price {
    grid-column: 3;
  }
}
.menu-list .qty {
  font-size: 0.9rem;
  color: var(--chalk-soft);
  font-variant-numeric: tabular-nums;
}
.menu-list .name {
  font-size: 1.15rem;
  line-height: 1.3;
}
@media (min-width: 960px) {
  .menu-list .name {
    font-size: 1.3rem;
  }
  .menu-list .price {
    font-size: 1.5rem;
  }
}
.menu-list .name small {
  display: block;
  font-size: 0.92rem;
  color: var(--chalk-soft);
}
.menu-list .price {
  font-family: var(--font-sign);
  font-weight: 700;
  font-size: 1.3rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* The board is the page: full width, with what is on tap ruled underneath it. */
.today-grid {
  display: grid;
  gap: 28px;
  max-width: 60rem;
}
.tap {
  display: grid;
  gap: 6px 24px;
  padding: 16px 0;
  border-block: 2px solid var(--ink);
}
.tap .label {
  margin: 0;
  color: var(--ink-soft);
}
.tap ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
}
.tap li {
  font-family: var(--font-sign);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.5rem;
  line-height: 1.15;
}
.tap li:not(:last-child)::after {
  content: '·' / '';
  padding-inline: 14px;
  color: var(--terracotta);
}
@media (max-width: 719px) {
  .tap ul {
    display: grid;
  }
  .tap li:not(:last-child)::after {
    content: none;
  }
}
@media (min-width: 720px) {
  .tap {
    grid-template-columns: auto 1fr;
    align-items: baseline;
  }
}
@media (min-width: 960px) {
  .today {
    padding: 56px 0 104px;
  }
  .board {
    padding: 40px 48px 32px;
  }
}

/* ---------- "Not ready yet" pages ---------- */

.soon {
  padding: 32px 0 64px;
}
.soon-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}
.soon-kicker {
  color: var(--chalk-soft);
  margin: 0;
}
.soon-board h1 {
  font-size: clamp(2.6rem, 11vw, 4.5rem);
  margin: 12px 0 22px;
}
.soon-lead {
  font-size: 1.2rem;
  max-width: 32rem;
}
.soon-plan {
  color: var(--chalk-soft);
  max-width: 34rem;
}
.soon-plan .label {
  display: block;
  color: var(--chalk);
  margin-bottom: 4px;
}
.soon-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.soon-art {
  display: none;
}
@media (min-width: 960px) {
  .soon {
    padding: 88px 0 112px;
  }
  .soon-grid {
    grid-template-columns: 1.3fr 1fr;
    gap: 56px;
  }
  .soon-art {
    display: block;
  }
}

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

.section {
  padding: 48px 0;
}
.section-alt {
  background: var(--plaster-deep);
}
.section-dark {
  background: var(--sign);
  color: var(--chalk);
}
.section-head {
  margin-bottom: 24px;
  max-width: 44rem;
}
.section-head p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 1.125rem;
}
.section-dark .section-head p {
  color: var(--chalk-soft);
}
@media (min-width: 960px) {
  .section {
    padding: 80px 0;
  }
}

/* ---------- Two columns and fact lists (/navrh) ---------- */

.split {
  display: grid;
  gap: 28px;
}
@media (min-width: 960px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
  }
}
.facts {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}
.facts li {
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.facts li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.95em;
  width: 14px;
  height: 3px;
  background: var(--terracotta);
}
.section-dark .facts li {
  border-bottom-color: rgba(243, 241, 236, 0.2);
}

/* ---------- Footer ---------- */

.site-footer {
  background-color: var(--sign);
  color: var(--chalk-soft);
  padding: 48px 0 104px;
  font-size: 0.98rem;
}
.site-footer p {
  margin: 0;
}
.site-footer .label {
  color: var(--chalk);
  margin-bottom: 6px;
}
.site-footer a {
  color: var(--chalk);
}
.footer-cols {
  display: grid;
  gap: 28px;
}
.footer-legal {
  margin-top: 36px !important;
  padding-top: 18px;
  border-top: 1px solid rgba(243, 241, 236, 0.15);
  font-size: 0.88rem;
}
@media (min-width: 720px) {
  .footer-cols {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-cols > :first-child {
    grid-column: 1 / -1;
  }
}
@media (min-width: 960px) {
  .site-footer {
    padding: 64px 0 40px;
  }
  .footer-cols {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
  .footer-cols > :first-child {
    grid-column: auto;
  }
}

/* ---------- Mobile action bar ---------- */

.action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--sign);
  border-top: 1px solid #000;
  padding-bottom: env(safe-area-inset-bottom);
}
.action-bar .btn {
  min-height: 56px;
  font-size: 1.15rem;
}
.action-bar .btn-chalk {
  border: 0;
}
@media (min-width: 960px) {
  .action-bar {
    display: none;
  }
}

/* ---------- Proposal page (/navrh) ---------- */

.pitch-hero {
  background: var(--sign);
  color: var(--chalk);
  padding: 40px 0 44px;
}
.pitch-hero .byline {
  color: var(--chalk-soft);
  margin-bottom: 18px;
}
.pitch-hero h1 {
  font-size: clamp(2.6rem, 10vw, 5rem);
  line-height: 0.95;
}
.pitch-hero .lead {
  font-size: 1.2rem;
  max-width: 40rem;
  margin: 20px 0 8px;
}
.pitch-hero .small {
  color: var(--chalk-soft);
  margin-bottom: 24px;
}
.hero-actions {
  display: grid;
  gap: 10px;
}
@media (min-width: 560px) {
  .hero-actions {
    grid-template-columns: auto auto;
    justify-content: start;
  }
}
@media (min-width: 960px) {
  .pitch-hero {
    padding: 72px 0 80px;
  }
}

.points {
  display: grid;
  gap: 0;
  counter-reset: none;
  list-style: none;
  margin: 0;
  padding: 0;
}
.points li {
  padding: 18px 0;
  border-top: 2px solid var(--ink);
}
.points li:last-child {
  border-bottom: 2px solid var(--ink);
}
.points h3 {
  font-size: 1.45rem;
  margin-bottom: 6px;
}
.points p {
  margin: 0;
  color: var(--ink-soft);
}
@media (min-width: 960px) {
  .points.two {
    grid-template-columns: 1fr 1fr;
    column-gap: 48px;
  }
  .points.two li:nth-last-child(2) {
    border-bottom: 2px solid var(--ink);
  }
}
.section-dark .points li {
  border-color: var(--chalk);
}
.section-dark .points p {
  color: var(--chalk-soft);
}

.shots {
  display: grid;
  gap: 12px;
}
@media (min-width: 560px) {
  .shots {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 960px) {
  .shots {
    grid-template-columns: repeat(3, 1fr);
  }
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.checklist li {
  padding: 12px 0 12px 34px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--ink);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 4px 12px;
  padding: 16px 0;
  border-top: 2px solid var(--ink);
}
.steps li:last-child {
  border-bottom: 2px solid var(--ink);
}
.steps li::before {
  content: counter(step);
  font-family: var(--font-sign);
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1;
  grid-row: span 2;
}
.steps h3 {
  font-size: 1.4rem;
}
.steps p {
  margin: 0;
  color: var(--ink-soft);
}

.cta-end {
  text-align: left;
}
.cta-end h2 {
  font-size: clamp(2.2rem, 8vw, 4rem);
  margin-bottom: 16px;
}
.cta-end .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.signature {
  margin-top: 28px;
  font-family: var(--font-sign);
  font-weight: 600;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Texture ----------
 * A faint grain on the plaster and the boards, drawn by an SVG filter so the page loads no
 * extra images.
 */
:root {
  /* Grey noise around 50 %, laid over the colour with overlay: texture without shifting it. */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' fill='%23808080'/%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}
body,
.section-alt,
.hero,
.pitch-hero,
.section-dark,
.site-footer,
.sketch {
  background-image: var(--grain);
  background-blend-mode: overlay;
}
.board {
  background-color: var(--sign);
  background-image:
    radial-gradient(ellipse 60% 45% at 28% 22%, rgba(243, 241, 236, 0.055), transparent 70%),
    radial-gradient(ellipse 50% 40% at 78% 85%, rgba(243, 241, 236, 0.04), transparent 70%), var(--grain);
  background-blend-mode: normal, normal, overlay;
  border-image: linear-gradient(135deg, #4a3a2d, #33281f 35%, #47382b 65%, #2c221a) 1;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.5),
    inset 0 3px 14px rgba(0, 0, 0, 0.55),
    0 22px 40px -24px rgba(30, 26, 23, 0.6);
}

/* ---------- Details and finish ---------- */

.btn {
  transition:
    background-color 0.2s,
    color 0.2s,
    border-color 0.2s,
    transform 0.12s;
}
.btn:active {
  transform: translateY(1px);
}
.site-nav a {
  position: relative;
  transition: color 0.2s;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 6px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

/* Proposal page */
.pitch-hero .wrap {
  display: grid;
  gap: 32px;
}
.pitch-art {
  display: none;
}
@media (min-width: 960px) {
  .pitch-hero .wrap {
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
    gap: 56px;
  }
  .pitch-art {
    display: block;
    border: 1px solid rgba(243, 241, 236, 0.25);
  }
}
.steps li::before {
  color: var(--terracotta);
}

.price-note {
  margin-top: 28px;
}
.price-note h3 {
  margin-bottom: 8px;
}
.price-note p {
  margin: 0;
  font-size: 1.125rem;
}

/* The old-to-new film */
.film {
  margin: 0;
}
.film video {
  display: block;
  width: 100%;
  height: auto;
  background: var(--sign);
  box-shadow:
    0 30px 60px -30px rgba(30, 26, 23, 0.6),
    0 0 0 1px rgba(0, 0, 0, 0.35);
}
.film figcaption {
  margin-top: 14px;
  max-width: 48rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* Scroll progress: a terracotta rule along the top edge. CSS only, where supported. */
.progress {
  display: none;
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    .progress {
      display: block;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 50;
      height: 3px;
      background: var(--terracotta);
      transform-origin: left;
      animation: progress linear both;
      animation-timeline: scroll(root);
    }
    .site-header {
      animation: header-shade linear both;
      animation-timeline: scroll(root);
      animation-range: 0 120px;
    }
  }
}
@keyframes progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@keyframes ring {
  from {
    box-shadow: 0 0 0 0 rgba(158, 67, 38, 0.75);
  }
  to {
    box-shadow: 0 0 0 12px rgba(158, 67, 38, 0);
  }
}
@keyframes header-shade {
  to {
    box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.7);
  }
}

/* ---------- Motion ----------
 * Everything below only applies with html.motion, which a small script in <head> sets when
 * the visitor has not asked for reduced motion. Without it the page is complete and still.
 *
 *   data-reveal            the element fades up when it scrolls into view
 *   data-reveal="stagger"  its children follow one after another
 *   data-reveal="left|right" slides in from that side
 *   .sketch                the drawing draws itself line by line (main.js measures the lines)
 *   .underline             the sign underline is painted on from the left
 */
@media (prefers-reduced-motion: no-preference) {
  .motion [data-reveal]:not([data-reveal='stagger']),
  .motion [data-reveal='stagger'] > * {
    opacity: 0;
    transform: translateY(18px);
    transition:
      opacity 0.7s var(--ease-out),
      transform 0.9s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 80ms + var(--d, 0ms));
  }
  .motion [data-reveal='left'] {
    transform: translateX(-32px);
  }
  .motion [data-reveal='right'] {
    transform: translateX(32px);
    transition-delay: 0.12s;
  }
  .motion [data-reveal].in:not([data-reveal='stagger']),
  .motion [data-reveal='stagger'].in > * {
    opacity: 1;
    transform: none;
  }

  .motion .underline,
  .motion .hero-sign .s1,
  .motion .hero-sign .s2 {
    background-size: 0% var(--u);
    transition: background-size 1s var(--ease-out) 0.15s;
  }
  .motion .hero-sign .s2 {
    transition-delay: 0.45s;
  }
  .motion .underline.in,
  .motion .hero-sign.in .s1,
  .motion .hero-sign.in .s2 {
    background-size: 100% var(--u);
  }

  /* Lines are hidden until main.js has measured them, then drawn when in view. */
  .motion .sketch svg > * {
    opacity: 0;
  }
  .motion .sketch.armed svg > .line {
    opacity: 1;
    stroke-dasharray: var(--len) var(--len);
    stroke-dashoffset: var(--len);
  }
  /* The transition sits on the "in" state only, so arming the lines snaps them hidden. */
  .motion .sketch.armed.in svg > .line {
    stroke-dashoffset: 0;
    transition: stroke-dashoffset var(--dur, 1.2s) cubic-bezier(0.45, 0, 0.2, 1) var(--delay, 0s);
  }
  .motion .sketch.armed svg > .thin {
    opacity: 0.7;
  }
  .motion .sketch.armed svg > :not(.line) {
    transition: opacity 0.6s var(--delay, 0s);
  }
  .motion .sketch.armed.in svg > :not(.line) {
    opacity: 1;
  }

  /* The date stamp is pressed onto the board once the board is in view. */
  .motion [data-reveal] .stamp,
  .motion .stamp[data-reveal] {
    opacity: 0;
    transform: scale(1.7) rotate(calc(var(--rot) - 14deg));
    transition:
      opacity 0.2s 0.55s,
      transform 0.45s cubic-bezier(0.3, 1.5, 0.5, 1) 0.55s;
  }
  .motion [data-reveal].in .stamp,
  .motion .stamp[data-reveal].in {
    opacity: 1;
    transform: rotate(var(--rot));
  }

  /* ---- The hero's entrance, played once on load ----
   * RESTAURACE is painted on left to right like a sign writer's stroke, MERKUR's letters rise
   * out of the underline one by one, then the regulars and the four doors follow. */
  .motion .hero-sign .s1 {
    clip-path: inset(-0.1em 100% -0.2em 0);
    transition:
      clip-path 0.9s cubic-bezier(0.65, 0, 0.35, 1) 0.15s,
      background-size 0.8s var(--ease-out) 0.7s;
  }
  .motion .hero-sign.in .s1 {
    clip-path: inset(-0.1em -0.1em -0.2em 0);
  }
  .motion .hero-sign .mask {
    display: inline-block;
    overflow: hidden;
    padding-top: 0.04em;
    margin-top: -0.04em;
    vertical-align: bottom;
  }
  .motion .hero-sign .ch {
    display: inline-block;
    transform: translateY(105%);
    transition: transform 0.75s cubic-bezier(0.2, 0.9, 0.25, 1);
    transition-delay: calc(0.5s + var(--c) * 70ms);
  }
  .motion .hero-sign.in .ch {
    transform: none;
  }
  .motion .hero-sign .s2 {
    transition-delay: 1.05s;
  }
  .motion .status {
    --d: 0.1s;
  }
  .motion .hero-bar {
    transition: border-color 0.6s var(--d);
  }
  .motion .hero-bar:not(.in) {
    border-color: transparent;
  }
  /* Keep the hover fill quick once the doors have come in. */
  .motion .hero-bar[data-reveal='stagger'] > a {
    transition:
      opacity 0.7s var(--ease-out),
      transform 0.9s var(--ease-out),
      background-size 0.35s var(--ease-out),
      color 0.25s;
    transition-delay: calc(var(--i, 0) * 80ms + var(--d, 0ms)), calc(var(--i, 0) * 80ms + var(--d, 0ms)), 0s, 0s;
  }
  .motion .hero-since {
    --d: 1.1s;
  }
  .motion .offers {
    --d: 1.15s;
  }
  .motion .hero-bar {
    --d: 1.3s;
  }
  @media (min-width: 960px) {
    .motion .offers {
      --d: 0s;
    }
    .motion .hero-bar {
      --d: 1.2s;
    }
  }
  /* The open dot rings out three times when the page opens, then stays still. */
  .motion .status:not(.closed) .status-dot {
    animation: ring 1.4s var(--ease-out) 1.4s 3;
  }

  /* ---- Today's board: each dish is written on in chalk, left to right ---- */
  .motion .board .menu-list[data-reveal='stagger'] > li {
    opacity: 1;
    transform: none;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.9s cubic-bezier(0.65, 0, 0.35, 1);
    transition-delay: calc(0.45s + var(--i, 0) * 0.22s);
  }
  .motion .board .menu-list[data-reveal='stagger'].in > li {
    clip-path: inset(0 -1em 0 0);
  }
  .motion .board .menu-group h3 {
    opacity: 0;
    transition: opacity 0.6s 0.25s;
  }
  .motion .board.in .menu-group h3 {
    opacity: 1;
  }
}

@media print {
  .action-bar,
  .site-header,
  .preview-bar {
    display: none;
  }
}
