:root {
  --ink: #171717;
  --ink-soft: #34322f;
  --paper: #f6f1e8;
  --paper-strong: #fffaf1;
  --line: #ddd3c4;
  --muted: #736d65;
  --gold: #b28a4b;
  --gold-dark: #7c5f2f;
  --sage: #2e6f55;
  --sage-soft: #dce8df;
  --wine: #7b3949;
  --blue: #496d7b;
  --shadow: 0 24px 70px rgba(23, 23, 23, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-160%);
  border-radius: 6px;
  background: var(--paper-strong);
  color: var(--ink);
  padding: 10px 14px;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px 40px;
  border-bottom: 1px solid rgba(255, 250, 241, 0.14);
  background: rgba(23, 23, 23, 0.82);
  color: var(--paper-strong);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 750;
}

.brand span:last-child {
  overflow-wrap: anywhere;
}

.brand-mark {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(178, 138, 75, 0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-links a {
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 13px;
  color: rgba(255, 250, 241, 0.82);
  font-size: 0.92rem;
}

.nav-links a:hover,
.nav-links a.is-active {
  border-color: rgba(178, 138, 75, 0.5);
  color: var(--paper-strong);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 76svh;
  padding: 92px 40px 84px;
  background-image: url("assets/coffee-hero.jpg");
  background-position: center;
  background-size: cover;
  color: var(--paper-strong);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(10, 9, 8, 0.48);
  content: "";
}

.hero-copy {
  width: min(660px, 100%);
  margin-left: max(0px, calc((100vw - 1180px) / 2));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.intro h2 {
  margin: 0;
  line-height: 1;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.hero h1 {
  max-width: 620px;
  font-size: 5rem;
}

.hero-lede {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 250, 241, 0.9);
  font-size: 1.23rem;
}

.heritage-note {
  max-width: 610px;
  margin: 18px 0 0;
  border-left: 2px solid var(--gold);
  padding-left: 16px;
  color: rgba(255, 250, 241, 0.76);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-style: italic;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  max-width: 100%;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.button-primary {
  background: var(--paper-strong);
  color: var(--ink);
}

.button-ghost {
  border: 1px solid rgba(255, 250, 241, 0.45);
  color: var(--paper-strong);
}

.band {
  padding: 84px 40px;
}

.band-light {
  background: var(--paper);
}

.band-dark {
  background: var(--ink);
  color: var(--paper-strong);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro {
  background: var(--paper-strong);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.85fr);
  gap: 54px;
  align-items: start;
}

.intro h2,
.section-heading h2 {
  font-size: 3rem;
}

.intro p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.blend-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.blend-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  grid-column: span 2;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  padding: 24px;
  box-shadow: 0 18px 40px rgba(23, 23, 23, 0.06);
}

.blend-card:nth-child(4),
.blend-card:nth-child(5) {
  grid-column: span 3;
}

.blend-card.featured {
  border-color: rgba(178, 138, 75, 0.7);
  box-shadow: var(--shadow);
}

.blend-number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper-strong);
  font-weight: 800;
}

.blend-card h3 {
  margin: 22px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  line-height: 1.1;
}

.blend-card p {
  margin: 0;
  color: var(--muted);
}

.spec-list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.spec-list div {
  display: grid;
  gap: 3px;
}

.spec-list dt {
  color: var(--gold-dark);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.spec-list dd {
  margin: 0;
  color: var(--ink-soft);
}

.blend-mix {
  display: grid;
  gap: 8px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.blend-mix li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
  color: var(--sage);
}

.blend-mix strong {
  color: var(--ink);
}

.table-shell {
  overflow-x: auto;
  border: 1px solid rgba(246, 241, 232, 0.18);
  border-radius: 8px;
  background: #201f1e;
}

table {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
}

th,
td {
  vertical-align: top;
  border-bottom: 1px solid rgba(246, 241, 232, 0.15);
  padding: 16px 14px;
  text-align: left;
}

thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #201f1e;
  color: var(--gold);
  font-size: 0.86rem;
}

tbody th {
  width: 150px;
  color: var(--paper-strong);
}

tbody th span,
td span {
  display: block;
  margin-top: 18px;
  color: rgba(255, 250, 241, 0.72);
  font-weight: 650;
}

td {
  color: rgba(255, 250, 241, 0.78);
}

td:nth-child(2),
td:nth-child(3),
td:nth-child(4),
td:nth-child(5),
td:nth-child(6) {
  color: #91d0aa;
  font-weight: 700;
}

td:nth-child(7) {
  min-width: 260px;
}

td ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
  color: #ddb58e;
  display: grid;
  gap: 9px 18px;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
}

td ul li {
  position: relative;
  padding-left: 14px;
  line-height: 1.3;
}

td ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ddb58e;
}

td:nth-child(8) {
  min-width: 260px;
  max-width: 320px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.65;
  color: rgba(255, 250, 241, 0.92);
}

td:nth-child(9) {
  min-width: 140px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--paper-strong);
  white-space: nowrap;
}

td:nth-child(9) span + span {
  white-space: normal;
}

td:nth-child(9) span {
  display: block;
  margin-top: 8px;
  font-weight: 600;
  font-size: 0.82rem;
  color: rgba(255, 250, 241, 0.62);
}

td:nth-child(9) span + span {
  margin-top: 6px;
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(221, 181, 142, 0.16);
  color: #ddb58e;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.origin-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.origin-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.origin-links a {
  display: grid;
  gap: 12px;
  min-height: 142px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  padding: 18px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.origin-links a:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}

.origin-links span {
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.origin-links strong {
  color: var(--muted);
  font-size: 0.94rem;
}

.care-band {
  background: var(--paper-strong);
}

.care-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.care-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 28px;
}

.care-card h3 {
  margin: 0 0 10px;
  color: var(--wine);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.1;
}

.care-card p {
  margin: 0 0 20px;
  color: var(--sage);
  font-weight: 750;
}

.care-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 40px;
  background: var(--ink);
  color: rgba(255, 250, 241, 0.78);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--gold);
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 14px 22px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    min-height: 72svh;
    padding: 78px 24px 68px;
    background-position: 58% center;
  }

  .hero h1 {
    font-size: 3.8rem;
  }

  .hero-lede {
    font-size: 1.08rem;
  }

  .band {
    padding: 68px 24px;
  }

  .intro-grid,
  .origin-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .intro h2,
  .section-heading h2 {
    font-size: 2.35rem;
  }

  .blend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blend-card,
  .blend-card:nth-child(4),
  .blend-card:nth-child(5) {
    grid-column: span 1;
  }

  .origin-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .site-header {
    position: static;
  }

  .nav-links a {
    padding: 8px 11px;
  }

  .hero {
    min-height: 70svh;
    padding: 58px 18px 48px;
    background-position: 66% center;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .band {
    padding: 56px 18px;
  }

  .intro h2,
  .section-heading h2 {
    font-size: 2rem;
  }

  .blend-grid,
  .origin-links,
  .care-grid {
    grid-template-columns: 1fr;
  }

  .blend-card,
  .care-card {
    padding: 22px;
  }

  .blend-card h3 {
    font-size: 1.5rem;
  }

  .origin-links a {
    min-height: 118px;
  }

  .site-footer {
    flex-direction: column;
    padding: 24px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
