:root {
  --ink: #241711;
  --espresso: #342119;
  --coffee: #68452f;
  --coffee-soft: #8e654d;
  --caramel: #c98955;
  --caramel-light: #dfb58a;
  --cream: #f3eadc;
  --paper: #fbf7f0;
  --sand: #decaae;
  --sand-deep: #c7aa87;
  --sage: #68725c;
  --muted: #75675d;
  --white: #fffdf9;
  --line: rgba(74, 46, 31, 0.16);
  --shadow: 0 22px 70px rgba(50, 30, 18, 0.12);
  --shadow-soft: 0 12px 35px rgba(50, 30, 18, 0.08);
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 36px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

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

[hidden] {
  display: none !important;
}

svg {
  display: block;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

::selection {
  color: var(--white);
  background: var(--coffee);
}

:focus-visible {
  outline: 3px solid var(--caramel);
  outline-offset: 4px;
}

.shell {
  width: min(100% - 40px, 1280px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 11px 18px;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--coffee);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 32px;
  height: 1px;
  background: currentColor;
  content: "";
}

.eyebrow--light {
  color: var(--caramel-light);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 7rem);
  margin-bottom: clamp(3.5rem, 7vw, 6.5rem);
}

.section-head h2,
.facts-head h2 {
  max-width: 760px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.2vw, 6rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.section-head__intro {
  max-width: 540px;
  padding-bottom: 7px;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.75;
}

.section-head--light h2 {
  color: var(--cream);
}

.section-head--light .section-head__intro {
  color: rgba(243, 234, 220, 0.7);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(36, 23, 17, 0.35);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: gap 200ms ease, color 200ms ease, border-color 200ms ease;
}

.text-link:hover {
  gap: 24px;
  color: var(--coffee);
  border-color: var(--coffee);
}

.text-link--light {
  color: var(--cream);
  border-color: rgba(243, 234, 220, 0.38);
}

.text-link--light:hover {
  color: var(--caramel-light);
  border-color: var(--caramel-light);
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 220ms ease, background-color 220ms ease, color 220ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button--primary {
  color: var(--ink);
  background: var(--caramel-light);
}

.button--primary:hover {
  background: var(--cream);
}

/* Header */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  color: var(--cream);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(to bottom, rgba(21, 13, 10, 0.9), rgba(21, 13, 10, 0.3));
  transition: background-color 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

.site-header::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  content: "";
}

.site-header.is-scrolled {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(31, 19, 14, 0.94);
  box-shadow: 0 12px 35px rgba(16, 8, 4, 0.18);
}

.header-shell {
  display: flex;
  width: min(100% - 40px, 1360px);
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.brand-mark svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.brand-subtitle {
  margin-top: 5px;
  color: rgba(243, 234, 220, 0.57);
  font-size: 0.57rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.2vw, 2.35rem);
  list-style: none;
}

.primary-nav a {
  position: relative;
  display: block;
  padding-block: 29px;
  color: rgba(255, 253, 249, 0.72);
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  transition: color 180ms ease;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 21px;
  left: 0;
  height: 1px;
  background: var(--caramel-light);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.primary-nav a:hover,
.primary-nav a.is-active {
  color: var(--white);
}

.primary-nav a:hover::after,
.primary-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 9px 0 9px 12px;
  color: var(--cream);
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.menu-toggle__icon {
  position: relative;
  display: block;
  width: 26px;
  height: 20px;
}

.menu-toggle__icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 220ms ease, top 220ms ease;
}

.menu-toggle__icon span:first-child {
  top: 6px;
}

.menu-toggle__icon span:last-child {
  top: 14px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:first-child {
  top: 10px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:last-child {
  top: 10px;
  transform: rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  min-height: 720px;
  min-height: max(720px, 100svh);
  overflow: hidden;
  color: var(--white);
  background: #140d0a;
}

.hero__image,
.hero__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
  object-position: 50% 43%;
  animation: hero-settle 1.3s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero__veil {
  background:
    linear-gradient(90deg, rgba(17, 10, 7, 0.95) 0%, rgba(21, 13, 10, 0.78) 39%, rgba(21, 13, 10, 0.23) 74%, rgba(21, 13, 10, 0.55) 100%),
    linear-gradient(0deg, rgba(18, 10, 7, 0.78) 0%, transparent 38%),
    radial-gradient(circle at 72% 40%, transparent 0, rgba(15, 8, 5, 0.16) 60%);
}

.hero__veil::after {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    repeating-radial-gradient(circle at 12% 18%, transparent 0 2px, rgba(255, 255, 255, 0.2) 2.4px 2.8px, transparent 3.2px 7px);
  background-size: 15px 15px;
  content: "";
  mix-blend-mode: soft-light;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
  align-items: end;
  gap: clamp(3rem, 8vw, 9rem);
  padding-top: 145px;
  padding-bottom: clamp(9rem, 17vh, 12rem);
}

.hero__copy {
  max-width: 850px;
}

.hero h1 {
  max-width: 950px;
  font-family: var(--font-display);
  font-size: clamp(4rem, 8.8vw, 8.7rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.068em;
}

.hero h1 em {
  color: var(--caramel-light);
  font-weight: 400;
}

.hero__lead {
  max-width: 630px;
  margin-top: 32px;
  color: rgba(255, 253, 249, 0.72);
  font-size: clamp(1rem, 1.35vw, 1.17rem);
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  margin-top: 38px;
}

.tasting-note {
  position: relative;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  background: rgba(40, 25, 18, 0.47);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.tasting-note::after {
  position: absolute;
  right: -65px;
  bottom: -65px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(223, 181, 138, 0.22);
  border-radius: 50%;
  box-shadow: inset 0 0 0 24px rgba(223, 181, 138, 0.035);
  content: "";
}

.tasting-note__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 253, 249, 0.58);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tasting-note__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.tasting-note__status span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a9bd82;
  box-shadow: 0 0 0 5px rgba(169, 189, 130, 0.11);
}

.tasting-note__quote {
  position: relative;
  margin-top: 34px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.32;
  letter-spacing: -0.02em;
}

.tasting-note__notes {
  display: grid;
  gap: 12px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.tasting-note__notes div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.tasting-note__notes dt {
  color: rgba(255, 253, 249, 0.47);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tasting-note__notes dd {
  color: rgba(255, 253, 249, 0.85);
  font-size: 0.77rem;
  text-align: right;
}

.hero__scroll {
  position: absolute;
  z-index: 3;
  bottom: 38px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 253, 249, 0.52);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: translateX(-50%);
  transition: color 200ms ease;
}

.hero__scroll:hover {
  color: var(--cream);
}

.hero__scroll-line {
  position: relative;
  width: 56px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.24);
}

.hero__scroll-line::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: var(--caramel-light);
  content: "";
  animation: scroll-line 2.2s ease-in-out infinite;
}

@keyframes hero-settle {
  from {
    opacity: 0;
    transform: scale(1.045);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes scroll-line {
  0%,
  20% {
    transform: translateX(-110%);
  }
  70%,
  100% {
    transform: translateX(230%);
  }
}

/* Overview */
.overview {
  position: relative;
  padding: clamp(5.5rem, 10vw, 9rem) 0 clamp(5rem, 8vw, 7.5rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 2%, rgba(201, 137, 85, 0.13), transparent 28rem),
    var(--cream);
}

.overview::before {
  position: absolute;
  top: 0;
  right: 7vw;
  width: 1px;
  height: 100%;
  background: rgba(104, 69, 47, 0.09);
  content: "";
}

.overview__heading {
  display: grid;
  grid-template-columns: 0.45fr 1.15fr 0.7fr;
  align-items: start;
  gap: clamp(2rem, 5vw, 5.5rem);
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
}

.overview__heading .eyebrow {
  margin-top: 12px;
}

.overview__heading h2 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.overview__heading > p:last-child {
  max-width: 340px;
  color: var(--muted);
  font-size: 0.95rem;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.overview-card {
  position: relative;
  min-height: 310px;
  padding: 30px 32px 15px;
  border-right: 1px solid var(--line);
  transition: background-color 250ms ease, transform 250ms ease;
}

.overview-card:first-child {
  border-left: 1px solid var(--line);
}

.overview-card:hover {
  background: rgba(255, 253, 249, 0.56);
  transform: translateY(-5px);
}

.overview-card__number {
  color: var(--coffee-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.overview-card__icon {
  display: grid;
  width: 68px;
  height: 68px;
  margin: 32px 0 26px;
  place-items: center;
  color: var(--coffee);
  border: 1px solid rgba(104, 69, 47, 0.22);
  border-radius: 50%;
}

.overview-card__icon svg {
  width: 33px;
  height: 33px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.25;
}

.overview-card h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.overview-card p {
  max-width: 320px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.91rem;
}

.overview-card > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(104, 69, 47, 0.25);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: gap 180ms ease;
}

.overview-card > a:hover {
  gap: 16px;
}

/* History */
.history {
  padding: clamp(6rem, 10vw, 10rem) 0;
  background: var(--paper);
}

.history-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  align-items: start;
  gap: clamp(3.5rem, 8vw, 8rem);
}

.timeline {
  position: relative;
  padding-left: 38px;
}

.timeline::before {
  position: absolute;
  top: 8px;
  bottom: 14px;
  left: 7px;
  width: 1px;
  background: linear-gradient(to bottom, var(--coffee), rgba(104, 69, 47, 0.12));
  content: "";
}

.timeline-item {
  position: relative;
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  position: absolute;
  top: 5px;
  left: -37px;
  width: 13px;
  height: 13px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--coffee);
  box-shadow: 0 0 0 1px var(--coffee);
  content: "";
}

.timeline-item__year {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--coffee-soft);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.timeline-item__year i {
  width: 28px;
  height: 1px;
  background: rgba(104, 69, 47, 0.28);
}

.timeline-item__place {
  margin-top: 15px;
  color: var(--caramel);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.timeline-item h3 {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.7vw, 2.55rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.timeline-item__body > p:not(.timeline-item__place) {
  max-width: 680px;
  margin-top: 15px;
  color: var(--muted);
  line-height: 1.78;
}

.timeline-item__body > p + p {
  margin-top: 10px;
}

.source-note {
  display: flex;
  max-width: 620px;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
  padding: 15px 18px;
  color: #665548;
  border: 1px solid rgba(104, 69, 47, 0.14);
  border-radius: 12px;
  background: #f3ebdf;
  font-size: 0.78rem;
  line-height: 1.55;
}

.source-note span {
  display: grid;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  place-items: center;
  color: var(--cream);
  border-radius: 50%;
  background: var(--coffee);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-style: italic;
}

.history-visual {
  position: sticky;
  top: 112px;
  min-height: 690px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--espresso);
  box-shadow: var(--shadow);
}

.history-visual::after {
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(to bottom, transparent, rgba(18, 11, 8, 0.9));
  content: "";
}

.history-visual img {
  width: 100%;
  height: 100%;
  min-height: 690px;
  object-fit: cover;
  transition: transform 800ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.history-visual:hover img {
  transform: scale(1.025);
}

.history-visual figcaption {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 28px;
  left: 28px;
  display: grid;
  gap: 8px;
  color: rgba(255, 253, 249, 0.75);
  font-size: 0.82rem;
  line-height: 1.55;
}

.history-visual__label {
  color: var(--caramel-light);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.history-visual__stamp {
  position: absolute;
  z-index: 3;
  top: 24px;
  right: 24px;
  display: flex;
  width: 108px;
  height: 108px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  border: 1px solid rgba(255, 253, 249, 0.48);
  border-radius: 50%;
  background: rgba(36, 23, 17, 0.25);
  font-size: 0.52rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(7px);
}

.history-visual__stamp strong {
  margin: 2px 0;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
}

/* Varieties */
.varieties {
  position: relative;
  padding: clamp(6rem, 10vw, 10rem) 0;
  overflow: hidden;
  color: var(--cream);
  background:
    radial-gradient(circle at 0% 0%, rgba(201, 137, 85, 0.18), transparent 32rem),
    radial-gradient(circle at 100% 70%, rgba(120, 129, 97, 0.1), transparent 35rem),
    var(--ink);
}

.varieties::before {
  position: absolute;
  top: 8%;
  right: -220px;
  width: 550px;
  height: 750px;
  border: 1px solid rgba(223, 181, 138, 0.09);
  border-radius: 50%;
  content: "";
  transform: rotate(34deg);
}

.variety-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
}

.variety-card {
  position: relative;
  min-width: 0;
  padding: clamp(25px, 3.2vw, 40px);
  overflow: hidden;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.1);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.variety-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.17);
}

.variety-card--arabica {
  background: #f3e9dc;
}

.variety-card--robusta {
  background: #e6d4bd;
}

.variety-card--liberica {
  background: #e6e2d2;
}

.variety-card--excelsa {
  background: #eedbce;
}

.variety-card--kopi {
  grid-column: 1 / -1;
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 255, 255, 0.28), transparent 17rem),
    #d9b78d;
}

.variety-card--kopi::before {
  position: absolute;
  top: -80px;
  right: 7%;
  width: 330px;
  height: 480px;
  border: 1px solid rgba(71, 43, 27, 0.13);
  border-radius: 50%;
  content: "";
  transform: rotate(29deg);
}

.variety-card__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(52, 33, 25, 0.56);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.variety-card__index {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(52, 33, 25, 0.22);
  border-radius: 50%;
}

.variety-card__origin {
  text-align: right;
}

.variety-card__title {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
}

.variety-card__latin {
  color: rgba(52, 33, 25, 0.52);
  font-family: var(--font-display);
  font-size: 0.81rem;
  font-style: italic;
}

.variety-card h3 {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.8rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.05em;
}

.variety-toggle {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  padding: 0;
  color: var(--ink);
  border: 0;
  background: transparent;
  cursor: pointer;
}

.variety-toggle__text {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.variety-toggle__mark {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border: 1px solid rgba(52, 33, 25, 0.25);
  border-radius: 50%;
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1;
  transition: color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

.variety-toggle:hover .variety-toggle__mark {
  color: var(--cream);
  background: var(--ink);
  transform: rotate(90deg);
}

.variety-card.is-open .variety-toggle__mark {
  color: var(--cream);
  background: var(--ink);
  transform: rotate(45deg);
}

.variety-card__summary {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin-top: 19px;
  color: rgba(52, 33, 25, 0.7);
  font-size: 0.93rem;
  line-height: 1.65;
}

.caffeine-meter {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(70px, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-top: 27px;
  color: rgba(52, 33, 25, 0.6);
  font-size: 0.65rem;
}

.caffeine-meter strong {
  color: var(--ink);
  font-size: 0.69rem;
  font-weight: 700;
}

.caffeine-meter__track {
  height: 4px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(52, 33, 25, 0.12);
}

.caffeine-meter__track i {
  display: block;
  width: var(--fill);
  height: 100%;
  border-radius: inherit;
  background: var(--coffee);
  transform-origin: left;
  transition: transform 600ms ease;
}

.variety-details {
  position: relative;
  z-index: 1;
  margin-top: 28px;
  padding-top: 27px;
  border-top: 1px solid rgba(52, 33, 25, 0.16);
  animation: details-in 320ms ease both;
}

.variety-details[hidden] {
  display: none;
}

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

.detail-grid > div:last-child {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid rgba(52, 33, 25, 0.1);
}

.detail-grid h4 {
  margin-bottom: 6px;
  color: var(--coffee);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.detail-grid p {
  color: rgba(52, 33, 25, 0.74);
  font-size: 0.84rem;
  line-height: 1.68;
}

@keyframes details-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.kopi-flags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.kopi-flags span {
  padding: 7px 13px;
  color: rgba(52, 33, 25, 0.72);
  border: 1px solid rgba(52, 33, 25, 0.18);
  border-radius: 999px;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

/* Kopi Luwak */
.kopi {
  padding: clamp(6rem, 11vw, 11rem) 0;
  overflow: hidden;
  background:
    linear-gradient(rgba(104, 69, 47, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 100% 106px;
}

.kopi-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.65fr);
  align-items: end;
  gap: clamp(3rem, 8vw, 8rem);
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

.kopi-head h2 {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 7rem);
  font-weight: 400;
  line-height: 0.91;
  letter-spacing: -0.06em;
}

.kopi-head h2 em {
  color: var(--coffee-soft);
  font-weight: 400;
}

.kopi-head__intro p {
  color: var(--muted);
  line-height: 1.78;
}

.kopi-head__intro .text-link {
  margin-top: 25px;
}

.kopi-overview {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.kopi-image {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.kopi-image::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(to bottom, transparent, rgba(20, 12, 8, 0.9));
  content: "";
}

.kopi-image img {
  width: 100%;
  height: 100%;
  min-height: 650px;
  object-fit: cover;
  transition: transform 900ms ease;
}

.kopi-image:hover img {
  transform: scale(1.03);
}

.kopi-image figcaption {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 28px;
  left: 28px;
  color: var(--cream);
}

.kopi-image figcaption span {
  display: block;
  margin-bottom: 8px;
  color: var(--caramel-light);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.kopi-image figcaption p {
  max-width: 330px;
  color: rgba(255, 253, 249, 0.72);
  font-size: 0.84rem;
}

.kopi-copy__lead {
  max-width: 720px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 3.3rem);
  line-height: 1.17;
  letter-spacing: -0.04em;
}

.kopi-copy > p:not(.kopi-copy__lead) {
  max-width: 680px;
  margin-top: 25px;
  color: var(--muted);
  line-height: 1.8;
}

.kopi-quickfacts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.kopi-quickfacts dt {
  margin-bottom: 7px;
  color: var(--coffee-soft);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.kopi-quickfacts dd {
  color: var(--ink);
  font-size: 0.83rem;
  line-height: 1.55;
}

.kopi-process {
  margin-top: clamp(5rem, 10vw, 9rem);
  padding: clamp(2rem, 5vw, 5rem);
  color: var(--cream);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 92% 5%, rgba(201, 137, 85, 0.19), transparent 25rem),
    var(--ink);
  box-shadow: var(--shadow);
}

.kopi-process__heading {
  display: grid;
  grid-template-columns: 0.55fr 1fr 0.68fr;
  align-items: start;
  gap: clamp(1.5rem, 5vw, 5rem);
}

.kopi-process__heading .eyebrow {
  margin-top: 12px;
}

.kopi-process__heading h3 {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.3vw, 4.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.05em;
}

.kopi-process__heading > p:last-child {
  color: rgba(243, 234, 220, 0.62);
  font-size: 0.9rem;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 55px;
  list-style: none;
  border-top: 1px solid rgba(243, 234, 220, 0.16);
}

.process-step {
  min-height: 230px;
  padding: 28px 28px 22px;
  border-right: 1px solid rgba(243, 234, 220, 0.13);
  border-bottom: 1px solid rgba(243, 234, 220, 0.13);
}

.process-step:nth-child(3n) {
  border-right: 0;
}

.process-step:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.process-step__number {
  color: var(--caramel-light);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.process-step h4 {
  margin-top: 31px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
}

.process-step p {
  margin-top: 10px;
  color: rgba(243, 234, 220, 0.58);
  font-size: 0.8rem;
  line-height: 1.66;
}

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

.editorial-card {
  min-height: 380px;
  padding: clamp(2rem, 4.5vw, 4.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #efe5d7;
}

.editorial-card--accent {
  background: #dfc19e;
}

.editorial-card__label {
  display: inline-flex;
  padding: 7px 12px;
  color: var(--coffee);
  border: 1px solid rgba(104, 69, 47, 0.24);
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.editorial-card h3 {
  max-width: 500px;
  margin-top: 38px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.editorial-card p {
  max-width: 570px;
  margin-top: 18px;
  color: rgba(36, 23, 17, 0.67);
  font-size: 0.88rem;
  line-height: 1.72;
}

.ethics {
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(3rem, 8vw, 8rem);
  margin-top: 18px;
  padding: clamp(2.5rem, 5vw, 5rem);
  color: var(--cream);
  border-radius: var(--radius-lg);
  background: #4b2e22;
}

.ethics__icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 50px;
  place-items: center;
  color: var(--ink);
  border-radius: 50%;
  background: var(--caramel-light);
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-style: italic;
}

.ethics__title h3 {
  max-width: 450px;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.2vw, 4.4rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.ethics__copy {
  padding-top: 36px;
}

.ethics__copy p {
  max-width: 720px;
  color: rgba(243, 234, 220, 0.7);
  font-size: 0.92rem;
  line-height: 1.78;
}

.ethics__copy p + p {
  margin-top: 17px;
}

.ethics__copy .ethics__conclusion {
  margin-top: 30px;
  padding-top: 24px;
  color: var(--cream);
  border-top: 1px solid rgba(243, 234, 220, 0.2);
  font-size: 1rem;
}

.wild-vs-farm {
  margin-top: clamp(4rem, 8vw, 7rem);
}

.wild-vs-farm__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.wild-vs-farm__head .eyebrow {
  margin: 0;
}

.wild-vs-farm__head h3 {
  max-width: 660px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3.6rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-align: right;
}

.comparison-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #f4ecdf;
  scrollbar-color: var(--coffee-soft) transparent;
}

.comparison-scroll table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  text-align: left;
}

.comparison-scroll th,
.comparison-scroll td {
  padding: 24px 26px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.comparison-scroll tr:last-child th,
.comparison-scroll tr:last-child td {
  border-bottom: 0;
}

.comparison-scroll thead th {
  color: var(--coffee-soft);
  background: rgba(104, 69, 47, 0.055);
  font-size: 0.61rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.comparison-scroll tbody th {
  width: 26%;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 400;
}

.comparison-scroll td {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

/* Brewing */
.brewing {
  padding: clamp(6rem, 10vw, 10rem) 0;
  background:
    radial-gradient(circle at 10% 2%, rgba(255, 255, 255, 0.72), transparent 28rem),
    var(--cream);
}

.brewing-intro {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  align-items: end;
  gap: clamp(3rem, 8vw, 8rem);
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

.brewing-intro__image {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.brewing-intro__image::after {
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(to bottom, transparent, rgba(28, 17, 12, 0.8));
  content: "";
}

.brewing-intro__image img {
  width: 100%;
  height: 100%;
  min-height: 660px;
  object-fit: cover;
  transition: transform 900ms ease;
}

.brewing-intro__image:hover img {
  transform: scale(1.03);
}

.brewing-intro__image figcaption {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 27px;
  left: 28px;
  max-width: 420px;
  color: rgba(255, 253, 249, 0.8);
  font-size: 0.8rem;
}

.brewing-intro__copy h2 {
  max-width: 760px;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 7rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.brewing-intro__copy > p:not(.eyebrow) {
  max-width: 600px;
  margin-top: 30px;
  color: var(--muted);
  line-height: 1.78;
}

.brewing-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 28px;
  color: var(--coffee);
  font-size: 0.68rem;
  font-weight: 600;
}

.brewing-legend span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.brewing-legend i {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border: 1px solid rgba(104, 69, 47, 0.25);
  border-radius: 50%;
  font-size: 0.6rem;
  font-style: normal;
}

.brew-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.brew-card {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 253, 249, 0.7);
  box-shadow: 0 12px 40px rgba(50, 30, 18, 0.035);
  transition: transform 250ms ease, background-color 250ms ease, box-shadow 250ms ease;
}

.brew-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transform: translateY(-5px);
}

.brew-card--dark {
  color: var(--cream);
  border-color: transparent;
  background:
    radial-gradient(circle at 100% 0%, rgba(201, 137, 85, 0.25), transparent 16rem),
    var(--ink);
}

.brew-card--dark:hover {
  background:
    radial-gradient(circle at 100% 0%, rgba(201, 137, 85, 0.32), transparent 16rem),
    var(--ink);
}

.brew-card--turkish {
  grid-column: 2;
  background: #e7d5bf;
}

.brew-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--coffee-soft);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brew-card--dark .brew-card__top {
  color: rgba(243, 234, 220, 0.58);
}

.brew-card__number {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.8;
}

.brew-card__kind {
  text-align: right;
}

.brew-card h3 {
  margin-top: 33px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.brew-card__text {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.brew-card--dark .brew-card__text {
  color: rgba(243, 234, 220, 0.62);
}

.brew-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin-top: auto;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.brew-card--dark .brew-specs {
  border-color: rgba(243, 234, 220, 0.17);
}

.brew-specs dt {
  color: var(--coffee-soft);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brew-card--dark .brew-specs dt {
  color: var(--caramel-light);
}

.brew-specs dd {
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.3;
}

.brew-card__taste {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  margin-top: 22px;
  padding-top: 16px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.69rem;
  line-height: 1.5;
}

.brew-card__taste span {
  color: var(--coffee);
  font-weight: 700;
}

.brew-card--dark .brew-card__taste {
  color: rgba(243, 234, 220, 0.58);
  border-color: rgba(243, 234, 220, 0.17);
}

.brew-card--dark .brew-card__taste span {
  color: var(--caramel-light);
}

.brew-tip {
  display: grid;
  grid-template-columns: 0.27fr 1fr;
  align-items: start;
  gap: 35px;
  margin-top: 16px;
  padding: 36px 40px;
  color: var(--cream);
  border-radius: 24px;
  background: var(--coffee);
}

.brew-tip__label {
  color: var(--caramel-light);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.brew-tip p {
  max-width: 920px;
  color: rgba(255, 253, 249, 0.77);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  line-height: 1.55;
}

/* Facts */
.facts {
  padding: clamp(6rem, 10vw, 10rem) 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.66), transparent 30rem),
    #e4d3bd;
}

.facts-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.55fr);
  align-items: end;
  gap: clamp(3rem, 8vw, 8rem);
  margin-bottom: clamp(4rem, 8vw, 6rem);
}

.facts-head > p {
  max-width: 470px;
  padding-bottom: 8px;
  color: var(--muted);
  line-height: 1.77;
}

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

.fact-card {
  padding: clamp(24px, 3.3vw, 38px);
  border: 1px solid rgba(104, 69, 47, 0.13);
  border-radius: 25px;
  background: rgba(251, 247, 240, 0.87);
  box-shadow: 0 14px 45px rgba(50, 30, 18, 0.055);
}

.fact-card--caffeine {
  grid-column: span 5;
}

.fact-card--machines {
  grid-column: span 7;
  color: var(--cream);
  border-color: transparent;
  background:
    radial-gradient(circle at 92% 12%, rgba(201, 137, 85, 0.24), transparent 20rem),
    var(--ink);
}

.fact-card--traditions {
  grid-column: span 4;
}

.fact-card--producers {
  grid-column: span 4;
  background: #e8d9c6;
}

.fact-card--flavour {
  grid-column: span 4;
}

.fact-card__tag {
  color: var(--coffee-soft);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.fact-card--machines .fact-card__tag {
  color: var(--caramel-light);
}

.fact-card h3 {
  margin-top: 31px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.fact-card > p {
  margin-top: 17px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.fact-card--machines > p,
.fact-card--machines .mini-timeline p {
  color: rgba(243, 234, 220, 0.61);
}

.fact-bars {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.fact-bars > div {
  display: grid;
  grid-template-columns: 76px minmax(80px, 1fr) auto;
  align-items: center;
  gap: 13px;
  color: var(--muted);
  font-size: 0.65rem;
}

.fact-bars i {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(104, 69, 47, 0.13);
}

.fact-bars b {
  display: block;
  width: var(--size);
  height: 100%;
  border-radius: inherit;
  background: var(--coffee);
}

.fact-bars strong {
  color: var(--ink);
  font-size: 0.66rem;
}

.fact-card__note {
  padding-top: 14px;
  color: rgba(117, 103, 93, 0.75) !important;
  border-top: 1px solid var(--line);
  font-size: 0.68rem !important;
}

.mini-timeline {
  display: grid;
  gap: 0;
  margin-top: 28px;
}

.mini-timeline > div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid rgba(243, 234, 220, 0.14);
}

.mini-timeline time {
  color: var(--caramel-light);
  font-family: var(--font-display);
  font-size: 1.16rem;
}

.mini-timeline p {
  font-size: 0.79rem;
  line-height: 1.65;
}

.fact-card ul {
  display: grid;
  gap: 0;
  margin-top: 25px;
  list-style: none;
}

.fact-card li {
  padding: 16px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  line-height: 1.65;
}

.fact-card li strong {
  color: var(--ink);
}

.producer-ring {
  position: relative;
  display: flex;
  width: min(100%, 270px);
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  margin: 25px auto 0;
  border: 1px solid rgba(104, 69, 47, 0.2);
  border-radius: 50%;
}

.producer-ring::before,
.producer-ring::after {
  position: absolute;
  border: 1px solid rgba(104, 69, 47, 0.13);
  border-radius: 50%;
  content: "";
}

.producer-ring::before {
  inset: 24px;
}

.producer-ring::after {
  inset: 64px;
  background: rgba(104, 69, 47, 0.04);
}

.producer-ring span {
  position: absolute;
  z-index: 1;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--cream);
  border-radius: 50%;
  background: var(--coffee);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.producer-ring span:nth-child(1) {
  top: -7px;
  left: calc(50% - 18px);
}

.producer-ring span:nth-child(2) {
  top: 31%;
  right: 5%;
}

.producer-ring span:nth-child(3) {
  bottom: 4%;
  left: 20%;
}

.producer-ring span:nth-child(4) {
  bottom: 10%;
  left: 57%;
}

.producer-ring span:nth-child(5) {
  top: 52%;
  left: -1%;
}

.flavour-list {
  display: grid;
  gap: 0;
  margin-top: 24px;
}

.flavour-list > div {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.flavour-list dt {
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
}

.flavour-list dd {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.6;
}

.fact-photo {
  position: relative;
  grid-column: 1 / -1;
  height: 480px;
  margin-top: 0;
  overflow: hidden;
  border-radius: 28px;
  background: var(--ink);
}

.fact-photo::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 12, 8, 0.88), rgba(20, 12, 8, 0.17) 58%, rgba(20, 12, 8, 0.4)),
    linear-gradient(0deg, rgba(20, 12, 8, 0.56), transparent 55%);
  content: "";
}

.fact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 54%;
  transition: transform 900ms ease;
}

.fact-photo:hover img {
  transform: scale(1.025);
}

.fact-photo figcaption {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  width: 58%;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(30px, 6vw, 70px);
  color: var(--cream);
}

.fact-photo figcaption p {
  max-width: 620px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.fact-photo figcaption span {
  margin-top: 22px;
  color: rgba(243, 234, 220, 0.63);
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* Footer */
.site-footer {
  padding: 72px 0 32px;
  color: var(--cream);
  background:
    radial-gradient(circle at 78% 12%, rgba(201, 137, 85, 0.14), transparent 30rem),
    #1e130f;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 75px;
}

.brand--footer {
  padding-top: 7px;
}

.footer-quote {
  max-width: 780px;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5.4vw, 5.5rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-align: right;
}

.footer-bottom {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  padding-top: 25px;
  color: rgba(243, 234, 220, 0.48);
  border-top: 1px solid rgba(243, 234, 220, 0.14);
  font-size: 0.67rem;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 25px;
}

.footer-bottom a {
  transition: color 180ms ease;
}

.footer-bottom a:hover {
  color: var(--cream);
}

.footer-credits {
  text-align: right;
}

.to-top {
  position: fixed;
  z-index: 90;
  right: 24px;
  bottom: 24px;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(36, 23, 17, 0.9);
  box-shadow: 0 12px 35px rgba(25, 14, 8, 0.2);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: transform 200ms ease, background-color 200ms ease;
}

.to-top:hover {
  background: var(--coffee);
  transform: translateY(-4px);
}

.to-top svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

/* Reveal animations */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .overview-card:nth-child(2),
.js .variety-card:nth-child(2),
.js .brew-card:nth-child(2),
.js .process-step:nth-child(2) {
  transition-delay: 80ms;
}

.js .overview-card:nth-child(3),
.js .variety-card:nth-child(3),
.js .brew-card:nth-child(3),
.js .process-step:nth-child(3) {
  transition-delay: 150ms;
}

.js .brew-card:nth-child(5),
.js .process-step:nth-child(5) {
  transition-delay: 80ms;
}

.js .brew-card:nth-child(6),
.js .process-step:nth-child(6) {
  transition-delay: 150ms;
}

/* Responsive */
@media (max-width: 1120px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr) 285px;
    gap: 4rem;
  }

  .hero h1 {
    font-size: clamp(4rem, 9vw, 7.5rem);
  }

  .overview__heading {
    grid-template-columns: 0.35fr 1.2fr 0.65fr;
    gap: 2.5rem;
  }

  .history-layout {
    gap: 3.5rem;
  }

  .kopi-process__heading {
    grid-template-columns: 1fr 1.4fr;
  }

  .kopi-process__heading > p:last-child {
    grid-column: 2;
  }

  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-step:nth-child(3n) {
    border-right: 1px solid rgba(243, 234, 220, 0.13);
  }

  .process-step:nth-child(2n) {
    border-right: 0;
  }

  .process-step:nth-last-child(-n + 3) {
    border-bottom: 1px solid rgba(243, 234, 220, 0.13);
  }

  .process-step:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .brew-card {
    min-height: 545px;
  }
}

@media (max-width: 960px) {
  html {
    scroll-padding-top: 80px;
  }

  .header-shell {
    min-height: 72px;
  }

  .menu-toggle {
    display: flex;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 20px;
    left: 20px;
    padding: 10px 22px;
    visibility: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    background: rgba(31, 19, 14, 0.98);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.28);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
  }

  .primary-nav.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav ul {
    display: grid;
    gap: 0;
  }

  .primary-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .primary-nav li:last-child {
    border-bottom: 0;
  }

  .primary-nav a {
    padding-block: 17px;
    font-family: var(--font-display);
    font-size: 1.12rem;
  }

  .primary-nav a::after {
    bottom: 14px;
  }

  .hero {
    min-height: 800px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    align-content: end;
    gap: 42px;
    padding-top: 140px;
    padding-bottom: 125px;
  }

  .hero__copy {
    max-width: 760px;
  }

  .hero h1 {
    font-size: clamp(4.2rem, 11vw, 7rem);
  }

  .tasting-note {
    width: min(100%, 470px);
    justify-self: end;
  }

  .hero__scroll {
    left: 30px;
    transform: none;
  }

  .section-head,
  .kopi-head,
  .facts-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 25px;
  }

  .section-head__intro {
    max-width: 650px;
    padding-bottom: 0;
  }

  .overview__heading {
    grid-template-columns: 0.35fr 1fr;
  }

  .overview__heading > p:last-child {
    grid-column: 2;
    max-width: 550px;
  }

  .history-layout,
  .kopi-overview,
  .brewing-intro {
    grid-template-columns: 1fr;
  }

  .history-visual,
  .kopi-image,
  .brewing-intro__image {
    position: relative;
    top: auto;
    min-height: 540px;
  }

  .history-visual img,
  .kopi-image img,
  .brewing-intro__image img {
    min-height: 540px;
  }

  .history-visual {
    width: min(100%, 600px);
    justify-self: end;
  }

  .kopi-image,
  .brewing-intro__image {
    width: min(100%, 680px);
  }

  .brewing-intro {
    align-items: start;
  }

  .brewing-intro__copy {
    order: -1;
  }

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

  .brew-card--turkish {
    grid-column: auto;
  }

  .fact-card--caffeine,
  .fact-card--machines {
    grid-column: span 6;
  }

  .fact-card--traditions,
  .fact-card--producers,
  .fact-card--flavour {
    grid-column: span 4;
  }

  .footer-bottom {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .shell,
  .header-shell {
    width: min(100% - 30px, 1280px);
  }

  .site-header.is-scrolled {
    background: rgba(31, 19, 14, 0.97);
  }

  .brand-title {
    font-size: 1.06rem;
  }

  .brand-subtitle {
    font-size: 0.52rem;
  }

  .hero {
    min-height: 760px;
  }

  .hero__veil {
    background:
      linear-gradient(90deg, rgba(17, 10, 7, 0.9), rgba(17, 10, 7, 0.54)),
      linear-gradient(0deg, rgba(17, 10, 7, 0.9), transparent 68%);
  }

  .hero__inner {
    padding-top: 128px;
    padding-bottom: 104px;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 14vw, 6rem);
    line-height: 0.92;
  }

  .hero__lead {
    margin-top: 25px;
    font-size: 0.96rem;
  }

  .hero__actions {
    align-items: flex-start;
    gap: 23px;
  }

  .tasting-note {
    justify-self: start;
    padding: 22px;
  }

  .tasting-note__quote {
    font-size: 1.25rem;
  }

  .hero__scroll {
    bottom: 24px;
    left: 24px;
  }

  .hero__scroll span:first-child {
    font-size: 0;
  }

  .hero__scroll span:first-child::after {
    font-size: 0.6rem;
    content: "Листайте вниз";
  }

  .overview__heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .overview__heading .eyebrow {
    margin-top: 0;
  }

  .overview__heading > p:last-child {
    grid-column: 1;
  }

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

  .overview-card {
    min-height: 0;
    padding: 28px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .overview-card__icon {
    margin: 25px 0 21px;
  }

  .timeline {
    padding-left: 28px;
  }

  .timeline-item::before {
    left: -27px;
    width: 11px;
    height: 11px;
  }

  .history-visual,
  .history-visual img {
    min-height: 470px;
  }

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

  .variety-card--kopi {
    grid-column: auto;
  }

  .variety-card__title {
    align-items: center;
  }

  .variety-toggle__text {
    display: none;
  }

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

  .detail-grid > div:last-child {
    grid-column: auto;
  }

  .kopi-process__heading {
    grid-template-columns: 1fr;
  }

  .kopi-process__heading > p:last-child {
    grid-column: 1;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-step {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(243, 234, 220, 0.13);
  }

  .process-step:nth-child(3n) {
    border-right: 0;
  }

  .process-step:nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(243, 234, 220, 0.13);
  }

  .process-step:last-child {
    border-bottom: 0;
  }

  .process-step h4 {
    margin-top: 20px;
  }

  .kopi-quickfacts {
    grid-template-columns: 1fr;
  }

  .kopi-detail-grid,
  .ethics {
    grid-template-columns: 1fr;
  }

  .editorial-card {
    min-height: 0;
  }

  .ethics__icon {
    margin-bottom: 32px;
  }

  .ethics__copy {
    padding-top: 0;
  }

  .wild-vs-farm__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .wild-vs-farm__head h3 {
    text-align: left;
  }

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

  .brew-card {
    min-height: 0;
  }

  .brew-specs {
    margin-top: 28px;
  }

  .brew-tip {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 28px;
  }

  .fact-card--caffeine,
  .fact-card--machines,
  .fact-card--traditions,
  .fact-card--producers,
  .fact-card--flavour {
    grid-column: 1 / -1;
  }

  .fact-photo {
    height: 420px;
  }

  .fact-photo::after {
    background:
      linear-gradient(90deg, rgba(20, 12, 8, 0.85), rgba(20, 12, 8, 0.18)),
      linear-gradient(0deg, rgba(20, 12, 8, 0.82), transparent 78%);
  }

  .fact-photo figcaption {
    width: 100%;
  }

  .footer-top {
    display: grid;
    padding-bottom: 55px;
  }

  .footer-quote {
    text-align: left;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-bottom nav {
    grid-column: 1;
    grid-row: auto;
  }

  .footer-credits {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .shell,
  .header-shell {
    width: min(100% - 24px, 1280px);
  }

  .brand-mark {
    width: 35px;
    height: 35px;
  }

  .brand-mark svg {
    width: 27px;
    height: 27px;
  }

  .menu-toggle__label {
    display: none;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 16.5vw, 4.7rem);
    letter-spacing: -0.06em;
  }

  .hero__actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero__scroll {
    display: none;
  }

  .tasting-note__top {
    font-size: 0.55rem;
  }

  .section-head h2,
  .facts-head h2,
  .kopi-head h2,
  .brewing-intro__copy h2 {
    font-size: clamp(2.8rem, 13vw, 4.3rem);
  }

  .timeline {
    padding-left: 23px;
  }

  .timeline-item::before {
    left: -22px;
  }

  .history-visual,
  .kopi-image,
  .brewing-intro__image,
  .history-visual img,
  .kopi-image img,
  .brewing-intro__image img {
    min-height: 430px;
  }

  .history-visual__stamp {
    width: 88px;
    height: 88px;
  }

  .history-visual__stamp strong {
    font-size: 1.6rem;
  }

  .variety-card {
    padding: 23px;
    border-radius: 22px;
  }

  .variety-card__origin {
    max-width: 170px;
  }

  .variety-card__title {
    align-items: flex-start;
  }

  .variety-toggle__mark {
    width: 40px;
    height: 40px;
  }

  .caffeine-meter {
    grid-template-columns: auto 1fr;
  }

  .caffeine-meter strong {
    grid-column: 2;
  }

  .kopi-process,
  .ethics {
    padding: 24px;
    border-radius: 25px;
  }

  .kopi-image figcaption,
  .brewing-intro__image figcaption,
  .history-visual figcaption {
    right: 22px;
    bottom: 22px;
    left: 22px;
  }

  .editorial-card,
  .fact-card {
    padding: 25px;
    border-radius: 22px;
  }

  .fact-bars > div {
    grid-template-columns: 66px 1fr;
  }

  .fact-bars strong {
    grid-column: 2;
  }

  .mini-timeline > div {
    grid-template-columns: 58px 1fr;
    gap: 12px;
  }

  .fact-photo {
    height: 390px;
  }

  .fact-photo figcaption {
    padding: 26px;
  }

  .footer-quote {
    font-size: clamp(2.5rem, 12vw, 3.8rem);
  }

  .to-top {
    right: 14px;
    bottom: 14px;
    width: 46px;
    height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

