* {
  box-sizing: border-box;
}

html {
  background: #eeeddf;
}

body {
  margin: 0;
  min-width: 320px;
  color: #24241e;
  font-family: Arial, Helvetica, sans-serif;
  background: radial-gradient(ellipse at 48% 92%, #f4f2dc 0%, #eeeddf 67%, #eae8d9 100%);
}

.page {
  max-width: 1240px;
  margin: 0 auto;
  padding-bottom: 70px;
}

.masthead {
  text-align: center;
}

.mama-logo {
  display: block;
  width: 196px;
  height: 190px;
  margin: 0 auto;
  border-radius: 50%;
  object-fit: cover;
}

.mama-says {
  margin: 0;
  color: #987653;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

h1 {
  margin: 17px 0 0;
  color: #444d04;
  font-size: 156px;
  font-weight: 400;
  letter-spacing: -7px;
  line-height: .85;
  white-space: nowrap;
}

.byline {
  margin: 0;
  padding-left: 112px;
  color: #414809;
  font-size: 50px;
  line-height: 1.1;
  text-align: left;
}

.recipe {
  margin-top: 66px;
}

.yield {
  margin: 0 0 0;
  color: #a07e5a;
  font-size: 47px;
  font-style: italic;
  line-height: 1.1;
  text-align: center;
}

.ingredients {
  display: grid;
  grid-template-columns: 560px minmax(0, 1fr);
  column-gap: 42px;
  color: #9d7956;
  font-size: 27px;
  font-weight: 400;
  line-height: 1.25;
}

.ingredient-column p {
  margin: 0;
}

.fictional-ingredient {
  min-height: 2.5em;
  overflow-wrap: anywhere;
}

.ingredient-divider {
  width: 100%;
  height: 5px;
  margin: 16px 0 8px;
  background: repeating-linear-gradient(to right, #a48368 0 5px, transparent 5px 17px);
}

.instructions {
  margin-top: 5px;
}

.step {
  display: grid;
  grid-template-columns: 470px minmax(0, 1fr);
  align-items: start;
  column-gap: 6px;
  margin: 0 0 4px;
}

.step-heading {
  display: flex;
  align-items: center;
  min-width: 0;
  color: #a17c59;
  font-size: 43px;
  font-weight: 400;
  line-height: 1.08;
  white-space: nowrap;
}

.leader {
  flex: 1;
  height: 6px;
  margin: 0 0 3px 18px;
  background: repeating-linear-gradient(to right, #a17c59 0 8px, transparent 8px 29px);
}

.step p {
  margin: 10px 0 0;
  font-size: 31px;
  line-height: 1.16;
}

.step-preheat {
  padding-left: 59px;
}

.step-preheat .step-heading {
  margin-right: 0;
}

.step-grease {
  margin-top: 0;
}

.step-whisk {
  padding-left: 18px;
}

.step-beat {
  padding-left: 9px;
}

.step-mix {
  padding-left: 0;
}

@media (max-width: 1300px) {
  .page {
    width: calc(100% - 56px);
  }

  .mama-says {
    font-size: clamp(20px, 2.9vw, 38px);
  }

  h1 {
    font-size: clamp(56px, 12vw, 156px);
    letter-spacing: -.045em;
  }

  .byline {
    padding-left: 9%;
    font-size: clamp(27px, 3.85vw, 50px);
  }

  .ingredients {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3.4%;
    font-size: clamp(16px, 2.05vw, 27px);
  }

  .step {
    grid-template-columns: 38% minmax(0, 1fr);
  }

  .step-heading {
    font-size: clamp(27px, 3.35vw, 43px);
  }

  .step p {
    font-size: clamp(19px, 2.4vw, 31px);
  }
}

@media (max-width: 700px) {
  .page {
    width: calc(100% - 34px);
    padding-bottom: 35px;
  }

  .mama-logo {
    width: 130px;
    height: 126px;
  }

  .mama-says {
    margin-top: 10px;
    font-size: clamp(17px, 4.5vw, 26px);
    white-space: normal;
  }

  h1 {
    margin-top: 20px;
    font-size: clamp(43px, 11vw, 76px);
    letter-spacing: -.055em;
  }

  .byline {
    padding-left: 5%;
    font-size: clamp(24px, 6vw, 36px);
  }

  .recipe {
    margin-top: 42px;
  }

  .yield {
    margin-bottom: 12px;
    font-size: clamp(26px, 7vw, 40px);
  }

  .ingredients {
    gap: 16px;
    font-size: clamp(14px, 3.25vw, 21px);
    line-height: 1.24;
  }

  .ingredient-divider {
    margin: 13px 0 8px;
  }

  .instructions {
    margin-top: 20px;
  }

  .step,
  .step-preheat,
  .step-whisk,
  .step-beat,
  .step-mix {
    display: block;
    padding-left: 0;
    margin-bottom: 18px;
  }

  .step-heading {
    font-size: 29px;
  }

  .step p {
    margin-top: 3px;
    font-size: 19px;
    line-height: 1.3;
  }
}
