/* ============================================================
   BERUBE CAPITAL LLC — Design System
   Theme: Deep charcoal + emerald green (commodities / wealth)
   ============================================================ */

:root {
  /* Brand palette */
  --emerald-900: #023d2b;
  --emerald-800: #04563c;
  --emerald-700: #067a52;
  --emerald-600: #0a9d6b;
  --emerald-500: #10b981;
  --emerald-400: #34d399;
  --emerald-300: #6ee7b7;

  /* Neutrals */
  --ink-900: #0a0f0d;
  --ink-850: #0d1311;
  --ink-800: #111815;
  --ink-700: #161f1b;
  --ink-600: #1d2824;
  --line:     #233029;
  --line-soft:#1a241f;

  --text:     #e8efe9;
  --text-soft:#a9b8b0;
  --text-dim: #71827a;
  --white:    #ffffff;

  /* Gold accent (secondary, used sparingly for "premium" pops) */
  --gold:     #c9a24b;

  --grad-emerald: linear-gradient(135deg, #10b981 0%, #067a52 100%);
  --grad-dark:    linear-gradient(180deg, #111815 0%, #0a0f0d 100%);

  --radius:    14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --maxw:      1200px;
  --shadow:    0 20px 50px -20px rgba(0,0,0,.6);
  --shadow-em: 0 18px 40px -18px rgba(16,185,129,.35);

  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --mono: "JetBrains Mono", "SF Mono", ui-monospace, monospace;
}

/* Daily brief strip */
.daily-strip-bar { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 24px 28px; background: rgba(16,185,129,.04); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.ds-left { display: flex; flex-direction: column; gap: 4px; }
.ds-date { font-size: 12px; color: var(--text-dim); letter-spacing: .04em; }
.ds-body { flex: 1; min-width: 280px; }
.ds-tease { font-size: 14.5px; line-height: 1.6; color: var(--text-soft); margin: 0 0 12px; }
.ds-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.ds-tag { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: rgba(16,185,129,.10); color: var(--emerald-400); border: 1px solid rgba(16,185,129,.2); letter-spacing: .04em; text-transform: uppercase; }
.ds-cta { flex-shrink: 0; }

@media (max-width: 700px) {
  .daily-strip-bar { flex-direction: column; align-items: flex-start; }
  .ds-cta { width: 100%; text-align: center; }
}

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

html { scroll-behavior: smooth; }

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

/* ===== Background video ===== */
.bg-video {
  position: fixed; inset: 0; z-index: -3; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.72; pointer-events: none;
}
/* light darken overlay so text stays legible but video shows through */
.bg-veil {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(16,185,129,.12), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(6,122,82,.12), transparent 55%),
    linear-gradient(180deg, rgba(10,15,13,.55), rgba(10,15,13,.68));
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(16,185,129,.10), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(6,122,82,.10), transparent 55%);
  background-color: transparent;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(35,48,41,.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35,48,41,.35) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
  opacity: .5;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
section { position: relative; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: 110px 0; }
.section-sm { padding: 72px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--emerald-400); font-weight: 600; margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; background: var(--emerald-500); border-radius: 2px;
}

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.12; letter-spacing: -.01em; color: var(--white); }
h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 18px; }
h3 { font-size: 22px; margin-bottom: 10px; }
p  { color: var(--text-soft); }
.lead { font-size: 19px; color: var(--text-soft); max-width: 60ch; }

.text-emerald { color: var(--emerald-400); }
.text-gold { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600;
  font-size: 15px; cursor: pointer; border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  letter-spacing: .01em;
}
.btn-primary { background: var(--grad-emerald); color: #04130d; box-shadow: var(--shadow-em); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 24px 50px -16px rgba(16,185,129,.55); }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--emerald-500); color: var(--emerald-300); transform: translateY(-2px); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Photographic hero (Trafigura-style) ---------- */
.hero.photo-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink-900);
}
.hero-photo {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  transform: scale(1.05);
  animation: kenburns 26s ease-in-out infinite alternate;
}
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.12); } }
.hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,15,13,.92) 0%, rgba(10,15,13,.72) 42%, rgba(10,15,13,.30) 100%),
    linear-gradient(180deg, rgba(10,15,13,.62) 0%, rgba(10,15,13,.20) 35%, rgba(10,15,13,.88) 100%),
    radial-gradient(900px 500px at 88% 10%, rgba(16,185,129,.16), transparent 60%);
}
.hero.photo-hero .hero-grid { position: relative; z-index: 2; }

/* ---------- Corporate stat band ---------- */
.stat-band {
  position: relative;
  background: linear-gradient(180deg, #07100c, #0a140f);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 64px 0;
}
.stat-band .band-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  margin-bottom: 34px; flex-wrap: wrap;
}
.stat-band .band-head h2 { font-size: clamp(24px,3vw,34px); margin: 0; }
.stat-band .band-head .sub { color: var(--text-dim); font-size: 14px; letter-spacing: .04em; }
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 36px; }
.band-item { border-left: 2px solid var(--emerald-700); padding-left: 18px; }
.band-item .v { font-family: var(--display); font-size: clamp(30px,4vw,46px); font-weight: 800; color: var(--white); line-height: 1; }
.band-item .v .u { color: var(--emerald-400); font-size: .6em; margin-left: 4px; }
.band-item .k { margin-top: 10px; color: var(--text-dim); font-size: 13.5px; line-height: 1.5; }

/* ---------- What We Do (image sections) ---------- */
.wd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.wd-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end;
  border: 1px solid var(--line-soft); background: #0c1310;
}
.wd-card .ph {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform .5s ease;
}
.wd-card:hover .ph { transform: scale(1.06); }
.wd-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,14,12,.15) 0%, rgba(8,14,12,.55) 45%, rgba(8,14,12,.94) 100%);
}
.wd-card .body { position: relative; z-index: 2; padding: 26px; }
.wd-card .tag {
  display: inline-block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--emerald-300); font-weight: 700; margin-bottom: 10px;
}
.wd-card h3 { color: var(--white); margin-bottom: 8px; }
.wd-card p { font-size: 14px; color: var(--text-soft); }
.wd-card.live { border-color: var(--emerald-600); box-shadow: 0 0 0 1px rgba(16,185,129,.25), 0 24px 50px -28px rgba(16,185,129,.5); }

/* feature split with photo */
.split-photo .media {
  border-radius: var(--radius); overflow: hidden; min-height: 360px;
  background-size: cover; background-position: center; border: 1px solid var(--line-soft);
}

/* ---------- Responsible trading pillar ---------- */
.pillar-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.pillar {
  display: flex; gap: 18px; align-items: flex-start; padding: 24px;
  border: 1px solid var(--line-soft); border-radius: var(--radius); background: rgba(12,19,17,.6);
}
.pillar .pi {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad-emerald); color: #04130d;
}
.pillar h3 { font-size: 18px; margin-bottom: 6px; }
.pillar p { font-size: 14px; color: var(--text-soft); }

@media (max-width: 900px) {
  .band-grid { grid-template-columns: repeat(2,1fr); }
  .wd-grid { grid-template-columns: 1fr 1fr; }
  .pillar-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wd-grid { grid-template-columns: 1fr; }
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10,15,13,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 21px; color: var(--white); }
.brand-logo { height: 38px; width: auto; display: block; }
.brand .mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--grad-emerald); display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; color: #04130d; font-size: 18px;
  box-shadow: var(--shadow-em);
}
.brand small { display:block; font-family: var(--font); font-size: 10px; letter-spacing: .25em; color: var(--text-dim); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 10px 16px; font-size: 15px; color: var(--text-soft); border-radius: 10px;
  font-weight: 500; transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(16,185,129,.08); }
.nav-cta { margin-left: 12px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); width: 44px; height: 44px; border-radius: 10px; cursor: pointer; font-size: 20px; }

/* ---------- Hero ---------- */
.hero { padding: 170px 0 90px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 72px); margin-bottom: 24px; }
.hero h1 .accent { color: var(--emerald-400); }
.hero p.lead { margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 38px; }
.hero-badges .pill {
  display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--text-soft);
  border: 1px solid var(--line); padding: 9px 15px; border-radius: 999px; background: rgba(255,255,255,.02);
}
.hero-badges .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald-500); box-shadow: 0 0 12px var(--emerald-500); }

/* Hero visual card — live ticker mock */
.ticker-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(17,24,21,.9), rgba(10,15,13,.9));
  padding: 26px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.ticker-card::before {
  content: ""; position: absolute; inset: 0; background: radial-gradient(420px 220px at 100% 0%, rgba(16,185,129,.16), transparent 60%); pointer-events: none;
}
.ticker-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.ticker-head .ttl { font-family: var(--display); font-weight: 700; color: var(--white); font-size: 16px; }
.ticker-head .live { font-size: 11px; letter-spacing: .2em; color: var(--emerald-400); display: flex; align-items: center; gap: 7px; }
.ticker-head .live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald-500); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.qrow { display: grid; grid-template-columns: 1.4fr 1fr 1fr; align-items: center; padding: 13px 6px; border-bottom: 1px solid var(--line-soft); }
.qrow:last-child { border-bottom: none; }
.qrow .sym { font-weight: 600; color: var(--text); font-size: 15px; }
.qrow .sym small { display: block; color: var(--text-dim); font-size: 11px; font-weight: 500; }
.qrow .px { font-family: var(--mono); color: var(--text); text-align: right; }
.qrow .chg { font-family: var(--mono); text-align: right; font-weight: 600; }
.up { color: var(--emerald-400); }
.down { color: #f87171; }

/* ---------- Stat strip ---------- */
.stat-strip { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: rgba(13,19,17,.5); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 38px 26px; border-right: 1px solid var(--line-soft); }
.stat:last-child { border-right: none; }
.stat .num { font-family: var(--display); font-size: clamp(34px, 4vw, 48px); font-weight: 700; color: var(--white); line-height: 1; }
.stat .num .u { color: var(--emerald-400); font-size: .6em; }
.stat .lbl { color: var(--text-dim); font-size: 13.5px; margin-top: 10px; }

/* ---------- Section header ---------- */
.sec-head { max-width: 720px; margin-bottom: 54px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .eyebrow::before { margin: 0 auto; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 22px; }
.cards.c2 { grid-template-columns: repeat(2, 1fr); }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.cards.c4 { grid-template-columns: repeat(4, 1fr); }

.card {
  border: 1px solid var(--line); border-radius: var(--radius); background: rgba(17,24,21,.55);
  padding: 30px; transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--emerald-700); background: rgba(17,24,21,.85); }
.card .ic {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(16,185,129,.10); color: var(--emerald-400); margin-bottom: 18px;
  border: 1px solid rgba(16,185,129,.22);
}
.card .ic svg { width: 26px; height: 26px; }
.card h3 { font-size: 20px; }
.card p { font-size: 15px; }

/* Commodity group card (markets page) */
.comm-card { padding: 0; overflow: hidden; }
.comm-card .top { padding: 26px 26px 20px; border-bottom: 1px solid var(--line-soft); }
.comm-card .top .tag { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--emerald-400); font-weight: 700; }
.comm-card .top h3 { margin-top: 6px; font-size: 24px; }
.comm-card ul { list-style: none; padding: 20px 26px 26px; }
.comm-card ul li { display: flex; align-items: center; gap: 10px; padding: 9px 0; color: var(--text-soft); font-size: 15px; border-bottom: 1px solid var(--line-soft); }
.comm-card ul li:last-child { border-bottom: none; }
.comm-card ul li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--emerald-500); flex: none; }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev > .split-media { order: -1; }
.split-media {
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px;
  background: linear-gradient(180deg, rgba(17,24,21,.85), rgba(10,15,13,.85)); box-shadow: var(--shadow);
}
.feature-list { list-style: none; margin-top: 22px; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .mk { flex: none; width: 26px; height: 26px; border-radius: 8px; background: rgba(16,185,129,.12); color: var(--emerald-400); display: grid; place-items: center; margin-top: 2px; }
.feature-list .mk svg { width: 15px; height: 15px; }
.feature-list li b { color: var(--text); font-weight: 600; }
.feature-list li span { color: var(--text-soft); font-size: 15px; }

/* mini bar chart inside media */
.bars { display: grid; gap: 16px; }
.bar-row { display: grid; grid-template-columns: 120px 1fr 56px; align-items: center; gap: 14px; font-size: 14px; }
.bar-row .name { color: var(--text-soft); }
.bar-track { height: 10px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; background: var(--grad-emerald); width: 0; transition: width 1.1s cubic-bezier(.2,.7,.2,1); }
.bar-row .val { font-family: var(--mono); color: var(--text); text-align: right; }

/* ---------- Timeline (approach) ---------- */
.timeline { display: grid; gap: 0; position: relative; }
.tl-item { display: grid; grid-template-columns: 64px 1fr; gap: 26px; padding: 26px 0; border-bottom: 1px solid var(--line-soft); }
.tl-item:last-child { border-bottom: none; }
.tl-num { width: 52px; height: 52px; border-radius: 14px; background: var(--grad-emerald); color: #04130d; font-family: var(--display); font-weight: 700; display: grid; place-items: center; font-size: 20px; box-shadow: var(--shadow-em); }
.tl-body h3 { font-size: 19px; }
.tl-body p { font-size: 15px; }

/* ---------- Table (performance) ---------- */
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
thead th { text-align: left; padding: 16px 18px; background: rgba(16,185,129,.08); color: var(--emerald-300); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
tbody td { padding: 15px 18px; border-top: 1px solid var(--line-soft); color: var(--text-soft); }
tbody tr:hover { background: rgba(255,255,255,.02); }
tbody td:first-child { color: var(--text); font-weight: 600; }

/* ---------- Insights cards ---------- */
.insight-card { display: flex; flex-direction: column; gap: 12px; }
.insight-card .meta { font-size: 12.5px; color: var(--text-dim); letter-spacing: .05em; }
.insight-card .meta .cat { color: var(--emerald-400); font-weight: 600; }
.insight-card h3 { font-size: 20px; }
.insight-card .more { margin-top: auto; color: var(--emerald-400); font-weight: 600; font-size: 14.5px; display: inline-flex; gap: 8px; align-items: center; }

/* ---------- Disclaimer box ---------- */
.disclaimer {
  border: 1px solid rgba(201,162,75,.35); border-left: 3px solid var(--gold);
  background: rgba(201,162,75,.05); border-radius: var(--radius-sm); padding: 22px 24px; font-size: 13.5px; color: var(--text-soft);
}
.disclaimer b { color: var(--gold); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: start; }
.office { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.office:last-child { border-bottom: none; }
.office .ic { flex: none; width: 42px; height: 42px; border-radius: 11px; background: rgba(16,185,129,.1); color: var(--emerald-400); display: grid; place-items: center; }
.office .city { color: var(--white); font-weight: 600; }
.office .addr { color: var(--text-dim); font-size: 14px; }

.form { display: grid; gap: 16px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 13px; color: var(--text-soft); margin-bottom: 7px; letter-spacing: .03em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: rgba(255,255,255,.03); color: var(--text); font-family: var(--font); font-size: 15px; transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--emerald-500); background: rgba(16,185,129,.04); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 12.5px; color: var(--text-dim); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--ink-850); padding: 70px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 46px; }
.foot-brand p { color: var(--text-dim); font-size: 14.5px; max-width: 34ch; margin-top: 16px; }
.foot-col h4 { font-family: var(--font); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 16px; font-weight: 700; }
.foot-col a { display: block; color: var(--text-soft); font-size: 15px; padding: 6px 0; transition: color .2s; }
.foot-col a:hover { color: var(--emerald-300); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 26px; border-top: 1px solid var(--line-soft); color: var(--text-dim); font-size: 13px; flex-wrap: wrap; }
.foot-bottom .legal { max-width: 70ch; }
.foot-attr { width: 100%; font-size: 11.5px; color: var(--text-dim); opacity: .8; margin-bottom: 4px; }

/* ---------- Live market ticker ---------- */
.live-ticker {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  flex-wrap: wrap;
  background: linear-gradient(100deg, rgba(16,185,129,.10), rgba(10,15,13,.6));
  border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 16px 22px;
}
.lt-left { display: flex; align-items: center; gap: 10px; }
.lt-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--emerald-400);
  box-shadow: 0 0 0 0 rgba(16,185,129,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(16,185,129,.55);} 70%{box-shadow:0 0 0 10px rgba(16,185,129,0);} 100%{box-shadow:0 0 0 0 rgba(16,185,129,0);} }
.lt-label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); font-weight: 600; }
.lt-right { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.lt-quote { display: flex; align-items: baseline; gap: 10px; }
.lt-sym { font-family: var(--mono); font-size: 13px; color: var(--text-dim); }
.lt-price { font-family: var(--display); font-size: 26px; font-weight: 700; color: var(--white); }
.lt-chg { font-family: var(--mono); font-size: 13px; }
.lt-chg.up { color: var(--emerald-400); } .lt-chg.down { color: #e57373; }
.lt-note { font-size: 10.5px; color: var(--text-dim); opacity: .8; }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--text-soft); transition: .2s; }
.foot-social a:hover { border-color: var(--emerald-500); color: var(--emerald-300); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 150px 0 60px; }
.page-hero h1 { font-size: clamp(36px, 5vw, 58px); margin-bottom: 18px; }
.breadcrumb { font-size: 13px; color: var(--text-dim); margin-bottom: 18px; letter-spacing: .04em; }
.breadcrumb a:hover { color: var(--emerald-300); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .split, .split.rev, .contact-grid { grid-template-columns: 1fr; }
  .split.rev > .split-media { order: 0; }
  .cards.c3, .cards.c4 { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line-soft); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 76px; left: 0; right: 0;
    background: rgba(10,15,13,.97); backdrop-filter: blur(14px); padding: 18px; border-bottom: 1px solid var(--line); gap: 4px;
  }
  .nav-links.open .nav-cta { margin: 8px 0 0; }
  .cards.c2, .cards.c3, .cards.c4 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--line-soft); }
  .form .row2 { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .foot-grid { grid-template-columns: 1fr; }
}

/* ============ THE ENGINE / PIPELINE ============ */
.pipeline { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 14px; align-items: stretch; }
.pl-step { border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 18px; background: rgba(17,24,21,.6); position: relative;
  transition: border-color .25s ease, transform .25s ease; }
.pl-step:hover { border-color: var(--emerald-700); transform: translateY(-3px); }
.pl-n { font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  color: var(--gold); margin-bottom: 8px; }
.pl-step h4 { font-family: var(--display); font-size: 18px; margin: 0 0 8px; color: var(--white); }
.pl-step p { font-size: 12.5px; line-height: 1.6; color: var(--text-soft); margin: 0 0 12px; }
.pl-live { font-family: var(--mono); font-size: 11.5px; color: var(--emerald-400);
  padding-top: 10px; border-top: 1px solid var(--line-soft); min-height: 32px; }
.pl-arrow { align-self: center; color: var(--emerald-700); font-size: 20px; }
@media (max-width: 1100px) {
  .pipeline { grid-template-columns: 1fr 1fr; }
  .pl-arrow { display: none; }
}
@media (max-width: 620px) { .pipeline { grid-template-columns: 1fr; } }
