:root {
  --ink: #07151f;
  --midnight: #0b202b;
  --navy-soft: #123441;
  --mist: #dce8e4;
  --muted: #8ea6a6;
  --signal: #c9f27a;
  --amber: #f3b35b;
  --line: rgba(220, 232, 228, 0.15);
  --display: 'Manrope', 'Inter', ui-sans-serif, system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
}

.site-shell {
  position: relative;
  overflow: hidden;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  width: 100%;
  border-bottom: 1px solid rgba(220, 232, 228, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--mist);
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: end;
  gap: 3px;
  height: 22px;
}

.brand-mark span {
  display: block;
  width: 4px;
  border-radius: 3px;
  background: var(--signal);
  transform: skewX(-20deg);
}

.brand-mark span:nth-child(1) { height: 10px; opacity: 0.55; }
.brand-mark span:nth-child(2) { height: 16px; opacity: 0.8; }
.brand-mark span:nth-child(3) { height: 22px; }

.brand-name {
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.brand-name strong { color: var(--signal); font-weight: 800; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.primary-nav a {
  color: var(--mist);
  text-decoration: none;
  transition: color 180ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible { color: var(--signal); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(201, 242, 122, 0.6);
  border-radius: 999px;
  padding: 0.65rem 1rem;
  color: var(--signal) !important;
}

.nav-cta:hover,
.nav-cta:focus-visible { background: rgba(201, 242, 122, 0.1); }

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--mist);
}

.hero-section {
  position: relative;
  min-height: 850px;
  background: radial-gradient(circle at 76% 18%, rgba(30, 79, 84, 0.55), transparent 32%), var(--ink);
}

.hero-section::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(220, 232, 228, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(220, 232, 228, 0.035) 1px, transparent 1px);
  background-size: 74px 74px;
  content: '';
  mask-image: linear-gradient(to bottom, black, transparent 80%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  pointer-events: none;
}

.hero-glow-one {
  top: 13rem;
  left: -15rem;
  width: 26rem;
  height: 26rem;
  background: rgba(201, 242, 122, 0.06);
}

.hero-glow-two {
  right: 26%;
  bottom: 7rem;
  width: 18rem;
  height: 18rem;
  background: rgba(243, 179, 91, 0.06);
}

.hero-copy { position: relative; z-index: 1; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.6rem;
  color: var(--signal);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow span { display: inline-block; width: 2.5rem; height: 1px; background: var(--signal); }

.hero-copy h1,
.section h2,
.contact-copy h2 {
  max-width: 720px;
  margin: 0;
  color: var(--mist);
  font-family: var(--display);
  font-size: clamp(3.5rem, 7vw, 6.6rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.94;
}

.hero-copy h1 em,
.section h2 span,
.contact-copy h2 em { color: var(--signal); font-style: normal; }

.hero-lede {
  max-width: 500px;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  min-height: 3.35rem;
  padding: 0 1.35rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible { transform: translateY(-2px); }

.button-primary { background: var(--signal); color: var(--ink); box-shadow: 0 12px 30px rgba(201, 242, 122, 0.15); }
.button-primary:hover,
.button-primary:focus-visible { background: #daf79a; box-shadow: 0 16px 34px rgba(201, 242, 122, 0.24); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--mist);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease, gap 180ms ease;
}

.text-link:hover,
.text-link:focus-visible { gap: 0.9rem; color: var(--signal); }

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 5.5rem;
}

.hero-proof div { display: flex; align-items: center; gap: 0.6rem; color: var(--muted); font-size: 0.7rem; }
.hero-proof strong { color: var(--amber); font-size: 0.65rem; letter-spacing: 0.1em; }

.hero-visual { position: relative; z-index: 1; }
.hero-image-wrap { position: relative; min-height: 540px; overflow: hidden; border-radius: 0.2rem; background: var(--midnight); box-shadow: 22px 26px 70px rgba(0, 0, 0, 0.25); }
.hero-image-wrap::after { position: absolute; inset: 1rem; border: 1px solid rgba(220, 232, 228, 0.22); content: ''; pointer-events: none; }
.hero-image-wrap img { width: 100%; height: 100%; min-height: 540px; object-fit: cover; opacity: 0.82; }
.image-tint { position: absolute; inset: 0; background: linear-gradient(145deg, rgba(7, 21, 31, 0.1), rgba(7, 21, 31, 0.68)); }
.hero-image-label { position: absolute; top: 2.2rem; left: 2.3rem; display: flex; align-items: center; gap: 0.55rem; color: var(--mist); font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; }
.pulse-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 5px rgba(201, 242, 122, 0.14); }

.hero-chart-card { position: absolute; right: 1.75rem; bottom: 2rem; width: min(260px, calc(100% - 3.5rem)); padding: 1.1rem; border: 1px solid rgba(220, 232, 228, 0.2); background: rgba(7, 21, 31, 0.8); backdrop-filter: blur(12px); }
.chart-card-top, .chart-card-bottom { display: flex; justify-content: space-between; gap: 0.5rem; font-size: 0.62rem; }
.chart-card-top { color: var(--mist); }
.chart-card-top strong { color: var(--signal); font-size: 1rem; font-weight: 500; }
.chart-card-bottom { color: var(--muted); }
.chart-positive { color: var(--signal); }
.mini-chart { display: flex; align-items: end; gap: 0.3rem; height: 84px; padding: 1rem 0 0.8rem; }
.mini-chart i { display: block; flex: 1; min-width: 0.35rem; border-radius: 1px 1px 0 0; background: var(--signal); opacity: 0.45; transform-origin: bottom; animation: grow 1.3s ease both; }
.mini-chart i:nth-child(1) { height: 26%; }.mini-chart i:nth-child(2) { height: 38%; animation-delay: 60ms; }.mini-chart i:nth-child(3) { height: 34%; animation-delay: 120ms; }.mini-chart i:nth-child(4) { height: 56%; animation-delay: 180ms; }.mini-chart i:nth-child(5) { height: 47%; animation-delay: 240ms; }.mini-chart i:nth-child(6) { height: 69%; animation-delay: 300ms; }.mini-chart i:nth-child(7) { height: 62%; animation-delay: 360ms; }.mini-chart i:nth-child(8) { height: 81%; animation-delay: 420ms; }.mini-chart i:nth-child(9) { height: 100%; opacity: 1; animation-delay: 480ms; }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.visual-caption { margin: 0.9rem 0 0; color: var(--muted); font-size: 0.68rem; text-align: right; }
.hero-scroll-hint { position: absolute; right: 2.5rem; bottom: 2.2rem; display: flex; align-items: center; gap: 0.7rem; color: var(--muted); font-size: 0.65rem; letter-spacing: 0.07em; transform: rotate(-90deg) translateX(100%); transform-origin: right; }
.hero-scroll-hint span { display: block; width: 2.3rem; height: 1px; background: var(--muted); }

.signal-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(11, 32, 43, 0.72); }
.signal-item { display: flex; align-items: center; gap: 1rem; border-right: 1px solid var(--line); }
.signal-item:last-child { border-right: 0; }
.signal-number { color: var(--amber); font-size: 0.65rem; letter-spacing: 0.12em; }
.signal-item p { margin: 0; color: var(--mist); font-family: var(--display); font-size: 0.86rem; }

.section { padding-top: 8.5rem; padding-bottom: 8.5rem; }
.about-section { background: var(--midnight); }
.section h2 { font-size: clamp(2.8rem, 5vw, 5rem); }
.section-kicker { max-width: 260px; margin: 2rem 0 0; color: var(--amber); font-family: var(--display); font-size: 1rem; line-height: 1.5; }
.body-lede { max-width: 620px; margin: 0; color: var(--mist); font-size: 1.16rem; line-height: 1.75; }
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 4rem; }
.about-grid article { padding-top: 1.25rem; border-top: 1px solid var(--line); }
.card-index { color: var(--signal); font-size: 0.65rem; letter-spacing: 0.14em; }
.about-grid h3 { margin: 1.2rem 0 0.7rem; color: var(--mist); font-family: var(--display); font-size: 1rem; font-weight: 600; }
.about-grid p { margin: 0; color: var(--muted); font-size: 0.82rem; line-height: 1.7; }

.services-section { background: var(--ink); }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.heading-note { max-width: 265px; margin: 0 0 0.4rem; color: var(--muted); font-size: 0.9rem; line-height: 1.65; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 4rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { display: flex; min-height: 390px; flex-direction: column; padding: 1.4rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background 220ms ease, transform 220ms ease; }
.service-card:hover { background: rgba(201, 242, 122, 0.06); transform: translateY(-4px); }
.service-card-feature { background: var(--midnight); }
.service-card-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 0.62rem; letter-spacing: 0.1em; }
.service-icon { color: var(--signal); font-size: 1.6rem; line-height: 1; }
.service-card h3 { margin: 5rem 0 1rem; color: var(--mist); font-family: var(--display); font-size: 1.28rem; font-weight: 600; letter-spacing: -0.02em; }
.service-card p { margin: 0; color: var(--muted); font-size: 0.82rem; line-height: 1.7; }
.service-card a { display: inline-flex; align-items: center; gap: 0.55rem; margin-top: auto; padding-top: 2rem; color: var(--signal); font-size: 0.7rem; text-decoration: none; }
.service-card a:hover { color: var(--amber); }

.analytics-section { padding: 8.5rem 0; background: var(--navy-soft); }
.analytics-visual { position: relative; min-height: 530px; overflow: hidden; border: 1px solid rgba(220, 232, 228, 0.18); }
.analytics-visual img { width: 100%; height: 100%; min-height: 530px; object-fit: cover; opacity: 0.75; }
.analytics-visual::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 21, 31, 0.85), transparent 62%); content: ''; }
.analytics-overlay { position: absolute; z-index: 1; bottom: 1.8rem; left: 1.8rem; display: grid; grid-template-columns: auto auto; align-items: end; column-gap: 1rem; }
.analytics-overlay span { grid-column: 1 / -1; margin-bottom: 0.3rem; color: var(--mist); font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; }
.analytics-overlay strong { color: var(--signal); font-family: var(--display); font-size: 3.4rem; font-weight: 500; letter-spacing: -0.08em; line-height: 1; }
.analytics-overlay small { max-width: 120px; color: var(--muted); font-size: 0.7rem; line-height: 1.4; }
.analytics-copy h2 { max-width: 560px; }
.analytics-copy .body-lede { margin-top: 2rem; color: var(--mist); }
.review-steps { display: grid; gap: 1.15rem; margin: 2.5rem 0 2.2rem; padding: 0; list-style: none; }
.review-steps li { display: grid; grid-template-columns: 2.1rem 1fr; gap: 0.8rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.review-steps li > span { color: var(--signal); font-size: 0.65rem; letter-spacing: 0.1em; }
.review-steps strong { color: var(--mist); font-family: var(--display); font-size: 0.92rem; font-weight: 600; }
.review-steps p { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.78rem; line-height: 1.55; }

.contact-section { padding: 8.5rem 0; background: var(--signal); color: var(--ink); }
.contact-section .eyebrow { color: var(--ink); }
.contact-section .eyebrow span { background: var(--ink); }
.contact-copy h2 { max-width: 590px; color: var(--ink); }
.contact-copy h2 em { color: var(--midnight); }
.contact-copy > p:not(.eyebrow) { max-width: 450px; margin: 2rem 0; color: rgba(7, 21, 31, 0.7); font-size: 1rem; line-height: 1.7; }
.contact-section .button-primary { background: var(--ink); color: var(--signal); box-shadow: none; }
.contact-section .button-primary:hover,
.contact-section .button-primary:focus-visible { background: var(--midnight); }
.contact-details { border-top: 1px solid rgba(7, 21, 31, 0.28); }
.contact-detail { display: grid; grid-template-columns: 5rem 1fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid rgba(7, 21, 31, 0.28); }
.contact-detail span { color: rgba(7, 21, 31, 0.6); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; }
.contact-detail a, .contact-detail address { color: var(--ink); font-size: 0.9rem; font-style: normal; line-height: 1.5; text-decoration: none; }
.contact-detail a:hover { color: var(--midnight); text-decoration: underline; }

.site-footer { background: var(--ink); }
.site-footer p { margin: 0; color: var(--muted); font-size: 0.68rem; }
.footer-divider { margin: 0 0.5rem; color: var(--signal); }
.back-to-top { color: var(--mist); font-size: 0.7rem; text-decoration: none; }
.back-to-top:hover { color: var(--signal); }

 .reveal { opacity: 1; transform: none; transition: opacity 700ms ease, transform 700ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 100ms; }.reveal-delay-2 { transition-delay: 180ms; }.reveal-delay-3 { transition-delay: 260ms; }.reveal-delay-4 { transition-delay: 340ms; }

@media (max-width: 1024px) {
  .hero-section { min-height: 0; }
  .hero-copy h1 { font-size: clamp(3.5rem, 8vw, 5.8rem); }
  .hero-image-wrap, .hero-image-wrap img { min-height: 460px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { min-height: 350px; }
}

@media (max-width: 768px) {
  .site-header { background: rgba(7, 21, 31, 0.76); backdrop-filter: blur(12px); }
  .menu-toggle { display: grid; gap: 5px; padding: 0.55rem 0; cursor: pointer; }
  .menu-toggle > span:not(.sr-only) { display: block; width: 1.5rem; height: 1px; background: var(--mist); transition: transform 180ms ease; }
  .primary-nav { position: absolute; top: 100%; right: 1.5rem; left: 1.5rem; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 0.7rem; border: 1px solid var(--line); background: var(--midnight); box-shadow: 0 18px 30px rgba(0, 0, 0, 0.22); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 0.85rem; }
  .nav-cta { justify-content: center; margin-top: 0.35rem; }
  .hero-section .mx-auto { padding-top: 8rem; }
  .hero-copy h1 { font-size: clamp(3.3rem, 14vw, 5.2rem); }
  .hero-proof { margin-top: 3.5rem; gap: 1rem 1.5rem; }
  .hero-visual { margin-top: 2rem; }
  .hero-image-wrap, .hero-image-wrap img { min-height: 420px; }
  .hero-scroll-hint { display: none; }
  .signal-item { border-right: 0; }
  .signal-item p { font-size: 0.75rem; }
  .section, .analytics-section, .contact-section { padding-top: 6rem; padding-bottom: 6rem; }
  .about-grid { grid-template-columns: 1fr; gap: 1.4rem; margin-top: 3rem; }
  .section-heading-row { display: block; }
  .heading-note { margin-top: 1.6rem; }
  .service-grid { grid-template-columns: 1fr; margin-top: 3rem; }
  .service-card { min-height: 320px; }
  .service-card h3 { margin-top: 3.5rem; }
  .analytics-visual { min-height: 400px; }
  .analytics-visual img { min-height: 400px; }
  .analytics-copy { margin-top: 0.5rem; }
  .site-footer .brand { order: 1; }
  .site-footer p { order: 3; }
  .back-to-top { order: 2; }
}

@media (max-width: 420px) {
  .brand-name { font-size: 0.66rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-image-wrap, .hero-image-wrap img { min-height: 350px; }
  .hero-chart-card { right: 1.25rem; bottom: 1.25rem; width: calc(100% - 2.5rem); }
  .contact-detail { grid-template-columns: 4.5rem 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
