@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
}

@font-face {
  font-family: "STIX Two Text";
  src: url("/assets/fonts/stix-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --background: #e5ecd1;
  --ink: #1c1c1c;
  --secondary: #525846;
  --card: #f9fbf3;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: "Instrument Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}
a:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}
main {
  max-width: 1060px;
  margin: 0 auto;
  padding: 48px 32px 32px;
}
.brand {
  text-align: center;
}
.wordmark {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

.descriptor {
  display: block;
  margin-top: 9px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.21em;
  text-transform: uppercase;
}

.brand h1,
.note p {
  font-family: "STIX Two Text", Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

.brand h1 {
  margin: 28px 0 8px;
  font-size: 29px;
  line-height: 1.2;
}
.intro {
  margin: 0;
  color: var(--secondary);
  font-size: 14px;
  line-height: 1.5;
}
.destinations {
  max-width: 500px;
  margin: 30px auto 0;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 84px;
  padding: 16px 20px;
  border: 1px solid rgba(28, 28, 28, 0.06);
  border-radius: 20px;
  text-decoration: none;
}

.menu-card {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 5px 14px rgba(28, 28, 28, 0.08);
}
.card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
}
.card-icon svg {
  width: 26px;
  height: 26px;
}
.menu-card .card-icon {
  color: var(--background);
}
.card-copy {
  display: grid;
  gap: 5px;
  flex: 1;
  min-width: 0;
}
.card-title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
}
.card-detail {
  font-size: 13px;
  line-height: 1.35;
  color: var(--secondary);
}
.menu-card .card-detail {
  color: #d3dbc3;
}
.arrow {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  flex: 0 0 23px;
}
.delivery {
  margin: 23px 0 16px;
}
.delivery h2 {
  margin: 0 0 11px;
  text-align: center;
  color: var(--secondary);
  font-size: 13px;
  font-weight: 400;
}
.delivery-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.delivery-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 112px;
  padding: 15px 6px 13px;
  border: 1px solid rgba(28, 28, 28, 0.06);
  border-radius: 18px;
  background: var(--card);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.delivery-card img {
  display: block;
  object-fit: contain;
  border-radius: 11px;
}
.catering-card {
  min-height: 78px;
  background: var(--card);
}
.catering-card .card-title {
  font-size: 17px;
}
.link-card,
.delivery-card {
  -webkit-tap-highlight-color: transparent;
}
.food {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 42px;
}
.food img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.5;
  object-fit: cover;
  border-radius: 13px;
}
.note {
  margin: 26px 0 36px;
  text-align: center;
}
.note p {
  margin: 0;
  font-size: 23px;
  line-height: 1.3;
}
.note cite {
  display: block;
  margin-top: 9px;
  color: var(--secondary);
  font-size: 12px;
  font-style: normal;
}
.contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 48px;
  max-width: 700px;
  margin: 0 auto;
  padding-top: 26px;
  border-top: 1px solid rgba(28, 28, 28, 0.18);
}
.contacts section {
  min-width: 0;
}
.contacts h2 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 500;
}
.contacts p {
  margin: 0 0 8px;
  color: var(--secondary);
  font-size: 13px;
  line-height: 1.6;
}
.contacts a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  font-size: 13px;
}
.contacts .email {
  grid-column: 1 / -1;
  margin: 5px 0 0;
  text-align: center;
}
.email a {
  overflow-wrap: anywhere;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .link-card,
  .delivery-card {
    transition:
      transform 150ms ease,
      box-shadow 150ms ease;
  }
  .link-card:hover,
  .delivery-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 16px rgba(28, 28, 28, 0.09);
  }
}

@media (max-width: 600px) {
  main {
    padding: 30px 20px 22px;
  }
  .wordmark {
    width: 170px;
    height: auto;
  }
  .descriptor {
    margin-top: 7px;
    font-size: 9px;
  }
  .brand h1 {
    margin-top: 23px;
    font-size: 25px;
  }
  .intro {
    font-size: 13px;
  }
  .destinations {
    margin-top: 24px;
  }
  .link-card {
    min-height: 82px;
    gap: 11px;
    padding: 15px 16px;
  }
  .card-title {
    font-size: 17px;
  }
  .card-detail {
    font-size: 12px;
  }
  .delivery {
    margin-top: 19px;
    margin-bottom: 13px;
  }
  .delivery-links {
    gap: 8px;
  }
  .delivery-card {
    min-height: 105px;
    gap: 9px;
    font-size: 13px;
  }
  .catering-card {
    min-height: 76px;
  }
  .catering-card .card-title {
    font-size: 16px;
  }
  .food {
    gap: 6px;
    margin-top: 28px;
  }
  .food img {
    border-radius: 9px;
  }
  .note {
    margin-top: 22px;
    margin-bottom: 27px;
  }
  .note p {
    font-size: 21px;
  }
  .contacts {
    column-gap: 20px;
    padding-top: 22px;
  }
  .contacts p {
    font-size: 12px;
  }
}

@media (max-width: 359px) {
  main {
    padding-right: 16px;
    padding-left: 16px;
  }
  .brand h1 {
    font-size: 23px;
  }
  .link-card {
    padding-right: 13px;
    padding-left: 11px;
    gap: 7px;
  }
  .card-title {
    font-size: 16px;
  }
  .catering-card .card-title {
    font-size: 15px;
  }
  .card-icon {
    width: 34px;
    flex-basis: 34px;
  }
}
