/* Elixir – Agri Division. Field green + wheat gold on cream. */
@layer base {
  :root {
    --bg: #faf7f0;
    --surface: #ffffff;
    --surface-2: #f2ede1;
    --ink: #1f2a1c;
    --ink-soft: #55604f;
    --line: #e4dccb;
    --brand: #2f4a2a;        /* field green */
    --brand-ink: #f6f1e4;    /* text on --brand */
    --accent: #b8892b;       /* wheat gold */
    --accent-ink: #1f2a1c;   /* text on --accent */
    --leaf: #6b8a3a;
    --wa: #1f9d55;
    --wa-ink: #ffffff;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(31, 42, 28, .08);
    --max: 1120px;
    --serif: "Fraunces", Georgia, "Times New Roman", serif;
    --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  }
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 var(--sans); }
  img { max-width: 100%; height: auto; display: block; }
  a { color: var(--brand); }
  h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; color: var(--ink); }
  h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: -.01em; }
  h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
  h3 { font-size: 1.15rem; }
  p { margin: 0 0 1em; }
  :focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.eyebrow { font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .9rem; display: block; }
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 62ch; }
.muted { color: var(--ink-soft); }
section { padding: 72px 0; }
.alt { background: var(--surface-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .85em 1.4em; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-dark { background: var(--brand); color: var(--brand-ink); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-wa { background: var(--wa); color: var(--wa-ink); }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(250, 247, 240, .94); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo img { height: 52px; width: auto; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; }
.nav a[aria-current="page"] { color: #85601a; }
.nav .btn { padding: .6em 1.1em; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--ink); cursor: pointer; }
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; justify-content: center; }
}

/* Hero */
.hero { background: var(--brand); color: var(--brand-ink); padding: 96px 0 88px; position: relative; overflow: hidden; }
.hero h1, .hero h2 { color: var(--brand-ink); }
.hero .lead { color: rgba(246, 241, 228, .82); }
.hero::after { content: ""; position: absolute; right: -120px; top: -80px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(184, 137, 43, .28), transparent 65%); pointer-events: none; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .btn-ghost { color: var(--brand-ink); }
.page-hero { padding: 64px 0 56px; }

/* Facts strip */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: -44px; position: relative; z-index: 2; box-shadow: var(--shadow); }
.facts div { background: var(--surface); padding: 22px; }
.facts b { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--brand); }
.facts span { color: var(--ink-soft); font-size: .92rem; }
@media (max-width: 820px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }

/* Cards / grids */
.grid { display: grid; gap: 18px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .g4 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .g4, .g3, .g2 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--ink-soft); font-size: .95rem; margin: 0; }
a.card { text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card .more { display: inline-block; margin-top: 12px; font-weight: 600; color: var(--brand); font-size: .92rem; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--leaf); margin-bottom: 8px; }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head .lead { margin: 0; }

/* Steps */
.steps { counter-reset: s; }
.steps .card { position: relative; padding-top: 54px; }
.steps .card::before { counter-increment: s; content: counter(s, decimal-leading-zero); position: absolute; top: 18px; left: 22px; font: 600 1.4rem var(--serif); color: var(--accent); }

/* Terms table */
.terms { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.terms th, .terms td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.terms th { width: 32%; font-weight: 600; color: var(--brand); background: var(--surface-2); }
.terms tr:last-child th, .terms tr:last-child td { border-bottom: 0; }
@media (max-width: 600px) { .terms th, .terms td { display: block; width: 100%; } .terms th { border-bottom: 0; padding-bottom: 4px; } }

/* Certificates */
.certs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 14px; }
.certs figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-align: center; }
.certs img { height: 64px; width: auto; margin: 0 auto 10px; object-fit: contain; }
.certs figcaption { font-size: .82rem; color: var(--ink-soft); line-height: 1.35; }

/* Product catalogue */
.cat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; scroll-margin-top: 90px; }
.cat h2 { font-size: 1.4rem; }
.cat ul { margin: 0 0 16px; padding-left: 1.1em; color: var(--ink-soft); columns: 2; column-gap: 28px; }
.cat li { break-inside: avoid; margin-bottom: 4px; }
@media (max-width: 600px) { .cat ul { columns: 1; } }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.jump a { font-size: .85rem; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(246, 241, 228, .35); color: var(--brand-ink); text-decoration: none; }
.jump a:hover { background: rgba(246, 241, 228, .12); }

/* FAQ */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); }

/* CTA band */
.cta-band { background: var(--brand); color: var(--brand-ink); border-radius: calc(var(--radius) * 1.5); padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: var(--brand-ink); margin: 0 0 .3em; }
.cta-band p { color: rgba(246, 241, 228, .8); margin: 0; }
@media (max-width: 600px) { .cta-band { padding: 32px 22px; } }

/* Form */
.form-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } .form { padding: 20px; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); font: inherit; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px rgba(47, 74, 42, .14); }
.field .hint { font-size: .82rem; color: var(--ink-soft); margin-top: 4px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--ink-soft); margin-top: 12px; }
.alert { border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; font-size: .95rem; background: #fbeee0; color: #6b3d0a; border: 1px solid #efd3b0; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list b { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }

/* Footer */
.site-foot { background: var(--ink); color: rgba(246, 241, 228, .78); padding: 56px 0 28px; margin-top: 72px; font-size: .94rem; }
.site-foot a { color: rgba(246, 241, 228, .9); text-decoration: none; }
.site-foot a:hover { color: var(--accent); }
.site-foot h3 { color: var(--brand-ink); font-size: 1rem; font-family: var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 8px; }
.foot-base { border-top: 1px solid rgba(246, 241, 228, .14); margin-top: 36px; padding-top: 20px; font-size: .85rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* Floating WhatsApp (chat bubble sits above it) */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 99980; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: var(--wa-ink); display: grid; place-items: center; box-shadow: 0 6px 22px rgba(0, 0, 0, .25); }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }

/* Buyer / supplier switch */
.seg { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.seg label { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer; font-weight: 500; background: var(--bg); margin: 0; }
.seg label:has(input:checked) { border-color: var(--brand); background: var(--brand); color: var(--brand-ink); }
.seg input { accent-color: var(--accent); width: auto; margin: 0; }
/* ===================== v2 visual layer ===================== */
:root { --night: #14210f; --night-ink: #f6f1e4; --gold-2: #e2b85a; }
.site-head { transition: box-shadow .2s; }
.site-head.scrolled { box-shadow: 0 6px 24px rgba(20, 33, 15, .12); }

/* Hero video slider */
.hv { position: relative; height: min(88vh, 820px); min-height: 560px; background: var(--night); color: var(--night-ink); overflow: hidden; }
.hv-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hv-slide.on { opacity: 1; }
.hv-slide video, .hv-slide img { width: 100%; height: 100%; object-fit: cover; }
.hv::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,33,15,.88) 0%, rgba(20,33,15,.55) 45%, rgba(20,33,15,.1) 100%), linear-gradient(0deg, rgba(20,33,15,.7), transparent 40%); pointer-events: none; }
.hv-content { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; }
.hv-content .wrap { width: 100%; }
.hv h1 { color: var(--night-ink); max-width: 15ch; font-size: clamp(2.3rem, 5.6vw, 4.4rem); text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hv h1 em { font-style: normal; color: var(--gold-2); }
.hv .lead { color: rgba(246,241,228,.88); max-width: 52ch; }
.hv-cap { display: inline-flex; align-items: center; gap: 10px; font: 600 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 18px; min-height: 1em; transition: opacity .4s; }
.hv-cap::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.hv-nav { position: absolute; z-index: 3; left: 0; right: 0; bottom: 28px; }
.hv-nav .wrap { display: flex; gap: 10px; align-items: center; }
.hv-dot { flex: 0 0 56px; height: 4px; border: 0; padding: 0; border-radius: 4px; background: rgba(246,241,228,.3); cursor: pointer; overflow: hidden; position: relative; }
.hv-dot i { position: absolute; inset: 0; width: 0; background: var(--gold-2); }
.hv-dot.on i { animation: hvfill 7s linear forwards; }
@keyframes hvfill { to { width: 100%; } }
.hv-arrows { margin-left: auto; display: flex; gap: 8px; }
.hv-arrows button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(246,241,228,.45); background: rgba(20,33,15,.35); color: var(--night-ink); font-size: 1.1rem; cursor: pointer; backdrop-filter: blur(4px); }
.hv-arrows button:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.hv-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hv-badges span { font-size: .85rem; padding: 7px 14px; border-radius: 999px; background: rgba(246,241,228,.12); border: 1px solid rgba(246,241,228,.25); backdrop-filter: blur(6px); }
@media (max-width: 600px) { .hv { height: 88vh; min-height: 600px; } .hv-dot { flex-basis: 30px; } .hv-arrows, .hv-badges { display: none; } .hv-content { align-items: flex-start; padding-top: 48px; } }

/* Ticker */
.ticker { background: var(--accent); color: var(--accent-ink); overflow: hidden; white-space: nowrap; padding: 14px 0; font: 600 1.05rem var(--serif); }
.ticker-track { display: inline-flex; animation: tick 45s linear infinite; }
.ticker-track span { padding: 0 22px; display: inline-flex; align-items: center; gap: 22px; }
.ticker-track span::after { content: "✦"; font-size: .8rem; opacity: .6; }
@keyframes tick { to { transform: translateX(-50%); } }

/* Product carousel */
.pc-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 23.5%); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 6px; scrollbar-width: none; }
.pc-track::-webkit-scrollbar { display: none; }
@media (max-width: 900px) { .pc-track { grid-auto-columns: minmax(240px, 72%); } }
.pcard { scroll-snap-align: start; position: relative; height: 400px; border-radius: 18px; overflow: hidden; color: var(--night-ink); text-decoration: none; display: flex; align-items: flex-end; isolation: isolate; }
.pcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.pcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(20,33,15,.94) 0%, rgba(20,33,15,.35) 55%, rgba(20,33,15,0) 100%); }
.pcard:hover img { transform: scale(1.07); }
.pcard div { padding: 22px; }
.pcard h3 { color: var(--night-ink); font-size: 1.35rem; margin-bottom: 4px; }
.pcard p { margin: 0; color: rgba(246,241,228,.82); font-size: .92rem; }
.pcard .tag { color: var(--gold-2); }
.pcard .go { display: inline-block; margin-top: 12px; font-weight: 600; font-size: .9rem; color: var(--gold-2); }
.pc-arrows { display: flex; gap: 8px; }
.pc-arrows button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 1.1rem; cursor: pointer; }
.pc-arrows button:hover { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }

/* Split media */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split.rev { grid-template-columns: 1fr 1.05fr; }
.split.rev .media { order: 2; }
@media (max-width: 900px) { .split, .split.rev { grid-template-columns: 1fr; gap: 32px; } .split.rev .media { order: 0; } }
.media { position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px rgba(20,33,15,.18); aspect-ratio: 4/3; }
.media video, .media img { width: 100%; height: 100%; object-fit: cover; }
.media .float { position: absolute; left: 18px; bottom: 18px; background: var(--surface); color: var(--ink); border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow); }
.media .float b { display: block; font: 600 1.5rem var(--serif); color: var(--brand); line-height: 1.1; }
.media .float span { font-size: .82rem; color: var(--ink-soft); }
.checks { list-style: none; padding: 0; margin: 18px 0 26px; }
.checks li { padding: 8px 0 8px 34px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 9px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-size: .75rem; }

/* Stats band */
.stats { position: relative; color: var(--night-ink); padding: 96px 0; background: var(--night) center/cover no-repeat; }
.stats::before { content: ""; position: absolute; inset: 0; background: rgba(20,33,15,.78); }
.stats .wrap { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats b { display: block; font: 600 clamp(2.2rem, 4.5vw, 3.4rem)/1 var(--serif); color: var(--gold-2); margin-bottom: 10px; }
.stats span { color: rgba(246,241,228,.85); font-size: .95rem; }
@media (max-width: 760px) { .stats .wrap { grid-template-columns: 1fr 1fr; gap: 36px 16px; } .stats { background-attachment: scroll; } }

/* Process with footage */
.proc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: p; }
@media (max-width: 960px) { .proc { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .proc { grid-template-columns: 1fr; } }
.proc article { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.proc article:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.proc .pm { aspect-ratio: 16/10; position: relative; overflow: hidden; }
.proc .pm video, .proc .pm img { width: 100%; height: 100%; object-fit: cover; }
.proc .pm::after { counter-increment: p; content: counter(p, decimal-leading-zero); position: absolute; top: 12px; left: 12px; background: var(--accent); color: var(--accent-ink); font: 600 .9rem var(--serif); padding: 4px 10px; border-radius: 999px; }
.proc .pb { padding: 18px 20px 22px; }
.proc h3 { margin-bottom: .3em; }
.proc p { color: var(--ink-soft); font-size: .93rem; margin: 0; }

/* Globe */
.globe-sec { background: radial-gradient(ellipse at 70% 40%, #24391c 0%, var(--night) 60%); color: var(--night-ink); overflow: hidden; }
.globe-sec h2 { color: var(--night-ink); }
.globe-sec .lead { color: rgba(246,241,228,.78); }
.globe-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: center; }
@media (max-width: 900px) { .globe-grid { grid-template-columns: minmax(0, 1fr); } }
#globe { height: 520px; width: 100%; min-width: 0; overflow: hidden; cursor: grab; position: relative; }
.routes { list-style: none; padding: 0; margin: 24px 0 0; }
.routes li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgba(246,241,228,.14); }
.routes li span:last-child { color: var(--gold-2); font-weight: 600; white-space: nowrap; }
@media (max-width: 600px) { #globe { height: 360px; } }

/* Cert marquee */
.cmarq { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.cmarq-track { display: inline-flex; gap: 18px; animation: tick 32s linear infinite; padding: 6px 0; }
.cmarq figure { margin: 0; width: 170px; flex: 0 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; text-align: center; }
.cmarq img { height: 72px; width: auto; margin: 0 auto 10px; object-fit: contain; }
.cmarq .ck { height: 72px; display: grid; place-items: center; font: 600 1.15rem var(--serif); color: var(--brand); margin-bottom: 10px; }
.cmarq figcaption { font-size: .84rem; color: var(--ink-soft); }
.cmarq:hover .cmarq-track { animation-play-state: paused; }

/* Why cards */
.why .card { padding: 26px; transition: transform .25s, box-shadow .25s; }
.why .card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--brand); color: var(--gold-2); display: grid; place-items: center; margin-bottom: 16px; }

/* CTA with video */
.vcta { position: relative; border-radius: 26px; overflow: hidden; color: var(--night-ink); min-height: 380px; display: flex; align-items: center; background: var(--night); }
.vcta video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vcta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20,33,15,.92), rgba(20,33,15,.4)); }
.vcta > div { position: relative; z-index: 2; padding: 56px; max-width: 660px; }
.vcta h2 { color: var(--night-ink); font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.vcta p { color: rgba(246,241,228,.85); }
@media (max-width: 600px) { .vcta > div { padding: 34px 22px; } }

/* Image page heroes */
.ihero { position: relative; color: var(--night-ink); padding: 120px 0 96px; background: var(--night) center/cover no-repeat; overflow: hidden; }
.ihero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,33,15,.92), rgba(20,33,15,.5)); }
.ihero .wrap { position: relative; }
.ihero h1 { color: var(--night-ink); }
.ihero .lead { color: rgba(246,241,228,.86); }
@media (max-width: 600px) { .ihero { padding: 80px 0 64px; } }

/* Product cards with photos (products page) */
.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 760px) { .pgrid { grid-template-columns: 1fr; } }
.cat { padding: 0; overflow: hidden; }
.cat .cimg { height: 230px; position: relative; overflow: hidden; }
.cat .cimg img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cat:hover .cimg img { transform: scale(1.05); }
.cat .cimg .tag { position: absolute; left: 16px; top: 16px; background: var(--surface); color: var(--leaf); padding: 5px 10px; border-radius: 999px; margin: 0; }
.cat .cbody { padding: 24px 26px 26px; }

/* Reveal on scroll */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .ticker-track, .cmarq-track, .hv-dot.on i { animation: none; }
}

/* ===================== v3: full width + US identity ===================== */
:root { --max: 1680px; }
.wrap { padding: 0 clamp(20px, 4vw, 72px); }
.topbar { background: var(--night); color: rgba(246,241,228,.88); font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar span { display: inline-flex; align-items: center; gap: 9px; }
.topbar a { color: rgba(246,241,228,.88); text-decoration: none; margin-left: 22px; }
.topbar a:hover { color: var(--gold-2); }
@media (max-width: 700px) { .topbar .tb-r { display: none; } }
.flag { display: inline-block; vertical-align: -1px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.15); flex: 0 0 auto; }
.hv-us { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(246,241,228,.14); border: 1px solid rgba(246,241,228,.28); backdrop-filter: blur(6px); font-size: .88rem; font-weight: 600; }
.hv-content .wrap > .hv-cap { display: flex; width: max-content; }
.hv h1 { max-width: 21ch; }
.hv-badges span { display: inline-flex; align-items: center; gap: 8px; }
.foot-us { display: flex; align-items: center; gap: 9px; color: var(--brand-ink); font-weight: 600; }
.ihero .lead .flag { margin-right: 6px; }
.credits { padding-left: 1.1em; }
.credits li { margin-bottom: 10px; color: var(--ink-soft); }
.pc-track { grid-auto-columns: minmax(270px, calc((100% - 72px) / 5)); }
@media (max-width: 1280px) { .pc-track { grid-auto-columns: minmax(260px, calc((100% - 54px) / 4)); } }
@media (max-width: 900px) { .pc-track { grid-auto-columns: minmax(240px, 72%); } }
.pgrid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1200px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .pgrid { grid-template-columns: 1fr; } }
.cat ul { columns: 1; }
.hv-content .wrap, .hv-nav .wrap { max-width: var(--max); }
.lead { max-width: 70ch; }

/* v4: origins + supplier trade grid */
.routes li span:last-child { white-space: normal; text-align: right; font-weight: 500; }
.tgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tcat { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; }
.tcat:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent); }
.tcat img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.tcat div { padding: 16px 18px 18px; }
.tcat h3 { font-size: 1.08rem; margin: 0 0 .3em; }
.tcat p { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.ogrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ocard { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); padding: 20px 22px; }
.ocard h3 { margin: 0; font-size: 1.25rem; }
.ocard .port { display: block; font-size: .82rem; color: var(--ink-soft); margin: 2px 0 12px; }
.ocard ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ocard li { font-size: .85rem; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
@media (max-width: 1100px) { .tgrid, .ogrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .tgrid, .ogrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tgrid, .ogrid { grid-template-columns: 1fr; } }

/* v5: static certificate grid */
.certgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 8px; }
.cert { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; text-align: center; transition: transform .2s, box-shadow .2s; }
.cert:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cert img { height: 84px; width: auto; max-width: 100%; margin: 0 auto 16px; object-fit: contain; display: block; }
.cert .ck { height: 84px; width: 84px; margin: 0 auto 16px; border-radius: 50%; border: 2px solid var(--brand); display: grid; place-items: center; font: 600 1.05rem var(--serif); color: var(--brand); }
.cert h3 { font-size: 1.08rem; margin: 0 0 .4em; }
.cert p { margin: 0; color: var(--ink-soft); font-size: .92rem; }
.foot-certs { font-size: .85rem; opacity: .8; }
@media (max-width: 900px) { .certgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* v6: trading-house footer */
.site-foot { padding: 72px 0 26px; }
.foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.foot-logo { height: 64px; width: auto; margin-bottom: 14px; filter: brightness(1.6); }
.foot-tag { font: 600 1.05rem var(--serif); color: var(--gold-2); margin: 0 0 8px; }
.foot-brand p { max-width: 38ch; }
.foot-certs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.foot-certs img, .foot-certs span { height: 44px; width: auto; padding: 6px 8px; border-radius: 8px; background: #faf7f0; object-fit: contain; }
.foot-certs span { display: inline-grid; place-items: center; font: 700 .72rem var(--sans); color: var(--brand); letter-spacing: .03em; }
.foot-contact li { display: grid; gap: 2px; margin-bottom: 12px; }
.foot-contact li span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(246,241,228,.7); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.foot-links { display: flex; gap: 20px; }
@media (max-width: 1000px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .foot-grid { grid-template-columns: 1fr; } }

/* v7: performance - keep off-screen sections out of layout/paint work */
section.alt, .why, .stats, .globe-sec + section, .faq { content-visibility: auto; contain-intrinsic-size: auto 900px; }
.pc-track, .tgrid, .ogrid { contain: layout paint; }

/* v8: accessible contrast - darker gold for small caps on light surfaces, bright gold on dark ones */
.eyebrow { color: #85601a; }
.hv .eyebrow, .ihero .eyebrow, .globe-sec .eyebrow, .vcta .eyebrow, .stats .eyebrow, .site-foot .eyebrow { color: var(--gold-2); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
