/* Photographic chapter backgrounds: bounded layers, with clear space for the photography. */
body.mining-refresh { --gold:#d4a66e; --gold-light:#f0d5ae; background:#161512; }
body.mining-refresh :is(#operations,#vmv,#board,#financials,#schematics,#headquarters,#corporate-enquiries,#shop).hm-photo-section {
  position:relative; isolation:isolate; overflow:hidden;
  background:#161512!important; padding-top:360px!important;
  border-top:0;
}
.hm-photo-landscape { position:absolute; top:0; left:0; right:0; height:740px; z-index:-1; overflow:hidden; background:#161512; pointer-events:none; }
.hm-photo-landscape img { display:block; width:100%; height:100%; object-fit:cover; opacity:.96; filter:saturate(.78) contrast(1.06); transform:scale(1.025); animation:hm-photo-drift 24s ease-in-out infinite alternate; animation-play-state:paused; }
.hm-photo-visible .hm-photo-landscape img { animation-play-state:running; }
.hm-photo-landscape::before { content:''; position:absolute; inset:0; z-index:1; background:linear-gradient(120deg,rgba(208,153,83,.12),transparent 48%,rgba(15,30,34,.17)); }
.hm-photo-landscape::after { content:''; position:absolute; inset:0; z-index:2; background:linear-gradient(180deg,#161512 0%,rgba(22,21,18,.68) 4%,rgba(22,21,18,.08) 16%,rgba(22,21,18,.03) 32%,rgba(22,21,18,.3) 46%,rgba(22,21,18,.7) 62%,rgba(22,21,18,.94) 82%,#161512 100%),linear-gradient(90deg,rgba(22,21,18,.75),rgba(22,21,18,.22) 42%,transparent 73%); }
body.mining-refresh .hm-photo-section > :not(.hm-photo-landscape) { position:relative; }
body.mining-refresh .hm-photo-section .section-title { color:#f5ede0; text-shadow:0 2px 16px rgba(10,10,8,.55); max-width:960px; }
body.mining-refresh .hm-photo-section .section-label { letter-spacing:.22em; color:#edc795; }
body.mining-refresh .hm-photo-section .reveal-line { background:linear-gradient(90deg,#cca06b,rgba(204,160,107,.15),transparent); }
body.mining-refresh #operations .hm-photo-landscape img { object-position:50% 35%!important; }
body.mining-refresh #financials .hm-photo-landscape img { object-position:50% 58%!important; }
body.mining-refresh .hm-photo-section .section-body { color:#e2d8c8; }
body.mining-refresh :is(.section-label,.gold) { color:#e0b57e; }
body.mining-refresh :is(.vmv-card,.board-member,.fin-kpi,.doc-card) { background:#211e19!important; border:1px solid #574530!important; box-shadow:0 12px 32px #0003; border-radius:8px; }
body.mining-refresh :is(#headquarters,#schematics,#corporate-enquiries) { background:#1b1915!important; }
body.mining-refresh .ops-grid { gap:16px; }
body.mining-refresh .op-card { border:1px solid #6c5234; border-radius:8px; }
body.mining-refresh :is(.btn-gold,.btn-outline) { border-color:#d4a66e; }
@keyframes hm-photo-drift { from { transform:scale(1.025) translateY(0); } to { transform:scale(1.065) translateY(-8px); } }
@media(max-width:700px) {
  body.mining-refresh :is(#operations,#vmv,#board,#financials,#schematics,#headquarters,#corporate-enquiries,#shop).hm-photo-section { padding-top:285px!important; }
  .hm-photo-landscape { height:540px; }
  .hm-photo-landscape img { opacity:1; animation:none; transform:none; }
  .hm-photo-landscape::after { background:linear-gradient(180deg,#161512 0%,rgba(22,21,18,.42) 5%,transparent 17%,rgba(22,21,18,.04) 30%,rgba(22,21,18,.38) 47%,rgba(22,21,18,.8) 64%,rgba(22,21,18,.97) 86%,#161512 100%),linear-gradient(90deg,rgba(22,21,18,.18),transparent 68%); }
  body.mining-refresh #financials .hm-photo-landscape img { object-position:50% 55%!important; }
  body.mining-refresh .ops-grid { gap:14px; }
}
@media(prefers-reduced-motion:reduce) { .hm-photo-landscape img { animation:none; transform:none; } }

/* The supplied document library does not include the featured audited report. */
body.mining-refresh #financials .doc-feature { display:none!important; }

/* Keep the WhatsApp group control present during every section transition. */
body.mining-refresh .wa-fab { display:flex!important; position:fixed!important; z-index:99999!important; }
body.mining-refresh .wa-fab:not(.wa-on) { visibility:hidden!important; opacity:0!important; transform:translateY(24px) scale(.9)!important; pointer-events:none!important; }
body.mining-refresh .wa-fab.wa-on { visibility:visible!important; opacity:1!important; transform:none!important; pointer-events:auto!important; }

/* Keep the trading photograph intact and place the copy below its main scene. */
body.mining-refresh #shop.hm-photo-section { padding-top:470px!important; }
#shop .hm-photo-landscape { height:780px; }
#shop .hm-photo-landscape img { filter:none; opacity:1; object-position:50% 40%!important; animation:none; transform:none; }
#shop .hm-photo-landscape::before { background:none; }
#shop .hm-photo-landscape::after { background:linear-gradient(180deg,#050604 0%,rgba(5,6,4,.88) 8%,rgba(5,6,4,.48) 17%,rgba(5,6,4,.10) 29%,transparent 39%,transparent 48%,rgba(22,21,18,.35) 62%,rgba(22,21,18,.88) 82%,#161512 100%); }
@media(max-width:700px) {
 body.mining-refresh #shop.hm-photo-section { padding-top:260px!important; }
 #shop .hm-photo-landscape { height:560px; }
 #shop .hm-photo-landscape img { height:auto; min-height:0; width:100%; object-fit:contain; object-position:top!important; mask-image:linear-gradient(#000 75%,transparent 100%); -webkit-mask-image:linear-gradient(#000 75%,transparent 100%); }
 #shop .hm-photo-landscape::after { background:linear-gradient(180deg,#050604 0%,rgba(5,6,4,.88) 9%,rgba(5,6,4,.42) 20%,transparent 32%,rgba(22,21,18,.10) 37%,rgba(22,21,18,.75) 46%,#161512 56%); }
}
