/* ============ WordPress service page ============ */
:root {
  --wp-blue: #21759b;
}

.wp-page { background: var(--ink-0); }

/* Fluid canvas — same as index v2, behind everything */
#fluid-canvas {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  mix-blend-mode: screen;
}
.wp-page > section,
.wp-page > footer,
.wp-page > .wp-crumb { position: relative; z-index: 3; }
.wp-page > header.nav { z-index: 40; }
.wp-page > .cursor, .wp-page > .cursor-ring { z-index: 100; }

/* Crumb */
.wp-crumb {
  position: fixed; top: 80px; left: var(--gutter);
  z-index: 30;
  display: flex; gap: 10px; align-items: center;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bone-3);
  pointer-events: auto;
}
.wp-crumb a { color: var(--bone-3); }
.wp-crumb a:hover { color: var(--lime); }
.wp-crumb .cur { color: var(--bone); }

/* ============ HERO ============ */
.wp-hero {
  position: relative;
  min-height: 100vh;
  padding: 140px var(--gutter) 80px;
  display: grid;
  grid-template-rows: 1fr auto auto;
  overflow: hidden;
}
.wp-hero__canvas {
  position: absolute; inset: 0;
  width: 100% !important; height: 100% !important;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
  mix-blend-mode: screen;
}
.wp-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 32px;
  align-content: end;
  padding-top: 60px;
}
.wp-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--bone-3);
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  width: fit-content;
}
.wp-hero__eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.wp-hero__title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(60px, 11vw, 200px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--bone);
}
.wp-hero__title .line { display: block; overflow: hidden; }
.wp-hero__title .line > span { display: inline-block; }
.wp-hero__title .indent { padding-left: 8vw; }
.wp-hero__title em {
  font-style: italic;
  color: var(--lime);
}
.wp-hero__title .underline {
  position: relative;
  display: inline-block;
}
.wp-hero__title .underline::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0.05em;
  height: 0.06em;
  background: var(--lime);
  transform-origin: left;
  animation: drawLine 1.4s var(--ease-out) 1.6s both;
}
@keyframes drawLine {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.wp-hero__bottom {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: end;
  gap: 64px;
  padding-top: 40px;
}
.wp-hero__lede {
  margin: 0;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.55;
  color: var(--bone-2);
  max-width: 50ch;
}
.wp-hero__actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: flex-end;
}
.wp-btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 26px;
  font-family: var(--f-mono);
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition: transform .35s var(--ease-out), background .35s var(--ease-out), color .35s var(--ease-out), border-color .35s var(--ease-out);
}
.wp-btn .arrow { font-family: var(--f-mono); transition: transform .35s var(--ease-out); }
.wp-btn:hover { transform: translateY(-2px); }
.wp-btn:hover .arrow { transform: translate(4px, -2px); }
.wp-btn--solid { background: var(--lime); color: var(--ink-0); border-color: var(--lime); }
.wp-btn--solid:hover { background: var(--bone); border-color: var(--bone); }
.wp-btn--ghost { background: transparent; color: var(--bone); }
.wp-btn--ghost:hover { background: var(--bone); color: var(--ink-0); border-color: var(--bone); }

.wp-hero__marquee {
  position: relative;
  overflow: hidden;
  margin: 32px calc(var(--gutter) * -1) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  z-index: 2;
}
.wp-marquee__track {
  display: inline-flex;
  white-space: nowrap;
  gap: 28px;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 2.5vw, 38px);
  color: var(--bone-2);
  animation: wpScroll 28s linear infinite;
  padding-left: 28px;
}
.wp-marquee__track span:nth-child(odd) { color: var(--bone); }
.wp-marquee__track span:nth-child(even) { color: var(--lime); }
@keyframes wpScroll {
  to { transform: translateX(-50%); }
}

.wp-hero__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 24px;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bone-3);
  z-index: 2;
}
.wp-hero__meta .n { color: var(--lime); margin-right: 8px; }

/* ============ INTRO STATS ============ */
.wp-intro {
  padding: 120px var(--gutter);
  border-top: 1px solid var(--line);
}
.wp-intro__head {
  margin-bottom: 80px;
  max-width: 900px;
}
.wp-intro__head .eyebrow { margin-bottom: 16px; }
.wp-intro__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.wp-stat {
  padding: 40px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
  overflow: hidden;
}
.wp-stat:last-child { border-right: 0; }
.wp-stat::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at top right, rgba(212,255,58,0.06), transparent 60%);
  opacity: 0;
  transition: opacity .5s var(--ease-out);
  pointer-events: none;
}
.wp-stat:hover::after { opacity: 1; }
.wp-stat__num {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(56px, 6vw, 96px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--bone);
}
.wp-stat__num sup {
  font-size: 0.4em;
  color: var(--lime);
  font-weight: 400;
  font-style: italic;
  margin-left: 4px;
  vertical-align: top;
}
.wp-stat__label {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--bone-3);
}
.wp-stat__label[data-zero] { color: var(--lime); }

/* ============ HORIZONTAL CAPABILITIES ============ */
.wp-cap {
  position: relative;
  background: var(--ink-1);
  height: 600vh; /* will be sized by JS via pin */
}
.wp-cap__sticky {
  position: sticky; top: 0;
  height: 100vh;
  min-height: 640px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 24px;
  padding: 80px var(--gutter) 40px;
  overflow: hidden;
}
.wp-cap__head {
  max-width: 900px;
}
.wp-cap__head .eyebrow { margin-bottom: 16px; }
.wp-cap__head h2 {
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1; letter-spacing: -0.02em;
  margin: 0;
}
.wp-cap__head em { font-style: italic; color: var(--lime); }

.wp-cap__track {
  display: flex;
  gap: 24px;
  align-items: stretch;
  width: max-content;
  height: 100%;
  will-change: transform;
}
.wp-cap__card {
  flex: 0 0 auto;
  width: min(64vw, 640px);
  min-width: 380px;
  height: 100%;
  min-height: 460px;
  background: var(--ink-0);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: 160px 1fr;
}
.wp-cap__art {
  width: 100%; height: 160px;
  display: block;
  background: radial-gradient(ellipse at 30% 30%, #16170d 0%, #0a0a0a 70%);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.wp-cap__art svg {
  width: 100%; height: 100%;
  display: block;
}
.wp-cap__body {
  padding: 24px 28px 26px;
  display: flex; flex-direction: column; gap: 12px;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.wp-cap__num {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--lime);
}
.wp-cap__body h3 {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--bone);
}
.wp-cap__body p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--bone-2);
  max-width: 44ch;
}
.wp-cap__body ul {
  list-style: none; padding: 0; margin: 6px 0 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px;
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: .04em;
  color: var(--bone-3);
}
.wp-cap__body ul li {
  display: flex; align-items: center; gap: 8px;
}
.wp-cap__body ul li span { color: var(--lime); }

.wp-cap__progress {
  display: flex; align-items: center; gap: 16px;
  padding-top: 10px;
}
.wp-cap__progress-bar {
  flex: 1;
  height: 1px;
  background: var(--line);
  position: relative;
}
.wp-cap__progress-bar span {
  position: absolute; left: 0; top: -1px; bottom: -1px;
  width: 16%;
  background: var(--lime);
  transition: width .25s var(--ease-out);
}
.wp-cap__progress-text {
  font-size: 11px; letter-spacing: .18em;
  color: var(--bone-3);
  white-space: nowrap;
}
.wp-cap__progress-text #cap-num { color: var(--lime); }

/* ============ VS GRID ============ */
.wp-vs {
  padding: 140px var(--gutter);
  border-top: 1px solid var(--line);
}
.wp-vs__head { max-width: 900px; margin-bottom: 60px; }
.wp-vs__head h2 { margin: 16px 0 0; font-family: var(--f-display); font-weight: 300; font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -0.02em; }
.wp-vs__head em { font-style: italic; color: var(--lime); }

.wp-vs__grid {
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.wp-vs__row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.2fr;
  align-items: center;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
  gap: 24px;
  transition: background .3s var(--ease-out);
}
.wp-vs__row:last-child { border-bottom: 0; }
.wp-vs__row:not(.wp-vs__row--head):hover { background: rgba(212,255,58,0.025); }
.wp-vs__row--head {
  background: var(--ink-1);
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--bone-3);
}
.wp-vs__row--head .lime { color: var(--lime); }
.wp-vs__row > span:first-child {
  font-family: var(--f-display); font-style: italic; font-weight: 300;
  font-size: 22px; color: var(--bone);
}
.wp-vs__row .bad {
  color: var(--bone-3);
  font-size: 14.5px;
  position: relative;
  padding-left: 24px;
}
.wp-vs__row .bad::before {
  content: "✕";
  position: absolute; left: 0; top: 0;
  color: #ff5e63;
  font-size: 14px;
}
.wp-vs__row .good {
  color: var(--bone);
  font-size: 14.5px;
  position: relative;
  padding-left: 24px;
}
.wp-vs__row .good::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--lime);
  font-size: 14px;
  font-weight: 700;
}

/* ============ ORBIT ============ */
.wp-orbit {
  padding: 140px var(--gutter);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.wp-orbit__head h2 {
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1; letter-spacing: -0.02em;
  margin: 16px 0 24px;
}
.wp-orbit__head em { font-style: italic; color: var(--lime); }
.wp-orbit__head .lede {
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.55;
  color: var(--bone-2);
  max-width: 48ch;
  margin: 0;
}
.wp-orbit__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 640px;
  justify-self: center;
}
.wp-orbit__stage canvas {
  position: absolute; inset: 0;
  width: 100% !important; height: 100% !important;
}
.wp-orbit__core {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 140px; height: 140px;
  border-radius: 50%;
  background: var(--ink-0);
  border: 1px solid var(--lime);
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-weight: 300; font-style: italic;
  font-size: 56px;
  color: var(--bone);
  z-index: 5;
  box-shadow: 0 0 80px rgba(212,255,58,0.15);
}
.wp-orbit__core .mono {
  font-family: var(--f-mono);
  font-size: 9px;
  font-style: normal;
  letter-spacing: .2em;
  color: var(--lime);
  position: absolute;
  top: -20px; left: 50%;
  transform: translateX(-50%);
}
.wp-orbit__core strong { font-weight: 300; }
.wp-orbit__chips {
  position: absolute; inset: 0;
  pointer-events: none;
}
.wp-orbit__chip {
  position: absolute;
  left: 50%; top: 50%;
  transform-origin: 0 0;
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bone-2);
  background: var(--ink-0);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: auto;
  transition: color .3s, border-color .3s, background .3s;
}
.wp-orbit__chip:hover { color: var(--lime); border-color: var(--lime); background: rgba(212,255,58,0.05); }

/* ============ PROCESS ============ */
.wp-process {
  padding: 140px var(--gutter);
  border-top: 1px solid var(--line);
  background: var(--ink-1);
}
.wp-process__head { max-width: 900px; margin-bottom: 64px; }
.wp-process__head h2 {
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.98; letter-spacing: -0.02em;
  margin: 16px 0 0;
}
.wp-process__head em { font-style: italic; color: var(--lime); }
.wp-process__steps {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.wp-process__steps li {
  display: grid;
  grid-template-columns: 180px 1fr 2fr;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: padding-left .4s var(--ease-out), background .4s var(--ease-out);
  position: relative;
}
.wp-process__steps li::before {
  content: "→";
  position: absolute; left: 0;
  font-family: var(--f-mono);
  color: var(--lime);
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
.wp-process__steps li:hover {
  padding-left: 32px;
  background: rgba(212,255,58,0.03);
}
.wp-process__steps li:hover::before {
  opacity: 1;
  transform: translateX(0);
  left: 8px;
}
.wp-process__week {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--bone-3);
}
.wp-process__steps h4 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 300; font-style: italic;
  font-size: clamp(28px, 2.6vw, 40px);
  letter-spacing: -0.01em;
  color: var(--bone);
}
.wp-process__steps p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--bone-2);
  max-width: 56ch;
}

/* ============ CTA OUTRO ============ */
.wp-cta {
  position: relative;
  padding: 140px var(--gutter);
  min-height: 90vh;
  display: grid;
  place-items: center;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.wp-cta__canvas {
  position: absolute; inset: 0;
  width: 100% !important; height: 100% !important;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  mix-blend-mode: screen;
}
.wp-cta__rotor {
  position: relative;
  width: min(540px, 80vw);
  aspect-ratio: 1;
  z-index: 2;
}
.wp-cta__rotor svg {
  width: 100%; height: 100%;
  animation: rotorSpin 28s linear infinite;
}
@keyframes rotorSpin {
  to { transform: rotate(360deg); }
}
.wp-cta__rotor .rotor-text {
  font-family: var(--f-mono);
  font-size: 22px;
  letter-spacing: .14em;
  text-transform: uppercase;
  fill: var(--bone-2);
}
.wp-cta__btn {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink-0);
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-weight: 300; font-style: italic;
  font-size: 56px;
  letter-spacing: -0.02em;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
  box-shadow: 0 0 0 0 rgba(212,255,58,0);
}
.wp-cta__btn:hover {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 0 80px 0 rgba(212,255,58,0.5);
}
.wp-cta__lines {
  position: absolute; bottom: 60px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 16px;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--bone-3);
  z-index: 2;
}

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .wp-hero__title { font-size: clamp(56px, 12vw, 140px); }
  .wp-cap__card { flex: 0 0 78vw; min-width: 380px; }
  .wp-orbit { grid-template-columns: 1fr; gap: 60px; }
}
@media (max-width: 860px) {
  .wp-crumb { display: none; }
  .wp-hero { padding: 120px 20px 60px; }
  .wp-hero__bottom { grid-template-columns: 1fr; gap: 32px; }
  .wp-hero__actions { justify-content: flex-start; }
  .wp-hero__meta { grid-template-columns: 1fr; gap: 12px; }
  .wp-hero__meta .col:last-child { text-align: left !important; }
  .wp-intro__grid { grid-template-columns: repeat(2, 1fr); }
  .wp-stat { padding: 28px 22px; }
  .wp-stat:nth-child(2) { border-right: 0; }
  .wp-cap__card { flex: 0 0 86vw; min-width: 0; }
  .wp-cap__body ul { grid-template-columns: 1fr; }
  .wp-vs__row { grid-template-columns: 1fr; gap: 8px; padding: 18px 22px; }
  .wp-vs__row--head { display: none; }
  .wp-vs__row > span:first-child { font-size: 18px; margin-bottom: 4px; }
  .wp-process__steps li { grid-template-columns: 1fr; gap: 8px; }
  .wp-cta__btn { width: 140px; height: 140px; font-size: 36px; }
  .wp-cta__rotor .rotor-text { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .wp-marquee__track, .wp-cta__rotor svg { animation: none !important; }
}
