:root {
  --blue: #025ad2;
  --yellow: #f1c74a;
  --ink: #f7f4ea;
  --muted: rgba(247, 244, 234, 0.84);
  --line: rgba(247, 244, 234, 0.28);
}

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

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

body {
  margin: 0;
  background: var(--blue);
  color: var(--ink);
  font-family: Archivo, "Arial Narrow", sans-serif;
}

.sheet {
  width: min(100%, 40rem);
  margin: 0 auto;
  min-height: 100vh;
  padding: calc(1.1rem + env(safe-area-inset-top)) 1.15rem
    calc(1.6rem + env(safe-area-inset-bottom));
  background: var(--blue);
}

.masthead {
  text-align: center;
  padding-bottom: 0.35rem;
}

.logo {
  display: block;
  width: min(8.25rem, 38vw);
  height: auto;
  margin: 0 auto;
}

.wordmark {
  margin: 0.15rem 0 0;
  font-family: "Permanent Marker", "Arial Black", sans-serif;
  font-size: clamp(2.7rem, 12vw, 4.4rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
}

.tagline {
  margin: 0.45rem 0 0;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
}

.menu-section {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.35rem 0.85rem;
  margin-top: 1.35rem;
  align-items: stretch;
}

#burgers-title {
  margin: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  align-self: start;
  margin-top: 1rem;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--yellow);
}

.base {
  grid-column: 1 / -1;
  margin: 0 0 0.15rem;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--muted);
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.item {
  padding: 0.85rem 0 0.9rem;
  border-top: 1px solid var(--line);
}

.item-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.name {
  margin: 0;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 1.02rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-transform: uppercase;
}

.price {
  margin: 0;
  flex: 0 0 auto;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 1.02rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.desc {
  margin: 0.28rem 0 0;
  max-width: 38em;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--muted);
}

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin-top: 1.15rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.foot a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--yellow);
}

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

@media (min-width: 760px) {
  .sheet {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }

  .logo {
    width: 9.5rem;
  }

  .name,
  .price {
    font-size: 1.12rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  body,
  .sheet {
    background: white;
    color: black;
  }

  .tagline,
  #burgers-title,
  .price {
    color: black;
  }

  .desc,
  .base {
    color: #222;
  }

  .item,
  .foot {
    border-color: #bbb;
  }

  .foot a {
    color: black;
  }
}
