@font-face {
  font-family: Manrope;
  src: url("assets/fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: Cormorant;
  src: url("assets/fonts/cormorantgaramond.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
:root {
  --paper: #faf7f2;
  --surface: #f2ece1;
  --warm: #e8dfd1;
  --card-bg: #ffffff;
  --forest-deep: #163026;
  --forest: #214536;
  --forest-soft: #dce5dd;
  --gold: #c89d54;
  --gold-light: #e6d2ab;
  --red: #963c26;
  --red-soft: #f3e3dc;
  --ink: #1c241e;
  --text: #313832;
  --muted: #576058;
  --control: #6e786e;
  --line: #d5cbb8;
  --line-strong: #b8ab93;
  --sage: #cedbc9;
  --sea: #e6ede8;
  --sans: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --serif: Cormorant, Georgia, serif;
  --gutter: clamp(20px, 4.4vw, 72px);
  --shadow-sm: 0 2px 10px rgba(22, 48, 38, 0.05);
  --shadow-md: 0 12px 32px rgba(22, 48, 38, 0.09);
  --shadow-lg: 0 20px 48px rgba(22, 48, 38, 0.16);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 1.0625rem/1.72 var(--sans);
  -webkit-font-smoothing: antialiased;
}
button,
input,
summary {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.42;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}
a:hover {
  color: var(--red);
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
figure,
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-weight: 600;
  line-height: 1.08;
  color: var(--ink);
}
h1 {
  font: 600 clamp(44px, 5.2vw, 78px) / 1.02 var(--serif);
  letter-spacing: -0.025em;
}
h2 {
  font: 600 clamp(32px, 3.5vw, 52px) / 1.06 var(--serif);
  letter-spacing: -0.02em;
}
h3 {
  font: 600 1.75rem/1.14 var(--serif);
}
em {
  font-style: italic;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 500;
  top: 12px;
  left: 12px;
  padding: 12px 20px;
  background: var(--forest-deep);
  color: var(--paper);
  font-weight: 700;
  border-radius: 6px;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
.wrap {
  width: calc(100% - var(--gutter) * 2);
  max-width: 1340px;
  margin-inline: auto;
}
.eyebrow {
  font: 700 0.8125rem/1.5 var(--sans);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--red);
}
.text-link {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  min-height: 44px;
  border-bottom: 1.5px solid currentColor;
  font-size: 0.96875rem;
  font-weight: 700;
  color: var(--forest);
}
.text-link:hover {
  color: var(--red);
}
.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--forest-deep);
  border-radius: 6px;
  background: var(--forest-deep);
  color: var(--paper);
  font-size: 0.96875rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.button:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--paper);
}

/* Header & Top Archival Strip */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(250, 247, 242, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-topbar {
  background: var(--forest-deep);
  color: #e2e6df;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  padding-block: 7px;
}
.header-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.topbar-badge {
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.1em;
}
.topbar-meta {
  color: #c6d1ca;
  font-weight: 500;
}
.header-inner {
  width: calc(100% - var(--gutter) * 2);
  max-width: 1340px;
  margin: auto;
  min-height: 84px;
  display: flex;
  gap: clamp(16px, 2.4vw, 36px);
  align-items: center;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  color: var(--ink);
}
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-mark-img {
  display: block;
  width: auto;
  height: 38px;
  object-fit: contain;
  transition: transform 0.2s ease;
}
.brand:hover .brand-mark-img {
  transform: scale(1.04);
}
.brand-mark svg {
  display: block;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(22, 48, 38, 0.18);
}
.brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.brand-name {
  font: 800 1.65rem/0.95 var(--sans);
  letter-spacing: -0.045em;
  color: var(--forest-deep);
}
.brand-sub {
  margin-top: 4px;
  font-size: 0.6875rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--red);
}
.main-nav {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  align-items: center;
  margin-left: auto;
}
.main-nav a {
  font-size: 0.96875rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 2.5px solid transparent;
  font-weight: 600;
  white-space: nowrap;
  color: var(--ink);
}
.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--red);
  border-color: var(--gold);
}
.main-nav a[aria-current="page"] {
  border-color: var(--red);
  color: var(--forest-deep);
  font-weight: 700;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: 8px;
}
.header-note {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--muted);
  padding-left: 16px;
  border-left: 2px solid var(--line-strong);
}
.menu-toggle {
  display: none;
}

/* Navbar Single Origin Mega-Picker */
.nav-origin-picker {
  position: relative;
}
.picker-trigger {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--forest-deep);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.picker-trigger::-webkit-details-marker {
  display: none;
}
.picker-trigger:hover,
.nav-origin-picker[open] .picker-trigger {
  background: var(--forest-deep);
  border-color: var(--forest-deep);
  color: var(--paper);
}
.picker-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  border-radius: 99px;
  background: var(--red);
  color: var(--paper);
  font-size: 0.75rem;
  font-weight: 700;
}
.picker-caret {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}
.nav-origin-picker[open] .picker-caret {
  transform: rotate(180deg);
}
.picker-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(92vw, 880px);
  max-height: 78vh;
  overflow-y: auto;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-top: 4px solid var(--forest-deep);
  border-radius: 10px;
  padding: 22px 24px;
  box-shadow: var(--shadow-lg);
  z-index: 350;
}
.picker-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.picker-panel-head strong {
  display: block;
  font: 600 1.35rem/1.2 var(--serif);
  color: var(--ink);
  margin-top: 4px;
}
.picker-all-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--forest);
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.picker-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 22px;
}
.picker-group-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--forest-deep);
  padding-bottom: 6px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.picker-group-title small {
  font-weight: 600;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}
.picker-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.picker-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 5px;
  font-size: 0.875rem;
}
.picker-item:hover,
.picker-item.is-active {
  background: var(--surface);
  color: var(--red);
}
.picker-item-name {
  font-weight: 700;
  color: var(--ink);
}
.picker-item:hover .picker-item-name,
.picker-item.is-active .picker-item-name {
  color: var(--red);
}
.picker-item-meta {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: right;
}
.picker-item-meta em {
  font-style: normal;
  font-weight: 600;
  color: var(--forest);
}

/* Hero Section */
.hero {
  padding-top: 44px;
  padding-bottom: 52px;
}
.hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 32px;
}
.hero-copy .eyebrow {
  margin-bottom: 16px;
}
.hero-intro {
  font-size: 1.09375rem;
  line-height: 1.75;
  margin-bottom: 22px;
  color: var(--text);
}
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
}
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 36px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 5px solid var(--forest-deep);
  border-radius: 8px;
}
.hero-metrics > div {
  padding-right: 12px;
  border-right: 1px solid var(--line);
}
.hero-metrics > div:last-child {
  border-right: 0;
  padding-right: 0;
}
.hero-metrics strong {
  display: block;
  font: 700 1.25rem/1.2 var(--serif);
  color: var(--forest-deep);
  margin-bottom: 4px;
}
.hero-metrics span {
  display: block;
  font-size: 0.84375rem;
  line-height: 1.45;
  color: var(--muted);
}

/* Cover Spread */
.cover-spread {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.85fr);
  gap: 32px;
  align-items: stretch;
}
.cover-photo {
  background: var(--surface);
  padding: 14px 14px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.cover-photo img {
  width: 100%;
  aspect-ratio: 1.52;
  object-fit: cover;
  object-position: 55% 65%;
  border-radius: 6px;
}
figcaption,
.photo-credit {
  font-size: 0.84375rem;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 12px;
}
figcaption a,
.photo-credit a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cover-sidebar {
  background: var(--forest-deep);
  color: #eef0ec;
  padding: 30px 28px;
  border-radius: 10px;
  border-top: 5px solid var(--gold);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
}
.cover-sidebar .eyebrow {
  color: var(--gold-light);
}
.cover-sidebar h2 {
  color: #ffffff;
  font-size: 2.25rem;
  margin: 10px 0 14px;
}
.cover-sidebar > p:not(.eyebrow) {
  font-size: 1rem;
  line-height: 1.7;
  color: #d7e0d9;
}
.cover-sidebar > .text-link {
  color: var(--gold-light);
  font-size: 0.9375rem;
  margin-top: 16px;
  align-self: flex-start;
}
.cover-sidebar > .text-link:hover {
  color: #ffffff;
}
.sidebar-next {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(219, 192, 138, 0.26);
}
.sidebar-next > .eyebrow {
  margin-bottom: 10px;
}
.garden-link {
  display: block;
  color: #ffffff;
}
.garden-link img {
  aspect-ratio: 2.1;
  width: 100%;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.garden-link > span {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 700;
  padding-top: 10px;
  color: var(--gold-light);
}
.cover-sidebar .photo-credit {
  color: #b7c4ba;
}
.cover-sidebar .photo-credit a {
  color: #dce6de;
}

/* Home Routes (3 Pathways) */
.home-routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 6px;
  margin-bottom: 44px;
}
.home-routes a {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 196px;
  padding: 24px 26px;
  background: var(--card-bg);
  color: var(--ink);
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.home-routes a:nth-child(2) {
  border-top-color: var(--forest);
  background: var(--surface);
}
.home-routes a:nth-child(3) {
  border-top-color: var(--gold);
  background: #f5efe4;
}
.home-routes a > span:first-child {
  color: var(--red);
  font: 700 0.8125rem/1.4 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.home-routes strong {
  max-width: 22ch;
  margin-block: 14px 20px;
  font: 600 clamp(1.5rem, 2vw, 2.05rem) / 1.12 var(--serif);
}
.home-routes a > span:last-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font: 700 0.9375rem/1.4 var(--sans);
  color: var(--forest);
}
.home-routes a:hover,
.home-routes a:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

/* Dynamic Atlas Section & Map */
.atlas-section {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 44px;
  padding: 44px 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 56px;
  align-items: start;
}
.atlas-intro h2 {
  font-size: 2.65rem;
  margin: 12px 0 18px;
}
.atlas-intro > p:not(.eyebrow) {
  font-size: 1rem;
  line-height: 1.72;
  color: var(--text);
}
.atlas-quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 24px;
}
.atlas-quick-tags a {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 99px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--forest-deep);
}
.atlas-quick-tags a:hover {
  background: var(--forest-deep);
  border-color: var(--forest-deep);
  color: var(--paper);
}
.atlas {
  min-width: 0;
}
.map-scroll {
  overflow: auto;
  overscroll-behavior: contain;
  background: linear-gradient(180deg, #e7efe9 0%, #dde8e1 100%);
  border: 1px solid #b8c6bc;
  border-radius: 10px;
  box-shadow: inset 0 2px 10px rgba(22, 48, 38, 0.06);
}
.map-stage {
  width: 100%;
}
.origin-map {
  display: block;
  width: 100%;
  height: auto;
}
.map-grid {
  fill: none;
  stroke: #b5c4b9;
  stroke-width: 0.65;
  stroke-dasharray: 4 6;
}
.map-land {
  fill: #c3d4c0;
  stroke: #5b7561;
  stroke-width: 0.85;
}
.island-labels {
  font: 700 0.6875rem var(--sans);
  letter-spacing: 2px;
  fill: #3d5243;
}
.pin-pulse {
  fill: rgba(150, 60, 38, 0.18);
  opacity: 0;
  transform-origin: center;
  transform-box: fill-box;
}
.map-pin:hover .pin-pulse,
.map-pin:focus .pin-pulse,
.map-pin.is-selected .pin-pulse,
.map-pin.is-active-preview .pin-pulse {
  opacity: 1;
}
.pin-hit {
  fill: transparent;
}
.pin-dot {
  fill: var(--red);
  stroke: #ffffff;
  stroke-width: 1.75;
  transition: r 0.15s ease, fill 0.15s ease;
}
.map-pin.species-robusta .pin-dot {
  fill: #8c5a2b;
}
.map-pin.species-liberika .pin-dot {
  fill: #6e6526;
}
.map-pin.species-arabika-robusta .pin-dot {
  fill: var(--forest-deep);
}
.pin-label {
  fill: var(--ink);
  font: 700 0.8125rem var(--sans);
  paint-order: stroke;
  stroke: rgba(250, 247, 242, 0.95);
  stroke-width: 4px;
  stroke-linejoin: round;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.map-pin.has-visible-label .pin-label,
.map-pin:hover .pin-label,
.map-pin:focus .pin-label,
.map-pin.is-selected .pin-label,
.map-pin.is-active-preview .pin-label {
  opacity: 1;
}
.map-pin:hover .pin-dot,
.map-pin:focus .pin-dot,
.map-pin.is-selected .pin-dot,
.map-pin.is-active-preview .pin-dot {
  r: 7.5;
  fill: var(--forest-deep);
  stroke: var(--gold-light);
  stroke-width: 2.2;
}
.map-pin:focus {
  outline: none;
}
.map-pin:focus .pin-hit {
  stroke: var(--red);
  stroke-width: 2;
}
.map-pin.is-dimmed {
  opacity: 0.22;
}
.map-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 20px;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 12px;
}
.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  font-weight: 600;
  color: var(--ink);
}
.legend-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  margin-right: 5px;
  border: 1px solid #ffffff;
}
.legend-dot.is-robusta {
  background: #8c5a2b;
}
.legend-dot.is-liberika {
  background: #6e6526;
}
.legend-dot.is-mixed {
  background: var(--forest-deep);
}

/* Live Interactive Map Inspector Card */
.map-inspector {
  margin-top: 16px;
  padding: 20px 24px;
  background: var(--forest-deep);
  color: #f2f4f0;
  border-radius: 10px;
  border-left: 5px solid var(--gold);
  box-shadow: var(--shadow-md);
}
.inspector-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.inspector-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.inspector-species {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 99px;
  background: rgba(219, 192, 138, 0.18);
  border: 1px solid rgba(219, 192, 138, 0.4);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 700;
}
.inspector-body {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(0, 1.4fr) auto;
  gap: 20px;
  align-items: center;
}
.inspector-name {
  display: block;
  font: 600 1.85rem/1.05 var(--serif);
  color: #ffffff;
}
.inspector-loc {
  display: block;
  font-size: 0.8125rem;
  color: #c2cfc6;
  margin-top: 4px;
}
.inspector-summary {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #e4ebe6;
}
.inspector-cta {
  background: var(--gold);
  border-color: var(--gold);
  color: #16261e;
  white-space: nowrap;
  padding: 10px 18px;
  min-height: 44px;
}
.inspector-cta:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--forest-deep);
}

/* History Section with Era Media */
.history-section {
  padding-block: 44px 64px;
}
.history-intro {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  align-items: end;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--line);
}
.history-intro h2 {
  margin-top: 12px;
}
.history-intro > p {
  max-width: 480px;
  font-size: 1.0625rem;
  line-height: 1.72;
}
.history-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.history-item {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.history-figure {
  position: relative;
  background: var(--warm);
  border-bottom: 1px solid var(--line);
}
.history-figure img {
  width: 100%;
  height: 185px;
  object-fit: cover;
}
.history-figure figcaption {
  padding: 6px 14px;
  font-size: 0.75rem;
  color: var(--muted);
  background: var(--surface);
  margin: 0;
}
.history-content {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.history-year {
  font: 700 2rem/1.05 var(--serif);
  color: var(--red);
  margin-bottom: 8px;
}
.history-item h3 {
  font: 700 1.25rem/1.35 var(--sans);
  margin-bottom: 10px;
  color: var(--ink);
}
.history-content > p:not(.history-year) {
  font-size: 0.96875rem;
  line-height: 1.68;
  color: var(--text);
  margin-bottom: 16px;
}
.source-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.fine-print {
  margin-top: 24px;
  font-size: 0.875rem;
  color: var(--muted);
  max-width: 820px;
}

/* Manifesto Panel */
.manifesto {
  display: grid;
  grid-template-columns: 220px minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  padding: 44px 40px;
  background: var(--forest-deep);
  color: #f0f3ef;
  border-radius: 12px;
  border-top: 6px solid var(--gold);
  margin-bottom: 48px;
  align-items: start;
  box-shadow: var(--shadow-md);
}
.manifesto-badge .eyebrow {
  color: var(--gold-light);
}
.manifesto-badge span {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: #b8c7bd;
}
.manifesto h2 {
  color: #ffffff;
  font-size: clamp(2.25rem, 3.4vw, 3.25rem);
}
.manifesto-copy p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #dce5de;
  margin-bottom: 16px;
}
.manifesto-copy .button {
  margin-top: 8px;
  background: var(--gold);
  border-color: var(--gold);
  color: #16261e;
}
.manifesto-copy .button:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--forest-deep);
}

/* Coffee Guide */
.coffee-guide {
  padding-block: 48px 68px;
  border-top: 1px solid var(--line);
}
.coffee-guide-heading {
  max-width: 760px;
  margin-bottom: 32px;
}
.coffee-guide-heading h2 {
  font: 600 clamp(2.25rem, 3.8vw, 3.75rem) / 1.06 var(--serif);
  color: var(--ink);
  margin-block: 10px 14px;
}
.coffee-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.coffee-guide-grid .species-overview {
  grid-column: 1 / -1;
}
.coffee-guide-grid article {
  border: 1px solid var(--line);
  border-top: 4px solid var(--forest);
  border-radius: 10px;
  background: var(--surface);
  padding: 28px;
}
.coffee-guide-grid article > span {
  color: var(--red);
  font: 700 0.75rem/1.4 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.coffee-guide-grid h3,
.coffee-guide-practice h3 {
  color: var(--ink);
  font: 600 1.85rem/1.12 var(--serif);
  margin-block: 10px 12px;
}
.coffee-guide-grid p,
.coffee-guide-practice p:not(.eyebrow) {
  font-size: 1rem;
  line-height: 1.72;
}
.species-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.species-trio > div {
  min-width: 0;
  padding: 22px 22px 24px;
  border-radius: 8px;
  border: 1px solid var(--line);
  border-top: 4px solid #78533e;
  background: #f5ebe0;
}
.species-trio > div:nth-child(2) {
  border-top-color: #2d5942;
  background: #e6efe8;
}
.species-trio > div:nth-child(3) {
  border-top-color: #826b32;
  background: #f2ecda;
}
.species-trio > div::before {
  display: block;
  margin-bottom: 14px;
  color: #51483c;
  font: 700 0.8125rem/1 var(--sans);
  letter-spacing: 0.08em;
}
.species-trio > div:first-child::before {
  content: "01 / SPESIES ARABIKA";
}
.species-trio > div:nth-child(2)::before {
  content: "02 / SPESIES ROBUSTA";
}
.species-trio > div:nth-child(3)::before {
  content: "03 / SPESIES LIBERIKA";
}
.species-trio h4 {
  color: var(--ink);
  font: 600 1.85rem/1.15 var(--serif);
  margin-bottom: 10px;
}
.species-trio p {
  margin-bottom: 14px;
  font-size: 0.96875rem;
  line-height: 1.65;
}
.species-trio a,
.species-context a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.species-trio a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  color: var(--forest-deep);
}
.coffee-guide-grid .species-context {
  border-top: 1px solid var(--line);
  color: var(--muted);
  margin-top: 22px;
  padding-top: 16px;
}
.coffee-guide-grid article > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--forest-deep);
  margin-top: 14px;
}
.coffee-guide-practice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  padding: 32px 0;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}
.coffee-guide-practice a:not(.text-link) {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

/* Photo Essay */
.photo-essay {
  padding-block: 44px 76px;
  border-top: 1px solid var(--line);
}
.photo-essay-intro {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) minmax(280px, 0.85fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 32px;
}
.photo-essay-intro h2 {
  font: 600 clamp(2.2rem, 3.4vw, 3.4rem) / 1.08 var(--serif);
}
.photo-essay-intro > p:last-child {
  color: var(--muted);
}
.photo-essay-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: 24px 32px;
}
.photo-essay-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 14px 18px;
  box-shadow: var(--shadow-sm);
}
.photo-essay-card:first-child {
  grid-row: span 2;
}
.essay-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}
.essay-region-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(22, 48, 38, 0.88);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.photo-essay-card:first-child img {
  width: 100%;
  height: clamp(420px, 42vw, 620px);
  object-fit: cover;
}
.photo-essay-card:not(:first-child) img {
  width: 100%;
  height: clamp(190px, 18vw, 250px);
  object-fit: cover;
}
.photo-essay-card strong {
  display: flex;
  justify-content: space-between;
  font: 600 1.6rem/1.2 var(--serif);
  padding-block: 14px 8px;
  color: var(--ink);
}
.photo-essay-card a:hover strong,
.photo-essay-card a:focus-visible strong {
  color: var(--red);
}
.photo-essay-card > p {
  color: var(--muted);
  font-size: 0.84375rem;
  line-height: 1.6;
}
.photo-essay-card > p a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Page Intro & Catalog */
.page-intro {
  padding-block: 44px 38px;
}
.page-intro h1 {
  margin-top: 14px;
  max-width: 1080px;
}
.page-intro > p:last-child {
  margin-top: 20px;
  max-width: 640px;
  font-size: 1.125rem;
  line-height: 1.72;
}
.catalog-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
  padding-bottom: 40px;
}
.catalog-intro > div {
  min-width: 0;
}
.catalog-intro h1 {
  max-width: 12ch;
}
.catalog-intro > div > p:not(.eyebrow) {
  margin-block: 18px 24px;
  font-size: 1.09375rem;
  line-height: 1.72;
}
.catalog-intro figure {
  min-width: 0;
  background: var(--surface);
  padding: 12px 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.catalog-intro img {
  width: 100%;
  height: clamp(280px, 29vw, 400px);
  object-fit: cover;
  border-radius: 6px;
}
.catalog-section {
  padding-bottom: 68px;
}
.catalog-tools {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: 28px;
  padding: 22px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--forest-deep);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.search-field > span {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--forest-deep);
  margin-bottom: 8px;
}
.search-field > div {
  display: flex;
  align-items: center;
  background: var(--card-bg);
  border: 1px solid var(--control);
  border-radius: 6px;
  padding: 2px 12px;
}
.search-field > div > span {
  padding-right: 10px;
  font-size: 1.35rem;
  color: var(--forest);
}
.search-field input {
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  height: 44px;
  font-size: 0.96875rem;
  color: var(--ink);
}
.search-field input::placeholder {
  color: var(--muted);
}
.region-filters {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-end;
  gap: 8px 10px;
}
.region-filters button {
  background: var(--card-bg);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  padding: 8px 14px;
  border-radius: 99px;
  min-height: 42px;
  font-size: 0.90625rem;
  font-weight: 600;
  transition: all 0.15s ease;
}
.region-filters button:hover {
  border-color: var(--forest-deep);
}
.region-filters button[aria-pressed="true"] {
  border-color: var(--forest-deep);
  background: var(--forest-deep);
  color: var(--paper);
  font-weight: 700;
}
.region-filters button span {
  margin-left: 5px;
  font-size: 0.8125rem;
  opacity: 0.85;
}
.interactive-atlas {
  margin-block: 28px 44px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.interactive-atlas .map-scroll {
  max-height: 540px;
}
.interactive-atlas .map-stage {
  width: 100%;
}
.map-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  gap: 16px;
}
.map-toolbar-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--forest-deep);
}
.map-live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(150, 60, 38, 0.2);
}
.map-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}
.map-controls button {
  height: 42px;
  min-width: 42px;
  padding: 6px 12px;
  border: 1px solid var(--control);
  border-radius: 6px;
  background: var(--card-bg);
  color: var(--ink);
  font-weight: 700;
}
.map-controls button:hover:not(:disabled) {
  background: var(--forest-deep);
  border-color: var(--forest-deep);
  color: var(--paper);
}
.zoom-label {
  font-size: 0.875rem;
  font-weight: 700;
  min-width: 48px;
  text-align: center;
}
.map-instruction {
  font-size: 0.84375rem;
  color: var(--muted);
  margin-top: 12px;
}

/* Catalog Grid (2-Column Editorial Dossier Cards) */
.results-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding: 18px 0;
  margin-bottom: 22px;
  border-bottom: 2px solid var(--line);
}
.results-heading h2 {
  font-size: 2.25rem;
  margin-top: 4px;
}
.results-heading > p {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--forest-deep);
  background: var(--surface);
  padding: 6px 14px;
  border-radius: 99px;
  border: 1px solid var(--line);
}
.origin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.origin-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 22px;
  padding: 22px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  color: var(--ink);
  text-decoration: none;
}
.origin-card:hover,
.origin-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--forest);
  color: var(--ink);
}
.card-thumb {
  position: relative;
  flex-shrink: 0;
  width: 130px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.card-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}
.origin-card:hover .card-thumb-img,
.origin-card:focus-visible .card-thumb-img {
  transform: scale(1.06);
}
.card-species-tag {
  position: absolute;
  bottom: 6px;
  left: 6px;
  right: 6px;
  font: 700 0.625rem/1.2 var(--sans);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 4px;
  border-radius: 4px;
  text-align: center;
  background: rgba(22, 48, 38, 0.88);
  color: #f4f1e9;
  backdrop-filter: blur(4px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-species-tag.species-robusta {
  background: rgba(77, 47, 34, 0.9);
}
.card-species-tag.species-liberika {
  background: rgba(92, 79, 38, 0.9);
}
.card-species-tag.species-arabika---robusta {
  background: rgba(139, 43, 31, 0.9);
}
.card-thumb.is-stamp {
  border: none;
  box-shadow: none;
}
.card-thumb.is-stamp .card-stamp {
  width: 100%;
  height: 100%;
  min-height: 126px;
}
.card-stamp {
  grid-column: 1;
  grid-row: 1 / 5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  min-height: 126px;
  padding: 12px;
  border-radius: 8px;
  background: #e3ece5;
  color: #1e3b2d;
  border-top: 3px solid var(--forest);
}
.origin-card[data-species="Robusta"] .card-stamp {
  background: #efe0d1;
  color: #4d2f22;
  border-top-color: #8c5a2b;
}
.origin-card[data-species="Liberika"] .card-stamp {
  background: #ede8d0;
  color: #423f22;
  border-top-color: #7a693e;
}
.origin-card[data-species="Arabika & Robusta"] .card-stamp {
  background: #eae1d8;
  color: #3f2f28;
  border-top-color: var(--red);
}
.card-stamp small {
  font: 700 0.6875rem/1.3 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}
.card-stamp strong {
  font: 800 0.9375rem/1.2 var(--sans);
  overflow-wrap: anywhere;
}
.card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
}
.card-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 2px;
}
.card-number {
  font-variant-numeric: tabular-nums;
  color: var(--red);
  font-weight: 800;
}
.origin-card h2,
.origin-card h3 {
  font: 600 1.85rem/1.08 var(--serif);
  color: var(--ink);
  margin: 0 0 4px;
}
.card-location {
  font-size: 0.84375rem;
  font-weight: 600;
  color: var(--forest);
  margin: 0 0 6px;
}
.card-description {
  font-size: 0.96875rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 12px;
}
.card-link {
  margin-top: auto;
  font-size: 0.90625rem;
  font-weight: 700;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.15s ease;
}
.origin-card:hover .card-link,
.origin-card:focus-visible .card-link {
  gap: 7px;
}
.reading-note {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  border-radius: 10px;
  margin-top: 48px;
  padding: 28px 32px;
}
.note-index {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--red);
}
.reading-note h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
.reading-note p {
  font-size: 1.03125rem;
  line-height: 1.72;
}
.empty-state {
  padding: 48px 32px;
  text-align: center;
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  margin-top: 20px;
}
.empty-state h2 {
  margin: 12px 0;
}
.empty-state p {
  margin-bottom: 22px;
}
.empty-number {
  font-size: 2.25rem;
  color: var(--red);
}

/* Origin Detail Pages */
.breadcrumbs {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-top: 24px;
  color: var(--muted);
  font-size: 0.875rem;
  flex-wrap: wrap;
}
.breadcrumbs a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: var(--forest);
}
.breadcrumb-index {
  margin-left: auto;
  padding: 4px 12px;
  border-radius: 99px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.78125rem;
  font-weight: 700;
  color: var(--forest-deep);
}
.origin-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 56px;
  padding: 24px 0 44px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.origin-intro h1 {
  margin: 12px 0 18px;
  font-size: clamp(48px, 6.2vw, 86px);
  overflow-wrap: anywhere;
}
.origin-summary {
  max-width: 580px;
  font-size: 1.1875rem;
  line-height: 1.68;
  color: var(--text);
}
.origin-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.origin-facts > div {
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.origin-facts span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.origin-facts strong {
  font-weight: 700;
  font-size: 0.96875rem;
  color: var(--ink);
}
.location-card {
  min-width: 0;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--forest-deep);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.location-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--forest-deep);
}
.location-card-top > span:last-child {
  color: var(--red);
}
.location-card .map-caption {
  display: block;
  font-size: 0.8125rem;
}
.location-card .map-caption > .map-legend {
  display: none;
}
.location-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.location-card-bottom p {
  font-size: 0.90625rem;
}

/* Origin Feature Interlude & Archival Topographic Plate */
.origin-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  margin-block: 36px 24px;
  min-width: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.origin-feature-photo,
.origin-feature-type {
  min-width: 0;
}
.origin-feature-photo {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  background: #ded9ce;
}
.origin-feature-photo img {
  display: block;
  width: 100%;
  height: clamp(360px, 38vw, 520px);
  object-fit: cover;
}
.origin-feature-photo.is-portrait img {
  height: clamp(400px, 46vw, 600px);
  object-fit: contain;
}
.origin-feature-photo figcaption {
  padding: 12px 18px 14px;
  background: var(--surface);
  font-size: 0.84375rem;
  line-height: 1.55;
  color: var(--muted);
  margin-top: auto;
}
.origin-feature-type {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 440px;
  padding: clamp(28px, 4vw, 48px);
  background: radial-gradient(circle at 85% 20%, rgba(200, 157, 84, 0.22), transparent 55%),
    linear-gradient(145deg, #163026 0%, #214536 100%);
  color: #f4f1ea;
  border-top: 6px solid var(--gold);
  overflow: hidden;
  position: relative;
}
.plate-top,
.plate-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font: 700 0.78125rem/1.4 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.plate-coord {
  font-family: monospace;
  font-size: 0.8125rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
}
.plate-center {
  margin-block: auto;
  padding-block: 24px;
}
.plate-kicker {
  display: block;
  font: 700 0.8125rem/1.4 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b7c8bc;
  margin-bottom: 10px;
}
.origin-feature-type strong {
  display: block;
  max-width: 100%;
  font: 600 clamp(3.4rem, 6.2vw, 6.2rem) / 0.9 var(--serif);
  letter-spacing: -0.03em;
  color: #ffffff;
  overflow-wrap: anywhere;
}
.plate-region {
  margin-top: 14px;
  font-size: 1.0625rem;
  color: #dce5de;
}
.plate-badge {
  padding: 5px 12px;
  border-radius: 99px;
  background: var(--gold);
  color: #16261e;
  font-weight: 800;
}
.plate-note {
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  text-transform: none;
  color: #b7c8bc;
}
.origin-feature-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4.2vw, 56px);
  background: var(--surface);
  border-top: 6px solid var(--red);
}
.origin-feature-copy .eyebrow {
  margin-bottom: 14px;
}
.origin-feature-copy h2 {
  max-width: 18ch;
  margin-bottom: 16px;
  font: 600 clamp(2.2rem, 3.2vw, 3.4rem) / 1.05 var(--serif);
}
.origin-feature-copy > p:not(.eyebrow) {
  max-width: 38ch;
  color: var(--ink);
  font-size: clamp(1.15rem, 1.45vw, 1.42rem);
  line-height: 1.58;
}
.feature-caveat {
  display: block;
  max-width: 46ch;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.90625rem;
  line-height: 1.6;
}
.origin-chapters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: auto;
  padding-top: 32px;
  border-top: 1px solid var(--line-strong);
}
.origin-chapters a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 54px;
  padding: 10px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font: 700 0.90625rem/1.35 var(--sans);
}
.origin-chapters a span {
  color: var(--red);
  font-size: 0.75rem;
  margin-bottom: 2px;
}
.origin-chapters a:hover,
.origin-chapters a:focus-visible {
  background: var(--forest-deep);
  border-color: var(--forest-deep);
  color: var(--paper);
}
.origin-chapters a:hover span,
.origin-chapters a:focus-visible span {
  color: var(--gold-light);
}

/* Origin Reading Content */
.origin-reading {
  display: grid;
  grid-template-columns: 250px minmax(0, 780px);
  gap: 56px;
  padding-block: 44px;
}
.reading-label {
  padding-top: 6px;
}
.reading-context {
  font-size: 0.90625rem;
  color: var(--muted);
  margin-top: 10px;
}
.reading-side-meta {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
}
.reading-side-meta span {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.reading-side-meta strong {
  font-size: 0.9375rem;
  color: var(--forest-deep);
}
.section-header-bar {
  margin-bottom: 20px;
}
.origin-reading h2 {
  font-size: 2.65rem;
  margin-top: 6px;
}
.coffee-story,
.place-story,
.sources {
  scroll-margin-top: 100px;
}
.coffee-story p:not(.eyebrow),
.place-story p:not(.eyebrow) {
  font: 1.15rem/1.82 Georgia, serif;
  color: var(--text);
  margin-bottom: 22px;
}
.coffee-opening {
  max-width: 66ch;
}
.coffee-story p.coffee-guide-shortcut {
  font: 600 0.9375rem/1.6 var(--sans);
  margin: -6px 0 24px;
  color: var(--forest);
}
.coffee-guide-shortcut a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.coffee-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.coffee-fact {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-top: 4px solid var(--forest);
  border-radius: 8px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.coffee-fact:nth-child(2) {
  border-top-color: var(--red);
}
.coffee-fact:nth-child(3) {
  border-top-color: var(--gold);
}
.fact-index {
  display: inline-block;
  font: 800 0.75rem/1 var(--sans);
  color: var(--muted);
  margin-bottom: 8px;
}
.coffee-fact h3 {
  color: var(--red);
  font: 700 0.875rem/1.4 var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.coffee-story .coffee-fact p {
  font: 0.96875rem/1.65 var(--sans);
  margin: 0;
  color: var(--text);
}
.coffee-comparison {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  border-radius: 10px;
  padding: 26px 28px;
  margin-top: 28px;
}
.comparison-badge {
  display: inline-block;
  font: 700 0.72rem/1.4 var(--sans);
  letter-spacing: 0.09em;
  padding: 3px 9px;
  border-radius: 4px;
  background: var(--red-soft);
  color: var(--red);
  margin-bottom: 10px;
}
.coffee-comparison h3 {
  color: var(--ink);
  font: 600 2rem/1.1 var(--serif);
  margin: 6px 0 12px;
}
.coffee-story .coffee-comparison p:not(.eyebrow) {
  font: 1rem/1.7 var(--sans);
  margin-bottom: 16px;
}
.coffee-story p.coffee-evidence-note {
  font: 0.875rem/1.68 var(--sans);
  color: var(--muted);
  margin: 18px 0 0;
}
.place-story {
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.article-photo {
  margin-block: 28px;
  background: var(--surface);
  padding: 12px 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.article-photo img {
  width: 100%;
  max-height: 580px;
  object-fit: cover;
  border-radius: 6px;
}
.verification-note {
  margin-top: 28px;
  padding: 22px 26px;
  background: var(--warm);
  border-left: 4px solid var(--forest-deep);
  border-radius: 8px;
}
.verification-note h3 {
  font: 700 1rem/1.45 var(--sans);
  margin-bottom: 8px;
}
.verification-note p {
  font-size: 0.9375rem;
  line-height: 1.72;
  color: var(--text);
}
.sources {
  margin-top: 28px;
  padding: 22px 26px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.sources summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.0625rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--forest-deep);
}
.sources summary span {
  font-size: 0.84375rem;
  padding: 4px 12px;
  border-radius: 99px;
  background: var(--surface);
  color: var(--red);
}
.source-list {
  margin: 16px 0 0;
  padding-left: 22px;
  font-size: 0.9375rem;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.source-list li {
  padding-left: 8px;
  margin-bottom: 16px;
}
.source-list a {
  font-weight: 700;
  color: var(--forest-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.source-list p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 4px;
}
.origin-pagination {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-block: 28px 56px;
}
.origin-pagination a {
  padding: 22px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.origin-pagination a:hover {
  transform: translateY(-2px);
  border-color: var(--forest-deep);
}
.origin-pagination a:last-child {
  text-align: right;
}
.origin-pagination span {
  display: block;
  font-size: 0.84375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--red);
  margin-bottom: 8px;
}
.origin-pagination strong {
  display: block;
  font: 600 clamp(24px, 2.8vw, 38px) / 1.1 var(--serif);
  color: var(--ink);
}
.origin-pagination small {
  display: block;
  margin-top: 4px;
  font-size: 0.84375rem;
  color: var(--muted);
}

/* About Page & Roadmap */
.about-story {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 32px;
  padding-block: 12px 56px;
  align-items: stretch;
}
.about-story figure {
  min-width: 0;
  background: var(--surface);
  padding: 14px 14px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.about-story figure img {
  width: 100%;
  height: clamp(380px, 38vw, 520px);
  object-fit: cover;
  border-radius: 6px;
}
.about-story > div {
  min-width: 0;
  padding: clamp(28px, 3.8vw, 48px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 6px solid var(--forest-deep);
  border-radius: 10px;
}
.about-story > div h2 {
  margin: 14px 0 20px;
}
.about-story > div > p:not(.eyebrow) {
  font-size: 1.0625rem;
  margin-bottom: 16px;
  line-height: 1.75;
}
.principles {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  padding-block: 48px 56px;
  border-top: 1px solid var(--line);
}
.principles h2 {
  margin-top: 14px;
}
.principles-sub {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.03125rem;
}
.principle-list {
  display: grid;
  gap: 16px;
}
.principle-list article {
  display: flex;
  gap: 22px;
  padding: 24px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-left: 4px solid var(--forest);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.principle-list article:nth-child(2) {
  border-left-color: var(--red);
}
.principle-list article:nth-child(3) {
  border-left-color: var(--gold);
}
.principle-list article > span {
  min-width: 48px;
  font: 700 2rem/1 var(--serif);
  color: var(--red);
}
.principle-list h3 {
  margin-bottom: 8px;
}
.principle-list p {
  font-size: 1rem;
  line-height: 1.7;
}
.roadmap-section {
  padding-block: 48px 56px;
  border-top: 1px solid var(--line);
}
.roadmap-header {
  max-width: 780px;
  margin-bottom: 32px;
}
.roadmap-header h2 {
  margin-block: 10px 14px;
}
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.roadmap-card {
  padding: 26px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-top: 5px solid var(--control);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.roadmap-card.is-current {
  background: var(--surface);
  border-color: var(--forest);
  border-top: 5px solid var(--forest-deep);
}
.roadmap-status {
  display: inline-block;
  font: 800 0.75rem/1.4 var(--sans);
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 99px;
  background: var(--warm);
  color: var(--ink);
  margin-bottom: 14px;
}
.roadmap-card.is-current .roadmap-status {
  background: var(--forest-deep);
  color: var(--gold-light);
}
.roadmap-card h3 {
  margin-bottom: 12px;
  font-size: 1.55rem;
}
.roadmap-card p {
  font-size: 0.96875rem;
  line-height: 1.68;
}
.current-scope {
  margin-bottom: 64px;
  padding: 36px clamp(24px, 4vw, 48px);
  background: var(--forest-deep);
  color: #eef2ee;
  border-top: 6px solid var(--gold);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}
.scope-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 36px;
  align-items: center;
}
.current-scope .eyebrow {
  color: var(--gold-light);
}
.current-scope h2 {
  color: #ffffff;
  margin-block: 12px 16px;
}
.current-scope p:not(.eyebrow) {
  font-size: 1.03125rem;
  line-height: 1.72;
  color: #d8e2da;
}
.scope-secretariat {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(219, 192, 138, 0.25);
  font-size: 0.9375rem !important;
}
.scope-cta-box {
  padding: 24px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(219, 192, 138, 0.3);
  border-radius: 10px;
}
.scope-cta-box p {
  margin-bottom: 18px;
}
.current-scope .button {
  background: var(--gold);
  border-color: var(--gold);
  color: #16261e;
}
.current-scope .button:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--forest-deep);
}

/* News Page */
.news-empty {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 28px;
  align-items: stretch;
  padding-block: 16px 48px;
}
.news-empty figure {
  min-width: 0;
  background: var(--surface);
  padding: 14px 14px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.news-empty figure img {
  width: 100%;
  height: clamp(340px, 34vw, 480px);
  object-fit: cover;
  border-radius: 6px;
}
.news-empty-copy {
  min-width: 0;
  padding: clamp(28px, 4vw, 52px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 6px solid var(--forest-deep);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.news-empty h2 {
  margin-block: 14px 18px;
}
.news-empty p:not(.eyebrow) {
  font-size: 1.0625rem;
  line-height: 1.75;
}
.news-empty .button {
  margin-top: 24px;
  align-self: flex-start;
}
.news-reading {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 48px;
  padding-block: 40px 80px;
  border-top: 1px solid var(--line);
}
.news-reading h2 {
  margin-top: 12px;
}
.news-reading-desc {
  margin-top: 14px;
  color: var(--muted);
}
.news-reading > div:last-child {
  display: grid;
  gap: 14px;
}
.news-reading a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  gap: 6px 16px;
  align-items: center;
  padding: 20px 24px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
.news-reading a > span:first-child {
  grid-column: 1 / -1;
  color: var(--red);
  font-size: 0.78125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.news-reading a strong {
  color: var(--ink);
  font: 600 1.65rem/1.15 var(--serif);
}
.news-reading a:hover strong,
.news-reading a:focus-visible strong {
  color: var(--red);
}
.news-reading a > span:last-child {
  color: var(--forest-deep);
  font-size: 1.35rem;
  justify-self: end;
}

/* Rich Dark Canopy Editorial Footer */
.site-footer {
  padding: 56px 0 28px;
  background: var(--forest-deep);
  color: #dce4de;
  border-top: 5px solid var(--gold);
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) 220px;
  gap: 44px;
  padding-bottom: 40px;
}
.site-footer .brand-name {
  color: #ffffff;
  font-size: 2rem;
}
.site-footer .brand-sub {
  color: var(--gold-light);
}
.site-footer .brand-mark-img {
  height: 48px;
}
.site-footer .brand-mark svg rect {
  fill: #214536;
}
.footer-desc {
  margin-top: 16px;
  font-size: 0.96875rem;
  line-height: 1.68;
  color: #c5d2c9;
  max-width: 42ch;
}
.footer-meta-note {
  margin-top: 12px;
  font-size: 0.8125rem;
  color: var(--gold-light);
  font-weight: 600;
}
.footer-quote-col .eyebrow {
  color: var(--gold-light);
  margin-bottom: 10px;
}
.footer-statement {
  font: 600 clamp(2.1rem, 3.2vw, 3.2rem) / 1.08 var(--serif);
  color: #ffffff;
  max-width: 18ch;
}
.footer-subquote {
  margin-top: 12px;
  font-size: 0.9375rem;
  color: #c5d2c9;
  max-width: 44ch;
}
.footer-nav-title {
  font: 700 0.78125rem/1.4 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 10px;
}
.footer-top nav {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 2px;
}
.footer-top nav a {
  display: flex;
  align-items: center;
  min-height: 40px;
  font-size: 0.9375rem;
  color: #eef2ee;
}
.footer-top nav a:hover,
.footer-top nav a:focus-visible {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 30px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84375rem;
  color: #b5c4b9;
  border-top: 1px solid rgba(219, 192, 138, 0.24);
  padding-top: 22px;
}
.footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--gold-light);
  font-weight: 700;
}

/* Responsive Breakpoints */
@media (max-width: 1100px) {
  .header-note {
    display: none;
  }
  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-metrics > div:nth-child(2) {
    border-right: 0;
  }
  .atlas-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .inspector-body {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .inspector-cta {
    justify-self: start;
  }
  .history-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .manifesto {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .coffee-facts {
    grid-template-columns: 1fr;
  }
  .roadmap-grid {
    grid-template-columns: 1fr;
  }
  .scope-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .header-topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .header-inner {
    min-height: 64px;
    flex-wrap: wrap;
    align-items: center;
    padding-block: 10px;
    gap: 8px;
  }
  .brand {
    order: 1;
    margin-right: auto;
  }
  .header-actions {
    order: 2;
    margin-left: 0;
    display: flex;
    align-items: center;
  }
  .js .menu-toggle {
    order: 3;
    margin-left: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    background: var(--surface);
    padding: 6px 12px;
    min-height: 38px;
    height: 38px;
    color: var(--ink);
    font-size: 0.8125rem;
    font-weight: 700;
  }
  .picker-trigger {
    min-height: 38px;
    height: 38px;
    padding: 6px 10px;
    font-size: 0.8125rem;
    gap: 6px;
  }
  .menu-icon {
    width: 16px;
    height: 9px;
    border-top: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
  }
  .js .main-nav {
    display: none;
    width: 100%;
    order: 10;
    border-top: 1px solid var(--line);
    padding-top: 12px;
  }
  .js .main-nav.is-open {
    display: flex;
    flex-wrap: wrap;
  }
  .picker-panel {
    position: fixed;
    top: 66px;
    left: 12px;
    right: 12px;
    width: auto;
    max-width: 560px;
    margin-inline: auto;
    max-height: calc(100dvh - 84px);
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 600;
    border-radius: 12px;
    padding: 18px 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 0 100vmax rgba(14, 25, 20, 0.45);
  }
  .picker-panel-head {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 16px;
  }
  .picker-panel-head strong {
    font-size: 1.15rem;
    line-height: 1.35;
    margin-top: 4px;
  }
  .picker-all-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 14px;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    font-size: 0.84375rem;
    font-weight: 700;
    color: var(--forest-deep);
    text-decoration: none;
    width: 100%;
    text-align: center;
  }
  .picker-all-link:hover {
    background: var(--forest-deep);
    color: var(--paper);
    border-color: var(--forest-deep);
  }
  .picker-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-copy,
  .cover-spread,
  .catalog-intro,
  .origin-intro,
  .origin-feature,
  .origin-reading,
  .about-story,
  .principles,
  .news-empty,
  .news-reading {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .home-routes,
  .species-trio,
  .coffee-guide-grid,
  .coffee-guide-practice,
  .photo-essay-intro,
  .photo-essay-grid,
  .origin-grid,
  .reading-note,
  .footer-top {
    grid-template-columns: 1fr;
  }
  .catalog-tools {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 18px;
  }
  .hero-metrics {
    grid-template-columns: 1fr;
  }
  .hero-metrics > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
  }
  .hero-metrics > div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }
  .picker-groups {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .picker-item {
    padding: 8px 10px;
    min-height: 40px;
    border-radius: 6px;
    background: var(--surface);
    border: 1px solid var(--line);
  }
  .brand-mark-img {
    height: 30px;
  }
  .brand-name {
    font-size: 1.35rem;
  }
  .brand-sub {
    font-size: 0.625rem;
    letter-spacing: 0.12em;
  }
  .history-timeline {
    grid-template-columns: 1fr;
  }
  .atlas-section {
    padding: 24px 18px;
  }
  .interactive-atlas {
    padding: 16px 14px;
    margin-block: 20px 36px;
  }
  .map-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 12px;
  }
  .map-toolbar-title {
    font-size: 0.84375rem;
    line-height: 1.4;
  }
  .map-controls {
    justify-content: flex-end;
    width: 100%;
  }
  .map-controls button {
    height: 38px;
    min-width: 38px;
    padding: 4px 10px;
    font-size: 0.875rem;
  }
  .zoom-label {
    font-size: 0.8125rem;
    min-width: 42px;
  }
  .map-caption {
    font-size: 0.75rem;
    gap: 8px 14px;
    margin-top: 10px;
  }
  .map-legend {
    gap: 10px;
    font-size: 0.75rem;
  }
  .map-inspector {
    padding: 16px 18px;
    margin-top: 14px;
    border-radius: 8px;
  }
  .inspector-body {
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: stretch;
  }
  .inspector-name {
    font-size: 1.55rem;
  }
  .inspector-loc {
    font-size: 0.78125rem;
  }
  .inspector-summary {
    font-size: 0.875rem;
    line-height: 1.5;
  }
  .inspector-cta {
    width: 100%;
    text-align: center;
    justify-content: center;
    min-height: 44px;
  }
  .origin-card {
    flex-direction: column;
    padding: 0;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  }
  .card-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    min-height: unset;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--line);
  }
  .card-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .card-species-tag {
    position: absolute;
    bottom: 10px;
    left: 12px;
    right: auto;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 4px 9px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  }
  .card-body {
    padding: 18px 18px 20px;
  }
  .origin-card h2,
  .origin-card h3 {
    font-size: 1.75rem;
    margin: 2px 0 4px;
  }
  .card-location {
    font-size: 0.84375rem;
    margin-bottom: 8px;
  }
  .card-description {
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 14px;
    -webkit-line-clamp: 4;
  }
  .card-link {
    font-size: 0.90625rem;
    padding-top: 12px;
    border-top: 1px dashed var(--line);
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 4px;
  }
  .origin-facts,
  .origin-chapters,
  .origin-pagination {
    grid-template-columns: 1fr;
  }
  .origin-pagination a:last-child {
    text-align: left;
  }
}

.interactive-atlas,
.catalog-section,
.results-heading,
#daftar,
#direktori-ig,
#panduan-kopi,
#kerja-kopi,
#jejak {
  scroll-margin-top: 155px;
}

.ig-directory-section {
  margin-top: 64px;
  padding: 40px 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.ig-directory-header {
  margin-bottom: 24px;
}
.ig-directory-header h2 {
  font-size: clamp(1.75rem, 2.5vw, 2.4rem);
  margin: 12px 0;
  color: var(--forest-deep);
}
.ig-directory-intro {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  max-width: 900px;
}
.ig-directory-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.ig-stat-pill {
  padding: 16px 20px;
  background: var(--paper, #fff);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ig-stat-pill strong {
  font: 700 1.85rem/1 var(--serif);
  color: var(--forest-deep);
}
.ig-stat-pill span {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
}
.ig-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper, #fff);
}
.ig-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  text-align: left;
}
.ig-table th,
.ig-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.ig-table th {
  background: var(--surface);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--forest-deep);
}
.ig-table tr:last-child td {
  border-bottom: none;
}
.ig-table tr:hover td {
  background: rgba(22, 48, 38, 0.02);
}
.ig-badge {
  display: inline-block;
  font-family: monospace;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 3px 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--forest-deep);
}
.species-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 4px;
}
.species-tag.is-arabika {
  background: #eef5f1;
  color: #1b633f;
}
.species-tag.is-robusta {
  background: #fdf3e8;
  color: #a85114;
}
.species-tag.is-liberika {
  background: #f4ecf8;
  color: #7b2cbf;
}
.ig-atlas-link {
  font-weight: 600;
  color: var(--forest-deep);
  text-decoration: underline;
}
.ig-unreviewed {
  font-size: 0.8125rem;
  color: var(--ink);
  opacity: 0.75;
}
.ig-footer-note {
  font-size: 0.8125rem;
  color: var(--ink);
  opacity: 0.85;
  margin-top: 16px;
  line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  .site-header,
  .site-footer,
  .catalog-tools,
  .map-controls,
  .origin-pagination {
    display: none !important;
  }
  .wrap {
    width: 100%;
    max-width: none;
  }
  body {
    background: white;
    color: black;
  }
}
