:root {
  color-scheme: light;
  --page: #fcfaf7;
  --ink: #221611;
  --accent: #b86d38;
  --muted: #315343;
  --line: rgba(34, 22, 17, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--page);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.65;
}

.recipe {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(28px, 7vw, 72px) 0;
}

.recipe__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(20px, 5vw, 48px);
  align-items: start;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.recipe__header img {
  display: block;
  width: 180px;
  height: 144px;
  object-fit: contain;
  border-radius: 6px;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 8vw, 4rem);
  line-height: 1;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 5px;
  text-underline-offset: 8px;
}

h2 {
  margin-top: 32px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.3;
}

p + p {
  margin-top: 14px;
}

.imprint {
  margin-top: 72px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: rgba(34, 22, 17, 0.68);
  font-size: 0.82rem;
  line-height: 1.45;
}

.imprint h2 {
  margin-top: 0;
  margin-bottom: 8px;
  color: inherit;
  font-size: 0.9rem;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent);
}

@media (max-width: 680px) {
  body {
    font-size: 17px;
  }

  .recipe {
    width: min(100% - 20px, 860px);
    margin: 10px auto;
  }

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

  .recipe__header img {
    width: 150px;
    height: 120px;
  }
}
