/* ============================================================
   COREDRILL Mining and Infra Private Limited
   Brand: charcoal #363E45 · orange #D4712A · cream #FDF9F4
   ============================================================ */

:root {
  --charcoal: #363e45;
  --charcoal-dark: #2a3138;
  --charcoal-light: #4a545e;
  --orange: #d4712a;
  --orange-dark: #b85e1f;
  --cream: #fdf9f4;
  --cream-dark: #f4ede3;
  --white: #ffffff;
  --text: #363e45;
  --text-muted: #6b7581;
  --border: #e5ddd1;
  --max-w: 1180px;
  --radius: 6px;
  --shadow: 0 8px 30px rgba(42, 49, 56, 0.1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Barlow", "Segoe UI", Arial, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
}

img { max-width: 100%; display: block; }

a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-dark); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: "Barlow Condensed", "Barlow", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--charcoal);
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); text-transform: uppercase; }
h3 { font-size: 1.35rem; }

.eyebrow {
  display: inline-block;
  font-family: "Barlow", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 3px;
  background: var(--orange);
  vertical-align: middle;
  margin-right: 12px;
}

.lead { font-size: 1.15rem; color: var(--text-muted); max-width: 720px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 249, 244, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand img { height: 44px; width: auto; }

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover { color: var(--orange); }
.nav-links a.active { color: var(--orange); border-bottom-color: var(--orange); }

.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 11px 22px !important;
  border-radius: var(--radius);
  border-bottom: none !important;
}
.nav-cta:hover { background: var(--orange-dark); color: var(--white) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--charcoal);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); color: var(--white); }
.btn-outline { border-color: var(--charcoal); color: var(--charcoal); background: transparent; }
.btn-outline:hover { background: var(--charcoal); color: var(--white); }
.btn-outline-light { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: var(--white); color: var(--charcoal); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(112deg, rgba(42, 49, 56, 0.94) 0%, rgba(42, 49, 56, 0.78) 55%, rgba(212, 113, 42, 0.35) 100%),
    repeating-linear-gradient(-45deg, #3a434c 0px, #3a434c 22px, #333b43 22px, #333b43 44px);
  color: var(--white);
  padding: 110px 0 120px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  background: var(--orange);
}
.hero h1 { color: var(--white); max-width: 800px; }
.hero h1 .accent { color: var(--orange); }
.hero .lead { color: #cfd6dc; margin: 22px 0 38px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-inner .eyebrow { color: var(--orange); }

/* page hero (interior pages) */
.page-hero {
  background:
    linear-gradient(112deg, rgba(42, 49, 56, 0.95) 0%, rgba(42, 49, 56, 0.82) 60%, rgba(212, 113, 42, 0.3) 100%),
    repeating-linear-gradient(-45deg, #3a434c 0px, #3a434c 22px, #333b43 22px, #333b43 44px);
  color: var(--white);
  padding: 70px 0;
  border-bottom: 6px solid var(--orange);
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: #cfd6dc; max-width: 700px; margin-top: 14px; font-size: 1.1rem; }
.breadcrumb { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: #9aa4ad; margin-bottom: 18px; }
.breadcrumb a { color: #cfd6dc; }
.breadcrumb a:hover { color: var(--orange); }

/* ---------- Stats bar ---------- */
.stats-bar { background: var(--charcoal); color: var(--white); padding: 46px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat h3 {
  color: var(--orange);
  font-size: 2.6rem;
  font-family: "Barlow Condensed", sans-serif;
}
.stat p { color: #b9c1c9; font-size: 0.92rem; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-dark { background: var(--charcoal-dark); color: #cfd6dc; }
.section-dark h2, .section-dark h3 { color: var(--white); }

.section-head { margin-bottom: 50px; max-width: 760px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head p { margin-top: 14px; color: var(--text-muted); }
.section-dark .section-head p { color: #aab3bc; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
  width: 54px; height: 54px;
  border-radius: var(--radius);
  background: rgba(212, 113, 42, 0.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--orange);
}
.card .icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.98rem; }
.card ul { margin: 14px 0 0 18px; color: var(--text-muted); font-size: 0.95rem; }
.card ul li { margin-bottom: 6px; }
.card .card-link { display: inline-block; margin-top: 18px; font-weight: 700; font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-visual {
  background:
    linear-gradient(135deg, rgba(54, 62, 69, 0.88), rgba(54, 62, 69, 0.65)),
    repeating-linear-gradient(-45deg, #47515b 0px, #47515b 18px, #3e474f 18px, #3e474f 36px);
  border-radius: var(--radius);
  min-height: 420px;
  position: relative;
  border-bottom: 6px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
}
.split-visual img { width: 70%; opacity: 0.95; }

.checklist { list-style: none; margin-top: 24px; }
.checklist li {
  padding-left: 34px;
  position: relative;
  margin-bottom: 14px;
  color: var(--text-muted);
}
.checklist li strong { color: var(--charcoal); }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 18px; height: 18px;
  background: var(--orange);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
.section-dark .checklist li { color: #aab3bc; }
.section-dark .checklist li strong { color: var(--white); }

/* ---------- Values / process ---------- */
.value-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.value {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.value .num {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: rgba(212, 113, 42, 0.4);
  line-height: 1;
  margin-bottom: 12px;
}
.value h3 { font-size: 1.15rem; margin-bottom: 8px; }
.value p { font-size: 0.92rem; color: var(--text-muted); }

/* ---------- Projects ---------- */
.project-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.project-thumb {
  height: 190px;
  background:
    linear-gradient(135deg, rgba(54, 62, 69, 0.85), rgba(212, 113, 42, 0.55)),
    repeating-linear-gradient(-45deg, #47515b 0px, #47515b 20px, #3e474f 20px, #3e474f 40px);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.project-thumb .tag {
  background: var(--charcoal-dark);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 4px;
  border-left: 3px solid var(--orange);
}
.project-body { padding: 26px 26px 30px; flex: 1; }
.project-body h3 { margin-bottom: 8px; font-size: 1.25rem; }
.project-body .meta { font-size: 0.85rem; color: var(--orange); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 10px; }
.project-body p { font-size: 0.95rem; color: var(--text-muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(100deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: var(--white);
  padding: 70px 0;
}
.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 560px; }
.cta-band .btn { background: var(--charcoal-dark); color: var(--white); white-space: nowrap; }
.cta-band .btn:hover { background: var(--charcoal); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }

.contact-info-card {
  background: var(--charcoal);
  color: #cfd6dc;
  border-radius: var(--radius);
  padding: 40px 36px;
  border-bottom: 6px solid var(--orange);
}
.contact-info-card h3 { color: var(--white); margin-bottom: 24px; font-size: 1.5rem; }
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-item .ci-icon {
  flex: 0 0 44px;
  width: 44px; height: 44px;
  background: rgba(212, 113, 42, 0.18);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
}
.contact-item .ci-icon svg { width: 22px; height: 22px; }
.contact-item h4 { color: var(--white); font-size: 1rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; }
.contact-item p { font-size: 0.95rem; }
.contact-item a { color: #cfd6dc; }
.contact-item a:hover { color: var(--orange); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 7px;
  color: var(--charcoal);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--cream);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
}
.form-note { font-size: 0.85rem; color: var(--text-muted); margin-top: 14px; }
.form-success {
  display: none;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  color: #2e7d32;
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 18px;
  font-weight: 600;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal-dark); color: #9aa4ad; padding: 70px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 50px;
}
.footer-brand .footer-logo {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.footer-brand .footer-logo .accent { color: var(--orange); }
.footer-brand p { font-size: 0.93rem; margin-top: 14px; max-width: 320px; }
.site-footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #9aa4ad; font-size: 0.95rem; }
.footer-links a:hover { color: var(--orange); }
.footer-contact li { margin-bottom: 12px; font-size: 0.93rem; list-style: none; }
.footer-contact strong { color: #cfd6dc; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Misc ---------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }

.notice-strip {
  background: var(--cream-dark);
  border-left: 4px solid var(--orange);
  padding: 16px 22px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .card-grid, .value-row { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split-visual { min-height: 300px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .card-grid, .card-grid.two, .value-row { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 70px 0 80px; }

  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 78px;
    left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 10px 0 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: inline-block; padding: 12px 0; }
  .nav-cta { margin-top: 8px; }
}

/* ============================================================
   MINING VISUALS & MODERN ANIMATION LAYER
   ============================================================ */

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Header scroll state ---------- */
.site-header { transition: box-shadow 0.3s ease; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(42, 49, 56, 0.14); }

/* ---------- Hero: moving strata stripes + scene ---------- */
.hero, .page-hero { position: relative; overflow: hidden; }
.hero::before, .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,0.028) 0px, rgba(255,255,255,0.028) 22px, transparent 22px, transparent 44px);
  background-size: 63px 63px;
  animation: stripeShift 36s linear infinite;
  pointer-events: none;
}
@keyframes stripeShift { from { background-position: 0 0; } to { background-position: 630px 0; } }

.hero.with-scene { padding-bottom: clamp(150px, 24vw, 340px); }
.hero-scene {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  pointer-events: none;
  line-height: 0;
}
.hero-scene svg { width: 100%; height: auto; display: block; }

/* scene animations */
.scene-drill { animation: drillDig 2.8s ease-in-out infinite; }
@keyframes drillDig { 0%, 100% { transform: translateY(0); } 55% { transform: translateY(24px); } }

.scene-light { animation: blinkLight 1.8s ease-in-out infinite; transform-origin: center; }
@keyframes blinkLight { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }

.scene-truck { animation: truckDrive 34s linear infinite; }
@keyframes truckDrive { from { transform: translateX(-260px); } to { transform: translateX(1700px); } }

.scene-boom { transform-box: fill-box; transform-origin: 8% 85%; animation: boomSwing 7s ease-in-out infinite; }
@keyframes boomSwing { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-4deg); } }

.scene-smoke { animation: smokeRise 4s ease-out infinite; transform-box: fill-box; transform-origin: center bottom; }
@keyframes smokeRise {
  0% { opacity: 0.5; transform: translateY(0) scale(0.7); }
  100% { opacity: 0; transform: translateY(-34px) scale(1.5); }
}

/* ---------- Hazard stripe accents ---------- */
.stats-bar {
  border-top: 8px solid;
  border-image: repeating-linear-gradient(-45deg, var(--orange) 0 14px, var(--charcoal-dark) 14px 28px) 8;
}
.cta-band { position: relative; overflow: hidden; }
.cta-band::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 8px;
  background: repeating-linear-gradient(-45deg, rgba(0,0,0,0.35) 0 14px, transparent 14px 28px);
}

/* ---------- Card / icon motion ---------- */
.card .icon { transition: background 0.3s ease, color 0.3s ease; }
.card .icon svg { transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.card:hover .icon { background: var(--orange); color: var(--white); }
.card:hover .icon svg { transform: scale(1.12) rotate(-6deg); }

.card { position: relative; overflow: hidden; }
.card::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(212, 113, 42, 0.06), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.card:hover::after { left: 130%; }

/* ---------- Value / process steps ---------- */
.value { position: relative; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.value::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 4px; width: 100%;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.value:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.value:hover::before { transform: scaleX(1); }
.value .num { transition: color 0.3s ease; }
.value:hover .num { color: var(--orange); }

/* ---------- Project thumbs ---------- */
.project-thumb { position: relative; overflow: hidden; }
.project-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,0.04) 0 18px, transparent 18px 36px);
  animation: stripeShift 30s linear infinite;
}
.project-thumb .tag { position: relative; z-index: 1; transition: transform 0.3s ease; }
.project-card:hover .tag { transform: translateY(-4px); }

/* ---------- Buttons: sheen sweep ---------- */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 40%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
}
.btn:hover::after { left: 140%; }

/* ---------- Split visual: pulsing drill ring ---------- */
.split-visual { overflow: hidden; }
.split-visual::before {
  content: "";
  position: absolute;
  width: 120px; height: 120px;
  border: 2px solid rgba(212, 113, 42, 0.4);
  border-radius: 50%;
  animation: ringPulse 3.2s ease-out infinite;
}
@keyframes ringPulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(3.2); opacity: 0; }
}
.split-visual img { position: relative; z-index: 1; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   RICH ANIMATION LAYER v2 (GSAP-era additions)
   ============================================================ */

/* conveyor belt motion */
.scene-belt { stroke-dasharray: 12 9; animation: beltMove 1.1s linear infinite; }
@keyframes beltMove { to { stroke-dashoffset: -42; } }

/* second truck driving left */
.scene-truck2 { animation: truckDriveBack 46s linear infinite; }
@keyframes truckDriveBack { from { transform: translateX(1620px); } to { transform: translateX(-340px); } }

/* drifting dust motes */
.scene-dust { animation: dustFloat 7s ease-in-out infinite; transform-box: fill-box; }
.scene-dust:nth-of-type(2n) { animation-duration: 9.5s; animation-delay: 1.4s; }
.scene-dust:nth-of-type(3n) { animation-duration: 8s; animation-delay: 2.6s; }
.scene-dust:nth-of-type(4n) { animation-duration: 11s; animation-delay: 0.8s; }
@keyframes dustFloat {
  0%, 100% { transform: translate(0, 0); opacity: 0.18; }
  50% { transform: translate(14px, -20px); opacity: 0.55; }
}

/* ---------- Marquee band ---------- */
.marquee {
  background: var(--orange);
  overflow: hidden;
  padding: 13px 0;
  border-bottom: 4px solid var(--charcoal-dark);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 42px;
  width: max-content;
  white-space: nowrap;
  animation: marqueeMove 28s linear infinite;
  font-family: "Barlow Condensed", "Barlow", sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal-dark);
}
.marquee-track .dot { color: rgba(255, 255, 255, 0.75); font-size: 0.8rem; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeMove { to { transform: translateX(-50%); } }

/* tilt glare rounding (VanillaTilt injects .js-tilt-glare) */
.card .js-tilt-glare, .project-card .js-tilt-glare, .value .js-tilt-glare { border-radius: var(--radius); }
.card[data-tilt], .project-card[data-tilt], .value[data-tilt] { transform-style: preserve-3d; }

/* ============================================================
   COREDRILL VISUAL SYSTEM v3
   Premium industrial direction: precision, control, momentum
   ============================================================ */

:root {
  --charcoal: #252b30;
  --charcoal-dark: #171b1f;
  --charcoal-light: #47515a;
  --orange: #df762d;
  --orange-dark: #b9571f;
  --cream: #f6f2eb;
  --cream-dark: #ebe4da;
  --white: #ffffff;
  --text: #2a3035;
  --text-muted: #68717a;
  --border: #ddd4c7;
  --radius: 14px;
  --shadow: 0 24px 60px rgba(23, 27, 31, 0.12);
  --max-w: 1240px;
}

body {
  background:
    linear-gradient(rgba(23, 27, 31, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 27, 31, 0.025) 1px, transparent 1px),
    var(--cream);
  background-size: 72px 72px;
  font-size: 16px;
  letter-spacing: 0.005em;
}

::selection { background: var(--orange); color: var(--white); }

:focus-visible {
  outline: 3px solid rgba(223, 118, 45, 0.55);
  outline-offset: 4px;
}

h1, h2, h3, h4 { letter-spacing: -0.01em; }
h1 { font-size: clamp(3.4rem, 7.2vw, 6.35rem); line-height: 0.88; }
h2 { font-size: clamp(2.2rem, 4.4vw, 3.65rem); line-height: 0.98; }
h3 { font-size: 1.6rem; }

.container { padding-left: clamp(22px, 4vw, 44px); padding-right: clamp(22px, 4vw, 44px); }
.lead { line-height: 1.65; }

.eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  margin-bottom: 20px;
}
.eyebrow::before { width: 42px; height: 2px; }

/* Header */
.site-header {
  background: rgba(246, 242, 235, 0.9);
  border-bottom-color: rgba(37, 43, 48, 0.1);
  backdrop-filter: blur(18px) saturate(135%);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: calc(var(--scroll-progress, 0) * 1%);
  height: 2px;
  background: var(--orange);
}
.nav-wrap { height: 82px; }
.brand img { height: 46px; }
.nav-links { gap: clamp(20px, 2.5vw, 38px); }
.nav-links a { font-size: 0.79rem; letter-spacing: 0.12em; }
.nav-links a:not(.nav-cta) { position: relative; border: 0; }
.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { border-radius: 999px; padding: 12px 22px !important; box-shadow: 0 10px 24px rgba(185, 87, 31, 0.2); }

/* Hero */
.hero {
  background:
    radial-gradient(circle at 84% 18%, rgba(223, 118, 45, 0.24), transparent 27%),
    linear-gradient(105deg, #20262b 0%, #2b333a 54%, #191e22 100%);
}
.hero.with-scene {
  min-height: 760px;
  padding: clamp(76px, 9vh, 110px) 0 260px;
}
.hero::after { height: 3px; }
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
}
.hero-copy { max-width: 790px; }
.hero h1 { max-width: 920px; text-shadow: 0 14px 50px rgba(0,0,0,0.24); }
.hero h1 .accent { color: var(--orange); }
.hero .lead { max-width: 690px; color: #c8cfd4; margin: 26px 0 34px; font-size: clamp(1rem, 1.35vw, 1.16rem); }
.hero-actions { gap: 12px; }
.btn {
  border-radius: 999px;
  padding: 15px 28px;
  font-size: 0.79rem;
  letter-spacing: 0.12em;
  box-shadow: none;
}
.btn-primary { box-shadow: 0 14px 34px rgba(185, 87, 31, 0.26); }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 34px;
  color: #c2c9ce;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 9px; }
.hero-trust span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(223, 118, 45, 0.12);
}
.hero-brief {
  background: rgba(12, 15, 17, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  color: var(--white);
  padding: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.24);
  backdrop-filter: blur(14px);
  transform: translateY(8px);
}
.brief-head, .brief-foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 16px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.67rem;
  font-weight: 700;
  color: #9ea8af;
}
.live-dot { color: #e8d7c8; display: inline-flex; align-items: center; gap: 8px; }
.live-dot::before, .panel-status i {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #69b87a;
  box-shadow: 0 0 0 5px rgba(105, 184, 122, 0.12);
  animation: statusPulse 2.4s ease-out infinite;
}
@keyframes statusPulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(105,184,122,.12); } 50% { box-shadow: 0 0 0 9px rgba(105,184,122,0); } }
.brief-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 12px;
  padding: 17px 16px;
  border-top: 1px solid rgba(255,255,255,0.09);
  transition: background 0.25s ease, transform 0.25s ease;
}
.brief-row:hover { background: rgba(223,118,45,0.08); transform: translateX(3px); }
.brief-row b { color: var(--orange); font-family: "Barlow Condensed", sans-serif; font-size: 1.1rem; }
.brief-row strong, .brief-row small { display: block; }
.brief-row strong { font-size: 0.93rem; letter-spacing: 0.02em; }
.brief-row small { color: #8f9aa2; margin-top: 2px; font-size: 0.72rem; }
.brief-foot {
  border-top: 1px solid rgba(255,255,255,0.09);
  display: block;
  background: rgba(223,118,45,0.08);
  border-radius: 0 0 10px 10px;
}
.brief-foot strong { display: block; margin-top: 5px; color: var(--white); font-size: 0.79rem; letter-spacing: 0.05em; }
.hero-scene {
  height: 360px;
  opacity: 0.78;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.35) 18%, #000 46%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.35) 18%, #000 46%);
}
.hero-scene svg { height: 100%; width: 100%; object-fit: cover; }

/* Capability rail + principles */
.marquee { padding: 10px 0; border: 0; background: var(--orange); }
.marquee-track { gap: 34px; font-size: 1rem; letter-spacing: 0.13em; }
.stats-bar { padding: 0; border: 0; background: var(--charcoal-dark); }
.stats-grid { gap: 0; text-align: left; }
.stat {
  min-height: 190px;
  padding: 38px 30px 34px;
  border-left: 1px solid rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}
.stat:last-child { border-right: 1px solid rgba(255,255,255,0.08); }
.stat::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.stat:hover::after { transform: scaleX(1); }
.stat > span { color: var(--orange); font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 0.88rem; }
.stat h3 { color: var(--white); font-size: 1.45rem; margin: 16px 0 8px; }
.stat p { color: #8e989f; font-size: 0.86rem; line-height: 1.5; text-transform: none; letter-spacing: 0; }

/* Sections and cards */
.section { padding: clamp(82px, 9vw, 126px) 0; }
.section-alt { background: rgba(255,255,255,0.72); }
.section-head { margin-bottom: 56px; max-width: 870px; }
.section-head p { max-width: 680px; line-height: 1.7; }
.card-grid { gap: 22px; }
.card {
  border: 1px solid rgba(37,43,48,0.1);
  border-top: 1px solid rgba(37,43,48,0.1);
  border-radius: 18px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 72px;
  height: 3px;
  background: var(--orange);
  transition: width .35s ease;
}
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.card:hover::before { width: 100%; }
.card .icon { border-radius: 12px; width: 58px; height: 58px; }
.card-kicker {
  display: block;
  color: var(--orange);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 3px 0 10px;
}
.card h3 { margin-bottom: 13px; }
.card p, .card ul { line-height: 1.65; }
.card .card-link { margin-top: 24px; font-size: .77rem; letter-spacing: .12em; }

/* Integrated delivery panel */
.split { gap: clamp(50px, 8vw, 104px); }
.split-visual { border-radius: 20px; min-height: 470px; }
.execution-panel {
  display: block;
  padding: 26px;
  background:
    radial-gradient(circle at 100% 0, rgba(223,118,45,.23), transparent 35%),
    linear-gradient(145deg, #252c32, #15191c);
  border: 1px solid rgba(255,255,255,.08);
  border-bottom: 0;
  box-shadow: 0 32px 70px rgba(23,27,31,.2);
}
.execution-panel::before { display: none; }
.panel-label {
  color: #9da6ad;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  padding: 4px 6px 20px;
}
.system-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: center;
  padding: 19px 16px;
  border-top: 1px solid rgba(255,255,255,.09);
  color: var(--white);
}
.system-row > span { color: var(--orange); font-family: "Barlow Condensed", sans-serif; font-size: 1.15rem; font-weight: 700; }
.system-row strong, .system-row small { display: block; }
.system-row strong { font-family: "Barlow Condensed", sans-serif; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .04em; }
.system-row small { margin-top: 3px; color: #88939a; font-size: .73rem; letter-spacing: .07em; text-transform: uppercase; }
.panel-status {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 8px;
  padding: 18px 16px;
  background: rgba(255,255,255,.05);
  border-radius: 10px;
  color: #c6cdd2;
  font-size: .8rem;
}

/* Process */
.value-row { gap: 18px; position: relative; }
.value {
  border-radius: 16px;
  padding: 32px 26px;
  min-height: 230px;
  border-color: rgba(37,43,48,.1);
}
.value .num { color: var(--orange); opacity: .7; font-size: 2rem; }
.value h3 { font-size: 1.35rem; }

/* Interior pages */
.page-hero {
  padding: clamp(84px, 10vw, 128px) 0;
  border-bottom: 0;
  background:
    radial-gradient(circle at 82% 20%, rgba(223,118,45,.25), transparent 25%),
    linear-gradient(110deg, #1d2327 0%, #303840 62%, #1b2024 100%);
}
.page-hero::after {
  content: "";
  position: absolute;
  right: 8%;
  bottom: 0;
  width: 34%;
  height: 3px;
  background: var(--orange);
}
.page-hero h1 { font-size: clamp(3.2rem, 7vw, 6rem); }
.page-hero p { max-width: 760px; margin-top: 22px; font-size: 1.08rem; line-height: 1.65; }
.breadcrumb { color: #7f8a92; margin-bottom: 24px; }

/* Projects */
.project-card { border-radius: 18px; border-color: rgba(37,43,48,.1); }
.project-thumb { height: 220px; }
.project-card:nth-child(3n + 1) .project-thumb {
  background:
    linear-gradient(150deg, rgba(23,27,31,.22), rgba(23,27,31,.8)),
    repeating-radial-gradient(ellipse at 20% 130%, #6d7477 0 13px, #8a5b3c 14px 19px, #343b40 20px 34px);
}
.project-card:nth-child(3n + 2) .project-thumb {
  background:
    linear-gradient(135deg, rgba(223,118,45,.25), rgba(23,27,31,.82)),
    repeating-linear-gradient(12deg, #3d464d 0 20px, #252c31 21px 40px);
}
.project-card:nth-child(3n) .project-thumb {
  background:
    radial-gradient(circle at 70% 35%, rgba(223,118,45,.6), transparent 4%),
    linear-gradient(145deg, #647077, #242b30 62%);
}
.project-thumb .tag { border: 0; border-radius: 999px; background: rgba(18,21,24,.78); backdrop-filter: blur(8px); }
.project-body { padding: 30px 28px 34px; }
.notice-strip { border: 0; border-radius: 14px; background: rgba(223,118,45,.09); color: #5c6268; }

/* Contact */
.contact-info-card, .contact-form { border-radius: 18px; }
.contact-info-card {
  padding: 44px 38px;
  border-bottom: 0;
  background:
    radial-gradient(circle at 100% 0, rgba(223,118,45,.22), transparent 32%),
    var(--charcoal-dark);
}
.contact-item .ci-icon { border-radius: 12px; }
.contact-form { padding: 44px 40px; box-shadow: 0 26px 70px rgba(23,27,31,.08); }
.form-group input, .form-group select, .form-group textarea { border-radius: 10px; background: #fbfaf7; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { box-shadow: 0 0 0 4px rgba(223,118,45,.1); }

/* CTA and footer */
.cta-band {
  background:
    linear-gradient(100deg, rgba(23,27,31,.05), rgba(23,27,31,.2)),
    var(--orange);
  padding: clamp(70px, 8vw, 96px) 0;
}
.cta-band::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -80px;
  bottom: -180px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(255,255,255,.06), 0 0 0 76px rgba(255,255,255,.035);
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band .btn { background: var(--charcoal-dark); }
.site-footer { background: #111518; padding-top: 80px; }
.footer-grid { gap: 52px; }
.footer-brand .footer-logo { font-size: 2rem; }
.footer-links a, .footer-contact li, .footer-brand p { line-height: 1.65; }
.footer-contact a { color: #cbd2d6; }

@media (max-width: 1060px) {
  .hero-inner { grid-template-columns: 1.15fr minmax(300px, .65fr); gap: 38px; }
  .hero h1 { font-size: clamp(3.6rem, 7.8vw, 5.4rem); }
}

@media (max-width: 900px) {
  .hero.with-scene { min-height: 720px; padding-bottom: 235px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-brief { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-top: 1px solid rgba(255,255,255,.08); }
  .stat:nth-child(4) { border-top: 1px solid rgba(255,255,255,.08); }
}

@media (max-width: 680px) {
  body.nav-open { overflow: hidden; }
  h1 { font-size: clamp(3.05rem, 16vw, 4.5rem); }
  h2 { font-size: clamp(2.15rem, 12vw, 3.2rem); }
  .nav-wrap { height: 72px; }
  .brand img { height: 39px; }
  .nav-toggle { position: relative; z-index: 2; }
  .nav-toggle span { height: 2px; width: 24px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links {
    top: 72px;
    background: rgba(246,242,235,.98);
    padding: 18px 22px 28px;
    align-items: stretch;
    box-shadow: 0 30px 50px rgba(23,27,31,.18);
  }
  .nav-links li { text-align: left; }
  .nav-links a { display: block; padding: 14px 6px; font-size: .86rem; }
  .nav-links a:not(.nav-cta)::after { display: none; }
  .nav-cta { text-align: center; margin-top: 10px; }
  .hero.with-scene { min-height: 730px; padding: 68px 0 190px; }
  .hero .lead { margin: 22px 0 28px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; max-width: 360px; }
  .hero-actions .btn { text-align: center; }
  .hero-trust { display: grid; gap: 12px; margin-top: 28px; }
  .hero-scene { height: 230px; opacity: .7; }
  .marquee-track { font-size: .9rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { min-height: auto; padding: 28px 24px; border-right: 0; border-top: 1px solid rgba(255,255,255,.08); }
  .stat:first-child { border-top: 0; }
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 38px; }
  .card { padding: 30px 26px; }
  .split-visual { min-height: 390px; }
  .execution-panel { padding: 18px; }
  .system-row { padding: 16px 10px; grid-template-columns: 42px 1fr; }
  .value { min-height: 0; }
  .page-hero { padding: 76px 0 82px; }
  .page-hero h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .contact-form, .contact-info-card { padding: 32px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .live-dot::before, .panel-status i { animation: none !important; }
}

/* ============================================================
   PHOTOGRAPHIC HERO v4
   Replaces the schematic scene with a focused mine-site image.
   ============================================================ */

[hidden] { display: none !important; }

.hero.with-scene {
  min-height: min(760px, calc(100vh - 82px));
  padding: clamp(88px, 10vh, 118px) 0;
  display: flex;
  align-items: center;
  isolation: isolate;
  background: #151a1e;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../assets/hero-mining-v2.png");
  background-size: cover;
  background-position: center center;
  transform-origin: 70% 50%;
  will-change: transform, opacity;
}

.hero.with-scene::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(15, 19, 22, .97) 0%, rgba(15, 19, 22, .89) 36%, rgba(15, 19, 22, .45) 61%, rgba(15, 19, 22, .08) 100%),
    linear-gradient(0deg, rgba(15, 19, 22, .3), transparent 40%);
  background-size: auto;
  animation: none;
}

.hero.with-scene::after {
  z-index: 3;
  height: 4px;
  background: linear-gradient(90deg, var(--orange) 0 31%, rgba(223, 118, 45, .16) 31% 100%);
}

.hero.with-scene .hero-inner {
  grid-template-columns: minmax(0, 720px) 1fr;
  width: 100%;
  gap: 0;
}

.hero.with-scene .hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero.with-scene h1 {
  font-size: clamp(4rem, 6.8vw, 6.5rem);
  line-height: .88;
}

.hero.with-scene .lead {
  max-width: 640px;
  color: rgba(235, 239, 241, .79);
}

.hero.with-scene .hero-trust {
  color: rgba(235, 239, 241, .76);
}

.hero-scene { display: none !important; }

@media (max-width: 900px) {
  .hero.with-scene {
    min-height: 720px;
    padding: 82px 0 76px;
  }

  .hero-photo { background-position: 64% center; }

  .hero.with-scene::before {
    background:
      linear-gradient(90deg, rgba(15,19,22,.96) 0%, rgba(15,19,22,.83) 62%, rgba(15,19,22,.42) 100%),
      linear-gradient(0deg, rgba(15,19,22,.42), transparent 46%);
  }

  .hero.with-scene .hero-inner { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .hero.with-scene {
    min-height: 760px;
    padding: 74px 0 68px;
  }

  .hero-photo {
    background-position: 69% center;
    opacity: .78;
  }

  .hero.with-scene::before {
    background:
      linear-gradient(90deg, rgba(13,17,20,.94) 0%, rgba(13,17,20,.72) 100%),
      linear-gradient(0deg, rgba(13,17,20,.64) 0%, transparent 52%, rgba(13,17,20,.18) 100%);
  }

  .hero.with-scene h1 {
    font-size: clamp(3.25rem, 16vw, 4.55rem);
    line-height: .9;
  }

  .hero.with-scene .lead { color: rgba(242,244,245,.86); }
}

/* ============================================================
   PREMIUM EDITORIAL SYSTEM v5
   Layered navigation, asymmetric layouts, richer motion surfaces
   ============================================================ */

/* Home navigation floats over the opening image, then resolves on scroll. */
.home-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  color: var(--white);
  background: linear-gradient(180deg, rgba(10,13,15,.74), rgba(10,13,15,0));
  border-bottom: 1px solid rgba(255,255,255,.1);
  box-shadow: none;
  transition: transform .45s cubic-bezier(.16,1,.3,1), background .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.home-header.is-hidden { transform: translateY(-105%); }
.home-header .brand { position: relative; display: block; width: 235px; height: 47px; }
.home-header .brand img { position: absolute; left: 0; top: 50%; transform: translateY(-50%); transition: opacity .25s ease; }
.home-header .logo-light { display: block; opacity: 1; height: 43px; }
.home-header .logo-dark { opacity: 0; height: 43px; }
.home-header .nav-toggle span { background: var(--white); }
.home-header .nav-links a:not(.nav-cta) { color: rgba(255,255,255,.86); }
.home-header .nav-links a:hover,
.home-header .nav-links a.active { color: var(--orange); }

.home-header.scrolled,
.home-page.nav-open .home-header {
  background: rgba(246,242,235,.94);
  border-bottom-color: rgba(37,43,48,.1);
  box-shadow: 0 16px 42px rgba(16,20,23,.12);
  backdrop-filter: blur(20px) saturate(140%);
}
.home-header.scrolled .logo-light,
.home-page.nav-open .home-header .logo-light { opacity: 0; }
.home-header.scrolled .logo-dark,
.home-page.nav-open .home-header .logo-dark { opacity: 1; }
.home-header.scrolled .nav-toggle span,
.home-page.nav-open .home-header .nav-toggle span { background: var(--charcoal); }
.home-header.scrolled .nav-links a:not(.nav-cta),
.home-page.nav-open .home-header .nav-links a:not(.nav-cta) { color: var(--charcoal); }
.home-header.scrolled .nav-links a:hover,
.home-header.scrolled .nav-links a.active { color: var(--orange); }

/* Cinematic opening composition. */
.home-page .hero.with-scene {
  min-height: 100svh;
  padding: 150px 0 104px;
}
.home-page .hero.with-scene .hero-inner {
  min-height: calc(100svh - 254px);
  align-items: center;
  position: relative;
}
.home-page .hero.with-scene .hero-copy { padding-top: 26px; }
.home-page .hero.with-scene h1 {
  font-size: clamp(4.65rem, 7.15vw, 7.25rem);
  letter-spacing: -.025em;
  text-wrap: balance;
}
.home-page .hero.with-scene .lead {
  max-width: 670px;
  font-size: clamp(1.04rem, 1.25vw, 1.18rem);
  line-height: 1.72;
  margin: 30px 0 36px;
}
.home-page .hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 56%, transparent 0 23%, rgba(7,10,12,.18) 55%, rgba(7,10,12,.42) 100%),
    linear-gradient(180deg, rgba(8,11,13,.08), rgba(8,11,13,.38));
  pointer-events: none;
}
.hero-visual-caption {
  position: absolute;
  right: 0;
  bottom: 18px;
  display: grid;
  gap: 4px;
  width: 230px;
  padding: 17px 18px 17px 22px;
  border-left: 2px solid var(--orange);
  background: rgba(13,17,20,.46);
  color: var(--white);
  backdrop-filter: blur(12px);
}
.hero-visual-caption span,
.hero-visual-caption small {
  color: rgba(255,255,255,.58);
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.hero-visual-caption strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.18rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.scroll-cue {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255,255,255,.55);
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  transform: translateX(-50%);
}
.scroll-cue:hover { color: var(--white); }
.scroll-cue span {
  width: 20px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px;
  position: relative;
}
.scroll-cue span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 3px;
  height: 7px;
  border-radius: 3px;
  background: var(--orange);
  transform: translateX(-50%);
  animation: scrollDrop 1.9s ease-in-out infinite;
}
@keyframes scrollDrop { 0%,100% { transform: translate(-50%,0); opacity:.35; } 45% { transform: translate(-50%,11px); opacity:1; } }

/* Principles now behave as a floating, high-value proof panel. */
.home-page .stats-bar {
  position: relative;
  z-index: 6;
  padding: 0 0 74px;
  background: var(--cream);
}
.home-page .stats-grid {
  transform: translateY(-48px);
  background: #151a1e;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 36px 90px rgba(18,22,25,.2);
}
.home-page .stat { min-height: 176px; padding: 34px 28px 30px; }
.home-page .stat h3 { margin-top: 13px; }

/* Editorial heading system. */
.editorial-head {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(190px,.42fr) minmax(0,1fr);
  gap: clamp(40px,7vw,100px);
  align-items: start;
}
.editorial-head > div:first-child { padding-top: 7px; }
.editorial-head .eyebrow { display: block; }
.section-number {
  display: block;
  margin-top: 24px;
  color: #929aa0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.editorial-head h2 { max-width: 850px; }
.editorial-head p { max-width: 700px; }
.capabilities-section { padding-top: 36px; }

/* Asymmetric capability stages replace plain white cards. */
.capabilities-section .card-grid.two { grid-template-columns: minmax(0,1.14fr) minmax(0,.86fr); gap: 18px; }
.service-card {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: rgba(255,255,255,.72);
  border-color: rgba(255,255,255,.1);
  padding: clamp(34px,4vw,54px);
  isolation: isolate;
  background-color: var(--charcoal-dark);
}
.service-card::before { z-index: 3; }
.service-card::after {
  z-index: -1;
  inset: 0;
  left: 0;
  width: auto;
  height: auto;
  transform: none;
  background: radial-gradient(500px circle at var(--mx,50%) var(--my,50%), rgba(223,118,45,.2), transparent 42%);
  opacity: 0;
  transition: opacity .35s ease;
}
.service-card:hover::after { left: 0; opacity: 1; }
.service-mining {
  background:
    linear-gradient(0deg, rgba(12,16,18,.95) 0%, rgba(12,16,18,.5) 65%, rgba(12,16,18,.18) 100%),
    url("../assets/hero-mining-v2.png") 68% center / cover;
}
.service-infra {
  background:
    radial-gradient(circle at 100% 0, rgba(223,118,45,.32), transparent 35%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    #1e252a;
  background-size: auto, 46px 46px, 46px 46px, auto;
}
.service-card h3 { color: var(--white); font-size: clamp(2.35rem,3.7vw,4rem); margin-bottom: 16px; }
.service-card p { max-width: 600px; color: rgba(255,255,255,.7); }
.service-card ul { color: rgba(255,255,255,.66); }
.service-card .icon { background: rgba(223,118,45,.16); color: #f39455; border: 1px solid rgba(223,118,45,.25); }
.service-card .card-kicker { color: #f39455; }
.service-card .card-link { margin-top: auto; padding-top: 24px; color: var(--white); }

/* Visual delivery story. */
.delivery-story {
  position: relative;
  overflow: hidden;
  background: #151a1e;
  color: rgba(255,255,255,.7);
}
.delivery-story::before {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  right: -300px;
  bottom: -300px;
  border: 1px solid rgba(223,118,45,.16);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(223,118,45,.025), 0 0 0 180px rgba(223,118,45,.015);
}
.delivery-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
  gap: clamp(52px,8vw,108px);
  align-items: center;
}
.delivery-media {
  min-height: 650px;
  border-radius: 28px 4px 28px 4px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(10,13,15,.04), rgba(10,13,15,.56)),
    url("../assets/hero-mining-v2.png") 77% center / auto 112%;
  box-shadow: 0 40px 90px rgba(0,0,0,.28);
}
.delivery-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: inherit;
}
.delivery-stamp {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(10,13,15,.62);
  backdrop-filter: blur(14px);
  color: var(--white);
}
.delivery-stamp span { font-size:.66rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:#aeb6bb; }
.delivery-stamp strong { font-family:"Barlow Condensed",sans-serif; text-transform:uppercase; letter-spacing:.05em; }
.delivery-copy h2 { color: var(--white); max-width: 660px; }
.delivery-lead { margin-top: 22px; max-width: 620px; font-size: 1.06rem; line-height: 1.75; }
.delivery-points { margin-top: 36px; border-top: 1px solid rgba(255,255,255,.11); }
.delivery-point {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 23px 0;
  border-bottom: 1px solid rgba(255,255,255,.11);
}
.delivery-point > span { color: var(--orange); font-family:"Barlow Condensed",sans-serif; font-size:1rem; font-weight:700; }
.delivery-point strong { color: var(--white); font-size: 1rem; }
.delivery-point p { margin-top: 5px; color: #88939a; font-size:.88rem; line-height:1.55; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  color: var(--white);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.text-link span { color:var(--orange); font-size:1.2rem; transition:transform .25s ease; }
.text-link:hover { color:var(--white); }
.text-link:hover span { transform:translateX(5px); }

/* Control and process sections gain depth and continuity. */
.control-section { background: linear-gradient(135deg, rgba(255,255,255,.86), rgba(235,228,218,.7)); }
.control-section .execution-panel { transform: rotate(-1deg); transition: transform .5s cubic-bezier(.16,1,.3,1); }
.control-section .execution-panel:hover { transform: rotate(0) translateY(-5px); }
.control-section .checklist li { padding: 17px 0 17px 38px; margin: 0; border-bottom: 1px solid rgba(37,43,48,.1); }
.control-section .checklist li:first-child { border-top: 1px solid rgba(37,43,48,.1); }
.process-section { background: #f9f7f2; }
.process-section .value-row { gap: 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.process-section .value {
  min-height: 270px;
  border: 0;
  border-right: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  padding: 38px 28px;
}
.process-section .value:last-child { border-right: 0; }
.process-section .value::before { height: 3px; }
.process-section .value:hover { background: var(--white); box-shadow: 0 24px 54px rgba(23,27,31,.08); z-index: 2; }
.process-section .value .num { font-size: 3.4rem; color: rgba(223,118,45,.38); }

/* Premium closing frame. */
.home-page .cta-band {
  margin: 0 24px 24px;
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(223,118,45,.97), rgba(185,87,31,.88)),
    url("../assets/hero-mining-v2.png") center / cover;
  box-shadow: 0 30px 80px rgba(23,27,31,.2);
}

@media (max-width: 960px) {
  .home-page .hero.with-scene { min-height: 860px; }
  .home-page .hero.with-scene .hero-inner { min-height: 600px; }
  .hero-visual-caption { display:none; }
  .editorial-head { grid-template-columns: 1fr; gap: 20px; }
  .editorial-head > div:first-child { display:flex; align-items:center; justify-content:space-between; gap:20px; }
  .section-number { margin-top:0; }
  .capabilities-section .card-grid.two { grid-template-columns: 1fr; }
  .service-card { min-height: 480px; }
  .delivery-grid { grid-template-columns: 1fr; }
  .delivery-media { min-height: 520px; }
}

@media (max-width: 680px) {
  .home-header { background: linear-gradient(180deg,rgba(10,13,15,.8),rgba(10,13,15,0)); }
  .home-header .brand { width: 175px; height: 40px; }
  .home-header .logo-light, .home-header .logo-dark { height: 36px; }
  .home-page .home-header .nav-links {
    min-height: calc(100svh - 72px);
    padding-top: 28px;
  }
  .home-page .hero.with-scene { min-height: 850px; padding: 124px 0 76px; }
  .home-page .hero.with-scene .hero-inner { min-height: 0; }
  .home-page .hero.with-scene .hero-copy { padding-top:0; }
  .home-page .hero.with-scene h1 { font-size: clamp(3.35rem,16.5vw,4.7rem); }
  .home-page .hero.with-scene .lead { margin: 24px 0 28px; line-height:1.62; }
  .scroll-cue { display:none; }
  .home-page .stats-bar { padding-bottom: 46px; }
  .home-page .stats-grid { transform:translateY(-24px); border-radius:18px; }
  .home-page .stat { min-height:0; }
  .editorial-head > div:first-child { display:block; }
  .section-number { margin-top:14px; }
  .service-card { min-height: 450px; }
  .service-card h3 { font-size: 2.65rem; }
  .delivery-media { min-height: 430px; background-size:auto 100%; }
  .delivery-stamp { left:14px; right:14px; bottom:14px; display:grid; }
  .delivery-point { grid-template-columns:38px 1fr; gap:12px; }
  .process-section .value-row { border:0; }
  .process-section .value { border-right:0; border-bottom:1px solid var(--border); min-height:0; }
  .home-page .cta-band { margin:0 12px 12px; border-radius:20px; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue span::after { animation:none !important; }
}

/* ============================================================
   COMPACT SITE SYSTEM v6
   Denser editorial rhythm, photographic inner pages, faster flow
   ============================================================ */

/* Inner-page navigation clears the viewport while scrolling down. */
.inner-page .site-header {
  transition: transform .42s cubic-bezier(.16,1,.3,1), box-shadow .3s ease;
}
.inner-page .site-header.is-hidden { transform: translateY(-105%); }

/* Replace oversized patterned title blocks with useful, image-led introductions. */
.inner-page .page-hero {
  min-height: 430px;
  display: flex;
  align-items: center;
  padding: 62px 0 68px;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(13,17,20,.97) 0%, rgba(13,17,20,.9) 43%, rgba(13,17,20,.55) 69%, rgba(13,17,20,.26) 100%),
    radial-gradient(circle at 83% 32%, rgba(223,118,45,.28), transparent 27%),
    url("../assets/hero-mining-v2.png") 76% 48% / cover;
}
.inner-page .page-hero::before {
  z-index: 0;
  opacity: .7;
  background:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 72px 72px;
  animation: none;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
}
.inner-page .page-hero::after {
  right: auto;
  left: max(24px, calc((100% - var(--max-w)) / 2 + 24px));
  width: 120px;
  height: 4px;
}
.page-hero-grid {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(290px,360px);
  gap: clamp(52px,8vw,120px);
  align-items: end;
}
.page-hero-copy { max-width: 790px; }
.inner-page .page-hero h1 {
  max-width: 850px;
  font-size: clamp(3.65rem,6vw,5.65rem);
  line-height: .88;
}
.inner-page .page-hero p {
  max-width: 690px;
  margin-top: 18px;
  color: rgba(235,239,241,.76);
  font-size: 1rem;
  line-height: 1.58;
}
.inner-page .breadcrumb { margin-bottom: 18px; color: #8f9aa2; }
.page-hero-aside {
  padding: 22px 24px;
  border: 1px solid rgba(255,255,255,.13);
  border-left: 3px solid var(--orange);
  background: rgba(12,16,18,.58);
  box-shadow: 0 24px 70px rgba(0,0,0,.24);
  backdrop-filter: blur(15px);
  color: var(--white);
}
.page-hero-aside > span {
  display: block;
  color: #9ba5ab;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.page-hero-aside > strong {
  display: block;
  margin: 8px 0 16px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.45rem;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.page-hero-aside > div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 9px;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  color: #c0c7cb;
  font-size: .78rem;
}
.page-hero-aside b { color: var(--orange); font-family: "Barlow Condensed",sans-serif; }

/* The same amount of content now occupies a deliberate, useful viewport. */
.inner-page .section { padding: clamp(62px,6vw,82px) 0; }
.inner-page .section-head { margin-bottom: 36px; }
.inner-page .card-grid { gap: 16px; }
.inner-page .card { padding: 30px 28px; border-radius: 14px; }
.inner-page .card .icon { width: 50px; height: 50px; margin-bottom: 20px; }
.inner-page .value { min-height: 190px; padding: 26px 22px; }
.inner-page .split { gap: clamp(42px,6vw,76px); }
.inner-page .split-visual { min-height: 410px; }
.inner-page section[id] { scroll-margin-top: 96px; }

/* Real mine imagery replaces the repeated placeholder-like visual panels. */
.about-page .split-visual,
.services-page .section-dark .split-visual {
  min-height: 430px;
  background:
    linear-gradient(180deg, rgba(13,17,20,.12), rgba(13,17,20,.7)),
    url("../assets/hero-mining-v2.png") 73% center / cover;
  box-shadow: 0 28px 70px rgba(23,27,31,.18);
}
.about-page .split-visual img,
.services-page .section-dark .split-visual img {
  width: 58%;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(13,17,20,.5);
  backdrop-filter: blur(12px);
}
.projects-page .project-thumb {
  height: 205px;
  background-size: cover !important;
}
.projects-page .project-card:nth-child(3n + 1) .project-thumb {
  background: linear-gradient(145deg,rgba(13,17,20,.08),rgba(13,17,20,.68)), url("../assets/hero-mining-v2.png") 78% 36% / cover;
}
.projects-page .project-card:nth-child(3n + 2) .project-thumb {
  background: linear-gradient(145deg,rgba(223,118,45,.08),rgba(13,17,20,.7)), url("../assets/hero-mining-v2.png") 57% 62% / cover;
}
.projects-page .project-card:nth-child(3n) .project-thumb {
  background: linear-gradient(145deg,rgba(13,17,20,.08),rgba(13,17,20,.68)), url("../assets/hero-mining-v2.png") 91% 72% / cover;
}
.projects-page .notice-strip { margin-bottom: 28px !important; }
.contact-page .contact-grid { gap: 22px; align-items: stretch; }
.contact-page .contact-info-card,
.contact-page .contact-form { padding: 34px 32px; }
.contact-page .form-group { margin-bottom: 17px; }

/* Homepage: remove presentation-style voids and sharpen section contrast. */
.home-page .capabilities-section { padding: 68px 0 76px; }
.home-page .delivery-story { padding: 78px 0; }
.home-page .delivery-grid { gap: clamp(46px,6vw,76px); }
.home-page .delivery-media { min-height: 520px; }
.home-page .delivery-lead { margin-top: 16px; }
.home-page .delivery-points { margin-top: 24px; }
.home-page .delivery-point { padding: 17px 0; }
.home-page .control-section { padding: 72px 0; }
.home-page .control-section .split { gap: clamp(42px,5vw,68px); }
.home-page .control-section .execution-panel {
  transform: none;
  border-radius: 18px;
}
.home-page .control-section .execution-panel:hover { transform: translateY(-4px); }
.home-page .control-section .checklist li { padding-top: 13px; padding-bottom: 13px; }
.home-page .process-section {
  padding: 66px 0 72px;
  color: #d5dadd;
  background:
    radial-gradient(circle at 78% 0, rgba(223,118,45,.16), transparent 30%),
    #171c20;
}
.home-page .process-section .section-head { margin-bottom: 32px; }
.home-page .process-section .section-head h2 { color: var(--white); }
.home-page .process-section .section-head p { color: #929ca3; }
.home-page .process-section .value-row {
  border-color: rgba(255,255,255,.12);
}
.home-page .process-section .value {
  min-height: 210px;
  padding: 28px 24px;
  border-color: rgba(255,255,255,.12);
  color: #929ca3;
}
.home-page .process-section .value h3 { color: var(--white); }
.home-page .process-section .value .num { color: var(--orange); opacity: .8; }
.home-page .process-section .value:hover { background: rgba(255,255,255,.045); box-shadow: none; }
.home-page .cta-band { padding: 52px 0; }

/* Closing sections should feel conclusive, not like another full page. */
.inner-page .cta-band { padding: 50px 0; }
.site-footer { padding-top: 58px; }
.footer-grid { gap: 38px; }

@media (max-width: 960px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .page-hero-aside { max-width: 680px; display: grid; grid-template-columns: repeat(3,1fr); gap: 0 18px; }
  .page-hero-aside > span, .page-hero-aside > strong { grid-column: 1 / -1; }
  .page-hero-aside > div { grid-template-columns: 28px 1fr; }
  .inner-page .page-hero { min-height: 0; }
  .inner-page .split-visual { min-height: 360px; }
}

@media (max-width: 680px) {
  .inner-page .page-hero { padding: 52px 0 56px; }
  .inner-page .page-hero h1 { font-size: clamp(3.2rem,15vw,4.25rem); }
  .inner-page .page-hero p { font-size: .96rem; }
  .page-hero-aside { display: none; }
  .inner-page .section { padding: 54px 0; }
  .inner-page .section-head { margin-bottom: 28px; }
  .inner-page .card { padding: 26px 22px; }
  .inner-page .split-visual { min-height: 320px; }
  .home-page .capabilities-section,
  .home-page .delivery-story,
  .home-page .control-section,
  .home-page .process-section { padding: 56px 0; }
  .home-page .delivery-media { min-height: 380px; }
  .home-page .process-section .value { min-height: 0; }
  .home-page .cta-band,
  .inner-page .cta-band { padding: 42px 0; }
  .site-footer { padding-top: 48px; }
}

/* Refined checklist markers: compact, aligned, and visually consistent. */
.checklist li { padding-left: 46px; }
.checklist li::before {
  content: "";
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(223,118,45,.28);
  border-radius: 50%;
  clip-path: none;
  background: rgba(223,118,45,.1);
  box-shadow: inset 0 0 0 4px rgba(255,255,255,.24);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 6px;
  width: 7px;
  height: 12px;
  border-right: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(45deg);
}
.section-dark .checklist li::before {
  border-color: rgba(243,148,85,.36);
  background: rgba(223,118,45,.14);
  box-shadow: inset 0 0 0 4px rgba(17,21,24,.18);
}
.control-section .checklist li {
  padding-left: 52px;
}
.control-section .checklist li::before { top: 13px; }
.control-section .checklist li::after { top: 19px; }

/* Clean final sequence: process, project invitation, company footer. */
.site-header::after { display: none; }

.home-page .process-section .value,
.home-page .process-section .value:hover {
  transform: none;
}
.home-page .process-section .value::before { display: none; }

.cta-band::before,
.cta-band::after { display: none; }
.home-page .cta-band {
  margin: 0;
  padding: 46px 0;
  border-radius: 0;
  border-top: 1px solid rgba(255,255,255,.13);
  box-shadow: none;
  background:
    linear-gradient(100deg, rgba(210,101,34,.98) 0%, rgba(210,101,34,.96) 52%, rgba(159,69,24,.8) 100%),
    url("../assets/hero-mining-v2.png") 72% 63% / cover;
}
.home-page .cta-band h2 {
  font-size: clamp(2.55rem,4vw,3.8rem);
  line-height: .95;
}
.home-page .cta-band p { max-width: 650px; }
.cta-band .btn {
  border-radius: 12px;
  padding: 15px 28px;
  box-shadow: 0 14px 32px rgba(17,21,24,.16);
}

.site-footer {
  padding-top: 44px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-grid {
  gap: 38px;
  padding-bottom: 30px;
}
.footer-logo-image {
  display: block;
  width: min(280px,100%);
  height: auto;
}
.footer-brand p { margin-top: 12px; }
.footer-bottom { padding: 17px 0; }

@media (max-width: 680px) {
  .home-page .cta-band { padding: 40px 0; }
  .home-page .cta-band .container { display: grid; grid-template-columns: 1fr; }
  .home-page .cta-band .btn { width: 100%; text-align: center; }
  .site-footer { padding-top: 40px; }
  .footer-grid { padding-bottom: 24px; }
  .footer-logo-image { width: 220px; }
}

/* Project-specific photographic atlas: one coordinated image, six distinct scenes. */
.projects-page .project-card .project-thumb {
  background-image: url("../assets/project-scenes-v1.png") !important;
  background-size: 300% 200% !important;
  background-repeat: no-repeat;
}
.projects-page .project-card:nth-child(1) .project-thumb { background-position: 0% 0%; }
.projects-page .project-card:nth-child(2) .project-thumb { background-position: 50% 0%; }
.projects-page .project-card:nth-child(3) .project-thumb { background-position: 100% 0%; }
.projects-page .project-card:nth-child(4) .project-thumb { background-position: 0% 100%; }
.projects-page .project-card:nth-child(5) .project-thumb { background-position: 50% 100%; }
.projects-page .project-card:nth-child(6) .project-thumb { background-position: 100% 100%; }
.projects-page .project-thumb::before {
  z-index: 0;
  background: linear-gradient(180deg, rgba(13,17,20,.02) 30%, rgba(13,17,20,.56) 100%);
  animation: none;
}
.projects-page .project-thumb .tag { z-index: 1; }

/* Contact details remain legible without stretching the closing footer. */
@media (min-width: 961px) {
  .footer-grid { grid-template-columns: 1.35fr .75fr 1fr 1.5fr; }
}
.footer-contact a { color: #d4dadd; }
.footer-contact li:last-child { max-width: 360px; line-height: 1.5; }
