.direction-home {
  --dir-deep-night: #010326;
  --dir-night: #010440;
  --dir-ink: #020659;
  --dir-charcoal: #020873;
  --dir-paper: #010326;
  --dir-paper-strong: #020659;
  --dir-paper-ink: #f7f8ff;
  --dir-royal: #030ba6;
  --dir-blue: #ff2e88;
  --dir-cyan: #ff2e88;
  --dir-signal: #ffb1d1;
  --dir-violet: #ff6aaa;
  --dir-purple: #b80f5c;
  --dir-sequence-1: #ff2e88;
  --dir-sequence-2: #ff5ca2;
  --dir-sequence-3: #ff8fbe;
  --dir-sequence-4: #ffb1d1;
  --dir-spectrum: linear-gradient(105deg, #ff2e88 0%, #ff6aaa 58%, #ffb1d1 100%);
  --dir-spectrum-deep: linear-gradient(105deg, #ff2e88 0%, #ff6aaa 58%, #ffb1d1 100%);
  --dir-spectrum-panel: linear-gradient(110deg, rgba(2, 6, 89, .98), rgba(184, 15, 92, .72) 60%, rgba(255, 46, 136, .24));
  --dir-line: rgba(66, 77, 185, .34);
  --dir-muted: #c9cde5;
  --dir-grid-line: rgba(72, 112, 255, .058);
  --dir-grid-size: 72px;
  --dir-radius: 2px;
  --dir-corner-blue: #030ba6;
  --dir-corner-pink: #ff2e88;
  --dir-corner-size: 22px;
  --dir-corner-stroke: 2px;
  --dir-shell: min(1240px, calc(100% - 72px));
  background: radial-gradient(circle at 76% 9%, rgba(255, 46, 136, .1), transparent 32%), var(--dir-deep-night);
  color: #f7f8ff;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.direction-home button,
.direction-home input,
.direction-home textarea,
.direction-home select { font-family: inherit; }

.direction-home::before {
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 46, 136, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 91, 196, .055) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: .68;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .7) 24%, transparent 74%);
}

.direction-home::after { display: none; }

.direction-home .ambient-stars {
  z-index: 2;
  opacity: .84;
  mix-blend-mode: screen;
  filter: saturate(1.04);
}

.direction-home .cursor-comet { opacity: .48; }

.direction-home main,
.direction-home .dir-footer {
  position: relative;
  z-index: 1;
}

.dir-shell {
  width: var(--dir-shell);
  margin-inline: auto;
}

.direction-home .topbar {
  --dir-page-progress: 0;
  position: sticky;
  top: 0;
  z-index: 80;
  isolation: isolate;
  color: #f7f8ff;
  border-bottom: 1px solid var(--dir-line);
  background: rgba(1, 3, 38, .96);
  box-shadow: none;
}

.direction-home .topbar::before {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--dir-spectrum);
  box-shadow: 0 0 12px rgba(255, 46, 136, .34);
  content: "";
  pointer-events: none;
  transform: scaleX(var(--dir-page-progress));
  transform-origin: left center;
}

.dir-scroll-rocket {
  --rocket-x: 8vw;
  --rocket-y: 94vh;
  --rocket-angle: -38deg;
  --rocket-opacity: 0;
  position: fixed;
  z-index: 2;
  top: var(--rocket-y);
  left: var(--rocket-x);
  width: clamp(68px, 6.4vw, 100px);
  aspect-ratio: 807 / 371;
  background: url("assets/images/ui/progress-rocket.png") center / contain no-repeat;
  filter: drop-shadow(0 0 8px rgba(255, 46, 136, .54)) saturate(1.08);
  mix-blend-mode: screen;
  opacity: var(--rocket-opacity);
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(var(--rocket-angle));
  transform-origin: center;
  will-change: top, left, transform, opacity;
}

.direction-home .topbar .container {
  width: var(--dir-shell);
  max-width: none;
}

.direction-home .nav { height: 72px; }
.direction-home .brand {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0;
}
.direction-home .brand strong,
.direction-home .brand b { font-family: inherit; }
.direction-home .brand b { background-image: var(--dir-spectrum); }
.direction-home .brand-wordmark span:last-child { background-image: var(--dir-spectrum); }
.direction-home .brand-mark { background-image: url("assets/images/brand/forthsite-mark-pink.svg"); }
.direction-home .brand-mark { width: 32px; height: 32px; flex-basis: 32px; }
.direction-home .nav-links {
  color: #f7f8ff;
  font-size: 12px;
}
.direction-home .nav-cta { padding: 12px 19px; border-color: rgba(255, 46, 136, .72); border-radius: var(--dir-radius); background: transparent; box-shadow: none; }
.direction-home .nav-cta::before { content: ""; width: 6px; height: 6px; margin-right: 9px; border-radius: 0; background: var(--dir-cyan); box-shadow: 0 0 10px rgba(255, 46, 136, .5); }
.direction-home .nav-cta:hover { border-color: var(--dir-cyan); background: rgba(255, 46, 136, .14); }
.direction-home .dropdown,
.direction-home .dropdown a { border-radius: var(--dir-radius); }
.direction-home .dropdown { background: rgba(2, 6, 89, .98); box-shadow: 0 18px 36px rgba(0, 0, 0, .42); }

.dir-hero {
  position: relative;
  height: 720px;
  min-height: 0;
  overflow: clip;
  padding: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 50px 100%,
    rgba(1, 3, 38, .8);
}

.dir-hero-sticky {
  position: relative;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: rgba(1, 3, 38, .8);
}

.dir-hero-stage {
  position: relative;
  z-index: 3;
  height: 100%;
  min-height: 0;
}

.dir-hero-copy {
  position: relative;
  z-index: 4;
  width: min(66%, 850px);
  padding-top: 52px;
}

.dir-hero-kicker,
.dir-hero-title-mobile,
.dir-hero-planet,
.dir-hero-planet-wash { display: none; }

.dir-hero h1 {
  max-width: 900px;
  margin: 0;
  color: #f7f8ff;
  font-size: 68px;
  font-weight: 700;
  line-height: .97;
  letter-spacing: 0;
  text-shadow: 0 8px 30px rgba(0, 0, 0, .58);
}

.dir-hero h1 em,
.dir-capabilities h2 em,
.dir-pricing-head h2 em {
  color: transparent;
  background: var(--dir-spectrum);
  -webkit-background-clip: text;
  background-clip: text;
  font: inherit;
  font-style: normal;
}

.dir-hero h1 em { text-shadow: 0 0 25px rgba(255, 46, 136, .3); }

.dir-hero-copy > p {
  max-width: 610px;
  margin: 30px 0 0;
  color: var(--dir-muted);
  font-size: 17px;
  line-height: 1.58;
}

.dir-hero-copy > p strong { color: #f7f8ff; }

.dir-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 31px;
}

.dir-button,
.dir-text-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 800;
}

.dir-button {
  padding: 0 22px;
  border: 1px solid rgba(255, 46, 136, .9);
  border-radius: var(--dir-radius);
  color: var(--dir-deep-night);
  background: var(--dir-spectrum-deep);
  box-shadow: 0 10px 25px rgba(255, 46, 136, .2);
  transition: transform .2s ease, filter .2s ease, border-color .2s ease;
}

.dir-button::after,
.dir-text-link::after { content: "↗"; font-size: 14px; }
.dir-button:hover { border-color: var(--dir-cyan); transform: translateY(-2px); filter: brightness(1.08); }
.dir-text-link { min-height: 40px; color: #ff6aaa; }
.dir-text-link:hover { color: #f7f8ff; }

.dir-hero-media {
  position: absolute;
  z-index: 1;
  inset: 0;
  margin: 0;
  overflow: hidden;
  background: var(--dir-deep-night);
}

.dir-hero-track {
  display: flex;
  width: max-content;
  height: 100%;
  background: var(--dir-deep-night);
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.dir-hero-track.is-manual {
  transition: transform .62s cubic-bezier(.22, 1, .36, 1);
}

.dir-hero-slide {
  position: relative;
  flex: 0 0 108vw;
  height: 100%;
  margin-right: -8vw;
  overflow: hidden;
  background: transparent;
}

.dir-hero-slide:last-child { margin-right: 0; }

.dir-hero-slide picture,
.dir-hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
}

.dir-hero-slide img {
  object-fit: cover;
  object-position: center;
  filter: saturate(.82) brightness(.72) contrast(1.08);
  transform: scale(1.015);
}

.dir-hero-slide-restaurant img {
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 90%, transparent 100%);
}

.dir-hero-slide-fitness img {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.dir-hero-slide-shop img {
  object-position: center 18%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 100%);
}

.dir-hero-slide-shop {
  flex-basis: 90vw;
}

.dir-hero-shade {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(var(--dir-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--dir-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1, 3, 38, .995) 0%, rgba(1, 3, 38, .96) 25%, rgba(1, 3, 38, .76) 47%, rgba(1, 3, 38, .3) 72%, rgba(1, 3, 38, .42) 100%),
    linear-gradient(180deg, rgba(1, 3, 38, .34), rgba(1, 3, 38, .13) 45%, rgba(1, 3, 38, .8) 100%);
  background-size: var(--dir-grid-size) var(--dir-grid-size), var(--dir-grid-size) var(--dir-grid-size), auto, auto;
}

.dir-hero-next {
  position: absolute;
  z-index: 6;
  top: 50%;
  right: clamp(18px, 3.4vw, 58px);
  display: grid;
  width: 58px;
  height: 58px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(247, 248, 255, .46);
  border-radius: var(--dir-radius);
  color: #f7f8ff;
  background: rgba(2, 6, 89, .72);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .26);
  font: inherit;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.dir-hero-next span {
  display: block;
  font-size: 29px;
  font-weight: 300;
  line-height: 1;
  transform: translateX(1px);
}

.dir-hero-next:hover,
.dir-hero-next:focus-visible {
  border-color: var(--dir-cyan);
  background: rgba(255, 46, 136, .9);
  transform: translateY(-50%) scale(1.06);
}

.dir-hero-next:focus-visible { outline: 2px solid #f7f8ff; outline-offset: 4px; }

.dir-service-visual figcaption {
  position: absolute;
  z-index: 5;
  right: 16px;
  bottom: 16px;
  left: 46%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 14px;
  border: 1px solid rgba(247, 248, 255, .2);
  background: rgba(1, 3, 38, .88);
  color: #f7f8ff;
  font-size: 10px;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.dir-manifesto {
  padding: 76px 0;
  border-top: 1px solid rgba(1, 3, 38, .16);
  color: var(--dir-deep-night);
  background: #ffffff;
}

.dir-manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.dir-manifesto,
.dir-services,
.dir-method,
.dir-capabilities,
.dir-sector-index,
.dir-example-index,
.dir-pricing,
.dir-cta {
  border-image: linear-gradient(90deg, rgba(255, 46, 136, .78), rgba(3, 11, 166, .34) 40%, transparent 78%) 1;
}

.dir-manifesto h2,
.dir-section-head h2,
.dir-method h2,
.dir-capabilities h2,
.dir-sector-index h2,
.dir-example-index h2,
.dir-pricing-head h2,
.dir-cta h2 {
  margin: 0;
  font-size: 58px;
  font-weight: 650;
  line-height: .98;
  letter-spacing: 0;
}

.dir-manifesto-grid > div { padding-top: 4px; }
.dir-manifesto-grid p { max-width: 650px; margin: 0; color: var(--dir-ink); font-size: 20px; line-height: 1.46; }
.dir-manifesto-grid small { display: block; max-width: 620px; margin-top: 20px; color: rgba(2, 6, 89, .74); font-size: 13px; line-height: 1.55; }

.dir-proof-strip {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 32px;
  align-items: center;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(2, 8, 115, .18);
}

.dir-proof-strip > span {
  color: rgba(2, 6, 89, .7);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dir-proof-strip > div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 34px;
}

.dir-proof-strip > div a {
  color: var(--dir-deep-night);
  font-size: 17px;
  font-weight: 750;
}

.dir-proof-strip > div a:hover,
.dir-proof-strip .dir-text-link,
.dir-proof-strip .dir-text-link:hover { color: #d9146a; }

.dir-services {
  padding: 78px 0 88px;
  border-top: 1px solid var(--dir-line);
  color: var(--dir-paper-ink);
  background:
    linear-gradient(var(--dir-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--dir-grid-line) 1px, transparent 1px),
    rgba(1, 3, 38, .82);
  background-size: var(--dir-grid-size) var(--dir-grid-size), var(--dir-grid-size) var(--dir-grid-size), auto;
}

.dir-services .dir-section-head h2 { text-shadow: 0 0 30px rgba(255, 46, 136, .14); }

.dir-services .dir-section-head > div > p { color: var(--dir-muted); }
.dir-services .dir-text-link { color: #ff6aaa; }
.dir-services .dir-text-link:hover { color: #f7f8ff; }

.dir-section-head,
.dir-pricing-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  margin-bottom: 34px;
}

.dir-section-head > div > p,
.dir-pricing-head > div > p {
  max-width: 700px;
  margin: 16px 0 0;
  color: var(--dir-muted);
  font-size: 14px;
  line-height: 1.55;
}

.dir-service-showcase {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 590px;
  min-height: 590px;
  overflow: hidden;
  border: 1px solid var(--dir-line);
  border-radius: var(--dir-radius);
  color: #f7f8ff;
  background: var(--dir-ink);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .32);
}

.dir-service-showcase::after {
  position: absolute;
  z-index: 8;
  top: 14px;
  right: 14px;
  width: 10px;
  height: 10px;
  background: var(--dir-cyan);
  box-shadow: 0 0 18px rgba(255, 46, 136, .34);
  content: "";
  pointer-events: none;
}

.dir-service-rows {
  display: grid;
  min-height: 0;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  border-right: 1px solid var(--dir-line);
  background: var(--dir-ink);
}

.dir-service-row {
  --row-accent: var(--dir-cyan);
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr 28px;
  gap: 18px;
  min-height: 147px;
  align-items: start;
  padding: 28px 27px;
  overflow: hidden;
  border-bottom: 1px solid var(--dir-line);
  transition: none;
}

.dir-service-row:last-child { border-bottom: 0; }
.dir-service-row > span { padding-top: 4px; color: var(--dir-muted); font-size: 12px; font-weight: 800; }
.dir-service-row h3 { margin: 0 0 8px; font-size: 25px; letter-spacing: 0; }
.dir-service-row p { max-width: 470px; margin: 0; color: var(--dir-muted); font-size: 13px; line-height: 1.48; }
.dir-service-row b { align-self: center; color: #f7f8ff; font-size: 20px; font-weight: 500; }
.dir-service-row:hover,
.dir-service-row.active { background: transparent; box-shadow: none; }

.dir-service-visual {
  position: relative;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  margin: 0;
  background: var(--dir-night);
}

.dir-service-visual img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.55) contrast(1.1) brightness(.82);
  transition: none;
}

.dir-service-visual figcaption { left: 16px; }

.dir-method {
  position: relative;
  padding: 84px 0 96px;
  overflow: visible;
  border-top: 1px solid rgba(1, 3, 38, .16);
  color: var(--dir-deep-night);
  background: #ffffff;
}

.dir-method > .dir-shell {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: clamp(52px, 7vw, 104px);
  align-items: start;
}

.dir-method-intro {
  position: sticky;
  top: 116px;
  padding-bottom: 0;
}

.dir-method-intro p { max-width: 390px; margin: 28px 0 0; color: var(--dir-ink); font-size: 17px; line-height: 1.58; }

.dir-steps {
  display: block;
  width: 100%;
  max-width: 820px;
  margin: 0 0 0 auto;
  padding-bottom: 20px;
  perspective: 1100px;
  perspective-origin: 50% 18%;
}

.dir-steps article {
  --step-accent: var(--dir-sequence-1);
  --stack-index: 0;
  position: sticky;
  z-index: calc(10 + var(--stack-index));
  top: 104px;
  display: grid;
  grid-template-columns: 112px minmax(190px, .8fr) minmax(230px, 1.2fr);
  gap: 24px;
  min-height: 216px;
  align-items: center;
  margin-bottom: 18px;
  padding: 32px 36px;
  border: 1px solid var(--dir-line);
  border-radius: var(--dir-radius);
  background:
    radial-gradient(circle at 92% 8%, color-mix(in srgb, var(--step-accent) 14%, transparent), transparent 32%),
    var(--dir-ink);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .34), 0 0 28px color-mix(in srgb, var(--step-accent) 9%, transparent);
  opacity: var(--stack-opacity, 1);
  filter: blur(var(--stack-blur, 0));
  transform: translate3d(var(--stack-x, 0), var(--stack-y, 0), var(--stack-z, 0)) rotateX(var(--stack-rotate, 0deg)) scale(var(--stack-scale, 1));
  transform-origin: top center;
  backface-visibility: hidden;
  will-change: transform, opacity, filter;
  transition: transform .12s linear, opacity .12s linear, filter .12s linear;
}

.dir-steps article.is-behind { pointer-events: none; }

.dir-steps article:nth-child(2) { --step-accent: var(--dir-sequence-2); --stack-index: 1; }
.dir-steps article:nth-child(3) { --step-accent: var(--dir-sequence-3); --stack-index: 2; }
.dir-steps article:nth-child(4) { --step-accent: var(--dir-sequence-4); --stack-index: 3; }
.dir-steps article::before { position: absolute; top: 0; right: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--step-accent), transparent 72%); content: ""; }
.dir-steps article::after {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: var(--dir-corner-size);
  height: var(--dir-corner-size);
  border-right: var(--dir-corner-stroke) solid var(--step-accent);
  border-bottom: var(--dir-corner-stroke) solid var(--step-accent);
  content: "";
  pointer-events: none;
}
.dir-steps article:last-child { margin-bottom: 0; }
.dir-steps span { align-self: start; color: var(--step-accent); font-size: 12px; font-weight: 850; text-shadow: 0 0 16px rgba(255, 46, 136, .26); }
.dir-steps h3 { margin: 0; color: #f7f8ff; font-size: 29px; line-height: 1.08; letter-spacing: 0; }
.dir-steps p { max-width: 440px; margin: 0; color: var(--dir-muted); font-size: 14px; line-height: 1.58; }

.dir-capabilities {
  padding: 92px 0;
  border-top: 1px solid rgba(1, 3, 38, .16);
  color: var(--dir-deep-night);
  background: #ffffff;
}

.dir-capabilities h2 em { text-shadow: 0 0 28px rgba(255, 46, 136, .22); }

.dir-capabilities-grid {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
  gap: 100px;
  align-items: start;
}

.dir-capabilities-copy { position: sticky; top: 116px; }
.dir-capabilities-copy p { max-width: 520px; margin: 28px 0 0; color: var(--dir-ink); font-size: 16px; line-height: 1.62; }

.dir-capability-list {
  --timeline-progress: 0;
  position: relative;
  margin-left: auto;
  padding-left: 76px;
}

.dir-capability-list::before,
.dir-capability-list::after {
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 29px;
  width: 2px;
  content: "";
  transform-origin: top;
}

.dir-capability-list::before { background: rgba(2, 8, 115, .18); }
.dir-capability-list::after {
  background: linear-gradient(180deg, #ff2e88, #ffb1d1);
  box-shadow: 0 0 16px rgba(255, 46, 136, .28);
  transform: scaleY(var(--timeline-progress));
}

.dir-capability-list article {
  position: relative;
  min-height: 176px;
  padding: 30px 34px;
  border-bottom: 1px solid rgba(2, 8, 115, .18);
  color: var(--dir-deep-night);
  background: transparent;
}

.dir-capability-list article:last-child { border-bottom: 0; }

.dir-capability-list .num {
  position: absolute;
  z-index: 2;
  top: 28px;
  left: -76px;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(2, 8, 115, .3);
  border-radius: 50%;
  color: #030ba6;
  background: #ffffff;
  font-size: 14px;
  font-weight: 850;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.dir-capability-list article.is-complete .num {
  border-color: #ff2e88;
  color: transparent;
  background: #ff2e88;
}

.dir-capability-list article.is-complete .num::after {
  position: absolute;
  color: var(--dir-deep-night);
  content: "✓";
  font-size: 16px;
  font-weight: 950;
}

.dir-capability-list h3 { margin: 0 0 13px; font-size: 28px; line-height: 1.08; letter-spacing: 0; }
.dir-capability-list p { max-width: 720px; margin: 0; color: var(--dir-ink); font-size: 14px; line-height: 1.62; }

.dir-sector-index,
.dir-example-index {
  padding: 78px 0 88px;
  border-top: 1px solid var(--dir-line);
  color: var(--dir-paper-ink);
  background:
    linear-gradient(var(--dir-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--dir-grid-line) 1px, transparent 1px),
    rgba(1, 3, 38, .88);
  background-size: var(--dir-grid-size) var(--dir-grid-size), var(--dir-grid-size) var(--dir-grid-size), auto;
}

.dir-sector-index h2,
.dir-example-index h2 {
  margin: 0;
  font-size: 58px;
  font-weight: 650;
  line-height: .98;
  letter-spacing: 0;
}

.dir-sector-index .dir-section-head > div > p,
.dir-example-index .dir-section-head > div > p { color: var(--dir-muted); }

.dir-index-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--dir-line);
  border-bottom: 1px solid var(--dir-line);
}

.dir-index-rail > a {
  min-width: 0;
  padding: 26px 22px 28px;
  border-right: 1px solid var(--dir-line);
  color: #f7f8ff;
  font-size: 18px;
  font-weight: 750;
  transition: color .2s ease, background .2s ease;
}

.dir-index-rail > a:last-child { border-right: 0; }

.dir-index-rail > a span {
  display: block;
  margin-bottom: 18px;
  color: #ff6aaa;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.dir-index-rail > a:hover {
  color: #ffffff;
  background: rgba(255, 46, 136, .09);
}

.dir-pricing {
  padding: 82px 0 92px;
  border-top: 1px solid rgba(1, 3, 38, .16);
  color: var(--dir-deep-night);
  background: #ffffff;
}

.dir-pricing-head h2 em { background-image: linear-gradient(105deg, #ff2e88 0%, #020659 100%); }
.dir-pricing-head > div > p { color: var(--dir-ink); }

.dir-package-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  border: 0;
}

.dir-package {
  --package: #8b5cf6;
  display: flex;
  min-width: 0;
  min-height: 520px;
  padding: 30px 24px;
  color: #f7f8ff;
  border: 1px solid rgba(67, 79, 185, .34);
  border-top: 3px solid var(--package);
  border-radius: var(--dir-radius);
  background: var(--dir-ink);
  box-shadow: 0 18px 44px rgba(1, 3, 38, .18), 0 0 22px color-mix(in srgb, var(--package) 7%, transparent);
  flex-direction: column;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.dir-package:hover { border-color: color-mix(in srgb, var(--package) 58%, rgba(67, 79, 185, .34)); box-shadow: 0 22px 50px rgba(1, 3, 38, .24), 0 0 30px color-mix(in srgb, var(--package) 17%, transparent); transform: translateY(-3px); }

.dir-package:last-child { border-right: 1px solid rgba(67, 79, 185, .34); }
.dir-package.starter { --package: #29cf82; }
.dir-package.business { --package: #4b8cff; }
.dir-package.scale { --package: #ff9a48; }
.dir-package.emergency { --package: #ff4d5e; }
.dir-package-no { color: var(--package); font-size: 11px; font-weight: 900; }
.dir-package h3 { margin: 28px 0 12px; color: var(--package); font-size: 27px; letter-spacing: 0; }
.dir-package > p { min-height: 78px; margin: 0; color: var(--dir-muted); font-size: 12px; line-height: 1.5; }
.dir-package > small { margin-top: 22px; color: var(--dir-muted); font-size: 11px; }
.dir-package > strong { margin-top: 3px; font-size: 38px; letter-spacing: 0; }
.dir-package ul { display: grid; gap: 9px; margin: 24px 0 28px; padding: 0; list-style: none; }
.dir-package li { position: relative; padding-left: 17px; color: #f7f8ff; font-size: 12px; line-height: 1.35; }
.dir-package li::before { position: absolute; top: .52em; left: 0; width: 5px; height: 5px; border-radius: 50%; content: ""; background: var(--package); }
.dir-package > a { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; margin-top: auto; border: 1px solid color-mix(in srgb, var(--package) 70%, #f7f8ff); border-radius: var(--dir-radius); color: #f7f8ff; font-size: 12px; font-weight: 800; transition: background .18s ease, color .18s ease; }
.dir-package > a:hover { background: var(--package); color: var(--dir-deep-night); }

.dir-cta {
  padding: 72px 0 82px;
  border-top: 1px solid var(--dir-line);
  background:
    linear-gradient(var(--dir-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--dir-grid-line) 1px, transparent 1px),
    rgba(1, 3, 38, .84);
  background-size: var(--dir-grid-size) var(--dir-grid-size), var(--dir-grid-size) var(--dir-grid-size), auto;
}

.dir-cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 70px;
  min-height: 290px;
  align-items: center;
  overflow: visible;
  padding: 50px 58px;
  color: var(--dir-deep-night);
  border: 1px solid rgba(255, 46, 136, .44);
  border-radius: var(--dir-radius);
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 46, 136, .1), transparent 31%),
    #ffffff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .3), 0 0 38px rgba(255, 46, 136, .12);
}

.dir-cta-panel::before {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 12px;
  height: 12px;
  background: var(--dir-cyan);
  box-shadow: 0 0 22px rgba(255, 46, 136, .38);
  content: "";
}

.dir-cta-panel > div { position: relative; z-index: 2; }
.dir-cta-panel p { margin: 0 0 22px; color: var(--dir-ink); font-size: 14px; line-height: 1.55; }
.dir-button-light { border-color: var(--dir-deep-night); background: var(--dir-deep-night); color: #ffffff; box-shadow: none; }
.dir-button-light:hover { border-color: #ff2e88; background: #ff2e88; color: var(--dir-deep-night); }
.dir-cta-panel small { display: block; margin-top: 12px; color: rgba(2, 6, 89, .72); font-size: 10px; }
.direction-home .dir-footer {
  padding-top: 50px;
  border-top: 1px solid var(--dir-ink);
  background: rgba(1, 3, 38, .9);
}

.direction-home .dir-footer .footer-grid { padding-bottom: 10px; }
.direction-home .dir-footer .newsletter { border-radius: var(--dir-radius); }
.direction-home .dir-footer .footer-submit { border-radius: 0; background: var(--dir-cyan); color: var(--dir-night); }
.dir-footer-brand { display: inline-flex; align-items: center; gap: 11px; margin-bottom: 16px; color: #f7f8ff; text-decoration: none; }
.dir-footer-brand img { width: 36px; height: 36px; }
.dir-footer-brand .brand-wordmark { font-family: Inter, system-ui, sans-serif; }

.dir-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.22, 1, .36, 1);
}

.dir-reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .direction-home { --dir-shell: min(100% - 40px, 1240px); }
  .dir-hero-copy { width: 70%; padding-top: 52px; }
  .dir-hero h1 { font-size: 60px; }
  .dir-manifesto h2,
  .dir-section-head h2,
  .dir-method h2,
  .dir-capabilities h2,
  .dir-sector-index h2,
  .dir-example-index h2,
  .dir-pricing-head h2,
  .dir-cta h2 { font-size: 52px; }
  .dir-capabilities-grid { gap: 60px; }
  .dir-package { padding-inline: 18px; }
  .dir-service-row { padding-block: 24px; }
  .dir-method > .dir-shell {
    grid-template-columns: minmax(250px, .68fr) minmax(0, 1.32fr);
    gap: 40px;
  }
  .dir-steps article {
    grid-template-columns: 80px minmax(145px, .82fr) minmax(0, 1.18fr);
    gap: 18px;
    padding: 28px 24px;
  }
  .dir-steps h3 { font-size: 26px; }
}

@media (max-width: 980px) {
  .direction-home .nav-links { border-radius: var(--dir-radius); background: rgba(1, 3, 38, .995); }
  .direction-home .nav-links .mobile-demo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
    margin-top: 10px;
    padding: 0 18px;
    border: 1px solid rgba(255, 46, 136, .9);
    border-radius: var(--dir-radius);
    color: var(--dir-deep-night);
    background: var(--dir-spectrum-deep);
    box-shadow: 0 10px 25px rgba(255, 46, 136, .2);
    text-align: left;
    transition: transform .2s ease, filter .2s ease;
  }
  .direction-home .nav-links .mobile-demo::after { content: "↗"; font-size: 14px; }
  .direction-home .nav-links .mobile-demo:hover,
  .direction-home .nav-links .mobile-demo:focus-visible { transform: translateY(-2px); filter: brightness(1.08); }
  .direction-home .menu-toggle { border-radius: var(--dir-radius); background: transparent; }
  .dir-hero-copy { width: 72%; }
  .dir-service-showcase {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
  }
  .dir-service-rows {
    grid-template-rows: repeat(4, minmax(164px, 1fr));
    border-right: 0;
  }
  .dir-service-visual { display: none; }
  .dir-service-row,
  .dir-service-row:hover,
  .dir-service-row.active {
    color: #ffffff;
    background: var(--dir-deep-night);
    box-shadow: none;
    isolation: isolate;
  }
  .dir-service-row::before {
    position: absolute;
    z-index: 0;
    inset: -3px;
    background:
      linear-gradient(0deg, rgba(1, 3, 38, .99) 0%, rgba(1, 3, 38, .92) 58%, rgba(1, 3, 38, .7) 100%),
      var(--service-bg) var(--service-position, center) / cover no-repeat;
    content: "";
    pointer-events: none;
    filter: blur(1.5px);
    transform: scale(1.012);
  }
  .dir-service-row > * { position: relative; z-index: 1; }
  .dir-service-row > span { color: #ff6aaa; }
  .dir-service-row p { color: #f7f8ff; }
  .dir-method > .dir-shell { display: block; }
  .dir-method-intro { position: static; padding-bottom: 40px; }
  .dir-method-intro p { max-width: 620px; }
  .dir-steps {
    display: grid;
    max-width: none;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 1fr;
    gap: 16px;
    padding-bottom: 0;
  }
  .dir-steps article { position: relative; top: auto; z-index: auto; display: block; min-height: 270px; margin: 0; padding: 30px; opacity: 1; filter: none; transform: none; pointer-events: auto; }
  .dir-steps h3 { margin: 42px 0 14px; font-size: 26px; }
  .dir-capabilities-copy { position: static; }
  .dir-proof-strip { grid-template-columns: 1fr auto; }
  .dir-proof-strip > span { grid-column: 1 / -1; }
  .dir-index-rail { grid-template-columns: 1fr 1fr; }
  .dir-index-rail > a:nth-child(2) { border-right: 0; }
  .dir-index-rail > a:nth-child(-n+2) { border-bottom: 1px solid var(--dir-line); }
  .dir-package-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .dir-package:nth-child(2) { border-right: 1px solid rgba(67, 79, 185, .34); }
  .dir-package:nth-child(-n+2) { border-bottom: 1px solid rgba(67, 79, 185, .34); }
}

@media (max-width: 720px) {
  .direction-home { --dir-shell: min(100% - 32px, 1240px); }
  .direction-home::before { background-size: 50px 50px; }
  .direction-home .topbar {
    border-bottom-color: rgba(67, 79, 185, .25);
    background: rgba(1, 3, 38, .92);
    box-shadow: 0 12px 36px rgba(0, 0, 0, .18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
  .dir-scroll-rocket { width: 64px; }
  .direction-home .nav { height: 84px; }
  .direction-home .brand-mark { width: 38px; height: 38px; flex-basis: 38px; }
  .direction-home .brand-wordmark { gap: 4px; font-size: 12px; line-height: .88; letter-spacing: .2em; }
  .direction-home .menu-toggle {
    width: 48px;
    height: 48px;
    border-color: rgba(67, 79, 185, .42);
    border-radius: var(--dir-radius);
    color: #ff6aaa;
    background: rgba(2, 6, 89, .6);
  }
  .dir-hero { height: clamp(680px, calc(100svh - 132px), 800px); min-height: 680px; padding: 0; }
  .dir-hero-sticky { height: 100%; min-height: 0; }
  .dir-hero-stage { display: block; height: 100%; min-height: 0; }
  .dir-hero-copy { width: 100%; max-width: 370px; padding-top: clamp(214px, 29vh, 252px); }
  .dir-hero-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    color: #ff6aaa;
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
  }
  .dir-hero-kicker i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
  .dir-hero-title-desktop { display: none; }
  .dir-hero-title-mobile { display: block; }
  .dir-hero h1 { max-width: 350px; font-size: 43px; font-weight: 500; line-height: 1.04; }
  .dir-hero h1::after { display: block; width: 48px; height: 1px; margin-top: 24px; background: rgba(247, 248, 255, .52); content: ""; }
  .dir-hero-copy > p { max-width: 345px; margin-top: 24px; color: rgba(247, 248, 255, .78); font-size: 14px; line-height: 1.58; }
  .dir-actions { align-items: stretch; flex-direction: column; gap: 8px; margin-top: 28px; }
  .dir-button { width: 100%; }
  .dir-actions .dir-button { flex: 0 0 auto; width: 100%; min-height: 50px; border-radius: var(--dir-radius); }
  .dir-actions .dir-text-link {
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 50px;
    padding: 0 18px;
    border: 1px solid rgba(255, 46, 136, .72);
    border-radius: var(--dir-radius);
    color: #f7f8ff;
    background: rgba(2, 6, 89, .62);
    font-size: 12px;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
  }
  .dir-actions .dir-text-link::after { font-size: 14px; }
  .dir-actions .dir-text-link:hover { border-color: #ff2e88; background: rgba(255, 46, 136, .14); transform: translateY(-2px); }
  .dir-hero-slide { flex-basis: 112vw; margin-right: -12vw; }
  .dir-hero-slide-shop { flex-basis: 94vw; }
  .dir-hero-slide img { filter: saturate(.76) brightness(.54) contrast(1.1); transform: scale(1.04); }
  .dir-hero-media {
    display: none;
    background: var(--dir-deep-night);
    -webkit-mask-image: radial-gradient(ellipse 78% 48% at 100% 0%, #000 0%, rgba(0, 0, 0, .92) 45%, rgba(0, 0, 0, .32) 72%, transparent 100%);
    mask-image: radial-gradient(ellipse 78% 48% at 100% 0%, #000 0%, rgba(0, 0, 0, .92) 45%, rgba(0, 0, 0, .32) 72%, transparent 100%);
  }
  .dir-hero-next { display: none; }
  .dir-hero-shade {
    z-index: 2;
    background:
      linear-gradient(rgba(72, 112, 255, .04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(72, 112, 255, .04) 1px, transparent 1px),
      linear-gradient(180deg, rgba(1, 3, 38, .4) 0%, rgba(1, 3, 38, .74) 43%, rgba(1, 3, 38, .97) 100%),
      linear-gradient(90deg, rgba(1, 3, 38, .95) 0%, rgba(1, 3, 38, .76) 58%, rgba(1, 3, 38, .26) 100%);
    background-size: var(--dir-grid-size) var(--dir-grid-size), var(--dir-grid-size) var(--dir-grid-size), auto, auto;
  }
  .dir-hero-planet {
    position: absolute;
    z-index: 3;
    top: -108px;
    right: -43vw;
    display: block;
    width: 148vw;
    max-width: none;
    height: auto;
    pointer-events: none;
    opacity: .72;
    filter: hue-rotate(305deg) saturate(1.08) drop-shadow(0 0 17px rgba(255, 46, 136, .34));
    transform: scaleX(-1);
  }
  .dir-hero-planet-wash {
    position: absolute;
    z-index: 3;
    inset: 0;
    display: block;
    pointer-events: none;
    background:
      linear-gradient(90deg, rgba(1, 3, 38, .76) 0%, rgba(1, 3, 38, .48) 42%, rgba(1, 3, 38, .08) 78%, transparent 100%),
      linear-gradient(180deg, rgba(1, 3, 38, .08) 18%, transparent 56%, rgba(1, 3, 38, .3) 100%);
  }
  .dir-hero-stage { z-index: 4; }
  .dir-manifesto,
  .dir-services,
  .dir-capabilities,
  .dir-sector-index,
  .dir-example-index,
  .dir-pricing { padding: 64px 0; }
  .dir-manifesto-grid,
  .dir-method-intro,
  .dir-capabilities-grid,
  .dir-cta-panel { grid-template-columns: 1fr; gap: 28px; }
  .dir-manifesto h2,
  .dir-section-head h2,
  .dir-method h2,
  .dir-capabilities h2,
  .dir-sector-index h2,
  .dir-example-index h2,
  .dir-pricing-head h2,
  .dir-cta h2 { font-size: 38px; }
  .dir-manifesto-grid p,
  .dir-method-intro p { font-size: 16px; }
  .dir-manifesto-grid small { display: none; }
  .dir-proof-strip {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 34px;
  }
  .dir-proof-strip > span { grid-column: auto; }
  .dir-proof-strip > div { gap: 14px 24px; }
  .dir-proof-strip .dir-text-link { justify-content: flex-start; }
  .dir-section-head,
  .dir-pricing-head { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .dir-section-head .dir-text-link,
  .dir-pricing-head .dir-text-link { justify-content: flex-start; }
  .dir-service-showcase { height: auto; min-height: 0; border-radius: var(--dir-radius); }
  .dir-service-rows { grid-template-rows: repeat(4, minmax(210px, 1fr)); }
  .dir-service-row,
  .dir-service-row:hover,
  .dir-service-row.active {
    grid-template-columns: 34px 1fr;
    gap: 12px;
    min-height: 210px;
    align-content: end;
    padding: 28px 22px;
  }
  .dir-service-row b { display: none; }
  .dir-service-row h3 { font-size: 22px; }
  .dir-method { padding-top: 68px; }
  .dir-method-intro { padding-bottom: 34px; }
  .dir-steps { grid-template-columns: 1fr; }
  .dir-steps article {
    min-height: 0;
    padding: 28px 24px 30px;
    opacity: var(--stack-opacity, 1);
    filter: blur(var(--stack-blur, 0));
    transform: translate3d(0, var(--stack-y, 0), 0) scale(var(--stack-scale, 1));
    transform-origin: center top;
    transition: opacity .12s linear, filter .12s linear, transform .12s linear;
  }
  .dir-steps h3 { margin: 36px 0 12px; font-size: 25px; }
  .dir-steps p { font-size: 14px; }
  .dir-capabilities-grid { gap: 38px; }
  .dir-capability-list { padding-left: 54px; }
  .dir-capability-list::before,
  .dir-capability-list::after { left: 21px; }
  .dir-capability-list article { min-height: 0; padding: 26px 16px 34px 24px; }
  .dir-capability-list .num { left: -54px; width: 44px; height: 44px; }
  .dir-index-rail > a { padding: 22px 14px 24px; font-size: 16px; }
  .dir-package-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 1fr;
    gap: 12px;
  }
  .dir-package,
  .dir-package:nth-child(2) { min-height: 0; padding: 27px 24px 30px; border-right: 1px solid rgba(67, 79, 185, .34); border-bottom: 1px solid rgba(67, 79, 185, .34); }
  .dir-package:last-child { border-bottom: 1px solid rgba(67, 79, 185, .34); }
  .dir-package > p { min-height: 0; }
  .dir-package > a { margin-top: 2px; }
  .dir-cta { padding: 52px 0 68px; }
  .dir-cta-panel { min-height: 0; padding: 36px 26px; border-radius: var(--dir-radius); }
}

@media (max-width: 420px) {
  .dir-hero h1 { font-size: 38px; }
  .dir-manifesto h2,
  .dir-section-head h2,
  .dir-method h2,
  .dir-capabilities h2,
  .dir-sector-index h2,
  .dir-example-index h2,
  .dir-pricing-head h2,
  .dir-cta h2 { font-size: 34px; }
}

@media (max-width: 420px) and (max-height: 720px) {
  .dir-hero { height: calc(100svh - 132px); min-height: 520px; }
  .dir-hero-copy { padding-top: 118px; }
  .dir-hero-kicker { margin-bottom: 16px; }
  .dir-hero h1 { font-size: 37px; }
  .dir-hero h1::after { margin-top: 16px; }
  .dir-hero-copy > p { margin-top: 16px; font-size: 13px; line-height: 1.5; }
  .dir-actions { margin-top: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .dir-scroll-rocket { display: none; }
  .dir-reveal { opacity: 1; transform: none; transition: none; }
  .dir-button,
  .dir-service-row,
  .dir-service-visual img { transition: none; }
  .dir-hero-track { transition: none !important; }
}
