/* ====================================================================
   COFFEE SEVEN EXPORTS — DESIGN TOKENS
   Palette: deep Ethiopian highland green + cupping-room gold
   Type: Fraunces (display, warm editorial serif) + Inter (body) + JetBrains Mono (data/batch codes)
   Signature: the "cupping wheel" — a radar chart of flavour notes, drawn
   the way graders actually score a cup, used as a recurring motif.
==================================================================== */

:root {
  /* --- Brand palette --- */
  --green-950: #06201d;
  --green-900: #0a2e29;
  --green-800: #0f3d36;
  --green-700: #154d44;
  --green-600: #1d6358;

  --gold-700: #a9802a;
  --gold-600: #c79a3a;
  --gold-500: #d4a832;
  --gold-400: #e0bd5c;
  --gold-200: #f0ddab;

  --cream-100: #fbf9f4;
  --cream-200: #f7f3ea;
  --cream-300: #efe7d6;

  --ink-900: #161410;
  --ink-700: #3a352c;
  --ink-500: #6b6354;

  --rust-500: #b5562f;   /* used sparingly: alerts / roast accent */
  --good-500: #4c7a4f;

  /* --- Semantic roles --- */
  --bg: var(--cream-200);
  --surface: var(--cream-100);
  --ink: var(--ink-900);
  --line: rgba(22, 20, 16, 0.1);

  --radius-sm: 3px;
  --radius-md: 6px;

  /* --- Type scale --- */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;

  --container: 1240px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-wrap: break-word;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 900px) {
  .container { padding: 0 2.5rem; }
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-700);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--gold-600);
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--green-900);
  color: var(--cream-100);
}
.btn-primary:hover { background: var(--green-700); }

.btn-gold {
  background: var(--gold-500);
  color: var(--green-950);
}
.btn-gold:hover { background: var(--gold-400); }

.btn-outline {
  background: transparent;
  border-color: var(--green-900);
  color: var(--green-900);
}
.btn-outline:hover { background: var(--green-900); color: var(--cream-100); }

.btn-outline-light {
  background: transparent;
  border-color: rgba(251,249,244,0.4);
  color: var(--cream-100);
}
.btn-outline-light:hover { background: rgba(251,249,244,0.12); border-color: var(--cream-100); }

.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

:focus-visible {
  outline: 2px solid var(--gold-600);
  outline-offset: 2px;
}

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

/* ---- reveal-on-scroll utility ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(.16,1,.3,1), transform 0.8s cubic-bezier(.16,1,.3,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .4s; }
.reveal.d6 { transition-delay: .48s; }

/* ---- skip link ---- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  background: var(--gold-500);
  color: var(--green-950);
  padding: 0.6rem 1rem;
  z-index: 5000;
  font-weight: 700;
  border-radius: var(--radius-sm);
}
.skip-link:focus { left: 1rem; }
