/*
 * Café Zoutkeet, a fictional café on a quay, as a warm magazine page: butter-yellow paper, one
 * brick red, a soft serif set in italic for the headlines, a handwritten note and photos laid
 * on the table at an angle. Red on butter is 6.1:1, cream on red 6.7:1, the dark text 13:1.
 * Photos from Unsplash (README.md, "Website concepts").
 */
:root {
  --butter: #f7e8c4;
  --cream: #fbf2dd;
  --red: #a1271b;
  --red-ink: #fbf2dd;
  --ink: #3d1611;
  --soft: #6b3a2c;
  --line: #d9b9a0;
  --serif: 'Sitka Banner', 'Sitka Display', 'Iowan Old Style', Georgia, serif;
  --text: 'Sitka Text', 'Iowan Old Style', Georgia, serif;
  --hand: 'Segoe Print', 'Bradley Hand', 'Comic Neue', cursive;
}
body {
  background: var(--butter);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--text);
}
.wrap {
  width: min(100% - 2.5rem, 84rem);
  margin-inline: auto;
}
h1,
h2,
h3 {
  color: var(--red);
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.03em;
}
h1,
h2 {
  font-style: italic;
}

.top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding: 1rem 0;
}
.logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--red);
  font: 700 1.75rem/1 var(--serif);
  letter-spacing: -0.04em;
  text-decoration: none;
}
.top nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 1.75rem;
}
.top nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--red);
  font-family: var(--serif);
  font-size: 1.0625rem;
  text-decoration: none;
}
.top nav a:not(.btn):hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.75rem;
  border: 1.5px solid var(--red);
  border-radius: 999px;
  background: var(--red);
  color: var(--red-ink);
  font: italic 400 1.1875rem/1 var(--serif);
  text-decoration: none;
  transition:
    background-color 0.2s,
    color 0.2s;
}
.btn:hover {
  background: transparent;
  color: var(--red);
}
.top nav a.btn {
  color: var(--red-ink);
}
.top nav a.btn:hover {
  color: var(--red);
}
.top nav .btn-small {
  min-height: 44px;
  padding: 0 1.25rem;
  font-size: 1.0625rem;
}

/* The hero: the invitation large in italic, a handwritten aside with its arrow, and two photos
   laid on the table at an angle, the cup over the plate's corner. */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr) minmax(0, 1.1fr);
  grid-template-rows: auto auto;
  gap: 1.5rem 2rem;
  padding: 1.5rem 0 0;
}
.hero-text {
  grid-column: 1 / 3;
  grid-row: 1;
  position: relative;
}
.hero h1 {
  font-size: clamp(4rem, 9.5vw, 8.75rem);
  line-height: 0.85;
}
.note {
  position: absolute;
  top: clamp(4.5rem, 9vw, 8.5rem);
  right: 4%;
  display: flex;
  align-items: flex-start;
  gap: 0.25rem;
  color: var(--red);
  font: 400 1.375rem/1.1 var(--hand);
  transform: rotate(-12deg);
}
.note svg {
  width: 4rem;
  margin-top: 1.5rem;
  fill: none;
  stroke: var(--red);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 0.375rem 1rem;
  border: 1px solid var(--red);
  border-radius: 999px;
  color: var(--red);
  font-size: 0.9375rem;
}
.dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--red);
}
.lead {
  max-width: 24rem;
  margin-top: 1.25rem;
  font-size: 1.1875rem;
}
.photo {
  width: 100%;
  object-fit: cover;
  box-shadow: 0 1.25rem 2.5rem -1rem rgb(61 22 17 / 0.45);
}
.photo-lunch {
  grid-column: 3;
  grid-row: 1 / 3;
  align-self: start;
  aspect-ratio: 4 / 5;
  transform: rotate(3deg);
}
.photo-cup {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  z-index: 1;
  width: 125%;
  max-width: none;
  margin: -1rem 0 -3rem -10%;
  aspect-ratio: 3 / 4;
  border: 0.5rem solid var(--cream);
  transform: rotate(-4deg);
}

/* A cup of coffee cut out and set on the corner of the small photo, as if put down on it. */
.cup {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  justify-self: start;
  z-index: 2;
  width: 13rem;
  margin: 0 0 -4rem -7rem;
  filter: drop-shadow(0 0.75rem 1rem rgb(61 22 17 / 0.35));
}

/* The name the width of the page, as a sign painted on the window. */
/* Clear of the tilted photo's lower corner, which the k's ascender touched at 1rem. */
.wordmark {
  margin-top: clamp(2rem, 3.5vw, 3.5rem);
}
.wordmark svg {
  width: 100%;
  overflow: visible;
}
.wordmark text {
  pointer-events: none;
  fill: var(--red);
  font: 700 220px/1 var(--serif);
  letter-spacing: -0.05em;
}

.menu-band {
  background: var(--cream);
}
.menu-in {
  padding: 4rem 0 4.5rem;
}
.menu-band h2 {
  font-size: clamp(3rem, 6.5vw, 5.5rem);
}
/* The cake beside the question, its white backdrop multiplied into the cream. */
.menu-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 26rem);
  align-items: center;
  gap: 1rem 3rem;
}
.cake {
  width: 100%;
  margin-block: -2rem -3rem;
  mix-blend-mode: multiply;
  mask-image: radial-gradient(closest-side, #000 75%, transparent);
}
@media (forced-colors: active) {
  .cake {
    mix-blend-mode: normal;
  }
}
@media (max-width: 47.99rem) {
  .menu-head {
    grid-template-columns: minmax(0, 1fr);
  }
  .cake {
    width: min(100%, 22rem);
    margin-block: 0 -2rem;
    justify-self: end;
  }
}
.menu {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem 3rem;
  margin-top: 2.5rem;
}
.menu h3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0 1rem;
  color: var(--ink);
  font-size: 1.875rem;
  letter-spacing: -0.02em;
}
.menu h3 small {
  color: var(--soft);
  font: italic 400 0.9375rem var(--serif);
  letter-spacing: 0;
}
.desc {
  margin-top: 0.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--red);
  color: var(--soft);
  font-style: italic;
}
.menu dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}
.menu dd {
  color: var(--red);
  font-variant-numeric: tabular-nums;
}
.allergy {
  margin-top: 2rem;
  color: var(--soft);
  font-style: italic;
}

/* The room: one wide photo with a card for groups, and a label pinned to its corner. */
.room {
  position: relative;
  display: grid;
}
.room img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  min-height: 34rem;
  max-height: 46rem;
  object-fit: cover;
}
.room-card {
  grid-area: 1 / 1;
  align-self: start;
  justify-self: start;
  max-width: 26rem;
  margin: 2.5rem 1.25rem;
  padding: 1.75rem;
  background: var(--cream);
}
.room-card h2 {
  font-size: 2.75rem;
}
.room-card p {
  margin-top: 0.75rem;
}
.ticks {
  display: grid;
  gap: 0.375rem;
  margin-top: 1rem;
}
.ticks li {
  display: flex;
  gap: 0.625rem;
}
.ticks li::before {
  content: '';
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.55em;
  border-radius: 50%;
  background: var(--red);
}
.room-tag {
  grid-area: 1 / 1;
  align-self: end;
  justify-self: end;
  margin: 0 1.25rem 2.5rem;
  padding: 0.5rem 1.25rem;
  background: var(--butter);
  color: var(--red);
  font: italic 400 clamp(1.75rem, 3.5vw, 2.75rem) / 1.1 var(--serif);
  letter-spacing: -0.03em;
  box-shadow: 0 0.75rem 1.5rem -0.75rem rgb(0 0 0 / 0.5);
}

.visit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 2rem 4rem;
  padding: 4rem 0;
}
.visit h2 {
  font-size: clamp(2.75rem, 5vw, 4rem);
}
.address {
  margin-top: 1rem;
  font-size: 1.125rem;
}
.hours div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--red);
}
.hours dd {
  color: var(--red);
  font-variant-numeric: tabular-nums;
}

/* The close on red: the headline in cream, the choices, two outlined buttons. */
.reserve,
.foot {
  background: var(--red);
  color: var(--red-ink);
}
.reserve-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 2.5rem 4rem;
  padding: 4.5rem 0 3.5rem;
}
.reserve h2 {
  color: var(--red-ink);
  font-size: clamp(3.5rem, 7.5vw, 6.5rem);
  line-height: 0.9;
}
.reserve-text p {
  max-width: 28rem;
  margin-top: 1.5rem;
}
.reserve .picker {
  --pick-line: rgb(251 242 221 / 0.55);
  --pick-on-bg: var(--red-ink);
  --pick-on-ink: var(--red);
  --pick-radius: 999px;
  align-self: end;
}
.reserve .picker legend {
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  font-weight: 400;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}
.btn-line {
  min-width: 15rem;
  border-color: var(--red-ink);
  background: transparent;
  color: var(--red-ink);
}
.btn-line:hover {
  background: var(--red-ink);
  color: var(--red);
}
.reserve .picked {
  border-color: var(--red-ink);
}
.foot-in {
  display: grid;
  gap: 0.25rem;
  padding: 1.5rem 0 3rem;
  border-top: 1px solid rgb(251 242 221 / 0.5);
  font-size: 0.875rem;
  font-style: italic;
}
.foot-logo {
  font: 700 1.25rem var(--serif);
  font-style: normal;
  letter-spacing: -0.03em;
}

@media (max-width: 60rem) {
  .hero {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  }
  .hero-text {
    grid-column: 1 / -1;
  }
  .photo-cup,
  .photo-lunch {
    grid-row: 2;
  }
  .photo-cup {
    grid-column: 1;
    width: 100%;
    margin: 0;
  }
  .photo-lunch {
    grid-column: 2;
  }
  .cup {
    grid-column: 1;
    width: 7rem;
    margin: 0 0 -2rem -0.75rem;
  }
  .note {
    position: static;
    margin-top: 1rem;
    transform: rotate(-4deg);
  }
  .menu,
  .visit,
  .reserve-in {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 34rem) {
  .room img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  .room-card {
    grid-area: 2 / 1;
    max-width: none;
    margin: 0;
  }
  .room-tag {
    margin-bottom: 1.25rem;
  }
  .btn-line {
    min-width: 0;
    flex: 1 1 100%;
  }
}
