/* Service pages: crm-marketing-automation.php, integrations-workflow-automation.php,
   analytics-conversion-tracking.php, marketing-operations-data.php,
   conversion-ready-websites.php, aeo-geo.php
   State classes (.is-active, .is-live, .is-on …) are toggled by js/pages/service.js. */

/* ---------- Page-only keyframes ---------- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes svcDrift { to { background-position: 36px 36px; } }
  @keyframes svcMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  @keyframes svcFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
  @keyframes svcPulse { 0% { box-shadow: 0 0 0 0 rgba(241, 43, 43, .6); } 100% { box-shadow: 0 0 0 16px rgba(241, 43, 43, 0); } }
  @keyframes svcRipple { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
  @keyframes svcScanY { 0% { top: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
  @keyframes svcFlowY { 0% { top: 0; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
}

/* ---------- Shared bits ---------- */
.svc-deco { position: absolute; pointer-events: none; z-index: -1; }

.svc-eyebrow--dark { color: #A9A8A2; }

.svc-head { display: flex; flex-direction: column; gap: 24px; }
.svc-head--spaced { margin-bottom: clamp(40px, 5vw, 72px); }

.svc-h2 {
  font-size: clamp(34px, 4.2vw, 64px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 500;
  text-wrap: balance;
}
.svc-h2--narrow { max-width: 18ch; }

.svc-serif { font-family: var(--serif); font-style: italic; font-weight: 400; }

.svc-panel__label { font-size: 10px; letter-spacing: 0.08em; color: var(--muted-dark); }

/* ---------- Hero ---------- */
.svc-hero { position: relative; isolation: isolate; overflow: hidden; }

.svc-hero__lines {
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(11, 11, 11, 0.06) 0 1px, transparent 1px 120px);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent);
  mask-image: linear-gradient(180deg, #000, transparent);
}
.svc-hero__dots {
  right: -8%;
  top: 10%;
  width: 60%;
  height: 100%;
  background-image: radial-gradient(rgba(11, 11, 11, 0.2) 1px, transparent 1.2px);
  background-size: 18px 18px;
  animation: svcDrift 5s linear infinite;
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent);
  mask-image: radial-gradient(closest-side, #000, transparent);
}
.svc-hero__num {
  right: clamp(20px, 4vw, 56px);
  top: clamp(70px, 8vw, 120px);
  font-size: clamp(140px, 20vw, 320px);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px #D6D5CF;
  animation: svcFloat 7s ease-in-out infinite;
}
.svc-hero__square {
  left: 46%;
  bottom: 12%;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(11, 11, 11, 0.12);
  animation: nvSpin 60s linear infinite;
}
.svc-hero__pip {
  left: calc(46% - 5px);
  bottom: calc(12% + 115px);
  width: 10px;
  height: 10px;
  background: var(--red);
}

.svc-hero__inner {
  padding-top: clamp(32px, 5vw, 72px);
  padding-bottom: clamp(56px, 7vw, 104px);
}
.svc-hero__crumb-meta { margin-left: auto; color: var(--muted); }

.svc-hero__grid {
  margin-top: clamp(32px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: end;
}
.svc-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
  animation: nvRise 1s var(--ease-out) both;
}
.svc-hero__title {
  font-weight: 500;
  font-size: clamp(34px, 6.6vw, 108px);
  line-height: 0.94;
  letter-spacing: -0.05em;
  text-wrap: balance;
}
.svc-hero__intro {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.5;
  color: var(--text);
  max-width: 42ch;
  text-wrap: pretty;
}
.svc-hero__actions { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.svc-hero__cta {
  flex: 0 0 auto;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 26px;
  background: var(--ink);
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  transition: background .2s;
}
.svc-hero__cta:hover { background: var(--red); color: var(--white); }
.svc-hero__how {
  flex: none;
  padding: 6px 0;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
}
.svc-hero__how:hover { color: var(--red); border-color: var(--red); }

/* "System stack" capability switcher */
.svc-stack {
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
  color: #EDEDEA;
  font-family: var(--mono);
  animation: nvRise 1.1s var(--ease-out) .2s both;
}
.svc-stack__head {
  display: flex;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid #262624;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}
.svc-stack__scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  animation: svcScanY 4.5s ease-in-out infinite;
  pointer-events: none;
}
.svc-stack__list { padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.svc-stack__item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px 16px;
  border: 1px solid #2C2C2A;
  background: #161615;
  color: #EDEDEA;
  transition: all .45s;
}
.svc-stack__item.is-live { border-color: #5F5E5A; background: #1C1C1A; }
.svc-stack__item[aria-current="page"] {
  border-color: var(--red);
  background: #1F1514;
  animation: svcPulse 2s ease-out infinite;
}
.svc-stack__item:hover { border-color: var(--red); color: #EDEDEA; }
.svc-stack__num,
.svc-stack__tag { font-size: 11px; color: var(--muted-dark); }
.svc-stack__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.svc-stack__title { font-family: var(--font); font-size: 15px; color: var(--on-dark-2); }
.svc-stack__layer { font-size: 10px; letter-spacing: 0.08em; color: var(--muted-dark); }
.svc-stack__item[aria-current="page"] .svc-stack__num,
.svc-stack__item[aria-current="page"] .svc-stack__tag { color: var(--red); }
.svc-stack__item[aria-current="page"] .svc-stack__title { color: var(--white); }

/* ---------- Problems ---------- */
.svc-problems {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}
.svc-problems__marquee {
  left: 0;
  bottom: -0.3em;
  white-space: nowrap;
  font-size: clamp(110px, 13vw, 210px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-dark);
  animation: svcMarquee 50s linear infinite;
}
.svc-problems__inner { padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(48px, 6vw, 88px); }
.svc-problems__grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 0;
}
.svc-problem {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px clamp(0px, 2vw, 32px) 8px 0;
  border-top: 1px solid var(--line-dark-2);
  transition: border-color .5s;
}
.svc-problem__num { font-family: var(--mono); font-size: 12px; color: var(--red); }
.svc-problem__text {
  max-width: 22ch;
  font-size: clamp(21px, 2vw, 28px);
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-weight: 500;
  color: var(--on-dark-2);
  transition: color .5s;
}
.svc-problem.is-active { border-top-color: var(--red); }
.svc-problem.is-active .svc-problem__text { color: var(--white); }

/* ---------- What's included ---------- */
.svc-included { position: relative; isolation: isolate; overflow: hidden; background: var(--paper-2); }
.svc-included__bg {
  inset: 0;
  background-image: linear-gradient(rgba(11, 11, 11, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 11, 11, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 80% 20%, #000, transparent);
  mask-image: radial-gradient(ellipse 60% 50% at 80% 20%, #000, transparent);
}
.svc-included__inner { padding-top: clamp(72px, 9vw, 136px); padding-bottom: clamp(72px, 9vw, 136px); }
.svc-included__head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 24px 64px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.svc-lead { font-size: 17px; line-height: 1.6; color: #4A4945; max-width: 46ch; }
.svc-included__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 0 clamp(24px, 3vw, 48px);
}
.svc-inc {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 4px 12px;
  padding: 26px 0 30px;
  border-top: 2px solid var(--rule-strong);
  transition: border-color .5s;
}
.svc-inc.reveal { transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), border-color .5s; }
.svc-inc.is-active,
.svc-inc:hover { border-top-color: var(--red); }
.svc-inc__num { padding-top: 6px; font-family: var(--mono); font-size: 12px; color: var(--red); }
.svc-inc__body { display: flex; flex-direction: column; gap: 8px; }
.svc-inc__title { font-size: 22px; letter-spacing: -0.025em; font-weight: 500; line-height: 1.15; }
.svc-inc__desc { font-size: 15px; line-height: 1.6; color: #4A4945; max-width: 40ch; }

/* ---------- Fit, platforms and price ---------- */
.svc-fit { background: var(--paper); }
.svc-fit__grid {
  padding-top: clamp(64px, 8vw, 120px);
  padding-bottom: clamp(64px, 8vw, 120px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.svc-fit__col { display: flex; flex-direction: column; gap: 16px; }
.svc-who {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  font-size: 17px;
  line-height: 1.45;
}
.svc-who__dash { color: var(--red); }
.svc-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-tool {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 12px 16px;
  border: 1px solid var(--rule-strong);
  background: var(--white);
  font-size: 15px;
  font-weight: 500;
}
.svc-fit__note { font-size: 14px; line-height: 1.55; color: #4A4945; max-width: 40ch; }

.svc-price {
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(22px, 2.6vw, 32px);
  background: var(--ink);
  color: var(--white);
}
.svc-price__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--red); }
.svc-price__amount { font-size: clamp(34px, 3.4vw, 48px); letter-spacing: -0.045em; font-weight: 500; line-height: 1; }
.svc-price__cur { font-size: 15px; letter-spacing: 0; color: var(--muted-2); font-weight: 400; }
.svc-price__note { font-size: 14px; line-height: 1.55; color: var(--on-dark-2); }
.svc-price__list { list-style: none; padding: 0; display: flex; flex-direction: column; }
.svc-price__list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  padding: 9px 0;
  border-top: 1px solid #262624;
  font-size: 14px;
  color: #D8D7D1;
}
.svc-price__check { color: var(--red); }
.svc-price__fine { font-size: 12px; line-height: 1.5; color: var(--muted-dark); }
.svc-price__cta {
  align-self: flex-start;
  padding: 14px 18px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}
.svc-price__cta:hover { background: var(--red); color: var(--white); }

/* "What makes a website conversion-ready" (websites page only) */
.svc-extra { padding-bottom: clamp(64px, 8vw, 120px); }
.svc-extra__grid {
  padding-top: clamp(28px, 3vw, 44px);
  border-top: 1px solid var(--ink);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 24px 64px;
  align-items: start;
}
.svc-extra__title {
  font-size: clamp(30px, 3.6vw, 54px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 500;
  text-wrap: balance;
}
.svc-extra__list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 0 28px;
}
.svc-extra__list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  font-size: 16px;
  line-height: 1.45;
}
.svc-extra__num { padding-top: 3px; font-family: var(--mono); font-size: 11px; color: var(--red); }

/* ---------- How it works ---------- */
.svc-how {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  scroll-margin-top: var(--header-h);
  background: var(--charcoal);
  color: var(--white);
}
.svc-how__bg {
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
}
.svc-how__inner {
  padding-top: clamp(72px, 9vw, 136px);
  padding-bottom: clamp(72px, 9vw, 136px);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.svc-how__copy { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.svc-steps { list-style: none; padding: 0; display: flex; flex-direction: column; }
.svc-step {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid #2A2A28;
}
.svc-step__num { padding-top: 3px; font-family: var(--mono); font-size: 12px; color: var(--muted-dark); transition: color .4s; }
.svc-step__body { display: flex; flex-direction: column; gap: 6px; }
.svc-step__title { font-size: 18px; font-weight: 500; letter-spacing: -0.015em; color: #D8D7D1; transition: color .4s; }
.svc-step__desc { font-size: 15px; line-height: 1.55; color: #A9A8A2; }
.svc-step.is-active .svc-step__num { color: var(--red); }
.svc-step.is-active .svc-step__title { color: var(--white); }

/* Illustrative panel */
.svc-panel {
  min-width: 0;
  background: var(--ink);
  border: 1px solid #2A2A28;
  color: #EDEDEA;
  font-family: var(--mono);
}
.svc-panel__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid #262624;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}
.svc-panel__live { display: flex; align-items: center; gap: 6px; }
.svc-panel__pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: svcPulse 1.6s ease-out infinite;
}
.svc-panel__body {
  min-height: 440px;
  padding: clamp(16px, 2vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Panel: CRM routing & lifecycle */
.svc-rules { display: flex; flex-direction: column; }
.svc-rules .svc-panel__label { margin-bottom: 10px; }
.svc-rule {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 4px 12px;
  padding: 13px 12px;
  border-left: 2px solid #2C2C2A;
  border-bottom: 1px solid #1F1F1D;
  background: transparent;
  font-size: 12px;
  transition: all .4s;
}
.svc-rule.is-active { border-left-color: var(--red); background: #1A1414; }
.svc-rule__kw { color: var(--red); }
.svc-rule__cond { color: #D8D7D1; }
.svc-rule__act { color: var(--white); }
.svc-lifecycle { display: flex; flex-direction: column; gap: 10px; }
.svc-pipe { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.svc-pipe__step { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.svc-pipe__bar { height: 4px; background: #2A2A28; transition: background .4s; }
.svc-pipe__label { font-size: 10px; color: #5F5E5A; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.svc-pipe__step.is-done .svc-pipe__bar { background: #EDEDEA; }
.svc-pipe__step.is-done .svc-pipe__label { color: #EDEDEA; }
.svc-pipe__step.is-current .svc-pipe__bar { background: var(--red); }

/* Panel: integrations workflow run */
.svc-flow { display: flex; flex-direction: column; gap: 0; }
.svc-flow__node {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #2C2C2A;
  font-size: 12px;
}
.svc-flow__node--logic { border-color: var(--red); background: #151313; }
.svc-flow__name { font-family: var(--font); color: var(--white); }
.svc-flow__kind { color: var(--muted-dark); }
.svc-flow__node--logic .svc-flow__kind { color: var(--red); }
.svc-flow__wire { position: relative; align-self: center; width: 1px; height: 22px; background: #3A3A37; }
.svc-flow__pkt {
  position: absolute;
  left: -2px;
  width: 5px;
  height: 5px;
  background: var(--red);
  animation: svcFlowY 1.2s linear infinite;
}
.svc-flow__pkt--late { animation-delay: .6s; }
.svc-outputs { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 6px; }
.svc-output {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid #2C2C2A;
  background: transparent;
  transition: all .4s;
}
.svc-output.is-on { border-color: var(--red); background: #1F1514; }
.svc-output__name { font-family: var(--font); font-size: 12px; color: var(--white); }
.svc-output__desc { font-size: 10px; color: var(--muted-dark); }
.svc-runlog {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid #262624;
  font-size: 11px;
}
.svc-runlog .svc-panel__label { margin-bottom: 4px; }
.svc-runlog__line {
  display: flex;
  gap: 12px;
  color: var(--muted-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.svc-runlog__line.is-latest { color: #EDEDEA; }
.svc-runlog__line.is-error { color: var(--red); }
.svc-runlog__time { color: #5F5E5A; }

/* Panel: analytics tracking plan */
.svc-track { display: flex; flex-direction: column; }
.svc-track__head,
.svc-track__row { display: grid; grid-template-columns: 1.4fr 1fr 80px; gap: 10px; }
.svc-track__head {
  padding-bottom: 10px;
  border-bottom: 1px solid #2A2A28;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted-dark);
}
.svc-track__row {
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #1F1F1D;
  font-size: 12px;
}
.svc-track__event { color: var(--white); overflow: hidden; text-overflow: ellipsis; }
.svc-track__trigger { color: var(--muted-2); }
.svc-track__status { color: #5F5E5A; transition: color .4s; }
.svc-track__status.is-verified { color: #EDEDEA; }
.svc-track__status.is-testing { color: var(--red); }
.svc-channels { display: flex; flex-direction: column; gap: 10px; }
.svc-chan { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; font-size: 11px; }
.svc-chan__name { color: var(--on-dark-2); }
.svc-chan__track { height: 12px; background: #1A1A18; }
.svc-chan__bar { height: 12px; background: var(--muted-dark); transition: width .9s var(--ease-out); }
.svc-chan--1 .svc-chan__bar { width: 78%; background: #EDEDEA; }
.svc-chan--2 .svc-chan__bar { width: 62%; }
.svc-chan--3 .svc-chan__bar { width: 44%; }
.svc-chan--4 .svc-chan__bar { width: 30%; }
.svc-channels.is-shrunk .svc-chan--1 .svc-chan__bar { width: 70%; }
.svc-channels.is-shrunk .svc-chan--2 .svc-chan__bar { width: 57%; }
.svc-channels.is-shrunk .svc-chan--3 .svc-chan__bar { width: 42%; }
.svc-channels.is-shrunk .svc-chan--4 .svc-chan__bar { width: 31%; }

/* Panel: marketing ops data health (body gets .is-after) */
.svc-health-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted-dark);
}
.svc-toggle { display: flex; border: 1px solid #2C2C2A; }
.svc-toggle__opt { padding: 5px 10px; background: transparent; color: var(--muted-dark); transition: all .4s; }
.svc-toggle__opt--before { background: var(--red); color: var(--white); }
.is-after .svc-toggle__opt--before { background: transparent; color: var(--muted-dark); }
.is-after .svc-toggle__opt--after { background: #EDEDEA; color: var(--ink); }
.svc-health { display: flex; flex-direction: column; gap: 8px; }
.svc-health__row { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; }
.svc-health__name { font-family: var(--font); color: #EDEDEA; }
.svc-health__status { color: var(--red); transition: color .4s; }
.svc-health__track { height: 8px; background: #1F1F1D; }
.svc-health__bar { height: 8px; background: var(--red); transition: width .9s var(--ease-out), background .4s; }
.is-after .svc-health__status { color: #EDEDEA; }
.is-after .svc-health__bar { background: #EDEDEA; }
.svc-health--1 .svc-health__bar { width: 41%; }
.svc-health--2 .svc-health__bar { width: 58%; }
.svc-health--3 .svc-health__bar { width: 72%; }
.svc-health--4 .svc-health__bar { width: 36%; }
.is-after .svc-health--1 .svc-health__bar { width: 97%; }
.is-after .svc-health--2 .svc-health__bar { width: 95%; }
.is-after .svc-health--3 .svc-health__bar { width: 99%; }
.is-after .svc-health--4 .svc-health__bar { width: 94%; }
.svc-docs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid #262624;
}
.svc-doc { display: flex; flex-direction: column; gap: 6px; padding: 12px; border: 1px solid #2C2C2A; }
.svc-doc__key { font-size: 10px; letter-spacing: 0.08em; color: var(--red); }
.svc-doc__val { font-family: var(--font); font-size: 12px; line-height: 1.4; color: #D8D7D1; }

/* Panel: website form to CRM */
.svc-browser { background: var(--paper); color: var(--ink); border: 1px solid #2C2C2A; }
.svc-browser__bar {
  display: flex;
  gap: 8px;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  padding: 8px 12px;
  border-bottom: 1px solid #E2E1DC;
  font-size: 10px;
  color: var(--muted);
}
.svc-browser__dots { display: flex; gap: 4px; flex: none; }
.svc-browser__dots span { width: 6px; height: 6px; background: #CFCEC8; }
.svc-browser__page {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
}
.svc-browser__copy { display: flex; flex-direction: column; gap: 7px; }
.svc-sk { background: #CFCEC8; height: 5px; }
.svc-sk--kicker { height: 8px; width: 35%; background: var(--red); }
.svc-sk--h1 { height: 13px; width: 95%; background: var(--ink); }
.svc-sk--h2 { height: 13px; width: 68%; background: var(--ink); }
.svc-sk--p1 { width: 88%; margin-top: 6px; }
.svc-sk--p2 { width: 72%; }
.svc-sk--p3 { width: 60%; }
.svc-browser__form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  border: 1px solid #CFCEC8;
  background: var(--white);
}
.svc-browser__label { font-size: 9px; letter-spacing: 0.06em; color: var(--muted); }
.svc-browser__field { height: 16px; border: 1px solid #E2E1DC; }
.svc-browser__btn {
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--white);
  font-size: 9px;
  transition: background .4s;
}
.svc-browser__btn.is-sent { background: var(--red); }
.svc-wtags { display: flex; flex-direction: column; gap: 0; }
.svc-wtag {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid #1F1F1D;
  font-size: 12px;
}
.svc-wtag__dot { width: 10px; height: 10px; background: #3A3A37; transition: background .4s; }
.svc-wtag__text { font-family: var(--font); color: var(--muted-dark); transition: color .4s; }
.svc-wtag__status { font-size: 10px; color: #3A3A37; transition: color .4s; }
.svc-wtag.is-on .svc-wtag__dot { background: var(--red); }
.svc-wtag.is-on .svc-wtag__text { color: var(--white); }
.svc-wtag.is-on .svc-wtag__status { color: var(--red); }

/* Panel: AEO answer & citations (body gets .is-cited) */
.svc-aeo__q {
  align-self: flex-end;
  max-width: 88%;
  padding: 10px 12px;
  background: #1E1E1C;
  border: 1px solid #2C2C2A;
  font-family: var(--font);
  font-size: 13px;
  color: #EDEDEA;
}
.svc-aeo__lines { display: flex; flex-direction: column; gap: 8px; }
.svc-aeo__line { height: 8px; background: #3A3A37; opacity: .15; transition: opacity .5s; }
.svc-aeo__line.is-on { opacity: 1; }
.svc-aeo__line--1 { width: 96%; }
.svc-aeo__line--2 { width: 88%; }
.svc-aeo__line--3 { width: 92%; }
.svc-aeo__line--4 { width: 64%; }
.svc-aeo__sources { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 10px; }
.svc-aeo__src-label { color: var(--muted-dark); }
.svc-aeo__src { padding: 4px 8px; border: 1px solid #2C2C2A; color: var(--muted-dark); }
.svc-aeo__src--you { transition: all .5s; }
.is-cited .svc-aeo__src--you { border-color: var(--red); color: var(--white); }
.svc-aeo__signals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0;
  border: 1px solid var(--line-dark);
}
.svc-aeo__signal {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.svc-aeo__sk { font-size: 9px; letter-spacing: 0.08em; color: var(--muted-dark); }
.svc-aeo__sv { font-size: 11px; color: var(--muted-dark); transition: color .4s; }
.is-cited .svc-aeo__sv { color: #EDEDEA; }

/* ---------- Process ---------- */
.svc-process { position: relative; isolation: isolate; overflow: hidden; background: var(--paper); }
.svc-process__ruler {
  left: 0;
  right: 0;
  bottom: 0;
  height: 28px;
  background-image: repeating-linear-gradient(90deg, #CFCEC8 0 1px, transparent 1px 120px), repeating-linear-gradient(90deg, #DEDDD8 0 1px, transparent 1px 24px);
  background-size: 100% 28px, 100% 12px;
  background-position: 0 0, 0 100%;
  background-repeat: no-repeat;
}
.svc-process__inner { padding-top: clamp(72px, 9vw, 136px); padding-bottom: clamp(72px, 9vw, 136px); }
.svc-stages {
  position: relative;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 0;
}
.svc-stages__scan {
  position: absolute;
  top: -1px;
  z-index: 1;
  height: 2px;
  background: var(--red);
  animation: nvScan 6s ease-in-out infinite;
}
.svc-stage {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px clamp(0px, 2vw, 28px) 28px 0;
  border-top: 2px solid var(--ink);
  transition: border-color .3s;
}
.svc-stage.reveal { transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), border-color .3s; }
.svc-stage.is-active { border-top-color: var(--red); }
.svc-stage__num { font-family: var(--mono); font-size: 13px; color: var(--muted); transition: color .3s; }
.svc-stage.is-active .svc-stage__num { color: var(--red); }
.svc-stage__title { font-size: clamp(30px, 3vw, 46px); letter-spacing: -0.05em; line-height: 0.95; font-weight: 500; }
.svc-stage__desc { font-size: 15px; line-height: 1.6; color: #4A4945; max-width: 30ch; }
.svc-stage__out {
  align-self: flex-start;
  padding: 6px 9px;
  border: 1px solid #CFCEC8;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text);
}

/* ---------- Connected capabilities ---------- */
.svc-connected { background: #E6E5DE; }
.svc-connected__inner {
  padding-top: clamp(72px, 9vw, 136px);
  padding-bottom: clamp(72px, 9vw, 136px);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}
.svc-connected__intro { position: sticky; top: 120px; }
.svc-connected__note { font-size: 16px; line-height: 1.6; color: #4A4945; max-width: 44ch; }
.svc-connected__list { display: flex; flex-direction: column; }
.svc-rel {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 28px;
  gap: 6px 16px;
  align-items: baseline;
  padding: 24px 0;
  border-top: 1px solid var(--rule-strong);
  color: var(--ink);
  transition: padding .3s, color .3s, background .3s;
}
.svc-rel.reveal { transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), padding .3s, color .3s, background .3s; }
.svc-rel:hover { color: var(--red); padding-left: 14px; background: #E0DFD8; }
.svc-rel__num { font-family: var(--mono); font-size: 12px; color: var(--red); }
.svc-rel__text { display: flex; flex-direction: column; gap: 6px; }
.svc-rel__title { font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -0.035em; font-weight: 500; line-height: 1.08; }
.svc-rel__desc { font-size: 15px; line-height: 1.5; color: #4A4945; }
.svc-rel__arrow { font-size: 20px; }

/* ---------- Related work / reading ---------- */
.svc-reading { background: var(--paper); }
.svc-reading__inner {
  padding-top: clamp(56px, 7vw, 104px);
  padding-bottom: clamp(56px, 7vw, 104px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.svc-reading__col { display: flex; flex-direction: column; }
.svc-reading__col .eyebrow { margin-bottom: 10px; }
.svc-reading__link {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid var(--rule);
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: -0.03em;
  font-weight: 500;
}
.svc-reading__link--article { font-size: clamp(18px, 1.5vw, 22px); letter-spacing: -0.02em; }

/* ---------- FAQ ---------- */
.svc-faq { background: var(--paper); }
.svc-faq__inner { padding-top: clamp(72px, 9vw, 136px); padding-bottom: clamp(72px, 9vw, 136px); }
.svc-faq__head { margin-bottom: clamp(32px, 4vw, 56px); }
.svc-faq__list { display: flex; flex-direction: column; border-bottom: 1px solid var(--rule); }
.svc-faq__item { border-top: 1px solid var(--rule); }
.svc-faq__btn {
  all: unset;
  cursor: pointer;
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 32px;
  gap: 12px;
  align-items: center;
  padding: 22px 0;
}
.svc-faq__btn:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.svc-faq__num { font-family: var(--mono); font-size: 12px; color: var(--red); }
.svc-faq__q { font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -0.02em; font-weight: 500; color: var(--ink); }
.svc-faq__icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #CFCEC8;
  color: var(--ink);
  font-size: 16px;
}
.svc-faq__icon::before { content: "+"; }
.svc-faq__btn[aria-expanded="true"] .svc-faq__icon { border-color: var(--red); color: var(--red); }
.svc-faq__btn[aria-expanded="true"] .svc-faq__icon::before { content: "−"; }
.svc-faq__a {
  max-width: 70ch;
  padding: 0 44px 24px 52px;
  font-size: 16px;
  line-height: 1.65;
  color: #4A4945;
  animation: nvFade .3s ease both;
}

/* ---------- Contact ---------- */
.svc-contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  scroll-margin-top: var(--header-h);
  background: var(--ink);
  color: var(--white);
}
.svc-contact__glow {
  right: -15%;
  top: -30%;
  width: 60%;
  height: 80%;
  background: radial-gradient(closest-side, rgba(241, 43, 43, 0.13), transparent);
}
.svc-ring {
  left: 88%;
  top: 30%;
  transform: translate(-50%, -50%);
  border: 1px solid #1C1C1A;
  animation: svcRipple 4.2s ease-in-out infinite;
}
.svc-ring--1 { width: 900px; height: 900px; animation-delay: 1.4s; }
.svc-ring--2 { width: 700px; height: 700px; animation-delay: 1.05s; }
.svc-ring--3 { width: 520px; height: 520px; animation-delay: .7s; }
.svc-ring--4 { width: 360px; height: 360px; animation-delay: .35s; border-color: #2A2A28; }
.svc-ring--5 { width: 220px; height: 220px; animation-delay: 0s; border-color: #2A2A28; }
.svc-contact__pip {
  left: 88%;
  top: 30%;
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%);
  background: var(--red);
  animation: svcPulse 1.8s ease-out infinite;
}
.svc-contact__inner {
  padding-top: clamp(72px, 9vw, 136px);
  padding-bottom: clamp(72px, 9vw, 136px);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.svc-contact__copy { display: flex; flex-direction: column; gap: 28px; }
.svc-contact__eyebrow { display: flex; align-items: center; gap: 10px; }
.svc-contact__title {
  font-size: clamp(40px, 5.4vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 500;
  text-wrap: balance;
}
.svc-contact__lead { font-size: 17px; line-height: 1.6; color: var(--on-dark); max-width: 42ch; }
.svc-contact__rows { display: flex; flex-direction: column; max-width: 420px; border-top: 1px solid #262624; }
.svc-contact__row {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid #262624;
  font-size: 15px;
}
.svc-contact__row--link { color: var(--white); }
.svc-contact__row--link:hover { color: var(--red); }
.svc-contact__key { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted-dark); }

.svc-brief {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(22px, 3vw, 40px);
  background: #141413;
  border: 1px solid #262624;
}
.svc-brief__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--red); }
.svc-brief__title { font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -0.035em; line-height: 1.08; font-weight: 500; }
.svc-brief__list { list-style: none; padding: 0; display: flex; flex-direction: column; }
.svc-brief__list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid #262624;
  font-size: 15px;
  color: #D8D7D1;
}
.svc-brief__list li:last-child { border-bottom: 1px solid #262624; }
.svc-brief__num { color: var(--red); }
.svc-brief__cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  transition: background .2s;
}
.svc-brief__cta:hover { background: var(--red); color: var(--white); }
.svc-brief__email {
  align-self: flex-start;
  padding-bottom: 3px;
  border-bottom: 1px solid #3A3A37;
  font-size: 14px;
  color: var(--on-dark-2);
}
.svc-brief__email:hover { color: var(--red); }

/* ---------- Responsive (same thresholds as the original: 960 = narrow, 640 = mobile) ---------- */
@media (max-width: 959.98px) {
  .svc-hero__grid,
  .svc-how__inner,
  .svc-connected__inner,
  .svc-contact__inner { grid-template-columns: minmax(0, 1fr); }
  .svc-connected__intro { position: static; }
}

@media (max-width: 639.98px) {
  .svc-hero__num,
  .svc-hero__square,
  .svc-hero__pip,
  .svc-hero__crumb-meta,
  .svc-stack,
  .svc-ring,
  .svc-contact__pip { display: none; }
  .svc-hero__cta { flex: 1 1 100%; }
  .svc-panel__body { min-height: 0; }
  .svc-rule { grid-template-columns: 40px minmax(0, 1fr); }
  .svc-track__head,
  .svc-track__row { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 64px; }
}
