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

:root {
  --base:       #FAFAFB;
  --ink:        #0A0E1A;
  --muted:      #5A6172;
  --hairline:   #ECECF1;
  --surface:    #ffffff;
  --indigo:     #4F46E5;
  --indigo-hov: #3730c8;
  --indigo-pale:#EEF2FF;

  /* warm aurora — graphic + keylines ONLY */
  --amber:   #FF9A3D;
  --coral:   #FF4D6D;
  --violet:  #9B5FFF;
  --magenta: #B14BFF;

  --shadow-sm:  0 2px 8px rgba(10,14,26,0.07);
  --shadow-md:  0 8px 28px rgba(10,14,26,0.09);
  --shadow-lg:  0 24px 60px rgba(10,14,26,0.10);
  --shadow-xl:  0 40px 80px rgba(10,14,26,0.13);
  --shadow-card-hover: 0 20px 56px rgba(10,14,26,0.14);

  --radius-card: 12px;
  --max-w: 1200px;
}

html { scroll-behavior: smooth; }

/* ── Keyboard focus (WCAG 2.4.7) ────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 3px;
  border-radius: 2px;
}

body {
  font-family: 'Inter Tight', sans-serif;
  background: var(--base);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 48px;
}

/* ── NAV ────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,251,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.nav-brand svg { width: 28px; height: 28px; flex-shrink: 0; }
.nav-brand svg circle { stroke: var(--indigo); fill: var(--indigo-pale); }
.nav-brand svg line  { stroke: var(--indigo); }

.nav-wordmark {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.nav-links-secondary { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease-out;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1.5px;
  background: var(--indigo);
  transition: width 0.25s ease-out;
}

.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  background: #4338CA;
  color: #fff;
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease-out, transform 0.15s ease-out, box-shadow 0.2s ease-out;
  white-space: nowrap;
}

.btn-primary:hover {
  background: #3730A3;
  box-shadow: 0 6px 20px rgba(67,56,202,0.35);
}

.btn-primary .arrow {
  display: inline-block;
  transition: transform 0.25s ease-out;
}

.btn-primary:hover .arrow { transform: translateX(4px); }

/* Nav CTA keeps white text — override the more-specific .nav-links a color */
.nav-links a.btn-primary,
.nav-links a.btn-primary:hover { color: #fff; }
.nav-links a.btn-primary::after { display: none; }

.btn-hero {
  padding: 14px 28px;
  font-size: 15px;
}

.link-secondary {
  font-size: 15px;
  font-weight: 500;
  color: var(--indigo);
  text-decoration: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease-out, gap 0.25s ease-out;
}

.link-secondary::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: var(--indigo);
  opacity: 0.35;
  transition: opacity 0.25s ease-out;
}

.link-secondary .link-arrow {
  display: inline-block;
  transition: transform 0.25s ease-out;
  font-style: normal;
}

.link-secondary:hover { color: var(--indigo-hov); gap: 10px; }
.link-secondary:hover::after { opacity: 0.65; }
.link-secondary:hover .link-arrow { transform: translateX(3px); }

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  padding-top: 100px;
  padding-bottom: 56px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.hero-text { max-width: 520px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}

.hero-eyebrow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--indigo);
  opacity: 0.5;
  flex-shrink: 0;
}

.hero-h1 {
  font-size: clamp(2.8rem, 3.8vw, 4.2rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.032em;
  color: var(--ink);
  margin-bottom: 26px;
}

.hero-h1 em {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: 17px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 44px;
  max-width: 420px;
  /* floor at 16px on narrow viewports via clamp */
  font-size: clamp(16px, 1.5vw + 0.5rem, 17px);
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 26px;
}

/* ── HERO GRAPHIC ───────────────────────────────────────────── */
.hero-graphic {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-graphic-wrap {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 3 / 2;
}

.graphic-panel {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.graphic-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 62% 44%, rgba(255,154,61,0.065) 0%, transparent 70%),
    radial-gradient(ellipse 55% 45% at 48% 56%, rgba(255,77,109,0.055) 0%, transparent 65%),
    radial-gradient(ellipse 45% 40% at 55% 38%, rgba(177,75,255,0.045) 0%, transparent 60%);
  pointer-events: none;
}

/* ── HERO ECOSYSTEM IMAGE ───────────────────────────────────── */
.hero-eco-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 24px;
  display: block;
}

/* ── THREADED LUMINOUS MOTIF ─────────────────────────────────── */
/* Absolute wrapper spanning the full document — SVG fills it */
.page-thread {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

body {
  position: relative; /* establishes containing block for .page-thread */
}

/* ── MANIFESTO ───────────────────────────────────────────────── */
.manifesto {
  position: relative;
  padding-block: 80px 120px;
  overflow: hidden;
}

.manifesto-aurora {
  position: absolute;
  top: 0; right: -120px;
  width: 680px;
  height: 680px;
  pointer-events: none;
  z-index: 0;
}

.manifesto-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 48px;
}

.manifesto-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 52px;
}

.manifesto-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--amber);
  opacity: 0.6;
}

.manifesto-statement {
  max-width: 900px;
}

.manifesto-h2 {
  font-size: clamp(3rem, 6vw, 5.8rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 0;
}

.manifesto-h2 em {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.02em;
}

.manifesto-aside {
  margin-top: 52px;
  padding-left: 2px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
  max-width: 760px;
}

.manifesto-aside-rule {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.manifesto-aside-rule::before {
  content: '';
  display: block;
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--amber), var(--coral));
  opacity: 0.5;
}

.manifesto-aside p {
  font-size: 16px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 0;
}

/* ── MANIFESTO ENTRANCE ─────────────────────────────────────── */
/* Visible by default (no-JS / no-motion fallback) */
.manifesto-statement {
  max-width: 900px;
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* When JS opts in, start hidden until observed */
.manifesto-statement.js-reveal {
  opacity: 0;
  transform: translateY(28px);
}

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

@media (prefers-reduced-motion: reduce) {
  .manifesto-statement.js-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ── SELECTED WORK BANDS ─────────────────────────────────────── */
.work-bands {
  padding-block: 80px 60px;
  position: relative;
}

.work-bands-header {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 48px;
  margin-bottom: 80px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.work-bands-header-left {
  max-width: 480px;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--indigo);
  opacity: 0.5;
}

.work-bands-h2 {
  font-size: clamp(2rem, 3vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.032em;
  line-height: 1.08;
  color: var(--ink);
}

.work-bands-h2 em {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-weight: 300;
}

/* Individual band */
.work-band {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--hairline);
  padding-block: 0;
}

.work-band:last-of-type {
  border-bottom: 1px solid var(--hairline);
}

.work-band-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 480px;
}

.work-band.band-flip .work-band-inner {
  direction: rtl;
}

.work-band.band-flip .work-band-inner > * {
  direction: ltr;
}

.work-band-content {
  padding-block: 72px;
  padding-right: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.work-band.band-flip .work-band-content {
  padding-right: 0;
  padding-left: 80px;
}

.band-index {
  position: absolute;
  top: 50%;
  right: calc(100% - 24px);
  transform: translateY(-50%);
  font-size: clamp(6rem, 10vw, 11rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  color: var(--ink);
  opacity: 0.045;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.work-band.band-flip .band-index {
  right: auto;
  left: calc(100% - 24px);
}

.band-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.band-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.band-name {
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.038em;
  line-height: 1.06;
  color: var(--ink);
  margin-bottom: 20px;
}

.band-name em {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-weight: 300;
}

.band-story {
  font-size: clamp(16px, 1.4vw + 0.4rem, 17px);
  font-weight: 400;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 380px;
}

.band-metric {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin-bottom: 36px;
}

.band-metric-line {
  display: block;
  width: 20px;
  height: 1px;
  background: linear-gradient(to right, var(--amber), var(--coral));
  opacity: 0.7;
}

.band-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--indigo);
  text-decoration: none;
  transition: gap 0.25s ease-out;
}

.band-link:hover { gap: 14px; }

/* Graphic panel */
.work-band-graphic {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.work-band-graphic::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hairline);
  opacity: 0.4;
}

/* Scroll reveal */
.work-band {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

/* Staggered reveal delay per band */
.work-band:nth-child(1) { transition-delay: 0ms; }
.work-band:nth-child(2) { transition-delay: 80ms; }
.work-band:nth-child(3) { transition-delay: 160ms; }
.work-band:nth-child(4) { transition-delay: 240ms; }

/* ── SERVICES TRIPTYCH ───────────────────────────────────────── */
.services-section {
  position: relative;
  padding-block: 140px 120px;
  overflow: hidden;
}

.services-bg-light {
  position: absolute;
  bottom: -200px;
  left: -100px;
  width: 700px;
  height: 700px;
  pointer-events: none;
  z-index: 0;
}

.services-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 48px;
}

.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 96px;
}

.services-h2 {
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.034em;
  line-height: 1.07;
  color: var(--ink);
}

.services-h2 em {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-weight: 300;
}

.services-header-right {
  padding-bottom: 6px;
}

.services-header-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

/* Triptych layout — three panels in asymmetric flow */
.services-triptych {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 2px;
  position: relative;
}

.svc-panel {
  background: var(--surface);
  border: 1px solid var(--hairline);
  position: relative;
  overflow: hidden;
  padding: 56px 48px 64px;
  display: flex;
  flex-direction: column;
}

.svc-panel:first-child {
  border-radius: 12px 0 0 12px;
}

.svc-panel:last-child {
  border-radius: 0 12px 12px 0;
}

/* Diagonal keyline accent */
.svc-panel::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
}

.svc-panel-build::after {
  background: linear-gradient(to right, var(--amber), var(--coral));
}

.svc-panel-grow::after {
  background: linear-gradient(to right, var(--coral), var(--magenta));
}

.svc-panel-scale::after {
  background: linear-gradient(to right, var(--violet), var(--indigo));
}

/* Middle panel: slightly elevated */
.svc-panel-grow {
  margin-top: -24px;
  margin-bottom: -24px;
  border-radius: 0;
  box-shadow: var(--shadow-lg);
  z-index: 1;
}

.svc-numeral {
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
  opacity: 0.07;
  color: var(--ink);
  margin-bottom: 28px;
  font-variant-numeric: tabular-nums;
}

.svc-name {
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 20px;
}

.svc-name em {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-weight: 300;
}

.svc-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: auto;
}

.svc-items {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.svc-item {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}

.svc-item::before {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
}

.svc-panel-grow .svc-item::before {
  background: var(--coral);
}

.svc-panel-scale .svc-item::before {
  background: var(--indigo);
}

.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--indigo);
  text-decoration: none;
  margin-top: 44px;
  transition: gap 0.2s ease-out;
}

.svc-link:hover { gap: 14px; }

/* ── PRICING STATEMENT ───────────────────────────────────────── */
.pricing-section {
  padding-block: 120px;
  position: relative;
  overflow: hidden;
}

.pricing-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 48px;
}

.pricing-hero-left {}

.pricing-hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--amber);
  opacity: 0.7;
}

.pricing-hero-price {
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 16px;
}

.pricing-hero-sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 340px;
}

.pricing-tiers-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-tiers-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--indigo);
  opacity: 0.5;
}

/* Quote-anchor pricing card — one starting price, scoped on a call,
   rather than named tiers with fixed breakpoints. */
.quote-anchor-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding: 44px 48px;
  background: var(--surface);
  border: 1px solid transparent;
  border-radius: 12px;
  box-shadow: var(--shadow-md), 0 0 0 1.5px rgba(79,70,229,0.2), 0 0 40px rgba(79,70,229,0.06);
  margin-bottom: 40px;
}

.quote-anchor-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.quote-anchor-headline {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.28;
  color: var(--ink);
}

.quote-anchor-note {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-top: 14px;
  max-width: 340px;
}

.quote-anchor-price-line {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 18px;
}

.quote-anchor-price-inline {
  font-weight: 700;
  color: var(--ink);
}

.quote-anchor-includes-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.pricing-footnote-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.pricing-footnote-note {
  font-size: 13px;
  color: var(--muted);
}

.pricing-see-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--indigo);
  text-decoration: none;
  transition: gap 0.2s ease-out;
}

.pricing-see-all:hover { gap: 14px; }

/* ── CLOSING CTA ─────────────────────────────────────────────── */
.closing-dramatic {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border-top: 1px solid var(--hairline);
  padding-block: 160px 120px;
  text-align: center;
}

.closing-aurora {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 600px;
  pointer-events: none;
  z-index: 0;
}

.closing-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 48px;
}

.closing-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.closing-label::before,
.closing-label::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--amber));
  opacity: 0.5;
}

.closing-label::after {
  background: linear-gradient(to left, transparent, var(--coral));
}

.closing-h2-dramatic {
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.04;
  color: var(--ink);
  max-width: 740px;
  margin-inline: auto;
  margin-bottom: 36px;
}

.closing-h2-dramatic em {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-weight: 300;
}

.closing-sub-dramatic {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 440px;
  margin-inline: auto;
  margin-bottom: 56px;
}

/* ── REFINED FOOTER ──────────────────────────────────────────── */
.footer-refined {
  background: var(--surface);
  border-top: 1px solid var(--hairline);
  padding-block: 44px;
}

.footer-refined-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-refined-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.footer-refined-brand svg { width: 22px; height: 22px; }
.footer-refined-brand svg circle { stroke: var(--indigo); fill: var(--indigo-pale); }
.footer-refined-brand svg line  { stroke: var(--indigo); }

.footer-refined-wordmark {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.footer-refined-details {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  /* 17 children (9 items + 8 separators) inside a 1200px-capped shell: at 20px
     the row overflows by ~17px and wraps. The · separators carry the visual
     spacing, so a tighter gap reads the same and keeps it on one line. */
  column-gap: 10px;
  row-gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

/* Each item stays on one line — the row wraps BETWEEN items, never mid-phrase.
   Without this, a flex row that runs out of width squeezes each child until its
   own text breaks ("Book a / call", "(210) 255- / 2291"). */
.footer-refined-details > * {
  white-space: nowrap;
}

.footer-refined-details a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease-out;
}

.footer-refined-details a:hover {
  color: var(--ink);
}

.footer-refined-sep {
  color: var(--hairline);
  user-select: none;
}

.footer-copy-small {
  font-size: 12px;
  color: var(--muted); /* AA-safe at full opacity; keep >= 4.5:1 */
}

/* NOTE: the "Built by Bexar Labs" credit never appears on bexarlabs.co itself —
   it is a client-site signature only. See docs/BUILT_BY_FOOTER.md. */

/* ── SCREENSHOT FRAMES ───────────────────────────────────────── */

/* Shared wrapper: glow behind + frame in front */
.band-preview-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 40px 48px;
}

/* Aurora glow disc behind the frame */
.band-preview-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* ── Browser frame (landscape) ── */
.browser-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  border-radius: 12px;
  border: 0.5px solid rgba(10,14,26,0.12);
  background: #fff;
  box-shadow:
    0 4px 16px rgba(10,14,26,0.08),
    0 16px 48px rgba(10,14,26,0.12),
    0 32px 72px rgba(10,14,26,0.08);
  overflow: hidden;
  transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

.browser-frame:hover {
  transform: translateY(-4px);
  box-shadow:
    0 8px 24px rgba(10,14,26,0.10),
    0 24px 64px rgba(10,14,26,0.16),
    0 40px 88px rgba(10,14,26,0.10);
}

/* Top chrome bar with traffic lights */
.browser-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #F2F2F7;
  border-bottom: 1px solid rgba(10,14,26,0.07);
  flex-shrink: 0;
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.browser-dot-red   { background: #FF5F57; }
.browser-dot-amber { background: #FFBD2E; }
.browser-dot-green { background: #28C840; }

.browser-screen {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  vertical-align: top;
}

/* ── Phone frame (portrait) ── */
.phone-frame {
  position: relative;
  z-index: 1;
  width: 200px;
  border-radius: 28px;
  border: 6px solid #1C1C1E;
  background: #1C1C1E;
  box-shadow:
    0 4px 16px rgba(10,14,26,0.14),
    0 20px 56px rgba(10,14,26,0.18),
    0 40px 80px rgba(10,14,26,0.12),
    inset 0 0 0 1px rgba(255,255,255,0.08);
  overflow: hidden;
  transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

.phone-frame:hover {
  transform: translateY(-4px);
  box-shadow:
    0 8px 24px rgba(10,14,26,0.18),
    0 28px 72px rgba(10,14,26,0.22),
    0 48px 96px rgba(10,14,26,0.14),
    inset 0 0 0 1px rgba(255,255,255,0.10);
}

/* Notch bar */
.phone-notch {
  width: 100%;
  height: 28px;
  background: #1C1C1E;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.phone-notch-pill {
  width: 60px;
  height: 10px;
  border-radius: 10px;
  background: #2C2C2E;
}

.phone-screen {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  vertical-align: top;
  border-radius: 0 0 22px 22px;
}

/* Mobile: frame fills column, phone stays centered */
@media (max-width: 768px) {
  .band-preview-wrap {
    padding: 28px 20px;
    min-height: 260px;
  }

  .browser-frame {
    max-width: 100%;
  }

  .phone-frame {
    width: 160px;
  }
}

@media (max-width: 480px) {
  .band-preview-wrap {
    padding: 20px 16px;
    min-height: 220px;
  }

  .phone-frame {
    width: 140px;
  }
}

/* ── CASE-STUDY BAND ENRICHMENTS ────────────────────────────── */
.band-meta {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 14px;
  opacity: 0.75;
}

.band-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}

.band-service-tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 3px 10px;
  background: transparent;
  white-space: nowrap;
}

.band-case-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--indigo);
  text-decoration: none;
  margin-top: 8px;
  transition: gap 0.25s ease-out;
}

.band-case-link:hover { gap: 13px; }

/* ── WORK BANDS HEADER SUBHEAD ───────────────────────────────── */
.work-bands-subhead {
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 12px;
  max-width: 380px;
}

/* ── PRICING ENRICHMENTS ─────────────────────────────────────── */
.pricing-reassurance {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-reassurance::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 1px;
  background: linear-gradient(to right, var(--amber), var(--coral));
  opacity: 0.6;
  flex-shrink: 0;
}

/* Beyond the build — add-ons section */
.addons-section {
  margin-top: 80px;
  padding-top: 64px;
  border-top: 1px solid var(--hairline);
}

.addons-header {
  margin-bottom: 36px;
}

.addons-h3 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 12px;
}

.addons-h3 em {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-weight: 300;
}

.addons-intro {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 560px;
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.addon-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 20px 22px 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.22s ease-out, transform 0.22s ease-out;
  position: relative;
}

.addon-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(to right, var(--amber), var(--coral));
  opacity: 0;
  transition: opacity 0.22s ease-out;
}

.addon-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.addon-card:hover::before {
  opacity: 0.55;
}

.addon-card-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 5px;
}

.addon-card-price {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: auto;
}

.addon-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--indigo);
  text-decoration: none;
  margin-top: 14px;
  letter-spacing: 0.01em;
  transition: gap 0.2s ease-out;
}

.addon-card-link:hover { gap: 9px; }

/* ── Animations ─────────────────────────────────────────────── */
@keyframes thread-pulse {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 0.9; }
}

/* ── Reduced motion guard ───────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .work-band {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — ≤ 900px: hide threaded spine
═══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  #page-thread-svg,
  .page-thread {
    display: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — ≤ 768px: mobile layout
═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── Global overflow guard ──────────────────────────────────── */
  html, body {
    overflow-x: hidden;
  }

  /* ── Container padding ──────────────────────────────────────── */
  .container {
    padding-inline: 20px;
  }

  /* ── NAV ──────────────────────────────────────────────────────
     Keep logo left + CTA right, single row, hide link list
  ──────────────────────────────────────────────────────────── */
  .nav-inner {
    height: 56px;
  }

  .nav-links {
    gap: 0;
    margin-left: auto;
  }

  /* Hide the text link items (Work / Services / Pricing) */
  .nav-links li:not(:last-child) {
    display: none;
  }

  /* Shrink the CTA button slightly */
  .nav-links .btn-primary {
    padding: 7px 14px;
    font-size: 13px;
  }

  /* Second row: keep Work/Services/Pricing one tap away instead of hidden */
  .nav-links-secondary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 8px 0 10px;
    border-top: 1px solid var(--hairline);
  }

  .nav-links-secondary a {
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    padding: 11px 10px;
    margin: -11px -10px;
    display: inline-block;
  }

  .nav-links-secondary a:hover,
  .nav-links-secondary a:active {
    color: var(--ink);
  }

  /* ── HERO ─────────────────────────────────────────────────────
     Single column: text first, graphic below (full-width)
  ──────────────────────────────────────────────────────────── */
  .hero {
    padding-top: 56px;
    padding-bottom: 56px;
    overflow: hidden;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-h1 {
    font-size: clamp(2.2rem, 8vw, 3rem);
    margin-bottom: 20px;
  }

  .hero-sub {
    font-size: 16px;
    margin-bottom: 32px;
    max-width: 100%;
  }

  .hero-cta-row {
    flex-wrap: wrap;
    gap: 16px;
  }

  /* Graphic: full-width panel, fixed height */
  .hero-graphic {
    width: 100%;
    order: 2; /* ensures graphic stays below text */
  }

  .hero-graphic-wrap {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 3 / 2;
    height: auto;
    animation: none; /* avoid float jitter at small sizes */
  }

  /* ── MANIFESTO ────────────────────────────────────────────────
     Shrink oversized headline, stack aside cols, contain aurora
  ──────────────────────────────────────────────────────────── */
  .manifesto {
    padding-block: 64px 56px;
    overflow: hidden;
  }

  /* Contain aurora SVG so it doesn't push width */
  .manifesto-aurora {
    width: 380px;
    height: 380px;
    right: -80px;
    top: -40px;
    opacity: 0.6;
  }

  .manifesto-inner {
    padding-inline: 20px;
  }

  .manifesto-h2 {
    font-size: clamp(2.2rem, 8.5vw, 3rem);
  }

  /* Stack the two-column aside into single column */
  .manifesto-aside {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  /* Hide the decorative rule column on mobile */
  .manifesto-aside-rule {
    display: none;
  }

  /* ── WORK BANDS — HEADER ──────────────────────────────────────*/
  .work-bands {
    padding-block: 56px 40px;
  }

  .work-bands-header {
    padding-inline: 20px;
    margin-bottom: 48px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .work-bands-h2 {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }

  /* ── WORK BANDS — INDIVIDUAL BANDS ───────────────────────────
     Single column: content then graphic. Remove rtl flip.
     Remove min-height and large paddings.
  ──────────────────────────────────────────────────────────── */
  .work-band-inner {
    grid-template-columns: 1fr;
    min-height: unset;
    padding-inline: 20px;
  }

  /* Override the direction:rtl flip — all bands stack same way */
  .work-band.band-flip .work-band-inner {
    direction: ltr;
  }

  .work-band-content {
    padding-block: 40px 28px;
    padding-right: 0;
  }

  .work-band.band-flip .work-band-content {
    padding-left: 0;
    padding-right: 0;
  }

  /* Shrink and reposition the ghosted index numerals */
  .band-index {
    font-size: 4rem;
    position: static;
    transform: none;
    display: block;
    margin-bottom: -24px;
    opacity: 0.04;
    line-height: 1;
  }

  .work-band.band-flip .band-index {
    left: auto;
    right: auto;
  }

  .band-name {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
  }

  .band-story {
    max-width: 100%;
  }

  /* Graphic: appear below content, min-height so phone frames aren't clipped */
  .work-band-graphic {
    width: 100%;
    min-height: 280px;
    height: auto;
    border-radius: var(--radius-card);
    margin-bottom: 40px;
    overflow: hidden;
  }

  /* ── SERVICES TRIPTYCH ────────────────────────────────────────
     Single column, remove Grow panel offset
  ──────────────────────────────────────────────────────────── */
  .services-section {
    padding-block: 64px 56px;
    overflow: hidden;
  }

  /* Contain background light SVG */
  .services-bg-light {
    width: 400px;
    height: 400px;
    left: -120px;
    bottom: -100px;
    opacity: 0.5;
  }

  .services-inner {
    padding-inline: 20px;
  }

  /* Stack the header two-column grid */
  .services-header {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 48px;
  }

  .services-h2 {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
  }

  /* Single-column triptych */
  .services-triptych {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Remove the elevated offset on the Grow panel */
  .svc-panel-grow {
    margin-top: 0;
    margin-bottom: 0;
    border-radius: var(--radius-card);
  }

  /* Even border-radius for all panels */
  .svc-panel:first-child {
    border-radius: var(--radius-card);
  }

  .svc-panel:last-child {
    border-radius: var(--radius-card);
  }

  .svc-panel {
    padding: 40px 32px 48px;
  }

  .svc-numeral {
    font-size: 48px;
  }

  .svc-name {
    font-size: clamp(1.6rem, 6vw, 2rem);
  }

  /* ── PRICING ──────────────────────────────────────────────────
     Stack hero moment and tier grid to single column
  ──────────────────────────────────────────────────────────── */
  .pricing-section {
    padding-block: 64px 56px;
    overflow: hidden;
  }

  .pricing-inner {
    padding-inline: 20px;
  }

  .pricing-hero-price {
    font-size: clamp(3rem, 11vw, 5rem);
  }

  /* Stack the quote-anchor card on small screens */
  .quote-anchor-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 24px;
  }

  /* Footnote row: stack on very small screens */
  .pricing-footnote-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* ── CLOSING CTA ──────────────────────────────────────────────
     Scale headline; contain aurora glow
  ──────────────────────────────────────────────────────────── */
  .closing-dramatic {
    padding-block: 72px 64px;
    overflow: hidden;
  }

  /* Contain the aurora so it doesn't overflow horizontally */
  .closing-aurora {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .closing-inner {
    padding-inline: 20px;
  }

  .closing-h2-dramatic {
    font-size: clamp(2rem, 8vw, 3rem);
    max-width: 100%;
  }

  .closing-sub-dramatic {
    font-size: 15px;
    max-width: 100%;
    margin-bottom: 40px;
  }

  /* ── CASE-STUDY BAND ENRICHMENTS (mobile) ────────────────────*/
  .band-service-tags {
    flex-wrap: wrap;
  }

  .band-service-tag {
    font-size: 10px;
    padding: 2px 8px;
  }

  .band-meta {
    font-size: 10px;
  }

  .work-bands-subhead {
    max-width: 100%;
    font-size: 14px;
  }

  /* ── ADD-ONS GRID (mobile) ────────────────────────────────────*/
  .addons-section {
    margin-top: 48px;
    padding-top: 40px;
  }

  .addons-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .addon-card {
    padding: 18px 20px 16px;
  }

  /* ── FOOTER ───────────────────────────────────────────────────
     Stack brand + details vertically
  ──────────────────────────────────────────────────────────── */
  .footer-refined {
    padding-block: 36px;
  }

  .footer-refined-inner {
    padding-inline: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-refined-details {
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
  }

} /* end @media (max-width: 768px) */

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — ≤ 480px: extra-small phones
═══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {

  .hero-h1 {
    font-size: 2.2rem;
  }

  .manifesto-h2 {
    font-size: 2.2rem;
  }

  .closing-h2-dramatic {
    font-size: 2rem;
  }

  .hero-graphic-wrap {
    aspect-ratio: 3 / 2;
    height: auto;
  }

  .work-band-graphic {
    min-height: 240px;
    height: auto;
  }

  /* Shrink the nav CTA further */
  .nav-links .btn-primary {
    padding: 6px 12px;
    font-size: 12px;
  }

} /* end @media (max-width: 480px) */


/* ══════════════════════════════════════════════════════════════
   EDITORIAL DEVICE 1 — VERTICAL STUDIO LABEL
══════════════════════════════════════════════════════════════ */
.studio-label-vert {
  position: absolute;
  left: 28px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.5;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  z-index: 2;
}

/* Hero must be position:relative for the label to anchor */
.hero {
  position: relative;
}

/* Hide unless there's real gutter room to the left of the content */
@media (max-width: 1080px) {
  .studio-label-vert {
    display: none;
  }
}

/* ══════════════════════════════════════════════════════════════
   EDITORIAL DEVICE 2 — SERVICES MARQUEE STRIP
══════════════════════════════════════════════════════════════ */
.marquee-strip {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
  position: relative;
  background: var(--base);
  /* flex so marquee and rating sit side by side */
  display: flex;
  align-items: stretch;
}

.marquee-track-wrap {
  flex: 1 1 0;
  overflow: hidden;
  /* clip the scrolling text */
  min-width: 0;
  display: flex;
  align-items: center;
}

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

.marquee-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  /* static fallback — reduced-motion sees this */
}

@media (prefers-reduced-motion: no-preference) {
  .marquee-track {
    /* Duration scales with copy length: each copy holds 4 repetitions of
       the phrase, so 128s keeps the same px/s speed as 32s did for one. */
    animation: marquee-scroll 128s linear infinite;
  }
}


.marquee-text {
  display: inline;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.55;
  padding: 14px 0;
  white-space: nowrap;
  /* No right padding: the copy ends with "— " (nbsp), so the seam between
     the two copies reads exactly like every internal separator. Extra
     padding here widens the seam and breaks the marquee's rhythm. */
}

/* ══════════════════════════════════════════════════════════════
   EDITORIAL DEVICE 3b — TESTIMONIAL BLOCK
══════════════════════════════════════════════════════════════ */
.testimonial-section {
  padding-block: 96px;
  border-top: 1px solid var(--hairline);
  position: relative;
  overflow: hidden;
}

.testimonial-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.testimonial-rule {
  display: block;
  width: 32px;
  height: 2px;
  background: linear-gradient(to right, var(--amber), var(--coral));
  opacity: 0.5;
  margin-bottom: 32px;
  flex-shrink: 0;
}

.testimonial-quote {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
  line-height: 1.42;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 740px;
  margin-bottom: 32px;
}

.testimonial-attribution {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--muted);
  font-style: normal;
}

@media (max-width: 768px) {
  .testimonial-section {
    padding-block: 64px;
  }

  .testimonial-inner {
    padding-inline: 20px;
  }

  .testimonial-quote {
    font-size: clamp(1.3rem, 6vw, 1.6rem);
  }
}

/* ── Project Scoper: guided intake panel ────────────────────────── */
body.scoper-lock {
  overflow: hidden;
}

.scoper-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 26, 0.45);
  backdrop-filter: blur(2px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease-out;
}

.scoper-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.scoper-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 420px;
  max-width: 100vw;
  background: var(--surface);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.scoper-overlay.is-open .scoper-panel {
  transform: translateX(0);
}

.scoper-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 24px 20px;
  border-bottom: 1px solid var(--hairline);
}

.scoper-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 6px;
}

.scoper-subhead {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}

.scoper-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: none;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s ease-out, border-color 0.15s ease-out;
}

.scoper-close:hover {
  color: var(--ink);
  border-color: var(--muted);
}

.scoper-thread {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.scoper-bubble {
  max-width: 88%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.55;
}

.scoper-bubble-bot {
  align-self: flex-start;
  background: var(--base);
  border: 1px solid var(--hairline);
  color: var(--ink);
  border-bottom-left-radius: 4px;
}

.scoper-bubble-user {
  align-self: flex-end;
  background: var(--indigo);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.scoper-choices {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: stretch;
}

.scoper-choice-btn {
  text-align: left;
  padding: 11px 16px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s ease-out, background 0.15s ease-out;
}

.scoper-choice-btn:hover {
  border-color: var(--indigo);
  background: var(--indigo-pale);
}

.scoper-capture {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 4px;
}

.scoper-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.scoper-field em {
  font-style: normal;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.scoper-field input,
.scoper-field select,
.scoper-field textarea {
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
  padding: 10px 12px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: var(--surface);
  resize: vertical;
  width: 100%;
}

.scoper-field input:focus,
.scoper-field select:focus,
.scoper-field textarea:focus {
  outline: 2px solid var(--indigo);
  outline-offset: 1px;
}

.scoper-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.scoper-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  background: #4338CA;
  color: #fff;
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease-out, opacity 0.15s ease-out;
}

.scoper-submit:hover {
  background: var(--indigo-hov);
}

.scoper-submit:disabled {
  opacity: 0.6;
  cursor: default;
}

.scoper-status {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.scoper-status a {
  color: var(--indigo);
}

@media (max-width: 480px) {
  .scoper-panel {
    width: 100vw;
  }
}

/* ── Insights index ──────────────────────────────────────────────── */
.insights-page-header {
  padding-block: 96px 0;
  position: relative;
  overflow: hidden;
}

.insights-page-header-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 48px;
}

.insights-page-h1 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -0.038em;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 20px;
}

.insights-page-h1 em {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-weight: 300;
}

.insights-page-lead {
  font-size: clamp(16px, 1.5vw + 0.4rem, 18px);
  font-weight: 400;
  color: var(--muted);
  line-height: 1.65;
  max-width: 540px;
}

.insights-list {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 64px 48px 120px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--hairline);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.insights-card {
  background: var(--base);
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 32px;
  align-items: start;
  text-decoration: none;
  transition: background 0.2s ease-out;
}

.insights-card:hover {
  background: var(--surface);
}

.insights-card-date {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  padding-top: 4px;
}

.insights-card-title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 10px;
}

.insights-card-excerpt {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 640px;
}

.insights-card-arrow {
  color: var(--indigo);
  font-size: 20px;
  padding-top: 6px;
  transition: transform 0.2s ease-out;
}

.insights-card:hover .insights-card-arrow {
  transform: translateX(4px);
}

@media (max-width: 700px) {
  .insights-page-header-inner {
    padding-inline: 20px;
  }
  .insights-page-h1 {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }
  .insights-list {
    padding-inline: 20px;
  }
  .insights-card {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 28px 4px;
  }
  .insights-card-arrow {
    display: none;
  }
}

/* ── Article page ────────────────────────────────────────────────── */
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  margin: 32px 0 0 48px;
  transition: color 0.2s ease-out;
}

.article-back:hover {
  color: var(--ink);
}

.article-header {
  padding-block: 32px 40px;
  border-bottom: 1px solid var(--hairline);
}

.article-header-inner {
  max-width: 720px;
  margin-inline: auto;
  padding-inline: 48px;
}

.article-h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
  margin: 16px 0 20px;
}

.article-dek {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.article-meta {
  font-size: 13px;
  color: var(--muted);
  margin-top: 24px;
}

.article-body {
  max-width: 720px;
  margin-inline: auto;
  padding: 56px 48px 40px;
}

.article-body p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 22px;
}

.article-body h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 48px 0 18px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 22px;
  padding-left: 22px;
}

.article-body li {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 10px;
}

.article-body li strong {
  font-weight: 700;
}

.article-body a {
  color: var(--indigo);
  text-decoration: underline;
  text-decoration-color: var(--hairline);
  text-underline-offset: 3px;
}

.article-body a:hover {
  text-decoration-color: var(--indigo);
}

@media (max-width: 700px) {
  .article-back {
    margin-inline: 20px;
  }
  .article-header-inner,
  .article-body {
    padding-inline: 20px;
  }
}

/* ── AI Visibility Checker ───────────────────────────────────────── */
.checker-section {
  padding-block: 8px 64px;
}

.checker-inner {
  max-width: 720px;
  margin-inline: auto;
  padding-inline: 48px;
}

.checker-form {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
}

.checker-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin-bottom: 8px;
}

.checker-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.checker-row input {
  flex: 1;
  min-width: 200px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 16px;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: var(--base);
}

.checker-row input:focus {
  outline: 2px solid var(--indigo);
  outline-offset: 1px;
}

.checker-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  background: #4338CA;
  color: #fff;
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease-out, opacity 0.15s ease-out;
  white-space: nowrap;
}

.checker-submit:hover {
  background: var(--indigo-hov);
}

.checker-submit:disabled {
  opacity: 0.6;
  cursor: default;
}

.checker-status {
  font-size: 13px;
  color: var(--coral);
  margin-top: 12px;
}

.checker-results {
  margin-top: 28px;
}

.checker-score {
  font-size: 15px;
  font-weight: 600;
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 16px;
  background: var(--base);
  border: 1px solid var(--hairline);
  color: var(--ink);
}

.checker-score.is-good {
  background: #EEFBF3;
  border-color: #BFEBD1;
  color: #1D7A45;
}

.checker-score.is-bad {
  background: #FDEEF0;
  border-color: #F5C6CE;
  color: #B3273F;
}

.checker-result-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.checker-result-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--surface);
}

.checker-result-icon {
  flex: none;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
}

.checker-result-item.is-pass .checker-result-icon {
  background: #EEFBF3;
  color: #1D7A45;
}

.checker-result-item.is-fail .checker-result-icon {
  background: #FDEEF0;
  color: #B3273F;
}

.checker-result-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.checker-result-detail {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 700px) {
  .checker-inner {
    padding-inline: 20px;
  }
  .checker-row {
    flex-direction: column;
  }
  .checker-submit {
    width: 100%;
  }
}

/* ── Lead Cost Calculator ────────────────────────────────────────── */
.calc-field {
  margin-bottom: 18px;
}

.calc-field input {
  width: 100%;
  font-family: 'Inter Tight', sans-serif;
  font-size: 16px;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: var(--base);
}

.calc-field input:focus {
  outline: 2px solid var(--indigo);
  outline-offset: 1px;
}

.calc-submit {
  width: 100%;
  margin-top: 4px;
}

.calc-results {
  text-align: center;
}

.calc-result-figure {
  padding: 36px 24px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
}

.calc-result-amount {
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.calc-result-label {
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}

.calc-result-note {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 16px;
}

/* ── FREE TOOLS BAND (home) ─────────────────────────────────── */
.tools-band {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 8px 48px 88px;
}

.tools-band-h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.tools-band-h2 em {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-weight: 300;
}

.tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}

.tool-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 32px 32px 34px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s ease-out, transform 0.2s ease-out;
}

.tool-card:hover {
  border-color: var(--indigo);
  transform: translateY(-2px);
}

.tool-card-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--indigo);
}

.tool-card-title {
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.tool-card-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

.tool-card-cta {
  margin-top: auto;
  padding-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--indigo);
}

@media (max-width: 968px) {
  .tools-band { padding-inline: 24px; }
  .tools-grid { grid-template-columns: 1fr; }
}

/* ── SCOPER / FORM SMS-CONSENT DISCLOSURE ───────────────────── */
.scoper-hint {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 2px;
}

.scoper-consent {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 6px;
}

.scoper-consent a { color: var(--indigo); text-decoration: none; }
.scoper-consent a:hover { text-decoration: underline; }

/* ── STICKY MOBILE ACTION BAR ───────────────────────────────── */
/* Fixed overlay (no layout shift); pages without the bar reserve no
   space thanks to the :has() guard. Suppressed on /book by simply not
   rendering the markup there. */
.mobile-action-bar { display: none; }

@media (max-width: 768px) {
  .mobile-action-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    position: fixed;
    /* The bar is a <nav>, so unset the global sticky-top nav styles —
       without top:auto the fixed element anchors top AND bottom and
       stretches over the whole viewport. */
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 60;
    background: var(--hairline);
    border-top: 1px solid var(--hairline);
    border-bottom: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .mobile-action-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--base);
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    padding: 15px 0;
    text-decoration: none;
  }

  .mobile-action-bar a.is-primary {
    background: #4338CA;
    color: #fff;
  }

  body:has(.mobile-action-bar) {
    padding-bottom: calc(54px + env(safe-area-inset-bottom));
  }
}

/* ── A11Y: watermark numerals render via pseudo-content ───────
   The ghost section numbers are decorative watermarks at 5-7%
   opacity — as real text nodes they fail WCAG contrast audits.
   Rendering the digits from data-n keeps the identical look
   without being audited text. */
.svc-numeral::before,
.outcome-numeral::before {
  content: attr(data-n);
}

/* ── A11Y: links inside prose blocks get underlines ───────────
   Color alone doesn't distinguish a link from surrounding text
   (WCAG 1.4.1 / axe link-in-text-block). */
.legal-body a,
.legal-summary a,
.lead-consent a,
.scoper-consent a,
.contact-alt a,
.book-alt a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── INLINE EMAIL CAPTURE (free-tool pages) ─────────────────── */
.subscribe-block {
  margin-top: 48px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 28px 30px;
}

.subscribe-block h2 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 6px;
}

.subscribe-block > p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.subscribe-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.subscribe-form input[type="email"] {
  flex: 1 1 220px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--base);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 11px 14px;
}

.subscribe-form input[type="email"]:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 1px;
  border-color: var(--indigo);
}

.subscribe-form button {
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: #4338CA;
  border: none;
  border-radius: 10px;
  padding: 11px 22px;
  cursor: pointer;
  transition: background 0.2s ease-out;
}

.subscribe-form button:hover { background: #3730A3; }
.subscribe-form button:disabled { opacity: 0.6; cursor: default; }

.subscribe-note {
  flex-basis: 100%;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 4px;
}

.subscribe-note a { color: var(--indigo); text-decoration: underline; text-underline-offset: 2px; }

/* ── Desktop nav phone (mobile gets the action bar instead) ──── */
.nav-phone-li { display: none; }
@media (min-width: 900px) {
  .nav-phone-li { display: list-item; }
  .nav-phone {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--muted);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease;
  }
  .nav-phone:hover { color: var(--ink); }
}
.closing-response-note {
  margin-top: 18px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  text-align: center;
}
