/* ────────────────────────────────────────────────────────────────
   Atlas Deep Geo — shared site styles
   ────────────────────────────────────────────────────────────────

   This file is the single source of truth for everything that
   should look identical across pages: design tokens, base
   typography, navigation, page headers, footer, and reusable
   components (pills, buttons, callouts, cards).

   ─── EDITING ──────────────────────────────────────────────────────
   • Change a brand color, font, or spacing → edit a :root variable.
     Every page picks it up automatically.
   • Change how nav, footer, or the page header look → edit those
     sections here. Don't add per-page overrides.
   • Add a NEW reusable component (a card, a pill style, a button
     variant) → add it here.
   • Page-specific layout (the hero on the home page, the figure
     grid on a case study) lives in a small <style> block at the top
     of each HTML page — not here.

   ─── CONVENTIONS ──────────────────────────────────────────────────
   • All colors are CSS custom properties on :root.
   • Mobile breakpoint is @media (max-width: 720px). Shared mobile
     rules live at the bottom of this file. Page-specific mobile
     rules live in each page's <style>.
   • Don't add !important. Adjust specificity if you need to win.
   ──────────────────────────────────────────────────────────────── */


/* ─────────── 1. Design tokens ─────────── */

:root {
  /* Colors — the four knobs you'll touch most */
  --bg:           #020108;
  --bg-elev:      #0a0a14;
  --text:         #e2e8f0;
  --muted:        #94a3b8;
  --border:       #1e293b;

  --accent:       #3b82f6;   /* primary links, CTA buttons */
  --accent-soft:  #2563eb;   /* button hover, brand mark gradient */
  --cyan:         #00A0C8;   /* eyebrows, section labels, highlights */
  --amber:        #E8A840;   /* EAGE strip, status pills */
  --good:         #4ade80;
  --warn:         #f87171;

  /* Page widths */
  --max-page:     1100px;
  --max-prose:    760px;
}


/* ─────────── 2. Reset & base typography ─────────── */

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

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }


/* ─────────── 3. Top navigation (sticky) ─────────── */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0;
  background: rgba(2,1,8,0.85);
  backdrop-filter: blur(6px);
  z-index: 100;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; letter-spacing: 0.01em;
  color: var(--text);
}
.brand:hover { text-decoration: none; color: var(--text); }
.brand-mark {
  width: 28px; height: 28px;
  display: block;
  flex-shrink: 0;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--muted); font-size: 14px; }
.nav-links a.active { color: var(--text); }
.nav-links a:hover { color: var(--text); text-decoration: none; }


/* ─────────── 4. Page header (eyebrow + title + lede) ─────────── */

.page-head {
  max-width: var(--max-page);
  margin: 0 auto;
  padding: 72px 32px 32px;
}
.page-eyebrow {
  color: var(--cyan);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 16px;
}
.page-title {
  font-size: 44px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 820px;
}
.page-lede {
  font-size: 19px;
  color: var(--muted);
  max-width: 720px;
}


/* ─────────── 5. Section labels (in-body) ─────────── */

.section-label {
  color: var(--cyan);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 12px;
}


/* ─────────── 6. Pills (status tags, region tags) ─────────── */

.pill {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  display: inline-block;
}
.pill.region   { color: var(--cyan);   border-color: rgba(0,160,200,0.3); background: rgba(0,160,200,0.06); }
.pill.status   { color: var(--amber);  border-color: rgba(232,168,64,0.3); background: rgba(232,168,64,0.06); }
.pill.featured { color: var(--accent); border-color: rgba(59,130,246,0.3); background: rgba(59,130,246,0.06); }


/* ─────────── 7. Buttons ─────────── */

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  transition: all .15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.btn-primary:hover { background: var(--accent-soft); border-color: var(--accent-soft); }
.btn-secondary {
  border-color: var(--border);
  color: var(--text);
}
.btn-secondary:hover { border-color: var(--muted); }


/* ─────────── 8. Callout (cyan accent aside) ─────────── */

.callout {
  border-left: 3px solid var(--cyan);
  background: rgba(0,160,200,0.06);
  padding: 18px 22px;
  margin: 28px 0;
  border-radius: 0 6px 6px 0;
}
.callout .label {
  color: var(--cyan);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 8px;
}
.callout p { margin-bottom: 8px; color: var(--text); }
.callout p:last-child { margin-bottom: 0; }


/* ─────────── 9. Limits (warn accent — "what we are NOT claiming") ─────────── */

.limits {
  margin: 32px 0;
  border: 1px solid rgba(248,113,113,0.25);
  border-left: 3px solid var(--warn);
  background: rgba(248,113,113,0.04);
  border-radius: 0 6px 6px 0;
  padding: 18px 22px;
}
.limits .label {
  color: var(--warn);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 10px;
}
.limits p { margin-bottom: 10px; }
.limits p:last-child { margin-bottom: 0; }


/* ─────────── 10. Info card (generic card for sidebars) ─────────── */

.info-card {
  border: 1px solid var(--border);
  background: var(--bg-elev);
  border-radius: 10px;
  padding: 24px;
}
.info-card .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cyan);
  margin-bottom: 10px;
}
.info-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.info-card p { color: var(--muted); font-size: 14px; line-height: 1.6; }


/* ─────────── 11. Footer ─────────── */

footer {
  border-top: 1px solid var(--border);
  padding: 48px 32px 64px;
  color: var(--muted);
  font-size: 14px;
}
.footer-inner {
  max-width: var(--max-page);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  color: var(--muted);
  padding: 4px 0;
}
.footer-col a:hover { color: var(--text); text-decoration: none; }


/* ─────────── 12. Mobile breakpoint (≤ 720 px) ─────────── */

@media (max-width: 720px) {
  .nav { padding: 14px 20px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 13px; }

  .page-head { padding: 56px 20px 24px; }
  .page-title { font-size: 32px; }
  .page-lede  { font-size: 17px; }

  footer { padding: 36px 20px 48px; }
  .footer-inner { flex-direction: column; gap: 20px; }
}
