/* ====================================================
   ENGSL Minerals DMCC — Site Stylesheet
   Premium Light Blue Corporate Design System
   ==================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&family=DM+Mono:wght@400;500&display=swap');

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Variables ── */
:root {
  /* Blue palette — primary */
  --blue-950: #06162a;
  --blue-900: #0d2a4a;
  --blue-800: #163a65;
  --blue-750: #1a4575;
  --blue-700: #1e5090;
  --blue-600: #2563a8;
  --blue-500: #3478c8;
  --blue-400: #5a9fd4;
  --blue-300: #93c0e8;
  --blue-200: #bdd7f0;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;

  /* Section backgrounds */
  --bg-body:  #f0f5fb;
  --bg-white: #ffffff;
  --bg-soft:  #e8eef6;
  --bg-pale:  #f5f8fc;

  /* Text */
  --text-dark:  #0d1f35;
  --text-body:  #2d3f55;
  --text-muted: #5a7191;
  --text-light: #8fa3bc;

  /* Copper accent — sparingly */
  --copper-600: #a84b14;
  --copper-500: #c05c1e;
  --copper-400: #d4691e;
  --copper-300: #e07838;

  /* Steel greys — for borders and structure */
  --steel-700: #334155;
  --steel-600: #475569;
  --steel-500: #64748b;
  --steel-400: #5a7191;
  --steel-300: #8fa3bc;
  --steel-200: #cbd5e1;
  --steel-100: #e2e8f0;

  /* Legacy variable mappings — keeps inline var() refs working */
  --navy-950:     var(--blue-950);
  --navy-900:     var(--blue-900);
  --navy-800:     var(--blue-800);
  --charcoal-900: var(--bg-white);
  --charcoal-800: var(--bg-soft);
  --charcoal-700: var(--bg-pale);

  --white: #ffffff;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'DM Mono', monospace;
}

/* ── Base ── */
body {
  font-family: var(--font-body);
  background: var(--bg-body);
  color: var(--text-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
::selection { background: rgba(37,99,168,.18); color: var(--blue-900); }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-body); }
::-webkit-scrollbar-thumb { background: var(--blue-400); border-radius: 3px; }

/* ── Layout ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
@media (min-width: 1024px) { .container { padding: 0 3rem; } }

/* ── Navbar ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 80px; display: flex; align-items: center;
  background: rgba(240,245,251,.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--steel-200);
  box-shadow: 0 1px 16px rgba(30,80,144,.06);
  transition: background .3s, box-shadow .3s, border-color .3s;
}
.navbar.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  border-color: var(--steel-200);
  box-shadow: 0 4px 32px rgba(30,80,144,.10);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-logo { display: flex; flex-direction: column; cursor: pointer; }
.nav-logo-name { font-size: 1.2rem; font-weight: 700; letter-spacing: .08em; color: var(--blue-900); transition: color .2s; }
.nav-logo-sub { font-size: .55rem; letter-spacing: .22em; text-transform: uppercase; color: var(--blue-600); font-weight: 500; }
.nav-logo:hover .nav-logo-name { color: var(--blue-600); }
.nav-links { display: flex; align-items: center; gap: .25rem; }
.nav-link {
  padding: .5rem 1rem; font-size: .875rem; font-weight: 500; letter-spacing: .03em;
  color: var(--text-muted); border-radius: 6px; transition: color .2s, background .2s;
  position: relative;
}
.nav-link:hover { color: var(--blue-800); background: var(--bg-soft); }
.nav-link.active { color: var(--blue-700); }
.nav-link::after {
  content: ''; position: absolute; bottom: 4px; left: 1rem; right: 1rem;
  height: 1.5px; background: var(--blue-600); transform: scaleX(0); transition: transform .2s;
}
.nav-link:hover::after { transform: scaleX(1); }
.nav-cta {
  margin-left: 1rem; padding: .6rem 1.25rem;
  background: var(--blue-700); color: #fff; font-size: .875rem; font-weight: 600;
  letter-spacing: .04em; border-radius: 6px; transition: background .2s, box-shadow .2s, transform .15s;
}
.nav-cta:hover { background: var(--blue-600); box-shadow: 0 6px 20px rgba(37,99,168,.28); transform: translateY(-1px); }
.hamburger { display: none; background: none; border: none; cursor: pointer; color: var(--text-muted); padding: .5rem; }
.mobile-menu {
  display: none; position: fixed; top: 80px; left: 0; right: 0;
  background: rgba(255,255,255,.98); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--steel-200); padding: 1.5rem 2rem 2rem;
  z-index: 99; box-shadow: 0 8px 30px rgba(30,80,144,.08);
}
.mobile-menu.open { display: block; }
.mobile-nav-link {
  display: block; padding: .75rem 1rem; font-size: .9rem; font-weight: 500;
  color: var(--text-muted); border-radius: 6px; transition: color .2s, background .2s; margin-bottom: .25rem;
}
.mobile-nav-link:hover, .mobile-nav-link.active { color: var(--blue-700); background: var(--blue-50); }
.mobile-cta {
  display: block; margin-top: 1rem; text-align: center; padding: .875rem;
  background: var(--blue-700); color: #fff; font-weight: 600; font-size: .9rem; border-radius: 6px;
}
@media (max-width: 1023px) { .nav-links { display: none; } .hamburger { display: block; } }

/* ── Hero ── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(155deg, #06162a 0%, #0d2a4a 40%, #163a65 80%, #1a4575 100%);
  position: relative; overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0; opacity: .18;
  background-image: linear-gradient(rgba(147,192,232,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147,192,232,.12) 1px, transparent 1px);
  background-size: 80px 80px;
}
.hero-radial {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 65% 40%, rgba(37,99,168,.35) 0%, transparent 65%),
    radial-gradient(ellipse 45% 55% at 15% 70%, rgba(93,157,212,.1) 0%, transparent 60%),
    radial-gradient(ellipse 30% 30% at 80% 20%, rgba(147,192,232,.06) 0%, transparent 50%);
}
.hero-bottom-fade { position: absolute; bottom: 0; left: 0; right: 0; height: 10rem; background: linear-gradient(to top, rgba(240,245,251,.15), transparent); }
.hero-top-line { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(147,192,232,.55), transparent); }
.hero-inner { position: relative; padding: 8rem 0 5rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 14px;
  border: 1px solid rgba(147,192,232,.4); border-radius: 100px; font-size: 11px;
  font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-300); background: rgba(147,192,232,.1); margin-bottom: 2rem;
}
.hero-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-300); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.8)} }
.hero-title {
  font-family: var(--font-display); font-size: clamp(2.8rem,8vw,5.5rem);
  font-weight: 300; line-height: .95; color: #fff; margin-bottom: 1.5rem; max-width: 900px;
}
.hero-title em { font-style: italic; color: var(--blue-300); }
.hero-title .subdued { color: rgba(255,255,255,.55); }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,.72); max-width: 560px; line-height: 1.75; margin-bottom: 2.5rem; font-weight: 300; }
.geo-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 3rem; }
.geo-tag {
  font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--blue-300);
  border: 1px solid rgba(147,192,232,.22); border-radius: 4px; padding: .25rem .75rem;
  background: rgba(147,192,232,.07);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem; padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-600));
  color: #fff; font-weight: 600; font-size: .875rem; letter-spacing: .05em;
  border-radius: 6px; transition: background .25s, box-shadow .25s, transform .15s;
  border: none; cursor: pointer;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  box-shadow: 0 8px 30px rgba(37,99,168,.32); transform: translateY(-1px);
}
.btn-outline {
  display: inline-flex; align-items: center; gap: .5rem; padding: 1rem 2rem;
  border: 1.5px solid rgba(255,255,255,.32); color: #fff;
  font-weight: 500; font-size: .875rem; letter-spacing: .04em;
  border-radius: 6px; transition: border-color .2s, background .2s, color .2s;
}
.btn-outline:hover { border-color: rgba(255,255,255,.65); background: rgba(255,255,255,.09); }

/* btn-outline on light section backgrounds */
.section-dark .btn-outline,
.section-mid .btn-outline {
  border-color: var(--blue-700);
  color: var(--blue-700);
  background: transparent;
}
.section-dark .btn-outline:hover,
.section-mid .btn-outline:hover {
  background: var(--blue-50);
  border-color: var(--blue-600);
  color: var(--blue-800);
}

.scroll-indicator { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.scroll-line { width: 1px; height: 3rem; background: linear-gradient(to bottom, rgba(147,192,232,.65), transparent); }
.scroll-label { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--blue-400); }

/* ── Page Hero ── */
.page-hero {
  position: relative; padding: 10rem 0 5rem; overflow: hidden;
  background: linear-gradient(155deg, #06162a 0%, #0d2a4a 50%, #163a65 100%);
}
.page-hero-bg {
  position: absolute; inset: 0; opacity: .18;
  background-image: linear-gradient(rgba(147,192,232,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147,192,232,.12) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-fade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(6,22,42,.15), rgba(6,22,42,.05), rgba(6,22,42,.35)); }
.page-hero-topline { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(147,192,232,.55), transparent); }
.page-hero-inner { position: relative; }
.page-hero .badge { border-color: rgba(147,192,232,.4); color: var(--blue-300); background: rgba(147,192,232,.1); }
.page-hero .section-title { color: #fff; }
.page-hero .section-sub { color: rgba(255,255,255,.68); }

/* ── Sections ── */
section { padding: 5.5rem 0; }
.section-dark { background: var(--bg-white); }
.section-mid { background: var(--bg-soft); }
.section-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--blue-200), transparent); }

/* ── Badge ── */
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px;
  border: 1px solid rgba(37,99,168,.28); border-radius: 100px; font-size: 11px;
  font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-700); background: rgba(37,99,168,.07); margin-bottom: 1.25rem;
}

/* ── Typography ── */
.display { font-family: var(--font-display); font-weight: 300; }
h1.display { font-size: clamp(2.5rem,6vw,4.5rem); line-height: 1.05; }
h2.display { font-size: clamp(1.9rem,4vw,3rem); line-height: 1.1; }
h3.display { font-size: clamp(1.4rem,3vw,2rem); line-height: 1.15; }
.section-title {
  font-family: var(--font-display); font-size: clamp(2rem,4vw,3.2rem);
  font-weight: 300; color: var(--text-dark); margin-bottom: 1.25rem; line-height: 1.1;
}
.section-sub { color: var(--text-muted); font-size: 1rem; line-height: 1.75; max-width: 680px; }
.label { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600); }
.copper-line { width: 48px; height: 3px; background: linear-gradient(90deg, var(--blue-600), var(--blue-500)); margin-bottom: 1.5rem; border-radius: 2px; }

/* ── Stats Strip ── */
.stats-strip {
  background: var(--bg-white);
  border-top: 1px solid var(--steel-200);
  border-bottom: 1px solid var(--steel-200);
}
.stats-grid { display: grid; grid-template-columns: repeat(2,1fr); }
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(6,1fr); } }
.stat-cell {
  padding: 2rem 1.5rem; text-align: center;
  border-right: 1px solid var(--steel-200); border-bottom: 1px solid var(--steel-200);
  transition: background .2s;
}
.stat-cell:hover { background: var(--blue-50); }
.stat-value {
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 700;
  color: var(--blue-700); line-height: 1; margin-bottom: .4rem;
}
.stat-label { font-size: .7rem; color: var(--text-muted); letter-spacing: .05em; line-height: 1.3; }

/* ── Cards ── */
.card {
  background: var(--bg-white); border: 1px solid var(--steel-200);
  border-radius: 10px; transition: transform .25s, border-color .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-3px); border-color: var(--blue-400); box-shadow: 0 12px 40px rgba(37,99,168,.12); }
.card-copper { background: rgba(192,92,30,.06); border: 1px solid rgba(192,92,30,.2); border-radius: 10px; }
.card-accent { background: var(--blue-700); border: 1px solid var(--blue-600); border-radius: 10px; }

/* ── Grid layouts ── */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2,1fr); } .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3,1fr); } .grid-4 { grid-template-columns: repeat(4,1fr); } }
.grid-lg-2 { display: grid; grid-template-columns: 1fr; gap: 4rem; }
@media (min-width: 1024px) { .grid-lg-2 { grid-template-columns: 1fr 1fr; } }
.grid-lg-3 { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .grid-lg-3 { grid-template-columns: 1fr 2fr; } }

/* ── Timeline ── */
.timeline-wrap { position: relative; padding-left: 2.5rem; }
.timeline-line {
  position: absolute; left: 10px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--blue-500), rgba(37,99,168,.1));
}
.timeline-item { position: relative; margin-bottom: 1.5rem; }
.timeline-dot {
  position: absolute; left: -2.1rem; width: 14px; height: 14px; border-radius: 50%;
  background: var(--blue-700); border: 3px solid var(--bg-white);
  box-shadow: 0 0 0 2px var(--blue-400); margin-top: .3rem;
}
.timeline-card {
  padding: 1.5rem 2rem; background: var(--bg-white);
  border: 1px solid var(--steel-200); border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.timeline-card:hover { border-color: var(--blue-400); box-shadow: 0 6px 24px rgba(37,99,168,.1); }
.timeline-year {
  font-family: var(--font-mono); font-size: .7rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--blue-700); background: var(--blue-50);
  border: 1px solid var(--blue-200); padding: 3px 10px; border-radius: 4px;
  display: inline-block; margin-bottom: .75rem;
}
.tag { font-size: .65rem; color: var(--text-muted); border: 1px solid var(--steel-200); padding: 2px 8px; border-radius: 3px; display: inline-block; }

/* ── Capability cards ── */
.cap-icon {
  width: 44px; height: 44px; border-radius: 10px; background: var(--blue-50);
  border: 1px solid var(--blue-100); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; transition: background .2s, border-color .2s;
}
.cap-icon svg { width: 22px; height: 22px; color: var(--blue-700); stroke: var(--blue-700); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.card:hover .cap-icon { background: var(--blue-100); border-color: var(--blue-300); }
.cap-title { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dark); margin-bottom: .5rem; }
.cap-body { font-size: .875rem; color: var(--text-muted); line-height: 1.6; }

/* ── Check list ── */
.check-list { list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: .625rem; margin-bottom: .625rem; font-size: .875rem; color: var(--text-muted); line-height: 1.5; }
.check-list li::before {
  content: ''; display: block; flex-shrink: 0; width: 14px; height: 14px; margin-top: .1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563a8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ── Table ── */
.data-table { width: 100%; border-collapse: collapse; font-size: .875rem; border-radius: 10px; overflow: hidden; border: 1px solid var(--steel-200); }
.data-table thead tr { background: var(--blue-50); border-bottom: 2px solid var(--blue-200); }
.data-table th { text-align: left; padding: 1rem 1.5rem; font-size: .65rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-700); white-space: nowrap; }
.data-table td { padding: 1rem 1.5rem; color: var(--text-muted); border-bottom: 1px solid var(--steel-100); vertical-align: top; }
.data-table td:first-child { color: var(--text-dark); font-weight: 500; }
.data-table tr:hover td { background: var(--blue-50); }
.data-table tr:nth-child(even) td { background: var(--bg-pale); }
.overflow-x { overflow-x: auto; }

/* ── CTA section ── */
.cta-section {
  background: linear-gradient(155deg, #0d2a4a, #1e5090);
  text-align: center; padding: 6rem 0;
}
.cta-section .section-title { color: #fff; margin-left: auto; margin-right: auto; max-width: 700px; }
.cta-section p { color: rgba(255,255,255,.72); }
.cta-section .badge { border-color: rgba(147,192,232,.4); color: var(--blue-300); background: rgba(147,192,232,.1); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.5rem; }
.cta-section .btn-primary { background: #fff; color: var(--blue-900); }
.cta-section .btn-primary:hover { background: var(--blue-50); box-shadow: 0 8px 30px rgba(0,0,0,.18); }
.cta-section .btn-outline { border-color: rgba(255,255,255,.4); color: #fff; }
.cta-section .btn-outline:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.08); }

/* ── Footer CTA Strip ── */
.footer-strip {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-800));
  padding: 3.5rem 0;
}
.footer-strip .section-title { color: #fff; font-size: 1.6rem !important; margin-bottom: .5rem; }
.footer-strip p { color: rgba(255,255,255,.72); }
.footer-strip-inner { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
@media (min-width: 768px) { .footer-strip-inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-strip .btn-primary { background: #fff; color: var(--blue-900); }
.footer-strip .btn-primary:hover { background: var(--blue-50); box-shadow: 0 6px 24px rgba(0,0,0,.2); }

/* ── Footer ── */
footer { background: var(--blue-950); padding: 4.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 3rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand-name { font-size: 1.4rem; font-weight: 700; letter-spacing: .1em; color: #fff; }
.footer-brand-sub { font-size: .55rem; letter-spacing: .25em; text-transform: uppercase; color: var(--blue-400); font-weight: 500; margin-top: 2px; margin-bottom: 1.25rem; }
.footer-desc { color: rgba(255,255,255,.48); font-size: .875rem; line-height: 1.75; max-width: 280px; margin-bottom: 1.5rem; }
.footer-contact-item { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: .75rem; font-size: .875rem; color: rgba(255,255,255,.48); }
.footer-contact-item svg { flex-shrink: 0; color: var(--blue-400); }
.footer-contact-item a:hover { color: #fff; }
.footer-col-title { font-size: .65rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--blue-300); margin-bottom: 1rem; }
.footer-link { display: block; font-size: .875rem; color: rgba(255,255,255,.45); margin-bottom: .625rem; transition: color .2s; }
.footer-link:hover { color: #fff; }
.footer-bottom {
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; flex-direction: column; gap: .5rem; align-items: center; text-align: center;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer-bottom-text { font-size: .75rem; color: rgba(255,255,255,.28); }

/* ── Geo cards ── */
.geo-flag { font-size: 2.5rem; }
.geo-region { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--blue-600); font-weight: 600; }
.geo-activities { list-style: none; margin-top: .75rem; }
.geo-activities li { font-size: .8rem; color: var(--text-muted); display: flex; align-items: flex-start; gap: .4rem; margin-bottom: .35rem; }
.geo-activities li::before { content: '·'; color: var(--blue-500); flex-shrink: 0; }
.geo-ref { font-size: .7rem; color: var(--text-light); font-style: italic; padding-top: .75rem; border-top: 1px solid var(--steel-200); margin-top: .75rem; }

/* ── Contact form ── */
.form-label { display: block; font-size: .65rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .5rem; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: .875rem 1rem; border-radius: 8px;
  background: var(--bg-white); border: 1.5px solid var(--steel-200);
  color: var(--text-dark); font-family: var(--font-body); font-size: .875rem;
  transition: border-color .2s, box-shadow .2s; outline: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-light); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(52,120,200,.12);
}
.form-select { appearance: none; cursor: pointer; }
.form-select option { background: #fff; color: var(--text-dark); }
.form-textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { margin-bottom: 1rem; }
.form-note { background: var(--bg-soft); border: 1px solid var(--steel-200); border-radius: 8px; padding: 1rem; font-size: .75rem; color: var(--text-muted); line-height: 1.6; }
.form-note a { color: var(--blue-600); }
.form-required { color: var(--copper-500); }
.submit-btn {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: .625rem;
  padding: 1rem 2rem; background: linear-gradient(135deg, var(--blue-700), var(--blue-600));
  color: #fff; font-weight: 700; font-size: .9rem; letter-spacing: .05em;
  border-radius: 8px; border: none; cursor: pointer;
  transition: background .2s, box-shadow .2s, transform .15s; margin-top: .5rem;
}
.submit-btn:hover {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  box-shadow: 0 8px 30px rgba(37,99,168,.28); transform: translateY(-1px);
}
.success-box { text-align: center; padding: 4rem 2rem; }
.success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(37,99,168,.1); border: 1px solid rgba(37,99,168,.25);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem;
}
.success-icon svg { color: var(--blue-600); stroke: var(--blue-600); }

/* ── Misc utility ── */
.text-copper { color: var(--copper-400); }
.text-steel { color: var(--text-muted); }
.text-white { color: #fff; }
.text-mono { font-family: var(--font-mono); }
.italic { font-style: italic; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: .5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: .5rem; }
.gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.flex-wrap { flex-wrap: wrap; }
.text-center { text-align: center; }
.w-full { width: 100%; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-7 { padding: 1.75rem; }
.p-8 { padding: 2rem; }
.rounded { border-radius: 8px; }
.rounded-xl { border-radius: 12px; }
.border-copper { border: 1px solid rgba(192,92,30,.2); }
.bg-copper-light { background: rgba(192,92,30,.06); }
.bg-navy { background: var(--blue-50); }
.italic-note {
  padding: .75rem 1rem; background: var(--blue-50); border: 1px solid var(--blue-100);
  border-radius: 6px; font-size: .8rem; color: var(--text-muted); line-height: 1.6; font-style: italic;
}
.proof-box { background: var(--blue-50); border: 1px solid var(--blue-200); border-radius: 8px; padding: 1.25rem; }
.proof-label { font-size: .6rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--blue-600); margin-bottom: .5rem; }
.product-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-600); flex-shrink: 0; margin-top: .45rem; }

/* ── Animations ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
.fade-up   { animation: fadeUp .6s ease forwards; }
.fade-up-2 { animation: fadeUp .6s .1s ease both; }
.fade-up-3 { animation: fadeUp .6s .2s ease both; }
.reveal { will-change: opacity, transform; }

/* ── Active nav state ── */
.nav-link[data-page="home"].active,
.nav-link[data-page="about"].active { color: var(--blue-700); }

/* ════════════════════════════════════════════════════
   INLINE STYLE OVERRIDES
   Catches hardcoded dark-theme inline styles that
   live inside light content sections
   ════════════════════════════════════════════════════ */

/* Dark card backgrounds → white */
.section-dark [style*="background:rgba(10,22,40"],
.section-mid  [style*="background:rgba(10,22,40"],
.section-dark [style*="background:rgba(5,13,26"],
.section-mid  [style*="background:rgba(5,13,26"] {
  background: var(--bg-white) !important;
  box-shadow: 0 1px 0 var(--steel-200);
}

/* Dark border → steel border */
.section-dark [style*="border:1px solid rgba(255,255,255"],
.section-mid  [style*="border:1px solid rgba(255,255,255"] {
  border-color: var(--steel-200) !important;
}

/* White text in content sections → dark navy */
.section-dark [style*="color:#fff"],
.section-mid  [style*="color:#fff"] {
  color: var(--text-dark) !important;
}

/* Copper SVG strokes in content → blue */
.section-dark svg[stroke="#d4691e"],
.section-mid  svg[stroke="#d4691e"] {
  stroke: var(--blue-600) !important;
}

/* Proof-box steel-300 text → muted */
.proof-box [style*="color:var(--steel-300)"] {
  color: var(--text-muted) !important;
}

/* Legacy copper accent used for info labels in cards → blue */
.section-dark [style*="color:var(--copper-400)"],
.section-mid  [style*="color:var(--copper-400)"] {
  color: var(--blue-600) !important;
}

/* Company Profile box copper background in contact page */
.section-dark [style*="background:rgba(212,105,30"],
.section-mid  [style*="background:rgba(212,105,30"] {
  background: var(--blue-50) !important;
  border-color: var(--blue-200) !important;
}

/* "Download Profile" copper link in contact page */
.section-dark [style*="color:var(--copper-400)"],
.section-mid  [style*="color:var(--copper-400)"] {
  color: var(--blue-600) !important;
}

/* Form success "Inquiry Received" heading fix */
#form-success h2[style*="color:#fff"] {
  color: var(--text-dark) !important;
}

/* Form privacy note dark color fix */
p[style*="color:#3d4a5c"] {
  color: var(--text-muted) !important;
}

/* Footer-strip inline section-title color (used on light page footer-strip sections) */
.footer-strip .section-title,
.footer-strip h3 {
  color: #fff;
}

/* Contact page: Inquiry Received reset button */
#reset-form {
  color: var(--blue-600) !important;
}

/* Attachment note strong tag */
.form-note strong[style*="color:var(--copper-400)"] {
  color: var(--blue-700) !important;
}

/* Contact page section-mid cards with copper border */
.section-mid [style*="border:1px solid rgba(212,105,30"] {
  border-color: var(--blue-200) !important;
  background: var(--bg-white) !important;
}

/* ── Leadership portrait ── */
/* Portrait placeholder keep as dark (it's a photo frame) */
.portrait-frame {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-800));
  border: 1px solid rgba(255,255,255,.08);
}

/* ── Preserve white text inside dark-background card-accent ── */
.card-accent [style*="color:#fff"],
.card-accent [style*="color:rgba(255,255,255"] {
  color: rgba(255,255,255,1) !important;
}
.card-accent p { color: rgba(255,255,255,.82) !important; }

/* ── Card icon boxes: copper bg → blue bg ── */
[style*="background:rgba(212,105,30,.15)"] {
  background: var(--blue-50) !important;
}
[style*="color:var(--copper-400)"] > svg,
[style*="color:var(--copper-400)"] svg {
  stroke: var(--blue-600) !important;
  color: var(--blue-600) !important;
}

/* ── About page blockquote ── */
.section-dark blockquote[style],
.section-mid blockquote[style] {
  color: var(--text-dark) !important;
}

/* ── Capabilities page section headings ── */
.section-dark h2[style*="color:#fff"],
.section-mid  h2[style*="color:#fff"] {
  color: var(--text-dark) !important;
}

/* ── Trading / other pages numbered step boxes ── */
.section-dark [style*="background:var(--copper-500)"],
.section-mid  [style*="background:var(--copper-500)"] {
  background: var(--blue-700) !important;
  border-color: var(--blue-600) !important;
}

/* ── Experience page era headers ── */
.section-dark [style*="background:rgba(212,105,30"],
.section-mid  [style*="background:rgba(212,105,30"] {
  background: var(--blue-50) !important;
  border-color: var(--blue-100) !important;
  color: var(--blue-700) !important;
}

/* ── Global Presence / broader region cards ── */
.section-dark [style*="font-size:2rem"],
.section-mid  [style*="font-size:2rem"] {
  /* emoji headers — keep neutral */
}

/* ── Capability matrix numbered boxes ── */
[style*="width:32px"][style*="background:var(--copper-500)"],
[style*="width:28px"][style*="background:var(--copper-500)"] {
  background: var(--blue-700) !important;
}

/* ── Footer strip section title forced white ── */
.footer-strip [style*="font-size:1.6rem"] {
  color: #fff !important;
}

/* ── Stats strip number colors if inlined ── */
.stats-strip [style*="color:var(--copper-400)"] {
  color: var(--blue-700) !important;
}

/* ── Step numbers (01–08) with faint copper tint ── */
.section-dark [style*="color:rgba(212,105,30"],
.section-mid  [style*="color:rgba(212,105,30"] {
  color: rgba(37,99,168,.22) !important;
}

/* ── Era divider lines with copper gradient ── */
.section-dark [style*="linear-gradient(90deg,rgba(212"],
.section-mid  [style*="linear-gradient(90deg,rgba(212"] {
  background: linear-gradient(90deg, var(--blue-400), var(--blue-200), transparent) !important;
}

/* ── Era subtitle italic text with copper color ── */
.section-dark [style*="color:var(--copper-400)"][style*="font-family:var(--font-display)"],
.section-mid  [style*="color:var(--copper-400)"][style*="font-family:var(--font-display)"] {
  color: var(--blue-600) !important;
}

/* ── Timeline card h3 headings ── */
.timeline-card h3[style*="color:#fff"] {
  color: var(--text-dark) !important;
}

/* ── Trading case study card h3 headings ── */
.section-mid .card h3[style*="color:#fff"],
.section-dark .card h3[style*="color:#fff"] {
  color: var(--text-dark) !important;
}

/* ── Data table first-col inline color override ── */
.data-table td[style*="color:#fff"] {
  color: var(--text-dark) !important;
}

/* ── Data table date column copper color ── */
.data-table td[style*="color:var(--copper-400)"] {
  color: var(--blue-600) !important;
}

/* ── Table italic-note inside data section ── */
.italic-note { color: var(--text-muted); }

/* ── Technology / other page numbered items ── */
[style*="background:rgba(212,105,30,.1)"][style*="border:1px solid rgba(212,105,30"] {
  background: var(--blue-50) !important;
  border-color: var(--blue-200) !important;
}
[style*="color:var(--copper-500)"][style*="border:1px solid rgba(212,105,30"] {
  color: var(--blue-600) !important;
}

/* ── Blockquote on about/dark section ── */
section.section-dark blockquote,
section[style*="text-align:center"] blockquote {
  color: var(--text-dark);
}
section.section-dark[style*="text-align:center"] .section-title,
section.section-dark[style*="text-align:center"] blockquote {
  color: var(--text-dark);
}

/* ── "Execution Philosophy" about page centered section ── */
.section-dark[style*="text-align:center"] {
  background: linear-gradient(135deg, #0d2a4a, #163a65) !important;
}
.section-dark[style*="text-align:center"] blockquote {
  color: #fff !important;
}
.section-dark[style*="text-align:center"] p {
  color: rgba(255,255,255,.7) !important;
}
.section-dark[style*="text-align:center"] .badge {
  border-color: rgba(147,192,232,.4) !important;
  color: var(--blue-300) !important;
  background: rgba(147,192,232,.1) !important;
}
.section-dark[style*="text-align:center"] .btn-primary {
  background: #fff !important;
  color: var(--blue-900) !important;
}
.section-dark[style*="text-align:center"] .btn-primary:hover {
  background: var(--blue-50) !important;
}
.section-dark[style*="text-align:center"] .btn-outline {
  border-color: rgba(255,255,255,.4) !important;
  color: #fff !important;
}
