/* =============================================================
   AFRAMAX MINING GROUP — Institutional IR Website
   Design system: forest green + burnished gold on alabaster
   Type: Cormorant Garamond / Plus Jakarta Sans / JetBrains Mono
   ============================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand — greens */
  --green-900: #071a11;
  --green-800: #092015;
  --green-700: #0d2c1d;
  --green-600: #113826;
  --green-500: #1c4d34;
  --green-400: #2f6a49;

  /* Brand — gold */
  --gold-600: #a6813f;
  --gold-500: #c5a059;
  --gold-400: #d4af37;
  --gold-300: #dcbd7e;
  --gold-200: #e7d3a8;

  /* Neutrals */
  --charcoal: #1c2826;
  --ink: #23302d;
  --slate: #55635f;
  --mute: #8a938f;
  --platinum: #f3f5f4;
  --sand: #eae6df;
  --alabaster: #fafaf8;
  --white: #ffffff;

  /* Functional */
  --hairline: rgba(197, 160, 89, 0.28);
  --hairline-soft: rgba(28, 40, 38, 0.10);
  --up: #3f8f5f;
  --down: #b1512f;

  /* Type */
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;

  /* Scale */
  --maxw: 1280px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --radius: 3px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
body {
  font-family: var(--body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.65;
  font-size: 1rem;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }
::selection { background: var(--green-600); color: var(--gold-200); }

/* Keyboard focus visibility (accessibility) */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible,
.leader:focus-visible, .doc:focus-visible {
  outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 2px;
}
.site-header:not(.scrolled) a:focus-visible, .bg-forest a:focus-visible,
.site-footer a:focus-visible { outline-color: var(--gold-400); }

/* subtle paper grain over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; color: var(--green-800); line-height: 1.06; letter-spacing: -0.01em; }
.h-display { font-size: clamp(2.9rem, 7vw, 5.75rem); font-weight: 500; letter-spacing: -0.02em; }
.h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
.h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.h4 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); font-weight: 600; }
p { text-wrap: pretty; }
.lead { font-size: clamp(1.12rem, 1.55vw, 1.4rem); line-height: 1.6; color: var(--ink); font-weight: 400; }

/* Justified body copy (client request) — clean "boxed" edges. Headings stay ragged. */
p { text-align: justify; text-justify: inter-word; -webkit-hyphens: auto; hyphens: auto; }
/* keep these left/ragged or centered — justify would look wrong on them */
.intro-statement, .eyebrow, .hero-support, .media-cap, .cta-sub, .tk-note,
.form-note, .breadcrumb, .proj-loc, .doc-sub, .m-role, .role, .stage-label {
  text-align: left; -webkit-hyphens: manual; hyphens: manual;
}
.text-center, .text-center p, p.text-center { text-align: center; }
/* On narrow phones, justify creates ugly word-gaps — go ragged-left (desktop keeps the boxed look) */
@media (max-width: 640px) { p { text-align: left; } .text-center, .text-center p { text-align: center; } }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-600);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold-500);
  display: inline-block;
}
.eyebrow.centered { justify-content: center; }

.sec-index {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: var(--gold-600);
  font-weight: 500;
}

/* ---------- 4. Layout ---------- */
main { position: relative; z-index: 2; }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 880px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4.5rem, 9vw, 8.5rem); position: relative; }
.section.tight { padding-block: clamp(3rem, 6vw, 5rem); }
.bg-alabaster { background: var(--alabaster); }
.bg-platinum { background: var(--platinum); }
.bg-sand { background: var(--sand); }
.bg-forest { background: var(--green-800); color: var(--platinum); }
.bg-forest h1, .bg-forest h2, .bg-forest h3, .bg-forest h4 { color: var(--white); }
.bg-forest .eyebrow { color: var(--gold-400); }
.bg-forest .lead { color: rgba(243,245,244,0.86); }

.grid { display: grid; gap: clamp(1.5rem, 3vw, 3rem); }
.rule { height: 1px; background: var(--hairline); border: 0; }
.rule-soft { height: 1px; background: var(--hairline-soft); border: 0; }

.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head .eyebrow { margin-bottom: 1.4rem; }
.section-head p { margin-top: 1.3rem; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1rem 1.9rem;
  border-radius: var(--radius);
  transition: all 0.4s var(--ease);
  position: relative;
  border: 1px solid transparent;
}
.btn svg { width: 17px; height: 17px; transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--green-800); color: var(--gold-200); }
.btn-primary:hover { background: var(--green-600); box-shadow: 0 12px 30px -12px rgba(9,32,21,0.6); }
.btn-gold { background: var(--gold-500); color: var(--green-900); }
.btn-gold:hover { background: var(--gold-400); }
.btn-outline { border: 1px solid var(--hairline); color: var(--green-800); background: transparent; }
.btn-outline:hover { border-color: var(--gold-500); background: rgba(197,160,89,0.06); }
.bg-forest .btn-outline, .hero .btn-outline, .page-hero .btn-outline { color: var(--platinum); border-color: rgba(255,255,255,0.32); }
.bg-forest .btn-outline:hover, .hero .btn-outline:hover, .page-hero .btn-outline:hover { border-color: var(--gold-400); background: rgba(197,160,89,0.12); color: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--mono); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-700);
  padding-bottom: 3px; border-bottom: 1px solid var(--hairline);
  transition: all 0.35s var(--ease);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform 0.35s var(--ease); }
.link-arrow:hover { color: var(--gold-600); border-color: var(--gold-500); }
.link-arrow:hover svg { transform: translateX(4px); }
.bg-forest .link-arrow { color: var(--gold-200); }

/* ---------- 6. Header / Nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .nav-inner {
  max-width: 1440px; margin-inline: auto;
  padding: 1.1rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  transition: padding 0.5s var(--ease);
}
.site-header.scrolled {
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--hairline);
  box-shadow: 0 1px 30px -18px rgba(9,32,21,0.5);
}
.site-header.scrolled .nav-inner { padding-block: 0.72rem; }

/* logo */
.brand { display: flex; align-items: center; gap: 0.7rem; z-index: 2; }
.brand-mark { width: 34px; height: 34px; flex: 0 0 auto; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word b {
  font-family: var(--body); font-weight: 600; font-size: 1.28rem;
  letter-spacing: 0.34em; color: var(--green-800); padding-left: 0.34em;
}
.brand-word span {
  font-family: var(--mono); font-size: 0.53rem; letter-spacing: 0.34em;
  text-transform: uppercase; color: var(--gold-600); margin-top: 4px; padding-left: 2px;
}

/* Adaptive logo mark: gold stays gold; green pickaxe/peak flips light on dark bg */
.mk-gold { fill: none; stroke: var(--gold-500); }
.mk-g { fill: var(--mk-fg, #0d2c1d); transition: fill 0.4s var(--ease); }
.site-header:not(.scrolled) { --mk-fg: #f3f5f4; }
.site-footer, .page-loader, .bg-forest { --mk-fg: #eef3f0; }

/* Real logo artwork (client image): colour version on light, cream-on-dark version on dark */
.brand-mark { display: none; } /* retire the SVG recreation in favour of the real logo image */
.brand-logo { height: 50px; width: auto; display: block; transition: height 0.5s var(--ease); }
.site-header.scrolled .brand-logo { height: 40px; }
.brand-logo--color { display: none; }
.site-header.scrolled .brand-logo--dark { display: none; }
.site-header.scrolled .brand-logo--color { display: block; }
.footer-brand .brand-logo { height: 68px; }
.footer-brand .brand-logo--color { display: none; }
.footer-brand .brand-logo--dark { display: block; }
.loader-mark svg { display: none; }
.loader-logo { width: 220px; max-width: 62vw; height: auto; margin: 0 auto 1.4rem; display: block; }
@media (max-width: 560px) { .brand-logo { height: 42px; } }
/* on transparent (hero) header */
.site-header:not(.scrolled) .brand-word b { color: var(--white); }
.site-header:not(.scrolled).light-nav .brand-word b { color: var(--white); }
.site-header:not(.scrolled) .nav-links > li > a { color: rgba(255,255,255,0.9); }
.site-header:not(.scrolled) .nav-cta { color: var(--white); border-color: rgba(255,255,255,0.35); }

.nav-links { display: flex; align-items: center; gap: 0.35rem; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex; align-items: center; gap: 0.35rem;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.02em;
  color: var(--ink); padding: 0.7rem 1rem; border-radius: var(--radius);
  transition: color 0.3s var(--ease);
}
.nav-links > li > a .chev { width: 13px; height: 13px; opacity: 0.6; transition: transform 0.35s var(--ease); }
.nav-links > li.has-menu:hover > a .chev { transform: rotate(180deg); }
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--gold-600); }
.site-header:not(.scrolled) .nav-links > li > a:hover { color: var(--gold-200); }

/* dropdown */
.submenu {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 250px; background: var(--white);
  border: 1px solid var(--hairline); border-radius: var(--radius);
  box-shadow: 0 24px 50px -20px rgba(9,32,21,0.35);
  padding: 0.6rem; opacity: 0; visibility: hidden; pointer-events: none;
  transition: all 0.35s var(--ease);
}
.nav-links > li.has-menu:hover .submenu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.submenu a {
  display: block; padding: 0.62rem 0.85rem; font-size: 0.85rem; color: var(--ink);
  border-radius: var(--radius); transition: all 0.25s var(--ease); position: relative;
}
.submenu a::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 0; height: 1px; background: var(--gold-500); transition: width 0.3s var(--ease);
}
.submenu a:hover { background: var(--alabaster); color: var(--green-700); padding-left: 1.15rem; }
.submenu a:hover::before { width: 8px; }

.nav-cta {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--green-800); border: 1px solid var(--hairline); padding: 0.62rem 1.25rem;
  border-radius: var(--radius); transition: all 0.35s var(--ease);
}
.nav-cta:hover { background: var(--green-800); color: var(--gold-200); border-color: var(--green-800); }

.nav-toggle { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; z-index: 2; }
.nav-toggle span { display: block; height: 1.5px; width: 24px; background: var(--green-800); transition: all 0.4s var(--ease); }
.site-header:not(.scrolled) .nav-toggle span { background: var(--white); }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99; background: var(--green-900);
  padding: 6rem var(--gutter) 3rem; overflow-y: auto;
  transform: translateX(100%); transition: transform 0.55s var(--ease); display: none;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav .m-group { border-bottom: 1px solid rgba(197,160,89,0.18); padding-block: 0.4rem; }
.mobile-nav .m-top { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; }
.mobile-nav .m-top a { font-family: var(--display); font-size: 1.75rem; color: var(--white); }
.mobile-nav .m-top button { color: var(--gold-400); padding: 0.5rem; }
.mobile-nav .m-top button svg { width: 20px; height: 20px; transition: transform 0.35s var(--ease); }
.mobile-nav .m-group.open .m-top button svg { transform: rotate(180deg); }
.mobile-nav .m-sub { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.mobile-nav .m-group.open .m-sub { max-height: 420px; }
.mobile-nav .m-sub a { display: block; padding: 0.6rem 0 0.6rem 1rem; color: rgba(243,245,244,0.72); font-size: 0.95rem; border-left: 1px solid rgba(197,160,89,0.25); }
.mobile-nav .m-sub a:hover { color: var(--gold-300); }

/* ---------- 7. Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; color: var(--white); }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 20s var(--ease) forwards; }
.hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,26,17,0.55) 0%, rgba(7,26,17,0.15) 35%, rgba(7,26,17,0.6) 78%, rgba(7,26,17,0.92) 100%),
    linear-gradient(90deg, rgba(7,26,17,0.7) 0%, rgba(7,26,17,0.05) 55%);
}
.hero-inner { position: relative; z-index: 2; max-width: 1440px; margin-inline: auto; width: 100%; padding: 0 var(--gutter) clamp(3.5rem, 7vw, 6rem); }
.hero-eyebrow { color: var(--gold-300); margin-bottom: 1.8rem; }
.hero-eyebrow::before { background: var(--gold-400); }
.hero h1 { color: var(--white); max-width: 15ch; margin-bottom: 1.8rem; text-shadow: 0 2px 40px rgba(0,0,0,0.25); }
.hero-sub { max-width: 56ch; color: rgba(255,255,255,0.9); font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.6; margin-bottom: 1rem; hyphens: manual; -webkit-hyphens: manual; overflow-wrap: normal; }
.hero-support { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.06em; color: rgba(231,211,168,0.85); margin-bottom: 2.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.scroll-cue {
  position: absolute; bottom: 2rem; right: var(--gutter); z-index: 2;
  display: flex; align-items: center; gap: 0.7rem; font-family: var(--mono);
  font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255,255,255,0.65);
}

/* Hero caption card (bottom-right) — doubles as cover for the source-footage watermark */
.hero-tag {
  position: absolute; z-index: 3; right: var(--gutter); bottom: 10%;
  display: flex; align-items: center; gap: 0.8rem;
  padding: 1.15rem 1.2rem; border-radius: 4px; min-width: 208px; min-height: 98px;
  background: rgba(7,20,14,0.68); backdrop-filter: blur(12px) saturate(1.15);
  border: 1px solid rgba(197,160,89,0.32); box-shadow: 0 16px 40px -18px rgba(0,0,0,0.6);
}
.hero-tag .ht-emblem { width: 26px; height: 26px; flex: 0 0 auto; }
.hero-tag .ht-emblem svg { width: 100%; height: 100%; }
.hero-tag b { display: block; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.13em; text-transform: uppercase; color: #fff; line-height: 1.2; }
.hero-tag small { display: block; font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-300); margin-top: 4px; }
@media (max-width: 900px) { .hero-tag { display: none; } } /* watermark is cropped off-frame on narrow viewports */
.scroll-cue .bar { width: 1px; height: 46px; background: linear-gradient(var(--gold-400), transparent); position: relative; overflow: hidden; }
.scroll-cue .bar::after { content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--gold-300); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { top: -50%; } 60%,100% { top: 100%; } }

.page-hero { position: relative; padding: clamp(9rem, 16vw, 13rem) 0 clamp(3.5rem, 7vw, 5.5rem); overflow: hidden; color: var(--white); }
.page-hero .hero-media img { animation: none; transform: scale(1.05); }
.page-hero-inner { position: relative; z-index: 2; }
.page-hero .eyebrow { color: var(--gold-300); margin-bottom: 1.5rem; }
.page-hero h1 { color: var(--white); max-width: 18ch; }
.page-hero .lead { color: rgba(255,255,255,0.88); max-width: 60ch; margin-top: 1.5rem; }
.breadcrumb { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(231,211,168,0.7); margin-bottom: 2rem; display: flex; gap: 0.6rem; align-items: center; }
.breadcrumb a:hover { color: var(--gold-300); }
.breadcrumb span { opacity: 0.5; }

/* ---------- 8. Commodity ticker ---------- */
.ticker {
  position: relative; z-index: 3; background: var(--green-900);
  border-top: 1px solid rgba(197,160,89,0.2); border-bottom: 1px solid rgba(197,160,89,0.2);
}
.ticker-inner { max-width: 1440px; margin-inline: auto; padding: 0 var(--gutter); display: flex; align-items: stretch; }
.ticker-label {
  display: flex; align-items: center; gap: 0.6rem; padding: 1rem 1.6rem 1rem 0;
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-400); border-right: 1px solid rgba(197,160,89,0.2); white-space: nowrap;
}
.ticker-label .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--up); box-shadow: 0 0 10px var(--up); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.ticker-items { display: flex; flex: 1; overflow: hidden; }
.ticker-track { display: flex; align-items: center; gap: 3rem; padding-left: 2rem; }
.tk {
  display: flex; align-items: center; gap: 1rem; padding: 0.9rem 0; white-space: nowrap;
}
.tk .sym { font-family: var(--mono); font-size: 0.82rem; font-weight: 600; color: var(--platinum); letter-spacing: 0.04em; }
.tk .sym small { color: var(--gold-500); font-weight: 400; }
.tk .price { font-family: var(--mono); font-size: 0.82rem; color: rgba(243,245,244,0.78); }
.tk .chg { font-family: var(--mono); font-size: 0.74rem; display: inline-flex; align-items: center; gap: 3px; }
.tk .chg.up { color: #6fd39a; } .tk .chg.down { color: #e08a67; }
.tk .chg svg { width: 11px; height: 11px; }
.tk .spark { width: 62px; height: 22px; }
.tk-note { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.12em; color: var(--mute); padding: 1rem 0 1rem 1.6rem; border-left: 1px solid rgba(197,160,89,0.2); align-self: center; white-space: nowrap; }

/* ---------- 9. Stat band (at a glance) ---------- */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  padding: clamp(2.2rem, 4vw, 3.4rem) clamp(1.2rem, 2.5vw, 2.4rem);
  border-right: 1px solid var(--hairline-soft); border-bottom: 1px solid var(--hairline-soft);
  position: relative;
}
.stat:nth-child(4n) { border-right: none; }
.stat .num { font-family: var(--display); font-size: clamp(3rem, 6vw, 4.6rem); font-weight: 500; color: var(--green-700); line-height: 1; letter-spacing: -0.02em; }
.stat .num .u { color: var(--gold-500); font-size: 0.55em; }
.stat .cap { margin-top: 1rem; font-size: 0.9rem; color: var(--slate); max-width: 22ch; }
.stat .sec-index { position: absolute; top: 1.4rem; right: 1.4rem; opacity: 0.7; }

/* ---------- 10. Cards & feature grids ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--hairline); }
.cap {
  padding: clamp(2rem, 3.5vw, 3rem) clamp(1.6rem, 3vw, 2.4rem) clamp(2.4rem, 4vw, 3.4rem);
  border-right: 1px solid var(--hairline-soft); position: relative;
  transition: transform 0.6s var(--ease), background 0.5s var(--ease), box-shadow 0.6s var(--ease);
}
.cap:last-child { border-right: none; }
/* gold top-bar draws in on hover */
.cap::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease);
}
.cap:hover { background: var(--white); transform: translateY(-10px); box-shadow: 0 44px 70px -44px rgba(9,32,21,0.4); z-index: 2; }
.cap:hover::before { transform: scaleX(1); }
/* icon: pops in on scroll-reveal, lifts + glows on hover */
.cap .cap-ic {
  width: 46px; height: 46px; color: var(--gold-600); margin-bottom: 1.5rem; position: relative;
  opacity: 0; transform: scale(0.8) translateY(8px);
  transition: transform 0.7s var(--ease) 0.15s, opacity 0.7s var(--ease) 0.15s, color 0.5s var(--ease);
}
.cap.in .cap-ic { opacity: 1; transform: none; }
.cap:hover .cap-ic { color: var(--gold-500); transform: translateY(-5px) scale(1.1); }
.cap .cap-ic::after {
  content: ""; position: absolute; inset: -14px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(197,160,89,0.22), transparent 70%);
  opacity: 0; transform: scale(0.5); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.cap:hover .cap-ic::after { opacity: 1; transform: scale(1); }
.cap .cap-ic svg { width: 100%; height: 100%; stroke-width: 1.1; position: relative; z-index: 1; }
.cap h3 { margin-bottom: 0.9rem; transition: transform 0.6s var(--ease); }
.cap:hover h3 { transform: translateX(5px); }
.cap p { color: var(--slate); font-size: 0.97rem; transition: transform 0.6s var(--ease); }
.cap:hover p { transform: translateX(5px); }
.cap .sec-index { position: absolute; top: 1.8rem; right: 1.8rem; transition: color 0.5s var(--ease), transform 0.6s var(--ease); }
.cap:hover .sec-index { color: var(--gold-400); transform: translateY(-3px); }

/* editorial two-column */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split.wide-text { grid-template-columns: 1.15fr 0.85fr; }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: var(--radius); box-shadow: 0 40px 80px -40px rgba(9,32,21,0.4); }
.split-media .frame { position: absolute; inset: -14px -14px auto auto; width: 60%; height: 60%; border-top: 1px solid var(--gold-500); border-right: 1px solid var(--gold-500); z-index: -1; }
.media-cap { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); margin-top: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.prose p + p { margin-top: 1.3rem; }
.prose .lead + p { margin-top: 1.5rem; }

/* values list */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--hairline); border-left: 1px solid var(--hairline); }
.value {
  padding: clamp(2rem, 3.5vw, 2.8rem); border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
  position: relative; background: var(--white); transition: background 0.5s var(--ease);
}
.value:hover { background: var(--alabaster); }
.value .vh { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.value .vn { font-family: var(--mono); font-size: 0.78rem; color: var(--gold-600); }
.value h3 { font-size: 1.5rem; }
.value p { color: var(--slate); font-size: 0.96rem; }

/* commodity split cards */
.commodity { display: grid; grid-template-columns: 1fr 1fr; }
.commodity .c-card { padding: clamp(2.4rem, 4vw, 3.6rem); color: var(--platinum); position: relative; overflow: hidden; min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; }
.commodity .c-card.cu { background: linear-gradient(150deg, #3a2116, #6b3d24); }
.commodity .c-card.au { background: linear-gradient(150deg, #4a3a12, #8a6d1f); }
.commodity .c-card .c-sym { position: absolute; top: 1.6rem; right: 2rem; z-index: 1; font-family: var(--mono); font-size: 5rem; font-weight: 200; color: rgba(255,255,255,0.16); }
.commodity .c-card .c-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.commodity .c-card .c-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.commodity .c-card:hover .c-media img { transform: scale(1.05); }
.commodity .c-card.cu .c-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(40,22,14,0.35) 0%, rgba(24,12,7,0.55) 45%, rgba(16,8,5,0.88) 100%); }
.commodity .c-card.au .c-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(9,32,21,0.35) 0%, rgba(20,15,6,0.55) 45%, rgba(12,9,4,0.88) 100%); }
.commodity .c-card > *:not(.c-media) { position: relative; z-index: 1; }
.commodity .c-card h3 { color: var(--white); font-size: 2rem; margin-bottom: 0.8rem; }
.commodity .c-card p { color: rgba(255,255,255,0.82); font-size: 0.98rem; }
.commodity .c-card .c-tag { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-300); margin-bottom: auto; }

/* ---------- 11. Immersive quote band ---------- */
.quote-band { position: relative; overflow: hidden; color: var(--white); padding-block: clamp(5rem, 10vw, 9rem); }
.quote-band .hero-media img { transform: scale(1.05); animation: none; }
.quote-band .hero-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quote-band .hero-media::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(7,20,14,0.92) 0%, rgba(7,20,14,0.7) 45%, rgba(7,20,14,0.55) 100%); }
.quote-band blockquote { position: relative; z-index: 2; max-width: 24ch; font-family: var(--display); font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 500; line-height: 1.1; color: var(--white); }
.quote-band .q-mark { font-size: 5rem; color: var(--gold-400); line-height: 0.5; display: block; margin-bottom: 1rem; font-family: var(--display); }
.quote-band cite { display: block; margin-top: 2rem; font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.1em; font-style: normal; color: var(--gold-300); }

/* ---------- 12. CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 2rem; align-items: center; }
.cta-inner h2 { max-width: 16ch; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 0.9rem; }
.cta-actions .magnetic { display: block; }
.cta-actions .btn { min-width: 210px; justify-content: center; }

/* Contained CTA panel (homepage Partner With Us) */
.cta-band.panel-band { padding-block: clamp(3.5rem, 6vw, 6rem); }
.cta-panel { position: relative; overflow: hidden; border-radius: 6px; border: 1px solid var(--hairline); padding: clamp(2.4rem, 4.5vw, 4rem); box-shadow: 0 50px 90px -55px rgba(9,32,21,0.6); }
.cta-panel > .art { z-index: 0; }
.cta-panel-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.55fr 0.45fr; gap: clamp(1.8rem, 4vw, 3.5rem); align-items: center; }
.cta-panel-inner h2 { max-width: 18ch; }
.cta-panel-inner .lead { max-width: 56ch; }
.cta-panel-action { display: flex; flex-direction: column; align-items: stretch; gap: 0.9rem; }
.cta-panel-action .magnetic { display: block; }
.cta-panel-action .btn { width: 100%; justify-content: center; }
@media (max-width: 860px) { .cta-panel-inner { grid-template-columns: 1fr; } .cta-panel-action { align-items: stretch; } }

/* ---------- 13. Footer ---------- */
.site-footer { background: var(--green-900); color: rgba(243,245,244,0.7); position: relative; z-index: 2; }
.footer-top { padding: clamp(3rem, 5vw, 4.25rem) 0 clamp(2rem, 3vw, 2.75rem); display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.footer-brand .brand-word b { color: var(--white); }
.footer-brand .brand-word span { color: var(--gold-500); }
.footer-brand p { margin-top: 1.4rem; max-width: 34ch; font-size: 0.9rem; line-height: 1.7; }
.footer-brand .addr { margin-top: 1.6rem; font-family: var(--mono); font-size: 0.76rem; line-height: 1.9; color: rgba(243,245,244,0.6); }
.f-col h4 { font-family: var(--mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 1.4rem; }
.f-col ul li { margin-bottom: 0.7rem; }
.f-col ul li a { font-size: 0.88rem; color: rgba(243,245,244,0.72); transition: color 0.3s var(--ease); }
.f-col ul li a:hover { color: var(--gold-300); }
.f-social { display: flex; gap: 0.8rem; margin-top: 1.6rem; }
.f-social a { width: 38px; height: 38px; border: 1px solid rgba(197,160,89,0.3); border-radius: var(--radius); display: grid; place-items: center; transition: all 0.35s var(--ease); }
.f-social a svg { width: 17px; height: 17px; color: var(--gold-300); }
.f-social a:hover { background: var(--gold-500); border-color: var(--gold-500); }
.f-social a:hover svg { color: var(--green-900); }
.footer-policies { border-top: 1px solid rgba(197,160,89,0.16); padding-block: 1.6rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; }
.footer-policies a { font-size: 0.78rem; color: rgba(243,245,244,0.6); }
.footer-policies a:hover { color: var(--gold-300); }
.footer-legal { border-top: 1px solid rgba(197,160,89,0.16); padding-block: 2rem 2.6rem; }
.disclaimer { font-size: 0.74rem; line-height: 1.7; color: rgba(243,245,244,0.45); max-width: none; }
.footer-copy { margin-top: 1.4rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; color: rgba(243,245,244,0.5); }

/* ---------- 14. Reveal animation (gated on .js so no-JS still shows content) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.js [data-reveal].in, [data-reveal] { opacity: 1; transform: none; }
.js [data-reveal]:not(.in) { opacity: 0; transform: translateY(26px); }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1 !important; transform: none !important; } }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }
[data-reveal-delay="5"] { transition-delay: 0.4s; }

/* ---------- 15. Utilities ---------- */
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.gold { color: var(--gold-600); }
.maxw-60 { max-width: 60ch; } .maxw-70 { max-width: 70ch; }

/* ---------- 16. Responsive ---------- */
@media (max-width: 1024px) {
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-child(4n) { border-right: 1px solid var(--hairline-soft); }
  .cap-grid { grid-template-columns: 1fr; }
  .cap { border-right: none; border-bottom: 1px solid var(--hairline-soft); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: block; }
  .split, .split.wide-text, .commodity, .cta-inner { grid-template-columns: 1fr; }
  .cta-actions { align-items: stretch; }
  .values { grid-template-columns: 1fr; }
  .value:nth-child(odd) { border-right: 1px solid var(--hairline); }
  .commodity .c-card { min-height: 280px; }
  .ticker-label span { display: none; }
  .tk-note { display: none; }
}
@media (max-width: 560px) {
  .stat-band { grid-template-columns: 1fr; }
  .stat { border-right: none !important; }
  .footer-top { grid-template-columns: 1fr; }
}
/* Mobile hero: top-anchor the copy with header clearance so the eyebrow
   clears the fixed logo instead of colliding with it. */
@media (max-width: 720px) {
  .hero { min-height: 100svh; align-items: flex-start; }
  .hero-inner { padding-top: calc(72px + 2.4rem); padding-bottom: clamp(2.2rem, 8vw, 4rem); }
  .hero-eyebrow { margin-bottom: 1.1rem; }
  .hero h1 { margin-bottom: 1.2rem; }
  .hero-support { margin-bottom: 1.8rem; }
}
