:root {
  --navy: #0f0f33;
  --purple: #591fa2;
  --blue: #4d64d3;
  --coral: #e0876a;
  --cloud: #edeff7;
  --smoke: #d3d6e0;
  --steel: #bcbfcc;
  --space: #9da2b3;
  --graphite: #6e7180;
  --arsenic: #40424d;
  --phantom: #1e1e24;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(15, 15, 51, 0.16);
  --radius: 8px;
  --font-main: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--font-main);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--navy);
  background: var(--white);
  font-family: var(--font-main);
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 20;
  width: 100%;
  min-height: 72px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 14px max(24px, calc((100vw - 1220px) / 2));
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 28px rgba(15, 15, 51, 0.06);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: var(--navy);
}

.brand-logo {
  width: clamp(154px, 15vw, 220px);
  height: auto;
  max-height: 36px;
  object-fit: contain;
}

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  color: #111111;
  font-weight: 600;
  font-size: 0.96rem;
}

.nav-links a {
  padding: 10px 0;
  border-radius: 8px;
}

.nav-links a:hover {
  background: transparent;
  color: var(--blue);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 56px;
  padding: 6px 7px 6px 22px;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta,
.btn-primary {
  color: var(--white);
  background: linear-gradient(100deg, var(--purple), var(--blue));
  box-shadow: 0 16px 32px rgba(77, 100, 211, 0.18);
}

.header-cta::after,
.btn-primary::after {
  content: "→";
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 220ms ease, background 220ms ease;
}

.btn-secondary {
  color: #111111;
  background: transparent;
  border: 0;
  padding-inline: 4px;
  box-shadow: none;
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

.header-cta:hover::after,
.btn-primary:hover::after {
  transform: translateX(3px);
  background: rgba(255, 255, 255, 0.22);
}

.header-cta {
  justify-self: end;
  min-height: 48px;
  padding: 5px 6px 5px 18px;
}

.header-cta::after {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  font-size: 1.1rem;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--smoke);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
}

.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto;
  padding: 142px 0 50px;
}

.hero-coudac {
  position: relative;
  grid-template-rows: 1fr auto;
  min-width: 0;
  min-height: 100svh;
  color: var(--navy);
  background: var(--white);
}

.hero-coudac::after {
  content: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.title-glow {
  position: absolute;
  top: 46%;
  left: 50%;
  z-index: -1;
  width: min(980px, 96vw);
  height: 330px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 48%, rgba(77, 100, 211, 0.2), transparent 46%),
    radial-gradient(circle at 62% 42%, rgba(89, 31, 162, 0.15), transparent 48%),
    radial-gradient(circle at 72% 68%, rgba(224, 135, 106, 0.12), transparent 42%);
  filter: blur(30px);
  transform: translate(-50%, -50%) scale(0.96);
  animation: title-glow-drift 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes title-glow-drift {
  0%, 100% {
    opacity: 0.7;
    transform: translate(-53%, -50%) scale(0.96) rotate(-1deg);
  }

  50% {
    opacity: 1;
    transform: translate(-47%, -52%) scale(1.05) rotate(1deg);
  }
}

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

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(3.6rem, 7.2vw, 7.4rem);
  line-height: 0.92;
  font-weight: 700;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

h1 span:last-child {
  color: var(--blue);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  font-size: 1.28rem;
  line-height: 1.22;
}

.hero-text,
.section-heading p,
.lab-panel p,
.contact p {
  color: var(--graphite);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero .hero-text {
  max-width: 650px;
  margin-inline: auto;
  color: var(--navy);
  font-size: clamp(1.05rem, 1.45vw, 1.32rem);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 36px 0 0;
}

.hero-cta-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.hero-cta {
  min-width: 292px;
  min-height: 64px;
  gap: 24px;
  padding: 7px 8px 7px 28px;
  box-shadow: 0 16px 34px rgba(89, 31, 162, 0.2);
}

.hero-cta::after {
  width: 50px;
  height: 50px;
  flex-basis: 50px;
  font-size: 1.55rem;
}

.cta-nudge {
  position: absolute;
  left: -138px;
  bottom: 15px;
  width: 136px;
  height: 82px;
  color: var(--navy);
  transform: translateX(-4px);
  pointer-events: none;
}

.cta-nudge span {
  position: absolute;
  top: 0;
  right: 4px;
  font-size: 0.9rem;
  font-style: italic;
}

.cta-nudge svg {
  position: absolute;
  inset: 7px 0 0;
  width: 100%;
  height: 74px;
  overflow: visible;
}

.cta-nudge path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: cta-arrow-draw 1.2s ease 0.35s forwards;
}

@keyframes cta-arrow-draw {
  to { stroke-dashoffset: 0; }
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-proof span {
  min-height: 86px;
  padding: 16px;
  border: 1px solid rgba(237, 239, 247, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--cloud);
  font-size: 0.9rem;
  line-height: 1.45;
}

.hero-proof strong {
  display: block;
  color: var(--white);
  font-size: 1.05rem;
}

.trust-marquee {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding: 18px 0 8px;
}

.trust-marquee .eyebrow {
  margin-bottom: 20px;
  text-align: center;
}

.marquee-window {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  contain: inline-size;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  max-width: none;
  will-change: transform;
  animation: client-marquee 28s linear infinite;
}

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

.marquee-group {
  display: flex;
  flex: none;
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
  padding-right: 0;
}

.marquee-group + .marquee-group {
  margin-left: clamp(48px, 7vw, 100px);
}

.marquee-group a {
  display: grid;
  width: 170px;
  min-height: 76px;
  flex: 0 0 170px;
  place-items: center;
  opacity: 0.58;
  filter: grayscale(1);
  transition: opacity 180ms ease, filter 180ms ease, transform 180ms ease;
}

.marquee-group a:hover {
  opacity: 1;
  filter: grayscale(0);
  transform: translateY(-2px);
}

.marquee-group a img {
  max-width: 100%;
}

.marquee-group[aria-hidden="true"] {
  pointer-events: none;
}

@keyframes client-marquee {
  to {
    transform: translateX(calc(-50% - clamp(24px, 3.5vw, 50px)));
  }
}

.client-image-link img {
  width: auto;
  max-width: 150px;
  max-height: 58px;
  object-fit: contain;
}

.twins-logo-link img {
  max-width: 175px;
  max-height: 56px;
}

.afc-logo-link img {
  max-width: 130px;
  max-height: 66px;
}

.cedrod-logo-link img {
  max-width: 150px;
  max-height: 62px;
}

.saintbarth-logo-link img {
  width: 66px;
  height: 66px;
  object-fit: contain;
}

.giddyup-logo-link img {
  max-width: 160px;
  max-height: 54px;
}

.hero-visual {
  position: relative;
  min-width: 0;
  z-index: 1;
  display: grid;
  gap: 14px;
}

.hero-result-card {
  display: grid;
  min-height: 152px;
  align-content: space-between;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(237, 239, 247, 0.18);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.hero-result-main {
  min-height: 240px;
  color: var(--navy);
  background: var(--white);
}

.hero-result-card span {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-result-card strong {
  font-size: clamp(3.2rem, 6vw, 6.8rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.hero-result-card p {
  max-width: 380px;
  margin: 0;
  color: var(--cloud);
  line-height: 1.55;
}

.hero-result-main p {
  color: var(--graphite);
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 82px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
}

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

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading.compact {
  display: block;
  max-width: 720px;
}

.section-heading.compact .eyebrow {
  margin-bottom: 14px;
}

.service-grid,
.case-grid,
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-grid {
  position: relative;
}

.service-grid::before {
  content: "";
  position: absolute;
  top: 52px;
  left: calc(16.666% + 24px);
  z-index: 0;
  width: calc(66.666% - 48px);
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--blue), var(--coral));
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0.45;
}

.service-grid.is-animated::before {
  animation: process-line 1.1s ease 0.35s forwards;
}

.service-card,
.case-card,
.offer-card {
  min-height: 360px;
  padding: 30px;
  border: 1px solid var(--smoke);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 50px rgba(15, 15, 51, 0.06);
}

.service-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition:
    opacity 500ms ease,
    transform 280ms ease,
    box-shadow 280ms ease,
    border-color 280ms ease;
}

.service-card:nth-child(2) {
  transition-delay: 140ms;
}

.service-card:nth-child(3) {
  transition-delay: 280ms;
}

.service-card:hover {
  transform: translateY(-8px);
  transition-delay: 0s;
  border-color: rgba(77, 100, 211, 0.45);
  box-shadow: 0 24px 58px rgba(15, 15, 51, 0.12);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(145deg, rgba(77, 100, 211, 0.06), transparent 48%);
  opacity: 0;
  transition: opacity 280ms ease;
}

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

.service-card-featured,
.case-card-dark {
  color: var(--navy);
  background: var(--white);
  border-color: var(--smoke);
}

.service-card p,
.case-card p,
.offer-card p {
  color: var(--graphite);
  line-height: 1.7;
}

.service-card-featured p,
.service-card-featured li,
.case-card-dark p {
  color: var(--graphite);
}

.case-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
}

.case-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 56px;
}

.case-topline span,
.case-topline strong {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.case-topline span {
  color: var(--graphite);
  background: var(--cloud);
}

.case-topline strong {
  color: var(--white);
  background: linear-gradient(135deg, var(--purple), var(--blue));
}

.case-card-dark .case-topline span {
  color: var(--graphite);
  background: var(--cloud);
}

.case-card h3 {
  max-width: 330px;
  margin-bottom: 16px;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.case-client-logo {
  display: grid;
  width: 100%;
  min-height: 76px;
  place-items: center;
  margin: -34px 0 24px;
}

.case-client-logo img {
  width: auto;
  max-width: 118px;
  max-height: 68px;
  object-fit: contain;
  transition: transform 180ms ease;
}

.case-client-logo:hover img {
  transform: scale(1.05);
}

.case-client-logo .case-logo-cedrod {
  max-width: 150px;
  max-height: 62px;
}

.case-client-logo .case-logo-giddyup {
  max-width: 148px;
  max-height: 58px;
}

.case-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: auto;
}

.case-results span {
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--smoke);
  border-radius: 8px;
  color: var(--graphite);
  background: #fbfcff;
  font-size: 0.9rem;
  line-height: 1.35;
}

.case-results strong {
  display: block;
  margin-bottom: 4px;
  color: var(--purple);
  font-size: 1.42rem;
}

.case-card-dark .case-results span {
  border-color: var(--smoke);
  color: var(--graphite);
  background: #fbfcff;
}

.case-card-dark .case-results strong {
  color: var(--coral);
}

.tools-section {
  width: min(1180px, calc(100% - 36px));
  margin: -8px auto 82px;
  padding: 36px 0 46px;
  border-top: 1px solid var(--smoke);
  border-bottom: 1px solid var(--smoke);
}

.tools-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 34px;
}

.tools-heading .eyebrow,
.tools-heading h2 {
  margin-bottom: 0;
}

.tools-heading h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
}

.tools-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 0;
}

.tools-row a {
  display: grid;
  min-width: 0;
  min-height: 112px;
  place-items: center;
  padding: 20px;
  border-right: 1px solid var(--smoke);
  transition: background 180ms ease, transform 180ms ease;
}

.tools-row a:last-child {
  border-right: 0;
}

.tools-row a:hover {
  background: #fbfcff;
  transform: translateY(-2px);
}

.tools-row img {
  width: 100%;
  max-width: 230px;
  max-height: 78px;
  object-fit: contain;
}

.tool-logo-shopify {
  clip-path: inset(25% 4% 24% 3%);
  transform: scale(1.45);
}

.tool-logo-webflow {
  clip-path: inset(28% 7% 28% 7%);
  transform: scale(1.5);
}

.tool-logo-meta {
  clip-path: inset(29% 7% 28% 5%);
  transform: scale(1.42);
}

.founder-note {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  margin: 10px auto 82px;
  padding: clamp(28px, 4vw, 48px) 0;
  border-top: 1px solid var(--smoke);
  border-bottom: 1px solid var(--smoke);
}

.founder-portrait {
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4 / 5;
  background: var(--cloud);
}

.founder-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
}

.founder-copy {
  max-width: 670px;
}

.founder-copy h2 {
  max-width: 650px;
  margin-bottom: 28px;
  font-size: clamp(2.2rem, 4.4vw, 4.6rem);
}

.founder-copy blockquote {
  margin: 0;
  color: var(--arsenic);
  font-size: clamp(1.08rem, 1.65vw, 1.35rem);
  line-height: 1.75;
}

.founder-signature {
  display: grid;
  gap: 4px;
  margin-top: 32px;
  padding-left: 18px;
  border-left: 4px solid var(--blue);
}

.founder-signature strong {
  font-size: 1.08rem;
}

.founder-signature span {
  color: var(--graphite);
}

.roi-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
  width: min(1320px, calc(100% - 36px));
  margin: 24px auto 0;
  padding: clamp(34px, 5vw, 64px);
  border-radius: 8px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--smoke);
}

.roi-copy {
  max-width: 560px;
}

.roi-copy .eyebrow,
.roi-copy p {
  color: var(--graphite);
}

.roi-copy h2 {
  font-size: clamp(2.25rem, 4.8vw, 5rem);
}

.roi-copy p {
  margin-bottom: 0;
  font-size: 1.08rem;
  line-height: 1.75;
}

.roi-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.roi-card {
  min-height: 210px;
  border-radius: 8px;
  padding: 24px;
}

.roi-card {
  display: grid;
  align-content: space-between;
  border: 1px solid var(--smoke);
  background: #fbfcff;
}

.roi-after {
  border-color: rgba(77, 100, 211, 0.38);
  background: linear-gradient(145deg, rgba(77, 100, 211, 0.06), rgba(89, 31, 162, 0.03));
  box-shadow: 0 18px 45px rgba(77, 100, 211, 0.1);
}

.roi-card-head > span {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.roi-card-head > strong {
  display: block;
  margin: 18px 0 5px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1;
}

.roi-card-head small {
  color: var(--graphite);
  font-size: 0.82rem;
  font-weight: 700;
}

.bar-chart {
  margin-top: 34px;
}

.chart-bars {
  display: flex;
  align-items: end;
  gap: 12px;
  height: 132px;
  padding: 12px 12px 0;
  border-bottom: 1px solid var(--smoke);
  background: repeating-linear-gradient(to top, transparent 0 32px, rgba(211, 214, 224, 0.45) 33px);
}

.chart-bars i {
  width: 100%;
  height: var(--bar);
  border-radius: 5px 5px 0 0;
  transform-origin: bottom;
}

.bar-chart-before .chart-bars i {
  background: var(--space);
  animation: bars-before 5s ease-in-out infinite;
}

.bar-chart-after .chart-bars i {
  background: linear-gradient(180deg, var(--blue), var(--purple));
  animation: bars-after 5s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.bar-chart-after .chart-bars i:nth-child(2) { animation-delay: 0.08s; }
.bar-chart-after .chart-bars i:nth-child(3) { animation-delay: 0.16s; }
.bar-chart-after .chart-bars i:nth-child(4) { animation-delay: 0.24s; }

.chart-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  color: var(--graphite);
  font-size: 0.78rem;
  font-weight: 700;
}

.chart-caption strong {
  color: var(--navy);
  font-size: 0.95rem;
}

.bar-chart-after .chart-caption strong {
  color: var(--purple);
  font-size: 1.15rem;
  animation: result-pop 5s ease-in-out infinite;
}

.roi-transition {
  display: grid;
  place-items: center;
}

.roi-transition span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--purple), var(--blue));
  font-size: 1.35rem;
  box-shadow: 0 10px 24px rgba(77, 100, 211, 0.2);
  animation: roi-arrow 5s ease-in-out infinite;
}

.roi-board:hover .roi-card *,
.roi-board:hover .roi-transition span {
  animation-play-state: paused;
}

@keyframes bars-before {
  0%, 100% { transform: scaleY(0.78); opacity: 0.62; }
  40%, 72% { transform: scaleY(1); opacity: 1; }
}

@keyframes bars-after {
  0%, 22%, 100% { transform: scaleY(0.08); opacity: 0.35; }
  56%, 82% { transform: scaleY(1); opacity: 1; }
}

@keyframes result-pop {
  0%, 30%, 100% { transform: scale(0.92); opacity: 0.45; }
  58%, 82% { transform: scale(1); opacity: 1; }
}

@keyframes roi-arrow {
  0%, 100% { transform: translateX(-4px); opacity: 0.55; }
  45%, 70% { transform: translateX(4px); opacity: 1; }
}

.icon-box {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--purple));
  font-weight: 800;
}

.service-grid.is-animated .icon-box {
  animation: step-pop 650ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.service-grid.is-animated .service-card:nth-child(2) .icon-box {
  animation-delay: 180ms;
}

.service-grid.is-animated .service-card:nth-child(3) .icon-box {
  animation-delay: 360ms;
}

.service-card ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 22px;
  color: var(--arsenic);
  font-weight: 700;
  opacity: 0;
  transform: translateX(-10px);
}

.service-grid.is-animated .service-card li {
  animation: list-in 420ms ease forwards;
}

.service-grid.is-animated .service-card li:nth-child(1) { animation-delay: 480ms; }
.service-grid.is-animated .service-card li:nth-child(2) { animation-delay: 580ms; }
.service-grid.is-animated .service-card li:nth-child(3) { animation-delay: 680ms; }

.service-grid.is-animated .service-card:nth-child(2) li { animation-delay: 720ms; }
.service-grid.is-animated .service-card:nth-child(3) li { animation-delay: 940ms; }

.service-card li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--coral);
}

@keyframes process-line {
  to { transform: scaleX(1); }
}

@keyframes step-pop {
  0% { transform: scale(0.55) rotate(-8deg); opacity: 0; }
  70% { transform: scale(1.12) rotate(2deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}

@keyframes list-in {
  to { opacity: 1; transform: translateX(0); }
}

.meta-lab {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 18px;
}

.lab-panel {
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid var(--smoke);
  border-radius: 8px;
  color: var(--navy);
  background: var(--white);
}

.lab-panel .eyebrow,
.lab-panel p {
  color: var(--graphite);
}

.lab-panel h2 {
  max-width: 700px;
}

.lab-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 32px;
}

.lab-metrics div {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--smoke);
  border-radius: 8px;
  background: #fbfcff;
}

.lab-metrics strong,
.lab-metrics span {
  display: block;
}

.lab-metrics strong {
  margin-bottom: 20px;
  color: var(--coral);
}

.creative-stack {
  display: grid;
  gap: 12px;
}

.creative-stack article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 22px;
  align-items: center;
  min-height: 210px;
  padding: 24px 24px 24px 26px;
  border: 1px solid var(--smoke);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.creative-stack article:hover {
  transform: translateY(-4px);
  border-color: rgba(77, 100, 211, 0.4);
  box-shadow: 0 18px 38px rgba(15, 15, 51, 0.08);
}

.creative-copy > span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--purple);
  background: var(--cloud);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.creative-copy > strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.creative-copy > p {
  margin-bottom: 0;
  color: var(--graphite);
  line-height: 1.6;
}

.creative-visual {
  position: relative;
  width: 150px;
  height: 150px;
  overflow: hidden;
  border: 1px solid var(--smoke);
  border-radius: 8px;
  background: #f7f8fc;
}

.creative-carousel {
  position: absolute;
  inset: 20px 18px 16px;
}

.ad-creative {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  gap: 5px;
  padding: 13px;
  border-radius: 7px;
  color: var(--white);
  box-shadow: 0 12px 24px rgba(15, 15, 51, 0.16);
  transform-origin: center bottom;
  opacity: 0;
}

.ad-creative small {
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ad-creative strong {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.1;
}

.ad-creative i {
  width: 58px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
}

.ad-one {
  background: linear-gradient(145deg, var(--navy), var(--blue));
  animation: creative-one 6s ease-in-out infinite;
}

.ad-two {
  background: linear-gradient(145deg, var(--purple), var(--coral));
  animation: creative-two 6s ease-in-out infinite;
}

.ad-three {
  background: linear-gradient(145deg, var(--blue), var(--purple));
  animation: creative-three 6s ease-in-out infinite;
}

.test-badge {
  position: absolute;
  top: 8px;
  right: 7px;
  padding: 5px 7px;
  border-radius: 999px;
  color: var(--white);
  background: var(--coral);
  font-size: 0.64rem;
  font-weight: 800;
  animation: badge-pop 2.2s ease-in-out infinite;
}

.mini-browser {
  position: absolute;
  inset: 17px 12px;
  padding: 32px 14px 14px;
  border: 1px solid var(--smoke);
  border-radius: 6px;
  background: var(--white);
}

.browser-dots {
  position: absolute;
  top: 10px;
  left: 11px;
  display: flex;
  gap: 4px;
}

.browser-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--steel);
}

.landing-title,
.landing-line {
  height: 9px;
  margin-bottom: 9px;
  border-radius: 3px;
  background: var(--navy);
}

.landing-line {
  height: 5px;
  background: var(--smoke);
}

.landing-line.short { width: 68%; }

.landing-cta {
  display: grid;
  width: 72px;
  height: 24px;
  margin-top: 17px;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(90deg, var(--purple), var(--blue));
  font-size: 0.58rem;
  font-weight: 800;
  animation: cta-pulse 2.4s ease-in-out infinite;
}

.cursor-dot {
  position: absolute;
  right: 21px;
  bottom: 20px;
  width: 14px;
  height: 18px;
  clip-path: polygon(0 0, 100% 68%, 56% 71%, 39% 100%);
  background: var(--navy);
  animation: cursor-click 2.4s ease-in-out infinite;
}

.scale-chart {
  position: absolute;
  right: 16px;
  bottom: 26px;
  left: 16px;
  display: flex;
  align-items: end;
  gap: 9px;
  height: 92px;
  border-bottom: 1px solid var(--smoke);
}

.scale-chart i {
  width: 100%;
  height: var(--height);
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--blue), var(--purple));
  transform-origin: bottom;
  animation: scale-bars 3.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.scale-chart i:nth-child(2) { animation-delay: 0.1s; }
.scale-chart i:nth-child(3) { animation-delay: 0.2s; }
.scale-chart i:nth-child(4) { animation-delay: 0.3s; }

.roas-chip {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 6px 8px;
  border-radius: 6px;
  color: var(--graphite);
  background: var(--white);
  box-shadow: 0 7px 18px rgba(15, 15, 51, 0.1);
  font-size: 0.58rem;
  font-weight: 800;
  animation: roas-rise 3.4s ease-in-out infinite;
}

.roas-chip strong { color: var(--purple); }

@keyframes creative-one {
  0%, 26% { opacity: 1; transform: translateX(0) rotate(0); }
  32%, 100% { opacity: 0; transform: translateX(-22px) rotate(-4deg); }
}

@keyframes creative-two {
  0%, 28% { opacity: 0; transform: translateX(22px) rotate(4deg); }
  34%, 59% { opacity: 1; transform: translateX(0) rotate(0); }
  65%, 100% { opacity: 0; transform: translateX(-22px) rotate(-4deg); }
}

@keyframes creative-three {
  0%, 61% { opacity: 0; transform: translateX(22px) rotate(4deg); }
  67%, 92% { opacity: 1; transform: translateX(0) rotate(0); }
  98%, 100% { opacity: 0; transform: translateX(-12px) rotate(-2deg); }
}

@keyframes badge-pop {
  0%, 100% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1); opacity: 1; }
}

@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(77, 100, 211, 0); }
  50% { box-shadow: 0 0 0 7px rgba(77, 100, 211, 0.12); }
}

@keyframes cursor-click {
  0%, 20%, 100% { transform: translate(12px, 8px); }
  45%, 65% { transform: translate(-20px, -14px) scale(0.86); }
}

@keyframes scale-bars {
  0%, 18%, 100% { transform: scaleY(0.12); opacity: 0.4; }
  48%, 78% { transform: scaleY(1); opacity: 1; }
}

@keyframes roas-rise {
  0%, 25%, 100% { transform: translateY(5px); opacity: 0.45; }
  52%, 78% { transform: translateY(0); opacity: 1; }
}

.offer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 600px;
  padding: 38px 32px 30px;
  overflow: visible;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.offer-card:hover {
  transform: translateY(-7px);
  border-color: rgba(77, 100, 211, 0.4);
  box-shadow: 0 25px 60px rgba(15, 15, 51, 0.12);
}

.offer-card-featured {
  color: var(--white);
  border-color: var(--navy);
  background: var(--navy);
  transform: translateY(-12px);
  box-shadow: 0 28px 70px rgba(15, 15, 51, 0.2);
}

.offer-card-featured:hover {
  transform: translateY(-18px);
  border-color: var(--purple);
}

.popular-badge {
  position: absolute;
  top: -17px;
  left: 28px;
  padding: 9px 18px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--coral);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.offer-head > span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--purple);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.offer-card-featured .offer-head > span {
  color: var(--coral);
}

.offer-head h3 {
  min-height: 72px;
  margin-bottom: 18px;
  font-size: clamp(1.55rem, 2.2vw, 2.05rem);
}

.offer-head p,
.offer-card-featured .offer-head p {
  min-height: 112px;
  margin-bottom: 26px;
  color: var(--graphite);
  line-height: 1.65;
}

.offer-card-featured .offer-head p {
  color: var(--cloud);
}

.offer-features {
  display: grid;
  gap: 16px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.offer-features li {
  position: relative;
  padding-left: 25px;
  color: var(--arsenic);
  line-height: 1.5;
}

.offer-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 800;
}

.offer-card-featured .offer-features li {
  color: var(--cloud);
}

.offer-card-featured .offer-features li::before {
  color: var(--coral);
}

.offer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  margin-top: auto;
  padding: 7px 8px 7px 22px;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy);
  font-weight: 800;
}

.offer-cta span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  transition: transform 200ms ease;
}

.offer-cta:hover span {
  transform: translateX(3px);
}

.offer-cta-light {
  color: var(--navy);
  background: var(--white);
}

.offer-cta-light span {
  color: var(--white);
  background: linear-gradient(135deg, var(--purple), var(--blue));
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  width: min(1180px, calc(100% - 36px));
  margin: 60px auto 0;
  padding: clamp(32px, 5vw, 58px);
  border-radius: 8px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--smoke);
}

.contact .eyebrow,
.contact p {
  color: var(--graphite);
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--smoke);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--navy);
  background: #fbfcff;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--space);
}

.contact-form select option {
  color: var(--navy);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--coral);
  font-weight: 700;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 44px 0;
  color: var(--graphite);
}

.footer .brand {
  color: var(--navy);
}

.footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

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

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

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

  .nav-links,
  .header-cta {
    display: none;
  }

  .site-header.is-open .nav-links,
  .site-header.is-open .header-cta {
    display: flex;
  }

  .site-header.is-open {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .site-header.is-open .nav-links {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .site-header.is-open .header-cta {
    grid-column: 1 / -1;
  }

  .hero,
  .section-heading,
  .founder-note,
  .roi-section,
  .meta-lab,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 132px;
  }

  .section-heading .eyebrow {
    margin-bottom: 0;
  }

  .service-grid,
  .case-grid,
  .offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid::before {
    display: none;
  }
}

@media (max-width: 700px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .brand-logo {
    width: 168px;
    max-height: 34px;
  }

  .hero {
    width: min(100% - 24px, 1180px);
    padding-bottom: 34px;
  }

  h1 {
    font-size: clamp(2.45rem, 13vw, 3.7rem);
  }

  .title-glow {
    width: 124vw;
    height: 250px;
    filter: blur(24px);
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .hero-cta-wrap {
    width: 100%;
    padding-left: 0;
  }

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

  .cta-nudge {
    display: none;
  }

  .creative-stack article {
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 14px;
    min-height: 180px;
    padding: 20px;
  }

  .creative-visual {
    width: 112px;
    height: 128px;
  }

  .creative-carousel {
    inset: 17px 12px 13px;
  }

  .scale-chart {
    right: 10px;
    left: 10px;
    gap: 6px;
  }

  .hero-proof,
  .roi-board,
  .service-grid,
  .case-grid,
  .offer-grid,
  .lab-metrics {
    grid-template-columns: 1fr;
  }

  .section,
  .tools-section,
  .founder-note,
  .roi-section,
  .contact,
  .footer {
    width: min(100% - 24px, 1180px);
  }

  .trust-marquee {
    padding-top: 34px;
  }

  .marquee-group {
    gap: 36px;
  }

  .marquee-group + .marquee-group {
    margin-left: 36px;
  }

  .marquee-group a {
    width: 132px;
    min-height: 64px;
    flex-basis: 132px;
  }

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

  .section {
    padding: 58px 0;
  }

  .tools-section {
    margin-bottom: 58px;
    padding: 30px 0;
  }

  .tools-heading {
    display: block;
  }

  .tools-heading .eyebrow {
    margin-bottom: 10px;
  }

  .tools-row {
    grid-template-columns: 1fr;
  }

  .tools-row a {
    min-height: 96px;
    padding: 16px;
    border-right: 0;
    border-bottom: 1px solid var(--smoke);
  }

  .tools-row a:last-child {
    border-bottom: 0;
  }

  .founder-note {
    gap: 28px;
    margin-bottom: 58px;
    padding: 34px 0;
  }

  .founder-portrait {
    max-height: 520px;
    aspect-ratio: 4 / 5;
  }

  .founder-copy h2 {
    font-size: clamp(2rem, 10vw, 3.25rem);
  }

  .service-card,
  .case-card {
    min-height: auto;
    padding: 24px;
  }

  .offer-card {
    min-height: 0;
    padding: 32px 24px 24px;
  }

  .offer-card-featured,
  .offer-card-featured:hover {
    transform: none;
  }

  .offer-head h3,
  .offer-head p {
    min-height: 0;
  }

  .case-topline {
    margin-bottom: 38px;
  }

  .case-results {
    grid-template-columns: 1fr;
  }

  .roi-section {
    padding: 28px;
  }

  .roi-board {
    grid-template-columns: 1fr;
  }

  .roi-transition span {
    transform: rotate(90deg);
    animation-name: roi-arrow-mobile;
  }

  .floating-card {
    position: static;
    margin-top: 10px;
  }

  .hero-visual img {
    transform: none;
  }

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

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }

  .title-glow {
    animation: none;
  }

  .cta-nudge path {
    animation: none;
    stroke-dashoffset: 0;
  }

  .chart-bars i,
  .bar-chart-after .chart-caption strong,
  .roi-transition span {
    animation: none;
    opacity: 1;
  }

  .chart-bars i {
    transform: scaleY(1);
  }

  .service-grid::before,
  .service-grid .icon-box,
  .service-grid .service-card li {
    animation: none;
  }

  .service-grid::before {
    transform: scaleX(1);
  }

  .service-grid .service-card li {
    opacity: 1;
    transform: none;
  }

  .service-card {
    transition: none;
  }

  .creative-visual *,
  .creative-visual::before,
  .creative-visual::after {
    animation: none !important;
  }
}

@keyframes roi-arrow-mobile {
  0%, 100% { transform: rotate(90deg) translateX(-4px); opacity: 0.55; }
  45%, 70% { transform: rotate(90deg) translateX(4px); opacity: 1; }
}
