:root {
  --ink: #17120f;
  --cream: #f7f1e7;
  --paper: #fffaf2;
  --coffee: #472c1c;
  --rust: #a84f2d;
  --gold: #d49a4a;
  --sage: #55705a;
  --muted: #74685f;
  --line: #dfd2c2;
  --shadow: 0 18px 50px rgba(48, 28, 16, 0.11);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font:
    17px/1.72 system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--rust);
}
a:hover {
  color: var(--coffee);
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 99;
  background: #fff;
  padding: 0.7rem 1rem;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 241, 231, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(71, 44, 28, 0.12);
}
.nav-wrap {
  max-width: 1200px;
  margin: auto;
  min-height: 72px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  color: var(--coffee);
  text-decoration: none;
  font-family: Georgia, serif;
  font-weight: 800;
  font-size: 1.35rem;
  white-space: nowrap;
}
.brand span {
  color: var(--rust);
}
nav {
  margin-left: auto;
  display: flex;
  gap: 8px;
}
nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.9rem;
  padding: 0.55rem 0.7rem;
  border-radius: 99px;
}
nav a[aria-current="page"],
nav a:hover {
  background: #eadfce;
  color: var(--coffee);
}
.menu-btn {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: white;
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  font-size: 1.1rem;
}
.hero {
  min-height: 620px;
  color: #fff;
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(15, 10, 7, 0.78), rgba(15, 10, 7, 0.28)),
    url("hero-coffee-journey.png") center/cover;
}
.hero-inner {
  width: min(1160px, calc(100% - 40px));
  padding: 90px 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--gold);
}
h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
  color: var(--coffee);
}
.hero h1 {
  color: white;
  font-size: clamp(3.1rem, 8vw, 6.6rem);
  max-width: 780px;
  margin: 0.25em 0 0.18em;
}
.hero p {
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  max-width: 650px;
  color: #eee0ce;
}
.button {
  display: inline-block;
  background: var(--rust);
  color: white;
  text-decoration: none;
  font-weight: 750;
  border-radius: 99px;
  padding: 0.85rem 1.25rem;
  margin-top: 1rem;
}
.button:hover {
  background: #84391f;
  color: #fff;
}
.container {
  width: min(1120px, calc(100% - 40px));
  margin: auto;
}
.section {
  padding: 82px 0;
}
.section.alt {
  background: #eee3d3;
}
.section-head {
  max-width: 750px;
  margin-bottom: 34px;
}
.section-head h2,
.page-hero h1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  margin: 0.2em 0;
}
.section-head p,
.lead {
  font-size: 1.14rem;
  color: var(--muted);
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.grid.two {
  grid-template-columns: repeat(2, 1fr);
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 3px 0 rgba(71, 44, 28, 0.04);
}
.card h3 {
  font-size: 1.4rem;
  margin: 0.35rem 0;
}
.card p:last-child {
  margin-bottom: 0;
}
.icon {
  font-size: 1.65rem;
}
.tag {
  display: inline-block;
  color: var(--rust);
  background: #f1dfd2;
  border-radius: 99px;
  padding: 0.22rem 0.65rem;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.fact {
  border-left: 4px solid var(--gold);
  padding: 14px 18px;
  background: #fff7e7;
  border-radius: 0 14px 14px 0;
}
.page-hero {
  padding: 100px 0 70px;
  background:
    radial-gradient(circle at 85% 10%, #eed6b0, transparent 34%), #f1e5d5;
}
.page-hero .lead {
  max-width: 760px;
}
.timeline {
  position: relative;
  margin: 35px 0;
}
.timeline:before {
  content: "";
  position: absolute;
  left: 19px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.event {
  position: relative;
  padding: 0 0 34px 64px;
}
.event:before {
  content: "";
  position: absolute;
  left: 10px;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--rust);
  border: 5px solid var(--cream);
}
.event time {
  font-weight: 850;
  color: var(--rust);
}
.event h3 {
  margin: 0.15rem 0;
}
.table-wrap {
  overflow: auto;
  border-radius: 18px;
  border: 1px solid var(--line);
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 700px;
  background: var(--paper);
}
th,
td {
  text-align: left;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  background: var(--coffee);
  color: white;
}
.recipe {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 18px;
}
.ratio {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--coffee);
  color: #fff;
  font-weight: 850;
  text-align: center;
  line-height: 1.15;
}
.note {
  padding: 22px;
  border-radius: 18px;
  background: #e2eadf;
  border: 1px solid #bdcdb9;
}
.sources {
  font-size: 0.92rem;
  color: var(--muted);
}
.sources li {
  margin: 0.55rem 0;
}
.footer {
  background: #211712;
  color: #d8c9b9;
  padding: 54px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 35px;
}
.footer h2,
.footer h3 {
  color: #fff;
}
.footer a {
  color: #eab873;
}
.footer small {
  color: #aa9a8e;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin: 0.45rem 0;
}
@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-wrap {
    flex-wrap: wrap;
  }
  .menu-btn {
    display: block;
  }
  nav {
    display: none;
    order: 3;
    width: 100%;
    padding: 0 0 14px;
    flex-wrap: wrap;
  }
  nav.open {
    display: flex;
  }
  .hero {
    min-height: 560px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 620px) {
  body {
    font-size: 16px;
  }
  .grid,
  .grid.two,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 58px 0;
  }
  .hero h1 {
    font-size: 3.2rem;
  }
  .hero {
    background-position: 38% center;
  }
  .recipe {
    grid-template-columns: 1fr;
  }
  .ratio {
    width: 78px;
    height: 78px;
  }
  .page-hero {
    padding: 70px 0 48px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
