/* ============================================================
   AeX — Advanced Exploration | Institutional Site
   Design system modeled on Blackstone: monochrome palette,
   serif display type, sans eyebrows & body, hairline rules.
   ============================================================ */

:root {
  --black: #050505;
  --ink: #101010;
  --white: #ffffff;
  --paper: #ffffff;
  --gray-700: #3c3c3c;
  --gray-500: #6b6b6b;
  --gray-300: #b9b9b9;
  --line-dark: rgba(255, 255, 255, 0.22);
  --line-light: rgba(0, 0, 0, 0.16);
  --teal: #4fd6bc;
  --teal-dim: rgba(79, 214, 188, 0.55);
  --copper: #c2825a;

  --font-serif: "Source Serif 4", "Times New Roman", Georgia, serif;
  --font-sans: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;

  --max: 1400px;
  --pad: clamp(24px, 5vw, 72px);
  --header-h: 92px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---------------- Header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 1px 0 rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.06); }

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.logo-home { display: block; flex-shrink: 0; }
.logo-img { height: 54px; width: auto; display: block; }
.logo-img--invert { filter: invert(1); }
.footer-brand .logo-img { height: 58px; }

.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); }

.main-nav a {
  font-size: 17px;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1.5px;
  background: var(--black);
  transition: right 0.3s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }

.nav-toggle {
  display: none;
  background: none; border: none;
  width: 40px; height: 40px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}
.nav-toggle span { display: block; height: 1.5px; background: var(--black); }

/* ---------------- Type & shared patterns ---------------- */

.eyebrow {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 18px;
}
.eyebrow::after { content: ""; width: 56px; height: 1.5px; background: currentColor; }
.eyebrow.centered { justify-content: center; }
.eyebrow.centered::after { display: none; }
.eyebrow.centered::before { display: none; }

.display-xl {
  font-family: var(--font-serif);
  font-weight: 450;
  font-size: clamp(42px, 6vw, 84px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.display-lg {
  font-family: var(--font-serif);
  font-weight: 450;
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.display-md {
  font-family: var(--font-serif);
  font-weight: 450;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.2;
}
.display-sm {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.3;
}

.body-serif {
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.4vw, 21px);
  line-height: 1.7;
  font-weight: 400;
}
.body-copy { font-size: 18px; line-height: 1.7; color: var(--gray-700); }
.dark .body-copy { color: rgba(255,255,255,0.82); }

/* Circled-arrow CTA */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-sans);
  color: inherit;
}
.cta .circle {
  width: 46px; height: 46px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
}
.cta .circle svg { width: 20px; height: 20px; }
.cta:hover .circle { background: var(--black); color: var(--white); transform: translateX(4px); }
.dark .cta:hover .circle, .cta.on-dark:hover .circle { background: var(--white); color: var(--black); }

/* Sections */
section { padding: clamp(72px, 9vw, 140px) 0; }
.dark { background: var(--black); color: var(--white); }

.section-head { display: flex; flex-direction: column; gap: clamp(36px, 5vw, 72px); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------------- Hero (landing) ---------------- */

.hero {
  background: var(--black);
  color: var(--white);
  padding: clamp(56px, 7vw, 104px) 0 0;
  overflow: hidden;
}
.hero-copy {
  max-width: 1080px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
  z-index: 2;
  pointer-events: none;
}
.hero-copy a { pointer-events: auto; }
.hero-copy .eyebrow { color: rgba(255,255,255,0.75); }
.hero-sub {
  font-size: clamp(18px, 1.5vw, 21px);
  color: rgba(255,255,255,0.72);
  max-width: 640px;
  line-height: 1.65;
}

/* Map stage */
.map-stage {
  position: relative;
  z-index: 1;
  margin-top: clamp(24px, 3vw, 56px);
  padding-bottom: clamp(48px, 6vw, 88px);
}
.map-stage::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 110px;
  background: linear-gradient(to bottom, var(--black) 8%, rgba(5, 5, 5, 0));
  z-index: 2;
  pointer-events: none;
}
#trade-map { width: 100%; height: auto; display: block; }
#trade-map .country { fill: none; stroke: rgba(255,255,255,0.30); stroke-width: 0.55; }
#trade-map .graticule { fill: none; stroke: rgba(255,255,255,0.06); stroke-width: 0.5; }
#trade-map .sphere-outline { fill: none; stroke: rgba(255,255,255,0.10); stroke-width: 0.75; }

#trade-map .route {
  fill: none;
  stroke: rgba(79,214,188,0.5);
  stroke-width: 1;
  stroke-linecap: round;
  transition: stroke 0.4s ease, opacity 0.4s ease, stroke-width 0.4s ease;
}
#trade-map .route.lit { stroke: var(--teal); stroke-width: 1.8; filter: drop-shadow(0 0 6px rgba(79,214,188,0.9)); }
#trade-map .route.dimmed { opacity: 0.12; }

#trade-map .node-dot { fill: var(--teal); cursor: pointer; transition: opacity 0.4s ease; }
#trade-map .node-halo {
  fill: none; stroke: var(--teal);
  opacity: 0.6;
  pointer-events: none;
  animation: haloPulse 3s ease-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes haloPulse {
  0%   { transform: scale(0.4); opacity: 0.7; }
  70%  { transform: scale(2.6); opacity: 0; }
  100% { transform: scale(2.6); opacity: 0; }
}
#trade-map .node.dimmed .node-dot { opacity: 0.25; }
#trade-map .node-label {
  font-family: var(--font-sans);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  fill: rgba(255,255,255,0.68);
  pointer-events: none;
}
#trade-map .flow-dot { fill: #dffff7; filter: drop-shadow(0 0 5px rgba(79,214,188,1)); pointer-events: none; }
#trade-map .flow-ripple { fill: none; stroke: var(--teal); pointer-events: none; }

.map-card {
  position: absolute;
  top: 24px;
  right: 0;
  z-index: 3;
  width: min(330px, 78vw);
  background: rgba(8, 10, 10, 0.88);
  border: 1px solid rgba(79,214,188,0.35);
  backdrop-filter: blur(8px);
  padding: 26px 28px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.map-card.visible { opacity: 1; transform: none; }
.map-card .mc-kicker {
  font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 10px;
}
.map-card h3 { font-family: var(--font-serif); font-size: 24px; font-weight: 500; margin-bottom: 8px; }
.map-card p { font-size: 15px; color: rgba(255,255,255,0.75); line-height: 1.55; }
.map-card .mc-routes { margin-top: 14px; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 12px; font-size: 14px; color: rgba(255,255,255,0.65); }
.map-card .mc-routes li { padding: 3px 0; }
.map-card .mc-routes li::before { content: "— "; color: var(--teal); }

.map-hint {
  margin-top: 18px;
  font-size: 13.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

.map-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 20px;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.map-legend .lg { display: inline-flex; align-items: center; gap: 10px; }
.map-legend .swatch { width: 28px; height: 2px; background: var(--teal); box-shadow: 0 0 8px var(--teal); }
.map-legend .swatch.node { width: 9px; height: 9px; border-radius: 50%; box-shadow: 0 0 8px var(--teal); }

/* ---------------- About the firm (landing) ---------------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(48px, 6vw, 110px);
  align-items: center;
  margin-top: clamp(48px, 6vw, 90px);
}
.about-left { display: flex; flex-direction: column; gap: 28px; }
.about-left h3 { font-size: 26px; font-weight: 400; font-family: var(--font-sans); }

/* "AeX in Brief" video placeholder */
.video-card {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  cursor: pointer;
  background: linear-gradient(135deg, #0e211d, #050505 65%);
}
.video-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.video-card:hover .video-photo { transform: scale(1.045); }
.video-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72), rgba(0,0,0,0.12) 55%);
}
.video-logo { position: absolute; top: 26px; left: 26px; width: 96px; height: auto; }
.video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--black);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.video-card:hover .video-play { transform: translate(-50%, -50%) scale(1.09); }
.video-play svg { width: 26px; height: 26px; margin-left: 5px; }
.video-meta {
  position: absolute;
  left: 26px; right: 26px; bottom: 22px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.video-meta .vk { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); font-weight: 600; }
.video-meta .vt { font-family: var(--font-serif); font-size: 24px; font-weight: 500; }
.video-meta .vd { font-size: 14px; color: rgba(255,255,255,0.72); }

.minerals-stage { position: relative; }
#minerals-canvas { width: 100%; height: 460px; display: block; }
.minerals-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line-light);
  padding-top: 16px;
  margin-top: 4px;
}
.minerals-caption span {
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.minerals-caption span.active-min { color: var(--ink); font-weight: 600; }

/* ---------------- Pillars ---------------- */

.pillars-statement { max-width: 1150px; margin-top: clamp(40px, 5vw, 70px); }
.pillar-list { margin-top: clamp(56px, 6vw, 96px); border-top: 1px solid var(--line-dark); }
.dark .pillar-list { border-color: var(--line-dark); }
.light .pillar-list { border-color: var(--line-light); }

.pillar-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1.1fr) minmax(0, 1.6fr) 70px;
  gap: clamp(20px, 3vw, 56px);
  align-items: center;
  padding: clamp(32px, 4vw, 52px) 0;
  border-bottom: 1px solid var(--line-dark);
  transition: background 0.35s ease;
  cursor: pointer;
}
.pillar-row:hover { background: rgba(255,255,255,0.045); }
.light .pillar-row { border-color: var(--line-light); }
.light .pillar-row:hover { background: rgba(0,0,0,0.03); }

.pillar-num {
  font-family: var(--font-serif);
  font-size: 22px;
  color: rgba(255,255,255,0.45);
}
.light .pillar-num { color: var(--gray-300); }
.pillar-row h3 { font-family: var(--font-serif); font-size: clamp(24px, 2.4vw, 34px); font-weight: 450; line-height: 1.25; }
.pillar-row p { font-size: 17px; color: rgba(255,255,255,0.72); }
.light .pillar-row p { color: var(--gray-700); }
.pillar-arrow {
  width: 46px; height: 46px; border: 1.5px solid currentColor; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s ease, color 0.3s ease;
}
.pillar-row:hover .pillar-arrow { background: var(--white); color: var(--black); }
.light .pillar-row:hover .pillar-arrow { background: var(--black); color: var(--white); }
.pillar-arrow svg { width: 18px; height: 18px; }

/* ---------------- Stats band ---------------- */

.stats-band { border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-cell {
  padding: clamp(36px, 4vw, 64px) clamp(20px, 2.5vw, 48px);
  border-left: 1px solid var(--line-light);
  display: flex; flex-direction: column; gap: 10px;
}
.stat-cell:first-child { border-left: none; }
.stat-value { font-family: var(--font-serif); font-size: clamp(40px, 4.2vw, 64px); font-weight: 450; line-height: 1; }
.stat-label { font-size: 15px; letter-spacing: 0.04em; color: var(--gray-500); }

/* ---------------- Quote ---------------- */

.quote-section .quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.7fr);
  gap: clamp(40px, 6vw, 110px);
  align-items: start;
}
.quote-photo { width: 100%; max-width: 400px; filter: grayscale(18%); }
.quote-text { font-size: clamp(24px, 2.6vw, 38px); line-height: 1.45; font-weight: 400; font-family: var(--font-sans); }
.quote-attr { margin-top: clamp(36px, 5vw, 64px); text-align: right; }
.quote-attr .qa-name { font-size: 20px; font-weight: 600; }
.quote-attr .qa-title { font-size: 16px; color: rgba(255,255,255,0.65); margin-top: 4px; }

/* ---------------- Insights cards ---------------- */

.insights-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.insights-grid {
  margin-top: clamp(48px, 5vw, 80px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
}
.insight-card { display: flex; flex-direction: column; gap: 20px; }
.insight-card .cover {
  aspect-ratio: 3 / 4;
  position: relative;
  overflow: hidden;
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}
.insight-card:hover .cover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(0,0,0,0.35); }
.insight-card .cover svg { width: 100%; height: 100%; display: block; }
.insight-meta { display: flex; flex-direction: column; gap: 8px; }
.insight-kicker { font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); }
.light .insight-kicker { color: var(--copper); }
.insight-card h3 { font-family: var(--font-serif); font-size: 25px; font-weight: 500; line-height: 1.3; }
.insight-card p { font-size: 16px; color: rgba(255,255,255,0.7); }
.light .insight-card p { color: var(--gray-700); }
.insight-card .read { font-size: 15px; font-weight: 600; letter-spacing: 0.02em; display: inline-flex; align-items: center; gap: 10px; }
.insight-card .read svg { width: 16px; height: 16px; transition: transform 0.3s ease; }
.insight-card:hover .read svg { transform: translateX(6px); }

/* ---------------- Stay up-to-date ---------------- */

.subscribe-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 130px);
  align-items: start;
  margin-top: clamp(40px, 5vw, 72px);
}
.subscribe-form { display: flex; flex-direction: column; gap: 26px; }
.field { position: relative; }
.field input, .field select {
  width: 100%;
  background: rgba(255,255,255,0.055);
  border: none;
  border-bottom: 1.5px solid rgba(255,255,255,0.85);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 17px;
  padding: 20px 18px 18px;
  outline: none;
  border-radius: 0;
  appearance: none;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.field select { cursor: pointer; }
.field select option { color: var(--ink); }
.field input::placeholder { color: rgba(255,255,255,0.72); }
.field input:focus, .field select:focus { background: rgba(255,255,255,0.11); border-bottom-color: var(--teal); }
.field.select::after {
  content: "";
  position: absolute; right: 20px; top: 50%;
  width: 9px; height: 9px;
  border-right: 1.5px solid var(--white);
  border-bottom: 1.5px solid var(--white);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.consent { display: flex; gap: 16px; align-items: flex-start; font-size: 15px; color: rgba(255,255,255,0.78); }
.consent input {
  appearance: none;
  width: 26px; height: 26px;
  border: 1.5px solid var(--white);
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  display: grid; place-content: center;
}
.consent input:checked::before { content: ""; width: 13px; height: 13px; background: var(--teal); }
.subscribe-form .cta { align-self: flex-end; margin-top: 6px; }
.form-success {
  border: 1px solid rgba(79,214,188,0.5);
  padding: 32px;
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.5;
  display: none;
}
.form-success.visible { display: block; }

/* ---------------- Footer ---------------- */

.site-footer { background: var(--black); color: var(--white); border-top: 1px solid rgba(255,255,255,0.14); padding: clamp(56px, 6vw, 90px) 0 40px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 72px); }
.footer-brand .logo-block { display: inline-block; background: var(--white); color: var(--black); }
.footer-tag { margin-top: 22px; font-family: var(--font-serif); font-size: 19px; line-height: 1.55; color: rgba(255,255,255,0.75); max-width: 340px; }
.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); display: inline-flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.85); transition: background 0.15s, color 0.15s, border-color 0.15s; }
.footer-social a:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.footer-social svg { width: 15px; height: 15px; display: block; }
.footer-col h4 { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 20px; font-weight: 600; }
.footer-col li { padding: 7px 0; }
.footer-col a { font-size: 16.5px; color: rgba(255,255,255,0.85); }
.footer-col a:hover { color: var(--teal); }
.footer-legal {
  margin-top: clamp(48px, 5vw, 72px);
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.14);
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-size: 14px; color: rgba(255,255,255,0.45);
}
.footer-legal a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
.footer-legal a:hover { color: rgba(255,255,255,0.85); }

/* ---------------- Interior pages ---------------- */

.page-hero { background: var(--black); color: var(--white); padding: clamp(72px, 9vw, 130px) 0; }
.page-hero .display-xl { max-width: 1150px; margin-top: 36px; }
.page-hero .eyebrow { color: rgba(255,255,255,0.75); }
.page-hero .lede { margin-top: 32px; max-width: 680px; font-size: 20px; color: rgba(255,255,255,0.75); line-height: 1.65; }

/* Our Firm globe section */
.globe-section { overflow: hidden; background: radial-gradient(ellipse 90% 70% at 62% 48%, #08211d 0%, #061512 45%, #05070c 100%); }
.globe-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(40px, 5vw, 90px);
  align-items: center;
  margin-top: clamp(8px, 1.5vw, 24px);
}
.globe-copy { display: flex; flex-direction: column; gap: 30px; }
.globe-stage { position: relative; }
#globe-canvas { width: 100%; height: min(72vh, 720px); display: block; cursor: grab; }
#globe-canvas:active { cursor: grabbing; }
.globe-legend {
  position: absolute; right: calc(100% + 32px); bottom: 24px; left: auto;
  display: flex; flex-direction: column; gap: 8px; white-space: nowrap;
  font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.globe-legend .lg { display: flex; align-items: center; gap: 10px; }
.globe-legend .swatch { width: 26px; height: 2px; background: var(--teal); box-shadow: 0 0 8px var(--teal); }
.globe-legend .swatch.node { width: 8px; height: 8px; border-radius: 0; background: #eafff9; box-shadow: 0 0 8px rgba(234,255,249,0.85); }

/* Accordion (clients / careers roles) */
.accordion { border-top: 1px solid var(--line-light); margin-top: clamp(40px, 5vw, 72px); }
.dark .accordion { border-color: var(--line-dark); }
.acc-item { border-bottom: 1px solid var(--line-light); }
.dark .acc-item { border-color: var(--line-dark); }
.acc-head {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-sans);
  font-size: clamp(22px, 2.4vw, 32px);
  color: var(--gray-300);
  padding: clamp(26px, 3vw, 40px) 0;
  text-align: left;
  transition: color 0.35s ease;
}
.dark .acc-head { color: rgba(255,255,255,0.45); }
.acc-item.open .acc-head, .acc-head:hover { color: var(--ink); }
.dark .acc-item.open .acc-head, .dark .acc-head:hover { color: var(--white); }
.acc-chev {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid transparent;
  transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
  flex-shrink: 0;
}
.acc-item.open .acc-chev { background: var(--black); color: var(--white); transform: rotate(180deg); }
.dark .acc-item.open .acc-chev { background: var(--white); color: var(--black); }
.acc-chev svg { width: 18px; height: 18px; }
.acc-body { max-height: 0; overflow: hidden; transition: max-height 0.5s ease; }
.acc-body-inner { padding: 0 0 40px; max-width: 820px; color: var(--gray-700); font-size: 17.5px; line-height: 1.7; }
.dark .acc-body-inner { color: rgba(255,255,255,0.75); }

/* Values grid (careers) */
.values-grid {
  margin-top: clamp(56px, 6vw, 96px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(40px, 5vw, 80px) clamp(32px, 4vw, 64px);
}
.value-item h3 { font-family: var(--font-serif); font-size: clamp(23px, 2.2vw, 30px); font-weight: 500; margin-bottom: 16px; line-height: 1.3; }
.value-item p { font-size: 17px; color: var(--gray-700); }

/* Editorial split (what we do pillars) */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 110px);
  align-items: center;
}
.split.rev > .split-media { order: 2; }
.split-media { position: relative; }
.split-media svg { width: 100%; height: auto; display: block; }
.split-copy { display: flex; flex-direction: column; gap: 26px; }
.split-copy .sub-points { display: flex; flex-direction: column; gap: 28px; margin-top: 8px; }
.sub-points h4 { font-family: var(--font-serif); font-size: 23px; font-weight: 500; margin-bottom: 8px; }
.sub-points p { font-size: 16.5px; color: var(--gray-700); }
.dark .sub-points p { color: rgba(255,255,255,0.75); }

/* Login */
.login-section { min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; }
.login-card {
  width: min(520px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line-light);
  padding: clamp(40px, 5vw, 64px);
  background: var(--white);
}
.login-card .eyebrow { color: var(--gray-500); }
.login-card h1 { font-family: var(--font-serif); font-size: 38px; font-weight: 450; margin: 22px 0 12px; }
.login-card > p { color: var(--gray-500); font-size: 16px; margin-bottom: 34px; }
.login-card .field input {
  background: rgba(0,0,0,0.04);
  border-bottom: 1.5px solid var(--black);
  color: var(--ink);
}
.login-card .field input::placeholder { color: var(--gray-500); }
.login-card .field input:focus { background: rgba(0,0,0,0.07); border-bottom-color: var(--copper); }
.login-card form { display: flex; flex-direction: column; gap: 22px; }
.login-card .cta { align-self: flex-start; margin-top: 8px; }
.login-links { margin-top: 30px; font-size: 15px; color: var(--gray-500); display: flex; flex-direction: column; gap: 8px; }
.login-links a { text-decoration: underline; text-underline-offset: 3px; }
.login-note { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-light); font-size: 13.5px; color: var(--gray-500); line-height: 1.6; }

/* CTA banner */
.cta-banner { text-align: center; }
.cta-banner .display-lg { max-width: 900px; margin: 28px auto 44px; }

/* ---------------- Leadership / Advisory ---------------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(28px, 3vw, 44px); margin-top: clamp(44px, 5vw, 72px); }
.team-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; background: #e7e4dd; filter: grayscale(12%); }
.team-name { font-family: var(--font-serif); font-weight: 500; font-size: 21px; margin-top: 20px; }
.team-role { font-size: 14px; letter-spacing: 0.03em; color: var(--gray-500); margin-top: 5px; }
.team-bio { font-size: 15px; line-height: 1.6; color: var(--gray-700); margin-top: 14px; }
.advisor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.advisor .adv-name { font-family: var(--font-serif); font-size: 18px; }
.advisor .adv-note { font-size: 13.5px; line-height: 1.5; color: var(--gray-500); margin-top: 5px; }

/* ---------------- Where We Are (status) ---------------- */
.status-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(28px, 3vw, 52px); margin-top: clamp(44px, 5vw, 72px); }
.status-col { border-top: 1px solid rgba(255,255,255,0.18); padding-top: 22px; }
.status-tag { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px; display: inline-flex; align-items: center; gap: 9px; }
.status-tag::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.status-live { color: var(--teal); }
.status-build { color: var(--copper); }
.status-plan { color: var(--gray-300); }
.status-list li { font-family: var(--font-serif); font-size: 16px; line-height: 1.5; color: rgba(255,255,255,0.78); padding: 11px 0; border-top: 1px dotted rgba(255,255,255,0.16); }
.status-list li:first-child { border-top: none; }
.status-note { margin-top: clamp(32px, 4vw, 48px); font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,0.45); }
.status-note a { color: rgba(255,255,255,0.7); border-bottom: 1px solid rgba(255,255,255,0.3); }

/* Reserve governance line */
.reserve-governance { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line-light); font-size: 14.5px; line-height: 1.6; color: var(--gray-700); }
.reserve-governance strong { color: var(--ink); font-weight: 600; }
.dark .reserve-governance { color: rgba(255,255,255,0.72); border-color: rgba(255,255,255,0.16); }
.dark .reserve-governance strong { color: #fff; }

/* ---------------- Investing in the Future (What We Do) ---------------- */
.invest-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: start;
  margin-top: clamp(48px, 6vw, 88px);
}
.invest-media img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.invest-copy { display: flex; flex-direction: column; gap: clamp(34px, 4vw, 52px); }
.invest-block h3 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(21px, 2vw, 26px); color: var(--white); margin-bottom: 16px; }
.invest-block p { font-size: 16.5px; line-height: 1.65; color: rgba(255,255,255,0.72); max-width: 48ch; }
.invest-link { display: inline-block; margin-top: 18px; font-size: 15px; font-weight: 600; color: var(--white); border-bottom: 1px solid rgba(255,255,255,0.55); padding-bottom: 2px; transition: color 0.2s ease, border-color 0.2s ease; }
.invest-link:hover { color: var(--teal); border-color: var(--teal); }
@media (max-width: 900px) {
  .invest-grid { grid-template-columns: 1fr; gap: clamp(32px, 6vw, 48px); }
  .invest-media img { aspect-ratio: 16 / 10; }
}

/* ---------------- Responsive ---------------- */

@media (max-width: 1080px) {
  .about-grid, .globe-grid, .subscribe-grid, .quote-section .quote-grid, .split { grid-template-columns: 1fr; }
  .globe-legend { position: static; right: auto; bottom: auto; flex-direction: row; flex-wrap: wrap; gap: 20px; margin-top: 16px; }
  .split.rev > .split-media { order: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(3) { border-left: none; }
  .stat-cell { border-top: 1px solid var(--line-light); }
  .stat-cell:nth-child(-n+2) { border-top: none; }
  .insights-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pillar-row { grid-template-columns: 48px 1fr 60px; }
  .pillar-row p { grid-column: 2 / 3; }
  .quote-photo { max-width: 300px; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 28px var(--pad) 40px;
    gap: 20px;
    box-shadow: 0 24px 40px rgba(0,0,0,0.12);
    transform: translateY(-130%);
    transition: transform 0.4s ease;
  }
  .main-nav.open { transform: none; }
  .nav-toggle { display: flex; }
  .insights-grid, .values-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .map-card { position: static; width: 100%; margin-top: 20px; }
  #minerals-canvas { height: 340px; }
}
