/* =========================================================
   AXIOM AXIS — Final Website
   Single-page scroll: Hero → Solutions → About → Insights → Careers
   Clean background-image panels, cinematic dark-gold overlay system.
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  --bg: #000000;
  --bg-2: #050505;
  --bg-card: rgba(12, 12, 12, 0.78);
  --bg-card-hover: rgba(18, 18, 18, 0.88);
  --bg-input: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --border-soft: rgba(255, 255, 255, 0.04);
  --gold: #d4a84b;
  --gold-hover: #e0b85d;
  --gold-dim: rgba(212, 168, 75, 0.30);
  --gold-softer: rgba(212, 168, 75, 0.08);
  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.78);
  --text-muted: rgba(255, 255, 255, 0.55);
  --nav-h: 88px;
  --max-content: 1360px;
  --gutter: clamp(24px, 5vw, 80px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }
input, select, textarea { font: inherit; color: inherit; }

/* =========================================================
   NAV (fixed, transparent, backdrop-blurred)
   ========================================================= */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: #000;
  border-bottom: 1px solid var(--border-soft);
}

.site-nav-inner {
  max-width: var(--max-content);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  width: auto;
}
.brand-mark svg { display: block; width: 100%; height: 100%; }

.brand-logo {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}

.site-links {
  display: flex;
  justify-self: center;
  gap: clamp(22px, 3.4vw, 44px);
}

.site-links a {
  position: relative;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  padding: 10px 2px;
  transition: color 0.2s var(--ease);
}
.site-links a:hover { color: var(--gold); }
.site-links a.active { color: var(--gold); }
.site-links a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  transform: translateX(-50%);
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

.site-cta {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  flex-shrink: 0;
}
.site-cta:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}

/* =========================================================
   PANELS (each section is a full-viewport scroll stop)
   Clean background images — overlays sit above via section-inner.
   ========================================================= */
.panel {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: calc(var(--nav-h) + 48px) var(--gutter) 88px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--bg);
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.10) 42%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Live background images (lowercase filenames as present on disk) */
.hero      { background-image: url('../assets/hero.background.png'); }
.solutions { background-image: url('../assets/solutions.background.png'); }
.about     { background-image: url('../assets/about.background.png'); }
.insights  { background-image: url('../assets/insights.background.png'); }
.careers   { background-image: url('../assets/careers.background.png'); background-position: 70% center; }

/* =========================================================
   PANEL BACKGROUND IMAGES via real <img> elements
   (defensive fallback when CSS background-image fails to render)
   ========================================================= */
.panel { overflow: hidden; background-image: none !important; }
.panel-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}
.careers .panel-bg-img { object-position: 70% center; }
.panel::before { z-index: 1; }
.section-inner,
.hero-content { position: relative; z-index: 2; }
.hero::before { background-image: none !important; }

/* Inner wrapper — keeps content on one max-width axis, above the gradient */
.section-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-content);
  margin: 0 auto;
}

/* =========================================================
   SHARED: section head, buttons, learn-more link
   ========================================================= */
.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-kicker {
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-heading {
  font-size: clamp(36px, 4.4vw, 58px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 22px;
}
.section-heading .gold { color: var(--gold); }

.section-copy {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 26px;
}

/* Buttons (premium rectangles — no pills) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 0;
  white-space: nowrap;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
  cursor: pointer;
}
.btn-icon { flex-shrink: 0; }

.btn-gold {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-hover); border-color: var(--gold-hover); }

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline-gold:hover { background: var(--gold); color: #000; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.28);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.45); }

/* Learn More / Read More */
.learn-more {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s var(--ease), letter-spacing 0.3s ease;
  align-self: flex-start;
}
.learn-more:hover { color: var(--gold-hover); }
.sol-card:hover .learn-more {
  letter-spacing: 0.08em;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + 24px);
  padding-bottom: 120px;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
  background-image: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -8%;
  z-index: 0;
  background-image: url('../assets/hero.background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.08);
  animation: heroDeepMotion 14s ease-in-out infinite alternate;
  filter: contrast(1.12) saturate(1.18) brightness(1.04);
  will-change: transform, filter;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 73% 62%, rgba(212, 168, 75, 0.42), transparent 22%),
    radial-gradient(circle at 82% 48%, rgba(255, 255, 255, 0.18), transparent 16%),
    linear-gradient(115deg, transparent 0%, rgba(212, 168, 75, 0.00) 30%, rgba(212, 168, 75, 0.20) 48%, rgba(255, 255, 255, 0.16) 52%, rgba(212, 168, 75, 0.16) 58%, transparent 78%);
  mix-blend-mode: screen;
  opacity: 0.75;
  animation: heroEnergySweep 6s ease-in-out infinite;
}

.hero .hero-content {
  position: relative;
  z-index: 3;
}

.hero::marker {
  display: none;
}

/* star shimmer / cosmic dust layer — sealed inside the hero-content
   stacking context (z-index: 3 above), so it can't bleed into other
   sections even though it is position:fixed. */
.hero .hero-content::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.55) 1px, transparent 1px),
    radial-gradient(circle, rgba(212, 168, 75, 0.45) 1px, transparent 1px);
  background-size: 120px 120px, 180px 180px;
  background-position: 0 0, 60px 80px;
  opacity: 0.18;
  animation: starDrift 18s linear infinite;
}

@keyframes heroDeepMotion {
  0% {
    transform: scale(1.08) translate3d(0, 0, 0);
    filter: contrast(1.08) saturate(1.12) brightness(1.02);
  }
  45% {
    transform: scale(1.15) translate3d(-2.5%, -1.4%, 0);
    filter: contrast(1.16) saturate(1.24) brightness(1.08);
  }
  100% {
    transform: scale(1.20) translate3d(-4%, 1.2%, 0);
    filter: contrast(1.14) saturate(1.22) brightness(1.05);
  }
}

@keyframes heroEnergySweep {
  0% {
    opacity: 0.42;
    transform: translateX(-18%) rotate(0deg);
  }
  40% {
    opacity: 0.86;
    transform: translateX(6%) rotate(1.5deg);
  }
  70% {
    opacity: 0.62;
    transform: translateX(14%) rotate(-1deg);
  }
  100% {
    opacity: 0.42;
    transform: translateX(-18%) rotate(0deg);
  }
}

@keyframes starDrift {
  from {
    background-position: 0 0, 60px 80px;
  }
  to {
    background-position: 240px 160px, 300px 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after,
  .hero .hero-content::before {
    animation: none;
  }
}

.solutions {
  margin-top: 0;
  padding-top: 120px;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-content);
  margin: 0 auto;
}

.hero-kicker {
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
}

.hero-line {
  display: block;
  font-size: clamp(48px, 4.8vw, 70px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.035em;
}
.hero-line-1 { color: var(--text); }
.hero-line-2 { color: var(--gold); }

.hero-copy {
  margin: 30px 0 36px;
  max-width: 480px;
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.75;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* =========================================================
   SOLUTIONS — 4 cards + CTA band
   ========================================================= */
.solutions-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}

.sol-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}
.sol-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(212, 168, 75, 0.35);
  border-color: rgba(212, 168, 75, 0.5);
  background: rgba(10, 10, 10, 0.9);
}

.sol-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border: 1px solid var(--border);
  color: var(--gold);
}

.sol-card h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  transition: letter-spacing 0.3s ease;
}
.sol-card:hover h3 {
  letter-spacing: 0.02em;
}

.sol-card > p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 22px;
  flex-grow: 1;
}

.cta-band {
  display: block;
  padding: 36px 40px;
  background: var(--bg-card);
  border: 1px solid var(--gold-dim);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.cta-band-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.cta-band-heading { flex: 1 1 auto; }

.cta-band-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.cta-band-heading h4 {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
}

.cta-band-heading h4 .gold { color: var(--gold); }

.cta-band-btn { flex-shrink: 0; }

.cta-band-intro {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 760px;
  margin: 0 0 22px 0;
}

.cta-band-divider {
  height: 1px;
  background: linear-gradient(90deg, var(--gold-dim), transparent);
  margin-bottom: 28px;
}

.cta-band-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.cta-service {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.cta-service h5 { order: 1; }
.cta-service-accent { order: 2; }
.cta-service p { order: 3; }

.cta-service-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  background: var(--gold-softer);
  line-height: 1;
  margin-bottom: 4px;
  transition: border-color 200ms ease, background-color 200ms ease, color 200ms ease, transform 200ms ease;
}
.cta-service-icon svg { display: block; }
.cta-service:hover .cta-service-icon {
  border-color: var(--gold);
  color: var(--gold-hover);
  transform: translateY(-1px);
}

.cta-service h5 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.005em;
}

.cta-service p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}

.cta-service-accent {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  margin-top: 4px;
}

/* =========================================================
   ABOUT — stats row + values grid
   ========================================================= */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 28px 32px;
  margin-bottom: 64px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.stat {
  display: flex;
  align-items: center;
  gap: 14px;
}

.stat-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  flex-shrink: 0;
}

.stat-value {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
}
.stat-label {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.values-head {
  margin-bottom: 28px;
}
.values-head .section-kicker { margin-bottom: 10px; }
.values-head h3 {
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
}
.values-head h3 .gold { color: var(--gold); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.value-card {
  padding: 26px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.25s var(--ease);
}
.value-card:hover { border-color: var(--gold-dim); }

.value-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--gold);
  margin-bottom: 18px;
}

.value-card h4 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.value-card p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.65;
}

/* =========================================================
   INSIGHTS — article grid + load more
   ========================================================= */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}

.article-card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.article-card-link:focus { outline: none; }
.article-card-link:focus-visible .article-card {
  border-color: var(--gold);
}

.article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bg-card);
  border: 1px solid rgba(212, 168, 75, 0.40);
  box-shadow:
    inset 0 0 0 1px rgba(212, 168, 75, 0.06),
    0 2px 18px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.article-card:hover {
  border-color: var(--gold);
  box-shadow:
    inset 0 0 0 1px rgba(212, 168, 75, 0.18),
    0 10px 30px rgba(0, 0, 0, 0.6);
  transform: translateY(-2px);
}

.article-img {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(212, 168, 75, 0.20) 0%, rgba(20, 20, 20, 0.85) 100%);
  border-bottom: 1px solid rgba(212, 168, 75, 0.22);
  overflow: hidden;
}
.article-img > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.article-card .article-img {
  aspect-ratio: 16 / 9;
}
.article-img-2 { background: linear-gradient(135deg, rgba(212, 168, 75, 0.08) 0%, rgba(35, 25, 15, 0.9) 100%); }
.article-img-3 { background: linear-gradient(135deg, rgba(212, 168, 75, 0.14) 0%, rgba(10, 20, 35, 0.9) 100%); }
.article-img-4 { background: linear-gradient(135deg, rgba(212, 168, 75, 0.22) 0%, rgba(30, 18, 8, 0.9) 100%); }

.article-body {
  display: flex;
  flex-direction: column;
  padding: 20px 22px 22px;
  flex: 1;
}

.article-tag {
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.article-card h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.article-body > p {
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.article-body .learn-more {
  margin-top: auto;
  align-self: flex-start;
}

.center-cta {
  display: flex;
  justify-content: center;
}

/* =========================================================
   CAREERS — details + form + cards
   ========================================================= */
.careers-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 42px;
  margin-bottom: 60px;
  align-items: start;
}

.careers-details {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding-top: 8px;
}

.detail h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.detail p {
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.careers-inquiry {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.65;
  padding: 18px 20px;
  border: 1px solid var(--gold-dim);
  border-left-width: 2px;
  background: var(--gold-softer);
}

.careers-form {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: scale(0.85);
  transform-origin: top left;
}

.careers-form h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field-full { margin-bottom: 20px; }

.field-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.careers-form input,
.careers-form select,
.careers-form textarea {
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  font-weight: 400;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s var(--ease);
  font-family: inherit;
}
.careers-form input:focus,
.careers-form select:focus,
.careers-form textarea:focus { border-color: var(--gold-dim); }
.careers-form input::placeholder,
.careers-form textarea::placeholder { color: var(--text-muted); }
.careers-form textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.55;
}
.careers-form select {
  appearance: none;
  -webkit-appearance: none;
  color-scheme: dark;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5 L6 6.5 L11 1.5' stroke='%23d4a84b' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.careers-form select option {
  background-color: #0d0d0d;
  color: var(--text);
}
.careers-form select option:checked {
  background-color: rgba(212, 168, 75, 0.18);
  color: var(--gold);
}

.form-submit {
  align-self: flex-start;
}

.careers-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.career-card {
  padding: 24px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.career-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-2px);
}

.career-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--gold);
  margin-bottom: 16px;
}

.career-card h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}
.career-card p {
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.55;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .solutions-cards { grid-template-columns: repeat(2, 1fr); }
  .stats-row       { grid-template-columns: repeat(2, 1fr); }
  .values-grid     { grid-template-columns: repeat(3, 1fr); }
  .articles-grid   { grid-template-columns: repeat(2, 1fr); }
  .careers-cards   { grid-template-columns: repeat(3, 1fr); }
  .careers-layout  { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  :root { --nav-h: 64px; }

  .site-links { display: none; }
  .site-brand { font-size: 12px; letter-spacing: 0.2em; }

  .panel {
    padding: calc(var(--nav-h) + 32px) var(--gutter) 64px;
  }

  .hero-line        { font-size: clamp(40px, 11vw, 68px); }
  .section-heading  { font-size: clamp(30px, 8vw, 44px); line-height: 1.08; }
  .section-head     { margin-bottom: 40px; }

  .solutions-cards  { grid-template-columns: 1fr; }
  .values-grid      { grid-template-columns: repeat(2, 1fr); }
  .articles-grid    { grid-template-columns: 1fr; }
  .careers-cards    { grid-template-columns: repeat(2, 1fr); }
  .stats-row        { grid-template-columns: repeat(2, 1fr); padding: 22px; gap: 18px; }

  .cta-band {
    padding: 26px 22px;
  }
  .cta-band-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .cta-band-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .cta-band .btn { width: 100%; }

  .hero-cta-row .btn { width: 100%; }

  .form-grid { grid-template-columns: 1fr; gap: 14px; }
  .careers-form { padding: 24px; }
  .form-submit { width: 100%; }
}

/* =========================================================
   SOLUTIONS — icon + process label stacked as card header
   ========================================================= */
.sol-card {
  padding-top: 28px;
}

.solution-card-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.solution-card-icon {
  margin-bottom: 10px;
  opacity: 0.85;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.sol-card:hover .solution-card-icon {
  transform: translateY(-2px);
  opacity: 1;
}

/* Icon already owns a 22px bottom margin from the base style —
   zero it inside the new wrapper so the wrapper's 10px lands. */
.solution-card-icon .sol-icon {
  margin-bottom: 0;
}

.solution-process-label {
  color: #d4a84b;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-align: center;
  opacity: 0.95;
}

/* =========================================================
   SITE FOOTER — full-width dark band, gold accents,
   matched to the live design tokens
   ========================================================= */
.site-footer {
  position: relative;
  width: 100%;
  background: #000;
  border-top: 1px solid var(--border);
  padding: 72px 0 32px;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.65;
}

.site-footer .container {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border-soft);
}

/* Brand column */
.footer-brand {
  background: none;
  padding: 0;
  border: none;
}
.footer-brand .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  margin-bottom: 18px;
  transition: color 0.2s var(--ease);
}
.footer-brand .brand:hover { color: var(--gold); }

.footer-brand .brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  width: auto;
  background: none;
  padding: 0;
  border: none;
}
.footer-brand .brand-mark svg {
  width: 26px;
  height: 26px;
  display: block;
}

.footer-logo {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-bottom: 12px;
  background: transparent;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 38ch;
}
.footer-badge {
  display: block;
  width: 140px;
  max-width: 100%;
  height: auto;
  margin-left: auto;
  flex-shrink: 0;
  opacity: 0.92;
}
.footer-legal {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.04em;
  transition: color 0.2s var(--ease);
}
.footer-legal a:hover { color: var(--gold); }

/* Link columns */
.footer-col h5 {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col li { color: var(--text-muted); }
.footer-col a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--gold); }

/* Bottom bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* Responsive */
@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .site-footer { padding: 56px 0 28px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* =========================================================
   MOBILE — true mobile-first refinement
   ========================================================= */
@media (max-width: 760px) {
  html, body { overflow-x: hidden; max-width: 100vw; }
  .panel, .site-footer, .site-nav, .site-nav-inner { max-width: 100vw; }

  .panel {
    min-height: auto;
    padding-top: calc(var(--nav-h) + 24px);
    padding-bottom: 56px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-nav-inner { grid-template-columns: 1fr auto; padding: 0 14px; gap: 10px; }
  .site-brand { font-size: 11px; letter-spacing: 0.18em; }
  .brand-mark { height: 32px; }
  .brand-logo { height: 32px; width: auto; }
  .site-cta { padding: 7px 12px; font-size: 10px; letter-spacing: 0.14em; }

  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-h) + 36px);
    padding-bottom: 56px;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
  }
  .hero-content { width: 90vw; max-width: 520px; text-align: left; align-items: flex-start; margin: 0; }
  .hero-kicker { font-size: 10px; letter-spacing: 0.22em; margin-bottom: 14px; text-align: left; }
  .hero-heading { align-items: flex-start; margin-bottom: 18px; }
  .hero-line { font-size: clamp(30px, 8.5vw, 46px); line-height: 1.05; letter-spacing: -0.02em; }
  .hero-copy { font-size: 14px; line-height: 1.55; max-width: 38ch; margin: 0 0 22px 0; text-align: left; }
  .hero-cta-row { justify-content: flex-start; gap: 10px; }
  .hero-cta-row .btn { width: auto; padding: 12px 22px; font-size: 12px; }

  .section-inner { padding: 0; max-width: 100%; }
  .section-head { margin: 0 0 28px 0; max-width: 92vw; text-align: left; }
  .section-kicker { font-size: 11px; margin-bottom: 14px; }
  .section-heading { font-size: clamp(26px, 7vw, 38px); line-height: 1.08; margin-bottom: 16px; }
  .section-copy { font-size: 14px; line-height: 1.55; max-width: 100%; }

  .cta-band { padding: 22px 18px; }
  .cta-band-top { align-items: flex-start; }
  .cta-band-heading { align-items: flex-start; text-align: left; }
  .cta-band-heading h4 { text-align: left; font-size: clamp(22px, 6vw, 30px); }
  .cta-band-eyebrow { text-align: left; }
  .cta-band-intro { text-align: left; font-size: 13px; max-width: 100%; }
  .cta-band-grid { gap: 18px; }

  .careers-details { text-align: left; }
  .careers-details .detail { text-align: left; }
  .careers-form { width: 100%; padding: 22px; transform: none; }
  .careers-form h3 { font-size: 18px; margin-bottom: 18px; }

  .panel-bg-img { object-position: center 30%; }
  .careers .panel-bg-img { object-position: 60% center; }

  .site-footer { padding: 48px 0 24px; }
  .footer-grid { text-align: left; gap: 28px; padding-bottom: 32px; }
  .footer-brand { text-align: left; }
  .footer-brand .brand { justify-content: flex-start; }
  .footer-brand p { margin: 0; max-width: 280px; }
  .footer-col ul { padding-left: 0; list-style: none; }
  .footer-bottom { align-items: flex-start; text-align: left; padding-top: 22px; }
  .footer-badge { margin: 8px 0 0; width: 110px; }
  .footer-legal { justify-content: flex-start; }

  .article-card-link { width: 100%; max-width: 100%; }
}

@media (max-width: 480px) {
  .panel {
    padding-top: calc(var(--nav-h) + 20px);
    padding-bottom: 44px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .hero { padding-top: calc(var(--nav-h) + 28px); padding-bottom: 48px; }
  .hero-line { font-size: clamp(26px, 8vw, 42px); }
  .hero-copy { font-size: 13.5px; }
  .section-head { margin-bottom: 24px; }
  .section-heading { font-size: clamp(22px, 7vw, 32px); }

  .site-nav-inner { padding: 0 12px; gap: 8px; }
  .brand-mark { height: 28px; }
  .brand-logo { height: 28px; }
  .site-brand { font-size: 10px; letter-spacing: 0.16em; }
  .site-cta { padding: 6px 10px; font-size: 9.5px; letter-spacing: 0.12em; }

  .stats-row { grid-template-columns: 1fr; padding: 18px; gap: 14px; }
  .values-grid { grid-template-columns: 1fr; }
  .careers-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-badge { width: 100px; }
  .cta-band { padding: 20px 14px; }
  .cta-band-heading h4 { font-size: clamp(20px, 6vw, 28px); }
  .careers-form { padding: 18px; }
  .article-card h3 { font-size: 15px; }
}

/* =========================================================
   ABOUT — neural / synapse overlay (CSS-only, no images)
   Stack:
     panel bg-image (z:0) → .panel::before vignette (z:1)
       → .about-neural-overlay nodes layer (z:1, on top of vignette)
       → .about-neural-overlay::before connection-line texture (z:0 inside)
       → .about-neural-overlay::after firing pulse (z:1 inside)
     → .section-inner content (z:2, fully on top, untouched)
   ========================================================= */
.about-neural-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  isolation: isolate;
  /* Scattered gold "neuron" nodes */
  background:
    radial-gradient(circle 2px   at 12% 18%, rgba(255, 240, 200, 0.95), transparent 60%),
    radial-gradient(circle 1.5px at 28% 32%, rgba(212, 168, 75, 0.78), transparent 60%),
    radial-gradient(circle 2.5px at 44% 12%, rgba(255, 240, 200, 1.00), transparent 60%),
    radial-gradient(circle 1.8px at 62% 28%, rgba(212, 168, 75, 0.85), transparent 60%),
    radial-gradient(circle 2px   at 78% 16%, rgba(255, 230, 170, 0.92), transparent 60%),
    radial-gradient(circle 1.5px at 88% 36%, rgba(212, 168, 75, 0.80), transparent 60%),
    radial-gradient(circle 2px   at 18% 52%, rgba(255, 240, 200, 0.92), transparent 60%),
    radial-gradient(circle 1.8px at 36% 68%, rgba(212, 168, 75, 0.85), transparent 60%),
    radial-gradient(circle 2.5px at 52% 56%, rgba(255, 230, 170, 1.00), transparent 60%),
    radial-gradient(circle 1.5px at 70% 72%, rgba(212, 168, 75, 0.78), transparent 60%),
    radial-gradient(circle 2px   at 84% 60%, rgba(255, 240, 200, 0.95), transparent 60%),
    radial-gradient(circle 1.8px at  8% 84%, rgba(212, 168, 75, 0.85), transparent 60%),
    radial-gradient(circle 2.2px at 30% 88%, rgba(255, 230, 170, 0.95), transparent 60%),
    radial-gradient(circle 1.5px at 56% 92%, rgba(212, 168, 75, 0.80), transparent 60%),
    radial-gradient(circle 2px   at 76% 86%, rgba(255, 240, 200, 0.92), transparent 60%);
  filter: drop-shadow(0 0 4px rgba(212, 168, 75, 0.55));
  animation: aboutNeuralBreath 4s ease-in-out infinite;
  will-change: opacity, filter;
  opacity: 0.85;
}

/* Connection-line texture — three faint hairline grids at different
   angles, slowly drifting. At low alpha they read as a soft web
   rather than literal parallel lines. */
.about-neural-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient( 45deg,
      transparent 0px, transparent 80px,
      rgba(212, 168, 75, 0.06) 80px, rgba(212, 168, 75, 0.06) 81px,
      transparent 81px, transparent 160px),
    repeating-linear-gradient(-30deg,
      transparent 0px, transparent 110px,
      rgba(255, 230, 170, 0.05) 110px, rgba(255, 230, 170, 0.05) 111px,
      transparent 111px, transparent 220px),
    repeating-linear-gradient( 85deg,
      transparent 0px, transparent 140px,
      rgba(212, 168, 75, 0.05) 140px, rgba(212, 168, 75, 0.05) 141px,
      transparent 141px, transparent 280px);
  background-size: 200% 200%;
  animation: aboutNeuralLines 24s linear infinite;
  pointer-events: none;
  will-change: background-position;
}

/* Firing pulse — bright spark traveling rapidly across the network */
.about-neural-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 30px at 0% 30%, rgba(255, 240, 200, 0.55), transparent 70%),
    radial-gradient(circle 22px at 0% 60%, rgba(212, 168, 75, 0.40), transparent 70%);
  background-repeat: no-repeat;
  background-position: -20% 30%, -20% 60%;
  mix-blend-mode: screen;
  filter: blur(2px);
  animation: aboutNeuralFire 3s ease-in-out infinite;
  pointer-events: none;
  will-change: background-position, opacity;
}

@keyframes aboutNeuralBreath {
  0%, 100% {
    opacity: 0.55;
    filter: drop-shadow(0 0 3px rgba(212, 168, 75, 0.40));
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(212, 168, 75, 0.85));
  }
}

@keyframes aboutNeuralLines {
  0%   { background-position: 0% 0%, 0% 0%, 0% 0%; }
  100% { background-position: 100% 100%, -100% 100%, 100% -100%; }
}

@keyframes aboutNeuralFire {
  0%   { background-position: -20% 30%, -20% 60%; opacity: 0.6; }
  50%  { opacity: 1; }
  100% { background-position: 120% 30%, 120% 60%; opacity: 0.6; }
}

@media (prefers-reduced-motion: reduce) {
  .about-neural-overlay,
  .about-neural-overlay::before,
  .about-neural-overlay::after { animation: none; }
}

