@font-face {
  font-family: "TurnipWeb";
  src: url("TurnipVariable[wght].woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "TurnipWeb";
  src: url("TurnipVariable-Italic[wght].woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "TurnipWeb";
  src: url("TurnipVariable[wght].woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "TurnipREWeb";
  src: url("TurnipVariable[wght].woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@layer page {
  .turnip {
    background-color: #f2ebe0;
    color: #000;
    font: 400 15px/1.5 TurnipWeb, Georgia, serif;
    font-kerning: normal;
  }

  .turnip a {
    color: #bb3b13;
  }

  .turnip .wrapper {
    margin-left: auto;
    margin-right: auto;
    max-width: 61rem;
    padding-left: 2rem;
    padding-right: 2rem;
    position: relative;
  }

  .turnip section {
    border: 0;
    overflow: hidden;
    padding: 2.5em 0;
  }

  .turnip section section {
    padding: 1em 0;
  }

  /* full-bleed-ish specimen images, matching the old .fill optical edge */
  .turnip .fill {
    display: block;
    margin-left: -7.25%;
    width: 114.5%;
    max-width: 114.5%;
  }

  .turnip .infobar {
    background: #f2ebe0;
    padding-top: 2em;
    padding-bottom: 2em;
  }

  .turnip h2 {
    font-family: TurnipWeb, Georgia, serif;
    font-size: 2.5em;
    line-height: 1.2em;
    margin: 2rem 0;
    text-align: center;
  }

  .turnip h2 img {
    height: 1em;
    vertical-align: baseline;
  }

  .turnip h4 {
    text-align: center;
    font-style: italic;
    margin-bottom: 1.5em;
  }

  .turnip p {
    margin: 0 0 1em;
  }

  .turnip .subhead {
    font-family: TurnipWeb, Georgia, serif;
    font-size: 0.9em;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .turnip figure {
    margin: 0.5em 0;
    text-align: center;
  }

  .turnip figcaption {
    font-family: TurnipREWeb, Georgia, serif;
    font-size: 0.8rem;
    font-style: italic;
    color: #bb3b13;
    margin: 0.25rem 0 1rem;
  }

  .turnip .small-caption {
    font-family: TurnipREWeb, Georgia, serif;
    font-size: 0.8rem;
    margin-top: 1em;
  }

  /* hero try/buy buttons (inert) */
  .turnip .try-buy-pdf {
    text-align: center;
  }

  .turnip .button {
    font-family: TurnipWeb, Georgia, serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    border: none;
    background: #bb3b13;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    padding: 0.6em 1em 0.4em;
    margin: 1em 0.4em;
    -webkit-appearance: none;
    appearance: none;
  }

  .turnip .button:hover,
  .turnip .button:focus {
    color: #fff;
    background: #d4501f;
  }

  /* Fonts in Use grid */
  .turnip .use-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .turnip .use-case a {
    display: block;
    text-decoration: none;
    color: #000;
  }

  .turnip .use-case img {
    width: 100%;
    display: block;
  }

  .turnip .use-name {
    display: block;
    font-size: 0.8rem;
    margin-top: 0.4em;
  }

  @media screen and (max-width: 40rem) {
    .turnip .use-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .turnip h2 {
      font-size: 2em;
    }
  }
}
