/* ==========================================================
   Better Automations — Styles
   Adapted from StudioBetter design system
   Primary: Green (#16a34a)
   Font: Manrope
   ========================================================== */

/* ---------- Font Import ---------- */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  --color-brand-green: #16a34a;
  --color-brand-green-light: #34c465;
  --color-brand-green-gradient: #5fd98c;
  --color-brand-black: #020403;
  --color-off-white: #f7f7f7;
  --color-white: #ffffff;
  --color-neutral-lightest: #eeeeee;
  --color-neutral-lighter: #cccccc;
  --color-neutral-light: #aaaaaa;
  --color-neutral: #666666;
  --color-neutral-dark: #444444;
  --color-neutral-darker: #222222;
  --font-body: 'Manrope', sans-serif;
  --font-mono: 'SF Mono', 'Cascadia Code', Menlo, Consolas, 'Courier New', monospace;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-off-white);
  font-family: var(--font-body);
  color: #000;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 600;
}

h1 {
  letter-spacing: -0.025em;
  font-size: 3.5rem;
  line-height: 1.1;
}

h2 {
  letter-spacing: -0.025em;
  font-size: 3rem;
  line-height: 1.2;
}

h3 {
  letter-spacing: -0.015em;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
}

h4 {
  letter-spacing: -0.015em;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
}

p {
  margin-bottom: 0;
}

a {
  color: var(--color-brand-green);
  text-decoration: none;
}

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

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- Layout ---------- */
.padding-global {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.container-large {
  width: 100%;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Text Utilities ---------- */
.text-size-tiny {
  letter-spacing: -0.015em;
  font-size: 0.75rem;
  line-height: 1.4;
}

.text-size-small {
  letter-spacing: -0.015em;
  font-size: 0.875rem;
  line-height: 1.4;
}

.text-size-regular {
  letter-spacing: -0.015em;
  font-size: 1rem;
  line-height: 1.4;
}

.text-size-medium {
  letter-spacing: -0.015em;
  font-size: 1.125rem;
  line-height: 1.4;
}

.text-size-large {
  letter-spacing: -0.015em;
  font-size: 1.25rem;
  line-height: 1.4;
}

.text-color-gradient {
  background: linear-gradient(135deg, var(--color-brand-green), var(--color-brand-green-gradient));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-size-tiny-alternative {
  font-size: 0.75rem;
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}

.text-size-medium-alternative {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-neutral);
}

/* ==========================================================
   NAVIGATION
   ========================================================== */
.nav_component {
  background-color: var(--color-off-white);
  width: 100%;
  padding-top: 1rem;
  padding-bottom: 1rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav_component.scrolled {
  background-color: rgba(247, 247, 247, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.nav_container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
}

.nav_brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 0.5rem;
}

.nav_logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-brand-black);
  letter-spacing: -0.02em;
}

.nav_logo-text span {
  color: var(--color-brand-green);
}

.nav_menu-desktop {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.nav_menu_link {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: #0a0a0a;
  font-size: 0.875rem;
  font-weight: 500;
  padding-bottom: 2px;
}

.nav_menu_link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-brand-black);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease-in-out;
}

.nav_menu_link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Services dropdown */
.nav_dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav_dropdown-trigger {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0 0 2px;
}

.nav_dropdown-caret {
  transition: transform 0.25s ease;
}

.nav_dropdown:hover .nav_dropdown-caret,
.nav_dropdown:focus-within .nav_dropdown-caret {
  transform: rotate(180deg);
}

.nav_dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  margin-top: 0.85rem;
  min-width: 15rem;
  padding: 0.5rem;
  background: var(--color-white);
  border: 1px solid var(--color-neutral-lightest);
  border-radius: 0.85rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 60;
}

/* transparent bridge so the menu stays open crossing the gap */
.nav_dropdown-menu::before {
  content: "";
  position: absolute;
  top: -0.85rem;
  left: 0;
  right: 0;
  height: 0.85rem;
}

.nav_dropdown:hover .nav_dropdown-menu,
.nav_dropdown:focus-within .nav_dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav_dropdown-link {
  display: block;
  padding: 0.7rem 0.85rem;
  border-radius: 0.55rem;
  text-decoration: none;
  color: var(--color-brand-black);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav_dropdown-link:hover {
  background: var(--color-off-white);
  color: var(--color-brand-green);
}

.nav_mobile-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-neutral-light);
  margin-bottom: 0.25rem;
}

.nav_cta-wrapper {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Mobile Nav */
.nav_mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}

.nav_mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-brand-black);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav_mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav_mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav_mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav_menu-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-off-white);
  z-index: 999;
  padding: 6rem 2.5rem 2rem;
  flex-direction: column;
  gap: 2rem;
}

.nav_menu-mobile.open {
  display: flex;
}

.nav_menu-mobile .nav_menu_link {
  font-size: 1.5rem;
  font-weight: 600;
}

/* ==========================================================
   BUTTONS
   ========================================================== */
.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #fff;
  text-align: center;
  background-color: var(--color-brand-green);
  border: none;
  border-radius: 73.4556rem;
  padding: 0.9375rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-body);
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.button-primary:hover {
  background-color: #15803d;
  transform: translateY(-1px);
}

.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--color-brand-green);
  text-align: center;
  background-color: transparent;
  border: 1.5px solid var(--color-brand-green);
  border-radius: 73.4556rem;
  padding: 0.9375rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-body);
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.button-secondary:hover {
  background-color: var(--color-brand-green);
  color: #fff;
  transform: translateY(-1px);
}

.button-quaternary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-brand-black);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.625rem 1.25rem;
  border: 1.5px solid var(--color-brand-black);
  border-radius: 73.4556rem;
  transition: all 0.3s ease;
}

.button-quaternary:hover {
  background-color: var(--color-brand-black);
  color: #fff;
}

.button-quaternary .btn-arrow {
  display: inline-flex;
  transition: transform 0.3s ease;
}

.button-quaternary:hover .btn-arrow {
  transform: translateX(3px);
}

.button-transparent {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-brand-black);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--color-brand-black);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.button-transparent:hover {
  color: var(--color-brand-green);
  border-color: var(--color-brand-green);
}

/* ==========================================================
   HERO SECTION
   ========================================================== */
.section-hero {
  position: relative;
  padding-top: 10rem;
  padding-bottom: 6rem;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-comp {
  position: relative;
  z-index: 2;
  max-width: 48rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-white);
  border: 1px solid var(--color-neutral-lightest);
  border-radius: 73.4556rem;
  padding: 0.375rem 0.875rem;
  margin-bottom: 1.5rem;
}

.hero-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-brand-green);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  margin-bottom: 1.5rem;
}

/* Hero headline is an <h2> for semantics (the pill is the H1), sized as the hero */
.hero-subtitle {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

.hero-subtitle .text-color-gradient {
  font-weight: 600;
}

.hero-info {
  margin-bottom: 2.5rem;
}

.hero-info .text-size-large {
  color: var(--color-neutral);
  max-width: 36rem;
}

.hero-btn-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  right: -5%;
  bottom: 0;
  width: 55%;
  z-index: 1;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(22, 163, 74, 0.08) 0%, transparent 70%);
}

.hero-bg-dots {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  height: 400px;
  background-image: radial-gradient(circle, var(--color-neutral-lighter) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.4;
}

/* ==========================================================
   PROBLEM SECTION
   ========================================================== */
.section-problem {
  padding: 6.25rem 0 5rem;
}

.problem-comp {
  max-width: 52rem;
  margin: 0 auto;
  text-align: center;
}

.problem-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.problem-content .text-size-large {
  color: var(--color-neutral);
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.6;
}

/* ==========================================================
   MARQUEE / LOGO STRIP
   ========================================================== */
.section-marquee {
  padding: 3rem 0;
  overflow: hidden;
}

.marquee-container {
  position: relative;
  -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%);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-item {
  flex-shrink: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-neutral-light);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.marquee-separator {
  color: var(--color-neutral-lighter);
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ==========================================================
   HOW IT WORKS
   ========================================================== */
.section-how-it-works {
  padding: 6.25rem 0 5rem;
}

.how-it-works-comp {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.how-it-works-top {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 42rem;
}

/* Snake timeline */
.snake-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  perspective: 900px;
}

/* Continuous scroll-drawn snake path */
.snake-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 0;
}

.snake-path-bg {
  stroke: rgba(22, 163, 74, 0.22);
  stroke-width: 2.5;
  stroke-dasharray: 6 8;
  fill: none;
  animation: snake-flow 0.9s linear infinite;   /* the guide keeps flowing */
}

@keyframes snake-flow {
  to { stroke-dashoffset: -14; }
}

.snake-path-draw {
  stroke: var(--color-brand-green);
  stroke-width: 3.5;
  stroke-linecap: round;
  fill: none;
  filter: drop-shadow(0 1px 4px rgba(22, 163, 74, 0.45));   /* lit snake */
}

.snake-head {
  fill: var(--color-brand-green);
  stroke: rgba(22, 163, 74, 0.22);
  stroke-width: 11;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.snake-head.is-active {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .snake-path-bg { animation: none; }
}

.snake-row {
  position: relative;
  z-index: 1;
  display: flex;
}

.snake-row-left {
  justify-content: flex-start;
}

.snake-row-right {
  justify-content: flex-end;
}

/* Card styling — 3D depth */
.snake-card {
  position: relative;
  width: 56%;
}

.snake-card-inner {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-neutral-lightest);
  border-radius: 1rem;
  padding: 2.5rem 2rem 2rem;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 4px 12px rgba(0, 0, 0, 0.04),
    0 12px 32px rgba(0, 0, 0, 0.03);
}

.snake-row-left .snake-card-inner {
  transform: rotateY(1.5deg);
  transform-origin: right center;
}

.snake-row-right .snake-card-inner {
  transform: rotateY(-1.5deg);
  transform-origin: left center;
}

.snake-card-inner:hover {
  transform: rotateY(0deg) translateY(-6px);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.04),
    0 8px 24px rgba(22, 163, 74, 0.08),
    0 20px 48px rgba(0, 0, 0, 0.06);
}

/* Decorative bottom edge for 3D effect */
.snake-card-inner::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 8px;
  right: 8px;
  height: 6px;
  background: linear-gradient(to bottom, var(--color-neutral-lightest), transparent);
  border-radius: 0 0 0.75rem 0.75rem;
  opacity: 0.6;
  transition: opacity 0.4s ease;
}

.snake-card-inner:hover::after {
  opacity: 0;
}

/* Step number */
.snake-number {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-brand-green);
  background: rgba(22, 163, 74, 0.08);
  padding: 0.3rem 0.75rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
}

.snake-card-inner h3 {
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.35;
  margin-bottom: 0.6rem;
}

.snake-card-inner p {
  color: var(--color-neutral);
  line-height: 1.65;
  font-size: 0.95rem;
}

/* Legacy grid steps (kept for reuse) */
.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-neutral-lightest);
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: rgba(22, 163, 74, 0.08);
  color: var(--color-brand-green);
  font-weight: 700;
  font-size: 1.125rem;
}

.step-card h3 {
  font-weight: 600;
}

.step-card p {
  color: var(--color-neutral);
  line-height: 1.6;
}

/* ==========================================================
   WHY WOULD AGENCIES DO THAT
   ========================================================== */
.section-why-agencies {
  padding: 6.25rem 0 5rem;
  background-color: var(--color-white);
}

.why-agencies-comp {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.why-agencies-top {
  max-width: 36rem;
}

.why-agencies-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.why-agencies-card {
  background-color: var(--color-off-white);
  border: 1px solid var(--color-neutral-lightest);
  border-radius: 1.25rem;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 4px 12px rgba(0, 0, 0, 0.04),
    0 12px 32px rgba(0, 0, 0, 0.03);
}

.why-agencies-card::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 8px;
  right: 8px;
  height: 6px;
  background: linear-gradient(to bottom, var(--color-neutral-lightest), transparent);
  border-radius: 0 0 0.75rem 0.75rem;
  opacity: 0.6;
  transition: opacity 0.4s ease;
}

.why-agencies-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.04),
    0 8px 24px rgba(22, 163, 74, 0.08),
    0 20px 48px rgba(0, 0, 0, 0.06);
}

.why-agencies-card:hover::after {
  opacity: 0;
}

.why-agencies-card.is-dark {
  background-color: rgba(22, 163, 74, 0.04);
  border-color: rgba(22, 163, 74, 0.15);
}

.why-agencies-card-tag {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-brand-green);
  background-color: rgba(22, 163, 74, 0.08);
  padding: 0.375rem 0.875rem;
  border-radius: 73.4556rem;
}

.why-agencies-card-tag.is-dark-tag {
  color: var(--color-brand-green);
  background-color: rgba(22, 163, 74, 0.08);
}

.why-agencies-card h3 {
  font-weight: 600;
  font-size: 1.375rem;
  line-height: 1.35;
}

.why-agencies-card p {
  color: var(--color-neutral);
  line-height: 1.6;
}

/* ==========================================================
   WHEN WOULD YOU REACH OUT
   ========================================================== */
.section-when-reach-out {
  padding: 6.25rem 0 5rem;
}

.when-comp {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.when-top {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 36rem;
}

.when-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.when-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-neutral-lightest);
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 4px 12px rgba(0, 0, 0, 0.04),
    0 12px 32px rgba(0, 0, 0, 0.03);
}

.when-card::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 8px;
  right: 8px;
  height: 6px;
  background: linear-gradient(to bottom, var(--color-neutral-lightest), transparent);
  border-radius: 0 0 0.75rem 0.75rem;
  opacity: 0.6;
  transition: opacity 0.4s ease;
}

.when-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.04),
    0 8px 24px rgba(22, 163, 74, 0.08),
    0 20px 48px rgba(0, 0, 0, 0.06);
}

.when-card:hover::after {
  opacity: 0;
}

.when-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background-color: rgba(22, 163, 74, 0.08);
}

.when-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-brand-green);
}

.when-card h3 {
  font-weight: 600;
  font-size: 1.125rem;
}

.when-card p {
  color: var(--color-neutral);
  line-height: 1.6;
}

/* ==========================================================
   SERVICES
   ========================================================== */
.section-services {
  padding: 6.25rem 0 5rem;
  background-color: var(--color-white);
}

.services-comp {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.services-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}

.services-top-lf {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 36rem;
}

.services-top .text-size-tiny-alternative {
  color: var(--color-brand-green);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 1.5rem;
  perspective: 800px;
}

/* Feature cards span 2 cols on row 1 */
.service-card.is-featured {
  grid-column: span 2;
}

.service-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-neutral-lightest);
  border-radius: 1rem;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 4px 12px rgba(0, 0, 0, 0.04),
    0 12px 32px rgba(0, 0, 0, 0.03);
  transform: rotateX(1deg);
  transform-origin: bottom center;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 8px;
  right: 8px;
  height: 6px;
  background: linear-gradient(to bottom, var(--color-neutral-lightest), transparent);
  border-radius: 0 0 0.75rem 0.75rem;
  opacity: 0.6;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  transform: rotateX(0deg) translateY(-6px);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.04),
    0 8px 24px rgba(22, 163, 74, 0.08),
    0 20px 48px rgba(0, 0, 0, 0.06);
}

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

/* Featured card accent stripe */
.service-card.is-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 3px;
  background: linear-gradient(90deg, var(--color-brand-green), var(--color-brand-green-gradient));
  border-radius: 0 0 2px 2px;
}

.service-card-head {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.service-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background-color: rgba(22, 163, 74, 0.08);
  flex-shrink: 0;
}

.service-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  color: var(--color-brand-green);
}

.service-card h3 {
  font-weight: 600;
  font-size: 1.1rem;
}

.service-card p {
  color: var(--color-neutral);
  line-height: 1.6;
  font-size: 0.9rem;
}

/* ==========================================================
   WHY CHOOSE US
   ========================================================== */
.section-why-choose {
  padding: 6.25rem 0 5rem;
}

.why-choose-comp {
  display: flex;
  gap: 5rem;
  align-items: flex-start;
}

.why-choose-lf {
  flex: 0 0 40%;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  position: sticky;
  top: 6rem;
}

.why-choose-lf-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.why-choose-rt {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.why-choose-card {
  padding: 2rem 0;
  border-bottom: 1px solid var(--color-neutral-lightest);
}

.why-choose-card:first-child {
  padding-top: 0;
}

.why-choose-card-wrap {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.why-choose-icon-wrapper {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background-color: rgba(22, 163, 74, 0.08);
}

.why-choose-icon-wrapper svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-brand-green);
}

.why-choose-card-rt {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.why-choose-card-rt h3 {
  font-weight: 600;
  font-size: 1.25rem;
}

.why-choose-card-rt p {
  color: var(--color-neutral);
  line-height: 1.6;
}

/* ==========================================================
   TESTIMONIALS
   ========================================================== */
.section-testimonials {
  padding: 6.25rem 0 5rem;
  background-color: var(--color-white);
}

.testimonials-comp {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.testimonials-top {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background-color: var(--color-off-white);
  border: 1px solid var(--color-neutral-lightest);
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 4px 12px rgba(0, 0, 0, 0.04),
    0 12px 32px rgba(0, 0, 0, 0.03);
}

.testimonial-card::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 8px;
  right: 8px;
  height: 6px;
  background: linear-gradient(to bottom, var(--color-neutral-lightest), transparent);
  border-radius: 0 0 0.75rem 0.75rem;
  opacity: 0.6;
  transition: opacity 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.04),
    0 8px 24px rgba(22, 163, 74, 0.08),
    0 20px 48px rgba(0, 0, 0, 0.06);
}

.testimonial-card:hover::after {
  opacity: 0;
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
}

.testimonial-stars svg {
  width: 1rem;
  height: 1rem;
  color: #f59e0b;
  fill: #f59e0b;
}

.testimonial-card blockquote {
  border: none;
  padding: 0;
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-neutral-dark);
  flex: 1;
}

.testimonial-client {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--color-brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
}

.testimonial-client-info {
  display: flex;
  flex-direction: column;
}

.testimonial-client-name {
  font-weight: 600;
  font-size: 0.875rem;
}

.testimonial-client-role {
  font-size: 0.8125rem;
  color: var(--color-neutral);
}

/* ==========================================================
   CTA / CONTACT
   ========================================================== */
.section-contact {
  padding: 6.25rem 0;
}

.contact-comp {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.contact-lf {
  flex: 0 0 40%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-lf h2 {
  font-size: 3rem;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-list-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.contact-list-item svg {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-brand-green);
  margin-top: 0.125rem;
}

.contact-list-item .text-size-regular {
  color: var(--color-neutral);
}

.contact-rt {
  flex: 1;
  position: relative;
}

.contact-form-wrapper {
  background-color: var(--color-white);
  border: 1px solid var(--color-neutral-lightest);
  border-radius: 1.25rem;
  padding: 2.5rem;
  position: relative;
  z-index: 2;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #000;
}

.form-input {
  background-color: #f6f6f6;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  min-height: 3rem;
  padding: 0.75rem;
  font-size: 1rem;
  font-family: var(--font-body);
  transition: border-color 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-brand-green);
}

.form-input::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.form-select {
  background-color: #f6f6f6;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  min-height: 3rem;
  padding: 0.75rem;
  font-size: 1rem;
  font-family: var(--font-body);
  color: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  transition: border-color 0.2s ease;
}

.form-select:focus {
  outline: none;
  border-color: var(--color-brand-green);
}

.form-textarea {
  background-color: #f6f6f6;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  min-height: 8rem;
  padding: 0.75rem;
  font-size: 1rem;
  font-family: var(--font-body);
  resize: vertical;
  transition: border-color 0.2s ease;
}

.form-textarea:focus {
  outline: none;
  border-color: var(--color-brand-green);
}

.form-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-checkbox-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.form-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.875rem;
}

.form-checkbox-input {
  width: 0.875rem;
  height: 0.875rem;
  border: 1px solid #000;
  border-radius: 0.125rem;
  appearance: none;
  cursor: pointer;
  position: relative;
}

.form-checkbox-input:checked {
  background-color: var(--color-brand-green);
  border-color: var(--color-brand-green);
}

.form-checkbox-input:checked::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 0px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-submit-btn {
  width: 100%;
}

.contact-dots {
  position: absolute;
  right: -1.5rem;
  bottom: -1.5rem;
  width: 200px;
  height: 200px;
  background-image: radial-gradient(circle, var(--color-neutral-lighter) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.5;
  z-index: 1;
}

/* ==========================================================
   FOOTER
   ========================================================== */
.section-footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--color-neutral-lightest);
}

.footer-comp {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 4rem;
}

.footer-top-lf {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 20rem;
}

.footer-logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-brand-black);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.footer-logo-text span {
  color: var(--color-brand-green);
}

.footer-info {
  font-size: 0.9375rem;
  color: var(--color-neutral);
  line-height: 1.6;
}

.footer-top-rt {
  display: flex;
  gap: 4rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: var(--color-neutral-dark);
  font-size: 0.9375rem;
}

.footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-brand-black);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease-in-out;
}

.footer-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer-btm {
  padding-top: 2rem;
  border-top: 1px solid var(--color-neutral-lightest);
  text-align: center;
}

.footer-btm p {
  font-size: 0.875rem;
  color: var(--color-neutral);
}

/* ==========================================================
   OUR AGENCIES / VETTING
   ========================================================== */
.section-our-agencies {
  padding: 6.25rem 0 5rem;
  background-color: var(--color-white);
}

.agencies-comp {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.agencies-top {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 36rem;
}

.vetting-section {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.vetting-title {
  font-size: 1.5rem;
  font-weight: 600;
}

.vetting-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.vetting-card {
  background-color: var(--color-off-white);
  border: 1px solid var(--color-neutral-lightest);
  border-radius: 1rem;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 4px 12px rgba(0, 0, 0, 0.04),
    0 12px 32px rgba(0, 0, 0, 0.03);
}

.vetting-card::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 8px;
  right: 8px;
  height: 6px;
  background: linear-gradient(to bottom, var(--color-neutral-lightest), transparent);
  border-radius: 0 0 0.75rem 0.75rem;
  opacity: 0.6;
  transition: opacity 0.4s ease;
}

.vetting-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.04),
    0 8px 24px rgba(22, 163, 74, 0.08),
    0 20px 48px rgba(0, 0, 0, 0.06);
}

.vetting-card:hover::after {
  opacity: 0;
}

.vetting-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background-color: rgba(22, 163, 74, 0.08);
}

.vetting-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-brand-green);
}

.vetting-card h4 {
  font-weight: 600;
  font-size: 1.125rem;
}

.vetting-card p {
  color: var(--color-neutral);
  line-height: 1.6;
  font-size: 0.9375rem;
}

/* Shit List */
.shitlist-section {
  background-color: var(--color-off-white);
  border: 1px solid var(--color-neutral-lightest);
  border-radius: 1.25rem;
  padding: 3.5rem;
  text-align: center;
}

.shitlist-content {
  max-width: 28rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.shitlist-content h3 {
  color: var(--color-brand-black);
  font-size: 1.75rem;
  font-weight: 700;
}

.shitlist-content p {
  color: var(--color-neutral);
  font-size: 1.0625rem;
}

.shitlist-form {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.shitlist-input {
  flex: 1;
  min-width: 0;
}

.shitlist-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

/* ==========================================================
   TEAM
   ========================================================== */
.section-team {
  padding: 6.25rem 0 5rem;
}

.team-comp {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.team-top {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 36rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-neutral-lightest);
  border-radius: 1.25rem;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 4px 12px rgba(0, 0, 0, 0.04),
    0 12px 32px rgba(0, 0, 0, 0.03);
}

.team-card::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 8px;
  right: 8px;
  height: 6px;
  background: linear-gradient(to bottom, var(--color-neutral-lightest), transparent);
  border-radius: 0 0 0.75rem 0.75rem;
  opacity: 0.6;
  transition: opacity 0.4s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.04),
    0 8px 24px rgba(22, 163, 74, 0.08),
    0 20px 48px rgba(0, 0, 0, 0.06);
}

.team-card:hover::after {
  opacity: 0;
}

.team-card-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: var(--color-brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
}

.team-card-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.team-card-info h3 {
  font-weight: 700;
  font-size: 1.375rem;
}

.team-creds {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
}

.team-creds li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--color-neutral);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.team-creds li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-brand-green);
}

/* ==========================================================
   FAQs
   ========================================================== */
.section-faqs {
  padding: 6.25rem 0 5rem;
  background-color: var(--color-white);
}

.faqs-comp {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.faqs-top {
  text-align: center;
}

.faqs-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--color-neutral-lightest);
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-brand-black);
  text-align: left;
  gap: 1rem;
}

.faq-trigger:hover {
  color: var(--color-brand-green);
}

.faq-chevron {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--color-neutral);
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 0;
}

.faq-item.is-open .faq-content {
  max-height: 12rem;
  padding-bottom: 1.5rem;
}

.faq-content p {
  color: var(--color-neutral);
  line-height: 1.6;
  font-size: 1rem;
}

/* ==========================================================
   SCROLL REVEAL
   ========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal.reveal-delay-1 { transition-delay: 0.1s; }
.reveal.reveal-delay-2 { transition-delay: 0.2s; }
.reveal.reveal-delay-3 { transition-delay: 0.3s; }
.reveal.reveal-delay-4 { transition-delay: 0.4s; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 991px) {
  .padding-global {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  h1 { font-size: 2.75rem; }
  h2 { font-size: 2.25rem; }

  .nav_menu-desktop { display: none; }
  .nav_cta-wrapper .button-quaternary { display: none; }
  .nav_mobile-toggle { display: flex; }

  .section-hero {
    padding-top: 8rem;
    padding-bottom: 4rem;
    min-height: auto;
  }

  .hero-bg { display: none; }
  .hero-comp { max-width: 100%; }

  .how-it-works-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .snake-timeline {
    perspective: none;
    gap: 1.5rem;
    padding-left: 1.5rem;
    border-left: 2px dashed rgba(22, 163, 74, 0.2);
  }

  .snake-svg {
    display: none;
  }

  .snake-row-left .snake-card,
  .snake-row-right .snake-card {
    width: 100%;
  }

  .snake-row-left .snake-card-inner,
  .snake-row-right .snake-card-inner {
    transform: none;
  }

  .why-agencies-grid {
    grid-template-columns: 1fr;
  }

  .when-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    perspective: none;
  }

  .service-card,
  .service-card.is-featured {
    grid-column: span 1;
    transform: none;
  }

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

  .vetting-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .why-choose-comp {
    flex-direction: column;
    gap: 3rem;
  }

  .why-choose-lf {
    position: static;
    flex: none;
    width: 100%;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-comp {
    flex-direction: column;
    gap: 3rem;
  }

  .contact-lf {
    flex: none;
    width: 100%;
  }

  .footer-top {
    flex-direction: column;
    gap: 2rem;
  }

  .shitlist-form {
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 2rem; }

  .section-hero {
    padding-top: 7rem;
    padding-bottom: 3rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card.is-featured {
    grid-column: span 1;
  }

  .vetting-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-top-rt {
    flex-direction: column;
    gap: 1.5rem;
  }

  .contact-lf h2 {
    font-size: 2.25rem;
  }

  .shitlist-section {
    padding: 2.5rem 1.5rem;
  }
}

@media (max-width: 479px) {
  .padding-global {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  h1 { font-size: 2rem; }

  .contact-form-wrapper {
    padding: 1.5rem;
  }

  .hero-btn-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-btn-wrapper .button-primary,
  .hero-btn-wrapper .button-transparent {
    justify-content: center;
  }
}

/* ==========================================================
   DYNAMIC ELEMENTS (21st.dev-inspired)
   ========================================================== */

/* ---------- Stats counter row ---------- */
.problem-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--color-neutral-lightest);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  text-align: center;
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, var(--color-brand-green), var(--color-brand-green-gradient));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--color-brand-green);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-neutral);
  line-height: 1.4;
}

/* ---------- Client logo marquee (dark band) ---------- */
.section-logos {
  background-color: var(--color-white);
  border-top: 1px solid var(--color-neutral-lightest);
  border-bottom: 1px solid var(--color-neutral-lightest);
  padding: 4rem 0;
  overflow: hidden;
}

.logos-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-neutral-light);
  margin-bottom: 2.5rem;
}

.logo-marquee-container {
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.logo-marquee-track {
  display: flex;
  align-items: center;
  gap: 6rem;
  width: max-content;
  padding: 0 3rem;
  animation: marquee-scroll 35s linear infinite;
  animation-direction: reverse;
}

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

.logo-marquee-track img {
  height: 1.875rem;
  width: auto;
  flex-shrink: 0;
  opacity: 1;
  transition: transform 0.3s ease;
}

.logo-marquee-track img:hover {
  transform: scale(1.06);
}

/* Text wordmarks (used until real logo images are supplied) */
.logo-marquee-track .logo-wordmark {
  flex-shrink: 0;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--color-neutral-dark);
  opacity: 0.55;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.logo-marquee-track .logo-wordmark:hover {
  opacity: 0.9;
  transform: scale(1.06);
}

@media (max-width: 767px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Cursor spotlight on cards ---------- */
.card-spotlight {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    300px circle at var(--mx, 50%) var(--my, 50%),
    rgba(22, 163, 74, 0.10),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.has-spotlight:hover .card-spotlight {
  opacity: 1;
}

/* ---------- CTA shimmer sweep ---------- */
.button-primary {
  position: relative;
  overflow: hidden;
}

.button-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  animation: btn-shine 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes btn-shine {
  0% { left: -150%; }
  45% { left: 150%; }
  100% { left: 150%; }
}

/* ---------- Testimonial photo avatars + Google badge ---------- */
.testimonial-avatar {
  overflow: hidden;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-neutral-lightest);
  border-radius: 73.4556rem;
  background-color: var(--color-off-white);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-neutral-dark);
}

.google-badge > img {
  height: 1.125rem;
  width: auto;
}

.google-badge-stars {
  display: flex;
  gap: 0.125rem;
}

.google-badge-stars img {
  width: 0.875rem;
  height: 0.875rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
  .problem-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
  }

  .stat-number {
    font-size: 2.25rem;
  }

  .logo-marquee-track {
    gap: 3.75rem;
  }

  .logo-marquee-track img {
    height: 1.5rem;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .logo-marquee-track,
  .marquee-track {
    animation: none;
  }

  .button-primary::after {
    display: none;
  }
}

/* ---------- Hero team facepile ---------- */
.hero-team {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.875rem;
  margin-top: 1.75rem;
}

.hero-team-avatars {
  display: flex;
}

.hero-team-avatars img {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.hero-team-avatars img + img {
  margin-left: -0.75rem;
}

.hero-team:hover .hero-team-avatars img:first-child {
  transform: translateX(-3px);
}

.hero-team:hover .hero-team-avatars img + img {
  transform: translateX(3px);
}

.hero-team .text-size-small {
  color: var(--color-neutral);
  font-weight: 500;
}

/* ---------- Founder card (Let's Talk) ---------- */
.founder-card {
  max-width: 19rem;
  background-color: var(--color-white);
  border: 1px solid var(--color-neutral-lightest);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 8px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.founder-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.04),
    0 16px 40px rgba(22, 163, 74, 0.10);
}

.founder-card-img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.founder-card-info {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.founder-card-tag {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--color-brand-green);
}

.founder-card-name {
  font-size: 1.125rem;
  font-weight: 700;
}

.founder-card-note {
  font-size: 0.875rem;
  color: var(--color-neutral);
  margin-top: 0.25rem;
}

.team-card-avatar {
  overflow: hidden;
}

.team-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

@media (max-width: 767px) {
  .hero-team {
    flex-direction: column;
    gap: 0.625rem;
  }

  .founder-card {
    max-width: 100%;
  }
}

/* ---------- Testimonials carousel ---------- */
.testimonial-carousel-wrap {
  position: relative;
}

.testimonials-carousel {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 0.25rem 1.5rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}

.testimonials-carousel::-webkit-scrollbar {
  display: none;
}

.testimonials-carousel.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.testimonials-carousel .testimonial-card {
  flex: 0 0 24rem;
  scroll-snap-align: start;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid var(--color-neutral-lightest);
  background-color: var(--color-white);
  color: var(--color-brand-black);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
  transition: background-color 0.3s ease, color 0.3s ease, opacity 0.3s ease, transform 0.2s ease;
}

.carousel-arrow svg {
  width: 1.125rem;
  height: 1.125rem;
}

.carousel-arrow:hover {
  background-color: var(--color-brand-green);
  color: #fff;
}

.carousel-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.carousel-arrow:disabled:hover {
  background-color: var(--color-white);
  color: var(--color-brand-black);
}

.carousel-prev {
  left: -1.25rem;
}

.carousel-next {
  right: -1.25rem;
}

@media (max-width: 767px) {
  .testimonials-carousel .testimonial-card {
    flex: 0 0 84vw;
  }

  .carousel-prev {
    left: -0.5rem;
  }

  .carousel-next {
    right: -0.5rem;
  }
}

/* ==========================================================
   Case Studies (Better Automations)
   ========================================================== */
.section-case-studies {
  padding: 7rem 0;
}

.case-studies-comp {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.case-studies-top {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 44rem;
}

.case-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.case-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2.5rem;
  border-radius: 1.25rem;
  background-color: var(--color-white);
  border: 1px solid var(--color-neutral-lightest);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(22, 163, 74, 0.35);
  box-shadow: 0 18px 40px -22px rgba(2, 4, 3, 0.25);
}

.case-card-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.case-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  background-color: rgba(22, 163, 74, 0.1);
  color: var(--color-brand-green);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.case-card h3 {
  font-size: 1.75rem;
  font-weight: 600;
}

.case-subtitle {
  color: var(--color-neutral);
  font-size: 0.9375rem;
}

.case-card > p {
  color: var(--color-neutral-dark);
  max-width: 46rem;
  line-height: 1.6;
}

.case-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding: 1.25rem 0 0.25rem;
}

.case-metric-value {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-brand-green);
  line-height: 1.1;
}

.case-metric-label {
  font-size: 0.75rem;
  color: var(--color-neutral);
  margin-top: 0.25rem;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.case-tag {
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  background-color: var(--color-off-white);
  border: 1px solid var(--color-neutral-lightest);
  color: var(--color-neutral-dark);
  font-size: 0.75rem;
  font-weight: 500;
}

@media (max-width: 767px) {
  .section-case-studies {
    padding: 4.5rem 0;
  }

  .case-card {
    padding: 1.75rem;
  }

  .case-metrics {
    gap: 1.5rem;
  }
}

/* Four-card variant for the marketing efficiency grid */
.when-grid.is-four {
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 991px) {
  .when-grid.is-four {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .when-grid.is-four {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   Multi-page additions
   ========================================================== */

/* Link button inside the vertical overview cards */
.why-agencies-card .card-link-btn {
  align-self: flex-start;
  margin-top: auto;
}

/* Subpage hero — shorter than the home hero */
.section-hero.is-subpage {
  padding: 9.5rem 0 5rem;
  min-height: 0;
}

/* Circular image bleeding off the right of a case-study hero, with a
   concentric dashed ring behind it */
.cs-hero-media {
  position: absolute;
  top: 0;
  right: clamp(-22rem, -16vw, -16rem);
  width: clamp(56rem, 62vw, 62rem);
  aspect-ratio: 1 / 1;
  z-index: 2;
}

/* Keep the hero tall enough that the enlarged circle stays fully round,
   then pull the first content section up so it overlaps the circle's base */
/* The circle is anchored to the top and larger than the hero, so the
   hero's overflow clips its bottom in a clean, level horizontal line. */
@media (min-width: 1280px) {
  .section-hero.is-subpage {
    min-height: 46rem;
  }
}

.cs-hero-media::before {
  content: '';
  position: absolute;
  inset: -1.75rem;
  border-radius: 50%;
  border: 2px dashed var(--color-neutral-lighter);
  z-index: 1;
}

.cs-hero-media img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background-color: var(--color-off-white);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.15);
}

/* Real screenshot hero — a rounded app card bleeding off the right,
   instead of the circle (a wide dashboard reads better as a rectangle) */
.cs-hero-media.is-photo {
  top: 50%;
  transform: translateY(-50%);
  right: clamp(-14rem, -10vw, -8rem);
  width: min(52rem, 60vw);
  aspect-ratio: 16 / 10;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--color-neutral-lightest);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.14),
    0 10px 30px rgba(0, 0, 0, 0.08);
}

.cs-hero-media.is-photo::before {
  content: '';
  position: absolute;
  inset: -1.5rem;
  border: 2px dashed var(--color-neutral-lighter);
  border-radius: 1.75rem;
  z-index: -1;
}

.cs-hero-media.is-photo img {
  border-radius: 0;
  object-position: left center;
  box-shadow: none;
}

@media (max-width: 1279px) {
  .cs-hero-media {
    display: none;
  }
}

/* CTA band for subpages */
.section-cta-band {
  padding: 3rem 0 7rem;
}

.cta-band {
  background-color: var(--color-brand-black);
  border-radius: 1.5rem;
  padding: 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.cta-band h2 {
  color: var(--color-white);
  max-width: 36rem;
}

.cta-band p {
  color: var(--color-neutral-lighter);
  max-width: 34rem;
  line-height: 1.6;
}

.cta-band .button-primary {
  margin-top: 0.75rem;
}

@media (max-width: 767px) {
  .section-hero.is-subpage {
    padding: 7.5rem 0 3.5rem;
  }

  .section-cta-band {
    padding: 1.5rem 0 4.5rem;
  }

  .cta-band {
    padding: 2.5rem 1.75rem;
  }
}

/* ==========================================================
   DYNAMIC LAYER — cursor, hero floaters, sticky stack,
   rolling buttons, split-text reveal
   ========================================================== */

/* ---- Custom cursor (Pineapple List style) ---- */
html.has-custom-cursor,
html.has-custom-cursor * {
  cursor: none !important;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  will-change: transform;
}

.cursor-dot {
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  background-color: var(--color-brand-green);
}

.cursor-ring {
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 1.5px solid rgba(22, 163, 74, 0.5);
  transition:
    width 0.25s ease, height 0.25s ease, margin 0.25s ease,
    background-color 0.25s ease, border-color 0.25s ease;
}

html.cursor-active .cursor-dot,
html.cursor-active .cursor-ring {
  opacity: 1;
}

html.cursor-hover .cursor-ring {
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  background-color: rgba(22, 163, 74, 0.08);
  border-color: rgba(22, 163, 74, 0.8);
}

/* ---- Hero floating chips & orbs ---- */
.hero-float {
  position: absolute;
  z-index: 1;
  will-change: transform;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.875rem;
  border-radius: 0.75rem;
  background-color: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-neutral-lightest);
  box-shadow: 0 14px 32px -14px rgba(2, 4, 3, 0.2);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-neutral-darker);
  white-space: nowrap;
  animation: float-bob var(--bob-dur, 7s) ease-in-out var(--bob-delay, 0s) infinite;
}

.hero-chip .chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-brand-green);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-chip .chip-emoji {
  font-size: 0.9375rem;
  line-height: 1;
}

.hero-orb {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 163, 74, 0.22) 0%, transparent 70%);
  filter: blur(28px);
  animation: float-bob var(--bob-dur, 9s) ease-in-out var(--bob-delay, 0s) infinite;
}

@keyframes float-bob {
  0%, 100% { transform: translateY(0) rotate(var(--bob-rot, 0deg)); }
  50% { transform: translateY(-16px) rotate(calc(var(--bob-rot, 0deg) * -1)); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-chip,
  .hero-orb {
    animation: none;
  }
}

/* ---- Sticky stacking case cards (Pineapple quote-card deck) ---- */
@media (min-width: 768px) {
  .case-grid {
    gap: 2.5rem;
  }

  .case-grid .case-card {
    position: sticky;
    box-shadow: 0 -12px 32px -20px rgba(2, 4, 3, 0.18), 0 24px 48px -28px rgba(2, 4, 3, 0.22);
  }

  .case-grid .case-card:nth-child(1) { top: 6.5rem; }
  .case-grid .case-card:nth-child(2) { top: 7.5rem; }
  .case-grid .case-card:nth-child(3) { top: 8.5rem; }
  .case-grid .case-card:nth-child(4) { top: 9.5rem; }
  .case-grid .case-card:nth-child(5) { top: 10.5rem; }
  .case-grid .case-card:nth-child(6) { top: 11.5rem; }
}

/* ---- Rolling button labels ---- */
.btn-roll {
  display: block;
  overflow: hidden;
  height: 1.2em;
}

.btn-roll-track {
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-roll-track > span {
  display: block;
  height: 1.2em;
  line-height: 1.2;
}

.button-primary:hover .btn-roll-track {
  transform: translateY(-1.2em);
}

@media (prefers-reduced-motion: reduce) {
  .button-primary:hover .btn-roll-track {
    transform: none;
  }
}

/* ---- Split-text hero reveal (Skill 01) ---- */
.split-outer {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.35em;
  margin-bottom: -0.35em;
}

.split-inner {
  display: inline-block;
  transform: translateY(115%) rotate(3deg);
  transform-origin: left bottom;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Gradient text uses -webkit-background-clip:text with a transparent fill, so
   glyphs are only visible where the gradient background paints. Extend the paint
   box below the baseline so descenders (e.g. the "g" in "doing") aren't cut off.
   Negative margin keeps the layout position unchanged. */
.hero-title .text-color-gradient {
  padding-bottom: 0.2em;
  margin-bottom: -0.2em;
}

[data-split].is-visible .split-inner {
  transform: translateY(0) rotate(0deg);
}

/* ==========================================================
   SUB-SERVICE OFFERINGS
   ========================================================== */
.subservice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.subservice-card {
  scroll-margin-top: 6.5rem;
}

.subservice-card h3 {
  font-size: 1.375rem;
}

.subservice-tagline {
  color: var(--color-brand-green);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.subservice-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

@media (max-width: 767px) {
  .subservice-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   PRICING TIERS (migration service page)
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  scroll-margin-top: 6.5rem;
}

.pricing-card.is-featured {
  border-color: rgba(22, 163, 74, 0.35);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.04),
    0 8px 24px rgba(22, 163, 74, 0.10),
    0 20px 48px rgba(0, 0, 0, 0.06);
}

.pricing-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-brand-green);
  background-color: rgba(22, 163, 74, 0.08);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
}

.pricing-name {
  font-size: 1.375rem;
  font-weight: 600;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin: 0.25rem 0 0;
}

.pricing-price .pricing-amount {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.pricing-price .pricing-unit {
  font-size: 0.9375rem;
  color: var(--color-neutral);
  font-weight: 500;
}

.pricing-summary {
  color: var(--color-neutral);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--color-neutral-darker);
}

.pricing-features li svg {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--color-brand-green);
}

.pricing-card .button-primary,
.pricing-card .button-transparent {
  margin-top: auto;
  text-align: center;
}

.pricing-note {
  text-align: center;
  color: var(--color-neutral);
  font-size: 0.9375rem;
  margin-top: 2rem;
}

@media (max-width: 767px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* Sub-service link lists on homepage main-service cards */
.svc-sublist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin: 0.25rem 0 0.75rem;
  padding: 0;
}

.svc-sublist a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.svc-sublist a::before {
  content: '\2192';
  color: var(--color-brand-green);
  font-weight: 700;
}

.svc-sublist a:hover {
  color: var(--color-brand-green);
}

.why-agencies-card.is-dark .svc-sublist a:hover {
  color: var(--color-brand-green-gradient);
}

/* In-copy text links (case study intros, contact hero) */
.case-studies-top p a,
.hero-info a {
  color: var(--color-brand-green);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.case-studies-top p a:hover,
.hero-info a:hover {
  color: var(--color-brand-green-light);
}

/* ==========================================================
   BORROWED FROM BETTER-AGENCIES — hero visual, chat,
   checklist, founder card (green palette)
   ========================================================== */

/* ---- Hero split layout with circular portrait ---- */
.hero-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.hero-visual {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: min(44rem, 46vw);
  aspect-ratio: 1;
  z-index: 2;
  animation: hero-visual-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.25s backwards;
  will-change: transform;
}

@keyframes hero-visual-enter {
  from { opacity: 0; transform: translateY(calc(-50% + 30px)); }
  to { opacity: 1; transform: translateY(-50%); }
}

/* Keep the hero copy above the escaping strands */
.hero-comp {
  position: relative;
  z-index: 3;
}

.hero-comp {
  will-change: transform;
}

@media (max-width: 991px) {
  .hero-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 3rem;
  }

  .hero-visual {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: min(20rem, 78vw);
    align-self: center;
    animation: none;
  }
}

@media (max-width: 767px) {
  .hero-visual .hero-float {
    display: none;
  }
}

/* ---- Chat bubbles ("Sound familiar?") ---- */
.when-top.is-centered {
  align-items: center;
  text-align: center;
  max-width: none;
  margin: 0 auto;
}

.when-chat {
  max-width: 46rem;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.chat-row {
  display: flex;
  align-items: flex-end;
  gap: 0.875rem;
}

.chat-row.chat-them {
  justify-content: flex-start;
  padding-right: 4rem;
}

.chat-row.chat-us {
  justify-content: flex-end;
  padding-left: 4rem;
}

.chat-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.chat-avatar-you {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-neutral-lightest);
  color: var(--color-neutral-dark);
  font-size: 0.75rem;
  font-weight: 700;
}

.chat-bubble {
  padding: 1.125rem 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.55;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.chat-them .chat-bubble {
  background-color: var(--color-off-white);
  border: 1px solid var(--color-neutral-lightest);
  border-radius: 1.25rem 1.25rem 1.25rem 0.25rem;
  color: var(--color-neutral-dark);
  font-weight: 500;
}

.chat-us .chat-bubble {
  background-color: var(--color-brand-green);
  border-radius: 1.25rem 1.25rem 0.25rem 1.25rem;
  color: #fff;
}

@media (max-width: 767px) {
  .chat-row.chat-them { padding-right: 1.5rem; }
  .chat-row.chat-us { padding-left: 1.5rem; }
}

/* ---- Build-standard checklist ---- */
.section-our-agencies {
  padding: 6.25rem 0 5rem;
  background-color: var(--color-white);
}

.agencies-comp {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.agencies-top {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 40rem;
}

.vetting-section {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.vetting-checklist {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 44rem;
}

.vetting-checklist::before {
  content: '';
  position: absolute;
  top: 1.25rem;
  bottom: 1.25rem;
  left: 1.24rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-brand-green) 0%, rgba(22, 163, 74, 0.15) 100%);
}

.vetting-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.vetting-step-marker {
  position: relative;
  z-index: 1;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--color-brand-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 5px var(--color-white);
}

.vetting-step-marker svg {
  width: 1.125rem;
  height: 1.125rem;
}

.vetting-step-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.25rem;
}

.vetting-step-head {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.vetting-step-num {
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--color-brand-green);
}

.vetting-step-head h4 {
  font-weight: 600;
  font-size: 1.1875rem;
}

.vetting-step p {
  color: var(--color-neutral);
  line-height: 1.6;
  font-size: 0.9375rem;
  max-width: 36rem;
}

.vetting-verdict {
  margin-top: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.vetting-verdict span {
  color: var(--color-brand-green);
}

/* ---- Founder section ---- */
.section-team {
  padding: 6.25rem 0 5rem;
}

.team-comp {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.team-top {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 36rem;
}

.team-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-neutral-lightest);
  border-radius: 1.25rem;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 4px 12px rgba(0, 0, 0, 0.04),
    0 12px 32px rgba(0, 0, 0, 0.03);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.04),
    0 8px 24px rgba(22, 163, 74, 0.08),
    0 20px 48px rgba(0, 0, 0, 0.06);
}

.team-card.is-solo {
  flex-direction: row;
  align-items: center;
  gap: 2.5rem;
  max-width: 52rem;
  padding: 2.5rem;
}

.team-card-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.team-card.is-solo .team-card-avatar {
  width: 11rem;
  height: 11rem;
}

.team-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.team-card-info h3 {
  font-weight: 700;
  font-size: 1.375rem;
}

.team-card-role {
  display: inline-block;
  align-self: flex-start;
  margin-top: -0.375rem;
  padding: 0.3rem 0.75rem;
  border-radius: 73.4556rem;
  background-color: rgba(22, 163, 74, 0.08);
  color: var(--color-brand-green);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.team-blurb {
  color: var(--color-neutral);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.team-card-info .button-transparent {
  align-self: flex-start;
}

@media (max-width: 767px) {
  .team-card.is-solo {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.75rem;
  }

  .team-card.is-solo .team-card-avatar {
    width: 8rem;
    height: 8rem;
  }

  .section-our-agencies,
  .section-team {
    padding: 4.5rem 0;
  }
}

/* ==========================================================
   WHY CALL US — retro meme cards (Pineapple List style)
   ========================================================== */
.section-why-call {
  padding: 6.25rem 0 5rem;
  background-color: var(--color-white);
}

.whycall-comp {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.whycall-top {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 44rem;
}

.whycall-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.meme-card {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  aspect-ratio: 4 / 3.2;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.06),
    0 24px 56px -20px rgba(2, 4, 3, 0.35);
}

.meme-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* darken the lower third so the caption always reads */
.meme-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.12) 0%, transparent 28%, transparent 48%, rgba(0, 0, 0, 0.72) 100%);
  pointer-events: none;
}

.meme-num {
  position: absolute;
  top: 1.1rem;
  left: 1.4rem;
  z-index: 2;
  font-family: 'Bradley Hand', 'Segoe Print', 'Comic Sans MS', cursive;
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-brand-green-gradient);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  transform: rotate(-7deg);
}

.meme-caption {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.4rem;
  z-index: 2;
  color: #fff;
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.whycall-cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.whycall-cta p {
  font-weight: 600;
}

@media (max-width: 767px) {
  .section-why-call {
    padding: 4.5rem 0;
  }

  .whycall-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 991px) {
  .whycall-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ---- Scroll-driven process: steps left, sticky gif right ---- */
.process-scroll {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.process-steps {
  display: flex;
  flex-direction: column;
}

.process-step {
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  max-width: 26rem;
  opacity: 0.3;
  transition: opacity 0.4s ease;
}

.process-step.is-active {
  opacity: 1;
}

.process-step h3 {
  font-size: 1.75rem;
  font-weight: 600;
}

.process-step p {
  color: var(--color-neutral);
  line-height: 1.65;
}

.process-media {
  position: sticky;
  top: calc(50vh - 14rem);
  height: auto;
}

.process-media-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.06),
    0 28px 64px -22px rgba(2, 4, 3, 0.4);
}

.process-media-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.process-media-frame video.is-active {
  opacity: 1;
  transform: scale(1);
}

/* ==========================================================
   ABSTRACT BRAND MOTIFS — replace the meme videos with calm,
   on-brand soft-green geometric fields (no literal imagery)
   ========================================================== */
.motif {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 50% 32%, rgba(22, 163, 74, 0.13), transparent 62%),
    linear-gradient(160deg, #f2f8f4 0%, #e8f3eb 100%);
}

/* concept line-art, centred in each motif */
.motif-art {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64%;
  height: 64%;
  color: #16a34a;
  overflow: visible;
}

/* small concept icon inside each snake-timeline step */
.snake-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(22, 163, 74, 0.09);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: #16a34a;
}

.snake-icon .motif-art {
  position: static;
  inset: auto;
  margin: 0;
  width: 62%;
  height: 62%;
  overflow: visible;
}

/* Meme cards -> clean motif cards (light card, soft motif, dark caption) */
.meme-card.is-motif {
  background: #ffffff;
  display: flex;
  flex-direction: column;
  aspect-ratio: 4 / 3.5;
}

.meme-card.is-motif::after { content: none; }   /* drop the dark video overlay */

.meme-card.is-motif .motif {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
}

.meme-card.is-motif .meme-num {
  top: 0.9rem;
  left: 1.2rem;
  font-family: inherit;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--color-brand-green);
  text-shadow: none;
  transform: none;
}

.meme-card.is-motif .meme-caption {
  position: static;
  inset: auto;
  padding: 1.1rem 1.4rem 1.35rem;
  color: var(--color-neutral-darker);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 600;
  text-shadow: none;
}

/* Process motif panel — fade the active one like the old videos */
.process-media-frame .motif {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.process-media-frame .motif.is-active {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 767px) {
  .process-scroll {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* media sticks to the top while the steps scroll beneath it */
  .process-media {
    order: -1;
    position: sticky;
    top: 4.5rem;
    z-index: 2;
  }

  .process-media-frame {
    aspect-ratio: 16 / 10;
  }

  .process-step {
    min-height: 45vh;
    max-width: none;
  }
}

/* ---- Terminal-flavoured typography accents ---- */
.text-size-tiny-alternative {
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

.marquee-item {
  font-family: var(--font-mono);
}

.hero-tag .text-size-small {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}

/* ---- Pixel wave canvas: spans the circle area and extends left ---- */
.hero-pixels {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 185%;
  height: 112%;
  display: block;
  pointer-events: none;
}

/* Particle drone-show mount — kept to the right side of the hero */
.hero-drone {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 120%;
  height: 120%;
}

.hero-drone canvas {
  display: block;
}

/* ==========================================================
   SERVICE PAGE TOUCHES — wave hero + CTA meme cards
   ========================================================== */
/* Subpage heroes: the waves run as a full-width current along the
   bottom of the hero instead of the homepage's side fan */
.section-hero.is-subpage {
  padding-bottom: 10rem;
}

.section-hero.is-subpage .hero-visual {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  right: 0;
  transform: none;
  width: 100%;
  aspect-ratio: auto;
  height: 11rem;
  animation: subpage-waves-enter 1s ease 0.3s backwards;
}

@keyframes subpage-waves-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}

.section-hero.is-subpage .hero-pixels {
  position: absolute;
  inset: 0;
  top: 0;
  transform: none;
  width: 100%;
  height: 100%;
}

/* Flock pages: swap the bottom-band visual for a right-side square (like home) */
.section-hero.has-flock {
  padding-bottom: 6rem;
}

.section-hero.has-flock .hero-visual {
  position: absolute;
  top: 50%;
  bottom: auto;
  left: auto;
  right: 2rem;
  transform: translateY(-50%);
  width: min(38rem, 42vw);
  height: min(38rem, 42vw);
  aspect-ratio: 1;
  animation: hero-visual-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.25s backwards;
}

.section-hero.has-flock .hero-comp {
  position: relative;
  z-index: 3;
  max-width: 40rem;
}

@media (max-width: 991px) {
  .section-hero.has-flock {
    padding-bottom: 4rem;
  }
  .section-hero.has-flock .hero-visual {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: min(18rem, 66vw);
    height: min(18rem, 66vw);
    margin: 1.5rem auto 0;
  }
  .section-hero.has-flock .hero-comp {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .section-hero.is-subpage {
    padding-bottom: 7.5rem;
  }

  .section-hero.is-subpage .hero-visual {
    height: 6rem;
  }
}

/* CTA band with a meme card on the right */
.cta-band.has-meme {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

.cta-band-copy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}

.meme-card.is-cta {
  width: 19rem;
  aspect-ratio: 4 / 3;
  border-radius: 1rem;
  transform: rotate(2deg);
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.meme-card.is-cta:hover {
  transform: rotate(0deg) scale(1.04);
}

.meme-card.is-cta .meme-caption {
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  font-size: 1rem;
}

@media (max-width: 767px) {
  .cta-band.has-meme {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .meme-card.is-cta {
    width: 100%;
    max-width: 20rem;
    transform: rotate(0deg);
  }
}

/* ==========================================================
   Case cards as links + "view case study" affordance
   ========================================================== */
a.case-card {
  text-decoration: none;
  color: inherit;
}

.case-view {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
  color: var(--color-brand-green);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.case-view svg {
  transition: transform 0.3s ease;
}

.case-card:hover .case-view svg {
  transform: translateX(4px);
}

/* ==========================================================
   Case study detail pages
   ========================================================== */
.section-cs {
  padding: 3.5rem 0;
}

.section-cs.is-first {
  padding-top: 1rem;
}

.cs-wrap {
  max-width: 48rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cs-eyebrow {
  color: var(--color-brand-green);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cs-section-title {
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Meta strip in the hero */
.cs-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--color-neutral-lightest);
}

.cs-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cs-meta-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-neutral-light);
}

.cs-meta-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-neutral-darker);
}

/* Placeholder — section is mapped but content is not written yet */
.cs-placeholder {
  border: 1.5px dashed var(--color-neutral-lighter);
  border-radius: 0.875rem;
  padding: 1.75rem;
  color: var(--color-neutral-light);
  font-size: 0.9375rem;
  font-style: italic;
  background-color: var(--color-white);
}

/* Numbered "how it works" steps */
.cs-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  counter-reset: cs-step;
}

.cs-step {
  position: relative;
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: 0.875rem;
  background-color: var(--color-white);
  border: 1px solid var(--color-neutral-lightest);
}

.cs-step-num {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 100px;
  background-color: rgba(22, 163, 74, 0.1);
  color: var(--color-brand-green);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
}

.cs-step-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cs-step-body h4 {
  font-size: 1.0625rem;
  font-weight: 600;
}

.cs-step-body p {
  color: var(--color-neutral);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Deliverables / what they got */
.cs-deliverables {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.cs-deliverable {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1.25rem;
  border-radius: 0.875rem;
  background-color: var(--color-white);
  border: 1px solid var(--color-neutral-lightest);
}

.cs-deliverable-dot {
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.5rem;
  border-radius: 100px;
  background-color: var(--color-brand-green);
}

/* Metrics grid on detail page */
.cs-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.cs-metric-value {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-brand-green);
  line-height: 1.1;
}

.cs-metric-label {
  font-size: 0.8125rem;
  color: var(--color-neutral);
  margin-top: 0.35rem;
}

/* Category label in the breadcrumb row */
.cs-category {
  color: var(--color-neutral-light);
  font-weight: 500;
}
.cs-category::before {
  content: '/';
  margin: 0 0.5rem;
  color: var(--color-neutral-lighter);
}

/* Callout / demo block — bordered box with bullets + button */
.cs-callout {
  padding: 1.75rem;
  border-radius: 0.875rem;
  background-color: var(--color-off-white);
  border: 1px solid var(--color-neutral-lightest);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cs-callout-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
}

.cs-callout-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-neutral-darker);
}

.cs-callout-list li::before {
  content: '';
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.5rem;
  border-radius: 100px;
  background-color: var(--color-brand-green);
}

/* Single-column problem / pain-point list */
.cs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.cs-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 0.875rem;
  background-color: var(--color-white);
  border: 1px solid var(--color-neutral-lightest);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-neutral-darker);
}

.cs-list li::before {
  content: '';
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.5rem;
  border-radius: 100px;
  background-color: var(--color-brand-green);
}

/* Workflow overview — big stage metric + note */
.cs-overview {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1rem 3rem;
  padding: 1.75rem;
  border-radius: 0.875rem;
  background-color: var(--color-white);
  border: 1px solid var(--color-neutral-lightest);
}

.cs-overview-note {
  font-size: 0.9375rem;
  color: var(--color-neutral);
}

/* Screenshot figure + caption */
.cs-figure {
  margin: 0;
  border-radius: 0.875rem;
  overflow: hidden;
  border: 1px solid var(--color-neutral-lightest);
  background-color: var(--color-off-white);
}

.cs-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.cs-figcaption {
  font-size: 0.8125rem;
  color: var(--color-neutral-light);
  padding: 0.85rem 1.25rem;
  border-top: 1px solid var(--color-neutral-lightest);
}

/* Production implementation — spec list (subheading + body) */
.cs-specs {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cs-spec {
  display: grid;
  grid-template-columns: 14rem 1fr;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--color-neutral-lightest);
}

.cs-spec:last-child {
  border-bottom: 1px solid var(--color-neutral-lightest);
}

.cs-spec h4 {
  font-size: 1rem;
  font-weight: 600;
}

.cs-spec p {
  color: var(--color-neutral);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Related services links */
.cs-related {
  display: flex;
  flex-direction: column;
}

.cs-related-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
  border-top: 1px solid var(--color-neutral-lightest);
  font-weight: 600;
  color: var(--color-brand-black);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.cs-related-link:last-child {
  border-bottom: 1px solid var(--color-neutral-lightest);
}

.cs-related-link:hover {
  color: var(--color-brand-green);
  padding-left: 0.35rem;
}

.cs-related-link span {
  color: var(--color-neutral-light);
  font-weight: 400;
}

@media (max-width: 767px) {
  .cs-spec {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

/* Back link + prev/next nav */
.cs-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-neutral);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.cs-back:hover {
  color: var(--color-brand-green);
}

.cs-nextprev {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2.5rem 0 0;
  border-top: 1px solid var(--color-neutral-lightest);
}

.cs-nextprev a {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-decoration: none;
  color: var(--color-neutral-darker);
  font-weight: 600;
  transition: color 0.2s ease;
}

.cs-nextprev a:hover {
  color: var(--color-brand-green);
}

.cs-nextprev .cs-np-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-neutral-light);
}

.cs-nextprev .is-next {
  text-align: right;
  margin-left: auto;
}

/* Client quote / testimonial on a case study */
.cs-quote {
  margin: 0;
  padding: 2.25rem 2.5rem;
  border-radius: 1rem;
  background-color: var(--color-off-white);
  border: 1px solid var(--color-neutral-lightest);
  border-left: 3px solid var(--color-brand-green);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}

.cs-quote::before {
  content: '\201C';
  position: absolute;
  top: 0.5rem;
  left: 1.25rem;
  font-size: 4rem;
  line-height: 1;
  color: var(--color-brand-green);
  opacity: 0.18;
  font-family: Georgia, 'Times New Roman', serif;
}

.cs-quote blockquote {
  border: none;
  margin: 0;
  padding: 0;
  font-size: 1.375rem;
  line-height: 1.55;
  font-weight: 500;
  color: var(--color-brand-black);
  position: relative;
}

.cs-quote figcaption {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.cs-quote-avatar {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background-color: var(--color-brand-green);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-quote-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.cs-quote-name {
  font-weight: 600;
  font-size: 0.9375rem;
}

.cs-quote-role {
  font-size: 0.875rem;
  color: var(--color-neutral);
}

@media (max-width: 767px) {
  .cs-quote {
    padding: 1.75rem 1.5rem;
  }

  .cs-quote blockquote {
    font-size: 1.125rem;
  }
}

@media (max-width: 767px) {
  .section-cs {
    padding: 2.5rem 0;
  }

  .cs-section-title {
    font-size: 1.5rem;
  }

  .cs-deliverables {
    grid-template-columns: 1fr;
  }

  .cs-meta {
    gap: 1.5rem;
  }

  .cs-metrics {
    gap: 1.75rem;
  }
}

/* ==========================================================
   BLOG
   ========================================================== */
.section-blog {
  padding: 3rem 0 6rem;
}

.blog-top {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 42rem;
  margin-bottom: 3rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 2rem;
  background-color: var(--color-white);
  border: 1px solid var(--color-neutral-lightest);
  border-radius: 1rem;
  text-decoration: none;
  color: var(--color-brand-black);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 0, 0, 0.03);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04), 0 20px 48px rgba(22, 163, 74, 0.08);
}

.blog-card-cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-brand-green);
}

.blog-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.blog-card p {
  color: var(--color-neutral);
  font-size: 0.9375rem;
  line-height: 1.6;
  flex: 1;
}

.blog-card-meta {
  font-size: 0.8125rem;
  color: var(--color-neutral-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.5rem;
}

.blog-card-readmore {
  color: var(--color-brand-green);
  font-weight: 600;
  font-size: 0.9375rem;
}

/* Article */
.blog-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  color: var(--color-neutral-light);
  font-size: 0.875rem;
  margin-top: 1.5rem;
}

/* Featured banner image at the top of a blog article */
.blog-hero-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 3rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 18px 44px rgba(0, 0, 0, 0.06);
}

/* Author blurb at the end of a blog article */
.blog-author {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-top: 3.5rem;
  padding: 1.75rem;
  background: var(--color-off-white);
  border: 1px solid var(--color-neutral-lightest);
  border-radius: 16px;
}

.blog-author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.blog-author-name {
  font-weight: 600;
  font-size: 1.0625rem;
}

.blog-author-role {
  color: var(--color-brand-green);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.blog-author p {
  color: var(--color-neutral);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
}

.blog-author a {
  color: var(--color-brand-green);
  font-weight: 600;
  text-decoration: none;
}

.blog-author a:hover {
  text-decoration: underline;
}

/* Clean, centered blog-post header (editorial style) */
.section-blogpost-head {
  padding: 7.5rem 0 0.5rem;
}

.blogpost-head {
  max-width: 62rem;
  margin: 0 auto;
}

.blogpost-topmeta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  color: var(--color-neutral-light);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}

.blogpost-topmeta .cs-back {
  margin: 0;
}

.blogpost-sep {
  color: var(--color-neutral-lighter);
}

.blogpost-byline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-neutral);
}

.blogpost-title {
  font-size: clamp(2.25rem, 4.6vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.blog-article {
  max-width: 62rem;
  margin: 0 auto;
}

/* Body text spans the full column width, same as the hero image */
.blog-article .blog-hero-media {
  width: 100%;
  max-width: none;
  margin-left: 0;
  transform: none;
}

@media (max-width: 767px) {
  .blog-article .blog-hero-media {
    width: 100%;
    margin-left: 0;
    transform: none;
  }
}

.blog-article > * + * {
  margin-top: 1.25rem;
}

.blog-article h2 {
  font-size: 1.625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 2.75rem;
  line-height: 1.25;
}

.blog-article h3 {
  font-size: 1.1875rem;
  font-weight: 600;
  margin-top: 2rem;
}

.blog-article p {
  color: var(--color-neutral-dark);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.blog-article ul,
.blog-article ol {
  padding-left: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.blog-article li {
  color: var(--color-neutral-dark);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.blog-article a {
  color: var(--color-brand-green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-article strong {
  color: var(--color-brand-black);
  font-weight: 600;
}

.blog-article blockquote {
  border-left: 3px solid var(--color-brand-green);
  padding: 0.25rem 0 0.25rem 1.5rem;
  color: var(--color-neutral-darker);
  font-size: 1.1875rem;
  line-height: 1.6;
}

@media (max-width: 991px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-article p, .blog-article li { font-size: 1rem; }
}

/* ===== Homepage offer grid (Advise / Build / Train) ===== */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.offer-card {
  padding: 2rem;
  background: var(--color-white);
  border: 1px solid var(--color-neutral-lightest);
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.offer-num {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-brand-green);
}
.offer-card h3 { font-size: 1.375rem; font-weight: 600; line-height: 1.25; }
.offer-links { display: flex; flex-direction: column; gap: 0.4rem; margin-top: auto; padding-top: 0.5rem; }
.offer-link { color: var(--color-brand-green); font-weight: 600; text-decoration: none; font-size: 0.95rem; }
.offer-link:hover { text-decoration: underline; }
@media (max-width: 767px) { .offer-grid { grid-template-columns: 1fr; } }

/* ============ Industry / landing template ============ */
.ind-hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
.ind-hero h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); line-height: 1.05; letter-spacing: -0.025em; margin-top: 1rem; }
.ind-subhead { font-size: clamp(1.375rem, 2.4vw, 1.75rem); font-weight: 600; line-height: 1.2; margin-top: 1rem; color: var(--color-brand-black); }
.ind-intro { color: var(--color-neutral); margin-top: 1rem; max-width: 40rem; }
.ind-hero .hero-btn-wrapper { margin-top: 1.75rem; }
.ind-hero-media img { width: 100%; height: auto; border-radius: 1.25rem; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 24px 60px rgba(0,0,0,.10); display: block; }

.ind-body { max-width: 52rem; margin: 0 auto; }
.ind-body > h2 { font-size: 1.75rem; font-weight: 600; letter-spacing: -0.015em; margin: 3.25rem 0 1rem; line-height: 1.2; }
.ind-body > p { color: var(--color-neutral-dark); font-size: 1.0625rem; line-height: 1.7; }
.ind-body > * + * { margin-top: 1.1rem; }

.ind-def { background: var(--color-off-white); border: 1px solid var(--color-neutral-lightest); border-radius: 1rem; padding: 1.75rem 2rem; margin-top: 2.5rem; }
.ind-def h2 { margin: 0 0 0.75rem; font-size: 1.5rem; font-weight: 600; }
.ind-def p { color: var(--color-neutral-dark); font-size: 1.0625rem; line-height: 1.7; }

.ind-cards, .ind-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 1.5rem; }
.ind-card { padding: 1.5rem; background: var(--color-white); border: 1px solid var(--color-neutral-lightest); border-radius: 0.9rem; text-decoration: none; color: inherit; }
.ind-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.5rem; }
.ind-card p { color: var(--color-neutral); font-size: 0.95rem; line-height: 1.6; }
a.ind-card:hover { border-color: var(--color-brand-green); }

.ind-success { background: linear-gradient(135deg, #0c3a22, #16a34a); color: #fff; border-radius: 1rem; padding: 2rem 2.25rem; margin-top: 2.5rem; }
.ind-success h2 { color: #fff; margin: 0 0 0.75rem; font-size: 1.5rem; }
.ind-success p { color: rgba(255,255,255,.92); font-size: 1.0625rem; line-height: 1.7; }

.ind-quote { margin: 2.5rem 0 0; padding: 0; border-left: 3px solid var(--color-brand-green); padding-left: 1.5rem; }
.ind-quote blockquote { margin: 0; font-size: 1.375rem; line-height: 1.4; font-weight: 500; letter-spacing: -0.01em; }
.ind-quote figcaption { margin-top: 0.85rem; color: var(--color-neutral); font-size: 0.95rem; }

.ind-compare { margin-top: 1.5rem; border: 1px solid var(--color-neutral-lightest); border-radius: 0.9rem; overflow: hidden; }
.ind-compare-row { display: grid; grid-template-columns: 12rem 1fr; gap: 1rem; padding: 1rem 1.5rem; border-top: 1px solid var(--color-neutral-lightest); }
.ind-compare-row:first-child { border-top: 0; }
.ind-compare-k { font-weight: 600; color: var(--color-brand-green); }
.ind-compare-row span:last-child { color: var(--color-neutral-dark); }

.ind-case-fallback { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.25rem; padding: 1.75rem 2rem; border: 1px dashed var(--color-neutral-lighter); border-radius: 0.9rem; text-decoration: none; color: var(--color-neutral-dark); }
.ind-case-fallback:hover { border-color: var(--color-brand-green); }
.ind-arrow { color: var(--color-brand-green); font-weight: 600; }

.ind-related, .ind-siblings, .ind-near, .ind-faqs, .ind-cases { margin-top: 3rem; }
.ind-related ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.ind-related a { color: var(--color-brand-green); font-weight: 600; text-decoration: none; }
.ind-faqs .faq-item { border-bottom: 1px solid var(--color-neutral-lightest); }
.ind-faqs summary { cursor: pointer; list-style: none; padding: 1.1rem 0; font-weight: 600; font-size: 1.05rem; }
.ind-faqs summary::-webkit-details-marker { display: none; }
.ind-faqs .faq-content { padding-bottom: 1.1rem; }
.ind-faqs .faq-content p { color: var(--color-neutral); line-height: 1.65; margin: 0; }

@media (max-width: 900px) { .ind-hero { grid-template-columns: 1fr; } .ind-cards, .ind-card-grid { grid-template-columns: 1fr; } .ind-compare-row { grid-template-columns: 1fr; gap: 0.25rem; } }

/* component: breadcrumbs */
.crumbs { font-size: 0.85rem; color: var(--color-neutral-light); margin-bottom: 1.5rem; }
.crumbs a { color: var(--color-neutral); text-decoration: none; }
.crumbs a:hover { color: var(--color-brand-green); }
.crumb-sep { margin: 0 0.5rem; color: var(--color-neutral-lighter); }
/* component: pricing band */
.pricing-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin: 1.5rem 0; }
.pricing-figure { padding: 1.5rem; background: var(--color-off-white); border: 1px solid var(--color-neutral-lightest); border-radius: 0.9rem; text-align: center; }
.pricing-num { display: block; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.pricing-label { display: block; margin-top: 0.35rem; color: var(--color-neutral); font-size: 0.9rem; }
/* component: sticky TOC */
.sticky-toc { position: sticky; top: 6rem; align-self: start; }
.sticky-toc .toc-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-neutral-light); margin-bottom: 0.75rem; }
.sticky-toc ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.sticky-toc a { color: var(--color-neutral); text-decoration: none; font-size: 0.9rem; }
.sticky-toc a:hover { color: var(--color-brand-green); }
/* component: local context (empty state must be obvious) */
.ind-local.is-empty { border: 1px dashed #e0a11b; background: #fff8ea; color: #8a6d1a; border-radius: 0.75rem; padding: 1rem 1.25rem; font-size: 0.9rem; margin-top: 2rem; }
@media (max-width: 767px) { .pricing-band { grid-template-columns: 1fr; } }

/* resource (document) layout */
.res-layout { display: grid; grid-template-columns: 15rem 1fr; gap: 3rem; align-items: start; }
.res-doc { max-width: 46rem; }
.res-doc h2 { font-size: 1.375rem; margin-top: 2.5rem; }
.res-howto { background: var(--color-off-white); border-radius: 0.75rem; padding: 1rem 1.25rem; font-size: 0.95rem; color: var(--color-neutral-dark); margin: 1.5rem 0; }
.res-disclaimer { border: 1px solid var(--color-neutral-lightest); border-left: 3px solid var(--color-neutral-light); border-radius: 0.5rem; padding: 1rem 1.25rem; margin-top: 2.5rem; }
.res-disclaimer p { font-size: 0.9rem; color: var(--color-neutral); margin: 0; }
@media (max-width: 900px) { .res-layout { grid-template-columns: 1fr; } }

/* Internal TODO callout — visible on page, must be removed before publishing */
.ind-todo { margin: 2rem 0 2.5rem; padding: 1.25rem 1.5rem; border: 2px dashed #d97706; border-radius: 12px; background: #fffbeb; }
.ind-todo p { margin: 0 0 .5rem; color: #7c2d12; font-size: .95rem; line-height: 1.5; }
.ind-todo p:last-child { margin-bottom: 0; }
.ind-todo .ind-todo-tag { font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .72rem; color: #b45309; }

/* Training pricing cards */
.train-price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin: 2rem 0 1rem; }
.train-price { border: 1px solid var(--color-border, #e5e7eb); border-radius: 16px; padding: 1.75rem; background: #fff; }
.train-price.is-feature { border-color: var(--color-brand-green, #16a34a); box-shadow: 0 6px 24px rgba(22,163,74,.08); }
.train-price h3 { margin: 0 0 .35rem; font-size: 1.15rem; }
.train-price .train-price-amt { font-size: 2rem; font-weight: 700; line-height: 1.1; }
.train-price .train-price-amt span { font-size: .95rem; font-weight: 500; color: #6b7280; }
.train-price .train-price-meta { color: #6b7280; font-size: .9rem; margin: .35rem 0 1rem; }
.train-price ul { list-style: none; padding: 0; margin: 0; }
.train-price li { padding: .35rem 0 .35rem 1.4rem; position: relative; font-size: .95rem; }
.train-price li::before { content: "✓"; position: absolute; left: 0; color: var(--color-brand-green, #16a34a); font-weight: 700; }
.train-price-note { color: #6b7280; font-size: .9rem; margin: .5rem 0 0; }
@media (max-width: 640px) { .train-price-grid { grid-template-columns: 1fr; } }

/* Resources index + category views (no-sell register) */
.res-free { display:inline-flex; align-items:center; gap:.5rem; font-size:.9rem; font-weight:600; color:var(--color-brand-green,#16a34a); }
.res-free::before { content:"●"; font-size:.6rem; }
.res-catnav { display:flex; flex-wrap:wrap; gap:.6rem; margin:1.5rem 0 0; }
.res-catnav a { display:inline-block; padding:.5rem 1rem; border:1px solid var(--color-border,#e5e7eb); border-radius:999px; font-size:.9rem; font-weight:600; text-decoration:none; color:inherit; }
.res-catnav a.is-active, .res-catnav a:hover { border-color:var(--color-brand-green,#16a34a); color:var(--color-brand-green,#16a34a); }
.res-group { margin-top:2.5rem; }
.res-group > h2 { margin:0 0 1rem; }
.res-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:1rem; }
.res-item { display:block; padding:1.25rem 1.4rem; border:1px solid var(--color-border,#e5e7eb); border-radius:14px; text-decoration:none; color:inherit; background:#fff; transition:border-color .15s; }
.res-item:hover { border-color:var(--color-brand-green,#16a34a); }
.res-item h3 { margin:0 0 .35rem; font-size:1.05rem; line-height:1.3; }
.res-item .res-tag { font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.04em; color:#6b7280; }
.res-empty { color:#6b7280; font-size:.95rem; padding:1rem 0; }

/* ===== Graph-driven nav: mega-menu (desktop) ===== */
/* Anchored to the trigger's left edge (not viewport-centred). */
.nav_dropdown--mega { position: relative; }
.nav_mega {
  left: 0;
  transform: translateX(0) translateY(-6px);
  min-width: min(46rem, 92vw);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem 1.25rem;
  padding: 1.1rem 1.25rem;
}
.nav_dropdown--mega:hover .nav_mega,
.nav_dropdown--mega:focus-within .nav_mega {
  transform: translateX(0) translateY(0);
}
.nav_mega-col { display: flex; flex-direction: column; }
.nav_mega-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--color-brand-green); padding: 0 0.85rem 0.35rem; margin-bottom: 0.15rem;
  border-bottom: 1px solid var(--color-neutral-lightest);
}

/* ===== Mobile accordion nav ===== */
.nav_m-group { border-bottom: 1px solid var(--color-neutral-lightest); }
.nav_m-head {
  width: 100%; background: none; border: none; cursor: pointer; font: inherit;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 0; font-size: 1.5rem; font-weight: 600; color: var(--color-brand-black);
}
.nav_m-head .nav_dropdown-caret { width: 14px; height: 14px; transition: transform 0.25s ease; }
.nav_m-group.is-open .nav_m-head .nav_dropdown-caret { transform: rotate(180deg); }
.nav_m-panel { display: none; padding: 0 0 1rem 0.25rem; }
.nav_m-group.is-open .nav_m-panel { display: block; }
.nav_m-col { margin-bottom: 0.85rem; }
.nav_m-col .nav_mobile-label { margin-top: 0.35rem; }
.nav_m-link { display: block; padding: 0.4rem 0; font-size: 1.05rem; font-weight: 500; color: var(--color-brand-black); text-decoration: none; }
.nav_m-link:hover { color: var(--color-brand-green); }
.nav_m-direct { padding: 0.9rem 0; border-bottom: 1px solid var(--color-neutral-lightest); }
.nav_m-cta { margin-top: auto; text-align: center; }

/* ===== Footer columns (graph-driven) ===== */
.footer-cols { display: flex; flex-wrap: wrap; gap: 2rem 2.5rem; }
.footer-col-head {
  display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--color-neutral-light); margin-bottom: 0.6rem;
}

/* ===== HTML sitemap page ===== */
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2rem; margin-top: 1.5rem; }
.sitemap-group h2 { font-size: 1.05rem; margin: 0 0 0.6rem; padding-bottom: 0.4rem; border-bottom: 2px solid var(--color-brand-green); }
.sitemap-group ul { list-style: none; padding: 0; margin: 0; }
.sitemap-group li { padding: 0.28rem 0; }
.sitemap-group a { text-decoration: none; color: var(--color-brand-black); font-size: 0.95rem; }
.sitemap-group a:hover { color: var(--color-brand-green); text-decoration: underline; }

/* ============================================================
   DELTA COMPONENTS (Batch F+): article, prose, document, cards, chips, form states
   All use existing tokens; the only new colour is the form-error red.
   ============================================================ */

/* ArticleHeader */
.article-header { max-width: 44rem; margin: 0 auto 2rem; }
.article-h1 { font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.12; margin: 0 0 1rem; }
.article-standfirst { font-size: 1.25rem; line-height: 1.5; color: var(--color-neutral-dark); margin: 0 0 1.5rem; }
.article-byline { display: flex; align-items: center; gap: 0.75rem; padding-top: 1.25rem; border-top: 1px solid var(--color-neutral-lightest); }
.article-byline-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.article-byline-meta { display: flex; flex-direction: column; line-height: 1.3; }
.article-byline-author { font-weight: 600; font-size: 0.95rem; }
.article-byline-sub { font-size: 0.85rem; color: var(--color-neutral-light); display: flex; gap: 0.4rem; }

/* ProseBody + break elements */
.prose-body { max-width: var(--measure, 44rem); margin: 0 auto; }
.callout { border: 1px solid var(--color-neutral-lightest); border-left: 3px solid var(--color-brand-green); border-radius: 0.6rem; padding: 1rem 1.25rem; margin: 1.75rem 0; background: var(--color-off-white); }
.callout--warning { border-left-color: #d97706; background: #fffbeb; }
.callout--tip { border-left-color: #2563eb; background: #eff6ff; }
.callout-title { font-weight: 700; margin: 0 0 0.35rem; font-size: 0.95rem; }
.callout-body p:last-child { margin-bottom: 0; }
.pullquote { margin: 2rem 0; padding: 0.5rem 0 0.5rem 1.5rem; border-left: 4px solid var(--color-brand-green); }
.pullquote blockquote { font-size: 1.35rem; line-height: 1.4; font-weight: 500; margin: 0; }
.pullquote figcaption { margin-top: 0.5rem; font-size: 0.9rem; color: var(--color-neutral-light); }
.section-divider { border: 0; height: 1px; background: var(--color-neutral-lightest); margin: 2.5rem auto; max-width: var(--measure, 44rem); }

/* DocumentFrame */
.doc-frame { border: 1px solid var(--color-neutral-light); border-radius: 0.9rem; padding: 2rem clamp(1.25rem, 4vw, 2.5rem); background: var(--color-white); box-shadow: 0 2px 20px rgba(0,0,0,0.04); }
.doc-frame-head { border-bottom: 2px solid var(--color-brand-black); padding-bottom: 1rem; margin-bottom: 1.5rem; }
.doc-frame-kicker { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.7rem; font-weight: 700; color: var(--color-brand-green); margin: 0 0 0.35rem; }
.doc-frame-title { margin: 0 0 0.4rem; font-size: 1.5rem; }
.doc-frame-meta { font-size: 0.85rem; color: var(--color-neutral-light); margin: 0; }
.doc-frame-rule { text-align: center; letter-spacing: 0.2em; font-size: 0.75rem; text-transform: uppercase; color: var(--color-neutral-light); margin: 1.5rem 0; }

/* CopyDownloadBar */
.copydl { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; padding: 0.85rem 0; margin-bottom: 1.5rem; }
.copydl-btn { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.55rem 1rem; border-radius: 0.5rem; border: 1px solid var(--color-neutral-light); background: var(--color-white); font-size: 0.9rem; font-weight: 600; cursor: pointer; text-decoration: none; color: var(--color-brand-black); }
.copydl-btn:hover { border-color: var(--color-brand-green); color: var(--color-brand-green); }
.copydl-free { font-size: 0.85rem; color: var(--color-brand-green); font-weight: 600; margin-left: 0.25rem; }

/* CardGrid variants */
.card-grid { margin-top: 2.5rem; }
.card-grid-head { margin: 0 0 1rem; }
.card-grid-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.card-grid-card { display: block; padding: 1.25rem 1.4rem; border: 1px solid var(--color-neutral-lightest); border-radius: 0.85rem; text-decoration: none; color: inherit; background: var(--color-white); transition: border-color 0.15s ease, transform 0.15s ease; }
.card-grid-card:hover { border-color: var(--color-brand-green); transform: translateY(-2px); }
.card-grid-card h3 { margin: 0.35rem 0 0; font-size: 1.05rem; line-height: 1.3; }
.card-grid-tag { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--color-neutral-light); }
.card-grid--case .card-grid-tag { color: var(--color-brand-green); }
.card-grid-empty { color: var(--color-neutral-light); font-size: 0.95rem; }

/* FilterChips */
.filter-chips { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 1.5rem 0; }
.filter-chip { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45rem 0.95rem; border: 1px solid var(--color-neutral-lightest); border-radius: 999px; text-decoration: none; color: inherit; font-size: 0.9rem; font-weight: 600; }
.filter-chip:hover, .filter-chip.is-active { border-color: var(--color-brand-green); color: var(--color-brand-green); }
.filter-chip-count { font-size: 0.75rem; color: var(--color-neutral-light); }

/* FormStates */
.form-input.is-invalid, .form-select.is-invalid, .form-textarea.is-invalid { border-color: #b91c1c; background: #fef4f4; }
.form-error { display: block; color: #b91c1c; font-size: 0.82rem; margin-top: 0.3rem; }
.form-alert { border-radius: 0.5rem; padding: 0.75rem 1rem; font-size: 0.9rem; margin: 0.5rem 0 1rem; }
.form-alert--error { color: #b91c1c; background: #fef4f4; border: 1px solid #f3d4d4; }
.form-success { text-align: center; padding: 2.5rem 1.5rem; }
.form-success-tick { width: 52px; height: 52px; border-radius: 50%; background: var(--color-brand-green); color: #fff; font-size: 1.6rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.form-success h3 { margin: 0 0 0.5rem; }
.form-success p { color: var(--color-neutral-dark); margin: 0; }

/* StickyTOC extend: active state, numbering, collapse */
.sticky-toc [data-toc-link].is-active { color: var(--color-brand-green); font-weight: 600; }
.sticky-toc-details > summary { cursor: pointer; list-style: none; }
.sticky-toc-details > summary::-webkit-details-marker { display: none; }
.sticky-toc--numbered ul { counter-reset: toc; list-style: none; padding: 0; }
.sticky-toc--numbered li { counter-increment: toc; }
.sticky-toc--numbered li a::before { content: counter(toc) ". "; color: var(--color-neutral-light); }
@media (min-width: 901px) { .sticky-toc-details[open] > summary { pointer-events: none; } }

/* CompactForm — inline conversion form (section 10 compact variant) */
.compact-form { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1.5rem 2.5rem; align-items: start; }
.compact-form .compact-form-copy h2 { margin: 0 0 0.5rem; }
.compact-form .compact-form-copy p { margin: 0; color: var(--color-neutral-dark); }
.compact-form-fields .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.compact-form-fields .form-textarea { min-height: 3.5rem; }
.compact-form .form-success { grid-column: 1 / -1; }
@media (max-width: 767px) { .compact-form { grid-template-columns: 1fr; } .compact-form-fields .form-row { grid-template-columns: 1fr; } }

/* "Part of [hub]" backlink on service/child pages */
.ind-parthub { font-size: 0.9rem; color: var(--color-neutral-light); margin: 0 0 1rem; }
.ind-parthub a { color: var(--color-brand-green); font-weight: 600; text-decoration: none; }

/* Home-variant Advise/Build/Train section */
.section-abt { padding: 4rem 0; }
.abt-title { text-align: center; margin: 0 0 2rem; }
.abt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.abt-step { display: block; padding: 1.75rem; border: 1px solid var(--color-neutral-lightest); border-radius: 1rem; text-decoration: none; color: inherit; background: var(--color-white); transition: border-color .15s, transform .15s; }
.abt-step:hover { border-color: var(--color-brand-green); transform: translateY(-3px); }
.abt-num { font-size: 0.85rem; font-weight: 700; color: var(--color-brand-green); letter-spacing: 0.08em; }
.abt-step h3 { margin: 0.4rem 0 0.5rem; font-size: 1.2rem; }
.abt-step p { margin: 0 0 0.75rem; color: var(--color-neutral-dark); font-size: 0.95rem; }
.abt-link { font-weight: 600; color: var(--color-brand-green); font-size: 0.9rem; }
@media (max-width: 767px) { .abt-grid { grid-template-columns: 1fr; } }

/* Inline related-service note (body-copy internal link) */
.ind-relservice { font-size: 0.95rem; color: var(--color-neutral-dark); background: var(--color-off-white); border-radius: 0.6rem; padding: 0.85rem 1.1rem; margin: 1.5rem 0; }
.ind-relservice a { color: var(--color-brand-green); font-weight: 600; }

/* Article template layout: sticky TOC + prose */
.article-layout { display: grid; grid-template-columns: 15rem 1fr; gap: 3rem; align-items: start; margin-top: 2rem; }
.article-layout .sticky-toc { position: sticky; top: 6rem; }
@media (max-width: 900px) { .article-layout { grid-template-columns: 1fr; } .article-layout .sticky-toc { position: static; } }

/* ============================================================
   LANDING REBUILD COMPONENTS (library): NumberedPointGrid, RelatedCardGrid, RelatedReadingRow
   ============================================================ */

/* NumberedPointGrid — section 04 */
.section-points { padding: 4rem 0; }
.section-points > .padding-global > .container-large > h2 { margin: 0 0 2rem; }
.points-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.point-card { background: var(--color-off-white); border: 1px solid var(--color-neutral-lightest); border-radius: 1.25rem; padding: 1.75rem; }
.point-num { display: inline-block; font-family: 'SF Mono', Menlo, monospace; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; color: var(--color-brand-green); margin-bottom: 0.6rem; }
.point-card h3 { margin: 0 0 0.5rem; font-size: 1.2rem; }
.point-card p { margin: 0; color: var(--color-neutral-dark); font-size: 0.95rem; line-height: 1.55; }
@media (max-width: 767px) { .points-grid { grid-template-columns: 1fr; } }

/* RelatedCardGrid — section 09 (denser shell derived from blog-card) */
.section-related { padding: 4rem 0; }
.section-related h2 { margin: 0 0 1.5rem; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; }
.related-card { display: flex; flex-direction: column; gap: 0.35rem; padding: 1.25rem 1.4rem; border: 1px solid var(--color-neutral-lightest); border-radius: 0.85rem; background: var(--color-white); text-decoration: none; color: inherit; transition: border-color .15s ease, transform .15s ease; }
.related-card:hover { border-color: var(--color-brand-green); transform: translateY(-2px); }
.related-card-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--color-neutral-light); }
.related-card-title { font-size: 1.05rem; font-weight: 600; line-height: 1.3; }
.related-card-note { font-size: 0.85rem; font-weight: 600; color: var(--color-brand-green); margin-top: 0.15rem; }
.related-empty { color: var(--color-neutral-light); font-size: 0.95rem; }
/* chip variant — locations */
.related-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.related-chip { display: inline-block; padding: 0.5rem 1rem; border: 1px solid var(--color-neutral-lightest); border-radius: 999px; text-decoration: none; color: inherit; font-size: 0.9rem; font-weight: 600; transition: border-color .15s, color .15s; }
.related-chip:hover { border-color: var(--color-brand-green); color: var(--color-brand-green); }

/* coming-soon child card (unbuilt service) */
.blog-card.is-soon { opacity: 0.6; pointer-events: none; }
.blog-card.is-soon .blog-card-meta span { color: var(--color-neutral-light); }

/* Problem prose variant — left-aligned. Wider measure (52rem) per review. */
.section-problem.is-prose .problem-comp { text-align: left; max-width: 52rem; }
.section-problem.is-prose .problem-content .text-size-large { margin: 0; max-width: 52rem; }
.section-problem.is-prose .problem-content h2 { text-align: left; }

/* Editorial two-column: heading left (sticky), prose right. Full container width. */
.section-problem.is-editorial .problem-comp { max-width: none; }
.section-problem.is-editorial .problem-content { display: grid; grid-template-columns: minmax(0, 19rem) minmax(0, 1fr); gap: 3.5rem; align-items: start; }
.section-problem.is-editorial .problem-content h2 { margin: 0; position: sticky; top: 6rem; }
.section-problem.is-editorial .problem-content .text-size-large { max-width: 48rem; }
@media (max-width: 900px) { .section-problem.is-editorial .problem-content { grid-template-columns: 1fr; gap: 1.25rem; } .section-problem.is-editorial .problem-content h2 { position: static; } }

/* ===== Prose treatments (per the measured Prose Treatments library) ===== */
/* Slot 03 — definition: lead sentence + inline ordinals (stays ONE <p>, one text run) */
.prose-lead { display: block; font-size: 1.5rem; font-weight: 500; color: var(--color-brand-black); margin-bottom: 1rem; line-height: 1.35; }
.prose-ord { display: inline-flex; align-items: center; justify-content: center; width: 1.35rem; height: 1.35rem; border-radius: 999px; background: rgba(22,163,74,.1); color: var(--color-brand-green); font-size: 0.8rem; font-weight: 700; margin-right: 0.35rem; vertical-align: middle; }
/* Slot 06 "why" — split at the pivot into passages */
.section-problem.is-split .problem-content .prose-passages { display: flex; flex-direction: column; gap: 1.75rem; }
@media (max-width: 767px) { .section-problem.is-split .problem-content .prose-passages { gap: 1.25rem; } }
.section-problem.is-split .problem-content .prose-passages p { margin: 0; }
.prose-mark { color: var(--color-brand-black); font-weight: 600; }
/* Slot 06 success — rule anchor (SectionDivider in an anchor role) */
.section-problem.has-anchor .problem-content::before { content: ""; display: block; width: 3.5rem; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--color-brand-green), var(--color-brand-green-gradient)); margin-bottom: 1.5rem; }
/* FAQ answers — structured lead clause + split, no nested lists */
.faq-content.is-structured { max-width: 38rem; }
.faq-content.is-structured > div { display: flex; flex-direction: column; gap: 0.875rem; }
.faq-content.is-structured p { margin: 0; }

/* CaseStudyModule (case-card) — view link + fallback */
.case-viewlink { display: inline-block; margin-top: 0.9rem; font-weight: 600; color: var(--color-brand-green); font-size: 0.9rem; }
.case-fallback { display: flex; flex-direction: column; gap: 0.5rem; padding: 2rem; border: 1px dashed var(--color-neutral-light); border-radius: 1rem; text-decoration: none; color: var(--color-neutral-dark); max-width: 42rem; }
.case-fallback-link { color: var(--color-brand-green); font-weight: 600; }

/* ComparisonTable section wrapper — page-width (padding-global/container-large) */
.section-compare { padding: 3.5rem 0; }
.section-compare > .padding-global > .container-large > h2 { margin: 0 0 1.5rem; }

/* Editorial FLIP (heading on the other side) + STATS bar between columns */
.section-problem.is-editorial.is-flip:not(.has-stats) .problem-content { grid-template-columns: minmax(0,1fr) minmax(0,19rem); }
.section-problem.is-editorial.is-flip .problem-content > h2 { grid-column: 2; grid-row: 1; }
.section-problem.is-editorial.is-flip .problem-content > .prose-passages,
.section-problem.is-editorial.is-flip .problem-content > p { grid-column: 1; grid-row: 1; }
/* 3-column: prose | stats | heading */
.section-problem.is-editorial.is-flip.has-stats .problem-content { grid-template-columns: minmax(0,1fr) minmax(0,12.5rem) minmax(0,17rem); }
.section-problem.is-editorial.is-flip.has-stats .problem-content > .problem-stats { grid-column: 2; grid-row: 1; }
.section-problem.is-editorial.is-flip.has-stats .problem-content > h2 { grid-column: 3; grid-row: 1; }
/* Vertical middle-column stats — scoped to the editorial-flip layout so it never overrides the
   base horizontal .problem-stats bar used on the homepage + About. */
.section-problem.is-editorial.is-flip.has-stats .problem-stats { display: flex; flex-direction: column; gap: 1.5rem; border-left: 1px solid var(--color-neutral-lightest); padding-left: 1.5rem; align-self: stretch; margin-top: 0; padding-top: 0; border-top: none; }
.section-problem.is-editorial.is-flip.has-stats .problem-stats .stat-item { text-align: left; }
.section-problem.is-editorial.is-flip.has-stats .problem-stats .stat-number { font-size: 1.9rem; font-weight: 700; line-height: 1.1; color: var(--color-brand-black); background: none; -webkit-text-fill-color: currentColor; }
.section-problem.is-editorial.is-flip.has-stats .problem-stats .stat-label { font-size: 0.82rem; color: var(--color-neutral-light); margin-top: 0.15rem; }
@media (max-width: 900px) {
  .section-problem.is-editorial.is-flip.has-stats .problem-content { grid-template-columns: 1fr; }
  .section-problem.is-editorial.is-flip .problem-content > h2,
  .section-problem.is-editorial.is-flip.has-stats .problem-content > .problem-stats { grid-column: 1; }
  .section-problem.is-editorial.is-flip.has-stats .problem-stats { flex-direction: row; flex-wrap: wrap; gap: 1.25rem 2.5rem; border-left: none; border-top: 1px solid var(--color-neutral-lightest); padding-left: 0; padding-top: 1.25rem; }
}

/* StatsBar — dark panel divider with green count-up figures */
.section-statsbar { padding: 1.5rem 0; }
.statsbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; background: var(--color-brand-black); border-radius: 1.25rem; padding: 2.75rem 2.75rem; }
.statsbar-num { font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 700; line-height: 1; color: var(--color-brand-green); }
.statsbar-label { font-size: 0.85rem; color: rgba(247,247,247,0.6); margin-top: 0.5rem; }
@media (max-width: 767px) { .statsbar { grid-template-columns: 1fr 1fr; gap: 1.75rem; padding: 2rem; } }

/* RelatedReadingRow / RelatedCardGrid heading gap (was sitting on the cards) */
.section-blog > .padding-global > .container-large > h2,
.section-related > .padding-global > .container-large > h2 { margin: 0 0 2rem; }

/* FeatureList shares the page (off-white) background so grouped list blocks read as one section */
.section-our-agencies.section-features { background-color: var(--color-white); }

/* Statement — the payoff block: LEFT-aligned, larger type, rule anchor (distinct, not centred) */
.section-problem.is-statement .problem-comp { max-width: 60rem; margin: 0; text-align: left; }
.section-problem.is-statement .problem-content { align-items: flex-start; }
.section-problem.is-statement .problem-content::before { content: ""; display: block; width: 3.5rem; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--color-brand-green), var(--color-brand-green-gradient)); margin: 0 0 1.75rem; }
.section-problem.is-statement .problem-content h2 { text-align: left; font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
.section-problem.is-statement .problem-content .text-size-large { max-width: 52rem; margin: 0; font-size: 1.35rem; line-height: 1.65; color: var(--color-brand-black); }
/* White background variant */
.section-problem.is-white { background-color: var(--color-white); }

/* Tight — collapse vertical padding for components grouped into one visual block */
.section-problem.is-tight-t, .section-our-agencies.is-tight-t { padding-top: 1.5rem; }
.section-problem.is-tight-b, .section-our-agencies.is-tight-b { padding-bottom: 1.5rem; }

/* Panel — success/payoff as a floating white card on the off-white section */
.section-problem.is-panel .problem-comp { max-width: 64rem; margin: 0 auto; text-align: left; }
.section-problem.is-panel .problem-content { position: relative; background: var(--color-white); border: 1px solid var(--color-neutral-lightest); border-radius: 1.5rem; padding: 3rem clamp(1.75rem, 4vw, 3.5rem); box-shadow: 0 6px 40px rgba(0,0,0,0.04); align-items: flex-start; }
.section-problem.is-panel .problem-content::before { content: ""; display: block; width: 3.5rem; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--color-brand-green), var(--color-brand-green-gradient)); margin: 0 0 1.5rem; }
.section-problem.is-panel .problem-content h2 { text-align: left; margin: 0 0 1rem; }
.section-problem.is-panel .problem-content .text-size-large { max-width: 52rem; margin: 0; font-size: 1.2rem; line-height: 1.65; }

/* CompactForm trust points + founder card spacing */
.compact-form-points { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; display: flex; flex-direction: column; gap: 0.65rem; }
.compact-form-points li { position: relative; padding-left: 1.6rem; font-size: 0.95rem; color: var(--color-neutral-dark); line-height: 1.45; }
.compact-form-points li::before { content: "✓"; position: absolute; left: 0; color: var(--color-brand-green); font-weight: 700; }
.compact-form .founder-card { margin-top: 0.5rem; }
.compact-form-copy { align-self: start; }

/* CompactForm sits on the grey CTA band — give fields white fill + a visible border so they don't vanish */
.compact-form-fields .form-input,
.compact-form-fields .form-textarea,
.compact-form-fields .form-select { background-color: #fff; border-color: rgba(0,0,0,0.12); }
.compact-form-fields .form-input:focus,
.compact-form-fields .form-textarea:focus,
.compact-form-fields .form-select:focus { border-color: var(--color-brand-green); }
/* empty error spans must respect the hidden attribute (base rule forces display:block) */
.form-error[hidden] { display: none; }

/* CompactForm: horizontal founder card so the copy column balances the short form */
.compact-form .founder-card { max-width: 25rem; display: flex; align-items: stretch; margin-top: 1.5rem; }
.compact-form .founder-card-img { width: 8.5rem; flex: none; aspect-ratio: 1 / 1; }
.compact-form .founder-card-info { flex: 1; justify-content: center; padding: 1rem 1.35rem; }
.compact-form-points { margin: 1.1rem 0 0; }

/* CompactForm: heading spans full width above both columns; form nudged down slightly */
.compact-form-heading { grid-column: 1 / -1; margin: 0 0 0.75rem; }
.compact-form-fields { margin-top: 1.75rem; }
@media (max-width: 767px) { .compact-form-fields { margin-top: 0.5rem; } }

/* CompactForm: narrow the intro so it wraps in line with the trust points below */
.compact-form-copy p { max-width: 30.5rem; }

/* Hero: "Part of [hub]" sub-label for service pages */
.hero-parthub { font-size: 0.9rem; color: var(--color-neutral); margin: 0.25rem 0 0; }
.hero-parthub a { color: var(--color-brand-green); font-weight: 600; text-decoration: none; }
.hero-parthub a:hover { text-decoration: underline; }

/* RelatedCardGrid optional child blurb (Advise/Train hubs, Melbourne) */
.related-card-blurb { font-size: 0.92rem; line-height: 1.45; color: var(--color-neutral-dark); margin-top: 0.35rem; }
.related-card-blurb + .related-card-note { margin-top: 0.6rem; }

/* ============================================================
   ARTICLE TEMPLATE — Blog post & How-to (per the Blog & How-To spec)
   Measure 42rem throughout; tones/measure/article-layout already defined above.
   ============================================================ */

/* header: fills its parent — 42rem inside .article-body (Variant A), full width above the
   TOC+prose grid (Variant B). Category eyebrow above the H1. */
.article-header { max-width: none; }
.article-category { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-brand-green); margin-bottom: 0.75rem; text-decoration: none; }
.article-category:hover { text-decoration: underline; }

/* ProseBody typography (blog + how-to bodies). 42rem measure owned by ProseBody. */
.prose-body { font-size: 1.0625rem; line-height: 1.75; color: var(--color-neutral-dark); }
.prose-body > p { margin: 0 0 1.25rem; }
.prose-body > h2 { font-size: 1.75rem; line-height: 1.25; letter-spacing: -0.02em; font-weight: 600; color: var(--color-brand-black); margin: 2.5rem 0 1rem; }
.prose-body > h3 { font-size: 1.3rem; line-height: 1.3; font-weight: 600; color: var(--color-brand-black); margin: 2rem 0 0.75rem; }
.prose-body ul, .prose-body ol { margin: 0 0 1.25rem; padding-left: 1.25rem; }
.prose-body li { margin: 0 0 0.6rem; line-height: 1.7; }
.prose-body a { color: var(--color-brand-green); font-weight: 600; text-decoration: none; }
.prose-body a:hover { text-decoration: underline; }
.prose-body strong { color: var(--color-brand-black); font-weight: 700; }
.prose-body blockquote { margin: 2rem 0; padding: 0 0 0 1.5rem; border-left: 3px solid var(--color-brand-green); }
.prose-body blockquote p { font-size: 1.375rem; line-height: 1.45; letter-spacing: -0.015em; color: var(--color-brand-black); font-weight: 500; margin: 0; }
.prose-body img { max-width: 100%; height: auto; border-radius: 0.9rem; margin: 1.75rem 0; }

/* SupportsModule — "Mentioned in this article" (the commercial block; full measure, never shrinks) */
.supports-module { margin-top: 2.5rem; padding: 1.5rem 1.75rem; background: var(--color-off-white); border-radius: 1rem; }
.supports-eyebrow { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-brand-green); margin-bottom: 0.875rem; }
.supports-list { display: flex; flex-direction: column; gap: 0.75rem; }
.supports-item { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--color-neutral-lightest); color: var(--color-brand-black); text-decoration: none; }
.supports-item:last-child { border-bottom: 0; padding-bottom: 0; }
.supports-item-title { display: block; font-size: 1rem; font-weight: 600; line-height: 1.35; }
.supports-item-note { display: block; font-size: 0.875rem; color: var(--color-neutral); margin-top: 0.2rem; line-height: 1.5; }
.supports-item-arrow { color: var(--color-brand-green); font-weight: 600; flex: none; }
.supports-item:hover .supports-item-title { color: var(--color-brand-green); }

/* Keep reading (RelatedLinks kind="support" under the supports module) — titles only */
.article-body .ind-related { margin-top: 2.5rem; }
.article-body .ind-related h2 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.015em; margin: 0 0 1rem; }
.article-body .ind-related ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.article-body .ind-related a { font-size: 1rem; font-weight: 600; color: var(--color-brand-green); text-decoration: none; }
.article-body .ind-related a:hover { text-decoration: underline; }

/* Soft article CTA — one text CTA, no band */
.article-cta { margin-top: 2rem; padding: 1.5rem; background: var(--color-off-white); border-radius: 1rem; display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.article-cta-text { margin: 0; flex: 1; min-width: 16rem; font-size: 1rem; line-height: 1.6; color: var(--color-neutral-dark); }
.article-cta-link { font-size: 0.875rem; font-weight: 600; color: var(--color-brand-black); border-bottom: 1px solid var(--color-brand-black); padding-bottom: 0.2rem; text-decoration: none; flex: none; }
.article-cta-link:hover { color: var(--color-brand-green); border-bottom-color: var(--color-brand-green); }

/* article wrapper: centre the whole column on the measure so header + body align */
.article-body { max-width: 42rem; margin: 0 auto; }

/* How-to: meta bar, prereqs, steps, code, troubleshooting */
.howto-meta { display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 1.25rem 1.5rem; background: var(--color-off-white); border-radius: 0.875rem; margin-bottom: 1.75rem; }
.howto-meta-item { min-width: 8rem; }
.howto-meta-k { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-neutral-light); margin-bottom: 0.3rem; }
.howto-meta-v { font-size: 0.9375rem; font-weight: 600; line-height: 1.4; }
@media (max-width: 767px) { .howto-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; } }

.howto-prereqs { border: 1px solid var(--color-neutral-lightest); border-radius: 0.875rem; padding: 1.5rem 1.75rem; margin-bottom: 2.25rem; }
.howto-prereqs h2 { margin: 0 0 1rem; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.015em; }
.howto-prereqs ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.howto-prereqs li { display: grid; grid-template-columns: 1.25rem minmax(0,1fr); gap: 0.75rem; align-items: baseline; }
.howto-prereqs li::before { content: "\2713"; color: var(--color-brand-green); font-weight: 700; line-height: 1.6; }
.howto-prereqs li span { font-size: 1rem; line-height: 1.6; color: var(--color-neutral-dark); }

.howto-steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2.5rem; }
.howto-step-head { display: flex; align-items: center; gap: 0.875rem; margin-bottom: 0.875rem; }
.howto-step-num { width: 2rem; height: 2rem; border-radius: 50%; background: var(--color-brand-green); color: #fff; display: flex; align-items: center; justify-content: center; font-family: 'SF Mono', Menlo, monospace; font-size: 0.8125rem; font-weight: 700; flex: none; }
.howto-step-rule { height: 1px; flex: 1; background: var(--color-neutral-lightest); }
.howto-step-time { font-family: 'SF Mono', Menlo, monospace; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em; color: var(--color-neutral-light); flex: none; }
.howto-step h2 { margin: 0 0 0.875rem; font-size: 1.5rem; line-height: 1.25; letter-spacing: -0.02em; font-weight: 600; }
.howto-step p { margin: 0 0 1rem; font-size: 1.0625rem; line-height: 1.75; color: var(--color-neutral-dark); }
.howto-code { border: 1px solid #e2e6e4; border-radius: 0.6rem; background: var(--color-off-white); padding: 0.875rem 1.125rem; margin: 0 0 1rem; overflow-x: auto; }
.howto-code code { font-family: 'SF Mono', Menlo, Consolas, monospace; font-size: 0.8125rem; line-height: 1.7; color: var(--color-brand-black); white-space: pre; }

.howto-trouble { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--color-neutral-lightest); }
.howto-trouble h2 { margin: 0 0 1.25rem; font-size: 1.5rem; font-weight: 600; letter-spacing: -0.015em; }
.howto-trouble-rows { display: flex; flex-direction: column; gap: 1rem; }
.howto-trouble-row { display: grid; grid-template-columns: minmax(0,14rem) minmax(0,1fr); gap: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--color-neutral-lightest); }
.howto-trouble-symptom { font-size: 0.9375rem; font-weight: 600; line-height: 1.5; }
.howto-trouble-fix { font-size: 0.9375rem; line-height: 1.65; color: var(--color-neutral); }
@media (max-width: 767px) { .howto-trouble-row { grid-template-columns: 1fr; gap: 0.4rem; } }

/* numbered StickyTOC: "Steps" label + optional footer slot */
.sticky-toc-footer { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--color-neutral-lightest); }

/* Article pages (blog / guide / how-to) open directly with .section-cs.is-first and no hero,
   so the breadcrumb + category collide with the fixed header. Clear it — but only when this
   section is the first child of <main> (listing pages have a hero before it, so they're untouched). */
main > .section-cs.is-first:first-child { padding-top: 9rem; }
@media (max-width: 767px) { main > .section-cs.is-first:first-child { padding-top: 7rem; } }

/* TOC anchor targets (blog h2s + how-to steps) clear the fixed 76px header when jumped to */
.article-layout [id] { scroll-margin-top: 6rem; }
/* how-to steps live inside ProseBody — neutralise the prose <ol> list styling on the step list */
.prose-body .howto-steps { padding-left: 0; margin: 0; }
.prose-body .howto-steps > li { margin: 0; }
/* sticky-toc footer (the how-to rail link under the step list) */
.sticky-toc-footer p { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-neutral-light); margin: 0 0 0.6rem; }
.sticky-toc-footer a { font-size: 0.9rem; font-weight: 600; color: var(--color-neutral-dark); text-decoration: none; }
.sticky-toc-footer a:hover { color: var(--color-brand-green); }

/* AuthorBio — foot-of-article card (blog + how-to) */
.author-bio { display: flex; gap: 1.1rem; align-items: flex-start; margin-top: 2.5rem; padding: 1.5rem 1.75rem; border: 1px solid var(--color-neutral-lightest); border-radius: 1rem; background: var(--color-white); }
.author-bio-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.author-bio-name { font-weight: 700; font-size: 1.05rem; line-height: 1.2; }
.author-bio-role { font-size: 0.85rem; color: var(--color-brand-green); font-weight: 600; margin-top: 0.15rem; }
.author-bio-body p { margin: 0.6rem 0 0; font-size: 0.95rem; line-height: 1.6; color: var(--color-neutral-dark); }
.author-bio-body a { color: var(--color-brand-green); font-weight: 600; text-decoration: none; }
.author-bio-body a:hover { text-decoration: underline; }
@media (max-width: 520px) { .author-bio { flex-direction: column; gap: 0.75rem; } }

/* Resources listing: group header row (heading + View all) */
.res-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: 0 0 1.25rem; flex-wrap: wrap; }
.res-group-head h2 { margin: 0; }
.res-group-all { font-size: 0.9rem; font-weight: 600; color: var(--color-brand-green); text-decoration: none; flex: none; }
.res-group-all:hover { text-decoration: underline; }

/* Resources: full-width listing (card grids want the container, not the 52rem reading measure) */
.ind-body.is-wide { max-width: none; }
/* Resources hero: bird flock instead of a stock image */
.ind-hero-media.has-flock { position: relative; aspect-ratio: 16 / 10; }
.ind-hero-media.has-flock .hero-drone { position: absolute; inset: 0; top: 0; right: auto; width: 100%; height: 100%; transform: none; }

/* About: two founder cards side by side (vertical cards); monogram avatar fallback */
.team-solos { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: stretch; }
.team-solos .team-card.is-solo { flex-direction: column; align-items: flex-start; max-width: none; gap: 1.75rem; }
.team-solos .team-card.is-solo .team-card-avatar { width: 8rem; height: 8rem; }
.team-card-avatar.is-initials { background: var(--color-brand-green); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 2.25rem; letter-spacing: 0.02em; }
@media (max-width: 900px) { .team-solos { grid-template-columns: 1fr; } }

/* Bird flock on the right of every subpage hero (About, listings, index, legal) */
.section-hero.is-subpage { position: relative; }
.section-hero.is-subpage > .padding-global { position: relative; z-index: 1; }
.hero-flock { position: absolute; top: 0; bottom: 0; right: 0; width: 46%; z-index: 0; pointer-events: none; }
.hero-flock .hero-drone { position: absolute; inset: 0; top: 0; right: 0; width: 100%; height: 100%; transform: none; }
@media (max-width: 900px) { .hero-flock { display: none; } }
