/* Africa Engineering
   Layout: alternating ore-black and steel-white bands. The scroll map is the one full-bleed spectacle;
   everything else stays disciplined: left-aligned, wide stamped headings, plain body. */
:root {
  --ore: #1c1814;
  --ore-2: #241f1a;
  --ore-3: #3a3129;
  --gold: #c9922e;
  --gold-hi: #e2b04a;
  --gold-deep: #8a5f17;
  --laterite: #b3261e;
  --copper: #de7c43;
  --manganese: #d24a33;
  --paper: #f4f5f3;
  --steel-white: #e6e9e8;
  --steel: #5c6770;
  --rule: #cdd2d3;
  --ink: #1c1814;
  --ink-2: #4b5157;
  --bone: #efe9df;
  --bone-2: #b9b1a5;
  --map-bg: #0f0d0b;

  --f-display: 'Archivo', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --f-body: 'IBM Plex Sans', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.4rem, 1.1rem + 1.2vw, 1.85rem);
  --step-3: clamp(1.9rem, 1.3rem + 2.6vw, 3.1rem);
  --step-4: clamp(2.5rem, 1.4rem + 4.6vw, 5.2rem);

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1240px;
  --header-h: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-stretch: 118%;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { margin: 0; }
p + p { margin-top: 1em; }
figure { margin: 0; }
figcaption { font-size: var(--step--1); color: var(--ink-2); margin-top: 0.6rem; }
:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--ore); padding: 10px 14px; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0 1.4em;
  font-family: var(--f-display); font-stretch: 110%; font-weight: 700; font-size: 1rem; letter-spacing: 0.01em;
  text-decoration: none; border: 2px solid transparent; border-radius: 2px; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-sm { min-height: 40px; padding: 0 1.1em; font-size: 0.92rem; }
.btn-gold { background: var(--gold); color: var(--ore); }
.btn-gold:hover { background: var(--gold-hi); }
.btn-ghost { border-color: rgba(239, 233, 223, 0.45); color: var(--bone); background: transparent; }
.btn-ghost:hover { border-color: var(--bone); }
.btn-ore { background: var(--ore); color: var(--bone); }
.btn-ore:hover { background: var(--ore-3); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--bone);
  transition: background-color .3s, box-shadow .3s;
}
.site-header.is-solid { background: rgba(28, 24, 20, 0.94); box-shadow: 0 1px 0 rgba(239,233,223,.08); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand-word {
  font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: 0.86rem;
  line-height: 1.02; letter-spacing: 0.06em; text-transform: uppercase;
}
.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav a:not(.btn) { text-decoration: none; font-size: 0.95rem; font-weight: 500; opacity: 0.85; padding: 0.4rem 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover { opacity: 1; border-bottom-color: var(--gold); }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 46px; height: 46px; background: transparent; border: 1px solid rgba(239,233,223,.3); border-radius: 2px; cursor: pointer; padding: 0 11px;
  }
  .nav-toggle span:not(.sr-only) { display: block; height: 2px; background: var(--bone); transition: transform .25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ore); padding: 0.5rem var(--gutter) 1.5rem;
    border-top: 1px solid rgba(239,233,223,.1);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 0.9rem 0; border-bottom: 1px solid rgba(239,233,223,.1); font-size: 1.05rem; }
  .nav .btn { margin-top: 1rem; }
}

/* ---------- hero ---------- */
.hero {
  background: var(--ore); color: var(--bone);
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(1.5rem, 4vw, 3.5rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  position: relative; overflow: hidden;
}
.hero::before { /* faint contour texture from the map world */
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background:
    repeating-radial-gradient(ellipse at 78% 38%, transparent 0 22px, rgba(201,146,46,.07) 22px 23px);
  mask-image: linear-gradient(90deg, transparent 5%, #000 60%);
  -webkit-mask-image: linear-gradient(90deg, transparent 5%, #000 60%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; position: relative; }
.hero-place { font-family: var(--f-mono); font-size: 0.85rem; color: var(--gold-hi); margin-bottom: 1.4rem; display: flex; align-items: center; gap: 0.7rem; }
.hero-place::before { content: ''; width: 28px; height: 2px; background: var(--gold); }
.hero h1 { font-size: clamp(2.3rem, 0.9rem + 4.3vw, 4.5rem); font-stretch: 125%; font-weight: 850; line-height: 1; letter-spacing: -0.02em; max-width: 15ch; }
.hero .lead { margin-top: 1.6rem; font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem); color: var(--bone-2); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.2rem; }
.hero-photo { position: relative; }
.hero-photo-frame { position: relative; isolation: isolate; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%; }
.hero-photo-frame::after { content: ''; position: absolute; inset: 14px -14px -14px 14px; border: 2px solid var(--gold); z-index: -1; }
.hero-photo { isolation: isolate; }
.hero-photo figcaption { color: var(--bone-2); margin-top: 1.4rem; }

/* nameplate: the riveted brass ID plate found on every machine */
.nameplate {
  margin: clamp(2.5rem, 6vw, 4.5rem) 0 0; padding: 1.15rem 2.2rem;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.6rem 1.4rem;
  background:
    radial-gradient(circle at 14px 14px, #6b4a14 0 3.5px, #f0d38c 4px 5px, transparent 5.5px),
    radial-gradient(circle at calc(100% - 14px) 14px, #6b4a14 0 3.5px, #f0d38c 4px 5px, transparent 5.5px),
    radial-gradient(circle at 14px calc(100% - 14px), #6b4a14 0 3.5px, #f0d38c 4px 5px, transparent 5.5px),
    radial-gradient(circle at calc(100% - 14px) calc(100% - 14px), #6b4a14 0 3.5px, #f0d38c 4px 5px, transparent 5.5px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #d9a646, #b9832a 55%, #a87322);
  color: var(--ore);
  border-radius: 3px;
  box-shadow: inset 0 1px 0 rgba(255,240,200,.6), inset 0 -2px 0 rgba(80,50,10,.35), 0 10px 30px rgba(0,0,0,.35);
  position: relative;
}
.nameplate > div { min-width: 0; }
.nameplate dt { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.72; }
.nameplate dd { margin: 0.15rem 0 0; font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: 1.02rem; text-transform: uppercase; letter-spacing: 0.03em; text-shadow: 0 1px 0 rgba(255,235,190,.45); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { max-width: 460px; }
  .nameplate { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .nameplate { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 1.2rem 1.6rem; }
  .hero-photo-frame::after { inset: 10px -8px -10px 10px; }
}

/* ---------- bands ---------- */
.band { padding-block: clamp(4rem, 9vw, 8rem); }
.band-paper { background: var(--paper); color: var(--ink); }
.band-steel { background: var(--steel-white); color: var(--ink); }
.band-ore { background: var(--ore); color: var(--bone); }
.band-ore figcaption { color: var(--bone-2); }

/* problem */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.split-text h2 { margin-bottom: 1.6rem; max-width: 18ch; }
.split-text p { max-width: 60ch; color: var(--ink-2); }
.compare { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.compare caption { text-align: left; font-family: var(--f-mono); font-size: 0.8rem; color: var(--steel); padding-bottom: 0.9rem; }
.compare th, .compare td { text-align: left; padding: 0.9rem 0.8rem 0.9rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.compare thead th { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: 0.95rem; border-bottom: 2px solid var(--ink); }
.compare tbody th { font-weight: 600; color: var(--ink-2); width: 32%; }
.compare td:last-child { font-weight: 600; color: var(--ink); }
.compare thead th:last-child { color: var(--gold-deep); }
.compare td:last-child { box-shadow: inset 3px 0 0 var(--gold); padding-left: 0.9rem; }
.compare thead th:last-child { padding-left: 0.9rem; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* built in zambia */
.built-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 5rem; align-items: end; }
.built-head p { color: var(--bone-2); max-width: 56ch; }
.built-photo { margin-top: clamp(2rem, 4vw, 3.5rem); }
.built-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 45%; }
.timeline-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-top: clamp(3.5rem, 7vw, 6rem); margin-bottom: 1.6rem; }
.timeline-nav { display: flex; gap: 0.5rem; }
.icon-btn { width: 46px; height: 46px; display: grid; place-items: center; background: transparent; border: 1px solid rgba(239,233,223,.3); color: var(--bone); border-radius: 2px; cursor: pointer; }
.icon-btn:hover { border-color: var(--gold); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.timeline {
  list-style: none; margin: 0; padding: 0 0 1.2rem;
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 22%); gap: 1.25rem;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  counter-reset: stage; scrollbar-color: var(--ore-3) transparent;
}
.timeline li { scroll-snap-align: start; counter-increment: stage; min-width: 0; }
.timeline figure { position: relative; }
.timeline img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.timeline figure::before {
  content: counter(stage); position: absolute; left: 0; top: 0; z-index: 1;
  min-width: 2.2rem; height: 2.2rem; display: grid; place-items: center; padding: 0 0.5rem;
  background: var(--gold); color: var(--ore); font-family: var(--f-display); font-stretch: 112%; font-weight: 800;
}
.timeline h4 { margin-top: 1rem; font-size: 1.15rem; }
.timeline p { color: var(--bone-2); font-size: 0.95rem; margin-top: 0.35rem; }
.timeline li:last-child img { object-position: 30% 60%; }
@media (max-width: 900px) { .built-head { grid-template-columns: 1fr; } .timeline { grid-auto-columns: minmax(220px, 64%); } }

/* technology */
.tech-head { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 2rem 5rem; align-items: start; }
.lead-dark { color: var(--ink-2); font-size: 1.12rem; max-width: 62ch; }
.tech-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: clamp(2rem, 4vw, 4rem); margin-top: clamp(2.5rem, 5vw, 4rem); align-items: center; }
.jig-figure { background: var(--ore); padding: clamp(0.8rem, 2vw, 1.6rem); }
.jig-figure figcaption { color: var(--bone-2); margin-top: 0.4rem; padding-inline: 0.4rem; }
.jig { width: 100%; height: auto; display: block; overflow: visible; }
.jig-wall { fill: none; stroke: #9aa4ab; stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; }
.jig-water { fill: rgba(111, 147, 166, 0.16); }
.jig-hutch-water { fill: rgba(111, 147, 166, 0.22); }
.jig-screen-line { stroke: #9aa4ab; stroke-width: 2; }
.jig-screenbed { stroke: #9aa4ab; stroke-width: 1; }
.jig-rubber { fill: #3b3836; stroke: #77706a; stroke-width: 2; }
.jig-rod { stroke: #9aa4ab; stroke-width: 4; stroke-linecap: round; }
.jig-cam { fill: none; stroke: #9aa4ab; stroke-width: 3; }
.jig-cam-dot { fill: var(--gold-hi); }
.jig-valve { fill: var(--gold-hi); }
.jig-arrow { fill: none; stroke: var(--bone-2); stroke-width: 2.5; stroke-dasharray: 6 6; }
.jig-arrowhead { fill: var(--bone-2); }
.jig-labels text { fill: var(--bone); font-family: var(--f-body); font-size: 15px; font-weight: 500; }
.jig-labels .jig-sub { fill: var(--bone-2); font-size: 13px; font-weight: 400; }
.jig-leader { stroke: rgba(239,233,223,.45); stroke-width: 1; fill: none; }
.p-light { fill: #a99b88; }
.p-gold { fill: var(--gold-hi); }

.process { list-style: none; margin: 0; padding: 0; counter-reset: proc; display: grid; gap: 1.4rem; }
.process li { counter-increment: proc; display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); column-gap: 1rem; padding-top: 1.1rem; border-top: 1px solid var(--rule); }
.process li::before { content: counter(proc); grid-row: span 2; font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: 1.5rem; color: var(--gold-deep); line-height: 1; }
.process h3 { font-size: 1.2rem; }
.process p { color: var(--ink-2); font-size: 0.98rem; margin-top: 0.3rem; }

.tech-lower { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(2rem, 5vw, 5rem); margin-top: clamp(3rem, 6vw, 5rem); align-items: start; }
.sg figcaption { color: var(--ink); margin: 0 0 1.4rem; }
.sg figcaption p { color: var(--ink-2); font-size: 0.95rem; margin-top: 0.3rem; }
.sg-chart { display: grid; gap: 0.9rem; }
.sg-row { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) 3.4rem; align-items: center; gap: 0.9rem; }
.sg-name { font-weight: 600; font-size: 0.95rem; }
.sg-track { height: 22px; position: relative; background: repeating-linear-gradient(90deg, var(--rule) 0 1px, transparent 1px 25%); }
.sg-bar { position: absolute; inset: 3px auto 3px 0; width: calc(var(--v) / 20 * 100%); background: var(--steel); }
.sg-gold .sg-bar { background: linear-gradient(90deg, var(--gold-deep), var(--gold-hi)); }
.sg-gold .sg-name, .sg-gold .sg-val { color: var(--gold-deep); }
.sg-val { font-family: var(--f-mono); font-size: 0.9rem; text-align: right; font-variant-numeric: tabular-nums; }
.sg-axis { display: flex; justify-content: space-between; margin-left: calc(6.5rem + 0.9rem); margin-right: calc(3.4rem + 0.9rem); font-family: var(--f-mono); font-size: 0.75rem; color: var(--steel); }
.sg-axis span { width: 0; display: flex; justify-content: center; }
.hotspot-wrap { position: relative; }
.hotspot-wrap img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hotspot { position: absolute; left: var(--x); top: var(--y); display: flex; align-items: center; gap: 0.5rem; transform: translate(-14px, -14px); pointer-events: none; }
.hotspot b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ore); font-family: var(--f-display); font-weight: 800; font-size: 0.9rem; box-shadow: 0 0 0 4px rgba(201,146,46,.35); flex: none; }
.hotspot span { background: rgba(28,24,20,.88); color: var(--bone); font-size: 0.82rem; padding: 0.3rem 0.55rem; line-height: 1.3; max-width: 13rem; }
@media (max-width: 900px) {
  .tech-head, .tech-grid, .tech-lower { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .sg-row { grid-template-columns: 5.2rem minmax(0, 1fr) 2.8rem; gap: 0.6rem; }
  .sg-axis { margin-left: calc(5.2rem + 0.6rem); margin-right: calc(2.8rem + 0.6rem); }
  .jig-labels text { font-size: 17px; }
}

/* partnership */
.partner-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 5rem; align-items: end; }
.partner-head p { color: var(--ink-2); max-width: 56ch; }
.steps3 { list-style: none; padding: 0; margin: clamp(2.5rem, 5vw, 4rem) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; counter-reset: st; }
.steps3 li { counter-increment: st; background: var(--paper); padding: 1.8rem 1.6rem 2rem; border-top: 4px solid var(--gold); position: relative; }
.steps3 li::before { content: counter(st); display: block; font-family: var(--f-display); font-stretch: 125%; font-weight: 850; font-size: 2.8rem; line-height: 1; color: var(--gold); margin-bottom: 1.2rem; }
.steps3 h3 { font-size: 1.3rem; }
.steps3 p { color: var(--ink-2); margin-top: 0.6rem; }
.partner-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.25rem; }
.partner-photos img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.partner-cta { margin-top: 2.2rem; }
@media (max-width: 900px) {
  .partner-head, .steps3 { grid-template-columns: 1fr; }
  .partner-photos { grid-template-columns: 1fr; }
  .partner-photos img { aspect-ratio: 4 / 3; }
}

/* ---------- map section ---------- */
.mapsec { position: relative; background: var(--map-bg); color: var(--bone); }
.map-stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 60% 45%, rgba(201,146,46,.10), transparent 70%),
    radial-gradient(ellipse at 50% 50%, #17130f, var(--map-bg) 75%);
}
.map-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.map-vignette { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 160px 40px rgba(10,8,6,.85); }
.map-labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.map-fallback-img { display: none; }
.mapsec.map-fallback .map-fallback-img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 6vh 4vw 6vh 36vw; }
.mapsec.map-fallback .hud, .mapsec.map-fallback .map-rail { display: none; }
@media (max-width: 760px) { .mapsec.map-fallback .map-fallback-img { padding: 4vh 4vw 48vh; } }

.mlabel {
  position: absolute; left: 0; top: 0; white-space: nowrap; will-change: transform, opacity;
  transition: opacity .25s linear; opacity: 0; visibility: hidden;
}
.mlabel-continent { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.6rem); letter-spacing: 0.4em; color: rgba(239,233,223,.42); text-transform: uppercase; translate: -50% -50%; }
.mlabel-sea { font-family: var(--f-body); font-style: italic; font-size: 0.9rem; color: rgba(143,160,172,.7); letter-spacing: 0.18em; translate: -50% -50%; }
.mlabel-country { font-family: var(--f-display); font-stretch: 118%; font-weight: 600; font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(239,233,223,.55); translate: -50% -50%; }
.mlabel-zambia { font-family: var(--f-display); font-stretch: 125%; font-weight: 850; font-size: clamp(1.3rem, 2.4vw, 2rem); letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold-hi); translate: -50% -50%; text-shadow: 0 0 24px rgba(226,176,74,.45); }
.mlabel-province { font-family: var(--f-display); font-stretch: 112%; font-weight: 600; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(226,176,74,.62); translate: -50% -50%; }
.mlabel-town { font-size: 0.78rem; color: rgba(239,233,223,.62); padding-left: 10px; translate: 0 -50%; }
.mlabel-town::before { content: ''; position: absolute; left: -2px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: rgba(239,233,223,.55); }
.mlabel-water { font-family: var(--f-body); font-style: italic; font-size: 0.78rem; color: rgba(127,166,186,.85); translate: -50% -50%; }
.mlabel-site { display: flex; align-items: center; gap: 0.55rem; margin-left: 16px; translate: 0 -50%; padding: 0.35rem 0.7rem 0.35rem 0.55rem; background: rgba(15,13,11,.78); border-left: 2px solid var(--k, var(--gold-hi)); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.mlabel-site b { font-family: var(--f-display); font-stretch: 112%; font-weight: 750; font-size: 0.92rem; color: var(--bone); }
.mlabel-site small { font-size: 0.72rem; color: var(--k, var(--gold-hi)); letter-spacing: 0.04em; }
.ln-short { display: none; }
.mlabel-site.mlabel-left { margin-left: 0; translate: calc(-100% - 16px) -50%; border-left: 0; border-right: 2px solid var(--k); }
.mlabel-dist { font-family: var(--f-mono); font-size: 0.78rem; color: var(--k, var(--gold-hi)); background: rgba(15,13,11,.8); padding: 0.15rem 0.45rem; translate: -50% -50%; border: 1px solid currentColor; }
.kind-gold { --k: #e2b04a; }
.kind-copper { --k: #de7c43; }
.kind-manganese { --k: #e0644c; }
.kind-prospect { --k: #c4ccd2; }
.kind-hq { --k: #f4efe6; }

.hud { position: absolute; right: clamp(16px, 3vw, 36px); bottom: clamp(16px, 3vw, 32px); display: flex; align-items: flex-end; gap: 1.4rem; font-family: var(--f-mono); font-size: 0.74rem; color: rgba(239,233,223,.75); pointer-events: none; }
.hud-block { display: grid; grid-template-columns: auto auto; gap: 0.15rem 0.7rem; font-variant-numeric: tabular-nums; }
.hud-k { color: rgba(226,176,74,.85); }
.hud-v { text-align: right; min-width: 7.5ch; }
.hud-scale { display: flex; flex-direction: column; gap: 0.35rem; }
.hud-scale-bar { display: block; height: 6px; border: 1.5px solid rgba(239,233,223,.75); border-top: 0; width: 80px; transition: width .2s; }
.hud-north { display: grid; justify-items: center; gap: 0.1rem; width: 30px; transform-origin: 50% 40%; }
.hud-north svg { width: 22px; height: 22px; fill: var(--gold-hi); }

.map-rail { position: absolute; right: clamp(16px, 3vw, 36px); top: 50%; transform: translateY(-50%); display: grid; gap: 0.15rem; }
.map-rail button {
  all: unset; cursor: pointer; position: relative; display: flex; align-items: center; justify-content: flex-end;
  height: 22px; width: 40px; color: rgba(239,233,223,.38); transition: color .2s;
}
.map-rail button::after { content: ''; width: 14px; height: 2px; background: currentColor; transition: width .25s, background-color .25s; }
.map-rail button span {
  position: absolute; right: 48px; top: 50%; translate: 0 -50%; white-space: nowrap; font-size: 0.76rem;
  background: rgba(15,13,11,.8); padding: 0.15rem 0.45rem; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.map-rail button:hover, .map-rail button:focus-visible { color: var(--bone); }
.map-rail button:hover span, .map-rail button:focus-visible span, .map-rail button[aria-current="step"] span { opacity: 1; }
.map-rail button[aria-current="step"] { color: var(--gold-hi); }
.map-rail button[aria-current="step"]::after { width: 30px; }
.map-rail button:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }

.map-steps { position: relative; margin-top: -100vh; margin-top: -100svh; z-index: 2; pointer-events: none; }
.map-step { height: 100vh; height: 100svh; display: flex; align-items: center; padding-inline: var(--gutter); }
.map-step .card {
  pointer-events: auto; width: min(400px, 34vw); margin-left: max(0px, calc((100vw - var(--maxw)) / 2));
  background: rgba(20, 17, 14, 0.82); border: 1px solid rgba(239,233,223,.1); border-top: 3px solid var(--gold);
  padding: 1.6rem 1.7rem 1.8rem; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  opacity: 0.35; transform: translateY(14px); transition: opacity .45s, transform .45s;
}
.map-step.is-active .card, .mapsec:not(.map-ready) .map-step .card { opacity: 1; transform: none; }
.map-step .card h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem); }
.map-step .card h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); }
.map-step .card p { color: var(--bone-2); font-size: 0.98rem; margin-top: 0.8rem; }
.map-step .card img { margin-top: 1.1rem; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-kicker { font-family: var(--f-mono); font-size: 0.8rem; color: var(--gold-hi) !important; margin: 0 0 0.9rem !important; }
.card-tag { display: inline-block; font-family: var(--f-mono); font-size: 0.78rem; color: var(--k) !important; margin: 0 0 0.8rem !important; padding-left: 0.7rem; border-left: 2px solid var(--k); }
.card-meta { font-family: var(--f-mono); font-size: 0.78rem !important; color: rgba(239,233,223,.55) !important; }
.card-hint { display: flex; align-items: center; gap: 0.6rem; font-family: var(--f-mono); font-size: 0.78rem !important; color: rgba(239,233,223,.55) !important; margin-top: 1.4rem !important; }
.card-hint span { width: 2px; height: 26px; background: linear-gradient(var(--gold-hi), transparent); animation: hint 1.8s ease-in-out infinite; }
@keyframes hint { 0%, 100% { transform: translateY(-4px); opacity: .4; } 50% { transform: translateY(4px); opacity: 1; } }
.card-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; margin: 1.3rem 0 0; padding-top: 1rem; border-top: 1px solid rgba(239,233,223,.12); }
.card-facts dt { font-size: 0.74rem; color: rgba(239,233,223,.55); }
.card-facts dd { margin: 0.1rem 0 0; font-family: var(--f-display); font-stretch: 118%; font-weight: 800; font-size: 1.7rem; color: var(--gold-hi); font-variant-numeric: tabular-nums; line-height: 1.1; }
.card-facts-lg { margin-bottom: 0.4rem; }
.map-step .btn { margin-top: 1.2rem; }

@media (max-width: 1100px) { .map-step .card { width: min(380px, 40vw); } }
@media (max-width: 760px) {
  .map-rail { display: none; }
  .hud { top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 8px); bottom: auto; right: 16px; font-size: 0.68rem; gap: 0.9rem; }
  .map-step { align-items: flex-end; padding-bottom: max(5vh, 24px); }
  .map-step .card { width: 100%; margin-left: 0; padding: 1.2rem 1.25rem 1.35rem; }
  .map-step .card img { aspect-ratio: 16 / 7; margin-top: 0.8rem; }
  .map-step .card p { font-size: 0.93rem; margin-top: 0.55rem; }
  .card-facts dd { font-size: 1.35rem; }
  .card-hint { display: none !important; }
  .map-vignette { box-shadow: inset 0 0 80px 20px rgba(10,8,6,.8); }
  .mlabel-province, .mlabel-water { display: none; }
  .mlabel-site { padding: 0.2rem 0.45rem; margin-left: 10px; }
  .mlabel-site.mlabel-left { translate: calc(-100% - 10px) -50%; }
  .mlabel-site b { font-size: 0.78rem; }
  .mlabel-site small { display: none; }
  .ln-full { display: none; }
  .ln-short { display: inline; }
}
@media (prefers-reduced-motion: reduce) {
  .map-step .card { transition: none; }
  .card-hint span { animation: none; }
  .mlabel { transition: none; }
}

/* ---------- advisory ---------- */
.adv-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 5rem; align-items: end; }
.adv-head p { color: var(--bone-2); max-width: 54ch; font-size: 1.1rem; }
.adv-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid rgba(239,233,223,.14); }
.adv-grid article { padding: 1.8rem 1.6rem 2rem 0; border-right: 1px solid rgba(239,233,223,.1); }
.adv-grid article + article { padding-left: 1.6rem; }
.adv-grid article:last-child { border-right: 0; }
.adv-grid h3 { font-size: 1.22rem; }
.adv-grid h3::before { content: ''; display: block; width: 26px; height: 3px; background: var(--gold); margin-bottom: 1.1rem; }
.adv-grid p { color: var(--bone-2); font-size: 0.97rem; margin-top: 0.7rem; }
.commodities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: clamp(3rem, 6vw, 5rem); }
.com { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.2rem; align-items: start; background: var(--ore-2); padding: 1.5rem; }
.com-sym { width: 64px; height: 64px; display: grid; place-items: center; font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: 1.6rem; border: 2px solid var(--c); color: var(--c); }
.com-gold { --c: var(--gold-hi); }
.com-copper { --c: var(--copper); }
.com-mn { --c: #e0644c; }
.com h4 { font-size: 1.2rem; }
.com p { color: var(--bone-2); font-size: 0.95rem; margin-top: 0.4rem; }
.com .com-status { font-family: var(--f-mono); font-size: 0.78rem; color: var(--c); margin-top: 0.8rem; }
@media (max-width: 1000px) {
  .adv-head { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adv-grid article, .adv-grid article + article { padding: 1.6rem 1.4rem 1.8rem 0; border-right: 0; border-bottom: 1px solid rgba(239,233,223,.1); }
  .adv-grid article:nth-child(2n) { padding-left: 1.4rem; border-left: 1px solid rgba(239,233,223,.1); }
  .commodities { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .adv-grid { grid-template-columns: 1fr; }
  .adv-grid article:nth-child(2n) { padding-left: 0; border-left: 0; }
}

/* ---------- about ---------- */
.founder { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.founder-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 30%; }
.founder-role { font-family: var(--f-mono); font-size: 0.85rem; color: var(--gold-deep); margin-bottom: 0.8rem; }
.founder-text h2 { font-size: var(--step-3); }
.founder-text blockquote {
  margin: 1.8rem 0 2rem; padding: 0 0 0 1.4rem; border-left: 4px solid var(--gold);
  font-family: var(--f-display); font-stretch: 100%; font-weight: 600; font-size: clamp(1.25rem, 1rem + 0.9vw, 1.7rem); line-height: 1.3; color: var(--ink);
}
.founder-text > p { color: var(--ink-2); max-width: 62ch; }
.people { margin-top: clamp(4rem, 8vw, 6.5rem); }
.people-title { font-size: var(--step-2); margin-bottom: 1.6rem; }
.people-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.person { background: var(--steel-white); padding: 1.8rem 1.8rem 2rem; }
.person-role { font-family: var(--f-mono); font-size: 0.8rem; color: var(--gold-deep); }
.person h4 { font-size: 1.5rem; margin: 0.4rem 0 1rem; }
.person p:not(.person-role) { color: var(--ink-2); font-size: 0.98rem; }
.values { margin-top: clamp(4rem, 8vw, 6.5rem); display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 2rem clamp(2rem, 6vw, 6rem); }
.values h3 { font-size: var(--step-2); }
.values-list { margin: 0; }
.values-list div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1rem; padding: 0.95rem 0; border-top: 1px solid var(--rule); }
.values-list div:last-child { border-bottom: 1px solid var(--rule); }
.values-list dt { font-family: var(--f-display); font-stretch: 112%; font-weight: 750; }
.values-list dd { margin: 0; color: var(--ink-2); }
@media (max-width: 900px) {
  .founder, .people-grid, .values { grid-template-columns: 1fr; }
  .founder-photo { max-width: 440px; }
}
@media (max-width: 480px) { .values-list div { grid-template-columns: 1fr; gap: 0.2rem; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact-info > p { color: var(--bone-2); margin-top: 1.4rem; max-width: 46ch; }
.contact-list { margin: 2.2rem 0 0; display: grid; gap: 1.3rem; }
.contact-list dt { font-family: var(--f-mono); font-size: 0.78rem; color: var(--gold-hi); }
.contact-list dd { margin: 0.25rem 0 0; overflow-wrap: anywhere; }
.contact-list a { text-decoration: none; border-bottom: 1px solid rgba(226,176,74,.5); }
.contact-list a:hover { border-bottom-color: var(--gold-hi); }
.contact-form { background: var(--ore-2); padding: clamp(1.4rem, 3vw, 2.4rem); display: grid; gap: 1.1rem; border-top: 3px solid var(--gold); }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; min-width: 0; }
.field label { font-size: 0.88rem; font-weight: 500; }
.field label span { color: var(--bone-2); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--bone); background: var(--ore);
  border: 1px solid #4a4038; border-radius: 2px; padding: 0.75rem 0.85rem; color-scheme: dark;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-hi); box-shadow: 0 0 0 3px rgba(226,176,74,.25); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #e0644c; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn { justify-self: start; }
.form-status { font-size: 0.95rem; min-height: 1.4em; }
.form-status.is-ok { color: #9fd3a0; }
.form-status.is-error { color: #f0a08f; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: #15120f; color: var(--bone-2); padding-block: 3rem calc(2.5rem + env(safe-area-inset-bottom, 0px)); }
.footer-grid { display: grid; grid-template-columns: auto 1fr; gap: 1.6rem 3rem; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-name { font-family: var(--f-display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--bone); font-size: 0.95rem; }
.footer-legal { font-size: 0.85rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; justify-content: flex-end; }
.footer-nav a { text-decoration: none; font-size: 0.92rem; }
.footer-nav a:hover { color: var(--gold-hi); }
.footer-small { grid-column: 1 / -1; font-size: 0.8rem; padding-top: 1.4rem; border-top: 1px solid rgba(239,233,223,.08); }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } .footer-nav { justify-content: flex-start; } }
