/* ═══════════════════════════════════════════════
   PUSHAN ENTERPRISE · style.css
   pushanenterprise.com · 2026
   Strategic Market Linkage & Supply Chain Advisory
═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Instrument+Sans:wght@300;400;500;600&family=JetBrains+Mono:wght@300;400;500&display=swap');

/* ── LIGHT MODE TOKENS (always default) ── */
:root {
  --teal:         #1B6B5A;
  --teal-dark:    #0F4A3D;
  --teal-deeper:  #081F1A;
  --teal-darkest: #061510;
  --teal-light:   #2E8B74;
  --teal-faint:   #E8F5F1;
  --gold:         #F5B800;
  --gold-dark:    #C99300;
  --gold-light:   #FFD24D;
  --gold-faint:   #FFF8E0;

  --bg-primary:   #FDFBF7;
  --bg-secondary: #F3F0EA;
  --bg-card:      #FFFFFF;
  --bg-dark:      #0F4A3D;
  --bg-darker:    #081F1A;
  --bg-darkest:   #061510;

  --text-primary:  #080808;
  --text-body:     #52524A;
  --text-muted:    #8A857C;
  --text-light:    #ADA89E;
  --border:        #E2DDD5;
  --border-light:  #EDEAD4;

  --fd: 'Cormorant Garamond', Georgia, serif;
  --fb: 'Instrument Sans', sans-serif;
  --fm: 'JetBrains Mono', monospace;

  --ease:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease2: cubic-bezier(0.4, 0, 0.2, 1);
  --t1: 0.18s;
  --t2: 0.32s;
  --t3: 0.6s;

  /* Sharp architectural corners */
  --r:  3px;
  --rl: 2px;

  /* Three-layer shadow system */
  --sh-rest: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.04);
  --sh-hover: 0 8px 32px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.06);
  --sh-deep:  0 20px 60px rgba(0,0,0,0.13), 0 4px 16px rgba(0,0,0,0.07);
}

/* ── DARK MODE ── */
[data-theme="dark"] {
  --bg-primary:   #0E1A16;
  --bg-secondary: #111E19;
  --bg-card:      #152219;
  --bg-dark:      #091410;
  --bg-darker:    #071210;
  --bg-darkest:   #06100D;
  --text-primary:  #EDE9E1;
  --text-body:     #A8A49C;
  --text-muted:    #6E6B64;
  --text-light:    #4A4742;
  --border:        #1E2E28;
  --border-light:  #192820;
  --teal-faint:   rgba(27,107,90,0.18);
  --gold-faint:   rgba(245,184,0,0.1);
  --sh-rest: 0 1px 3px rgba(0,0,0,0.15), 0 4px 12px rgba(0,0,0,0.15);
  --sh-hover: 0 8px 32px rgba(0,0,0,0.3), 0 2px 8px rgba(0,0,0,0.2);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--fb); font-weight: 400;
  background: var(--bg-primary); color: var(--text-primary);
  line-height: 1.7; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background var(--t2) var(--ease2), color var(--t2) var(--ease2);
}
/* Page load — noscript safe */
body { opacity: 0; animation: bodyReveal 0.55s var(--ease) 0.12s forwards; }
@keyframes bodyReveal { to { opacity: 1; } }
body.loaded { opacity: 1; animation: none; }
img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── LAYOUT ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 2.5rem; }
.pad { padding: 8rem 0; }

/* ── SCROLL PROGRESS ── */
#scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 9999;
  height: 2px; width: 0%; pointer-events: none;
  background: linear-gradient(90deg, var(--teal-light), var(--gold));
  transition: width 0.08s linear;
}

/* ── BACK TO TOP ── */
#back-to-top {
  position: fixed; bottom: 5.5rem; right: 1.5rem; z-index: 490;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold); color: var(--teal-dark);
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(245,184,0,0.35);
  visibility: hidden; opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--t2) var(--ease), transform var(--t2) var(--ease),
              visibility var(--t2), background var(--t1);
}
#back-to-top.visible { visibility: visible; opacity: 1; transform: translateY(0); }
#back-to-top.no-sticky { bottom: 1.5rem; }
#back-to-top:hover { background: var(--gold-light); transform: translateY(-2px); }
@media (max-width: 900px) { #back-to-top { display: flex; } }

/* ── STICKY MOBILE CTA ── */
#sticky-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 500;
  padding: 0.85rem 1.5rem;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.07);
  transform: translateY(100%);
  transition: transform var(--t2) var(--ease);
}
#sticky-cta.visible { transform: translateY(0); }
#sticky-cta a {
  display: block; width: 100%;
  background: var(--gold); color: var(--teal-dark);
  font-family: var(--fb); font-size: 0.88rem; font-weight: 500;
  letter-spacing: 0.05em; text-align: center;
  padding: 0.9rem; border-radius: var(--r);
  transition: background var(--t1);
}
#sticky-cta a:hover { background: var(--gold-light); }
@media (max-width: 900px) { #sticky-cta { display: block; } }

/* ── TYPOGRAPHY ── */
.dh {
  font-family: var(--fd);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 500; line-height: 1.12;
  color: var(--teal-dark);
  letter-spacing: -0.018em; margin-bottom: 1.5rem;
}
[data-theme="dark"] .dh { color: #EDE9E1; }
[data-theme="dark"] .dh em { color: var(--gold); }
.dh em { font-style: italic; color: var(--gold-dark); }
.dh--lt { color: #fff !important; }
.dh--lt em { color: var(--gold); }

/* Section label with gold rule */
.label {
  display: flex; align-items: center; gap: 0.75rem;
  font-family: var(--fm); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 0.75rem;
}
.label::before { content: ''; display: block; width: 28px; height: 1px; background: var(--gold); flex-shrink: 0; }
.label--lt { color: rgba(255,255,255,0.5); }
.label--lt::before { background: var(--gold); }

/* Centred label — no left rule, centred, line below */
.label--center {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  justify-content: center;
  gap: 0.4rem;
  margin-left: auto; margin-right: auto;
}
.label--center::before { display: none; }
.label--center::after {
  content: ''; display: block;
  width: 24px; height: 1px;
  background: var(--gold);
}
.label--center.label--lt { color: rgba(255,255,255,0.5); }
.label--center.label--lt::after { background: var(--gold); }

/* Gold hairline between label and heading */
.section-head { margin-bottom: 1.5rem; }
.section-head .label { margin-bottom: 0.6rem; }
.section-head-rule { display: block; width: 40px; height: 1px; background: var(--gold); opacity: 0.5; margin-bottom: 1rem; }

.bt {
  font-size: 0.96rem; color: var(--text-body);
  line-height: 1.85; margin-bottom: 1.25rem; max-width: 600px;
}

/* Mobile eyebrow */
@media (max-width: 768px) {
  .hero-eyebrow-wrap { flex-direction: column; align-items: center; gap: 0.45rem; text-align: center; }
  .eyebrow-rule-top { display: block; width: 24px; height: 1px; background: var(--gold); }
  .hero-eyebrow-wrap .eyebrow { justify-content: center; }
  .hero-eyebrow-wrap .eyebrow .eyebrow-bar { display: none; }
}
.eyebrow-rule-top { display: none; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--fb); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.05em; padding: 0.88rem 1.9rem;
  border-radius: var(--r); white-space: nowrap; cursor: pointer;
  transition: background var(--t1) var(--ease), color var(--t1),
    border-color var(--t1), transform var(--t1) var(--ease), box-shadow var(--t1);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--gold { background: var(--gold); color: var(--teal-dark); }
.btn--gold:hover { background: var(--gold-light); box-shadow: 0 8px 28px rgba(245,184,0,0.35); }
.btn--ghost { background: transparent; color: rgba(255,255,255,0.85); border: 1.5px solid rgba(255,255,255,0.28); }
.btn--ghost:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.07); }
.btn--ghost-gold { background: transparent; color: var(--gold); border: 1.5px solid rgba(245,184,0,0.4); }
.btn--ghost-gold:hover { border-color: var(--gold); background: rgba(245,184,0,0.08); }
.btn--teal { background: var(--teal); color: #fff; }
.btn--teal:hover { background: var(--teal-light); box-shadow: 0 8px 24px rgba(27,107,90,0.3); }

/* ── METAL GRADIENT BORDER MIXIN ──
   Applied via background gradient border-box technique.
   Each card gets a different angle for natural variation. */
.metal-border {
  border: 1px solid transparent;
  background-clip: padding-box;
  position: relative;
}
.metal-border::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.08) 0%,
    rgba(245,184,0,0.6) 35%,
    rgba(255,255,255,0.15) 50%,
    rgba(15,74,61,0.5) 75%,
    rgba(255,255,255,0.05) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: opacity var(--t2);
  opacity: 0.7;
}
.metal-border:hover::before { opacity: 1; }

/* Variant angles for visual variation */
.metal-border--a::before { background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(245,184,0,0.65) 30%, rgba(255,255,255,0.18) 50%, rgba(15,74,61,0.45) 80%, rgba(255,255,255,0.04) 100%); }
/* On dark backgrounds (ccard) the metal border needs higher contrast */
.cred-dark .metal-border--a::before { background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(245,184,0,0.4) 30%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.05) 80%, transparent 100%); opacity: 0.6; }
.cred-dark .metal-border--b::before { background: linear-gradient(155deg, transparent 0%, rgba(245,184,0,0.35) 40%, rgba(255,255,255,0.1) 60%, transparent 100%); opacity: 0.6; }
.cred-dark .metal-border--c::before { background: linear-gradient(120deg, transparent 0%, rgba(245,184,0,0.3) 45%, rgba(255,255,255,0.08) 65%, transparent 100%); opacity: 0.6; }
.metal-border--b::before { background: linear-gradient(155deg, rgba(255,255,255,0.04) 0%, rgba(15,74,61,0.5) 20%, rgba(245,184,0,0.6) 50%, rgba(255,255,255,0.14) 70%, rgba(15,74,61,0.35) 100%); }
.metal-border--c::before { background: linear-gradient(120deg, rgba(15,74,61,0.4) 0%, rgba(255,255,255,0.1) 30%, rgba(245,184,0,0.55) 55%, rgba(255,255,255,0.12) 75%, rgba(15,74,61,0.4) 100%); }

/* ── DARK MODE TOGGLE ── */
#theme-toggle {
  position: relative;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  transition: color var(--t1), background var(--t1), border-color var(--t1);
  flex-shrink: 0; overflow: hidden;
}
#navbar.scrolled #theme-toggle {
  color: var(--text-body); background: var(--bg-secondary); border-color: var(--border);
}
#theme-toggle:hover { color: var(--gold); border-color: rgba(245,184,0,0.4); }
.icon-sun, .icon-moon {
  position: absolute;
  transition: opacity var(--t2) var(--ease), transform var(--t2) var(--ease);
}
.icon-sun  { opacity: 1; transform: rotate(0deg) scale(1); }
.icon-moon { opacity: 0; transform: rotate(-90deg) scale(0.8); }
[data-theme="dark"] .icon-sun  { opacity: 0; transform: rotate(90deg) scale(0.8); }
[data-theme="dark"] .icon-moon { opacity: 1; transform: rotate(0deg) scale(1); }

/* ════════════════════════════════════════
   SECTION SEAL
   height:0 sibling between sections.
   Lines and mark use position:absolute.
════════════════════════════════════════ */

.s-rule { display: none !important; }

.section-seal {
  position: relative;
  height: 0;
  margin: 0;
  background: transparent;
  pointer-events: none;
  overflow: visible;
  z-index: 20;
}

/* ── LINES ── */
.seal-line {
  position: absolute;
  top: 0;
  height: 1px;
  width: calc(50% - 30px);
}
.seal-line:first-child {
  left: 0;
  background: linear-gradient(
    to right,
    rgba(245,184,0,0.08) 0%,
    rgba(245,184,0,0.55) 50%,
    rgba(245,184,0,0.9) 100%
  );
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 1s cubic-bezier(0.16,1,0.3,1);
}
.seal-line:last-child {
  right: 0;
  background: linear-gradient(
    to left,
    rgba(245,184,0,0.08) 0%,
    rgba(245,184,0,0.55) 50%,
    rgba(245,184,0,0.9) 100%
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s cubic-bezier(0.16,1,0.3,1);
}
.section-seal.drawn .seal-line { transform: scaleX(1); }

/* ── MARK ── */
.seal-mark {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  pointer-events: auto;
  filter: drop-shadow(0 0 8px rgba(245,184,0,0.25));
}

/* Conic gradient metallic ring */
.seal-mark::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 120deg,
    rgba(15,74,61,0.0)    0deg,
    rgba(245,184,0,0.95)  80deg,
    rgba(255,255,255,1.0) 120deg,
    rgba(245,184,0,0.75)  160deg,
    rgba(15,74,61,0.12)   220deg,
    rgba(255,255,255,0.5) 260deg,
    rgba(245,184,0,0.65)  300deg,
    rgba(15,74,61,0.0)    360deg
  );
  -webkit-mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 2.5px),
    white       calc(100% - 2.5px)
  );
  mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 2.5px),
    white       calc(100% - 2.5px)
  );
  opacity: 1;
  z-index: 2;
}
/* Slow spin once drawn */
@keyframes sealSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.section-seal.drawn .seal-mark::after {
  animation: sealSpin 14s linear infinite;
}

/* Solid fill circle — sits behind icon, in front of ring */
.seal-mark::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  z-index: 1;
}

/* ── FILL COLOURS per seal (match upper section background) ── */
/* Seal 1: proposition (warm white) → bridge */
.section-seal[data-bg="primary"]   .seal-mark::before { background: #FDFBF7; }
/* Seal 2: bridge (dark teal) → farmer */
.section-seal[data-bg="dark"]      .seal-mark::before { background: #0F4A3D; }
/* Seal 3: farmer (warm white) → proof */
/* same as primary — handled above */
/* Seal 5: coffee (cream) → credentials */
.section-seal[data-bg="secondary"] .seal-mark::before { background: #F3F0EA; }
/* Seal 6: credentials (darkest) → who */
.section-seal[data-bg="darkest"]   .seal-mark::before { background: #061510; }

/* Dark mode — keep fills matched to dark mode surface colours */
[data-theme="dark"] .section-seal[data-bg="primary"]   .seal-mark::before { background: #0E1A16; }
[data-theme="dark"] .section-seal[data-bg="dark"]       .seal-mark::before { background: #091410; }
[data-theme="dark"] .section-seal[data-bg="secondary"]  .seal-mark::before { background: #111E19; }
[data-theme="dark"] .section-seal[data-bg="darkest"]    .seal-mark::before { background: #06100D; }

/* Icon */
.seal-mark img {
  width: 29px; height: 29px;
  object-fit: contain;
  opacity: 0.85;
  position: relative;
  z-index: 3;
  transition: opacity 0.3s, transform 0.3s;
}
.seal-mark:hover img { opacity: 1; transform: scale(1.1); }

/* ── REVEAL ── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity var(--t3) var(--ease), transform var(--t3) var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 0.07s; }
.reveal:nth-child(3) { transition-delay: 0.14s; }
.reveal:nth-child(4) { transition-delay: 0.21s; }
.reveal:nth-child(5) { transition-delay: 0.28s; }
.reveal:nth-child(6) { transition-delay: 0.35s; }

/* ── COFFEE BEAN ANIMATIONS ── */
.coffee-float-layer {
  position: absolute; inset: 0;
  pointer-events: none; overflow: hidden;
  z-index: 0;
  /* Clip beans within their host section even when section is overflow:visible */
  clip-path: inset(0);
}
.coffee-bean {
  position: absolute; opacity: 0.07;
  animation: beanDrift linear infinite;
  will-change: transform, opacity;
  color: var(--teal-light);
}
/* Legal body — light background, needs calibrated opacity */
.legal-body-wrap .coffee-bean { opacity: 0.05; color: var(--teal); }
[data-theme="dark"] .coffee-bean { opacity: 0.055; }
@keyframes beanDrift {
  0%   { transform: translateY(110%) rotate(0deg);   opacity: 0; }
  8%   { opacity: 0.07; }
  92%  { opacity: 0.07; }
  100% { transform: translateY(-110%) rotate(200deg); opacity: 0; }
}

/* ══════════════════════════════════
   NAVBAR
══════════════════════════════════ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  padding: 1.1rem 0;
  transition: background var(--t2) var(--ease2), padding var(--t2) var(--ease2), box-shadow var(--t2) var(--ease2);
}
#navbar.scrolled {
  background: rgba(253,251,247,0.97);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  padding: 0.7rem 0;
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0,0,0,0.04);
}
html[data-theme="dark"] #navbar.scrolled {
  background: rgba(14,26,22,0.97);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0,0,0,0.2);
}
.nav-container {
  max-width: 1140px; margin: 0 auto; padding: 0 2.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 68px; width: auto; transition: height var(--t2) var(--ease2); }
#navbar.scrolled .nav-logo img { height: 54px; }
.logo-light { display: block; }
.logo-dark  { display: none; }
#navbar.scrolled .logo-light { display: none; }
#navbar.scrolled .logo-dark  { display: block; }
html[data-theme="dark"] #navbar.scrolled .logo-light { display: block; }
html[data-theme="dark"] #navbar.scrolled .logo-dark  { display: none; }

.nav-links { display: flex; align-items: center; gap: 2.25rem; }
.nav-links > li > a {
  font-family: var(--fb); font-size: 0.88rem; font-weight: 400;
  letter-spacing: 0.03em; color: rgba(255,255,255,0.88);
  transition: color var(--t1);
  display: flex; align-items: center; gap: 4px;
  position: relative; padding-bottom: 2px;
}
.nav-links > li > a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: center;
  transition: transform var(--t2) var(--ease);
}
.nav-links > li > a.nav-active::after { transform: scaleX(1); }
#navbar.scrolled .nav-links > li > a { color: var(--text-primary); }
.nav-links > li > a:hover { color: var(--gold); }
#navbar.scrolled .nav-links > li > a:hover { color: var(--teal); }
html[data-theme="dark"] #navbar.scrolled .nav-links > li > a { color: var(--text-primary); }

.chevron { transition: transform var(--t1) var(--ease); flex-shrink: 0; }
.has-drop:hover .chevron { transform: rotate(180deg); }

.has-drop { position: relative; }
.nav-drop {
  position: absolute; top: calc(100% + 1rem); left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border); border-top: 2px solid var(--gold);
  border-radius: 0 0 var(--r) var(--r);
  box-shadow: var(--sh-deep); min-width: 280px; padding: 0.5rem;
  opacity: 0; pointer-events: none;
  transform: translateY(-6px);
  transition: opacity var(--t2) var(--ease), transform var(--t2) var(--ease);
}
.has-drop:hover .nav-drop,
.has-drop:focus-within .nav-drop,
.has-drop.drop-open .nav-drop { opacity: 1; pointer-events: auto; transform: translateY(0); }
.nav-drop a {
  display: flex; flex-direction: column; gap: 2px;
  padding: 0.72rem 0.9rem; border-radius: var(--r);
  transition: background var(--t1); color: var(--text-primary) !important;
}
.nav-drop a:hover { background: var(--bg-secondary); }
.dl { font-size: 0.84rem; font-weight: 500; display: flex; align-items: center; gap: 0.4rem; }
.ds { font-family: var(--fm); font-size: 0.62rem; letter-spacing: 0.04em; color: var(--text-muted); }
.drop-dim { opacity: 0.45; pointer-events: none; }
.soon-pill {
  font-family: var(--fm); font-size: 0.52rem; letter-spacing: 0.1em;
  text-transform: uppercase; font-style: normal;
  background: var(--gold); color: var(--teal-dark);
  padding: 2px 6px; border-radius: 10px;
}
.nav-cta {
  background: var(--gold) !important; color: var(--teal-dark) !important;
  padding-top: 0.75rem !important; padding-bottom: 0.75rem !important;
  padding-left: 1.75rem !important; padding-right: 1.75rem !important;
  border-radius: var(--r);
  font-size: 0.82rem !important; font-weight: 500 !important;
  letter-spacing: 0.04em !important;
  display: inline-flex !important; align-items: center !important;
  justify-content: center !important; line-height: 1 !important;
  vertical-align: middle !important; min-height: 44px !important;
  box-sizing: border-box !important;
}
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245,184,0,0.3); }
.nav-cta::after { display: none !important; }

.nav-right { display: flex; align-items: center; gap: 0.85rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: rgba(255,255,255,0.9); border-radius: 2px;
  transition: transform var(--t2) var(--ease), opacity var(--t2);
}
#navbar.scrolled .nav-toggle span { background: var(--text-primary); }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ══════════════════════════════════
   MOBILE DRAWER
══════════════════════════════════ */
.drawer-veil {
  position: fixed; inset: 0; background: rgba(6,21,16,0.65);
  z-index: 399; opacity: 0; pointer-events: none;
  transition: opacity var(--t2) var(--ease2);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.drawer-veil.open { opacity: 1; pointer-events: auto; }
#drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(340px, 82vw); z-index: 400;
  transform: translateX(100%);
  transition: transform var(--t3) var(--ease);
}
#drawer.open { transform: translateX(0); }
.drawer-panel {
  height: 100%; background: var(--teal-deeper);
  border-left: 1px solid rgba(245,184,0,0.2);
  display: flex; flex-direction: column; overflow-y: auto;
  position: relative;
}
/* Pattern texture on drawer */
.drawer-panel::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('../images/pattern.png');
  background-repeat: repeat; background-size: 160px auto;
  opacity: 0.06; pointer-events: none; z-index: 0;
}
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0; position: relative; z-index: 1;
}
.drawer-head img { height: 36px; width: auto; }
.drawer-x {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55);
  transition: color var(--t1), background var(--t1);
}
.drawer-x:hover { color: #fff; background: rgba(255,255,255,0.08); }
.drawer-nav { flex: 1; padding: 0.5rem 0; position: relative; z-index: 1; }
.drawer-nav a {
  display: block; padding: 0.95rem 1.75rem;
  font-size: 0.9rem; font-weight: 400; letter-spacing: 0.03em;
  color: rgba(255,255,255,0.75);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  opacity: 0; transform: translateX(12px);
  transition: color var(--t1), padding-left var(--t2) var(--ease),
    opacity 0.01s, transform 0.01s;
}
#drawer.open .drawer-nav a {
  transition: color var(--t1), padding-left var(--t2) var(--ease),
    opacity 0.4s var(--ease), transform 0.4s var(--ease);
  opacity: 1; transform: translateX(0);
}
#drawer.open .drawer-nav a:nth-child(1) { transition-delay: 0s,    0s,    0.06s, 0.06s; }
#drawer.open .drawer-nav a:nth-child(2) { transition-delay: 0s,    0s,    0.12s, 0.12s; }
#drawer.open .drawer-nav a:nth-child(3) { transition-delay: 0s,    0s,    0.18s, 0.18s; }
#drawer.open .drawer-nav a:nth-child(4) { transition-delay: 0s,    0s,    0.24s, 0.24s; }
#drawer.open .drawer-nav a:nth-child(5) { transition-delay: 0s,    0s,    0.30s, 0.30s; }
#drawer.open .drawer-nav a:nth-child(6) { transition-delay: 0s,    0s,    0.36s, 0.36s; }
.drawer-nav a:hover { color: var(--gold); padding-left: 2.1rem; }
.drawer-nav a.sub-link {
  font-size: 0.78rem; color: rgba(255,255,255,0.4);
  padding-left: 2.5rem; letter-spacing: 0.06em;
}
.drawer-nav a.sub-link:hover { color: var(--gold-light); padding-left: 2.85rem; }
.drawer-cta-btn {
  display: block; margin: 1.25rem 1.5rem 1.5rem;
  padding: 1rem; background: var(--gold); color: var(--teal-dark);
  font-family: var(--fb); font-size: 0.85rem; font-weight: 500;
  text-align: center; border-radius: var(--r); letter-spacing: 0.04em;
  transition: background var(--t1), transform var(--t1);
  flex-shrink: 0; position: relative; z-index: 1;
}
.drawer-cta-btn:hover { background: var(--gold-light); transform: translateY(-1px); }

/* ══════════════════════════════════
   HERO
══════════════════════════════════ */
#hero {
  min-height: 100vh; background: var(--teal-dark);
  display: flex; align-items: center;
  position: relative; overflow: hidden; padding: 8rem 0 5rem;
}
.hero-pattern {
  position: absolute; inset: 0;
  background-image: url('../images/pattern.png');
  background-repeat: repeat; background-size: 200px auto;
  opacity: 0.06; pointer-events: none;
}
.hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  opacity: 0.28; pointer-events: none; mix-blend-mode: overlay;
}
.hero-ring-accent {
  position: absolute; bottom: -120px; left: -80px;
  width: 480px; height: 480px; border-radius: 50%;
  border: 1px solid rgba(245,184,0,0.05);
  pointer-events: none;
  animation: ringAccentPulse 8s ease-in-out infinite;
}
@keyframes ringAccentPulse { 0%,100%{transform:scale(1);opacity:1;} 50%{transform:scale(1.04);opacity:0.5;} }

.hero-wrap {
  position: relative; z-index: 2;
  max-width: 1140px; margin: 0 auto; padding: 0 2.5rem;
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  align-items: center; gap: 5rem; width: 100%;
}
.hero-eyebrow-wrap {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1.75rem;
  opacity: 0; animation: fadeUp 0.8s var(--ease) 0.2s forwards;
}
.eyebrow {
  font-family: var(--fm); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: none; color: var(--gold);
  display: flex; align-items: center; gap: 1rem;
}
.eyebrow-bar { display: block; width: 28px; height: 1px; background: var(--gold); flex-shrink: 0; }
.hero-h1 {
  font-family: var(--fd);
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 600; line-height: 1.08; color: #fff;
  letter-spacing: -0.024em; margin-bottom: 1.75rem;
}
.hero-h1 .line1 { display: block; opacity: 0; animation: fadeUp 0.9s var(--ease) 0.35s forwards; }
.hero-h1 .line2 { display: block; opacity: 0; animation: fadeUp 0.9s var(--ease) 0.48s forwards; }
.hero-h1 .line3 { display: block; opacity: 0; animation: fadeUp 0.9s var(--ease) 0.61s forwards; }
.hero-h1 em { font-style: italic; color: var(--gold); }
.hero-p {
  font-size: 1rem; color: rgba(255,255,255,0.72); line-height: 1.87;
  max-width: 480px; margin-bottom: 2.5rem;
  opacity: 0; animation: fadeUp 0.9s var(--ease) 0.75s forwards;
}
.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem;
  opacity: 0; animation: fadeUp 0.9s var(--ease) 0.88s forwards;
}
.hero-meta {
  font-family: var(--fm); font-size: 0.58rem; letter-spacing: 0.14em;
  color: rgba(255,255,255,0.24);
  opacity: 0; animation: fadeUp 0.9s var(--ease) 1s forwards;
}
.hero-right {
  position: relative; display: flex; justify-content: center; align-items: center;
  opacity: 0; animation: fadeIn 1.2s var(--ease) 0.5s forwards;
}
.ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(245,184,0,0.14);
  animation: ringPulse 5s ease-in-out infinite; will-change: transform;
}
.r1 { width: 320px; height: 320px; }
.r2 { width: 410px; height: 410px; animation-delay: 1s; border-color: rgba(245,184,0,0.07); }
.r3 { width: 490px; height: 490px; animation-delay: 2s; border-color: rgba(245,184,0,0.03); }
.hero-img-box { position: relative; z-index: 2; animation: heroFloat 7s ease-in-out infinite; will-change: transform; }
.hero-img {
  width: 300px; max-width: 100%;
  border-radius: 50%; object-fit: cover; aspect-ratio: 1/1;
  filter: drop-shadow(0 32px 64px rgba(0,0,0,0.5));
}
.scroll-indicator {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.3); font-family: var(--fm); font-size: 0.56rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  opacity: 0; animation: fadeIn 1s var(--ease) 1.5s forwards;
  transition: opacity var(--t2); z-index: 2;
}
.scroll-indicator.gone { opacity: 0 !important; }
.scroll-indicator-bar {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.35), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes fadeUp    { from{opacity:0;transform:translateY(22px);} to{opacity:1;transform:translateY(0);} }
@keyframes fadeIn    { from{opacity:0;} to{opacity:1;} }
@keyframes ringPulse { 0%,100%{transform:scale(1);opacity:1;} 50%{transform:scale(1.04);opacity:0.4;} }
@keyframes heroFloat { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-16px);} }
@keyframes scrollPulse { 0%{transform:scaleY(0);transform-origin:top;} 50%{transform:scaleY(1);transform-origin:top;} 100%{transform:scaleY(1);transform-origin:bottom;opacity:0;} }

/* ══════════════════════════════════
   MARQUEE
══════════════════════════════════ */
.marquee { background: var(--gold); padding: 1.1rem 0; overflow: hidden; }
.mq-track { width: 100%; overflow: hidden; }
.mq-inner {
  display: flex; align-items: center; gap: 2.5rem;
  width: max-content; animation: marqueeScroll 32s linear infinite;
}
.mq-inner span {
  font-family: var(--fm); font-size: 0.6rem; font-weight: 400;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal-dark); white-space: nowrap;
}
.mdot { color: var(--teal-dark); opacity: 0.4; font-size: 0.45rem; flex-shrink: 0; }
.marquee:hover .mq-inner { animation-play-state: paused; }
@keyframes marqueeScroll { from{transform:translateX(0);} to{transform:translateX(-50%);} }

/* ══════════════════════════════════
   CREDENTIAL STRIP
══════════════════════════════════ */
.cred-strip {
  background: var(--bg-secondary);
  border-top: 2px solid var(--gold);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
}
.cred-strip-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 2rem; text-align: center;
}
.cs-item { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.cs-num {
  font-family: var(--fd); font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 500; font-style: italic;
  color: var(--gold-dark); line-height: 1; letter-spacing: -0.01em;
}
.cs-label {
  font-family: var(--fm); font-size: 0.56rem; font-weight: 400;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted);
}

/* ══════════════════════════════════
   PROPOSITION
══════════════════════════════════ */
#proposition { background: var(--bg-primary); position: relative; overflow: hidden; }
#proposition .dh { font-size: clamp(2.6rem, 4.5vw, 3.8rem); }
#proposition .bt { font-size: 1.02rem; }
.prop-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: start; position: relative; z-index: 1;
}
.prop-quote {
  font-family: var(--fd); font-size: 1.18rem; font-style: italic;
  color: var(--teal-dark); line-height: 1.65;
  border-left: 3px solid var(--gold);
  box-shadow: -4px 0 12px rgba(245,184,0,0.08);
  padding-left: 1.25rem; margin-top: 2rem;
}
[data-theme="dark"] .prop-quote { color: var(--gold-light); }
.prop-right { display: flex; flex-direction: column; }
.pillar {
  display: grid; grid-template-columns: 36px 1fr;
  gap: 0 1rem; padding: 1.6rem 0;
  border-bottom: 1px solid var(--border); position: relative;
}
.pillar::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 0;
  background: linear-gradient(90deg, rgba(27,107,90,0.05), transparent);
  transition: width var(--t2) var(--ease);
}
.pillar:hover::before { width: 100%; }
.pillar:first-child { border-top: 1px solid var(--border); }
.pillar-n { font-family: var(--fm); font-size: 0.56rem; letter-spacing: 0.1em; color: var(--gold-dark); padding-top: 3px; position: relative; }
.pillar h3 { font-family: var(--fd); font-size: 1.18rem; font-weight: 500; color: var(--teal-dark); margin-bottom: 0.35rem; line-height: 1.3; position: relative; }
[data-theme="dark"] .pillar h3 { color: #fff; }
.pillar p { font-size: 0.84rem; color: var(--text-body); line-height: 1.78; grid-column: 2; position: relative; }

/* ══════════════════════════════════
   BRIDGE
══════════════════════════════════ */
.bridge-dark { background: var(--bg-dark); position: relative; overflow: hidden; }
.bridge-grain {
  position: absolute; inset: 0;
  background-image: url('../images/pattern.png');
  background-repeat: repeat; background-size: 180px auto;
  opacity: 0.055; pointer-events: none;
  z-index: 0;
}
.bridge-dark > *:not(.section-seal) { position: relative; z-index: 1; }
.bridge-head { text-align: center; max-width: 700px; margin: 0 auto 4.5rem; position: relative; }
.bridge-grid { display: grid; grid-template-columns: repeat(3,1fr); position: relative; }
.bridge-panel {
  padding: 3rem 2.5rem;
  background: rgba(255,255,255,0.022);
  border-right: 1px solid rgba(255,255,255,0.05);
  transition: background var(--t2); position: relative; overflow: hidden;
}
.bridge-panel:last-child { border-right: none; }
.bridge-panel::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--teal-light), var(--gold));
  opacity: 0; transition: opacity var(--t2);
}
.bridge-panel:hover { background: rgba(255,255,255,0.045); }
.bridge-panel:hover::after { opacity: 1; }
.bp-num { font-family: var(--fd); font-size: 2rem; font-style: italic; color: rgba(245,184,0,0.25); margin-bottom: 1.25rem; display: block; }
.bridge-panel h3 { font-family: var(--fd); font-size: 1.18rem; font-weight: 500; color: #fff; margin-bottom: 0.85rem; line-height: 1.3; }
.bridge-panel p { font-size: 0.85rem; color: rgba(255,255,255,0.65); line-height: 1.87; }

/* ══════════════════════════════════
   PROOF OF WORK
══════════════════════════════════ */
.proof-section { background: var(--bg-secondary); position: relative; overflow: hidden; }
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.proof-img-wrap { position: relative; border-radius: var(--rl); overflow: hidden; }
.proof-img { width: 100%; height: 400px; object-fit: cover; border-radius: var(--rl); transition: transform var(--t3) var(--ease); display: block; }
.proof-img-wrap:hover .proof-img { transform: scale(1.03); }
.proof-img-placeholder {
  width: 100%; height: 400px; border-radius: var(--rl);
  background: var(--bg-dark); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1rem; position: relative; overflow: hidden;
}
.proof-img-placeholder::before {
  content: ''; position: absolute; inset: 0;
  background-image: url('../images/pattern.png');
  background-repeat: repeat; background-size: 140px auto; opacity: 0.07;
}
.proof-placeholder-label { font-family: var(--fm); font-size: 0.58rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.28); position: relative; }
.proof-badge {
  position: absolute; bottom: 1.25rem; left: 1.25rem;
  background: var(--gold); color: var(--teal-dark);
  font-family: var(--fm); font-size: 0.56rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 20px;
}
.proof-text p { font-size: 0.9rem; color: var(--text-body); line-height: 1.87; margin-bottom: 1rem; }
.proof-text a { color: var(--teal); transition: color var(--t1); }
.proof-text a:hover { color: var(--gold-dark); }
.proof-quote {
  font-family: var(--fd); font-size: 1.18rem; font-style: italic;
  color: var(--teal-dark); line-height: 1.65;
  border-left: 3px solid var(--gold);
  box-shadow: -4px 0 12px rgba(245,184,0,0.08);
  padding-left: 1.25rem; margin: 1.75rem 0;
}
[data-theme="dark"] .proof-quote { color: var(--gold-light); }

/* ══════════════════════════════════
   FARMER
══════════════════════════════════ */
#farmer { background: var(--bg-primary); position: relative; overflow: hidden; }
.farmer-head { margin-bottom: 3.5rem; }
.journey-grid { display: grid; grid-template-columns: repeat(2,1fr); }
.jitem {
  display: flex; gap: 1.5rem; padding: 2rem 1.75rem;
  border-bottom: 1px solid var(--border); border-right: 1px solid var(--border);
  transition: background var(--t2); align-items: flex-start;
  box-shadow: var(--sh-rest);
  position: relative; z-index: 0;
}
.jitem:nth-child(even) { border-right: none; }
.jitem:nth-last-child(1) { border-bottom: none; }
.jitem:nth-last-child(2) { border-bottom: none; }
@media (max-width: 900px) {
  .jitem:nth-last-child(2) { border-bottom: 1px solid var(--border) !important; }
}
.jitem:hover { background: rgba(232,245,241,0.5); box-shadow: var(--sh-hover); z-index: 1; }
[data-theme="dark"] .jitem:hover { background: rgba(27,107,90,0.08); }
.jicon {
  width: 42px; height: 42px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--teal-faint); color: var(--teal);
  transition: background var(--t1), color var(--t1);
}
.jitem:hover .jicon { background: var(--teal-dark); color: #fff; }
.jtext h3 { font-family: var(--fd); font-size: 1.05rem; font-weight: 500; color: var(--teal-dark); margin-bottom: 0.35rem; line-height: 1.3; }
[data-theme="dark"] .jtext h3 { color: #fff; }
.jtext p { font-size: 0.83rem; color: var(--text-body); line-height: 1.8; }

/* ══════════════════════════════════
   COFFEE
══════════════════════════════════ */
.coffee-bg { background: var(--bg-secondary); position: relative; overflow: hidden; }
.coffee-head { margin-bottom: 3.5rem; }
.cat-pill {
  display: inline-block; font-family: var(--fm); font-size: 0.56rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--teal-dark); color: #fff;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 1rem;
}
.cat-pill--gold { background: var(--gold); color: var(--teal-dark); }
.cat-title { font-family: var(--fd); font-size: 1.55rem; font-weight: 500; color: var(--teal-dark); margin-bottom: 0.6rem; line-height: 1.2; }
[data-theme="dark"] .cat-title { color: #fff; }
.cat-sub { font-size: 0.86rem; color: var(--text-body); line-height: 1.78; max-width: 540px; }
.coffee-cat { margin-bottom: 3rem; }
.cat-head { margin-bottom: 2.5rem; }

.zones { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; margin-bottom: 2rem; }
.zone {
  background: var(--bg-card); border-radius: var(--rl);
  overflow: hidden;
  box-shadow: var(--sh-rest);
  border: 1px solid rgba(245,184,0,0.12);
  transition: box-shadow var(--t2) var(--ease), transform var(--t2) var(--ease), border-color var(--t2);
}
.zone.metal-border--a,
.zone.metal-border--b { border-radius: var(--rl); }
@media (hover: hover) {
  .zone:hover { box-shadow: var(--sh-hover); transform: translateY(-3px); }
}
.zone-top { background: var(--teal-dark); padding: 1.75rem; position: relative; overflow: hidden; }
.zone-top::after {
  content: ''; position: absolute; right: -10px; top: 0; bottom: 0; width: 60px;
  background-image: url('../images/pattern.png');
  background-repeat: repeat-y; background-size: 100% auto; opacity: 0.08;
}
.zt { font-family: var(--fm); font-size: 0.54rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.zone-top h4 { font-family: var(--fd); font-size: 1.18rem; font-weight: 500; color: #fff; line-height: 1.2; margin-bottom: 0.3rem; }
.zgeo { font-family: var(--fm); font-size: 0.58rem; letter-spacing: 0.05em; color: rgba(255,255,255,0.4); }
.zone-body { padding: 1.5rem 1.75rem; }
.zalt { font-family: var(--fm); font-size: 0.58rem; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 0.85rem; }
.zflavours { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.85rem; }
.zflavours span { font-size: 0.72rem; color: var(--teal); background: var(--teal-faint); padding: 0.2rem 0.65rem; border-radius: 20px; font-weight: 500; }
.zdesc { font-size: 0.82rem; color: var(--text-body); line-height: 1.78; margin-bottom: 0.85rem; }
.zprocess { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.zprocess span { font-family: var(--fm); font-size: 0.54rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); border: 1px solid var(--border); padding: 0.18rem 0.55rem; border-radius: 2px; }

.robusta-bar { background: var(--bg-dark); border-radius: var(--rl); padding: 2rem 2.5rem; margin-bottom: 2rem; }
.rb-inner { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.rb-label { font-family: var(--fd); font-size: 1.08rem; font-weight: 500; color: #fff; margin-bottom: 0.3rem; }
.rb-sub { font-size: 0.82rem; color: rgba(255,255,255,0.5); line-height: 1.65; max-width: 500px; }
.robusta-bar .btn { margin-left: auto; flex-shrink: 0; }

.green-block {
  background: var(--bg-card); border-left: 3px solid var(--gold);
  border-radius: var(--rl); padding: 3rem;
  box-shadow: var(--sh-rest);
}
.gb-inner { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: start; }
.gb-text h3 { font-family: var(--fd); font-size: 1.5rem; font-weight: 500; color: var(--teal-dark); margin: 0.75rem 0; line-height: 1.2; }
[data-theme="dark"] .gb-text h3 { color: #fff; }
.gb-text p { font-size: 0.88rem; color: var(--text-body); line-height: 1.82; margin-bottom: 1.25rem; }
.gb-list { display: flex; flex-direction: column; }
.gb-list li { font-size: 0.84rem; color: var(--text-body); padding: 0.45rem 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 0.7rem; }
.gb-list li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }
.gb-list li:last-child { border-bottom: none; }
.gb-cta { flex-shrink: 0; }

/* ══════════════════════════════════
   CREDENTIALS
══════════════════════════════════ */
.cred-dark { background: var(--bg-darkest); position: relative; overflow: hidden; }
.cred-grain { position: absolute; inset: 0; background-image: url('../images/pattern.png'); background-repeat: repeat; background-size: 180px auto; opacity: 0.18; pointer-events: none; z-index: 0; }
.cred-dark > *:not(.section-seal) { position: relative; z-index: 1; }
.cred-head { text-align: center; max-width: 640px; margin: 0 auto 4.5rem; position: relative; }
.cred-grid { display: grid; grid-template-columns: repeat(2,1fr); }
.ccard {
  padding: 3rem 2.5rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(245,184,0,0.15);
  border-top: 2px solid var(--gold);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  transition: background var(--t2); position: relative; overflow: hidden;
}
.ccard::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,184,0,0.3), transparent);
  opacity: 0; transition: opacity var(--t2);
}
.ccard:hover { background: rgba(255,255,255,0.025); }
.ccard:hover::after { opacity: 1; }
.ccard-period { font-family: var(--fm); font-size: 0.56rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.ccard h3 { font-family: var(--fd); font-size: 1.18rem; font-weight: 500; color: #fff; margin-bottom: 0.75rem; line-height: 1.3; }
.ccard p { font-size: 0.84rem; color: rgba(255,255,255,0.58); line-height: 1.87; }

/* ══════════════════════════════════
   WHO WE WORK WITH
══════════════════════════════════ */
#who { background: var(--bg-primary); position: relative; overflow: hidden; }
.who-head { max-width: 580px; margin-bottom: 3.5rem; }
.who-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }

/* Metal border who-cards — key conversion cards */
.wcard {
  background: var(--bg-card);
  border-radius: var(--rl); padding: 2.5rem 2rem;
  position: relative; overflow: hidden;
  box-shadow: var(--sh-rest);
  /* Firefox fallback — mask-composite not always supported */
  border: 1px solid rgba(245,184,0,0.18);
  transition: box-shadow var(--t2) var(--ease), transform var(--t2) var(--ease), border-color var(--t2);
}
/* Metal sheen border via pseudo */
.wcard::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--rl);
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.06) 0%,
    rgba(245,184,0,0.5) 30%,
    rgba(255,255,255,0.14) 50%,
    rgba(15,74,61,0.45) 75%,
    rgba(255,255,255,0.04) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none; opacity: 0.6;
  transition: opacity var(--t2);
}
.wcard:nth-child(2)::before {
  background: linear-gradient(155deg, rgba(255,255,255,0.04) 0%, rgba(15,74,61,0.45) 20%, rgba(245,184,0,0.55) 50%, rgba(255,255,255,0.12) 70%, rgba(15,74,61,0.35) 100%);
}
.wcard:nth-child(3)::before {
  background: linear-gradient(120deg, rgba(15,74,61,0.4) 0%, rgba(255,255,255,0.08) 30%, rgba(245,184,0,0.5) 55%, rgba(255,255,255,0.1) 75%, rgba(15,74,61,0.4) 100%);
}
@media (hover: hover) {
  .wcard:hover { box-shadow: var(--sh-hover); transform: translateY(-4px); }
  .wcard:hover::before { opacity: 1; }
}
.wcard--primary { box-shadow: var(--sh-rest), 0 0 0 1px rgba(245,184,0,0.2); }
.wcard--primary:hover { box-shadow: var(--sh-hover), 0 0 0 1px rgba(245,184,0,0.35); }

.wn { position: absolute; top: 1.5rem; right: 1.75rem; font-family: var(--fm); font-size: 0.56rem; letter-spacing: 0.1em; color: var(--border); }
.wicon { width: 44px; height: 44px; border-radius: 2px; background: var(--teal-faint); display: flex; align-items: center; justify-content: center; color: var(--teal); margin-bottom: 1.25rem; }
.wcard h3 { font-family: var(--fd); font-size: 1.1rem; font-weight: 500; color: var(--teal-dark); margin-bottom: 0.65rem; line-height: 1.3; }
[data-theme="dark"] .wcard h3 { color: #fff; }
.wcard p { font-size: 0.83rem; color: var(--text-body); line-height: 1.8; margin-bottom: 1.5rem; }
.wlink {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--fm); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--teal); border-bottom: 1px solid rgba(27,107,90,0.3); padding-bottom: 2px;
  transition: color var(--t1), border-color var(--t1), gap var(--t1);
}
.wlink:hover { color: var(--gold-dark); border-color: var(--gold-dark); gap: 0.65rem; }

/* ══════════════════════════════════
   CONTACT
══════════════════════════════════ */
.contact-dark { background: var(--bg-dark); position: relative; overflow: hidden; }
.contact-grain { position: absolute; inset: 0; background-image: url('../images/pattern.png'); background-repeat: repeat; background-size: 160px auto; opacity: 0.06; pointer-events: none; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; position: relative; }
.contact-left h2 { color: #fff !important; }
.contact-left p { font-size: 0.93rem; color: rgba(255,255,255,0.65); line-height: 1.85; margin-bottom: 1.25rem; max-width: 400px; }
.cdetail { margin-top: 1.75rem; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,0.08); }
.cdl { font-family: var(--fm); font-size: 0.56rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 0.4rem; }
.cdv { font-size: 0.9rem; color: var(--gold); transition: color var(--t1); }
a.cdv:hover { color: var(--gold-light); }
.contact-closing {
  margin-top: 3rem; text-align: center; padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.contact-closing p {
  font-family: var(--fd); font-size: 1.12rem; font-style: italic;
  color: rgba(255,255,255,0.5); line-height: 1.65; max-width: 560px; margin: 0 auto;
}
.cform { display: flex; flex-direction: column; gap: 1.1rem; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fg { display: flex; flex-direction: column; gap: 6px; }
.fl { font-family: var(--fm); font-size: 0.56rem; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.42); }
.fc {
  width: 100%; padding: 0.82rem 1rem;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r); color: #fff; font-family: var(--fb); font-size: 0.86rem;
  transition: border-color var(--t1), background var(--t1), box-shadow var(--t1);
  outline: none; -webkit-appearance: none; appearance: none;
}
.fc::placeholder { color: rgba(255,255,255,0.22); }
.fc:focus { border-color: var(--gold); background: rgba(255,255,255,0.1); box-shadow: 0 0 0 3px rgba(245,184,0,0.1); }
select.fc {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1L5 5L9 1' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
  padding-right: 2.5rem; cursor: pointer;
}
select.fc option { background: var(--teal-dark); color: #fff; }
textarea.fc { resize: vertical; min-height: 120px; }
.ffoot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 0.5rem; }
.fnote { font-family: var(--fm); font-size: 0.58rem; letter-spacing: 0.06em; color: rgba(255,255,255,0.22); }
#form-status { font-family: var(--fm); font-size: 0.76rem; color: var(--gold); min-height: 1.2em; letter-spacing: 0.04em; }

/* Submit spinner */
.btn-spinner {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid rgba(15,74,61,0.3); border-top-color: var(--teal-dark);
  animation: spin 0.7s linear infinite; display: none;
}
.btn--loading .btn-spinner { display: block; }
.btn--loading svg { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ══════════════════════════════════
   COOKIE
══════════════════════════════════ */
#cookie-notice {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 600;
  background: var(--teal-darkest); border-top: 1px solid rgba(245,184,0,0.18);
  padding: 1.25rem 2rem;
  transform: translateY(100%); transition: transform var(--t2) var(--ease);
}
#cookie-notice.visible { transform: translateY(0); }
.cookie-inner { max-width: 1140px; margin: 0 auto; display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cookie-text { font-size: 0.8rem; color: rgba(255,255,255,0.55); line-height: 1.6; flex: 1; }
.cookie-text a { color: var(--gold); border-bottom: 1px solid transparent; transition: border-color var(--t1); }
.cookie-text a:hover { border-color: var(--gold); }
.cookie-accept {
  font-family: var(--fm); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--teal-dark); background: var(--gold); border: none;
  padding: 0.55rem 1.25rem; border-radius: var(--r); cursor: pointer;
  transition: background var(--t1); flex-shrink: 0;
}
.cookie-accept:hover { background: var(--gold-light); }

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
#footer { background: #040C09; padding: 5rem 0 2.5rem; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
.foot-brand img { height: 48px; width: auto; margin-bottom: 1.25rem; }
.foot-brand p { font-size: 0.82rem; color: rgba(255,255,255,0.36); line-height: 1.78; max-width: 260px; margin-bottom: 0.75rem; }
.foot-sig { font-family: var(--fd); font-style: italic; font-size: 0.9rem; color: var(--gold); opacity: 0.7; }
.foot-col h5 { font-family: var(--fm); font-size: 0.54rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.22); margin-bottom: 1.25rem; }
.foot-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.foot-col ul a { font-size: 0.82rem; color: rgba(255,255,255,0.48); transition: color var(--t1); }
.foot-col ul a:hover { color: var(--gold); }
.foot-legal { display: flex; gap: 1rem; margin-top: 1rem; }
.foot-legal a { font-family: var(--fm); font-size: 0.58rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.25); transition: color var(--t1); }
.foot-legal a:hover { color: var(--gold); }
.foot-base { padding-top: 2rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.foot-base p { font-family: var(--fm); font-size: 0.6rem; letter-spacing: 0.04em; color: rgba(255,255,255,0.16); }

/* ══════════════════════════════════
   LEGAL PAGES
══════════════════════════════════ */
.legal-hero {
  background: var(--teal-dark); padding: 8rem 0 3rem;
  position: relative; overflow: hidden;
  margin-bottom: 0;
}
/* Section seal handles the legal hero boundary */
.legal-hero-pattern {
  position: absolute; inset: 0;
  background-image: url('../images/pattern.png');
  background-repeat: repeat; background-size: 200px auto; opacity: 0.06;
}
.legal-hero .container { position: relative; z-index: 1; }
.legal-hero h1 { font-family: var(--fd); font-size: clamp(2.2rem,5vw,3.4rem); font-weight: 500; color: #fff; margin-bottom: 0.75rem; }
.legal-hero p { font-family: var(--fm); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.38); }
.legal-body-wrap {
  position: relative; overflow: hidden;
  background: var(--bg-primary);
  display: block;
}
.legal-body-pattern {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: url('../images/pattern.png');
  background-repeat: repeat; background-size: 200px auto;
  opacity: 0.06;
}
/* legal-body-wrap pattern rendered via .legal-body-pattern div — no duplicate needed */
.legal-body { max-width: 760px; margin: 0 auto; padding: 3.5rem 2.5rem 5rem; position: relative; z-index: 1; }
@media (max-width: 580px) { .legal-body { padding: 4rem 1.5rem; } }
.legal-body h2 { font-family: var(--fd); font-size: 1.4rem; font-weight: 500; color: var(--teal-dark); margin: 2.5rem 0 0.75rem; }
[data-theme="dark"] .legal-body h2 { color: var(--gold-light); }
.legal-body p { font-size: 0.92rem; color: var(--text-body); line-height: 1.87; margin-bottom: 1rem; }
.legal-body ul { margin: 0.75rem 0 1rem 1.25rem; }
.legal-body ul li { font-size: 0.9rem; color: var(--text-body); line-height: 1.82; margin-bottom: 0.4rem; list-style: disc; }
.legal-body a { color: var(--teal); border-bottom: 1px solid rgba(27,107,90,0.3); transition: color var(--t1); }
.legal-body a:hover { color: var(--gold-dark); }
.legal-divider { width: 40px; height: 2px; background: var(--gold); margin: 2rem 0; }


/* ══════════════════════════════════
   UGANDA MAP — origin coffee section
══════════════════════════════════ */
.coffee-head-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.uganda-map-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.uganda-map {
  width: 100%;
  max-width: 420px;
  height: auto;
  stroke: var(--gold-dark);
  opacity: 0.9;
  transition: opacity var(--t2);
}

/* Light mode — gold-dark stroke */
.uganda-map { stroke: var(--gold-dark); }

/* Dark mode — slightly brighter gold */
[data-theme="dark"] .uganda-map { stroke: var(--gold); opacity: 0.8; }

/* Path draw animation */
#uganda-path {
  stroke-dasharray: 0;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 2.2s cubic-bezier(0.4, 0, 0.2, 1);
}
#uganda-path.drawing {
  /* Values set by JS via getTotalLength() */
}

/* Breathing pulse — added by JS after draw completes */
@keyframes mapBreath {
  0%,100% { opacity: 0.9; }
  50%      { opacity: 0.55; }
}
.uganda-map.breathing {
  animation: mapBreath 3.5s ease-in-out infinite;
}
[data-theme="dark"] .uganda-map.breathing {
  animation: mapBreath 3.5s ease-in-out infinite;
}

/* Mobile — hide map entirely */
@media (max-width: 900px) {
  .coffee-head-grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 2.5rem;
  }
  .uganda-map-wrap { display: none; }
}

/* Tablet — slightly narrower map column */
@media (max-width: 1024px) and (min-width: 901px) {
  .coffee-head-grid { gap: 2.5rem; }
  .uganda-map { max-width: 320px; }
}

/* ══════════════════════════════════
   RESPONSIVE — 1024px (tablet)
══════════════════════════════════ */
@media (max-width: 1024px) {
  .prop-grid { gap: 3.5rem; }
  .proof-grid { gap: 3.5rem; }
  .contact-grid { gap: 3.5rem; }
  .ccard { min-height: 220px; }
  .who-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .who-grid .wcard:nth-child(3) { grid-column: span 2; margin: 0 auto; width: 100%; max-width: 100%; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .cred-strip { padding: 2.5rem 0; }
  .gb-inner { grid-template-columns: 1fr; }
  .gb-cta { display: block; }
}

/* ══════════════════════════════════
   RESPONSIVE — 900px (mobile nav)
══════════════════════════════════ */
@media (max-width: 900px) {
  .pad { padding: 6rem 0; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero-wrap { grid-template-columns: 1fr; text-align: center; }
  .hero-right { display: none; }
  .hero-p { margin: 0 auto 2.5rem; }
  .hero-actions { justify-content: center; }

  /* Eyebrow labels — force left-align on mobile for all centred labels */
  .label--center {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    margin-left: 0; margin-right: 0;
  }
  .label--center::before { display: block; }
  .label--center::after  { display: none; }
  /* Eyebrow centring at mobile breakpoint */
  .hero-eyebrow-wrap { flex-direction: column; align-items: center; gap: 0.45rem; }
  .hero-eyebrow-wrap .eyebrow-rule-top { display: block; width: 24px; height: 1px; background: var(--gold); }
  .hero-eyebrow-wrap .eyebrow .eyebrow-bar { display: none; }
  .hero-eyebrow-wrap .eyebrow { justify-content: center; }
  .prop-grid { grid-template-columns: 1fr; gap: 3rem; }
  .bridge-grid { grid-template-columns: 1fr; }
  /* Centre labels in text-centred mobile sections */
  .bridge-head .label, .cred-head .label, .who-head .label, .contact-left .label {
    justify-content: center;
  }
  .bridge-head .label::before, .cred-head .label::before { display: none; }
  .bridge-head .label::after, .cred-head .label::after {
    content: ''; display: block; width: 20px; height: 1px; background: var(--gold); flex-shrink: 0;
  }
  .bridge-panel { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .bridge-panel:last-child { border-bottom: none; }
  .proof-grid { grid-template-columns: 1fr; gap: 3rem; }
  .journey-grid { grid-template-columns: 1fr; }
  .jitem { border-right: none; border-bottom: 1px solid var(--border); }
  .jitem:last-child { border-bottom: none; }
  .zones { grid-template-columns: 1fr; }
  .cred-grid { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr; max-width: 520px; }
  .who-grid .wcard:nth-child(3) { grid-column: auto; max-width: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .frow { grid-template-columns: 1fr; }
  .rb-inner { flex-direction: column; align-items: flex-start; }
  .robusta-bar .btn { margin-left: 0; }
  .cred-strip-grid { grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
}


  /* Issue 1: "The model" and "Engage with us" — left-align on mobile/tablet
     These are label--center label--lt (dark background sections)
     Force them to behave like standard left-aligned labels */
  .contact-left .label,
  .who-head .label {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    margin-left: 0;
  }
  .contact-left .label::before,
  .who-head .label::before { display: block; }
  .contact-left .label::after,
  .who-head .label::after  { display: none; }

  /* Issue 2: "How it works" and "Core credentials" — line ABOVE text, centred stack
     Like the hero eyebrow treatment on mobile */
  .bridge-head .label--center,
  .cred-head .label--center {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
  }
  .bridge-head .label--center::before,
  .cred-head .label--center::before {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--gold);
    content: '';
    flex-shrink: 0;
  }
  .bridge-head .label--center::after,
  .cred-head .label--center::after { display: none; }
/* ══════════════════════════════════
   RESPONSIVE — 580px (mobile)
══════════════════════════════════ */
@media (max-width: 580px) {
  .container { padding: 0 1.5rem; }
  .label { letter-spacing: 0.14em; }
  .nav-container { padding: 0 1.5rem; }
  .hero-wrap { padding: 0 1.5rem; }
  /* s-rule padding preserved at mobile */
  .pad { padding: 5rem 0; }
  .hero-h1 { font-size: 2.6rem; }
  .dh { font-size: 1.9rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .bridge-panel { padding: 2rem 1.5rem; }
  .green-block { padding: 2rem 1.5rem; }
  .ccard { padding: 2rem 1.5rem; }
  .ffoot { flex-direction: column; align-items: flex-start; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-base { flex-direction: column; text-align: center; }
  .contact-closing p { font-size: 0.92rem; }
  .proof-img { height: 280px; }
}

/* ══════════════════════════════════
   ACCESSIBILITY
══════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .mq-inner { animation: none; }
  body { opacity: 1; animation: none; }
  .hero-h1 .line1, .hero-h1 .line2, .hero-h1 .line3,
  .hero-eyebrow-wrap, .hero-p, .hero-actions, .hero-meta,
  .hero-right, .scroll-indicator { opacity: 1; animation: none; }
  .reveal { opacity: 1; transform: none; }
  .coffee-bean { animation: none; opacity: 0; }
}
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
