:root {
  --bg: #08060d;
  --panel: #110d18;
  --panel-2: #171020;
  --ink: #f7f2ff;
  --muted: #a79bb8;
  --line: rgba(255, 255, 255, 0.12);
  --purple: #8b3dff;
  --purple-2: #c451ff;
  --red: #ff354f;
  --gold: #ffa536;
  --white: #ffffff;
  --max: 1180px;
  --radius: 8px;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 74% 8%, rgba(139, 61, 255, 0.22), transparent 32rem),
    radial-gradient(circle at 18% 18%, rgba(255, 53, 79, 0.15), transparent 26rem),
    linear-gradient(180deg, #08060d 0%, #0e0816 46%, #08060d 100%);
  color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 78%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(120deg, rgba(255,255,255,0.06), transparent 18%, transparent 80%, rgba(255,255,255,0.05));
  opacity: 0.45;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(8, 6, 13, 0.82);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 38px;
  height: 48px;
  object-fit: contain;
}

.brand span {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.02rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--ink);
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--red), var(--purple));
  box-shadow: 0 14px 44px rgba(139, 61, 255, 0.28);
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 52px 0 74px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 44px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", Inter, sans-serif;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(3.3rem, 8vw, 7.8rem);
  line-height: 0.9;
  max-width: 850px;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(110deg, #fff, #cdb7ff 42%, #ff526c 82%);
  -webkit-background-clip: text;
  background-clip: text;
}

.lead {
  margin: 24px 0 0;
  max-width: 660px;
  color: #d6cfe2;
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  line-height: 1.65;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-stage {
  position: relative;
  min-height: 560px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #09040d;
  isolation: isolate;
}

.hero-stage img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  filter: saturate(1.12) contrast(1.08);
  transform: scale(1.02);
}

.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8,6,13,0.92), transparent 42%),
    linear-gradient(0deg, rgba(8,6,13,0.9), transparent 52%),
    linear-gradient(135deg, rgba(139, 61, 255, 0.42), rgba(255, 53, 79, 0.18));
}

.stage-panel {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: rgba(8, 6, 13, 0.66);
  backdrop-filter: blur(14px);
  border-radius: var(--radius);
  overflow: hidden;
}

.stage-panel div {
  padding: 16px;
  border-right: 1px solid var(--line);
}

.stage-panel div:last-child {
  border-right: 0;
}

.stat {
  display: block;
  color: var(--ink);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
}

.label {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255,255,255,0.035);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee span {
  padding: 18px 24px;
  color: #d4c9e5;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

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

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
}

.section.narrow {
  max-width: 900px;
}

.section-head {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 44px;
  align-items: end;
  margin-bottom: 42px;
}

.section-title {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4.7rem);
  line-height: 0.98;
}

.section-copy {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.72;
}

.product-stack {
  display: grid;
  gap: 18px;
}

.product-feature {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,0.04);
}

.product-feature:nth-child(even) .product-media {
  order: 2;
}

.product-media {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  background: #050308;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease, filter 0.8s ease;
}

.product-feature:hover .product-media img,
.tile:hover img,
.news-card:hover img {
  transform: scale(1.04);
  filter: saturate(1.18) contrast(1.06);
}

.product-content {
  padding: clamp(30px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-kicker,
.card-kicker {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-content h2 {
  margin: 14px 0 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
}

.product-content p,
.card p,
.service-row p,
.news-card p,
.impact-item p,
.timeline p {
  color: var(--muted);
  line-height: 1.7;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  color: #ddd5eb;
  background: rgba(255,255,255,0.035);
  font-size: 0.9rem;
}

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

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

.card,
.news-card,
.impact-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.045);
  overflow: hidden;
}

.card {
  padding: 26px;
}

.card h3,
.service-row h3,
.news-card h3,
.impact-item h3 {
  margin: 12px 0 10px;
  font-size: 1.45rem;
  line-height: 1.15;
}

.tile {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0a0610;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease, filter 0.8s ease;
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8,6,13,0.96), transparent 68%);
}

.tile-content {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2;
}

.tile-content h3 {
  margin: 8px 0;
  font-size: 1.45rem;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 0.54fr 1fr;
  gap: 34px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.service-row h3 {
  margin-top: 0;
}

.impact-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(139,61,255,0.14), rgba(255,53,79,0.08));
}

.impact-item {
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  padding: 28px;
  background: transparent;
}

.impact-item:last-child {
  border-right: 0;
}

.big-number {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.9;
  font-weight: 800;
  color: var(--white);
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline article {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.035);
}

.timeline time {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timeline h3 {
  margin: 0 0 8px;
}

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

.news-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.8s ease, filter 0.8s ease;
}

.news-body {
  padding: 22px;
}

.source-link {
  display: inline-flex;
  margin-top: 10px;
  color: #e7d7ff;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.media-toolbar {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 14px;
  margin: 0 0 20px;
}

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

.coverage-card {
  display: grid;
  grid-template-rows: 118px 1fr;
  min-height: 310px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,0.04);
}

.coverage-card img {
  width: 100%;
  height: 118px;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.06);
}

.coverage-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.coverage-body h3 {
  margin: 8px 0;
  font-size: 1rem;
  line-height: 1.2;
}

.coverage-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.coverage-body .source-link {
  margin-top: auto;
}

.coverage-count {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.client-wall {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,0.04);
}

.client-wall img {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
}

.logo-marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255,255,255,0.035);
}

.logo-track {
  display: flex;
  width: max-content;
  gap: 14px;
  padding: 18px 0;
  animation: logo-marquee 34s linear infinite;
}

.logo-track.reverse {
  animation-direction: reverse;
  animation-duration: 38s;
}

.logo-card {
  width: 190px;
  height: 98px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.055);
  padding: 14px;
}

.logo-card img {
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
}

.wordmark {
  font-family: "Space Grotesk", Inter, sans-serif;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-align: center;
}

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

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: start;
}

.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: rgba(255,255,255,0.045);
  min-width: 0;
}

.contact-panel .section-title {
  overflow-wrap: anywhere;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  color: #d9d0e8;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0,0,0,0.28);
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(196, 81, 255, 0.72);
  box-shadow: 0 0 0 3px rgba(139,61,255,0.16);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,0.24);
}

.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 0.88rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.page-hero {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0 56px;
}

.page-hero h1 {
  max-width: 980px;
}

.page-hero .lead {
  max-width: 780px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(8, 6, 13, 0.96);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 14px;
  }

  .hero-grid,
  .section-head,
  .product-feature,
  .contact-layout,
  .service-row {
    grid-template-columns: 1fr;
  }

  .product-feature:nth-child(even) .product-media {
    order: 0;
  }

  .hero-stage,
  .hero-stage img {
    min-height: 430px;
  }

  .grid-3,
  .news-grid,
  .coverage-grid,
  .impact-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .impact-item:nth-child(2) {
    border-right: 0;
  }

  .impact-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .nav,
  .hero,
  .section,
  .page-hero,
  .footer-inner {
    width: min(100% - 28px, var(--max));
  }

  .brand span {
    font-size: 0.86rem;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.6rem);
  }

  .hero {
    padding-top: 30px;
  }

  .hero-stage,
  .hero-stage img {
    min-height: 360px;
  }

  .stage-panel,
  .grid-2,
  .grid-3,
  .news-grid,
  .coverage-grid,
  .media-toolbar,
  .impact-band,
  .feature-list,
  .form-grid,
  .timeline article {
    grid-template-columns: 1fr;
  }

  .stage-panel div,
  .impact-item,
  .impact-item:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stage-panel div:last-child,
  .impact-item:last-child {
    border-bottom: 0;
  }

  .product-media {
    min-height: 300px;
  }

  .section {
    padding: 70px 0;
  }

  .footer-inner {
    flex-direction: column;
  }
}
