/* ============================================================
   AURX Metals — Landing page styles
   Built on the AURX Design Language v1 (Below the surface)
   ============================================================ */
:root {
  --obsidian: #0B0D0C;
  --soil-900: #14130F;
  --soil-800: #1E1B15;
  --soil-700: #2B2619;
  --taupe: #6B5E4E;
  --stone: #9A9082;
  --bone: #EDE7D8;
  --bone-dim: #B8B0A0;
  --teal: #3DB6C2;
  --teal-deep: #1C6E78;
  --gold: #D9A441;
  --gold-deep: #9A6E22;
  --line: rgba(237,231,216,0.14);
  --line-strong: rgba(237,231,216,0.30);
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-sans: 'Instrument Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--obsidian);
  color: var(--bone);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.serif { font-family: var(--font-serif); font-weight: 400; line-height: 1.04; letter-spacing: -0.01em; }
.mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bone-dim); }
.mono.teal { color: var(--teal); } .mono.gold { color: var(--gold); }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.pad { padding: 130px 0; }
.divider { border-top: 1px solid var(--line); }
em.it { font-style: italic; color: var(--teal); }
a { color: inherit; text-decoration: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--bone-dim);
}
.eyebrow::before { content: ''; width: 34px; height: 1px; background: var(--teal); }
.eyebrow .teal { color: var(--teal); }

.sec-head { display: grid; grid-template-columns: 80px 1fr; gap: 28px; align-items: start; margin-bottom: 64px; }
.sec-head .idx { font-family: var(--font-mono); font-size: 12px; color: var(--teal); letter-spacing: 0.1em; padding-top: 12px; }
.sec-head h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); max-width: 20ch; }
.sec-head .k { margin-bottom: 16px; }
.sec-head p { margin-top: 18px; color: var(--bone-dim); max-width: 54ch; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 15px 26px; border: 1px solid transparent; transition: background .25s, border-color .25s, color .25s, transform .25s;
}
.btn .arr { transition: transform .25s; }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--teal); color: var(--obsidian); }
.btn-primary:hover { background: #58c8d3; }
.btn-ghost { border-color: var(--line-strong); color: var(--bone); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }

/* ===================================================================
   NAV
=================================================================== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; transition: background .4s, border-color .4s, padding .4s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(11,13,12,0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; transition: padding .4s; }
.nav.scrolled .wrap { padding-top: 14px; padding-bottom: 14px; }
.logo { font-family: var(--font-serif); font-size: 24px; letter-spacing: 0.02em; }
.logo b { color: var(--teal); font-weight: 400; }
.nav-links { display: flex; gap: 34px; }
.nav-links a { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone-dim); position: relative; transition: color .25s; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px; background: var(--teal); transition: width .3s; }
.nav-links a:hover { color: var(--bone); } .nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 22px; }
.nav-cta .contact { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone-dim); transition: color .25s; }
.nav-cta .contact:hover { color: var(--teal); }
.nav-portal { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; padding: 10px 18px; border: 1px solid var(--teal); color: var(--teal); transition: background .25s, color .25s; }
.nav-portal:hover { background: var(--teal); color: var(--obsidian); }
.nav-burger { display: none; background: none; border: none; color: var(--bone); cursor: pointer; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; padding: 8px 4px; z-index: 70; }

/* mobile menu overlay */
.mobile-menu { position: fixed; inset: 0; z-index: 65; background: rgba(8,9,8,0.97); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none; transition: opacity .35s ease; display: flex; flex-direction: column; padding: 96px 30px 36px; }
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu .mm-links { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.mobile-menu .mm-links a { font-family: var(--font-serif); font-size: clamp(2.4rem, 11vw, 3.4rem); color: var(--bone); padding: 8px 0; line-height: 1.1; }
.mobile-menu .mm-links a:active { color: var(--teal); }
.mobile-menu .mm-foot { display: flex; flex-direction: column; gap: 14px; padding-top: 26px; border-top: 1px solid var(--line); }
.mobile-menu .mm-foot .btn { justify-content: center; }
.mobile-menu .mm-meta { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone); }

/* ===================================================================
   SURFACE LAYER COMPONENT (shared)
=================================================================== */
.sl-scene { position: relative; overflow: hidden; --cut: 100; background: var(--obsidian); isolation: isolate; touch-action: pan-y; }
.sl-scene .surface-photo { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sl-scene .surface-photo { z-index: 0; filter: saturate(0.9) contrast(1.02); }
.sl-scene .surface-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; }
.sl-basegrade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: multiply; opacity: 0.34;
  background:
    linear-gradient(180deg, rgba(11,13,12,0.10), rgba(11,13,12,0.46)),
    linear-gradient(0deg, rgba(28,110,120,0.16), transparent 55%);
}
.sl-analysis { position: absolute; inset: 0; z-index: 3; clip-path: inset(0 0 0 calc(var(--cut) * 1%)); will-change: clip-path; }
.sl-treat { position: absolute; inset: 0; backdrop-filter: saturate(0.45) brightness(0.84) contrast(1.08); -webkit-backdrop-filter: saturate(0.45) brightness(0.84) contrast(1.08); }
.sl-tint { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(7,9,8,0.60), rgba(9,12,11,0.32)), linear-gradient(90deg, rgba(28,110,120,0.30), rgba(28,110,120,0.06)); }
.sl-scanlines { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(61,182,194,0.05) 0 1px, transparent 1px 5px); }
.sl-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sl-tag-surface { position: absolute; top: 16px; left: 18px; z-index: 7; }
.sl-tag-surface .mono { color: var(--bone); text-shadow: 0 1px 6px rgba(0,0,0,0.7); font-size: 10px; }
.sl-tag-vision { position: absolute; top: 16px; right: 18px; z-index: 7; clip-path: inset(0 0 0 calc(var(--cut) * 1%)); }
.sl-tag-vision .mono { color: var(--teal); text-shadow: 0 0 10px rgba(0,0,0,0.9); font-size: 10px; }
.sl-edge { position: absolute; top: 0; bottom: 0; left: calc(var(--cut) * 1%); width: 2px; z-index: 8; transform: translateX(-1px); }
.sl-edge::before { content: ''; position: absolute; inset: 0; background: var(--teal); box-shadow: 0 0 22px 3px rgba(61,182,194,0.6); }
.sl-edge::after { content: ''; position: absolute; top: 0; bottom: 0; left: -30px; width: 30px; background: linear-gradient(90deg, transparent, rgba(61,182,194,0.16)); }
.sl-grip { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 28px; height: 60px; border-radius: 28px; background: rgba(11,13,12,0.82); border: 1px solid var(--teal); display: flex; align-items: center; justify-content: center; cursor: ew-resize; box-shadow: 0 0 20px rgba(61,182,194,0.4); backdrop-filter: blur(2px); }
.sl-grip span { width: 2px; height: 20px; background: var(--teal); box-shadow: -5px 0 0 rgba(61,182,194,0.6), 5px 0 0 rgba(61,182,194,0.6); }
.sl-edge-label { position: absolute; top: calc(50% + 44px); left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.2em; color: var(--teal); white-space: nowrap; text-shadow: 0 0 8px rgba(0,0,0,0.8); }

/* ===================================================================
   HERO
=================================================================== */
.hero { position: relative; height: 280vh; }
.hero-sticky { position: sticky; top: 0; height: 100vh; min-height: 600px; overflow: hidden; display: flex; align-items: center; padding: 96px 0; }
.hero-sticky > .wrap { width: 100%; position: relative; z-index: 5; }
.hero-scenes { position: absolute; inset: 0; z-index: 0; }
.hero-scene { position: absolute; inset: 0; opacity: 0; will-change: opacity, transform; }
.hero-scene:first-child { opacity: 1; }
.hero-scrim { position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8,9,8,0.96) 0%, rgba(8,9,8,0.88) 30%, rgba(8,9,8,0.52) 54%, rgba(8,9,8,0.08) 78%, transparent 100%),
    linear-gradient(180deg, rgba(8,9,8,0.62) 0%, transparent 18%),
    linear-gradient(0deg, var(--obsidian) 0%, transparent 30%); }
.hero-content { position: relative; z-index: 5; max-width: 660px; display: flex; flex-direction: column; align-items: flex-start; }
.hero-content .eyebrow { margin-bottom: 0; }
.hero h1 { font-size: clamp(2.3rem, 4.8vw, 4.2rem); margin: 22px 0 0; line-height: 1.1; }
.hero h1 .em { color: var(--teal); font-style: italic; }
.hero-sub { margin-top: 32px; max-width: 48ch; color: var(--bone); font-size: clamp(1.02rem, 1.25vw, 1.18rem); text-shadow: 0 1px 12px rgba(0,0,0,0.6); }
.hero-actions { margin-top: 38px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-caption { margin-top: 40px; display: flex; align-items: baseline; gap: 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; transition: opacity .4s ease; }
.hero-caption .hc-idx { color: var(--teal); }
.hero-caption .hc-name { color: var(--bone); }
.hero-caption .hc-sep { color: var(--taupe); }
.hero-caption .hc-min { color: var(--gold); }
.hero-strip { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; border-top: 1px solid var(--line); background: linear-gradient(0deg, rgba(8,9,8,0.92), rgba(8,9,8,0.55) 60%, transparent); }
.hero-strip .wrap { display: flex; gap: 44px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 24px; align-items: baseline; }
.hero-stat .v { font-family: var(--font-serif); font-size: 2rem; line-height: 1; }
.hero-stat .v.gold { color: var(--gold); } .hero-stat .v.teal { color: var(--teal); }
.hero-stat .l { margin-top: 7px; }
.hero-strip .scrolltag { margin-left: auto; align-self: center; }
.hero-seq { display: flex; gap: 8px; align-items: center; }
.hero-seq i { width: 26px; height: 3px; background: var(--line-strong); transition: background .35s ease, width .35s ease; }
.hero-seq i.on { background: var(--teal); width: 40px; }

/* ===================================================================
   THESIS
=================================================================== */
.thesis { background: var(--soil-900); }
.thesis .wrap { max-width: 1040px; }
.thesis .line { font-family: var(--font-serif); font-size: clamp(1.6rem, 3.4vw, 2.9rem); line-height: 1.16; padding: 30px 0; border-bottom: 1px solid var(--line); color: var(--bone-dim); }
.thesis .line .hl { color: var(--bone); }
.thesis .line .teal { color: var(--teal); font-style: italic; }
.thesis .line .gold { color: var(--gold); font-style: italic; }
.thesis .line .num { font-family: var(--font-mono); font-size: 0.46em; color: var(--teal); vertical-align: super; margin-right: 10px; letter-spacing: 0.1em; }

/* ===================================================================
   HOW WE SEE — the AI wedge
=================================================================== */
.wedge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.wedge { background: var(--soil-900); display: flex; flex-direction: column; }
.wedge-canvas { aspect-ratio: 16/11; background: var(--obsidian); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.wedge-canvas svg { width: 100%; height: 100%; display: block; }
.wedge-meta { padding: 26px 28px 30px; }
.wedge-meta .step { font-family: var(--font-mono); font-size: 11px; color: var(--teal); letter-spacing: 0.16em; }
.wedge-meta h3 { font-family: var(--font-serif); font-size: 1.8rem; margin: 8px 0 10px; }
.wedge-meta p { color: var(--bone-dim); font-size: 14.5px; }

/* ===================================================================
   MINERALS
=================================================================== */
.minerals { background: var(--soil-900); }
.min-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.min { background: var(--obsidian); padding: 28px 24px 30px; min-height: 280px; display: flex; flex-direction: column; transition: background .3s; }
.min:hover { background: var(--soil-800); }
.min .sym { font-family: var(--font-serif); font-size: 3.2rem; line-height: 1; color: var(--gold); }
.min .nm { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone); margin-top: 14px; }
.min .use { color: var(--bone-dim); font-size: 14px; margin-top: 14px; }
.min .sector { margin-top: auto; padding-top: 18px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); border-top: 1px solid var(--line); }

/* ===================================================================
   TARGETS (interactive scenes)
=================================================================== */
.targets-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.target-card { border: 1px solid var(--line); background: var(--soil-900); }
.target-card .sl-scene { aspect-ratio: 4/3; }
.target-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 20px 22px 24px; }
.target-meta h3 { font-family: var(--font-serif); font-size: 1.5rem; }
.target-meta .tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.target-meta .loc { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--stone); margin-top: 4px; }
.targets-note { margin-top: 26px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone-dim); display: flex; align-items: center; gap: 12px; }
.targets-note::before { content: ''; width: 26px; height: 1px; background: var(--teal); }

/* ===================================================================
   METRICS
=================================================================== */
.metrics { background: var(--soil-900); }
.metrics-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 50px; flex-wrap: wrap; }
.metrics-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.metrics-live { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--bone-dim); display: flex; align-items: center; gap: 10px; }
.metrics-live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); animation: pulseDot 2s ease-in-out infinite; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.metric { background: var(--obsidian); padding: 40px 30px; }
.metric .v { font-family: var(--font-serif); font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1; }
.metric .v .u { font-size: 0.4em; color: var(--bone-dim); margin-left: 4px; }
.metric .v.teal { color: var(--teal); } .metric .v.gold { color: var(--gold); }
.metric .l { margin-top: 16px; color: var(--bone-dim); font-size: 14px; }

/* ===================================================================
   APPROACH
=================================================================== */
.approach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.approach h2 { font-family: var(--font-serif); font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.06; }
.approach h2 .teal { color: var(--teal); font-style: italic; }
.approach p { margin-top: 22px; color: var(--bone-dim); max-width: 46ch; }
.approach-list { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.approach-list .row { background: var(--obsidian); padding: 24px 26px; display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start; }
.approach-list .n { font-family: var(--font-mono); font-size: 12px; color: var(--teal); padding-top: 4px; }
.approach-list h4 { font-family: var(--font-serif); font-size: 1.4rem; }
.approach-list p { margin-top: 6px; color: var(--bone-dim); font-size: 14px; max-width: none; }

/* ===================================================================
   CTA
=================================================================== */
.cta { background: var(--soil-900); position: relative; overflow: hidden; }
.cta .wrap { position: relative; z-index: 2; text-align: center; }
.cta h2 { font-family: var(--font-serif); font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1.02; max-width: 18ch; margin: 0 auto; }
.cta h2 .em { color: var(--teal); font-style: italic; }
.cta p { margin: 24px auto 0; color: var(--bone-dim); max-width: 48ch; }
.cta-actions { margin-top: 40px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-bg { position: absolute; inset: 0; z-index: 0; opacity: 0.5; }
.cta-bg svg { width: 100%; height: 100%; display: block; }

/* ===================================================================
   FOOTER
=================================================================== */
footer { padding: 64px 0; border-top: 1px solid var(--line); }
footer .wrap { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 30px; }
footer .logo { font-size: 22px; }
.foot-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-col h5 { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone); margin-bottom: 14px; }
.foot-col a { display: block; color: var(--bone-dim); font-size: 14px; padding: 4px 0; transition: color .25s; }
.foot-col a:hover { color: var(--teal); }
.foot-base { margin-top: 50px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.foot-base .mono { font-size: 10px; }

/* ===================================================================
   ANIMATIONS
=================================================================== */
@keyframes retPulse { 0%,100% { opacity: 0.6; } 50% { opacity: 1; } }
.sl-reticle { animation: retPulse 2.4s ease-in-out infinite; }
@keyframes oreGlow { 0%,100% { opacity: 0.78; } 50% { opacity: 1; } }
.sl-ore { animation: oreGlow 3s ease-in-out infinite; }
@keyframes contourPulse { 0%,100% { opacity: 0.35; } 50% { opacity: 0.6; } }
.sl-contour { animation: contourPulse 3.6s ease-in-out infinite; }
@keyframes pulseDot { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ===================================================================
   RESPONSIVE
=================================================================== */
@media (max-width: 1000px) {
  .wedge-grid { grid-template-columns: 1fr; }
  .min-grid { grid-template-columns: repeat(2, 1fr); }
  .targets-grid { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .approach-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 22px; }
  .pad { padding: 78px 0; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: inline-block; }
  .hero { height: 260vh; }
  .hero-sticky { padding: 82px 0 98px; min-height: 540px; }
  .hero-content { max-width: 100%; }
  .hero-scrim { background:
      linear-gradient(180deg, rgba(8,9,8,0.55) 0%, rgba(8,9,8,0.30) 30%, rgba(8,9,8,0.78) 100%); }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 3rem); }
  .hero-sub { font-size: 1.02rem; }
  .hero-strip .wrap { gap: 22px 30px; padding-top: 18px; padding-bottom: 20px; }
  .hero-strip .scrolltag { display: none; }
  .hero-stat .v { font-size: 1.7rem; }
  .sec-head { grid-template-columns: 1fr; gap: 14px; }
  .sec-head .idx { display: none; }
  .min-grid { grid-template-columns: 1fr; }
  .min { min-height: auto; }
  .metric-grid { grid-template-columns: 1fr; }
  .foot-cols { gap: 30px 40px; }
  .target-card .sl-scene { aspect-ratio: 3/2; }
}
@media (max-width: 420px) {
  .hero-strip .wrap { gap: 18px 24px; }
  .btn { padding: 14px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .sl-reticle, .sl-ore, .sl-contour, .metrics-live .dot { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero { height: 100vh !important; }
  .hero-sticky { position: relative; }
}
@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
  .nav { position: absolute; }
}
