@import url("/fonts.css");

:root {
  font-family: "DM Sans", sans-serif;
  color: #281710;
  background: #f3ecdf;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

.page-nav {
  min-height: 82px;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #26160f33;
}

.brand {
  display: block;
  width: 76px;
  height: 62px;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid;
  font-size: 13px;
  font-weight: 600;
}

.back-link svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.guide-hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: 52% 48%;
  background: #a93c21;
  color: #fff8ec;
}

.hero-copy {
  padding: 9vw 7vw 8vw 8vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 24px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.035em;
}

h1 {
  max-width: 720px;
  font-size: clamp(64px, 7.2vw, 112px);
}

.hero-intro {
  max-width: 520px;
  margin: 34px 0 0;
  font-size: 17px;
  line-height: 1.65;
}

.hero-image {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}

.hero-image img {
  height: 100%;
  object-fit: cover;
  filter: sepia(.12) contrast(.94);
}

.temperature-card {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(310px, 78%);
  padding: 25px 28px;
  color: #281710;
  background: #d9c3a5;
}

.temperature-card span {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.temperature-card strong {
  display: block;
  font-family: "Instrument Serif", serif;
  font-size: 34px;
  font-weight: 400;
}

.guide {
  width: min(1180px, 88vw);
  margin: 0 auto;
  padding: 120px 0;
  display: grid;
  grid-template-columns: 30% 70%;
  gap: 7vw;
}

.guide-heading {
  position: sticky;
  top: 40px;
  align-self: start;
}

.guide-heading h2 {
  max-width: 330px;
  font-size: clamp(50px, 5vw, 76px);
}

.steps {
  border-top: 1px solid #281710;
}

.step {
  padding: 30px 0;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 22px;
  border-bottom: 1px solid #281710;
}

.step-number {
  padding-top: 4px;
  font-size: 10px;
  opacity: .55;
}

.step h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 600;
}

.step p {
  max-width: 620px;
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

.roast-range {
  padding: 100px 8vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  background: #281710;
  color: #f3ecdf;
}

.roast-range h2 {
  max-width: 560px;
  font-size: clamp(50px, 5vw, 78px);
}

.range-options {
  border-top: 1px solid #ffffff55;
}

.range-option {
  padding: 24px 0;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  border-bottom: 1px solid #ffffff55;
}

.range-option strong {
  font-family: "Instrument Serif", serif;
  font-size: 25px;
  font-weight: 400;
}

.range-option p {
  margin: 3px 0 0;
  font-size: 13px;
  line-height: 1.6;
  opacity: .82;
}

.beans {
  padding: 120px 8vw;
  background: #f3ecdf;
}

.beans-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: end;
  margin-bottom: 64px;
}

.beans-heading h2 {
  max-width: 560px;
  font-size: clamp(54px, 6vw, 90px);
}

.beans-intro {
  max-width: 560px;
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

.bean-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid #281710;
  border-left: 1px solid #281710;
}

.bean-card {
  min-height: 280px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-right: 1px solid #281710;
  border-bottom: 1px solid #281710;
}

.bean-flag {
  width: 36px;
  height: 24px;
  margin-bottom: auto;
  object-fit: cover;
  border: 1px solid #28171033;
}

.bean-card h3 {
  margin: 40px 0 10px;
  font-family: "Instrument Serif", serif;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 400;
  line-height: 1;
}

.bean-card h3 strong {
  font-family: inherit;
  font-size: inherit;
  font-weight: 700;
  letter-spacing: inherit;
  font-synthesis: weight;
}

.bean-profile {
  margin: 0 0 10px;
  font-family: "Instrument Serif", serif;
  font-size: 21px;
  line-height: 1.25;
}

.bean-pack {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.6;
}

.bean-recommendation {
  padding-top: 12px;
  border-top: 1px solid #28171055;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.beans-button {
  margin-top: 38px;
}

.recipes {
  padding: 110px 8vw;
  color: #fff8ec;
  background: #a93c21;
}

.recipes-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: end;
  margin-bottom: 60px;
}

.recipes-heading h2 {
  max-width: 720px;
  font-size: clamp(50px, 5.5vw, 84px);
}

.recipes-heading > p {
  max-width: 560px;
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid #ffffff66;
  border-left: 1px solid #ffffff66;
}

.recipe-card {
  min-height: 300px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #ffffff66;
  border-bottom: 1px solid #ffffff66;
}

.recipe-kicker {
  margin-bottom: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.recipe-kicker svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.recipe-kicker span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .7;
}

.recipe-card h3 {
  max-width: 520px;
  margin: 54px 0 16px;
  font-family: "Instrument Serif", serif;
  font-size: clamp(34px, 3.5vw, 52px);
  font-weight: 400;
  line-height: 1;
}

.recipe-bean {
  margin: 0 0 18px;
  padding: 11px 13px;
  display: flex;
  align-items: baseline;
  gap: 10px 14px;
  flex-wrap: wrap;
  color: #281710;
  background: #d9c3a5;
}

.recipe-bean span {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .7;
}

.recipe-bean strong {
  font-size: 12px;
  font-weight: 600;
}

.recipe-card p {
  max-width: 560px;
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.guide-cta {
  padding: 100px 8vw;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  background: #d9c3a5;
}

.guide-cta h2 {
  max-width: 700px;
  font-size: clamp(48px, 5vw, 76px);
}

.button {
  flex: 0 0 auto;
  padding: 17px 22px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: #f9f4e9;
  background: #281710;
  font-size: 13px;
  font-weight: 600;
}

.page-footer {
  padding: 32px 4vw;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: #f3ecdf;
  background: #281710;
  font-size: 11px;
}

.page-footer div {
  display: flex;
  gap: 22px;
}

@media (max-width: 800px) {
  .guide-hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 88px 6vw 70px;
  }

  .hero-image {
    min-height: 600px;
  }

  .guide {
    padding: 90px 0;
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .guide-heading {
    position: static;
  }

  .roast-range {
    padding: 80px 6vw;
    grid-template-columns: 1fr;
  }

  .beans {
    padding: 90px 6vw;
  }

  .beans-heading {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 48px;
  }

  .recipes {
    padding: 80px 6vw;
  }

  .recipes-heading {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 48px;
  }

  .guide-cta {
    padding: 80px 6vw;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 58px;
  }

  .hero-image {
    min-height: 500px;
  }

  .range-option {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

  .bean-card {
    min-height: 250px;
  }

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

  .recipe-card {
    min-height: 270px;
  }

  .page-footer {
    flex-direction: column;
  }

  .page-footer div {
    flex-wrap: wrap;
  }
}
