:root {
  color-scheme: light;
  --paper: #f5f3ed;
  --white: #fffefa;
  --ink: #24231f;
  --muted: #67655e;
  --line: #d9d5cb;
  --green: #55715a;
  --orange: #d96f32;
  --teal: #198d92;
  --gold: #b98b3d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.wordmark span {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  background: var(--ink);
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
}

.wordmark strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 500;
}

.taste-link,
.down-link {
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.taste-link span,
.down-link span {
  display: inline-block;
  margin-left: 8px;
  transition: transform 180ms ease;
}

.taste-link:hover span {
  transform: translate(3px, -3px);
}

.intro {
  min-height: min(610px, calc(100vh - 84px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 72px 0 80px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.intro::after {
  content: "365";
  position: absolute;
  right: 0;
  bottom: 22px;
  color: rgba(36, 35, 31, 0.045);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(150px, 24vw, 330px);
  line-height: 0.8;
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 7vw, 94px);
  font-weight: 400;
  line-height: 0.98;
}

.lede {
  max-width: 630px;
  margin-bottom: 38px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.down-link {
  position: relative;
  z-index: 1;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--ink);
}

.apps-section {
  padding: 96px 0 112px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 48px;
  align-items: end;
  margin-bottom: 48px;
}

.section-heading .eyebrow {
  margin-bottom: 10px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 400;
}

.section-heading > p {
  margin-bottom: 2px;
  color: var(--muted);
  line-height: 1.6;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.app-card {
  --accent: var(--gold);
  min-height: 218px;
  display: grid;
  grid-template-columns: 132px 1fr 34px;
  gap: 24px;
  align-items: center;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 6px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.app-card:hover,
.app-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 18px 36px rgba(36, 35, 31, 0.1);
  outline: none;
}

.app-card img {
  display: block;
  width: 132px;
  height: 132px;
  object-fit: cover;
  border-radius: 6px;
}

.app-copy {
  min-width: 0;
}

.category {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.app-card h3 {
  margin-bottom: 9px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  font-weight: 400;
  line-height: 1.08;
}

.app-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.open {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  font-size: 16px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.app-card:hover .open {
  transform: translate(2px, -2px);
  border-color: var(--accent);
}

.brunch { --accent: #bd812a; }
.healthy { --accent: #6c895f; }
.gluten { --accent: #9e8328; }
.dairy { --accent: #6b918d; }
.vegetarian { --accent: #7a8656; }
.plant { --accent: #27846c; }
.seafood { --accent: #247c91; }
.master { --accent: var(--orange); }

footer {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

footer p {
  margin: 0;
}

footer nav {
  display: flex;
  gap: 24px;
}

footer a {
  text-underline-offset: 4px;
}

@media (max-width: 860px) {
  .site-header,
  main,
  footer {
    width: min(100% - 32px, 680px);
  }

  .intro {
    min-height: 570px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .app-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 72px;
  }

  .wordmark strong {
    font-size: 16px;
  }

  .taste-link {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0;
    border: 1px solid var(--line);
  }

  .taste-link span {
    margin: 0;
    font-size: 16px;
  }

  .intro {
    min-height: calc(100svh - 72px);
    padding: 64px 0;
  }

  h1 {
    font-size: 48px;
    line-height: 1.02;
  }

  .lede {
    font-size: 16px;
  }

  .apps-section {
    padding: 72px 0 84px;
  }

  .section-heading h2 {
    font-size: 36px;
  }

  .app-card {
    min-height: 0;
    grid-template-columns: 88px 1fr 30px;
    gap: 16px;
    padding: 18px;
  }

  .app-card img {
    width: 88px;
    height: 88px;
  }

  .app-card h3 {
    font-size: 23px;
  }

  .app-card p {
    display: none;
  }

  .open {
    width: 30px;
    height: 30px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 24px 0;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
