@font-face {
  font-family: Cormorant;
  src: url(cormorantgaramond.woff2) format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
:root {
  --paper: #faf1df;
  --ink: #372419;
  --red: #803521;
  --line: #c8b69a;
  --pad: clamp(23px, 5.2vw, 180px);
  background: var(--paper);
  color: var(--ink);
  font:
    clamp(16px, 1.16vw, 36px) / 1.5 Arial,
    sans-serif;
}
* {
  box-sizing: border-box;
}
body,
p,
h1,
h2,
h3,
dd,
dl,
figure,
ol {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 3px solid #ad4225;
  outline-offset: 4px;
}
.skip {
  position: absolute;
  top: -4em;
  background: var(--paper);
  padding: 0.8em;
  z-index: 5;
}
.skip:focus {
  top: 0;
}
.mast,
footer {
  display: grid;
  align-items: center;
  padding: 0.55rem var(--pad);
  grid-template-columns: 1fr auto 1fr;
  border-bottom: 1px solid var(--line);
}
.mast > a:first-child,
.back,
footer > a:last-child {
  font-size: 0.84rem;
  font-weight: 600;
}
.mast > a:first-child {
  justify-self: start;
}
.back,
footer > a:last-child {
  justify-self: end;
}
.mast > a:not(.brand):hover,
footer > a:last-child:hover {
  text-decoration: underline;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.055em;
  font:
    640 2.8rem/0.98 Cormorant,
    Georgia,
    serif;
  letter-spacing: -0.065em;
  color: var(--red);
}
.brand img {
  width: 0.78em;
  height: 0.78em;
}
.cover {
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  min-height: min(46vw, 1450px);
  border-bottom: 1px solid var(--line);
}
.cover figure {
  position: relative;
  overflow: hidden;
  background: #a76b34;
}
.cover figure > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
}
@media (min-resolution: 1.5dppx) { .cover { --art-density: 2; } }
@media (min-resolution: 2.5dppx) { .cover { --art-density: 3; } }
@media (min-width: 2300px), (min-width: 1150px) and (min-resolution: 1.5dppx), (min-width: 721px) and (min-resolution: 2.5dppx) {
  .cover figure { background: linear-gradient(155deg,#753209,#9b5625 66%,#b16c36); }
  .cover figure > img {
    inset: 50% auto auto 50%;
    translate: -50% -50%;
    width: min(100%,calc(1450px / var(--art-density, 1)));
    height: auto;
    mask-image: linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent),
                linear-gradient(0deg,transparent,#000 9%,#000 90%,transparent);
    mask-composite: intersect;
  }
}
.cover figcaption {
  position: absolute;
  bottom: 1.1em;
  left: 1.3em;
  padding: 0.36em 0.7em;
  color: #2d1c12;
  background: #faf1ddec;
  font-size: 0.72em;
  letter-spacing: 0.015em;
}
.cover figcaption span {
  opacity: 0.75;
  margin-right: 0.6em;
}
.cover-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(40px, 6vw, 170px) var(--pad);
}
.eyebrow,
.notes {
  font:
    600 0.71rem/1.35 Arial,
    sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cover .eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75em;
  color: var(--red);
}
.cover .eyebrow span {
  width: 1.7em;
  border-top: 1px solid;
}
h1,
h2,
h3 {
  font-family: Cormorant, Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.067em;
}
h1 {
  font-size: clamp(79px, 8.4vw, 315px);
  line-height: 0.82;
  margin: 0.32em 0 0.27em;
}
h1 i {
  color: var(--red);
  font-style: normal;
}
.intro {
  max-width: 33ch;
  line-height: 1.55;
}
.link {
  display: inline-flex;
  align-items: center;
  gap: 1.4em;
  border-bottom: 1px solid var(--ink);
  padding: 0.2em 0 0.25em;
  margin-top: 1.45em;
  font-weight: 600;
}
.link span {
  font-size: 1.2em;
  transition: transform 0.2s;
}
.link:hover span {
  transform: translate(2px, 2px);
}
h2 {
  font-size: clamp(49px, 5.35vw, 190px);
  line-height: 0.98;
}
.lots {
  padding: clamp(46px, 6vw, 195px) var(--pad);
}
.section-heading {
  text-align: center;
}
.section-heading h2,
.recipe h2 {
  margin: 0.17em 0;
}
.section-heading > p:last-child,
.recipe > div > p:last-of-type {
  color: #644c3a;
}
.origins {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2em;
  margin-top: 2em;
}
.origin {
  position: relative;
  display: block;
  padding: 1.3em 1.45em;
  overflow: hidden;
  border-top: 4px solid var(--tint);
  background: var(--card);
  transition: transform 0.24s;
}
.origin:hover {
  transform: translateY(-4px);
}
.origin h3 {
  font-size: clamp(35px, 3vw, 114px);
  line-height: 1;
  margin: 0.42em 0 0.08em;
}
.origin b {
  position: absolute;
  right: 1.1em;
  bottom: 1.05em;
  font-weight: 400;
}
.brazil {
  --tint: #864624;
  --card: #e8cba3;
}
.ethiopia {
  --tint: #66764c;
  --card: #dce0ba;
}
.colombia {
  --tint: #9c4040;
  --card: #ecd0ba;
}
.recipe {
  background: #e9ddc9;
  padding: clamp(45px, 5.8vw, 170px) var(--pad);
  display: grid;
  grid-template-columns: 0.8fr 1.1fr;
  gap: clamp(30px, 8vw, 290px);
  align-items: center;
}
.recipe > div > p:last-of-type {
  max-width: 37ch;
}
.recipe form {
  margin-top: 1.2em;
  display: grid;
  gap: 0.35em;
}
label {
  font-size: 0.86em;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.55em;
}
select {
  width: 100%;
  font: inherit;
  color: inherit;
  padding: 0.64em;
  background: #f7eedf;
  border: 1px solid #b6a083;
  border-radius: 0;
}
input[type="range"] {
  width: 100%;
  accent-color: #783c29;
  height: 2em;
}
.paper {
  padding: clamp(22px, 3.4vw, 110px);
  background: #fff8e9;
  box-shadow: 0 0.55em 1.2em #674c2d14;
  border-top: 2px solid var(--red);
}
.paper .eyebrow {
  color: var(--red);
}
.paper h3 {
  font-size: clamp(38px, 3.8vw, 125px);
  line-height: 1.05;
  margin: 0.22em 0 0.4em;
}
.paper dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0.85em 0;
  border-block: 1px solid var(--line);
  gap: 0.5em;
}
.paper dt {
  color: #675142;
  font-size: 0.74em;
}
.paper dd {
  font:
    600 1.45em/1.35 Cormorant,
    Georgia,
    serif;
}
.paper > p:not(.eyebrow) {
  margin: 0.9em 0 0.5em;
}
.paper ol {
  padding-left: 1.3em;
}
.paper li {
  margin: 0.3em 0;
}
footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-block: 1em;
}
@media (prefers-reduced-motion: no-preference) {
  .cover figure img {
    animation: light 19s ease-in-out infinite alternate;
  }
  @keyframes light {
    from {
      transform: scale(1.009);
    }
    to {
      transform: scale(1.055) translateX(-0.3%);
    }
  }
}
@media (max-width: 720px) {
  .cover {
    display: flex;
    flex-direction: column;
  }
  .cover-copy {
    order: -1;
    padding: 23px var(--pad) 24px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    column-gap: 1em;
  }
  .cover-copy .eyebrow,
  .intro {
    grid-column: 1/-1;
  }
  .cover-copy h1 {
    grid-column: 1/-1;
    font-size: clamp(68px, 15.8vw, 96px);
    margin: 0.24em 0 0.18em;
  }
  .cover h1 br {
    display: none;
  }
  .cover h1 br:after {
    content: " ";
  }
  .cover h1 i {
    margin-left: 0;
  }
  .intro {
    font-size: 0.96em;
  }
  .cover .link {
    justify-self: start;
    margin: 0.7em 0 0;
  }
  .cover figure {
    aspect-ratio: 1.55;
  }
  .mast {
    padding: 0.6rem var(--pad);
  }
  .brand {
    font-size: 2.25rem;
  }
  .origins,
  .recipe {
    grid-template-columns: 1fr;
  }
  .origins {
    gap: 0.8em;
  }
  .origin {
    padding: 0.85em 1.1em;
  }
  .origin h3 {
    margin: 0.18em 0 0;
  }
  .recipe {
    gap: 1.6em;
  }
  .paper {
    transform: none;
  }
}
@media (max-width: 400px) {
  .cover-copy h1 {
    font-size: clamp(58px, 15vw, 68px);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::after {
    transition: none !important;
  }
}
@media (max-width: 360px) {
  .mast { grid-template-columns: auto 1fr auto; gap: 8px; padding-inline: 14px; }
  .mast .brand { justify-self: center; }
}
