@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --navy: #2D2E30;
  --gold: #D2AC47;
  --gold-soft: #E6C677;
  --taupe: #CFCBBF;
  --bg: #FFFFFE;
  --bg-alt: #F7F5F0;
  --ink: #1A1B1D;
  --muted: #6B6E72;
}

* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-weight: 400;
}

.font-serif { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; letter-spacing: -0.005em; }

h1, h2, h3, h4 { font-family: 'Cormorant Garamond', Georgia, serif; color: var(--navy); letter-spacing: -0.01em; }
h1 { font-weight: 700; line-height: 1.05; }
h2 { font-weight: 600; line-height: 1.1; }

a { color: inherit; text-decoration: none; }

/* ---------- Layout helpers ---------- */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }
@media (max-width: 768px) { .section { padding: 4rem 0; } }

/* ---------- Brand divider ---------- */
.divider {
  display: flex; align-items: center; gap: 1rem;
  max-width: 240px; margin: 2.5rem auto;
}
.divider::before, .divider::after {
  content: ""; flex: 1; height: 1px; background: var(--gold);
}
.divider svg { width: 18px; height: 18px; opacity: 0.9; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  font-weight: 500; font-size: 0.95rem; letter-spacing: 0.02em;
  border-radius: 2px; transition: all 180ms ease;
  border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--navy); color: var(--gold); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--bg); }
.btn-light { background: var(--bg); color: var(--navy); }
.btn-light:hover { background: var(--gold); }
.btn-ghost { color: var(--gold); }
.btn-ghost:hover { color: var(--bg); }
.btn .arrow { transition: transform 180ms ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,254,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(45,46,48,0.08);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; }
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand-mark { height: 44px; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text .b1 { font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 1.35rem; color: var(--navy); letter-spacing: 0.02em; }
.brand-text .b2 { font-size: 0.62rem; color: var(--gold); letter-spacing: 0.32em; margin-top: 3px; text-transform: uppercase; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  font-size: 0.92rem; font-weight: 500; color: var(--navy);
  padding: 0.4rem 0; position: relative; transition: color 180ms;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 220ms ease;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold); }
.nav-cta { margin-left: 0.5rem; }

.nav-toggle {
  display: none; width: 44px; height: 44px;
  border: 1px solid var(--navy); background: transparent; border-radius: 2px;
  cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--navy); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--navy);
}
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 0 0 0 30%;
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 1.5rem; padding: 2rem;
    background: var(--navy); transform: translateX(100%);
    transition: transform 280ms ease;
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a { color: var(--bg); font-size: 1.15rem; }
  .nav-links a.active { color: var(--gold); }
  .nav-cta { margin: 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 2.5rem 0 5rem; overflow: hidden; }
.hero-watermark {
  position: absolute; right: -5%; top: -10%;
  width: 600px; height: 600px; opacity: 0.05; pointer-events: none;
}
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); margin-bottom: 1.25rem; max-width: 16ch; }
.hero .lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 58ch; margin-bottom: 2rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 1.5rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Stat strip ---------- */
.stat-strip { background: var(--navy); color: var(--bg); }
.stat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.stat-cell {
  padding: 2rem 1.5rem; border-right: 1px solid rgba(210,172,71,0.18);
}
.stat-cell:last-child { border-right: none; }
.stat-cell .v { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; color: var(--gold); font-weight: 600; }
.stat-cell .l { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--taupe); margin-top: 0.35rem; }
@media (max-width: 760px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2) { border-right: none; }
  .stat-cell:nth-child(1), .stat-cell:nth-child(2) { border-bottom: 1px solid rgba(210,172,71,0.18); }
}

/* ---------- Section headers ---------- */
.section-head { text-align: center; max-width: 760px; margin: 0 auto 3.5rem; }
.section-head h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); margin-bottom: 0.8rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Product cards ---------- */
.card-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
@media (max-width: 1000px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .card-grid { grid-template-columns: 1fr; } }
#home-commodities { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { #home-commodities { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { #home-commodities { grid-template-columns: 1fr; } }
#home-regions { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { #home-regions { grid-template-columns: 1fr; } }
#finance-grid { grid-template-columns: repeat(6, 1fr); }
#finance-grid > :nth-child(1) { grid-column: 1 / span 2; }
#finance-grid > :nth-child(2) { grid-column: 3 / span 2; }
#finance-grid > :nth-child(3) { grid-column: 5 / span 2; }
#finance-grid > :nth-child(4) { grid-column: 2 / span 2; }
#finance-grid > :nth-child(5) { grid-column: 4 / span 2; }
@media (max-width: 900px) {
  #finance-grid { grid-template-columns: repeat(2, 1fr); }
  #finance-grid > :nth-child(n) { grid-column: auto; }
}
@media (max-width: 560px) {
  #finance-grid { grid-template-columns: 1fr; }
}
#reach-regions { grid-template-columns: repeat(6, 1fr); }
#reach-regions > :nth-child(1) { grid-column: 1 / span 2; }
#reach-regions > :nth-child(2) { grid-column: 3 / span 2; }
#reach-regions > :nth-child(3) { grid-column: 5 / span 2; }
#reach-regions > :nth-child(4) { grid-column: 2 / span 2; }
#reach-regions > :nth-child(5) { grid-column: 4 / span 2; }
@media (max-width: 900px) {
  #reach-regions { grid-template-columns: 1fr; }
  #reach-regions > :nth-child(n) { grid-column: auto; }
}
.card {
  background: var(--bg); border: 1px solid rgba(45,46,48,0.10);
  padding: 2rem 1.6rem; transition: all 220ms ease;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: var(--gold); transition: width 280ms ease;
}
.card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(45,46,48,0.30); }
.card:hover::before { width: 100%; }
.card .icon { width: 36px; height: 36px; margin-bottom: 1rem; }
.card h3 { font-size: 1.45rem; margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card .meta { margin-top: 1.2rem; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 600; }

/* ---------- Process strip ---------- */
.process-strip {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 0;
  position: relative;
}
.process-strip::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.step-mini { text-align: center; padding: 0 0.5rem; position: relative; }
.step-mini .num {
  width: 52px; height: 52px; margin: 0 auto 1rem;
  display: grid; place-items: center;
  background: var(--bg); border: 2px solid var(--gold); color: var(--navy);
  font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 1.2rem;
  position: relative; z-index: 1;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.step-mini h4 { font-size: 1rem; color: var(--navy); margin-bottom: 0.3rem; }
.step-mini p { font-size: 0.82rem; color: var(--muted); }
@media (max-width: 900px) {
  .process-strip { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .process-strip::before { display: none; }
}

/* ---------- Vertical timeline (process page) ---------- */
.timeline { position: relative; max-width: 820px; margin: 0 auto; }
.timeline::before {
  content: ""; position: absolute; left: 26px; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold) 8%, var(--gold) 92%, transparent);
}
.tl-step { position: relative; padding-left: 80px; padding-bottom: 3rem; }
.tl-step:last-child { padding-bottom: 0; }
.tl-step .node {
  position: absolute; left: 0; top: 0;
  width: 54px; height: 54px; display: grid; place-items: center;
  background: var(--bg); border: 2px solid var(--gold); color: var(--navy);
  font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 1.2rem;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.tl-step h3 { font-size: 1.6rem; margin-bottom: 0.4rem; }
.tl-step .who { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 0.6rem; }
.tl-step p { color: var(--muted); }
.tl-step .dur {
  display: inline-block; margin-top: 0.8rem;
  font-size: 0.78rem; color: var(--navy);
  background: var(--bg-alt); padding: 0.25rem 0.7rem; border-radius: 2px;
}

/* ---------- Hex bullets ---------- */
.hex-list { list-style: none; padding: 0; margin: 0; }
.hex-list li { position: relative; padding-left: 1.8rem; margin-bottom: 0.6rem; color: var(--ink); }
.hex-list li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 10px; height: 10px; background: var(--gold);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* ---------- Two-col ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.two-col.flip > :first-child { order: 2; }
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .two-col.flip > :first-child { order: 0; }
}

/* ---------- Product feature row ---------- */
.product-row { padding: 5rem 0; border-bottom: 1px solid rgba(45,46,48,0.08); }
.product-row:last-of-type { border-bottom: none; }
.product-row h2 { font-size: 2.6rem; margin-bottom: 0.6rem; }
.product-row .tag { font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 1rem; display: block; }
.product-row .spec-card {
  background: var(--navy); color: var(--bg); padding: 2.5rem;
  position: relative; overflow: hidden;
}
.product-row .spec-card::after {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px;
  background: url('../svg/hexmark.svg') center/contain no-repeat; opacity: 0.08;
}
.spec-card .label { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.25rem; display: block; }
.spec-card .val { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; margin-bottom: 1.4rem; line-height: 1.2; }

/* ---------- Region cards ---------- */
.region-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .region-grid { grid-template-columns: 1fr; } }
.region-card {
  padding: 2.2rem; background: var(--bg-alt); border-top: 3px solid var(--gold);
}
.region-card h3 { font-size: 1.55rem; margin-bottom: 0.5rem; }
.region-card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- World map ---------- */
.map-wrap {
  background: var(--navy); padding: 3rem 2rem; position: relative; overflow: hidden;
}
.map-wrap svg { width: 100%; height: auto; display: block; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy); color: var(--bg);
  padding: 5rem 0; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; right: -100px; top: 50%; transform: translateY(-50%);
  width: 480px; height: 480px;
  background: url('../svg/hexmark.svg') center/contain no-repeat; opacity: 0.06;
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { color: var(--bg); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.8rem; }
.cta-band p { color: var(--taupe); margin-bottom: 1.6rem; max-width: 56ch; }

/* ---------- Footer ---------- */
.site-footer { background: #1c1d1f; color: var(--taupe); padding: 4rem 0 2rem; font-size: 0.9rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h5 { color: var(--gold); font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 1rem; }
.foot-grid a { color: var(--taupe); display: block; padding: 0.25rem 0; transition: color 180ms; }
.foot-grid a:hover { color: var(--gold); }
.foot-bottom { padding-top: 2rem; border-top: 1px solid rgba(210,172,71,0.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem; color: var(--muted); font-size: 0.82rem; }
.foot-brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem; }
.foot-brand img { height: 40px; filter: brightness(0) invert(1); opacity: 0.9; }

/* ---------- Sub hero (interior pages) ---------- */
.sub-hero { padding: 2.5rem 0 3.5rem; background: var(--bg-alt); border-bottom: 1px solid rgba(45,46,48,0.06); position: relative; overflow: hidden; }
.sub-hero::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px;
  background: url('../svg/hexmark.svg') center/contain no-repeat; opacity: 0.06;
}
.sub-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 0.6rem; }
.sub-hero p { color: var(--muted); font-size: 1.1rem; max-width: 60ch; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Misc ---------- */
.kicker { color: var(--gold); font-weight: 600; }
.bg-alt { background: var(--bg-alt); }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

/* ---------- Three column why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } }
.why-cell .num-tag {
  font-family: 'Cormorant Garamond', serif; font-weight: 700;
  color: var(--gold); font-size: 1.5rem; display: block; margin-bottom: 0.5rem;
}
.why-cell h3 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.why-cell p { color: var(--muted); }

/* ---------- Compliance lists ---------- */
.comp-block { background: var(--bg-alt); padding: 2.5rem; height: 100%; }
.comp-block h3 { font-size: 1.7rem; margin-bottom: 1rem; }

/* ---------- Contact ---------- */
.contact-block { background: var(--bg-alt); padding: 2.5rem; }
.contact-block .row { display: flex; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid rgba(45,46,48,0.08); }
.contact-block .row:last-of-type { border-bottom: none; }
.contact-block .row .label { width: 130px; flex-shrink: 0; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); font-weight: 600; padding-top: 3px; }
.contact-block .row .val { color: var(--ink); flex: 1; }
.map-iframe { width: 100%; height: 100%; min-height: 460px; border: 0; }
