/* ============================================================
   SOCA COFFEE — STYLESHEET v2 (Royal Coffee ambience)
   Brand burgundy: #5C1F2E | Cream: #F5EDE3 | Gold: #C9973A
   Font: Montserrat
============================================================ */

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

:root {
  --burgundy:    #5C1F2E;
  --burgundy-dk: #3E1220;
  --burgundy-lt: #7a2a3d;
  --cream:       #F7F0E8;
  --cream-dk:    #EDE0D2;
  --off-white:   #FAFAF8;
  --gold:        #C9973A;
  --gold-lt:     #dda84a;
  --white:       #FFFFFF;
  --text-dark:   #1C1008;
  --text-mid:    #4a3a2e;
  --text-muted:  #8a7a6e;
  --border:      #E8DDD4;
  --border-lt:   #F0E8E0;

  --font: 'Montserrat', 'Helvetica Neue', sans-serif;
  --radius: 4px;
  --tr: 0.22s ease;
  --nav-h: 68px;
  --section-v: 96px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---- CONTAINER ---- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---- UTILITY ---- */
.eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}
.eyebrow-gold { color: var(--gold); }
.eyebrow-dark { color: var(--burgundy); }

.section-header { max-width: 620px; margin-bottom: 56px; }
.section-header h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.12;
  margin-bottom: 16px;
}
.section-desc-dark {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--tr);
  line-height: 1;
}

.btn-burgundy {
  background: var(--burgundy);
  color: var(--white);
  border-color: var(--burgundy);
}
.btn-burgundy:hover { background: var(--burgundy-lt); border-color: var(--burgundy-lt); }

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-lt); border-color: var(--gold-lt); }

.btn-ghost-dark {
  background: transparent;
  color: var(--text-dark);
  border-color: rgba(28,16,8,0.25);
}
.btn-ghost-dark:hover { border-color: var(--text-dark); }

.btn-outline-dark {
  background: transparent;
  color: var(--burgundy);
  border-color: var(--burgundy);
}
.btn-outline-dark:hover { background: var(--burgundy); color: var(--white); }

.btn-block { display: block; width: 100%; text-align: center; margin-top: 24px; }


/* ============================================================
   NAVIGATION — always white, always color logo
============================================================ */

#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border-lt);
  transition: box-shadow var(--tr);
}

#navbar.nav-scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.06); }

.nav-inner {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: 32px;
}

.logo-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2px;
  margin-left: auto;
}

.nav-links a {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-mid);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: var(--tr);
}
.nav-links a:hover, .nav-links a.active { color: var(--burgundy); background: rgba(92,31,46,0.05); }

.nav-links a.nav-cta {
  color: var(--white);
  background: var(--burgundy);
  padding: 8px 18px;
}
.nav-links a.nav-cta:hover { background: var(--burgundy-lt); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 22px; height: 15px;
  background: none; border: none;
  cursor: pointer; margin-left: auto; padding: 0;
}
.hamburger span {
  display: block; height: 1.5px; width: 100%;
  background: var(--text-dark); border-radius: 2px; transition: var(--tr);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border-lt);
  padding: 8px 0 12px;
}
.mobile-menu.open { display: flex; }

.mobile-link {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-mid);
  padding: 12px 40px;
  transition: var(--tr);
}
.mobile-link:hover { color: var(--burgundy); background: var(--cream); }


/* ============================================================
   HERO — split layout
============================================================ */

.hero {
  display: flex;
  min-height: 100vh;
  padding-top: var(--nav-h);
  background: var(--white);
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px 80px 40px;
  max-width: 600px;
  margin-left: calc((100% - 1160px) / 2);
  padding-left: 40px;
}

.hero-eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 20px;
}

.hero-text h1 {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.06;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.78;
  margin-bottom: 40px;
  max-width: 460px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Visual panel */
.hero-visual {
  flex: 0 0 42%;
  background: var(--burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.hero-visual-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
  padding: 48px;
  text-align: center;
}

/* Concentric rings decoration */
.hero-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
}
.ring-1 { width: 320px; height: 320px; }
.ring-2 { width: 480px; height: 480px; }
.ring-3 { width: 640px; height: 640px; }

.hero-logo-bg {
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.hero-visual-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 8px;
}

.hero-visual-sub {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
  margin-top: -8px;
}


/* ============================================================
   TRUST BAND
============================================================ */

.trust-band {
  background: var(--white);
  border-top: 1px solid var(--border-lt);
  border-bottom: 1px solid var(--border-lt);
}

.trust-inner {
  display: flex;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 28px;
  gap: 0;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 140px;
  padding: 8px 20px;
}

.trust-icon { flex-shrink: 0; }

.trust-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

.trust-item span {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 2px;
}

.trust-div {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}


/* ============================================================
   SECTION BACKGROUNDS
============================================================ */

.section-white { background: var(--white);  padding: var(--section-v) 0; }
.section-cream { background: var(--off-white); padding: var(--section-v) 0; }


/* ============================================================
   ABOUT
============================================================ */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.about-left h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.12;
  margin-bottom: 20px;
}

.about-left p {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.78;
  margin-bottom: 16px;
}

.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }

.tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--burgundy);
  background: rgba(92,31,46,0.06);
  border: 1px solid rgba(92,31,46,0.14);
  padding: 6px 12px;
  border-radius: var(--radius);
}

/* Acronym block */
.acronym-block {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.acronym-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--border-lt);
  transition: background var(--tr);
}
.acronym-item:last-child { border-bottom: none; }
.acronym-item:hover { background: var(--off-white); }

.acr-letter {
  font-size: 26px;
  font-weight: 700;
  color: var(--burgundy);
  line-height: 1;
  flex-shrink: 0;
  width: 32px;
}

.acr-text strong {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  display: block;
  margin-bottom: 4px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.acr-text p {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}


/* ============================================================
   ORIGINS — Interactive Map
============================================================ */

/* Layout: map left, panel right */
.origins-interactive {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: start;
  margin-bottom: 32px;
  min-height: 420px;
}

/* ---- SVG Map ---- */
.map-container {
  background: #9CBDD6; /* matches bottom of ocean gradient */
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 6px 32px rgba(0,0,0,0.10);
}

.indonesia-map {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* Graticule (lat/lon grid lines) */
.graticule-line {
  fill: none;
  stroke: rgba(255,255,255,0.22);
  stroke-width: 0.5;
}

/* Sea name labels */
.sea-label {
  font-family: var(--font);
  font-size: 9px;
  font-weight: 400;
  font-style: italic;
  fill: rgba(60,100,130,0.55);
  text-anchor: middle;
  letter-spacing: 0.12em;
  pointer-events: none;
  text-transform: uppercase;
}

/* Islands — fill/stroke set inline by D3 (3D extrusion layers + top face) */
.island {
  transition: filter 0.2s ease;
}

/* Active-pin state: lift the whole island group slightly */
.islands { transition: transform 0.2s ease; }

/* Origin Pins */
.origin-pin {
  cursor: pointer;
  outline: none;
}

.pin-pulse {
  fill: var(--gold);
  opacity: 0.2;
  animation: pin-pulse 2.4s ease-out infinite;
  transform-origin: center;
}

@keyframes pin-pulse {
  0%   { r: 8;  opacity: 0.25; }
  70%  { r: 20; opacity: 0;    }
  100% { r: 8;  opacity: 0;    }
}

/* Different delay per pin to avoid sync */
.origin-pin:nth-of-type(2) .pin-pulse { animation-delay: 0.48s; }
.origin-pin:nth-of-type(3) .pin-pulse { animation-delay: 0.96s; }
.origin-pin:nth-of-type(4) .pin-pulse { animation-delay: 1.44s; }
.origin-pin:nth-of-type(5) .pin-pulse { animation-delay: 1.92s; }

.pin-ring {
  fill: var(--white);
  stroke: var(--gold);
  stroke-width: 2;
  transition: fill var(--tr), stroke var(--tr);
}

.pin-dot {
  fill: var(--gold);
  transition: fill var(--tr), r var(--tr);
}

.pin-label {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  fill: var(--text-dark);
  text-anchor: middle;
  letter-spacing: 0.04em;
  pointer-events: none;
  paint-order: stroke;
  stroke: var(--white);
  stroke-width: 3;
  stroke-linejoin: round;
}

/* Hover state */
.origin-pin:hover .pin-ring,
.origin-pin:focus .pin-ring {
  fill: var(--gold);
  stroke: var(--gold);
}
.origin-pin:hover .pin-dot,
.origin-pin:focus .pin-dot {
  fill: var(--white);
}
.origin-pin:hover .island-region,
.origin-pin:focus .island-region {
  fill: var(--burgundy);
}

/* Active / selected state */
.origin-pin.active .pin-ring {
  fill: var(--burgundy);
  stroke: var(--burgundy);
}
.origin-pin.active .pin-dot {
  fill: var(--white);
}
.origin-pin.active .pin-label {
  fill: var(--burgundy);
  font-weight: 700;
}
.origin-pin.active .pin-pulse {
  fill: var(--burgundy);
  animation: none;
  opacity: 0;
}

.map-hint {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
  letter-spacing: 0.04em;
}

/* ---- Detail Panel ---- */
.origin-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  position: sticky;
  top: calc(var(--nav-h) + 16px);
}

/* Empty state */
.panel-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 40px 24px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 300;
  text-align: center;
}

.panel-icon { opacity: 0.6; }

/* Panel content (hidden initially) */
.panel-content {
  display: none;
  flex-direction: column;
  padding: 0;
  flex: 1;
  overflow-y: auto;
}
.panel-content.visible { display: flex; }

/* Close button */
.panel-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--tr);
  z-index: 2;
}
.panel-close:hover {
  background: var(--off-white);
  color: var(--text-dark);
}

/* Panel head — burgundy strip */
.panel-head {
  background: var(--burgundy);
  padding: 28px 24px 24px;
  position: relative;
}

.panel-island {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  display: block;
  margin-bottom: 2px;
}

.panel-region {
  font-size: 10px;
  font-weight: 400;
  color: rgba(255,255,255,0.35);
  display: block;
  margin-bottom: 10px;
}

.panel-head h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 14px;
}

.panel-elev-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  background: rgba(201,151,58,0.15);
  border: 1px solid rgba(201,151,58,0.3);
  padding: 4px 12px;
  border-radius: 20px;
}

/* Processing tags */
.panel-process {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 16px 24px 0;
}

.panel-process-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--burgundy);
  background: rgba(92,31,46,0.07);
  border: 1px solid rgba(92,31,46,0.15);
  padding: 4px 10px;
  border-radius: 20px;
}

.panel-desc {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.72;
  padding: 14px 24px 4px;
}

.panel-section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 12px 24px 6px;
}

.panel-flavors {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 24px 16px;
}

.panel-flavor-tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: var(--off-white);
  padding: 4px 12px;
  border-radius: 20px;
}

.panel-specs-block {
  border-top: 1px solid var(--border-lt);
  margin: 0 24px;
  padding: 8px 0;
}

.panel-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-lt);
  font-size: 12.5px;
}
.panel-spec-row:last-child { border-bottom: none; }
.panel-spec-row span:first-child { font-weight: 300; color: var(--text-muted); }
.panel-spec-row span:last-child  { font-weight: 600; color: var(--text-dark); text-align: right; }

.panel-cta {
  margin: 16px 24px 24px;
  width: calc(100% - 48px);
}

/* Footnote */
.origins-footnote {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* Flavor tags (shared, used elsewhere) */
.flavor-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.flavor-tags span {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: var(--off-white);
  padding: 3px 10px;
  border-radius: 20px;
}


/* ============================================================
   PRODUCTS
============================================================ */

.section-white .section-header h2 { color: var(--text-dark); }

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.product-tier {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.tier-header { padding: 26px 28px 22px; }

.specialty-header { background: var(--burgundy); }
.specialty-header h3 { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.specialty-header p  { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.65); }

.commercial-header { background: var(--off-white); border-bottom: 1px solid var(--border); }
.commercial-header h3 { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.commercial-header p  { font-size: 13px; font-weight: 300; color: var(--text-muted); }

.product-list { padding: 4px 28px; flex: 1; }

.product-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--border-lt);
}
.product-item:last-child { border-bottom: none; }

.product-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.product-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.product-origin { font-size: 12px; font-weight: 400; color: var(--text-muted); }

.tier-specs {
  background: var(--off-white);
  padding: 16px 28px;
  border-top: 1px solid var(--border-lt);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid var(--border-lt);
  font-size: 13px;
}
.spec-row:last-child { border-bottom: none; }
.spec-row span:first-child { font-weight: 300; color: var(--text-muted); }
.spec-row span:last-child  { font-weight: 600; color: var(--text-dark); }

.product-tier .btn { margin: 20px 28px; width: calc(100% - 56px); }

.processing-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 18px 24px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.proc-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-muted); white-space: nowrap;
}

.proc-tags { display: flex; gap: 8px; flex-wrap: wrap; }

.proc-tag {
  font-size: 12px; font-weight: 600;
  color: var(--burgundy);
  background: rgba(92,31,46,0.07);
  border: 1px solid rgba(92,31,46,0.18);
  padding: 5px 12px; border-radius: var(--radius);
}

.proc-note { font-size: 12px; font-weight: 300; color: var(--text-muted); margin-left: auto; }


/* ============================================================
   PROCESS — light, numbered cards
============================================================ */

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.process-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px 24px;
  transition: box-shadow var(--tr);
}
.process-step:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }

.step-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 14px;
  display: block;
}

.process-step h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.process-step p {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
}


/* ============================================================
   CTA DARK BAND
============================================================ */

.cta-band {
  background: var(--burgundy);
  padding: 56px 0;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-band-text h2 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 8px;
}

.cta-band-text p {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
}


/* ============================================================
   CONTACT
============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.contact-info > p {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
}

.contact-details {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--border-lt);
}
.contact-row:last-child { border-bottom: none; }

.contact-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  min-width: 100px;
  flex-shrink: 0;
}

.contact-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
}
a.contact-value:hover { color: var(--burgundy); text-decoration: underline; }

/* Form */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 36px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.contact-form { display: flex; flex-direction: column; gap: 18px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font);
  font-size: 14px;
  color: var(--text-dark);
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px;
  outline: none;
  transition: border-color var(--tr), background var(--tr);
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a7a6e' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--burgundy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(92,31,46,0.07);
}

.form-group textarea { resize: vertical; min-height: 110px; }


/* ============================================================
   FOOTER
============================================================ */

footer {
  background: var(--burgundy-dk);
  padding-top: 64px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-tagline { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.5); margin-top: 4px; }
.footer-entity  { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: rgba(255,255,255,0.3); }
.footer-pronunciation { font-size: 11px; font-weight: 400; color: var(--gold); opacity: 0.7; font-style: italic; }

.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 0; }

.footer-nav h4,
.footer-contact h4 {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 14px;
}

.footer-nav a,
.footer-contact a,
.footer-contact span {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  padding: 4px 0;
  display: block;
  transition: color var(--tr);
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--white); }

.footer-bottom { padding: 18px 0; }
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: 11.5px; font-weight: 300; color: rgba(255,255,255,0.28); }


/* ============================================================
   PHOTO BACKGROUND SECTIONS
   Photos: Unsplash (free commercial use, no attribution required)
============================================================ */

/* ── Base: parallax container + overlay ── */
.section-photo {
  position: relative;
  padding: var(--section-v) 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* parallax on desktop */
}

.section-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
}

.section-photo > .container {
  position: relative;
  z-index: 1;
}

/* ── About — farmer hand-picking ripe coffee cherries ── */
/*    Photo: pexels.com/photo/7125441 (free commercial use)  */
.photo-about {
  background-image: url('https://images.pexels.com/photos/7125441/pexels-photo-7125441.jpeg?auto=compress&cs=tinysrgb&w=1920&q=85');
  background-position: center 40%;
}
.photo-about::before {
  background: linear-gradient(135deg,
    rgba(18,5,10,0.84) 0%,
    rgba(40,12,22,0.78) 55%,
    rgba(18,5,10,0.88) 100%);
}

/* Text on dark about bg */
.photo-about .about-left h2   { color: var(--white); }
.photo-about .about-left p    { color: rgba(255,255,255,0.78); }
.photo-about .eyebrow         { color: var(--gold); }

/* Tags → gold on dark */
.photo-about .tag {
  color: var(--gold);
  background: rgba(201,151,58,0.14);
  border-color: rgba(201,151,58,0.28);
}

/* Acronym block → frosted glass card */
.photo-about .acronym-block {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.13);
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.photo-about .acronym-item            { border-bottom-color: rgba(255,255,255,0.08); }
.photo-about .acronym-item:hover      { background: rgba(255,255,255,0.06); }
.photo-about .acr-letter              { color: var(--gold); }
.photo-about .acr-text strong         { color: var(--white); letter-spacing: 0.07em; }
.photo-about .acr-text p              { color: rgba(255,255,255,0.62); }

/* ── Process — hands holding freshly harvested red coffee cherries ── */
/*    Photo: pexels.com/photo/13819623 (free commercial use)           */
.photo-process {
  background-image: url('https://images.pexels.com/photos/13819623/pexels-photo-13819623.jpeg?auto=compress&cs=tinysrgb&w=1920&q=85');
  background-position: center 50%;
}
.photo-process::before {
  background: linear-gradient(to bottom,
    rgba(12,4,8,0.76) 0%,
    rgba(20,6,13,0.84) 100%);
}

/* Section header on dark process bg */
.photo-process .section-header h2      { color: var(--white); }
.photo-process .section-header p,
.photo-process .section-desc-dark      { color: rgba(255,255,255,0.68); }

/* Process step cards → frosted glass */
.photo-process .process-step {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.11);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
.photo-process .process-step:hover {
  background: rgba(255,255,255,0.12);
  box-shadow: 0 8px 32px rgba(0,0,0,0.30);
  transform: translateY(-2px);
}
.photo-process .process-step h3 { color: var(--white); }
.photo-process .process-step p  { color: rgba(255,255,255,0.66); }
.photo-process .step-num        { color: var(--gold); }

/* ── CTA band — scenic coffee farm panorama, burgundy wash ── */
/*    Photo: pexels.com/photo/29995134 (free commercial use)   */
.photo-cta {
  background-image: url('https://images.pexels.com/photos/29995134/pexels-photo-29995134.jpeg?auto=compress&cs=tinysrgb&w=1920&q=85');
  background-attachment: fixed;
  background-size: cover;
  background-position: center 60%;
  position: relative;
}
.photo-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(70,20,33,0.90); /* deep brand burgundy wash */
  z-index: 0;
}
.photo-cta > .container { position: relative; z-index: 1; }

/* ── Disable parallax on mobile (browser perf) ── */
@media (max-width: 960px) {
  .section-photo,
  .photo-cta { background-attachment: scroll; }
}


/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 1080px) {
  .hero-text {
    margin-left: 0;
    padding-left: 40px;
  }
}

@media (max-width: 960px) {
  .hero { flex-direction: column; min-height: auto; }
  .hero-text { max-width: 100%; padding: 80px 40px 48px; }
  .hero-visual { flex: none; height: 340px; width: 100%; }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .origins-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .trust-inner { gap: 8px; }
  .trust-item { min-width: 120px; padding: 8px 14px; }
  .trust-div { display: none; }

  /* Map: stack vertically on tablet/mobile */
  .origins-interactive { grid-template-columns: 1fr; min-height: auto; }
  .origin-panel { position: static; min-height: 360px; }
}

@media (max-width: 720px) {
  :root { --nav-h: 60px; --section-v: 64px; }

  .container { padding: 0 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero-text { padding: 56px 20px 40px; }
  .hero-visual { height: 280px; }

  .process-steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; gap: 4px; }
  .footer-brand { grid-column: auto; }

  .cta-band-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .processing-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .proc-note { margin-left: 0; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .contact-form-wrap { padding: 24px; }
  .trust-inner { flex-direction: column; }
}
