/* ================================================================
   Datai Analytics — Design System
   Palette: near-black navy + vibrant aqua accent. No gradients.
   Motion-forward, type-led, low-latency feel.
   ================================================================ */

:root {
  --bg:           #FFFFFF;
  --bg-soft:      #F7F8FA;
  --bg-dark:      #0B1426;
  --bg-darker:    #060B17;
  --text:         #0B1426;
  --text-muted:   #5A6478;
  --text-soft:    #8893A6;
  --border:       #E5E8ED;
  --border-dark:  rgba(255,255,255,0.10);

  --accent:       #FF6B35;   /* burnt orange — warm, distinctive */
  --accent-hi:    #FF8855;   /* hover */
  --accent-soft:  rgba(255,107,53,0.14);
  --accent-line:  rgba(255,107,53,0.35);

  --radius:       10px;
  --radius-sm:    6px;
  --shadow-1:     0 1px 2px rgba(11,20,38,0.05);
  --shadow-2:     0 8px 24px rgba(11,20,38,0.08), 0 2px 6px rgba(11,20,38,0.04);
  --shadow-3:     0 16px 48px rgba(11,20,38,0.14), 0 4px 12px rgba(11,20,38,0.06);

  --ease:         cubic-bezier(.2,.8,.2,1);
  --ease-out:     cubic-bezier(.16,1,.3,1);

  --max:          1240px;
  --gutter:       28px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--text); text-decoration: none; transition: color .2s var(--ease); }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0 0 18px;
  color: var(--text);
}
h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 700; letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: 22px; line-height: 1.25; }
h4 { font-size: 16px; }
p  { margin: 0 0 16px; color: var(--text-muted); }
::selection { background: var(--accent); color: var(--bg-dark); }

.accent-word {
  position: relative;
  white-space: nowrap;
}
.accent-word::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.05em;
  height: 0.18em;
  background: var(--accent);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  animation: underline-grow 1s var(--ease-out) .3s forwards;
}
@keyframes underline-grow { to { transform: scaleX(1); } }

/* ---------- Layout ---------- */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 110px 0; position: relative; }
.section--tight { padding: 72px 0; }
.section--alt { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: #fff; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: rgba(255,255,255,0.72); }
.section__head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.section__head--left { text-align: left; margin: 0 0 48px; max-width: 760px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: ""; width: 24px; height: 2px; background: var(--accent);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 36px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn .arrow {
  display: inline-block;
  transition: transform .25s var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

.btn--primary {
  background: var(--accent);
  color: var(--bg-dark);
}
.btn--primary:hover { background: var(--accent-hi); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255,107,53,0.35); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--text); }

.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}
.btn--ghost-light:hover { border-color: var(--accent); color: var(--accent); }

/* link with animated underline */
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  position: relative;
  padding-bottom: 4px;
}
.link-arrow::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.link-arrow:hover::after { transform: scaleX(1); transform-origin: left; }
.link-arrow .arrow { transition: transform .25s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(4px); }
.link-arrow--light { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px; font-weight: 700; color: var(--text); letter-spacing: -0.02em;
  display: inline-flex; align-items: center; gap: 8px;
}
.brand__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent);
  animation: pulse 2.4s var(--ease-out) infinite;
}
.brand__icon {
  width: 28px; height: 28px; display: inline-block; flex-shrink: 0; object-fit: contain;
}
.brand__icon--light {
  filter: brightness(0) invert(1);
  /* on dark footer, invert the navy strokes to white; orange stays via hue */
  filter: brightness(2) saturate(0.5);
}
.brand__hi {
  color: var(--accent);
}
.brand__text {
  white-space: nowrap;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,107,53,0.6); }
  70%  { box-shadow: 0 0 0 12px rgba(255,107,53,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,107,53,0); }
}

.nav { display: flex; align-items: center; gap: 36px; }
.nav a {
  font-size: 14px; font-weight: 500; color: var(--text);
  position: relative; padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform .3s var(--ease);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav a.is-active { color: var(--text); }
.nav__cta { margin-left: 8px; }
.nav__cta::after { display: none !important; }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px; padding: 0;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--text); margin: 5px auto;
  transition: transform .25s var(--ease);
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 16px 28px; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav a::after { display: none; }
  .nav__cta { margin: 12px 0 0; text-align: center; }
  .brand { font-size: 17px; }
  .brand__icon { width: 28px; height: 28px; }
}
@media (max-width: 480px) {
  .brand { font-size: 15px; }
  .brand__icon { width: 24px; height: 24px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--bg-dark);
  color: #fff;
  padding: 140px 0 120px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  /* Animated dot grid (SVG) — not a gradient, just a tiled pattern */
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'><circle cx='1.5' cy='1.5' r='1.5' fill='%23FF6B35' fill-opacity='0.18'/></svg>");
  background-size: 40px 40px;
  z-index: -2;
  animation: drift 30s linear infinite;
}
.hero::after {
  /* Vignette to keep text readable — solid color overlay, fades edges */
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, transparent 0%, rgba(11,20,38,0.65) 70%);
  z-index: -1;
}
@keyframes drift {
  from { background-position: 0 0; }
  to   { background-position: 40px 40px; }
}
.hero h1 { color: #fff; }
.hero p {
  color: rgba(255,255,255,0.78); font-size: 19px; max-width: 680px;
}
.hero__inner { max-width: 880px; position: relative; z-index: 1; }
.hero__actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__trust {
  margin-top: 56px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.hero__trust strong { color: #fff; font-weight: 500; }
.hero__trust .dot { color: var(--accent); margin: 0 8px; }

.hero--sub { padding: 100px 0 80px; }
.hero--sub h1 { font-size: clamp(36px, 4.5vw, 56px); }

/* Floating node-graph visual on the right (decorative) */
.hero-visual {
  position: absolute; top: 50%; right: -60px; transform: translateY(-50%);
  width: 520px; height: 520px;
  z-index: 0; opacity: 0.85; pointer-events: none;
}
.hero-visual svg { width: 100%; height: 100%; }
.hero-visual .node { fill: var(--accent); }
.hero-visual .ring { fill: none; stroke: var(--accent); stroke-width: 1; opacity: 0.35; }
.hero-visual .line { stroke: var(--accent); stroke-width: 1; opacity: 0.4; }
.hero-visual .pulse-1 { animation: nodepulse 3s var(--ease-out) infinite; transform-origin: center; transform-box: fill-box; }
.hero-visual .pulse-2 { animation: nodepulse 3s var(--ease-out) .8s infinite; transform-origin: center; transform-box: fill-box; }
.hero-visual .pulse-3 { animation: nodepulse 3s var(--ease-out) 1.6s infinite; transform-origin: center; transform-box: fill-box; }
@keyframes nodepulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.4); }
}
.hero-visual .spin-slow { animation: spin 60s linear infinite; transform-origin: center; transform-box: fill-box; }
.hero-visual .spin-rev  { animation: spin 90s linear reverse infinite; transform-origin: center; transform-box: fill-box; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1100px) { .hero-visual { display: none; } }

/* ---------- Page intro (calm white interior page header) ----------
   Used on interior pages (services, products, industries, careers,
   newsroom, contact, research) instead of the dark .hero--sub band.
   Type-led, no decorative animation. */
.page-intro {
  padding: 96px 0 48px;
}
.page-intro__inner {
  max-width: 780px;
}
.page-intro h1 {
  font-size: clamp(38px, 5vw, 60px);
  margin-bottom: 22px;
}
.page-intro__lede {
  font-size: 19px;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 660px;
  margin: 0;
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--4, .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  position: relative;
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0;
  height: 3px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 15px; }
.card__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 16px;
  transition: all .35s var(--ease);
}
.card:hover .card__icon { background: var(--accent); color: var(--bg-dark); transform: rotate(-6deg); }
.card__tag {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 11px; border-radius: 999px;
  margin-bottom: 16px;
}
.card .link-arrow { margin-top: 14px; }

/* ---------- Detail rows (services page) ---------- */
.detail {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  padding: 80px 0;
  border-top: 1px solid var(--border);
  position: relative;
}
.detail:first-child { border-top: 0; padding-top: 0; }
.detail__num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px; font-weight: 600; color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.detail h2 { font-size: clamp(28px, 3vw, 36px); }
.detail ul { padding: 0; margin: 0; list-style: none; }
.detail li {
  position: relative;
  color: var(--text-muted);
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid var(--border);
}
.detail li:last-child { border-bottom: 0; }
.detail li::before {
  content: ""; position: absolute; left: 0; top: 18px;
  width: 14px; height: 2px; background: var(--accent);
}
@media (max-width: 880px) { .detail { grid-template-columns: 1fr; gap: 28px; padding: 56px 0; } }

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 24px 0;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: inline-flex;
  gap: 72px;
  align-items: center;
  white-space: nowrap;
  animation: marquee 36s linear infinite;
  padding-right: 72px;
}
.marquee:hover .marquee__track { animation-play-state: paused; }

/* Tile = logo on top, label below */
.marquee__item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 110px;
  text-decoration: none;
  transition: transform .3s var(--ease);
}
.marquee__item:hover { transform: translateY(-3px); }
.marquee__logo {
  height: 40px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
  filter: grayscale(0.15);
  opacity: 0.9;
  transition: filter .3s var(--ease), opacity .3s var(--ease);
}
.marquee__item:hover .marquee__logo {
  filter: grayscale(0) saturate(1.1);
  opacity: 1;
}
.marquee__label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px; font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  transition: color .3s var(--ease);
}
.marquee__item:hover .marquee__label { color: var(--text); }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* dark variant */
.section--dark .marquee__label { color: rgba(255,255,255,0.6); }
.section--dark .marquee__item:hover .marquee__label { color: #fff; }
.section--dark .marquee__logo { opacity: 0.85; }
.section--dark .marquee__item:hover .marquee__logo { opacity: 1; }

/* ---------- Tech stack (static, categorized) ---------- */
.tech-stack { display: grid; gap: 56px; }
.tech-stack__group { }
.tech-stack__heading {
  display: flex; align-items: center; justify-content: center; gap: 24px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.20em; text-transform: uppercase;
  color: var(--text);
  margin: 0 0 36px;
  text-align: center;
}
.tech-stack__heading::before,
.tech-stack__heading::after {
  content: ""; flex: 1; height: 2px;
  background: var(--accent);
  max-width: 220px;
}
.section--dark .tech-stack__heading { color: #fff; }
.section--dark .tech-stack__heading::before,
.section--dark .tech-stack__heading::after { background: var(--accent); }

.tech-stack__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}
.tech-stack__item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px;
  padding: 32px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.tech-stack__item:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}
.tech-stack__item img {
  height: 52px; width: auto; max-width: 72px; object-fit: contain;
  transition: transform .3s var(--ease);
}
.tech-stack__item:hover img { transform: scale(1.06); }
.tech-stack__item span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px; font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}

/* dark variant */
.section--dark .tech-stack__item {
  background: rgba(255,255,255,0.04);
  border-color: var(--border-dark);
}
.section--dark .tech-stack__item:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--accent);
}
.section--dark .tech-stack__item span { color: #fff; }

/* ---------- Empty state ---------- */
.empty-state {
  text-align: center;
  padding: 80px 32px;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  background: #fff;
}
.empty-state__icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px; font-weight: 700;
  margin-bottom: 20px;
}
.empty-state h3 { margin-bottom: 12px; }
.empty-state p { color: var(--text-muted); max-width: 520px; margin: 0 auto 24px; }

/* ---------- News / Newsroom ---------- */
.news-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.news-card::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0;
  height: 3px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); border-color: transparent; }
.news-card:hover::before { transform: scaleX(1); }
.news-card__meta {
  display: flex; flex-wrap: wrap; gap: 8px 14px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.news-card__category { color: var(--accent); }
.news-card__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px; font-weight: 700;
  color: var(--text); letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 12px;
}
.news-card__excerpt { color: var(--text-muted); font-size: 15px; flex: 1; margin: 0 0 18px; }
.news-card .link-arrow { align-self: flex-start; }

/* ---------- Article (news detail) ---------- */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 0 96px;
}
.article__back {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.article__back:hover { color: var(--accent); }
.article__meta {
  display: flex; flex-wrap: wrap; gap: 8px 14px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.article__category { color: var(--accent); }
.article h1 {
  font-size: clamp(32px, 4vw, 44px);
  margin-bottom: 24px;
}
.article__lede {
  font-size: 19px; line-height: 1.6;
  color: var(--text); margin: 0 0 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.article__body { font-size: 17px; line-height: 1.75; }
.article__body p { color: var(--text); margin: 0 0 22px; }
.article__body h2 {
  font-size: 26px; margin: 44px 0 16px;
}
.article__body ul { padding-left: 22px; margin: 0 0 22px; }
.article__body li { margin-bottom: 8px; }
.article__notice {
  margin-top: 48px;
  padding: 18px 22px;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  font-size: 14px; color: var(--text-muted);
}

/* ---------- Career postings ---------- */
.job-list { display: grid; gap: 20px; }
.job {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.job:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}
.job__head { }
.job__role {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px; font-weight: 700;
  color: var(--text); letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.job__meta {
  display: flex; flex-wrap: wrap; gap: 8px 14px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.job__meta span {
  display: inline-flex; align-items: center; gap: 6px;
}
.job__meta span + span::before {
  content: "·"; color: var(--accent); font-size: 16px;
}
.job__desc { color: var(--text-muted); font-size: 15px; margin: 0 0 14px; }
.job__skills { display: flex; flex-wrap: wrap; gap: 8px; }
.job__chip {
  display: inline-block;
  padding: 5px 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
}
.job__cta {
  align-self: center;
}
@media (max-width: 740px) {
  .job { grid-template-columns: 1fr; }
  .job__cta { justify-self: start; }
}

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  padding: 24px 0;
  border-top: 2px solid var(--accent);
}
.stat__num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700; line-height: 1;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.section--dark .stat__num { color: #fff; }
.stat__label {
  font-size: 14px; color: var(--text-muted);
  line-height: 1.4;
}
.section--dark .stat__label { color: rgba(255,255,255,0.7); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--bg-dark);
  color: #fff;
  text-align: center;
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'><circle cx='1.5' cy='1.5' r='1.5' fill='%23FF6B35' fill-opacity='0.10'/></svg>");
  background-size: 40px 40px;
}
.cta-band > .container { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(32px, 4vw, 48px); }
.cta-band p { color: rgba(255,255,255,0.78); max-width: 620px; margin: 0 auto 36px; font-size: 18px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-darker);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
  font-size: 14px;
}
.site-footer a { color: rgba(255,255,255,0.7); }
.site-footer a:hover { color: var(--accent); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-dark);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px; font-weight: 700; color: #fff;
  margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px;
}
.footer-brand .brand__dot { background: var(--accent); }
.footer-col h4 {
  color: #fff; font-family: 'Space Grotesk', sans-serif;
  font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; margin-bottom: 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: rgba(255,255,255,0.45);
}

/* ---------- Forms ---------- */
.form { display: grid; gap: 20px; }
.form label {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text); margin-bottom: 8px;
}
.form input, .form textarea {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form input:focus, .form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.form textarea { min-height: 160px; resize: vertical; }

/* ---------- Contact layout ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 72px;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact-info dt {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-top: 24px;
}
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd {
  margin: 6px 0 0;
  color: var(--text);
  font-size: 16px;
}
.contact-info dd a { color: var(--text); border-bottom: 1px solid var(--accent); }
.contact-info dd a:hover { color: var(--accent); }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .accent-word::after { animation: none; transform: scaleX(1); }
  .brand__dot { animation: none; }
  .marquee__track { animation: none; }
  .hero::before { animation: none; }
}
