/* ============================================================
   Home page — AGLO Software
   Modern, dark, AI-first studio aesthetic.
   Sections: Hero · Metrics · Capabilities · Flagship ·
             Differentiators · Testimonial · Work · Final CTA · Footer
   ============================================================ */

:root {
  --bg: #000000;
  --surface: rgba(15, 15, 15, 0.55);
  --surface-solid: #0a0a0a;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --text: rgba(255, 255, 255, 0.92);
  --text-muted: rgba(255, 255, 255, 0.62);
  --text-dim: rgba(255, 255, 255, 0.42);
  --accent: #10b981;     /* live indicator / AI pulse */
  --accent-dim: rgba(16, 185, 129, 0.5);
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ── Global smooth scroll for anchor navigation ──────────────── */
/* Applies to the home page in particular where the nav has #work.    */
/* scroll-padding-top compensates for the fixed navbar so section     */
/* headers aren't hidden behind it when scrolled to.                  */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Hero-scoped vignette: sits inside .hero (not fixed to viewport).
   Restores the original aggressive mask: strong central radial at 50% 65%
   plus vertical and horizontal edge darkening. */
.vignette--hero {
  background:
    radial-gradient(ellipse 35% 85% at 50% 65%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.95) 40%, transparent 120%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, transparent 22%, transparent 45%, rgba(0, 0, 0, 0.8) 100%, rgba(0, 0, 0, 0.75) 100%),
    linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, transparent 30%, transparent 62%, rgba(0, 0, 0, 0.6) 100%);
}

/* ── Page shell ────────────────────────────────────────────── */
.home {
  position: relative;
  z-index: 10;
  color: var(--text);
}

.section {
  position: relative;
  padding: 120px 24px;
  max-width: 1240px;
  margin: 0 auto;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: rgba(20, 20, 20, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: 28px;
}

.section-headline {
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #ffffff;
  max-width: 840px;
  margin-bottom: 18px;
}

.section-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 640px;
}

/* ==============================================================
   1. HERO
   ============================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 100px;
  text-align: center;
  overflow: hidden; /* clip any pulse glows or dot overflow */
}

/* Canvas and vignette are scoped to the hero only — they override the
   global #dot-canvas / .vignette rules from styles.css which are still
   used by contact.html and the legal pages. */
.hero #dot-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero .vignette--hero {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: rgba(20, 20, 20, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: 32px;
  animation: fadeUp 0.8s 0.1s ease-out both;
}

.hero-eyebrow .pulse-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-dim);
  animation: pulseDot 2.2s ease-out infinite;
}

.hero-headline {
  font-size: clamp(36px, 5.8vw, 78px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.032em;
  margin: 0 0 32px;
}

.hero-headline-line {
  display: block;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.78) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: fadeUp 0.9s 0.25s ease-out both;
}

.hero-headline-line--2 {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.42) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation-delay: 0.4s;
}

.hero-sub {
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 44px;
  animation: fadeUp 0.9s 0.55s ease-out both;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.9s 0.7s ease-out both;
}

.hero-live {
  margin-top: 56px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  color: var(--text-muted);
  padding: 8px 16px;
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: fadeUp 0.9s 0.85s ease-out both;
}

.hero-live .live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-dim);
  animation: pulseDot 2s ease-out infinite;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: rgba(255, 255, 255, 0.95);
  color: #000;
  box-shadow:
    0 0 18px rgba(255, 255, 255, 0.18),
    0 0 40px rgba(255, 255, 255, 0.08);
}

.btn-primary:hover {
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow:
    0 0 22px rgba(255, 255, 255, 0.38),
    0 0 50px rgba(255, 255, 255, 0.2),
    0 0 90px rgba(255, 255, 255, 0.1);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-secondary .btn-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.btn-secondary:hover .btn-arrow {
  transform: translateX(3px);
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4);
}

/* ==============================================================
   2. METRICS STRIP
   ============================================================== */
.metrics {
  padding: 80px 24px;
  max-width: 1240px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.metrics-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 42px;
}

.metrics-eyebrow::before,
.metrics-eyebrow::after {
  content: "";
  flex: 0 0 40px;
  height: 1px;
  background: var(--border);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.metric {
  text-align: center;
  padding: 12px;
}

.metric-value {
  font-family: var(--mono);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 12px;
}

.metric-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==============================================================
   3. CAPABILITIES
   ============================================================== */
.capabilities {
  padding: 140px 24px 120px;
  max-width: 1240px;
  margin: 0 auto;
}

.capabilities-header {
  max-width: 800px;
  margin-bottom: 60px;
}

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

.cap-card {
  position: relative;
  padding: 36px 32px 32px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(12, 12, 12, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.35s ease;
  overflow: hidden;
}

.cap-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.035), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.cap-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(18, 18, 18, 0.65);
  transform: translateY(-2px);
}

.cap-card:hover::before {
  opacity: 1;
}

.cap-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.88);
  transition: all 0.3s ease;
}

.cap-card:hover .cap-icon {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}

.cap-icon svg {
  width: 22px;
  height: 22px;
}

.cap-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.cap-body {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.cap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}

.cap-tag {
  font-family: var(--mono);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-dim);
}

.cap-learn {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease, gap 0.2s ease;
}

.cap-learn:hover {
  color: #ffffff;
  gap: 10px;
}

/* ==============================================================
   4. FLAGSHIP
   ============================================================== */
.flagship {
  padding: 120px 24px;
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
}

.flagship::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: var(--border);
}

.flagship-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

.flagship-body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 560px;
}

.flagship-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 36px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
}

.flagship-stat-value {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 6px;
}

.flagship-stat-label {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.flagship-caps-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.flagship-caps {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}

.flagship-caps li {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}

.flagship-caps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

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

.flagship-scale {
  font-size: 12px;
  color: var(--text-dim);
  font-family: var(--mono);
}

/* Chat mockup (right column) */
.chat-mockup {
  position: relative;
  padding: 28px 22px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.7) 0%, rgba(10, 10, 10, 0.85) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 0 60px rgba(16, 185, 129, 0.05);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.chat-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.chat-avatar svg {
  width: 16px;
  height: 16px;
}

.chat-header-text {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-header-text .live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-dim);
  animation: pulseDot 2s ease-out infinite;
}

.chat-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 260px;
}

.chat-bubble {
  max-width: 82%;
  padding: 11px 15px;
  font-size: 13.5px;
  line-height: 1.5;
  border-radius: 16px;
}

.chat-bubble--user {
  align-self: flex-end;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  border-bottom-right-radius: 4px;
}

.chat-bubble--agent {
  align-self: flex-start;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.18);
  color: rgba(255, 255, 255, 0.92);
  border-bottom-left-radius: 4px;
}

.chat-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}

.chat-footer::before {
  content: "◆";
  color: var(--accent);
  font-size: 9px;
}

/* ==============================================================
   5. DIFFERENTIATORS
   ============================================================== */
.differentiators {
  padding: 140px 24px 120px;
  max-width: 1240px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.diff-header {
  max-width: 760px;
  margin-bottom: 70px;
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.diff-item {
  padding: 36px 28px 32px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.diff-item:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(16, 16, 16, 0.55);
}

.diff-num {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.1em;
  display: inline-block;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  width: 100%;
  margin-bottom: 22px;
}

.diff-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.diff-body {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ==============================================================
   6. TESTIMONIAL
   ============================================================== */
.testimonial {
  padding: 120px 24px;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.testi-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: rgba(20, 20, 20, 0.55);
  margin-bottom: 36px;
}

.testi-quote {
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 36px;
  font-style: italic;
}

.testi-author-block {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.testi-author {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.testi-role {
  font-size: 12px;
  color: var(--text-dim);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

/* ==============================================================
   7. SELECTED WORK
   ============================================================== */
.selected-work {
  padding: 140px 24px 120px;
  max-width: 1240px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.work-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.work-header-text {
  max-width: 640px;
}

.work-cta-link {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid var(--border-strong);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.work-cta-link:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  gap: 12px;
}

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

.work-card {
  position: relative;
  padding: 32px;
  min-height: 280px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.35s ease;
  isolation: isolate;
}

.work-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(16, 185, 129, 0.08), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(255, 255, 255, 0.04), transparent 50%);
  opacity: 0.6;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: -1;
}

.work-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(16, 16, 16, 0.65);
  transform: translateY(-3px);
}

.work-card:hover::before {
  opacity: 1;
}

.work-card-category {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.work-card-title {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.work-card-metric {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.work-card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  color: #ffffff;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.work-card-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.work-card:hover .work-card-arrow {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
}

.work-card:hover .work-card-arrow svg {
  transform: translate(2px, -2px);
}

/* ==============================================================
   8. FINAL CTA
   ============================================================== */
.final-cta {
  padding: 160px 24px 140px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: rgba(20, 20, 20, 0.55);
  margin-bottom: 32px;
}

.cta-headline {
  font-size: clamp(38px, 5.6vw, 76px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.03;
  color: #ffffff;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 26px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.cta-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 44px;
}

.cta-button {
  font-size: 16px;
  padding: 18px 42px;
}

/* ==============================================================
   9. FOOTER
   ============================================================== */
.site-footer {
  position: relative;
  z-index: 10;
  padding: 80px 24px 48px;
  max-width: 1240px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 56px;
  margin-bottom: 72px;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.footer-brand-logo svg {
  width: 26px;
  height: 26px;
}

.footer-brand-name {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.footer-brand-tag {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 320px;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-email {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-family: var(--mono);
  transition: color 0.2s ease;
}

.footer-email:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==============================================================
   Animations
   ============================================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0   rgba(16, 185, 129, 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0   rgba(16, 185, 129, 0); }
}

/* Scroll-triggered fade-in on sections below the hero */
.section-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.section-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================================================
   Responsive
   ============================================================== */
@media (max-width: 1024px) {
  .flagship-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .diff-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

@media (max-width: 780px) {
  .section,
  .capabilities,
  .flagship,
  .differentiators,
  .testimonial,
  .selected-work,
  .final-cta {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    padding: 120px 20px 80px;
  }

  .metrics-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 20px;
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .flagship-caps {
    grid-template-columns: 1fr;
  }

  .flagship-stats {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .work-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .flagship-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ==============================================================
   Reduced motion
   ============================================================== */
@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow,
  .hero-headline-line,
  .hero-headline-line--2,
  .hero-sub,
  .hero-ctas,
  .hero-live,
  .section-reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .pulse-dot,
  .live-dot {
    animation: none !important;
  }

  .cap-card:hover,
  .work-card:hover,
  .btn-primary:hover,
  .btn-secondary:hover {
    transform: none;
  }
}
