:root {
  --gold: #E9A13B;
  --ochre: #B8862F;
  --brick: #9C5343;
  --slate: #9A9A98;
  --ink: #2E2C29;
  --ink-soft: #55524D;
  --paper: #FFFFFF;
  --tint: #EAE8E4;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(46, 44, 41, 0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

img { max-width: 100%; display: block; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { line-height: 1.15; font-weight: 900; letter-spacing: 0.01em; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); text-transform: uppercase; margin-bottom: 1rem; }
h3.sub-heading { font-size: 1.4rem; text-transform: uppercase; margin: 2.5rem 0 1.25rem; }

p + p { margin-top: 1em; }

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--ochre);
  margin-bottom: 0.5rem;
}

.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 46rem; margin-bottom: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--tint);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 48px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.site-nav a:hover { color: var(--ochre); }
.nav-cta {
  background: var(--gold);
  color: #fff !important;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--ochre); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 3px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 82vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20, 16, 10, 0.82) 20%, rgba(20, 16, 10, 0.35) 70%, rgba(20, 16, 10, 0.15));
}
.hero-content { position: relative; color: #fff; padding-top: 4rem; padding-bottom: 4rem; }
.hero-content .kicker { color: var(--gold); }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); text-transform: uppercase; margin-bottom: 1rem; }
.hero-sub { font-size: 1.2rem; max-width: 34rem; color: rgba(255, 255, 255, 0.88); }
.hero-actions { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--ochre); }
.btn-ghost { border: 2px solid rgba(255, 255, 255, 0.85); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section-tint { background: var(--tint); padding-bottom: 0; }
.section-tint .container { padding-bottom: 5rem; }

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.photo-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }

.banner-photo { margin-top: 4rem; max-height: 420px; overflow: hidden; }
.banner-photo img { width: 100%; object-fit: cover; }

/* ---------- Divisions ---------- */
.divisions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.division {
  display: block;
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease;
}
.division:hover { transform: translateY(-4px); }
.division h3 { font-size: 1.25rem; text-transform: uppercase; }
.division hr { border: 0; border-top: 3px solid rgba(255, 255, 255, 0.55); width: 64px; margin: 0.9rem 0; }
.division p { color: rgba(255, 255, 255, 0.92); }
.division-link { display: inline-block; margin-top: 1.1rem; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
.division-gold { background: var(--gold); }
.division-brick { background: var(--brick); }
.division-slate { background: var(--slate); }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.service-card {
  background: #fff;
  border: 1px solid var(--tint);
  border-radius: var(--radius);
  padding: 1.75rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.service-icon {
  width: 62px; height: 62px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h4 { font-size: 1.02rem; min-height: 3.2em; display: flex; align-items: center; justify-content: center; }
.service-card hr { border: 0; border-top: 3px solid var(--gold); width: 48px; margin: 0.8rem auto; }
.service-card p { font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- Who we serve ---------- */
.serve-band { background: var(--gold); margin-top: 4rem; padding: 3rem 0 3.5rem; }
.serve-band .sub-heading { margin-top: 0; color: var(--ink); }
.serve-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.serve-col { display: flex; flex-direction: column; gap: 0.5rem; }
.serve-head {
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-align: center;
  padding: 0.55rem 0.5rem;
  border-radius: 6px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.4rem;
}
.serve-col span {
  background: rgba(46, 44, 41, 0.82);
  color: #fff;
  text-align: center;
  padding: 0.45rem 0.5rem;
  border-radius: 6px;
  font-size: 0.85rem;
}

/* ---------- Products ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.product-card > img { height: 170px; width: 100%; object-fit: cover; }
.product-body { padding: 1.4rem 1.5rem 1.6rem; }
.product-body h4 {
  font-size: 1.05rem;
  text-transform: uppercase;
  border-bottom: 3px solid var(--gold);
  display: inline-block;
  padding-bottom: 0.25rem;
  margin-bottom: 0.75rem;
}
.product-body h4 + ul + h4 { margin-top: 1.25rem; }
.product-body ul {
  list-style: none;
  columns: 2;
  column-gap: 1.25rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.product-body li { padding: 0.14rem 0; break-inside: avoid; }
.product-note { margin-top: 1rem; font-size: 0.9rem; color: var(--ink-soft); }
.product-note a { color: var(--ochre); font-weight: 700; }

/* ---------- Mining ---------- */
.section-brick { background: var(--brick); color: #fff; }
.section-brick .kicker { color: #F3C98A; }
.section-brick .lede { color: rgba(255, 255, 255, 0.92); }
.section-brick p { color: rgba(255, 255, 255, 0.92); max-width: 52rem; }
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.support-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1.25rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.1rem;
}
.support-card img { width: 150px; height: 120px; object-fit: cover; border-radius: 6px; }
.support-card h4 { text-transform: uppercase; font-size: 1rem; margin-bottom: 0.4rem; }
.support-card p { font-size: 0.92rem; }

/* ---------- Trading ---------- */
.mandate {
  margin-top: 1.5rem;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.75rem 1.75rem 1.9rem;
}
.mandate h3 { font-size: 1.3rem; margin-bottom: 0.9rem; }
.mandate ul { list-style: none; }
.mandate li { padding: 0.4rem 0 0.4rem 1.6rem; position: relative; }
.mandate li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.85rem;
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 2px;
}
#trading .split { align-items: start; }

/* ---------- Contact ---------- */
.section-gold { background: var(--ochre); color: #fff; }
.contact-inner { text-align: center; }
.section-gold .lede { color: rgba(255, 255, 255, 0.92); margin: 0 auto 2rem; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 380px));
  gap: 1.5rem;
  justify-content: center;
}
.contact-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.contact-card h4 { text-transform: uppercase; margin-bottom: 0.75rem; letter-spacing: 0.05em; }
.contact-card a { color: #fff; font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.85); padding: 3rem 0; }
.footer-inner { text-align: center; }
.footer-logo { height: 56px; width: auto; margin: 0 auto 1rem; }
.footer-fine { margin-top: 0.75rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .split, .services-grid, .support-grid { grid-template-columns: 1fr 1fr; }
  .split { gap: 2rem; }
  .divisions-grid, .products-grid { grid-template-columns: 1fr 1fr; }
  .serve-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .split, .services-grid, .support-grid, .divisions-grid, .products-grid, .contact-grid { grid-template-columns: 1fr; }
  .serve-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 70vh; }
  .section { padding: 3.5rem 0; }
  .support-card { grid-template-columns: 1fr; }
  .support-card img { width: 100%; height: 160px; }

  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1.25rem 24px 1.5rem;
    border-bottom: 1px solid var(--tint);
    gap: 1rem;
  }
  .site-nav.open { display: flex; }
}
