/* ============================================================
   BINHI — Landing Page Stylesheet
   Aesthetic: Heritage editorial · Deep forest · Refined luxury
   ============================================================ */

:root {
  --green-deep:   #1e3d22;
  --green-mid:    #2c5530;
  --green-light:  #3a6e3f;
  --cream:        #f2ead8;
  --cream-dim:    #c8bfa8;
  --gold:         #b8935a;
  --gold-light:   #d4aa72;
  --ink:          #0d1f0f;

  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'DM Sans', system-ui, sans-serif;

  --max-w:        1200px;
  --gutter:       clamp(1.5rem, 5vw, 4rem);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--green-deep);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(3rem, 7vw, 6.5rem); }
h2 { font-size: clamp(2.2rem, 4.5vw, 4rem); }
h3 { font-size: clamp(1.6rem, 2.5vw, 2.4rem); }

em { font-style: italic; color: var(--gold-light); }

p { max-width: 60ch; }

.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  padding: 0.85em 2.2em;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  transition: background 0.25s, transform 0.2s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-ghost {
  display: inline-block;
  padding: 0.85em 2.2em;
  background: transparent;
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(242, 234, 216, 0.3);
  transition: border-color 0.25s, color 0.25s;
}
.btn-ghost:hover { border-color: var(--cream); color: var(--cream); }

.btn-large { padding: 1.1em 3em; font-size: 0.9rem; }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem var(--gutter);
  transition: background 0.4s, backdrop-filter 0.4s;
}
.nav.scrolled {
  background: rgba(14, 29, 16, 0.92);
  backdrop-filter: blur(12px);
}

.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo-img {
  height: 44px;
  width: auto;
  display: block;
  color: var(--cream);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }
.nav-cta {
  opacity: 1 !important;
  background: var(--gold) !important;
  color: var(--ink) !important;
  padding: 0.55em 1.4em;
  transition: background 0.25s !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }

.nav-hamburger { display: none; }

/* ── HERO ── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--gutter) + 80px) var(--gutter) calc(var(--gutter) * 1.5);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(58, 110, 63, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(184, 147, 90, 0.08) 0%, transparent 50%),
    var(--green-deep);
}

/* Noise texture overlay */
.hero-bg-texture {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.4;
  pointer-events: none;
}

/* Large decorative text in background */
.hero::before {
  content: 'BINHI';
  position: absolute;
  top: 50%;
  right: -2%;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: clamp(18vw, 22vw, 28vw);
  font-weight: 300;
  color: rgba(44, 85, 48, 0.18);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  width: 100%;
}

.hero-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-headline {
  margin-bottom: 1.8rem;
  max-width: 14ch;
}

.hero-sub {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: var(--cream-dim);
  max-width: 52ch;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-scroll-line {
  position: absolute;
  bottom: 2rem;
  right: var(--gutter);
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollPulse 2.5s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.6) translateY(20px); }
}

/* ── STRIP ── */
.strip {
  background: var(--green-mid);
  border-top: 1px solid rgba(184, 147, 90, 0.2);
  border-bottom: 1px solid rgba(184, 147, 90, 0.2);
  overflow: hidden;
  padding: 1rem 0;
}
.strip-inner {
  display: flex;
  gap: 2rem;
  align-items: center;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  width: max-content;
}
.strip-inner span {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--cream-dim);
  letter-spacing: 0.02em;
}
.strip-dot { color: var(--gold) !important; font-style: normal !important; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── STORY ── */
.story {
  padding: clamp(5rem, 10vw, 10rem) var(--gutter);
}
.story-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 8rem);
  align-items: start;
}

.story-text h2 {
  margin-bottom: 2rem;
}
.story-text p {
  color: var(--cream-dim);
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}
.story-text em { font-style: italic; color: var(--cream); }

.story-aside {
  padding-top: 1rem;
  border-left: 1px solid rgba(184, 147, 90, 0.25);
  padding-left: clamp(2rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.story-stat { }
.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--cream-dim);
  line-height: 1.5;
  max-width: 24ch;
}

/* ── STORY MAP ── */
.story-map {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* Container locked to the SVG's aspect ratio (702.39 × 1209.44) */
.map-wrap {
  position: relative;
  width: 100%;
  max-width: 260px;
  aspect-ratio: 702.39 / 1209.44;
}

.map-img {
  display: block;
  width: 100%;
  height: 100%;
}

/* Dot buttons geo-positioned over the image */
.map-dot {
  position: absolute;
  width: 26px;
  height: 26px;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  outline: none;
}

.dot-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(184, 147, 90, 0.2);
  animation: map-pulse 2.8s ease-in-out infinite;
}
.dot-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--gold);
  transition: background 0.2s, transform 0.2s;
}
.map-dot:hover .dot-core,
.map-dot:focus-visible .dot-core {
  background: var(--gold-light);
  transform: translate(-50%, -50%) scale(1.3);
}

.map-dot--secondary .dot-ring {
  background: rgba(200, 191, 168, 0.12);
  animation-duration: 3.6s;
}
.map-dot--secondary .dot-core {
  background: var(--cream-dim);
  opacity: 0.5;
  width: 6px;
  height: 6px;
}
.map-dot--secondary:hover .dot-core,
.map-dot--secondary:focus-visible .dot-core { background: var(--cream); opacity: 1; }

/* Stagger pulse animation across dots */
.map-dot:nth-child(2) .dot-ring { animation-delay: -0.56s; }
.map-dot:nth-child(3) .dot-ring { animation-delay: -1.12s; }
.map-dot:nth-child(4) .dot-ring { animation-delay: -1.68s; }
.map-dot:nth-child(5) .dot-ring { animation-delay: -2.24s; }

@keyframes map-pulse {
  0%, 100% { transform: scale(1);   opacity: 0.6; }
  50%       { transform: scale(2.6); opacity: 0;   }
}

/* Tooltip — positioned relative to .story-map */
.map-tooltip {
  position: absolute;
  background: rgba(13, 31, 15, 0.97);
  border: 1px solid rgba(184, 147, 90, 0.4);
  padding: 0.75rem 0.9rem;
  min-width: 160px;
  max-width: 195px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 10;
}
.map-tooltip.is-visible { opacity: 1; transform: translateY(0); }
.map-tooltip p { max-width: none; margin-bottom: 0; }

.tip-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--cream);
  margin-bottom: 0.15rem;
}
.tip-sub {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.tip-species { font-size: 0.78rem; color: var(--cream); margin-bottom: 0.15rem; }
.tip-elev    { font-size: 0.73rem; color: var(--cream-dim); margin-bottom: 0.15rem; }
.tip-note    { font-size: 0.68rem; color: var(--gold-light); font-style: italic; }

.map-caption {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(200, 191, 168, 0.4);
  text-align: center;
  max-width: none;
}

/* ── COFFEES ── */
.coffees {
  padding: clamp(4rem, 8vw, 8rem) var(--gutter);
  border-top: 1px solid rgba(184, 147, 90, 0.18);
}
.coffees-header {
  max-width: var(--max-w);
  margin: 0 auto clamp(3rem, 5vw, 5rem);
  border-bottom: 1px solid rgba(242, 234, 216, 0.08);
  padding-bottom: clamp(2.5rem, 4vw, 4rem);
}
.coffees-header h2 { max-width: 18ch; margin-bottom: 1.2rem; }
.coffees-intro {
  color: var(--cream-dim);
  font-size: 1.05rem;
  font-style: italic;
  font-family: var(--font-serif);
  max-width: 55ch;
}

/* ── COFFEE SELECTOR ── */
.coffee-selector {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  border-top: 1px solid rgba(242, 234, 216, 0.08);
}

/* Left navigation list */
.cs-nav {
  border-right: 1px solid rgba(242, 234, 216, 0.08);
  display: flex;
  flex-direction: column;
}

.cs-btn {
  all: unset;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.8rem 1.4rem;
  border-bottom: 1px solid rgba(242, 234, 216, 0.06);
  position: relative;
  transition: background 0.25s;
}
.cs-btn:last-child { border-bottom: none; }

/* Gold accent bar on the left */
.cs-btn::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.cs-btn.is-active { background: rgba(242, 234, 216, 0.02); }
.cs-btn.is-active::after { transform: scaleY(1); }
.cs-btn:hover:not(.is-active) { background: rgba(242, 234, 216, 0.015); }
.cs-btn:hover:not(.is-active)::after { transform: scaleY(0.35); opacity: 0.5; }

.cs-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  color: rgba(242, 234, 216, 0.1);
  flex-shrink: 0;
  min-width: 1.6ch;
  transition: color 0.3s;
}
.cs-btn.is-active .cs-num { color: rgba(184, 147, 90, 0.45); }
.cs-btn:hover .cs-num { color: rgba(242, 234, 216, 0.22); }

.cs-btn-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 0.15rem;
}

.cs-btn-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.25;
  color: rgba(242, 234, 216, 0.45);
  transition: color 0.25s;
}
.cs-btn-name em { font-style: italic; color: inherit; }
.cs-btn.is-active .cs-btn-name { color: var(--cream); }
.cs-btn:hover .cs-btn-name { color: rgba(242, 234, 216, 0.8); }

.cs-btn-meta {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(184, 147, 90, 0.35);
  transition: color 0.25s;
}
.cs-btn.is-active .cs-btn-meta { color: var(--gold); }

.cs-btn-ark {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  padding: 0.2em 0.6em;
  font-weight: 500;
  opacity: 0.55;
  transition: opacity 0.25s;
}
.cs-btn.is-active .cs-btn-ark { opacity: 1; }

/* Stage: all panels share the same grid cell */
.cs-stage {
  display: grid;
}

.cs-panel {
  grid-area: 1 / 1;
  padding: 2rem clamp(1.5rem, 3vw, 3rem) 2.5rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.cs-panel.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  z-index: 1;
}

.cs-panel-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
}

/* Slightly smaller name inside the panel (was very large before) */
.cs-panel .origin-name {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
}

/* Origin feature — full editorial spread (legacy, kept for reference) */
.origin-feature {
  padding: clamp(3.5rem, 6vw, 6rem) 0;
  border-bottom: 1px solid rgba(242, 234, 216, 0.08);
}
.origin-feature:first-of-type { border-top: none; }

.origin-top {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.origin-num {
  font-family: var(--font-serif);
  font-size: clamp(5rem, 10vw, 9rem);
  font-weight: 300;
  line-height: 1;
  color: rgba(242, 234, 216, 0.07);
  margin-right: 0.2rem;
  user-select: none;
}
.origin-species-tag {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.3em 0;
  border-bottom: 1px solid rgba(184, 147, 90, 0.3);
}
.origin-ark-badge {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  padding: 0.3em 0.9em;
  font-weight: 500;
}

/* Two-column: story left, aside right */
.origin-body {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: clamp(2.5rem, 5vw, 6rem);
  align-items: start;
}

.origin-name {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  margin-bottom: 0.6rem;
  line-height: 1.05;
}
.origin-place {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}

.origin-lede {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  color: var(--cream);
  margin-bottom: 1.5rem;
  max-width: 56ch;
}

.origin-story p:not(.origin-place):not(.origin-lede) {
  color: var(--cream-dim);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
  max-width: 62ch;
}

.origin-matters {
  margin-top: 2.5rem;
  padding: 1.8rem;
  border: 1px solid rgba(184, 147, 90, 0.2);
  background: rgba(184, 147, 90, 0.04);
}
.origin-matters h4 {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.origin-matters ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.origin-matters li {
  font-size: 0.9rem;
  color: var(--cream-dim);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.55;
  max-width: none;
}
.origin-matters li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.75rem;
}

/* Aside: specs + cup notes + tags */
.origin-aside {
  position: sticky;
  top: 6rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.origin-specs {
  border-top: 1px solid rgba(184, 147, 90, 0.3);
  padding-top: 1.2rem;
}
.spec-row {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(242, 234, 216, 0.06);
}
.spec-label {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.spec-val {
  font-size: 0.9rem;
  color: var(--cream);
}

.origin-cup {
  padding: 1.2rem;
  background: rgba(44, 85, 48, 0.3);
  border-left: 2px solid var(--gold);
}
.origin-cup h5 {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.6rem;
}
.origin-cup p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--cream-dim);
  line-height: 1.6;
  max-width: none;
}

.origin-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  display: inline-block;
  padding: 0.3em 0.9em;
  border: 1px solid rgba(242, 234, 216, 0.2);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.tag-ark {
  border-color: rgba(184, 147, 90, 0.5);
  color: var(--gold-light);
  background: rgba(184, 147, 90, 0.06);
}

/* ── PILLARS ── */
.pillars {
  padding: clamp(5rem, 10vw, 10rem) var(--gutter);
  background: var(--green-mid);
  border-top: 1px solid rgba(184, 147, 90, 0.15);
}
.pillars-header {
  max-width: var(--max-w);
  margin: 0 auto 4rem;
}

.pillars-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}

.pillar {
  padding-top: 2rem;
  border-top: 1px solid rgba(184, 147, 90, 0.3);
}
.pillar-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 1rem;
}
.pillar h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.pillar p {
  color: var(--cream-dim);
  font-size: 0.92rem;
  line-height: 1.75;
  max-width: 28ch;
}

/* ── CTA ── */
.cta-section {
  padding: clamp(6rem, 12vw, 12rem) var(--gutter);
  text-align: center;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(44, 85, 48, 0.5) 0%, transparent 70%),
    var(--green-deep);
  border-top: 1px solid rgba(184, 147, 90, 0.15);
}
.cta-inner {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.cta-inner h2 { max-width: 20ch; }
.cta-sub {
  color: var(--cream-dim);
  text-align: center;
  font-size: 1.05rem;
  max-width: 55ch;
}
.cta-note {
  font-size: 0.78rem;
  color: rgba(200, 191, 168, 0.5);
  letter-spacing: 0.05em;
  max-width: 45ch;
  text-align: center;
}

/* ── FOOTER ── */
.footer {
  background: var(--ink);
  padding: clamp(3rem, 6vw, 5rem) var(--gutter);
  border-top: 1px solid rgba(184, 147, 90, 0.2);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 2rem 4rem;
  align-items: end;
}
.footer-brand { grid-column: 1; }
.footer-logo-svg {
  width: 180px;
  height: auto;
  color: var(--cream);
  display: block;
  margin-bottom: 0.8rem;
  opacity: 0.6;
}
.footer-tagline {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-dim);
  opacity: 0.5;
  max-width: none;
}
.footer-links {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: flex-end;
}
.footer-links a {
  color: var(--cream-dim);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.5;
  transition: opacity 0.2s;
}
.footer-links a:hover { opacity: 1; }
.footer-copy {
  grid-column: 1 / -1;
  font-size: 0.72rem;
  color: rgba(200, 191, 168, 0.3);
  letter-spacing: 0.05em;
  border-top: 1px solid rgba(242, 234, 216, 0.06);
  padding-top: 1.5rem;
  max-width: none;
}

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children within a group */
.hero-content .reveal:nth-child(1) { transition-delay: 0.1s; }
.hero-content .reveal:nth-child(2) { transition-delay: 0.25s; }
.hero-content .reveal:nth-child(3) { transition-delay: 0.4s; }
.hero-content .reveal:nth-child(4) { transition-delay: 0.55s; }

.coffee-card:nth-child(2) .reveal { transition-delay: 0.1s; }
.coffee-card:nth-child(3) .reveal { transition-delay: 0.2s; }
.coffee-card:nth-child(4) .reveal { transition-delay: 0.3s; }

.pillar:nth-child(1) { transition-delay: 0.05s; }
.pillar:nth-child(2) { transition-delay: 0.15s; }
.pillar:nth-child(3) { transition-delay: 0.25s; }
.pillar:nth-child(4) { transition-delay: 0.35s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  /* Coffee selector: nav becomes a horizontal tab strip */
  .coffee-selector {
    grid-template-columns: 1fr;
  }
  .cs-nav {
    border-right: none;
    border-bottom: 1px solid rgba(242, 234, 216, 0.08);
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .cs-nav::-webkit-scrollbar { display: none; }
  .cs-btn {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.1rem 1.2rem;
    min-width: 130px;
    border-bottom: none;
    border-right: 1px solid rgba(242, 234, 216, 0.06);
    flex-shrink: 0;
    gap: 0.4rem;
  }
  .cs-btn:last-child { border-right: none; }
  /* Accent bar moves to bottom */
  .cs-btn::after {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: 2px;
    transform: scaleX(0);
  }
  .cs-btn.is-active::after { transform: scaleX(1); }
  .cs-btn:hover:not(.is-active)::after { transform: scaleX(0.35); }
  .cs-num { font-size: 1.5rem; }
  .cs-btn-meta { display: none; }
  .cs-btn-ark { margin-top: 0.3rem; }

  .story-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .story-aside {
    border-left: none;
    border-top: 1px solid rgba(184, 147, 90, 0.25);
    padding-left: 0;
    padding-top: 2rem;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .pillars-grid {
    grid-template-columns: 1fr 1fr;
  }
  .origin-body {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .origin-aside {
    position: static;
    border-top: 1px solid rgba(184, 147, 90, 0.2);
    padding-top: 2rem;
  }
  .hero::before { display: none; }

  /* Hamburger button */
  .nav-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem 0.5rem;
    position: relative;
    z-index: 110;
  }
  .nav-hamburger span {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--cream);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.25s ease;
    transform-origin: center;
  }
  .nav.nav-open .nav-hamburger span:nth-child(1) {
    transform: translateY(3.5px) rotate(45deg);
  }
  .nav.nav-open .nav-hamburger span:nth-child(2) {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  /* Nav links → full-screen overlay */
  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    background: rgba(13, 31, 15, 0.98);
    z-index: 105;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }
  .nav.nav-open .nav-links {
    opacity: 1;
    pointer-events: all;
    backdrop-filter: blur(20px);
  }
  .nav-links a {
    display: block !important;
    font-family: var(--font-serif);
    font-size: clamp(2rem, 9vw, 3.2rem);
    font-style: italic;
    font-weight: 300;
    letter-spacing: 0.02em;
    text-transform: none;
    opacity: 0.9;
    color: var(--cream);
    text-decoration: none;
  }
  .nav-links a:hover { opacity: 1; color: var(--gold-light); }
  .nav-links .nav-cta {
    font-family: var(--font-sans) !important;
    font-size: 0.85rem !important;
    font-style: normal !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: var(--ink) !important;
    background: var(--gold) !important;
    padding: 0.85em 2.5em !important;
    margin-top: 0.5rem;
    opacity: 1 !important;
  }
  .nav-links .nav-cta:hover { background: var(--gold-light) !important; }
}

@media (max-width: 600px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { align-items: flex-start; grid-column: 1; grid-row: auto; }
  .origin-matters { padding: 1.3rem 1rem; }
  .origin-num { font-size: clamp(3.5rem, 14vw, 6rem); }
  .map-wrap { max-width: 200px; }
  .pillar p { max-width: none; }
}
