:root {
  --ink: #06111f;
  --ink-2: #091a2d;
  --ink-3: #0e2946;
  --blue: #00c2f3;
  --blue-2: #087ffc;
  --blue-dark: #006da8;
  --cyan: #35d6ef;
  --white: #ffffff;
  --paper: #f6f8fb;
  --paper-2: #eef3f8;
  --line: #dce5ed;
  --muted: #68788b;
  --text: #162438;
  --green: #31d5a2;
  --amber: #ffbd59;
  --danger: #da4c62;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 14px 42px rgba(7, 17, 31, 0.08);
  --shadow-lg: 0 34px 90px rgba(0, 0, 0, 0.26);
  --container: 1200px;
  --font-display: "Manrope", "Segoe UI", sans-serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
}

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

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  overscroll-behavior-y: none;

  /* Matches the footer during iOS bottom overscroll. */
  background: #040d17;

  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  width: 100%;
  max-width: 100%;
  min-height: 100%;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  overscroll-behavior-y: none;
  color: var(--text);
  /* iOS exposes the body color during rubber-band overscroll. */
  background: #040d17;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Keep the normal page sections light while the document edge stays dark. */
main {
  background: var(--white);
}

/* Prevent wide animated elements from exposing blank page space on touch. */
@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

main,
.site-header,
.site-footer {
  max-width: 100%;
}

body.modal-open,
body.nav-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

h1,
h2,
h3,
p,
blockquote {
  margin-top: 0;
}

:focus-visible {
  outline: 3px solid rgba(0, 194, 243, 0.45);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 118px 0;
}

.section-light {
  background: var(--white);
}

.section-dark {
  color: var(--white);
  background: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 9999;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: 86px;
  color: var(--white);
  transition:
    height 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.site-header.scrolled {
  height: 74px;
  background: rgba(6, 17, 31, 0.92);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  width: 184px;
  height: 72px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.brand img {
  width: 184px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 600;
}

.site-nav > a:not(.nav-cta) {
  position: relative;
  color: #c9d6e5;
  transition: color 0.2s ease;
}

.site-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.site-nav > a:not(.nav-cta):hover {
  color: var(--white);
}

.site-nav > a:not(.nav-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  min-height: 48px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: var(--ink);
  font-size: 14px;
  font-weight: 700;

  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, #5ee1ff, #00b9ed);
  box-shadow: 0 14px 34px rgba(0, 191, 243, 0.22);

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.nav-cta:hover {
  color: var(--ink);
  background: linear-gradient(135deg, #7de8ff, #1bc8f3);
  box-shadow: 0 18px 42px rgba(0, 191, 243, 0.3);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
}

.nav-toggle span {
  width: 19px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.25s ease;
}

.nav-toggle.open span:first-child {
  transform: translateY(4.2px) rotate(45deg);
}

.nav-toggle.open span:last-child {
  transform: translateY(-4.2px) rotate(-45deg);
}

/* Shared typography and buttons */
.eyebrow,
.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 700;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #b8c8da;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 6px rgba(0, 194, 243, 0.12);
}

.section-kicker {
  display: inline-block;
  margin-bottom: 18px;
  color: #057fa9;
}

.section-kicker.light {
  color: #64dcff;
}

.section-heading h2,
.showcase-intro h2,
.process-copy h2,
.about-copy h2,
.testimonial-heading h2,
.faq-intro h2,
.contact-copy h2,
.modal-info h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(38px, 4.3vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.split-heading,
.work-heading {
  margin-bottom: 64px;
  display: grid;
  grid-template-columns: 1.25fr 0.65fr;
  gap: 80px;
  align-items: end;
}

.section-heading > p {
  max-width: 440px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 18px;
}

.button {
  min-height: 54px;
  padding: 0 20px 0 23px;
  border: 0;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.button svg {
  width: 18px;
}

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

.button-primary {
  color: var(--ink);
  background: linear-gradient(135deg, #5ee1ff, #00b9ed);
  box-shadow: 0 14px 34px rgba(0, 191, 243, 0.22);
}

.button-primary:hover {
  background: linear-gradient(135deg, #7de8ff, #1bc8f3);
  box-shadow: 0 18px 42px rgba(0, 191, 243, 0.3);
}

.button-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: transparent;
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.07);
}

.text-link {
  width: fit-content;
  padding-bottom: 6px;
  border-bottom: 1px solid #9aacbc;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  font-weight: 700;
}

.text-link svg {
  width: 18px;
  color: var(--blue-2);
}

/* Hero */
.hero {
  min-height: 820px;
  position: relative;
  padding: 158px 0 58px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 78% 36%,
      rgba(0, 123, 255, 0.17),
      transparent 28%
    ),
    linear-gradient(135deg, #06111f 0%, #081827 52%, #05101d 100%);
}

.hero::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  left: -320px;
  top: 130px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(255, 255, 255, 0.018),
    0 0 0 150px rgba(255, 255, 255, 0.012);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to right, transparent, #000 45%, #000 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 64px;
  align-items: center;
}

.hero-copy {
  max-width: 610px;
  padding-top: 16px;
}

.hero-copy h1 {
  max-width: 610px;
  margin: 20px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(52px, 4.8vw, 70px);
  line-height: 0.99;
  letter-spacing: -0.055em;
}

.hero-copy h1 span {
  color: transparent;
  background: linear-gradient(90deg, #91ebff 0%, #2acaf6 55%, #25aaff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-copy > p {
  max-width: 500px;
  margin: 0 0 27px;
  color: #aebed0;
  font-size: 17px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.hero-actions .button {
  min-width: 148px;
  min-height: 50px;
  padding: 0 17px;
  gap: 16px;
}

.hero-actions .button svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.hero-visual {
  position: relative;
  min-width: 0;
  transform: perspective(1400px) rotateY(-5deg) rotateX(1.5deg);
  transform-origin: center;
}

/* Hero audience positioning statement */

.hero-audience {
  position: relative;
  z-index: 2;

  margin-top: 44px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.hero-audience p {
  margin: 0;
  flex: 0 1 auto;

  color: #8196aa;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-align: center;
}

.hero-audience strong {
  color: #d7e6f1;
  font-weight: 700;
}

.audience-line {
  width: 54px;
  height: 1px;
  flex: 0 0 auto;

  background: linear-gradient(90deg, transparent, rgba(83, 220, 250, 0.45));
}

.audience-line:last-child {
  transform: rotate(180deg);
}

.dashboard-shell {
  position: relative;
  z-index: 3;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(117, 212, 255, 0.18);
  border-radius: 22px;
  background: #0b1929;
  box-shadow:
    0 44px 100px rgba(0, 0, 0, 0.46),
    0 0 70px rgba(0, 133, 255, 0.08);
}

.dashboard-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    118deg,
    rgba(255, 255, 255, 0.06),
    transparent 22%,
    transparent 72%,
    rgba(0, 191, 243, 0.03)
  );
}

.dashboard-topbar {
  height: 52px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #0d1c2f;
}

.dashboard-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #d9e8f7;
  font-size: 12px;
  font-weight: 700;
}

.mini-mark {
  width: 9px;
  height: 9px;
  display: inline-block;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 0 12px rgba(0, 194, 243, 0.6);
}

.window-actions {
  display: flex;
  gap: 6px;
}

.window-actions span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3b4b60;
}

.dashboard-body {
  padding: 18px;
}

.dashboard-filter-row {
  margin-bottom: 14px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.dashboard-filter-row span {
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  color: #8094aa;
  background: rgba(255, 255, 255, 0.03);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dashboard-filter-row span:last-child {
  color: #65e7be;
}

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

.metric-card {
  min-height: 92px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 11px;
  background: #101f31;
}

.metric-primary {
  background: linear-gradient(145deg, rgba(0, 181, 239, 0.16), #101f31 72%);
  border-color: rgba(0, 194, 243, 0.24);
}

.metric-card small,
.metric-card strong,
.metric-card > span {
  display: block;
}

.metric-card small {
  color: #71869c;
  font-size: 9px;
}

.metric-card strong {
  margin: 5px 0 3px;
  color: #f1f8ff;
  font-family: var(--font-display);
  font-size: 21px;
}

.metric-card > span {
  font-size: 8px;
  font-weight: 700;
}

.trend-up {
  color: #44d6aa;
}
.trend-warn {
  color: var(--amber);
}

.chart-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1.7fr 0.8fr;
  gap: 10px;
}

.chart-card {
  min-height: 235px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  background: #101f31;
}

.chart-head {
  display: flex;
  justify-content: space-between;
  color: #8ea0b3;
  font-size: 9px;
}

.chart-head b {
  color: #52dbb4;
}

.line-chart {
  width: 100%;
  height: 157px;
  margin-top: 12px;
  overflow: visible;
}

.chart-lines line {
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 1;
}

.area-path {
  fill: url(#areaGradient);
}
.line-path {
  fill: none;
  stroke: #21c9f4;
  stroke-width: 3;
  stroke-linecap: round;
}
.line-chart circle {
  fill: #fff;
  stroke: #21c9f4;
  stroke-width: 3;
}

.chart-labels {
  display: flex;
  justify-content: space-between;
  color: #5f7286;
  font-size: 7px;
}

.chart-side {
  display: flex;
  flex-direction: column;
}

.donut {
  width: 112px;
  height: 112px;
  margin: 27px auto 20px;
  padding: 13px;
  border-radius: 50%;
  background: conic-gradient(var(--blue) 0 72%, #27374a 72% 100%);
}

.donut > span {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: #101f31;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
}

.donut small {
  color: #6f8398;
  font-family: var(--font-body);
  font-size: 7px;
  font-weight: 500;
}

.legend {
  display: flex;
  justify-content: center;
  gap: 13px;
  color: #76899d;
  font-size: 7px;
}

.legend span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.legend i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.legend-blue {
  background: var(--blue);
}
.legend-muted {
  background: #344458;
}

.visual-orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(40, 184, 255, 0.14);
  border-radius: 50%;
}

.orbit-one {
  inset: -70px -55px;
  animation: orbit 18s linear infinite;
}
.orbit-two {
  inset: -28px -105px;
  border-style: dashed;
  animation: orbit 24s linear infinite reverse;
}

.floating-insight {
  position: absolute;
  z-index: 5;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ddecfa;
  background: rgba(9, 27, 45, 0.92);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  animation: float 5s ease-in-out infinite;
}

.floating-insight > span {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: rgba(0, 194, 243, 0.12);
}

.floating-insight svg {
  width: 15px;
}
.floating-insight small,
.floating-insight strong {
  display: block;
}
.floating-insight small {
  color: #6f849a;
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.floating-insight strong {
  font-size: 9px;
}
.insight-one {
  right: -31px;
  bottom: 77px;
}
.insight-two {
  left: -28px;
  top: 90px;
  animation-delay: -2.2s;
}

.hero-tools {
  position: relative;
  z-index: 2;
  margin-top: 22px;
  height: 72px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(106, 185, 219, 0.035);
  display: flex;
  align-items: center;
  background: linear-gradient(
    90deg,
    rgba(5, 16, 29, 0) 0%,
    rgba(7, 25, 41, 0.42) 12%,
    rgba(7, 25, 41, 0.42) 88%,
    rgba(5, 16, 29, 0) 100%
  );
}

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

.hero-tools:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.tool {
  min-width: 170px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #91a5b8;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.012em;
  white-space: nowrap;
  opacity: 0.88;
  transition:
    color 220ms ease,
    opacity 220ms ease,
    transform 220ms ease;
}

.tool-logo {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(145, 190, 214, 0.09);
  border-radius: 9px;
  background: linear-gradient(
    145deg,
    rgba(151, 207, 233, 0.075),
    rgba(50, 103, 132, 0.025)
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition:
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.tool-logo img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: none;
  opacity: 0.92;
}

@media (hover: hover) and (pointer: fine) {
  .tool:hover {
    color: #c7d8e5;
    opacity: 1;
    transform: translateY(-1px);
  }

  .tool:hover .tool-logo {
    border-color: rgba(85, 206, 244, 0.2);
    background: rgba(57, 172, 219, 0.08);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.055),
      0 0 18px rgba(34, 191, 238, 0.07);
  }

  .tool:hover .tool-logo img {
    filter: saturate(1) brightness(1) contrast(1);
    opacity: 1;
  }
}

.marquee-fade {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 100px;
  pointer-events: none;
}

.marquee-fade-left {
  left: 0;
  background: linear-gradient(90deg, #06111f 0%, rgba(6, 17, 31, 0));
}
.marquee-fade-right {
  right: 0;
  background: linear-gradient(-90deg, #05101d 0%, rgba(5, 16, 29, 0));
}

/* Expertise */
.expertise-grid {
  display: grid;
  grid-template-columns: 1.14fr 0.93fr 0.93fr;
  gap: 18px;
}

.expertise-card {
  min-height: 470px;
  padding: 31px;
  border: 1px solid var(--line);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  background: var(--white);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.expertise-card:hover {
  transform: translateY(-6px);
  border-color: #baddec;
  box-shadow: var(--shadow-sm);
}

.expertise-card.featured {
  color: var(--white);
  border-color: transparent;
  background:
    radial-gradient(
      circle at 92% 12%,
      rgba(0, 194, 243, 0.24),
      transparent 27%
    ),
    linear-gradient(145deg, #071421, #0a2239);
  box-shadow: 0 24px 58px rgba(7, 17, 31, 0.17);
}

.card-topline {
  margin-bottom: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-topline > span {
  color: #9aa8b7;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
}

.card-topline svg {
  width: 38px;
  height: 38px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--blue-dark);
  background: var(--paper);
}

.featured .card-topline svg {
  border-color: rgba(255, 255, 255, 0.12);
  color: #5ae0ff;
  background: rgba(255, 255, 255, 0.07);
}

.expertise-card h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.expertise-card.featured h3 {
  color: var(--white);
}

.expertise-card p {
  color: var(--muted);
  font-size: 15px;
}

.expertise-card.featured p {
  color: #9fb2c5;
}

.expertise-card ul {
  margin: auto 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  color: #5c6a7b;
  font-size: 13px;
}

.expertise-card.featured ul {
  border-color: rgba(255, 255, 255, 0.1);
  color: #b7c6d5;
}
.expertise-card li {
  margin: 9px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.expertise-card li svg {
  width: 14px;
  color: var(--blue-2);
}
.expertise-card.featured li svg {
  color: #4bd9ff;
}

.expertise-card > a {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  color: #dce9f5;
  font-size: 13px;
  font-weight: 700;
}

.expertise-card > a svg {
  width: 17px;
  color: var(--blue);
}

/* Glimpse slider */
.showcase-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(
      circle at 85% 25%,
      rgba(0, 137, 255, 0.13),
      transparent 26%
    ),
    linear-gradient(145deg, #06111f, #091a2d 70%);
}

.showcase-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.showcase-intro {
  position: relative;
  z-index: 1;

  margin-bottom: 64px;

  display: grid;
  grid-template-columns:
    minmax(0, 1.2fr)
    minmax(280px, 0.48fr);

  gap: clamp(60px, 8vw, 120px);
  align-items: end;
}

.showcase-heading {
  max-width: 780px;
}

.showcase-heading .section-kicker {
  margin-bottom: 22px;
}

.showcase-intro h2 {
  max-width: 760px;
  margin: 0;

  color: var(--white);
  font-size: clamp(46px, 4.4vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.showcase-description {
  max-width: 370px;
  margin: 0 0 8px;

  color: #9cafc1;
  font-size: 17px;
  line-height: 1.65;
}

.glimpse-slider {
  position: relative;
  z-index: 1;
}

.glimpse-track {
  display: flex;
  gap: 28px;
  padding: 0 max(24px, calc((100vw - var(--container)) / 2)) 14px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.glimpse-track::-webkit-scrollbar {
  display: none;
}

.glimpse-slide {
  flex: 0 0 min(900px, 76vw);
  scroll-snap-align: center;
  opacity: 0.46;
  transform: scale(0.965);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

.glimpse-slide.active {
  opacity: 1;
  transform: scale(1);
}

.glimpse-card {
  width: 100%;
  display: block;
  background: transparent;
  cursor: default;
}

.glimpse-visual {
  padding: clamp(12px, 2vw, 26px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.24);
}

.glimpse-dashboard {
  width: 100%;
  overflow: hidden;
  border-radius: 15px;
  background: transparent;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.34);
}

.glimpse-dashboard img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: unset;
}

.slider-controls {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.slider-count {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #51657b;
  font-size: 13px;
}
.slider-count strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 19px;
}
.slider-count span {
  width: 74px;
  height: 1px;
  background: #294159;
}
.slider-buttons {
  display: flex;
  gap: 8px;
}
.slider-buttons button {
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #d7e4f0;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.slider-buttons button:hover {
  color: var(--ink);
  background: var(--blue);
  transform: translateY(-2px);
}
.slider-buttons svg {
  width: 18px;
}

/* Reusable dashboard artwork */
.dashboard-art {
  position: relative;
  overflow: hidden;
  color: #27c7f3;
  background: #0b1726;
}

.dashboard-art.image-art {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f3f6fa;
}

.dashboard-art.image-art img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.theme-ice {
  color: #1485df;
  background: #f0f5f9;
}
.theme-violet {
  color: #8b7cf7;
  background: #101426;
}
.theme-aqua {
  color: #25c7b2;
  background: #0b2027;
}
.theme-sand {
  color: #cf8e45;
  background: #f5efe7;
}

.art-browser {
  height: 32px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #6d8094;
  background: rgba(4, 13, 23, 0.88);
  font-size: 7px;
}

.theme-ice .art-browser,
.theme-sand .art-browser {
  color: #607185;
  background: rgba(255, 255, 255, 0.92);
}
.art-browser span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #415164;
}
.art-browser b {
  margin-left: 6px;
  font-weight: 600;
}

.art-body {
  min-height: 380px;
  display: grid;
  grid-template-columns: 49px 1fr;
}
.art-body aside {
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: rgba(3, 12, 21, 0.55);
}
.theme-ice .art-body aside,
.theme-sand .art-body aside {
  background: rgba(255, 255, 255, 0.68);
}
.art-body aside strong {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: currentColor;
  font-size: 0;
}
.art-body aside strong::after {
  content: "4";
  color: #fff;
  font-size: 8px;
}
.art-body aside i {
  width: 15px;
  height: 3px;
  border-radius: 4px;
  background: rgba(124, 151, 177, 0.2);
}
.art-body aside i:nth-child(2) {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1px solid color-mix(in srgb, currentColor 26%, transparent);
  background: color-mix(in srgb, currentColor 10%, transparent);
}

.art-canvas {
  min-width: 0;
  padding: 18px;
  color: #d9e5f0;
}
.theme-ice .art-canvas,
.theme-sand .art-canvas {
  color: #1e3145;
}
.art-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.art-heading small,
.art-heading b {
  display: block;
}
.art-heading small {
  margin-bottom: 3px;
  color: #74889e;
  font-size: 6px;
  letter-spacing: 0.12em;
}
.art-heading b {
  font-size: 13px;
}
.art-heading > span {
  padding: 4px 7px;
  border-radius: 5px;
  color: #32c597;
  background: rgba(42, 197, 151, 0.1);
  font-size: 6px;
  font-weight: 700;
}
.art-metrics {
  margin: 14px 0 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.art-metrics article {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}
.theme-ice .art-metrics article,
.theme-sand .art-metrics article {
  border-color: rgba(18, 51, 78, 0.08);
  background: rgba(255, 255, 255, 0.65);
}
.art-metrics small,
.art-metrics strong,
.art-metrics span {
  display: block;
}
.art-metrics small {
  color: #76899c;
  font-size: 6px;
}
.art-metrics strong {
  margin: 4px 0 2px;
  font-size: 13px;
}
.art-metrics span {
  color: #32c597;
  font-size: 6px;
  font-weight: 700;
}
.art-panels {
  display: grid;
  grid-template-columns: 1.55fr 0.7fr;
  gap: 8px;
}
.art-trend,
.art-side {
  min-height: 210px;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}
.theme-ice .art-trend,
.theme-ice .art-side,
.theme-sand .art-trend,
.theme-sand .art-side {
  border-color: rgba(18, 51, 78, 0.08);
  background: rgba(255, 255, 255, 0.62);
}
.art-trend > div:first-child {
  display: flex;
  justify-content: space-between;
  color: #6c8095;
  font-size: 6px;
}
.art-trend > div b {
  color: #32c597;
}
.art-trend svg {
  width: 100%;
  height: 150px;
  color: currentColor;
  overflow: visible;
}
.art-area {
  fill: currentColor;
  fill-opacity: 0.12;
  stroke: none;
}
.art-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
}
.art-axis {
  display: flex !important;
  justify-content: space-between !important;
  color: #617487 !important;
  font-size: 5px !important;
}
.art-side > span {
  color: #718498;
  font-size: 6px;
}
.art-ring {
  width: 78px;
  height: 78px;
  margin: 23px auto 20px;
  border: 10px solid color-mix(in srgb, currentColor 18%, transparent);
  border-top-color: currentColor;
  border-right-color: currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transform: rotate(35deg);
}
.art-ring strong {
  color: inherit;
  font-size: 12px;
  transform: rotate(-35deg);
}
.art-bars {
  display: grid;
  gap: 5px;
}
.art-bars i {
  height: 5px;
  border-radius: 4px;
  background: color-mix(in srgb, currentColor 30%, transparent);
}
.art-bars i:nth-child(1) {
  width: 88%;
}
.art-bars i:nth-child(2) {
  width: 62%;
}
.art-bars i:nth-child(3) {
  width: 76%;
}

/* Decision strip */
.decision-strip {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  background: #f9fbfd;
}
.decision-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.decision-grid > div {
  min-height: 76px;
  padding: 0 30px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.decision-grid > div:first-child {
  padding-left: 0;
}
.decision-grid > div:last-child {
  padding-right: 0;
  border-right: 0;
}
.decision-grid strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: -0.025em;
}
.decision-grid span {
  color: var(--muted);
  font-size: 13px;
}

/* Client pain points */
.pain-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 15%, rgba(0, 194, 243, 0.08), transparent 25%),
    var(--paper);
}

.pain-layout {
  display: grid;
  grid-template-columns:
    minmax(300px, 0.8fr)
    minmax(0, 1.2fr);
  gap: clamp(70px, 9vw, 140px);
  align-items: start;
}

.pain-copy {
  position: sticky;
  top: 120px;
}

.pain-copy h2 {
  max-width: 540px;
  margin: 18px 0 25px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(43px, 4.6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.pain-copy > p {
  max-width: 510px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}
.pain-cta {
  min-height: 50px;
  width: fit-content;
  padding: 0 20px;
  gap: 14px;
  border-radius: 12px;
  font-size: 14px;
  text-decoration: none;
}

.pain-cta svg {
  width: 17px;
  height: 17px;
  transition: transform 0.2s ease;
}

.pain-cta:hover svg {
  transform: translate(2px, -2px);
}

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

.pain-item {
  border-bottom: 1px solid var(--line);
}

.pain-trigger {
  width: 100%;
  min-height: 112px;
  padding: 22px 0;
  border: 0;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 30px;
  gap: 18px;
  align-items: center;
  text-align: left;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.pain-icon {
  width: 52px;
  height: 52px;

  border: 1px solid rgba(0, 185, 237, 0.2);
  border-radius: 15px;

  display: grid;
  place-items: center;

  color: #00a9d8;
  background: rgba(255, 255, 255, 0.76);

  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.pain-icon svg {
  width: 23px;
  height: 23px;
}

.pain-title {
  max-width: 610px;
  font-family: var(--font-display);
  font-size: clamp(19px, 1.7vw, 25px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.pain-toggle {
  position: relative;
  width: 24px;
  height: 24px;
}

.pain-toggle::before,
.pain-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease;
}

.pain-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.pain-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.35s ease,
    opacity 0.25s ease;
}

.pain-panel > div {
  min-height: 0;
  overflow: hidden;
}

.pain-panel p {
  max-width: 650px;
  margin: 0;
  padding: 0 48px 28px 76px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.pain-item.is-open .pain-panel {
  grid-template-rows: 1fr;
  opacity: 1;
}

.pain-item.is-open .pain-toggle::after {
  transform: translate(-50%, -50%) rotate(0);
}

.pain-item.is-open .pain-icon {
  color: var(--ink);
  border-color: transparent;
  background: linear-gradient(135deg, #5ee1ff, #00b9ed);

  box-shadow:
    0 10px 25px rgba(0, 191, 243, 0.2),
    0 0 0 4px rgba(0, 191, 243, 0.055);

  transform: translateY(-2px);
}

.pain-trigger:hover .pain-title {
  color: #008db7;
}
.pain-item.is-open .pain-title {
  color: #007fa6;
}

.pain-item.is-open .pain-toggle {
  color: #00a9d8;
}

.pain-trigger:hover .pain-icon {
  color: #008db7;
  border-color: rgba(0, 185, 237, 0.38);
  background: rgba(0, 191, 243, 0.055);
  transform: translateY(-2px);
}

.pain-item.is-open .pain-trigger:hover .pain-icon {
  color: var(--ink);
  background: linear-gradient(135deg, #7de8ff, #1bc8f3);
}
/* Selected work */
.work-section {
  padding-bottom: 68px;
  background: var(--white);
}
.project-filter {
  margin: -18px 0 38px;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.project-filter button {
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #68788a;
  background: var(--white);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.project-filter button:hover,
.project-filter button.active {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

.projects-stage {
  min-width: 0;
}

.project-carousel {
  min-width: 0;
}

.project-carousel-header {
  margin-bottom: 22px;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.project-carousel-header > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.project-carousel-header span {
  color: #087fa9;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.project-carousel-header strong {
  color: #718194;
  font-size: 12px;
  font-weight: 600;
}

.project-carousel-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.project-carousel-controls button {
  width: 48px;
  height: 48px;
  padding: 0;

  border: 1px solid rgba(0, 174, 228, 0.3);
  border-radius: 50%;

  display: grid;
  place-items: center;

  color: #007fa8;
  background: #eefbfe;

  box-shadow: 0 8px 22px rgba(7, 25, 45, 0.08);

  cursor: pointer;

  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
}
.project-carousel-controls button:hover:not(:disabled) {
  color: #061321;
  border-color: #00b9ed;
  background: linear-gradient(135deg, #78e8ff, #28c9ef);

  box-shadow: 0 11px 28px rgba(0, 191, 243, 0.2);
  transform: translateY(-2px);
}
.project-carousel-controls button:active:not(:disabled) {
  transform: scale(0.94);
}

.project-carousel-controls button:disabled {
  color: #a8b8c5;
  border-color: #dce6ed;
  background: #f8fafb;
  box-shadow: none;
  opacity: 0.62;
  cursor: not-allowed;
}

.project-carousel-controls svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.2;
}
.project-carousel-controls::before {
  content: "Browse";

  margin-right: 4px;

  color: #718599;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/*
 * Horizontal project row
 */
.project-carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(320px, calc((100% - 44px) / 3), 390px);
  gap: 22px;

  padding: 4px 3px 24px;

  overflow-x: auto;
  overscroll-behavior-inline: contain;

  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.project-carousel-track::-webkit-scrollbar {
  display: none;
}

.project-slide {
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.project-card {
  min-width: 0;
}

.project-card > button {
  width: 100%;
  height: 100%;
  padding: 0;

  border: 0;
  display: flex;
  flex-direction: column;

  text-align: left;
  background: none;
  cursor: pointer;
}
.project-slide .project-visual {
  padding: 17px 17px 0;
}

.project-slide .art-body {
  min-height: 260px;
}

.project-slide .art-panels {
  grid-template-columns: 1fr;
}

.project-slide .art-trend {
  min-height: 140px;
}

.project-slide .art-trend svg {
  height: 90px;
}

.project-slide .art-side {
  display: none;
}

.project-slide .project-meta {
  grid-template-columns: 1fr;
  gap: 10px;
}

.project-slide .project-meta h3 {
  font-size: 21px;
}

.project-slide .project-meta p {
  max-width: 430px;
}
.project-visual {
  position: relative;
  padding: 22px 22px 0;
  overflow: hidden;
  border-radius: 22px;
  background: var(--paper-2);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.project-card:nth-child(3n + 2) .project-visual {
  background: #e9f5f8;
}
.project-card:nth-child(3n + 3) .project-visual {
  background: #eeeef7;
}
.project-card:hover .project-visual {
  transform: translateY(-6px);
  box-shadow: 0 28px 65px rgba(7, 17, 31, 0.14);
}

.project-card.has-project-image .project-visual {
  padding: clamp(10px, 1.5vw, 20px);
}

.project-card.has-project-image .project-dashboard {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(7, 17, 31, 0.16);
}

.project-dashboard {
  border-radius: 13px 13px 0 0;
  box-shadow: 0 18px 50px rgba(7, 17, 31, 0.2);
}
.project-card:not(.project-wide) .art-body {
  min-height: 290px;
}
.project-card:not(.project-wide) .art-panels {
  grid-template-columns: 1fr 0.55fr;
}
.project-card:not(.project-wide) .art-trend,
.project-card:not(.project-wide) .art-side {
  min-height: 154px;
}
.project-card:not(.project-wide) .art-trend svg {
  height: 100px;
}
.project-card:not(.project-wide) .art-ring {
  width: 54px;
  height: 54px;
  border-width: 7px;
  margin: 15px auto;
}
.project-card:not(.project-wide) .art-bars {
  display: none;
}
.project-open {
  position: absolute;
  right: 18px;
  bottom: 17px;

  min-height: 40px;
  padding: 0 14px;

  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  color: #061321;
  background: rgba(255, 255, 255, 0.95);

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.2),
    0 0 0 4px rgba(0, 194, 243, 0.05);

  font-size: 10px;
  font-weight: 800;

  pointer-events: none;
  backdrop-filter: blur(8px);

  transition:
    color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.project-open svg {
  width: 15px;
  height: 15px;
  color: #008db7;
}

.project-card:hover .project-open {
  color: #061321;
  background: linear-gradient(135deg, #78e8ff, #28c9ef);
  transform: translateY(-2px);
}

.project-card:hover .project-open svg {
  color: #061321;
}
.project-meta {
  padding: 23px 3px 0;
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 30px;
}
.project-meta span {
  color: #0780a9;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.project-meta h3 {
  margin: 6px 0 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.035em;
}
.project-meta p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.project-tags {
  padding: 16px 3px 0;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.project-tags span,
.modal-tags span {
  padding: 6px 10px;
  border-radius: 999px;
  color: #6e7e8f;
  background: var(--paper);
  font-size: 10px;
  font-weight: 600;
}
.work-cta {
  margin-top: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-cta .button {
  min-height: 50px;
  padding: 0 21px;
  gap: 14px;
  border-radius: 12px;
  text-decoration: none;
}

.work-cta .button svg {
  width: 17px;
  height: 17px;
  transition: transform 0.2s ease;
}

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

/* Process */
.process-section {
  background: var(--paper);
}
.process-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 100px;
  align-items: start;
}
.process-copy {
  position: sticky;
  top: 120px;
}
.process-copy h2 {
  margin-bottom: 24px;
}
.process-copy > p {
  max-width: 440px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 17px;
}

.process-cta {
  width: fit-content;
  min-height: 50px;
  padding: 0 20px;
  gap: 14px;
  border-radius: 12px;
  text-decoration: none;
}

.process-cta svg {
  width: 17px;
  height: 17px;
  transition: transform 0.2s ease;
}

.process-cta:hover svg {
  transform: translate(2px, -2px);
}
.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.process-list li {
  min-height: 142px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 20px;
  align-items: center;
}
.process-list li:first-child {
  border-top: 1px solid var(--line);
}
.process-list > li > span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #057da8;
  background: #e2f7fd;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
}
.process-list h3 {
  margin: 0 0 7px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 23px;
  letter-spacing: -0.025em;
}
.process-list p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.process-list > li > i {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #7b8998;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Why 4Sight */
.about-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, #06111f, #0a1d31 70%);
}
.about-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  left: -250px;
  top: 50%;
  border-radius: 50%;
  background: rgba(0, 154, 255, 0.08);
  filter: blur(80px);
  transform: translateY(-50%);
}
.about-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 110px;
  align-items: center;
}
.about-copy h2 {
  color: var(--white);
}
.about-copy > p {
  max-width: 630px;
  margin: 28px 0 42px;
  color: #9eb0c2;
  font-size: 18px;
}
.about-points article {
  padding: 19px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 16px;
}
.about-points article:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.about-points > article > span {
  color: #55d9ff;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
}
.about-points h3 {
  margin: 0 0 5px;
  color: #edf7ff;
  font-size: 16px;
}
.about-points p {
  margin: 0;
  color: #8195a9;
  font-size: 13px;
}
.insight-stack {
  position: relative;
  width: min(100%, 430px);
  height: 420px;
  margin: auto;
}
.stack-card {
  position: absolute;
  inset: 36px 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: #0d2034;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.26);
}
.stack-back {
  transform: translate(-34px, 21px) rotate(-7deg);
  opacity: 0.42;
}
.stack-mid {
  transform: translate(32px, 5px) rotate(6deg);
  opacity: 0.65;
}
.stack-front {
  padding: 28px;
  background: linear-gradient(145deg, #0d2238, #091827);
}
.stack-top {
  display: flex;
  justify-content: space-between;
  color: #7f94a9;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.stack-top b {
  color: #49d3aa;
}
.signal-score {
  margin: 38px 0 20px;
  display: flex;
  align-items: baseline;
}
.signal-score strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 78px;
  line-height: 1;
  letter-spacing: -0.08em;
}
.signal-score span {
  color: #5c7086;
  font-size: 17px;
}
.signal-bars {
  height: 74px;
  display: flex;
  align-items: flex-end;
  gap: 7px;
}
.signal-bars i {
  width: calc(100% / 7);
  border-radius: 4px 4px 1px 1px;
  background: linear-gradient(180deg, #3dd7f5, #087ffc);
}
.signal-bars i:nth-child(1) {
  height: 30%;
}
.signal-bars i:nth-child(2) {
  height: 46%;
}
.signal-bars i:nth-child(3) {
  height: 38%;
}
.signal-bars i:nth-child(4) {
  height: 61%;
}
.signal-bars i:nth-child(5) {
  height: 55%;
}
.signal-bars i:nth-child(6) {
  height: 76%;
}
.signal-bars i:nth-child(7) {
  height: 94%;
}
.stack-front > p {
  margin: 26px 0 0;
  padding: 14px;
  border: 1px solid rgba(59, 212, 249, 0.12);
  border-radius: 11px;
  display: flex;
  gap: 9px;
  color: #9eb2c6;
  background: rgba(0, 194, 243, 0.06);
  font-size: 11px;
}
.stack-front > p svg {
  width: 15px;
  flex: 0 0 auto;
  color: var(--blue);
}

/* =========================================================
   CLIENT TESTIMONIAL CAROUSEL
   ========================================================= */
.testimonials-section {
  background: var(--white);
}

.testimonial-layout {
  display: block;
}

.testimonial-heading {
  max-width: 760px;
  margin: 0 auto 58px;
  text-align: center;
}

.testimonial-heading .section-kicker {
  margin-bottom: 15px;
}

.testimonial-heading h2 {
  max-width: none;
}

.testimonial-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1040px) 58px;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2vw, 28px);
}

.testimonial-side-control {
  position: relative;
  z-index: 3;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 1px solid #d4e1ea;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(7, 25, 45, 0.09);
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.testimonial-side-control:hover {
  border-color: #4bd7f8;
  color: #04121f;
  background: #55dcfa;
  box-shadow: 0 14px 34px rgba(0, 185, 235, 0.2);
  transform: translateY(-2px);
}

.testimonial-side-control:focus-visible {
  outline: 3px solid rgba(0, 194, 243, 0.25);
  outline-offset: 4px;
}

.testimonial-side-control svg {
  width: 21px;
  height: 21px;
  stroke-width: 2;
}

.testimonial-stage {
  min-width: 0;
  overflow: hidden;
  border-radius: 28px;
  touch-action: pan-y;
  box-shadow: 0 28px 80px rgba(7, 17, 31, 0.18);
}

.testimonial-track {
  display: flex;
  /* Desktop cards keep their natural content height. */
  align-items: flex-start;
  will-change: transform;

  transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 720px) {
  .testimonial-track {
    /* JS assigns every mobile slide the tallest measured card height. */
    align-items: stretch;
  }
}

.testimonial-card {
  width: 100%;
  flex: 0 0 100%;
  position: relative;

  display: flex;
  flex-direction: column;

  padding: clamp(48px, 5vw, 68px);
  overflow: hidden;
  border-radius: 28px;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 6%, rgba(0, 194, 243, 0.25), transparent 25%),
    linear-gradient(140deg, #071521, #0a253d);
}
.quote-icon {
  position: absolute;
  right: 38px;
  top: -20px;
  color: rgba(255, 255, 255, 0.07);
  font-family: Georgia, serif;
  font-size: 180px;
  line-height: 1;
}
.stars {
  position: relative;

  display: flex;
  align-items: center;
  gap: 6px;

  color: #55ddff;
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0;
}
.testimonial-card blockquote {
  position: relative;
  max-width: 850px;
  margin: 40px 0 44px;

  color: #f1f7fc;
  font-family: var(--font-display);
  font-size: clamp(23px, 2.1vw, 33px);
  line-height: 1.4;
  letter-spacing: -0.03em;
}
.testimonial-author {
  position: relative;
  padding-left: 16px;
  border-left: 2px solid #55ddff;
}

.testimonial-card-footer {
  position: relative;
  margin-top: auto;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.testimonial-author strong,
.testimonial-author small {
  display: block;
}

.testimonial-author strong {
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
}

.testimonial-author small {
  margin-top: 6px;
  color: #91a8bb;
  font-size: 13px;
  line-height: 1.4;
}
.testimonial-progress {
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
}
.testimonial-progress i {
  width: 20px;
  height: 2px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.16);
}
.testimonial-progress i.active {
  width: 40px;
  background: var(--blue);
}

/* FAQ */
.faq-section {
  background: var(--paper);
}
.faq-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 100px;
  align-items: start;
}
.faq-intro h2 {
  max-width: 520px;
}
.faq-intro > p {
  max-width: 400px;
  margin: 24px 0 30px;
  color: var(--muted);
  font-size: 16px;
}
.faq-list details {
  border-bottom: 1px solid #d5dee7;
}
.faq-list details:first-child {
  border-top: 1px solid #d5dee7;
}
.faq-list summary {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary svg {
  width: 19px;
  flex: 0 0 auto;
  color: #718396;
  transition: transform 0.25s ease;
}
.faq-list details[open] summary svg {
  color: var(--blue-2);
  transform: rotate(45deg);
}
.faq-list details p {
  max-width: 680px;
  margin: -3px 45px 25px 0;
  color: var(--muted);
  font-size: 14px;
}
.faq-cta {
  width: fit-content;
  min-height: 50px;
  padding: 0 20px;
  gap: 14px;
  border-radius: 12px;
  text-decoration: none;
}

.faq-cta svg {
  width: 17px;
  height: 17px;
  transition: transform 0.2s ease;
}

.faq-cta:hover svg {
  transform: translate(2px, -2px);
}

@media (max-width: 720px) {
  .faq-cta {
    min-height: 48px;
    padding: 0 18px;
  }
}
/* ==================================================
   CONTACT Ã¢â‚¬â€ SIMPLE CALENDLY BOOKING
   ================================================== */

.contact-section {
  position: relative;
  padding: 118px 0;
  overflow: hidden;

  color: var(--white);

  background:
    radial-gradient(
      circle at 50% 110%,
      rgba(0, 194, 243, 0.1),
      transparent 37%
    ),
    linear-gradient(145deg, #06111f, #092039);
}

.contact-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  top: -320px;
  left: 50%;

  border-radius: 50%;
  background: rgba(0, 194, 243, 0.08);
  filter: blur(85px);
  transform: translateX(-50%);
  pointer-events: none;
}

.contact-simple {
  position: relative;
  max-width: 920px;
  text-align: center;
}

.contact-copy {
  max-width: 790px;
  margin-inline: auto;
}

.contact-copy h2 {
  max-width: 790px;
  margin: 18px auto 0;

  color: var(--white);
  font-size: clamp(45px, 5vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.contact-copy > p {
  max-width: 610px;
  margin: 25px auto 0;

  color: #9db1c3;
  font-size: 17px;
  line-height: 1.65;
}

.hero-audience {
  width: min(calc(100% - 32px), var(--container));
  margin-top: 34px;
  gap: 11px;
}

.hero-audience p {
  max-width: 330px;
  font-size: 11px;
}

.audience-line {
  width: 25px;
}

.hero-tools {
  margin-top: 20px;
}
/* Main booking card */

.booking-card-simple {
  max-width: 860px;
  min-height: 120px;
  margin: 47px auto 0;
  padding: 24px 25px;

  border: 1px solid rgba(103, 184, 219, 0.18);
  border-radius: 20px;

  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 17px;

  text-align: left;

  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(0, 194, 243, 0.09),
      transparent 35%
    ),
    rgba(255, 255, 255, 0.045);

  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.23),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.booking-simple-icon {
  width: 54px;
  height: 54px;

  border: 1px solid rgba(83, 220, 250, 0.17);
  border-radius: 14px;

  display: grid;
  place-items: center;

  color: #55dcfa;
  background: rgba(0, 194, 243, 0.075);
}

.booking-simple-icon svg {
  width: 21px;
  height: 21px;
}

.booking-simple-copy {
  min-width: 0;
}

.booking-simple-copy h3 {
  margin: 0;

  color: #f1f8fc;
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

/* Calendly button */

.calendly-button-simple {
  min-width: 205px;
  min-height: 50px;
  padding: 0 18px;

  border-radius: 12px;
  justify-content: space-between;
  gap: 15px;

  color: #061321;
  background: linear-gradient(135deg, #5ee1ff, #00b9ed);
  box-shadow: 0 14px 32px rgba(0, 191, 243, 0.2);
}

.calendly-button-simple:hover {
  color: #061321;
  background: linear-gradient(135deg, #7de8ff, #1bc8f3);
  box-shadow: 0 18px 38px rgba(0, 191, 243, 0.28);
}

.calendly-button-simple svg {
  width: 16px;
  height: 16px;
}

/* Secondary phone option */

.contact-phone {
  margin-top: 27px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  color: #91a9ba;
  font-size: 13px;
}

.contact-phone a {
  min-height: 40px;
  padding: 0 14px;

  border: 1px solid rgba(83, 220, 250, 0.16);
  border-radius: 10px;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: #f0f8fc;
  background: rgba(0, 194, 243, 0.055);

  font-size: 15px;
  font-weight: 800;

  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.contact-phone a:hover {
  color: #061321;
  border-color: #5ee1ff;
  background: #5ee1ff;
  transform: translateY(-2px);
}

.contact-phone svg {
  width: 17px;
  height: 17px;
  color: #55dcfa;
}

.contact-phone a:hover svg {
  color: #061321;
}

@media (max-width: 720px) {
  .contact-section {
    padding: 80px 0;
  }

  .contact-copy h2 {
    font-size: clamp(40px, 11vw, 54px);
  }

  .contact-copy > p {
    font-size: 15px;
  }

  .booking-card-simple {
    margin-top: 36px;
    padding: 20px;

    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 10px;

    border-radius: 18px;
  }

  .booking-simple-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .booking-simple-copy {
    display: contents;
  }

  .booking-simple-copy h3 {
    grid-column: 2;
    align-self: center;

    font-size: clamp(13px, 3.6vw, 15px);
    line-height: 1.2;
    letter-spacing: -0.025em;
    white-space: nowrap;
  }

  .calendly-button-simple {
    width: 100%;
    min-width: 0;
    margin-top: 4px;
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .contact-phone {
    flex-direction: column;
    gap: 9px;
  }
}

/* Footer */
.site-footer {
  color: #8fa4b8;
  background: #040d17;
}
.footer-main {
  padding: 68px 0 58px;

  display: grid;
  grid-template-columns:
    minmax(230px, 1.2fr)
    minmax(120px, 0.55fr)
    minmax(120px, 0.55fr)
    minmax(230px, 0.9fr);

  gap: clamp(38px, 5vw, 72px);
  align-items: start;
}

.footer-logo {
  width: fit-content;
  display: block;
}

.footer-brand img {
  width: 180px;
  height: auto;
  object-fit: contain;
}

.footer-brand p {
  margin: 15px 0 0;
  color: #dbe8f3;
  font-size: 16px;
  line-height: 1.5;
}
.footer-column,
.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}
.footer-column strong,
.footer-social > strong {
  margin-bottom: 11px;
  color: #708ba5;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer-column a {
  color: #aabdd0;
  font-size: 13px;
  transition: color 0.2s ease;
}
.footer-column a:hover {
  color: var(--blue);
}
.footer-social > div {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-social .social-link {
  width: 46px;
  height: 46px;
  padding: 0;

  position: relative;
  display: grid;
  place-items: center;

  color: #8498ac;
  border: 1px solid rgba(143, 164, 184, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.015);

  cursor: pointer;

  transition:
    color 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.footer-social .social-link svg {
  width: 18px;
  height: 18px;

  fill: currentColor;
  stroke: none;

  transition: transform 0.22s ease;
}

/* Instagram outline */
.footer-social .social-instagram svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.footer-social .social-instagram .icon-fill {
  fill: currentColor;
  stroke: none;
}

/* Professional hover state */
.footer-social .social-link:hover {
  color: #54dcff;
  border-color: rgba(84, 220, 255, 0.62);
  background: rgba(0, 194, 243, 0.1);

  box-shadow:
    0 0 0 4px rgba(0, 194, 243, 0.06),
    0 12px 30px rgba(0, 194, 243, 0.14);

  transform: translateY(-3px);
}

.footer-social .social-link:hover svg {
  transform: scale(1.06);
}

/* Mouse/touch press */
.footer-social .social-link:active {
  color: #06111f;
  border-color: #54dcff;
  background: #54dcff;
  box-shadow: none;
  transform: translateY(0) scale(0.94);
}

/* Keyboard accessibility */
.footer-social .social-link:focus-visible {
  outline: 2px solid #54dcff;
  outline-offset: 4px;
}
.footer-bottom {
  min-height: 74px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #577087;
  font-size: 11px;
}
.footer-bottom button {
  padding: 0;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #758da4;
  background: transparent;
  cursor: pointer;
}
.footer-bottom button:hover {
  color: var(--blue);
}
.footer-bottom svg {
  width: 15px;
}

/* Project modal */
.project-modal {
  width: min(1160px, calc(100% - 40px));
  max-height: calc(100vh - 36px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 27px;
  color: var(--text);
  background: var(--white);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.46);
}
.project-modal::backdrop {
  background: rgba(2, 8, 14, 0.82);
  backdrop-filter: blur(7px);
}
.modal-shell {
  position: relative;
}
.modal-close {
  position: absolute;
  z-index: 3;
  right: 18px;
  top: 18px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(7, 17, 31, 0.74);
  cursor: pointer;
  backdrop-filter: blur(8px);
}
.modal-close svg {
  width: 18px;
}
.modal-preview {
  padding: 34px 34px 0;
  background: linear-gradient(140deg, #dbeaf2, #e8eef4);
}
.modal-dashboard {
  border-radius: 17px 17px 0 0;
  box-shadow: 0 24px 65px rgba(7, 17, 31, 0.28);
}
.modal-info {
  padding: 32px 42px 38px;
  display: block;
}
.modal-info h2 {
  font-size: clamp(32px, 4vw, 50px);
}
.modal-info p {
  max-width: 660px;
  margin: 17px 0 18px;
  color: var(--muted);
}
.modal-tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.modal-preview.has-report {
  padding: 64px 18px 18px;
  background: #06111f;
}

.report-embed-shell {
  position: relative;
  width: 100%;
  height: min(72vh, 760px);
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: #0b1726;
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.28);
}

.report-embed-shell iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.modal-status {
  margin: 18px 0 0;
  color: #8795a6;
  font-size: 13px;
}
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s ease var(--delay, 0ms),
    transform 0.7s cubic-bezier(0.2, 0.75, 0.25, 1) var(--delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay {
  --delay: 120ms;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

/* Responsive */
@media (max-width: 1160px) {
  .hero-grid {
    gap: 36px;
  }
  .hero-visual {
    transform: perspective(1400px) rotateY(-2deg);
  }
  .dashboard-body {
    padding: 14px;
  }
  .metric-card {
    min-height: 84px;
  }
  .chart-card {
    min-height: 210px;
  }
  .line-chart {
    height: 135px;
  }
  .donut {
    width: 98px;
    height: 98px;
    margin-top: 24px;
  }
  .insight-one {
    right: -10px;
  }
  .insight-two {
    left: -9px;
  }
  .footer-main {
    gap: 40px;
  }
}

@media (max-width: 960px) {
  .section {
    padding: 94px 0;
  }

  /*
   * IMPORTANT:
   * backdrop-filter on the fixed header can trap the fixed menu
   * inside the header on mobile.
   */
  .site-header,
  .site-header.scrolled {
    height: 76px;
    background: #06111f;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav-wrap {
    position: relative;
    z-index: 1;
  }

  .brand {
    position: relative;
    z-index: 1002;
  }

  .brand,
  .brand img {
    width: 160px;
  }

  .nav-toggle {
    position: relative;
    z-index: 1003;
    display: flex;
    flex-shrink: 0;
  }

  /*
   * Full-screen mobile menu
   */
  .site-nav {
    position: fixed;
    z-index: 1001;
    inset: 0;

    width: 100%;
    height: 100vh;
    height: 100dvh;
    padding: 104px 24px 32px;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;

    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;

    color: var(--white);
    background:
      radial-gradient(
        circle at 85% 10%,
        rgba(0, 194, 243, 0.1),
        transparent 28%
      ),
      #06111f;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);

    transition:
      transform 0.35s cubic-bezier(0.2, 0.75, 0.25, 1),
      opacity 0.25s ease,
      visibility 0.35s ease;
  }

  .site-nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }

  .site-nav > a:not(.nav-cta) {
    width: 100%;
    padding: 18px 2px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.1);

    display: flex;
    align-items: center;

    color: #d8e4ef;
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 600;
    line-height: 1.2;
  }

  .site-nav > a:not(.nav-cta):first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-nav > a:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta {
    width: 100%;
    min-height: 54px;
    margin-top: 24px;
    padding-inline: 19px;

    justify-content: space-between;

    color: var(--ink);
    border-color: transparent;
    background: linear-gradient(135deg, #5ee1ff, #00b9ed);
  }

  .nav-cta svg {
    color: var(--ink);
  }

  body.nav-open {
    overflow: hidden;
    touch-action: none;
  }

  .hero {
    padding-top: 130px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 70px;
  }
  .hero-copy {
    max-width: 720px;
  }
  .hero-copy h1 {
    max-width: 760px;
    font-size: clamp(50px, 9vw, 76px);
  }
  .hero-visual {
    width: min(100%, 720px);
    margin-inline: auto;
    transform: none;
  }
  .hero-tools {
    margin-top: 56px;
  }
  .split-heading,
  .work-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .expertise-grid {
    grid-template-columns: 1fr 1fr;
  }
  .expertise-card.featured {
    grid-column: span 2;
    min-height: 410px;
  }
  .card-topline {
    margin-bottom: 55px;
  }
  .showcase-intro {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.48fr);
    gap: 45px;
  }

  .showcase-heading {
    max-width: 620px;
  }

  .showcase-description {
    max-width: 320px;
  }

  .pain-layout {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .pain-copy {
    position: static;
  }

  .pain-copy h2 {
    max-width: 680px;
  }
  .glimpse-slide {
    flex-basis: 84vw;
  }
  .decision-grid {
    grid-template-columns: 1fr 1fr;
  }
  .decision-grid > div:nth-child(2) {
    border-right: 0;
  }
  .decision-grid > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .decision-grid > div {
    padding: 20px 28px;
  }
  .decision-grid > div:first-child,
  .decision-grid > div:nth-child(3) {
    padding-left: 0;
  }
  .project-card:not(.project-wide) .art-body {
    min-height: 250px;
  }
  .project-card:not(.project-wide) .art-panels {
    grid-template-columns: 1fr;
  }
  .project-card:not(.project-wide) .art-side {
    display: none;
  }
  .project-meta {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .process-layout {
    grid-template-columns: 1fr;
    gap: 55px;
  }
  .process-copy {
    position: static;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 80px;
  }
  .about-visual {
    order: 2;
  }
  .testimonial-carousel {
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    gap: 14px;
  }
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .contact-shell {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .footer-main {
    grid-template-columns: 1.3fr 0.7fr 0.7fr;
  }
  .footer-social {
    grid-column: 1 / -1;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .modal-info {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .modal-actions {
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }
  .section {
    padding: 78px 0;
  }
  .section-heading h2,
  .showcase-intro h2,
  .process-copy h2,
  .about-copy h2,
  .testimonial-heading h2,
  .faq-intro h2,
  .contact-copy h2 {
    font-size: clamp(34px, 10vw, 47px);
  }
  .hero {
    min-height: auto;
    padding: 116px 0 38px;
  }
  .hero-grid {
    gap: 54px;
  }
  .hero-copy {
    max-width: 100%;
    padding-top: 0;
  }

  .hero-copy h1 {
    max-width: 100%;
    margin: 17px 0 16px;
    font-size: clamp(38px, 10.5vw, 48px);
    line-height: 1.02;
    letter-spacing: -0.052em;
  }

  .hero-copy > p {
    max-width: 330px;
    margin-bottom: 23px;
    font-size: 15px;
    line-height: 1.5;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .hero-actions .button {
    width: 100%;
    min-width: 0;
    min-height: 49px;
    padding: 0 13px;
    gap: 8px;
    justify-content: space-between;
    font-size: 13px;
    white-space: nowrap;
  }

  .hero-actions .button svg {
    width: 16px;
    height: 16px;
  }
  .dashboard-shell {
    border-radius: 16px;
  }
  .dashboard-topbar {
    height: 43px;
  }
  .dashboard-body {
    padding: 10px;
  }
  .dashboard-filter-row {
    margin-bottom: 9px;
  }
  .dashboard-filter-row span {
    font-size: 6px;
  }
  .metric-row {
    gap: 6px;
  }
  .metric-card {
    min-height: 70px;
    padding: 9px;
  }
  .metric-card small {
    font-size: 7px;
  }
  .metric-card strong {
    font-size: 15px;
  }
  .metric-card > span {
    font-size: 6px;
  }
  .chart-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .chart-card {
    min-height: 185px;
    padding: 10px;
  }
  .line-chart {
    height: 120px;
  }
  .chart-side {
    display: none;
  }
  .floating-insight {
    display: none;
  }
  .hero-tools {
    margin-top: 42px;
    height: 64px;
  }
  .tool {
    min-width: 142px;
    padding: 0 16px;
    font-size: 11px;
  }
  .split-heading,
  .work-heading {
    margin-bottom: 45px;
  }
  .section-heading > p {
    font-size: 16px;
  }
  .expertise-grid {
    grid-template-columns: 1fr;
  }
  .expertise-card,
  .expertise-card.featured {
    grid-column: auto;
    min-height: 400px;
    padding: 26px;
  }

  .pain-layout {
    gap: 36px;
  }

  .pain-copy h2 {
    margin-top: 15px;
    font-size: clamp(36px, 10vw, 47px);
  }

  .pain-copy > p {
    margin-bottom: 24px;
    font-size: 15px;
  }

  .pain-trigger {
    min-height: 94px;
    padding: 18px 0;
    grid-template-columns: 44px minmax(0, 1fr) 24px;
    gap: 12px;
  }

  .pain-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .pain-icon svg {
    width: 20px;
    height: 20px;
  }

  .pain-title {
    font-size: 17px;
  }

  .pain-panel p {
    padding: 0 30px 22px 56px;
    font-size: 13px;
  }
  .showcase-intro {
    margin-bottom: 42px;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
  }

  .showcase-heading {
    max-width: 100%;
  }

  .showcase-heading .section-kicker {
    margin-bottom: 16px;
  }

  .showcase-intro h2 {
    max-width: 100%;
    font-size: clamp(36px, 10vw, 47px);
    line-height: 1.08;
  }

  .showcase-description {
    max-width: 480px;
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
  }

  .showcase-intro p {
    max-width: 500px;
    font-size: 15px;
  }
  .glimpse-track {
    gap: 14px;
    padding-inline: 16px;
  }

  .glimpse-slide {
    flex-basis: 92vw;
  }

  .glimpse-visual {
    padding: 8px;
    border-radius: 17px;
  }

  .glimpse-dashboard {
    border-radius: 11px;
  }

  .slider-controls {
    margin-top: 19px;
  }
  .modal-preview.has-report {
    padding: 58px 8px 8px;
  }

  .report-embed-shell {
    height: 65vh;
    min-height: 460px;
    border-radius: 12px;
  }

  .modal-info {
    padding: 24px 20px 28px;
  }
  .slider-controls {
    margin-top: 19px;
  }
  .art-body {
    min-height: 250px;
    grid-template-columns: 36px 1fr;
  }
  .art-body aside {
    padding-top: 12px;
    gap: 9px;
  }
  .art-canvas {
    padding: 12px;
  }
  .art-metrics {
    gap: 5px;
  }
  .art-metrics article {
    padding: 7px;
  }
  .art-metrics strong {
    font-size: 10px;
  }
  .art-panels {
    grid-template-columns: 1fr;
  }
  .art-trend {
    min-height: 135px;
  }
  .art-side {
    display: none;
  }
  .art-trend svg {
    height: 88px;
  }
  .decision-strip {
    padding: 0;
  }
  .decision-grid > div {
    min-height: 94px;
    padding: 16px !important;
  }
  .decision-grid > div:nth-child(odd) {
    padding-left: 0 !important;
  }
  .decision-grid strong {
    font-size: 16px;
  }
  .decision-grid span {
    font-size: 11px;
  }
  .project-filter {
    margin-top: -10px;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }
  .project-filter::-webkit-scrollbar {
    display: none;
  }
  .project-filter button {
    flex: 0 0 auto;
  }

  .project-carousel-header {
    margin-bottom: 16px;
  }

  .project-carousel-header strong {
    display: none;
  }

  /*
 * Swiping is more natural on mobile,
 * so the arrow controls can be hidden.
 */
  .project-carousel-controls {
    display: none;
  }

  .project-carousel-track {
    width: calc(100% + 16px);

    grid-auto-columns: min(84vw, 330px);
    gap: 14px;

    padding-right: 16px;
    padding-bottom: 14px;
  }

  .project-slide .project-visual {
    padding: 11px 11px 0;
    border-radius: 15px;
  }

  .project-slide .art-body {
    min-height: 215px;
  }

  .project-slide .art-trend {
    min-height: 118px;
  }

  .project-slide .art-trend svg {
    height: 72px;
  }

  .project-slide .project-meta {
    padding-top: 17px;
  }

  .project-slide .project-meta h3 {
    font-size: 19px;
  }

  .project-slide .project-meta p {
    font-size: 13px;
  }

  .project-slide .project-tags {
    padding-top: 13px;
  }
  .project-visual {
    padding: 12px 12px 0;
    border-radius: 16px;
  }
  .project-card .art-body,
  .project-card:not(.project-wide) .art-body {
    min-height: 225px;
  }
  .project-card .art-panels,
  .project-card:not(.project-wide) .art-panels {
    grid-template-columns: 1fr;
  }
  .project-card .art-trend,
  .project-card:not(.project-wide) .art-trend {
    min-height: 125px;
  }
  .project-card .art-trend svg,
  .project-card:not(.project-wide) .art-trend svg {
    height: 78px;
  }
  .project-card .art-side {
    display: none;
  }
  .project-card.has-project-image .project-visual,
  .project-slide.has-project-image .project-visual {
    padding: 8px;
  }

  .project-card.has-project-image .project-dashboard {
    border-radius: 10px;
  }
  .project-open {
    right: 13px;
    bottom: 12px;

    width: auto;
    height: 37px;
    min-height: 37px;
    padding: 0 11px;

    font-size: 9px;
  }
  .project-meta {
    padding-top: 18px;
  }
  .project-meta h3 {
    font-size: 21px;
  }
  .work-cta {
    margin-top: 30px;
  }

  .work-cta .button {
    min-height: 48px;
    padding: 0 19px;
  }

  .work-section {
    padding-bottom: 42px;
  }

  .process-section {
    padding-top: 54px;
  }
  .process-list li {
    grid-template-columns: 46px 1fr;
  }
  .process-list > li > i {
    grid-column: 2;
    justify-self: start;
  }
  .insight-stack {
    height: 350px;
  }
  .stack-card {
    inset: 28px 12px 12px;
  }
  .stack-front {
    padding: 23px;
  }
  .signal-score {
    margin-top: 28px;
  }
  .signal-score strong {
    font-size: 63px;
  }
  .about-grid {
    gap: 48px;
  }
  .testimonial-heading {
    margin-bottom: 38px;
  }

  .testimonial-carousel {
    display: block;
  }

  .testimonial-side-control {
    position: absolute;
    top: 50%;
    width: 44px;
    height: 44px;
    border-color: rgba(255, 255, 255, 0.14);
    color: #f3f9fd;
    background: rgba(5, 20, 34, 0.82);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(10px);
    transform: translateY(-50%);
  }

  .testimonial-side-control--previous {
    left: 10px;
  }

  .testimonial-side-control--next {
    right: 10px;
  }

  .testimonial-side-control:hover {
    transform: translateY(-50%) scale(1.04);
  }

  .testimonial-side-control svg {
    width: 18px;
    height: 18px;
  }

  .testimonial-card {
    padding: 38px 62px;
    border-radius: 22px;
  }

  .testimonial-stage {
    border-radius: 22px;
  }

  .stars {
    gap: 5px;
    font-size: 24px;
  }

  .testimonial-card blockquote {
    margin: 32px 0 44px;
    font-size: clamp(20px, 5.7vw, 25px);
    line-height: 1.43;
  }

  .testimonial-card-footer {
    gap: 18px;
  }

  .testimonial-author strong {
    font-size: 15px;
  }

  .testimonial-author small {
    font-size: 12px;
  }
  .faq-list summary {
    min-height: 76px;
    font-size: 15px;
  }
  .contact-section {
    padding: 78px 0;
  }
  .footer-main {
    padding: 42px 0 32px;

    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand img {
    width: 155px;
    height: auto;
  }

  .footer-brand p {
    margin-top: 11px;
    font-size: 14px;
    line-height: 1.45;
  }

  .footer-column {
    min-width: 0;
    gap: 8px;
  }

  .footer-column strong,
  .footer-social > strong {
    margin-bottom: 8px;
    font-size: 9px;
  }

  .footer-column a {
    font-size: 12px;
  }

  .footer-social {
    grid-column: 1 / -1;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer-social > div {
    gap: 8px;
  }

  .footer-social .social-link {
    width: 42px;
    height: 42px;
  }

  .footer-bottom {
    min-height: auto;
    padding: 22px 0 26px;

    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 9px;
  }
  .project-modal {
    width: calc(100% - 18px);
    max-height: calc(100vh - 18px);
    border-radius: 20px;
  }
  .modal-preview {
    padding: 50px 10px 0;
  }
  .modal-preview .art-body {
    min-height: 250px;
  }
  .modal-info {
    padding: 28px 23px 32px;
  }
  .modal-info h2 {
    font-size: 32px;
  }
  .modal-actions .button {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 430px) {
  .container {
    width: min(calc(100% - 26px), var(--container));
  }
  .brand,
  .brand img {
    width: 148px;
  }
  .hero-copy h1 {
    font-size: clamp(36px, 10.5vw, 42px);
  }

  .hero-actions .button {
    min-height: 47px;
    padding-inline: 11px;
    font-size: 12px;
  }
  .eyebrow {
    font-size: 9px;
  }
  .hero-assurance {
    display: grid;
  }
  .hero-tools {
    height: 58px;
    margin-top: 34px;
  }
  .tool {
    min-width: 128px;
    padding-inline: 13px;
    font-size: 10px;
  }
  .tool-logo {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
    border-radius: 8px;
  }
  .tool-logo img {
    width: 17px;
    height: 17px;
  }
  .dashboard-filter-row span:nth-child(2) {
    display: none;
  }
  .metric-card:nth-child(3) {
    display: none;
  }
  .metric-row {
    grid-template-columns: 1fr 1fr;
  }
  .decision-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .decision-grid > div {
    min-width: 0;
    min-height: 82px;
    padding: 13px 10px !important;
  }

  .decision-grid > div:nth-child(odd) {
    padding-left: 0 !important;
    border-right: 1px solid var(--line);
  }

  .decision-grid > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .decision-grid > div:nth-child(even) {
    border-right: 0;
  }

  .decision-grid > div:nth-child(n + 3) {
    border-bottom: 0;
  }
  .art-metrics article:nth-child(3) {
    display: none;
  }
  .art-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .art-heading > span {
    display: none;
  }
  .process-list li {
    padding: 23px 0;
  }
  .stack-top {
    display: block;
  }
  .stack-top b {
    display: block;
    margin-top: 4px;
  }
  .testimonial-progress {
    display: flex;
    gap: 4px;
  }
  .testimonial-progress i {
    width: 14px;
  }
  .testimonial-progress i.active {
    width: 28px;
  }
  .testimonial-card {
    padding: 34px 56px 36px;
  }
  .testimonial-card-footer {
    gap: 12px;
  }
  .testimonial-card blockquote {
    font-size: 20px;
  }
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 18px;
  }

  .footer-brand,
  .footer-social {
    grid-column: 1 / -1;
  }

  .footer-brand img {
    width: 145px;
  }

  .footer-social .social-link {
    width: 40px;
    height: 40px;
  }

  .footer-social .social-link svg {
    width: 16px;
    height: 16px;
  }
}

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

@media (max-width: 960px) {
  .nav-toggle {
    position: relative;
    z-index: 1003;
    display: flex;
    flex-shrink: 0;
  }
}
/* =========================================================
   HERO Ã¢â‚¬â€ CONNECTED INTELLIGENCE FLOW
   ========================================================= */

.hero-grid {
  grid-template-columns:
    minmax(390px, 0.82fr)
    minmax(620px, 1.18fr);
  gap: clamp(38px, 4.5vw, 68px);
}

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

.hero-copy h1 span {
  background-size: 220% auto;
  animation: hero-gradient-shift 7s ease-in-out infinite;
}

.hero-copy .eyebrow-dot {
  animation: hero-dot-pulse 2.4s ease-in-out infinite;
}

.hero-visual {
  position: relative;
  z-index: 2;
  width: min(780px, 108%);
  min-width: 0;
  justify-self: end;
  perspective: 1400px;
}

.hero-stage {
  position: relative;
  transform: none;
}
/* Main glass interface */
/* .intelligence-flow {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  border: 1px solid rgba(104, 210, 255, 0.19);
  border-radius: 22px;

  color: #ecf8ff;

  background:
    radial-gradient(
      circle at 52% 50%,
      rgba(0, 187, 255, 0.09),
      transparent 31%
    ),
    linear-gradient(145deg, #071827 0%, #05111e 56%, #071523 100%);

  box-shadow:
    0 42px 100px rgba(0, 0, 0, 0.42),
    0 0 72px rgba(0, 179, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
} */

.intelligence-flow {
  position: relative;
  isolation: isolate;
  overflow: visible;

  color: #ecf8ff;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.intelligence-flow::before {
  display: none;
}

.intelligence-flow::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;

  opacity: 0.2;
  pointer-events: none;

  background-image:
    linear-gradient(rgba(61, 189, 235, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 189, 235, 0.08) 1px, transparent 1px);

  background-size: 42px 42px;
  mask-image: linear-gradient(
    90deg,
    transparent,
    black 22%,
    black 78%,
    transparent
  );
}

/* Top bar */
.flow-topbar {
  min-height: 52px;
  padding: 0 17px;

  border-bottom: 1px solid rgba(137, 220, 255, 0.1);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  background: rgba(5, 18, 31, 0.72);
}

.flow-topbar > div,
.flow-live-status {
  display: flex;
  align-items: center;
}

.flow-topbar > div {
  gap: 9px;
}

.flow-topbar strong {
  font-size: 11px;
  letter-spacing: 0.025em;
}

.flow-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2bd8ff;

  box-shadow:
    0 0 0 5px rgba(43, 216, 255, 0.08),
    0 0 18px rgba(43, 216, 255, 0.7);

  animation: flow-status-pulse 2.2s ease-in-out infinite;
}

.flow-live-status {
  gap: 7px;
  color: #7f98ac;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.flow-live-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #55e4b5;
  box-shadow: 0 0 12px rgba(85, 228, 181, 0.75);
}

/* Main pipeline area */
.flow-canvas {
  position: relative;
  min-height: 450px;
  padding: 28px 16px 24px;

  display: grid;
  grid-template-columns: 160px 170px minmax(240px, 1fr);
  align-items: center;
  gap: 22px;
}

.flow-map {
  position: absolute;
  z-index: 0;
  inset: 0;

  width: 100%;
  height: 100%;

  overflow: visible;
  pointer-events: none;
}

.flow-path-base,
.flow-path-signal {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.flow-path-base {
  stroke: rgba(73, 167, 213, 0.16);
  stroke-width: 1.4;
}

.flow-path-signal {
  stroke: url("#flow-gradient");
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 7 13;
  filter: url("#flow-glow");
  animation: data-flow 0.9s linear infinite;
}

.flow-delay-2 {
  animation-delay: -0.35s;
}

.flow-delay-3 {
  animation-delay: -0.7s;
}

.flow-delay-4 {
  animation-delay: -1.05s;
}

.flow-path-output {
  stroke-width: 2.6;
  stroke-dasharray: 8 12;
  animation-duration: 0.8s;
}

.flow-path-base-output {
  stroke: rgba(72, 196, 238, 0.22);
  stroke-width: 1.6;
}
/* Shared stage title */
.flow-section-title {
  margin-bottom: 14px;

  display: flex;
  align-items: center;
  gap: 8px;

  color: #7390a5;
}

.flow-section-title span {
  min-width: 25px;
  height: 20px;
  padding: 0 6px;

  border: 1px solid rgba(70, 209, 255, 0.17);
  border-radius: 6px;

  display: grid;
  place-items: center;

  color: #45d6ff;
  background: rgba(26, 170, 232, 0.08);

  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.flow-section-title p {
  margin: 0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Data sources */
.flow-sources,
.flow-engine,
.flow-output {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.source-list {
  display: grid;

  /* Previously 10px */
  gap: 14px;
}

.source-node {
  width: 100%;
  min-height: 62px;
  padding: 10px 12px;

  border-radius: 14px;
}

.source-logo {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;

  border-radius: 11px;
}

.source-logo img {
  width: 27px;
  height: 27px;
}

.source-node strong {
  font-size: 11px;
}

.source-node small {
  font-size: 7.3px;
}
/* Legacy processing-hub rules retained for backward compatibility. */
.flow-engine {
  align-self: center;
}

.engine-core {
  position: relative;
  min-height: 210px;
  padding: 34px 16px 20px;

  border: 1px solid rgba(60, 213, 255, 0.22);
  border-radius: 50% 50% 22px 22px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;

  background:
    radial-gradient(
      circle at 50% 36%,
      rgba(47, 213, 255, 0.15),
      transparent 44%
    ),
    linear-gradient(155deg, rgba(10, 42, 67, 0.95), rgba(5, 19, 33, 0.96));

  box-shadow:
    0 25px 55px rgba(0, 0, 0, 0.28),
    0 0 38px rgba(34, 199, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);

  transition:
    transform 300ms ease,
    border-color 300ms ease,
    box-shadow 300ms ease;
}

.engine-logos {
  position: relative;
  z-index: 2;

  margin-bottom: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.engine-logos > div {
  display: grid;
  justify-items: center;
  gap: 6px;
}

.engine-logos img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.engine-logos small {
  color: #8ba3b5;
  font-size: 7px;
  font-weight: 700;
}

.engine-divider {
  width: 1px;
  height: 42px;
  background: linear-gradient(
    transparent,
    rgba(81, 214, 255, 0.35),
    transparent
  );
}

.engine-core > strong {
  position: relative;
  z-index: 2;
  color: #ecf8ff;
  font-size: 11px;
}

.engine-core > p {
  position: relative;
  z-index: 2;

  margin: 5px 0 0;
  color: #6f8ba0;
  font-size: 7px;
  letter-spacing: 0.04em;
}

.engine-ring {
  position: absolute;
  border: 1px dashed rgba(53, 213, 255, 0.17);
  border-radius: 50%;
  pointer-events: none;
}

.engine-ring-one {
  inset: 16px;
  animation: engine-spin 16s linear infinite;
}

.engine-ring-two {
  inset: 29px;
  border-color: rgba(81, 235, 193, 0.12);
  animation: engine-spin 12s linear infinite reverse;
}

/* Report output */
.flow-output {
  align-self: center;
}

.report-window {
  overflow: hidden;

  border: 1px solid rgba(126, 215, 255, 0.2);
  border-radius: 14px;

  background: #07121e;

  box-shadow:
    0 25px 55px rgba(0, 0, 0, 0.32),
    0 0 34px rgba(0, 184, 255, 0.08);

  transition:
    transform 320ms cubic-bezier(0.2, 0.75, 0.25, 1),
    border-color 320ms ease,
    box-shadow 320ms ease;
}

.report-window-bar {
  min-height: 31px;
  padding: 0 9px;

  border-bottom: 1px solid rgba(126, 215, 255, 0.1);

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: rgba(7, 23, 38, 0.96);
}

.report-window-bar > div {
  display: flex;
  gap: 4px;
}

.report-window-bar > div i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #415d72;
}

.report-window-bar > span {
  display: flex;
  align-items: center;
  gap: 5px;

  color: #7890a3;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.report-window-bar > span i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #52e1b2;
  box-shadow: 0 0 9px rgba(82, 225, 178, 0.8);
}

.report-preview {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.report-preview > img {
  display: block;
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  filter: saturate(0.92) contrast(1.01);
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.report-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background:
    linear-gradient(180deg, transparent 60%, rgba(3, 14, 24, 0.7)),
    linear-gradient(135deg, rgba(31, 207, 255, 0.05), transparent 36%);
}

.report-preview-status {
  position: absolute;
  z-index: 3;
  right: 8px;
  bottom: 8px;
  left: 8px;

  padding: 7px 8px;

  border: 1px solid rgba(123, 215, 255, 0.12);
  border-radius: 8px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;

  background: rgba(4, 17, 29, 0.78);
  backdrop-filter: blur(10px);
}

.report-preview-status span {
  display: flex;
  align-items: center;
  gap: 5px;

  color: #7892a6;
  font-size: 6px;
}

.report-preview-status span i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4fe0b2;
}

.report-preview-status strong {
  color: #dff5ff;
  font-size: 7px;
}

.report-outcomes {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.report-outcomes span {
  padding: 5px 8px;

  border: 1px solid rgba(110, 203, 239, 0.11);
  border-radius: 999px;

  color: #7791a4;
  background: rgba(11, 35, 53, 0.76);

  font-size: 7px;
  font-weight: 700;
}

/* Footer */
.flow-footer {
  min-height: 43px;
  padding: 0 17px;

  border-top: 1px solid rgba(137, 220, 255, 0.09);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  color: #6e879a;
  background: rgba(4, 16, 27, 0.66);

  font-size: 7px;
}

.flow-footer > span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.flow-footer svg {
  width: 12px;
  height: 12px;
  color: #31cfff;
}

.flow-footer-message {
  color: #a9c0cf;
  font-weight: 700;
}

/* Hover interactions */
@media (hover: hover) and (pointer: fine) {
  .source-node:hover {
    transform: translateX(6px);
    border-color: rgba(67, 213, 255, 0.34);

    box-shadow:
      0 16px 34px rgba(0, 0, 0, 0.28),
      0 0 22px rgba(34, 199, 255, 0.08);
  }

  .flow-engine:hover .engine-core {
    transform: translateY(-4px) scale(1.025);
    border-color: rgba(70, 221, 255, 0.4);

    box-shadow:
      0 30px 65px rgba(0, 0, 0, 0.34),
      0 0 42px rgba(34, 199, 255, 0.16);
  }

  .flow-output:hover .report-window {
    transform: translateY(-6px);
    border-color: rgba(93, 220, 255, 0.38);

    box-shadow:
      0 32px 70px rgba(0, 0, 0, 0.38),
      0 0 45px rgba(0, 184, 255, 0.14);
  }

  .flow-output:hover .report-preview > img {
    transform: scale(1.025);
  }
}

/* Animations */
@keyframes data-flow {
  to {
    stroke-dashoffset: -40;
  }
}

@keyframes flow-status-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.22);
    opacity: 0.72;
  }
}

@keyframes engine-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes hero-gradient-shift {
  0%,
  100% {
    background-position: 0% center;
  }

  50% {
    background-position: 100% center;
  }
}

@keyframes hero-dot-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 5px rgba(0, 194, 243, 0.08);
  }

  50% {
    transform: scale(1.16);
    box-shadow: 0 0 0 10px rgba(0, 194, 243, 0);
  }
}

/* Smaller desktop/laptop */
@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero-visual {
    width: min(100%, 780px);
    margin-inline: auto;
    justify-self: center;
  }
}

/* Mobile/tablet pipeline */
@media (max-width: 720px) {
  .hero-grid {
    gap: 38px;
  }

  .hero-stage {
    transform: none !important;
  }

  .intelligence-flow {
    border-radius: 17px;
  }

  .flow-canvas {
    min-height: 0;
    padding: 25px 13px 27px;

    grid-template-columns: 1fr;
    gap: 62px;
  }
  .flow-map {
    display: none;
  }

  .source-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .source-node {
    min-height: 58px;
    padding: 9px;
  }

  .source-logo {
    width: 31px;
    height: 31px;
    flex-basis: 31px;
  }

  .source-logo img {
    width: 21px;
    height: 21px;
  }

  .flow-sources::after,
  .flow-engine::after {
    content: "";
    position: absolute;
    z-index: 0;

    left: 50%;
    bottom: -50px;

    width: 2px;
    height: 42px;

    background: repeating-linear-gradient(
      to bottom,
      #2bd5ff 0 7px,
      transparent 7px 13px
    );

    filter: drop-shadow(0 0 4px rgba(43, 213, 255, 0.6));
    animation: mobile-data-flow 0.55s linear infinite;
  }

  .engine-core {
    width: min(230px, 82%);
    min-height: 190px;
    margin-inline: auto;
  }

  .flow-output {
    width: 100%;
  }

  .report-window {
    width: 100%;
  }

  /* .flow-footer {
    padding: 12px 13px;
    flex-wrap: wrap;
  }

  .flow-footer-message {
    width: 100%;
    order: -1;
    justify-content: center;
  } */
}

@media (max-width: 430px) {
  .source-node small {
    display: none;
  }

  .source-node strong {
    font-size: 9px;
  }

  .flow-live-status {
    font-size: 7px;
  }

  .flow-footer {
    justify-content: center;
  }
}

@keyframes mobile-data-flow {
  to {
    background-position-y: 13px;
  }
}

/* Motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .hero-copy h1 span,
  .hero-copy .eyebrow-dot,
  .flow-status-dot,
  .flow-path-signal,
  .engine-ring,
  .flow-sources::after,
  .flow-engine::after {
    animation: none !important;
  }

  .hero-stage,
  .source-node,
  .engine-core,
  .report-window,
  .report-preview > img {
    transition: none !important;
    transform: none !important;
  }
}

/* =========================================================
   HERO FLOW V2 Ã¢â‚¬â€ FIVE SOURCES / PRIVATE PROCESSING / BIG OUTPUT
   Keep this block after the original hero-flow rules so these
   values remain the final source of truth at every breakpoint.
   ========================================================= */

.hero-grid {
  grid-template-columns: minmax(390px, 0.72fr) minmax(820px, 1.28fr);
  gap: clamp(34px, 4vw, 66px);
}

.hero-visual {
  width: min(940px, 114%);
  justify-self: end;
}

.hero-stage,
.intelligence-flow {
  transform: none !important;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.intelligence-flow::before,
.intelligence-flow::after {
  display: none !important;
}

.flow-canvas {
  position: relative;
  min-height: 520px;
  padding: 20px 12px;
  display: grid;
  grid-template-columns: 210px 150px minmax(460px, 1fr);
  align-items: center;
  gap: 32px;
}

.flow-map {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.flow-path-base,
.flow-path-signal {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.flow-path-base {
  stroke: rgba(73, 167, 213, 0.18);
  stroke-width: 1.4;
}

.flow-path-signal {
  stroke: url("#flow-gradient");
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-dasharray: 9 12;
  filter: url("#flow-glow");
  animation: data-flow 0.82s linear infinite;
}

.flow-delay-2 {
  animation-delay: -0.18s;
}
.flow-delay-3 {
  animation-delay: -0.36s;
}
.flow-path-signal.flow-delay-3 {
  stroke-width: 2.6;
  stroke-dasharray: 8 9;
}
.flow-delay-4 {
  animation-delay: -0.54s;
}
.flow-delay-5 {
  animation-delay: -0.72s;
}

.flow-path-base-output {
  stroke: rgba(78, 220, 238, 0.24);
  stroke-width: 1.7;
}

.flow-path-output {
  stroke-width: 2.8;
  stroke-dasharray: 10 10;
  animation-duration: 0.64s;
}

.flow-sources,
.flow-engine,
.flow-output {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.source-list {
  display: grid;
  gap: 10px;
}

.source-node {
  min-height: 58px;
  padding: 9px 11px;
  border: 1px solid rgba(122, 199, 232, 0.13);
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  background: linear-gradient(
    135deg,
    rgba(15, 42, 65, 0.88),
    rgba(7, 24, 40, 0.9)
  );
  box-shadow:
    0 13px 30px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
  transition:
    transform 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease;
}

.source-logo {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.052);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.source-logo img {
  display: block;
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.source-node strong,
.source-node small {
  display: block;
}

.source-node strong {
  margin-bottom: 3px;
  color: #eef8fd;
  font-size: 10.5px;
  line-height: 1.1;
  white-space: nowrap;
}

.source-node small {
  color: #728b9e;
  font-size: 7px;
  line-height: 1.25;
  white-space: nowrap;
}

.flow-engine {
  align-self: center;
  display: grid;
  place-items: center;
}

.processing-gear {
  width: 148px;
  height: 148px;
  display: grid;
  place-items: center;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.gear-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 0 14px rgba(43, 217, 255, 0.2));
}

.gear-rotor {
  transform-origin: 80px 80px;
  animation: gear-spin 8s linear infinite;
}

.gear-orbit {
  fill: none;
  stroke: rgba(76, 220, 255, 0.28);
  stroke-width: 1.5;
  stroke-dasharray: 3 9;
  transform-origin: 80px 80px;
  animation: gear-spin 13s linear infinite reverse;
}

.gear-core {
  transform-origin: 80px 80px;
  animation: gear-core-pulse 2.3s ease-in-out infinite;
}

.flow-output {
  width: 100%;
  align-self: center;
}

.report-window {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(126, 215, 255, 0.23);
  border-radius: 16px;
  background: #07121e;
  box-shadow:
    0 28px 68px rgba(0, 0, 0, 0.38),
    0 0 42px rgba(0, 184, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition:
    transform 300ms cubic-bezier(0.2, 0.75, 0.25, 1),
    border-color 300ms ease,
    box-shadow 300ms ease;
}

.report-window-bar {
  min-height: 35px;
  padding: 0 12px;
}

.report-window-bar > div {
  gap: 5px;
}
.report-window-bar > div i {
  width: 6px;
  height: 6px;
}
.report-window-bar > span {
  font-size: 7.5px;
}
.report-window-bar > span i {
  width: 6px;
  height: 6px;
}

.report-preview-status {
  right: 10px;
  bottom: 10px;
  left: 10px;
  padding: 8px 10px;
}

.report-preview-status span {
  font-size: 6.5px;
}
.report-preview-status strong {
  font-size: 7.5px;
}

.hero-tools {
  margin-top: 48px;
  height: 74px;
}

.marquee-track {
  animation-duration: 20s;
}

.tool {
  min-width: 176px;
  padding: 0 22px;
  gap: 11px;
  color: #9badbb;
  opacity: 0.94;
}

.tool-logo {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
  border-color: rgba(145, 190, 214, 0.11);
  background: linear-gradient(
    145deg,
    rgba(151, 207, 233, 0.075),
    rgba(50, 103, 132, 0.025)
  );
}

.tool-logo img {
  width: 22px;
  height: 22px;
  filter: none !important;
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  .source-node:hover {
    transform: translateX(4px);
    border-color: rgba(67, 213, 255, 0.31);
    box-shadow:
      0 17px 36px rgba(0, 0, 0, 0.27),
      0 0 20px rgba(34, 199, 255, 0.07);
  }

  .flow-output:hover .report-window {
    transform: translateY(-4px);
    border-color: rgba(93, 220, 255, 0.36);
    box-shadow:
      0 34px 76px rgba(0, 0, 0, 0.42),
      0 0 48px rgba(0, 184, 255, 0.13);
  }

  .flow-output:hover .report-preview > img {
    transform: scale(1.018);
  }
}

@keyframes gear-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes gear-core-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.92;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@media (max-width: 1350px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    width: min(100%, 940px);
    margin-inline: auto;
    justify-self: center;
  }
}

@media (max-width: 720px) {
  .hero-grid {
    gap: 38px;
  }

  .flow-canvas {
    min-height: 0;
    padding: 24px 13px 28px;
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .flow-map {
    display: none;
  }

  .source-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .source-node {
    min-height: 58px;
    padding: 9px;
  }

  .source-node:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 4.5px);
    justify-self: center;
  }

  .source-logo {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .source-logo img {
    width: 22px;
    height: 22px;
  }

  .flow-sources::after,
  .flow-engine::after {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    bottom: -58px;
    width: 2px;
    height: 48px;
    background: repeating-linear-gradient(
      to bottom,
      #2bd5ff 0 8px,
      transparent 8px 14px
    );
    filter: drop-shadow(0 0 4px rgba(43, 213, 255, 0.65));
    animation: mobile-data-flow 0.5s linear infinite;
  }

  .processing-gear {
    width: 146px;
    height: 146px;
    margin-inline: auto;
  }

  .flow-output,
  .report-window {
    width: 100%;
  }

  .hero-tools {
    height: 62px;
    margin-top: 36px;
  }

  .tool {
    min-width: 146px;
    padding-inline: 14px;
    font-size: 10px;
  }
}

@media (max-width: 430px) {
  .source-node strong {
    font-size: 8.8px;
  }
  .source-node small {
    display: none;
  }
  .source-node:last-child {
    width: 100%;
  }
  .processing-gear {
    width: 132px;
    height: 132px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flow-path-signal,
  .gear-rotor,
  .gear-orbit,
  .gear-core,
  .flow-sources::after,
  .flow-engine::after {
    animation: none !important;
  }
}

/* Preserve your smaller header logo */
.brand {
  width: 145px;
  height: 58px;
}

.brand img {
  display: block;
  width: 145px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 960px) {
  .brand {
    width: 132px;
    height: 54px;
  }

  .brand img {
    width: 132px;
  }
}

@media (max-width: 430px) {
  .brand {
    width: 120px;
    height: 50px;
  }

  .brand img {
    width: 120px;
  }
}
/* =========================================================
   GLIMPSE IMAGE Ã¢â‚¬â€ PRESERVE NATURAL RATIO, NO WHITE BORDERS
   This must remain at the bottom of styles.css
========================================================= */

.dashboard-art.image-art.glimpse-dashboard {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  overflow: hidden;
  border-radius: 15px;
  background: transparent;
}

.dashboard-art.image-art.glimpse-dashboard img {
  position: static;
  inset: auto;
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: initial;
  object-position: initial;
}

/* Remove embedded white edge from Supplement dashboard only */
.dashboard-art.image-art.glimpse-dashboard img[src*="supplement-sales"] {
  transform: scale(1.012);
  transform-origin: center;
}

/* Remove embedded white edge from Retail dashboard only */
.dashboard-art.image-art.glimpse-dashboard img[src*="retail-practices"] {
  transform: scale(1.012);
  transform-origin: center;
}

/* Remove embedded white edge from Nigeria Food dashboard only */
.dashboard-art.image-art.glimpse-dashboard img[src*="nigeria-food"] {
  transform: scale(1.012);
  transform-origin: center;
}

/* =========================================================
   SELECTED WORK Ã¢â‚¬â€ PREMIUM DASHBOARD PREVIEWS
========================================================= */

/*
 * Display two larger projects instead of three small ones.
 * This makes detailed dashboard screenshots clearer.
 */
@media (min-width: 768px) {
  .project-carousel-track {
    grid-auto-columns: clamp(500px, calc((100% - 22px) / 2), 680px);
  }
}

/* Slim outer frame */
.project-card.has-project-image .project-visual,
.project-slide.has-project-image .project-visual {
  padding: 6px;
  overflow: hidden;
  border: 1px solid rgba(7, 17, 31, 0.05);
  border-radius: 16px;
  background: #edf2f6;

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

/* Consistent dashboard viewport */
.project-card.has-project-image .project-dashboard,
.project-slide.has-project-image .project-dashboard {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 11px;
  background: #07111f;
  box-shadow: 0 12px 30px rgba(7, 17, 31, 0.12);
}

/* Natural image rendering */
.project-card.has-project-image .project-dashboard img,
.project-slide.has-project-image .project-dashboard img {
  position: absolute;
  inset: 0;

  display: block;
  width: 100%;
  height: 100%;
  max-width: none;

  /* Fill the frame without black or empty spaces */
  object-fit: cover;
  object-position: center;

  filter: none;
  image-rendering: auto;
  backface-visibility: hidden;
}

/* Refined hover effect */
.project-card:hover .project-visual,
.project-slide:hover .project-visual {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(7, 17, 31, 0.12);
}

/* Mobile */
@media (max-width: 767px) {
  .project-carousel-track {
    grid-auto-auto-columns: min(86vw, 350px);
    gap: 14px;
  }

  .project-card.has-project-image .project-visual,
  .project-slide.has-project-image .project-visual {
    padding: 4px;
    border-radius: 13px;
  }

  .project-card.has-project-image .project-dashboard,
  .project-slide.has-project-image .project-dashboard {
    border-radius: 9px;
  }
}
/* =========================================================
   FULL-SIZE INTERACTIVE PROJECT VIEWER
   ========================================================= */

.project-modal.has-live-project {
  width: min(1840px, calc(100vw - 24px));
  height: min(1000px, calc(100dvh - 24px));
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #06111f;
}

.project-modal.has-live-project .modal-shell {
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

/* Hide project text while an interactive project is open */
.project-modal.has-live-project .modal-info {
  display: none;
}

.project-modal.has-live-project .modal-preview.has-report {
  width: 100%;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
  padding: 64px 18px 18px;
  overflow: hidden;
  background: #06111f;
}

.project-modal.has-live-project .report-embed-shell {
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(107, 216, 255, 0.2);
  border-radius: 12px;
  background: #050d18;
  box-shadow: none;
}

.project-modal.has-live-project .report-embed-shell iframe {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  border: 0;
  background: #050d18;
}

/* Keep close button clear and accessible */
.project-modal.has-live-project .modal-close {
  position: absolute;
  z-index: 20;
  top: 11px;
  right: 18px;
}

/* Mobile interactive-project viewer */
@media (max-width: 720px) {
  .project-modal.has-live-project {
    width: 100vw;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    border-radius: 0;
  }

  .project-modal.has-live-project .modal-preview.has-report {
    padding: 58px 0 0;
  }

  .project-modal.has-live-project .report-embed-shell {
    border: 0;
    border-radius: 0;
  }

  .project-modal.has-live-project .modal-close {
    top: 9px;
    right: 12px;
  }
}

/* =========================================================
   HERO FLOW V3 Ã¢â‚¬â€ SPACING AND CONNECTOR CORRECTIONS
   ========================================================= */

/* Give the hero more room and prevent overlap */
.hero > .hero-grid {
  /* More breathing room on both outer edges */
  width: min(calc(100% - 160px), 1440px);

  grid-template-columns:
    minmax(420px, 0.8fr)
    minmax(700px, 1.2fr);

  /* Bring the five tools closer to the text */
  gap: clamp(32px, 3vw, 48px);
}

.hero-copy {
  min-width: 0;
}

.hero-visual {
  width: 100%;
  max-width: 880px;
  justify-self: end;
}

.hero-copy h1 .hero-accent-line {
  display: block;
  width: max-content;
  max-width: calc(100% + 0.22em);
  padding-right: 0.22em;

  /* DM Sans has a clearer lowercase e at large display sizes. */
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: -0.045em;

  color: transparent;
  background: linear-gradient(90deg, #91ebff 0%, #2acaf6 55%, #25aaff 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  overflow: visible;
  animation: hero-gradient-shift 7s ease-in-out infinite;
}

/*
  Five-column internal layout:

  1. Source cards
  2. Source-to-gear space
  3. Gear
  4. Gear-to-dashboard space
  5. Dashboard
*/
.flow-canvas {
  position: relative;
  min-height: 520px;
  padding: 20px 0;

  display: grid;

  /*
    21%  = larger source cards
    5.5% = longer visible source connectors
    10%  = compact gear column
    7%   = output connector space
  */
  grid-template-columns:
    21%
    5.5%
    10%
    7%
    minmax(0, 1fr);

  align-items: center;
  gap: 0;
}

.flow-sources {
  grid-column: 1;
}

.flow-engine {
  grid-column: 3;
}

.flow-output {
  grid-column: 5;
}

/* Larger source cards with precise spacing. */
.source-list {
  display: grid;
  gap: 14px;
}

.source-node {
  width: 100%;
  min-height: 62px;
  padding: 10px 12px;
  border-radius: 14px;
}

.source-logo {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 11px;
}

.source-logo img {
  width: 27px;
  height: 27px;
}

.source-node strong {
  font-size: 11px;
}

.source-node small {
  font-size: 7.3px;
}

/* Smaller and properly balanced gear */
.processing-gear {
  width: 78px;
  height: 78px;

  margin-inline: auto;

  display: grid;
  place-items: center;

  background: none;
  border: 0;
  box-shadow: none;
}

/* Make the final connector clearly visible */
.flow-path-base-output {
  stroke: rgba(85, 241, 200, 0.32);
  stroke-width: 1.9;
}

.flow-path-output {
  stroke: url("#flow-gradient");
  stroke-width: 3.2;
  stroke-dasharray: 8 8;
  stroke-linecap: round;
  opacity: 1;

  filter: url("#flow-glow");
  animation-duration: 0.85s;
}

/* Gusto Ã¢â€ â€™ intelligence gear
   The glow filter is intentionally disabled because this path is horizontal. */
/* Gusto line Ã¢â‚¬â€ identical styling to the other input lines */
.flow-path-signal.flow-delay-3 {
  stroke: url("#flow-gradient") !important;
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-dasharray: 9 12;
  opacity: 1;
  filter: url("#flow-glow") !important;
  animation: data-flow 0.82s linear infinite;
  animation-delay: -0.36s;
}
/* Stacked layout for smaller laptops and tablets */
@media (max-width: 1350px) {
  .hero > .hero-grid {
    width: min(calc(100% - 48px), var(--container));
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .hero-visual {
    width: min(100%, 900px);
    max-width: 900px;
    margin-inline: auto;
    justify-self: center;
  }
}

/* Mobile */
@media (max-width: 720px) {
  .flow-canvas {
    min-height: 0;
    padding: 24px 13px 28px;

    grid-template-columns: 1fr;
    gap: 70px;
  }

  .flow-sources,
  .flow-engine,
  .flow-output {
    grid-column: 1;
  }

  .processing-gear {
    width: 84px;
    height: 84px;
  }

  .source-list {
    gap: 10px;
  }

  .source-node {
    min-height: 58px;
    padding: 9px 10px;
  }

  .source-logo {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .source-logo img {
    width: 23px;
    height: 23px;
  }

  .source-node strong {
    font-size: 9.5px;
  }

  .source-node small {
    font-size: 7px;
  }
}

@media (max-width: 430px) {
  .processing-gear {
    width: 76px;
    height: 76px;
  }
}

/* ==================================================
   WHAT WE BUILD Ã¢â‚¬â€ CONNECTED PERFORMANCE CARDS
   ================================================== */

.expertise-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    64px
    minmax(0, 1fr)
    64px
    minmax(0, 1.08fr);
  gap: 0;
  align-items: stretch;
}

.expertise-card {
  position: relative;
  min-width: 0;
  min-height: 460px;
  padding: 30px;
  overflow: hidden;

  border: 1px solid #dce6ef;
  border-radius: 24px;

  display: flex;
  flex-direction: column;

  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(248, 252, 255, 0.88), transparent 48%),
    var(--white);

  box-shadow: 0 18px 50px rgba(7, 25, 45, 0.06);

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.expertise-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 30px;
  left: 30px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, #00bff3, #3b82f6);
  transform: scaleX(0.28);
  transform-origin: left;
  opacity: 0.72;
  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
}

.expertise-card:hover {
  transform: translateY(-7px);
  border-color: #b8ddea;
  box-shadow: 0 25px 65px rgba(7, 25, 45, 0.12);
}

.expertise-card:hover::before {
  transform: scaleX(1);
  opacity: 1;
}

/* Card header */

.expertise-card .card-topline {
  margin: 0 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.expertise-card .card-topline > span:first-child {
  color: #8ba0b4;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.expertise-icon {
  width: 44px;
  height: 44px;

  border: 1px solid #d6e8f2;
  border-radius: 13px;

  display: grid;
  place-items: center;

  color: #008fc5;
  background: #f2f9fd;
}

.expertise-icon svg {
  width: 19px;
  height: 19px;
  padding: 0;
  border: 0;
  color: currentColor;
  background: transparent;
}

/* Card content */

.card-label {
  display: block;
  margin-bottom: 10px;

  color: #0088b9;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.expertise-card h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(27px, 2.1vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.expertise-card p {
  max-width: 300px;
  margin: 0;
  color: #687b8f;
  font-size: 14px;
  line-height: 1.6;
}

/* Metrics */

.expertise-card .expertise-metrics {
  margin: auto 0 0;
  padding: 25px 0 0;

  border-top: 1px solid #dce6ef;
  list-style: none;
}

.expertise-card .expertise-metrics li {
  min-height: 31px;
  margin: 0;

  display: flex;
  align-items: center;
  gap: 10px;

  color: #4f6275;
  font-size: 13px;
  font-weight: 600;
}

.expertise-card .expertise-metrics li svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: #00aee4;
}

/* Plus and equals connectors */

.expertise-operator {
  position: relative;
  display: grid;
  place-items: center;
}

.expertise-operator::before,
.expertise-operator::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 14px;
  height: 1.5px;
  background: #82cfe2;
}

.expertise-operator::before {
  left: 5px;
}

.expertise-operator::after {
  right: 5px;
}

.expertise-operator span {
  position: relative;
  z-index: 1;

  width: 44px;
  height: 44px;

  border: 1px solid rgba(0, 174, 228, 0.42);
  border-radius: 50%;

  display: grid;
  place-items: center;

  color: #061321;
  background: linear-gradient(135deg, #78e8ff, #28c9ef);

  box-shadow:
    0 10px 26px rgba(0, 174, 228, 0.18),
    0 0 0 5px rgba(0, 194, 243, 0.055);

  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 800;
}

/* Result card */

.expertise-card.result-card {
  color: var(--white);
  border-color: transparent;

  background:
    radial-gradient(circle at 92% 8%, rgba(0, 194, 243, 0.3), transparent 31%),
    linear-gradient(145deg, #061321, #092a43);

  box-shadow: 0 28px 70px rgba(5, 22, 39, 0.2);
}

.expertise-card.result-card::before {
  transform: scaleX(1);
  opacity: 1;
}

.result-card .expertise-icon {
  color: #5ce2ff;
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.07);
}

.expertise-card.result-card h3 {
  color: var(--white);
}

.expertise-card.result-card p {
  color: #adc0d1;
}

.result-card .card-label {
  color: #53dfff;
}

.expertise-card.result-card .expertise-metrics {
  border-color: rgba(255, 255, 255, 0.12);
}

.expertise-card.result-card .expertise-metrics li {
  min-height: 38px;
  color: #e4eef6;
  font-size: 14px;
}

.expertise-card.result-card .expertise-metrics li svg {
  color: #53dfff;
}

/* Result CTA Ã¢â‚¬â€ recommendation-style action */

.expertise-card .expertise-cta {
  min-height: 64px;
  margin-top: 18px;
  padding: 11px 12px;

  border: 1px solid rgba(83, 220, 250, 0.14);
  border-radius: 12px;

  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 11px;

  color: #dff5fb;
  background: rgba(0, 194, 243, 0.045);
  box-shadow: none;

  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

/* Leading icon */

.expertise-cta-icon {
  width: 34px;
  height: 34px;

  border: 1px solid rgba(83, 220, 250, 0.15);
  border-radius: 9px;

  display: grid;
  place-items: center;

  color: #55dbf9;
  background: rgba(0, 194, 243, 0.075);
}

.expertise-cta-icon svg {
  width: 15px;
  height: 15px;
  color: currentColor;
}

/* CTA text */

.expertise-cta-copy {
  min-width: 0;
}

.expertise-cta-copy small,
.expertise-cta-copy strong {
  display: block;
}

.expertise-cta-copy small {
  margin-bottom: 3px;

  color: #6f8ca2;
  font-size: 7px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.expertise-cta-copy strong {
  color: #e2f5fb;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.3;
}

/* Arrow */

.expertise-cta-arrow {
  display: grid;
  place-items: center;
  color: #55dbf9;
}

.expertise-cta-arrow svg {
  width: 15px;
  height: 15px;
  color: currentColor;
  transition: transform 0.2s ease;
}

/* Hover */

.expertise-card .expertise-cta:hover {
  color: #e2f5fb;
  border-color: rgba(83, 220, 250, 0.3);
  background: rgba(0, 194, 243, 0.085);

  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.12),
    0 0 0 4px rgba(0, 194, 243, 0.035);

  transform: translateY(-2px);
}

.expertise-card .expertise-cta:hover .expertise-cta-arrow svg {
  transform: translate(2px, -2px);
}
/* Tablet */

@media (max-width: 1050px) {
  .expertise-grid {
    grid-template-columns:
      minmax(0, 1fr)
      48px
      minmax(0, 1fr)
      48px
      minmax(0, 1fr);
  }

  .expertise-card {
    min-height: 440px;
    padding: 24px;
  }

  .expertise-card .card-topline {
    margin-bottom: 38px;
  }

  .expertise-operator::before,
  .expertise-operator::after {
    display: none;
  }
}

/* Mobile */

@media (max-width: 760px) {
  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .expertise-card,
  .expertise-card.result-card {
    grid-column: auto;
    min-height: auto;
    padding: 25px;
  }

  .expertise-card .card-topline {
    margin-bottom: 35px;
  }

  .expertise-card .expertise-metrics {
    margin-top: 36px;
  }

  .expertise-operator {
    min-height: 62px;
  }

  .expertise-operator span {
    width: 36px;
    height: 36px;
  }

  .expertise-operator::before,
  .expertise-operator::after {
    display: block;
    top: 50%;
    width: calc(50% - 29px);
  }

  .expertise-operator::before {
    left: 0;
  }

  .expertise-operator::after {
    right: 0;
  }
}
@media (max-width: 720px) {
  .expertise-card .expertise-cta {
    min-height: 60px;
    padding: 10px 11px;
  }

  .expertise-cta-copy strong {
    font-size: 10px;
  }
}
/* ==================================================
   WHY 4SIGHT Ã¢â‚¬â€ REFINED MARGIN INTELLIGENCE CARD
   ================================================== */

.margin-alert-card {
  inset: 22px 12px 12px;
  padding: 25px 27px;
  overflow: hidden;

  border: 1px solid rgba(90, 210, 242, 0.18);
  border-radius: 22px;

  background:
    radial-gradient(circle at 96% 2%, rgba(0, 194, 243, 0.13), transparent 38%),
    linear-gradient(145deg, #0b2236, #081827);

  box-shadow:
    0 32px 75px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

/* Fine brand-colour accent */

.margin-alert-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 27px;
  left: 27px;
  height: 2px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(
    90deg,
    rgba(0, 194, 243, 0.25),
    #53dcfa,
    rgba(0, 194, 243, 0.25)
  );
}

/* Alert heading */

.margin-alert-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.margin-alert-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  color: #55dbf9;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.margin-alert-label svg {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}

.margin-alert-status {
  min-height: 25px;
  padding: 0 9px;

  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  gap: 6px;

  color: #a9bbca;
  background: rgba(255, 255, 255, 0.035);

  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.margin-alert-status > i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ff8191;
  box-shadow: 0 0 0 3px rgba(255, 129, 145, 0.1);
}

/* Main metric */

.margin-metric {
  margin-top: 22px;
}

.margin-metric > span {
  display: block;
  margin-bottom: 6px;

  color: #8ba7bb;
  font-size: 11px;
  font-weight: 600;
}

.margin-value {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.margin-value strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: #f4f9fc;
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.055em;
}

.margin-value strong svg {
  width: 21px;
  height: 21px;
  color: #ff8191;
  stroke-width: 2.2;
}

.margin-value small {
  color: #69849a;
  font-size: 10px;
  font-weight: 700;
}

/* Compact margin trend chart */

.margin-chart {
  margin-top: 17px;
}

.margin-chart-head {
  margin-bottom: 7px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  color: #6f8ba1;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.margin-chart-head span:last-child {
  color: #8ba2b5;
}

.margin-chart-plot {
  position: relative;
  height: 61px;
  padding: 4px 3px 0;
  overflow: hidden;

  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

/* Dashed target reference */

.margin-target-line {
  position: absolute;
  z-index: 1;
  top: 15px;
  right: 0;
  left: 0;

  border-top: 1px dashed rgba(163, 186, 203, 0.35);
}

/* Bars */

.margin-chart-bars {
  position: relative;
  z-index: 2;

  height: 100%;

  display: flex;
  align-items: flex-end;
  gap: 7px;
}

.margin-chart-bars i {
  width: calc(100% / 8);
  height: var(--bar-height);

  border-radius: 4px 4px 1px 1px;

  background: linear-gradient(
    180deg,
    rgba(83, 220, 250, 0.95),
    rgba(18, 128, 194, 0.72)
  );

  box-shadow: 0 0 12px rgba(0, 194, 243, 0.08);

  transform-origin: bottom;
  animation: marginBarReveal 0.7s ease both;
}

.margin-chart-bars i:nth-child(2) {
  animation-delay: 0.05s;
}

.margin-chart-bars i:nth-child(3) {
  animation-delay: 0.1s;
}

.margin-chart-bars i:nth-child(4) {
  animation-delay: 0.15s;
}

.margin-chart-bars i:nth-child(5) {
  animation-delay: 0.2s;
}

.margin-chart-bars i:nth-child(6) {
  animation-delay: 0.25s;
}

.margin-chart-bars i:nth-child(7) {
  animation-delay: 0.3s;
}

.margin-chart-bars i:nth-child(8) {
  animation-delay: 0.35s;
}

/* Subtly distinguish the latest periods */

.margin-chart-bars i:nth-last-child(-n + 2) {
  background: linear-gradient(180deg, #8bc8e5, #397ba5);
}

@keyframes marginBarReveal {
  from {
    opacity: 0;
    transform: scaleY(0);
  }

  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* Driver breakdown */

.margin-drivers {
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.drivers-title {
  display: block;
  margin-bottom: 7px;

  color: #6e8ba2;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.margin-drivers ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.margin-drivers li {
  min-height: 29px;
  margin: 0;

  border-bottom: 1px solid rgba(255, 255, 255, 0.055);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  color: #d9e6ef;
  font-size: 10px;
  font-weight: 500;
}

.margin-drivers li:last-child {
  border-bottom: 0;
}

.margin-drivers li strong {
  width: 24px;
  height: 24px;

  border-radius: 7px;

  display: grid;
  place-items: center;

  background: rgba(255, 129, 145, 0.065);
}

.margin-drivers li strong svg {
  width: 12px;
  height: 12px;
  color: #ff8b99;
  stroke-width: 2;
}

.insight-stack {
  height: 468px;
}

.margin-alert-card {
  inset: 16px 12px 12px;
}
/* Analytical recommendation Ã¢â‚¬â€ not a button */

.margin-recommendation {
  margin-top: 13px;
  padding: 12px 13px;

  border: 1px solid rgba(83, 220, 250, 0.12);
  border-radius: 11px;

  display: flex;
  align-items: center;
  gap: 11px;

  background: rgba(0, 194, 243, 0.045);
}

.recommendation-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;

  border: 1px solid rgba(83, 220, 250, 0.13);
  border-radius: 9px;

  display: grid;
  place-items: center;

  color: #55dbf9;
  background: rgba(0, 194, 243, 0.07);
}

.recommendation-icon svg {
  width: 15px;
  height: 15px;
}

.margin-recommendation > div {
  min-width: 0;
}

.margin-recommendation small {
  display: block;
  margin-bottom: 2px;

  color: #69869c;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.margin-recommendation strong {
  display: block;
  overflow: hidden;

  color: #dff5fb;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .insight-stack {
    height: 455px;
  }

  .margin-alert-card {
    inset: 14px 8px 8px;
    padding: 20px;
  }

  .margin-chart-plot {
    height: 55px;
  }

  .margin-chart-bars {
    gap: 5px;
  }
}

/* ==================================================
   PROFESSIONAL COMPANY FOOTER
   ================================================== */

.site-footer {
  position: relative;
  overflow: hidden;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  color: #8fa4b8;
  background:
    radial-gradient(
      circle at 12% 10%,
      rgba(0, 194, 243, 0.055),
      transparent 25%
    ),
    #040d17;
}

.footer-main {
  padding: 72px 0 52px;

  display: grid;
  grid-template-columns:
    minmax(270px, 1.3fr)
    minmax(120px, 0.48fr)
    minmax(120px, 0.48fr)
    minmax(220px, 0.8fr);

  gap: clamp(38px, 5vw, 72px);
  align-items: start;
}

.footer-brand {
  max-width: 380px;
}

.footer-brand img {
  width: 170px;
  height: auto;
  object-fit: contain;
}

.footer-tagline {
  max-width: 330px;
  margin: 19px 0 0;

  color: #dce8f1;
  font-size: 15px;
  line-height: 1.55;
}

.footer-dba {
  max-width: 1060px;
  margin: 12px 0 0;

  color: #647c90;
  font-size: 11px;
  line-height: 1.55;
}

.footer-column,
.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-column strong,
.footer-social > strong {
  margin-bottom: 10px;

  color: #718ba3;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-column a {
  color: #aabdd0;
  font-size: 13px;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.footer-column a:hover {
  color: #55dcfa;
  transform: translateX(2px);
}

/* Legal area */

.footer-legal {
  padding: 27px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.footer-legal-links button {
  padding: 0;
  border: 0;

  color: #b2c3d1;
  background: transparent;

  font: inherit;
  font-size: 11px;
  font-weight: 700;

  cursor: pointer;

  transition: color 0.2s ease;
}

.footer-legal-links button:hover {
  color: #55dcfa;
}

.footer-legal-links button:not(:last-child)::after {
  content: "";
  width: 3px;
  height: 3px;
  margin: 0 11px;

  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;

  background: #466176;
}

.footer-disclaimer {
  max-width: 1060px;
  margin: 21px 0 0;

  color: #8095a7;
  font-size: 12px;
  line-height: 1.75;
}

/* Copyright row */

.footer-bottom {
  min-height: 72px;
  padding: 18px 0;

  border-top: 1px solid rgba(255, 255, 255, 0.075);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;

  color: #748da2;
  font-size: 12px;
  line-height: 1.5;
}

.footer-bottom button {
  padding: 0;
  border: 0;

  display: inline-flex;
  align-items: center;
  gap: 9px;

  color: #758da4;
  background: transparent;

  font: inherit;
  font-size: 12px;

  cursor: pointer;
  white-space: nowrap;

  transition: color 0.2s ease;
}

.footer-bottom button:hover {
  color: #55dcfa;
}

.footer-bottom svg {
  width: 14px;
  height: 14px;
}

/* ==================================================
   LEGAL DOCUMENT DIALOG
   ================================================== */

body.legal-open {
  overflow: hidden;
}

.legal-dialog {
  width: min(900px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;

  border: 1px solid #d9e5ed;
  border-radius: 22px;

  color: #17283a;
  background: #ffffff;

  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.32);
}

.legal-dialog::backdrop {
  background: rgba(3, 12, 21, 0.76);
  backdrop-filter: blur(7px);
}

.legal-dialog-shell {
  max-height: calc(100dvh - 34px);

  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;

  overflow: hidden;
}

/* Dialog header */

.legal-dialog-header {
  padding: 24px 27px;

  border-bottom: 1px solid #e1e9ef;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;

  background: #ffffff;
}

.legal-dialog-header span {
  display: block;
  margin-bottom: 5px;

  color: #0089b5;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.legal-dialog-header h2 {
  margin: 0;

  color: #071421;
  font-family: var(--font-display);
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.legal-dialog-close {
  width: 43px;
  height: 43px;
  padding: 0;
  flex: 0 0 auto;

  border: 1px solid #d8e4ec;
  border-radius: 50%;

  display: grid;
  place-items: center;

  color: #183044;
  background: #f7fafc;

  cursor: pointer;

  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.legal-dialog-close:hover {
  color: #061321;
  border-color: #5ee1ff;
  background: #5ee1ff;
  transform: rotate(4deg);
}

.legal-dialog-close svg {
  width: 18px;
  height: 18px;
}

/* Scrollable legal content */

.legal-dialog-body {
  padding: 31px 34px 40px;
  overflow-y: auto;
  overscroll-behavior: contain;

  color: #405568;
  font-size: 15px;
  line-height: 1.75;

  scrollbar-width: thin;
  scrollbar-color: #aac4d3 #edf3f6;
}

.legal-dialog-body p {
  margin: 0 0 18px;
}

.legal-dialog-body h3 {
  margin: 32px 0 12px;

  color: #0b2032;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.legal-dialog-body h3:first-child {
  margin-top: 0;
}

.legal-dialog-body ul {
  margin: 6px 0 24px;
  padding: 0;

  display: grid;
  gap: 9px;

  list-style: none;
}

.legal-dialog-body li {
  position: relative;
  margin: 0;
  padding-left: 20px;

  line-height: 1.65;
}

.legal-dialog-body li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 2px;

  width: 6px;
  height: 6px;
  border-radius: 50%;

  background: #16bfe9;
  box-shadow: 0 0 0 3px rgba(22, 191, 233, 0.1);
}

.legal-dialog-body strong {
  color: #132c40;
}

.legal-loading,
.legal-error {
  min-height: 200px;

  display: grid;
  place-items: center;

  color: #688094;
  text-align: center;
}

.legal-error {
  color: #b34b5a;
}

/* Dialog footer */

.legal-dialog-footer {
  min-height: 65px;
  padding: 14px 27px;

  border-top: 1px solid #e1e9ef;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  color: #8295a5;
  background: #f8fafc;

  font-size: 13px;
}

.legal-dialog-footer button {
  min-height: 38px;
  padding: 0 16px;

  border: 1px solid #cfe0e9;
  border-radius: 9px;

  color: #082033;
  background: #ffffff;

  font: inherit;
  font-size: 11px;
  font-weight: 800;

  cursor: pointer;
}

.legal-dialog-footer button:hover {
  border-color: #5ee1ff;
  background: #ddf8ff;
}

@media (max-width: 960px) {
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    max-width: 560px;
    grid-column: 1 / -1;
  }

  .footer-social {
    grid-column: 1 / -1;

    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.075);
  }
}

@media (max-width: 720px) {
  .footer-main {
    padding: 48px 0 36px;
    gap: 34px 20px;
  }

  .footer-brand img {
    width: 150px;
  }

  .footer-tagline {
    max-width: 300px;
    font-size: 14px;
  }

  .footer-dba {
    max-width: none;
    margin-top: 12px;
    font-size: 10px;
  }

  .footer-column {
    min-width: 0;
  }

  .footer-column a {
    font-size: 12px;
  }

  .footer-legal {
    padding: 25px 0;
  }

  .footer-legal-links {
    row-gap: 13px;
  }

  .footer-disclaimer {
    margin-top: 20px;
    font-size: 12px;
    line-height: 1.7;
  }

  .footer-bottom {
    padding: 23px 0 27px;

    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }

  .legal-dialog {
    width: calc(100% - 16px);
    max-height: calc(100dvh - 16px);
    border-radius: 16px;
  }

  .legal-dialog-shell {
    max-height: calc(100dvh - 18px);
  }

  .legal-dialog-header {
    padding: 18px;
  }

  .legal-dialog-header h2 {
    font-size: 25px;
  }

  .legal-dialog-close {
    width: 39px;
    height: 39px;
  }

  .legal-dialog-body {
    padding: 23px 20px 32px;
    font-size: 14px;
    line-height: 1.7;
  }

  .legal-dialog-body h3 {
    margin-top: 27px;
    font-size: 17px;
  }

  .legal-dialog-footer {
    padding: 12px 18px;
  }

  .legal-dialog-footer span {
    max-width: 190px;
    line-height: 1.45;
  }
}

/* Keep the legal navigation readable at every breakpoint. */
.footer-legal-links button {
  font-size: 13px;
}

/* =========================================================
   HERO FINAL TUNING CONTROLS
   ========================================================= */

:root {
  --hero-desktop-top-space: 86px;
  --hero-tool-name-size: 13.5px;
  --hero-tool-logo-box-size: 46px;
  --hero-tool-logo-image-size: 33px;
  --hero-audience-font-size: 16px;
}

/* Move the desktop hero closer to the header */
@media (min-width: 1351px) {
  .hero {
    padding-top: var(--hero-desktop-top-space);
  }
}

/* Align every tool logo and name on the same two columns */
.source-node {
  display: grid;
  grid-template-columns:
    var(--hero-tool-logo-box-size)
    minmax(0, 1fr);

  align-items: center;
  justify-content: stretch;

  gap: 14px;
  padding-left: 8px;
  padding-right: 14px;
}

.source-node > span:not(.source-logo) {
  min-width: 0;

  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.source-node small {
  display: none;
}

.source-logo {
  width: var(--hero-tool-logo-box-size);
  height: var(--hero-tool-logo-box-size);
  flex: 0 0 var(--hero-tool-logo-box-size);
  border-radius: 13px;
}

.source-logo img {
  width: var(--hero-tool-logo-image-size);
  height: var(--hero-tool-logo-image-size);
}

.source-node strong {
  margin: 0;
  font-size: var(--hero-tool-name-size);
  line-height: 1.2;
  font-weight: 750;
}

/* Increase the bottom hero statement */
.hero-audience p {
  max-width: 520px;
  color: #91a6b8;
  font-size: var(--hero-audience-font-size);
  line-height: 1.55;
  letter-spacing: 0.01em;
}

.hero-audience strong {
  color: #e1edf5;
  font-weight: 750;
}

/* Balanced mobile sizes */
@media (max-width: 720px) {
  :root {
    --hero-tool-name-size: 10.5px;
    --hero-tool-logo-box-size: 36px;
    --hero-tool-logo-image-size: 25px;
    --hero-audience-font-size: 13px;
  }

  .source-node {
    gap: 9px;
    padding-left: 10px;
    padding-right: 9px;
  }

  .hero-audience p {
    max-width: 340px;
  }
}
.expertise-card .expertise-cta.expertise-cta-primary {
  width: max-content;
  min-width: 172px;
  min-height: 52px;

  margin: 18px 0 0;
  padding: 0 20px;

  display: flex;
  align-self: flex-start;
  align-items: center;
  justify-content: center;
  gap: 22px;

  border: 0;
  border-radius: 12px;

  color: #061321;
  background: linear-gradient(135deg, #5ee1ff, #00b9ed);
  box-shadow: 0 14px 34px rgba(0, 191, 243, 0.22);

  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.expertise-cta-primary .expertise-cta-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: #061321 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.expertise-cta-primary .expertise-cta-arrow svg {
  width: 17px;
  height: 17px;
  display: block;
  overflow: visible;

  fill: none;
  stroke: #061321 !important;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;

  color: #061321 !important;
  opacity: 1 !important;
}

@media (max-width: 720px) {
  .expertise-card .expertise-cta.expertise-cta-primary {
    width: max-content;
    min-width: 164px;
    min-height: 50px;
    padding: 0 18px;
    font-size: 13px;
  }
}
