:root {
  --bg: #000000;
  --surface: rgba(20, 24, 36, 0.62);
  --surface-strong: #0c0e18;
  --surface-dark: #0b1f4a;
  --surface-darker: #060f2c;
  --text: #e6edf7;
  --text-soft: #a5b0c4;
  --line: rgba(100, 180, 255, 0.2);
  --accent: #22d0ea;
  --accent-strong: #4aa4ff;
  --accent-deep: #6fe0ff;
  --accent-soft: rgba(34, 208, 234, 0.14);
  --gold: #8fa1ff;
  --ink: #ffffff;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 50px 140px rgba(0, 0, 0, 0.8);
  --radius: 28px;
  --radius-sm: 18px;
  --max-width: 1200px;
  --ring-gradient: conic-gradient(from 180deg at 50% 50%,
    #1e86ee 0deg,
    #22d0ea 90deg,
    #2f3ad8 210deg,
    #1e86ee 360deg);
  --brand-gradient: linear-gradient(135deg, #2f3ad8 0%, #1e86ee 45%, #22d0ea 100%);
  --brand-gradient-soft: linear-gradient(135deg,
    rgba(47, 58, 216, 0.12),
    rgba(30, 134, 238, 0.1),
    rgba(34, 208, 234, 0.12));
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  min-width: 320px;
  background: #000000;
  color: var(--text);
  font-family: "Poppins", "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  line-height: 1.6;
  overflow-x: clip;
}

/* Subtle grid + noise layer */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 82%);
  pointer-events: none;
  z-index: 0;
}

/* Floating aurora blobs in the background */
body::after {
  content: "";
  display: none;
}

@keyframes aurora-drift {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-2%, 2%, 0); }
  100% { transform: translate3d(2%, -1%, 0); }
}

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

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

button {
  font: inherit;
}

.site-shell {
  position: relative;
  z-index: 1;
}

.site-header,
.hero,
.section,
.site-footer {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

/* ==========================
   HEADER
   ========================== */
.site-header {
  position: sticky;
  top: 0.8rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.75rem 0.5rem 0.75rem 1rem;
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  background: rgba(14, 18, 28, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 20px 50px rgba(0, 0, 0, 0.5);
}

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

.brand-logo {
  display: block;
  flex: none;
  width: 3rem;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(30, 134, 238, 0.28));
  transition: transform 320ms ease;
}

.brand:hover .brand-logo {
  transform: rotate(-6deg) scale(1.04);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong,
h1,
h2,
h3 {
  font-family: "Poppins", "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-copy strong {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-copy span {
  color: var(--text-soft);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  color: var(--text-soft);
  font-weight: 500;
}

.site-nav a {
  position: relative;
  padding: 0.3rem 0;
  transition: color 200ms ease;
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--brand-gradient);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav a:not(.nav-cta):hover,
.site-nav a:not(.nav-cta):focus-visible {
  color: var(--ink);
}

.site-nav a:not(.nav-cta):hover::after,
.site-nav a:not(.nav-cta):focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 0.85rem 2.6rem !important;
  border-radius: 999px;
  background: var(--brand-gradient);
  color: #ffffff;
  font-size: 0.9rem;
  box-shadow: 0 10px 26px rgba(30, 70, 196, 0.35);
  transition: transform 200ms ease, box-shadow 200ms ease;
  white-space: nowrap;
  margin-right: 0.3rem;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(30, 70, 196, 0.45);
}

.nav-toggle {
  display: none;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(20, 24, 36, 0.8);
  color: var(--text);
  cursor: pointer;
}

/* ==========================
   HERO
   ========================== */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
  padding: 5rem 0 2rem;
}

/* Decorative realistic earth orb behind hero */
.hero::before {
  content: "";
  position: absolute;
  top: -2rem;
  right: -8rem;
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  background:
    /* Sphere shading overlay (terminator + specular) */
    radial-gradient(circle at 35% 35%, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 28%),
    radial-gradient(circle at 50% 50%, transparent 45%, rgba(4,12,40,0.55) 100%),
    /* Equirectangular earth texture, tiled horizontally, mapped onto the sphere */
    url("assets/earth-texture.jpg");
  background-repeat: no-repeat, no-repeat, repeat-x;
  background-size: cover, cover, auto 100%;
  background-position: center, center, 0% center;
  box-shadow:
    inset -3rem -4rem 8rem rgba(4, 12, 40, 0.65),
    inset 2rem 2rem 5rem rgba(255, 255, 255, 0.06),
    0 0 5rem rgba(110, 190, 255, 0.4),
    0 0 12rem rgba(34, 120, 220, 0.3);
  animation: earth-spin 120s linear infinite;
}

/* Atmosphere halo */
.hero::after {
  content: "";
  position: absolute;
  top: -4rem;
  right: -10rem;
  width: 40rem;
  height: 40rem;
  border-radius: 50%;
  pointer-events: none;
  z-index: -2;
  background: radial-gradient(circle, rgba(140, 200, 255, 0.25) 44%, rgba(110, 180, 255, 0.1) 50%, transparent 58%);
  filter: blur(6px);
}

@keyframes earth-spin {
  from { background-position: center, center, 0% center; }
  to { background-position: center, center, -200% center; }
}

.hero-copy,
.hero-panel,
.section,
.site-footer {
  position: relative;
}

.hero-copy,
.hero-panel {
  display: grid;
  align-content: start;
}

.eyebrow {
  margin: 0 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-slate .eyebrow::before,
.section-ink .eyebrow::before,
.customer-heading .eyebrow::before {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: none !important;
}

/* Hide all card-level eyebrow-style tags */
.hero-highlights article > span,
.panel-label,
.engagement-tag,
.service-index {
  display: none !important;
}

/* Kill all decorative accent bars/borders on cards */
.hero-highlights article::before,
.platform-card::before,
.engagement-card::before,
.panel-metrics div::before,
.intro-card::before {
  content: none !important;
  display: none !important;
  background: none !important;
}

.signal-list article {
  border-left: none !important;
}

.signal-list article::before {
  content: none !important;
  display: none !important;
  background: none !important;
  box-shadow: none !important;
}

h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(3rem, 6.2vw, 5.8rem);
  line-height: 1.02;
  color: var(--ink);
  letter-spacing: 0;
  word-spacing: 0.02em;
}

h1 .accent-word {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  display: inline-block;
  padding: 0 0.15em 0.05em;
  margin: 0 -0.05em;
  line-height: 1.08;
}

.lede {
  max-width: 62ch;
  margin: 1.6rem 0 0;
  font-size: 1.1rem;
  color: var(--text-soft);
  text-wrap: pretty;
}

.hero-actions,
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-actions {
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms ease,
    background 220ms ease;
}

.button svg {
  transition: transform 220ms ease;
}

.button:hover svg,
.button:focus-visible svg {
  transform: translateX(3px);
}

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

.button:focus-visible,
.filter-button:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 2px;
}

.site-nav a:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 3px;
  border-radius: 4px;
}

.button-primary {
  background: var(--brand-gradient);
  color: #ffffff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 14px 30px rgba(30, 70, 196, 0.35);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 20px 42px rgba(30, 70, 196, 0.48);
}

.button-secondary {
  background: rgba(20, 24, 36, 0.7);
  border: 1px solid rgba(100, 180, 255, 0.25);
  color: var(--text);
  backdrop-filter: blur(12px);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(30, 40, 60, 0.9);
  border-color: rgba(100, 180, 255, 0.45);
  box-shadow: 0 12px 30px rgba(30, 134, 238, 0.25);
}

.hero-highlights {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.hero-highlights article,
.service-card,
.platform-card,
.engagement-card,
.journey-card,
.contact-panel,
.panel-surface {
  position: relative;
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-highlights article {
  padding: 1.3rem 1.35rem;
  overflow: hidden;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.hero-highlights article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-gradient);
  opacity: 0.8;
}

.hero-highlights article:hover {
  transform: translateY(-3px);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
  border-color: rgba(100, 180, 255, 0.28);
}

.hero-highlights span,
.panel-label {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.panel-label {
  color: #ffffff;
}

.hero-highlights p {
  margin: 0;
  color: var(--text-soft);
}

.hero-panel {
  display: grid;
  gap: 1rem;
  align-content: start;
}

/* Dark glass panel with wave motif */
.panel-surface {
  position: relative;
  overflow: hidden;
  padding: 1.7rem;
  background:
    linear-gradient(160deg, rgba(4, 17, 47, 0.97), rgba(18, 70, 196, 0.92)),
    radial-gradient(circle at top right, rgba(34, 208, 234, 0.28), transparent 40%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 30px 80px rgba(4, 17, 47, 0.3);
}

/* Flowing striation backdrop inspired by the logo */
.panel-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    28deg,
    transparent 0 5px,
    rgba(34, 208, 234, 0.06) 5px 6px
  );
  mask-image: radial-gradient(ellipse 90% 60% at 85% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 85% 30%, #000 0%, transparent 70%);
  pointer-events: none;
}

.panel-surface::after {
  content: "";
  position: absolute;
  inset: auto -18% -24% auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 208, 234, 0.42), transparent 62%);
  pointer-events: none;
}

.panel-surface > * {
  position: relative;
  z-index: 1;
}

.signal-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 0.3rem;
}

.signal-list article {
  position: relative;
  padding: 0.95rem 1rem 0.95rem 1.2rem;
  border-left: 2px solid transparent;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0 16px 16px 0;
  transition: background 240ms ease, border-color 240ms ease;
}

.signal-list article::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #22d0ea, #1e86ee);
  border-radius: 2px;
  opacity: 0.6;
}

.signal-list article:hover {
  background: rgba(255, 255, 255, 0.07);
}

.signal-list article:hover::before {
  opacity: 1;
  box-shadow: 0 0 18px rgba(34, 208, 234, 0.45);
}

.signal-list h3 {
  margin: 0 0 0.3rem;
  font-size: 1.18rem;
  color: #ffffff;
}

.signal-list p,
.panel-metrics span {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.panel-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.3rem;
}

.panel-metrics div {
  position: relative;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.panel-metrics div::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 28px;
  height: 1px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(34, 208, 234, 0.6);
}

.panel-metrics strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
  color: #ffffff;
}

.solution-label {
  margin: 0 0 0.2rem;
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.solution-marquee {
  display: flex;
  gap: 0.75rem;
  overflow: hidden;
  width: 100%;
  padding: 0.85rem;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 20px 42px rgba(0, 0, 0, 0.5);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.solution-badges {
  display: flex;
  flex: none;
  width: max-content;
  gap: 0.75rem;
  animation: solution-scroll 32s linear infinite;
}

.solution-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  flex: none;
  width: 11rem;
  height: 4.5rem;
  padding: 0.8rem 1.1rem;
  border-radius: 22px;
  border: none;
  background: transparent;
  box-shadow: none;
  filter: none;
  opacity: 1;
  transition: filter 240ms ease, opacity 240ms ease;
}

.solution-badge:hover {
  filter: none;
  opacity: 1;
}

.solution-badge-wordmark {
  justify-content: center;
  padding: 0.6rem 1rem;
  min-height: 3.2rem;
  width: 10rem;
}

.solution-wordmark {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: 2.4rem;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
}

.solution-wordmark-square {
  max-height: 2.4rem;
  width: auto;
}

.solution-wordmark-ansible {
  max-height: 3rem !important;
  max-width: 11rem !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center !important;
}

.solution-wordmark-large {
  max-height: 3.4rem !important;
  max-width: 11rem;
}

.solution-wordmark-kubernetes {
  max-height: 7rem !important;
  max-width: 22rem !important;
}

.solution-text {
  font-family: "Poppins", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1;
}

.solution-text-openshift {
  color: #ee0000;
}

.solution-text-ansible {
  color: #1a1918;
}

@keyframes solution-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-100% - 0.75rem)); }
}

/* ==========================
   SECTIONS
   ========================== */
.section {
  padding: 4rem 0;
}

.section-intro {
  display: grid;
  gap: 1.4rem;
}

.section-intro .section-heading {
  grid-template-columns: 1fr;
}

.section-intro .section-heading h2 {
  max-width: none;
}

.section-intro .section-support {
  max-width: none;
  justify-self: start;
}

#services .section-heading,
#delivery .section-heading,
#platforms .section-heading,
#engagements .section-heading {
  grid-template-columns: 1fr;
}

#services .section-heading h2,
#delivery .section-heading h2,
#platforms .section-heading h2,
#engagements .section-heading h2 {
  max-width: none;
}

#services .section-support,
#delivery .section-support,
#platforms .section-support,
#engagements .section-support {
  max-width: none;
  justify-self: start;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: 0.9rem 1.6rem;
  align-items: start;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.section-heading h2 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2.2rem, 4.2vw, 3.9rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
}

.section-slate .section-heading h2,
.section-ink .section-heading h2 {
  color: #ffffff;
}

.section-support,
.section-copy {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.04rem;
  text-wrap: pretty;
}

.section-support {
  max-width: 38ch;
  align-self: start;
  justify-self: end;
}

.intro-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.intro-card {
  position: relative;
  padding: 1.35rem 1.35rem 1.35rem 1.5rem;
  background: rgba(20, 24, 36, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  transition: transform 240ms ease, box-shadow 240ms ease;
  overflow: hidden;
}

.intro-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35rem;
  bottom: 1.35rem;
  width: 3px;
  border-radius: 3px;
  background: var(--brand-gradient);
}

.intro-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.7);
  border-color: rgba(100, 180, 255, 0.28);
}

.intro-card strong {
  display: block;
  margin-bottom: 0.45rem;
  font-family: "Poppins", "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}

.intro-card p {
  margin: 0;
  color: var(--text-soft);
}

/* ==========================
   FILTER BAR
   ========================== */
.filter-bar {
  margin: 2rem 0 1.4rem;
  padding: 0.4rem;
  background: rgba(20, 24, 36, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  width: fit-content;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.filter-button {
  padding: 0.6rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--text-soft);
  font-weight: 500;
  cursor: pointer;
  transition:
    background 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease;
}

.filter-button:hover {
  color: var(--ink);
}

.filter-button.is-active {
  background: var(--brand-gradient);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(30, 70, 196, 0.32);
}

/* ==========================
   SERVICES CAROUSEL
   ========================== */
.services-carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: center;
}

.services-scroll-button {
  position: relative;
  z-index: 3;
  touch-action: manipulation;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.15rem;
  height: 3.15rem;
  border: none;
  border-radius: 22px;
  background: var(--brand-gradient);
  color: #ffffff;
  cursor: pointer;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.3) inset,
    0 16px 34px rgba(30, 70, 196, 0.28);
  transition:
    transform 220ms ease,
    opacity 220ms ease,
    box-shadow 220ms ease;
}

.services-scroll-button:hover,
.services-scroll-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(30, 70, 196, 0.42);
}

.services-scroll-button[disabled] {
  opacity: 0.38;
  transform: none;
  box-shadow: none;
  cursor: default;
}

.services-grid,
.platform-grid,
.engagement-grid,
.journey-grid {
  display: grid;
  gap: 1rem;
}

.services-grid {
  grid-auto-flow: column;
  grid-auto-columns: minmax(19rem, 23rem);
  grid-template-columns: none;
  align-items: stretch;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.75rem 0.15rem 1.25rem;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.services-grid::-webkit-scrollbar {
  display: none;
  height: 0;
  width: 0;
}

.services-grid::-webkit-scrollbar-thumb {
  background: transparent;
}

.services-grid::-webkit-scrollbar-track {
  background: transparent;
}

.services-grid:focus-visible {
  outline: 2px solid rgba(30, 134, 238, 0.5);
  outline-offset: 0.25rem;
}

.service-card {
  position: relative;
  padding: 1.6rem 1.5rem;
  height: 100%;
  overflow: visible;
  background: rgba(18, 22, 34, 0.88);
  /* Hairline brand-tinted border gives definition without a shadow band */
  border: 1px solid rgba(100, 180, 255, 0.18);
  box-shadow: none;
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 260ms ease,
    box-shadow 260ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(100, 180, 255, 0.45);
  box-shadow: 0 18px 40px -8px rgba(30, 134, 238, 0.4);
}

/* Tag chips inside cards */
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 1.6rem;
  padding: 0;
  list-style: none;
}
.card-tags li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.26rem 0.85rem 0.26rem 0.97rem;
  border-radius: 999px;
  background: rgba(100, 180, 255, 0.12);
  color: #a8c8ff;
  border: 1px solid rgba(100, 180, 255, 0.3);
}
/* Absorb the trailing letter-spacing overhang so text sits truly centered */
.card-tags li::after {
  content: "";
  display: inline-block;
  width: 0.12em;
}
.card-tags li[data-tag="modernize"] { color: #b7bfff; border-color: rgba(143,161,255,0.45); background: rgba(47,58,216,0.18); }
.card-tags li[data-tag="secure"]    { color: #9bb8ff; border-color: rgba(100,160,255,0.45); background: rgba(18,70,196,0.22); }
.card-tags li[data-tag="automate"]  { color: #8fd0ff; border-color: rgba(74,164,255,0.5); background: rgba(30,134,238,0.2); }
.card-tags li[data-tag="operate"]   { color: #8fe9f3; border-color: rgba(34,208,234,0.55); background: rgba(34,208,234,0.18); }

/* Card outcome line */
.card-outcome {
  margin: 1.1rem 0 0;
  padding: 0.55rem 0 0;
  border-top: 1px dashed rgba(100, 180, 255, 0.3);
  font-size: 0.82rem;
  color: var(--text-soft);
  font-style: italic;
}
.card-outcome strong { color: var(--text); font-style: normal; font-weight: 700; }

/* Edge fade masks on carousel track */
.services-carousel {
  position: relative;
}
.services-carousel::before,
.services-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3rem;
  pointer-events: none;
  z-index: 2;
}
.services-carousel::before { left: 2.4rem; background: linear-gradient(90deg, rgba(0,0,0,1), rgba(0,0,0,0)); }
.services-carousel::after  { right: 2.4rem; background: linear-gradient(270deg, rgba(0,0,0,1), rgba(0,0,0,0)); }

/* Filter bar active state */
.filter-button.is-active {
  background: var(--brand-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 22px -10px rgba(30, 134, 238, 0.55);
}
.filter-button .count {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.05rem 0.42rem;
  border-radius: 999px;
  font-size: 0.7rem;
  background: rgba(100, 180, 255, 0.18);
  color: #a8c8ff;
  font-weight: 700;
}
.filter-button.is-active .count {
  background: rgba(255,255,255,0.25);
  color: #ffffff;
}

/* Scroll button subtle pulse on hover */
.services-scroll-button {
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}
.services-scroll-button:hover {
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 10px 28px -14px rgba(30,134,238,0.55);
}

/* Section divider motif */
.section + .section::before {
  content: "";
  display: block;
  width: 64px;
  height: 2px;
  margin: 0 auto 2.4rem;
  background: linear-gradient(90deg, transparent, rgba(30,134,238,0.45), transparent);
}

/* Gradient halo on service card hover */
.service-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--brand-gradient);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 260ms ease;
  pointer-events: none;
}

.service-card:hover,
.platform-card:hover,
.engagement-card:hover,
.journey-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

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

.service-card.is-hidden {
  display: none;
}

.service-index {
  font-family: "Poppins", "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.2rem;
}

.service-card h3,
.journey-card h3,
.deliverables-strip h3,
.platform-card h3,
.engagement-card h3,
.contact-panel h2 {
  margin: 0 0 0.7rem;
  font-size: 1.45rem;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.service-card p,
.journey-card p,
.platform-card p,
.engagement-card p,
.contact-panel p,
.site-footer p {
  margin: 0;
  color: var(--text-soft);
}

.service-card ul {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--text);
}

.service-card ul:not(.card-tags) li {
  position: relative;
  padding-left: 1.4rem;
}

.service-card ul:not(.card-tags) li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--brand-gradient);
  box-shadow: 0 0 0 3px rgba(30, 134, 238, 0.12);
}

.service-card ul:not(.card-tags) li + li {
  margin-top: 0.6rem;
}

/* Ensure tag-chip list items don't inherit bullet padding */
.service-card .card-tags li { padding: 0.26rem 0.85rem 0.26rem 0.97rem; }
.service-card .card-tags li::before { display: none; content: none; }

/* Extra space between chips and the card title */
.service-card .card-tags + h3 {
  margin-top: 0.9rem;
}

/* ==========================
   DELIVERY / SLATE SECTION
   ========================== */
.section-slate {
  position: relative;
  margin-top: 1rem;
  border-radius: 44px;
  background:
    linear-gradient(135deg, rgba(4, 17, 47, 0.97), rgba(18, 70, 196, 0.92)),
    radial-gradient(circle at top right, rgba(34, 208, 234, 0.22), transparent 36%);
  color: #ffffff;
  padding: 3.6rem 2rem;
  overflow: hidden;
}

/* Decorative flowing wave backdrop */
.section-slate::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(-30deg, transparent 0 6px, rgba(34, 208, 234, 0.05) 6px 7px),
    radial-gradient(800px 400px at 10% 120%, rgba(47, 58, 216, 0.4), transparent 60%);
  mask-image: radial-gradient(ellipse 90% 80% at 100% 0%, #000, transparent 60%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 100% 0%, #000, transparent 60%);
  pointer-events: none;
}

.section-slate > * { position: relative; z-index: 1; }

.section-slate .eyebrow {
  color: rgba(255, 255, 255, 0.95);
}

.section-slate .eyebrow::before,
.section-ink .eyebrow::before,
.customer-heading .eyebrow::before {
  background: linear-gradient(90deg, #22d0ea, #ffffff);
}

.section-slate .section-heading h2,
.section-ink .section-heading h2,
.section-slate .journey-card h3,
.section-ink .engagement-card h3 {
  color: #ffffff;
}

.section-slate .section-support,
.section-ink .section-support {
  color: rgba(255, 255, 255, 0.82);
}

.section-slate p,
.section-slate span,
.section-slate strong,
.section-ink p,
.section-ink span,
.section-ink strong {
  color: rgba(255, 255, 255, 0.9);
}

.section-slate .journey-card,
.deliverables-strip div,
.section-ink .engagement-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ==========================
   JOURNEY GRID (enhanced)
   ========================== */
.journey-grid {
  --journey-col-gap: 1.75rem;
  --journey-row-gap: 2.25rem;
  --journey-line: #b5f7ff;
  --journey-line-soft: rgba(181, 247, 255, 0.28);
  --journey-arrow-thickness: 4px;
  --journey-arrow-head: 0.78rem;
  --journey-arrow-glow: 0 0 0.85rem rgba(181, 247, 255, 0.4);
  --journey-flow-duration: 12s;
  position: relative;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--journey-col-gap);
  row-gap: var(--journey-row-gap);
  margin-top: 1.75rem;
}

.journey-card {
  --journey-delay: 0s;
  position: relative;
  overflow: visible;
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  animation: journey-card-flow var(--journey-flow-duration) linear infinite;
  animation-delay: var(--journey-delay);
}

.journey-card:nth-child(1) { --journey-delay: 0s; }
.journey-card:nth-child(2) { --journey-delay: 2s; }
.journey-card:nth-child(3) { --journey-delay: 4s; }
.journey-card:nth-child(4) {
  --journey-delay: 6s;
  grid-column: 3;
  grid-row: 2;
}
.journey-card:nth-child(5) {
  --journey-delay: 8s;
  grid-column: 2;
  grid-row: 2;
}
.journey-card:nth-child(6) {
  --journey-delay: 10s;
  grid-column: 1;
  grid-row: 2;
}

.journey-card:nth-child(1)::before,
.journey-card:nth-child(2)::before,
.journey-card:nth-child(4)::before,
.journey-card:nth-child(5)::before {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(var(--journey-col-gap) - 0.4rem);
  height: var(--journey-arrow-thickness);
  color: var(--journey-line-soft);
  background: currentColor;
  border-radius: 999px;
  transform: translateY(-50%);
  animation: journey-connector-flow var(--journey-flow-duration) linear infinite;
  animation-delay: calc(var(--journey-delay) + 0.95s);
}

.journey-card:nth-child(1)::after,
.journey-card:nth-child(2)::after,
.journey-card:nth-child(4)::after,
.journey-card:nth-child(5)::after {
  content: "";
  position: absolute;
  top: 50%;
  color: var(--journey-line-soft);
  transform: translateY(-50%);
  animation: journey-arrowhead-flow var(--journey-flow-duration) linear infinite;
  animation-delay: calc(var(--journey-delay) + 0.95s);
}

.journey-card:nth-child(1)::before,
.journey-card:nth-child(2)::before {
  left: calc(100% + 0.2rem);
}
.journey-card:nth-child(1)::after,
.journey-card:nth-child(2)::after {
  left: calc(100% + var(--journey-col-gap) - var(--journey-arrow-head));
  border-left: var(--journey-arrow-head) solid currentColor;
  border-top: calc(var(--journey-arrow-head) * 0.62) solid transparent;
  border-bottom: calc(var(--journey-arrow-head) * 0.62) solid transparent;
}
.journey-card:nth-child(4)::before,
.journey-card:nth-child(5)::before {
  left: calc(-1 * var(--journey-col-gap) + 0.2rem);
}
.journey-card:nth-child(4)::after,
.journey-card:nth-child(5)::after {
  left: calc(-1 * var(--journey-col-gap) - 0.02rem);
  border-right: var(--journey-arrow-head) solid currentColor;
  border-top: calc(var(--journey-arrow-head) * 0.62) solid transparent;
  border-bottom: calc(var(--journey-arrow-head) * 0.62) solid transparent;
}
.journey-card:nth-child(3)::before {
  content: "";
  position: absolute;
  top: calc(100% + 0.18rem);
  left: 50%;
  width: var(--journey-arrow-thickness);
  height: calc(var(--journey-row-gap) - 0.3rem);
  color: var(--journey-line-soft);
  background: currentColor;
  border-radius: 999px;
  transform: translateX(-50%);
  animation: journey-connector-flow var(--journey-flow-duration) linear infinite;
  animation-delay: calc(var(--journey-delay) + 0.95s);
}
.journey-card:nth-child(3)::after {
  content: "";
  position: absolute;
  top: calc(100% + var(--journey-row-gap) - var(--journey-arrow-head) + 0.08rem);
  left: 50%;
  color: var(--journey-line-soft);
  transform: translateX(-50%);
  border-top: var(--journey-arrow-head) solid currentColor;
  border-left: calc(var(--journey-arrow-head) * 0.62) solid transparent;
  border-right: calc(var(--journey-arrow-head) * 0.62) solid transparent;
  animation: journey-arrowhead-flow var(--journey-flow-duration) linear infinite;
  animation-delay: calc(var(--journey-delay) + 0.95s);
}

.journey-card span {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  background: rgba(34, 208, 234, 0.18);
  color: #ffffff;
  font-family: "Poppins", "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  border: 1px solid rgba(181, 247, 255, 0.3);
  animation: journey-node-flow var(--journey-flow-duration) linear infinite;
  animation-delay: var(--journey-delay);
}

@keyframes journey-card-flow {
  0%, 100% {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
  }
  6%, 13% {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(181, 247, 255, 0.92);
    box-shadow:
      0 0 0 1px rgba(181, 247, 255, 0.16),
      0 18px 42px rgba(4, 16, 38, 0.2),
      0 0 1.15rem rgba(181, 247, 255, 0.24);
  }
  18%, 100% {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
  }
}

@keyframes journey-node-flow {
  0%, 100% {
    background: rgba(34, 208, 234, 0.18);
    box-shadow: none;
  }
  6%, 13% {
    background: rgba(181, 247, 255, 0.28);
    box-shadow:
      0 0 0 1px rgba(181, 247, 255, 0.3),
      0 0 1rem rgba(181, 247, 255, 0.3);
  }
  18%, 100% {
    background: rgba(34, 208, 234, 0.18);
    box-shadow: none;
  }
}

@keyframes journey-connector-flow {
  0%, 100% {
    color: var(--journey-line-soft);
    opacity: 0.5;
    box-shadow: none;
  }
  10%, 18% {
    color: var(--journey-line);
    opacity: 1;
    box-shadow: var(--journey-arrow-glow);
  }
  24%, 100% {
    color: var(--journey-line-soft);
    opacity: 0.5;
    box-shadow: none;
  }
}

@keyframes journey-arrowhead-flow {
  0%, 100% {
    color: var(--journey-line-soft);
    opacity: 0.55;
    filter: none;
  }
  10%, 18% {
    color: var(--journey-line);
    opacity: 1;
    filter: drop-shadow(0 0 0.7rem rgba(181, 247, 255, 0.42));
  }
  24%, 100% {
    color: var(--journey-line-soft);
    opacity: 0.55;
    filter: none;
  }
}

.deliverables-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
}

.deliverables-strip div {
  padding: 1.3rem;
  border-radius: var(--radius-sm);
}

.deliverables-strip h3 {
  color: #ffffff;
  font-size: 1.2rem;
}

/* ==========================
   PLATFORM GRID
   ========================== */
.platform-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.9rem;
}

.platform-card {
  position: relative;
  padding: 1.6rem 1.5rem 1.5rem;
  overflow: hidden;
  background: rgba(18, 22, 34, 0.86);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.platform-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 3px;
  background: var(--brand-gradient);
  border-radius: 0 0 3px 3px;
}

.platform-card::after {
  content: "";
  position: absolute;
  bottom: -60%;
  right: -20%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 58, 216, 0.28), rgba(30, 134, 238, 0.18) 40%, transparent 70%);
  pointer-events: none;
}

/* ==========================
   ENGAGEMENT (ink) SECTION
   ========================== */
.section-clients {
  padding-top: 2.5rem;
  padding-bottom: 1.2rem;
}

#contact.section {
  padding-top: 1.2rem;
}

.customer-frame {
  position: relative;
  overflow: hidden;
  padding: 2rem 1.75rem;
  border-radius: 44px;
  background:
    linear-gradient(145deg, rgba(4, 17, 47, 0.97), rgba(18, 70, 196, 0.94)),
    radial-gradient(circle at top right, rgba(34, 208, 234, 0.22), transparent 36%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
  color: #ffffff;
}

.customer-frame::before {
  content: "";
  position: absolute;
  inset: -10% auto auto 74%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 208, 234, 0.26), transparent 66%);
  pointer-events: none;
}

.customer-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    32deg,
    transparent 0 7px,
    rgba(34, 208, 234, 0.04) 7px 8px
  );
  mask-image: radial-gradient(ellipse 70% 60% at 10% 20%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 10% 20%, #000 0%, transparent 70%);
  pointer-events: none;
}

.customer-heading,
.customer-rails {
  position: relative;
  z-index: 1;
}

.customer-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 0.9rem 1.6rem;
  align-items: start;
}

.customer-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
  color: #ffffff;
}

.customer-heading h2 {
  margin: 0;
  max-width: 14ch;
  color: #ffffff;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.customer-heading .section-copy {
  max-width: 40ch;
  justify-self: end;
  color: rgba(255, 255, 255, 0.82);
}

.section-clients .customer-heading {
  grid-template-columns: 1fr;
}

.section-clients .customer-heading h2,
.section-clients .customer-heading .section-copy {
  max-width: none;
}

.section-clients .customer-heading .section-copy {
  justify-self: start;
}

.customer-rails {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.customer-marquee {
  display: flex;
  gap: 0.85rem;
  overflow: hidden;
  width: 100%;
  padding: 0.9rem;
  border-radius: 30px;
  background: #f4f7fb;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.customer-track {
  display: flex;
  flex: none;
  width: max-content;
  gap: 0.85rem;
  animation: customer-scroll 48s linear infinite;
}

.customer-marquee-reverse .customer-track {
  animation-direction: reverse;
  animation-duration: 52s;
}

.customer-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 10rem !important;
  height: 4rem !important;
  padding: 0.4rem 0.6rem;
  border-radius: 22px;
  background: transparent;
  border: 1px solid transparent;
  transition: background 240ms ease, border-color 240ms ease;
}

.customer-badge:hover {
  background: rgba(30, 134, 238, 0.06);
  border-color: rgba(30, 134, 238, 0.14);
}

.customer-badge img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 3rem !important;
  object-fit: contain;
  object-position: center;
  filter: none;
  opacity: 1;
  transition: filter 240ms ease, opacity 240ms ease;
}

.customer-badge:hover img {
  filter: none;
  opacity: 1;
}

@keyframes customer-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-100% - 0.85rem)); }
}

.section-ink {
  position: relative;
  margin-top: 1rem;
  border-radius: 44px;
  background:
    linear-gradient(180deg, rgba(4, 17, 47, 0.97), rgba(10, 32, 80, 0.97)),
    radial-gradient(circle at top left, rgba(34, 208, 234, 0.2), transparent 36%);
  color: #ffffff;
  padding: 3.6rem 2rem;
  overflow: hidden;
}

.section-ink::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -28deg,
    transparent 0 8px,
    rgba(34, 208, 234, 0.04) 8px 9px
  );
  mask-image: radial-gradient(ellipse 70% 60% at 90% 100%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 90% 100%, #000 0%, transparent 70%);
  pointer-events: none;
}

.section-ink > * { position: relative; z-index: 1; }

.section-ink .eyebrow {
  color: #ffffff;
}

.engagement-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.9rem;
}

.engagement-card {
  padding: 1.7rem 1.6rem;
  position: relative;
  overflow: hidden;
}

.engagement-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.6rem;
  width: 36px;
  height: 3px;
  background: linear-gradient(90deg, #22d0ea, #ffffff);
  border-radius: 0 0 3px 3px;
  box-shadow: 0 0 16px rgba(34, 208, 234, 0.45);
}

.platform-card {
  padding: 1.6rem 1.5rem 1.5rem;
}

/* ==========================
   CONTACT
   ========================== */
.contact-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
  gap: 1.8rem;
  padding: 2rem 1.9rem;
  position: relative;
  overflow: hidden;
}

.contact-panel::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: var(--brand-gradient);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.35;
  pointer-events: none;
}

.contact-panel::after {
  content: "";
  position: absolute;
  top: -60%;
  right: -10%;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 208, 234, 0.22), transparent 65%);
  pointer-events: none;
}

.contact-panel > * { position: relative; z-index: 1; }

.contact-panel > .eyebrow {
  grid-column: 1;
  grid-row: 1;
  margin-bottom: 0;
}

.contact-copy {
  grid-column: 1;
  grid-row: 2;
}

.contact-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.contact-copy .button {
  margin-top: 1.3rem;
}

.contact-points {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

.contact-points div {
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: rgba(20, 24, 36, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.contact-points div:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  border-color: rgba(100, 180, 255, 0.3);
}

.contact-points strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

/* ==========================
   FOOTER
   ========================== */
.site-footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
  padding: 3rem 0 3.5rem;
  color: var(--text-soft);
  font-size: 0.94rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
  line-height: 1.6;
}

.site-footer p:first-child {
  font-family: inherit;
  font-weight: 400;
  color: var(--text-soft);
  font-size: 0.85rem;
  letter-spacing: 0;
  min-width: 0;
}

.site-footer p:last-child {
  font-size: 0.85rem;
}

[data-reveal]:not(.is-revealed) {
  opacity: 0;
  transform: translateY(1.5rem);
}

[data-reveal] {
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================
   RESPONSIVE
   ========================== */
@media (max-width: 1080px) {
  .hero,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-panel > .eyebrow,
  .contact-copy,
  .contact-points {
    grid-column: auto;
    grid-row: auto;
  }

  .section-heading,
  .customer-heading,
  .section-intro,
  .intro-points {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .journey-grid,
  .platform-grid,
  .hero-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    --journey-col-gap: 1rem;
    --journey-row-gap: 1.9rem;
  }

  .services-grid {
    grid-template-columns: none;
    grid-auto-columns: minmax(18rem, 24rem);
  }

  .panel-metrics,
  .deliverables-strip {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 14ch;
  }

  .section-support {
    max-width: none;
    justify-self: start;
  }

  .customer-heading .section-copy {
    max-width: none;
    justify-self: start;
  }

}

@media (max-width: 820px) {
  .site-header {
    align-items: center;
    flex-wrap: wrap;
    border-radius: 28px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 0.4rem;
  }

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

  .nav-cta {
    text-align: center;
  }

  .services-grid,
  .platform-grid,
  .engagement-grid,
  .journey-grid,
  .intro-points,
  .hero-highlights {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: none;
    grid-auto-columns: minmax(17rem, 82vw);
  }

  .journey-grid {
    grid-template-columns: 1fr;
    row-gap: 1.45rem;
  }

  .journey-card:nth-child(4),
  .journey-card:nth-child(5),
  .journey-card:nth-child(6) {
    grid-column: auto;
    grid-row: auto;
  }

  .journey-card::before,
  .journey-card::after {
    content: none;
  }

  .journey-card:not(:last-child)::before {
    content: "";
    position: absolute;
    top: calc(100% + 0.18rem);
    left: 50%;
    width: var(--journey-arrow-thickness);
    height: 1rem;
    color: var(--journey-line-soft);
    background: currentColor;
    border-radius: 999px;
    transform: translateX(-50%);
    animation: journey-connector-flow var(--journey-flow-duration) linear infinite;
    animation-delay: calc(var(--journey-delay) + 0.95s);
  }

  .journey-card:not(:last-child)::after {
    content: "";
    position: absolute;
    top: calc(100% + 1.02rem);
    left: 50%;
    color: var(--journey-line-soft);
    transform: translateX(-50%);
    border-top: var(--journey-arrow-head) solid currentColor;
    border-left: calc(var(--journey-arrow-head) * 0.62) solid transparent;
    border-right: calc(var(--journey-arrow-head) * 0.62) solid transparent;
    animation: journey-arrowhead-flow var(--journey-flow-duration) linear infinite;
    animation-delay: calc(var(--journey-delay) + 0.95s);
  }

  .section,
  .site-footer {
    width: min(calc(100% - 1.2rem), var(--max-width));
  }

  .section-slate,
  .section-ink {
    padding-inline: 1.25rem;
  }

  .customer-frame {
    padding: 1.4rem;
  }

  .customer-badge {
    width: 9rem;
    height: 3.6rem;
  }

  .customer-badge img {
    max-height: 2.6rem;
  }
}

@media (max-width: 560px) {
  .site-header {
    margin-top: 0.7rem;
    padding: 0.75rem 0.85rem;
  }

  .hero {
    padding-top: 3.2rem;
    gap: 1.6rem;
  }

  .brand-copy strong {
    font-size: 1.25rem;
  }

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

  h1 {
    font-size: clamp(2.5rem, 11vw, 3.2rem);
    line-height: 1.12;
  }

  .hero-actions {
    flex-direction: column;
  }

  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.35rem;
    border-radius: 999px;
    width: 100%;
    max-width: 100%;
  }

  .filter-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-button {
    flex: none;
    width: auto;
  }

  .services-carousel {
    grid-template-columns: 2.7rem minmax(0, 1fr) 2.7rem;
    gap: 0.55rem;
  }

  .services-scroll-button {
    width: 2.7rem;
    height: 2.7rem;
  }

  .button {
    width: 100%;
  }

  .panel-surface,
  .service-card,
  .platform-card,
  .engagement-card,
  .journey-card,
  .contact-panel,
  .customer-frame {
    padding: 1.2rem;
  }

  .customer-rails {
    margin-top: 1.25rem;
  }

  .customer-marquee {
    padding: 0.7rem;
  }

  .customer-badge {
    width: 8rem;
    height: 3.2rem;
    padding: 0.35rem 0.5rem;
  }

  .customer-badge img {
    max-height: 2.2rem;
  }

  .services-grid {
    grid-auto-columns: minmax(16.25rem, 84vw);
  }

  .lede {
    font-size: 1rem;
  }

  .site-footer {
    padding-bottom: 2rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
