.app-ready .fallback-shell {
  display: none;
}

.app-shell .h3 {
  font-size: 34px !important;
}

.app-shell .h2 {
  font-size: 34px !important;
}

section[id],
.rtg-section {
  scroll-margin-top: 108px;
}

.quick-nav {
  display: none !important;
}

@media (max-width: 820px) {
  .quick-nav {
    display: none !important;
  }

  .quick-nav a {
    text-align: center;
    padding: 10px 8px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    font: 600 11px/1 "Geist Mono", monospace;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(243, 240, 232, 0.72);
  }
}

@media (max-width: 480px) {
  .topbar {
    left: 14px;
    right: 14px;
    gap: 10px;
    padding: 10px 14px;
  }

  .topbar .brand {
    min-width: 0;
    gap: 10px;
  }

  .topbar .brand-name {
    max-width: 132px;
    font-size: 17px;
    line-height: 1;
    white-space: normal;
  }

  .topbar .top-cta,
  .topbar .btn,
  .topbar .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-height: 42px;
    padding: 12px 15px;
    white-space: nowrap;
    font-size: 9px;
    line-height: 1;
    letter-spacing: 0.1em;
  }
}

.hero-loader {
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.hero-loader.is-done {
  opacity: 0;
  visibility: hidden;
}

.hero-yellow-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  filter: contrast(1.18) saturate(1.25) brightness(1.12)
    drop-shadow(0 0 34px rgba(255, 106, 0, 0.38));
  transition: opacity 0.025s linear;
}

.hero-flash {
  --hero-flash: 0;
  --hero-scan: 100%;
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
  background:
    radial-gradient(circle at 14% 22%, rgba(248, 255, 196, calc(var(--hero-flash) * 0.2)) 0 0.9px, transparent 1.4px) 0 0 / 11px 11px,
    radial-gradient(circle at 78% 36%, rgba(255, 106, 0, calc(var(--hero-flash) * 0.26)) 0 1.1px, transparent 1.7px) 0 0 / 13px 13px,
    radial-gradient(circle at 42% 74%, rgba(255, 106, 0, calc(var(--hero-flash) * 0.2)) 0 0.8px, transparent 1.3px) 0 0 / 9px 9px,
    radial-gradient(circle at 63% 18%, rgba(243, 255, 184, calc(var(--hero-flash) * 0.18)) 0 0.7px, transparent 1.2px) 0 0 / 7px 7px,
    radial-gradient(circle at 24% 62%, rgba(255, 106, 0, calc(var(--hero-flash) * 0.14)) 0 0.75px, transparent 1.1px) 0 0 / 6px 6px,
    radial-gradient(circle at 86% 82%, rgba(255, 106, 0, calc(var(--hero-flash) * 0.12)) 0 0.65px, transparent 1px) 0 0 / 5px 5px,
    repeating-linear-gradient(180deg,
      rgba(255, 106, 0, calc(var(--hero-flash) * 0.08)) 0 1px,
      rgba(255, 106, 0, 0) 1px 3px),
    repeating-linear-gradient(90deg,
      rgba(255, 106, 0, calc(var(--hero-flash) * 0.03)) 0 1px,
      rgba(255, 106, 0, 0) 1px 4px),
    linear-gradient(180deg,
      rgba(255, 106, 0, calc(var(--hero-flash) * 0.18)),
      rgba(255, 106, 0, calc(var(--hero-flash) * 0.1)));
  background-blend-mode: screen, screen, screen, screen, screen, screen, normal, normal, normal;
  filter: brightness(1) saturate(1.08) contrast(1.02);
  will-change: background-position, filter, transform, opacity;
  animation:
    hero-grain-drift 1.45s steps(10, end) infinite,
    hero-grain-flicker 90ms steps(2, end) infinite;
  transition: opacity 0.02s linear;
}

@keyframes hero-grain-drift {
  0% {
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
    transform: translate3d(0, 0, 0) scale(1);
  }
  25% {
    background-position: 7px -5px, -9px 4px, 5px -8px, -4px 3px, 3px -4px, 5px 2px, 0 2px, 2px 0, 0 0;
    transform: translate3d(0.4%, -0.2%, 0) scale(1.012);
  }
  50% {
    background-position: -6px 6px, 8px -7px, -4px 5px, 4px -6px, -5px 4px, 6px -3px, 0 4px, -1px 0, 0 0;
    transform: translate3d(-0.3%, 0.15%, 0) scale(1.016);
  }
  75% {
    background-position: 10px 3px, -4px -9px, 8px 6px, -7px -4px, 4px 5px, -3px 6px, 0 1px, 1px 0, 0 0;
    transform: translate3d(0.2%, 0.3%, 0) scale(1.01);
  }
  100% {
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes hero-grain-flicker {
  0% {
    filter: brightness(0.88) saturate(0.98) contrast(1.01);
  }
  8% {
    filter: brightness(1.12) saturate(1.22) contrast(1.06);
  }
  17% {
    filter: brightness(0.95) saturate(1.06) contrast(1.02);
  }
  29% {
    filter: brightness(1.18) saturate(1.34) contrast(1.08);
  }
  43% {
    filter: brightness(0.9) saturate(1) contrast(0.99);
  }
  57% {
    filter: brightness(1.16) saturate(1.26) contrast(1.06);
  }
  71% {
    filter: brightness(0.92) saturate(1.04) contrast(1);
  }
  84% {
    filter: brightness(1.14) saturate(1.22) contrast(1.05);
  }
  100% {
    filter: brightness(0.98) saturate(1.12) contrast(1.02);
  }
}

.hero-canvas {
  z-index: 0;
}

#noise .noise-sticky {
  display: flex !important;
  align-items: center !important;
  padding-top: 0;
}

#noise .noise-grid {
  width: 100%;
  min-height: auto;
  align-items: center !important;
  padding-top: 72px;
  padding-bottom: 72px;
}

#noise .noise-copy-l .h1 {
  font-size: 42px !important;
}

#noise .noise-copy-l {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#noise .noise-stage {
  display: grid;
  grid-template-rows: auto auto;
  align-content: center !important;
  gap: 24px;
  height: 100%;
  min-height: 0;
  padding-top: 0 !important;
}

#noise .noise-stage .chip-cloud {
  position: relative;
  inset: auto;
  min-height: 220px;
  align-content: center !important;
  padding: 0;
}

.noise-stage .noise-callout {
  position: relative;
  left: auto;
  bottom: auto;
  transform: none;
  width: min(100%, 560px);
  margin-left: auto;
}

#contact .contact-meta {
  grid-template-columns: repeat(2, max-content);
  justify-content: start;
  gap: 28px;
}

#contact .contact-link-whatsapp {
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ff6a00;
  color: #0e0f10;
  display: inline-grid;
  place-items: center;
  box-shadow: 0 0 0 1px rgba(255, 106, 0, 0.12), 0 0 28px rgba(255, 106, 0, 0.26);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

#contact .contact-link-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255, 106, 0, 0.2), 0 0 36px rgba(255, 106, 0, 0.42);
}

#contact .whatsapp-icon {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
}

#contact .whatsapp-icon svg {
  width: 24px;
  height: 24px;
}

.svc-switch-section {
  background:
    linear-gradient(180deg, #f3f0e8 0%, #e8e4d8 100%);
  color: var(--ink-0);
  padding: 48px 0 56px;
  overflow: hidden;
}

.svc-switch-section .svc-head {
  display: block;
  max-width: none;
  margin-bottom: 28px;
}

.svc-switch-section .svc-head .h1 {
  font-size: 44px;
  line-height: 0.96;
  max-width: 12ch;
  text-align: left;
}

.svc-switch-section .svc-head .lead {
  margin-top: 14px;
  max-width: 56ch;
}

#services .svc-head {
  display: block;
  width: 100%;
  max-width: none;
  margin-bottom: 28px;
}

#services .svc-head .h1 {
  max-width: none;
  width: 100%;
}

#services .svc-head .lead {
  max-width: none;
  width: 100%;
}

.svc-switchboard {
  --mx: 50%;
  --my: 50%;
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(420px, 1.35fr);
  gap: 18px;
  min-height: 470px;
  isolation: isolate;
}

.svc-switchboard::before {
  content: "";
  position: absolute;
  inset: -60px;
  z-index: -1;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(255, 106, 0, 0.24), transparent 23%),
    repeating-linear-gradient(90deg, rgba(14, 15, 16, 0.045) 0 1px, transparent 1px 48px);
  opacity: 0.72;
  pointer-events: none;
}

.svc-index {
  position: relative;
  display: grid;
  align-content: stretch;
  gap: 6px;
  padding: 8px 0;
}

.svc-index-line {
  position: absolute;
  left: 31px;
  top: 28px;
  bottom: 28px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(14, 15, 16, 0.22), transparent);
}

.svc-switch-item {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 48px;
  padding: 9px 14px;
  border: 1px solid rgba(14, 15, 16, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.35);
  color: var(--ink-0);
  cursor: pointer;
  text-align: left;
  transition: background 0.24s ease, border-color 0.24s ease, transform 0.24s ease, color 0.24s ease;
}

.svc-switch-item::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 50%;
  width: 13px;
  height: 13px;
  border: 1px solid rgba(14, 15, 16, 0.22);
  border-radius: 50%;
  background: #f3f0e8;
  transform: translateY(-50%);
  transition: background 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.svc-switch-item:hover,
.svc-switch-item:focus-visible,
.svc-switch-item.is-active {
  background: var(--ink-0);
  border-color: var(--ink-0);
  color: var(--fg-0);
  transform: translateX(8px);
  outline: none;
}

.svc-switch-item.is-active::before {
  background: var(--lime);
  border-color: var(--lime);
  box-shadow: 0 0 18px rgba(255, 106, 0, 0.7);
}

.svc-switch-num,
.svc-switch-stat {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: currentColor;
  opacity: 0.62;
}

.svc-switch-title {
  font-size: 17px;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.svc-stage {
  position: sticky;
  top: 104px;
  min-height: 470px;
  border: 1px solid rgba(14, 15, 16, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(14, 15, 16, 0.96), rgba(14, 15, 16, 0.88)),
    var(--ink-0);
  box-shadow: 0 26px 90px rgba(14, 15, 16, 0.24);
}

.svc-stage-orbit,
.svc-stage-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.svc-stage-orbit {
  background:
    repeating-radial-gradient(circle at 78% 18%, transparent 0 38px, rgba(255, 106, 0, 0.08) 39px 40px),
    linear-gradient(90deg, rgba(255, 106, 0, 0.06), transparent 44%);
  animation: svcOrbit 12s linear infinite;
}

.svc-stage-scan {
  background: linear-gradient(180deg, transparent 0%, rgba(255, 106, 0, 0.16) 50%, transparent 100%);
  height: 160px;
  opacity: 0.55;
  transform: translateY(-170px);
  animation: svcScan 5.5s ease-in-out infinite;
}

.svc-detail-stack {
  position: relative;
  min-height: 470px;
}

.svc-detail-card {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: minmax(160px, 0.72fr) minmax(240px, 1fr);
  padding: 18px;
  color: var(--fg-0);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.98);
  transition: opacity 0.34s ease, transform 0.34s ease, visibility 0.34s ease;
}

.svc-detail-card.svc-bone,
.svc-detail-card.svc-lime,
.svc-detail-card.svc-dark {
  background: transparent;
  border: 0;
  color: var(--fg-0);
}

.svc-detail-card.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.svc-detail-art {
  min-height: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(243, 240, 232, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(243, 240, 232, 0.04);
  overflow: hidden;
}

.svc-detail-art .svc-svg,
.svc-detail-art .analytics-svg {
  width: min(90%, 520px);
  height: 100%;
  min-height: 156px;
}

.svc-detail-art .svc-svg-brand {
  color: rgba(243, 240, 232, 0.9) !important;
}

.svc-detail-copy {
  display: grid;
  align-content: end;
  gap: 12px;
  padding-top: 18px;
}

.svc-detail-top,
.svc-detail-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.svc-detail-chip {
  max-width: 220px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 106, 0, 0.34);
  border-radius: 999px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: right;
}

.svc-detail-title {
  font-size: 42px;
  line-height: 0.95;
  letter-spacing: 0;
  /* Match the blurb's column so service titles like "Lead Generation &
     Outreach" or "Tracking, Reports & ROI" can sit on a single line and
     use the full card width consistently with the paragraph below. */
  max-width: 62ch;
}

.svc-detail-blurb {
  max-width: 62ch;
  color: rgba(243, 240, 232, 0.72);
  font-size: 14px;
  line-height: 1.4;
}

.svc-detail-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 520px;
  list-style: none;
}

.svc-detail-points li {
  padding: 7px 10px;
  border: 1px solid rgba(243, 240, 232, 0.14);
  border-radius: 999px;
  color: rgba(243, 240, 232, 0.74);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.svc-detail-stat {
  display: grid;
  justify-items: end;
  gap: 4px;
  min-width: 112px;
  color: var(--lime);
}

.svc-detail-stat span {
  font-size: 32px;
  line-height: 0.9;
  letter-spacing: 0;
}

.svc-detail-stat small {
  color: rgba(243, 240, 232, 0.54);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: right;
}

.svc-switch-section .svc-grid {
  display: none;
}

@keyframes svcOrbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes svcScan {
  0%, 18% {
    transform: translateY(-170px);
  }
  58%, 100% {
    transform: translateY(650px);
  }
}

.svc-grid .svc-card {
  min-height: 404px;
  isolation: isolate;
  box-shadow: 0 18px 54px rgba(14, 15, 16, 0.08);
}

.svc-grid .svc-card.svc-bone[data-service="brand"],
.svc-grid .svc-card.svc-bone[data-service="local"],
.svc-grid .svc-card.svc-bone[data-service="ai"] {
  border: 1px solid rgba(14, 15, 16, 0.28);
}

.work-grid .work-card.work-bone {
  border: 1px solid rgba(14, 15, 16, 0.24);
}

#process {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 106, 0, 0.08), transparent 20%),
    linear-gradient(180deg, #f5f1e6 0%, #eee7d7 100%);
  color: var(--ink-0);
}

#process .proc-shell {
  height: 180vh;
  min-height: 180vh;
  padding: 0;
}

#process .proc-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 44px;
  padding-bottom: 36px;
}

#process .proc-head {
  max-width: 760px;
}

#process {
  overflow: hidden;
}

#process .proc-shell {
  position: relative;
  padding: 34px 0 58px;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 106, 0, 0.18), transparent 24%),
    radial-gradient(circle at 88% 84%, rgba(14, 15, 16, 0.06), transparent 26%),
    linear-gradient(180deg, #f3f0e8 0%, #e7e4d8 100%);
}

#process .proc-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 15, 16, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(14, 15, 16, 0.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 92%);
  opacity: 0.44;
  pointer-events: none;
}

#process .proc-sticky {
  position: relative;
  z-index: 1;
}

#process .proc-head {
  max-width: 760px;
}

#process .proc-head .lead {
  color: rgba(14, 15, 16, 0.62);
}

#process .proc-track {
  position: relative;
  width: 100%;
  margin-top: 22px;
  padding: 26px 26px 30px;
  border: 1px solid rgba(14, 15, 16, 0.08);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.46)),
    rgba(255, 255, 255, 0.38);
  box-shadow:
    0 28px 70px rgba(14, 15, 16, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
  overflow: hidden;
}

#process .proc-track::before {
  content: "";
  position: absolute;
  inset: -15% auto auto -8%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.18), transparent 68%);
  filter: blur(18px);
  pointer-events: none;
}

#process .proc-track::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 15, 16, 0.07), transparent 70%);
  pointer-events: none;
}

#process .proc-rail {
  position: relative;
  height: 4px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: rgba(14, 15, 16, 0.08);
  overflow: hidden;
}

#process .proc-rail-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #b5ff00 0%, #ff6a00 50%, #d8f4ff 100%);
  box-shadow:
    0 0 26px rgba(255, 106, 0, 0.45),
    0 0 44px rgba(212, 233, 255, 0.3);
}

#process .proc-grid {
  display: grid;
  gap: 14px;
}

#process .proc-card {
  --proc-on: 0;
  --proc-accent: #ff6a00;
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 8px;
  min-height: 240px;
  padding: 22px 22px 20px;
  border-radius: 24px;
  border: 1px solid rgba(14, 15, 16, calc(0.08 + var(--proc-on) * 0.1));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, calc(0.92 - var(--proc-on) * 0.06)), rgba(255, 255, 255, calc(0.64 + var(--proc-on) * 0.12))),
    linear-gradient(135deg, rgba(255, 106, 0, calc(0.04 + var(--proc-on) * 0.12)), transparent 44%),
    rgba(255, 255, 255, 0.34);
  box-shadow:
    0 16px 36px rgba(14, 15, 16, calc(0.04 + var(--proc-on) * 0.1)),
    0 0 calc(10px + var(--proc-on) * 24px) rgba(255, 106, 0, calc(var(--proc-on) * 0.16));
  opacity: calc(0.42 + var(--proc-on) * 0.58);
  transform: translateY(calc(18px - var(--proc-on) * 22px)) rotate(calc((0.5 - var(--proc-on)) * -1.2deg));
  transition: transform 0.36s ease, opacity 0.36s ease, box-shadow 0.36s ease, border-color 0.36s ease, background 0.36s ease;
  overflow: hidden;
}

#process .proc-card::before {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: radial-gradient(circle, rgba(255, 106, 0, calc(0.1 + var(--proc-on) * 0.28)), transparent 70%);
  filter: blur(3px);
  pointer-events: none;
}

#process .proc-card::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--proc-accent), rgba(14, 15, 16, 0.08), transparent);
  opacity: calc(0.28 + var(--proc-on) * 0.72);
  transform-origin: left center;
  transform: scaleX(calc(0.16 + var(--proc-on) * 0.84));
}

#process .proc-card.on {
  transform: translateY(-6px) rotate(0deg);
  opacity: 1;
}

#process .proc-card:nth-child(2),
#process .proc-card:nth-child(4) {
  --proc-accent: #d4e9ff;
}

#process .proc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

#process .proc-num {
  color: var(--proc-accent);
  font-size: 50px;
  line-height: 0.82;
  letter-spacing: -0.06em;
  text-shadow: 0 0 calc(var(--proc-on) * 22px) rgba(255, 106, 0, 0.22);
}

#process .proc-top .tiny {
  color: rgba(14, 15, 16, 0.42);
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(14, 15, 16, 0.04);
}

#process .proc-card .h3 {
  margin: 0 !important;
  font-size: 26px !important;
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: var(--ink-0);
}

#process .proc-card .lead {
  margin: 0 !important;
  max-width: 23ch;
  font-size: 12px !important;
  line-height: 1.42;
  color: rgba(14, 15, 16, 0.68) !important;
}

@media (min-width: 901px) {
  #process .proc-sticky {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 8px;
    padding-bottom: 16px;
  }

  #process .proc-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: end;
  }

  #process .proc-card:nth-child(1) {
    grid-column: span 3;
    min-height: 258px;
  }

  #process .proc-card:nth-child(2) {
    grid-column: span 2;
    min-height: 220px;
    transform: translateY(calc(46px - var(--proc-on) * 52px)) rotate(calc((0.5 - var(--proc-on)) * 1.2deg));
  }

  #process .proc-card:nth-child(3) {
    grid-column: span 2;
    min-height: 278px;
  }

  #process .proc-card:nth-child(4) {
    grid-column: span 2;
    min-height: 228px;
    transform: translateY(calc(58px - var(--proc-on) * 64px)) rotate(calc((0.5 - var(--proc-on)) * -1.1deg));
  }

  #process .proc-card:nth-child(5) {
    grid-column: span 3;
    min-height: 270px;
  }

  #process .proc-card.on:nth-child(2),
  #process .proc-card.on:nth-child(4) {
    transform: translateY(-8px) rotate(0deg);
  }

  /* Annotation fix: make all five process cards identical in width and height. */
  #process .proc-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
  }

  #process .proc-card,
  #process .proc-card.on {
    min-height: 258px;
    transform: none;
  }

  #process .proc-card:nth-child(1),
  #process .proc-card:nth-child(2),
  #process .proc-card:nth-child(3),
  #process .proc-card:nth-child(4),
  #process .proc-card:nth-child(5) {
    grid-column: span 1;
    min-height: 258px;
    transform: none;
  }
}

@media (max-width: 900px) {
  #process .proc-shell {
    padding: 18px 0 34px;
  }

  #process .proc-track {
    margin-top: 18px;
    padding: 18px;
    border-radius: 24px;
  }

  #process .proc-grid {
    grid-template-columns: 1fr;
  }

  #process .proc-card {
    min-height: 0;
    transform: none;
    opacity: 1;
  }

  #process .proc-card.on {
    transform: none;
  }
}

.svc-grid .svc-card.open,
.svc-grid .svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 72px rgba(14, 15, 16, 0.16);
}

.svc-grid .svc-card .svc-arr {
  transition: transform 0.24s ease, background 0.24s ease, color 0.24s ease;
}

.svc-grid .svc-card.open .svc-arr,
.svc-grid .svc-card:hover .svc-arr {
  transform: rotate(90deg);
}

.svc-grid .svc-card .svc-art {
  height: 178px;
  margin: 24px 0 22px;
  border: 1px solid rgba(14, 15, 16, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.svc-grid .svc-card[data-service="brand"] .svc-svg-brand,
.svc-grid .svc-card[data-service="seo"] .svc-svg-seo,
.svc-grid .svc-card[data-service="web"] .svc-svg-web,
.svc-grid .svc-card[data-service="social"] .svc-svg-social,
.svc-grid .svc-card[data-service="local"] .svc-svg-local,
.svc-grid .svc-card[data-service="ads"] .svc-svg-ads,
.svc-grid .svc-card[data-service="outreach"] .svc-svg-outreach,
.svc-grid .svc-card[data-service="ai"] .svc-svg-ai {
  width: 100%;
  height: 100%;
}

.svc-grid .svc-card[data-service="analytics"] {
  min-height: 244px;
  padding-bottom: 8px;
}

.svc-grid .svc-card[data-service="analytics"] .svc-art {
  height: 146px;
}

.svc-grid .svc-card[data-service="analytics"] .svc-title,
.svc-grid .svc-card[data-service="analytics"] .svc-blurb {
  margin-bottom: 0;
}

.svc-grid .svc-card.svc-lime .svc-svg text,
.svc-grid .svc-card.svc-lime .svc-svg path,
.svc-grid .svc-card.svc-lime .svc-svg line,
.svc-grid .svc-card.svc-lime .svc-svg circle,
.svc-grid .svc-card.svc-lime .svc-svg rect,
.svc-grid .svc-card.svc-lime .svc-svg polyline,
.svc-grid .svc-card.svc-lime .svc-svg polygon,
.svc-grid .svc-card.svc-lime .svc-svg ellipse {
  color: #0e0f10;
}

.bigtext-section {
  padding-bottom: 0;
}

.bigtext-head {
  font-size: clamp(34px, 4.4vw, 62px);
  margin-top: 88px;
}

/* Learn section / MWG cards — original tall-scroll structure */
.l-learn {
  margin: 0;
  padding-top: 1.1vw;
}

.l-circles {
  margin-top: 0;
}

.mwg_landing1 {
  text-align: center;
  margin: 180px 0 0;
  padding: 0 30px;
}

.mwg_landing1 .bletter {
  overflow: hidden;
  position: relative;
  display: inline-block;
  margin: -0.28em -0.05em -0.05em;
  padding: 0 0.05em 0.05em;
}

.mwg_landing1 .bletter span:first-child {
  display: inline-block;
  transform: translateY(102%);
}

.mwg-cards-wrap {
  height: 400vh;
  margin-top: -50vh;
  position: relative;
}

.mwg-cards-pin {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  position: relative;
}

.mwg-cards-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: nowrap;
  height: 100%;
  padding: 0 32px;
}

.mwg-card {
  flex: 0 0 360px;
  aspect-ratio: 0.86;
  border-radius: 14px;
  border: 1px solid #252525;
  background: #0d0d0d;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  will-change: transform;
  box-shadow: 0 20px 45px rgba(0,0,0,.18);
  transition: border-color .3s ease, transform .3s ease;
}

.mwg-card:hover {
  border-color: rgba(255,106,0,.38);
  transform: translateY(-6px);
}

.card-icon {
  margin-bottom: 20px;
}

.mwg-card-title {
  margin-bottom: 14px;
}

.mwg-card-body {
  font-size: 18px;
  line-height: 1.5;
  color: var(--fg-1);
}

/* Mobile: normal scrollable row */
@media (max-width: 768px) {
  .mwg-cards-wrap {
    height: auto;
    margin-top: 48px;
  }

  .mwg-cards-pin {
    height: auto;
    overflow-x: auto;
    overflow-y: visible;
    padding: 24px 0 40px;
    justify-content: flex-start;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .mwg-cards-container {
    padding: 0 24px;
    gap: 16px;
    align-items: stretch;
  }

  .mwg-card {
    flex: 0 0 300px;
    scroll-snap-align: center;
  }
}

.rtg-bottom-meta {
  display: none !important;
}

/* RTG section — sticky horizontal scroll (overrides base CSS) */
.rtg-section {
  position: relative;
  overflow: visible !important;
  background: #f1f0eb !important;
  min-height: clamp(170px, 18vw, 232px);
}

.rtg-sticky {
  position: sticky;
  top: 88px;
  height: clamp(170px, 18vw, 232px);
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #f1f0eb;
}

/* Override any base .rtg-text that sets white-space:normal at responsive breakpoints */
.rtg-text {
  white-space: nowrap !important;
  width: max-content !important;
  padding: 0 4vw !important;
  will-change: transform;
  color: #0e0f10;
  display: block !important;
}

/* Mobile: restore normal flow */
@media (max-width: 768px) {
  .rtg-section {
    min-height: auto;
    height: auto !important;
    padding: 80px 0 !important;
    background: #f1f0eb !important;
  }

  .rtg-sticky {
    position: relative;
    top: auto;
    height: auto;
    overflow: visible;
    padding: 0;
    align-items: flex-start;
  }

  .rtg-text {
    white-space: normal !important;
    width: 100% !important;
    padding: 0 24px !important;
    font-size: clamp(64px, 16vw, 100px) !important;
    line-height: 0.9;
  }
}

#method > .container > .h1 {
  font-size: clamp(44px, 5vw, 62px);
  max-width: 15.5ch;
}

.footer .brand.brand-lg {
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px !important;
  transform-origin: left center;
  line-height: 1 !important;
}

.footer .brand.brand-lg .star-mark {
  display: inline-block !important;
  flex: 0 0 auto;
  vertical-align: middle;
  /* Lock the rendered size of the star icon so it sits flush with the
     text baseline. The brand-name uses 22px font-size (line-height:1),
     so a 22px star reads as the same optical height. */
  width: 22px !important;
  height: 22px !important;
  --star-size: 22px !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

.footer .brand.brand-lg .brand-name {
  font-size: 22px;
  letter-spacing: -0.03em;
  line-height: 1 !important;
  color: var(--fg-0) !important;
  opacity: 1 !important;
  -webkit-text-fill-color: var(--fg-0) !important;
  display: inline-flex;
  align-items: center;
}

.footer .footer-brand-block {
  gap: 18px;
}

.footer .footer-offices {
  display: none !important;
}

.footer .footer-social a:nth-child(4) {
  display: none !important;
}

@media (max-width: 900px) {
  .noise-stage {
    padding-top: 0;
  }

  .svc-switch-section {
    padding: 58px 0 64px;
  }

  .svc-switch-section .svc-head,
  .svc-switchboard {
    grid-template-columns: 1fr;
  }

  .svc-switch-section .svc-head .h1 {
    font-size: 46px;
  }

  .svc-switchboard {
    min-height: 0;
  }

  .svc-index {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .svc-index-line {
    display: none;
  }

  .svc-switch-item {
    grid-template-columns: 42px minmax(0, 1fr) auto;
  }

  .svc-switch-item:hover,
  .svc-switch-item:focus-visible,
  .svc-switch-item.is-active {
    transform: none;
  }

  .svc-stage {
    position: relative;
    top: auto;
    min-height: 620px;
  }

  .svc-detail-card {
    grid-template-rows: 220px auto;
    padding: 18px;
  }

  .svc-detail-title {
    font-size: 42px;
  }

  .svc-detail-bottom,
  .svc-detail-top {
    flex-direction: column;
  }

  .svc-detail-stat {
    justify-items: start;
  }

  .svc-grid .svc-card,
  .svc-grid .svc-card[data-service="analytics"] {
    min-height: auto;
  }

  .mwg-cards-wrap,
  .rtg-section {
    height: auto;
    min-height: 0;
  }

  .rtg-container {
    position: relative;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* RTG section is implemented in /assets/rtg-mwg4.css and /assets/rtg-mwg4.js
   as a verbatim port of the supplied 08-ready-to-grow.html. */

/* =========================================================================
   Homepage contact form polish
   - Labels: bigger, bolder-but-light, tight letter-spacing
   - Placeholders: smaller, faded lime at 50% opacity
   ========================================================================= */
#contact .contact-form .field label.tiny,
#contact .contact-form .field > label {
  font-family: var(--mono, "Geist Mono", monospace);
  font-weight: 500 !important;
  font-size: 13px !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase;
  color: rgba(243, 240, 232, 0.85) !important;
  opacity: 1 !important;
  margin-bottom: 8px;
}

#contact .contact-form .field input,
#contact .contact-form .field textarea {
  font-size: 15px;
  color: var(--fg-0, #f3f0e8);
}

#contact .contact-form .field input::placeholder,
#contact .contact-form .field textarea::placeholder {
  color: var(--lime, #ff6a00);
  opacity: 0.5;
  font-size: 13px;
  font-family: var(--sans, "Inter Tight", sans-serif);
  font-weight: 400;
  letter-spacing: 0;
}
#contact .contact-form .field input::-webkit-input-placeholder,
#contact .contact-form .field textarea::-webkit-input-placeholder {
  color: var(--lime, #ff6a00);
  opacity: 0.5;
  font-size: 13px;
}
#contact .contact-form .field input::-moz-placeholder,
#contact .contact-form .field textarea::-moz-placeholder {
  color: var(--lime, #ff6a00);
  opacity: 0.5;
  font-size: 13px;
}

@media (max-width: 900px) {
  #contact .contact-form .field label.tiny,
  #contact .contact-form .field > label {
    font-size: 12px !important;
  }
  #contact .contact-form .field input::placeholder,
  #contact .contact-form .field textarea::placeholder {
    font-size: 12px;
  }
}

/* ---- a11y additions (added 2026-05-06) ---- */

/* Screen-reader only utility — used for visually-hidden form labels. */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Skip link — visible only when focused. The link element exists in every
   page already; this just ensures it becomes visible when keyboard-focused. */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
}
.skip-link:focus,
.skip-link:focus-visible {
  left: 12px;
  top: 12px;
  background: var(--lime, #ff6a00);
  color: var(--ink-0, #0e0f10);
  padding: 10px 14px;
  border-radius: 8px;
  font: 600 13px/1 var(--mono, "Geist Mono", monospace);
  text-decoration: none;
  box-shadow: 0 0 0 3px rgba(14, 15, 16, 0.5);
}

/* Pending placeholder social links — keep visual styling identical to other
   footer links but communicate pending status to assistive tech / hover. */
.footer-social a[data-social-pending]::after {
  content: "";
}

/* Slightly lift the muted helper-text colour so it clears WCAG AA at body sizes
   (was --fg-2 #75736d → 4.05:1 on --bg-0; new value is ~5.6:1). */
:root {
  --fg-2: #8d8c86;
}

/* The fixed bottom progress rail was reading as an unwanted bottom bar. */
.scroll-rail {
  display: none !important;
}

/* ─── #process: full-width heading + tighter gap above the cards ───
   The heading element is already container-width; the rendered text just
   wasn't filling it because .h1's clamp() tops out at 96px. Bump the upper
   bound so on a desktop viewport the text spans the full row of 5 cards.
   Also tighten the .proc-track margin so there's no blank gap under the
   subtitle. */
#process .h1 {
  font-size: clamp(44px, 11vw, 180px);
  letter-spacing: -0.04em;
  line-height: 0.94;
}
#process .lead {
  max-width: none;
  margin-top: 8px;
}
#process .proc-track {
  margin-top: 18px;
}
@media (max-width: 820px) {
  #process .h1 {
    font-size: clamp(40px, 12vw, 88px);
  }
  #process .proc-track {
    margin-top: 24px;
  }
}

/* ---- 2026-05-06 annotation fixes ---- */

.topbar .brand,
.topbar .brand-name {
  color: var(--fg-0) !important;
}

.topbar .brand-name {
  opacity: 1 !important;
  -webkit-text-fill-color: var(--fg-0) !important;
  text-shadow: 0 0 18px rgba(243, 240, 232, 0.18);
}

#noise .noise-copy-l .h1,
#noise .noise-callout .h3 {
  color: var(--fg-0) !important;
}

#method > .container > .h1 {
  color: var(--fg-0) !important;
  width: 100%;
  max-width: none;
}

#method .pillar-title {
  color: var(--fg-0) !important;
}

#process .proc-shell {
  height: 140vh;
  min-height: 140vh;
  padding: 11px 0 20px;
}

#process .proc-sticky {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
  text-align: center;
  padding-top: 12px;
  padding-bottom: 12px;
}

#process .proc-head {
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#process .proc-head .h1 {
  width: 100%;
  max-width: none;
  font-size: 46px !important;
  line-height: 0.9;
  letter-spacing: -0.045em;
}

#process .proc-head .h1 .italic-serif {
  display: block;
  width: 100%;
  margin-top: 0.04em;
  font-size: 46px;
  line-height: 0.96;
}

#process .proc-head .lead {
  max-width: none;
  text-align: center;
}

#process .proc-top {
  justify-content: flex-start;
}

#process .proc-top > .tiny {
  display: none !important;
}

#process .proc-track {
  width: 100%;
  margin-top: 12px;
}

.rtg-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: auto;
  padding: 88px 0;
}

.rtg-sticky {
  position: relative;
  top: auto;
  height: auto;
  justify-content: center;
  padding: 0;
  background: transparent;
}

.rtg-text {
  white-space: normal !important;
  width: min(100%, 14ch) !important;
  margin: 0 auto;
  padding: 0 32px !important;
  text-align: center;
  font-size: clamp(42px, 8vw, 110px) !important;
  line-height: 0.9;
}

#contact .contact-l .h-display,
#contact .contact-l .h-display .italic-serif {
  color: var(--fg-0) !important;
}

@media (max-width: 900px) {
  #process .proc-shell {
    height: auto !important;
    min-height: 0 !important;
    padding: 34px 0 42px;
  }

  #process .proc-sticky {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    min-height: 0 !important;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  #process .proc-head .h1 {
    font-size: 46px !important;
  }

  #process,
  #process .proc-track {
    overflow: visible !important;
  }

  #process .proc-track {
    height: auto !important;
  }

  .rtg-section {
    padding: 64px 0;
  }

  .rtg-text {
    width: 100% !important;
    padding: 0 24px !important;
    font-size: clamp(40px, 12vw, 72px) !important;
  }
}

@media (max-width: 640px) {
  section[id],
  .rtg-section {
    scroll-margin-top: 92px;
  }

  #process {
    overflow: visible !important;
  }

  #process .proc-shell {
    height: auto !important;
    min-height: 0 !important;
  }

  #process .proc-sticky {
    height: auto !important;
    align-items: stretch;
  }

  #process .proc-head {
    padding: 0 24px;
  }

  #process .proc-head .h1,
  #process .proc-head .h1 .italic-serif {
    font-size: clamp(38px, 12vw, 46px) !important;
  }

  #process .proc-track {
    width: calc(100% - 32px);
    margin: 18px auto 0;
    overflow: visible !important;
  }

  #process .proc-grid {
    gap: 16px;
  }

  #process .proc-card,
  #process .proc-card.on {
    width: 100%;
    min-height: auto !important;
    padding: 24px 22px 28px;
    transform: none !important;
    opacity: 1;
  }

  #contact .contact-wrap {
    width: 100%;
    max-width: 100%;
    gap: 30px;
  }

  #contact .contact-form {
    width: 100%;
    max-width: 100%;
    padding: clamp(22px, 6vw, 28px) clamp(18px, 5vw, 24px);
    border-radius: 28px;
  }

  #contact .field input,
  #contact .field textarea {
    min-width: 0;
    width: 100%;
    font-size: clamp(16px, 4.8vw, 18px);
    line-height: 1.35;
  }

  #contact .field textarea {
    min-height: clamp(128px, 34vh, 190px);
    overflow: auto;
  }

  #contact .contact-submit {
    align-self: stretch;
    justify-content: center;
  }
}

/* ─── Title width = description width on service & tool pages ──────────────
   The hero-title had max-width:11ch and cp-h1 had max-width:18ch, making
   them narrower than the paragraph/lead text below. Remove that cap so the
   title fills the same column width as the description copy beneath it.    */
.services-shell .hero-title {
  max-width: none;
}

.cp-h1 {
  max-width: none;
}
