/* ============================================================
   MOOLAKARA WAYANAD SPICES — "The Origin Manifest" design system
   Espresso + bone + Wayanad-emerald + brass
   ============================================================ */

:root {
  --espresso: #1A0F08;
  --espresso-2: #2A1B10;
  --espresso-3: #3A2718;
  --bone: #F4ECDD;
  --bone-2: #E9DDC6;
  --bone-3: #D9C9AB;
  --emerald: #2E5D4A;
  --emerald-deep: #1E4030;
  --brass: #B8915A;
  --brass-2: #9C7841;
  --cinnamon: #A85A2A;
  --ink: #14110D;
  --rule: rgba(20, 17, 13, 0.16);
  --rule-bone: rgba(244, 236, 221, 0.18);

  --f-serif: "Fraunces", "Times New Roman", Georgia, serif;
  --f-sans: "Inter Tight", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --f-mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--f-sans);
  background: var(--bone);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- TYPE SCALE ---------- */

.serif { font-family: var(--f-serif); font-variation-settings: "SOFT" 50, "wght" 400, "opsz" 144; letter-spacing: -0.015em; }
.mono  { font-family: var(--f-mono); letter-spacing: 0.02em; }

h1, h2, h3, h4 { font-family: var(--f-serif); font-weight: 400; line-height: 1.05; letter-spacing: -0.02em; font-variation-settings: "SOFT" 30, "opsz" 144; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.95rem); }
h4 { font-size: clamp(1.05rem, 1.4vw, 1.25rem); }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-2);
  font-weight: 500;
}

.eyebrow--bone { color: var(--brass); }

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink);
  opacity: 0.78;
  max-width: 56ch;
}

/* ---------- LAYOUT ---------- */

.wrap { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.wrap--narrow { max-width: 1080px; }

section { padding: clamp(72px, 9vw, 140px) 0; position: relative; }
.bg-espresso { background: var(--espresso); color: var(--bone); }
.bg-bone-2   { background: var(--bone-2); }
.bg-emerald  { background: var(--emerald-deep); color: var(--bone); }

.bg-espresso .eyebrow { color: var(--brass); }
.bg-emerald  .eyebrow { color: var(--brass); }

.rule { border: 0; height: 1px; background: var(--rule); margin: 0; }
.bg-espresso .rule, .bg-emerald .rule { background: var(--rule-bone); }

/* ---------- TOP NAV ---------- */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 32px;
  background: rgba(244, 236, 221, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.nav__brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--f-serif);
  font-size: 18px; letter-spacing: -0.01em; font-weight: 500;
}
.nav__brand svg { width: 28px; height: 28px; }
.nav__brand small { font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-2); display: block; line-height: 1; margin-top: 3px; }
.nav__links { display: flex; gap: 28px; }
.nav__links a {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink); opacity: 0.7; transition: opacity .2s;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { opacity: 1; color: var(--emerald); }
.nav__cta {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 10px 18px; border: 1px solid var(--ink); border-radius: 999px;
  transition: background .2s, color .2s;
}
.nav__cta:hover { background: var(--ink); color: var(--bone); }
.nav__burger { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__burger span { display: block; width: 22px; height: 1.5px; background: var(--ink); margin: 4px 0; transition: transform .25s; }

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav.open .nav__links { display: flex; position: fixed; top: 64px; left: 0; right: 0; background: var(--bone); flex-direction: column; padding: 24px 32px 32px; gap: 18px; border-bottom: 1px solid var(--rule); }
  .nav.open .nav__cta { display: inline-flex; align-items: center; justify-content: center; position: fixed; top: calc(64px + 24px + 18px*5 + 18px); left: 32px; right: 32px; }
}

/* ---------- BTN ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 16px 26px;
  border-radius: 999px;
  border: 1px solid currentColor;
  transition: background .25s, color .25s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--fill-ink { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.btn--fill-ink:hover { background: var(--emerald-deep); border-color: var(--emerald-deep); }
.btn--fill-brass { background: var(--brass); color: var(--ink); border-color: var(--brass); }
.btn--fill-brass:hover { background: var(--bone); border-color: var(--bone); }
.btn--ghost-bone { color: var(--bone); border-color: var(--bone); }
.btn--ghost-bone:hover { background: var(--bone); color: var(--ink); }

.arrow { display: inline-block; transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- MANIFEST BLOCK (a recurring layout primitive) ---------- */

.manifest {
  border: 1px solid var(--rule);
  background: var(--bone);
  position: relative;
}
.bg-espresso .manifest, .bg-emerald .manifest {
  border-color: var(--rule-bone);
  background: var(--espresso-2);
}
.manifest__head {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brass-2);
}
.bg-espresso .manifest__head, .bg-emerald .manifest__head { border-bottom-color: var(--rule-bone); color: var(--brass); }
.manifest__body { padding: 28px 24px; }

/* corner-tick marks on manifest blocks */
.manifest::before, .manifest::after {
  content: ""; position: absolute; width: 10px; height: 10px;
  border: 1px solid var(--brass); pointer-events: none;
}
.manifest::before { top: -3px; left: -3px; border-right: 0; border-bottom: 0; }
.manifest::after  { bottom: -3px; right: -3px; border-left: 0; border-top: 0; }

/* ---------- WAX SEAL ---------- */

.seal {
  width: 132px; height: 132px;
  display: grid; place-items: center;
  position: relative;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--brass) 0%, var(--brass-2) 60%, #6E5024 100%);
  color: var(--bone);
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.18);
}
.seal__inner { padding: 14px; line-height: 1.3; }
.seal__inner strong { display: block; font-family: var(--f-serif); font-size: 18px; letter-spacing: -0.01em; font-weight: 500; margin: 6px 0; text-transform: none; }
.seal::before {
  content: ""; position: absolute; inset: 6px;
  border: 1px dashed rgba(244, 236, 221, 0.45); border-radius: 50%;
}

@keyframes seal-rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.seal--rotating { animation: seal-rotate 28s linear infinite; }

/* ---------- DATA TICKER (running marquee, finite) ---------- */

.ticker {
  border-top: 1px solid var(--rule-bone);
  border-bottom: 1px solid var(--rule-bone);
  padding: 18px 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brass);
}
.ticker__track {
  display: inline-block;
  animation: ticker 38s linear infinite;
  padding-left: 100%;
}
.ticker__track span { padding: 0 32px; opacity: 0.85; }
.ticker__track span b { color: var(--bone); font-weight: 500; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* ---------- KV LIST ---------- */

.kv { display: grid; grid-template-columns: 140px 1fr; gap: 8px 24px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; }
.kv dt { color: var(--brass-2); text-transform: uppercase; letter-spacing: 0.16em; font-size: 10px; padding-top: 2px; }
.bg-espresso .kv dt, .bg-emerald .kv dt { color: var(--brass); }
.kv dd { color: inherit; }

/* ---------- REVEAL (FAILS OPEN) ---------- */

.reveal { transition: opacity .9s ease, transform .9s ease; }
.reveal.reveal--hidden { opacity: 0; transform: translateY(14px); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- FOOTER ---------- */

.footer {
  background: var(--espresso);
  color: var(--bone);
  padding: 80px 0 36px;
}
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--rule-bone); }
.footer h4 { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass); margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 10px; font-size: 14px; }
.footer ul a { opacity: 0.78; transition: opacity .2s; }
.footer ul a:hover { opacity: 1; color: var(--brass); }
.footer__brand p { font-size: 14px; opacity: 0.7; line-height: 1.6; margin-top: 16px; max-width: 32ch; }
.footer__bot { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.6; }

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__bot { flex-direction: column; gap: 12px; text-align: center; }
}

/* ============================================================
   HOMEPAGE — sections
   ============================================================ */

/* HERO */
.hero {
  padding: 140px 0 100px;
  background: var(--espresso);
  color: var(--bone);
  position: relative;
  overflow: hidden;
}
.hero__head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brass);
  padding-bottom: 30px;
  border-bottom: 1px solid var(--rule-bone);
  margin-bottom: 56px;
}
.hero__head span b { color: var(--bone); font-weight: 500; }
.hero__title {
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  max-width: 14ch;
  margin-bottom: 36px;
  font-variation-settings: "SOFT" 30, "opsz" 144, "wght" 380;
}
.hero__title em {
  font-style: italic;
  font-variation-settings: "SOFT" 80, "opsz" 144, "wght" 380;
  color: var(--brass);
  font-weight: 380;
}
.hero__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: flex-end; }
.hero__lead { font-size: clamp(1.1rem, 1.5vw, 1.4rem); line-height: 1.5; opacity: 0.85; max-width: 50ch; }
.hero__cta-row { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

.hero__side { display: grid; gap: 20px; align-self: flex-end; }
.hero__seal-row { display: flex; align-items: center; gap: 20px; }
.hero__seal-note {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brass);
  line-height: 1.6;
}
.hero__seal-note b { color: var(--bone); font-weight: 500; display: block; font-size: 12px; margin-bottom: 4px; }

.hero__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rule-bone); margin-top: 80px; }
.hero__stats > div { background: var(--espresso); padding: 28px 22px; }
.hero__stats .n { font-family: var(--f-serif); font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; color: var(--brass); font-variation-settings: "SOFT" 30, "opsz" 144, "wght" 380; }
.hero__stats .l { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bone); opacity: 0.7; margin-top: 14px; line-height: 1.5; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
}

/* LEGACY STRIP */
.legacy {
  background: var(--bone-2);
  padding: 90px 0;
}
.legacy__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 52px; }
.legacy__title { max-width: 24ch; }
.legacy__years {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.legacy__year { padding: 26px 24px; border-right: 1px solid var(--rule); }
.legacy__year:last-child { border-right: 0; }
.legacy__year .y { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.18em; color: var(--brass-2); margin-bottom: 16px; }
.legacy__year h4 { margin-bottom: 8px; }
.legacy__year p { font-size: 13px; line-height: 1.55; opacity: 0.78; }

@media (max-width: 900px) {
  .legacy__years { grid-template-columns: 1fr 1fr; }
  .legacy__year:nth-child(2) { border-right: 0; }
  .legacy__year:nth-child(1), .legacy__year:nth-child(2) { border-bottom: 1px solid var(--rule); }
}

/* SKU MANIFEST GRID */
.skus { background: var(--bone); }
.skus__head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: flex-end; margin-bottom: 60px; }
.skus__head .lead { margin-top: 24px; }
.skus__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.sku { background: var(--bone); padding: 36px 32px; display: grid; gap: 18px; align-content: start; min-height: 360px; position: relative; transition: background .3s; }
.sku:hover { background: var(--bone-2); }
.sku__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-2); }
.sku__top .hsn { background: var(--ink); color: var(--bone); padding: 6px 10px; border-radius: 999px; font-size: 9px; letter-spacing: 0.18em; }
.sku h3 { margin-top: 8px; }
.sku h3 em { font-style: italic; color: var(--emerald); font-variation-settings: "SOFT" 80, "opsz" 144; }
.sku__lot { font-family: var(--f-mono); font-size: 11px; color: var(--brass-2); letter-spacing: 0.08em; }
.sku__body { font-size: 14px; line-height: 1.6; opacity: 0.8; }
.sku__specs { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.sku__specs span { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 10px; border: 1px solid var(--rule); border-radius: 999px; color: var(--ink); opacity: 0.7; }

@media (max-width: 700px) {
  .skus__head { grid-template-columns: 1fr; }
  .skus__grid { grid-template-columns: 1fr; }
}

/* FT FEATURE BAND (Fairtrade FLO-ID showcase) */
.ftband {
  background: var(--emerald-deep);
  color: var(--bone);
  position: relative;
  overflow: hidden;
}
.ftband__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.ftband h2 { color: var(--bone); }
.ftband h2 em { color: var(--brass); font-style: italic; font-variation-settings: "SOFT" 80, "opsz" 144; }
.ftband .lead { color: var(--bone); opacity: 0.82; max-width: 50ch; }
.ftband__seal-wrap { display: flex; justify-content: center; }
.ftband__seal { width: 240px; height: 240px; }
.ftband__cred { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.ftband__cred span { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; padding: 8px 14px; border: 1px solid var(--rule-bone); border-radius: 999px; color: var(--brass); }

@media (max-width: 900px) {
  .ftband__grid { grid-template-columns: 1fr; gap: 48px; }
}

/* BUYER ROSTER PREVIEW */
.buyers { background: var(--bone); }
.buyers__head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: flex-end; margin-bottom: 56px; }
.buyers__head .lead { margin-top: 20px; }
.buyer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.buyer-card { background: var(--bone); padding: 32px 28px; display: grid; gap: 14px; align-content: start; min-height: 260px; }
.buyer-card .flag { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-2); display: flex; gap: 10px; align-items: center; }
.buyer-card .flag .dot { width: 8px; height: 8px; background: var(--emerald); border-radius: 50%; }
.buyer-card h3 { font-size: 1.4rem; line-height: 1.15; }
.buyer-card p { font-size: 13px; line-height: 1.55; opacity: 0.75; }
.buyer-card .meta { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-2); padding-top: 14px; border-top: 1px solid var(--rule); margin-top: auto; }

@media (max-width: 900px) {
  .buyers__head { grid-template-columns: 1fr; }
  .buyer-grid { grid-template-columns: 1fr; }
}

/* WORLD MAP — DESTINATIONS */
.routes {
  background: var(--espresso);
  color: var(--bone);
  overflow: hidden;
}
.routes__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 32px; margin-bottom: 60px; }
.routes__head .lead { color: var(--bone); opacity: 0.78; }
.routes__head h2 em { font-style: italic; color: var(--brass); font-variation-settings: "SOFT" 80, "opsz" 144; }
.routes__map { width: 100%; height: auto; max-height: 560px; }
.routes__legend { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 40px; border-top: 1px solid var(--rule-bone); }
.routes__legend > div { padding: 22px 18px; border-right: 1px solid var(--rule-bone); }
.routes__legend > div:last-child { border-right: 0; }
.routes__legend .cc { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.18em; color: var(--brass); }
.routes__legend .ct { font-family: var(--f-serif); font-size: 1.3rem; margin-top: 8px; }
.routes__legend .pr { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em; color: var(--bone); opacity: 0.65; margin-top: 10px; line-height: 1.5; }

@media (max-width: 900px) {
  .routes__legend { grid-template-columns: 1fr 1fr; }
  .routes__legend > div { border-right: 0; border-bottom: 1px solid var(--rule-bone); }
  .routes__legend > div:last-child, .routes__legend > div:nth-child(4) { border-bottom: 0; }
}

/* PROCESSING CAPACITY */
.cap { background: var(--bone-2); }
.cap__head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: flex-end; margin-bottom: 56px; }
.cap__head .lead { margin-top: 20px; }
.cap__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--rule); }
.cap__cell { padding: 30px 24px; border-right: 1px solid var(--rule); background: var(--bone); }
.cap__cell:last-child { border-right: 0; }
.cap__cell .lbl { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-2); }
.cap__cell .n { font-family: var(--f-serif); font-size: 2.4rem; color: var(--ink); margin-top: 14px; line-height: 1; font-variation-settings: "SOFT" 30, "opsz" 144, "wght" 400; }
.cap__cell .n small { font-size: 1rem; color: var(--brass-2); margin-left: 4px; font-family: var(--f-mono); font-weight: 500; }
.cap__cell .d { font-size: 13px; line-height: 1.55; opacity: 0.78; margin-top: 12px; }

@media (max-width: 900px) {
  .cap__head { grid-template-columns: 1fr; }
  .cap__grid { grid-template-columns: 1fr 1fr; }
  .cap__cell:nth-child(2) { border-right: 0; }
  .cap__cell:nth-child(1), .cap__cell:nth-child(2) { border-bottom: 1px solid var(--rule); }
}

/* QUOTE FROM DIRECTOR */
.quote { background: var(--bone); padding: 120px 0; }
.quote__inner { max-width: 880px; margin: 0 auto; text-align: center; }
.quote__mark { font-family: var(--f-serif); font-size: 5rem; color: var(--brass); line-height: 1; margin-bottom: 16px; font-variation-settings: "SOFT" 100, "opsz" 144; }
.quote blockquote { font-family: var(--f-serif); font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.35; font-variation-settings: "SOFT" 50, "opsz" 144, "wght" 380; letter-spacing: -0.015em; color: var(--ink); }
.quote blockquote em { color: var(--emerald); font-style: italic; font-variation-settings: "SOFT" 80, "opsz" 144; }
.quote cite { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass-2); margin-top: 32px; display: block; font-style: normal; }

/* INVITATION / RFQ CTA */
.invite { background: var(--espresso); color: var(--bone); padding: 130px 0; }
.invite__inner { max-width: 920px; margin: 0 auto; text-align: center; }
.invite h2 { color: var(--bone); margin-bottom: 24px; }
.invite h2 em { color: var(--brass); font-style: italic; font-variation-settings: "SOFT" 80, "opsz" 144; }
.invite .lead { color: var(--bone); opacity: 0.82; max-width: 60ch; margin: 0 auto 36px; }
.invite__row { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.invite__contact { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--rule-bone); display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: left; }
.invite__contact dt { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); margin-bottom: 8px; }
.invite__contact dd { font-family: var(--f-mono); font-size: 13px; line-height: 1.7; color: var(--bone); opacity: 0.88; }

@media (max-width: 700px) {
  .invite__contact { grid-template-columns: 1fr; gap: 24px; text-align: center; }
}

/* ============================================================
   PREMIUM v2 — real photography, signature motion, brand glyph
   ============================================================ */

/* ---------- REAL LOGO MARK in nav/footer ---------- */
.nav__brand img.mark { width: 30px; height: auto; display: block; }
.footer__logo { height: 34px; width: auto; display: block; margin-bottom: 18px; }

/* prefers-reduced-motion: kill all signature motion globally */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal--hidden, [data-stagger] > * { opacity: 1 !important; transform: none !important; }
}

/* nav elevation on scroll */
.nav { transition: background .3s, box-shadow .3s, padding .3s; }
.nav.scrolled { box-shadow: 0 1px 0 var(--rule), 0 10px 30px -22px rgba(20,17,13,.5); padding-top: 13px; padding-bottom: 13px; }

/* ---------- STAGGER children ---------- */
[data-stagger] > * { transition: opacity .7s ease, transform .7s ease; }
[data-stagger].pre > * { opacity: 0; transform: translateY(18px); }
[data-stagger].go > * { opacity: 1; transform: none; }

/* ---------- HERO v2 — split editorial w/ real farmer photo ---------- */
.hero__grid { align-items: stretch; }
.hero__photo {
  position: relative;
  align-self: stretch;
  min-height: 460px;
  border: 1px solid var(--rule-bone);
  overflow: hidden;
  background: var(--espresso-2);
}
.hero__photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 22% center;
  will-change: transform;
  transform: scale(1.06);
}
.hero__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,15,8,0) 40%, rgba(26,15,8,.55) 100%);
  pointer-events: none;
}
.hero__photo-cap {
  position: absolute; left: 18px; bottom: 16px; right: 18px; z-index: 2;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--bone); display: flex; justify-content: space-between; gap: 12px; align-items: flex-end;
}
.hero__photo-cap b { color: var(--brass); font-weight: 500; }
.hero__photo-frame {
  position: absolute; inset: 12px; z-index: 2; pointer-events: none;
  border: 1px solid rgba(244,236,221,.32);
}
.hero__photo-seal {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  width: 92px; height: 92px;
}
@media (max-width: 900px) {
  .hero__photo { min-height: 340px; order: -1; }
  .hero__side { display: none; }
}

/* ---------- SKU photo thumb ---------- */
.sku { padding: 0; overflow: hidden; }
.sku__media { position: relative; height: 168px; overflow: hidden; background: var(--espresso-2); }
.sku__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.sku:hover .sku__media img { transform: scale(1.07); }
.sku__media .hsn {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: var(--ink); color: var(--bone); padding: 6px 10px; border-radius: 999px;
  font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
}
.sku__pad { padding: 26px 28px 30px; display: grid; gap: 14px; align-content: start; }
.sku__top { color: var(--brass-2); }
.sku__media + .sku__pad .sku__top .hsn { display: none; }

/* ---------- GALLERY (real estate photos) ---------- */
.gallery { background: var(--bone-2); }
.gallery__head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: flex-end; margin-bottom: 48px; }
.gallery__head .lead { margin-top: 18px; }
.gallery__head h2 em { color: var(--emerald); font-style: italic; font-variation-settings: "SOFT" 80, "opsz" 144; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
  gap: 12px;
}
.gallery__cell { position: relative; overflow: hidden; background: var(--espresso-2); border: 1px solid var(--rule); }
.gallery__cell img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.gallery__cell:hover img { transform: scale(1.08); }
.gallery__cell::after {
  content: attr(data-cap);
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 14px 12px;
  font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--bone);
  background: linear-gradient(180deg, rgba(26,15,8,0), rgba(26,15,8,.78));
  opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s;
}
.gallery__cell:hover::after { opacity: 1; transform: none; }
.gallery__cell.wide { grid-column: span 2; }
.gallery__cell.tall { grid-row: span 2; }
.gallery__note { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-2); margin-top: 24px; }

@media (max-width: 900px) {
  .gallery__head { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery__cell.wide { grid-column: span 2; }
  .gallery__cell.tall { grid-row: span 1; }
}

/* ---------- TRIPTYCH full-bleed band ---------- */
.triptych { position: relative; padding: 0; }
.triptych__img { display: block; width: 100%; height: clamp(280px, 38vw, 460px); object-fit: cover; }
.triptych__overlay {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  background: linear-gradient(180deg, rgba(26,15,8,.35), rgba(26,15,8,.55));
  padding: 32px;
}
.triptych__overlay h2 { color: var(--bone); max-width: 18ch; }
.triptych__overlay h2 em { color: var(--brass); font-style: italic; font-variation-settings: "SOFT" 80, "opsz" 144; }
.triptych__overlay .eyebrow { color: var(--brass); margin-bottom: 16px; }

/* ---------- SPECTRUM machine proof band ---------- */
.machine-proof { background: var(--espresso); color: var(--bone); }
.machine-proof__grid { display: grid; grid-template-columns: 0.7fr 0.7fr 1.6fr; gap: 0; border: 1px solid var(--rule-bone); }
.machine-proof__img { position: relative; min-height: 380px; overflow: hidden; border-right: 1px solid var(--rule-bone); }
.machine-proof__img img { position:absolute; inset:0; width: 100%; height: 100%; object-fit: cover; }
.machine-proof__img .tag {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase;
  background: rgba(26,15,8,.8); color: var(--brass); padding: 6px 10px;
}
.machine-proof__copy { padding: 48px 44px; align-self: center; }
.machine-proof__copy h2 { color: var(--bone); }
.machine-proof__copy h2 em { color: var(--brass); font-style: italic; font-variation-settings: "SOFT" 80, "opsz" 144; }
.machine-proof__copy .lead { color: var(--bone); opacity: .82; margin-top: 18px; }
@media (max-width: 900px) {
  .machine-proof__grid { grid-template-columns: 1fr 1fr; }
  .machine-proof__img { min-height: 260px; }
  .machine-proof__copy { grid-column: 1 / -1; border-top: 1px solid var(--rule-bone); padding: 36px 28px; }
}

/* ---------- READABILITY hardening ---------- */
.lead { opacity: 0.82; }
.bg-espresso .lead, .bg-emerald .lead, .hero__lead { opacity: 0.9; }
.sku__body { opacity: 0.86; }
.footer ul a { opacity: 0.82; }

/* ============================================================
   READABILITY PATCH — stronger contrast for small/label text
   ============================================================ */
/* Darker brass for eyebrows on LIGHT backgrounds (was #9C7841 ~3:1) */
.eyebrow { color: #7C5A2B; }              /* ~4.6:1 on bone — passes AA for bold/large */
.bg-espresso .eyebrow, .bg-emerald .eyebrow, .eyebrow--bone { color: #C9A05F; } /* brighter on dark */
.sku__lot { color: #7C5A2B; }
.sku__top { color: #7C5A2B; }
.sku__specs span { opacity: 0.85; color: var(--ink); }
.cap__cell .lbl, .q-machinery__cell .lbl, .exp-summary__cell .lbl,
.exp-buyers__card .flag, .exp-buyers__card .meta,
.buyer-card .flag, .buyer-card .meta,
.legacy__year .y, .timeline__year, .dir .role,
.product__sub, .gallery__note, .phead__crumb,
.rfq__form .lbl, .rfq__note, .kv dt { color: #7C5A2B; }
/* on dark sections keep brass bright */
.bg-espresso .kv dt, .bg-emerald .kv dt,
.exp-process__step .n, .machine-proof__img .tag,
.routes__legend .cc, .phead__meta .kv dt { color: #C9A05F; }
.routes__legend .pr { opacity: 0.82; }
.timeline__year { color: #C9A05F; }       /* timeline sits on bone-2; keep brass legible */
/* body copy never below 0.84 opacity */
.timeline__row p, .dir p, .product__desc, .story-intro p { opacity: 0.92; }
.footer__bot { opacity: 0.7; }

/* ============================================================
   MOBILE OVERFLOW FIX — grid min-width trap + small-screen padding
   ============================================================ */
.footer__grid > div { min-width: 0; }
.footer ul, .footer li, .footer__brand p { overflow-wrap: anywhere; word-break: break-word; }
.legacy__year, .legacy__year p { min-width: 0; overflow-wrap: anywhere; }
.kv, .kv dd { min-width: 0; overflow-wrap: anywhere; }
.invite__contact dd, .phead__meta dd { overflow-wrap: anywhere; }

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .legacy__years { grid-template-columns: 1fr; }
  .legacy__year { border-right: 0 !important; border-bottom: 1px solid var(--rule); }
  .legacy__year:last-child { border-bottom: 0; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .clients__row { grid-template-columns: 1fr; }
  .clients__cell { border-right: 0; border-bottom: 1px solid var(--rule-bone); }
}
