/* ============================================================
   Vantage Geoscience — Terrain Intelligence
   Unified system · Outfit / Rajdhani / Inter · Gold on black
   ============================================================ */

:root {
  --bg: #050505;
  --bg2: #0c0c0c;
  --card: #121212;
  --text: #f4f1ea;
  --muted: #9a958c;
  --faint: #5e5a53;
  --gold: #c4923a;
  --gold2: #e0b050;
  --gold-soft: rgba(196, 146, 58, 0.14);
  --line: rgba(244, 241, 234, 0.09);
  --line2: rgba(244, 241, 234, 0.16);
  --font: "Inter", system-ui, sans-serif;
  --display: "Outfit", system-ui, sans-serif;
  --tech: "Rajdhani", "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav: 70px;
  --max: 1120px;
  --r: 18px;
  --space: clamp(4.5rem, 8vw, 7rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav) + 12px);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

::selection {
  background: rgba(196, 146, 58, 0.35);
  color: #fff;
}

.shell {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: 100;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  pointer-events: none;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  height: var(--nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(1.25rem, 4vw);
  border-bottom: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
}

.nav.on {
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--tech);
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 0.95rem;
  z-index: 2;
}

.brand em {
  font-style: normal;
  color: var(--gold);
}

.brand img {
  width: 32px;
  height: 32px;
}

.links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.25rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.links a {
  padding: 0.48rem 0.9rem;
  border-radius: 999px;
  font-size: 0.84rem;
  color: var(--muted);
  transition: 0.2s;
}

.links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.links .cta {
  background: var(--gold) !important;
  color: #100c06 !important;
  font-weight: 600;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid var(--line);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.burger i {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease);
}

.burger[aria-expanded="true"] i:first-child {
  transform: translateY(3.75px) rotate(45deg);
}
.burger[aria-expanded="true"] i:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* ---------- Type ---------- */
.label {
  font-family: var(--tech);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.5rem, 6.5vw, 4.4rem);
  font-weight: 500;
}

h1 .gold {
  color: var(--gold2);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 2.85rem);
}

.sub {
  margin-top: 0.95rem;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.sub strong {
  color: var(--text);
  font-weight: 600;
}

.head {
  margin-bottom: 2.5rem;
  max-width: 36rem;
}

.section-title {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 2.75rem 0 1.1rem;
  letter-spacing: -0.02em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.88rem 1.35rem;
  border-radius: 999px;
  font-family: var(--tech);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.25s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.25s;
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  color: #100c06;
  box-shadow: 0 10px 32px rgba(196, 146, 58, 0.28);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(196, 146, 58, 0.38);
}

.btn--line {
  border: 1px solid var(--line2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.btn--line:hover {
  border-color: var(--gold);
  background: var(--gold-soft);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 0.68rem 1.1rem;
  font-size: 0.82rem;
}

/* ---------- Blocks ---------- */
.block {
  padding: var(--space) 0;
  border-top: 1px solid var(--line);
}

.block--dim {
  background: var(--bg2);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  padding: calc(var(--nav) + 2rem) 0 4.5rem;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.06);
  animation: drift 32s ease-in-out infinite alternate;
  filter: brightness(0.72) contrast(1.05) saturate(1.05);
}

@keyframes drift {
  to {
    transform: scale(1.12) translate(-1%, -0.6%);
  }
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(5, 5, 5, 0.93) 0%, rgba(5, 5, 5, 0.5) 50%, rgba(5, 5, 5, 0.2) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.4) 0%, transparent 35%, rgba(5, 5, 5, 0.96) 100%);
}

.hero__body {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
  max-width: 40rem;
}

.hero__mark {
  width: min(148px, 34vw);
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 0 28px rgba(196, 146, 58, 0.28));
}

.hero__text {
  margin: 1.2rem 0 1.7rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero__text strong {
  color: var(--text);
  font-weight: 600;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* ---------- Product map ---------- */
.map {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 880px) {
  .map {
    grid-template-columns: 1fr 1fr;
  }
}

.map__card {
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.45rem 1.4rem;
  border-radius: var(--r);
  border: 1px solid var(--line2);
  background: var(--card);
  transition: border-color 0.3s, transform 0.35s var(--ease), box-shadow 0.35s;
  min-height: 100%;
}

.map__card:hover {
  border-color: rgba(196, 146, 58, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.map__card--core {
  background: linear-gradient(160deg, rgba(196, 146, 58, 0.12), transparent 48%), var(--card);
  border-color: rgba(196, 146, 58, 0.28);
}

.map__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.map__line {
  font-family: var(--tech);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.map__tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  background: var(--gold);
  color: #100c06;
}

.map__tag--soft {
  background: var(--gold-soft);
  color: var(--gold2);
  border: 1px solid rgba(196, 146, 58, 0.35);
}

.map__card h3 {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
  line-height: 1.15;
}

.map__card > p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 1.1rem;
}

.map__card ul {
  list-style: none;
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  flex: 1;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
}

.map__card li {
  position: relative;
  padding-left: 0.85rem;
  font-size: 0.9rem;
  color: rgba(244, 241, 234, 0.82);
  line-height: 1.4;
}

.map__card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.map__go {
  font-family: var(--tech);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold2);
}

.map__note {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 40rem;
  margin-inline: auto;
  line-height: 1.6;
}

/* ---------- Catalog ---------- */
.catalog {
  display: grid;
  border-radius: calc(var(--r) + 2px);
  border: 1px solid var(--line);
  background: var(--card);
  overflow: hidden;
}

@media (min-width: 960px) {
  .catalog {
    grid-template-columns: 240px 1fr;
    min-height: 520px;
  }
}

.catalog__nav {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  gap: 0.2rem;
  padding: 0.7rem;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
  scrollbar-width: none;
}

.catalog__nav::-webkit-scrollbar {
  display: none;
}

@media (min-width: 960px) {
  .catalog__nav {
    flex-direction: column;
    overflow: visible;
    border-bottom: 0;
    border-right: 1px solid var(--line);
    padding: 0.9rem 0.7rem;
  }
}

.catalog__nav button {
  text-align: left;
  padding: 0.72rem 0.85rem;
  border-radius: 11px;
  white-space: nowrap;
  font-size: 0.88rem;
  color: var(--muted);
  transition: 0.2s;
}

.catalog__nav button span {
  display: inline-block;
  width: 1.5rem;
  font-family: var(--tech);
  font-weight: 700;
  color: var(--faint);
  font-size: 0.82rem;
}

.catalog__nav button:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.catalog__nav button.is-on {
  color: var(--text);
  background: var(--gold-soft);
  box-shadow: inset 0 0 0 1px rgba(196, 146, 58, 0.28);
}

.catalog__nav button.is-on span {
  color: var(--gold);
}

.catalog__panel {
  display: grid;
}

@media (min-width: 800px) {
  .catalog__panel {
    grid-template-columns: 0.95fr 1.1fr;
  }
}

.catalog__img {
  min-height: 240px;
  background: #000;
  overflow: hidden;
}

.catalog__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 260px;
  transition: opacity 0.3s var(--ease);
}

.catalog__copy {
  padding: 1.45rem 1.35rem 1.65rem;
}

@media (min-width: 800px) {
  .catalog__copy {
    padding: 1.7rem 1.75rem 1.9rem;
  }
}

.catalog__kicker {
  font-family: var(--tech);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.catalog__copy h3 {
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.05rem;
}

.catalog__block {
  margin-bottom: 0.95rem;
}

.catalog__block h4 {
  font-family: var(--tech);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.3rem;
}

.catalog__block p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.catalog__block ul {
  list-style: none;
  display: grid;
  gap: 0.38rem;
  margin-top: 0.3rem;
}

@media (min-width: 560px) {
  .catalog__block ul {
    grid-template-columns: 1fr 1fr;
    gap: 0.38rem 0.9rem;
  }
}

.catalog__block li {
  position: relative;
  padding-left: 0.85rem;
  font-size: 0.88rem;
  color: rgba(244, 241, 234, 0.8);
  line-height: 1.4;
}

.catalog__block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- Core section: full-width product stage (≠ services rail) ---------- */
.core-section {
  position: relative;
  padding: var(--space) 0;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(196, 146, 58, 0.12), transparent 55%),
    linear-gradient(180deg, #070707 0%, var(--bg) 100%);
  overflow: hidden;
}

.core-glow {
  position: absolute;
  left: 50%;
  top: 20%;
  width: min(900px, 90vw);
  height: 420px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(196, 146, 58, 0.1), transparent 70%);
  pointer-events: none;
}

.core-intro {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
}

.core-intro .sub {
  margin-inline: auto;
}

/* Floating product display */
.core-stage {
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(196, 146, 58, 0.28);
  background: #0a0a0a;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 40px 100px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(196, 146, 58, 0.08);
  overflow: hidden;
}

.core-stage__chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
}

.core-stage__dots {
  display: flex;
  gap: 0.35rem;
}

.core-stage__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #333;
}

.core-stage__dots i:nth-child(1) {
  background: #ff5f57;
}
.core-stage__dots i:nth-child(2) {
  background: #febc2e;
}
.core-stage__dots i:nth-child(3) {
  background: #28c840;
}

.core-stage__title {
  flex: 1;
  font-family: var(--tech);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.core-stage__badge {
  font-family: var(--tech);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(196, 146, 58, 0.35);
  color: var(--gold2);
  background: var(--gold-soft);
  flex-shrink: 0;
}

.core-stage__screen {
  position: relative;
  min-height: min(58vh, 520px);
  height: min(58vh, 520px);
  background: radial-gradient(ellipse at 50% 100%, rgba(196, 146, 58, 0.08), transparent 50%), #080808;
}

.demo {
  display: none;
  position: absolute;
  inset: 0;
  animation: demoIn 0.35s var(--ease);
}

.demo.is-on {
  display: block;
}

@keyframes demoIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Horizontal capability picker under stage */
.core-picker {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 1.15rem 0 0.25rem;
  margin-top: 0.25rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(196, 146, 58, 0.35) transparent;
  -webkit-overflow-scrolling: touch;
}

.core-picker button {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-width: 7.2rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(18, 18, 18, 0.9);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.25;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.25s var(--ease);
}

.core-picker button span {
  font-family: var(--tech);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--faint);
}

.core-picker button:hover {
  color: var(--text);
  border-color: var(--line2);
  transform: translateY(-2px);
}

.core-picker button.is-on {
  color: var(--text);
  border-color: rgba(196, 146, 58, 0.55);
  background: linear-gradient(160deg, rgba(196, 146, 58, 0.18), rgba(18, 18, 18, 0.95));
  box-shadow: 0 8px 28px rgba(196, 146, 58, 0.12);
}

.core-picker button.is-on span {
  color: var(--gold);
}

.core-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-top: 1.75rem;
  padding: 1.35rem 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(12, 12, 12, 0.85);
}

.core-caption h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.core-caption p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 40rem;
}

.core-caption .btn {
  flex-shrink: 0;
}

.demo-canvas {
  width: 100%;
  height: 100%;
  min-height: 380px;
  display: block;
}

.demo-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  z-index: 1;
  opacity: 0.92;
}

.demo-hud {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 3;
  pointer-events: none;
}

.demo-hud__tag {
  display: inline-block;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(196, 146, 58, 0.35);
  background: rgba(0, 0, 0, 0.6);
  color: var(--gold2);
  font-family: var(--tech);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.demo-hud p {
  margin-top: 0.35rem;
  color: rgba(244, 241, 234, 0.75);
  font-size: 0.85rem;
  text-shadow: 0 2px 10px #000;
}

/* Planning table demo */
.demo-plan {
  height: 100%;
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.demo-plan__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.demo-plan__head strong {
  font-family: var(--display);
  font-size: 1.05rem;
}

.chip {
  font-family: var(--tech);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--line2);
  color: var(--muted);
}

.chip--live {
  border-color: rgba(61, 214, 140, 0.4);
  color: #3dd68c;
  background: rgba(61, 214, 140, 0.1);
}

.demo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.demo-table th {
  text-align: left;
  font-family: var(--tech);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 0.45rem 0.5rem;
  border-bottom: 1px solid var(--line);
}

.demo-table td {
  padding: 0.55rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.demo-table tr.is-active td {
  color: var(--gold2);
  background: var(--gold-soft);
}

.demo-plan__foot {
  margin-top: auto;
  display: grid;
  gap: 0.55rem;
}

.demo-plan__foot label {
  font-family: var(--tech);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.bar-track {
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  margin-top: 0.35rem;
}

.bar-track.tall {
  height: 10px;
}

.bar-track i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
}

.demo-plan__meta {
  font-size: 0.82rem;
  color: var(--faint);
}

/* Live tracking */
.demo-live {
  height: 100%;
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.demo-live__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}

.demo-live__stats div {
  padding: 0.75rem 0.7rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.demo-live__stats em {
  display: block;
  font-family: var(--display);
  font-style: normal;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold2);
  font-variant-numeric: tabular-nums;
}

.demo-live__stats span {
  font-size: 0.72rem;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.demo-live__row {
  display: grid;
  gap: 1rem;
  flex: 1;
}

@media (min-width: 700px) {
  .demo-live__row {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.demo-live__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--display);
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.demo-live__title i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3dd68c;
  box-shadow: 0 0 10px #3dd68c;
  animation: pulseDot 1.5s ease-in-out infinite;
}

@keyframes pulseDot {
  50% {
    opacity: 0.5;
  }
}

.demo-live__meta {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: var(--faint);
}

.demo-live__log {
  list-style: none;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  padding: 0.75rem 0.9rem;
}

.demo-live__log li {
  display: flex;
  gap: 0.75rem;
  padding: 0.4rem 0;
  font-size: 0.85rem;
  color: var(--muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.demo-live__log li:last-child {
  border-bottom: 0;
}

.demo-live__log time {
  font-family: var(--tech);
  color: var(--faint);
  flex-shrink: 0;
}

/* Mineralization / lithology strips */
.demo-log {
  height: 100%;
  padding: 1.15rem 1.25rem;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .demo-log {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

.demo-log__label {
  font-family: var(--display);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.demo-strip {
  height: 280px;
  width: 52px;
  border-radius: 10px;
  border: 1px solid var(--line2);
  overflow: hidden;
  background: #111;
  display: flex;
  flex-direction: column;
}

.demo-strip span {
  display: block;
  width: 100%;
  flex: 1;
}

.demo-log__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.9rem;
  margin-top: 0.85rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.demo-log__legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  margin-right: 0.3rem;
  vertical-align: -1px;
}

.c-high {
  background: #3dd68c;
}
.c-med {
  background: #c4923a;
}
.c-low {
  background: #6b5a2e;
}
.c-none {
  background: #2a2a2a;
}
.l-a {
  background: #8a7a5a;
}
.l-b {
  background: #5a6a4a;
}
.l-c {
  background: #7a5a6a;
}
.l-d {
  background: #4a4a4a;
}

.demo-log__list {
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.demo-row {
  display: grid;
  gap: 0.2rem;
  padding: 0.75rem 0.85rem;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.demo-row b {
  font-family: var(--tech);
  font-size: 0.85rem;
  color: var(--gold2);
  letter-spacing: 0.04em;
}

.demo-row span {
  font-size: 0.88rem;
  color: var(--muted);
}

/* Resource */
.demo-resource {
  position: relative;
  height: 100%;
}

.demo-resource .demo-canvas {
  min-height: 380px;
  opacity: 0.9;
}

.demo-resource__panel {
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 2;
  width: min(220px, 42%);
  padding: 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--line2);
  background: rgba(8, 8, 8, 0.88);
  backdrop-filter: blur(10px);
  display: grid;
  gap: 0.65rem;
}

.demo-resource__panel em {
  display: block;
  font-family: var(--display);
  font-style: normal;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--gold2);
}

.demo-resource__panel span {
  font-size: 0.72rem;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.demo-resource__note {
  font-size: 0.72rem !important;
  color: var(--faint) !important;
  line-height: 1.4;
  text-transform: none !important;
  letter-spacing: 0 !important;
  margin-top: 0.2rem;
}

/* Basemap */
.demo-map {
  position: relative;
  height: 100%;
  min-height: 380px;
  overflow: hidden;
}

.demo-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}

.demo-map__overlay {
  position: absolute;
  inset: 0;
}

.pin {
  position: absolute;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #fff;
  box-shadow: 0 0 0 4px rgba(196, 146, 58, 0.25);
}

.pin--active {
  background: #3dd68c;
  box-shadow: 0 0 0 4px rgba(61, 214, 140, 0.3), 0 0 16px rgba(61, 214, 140, 0.5);
  animation: pulseDot 1.5s ease-in-out infinite;
}

/* Implementation cards */
.demo-fit {
  height: 100%;
  min-height: 380px;
  padding: 1.25rem;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
  align-content: center;
}

@media (min-width: 640px) {
  .demo-fit {
    grid-template-columns: 1fr 1fr;
  }
}

.demo-fit__card {
  padding: 1.15rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(196, 146, 58, 0.22);
  background: linear-gradient(160deg, rgba(196, 146, 58, 0.1), transparent 55%), rgba(255, 255, 255, 0.02);
}

.demo-fit__card h4 {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.demo-fit__card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

@media (max-width: 700px) {
  .demo-live__stats {
    grid-template-columns: 1fr 1fr;
  }
  .core-stage__screen {
    min-height: 420px;
    height: 420px;
  }
}

/* ---------- Company ---------- */
.company {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .company {
    grid-template-columns: 1fr 1.1fr;
    gap: 3.5rem;
    align-items: start;
  }
}

.nrg {
  display: inline-block;
  margin-top: 1.25rem;
  opacity: 0.88;
}

.nrg:hover {
  opacity: 1;
}

.nrg img {
  height: 44px;
  width: auto;
}

.pillars {
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.pillars li {
  padding: 1.1rem 1.15rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.pillars strong {
  display: block;
  color: var(--text);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

/* ---------- Contact ---------- */
.contact {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .contact {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.5rem;
  }
}

.mail {
  display: inline-flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 1.4rem;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--card);
  transition: border-color 0.25s;
}

.mail:hover {
  border-color: rgba(196, 146, 58, 0.35);
}

.mail span {
  font-family: var(--tech);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

.form {
  display: grid;
  gap: 0.9rem;
  padding: 1.45rem;
  border-radius: var(--r);
  border: 1px solid var(--line2);
  background: var(--card);
}

.form__row {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 560px) {
  .form__row {
    grid-template-columns: 1fr 1fr;
  }
}

.form label {
  display: grid;
  gap: 0.4rem;
  font-family: var(--tech);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border-radius: 11px;
  border: 1px solid var(--line2);
  background: rgba(0, 0, 0, 0.4);
  color: var(--text);
  padding: 0.85rem 0.95rem;
  font: inherit;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form input::placeholder,
.form textarea::placeholder {
  color: var(--faint);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: rgba(196, 146, 58, 0.5);
  box-shadow: 0 0 0 3px rgba(196, 146, 58, 0.14);
}

.form select option {
  background: #121212;
}

.form .btn {
  width: 100%;
  margin-top: 0.15rem;
}

.form__note {
  color: var(--gold2);
  font-size: 0.88rem;
  font-family: var(--font);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

/* ---------- Footer ---------- */
.foot {
  border-top: 1px solid var(--line);
  background: var(--bg2);
  padding: 2.75rem 0 1.5rem;
}

.foot__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.foot__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.foot__brand strong {
  display: block;
  font-family: var(--tech);
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.foot__brand span {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
}

.foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}

.foot__links a,
.foot__links button {
  font-size: 0.88rem;
  color: var(--muted);
}

.foot__links a:hover,
.foot__links button:hover {
  color: var(--gold2);
}

.foot__base {
  margin-top: 1.75rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--faint);
}

/* Modal */
.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: start center;
  padding: 1.5rem;
  overflow-y: auto;
}

.modal__bg {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
}

.modal__card {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  margin: 2rem auto;
  padding: 1.6rem 1.4rem;
  border-radius: var(--r);
  border: 1px solid var(--line2);
  background: var(--card);
}

.modal__x {
  position: absolute;
  top: 0.8rem;
  right: 0.9rem;
  width: 2rem;
  height: 2rem;
  font-size: 1.35rem;
  color: var(--muted);
}

.modal__card h2 {
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
}

.modal__card div {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .burger {
    display: flex;
  }

  .links {
    position: fixed;
    top: var(--nav);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(5, 5, 5, 0.96);
    padding: 0.75rem 1rem 1rem;
    backdrop-filter: blur(14px);
  }

  .links.open {
    display: flex;
  }

  .links a {
    padding: 0.8rem 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero__media img {
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
