
:root {
  --blue: #118ccd;
  --blue-deep: #056da6;
  --green: #35b62a;
  --ink: #172226;
  --muted: #5e6b72;
  --line: #d7e1e5;
  --surface: #f6f9fb;
  --white: #ffffff;
  --charcoal: #0f1b20;
  --shadow: 0 24px 70px rgba(15, 27, 32, 0.16);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.55;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: var(--scroll-progress, 0%);
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
}
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 20px;
  padding: 16px clamp(18px, 3.8vw, 60px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(215, 225, 229, 0.76);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, padding 180ms ease;
}
.site-header:hover .mega-menu,
.site-header:focus-within .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.site-header.is-scrolled {
  padding-block: 10px;
  box-shadow: 0 10px 30px rgba(15, 27, 32, 0.08);
}
.brand img { width: auto; height: 54px; }
.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(12px, 1.7vw, 26px);
  color: var(--charcoal);
  font-size: 0.9rem;
  font-weight: 800;
}
.site-nav a {
  position: relative;
  padding-block: 6px;
  white-space: nowrap;
}
.site-nav a::after {
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  content: "";
  background: var(--green);
  transition: right 180ms ease;
}
.site-nav a:hover::after,
.site-nav a.is-active::after { right: 0; }
.search-toggle,
.menu-toggle,
.back-to-top,
.search-close {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
}
.search-toggle { min-height: 42px; padding: 0 16px; }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}
.mega-menu {
  position: absolute;
  top: calc(100% + 1px);
  right: clamp(18px, 3.8vw, 60px);
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 18px;
  width: min(980px, calc(100vw - 36px));
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}
.mega-menu div { display: grid; align-content: start; gap: 9px; }
.mega-menu span,
.mega-menu strong {
  color: var(--blue-deep);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}
.mega-menu a { color: var(--ink); font-weight: 700; }
.mega-feature {
  padding: 18px;
  border-radius: 8px;
  background: var(--surface);
}
.mega-feature p { margin: 8px 0 0; color: var(--muted); font-size: 0.92rem; }
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 142px clamp(20px, 5vw, 76px) 64px;
  color: var(--white);
}
.hero-media,
.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-image { object-fit: cover; }
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(15, 27, 32, 0.9), rgba(15, 27, 32, 0.5) 56%, rgba(15, 27, 32, 0.24)),
    linear-gradient(0deg, rgba(15, 27, 32, 0.78), rgba(15, 27, 32, 0.08) 48%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}
.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 960px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 7.4rem);
  line-height: 0.96;
  letter-spacing: 0;
}
.hero-copy {
  max-width: 720px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.35vw, 1.22rem);
}
.hero-actions,
.investor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { color: var(--white); background: var(--green); }
.button.secondary { color: var(--white); border-color: rgba(255,255,255,0.48); }
.hero-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(960px, 100%);
  margin-top: 54px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  overflow: hidden;
}
.hero-panel div { padding: 22px; background: rgba(255, 255, 255, 0.11); }
.hero-panel strong { display: block; font-size: 1.22rem; }
.hero-panel span { color: rgba(255,255,255,0.78); font-size: 0.92rem; }
.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
}
.page-hero {
  padding: 170px clamp(20px, 5vw, 76px) 96px;
  color: var(--white);
  background:
    linear-gradient(100deg, rgba(15,27,32,.98), rgba(15,27,32,.78)),
    url("assets/hero-mining.webp") center / cover;
}
.page-hero h1 {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(2.7rem, 5.8vw, 6.2rem);
  line-height: 1;
  letter-spacing: 0;
}
.page-hero p:last-child {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.82);
  font-size: 1.1rem;
}
.section-heading,
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 38px;
  align-items: end;
  margin-bottom: 36px;
}
h2 {
  margin: 0;
  color: var(--charcoal);
  font-size: clamp(2rem, 3.6vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: 0;
}
p { color: var(--muted); }
.about-grid {
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  gap: 40px;
}
.metric-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.metric-strip div { padding: 28px; border-right: 1px solid var(--line); background: var(--white); }
.metric-strip div:last-child { border-right: 0; }
.metric-strip span { color: var(--blue); font-size: 1.8rem; font-weight: 800; }
.metric-strip strong { display: block; margin-top: 12px; font-size: 1.2rem; }
.mini-grid,
.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.mini-card,
.directory-link,
.detail-panel {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.mini-card:hover,
.directory-link:hover {
  transform: translateY(-3px);
  border-color: rgba(17,140,205,.4);
  box-shadow: 0 18px 42px rgba(15,27,32,.1);
}
.mini-card span,
.directory-link span,
.detail-panel span {
  color: var(--blue-deep);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}
.mini-card strong,
.directory-link {
  color: var(--charcoal);
  font-size: 1.05rem;
  font-weight: 800;
}
.directory-link span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  text-transform: none;
  font-size: .92rem;
  font-weight: 500;
}
.directory-toolbar,
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.filter-button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
}
.filter-button.is-active {
  color: var(--white);
  border-color: var(--green);
  background: var(--green);
}
.band {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100vw - 1180px) / 2));
  background: var(--surface);
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 36px;
  align-items: start;
}
.detail-layout aside { display: grid; gap: 14px; }
.spec-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 28px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}
.spec-table div {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: var(--white);
}
.spec-table span,
.process-list span,
.contact-intro span {
  color: var(--blue-deep);
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
}
.spec-table strong {
  color: var(--ink);
  font-size: .96rem;
}
.accordion {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}
.accordion-trigger {
  width: 100%;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
  font: inherit;
  font-weight: 800;
}
.accordion-panel {
  display: none;
  padding: 0 0 18px;
}
.accordion-panel.is-open { display: block; }
.contact-section {
  display: grid;
  gap: 24px;
}
.contact-intro {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.contact-intro div {
  display: grid;
  gap: 8px;
  min-height: 118px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.contact-intro strong {
  color: var(--charcoal);
  overflow-wrap: anywhere;
}
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
label { display: grid; gap: 8px; color: var(--ink); font-weight: 800; }
input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
}
textarea { min-height: 140px; resize: vertical; }
.wide { grid-column: 1 / -1; }
.bot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.privacy-note {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}
.process-list {
  display: grid;
  gap: 12px;
}
.process-list span {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.site-footer {
  padding: 58px clamp(20px, 5vw, 76px) 26px;
  background: var(--charcoal);
  color: var(--white);
}
.footer-brand {
  display: grid;
  grid-template-columns: 220px minmax(0, 620px);
  gap: 34px;
  align-items: center;
  margin-bottom: 42px;
}
.footer-brand p,
.footer-bottom,
.site-footer a { color: rgba(255,255,255,.72); }
.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.16);
}
.footer-links div { display: grid; gap: 9px; align-content: start; }
.footer-links h3 { margin: 0 0 8px; }
.footer-bottom {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 36px;
  font-size: .9rem;
}
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  min-height: 44px;
  padding: 0 14px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}
.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.search-panel {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: start center;
  padding: 100px 20px 20px;
  background: rgba(15,27,32,.58);
}
.search-panel.is-open { display: grid; }
.search-card {
  width: min(820px, 100%);
  padding: 26px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.search-close { float: right; min-height: 38px; padding: 0 12px; }
.search-results {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  max-height: 50vh;
  overflow: auto;
}
.search-results a {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.search-page { max-width: 820px; }
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 980px) {
  .site-header { grid-template-columns: auto auto auto; }
  .menu-toggle { display: block; justify-self: end; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .mega-menu { display: none; }
  .search-toggle { justify-self: end; }
  .section-heading,
  .split,
  .about-grid,
  .detail-layout,
  .footer-brand { grid-template-columns: 1fr; }
  .mini-grid,
  .directory-grid,
  .metric-strip,
  .footer-links,
  .hero-panel,
  .contact-intro,
  .spec-table { grid-template-columns: 1fr; }
  .hero {
    min-height: 82vh;
    padding-top: 118px;
    padding-bottom: 34px;
  }
  .hero-panel {
    margin-top: 28px;
  }
  .hero-panel div {
    padding: 14px 16px;
  }
  .hero-panel span {
    font-size: .86rem;
  }
  .hero h1,
  .page-hero h1 { font-size: clamp(2.6rem, 12vw, 4.5rem); }
  .contact-form { grid-template-columns: 1fr; }
}
