/*
 * UMBRA HOMEPAGE GRAPHIC COMPONENTS
 * Inline SVG + CSS-driven, IntersectionObserver-triggered animations.
 * Each component is structurally naked — no card containers, no rounded panels.
 * The section background IS the canvas.
 *
 * See UMBRA_VISUAL_STRATEGY.md for design rules.
 *
 * Component index:
 *   §1  Visibility (signal field)
 *   §2  Security shield      (Step 4)
 *   §3  Chatbot              (Step 5)
 *   §4  Leads + traffic      (Step 6)
 *   §5  Before/after sites   (Step 7)
 */


/* ═════════════════════════════════════════════════════════════════════════
 * SHARED — graphic component primitives
 * ═════════════════════════════════════════════════════════════════════════ */

/* Most graphic <g> elements get their own bounding-box origin so CSS
 * transforms scale/rotate from their visual center, not the SVG origin. */
.s-arrow,
.s-impact {
  transform-box: fill-box;
  transform-origin: center;
}


/* ═════════════════════════════════════════════════════════════════════════
 * §1  VISIBILITY — SIGNAL FIELD
 * ═════════════════════════════════════════════════════════════════════════
 * Side-by-side two-state diagram. Left = "Before Umbra" (dim, fragmented).
 * Right = "After Umbra" (lines draw in, nodes pulse, single blue accent).
 * Animation fires once on scroll entry via .visibility-active class toggle.
 */

.visibility-section {
  position: relative;
  background: transparent;
  color: #ffffff;
}

.visibility-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

@media (max-width: 900px) {
  .visibility-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
  }
}

/* ── Left column: copy ──────────────────────────────────────────────────── */

.visibility-copy .visibility-eyebrow {
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 1.25rem;
}

.visibility-copy h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin-bottom: 1.25rem;
  max-width: 28ch;
}

.visibility-copy p {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.62;
  color: #9ca3af;
  margin-bottom: 1.75rem;
  max-width: 42ch;
}

.visibility-copy .visibility-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
  padding: 0.9rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
  text-decoration: none;
}

.visibility-copy .visibility-cta:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.04);
}

.visibility-copy .visibility-cta svg {
  width: 12px;
  height: 12px;
  transition: transform 0.25s ease;
}

.visibility-copy .visibility-cta:hover svg {
  transform: translateX(3px);
}

/* ── Right column: paired SVG canvas ────────────────────────────────────── */

.visibility-graphic {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
}

.visibility-graphic .v-divider {
  width: 1px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.12) 20%,
    rgba(255, 255, 255, 0.12) 80%,
    rgba(255, 255, 255, 0) 100%
  );
}

@media (max-width: 720px) {
  .visibility-graphic {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) 1px minmax(0, 1fr);
    max-width: 360px;
  }
  .visibility-graphic .v-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(
      to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.12) 20%,
      rgba(255, 255, 255, 0.12) 80%,
      rgba(255, 255, 255, 0) 100%
    );
  }
}

.visibility-half {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 0.5rem 1rem;
  gap: 0.85rem;
}

.visibility-canvas {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  opacity: 0.10;
  transition: opacity 1.4s ease-out;
}

/* On scroll trigger: Before stays dim, After powers up */

.visibility-active .visibility-canvas.is-before {
  opacity: 0.53;
}

.visibility-active .visibility-canvas.is-after {
  opacity: 1;
}

/* Caption beneath each canvas */

.visibility-caption {
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.45;
  color: #5a6270;
  opacity: 0.35;
  transition: opacity 1s ease-out, color 1s ease-out;
  max-width: 24ch;
}

.visibility-active .visibility-half.is-before .visibility-caption {
  opacity: 1;
  color: #cbd5e1;
}

.visibility-active .visibility-half.is-after .visibility-caption {
  opacity: 1;
  color: #cbd5e1;
}

/* Respect reduced motion preference */

@media (prefers-reduced-motion: reduce) {
  .visibility-canvas,
  .visibility-caption {
    transition: none;
  }
}


/* ═════════════════════════════════════════════════════════════════════════
 * §2  SECURITY — PAIRED 3D SHIELD CANVASES (before / after)
 * ═════════════════════════════════════════════════════════════════════════
 * Layout mirrors §1 Visibility: copy left, paired canvases right.
 * Left shield: dim, static. Right shield: rotating, threat deflection.
 * Same dot palette as visibility globes (rgba(192,208,222,*)).
 * Outline: 3D projected edge ring that rotates with the 3D shield.
 */

.security-section {
  position: relative;
  color: #ffffff;
}

/* ── Layout: copy left, graphic right (mirrors visibility-layout) ─────── */

.security-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

@media (max-width: 900px) {
  .security-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ── Copy block ─────────────────────────────────────────────────────────── */

.security-copy {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

.security-copy .security-eyebrow {
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 1.25rem;
}

.security-copy h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin-bottom: 1.25rem;
  max-width: 28ch;
}

.security-copy p {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.62;
  color: #9ca3af;
  margin-bottom: 1.75rem;
  max-width: 42ch;
}

/* ── Graphic column: paired canvases (mirrors visibility-graphic) ───────── */

.security-graphic {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
}

.security-graphic .s-divider {
  width: 1px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.12) 20%,
    rgba(255, 255, 255, 0.12) 80%,
    rgba(255, 255, 255, 0) 100%
  );
}

@media (max-width: 720px) {
  .security-graphic {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) 1px minmax(0, 1fr);
    max-width: 360px;
  }
  .security-graphic .s-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(
      to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.12) 20%,
      rgba(255, 255, 255, 0.12) 80%,
      rgba(255, 255, 255, 0) 100%
    );
  }
}

.security-half {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 0.5rem 1rem;
  gap: 0.85rem;
}

.security-canvas {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  opacity: 0.10;
  transition: opacity 1.4s ease-out;
}

/* On scroll trigger: after powers up */
.security-active .security-canvas.is-after {
  opacity: 1;
}

/* Before-shield: 2D SVG glow silhouette */
.security-svg-before {
  width: 75%;
  aspect-ratio: 5 / 6;
  display: block;
  opacity: 0;
  transition: opacity 1.4s ease-out;
}
.security-active .security-svg-before {
  opacity: 0.55;
}

.security-caption {
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.45;
  color: #5a6270;
  opacity: 0.35;
  transition: opacity 1s ease-out, color 1s ease-out;
  max-width: 24ch;
}

.security-active .security-half.is-before .security-caption {
  opacity: 1;
  color: #cbd5e1;
}
.security-active .security-half.is-after .security-caption {
  opacity: 1;
  color: #cbd5e1;
}

/* ── Protection list (inside security-copy column) ──────────────────────── */

.s-protect-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1.25rem;
  width: 100%;
}

.s-protect-label {
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.s-protect-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
}

/* ── Reduced motion ─────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .security-canvas,
  .security-svg-before,
  .security-caption {
    transition: none;
  }
}

@media (max-width: 720px) {
  .s-protect-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 400px;
  }
}

/* ═════════════════════════════════════════════════════════════════════════
 * §3  CHATBOT — TERMINAL-STYLE CONVERSATION
 * ═════════════════════════════════════════════════════════════════════════
 * Minimal chat-UI window with a sequential message reveal.
 * NOT a card: rgba background + 1px charcoal border + 8px radius max.
 * JS-driven message timing (per spec) + CSS-driven visual transitions.
 *
 * Green appears ONLY here on the 6px live dot. Blue appears ONLY on bot
 * response bubbles. Single continuous animation site-wide: the live-dot pulse.
 */

.chatbot-section {
  position: relative;
  color: #ffffff;
}

/* ── Layout: copy left, window right ────────────────────────────────────── */

.chatbot-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

@media (max-width: 900px) {
  .chatbot-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
  }
}

/* ── Copy column ────────────────────────────────────────────────────────── */

.chatbot-copy .chatbot-eyebrow {
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 1.25rem;
}

.chatbot-copy h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin-bottom: 1.25rem;
  max-width: 28ch;
}

.chatbot-copy p {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.62;
  color: #9ca3af;
  margin-bottom: 1.75rem;
  max-width: 42ch;
}

.chatbot-copy .chatbot-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
  padding: 0.9rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
  text-decoration: none;
}

.chatbot-copy .chatbot-cta:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.04);
}

.chatbot-copy .chatbot-cta svg {
  width: 12px;
  height: 12px;
  transition: transform 0.25s ease;
}

.chatbot-copy .chatbot-cta:hover svg {
  transform: translateX(3px);
}

/* ── Chat window: NOT a card ────────────────────────────────────────────── */

.chatbot-window-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.chatbot-window {
  width: 100%;
  max-width: 480px;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.22);
}

/* ── Window header (chrome) ─────────────────────────────────────────────── */

.cb-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cb-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: cb-live-pulse 2.4s ease-in-out infinite;
}

@keyframes cb-live-pulse {
  0%, 100% {
    opacity: 0.55;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 6px 1px rgba(34, 197, 94, 0.45);
  }
}

.cb-title {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #e5e7eb;
  letter-spacing: 0.01em;
}

.cb-status {
  margin-left: auto;
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9ca3af;
}

/* ── Messages area ──────────────────────────────────────────────────────── */

.cb-messages {
  padding: 18px 16px 14px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* ── Message + typing rows: hidden by default, JS reveals them ─────────── */

.cb-msg,
.cb-typing {
  opacity: 0;
  transform: translateY(8px);
  max-height: 0;
  margin-bottom: 0;
  overflow: hidden;
  transition:
    opacity 0.4s ease-out,
    transform 0.4s ease-out,
    max-height 0.45s ease-out,
    margin-bottom 0.4s ease-out;
}

.cb-msg.is-visible,
.cb-typing.is-visible {
  opacity: 1;
  transform: translateY(0);
  max-height: 180px;
  margin-bottom: 0.55rem;
}

.cb-msg-user {
  display: flex;
  justify-content: flex-start;
}

.cb-msg-bot,
.cb-typing {
  display: flex;
  justify-content: flex-end;
}

/* ── Bubbles ───────────────────────────────────────────────────────────── */

.cb-bubble {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.45;
  padding: 10px 14px;
  max-width: 78%;
  word-wrap: break-word;
}

.cb-msg-user .cb-bubble {
  background: rgba(255, 255, 255, 0.065);
  color: #e5e7eb;
  border-radius: 14px 14px 14px 4px;
}

.cb-bubble-bot {
  background: rgba(96, 165, 250, 0.12);
  color: #ffffff;
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: 14px 14px 4px 14px;
  box-shadow: 0 0 18px rgba(96, 165, 250, 0.08);
}

/* ── Typing indicator (three pulsing dots inside a bot bubble) ─────────── */

.cb-typing-bubble {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 12px 14px;
  min-height: 14px;
}

.cb-typing-bubble span {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  animation: cb-dot-pulse 1.25s ease-in-out infinite;
}

.cb-typing-bubble span:nth-child(2) { animation-delay: 0.18s; }
.cb-typing-bubble span:nth-child(3) { animation-delay: 0.36s; }

@keyframes cb-dot-pulse {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30%          { opacity: 1;   transform: translateY(-2px); }
}

/* ── Reduced-motion: snap to final state, no continuous animations ─────── */

@media (prefers-reduced-motion: reduce) {
  .cb-live-dot,
  .cb-typing-bubble span {
    animation: none;
  }
  .cb-msg,
  .cb-typing {
    transition: none;
  }
}


/* ═════════════════════════════════════════════════════════════════════════
 * §4  LEADS & TRAFFIC — NOTIFICATION STREAM + GROWTH CHART
 * ═════════════════════════════════════════════════════════════════════════
 * Two-panel side-by-side: live leads feed (left) + hand-built SVG line
 * chart (right). No card framing. Notifications slide in staggered; the
 * After-Umbra line draws itself once via stroke-dasharray. One-shot.
 *
 * Green appears ONLY on the live-status dot. White is the After-Umbra line.
 */

.lt-section {
  position: relative;
  color: #ffffff;
}

/* ── Copy block ─────────────────────────────────────────────────────────── */

.lt-copy {
  max-width: 720px;
  margin: 0 auto clamp(3rem, 5vw, 4rem);
  text-align: center;
}

.lt-copy .lt-eyebrow {
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 1.25rem;
}

.lt-copy h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.lt-copy p {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.62;
  color: #9ca3af;
  max-width: 580px;
  margin: 0 auto;
}

/* ── Graphic: two panels + center divider ──────────────────────────────── */

.lt-graphic {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  column-gap: clamp(1.5rem, 4vw, 3.5rem);
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  align-items: stretch;
}

.lt-graphic .lt-divider {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 15%,
    rgba(255, 255, 255, 0.1) 85%,
    rgba(255, 255, 255, 0) 100%
  );
}

@media (max-width: 760px) {
  .lt-graphic {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 2.5rem;
    max-width: 480px;
  }
  .lt-graphic .lt-divider {
    display: none;
  }
  /* Mobile order per spec: chart first, then notifications */
  .lt-chart        { order: 1; }
  .lt-notifications { order: 2; }
}

/* ── Panels: structurally naked, only a header label ───────────────────── */

.lt-panel {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.lt-panel-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.lt-panel-title {
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9ca3af;
}

.lt-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: cb-live-pulse 2.4s ease-in-out infinite;
}

/* ── Stat callout row (above notification list) ─────────────────────────── */

.lt-stat-row {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 12px 0 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.55s ease-out, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.lt-active .lt-stat-row {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.05s;
}

.lt-stat-cell {
  flex: 1;
  text-align: center;
}

.lt-stat-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.lt-stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: -0.02em;
  line-height: 1;
}

.lt-stat-label {
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.58);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 3px;
}

/* ── Featured stat (traffic growth focal point) ─────────────────────────── */

.lt-featured-stat {
  text-align: center;
  padding: 10px 0 11px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 6px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.55s ease-out 0s, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0s;
}

.lt-active .lt-featured-stat {
  opacity: 1;
  transform: translateY(0);
}

.lt-featured-stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: -0.03em;
  line-height: 1;
}

.lt-featured-stat-label {
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.56);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 5px;
}

@media (prefers-reduced-motion: reduce) {
  .lt-featured-stat { transition: none !important; }
  .lt-active .lt-featured-stat { opacity: 1; transform: none; }
}

/* ── Weekly velocity bars (above traffic chart SVG) ─────────────────────── */

.lt-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 40px;
  padding: 0 0 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 12px;
}

.lt-bar-chart span {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: rgba(255, 255, 255, 0.18);
  transition: height 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.4s ease;
  min-height: 4px;
}

.lt-bar-chart span:last-child {
  background: rgba(255, 255, 255, 0.65);
}

/* ── Lead card stack (replaces the old notification stream) ────────────────
 * 3 stacked alert-cards. The most recent (data-i=0) is brightest; older
 * cards dim progressively. Reveal animation reuses the existing .lt-active
 * one-shot pattern with opacity + translateX. */

.lt-lead-stack {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lt-lead-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 10px;
  padding: 14px 16px;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Stacked dimming (newest = brightest) */
.lt-lead-card[data-i="0"] { background: rgba(255, 255, 255, 0.09); }
.lt-lead-card[data-i="1"] { background: rgba(255, 255, 255, 0.05); }
.lt-lead-card[data-i="2"] { background: rgba(255, 255, 255, 0.025); }

/* Content opacity falls off with stack depth */
.lt-lead-card[data-i="1"] .lt-lead-label,
.lt-lead-card[data-i="1"] .lt-lead-time,
.lt-lead-card[data-i="1"] .lt-lead-title,
.lt-lead-card[data-i="1"] .lt-lead-source,
.lt-lead-card[data-i="1"] .lt-lead-cta {
  opacity: 0.74;
}
.lt-lead-card[data-i="2"] .lt-lead-label,
.lt-lead-card[data-i="2"] .lt-lead-time,
.lt-lead-card[data-i="2"] .lt-lead-title,
.lt-lead-card[data-i="2"] .lt-lead-source,
.lt-lead-card[data-i="2"] .lt-lead-cta {
  opacity: 0.58;
}

.lt-active .lt-lead-card {
  opacity: 1;
  transform: translateX(0);
}

.lt-active .lt-lead-card[data-i="0"] { transition-delay: 0.05s; }
.lt-active .lt-lead-card[data-i="1"] { transition-delay: 0.45s; }
.lt-active .lt-lead-card[data-i="2"] { transition-delay: 0.85s; }

/* Header row inside each card: label (left) + time (right) */
.lt-lead-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.lt-lead-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.lt-lead-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.45);
  flex-shrink: 0;
}

.lt-lead-time {
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.10em;
  color: rgba(255, 255, 255, 0.68);
  text-transform: uppercase;
}

.lt-lead-title {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 4px 0;
  letter-spacing: -0.005em;
}

.lt-lead-source {
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  margin: 0;
}

.lt-lead-cta {
  display: block;
  margin-top: 10px;
  text-align: right;
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s ease;
}

.lt-lead-card[data-i="0"] .lt-lead-cta:hover {
  color: rgba(255, 255, 255, 0.95);
}

/* ── Traffic chart ──────────────────────────────────────────────────────── */

.lt-chart-svg {
  width: 100%;
  flex: 1;
  min-height: 0;
  height: 0;
  display: block;
  overflow: visible;
}

.lt-chart-axis {
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 0.75;
}

.lt-chart-baseline {
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 0.5;
}

.lt-chart-month {
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.06em;
  fill: #6b7280;
  text-anchor: middle;
  dominant-baseline: hanging;
}

/* Dashed background grid (telemtry.html-inspired) */
.lt-chart-grid line {
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 0.5;
  stroke-dasharray: 3 5;
  stroke-linecap: round;
}

/* Before line: flat near baseline — dotted faded gray */
.lt-before-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1;
  stroke-dasharray: 3 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lt-before-endpoint {
  fill: rgba(255, 255, 255, 0.40);
}

.lt-before-label {
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  fill: rgba(255, 255, 255, 0.38);
  text-anchor: end;
}

/* Filled area beneath the after-Umbra curve (fades in with the line draw) */
.lt-after-fill {
  opacity: 0;
  transition: opacity 1.2s ease 0.4s;
}

.lt-active .lt-after-fill {
  opacity: 1;
}

/* After Umbra line: crisp white, draws in via stroke-dashoffset */
.lt-after-line {
  fill: none;
  stroke: #f5f5f5;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.3s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

.lt-active .lt-after-line {
  stroke-dashoffset: 0;
}

.lt-after-endpoint {
  fill: #ffffff;
  opacity: 0;
  transition: opacity 0.4s ease-out 1.45s;
}

.lt-active .lt-after-endpoint {
  opacity: 1;
}

/* Floating callout tag at the peak (replaces the old AFTER UMBRA label).
 * Telemetry-inspired: dark pill with light text + thin dashed connector. */
.lt-callout {
  opacity: 0;
  transform-origin: right bottom;
  transition: opacity 0.5s ease-out 1.55s;
}

.lt-active .lt-callout {
  opacity: 1;
}

.lt-callout-bg {
  fill: rgba(20, 20, 22, 0.95);
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 0.6;
}

.lt-callout-text {
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  fill: rgba(255, 255, 255, 0.95);
  dominant-baseline: middle;
}

.lt-callout-connector {
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 0.6;
  stroke-dasharray: 2 2;
}

/* ── Period label (right side of chart panel header) ───────────────────── */

.lt-panel-period {
  margin-left: auto;
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 2px 9px;
  border-radius: 3px;
}

/* ── Legend row (replaces bar chart) ───────────────────────────────────── */

.lt-legend {
  display: flex;
  gap: 1.25rem;
  padding-bottom: 0.85rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.lt-legend-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.50);
}

.lt-legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.lt-legend-dot--after {
  background: rgba(255, 255, 255, 0.90);
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.35);
}

.lt-legend-dot--before {
  background: rgba(255, 255, 255, 0.22);
}

/* ── Dashed vertical drop at peak node ─────────────────────────────────── */

.lt-peak-drop {
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 0.75;
  stroke-dasharray: 3 4;
  stroke-linecap: round;
  opacity: 0;
  transition: opacity 0.4s ease 1.5s;
}

.lt-active .lt-peak-drop {
  opacity: 1;
}

/* ── Data node circles ──────────────────────────────────────────────────── */

.lt-node {
  fill: #07080a;
  stroke-width: 1.5;
}

.lt-node--after {
  stroke: rgba(255, 255, 255, 0.82);
  opacity: 0;
  transition: opacity 0.3s ease 1.35s;
}

.lt-active .lt-node--after {
  opacity: 1;
}

.lt-node--before {
  stroke: rgba(255, 255, 255, 0.28);
  opacity: 0.6;
}

/* ── Peak node (JUN) ────────────────────────────────────────────────────── */

.lt-node-peak {
  fill: #ffffff;
  opacity: 0;
  transition: opacity 0.3s ease 1.45s;
}

.lt-active .lt-node-peak {
  opacity: 1;
}

.lt-node-peak-ring {
  fill: none;
  stroke: rgba(255, 255, 255, 0.38);
  stroke-width: 1;
  opacity: 0;
  transition: opacity 0.4s ease 1.5s;
}

.lt-active .lt-node-peak-ring {
  opacity: 1;
}

/* ── Big stat overlaid in chart lower-left ─────────────────────────────── */

.lt-insight-label {
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  fill: rgba(255, 255, 255, 0.28);
  opacity: 0;
  transition: opacity 0.5s ease 0.6s;
}
.lt-active .lt-insight-label { opacity: 1; }

.lt-insight-bullet {
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 8.5px;
  fill: rgba(255, 255, 255, 0.38);
  opacity: 0;
  transition: opacity 0.5s ease 0.75s;
}
.lt-active .lt-insight-bullet { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .lt-insight-label, .lt-insight-bullet { transition: none !important; }
  .lt-active .lt-insight-label, .lt-active .lt-insight-bullet { opacity: 1; }
}

.lt-big-stat {
  font-family: 'Syne', 'Geist Mono', sans-serif;
  font-size: 30px;
  font-weight: 600;
  fill: rgba(255, 255, 255, 0.90);
  letter-spacing: -0.025em;
  opacity: 0;
  transition: opacity 0.5s ease 1.3s;
}

.lt-active .lt-big-stat {
  opacity: 1;
}

.lt-big-stat-sub {
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 9px;
  fill: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.5s ease 1.42s;
}

.lt-active .lt-big-stat-sub {
  opacity: 1;
}

/* ── Reduced motion ─────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .lt-lead-card,
  .lt-after-line,
  .lt-after-fill,
  .lt-after-endpoint,
  .lt-callout,
  .lt-live-dot,
  .lt-stat-row,
  .lt-node--after,
  .lt-node-peak,
  .lt-node-peak-ring,
  .lt-peak-drop,
  .lt-big-stat,
  .lt-big-stat-sub,
  .lt-insight-label,
  .lt-insight-bullet {
    transition: none !important;
    animation: none !important;
  }
  .lt-active .lt-lead-card {
    opacity: 1;
    transform: none;
  }
  .lt-active .lt-after-line {
    stroke-dashoffset: 0;
  }
  .lt-active .lt-after-endpoint,
  .lt-active .lt-after-fill,
  .lt-active .lt-callout,
  .lt-active .lt-node--after,
  .lt-active .lt-node-peak,
  .lt-active .lt-node-peak-ring,
  .lt-active .lt-peak-drop,
  .lt-active .lt-big-stat,
  .lt-active .lt-big-stat-sub,
  .lt-active .lt-insight-label,
  .lt-active .lt-insight-bullet {
    opacity: 1;
  }
  .lt-active .lt-stat-row {
    opacity: 1;
    transform: none;
  }
}


/* ═════════════════════════════════════════════════════════════════════════
 * §5  BEFORE / AFTER WEBSITE — DRAGGABLE COMPARISON
 * ═════════════════════════════════════════════════════════════════════════
 * The first visual proof point. Outdated site (left) vs. Umbra-built site
 * (right) revealed by dragging a vertical handle. Mobile: stacked.
 *
 * Both mockups are HTML/CSS placeholders — to be replaced with real
 * client screenshots when available.
 *
 * No card framing. The two layouts ARE the content. Fine 1px border on
 * the outer comparison container is the maximum allowed.
 */

.ba-section {
  position: relative;
  color: #ffffff;
}

/* ── Copy block ─────────────────────────────────────────────────────────── */

.ba-copy {
  max-width: 720px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.ba-copy .ba-eyebrow {
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 1.25rem;
}

.ba-copy h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.ba-copy p {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.6;
  color: #9ca3af;
  max-width: 560px;
  margin: 0 auto;
}

/* ── Outer frame: labels row + comparison ──────────────────────────────── */

.ba-frame {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.ba-labels {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.85rem;
  padding: 0 0.25rem;
}

.ba-label {
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.ba-label-before {
  color: #ffffff;
  font-weight: 400;
}

.ba-label-after {
  color: #ffffff;
  font-weight: 500;
}

/* ── Comparison container ──────────────────────────────────────────────── */

.ba-comparison {
  --ba-pos: 50%;
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  max-height: 480px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #050505;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.ba-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ba-layer-before {
  z-index: 1;
}

.ba-layer-after {
  z-index: 2;
  clip-path: inset(0 0 0 var(--ba-pos));
}

/* Screenshot fills the comparison layer */
.ba-screenshot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  pointer-events: none;
}

/* ── Divider line + drag handle ─────────────────────────────────────────── */

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba-pos);
  width: 1px;
  background: rgba(255, 255, 255, 0.85);
  transform: translateX(-0.5px);
  z-index: 3;
  pointer-events: none;
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: var(--ba-pos);
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.85);
  cursor: ew-resize;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  transition: transform 0.12s ease-out, box-shadow 0.18s ease-out;
}

.ba-handle:hover {
  box-shadow: 0 2px 16px rgba(255, 255, 255, 0.15);
}

.ba-handle.is-dragging {
  transform: translate(-50%, -50%) scale(1.08);
}

.ba-handle svg {
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, 0.85);
  pointer-events: none;
}

/* One-shot handle hint on scroll entry (subtle pulse to indicate it's interactive) */
.ba-active .ba-handle {
  animation: ba-handle-hint 1.4s ease-out 0.4s 1;
}

@keyframes ba-handle-hint {
  0%   { box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5), 0 0 0 0   rgba(255, 255, 255, 0); }
  40%  { box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5), 0 0 0 10px rgba(255, 255, 255, 0.12); }
  100% { box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5), 0 0 0 18px rgba(255, 255, 255, 0); }
}


/* ═════════════════════════════════════════════════════════════════════════
 * §5a  BEFORE MOCKUP — Outdated local business website
 * ═════════════════════════════════════════════════════════════════════════ */

.ba-mockup-before {
  width: 100%;
  height: 100%;
  background: #f5ebd5;
  color: #2a1a08;
  font-family: 'Times New Roman', Times, serif;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ba-mockup-before .bao-nav {
  background: linear-gradient(to bottom, #1c3a5e 0%, #11253f 100%);
  color: #ffffff;
  padding: 10px 18px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border-bottom: 2px solid #7a1018;
}

.ba-mockup-before .bao-logo {
  font-family: 'Impact', 'Arial Black', 'Helvetica Inserat', sans-serif;
  font-size: clamp(16px, 2.2vw, 24px);
  letter-spacing: 0.06em;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.45);
  color: #ffd47a;
  text-transform: uppercase;
}

.ba-mockup-before .bao-links {
  font-family: 'Verdana', Geneva, sans-serif;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: #c9d8e8;
}

.ba-mockup-before .bao-banner {
  background: #ffeb99;
  color: #6b4a00;
  text-align: center;
  font-style: italic;
  padding: 5px 8px;
  font-size: 11px;
  border-top: 1px solid #c9a443;
  border-bottom: 1px solid #c9a443;
}

.ba-mockup-before .bao-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, 2vw, 20px);
  text-align: center;
  gap: clamp(6px, 1.2vw, 12px);
  min-height: 0;
}

.ba-mockup-before .bao-h1 {
  font-size: clamp(18px, 2.8vw, 28px);
  color: #6b1a00;
  font-weight: bold;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.15);
  margin: 0;
  line-height: 1.1;
}

.ba-mockup-before .bao-tagline {
  font-style: italic;
  font-size: clamp(11px, 1.4vw, 14px);
  color: #4a2a10;
  margin: 0;
}

.ba-mockup-before .bao-photo {
  background:
    linear-gradient(135deg, #b89a6a 0%, #8a6a3a 50%, #b89a6a 100%);
  width: clamp(120px, 18vw, 200px);
  height: clamp(60px, 9vw, 100px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3a2810;
  font-size: 10px;
  font-style: italic;
  border: 4px ridge #8a6a3a;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
}

.ba-mockup-before .bao-cta {
  background: linear-gradient(to bottom, #d4263a 0%, #7a1018 100%);
  color: #ffffff;
  font-family: 'Impact', 'Arial Black', sans-serif;
  letter-spacing: 0.04em;
  padding: 5px 14px;
  font-size: clamp(11px, 1.4vw, 14px);
  border: 2px outset #d4263a;
  text-transform: uppercase;
  cursor: pointer;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.4);
}

.ba-mockup-before .bao-footer {
  font-size: 9px;
  color: #5a4528;
  margin-top: 4px;
  font-style: italic;
}


/* ═════════════════════════════════════════════════════════════════════════
 * §5b  AFTER MOCKUP — Umbra-built hero
 * ═════════════════════════════════════════════════════════════════════════ */

.ba-mockup-after {
  width: 100%;
  height: 100%;
  background: #0a0a0a;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.ba-mockup-after::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 78% 18%,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 55%
  );
  pointer-events: none;
}

.ba-mockup-after .bau-nav {
  padding: clamp(12px, 1.6vw, 18px) clamp(18px, 3vw, 32px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 1;
}

.ba-mockup-after .bau-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(12px, 1.4vw, 15px);
  letter-spacing: 0.22em;
  color: #ffffff;
}

.ba-mockup-after .bau-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 22px);
  font-size: clamp(10px, 1.1vw, 12px);
  color: #9ca3af;
  letter-spacing: 0.04em;
}

.ba-mockup-after .bau-cta-pill {
  background: #ffffff;
  color: #000000;
  padding: clamp(5px, 0.7vw, 7px) clamp(10px, 1.4vw, 14px);
  border-radius: 2px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.ba-mockup-after .bau-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(16px, 2.5vw, 30px) clamp(20px, 4vw, 50px);
  gap: clamp(8px, 1.4vw, 16px);
  position: relative;
  z-index: 1;
  min-height: 0;
}

.ba-mockup-after .bau-eyebrow {
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: clamp(8px, 0.95vw, 10px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #9ca3af;
  margin: 0;
}

.ba-mockup-after .bau-h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(20px, 3.6vw, 40px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0;
}

.ba-mockup-after .bau-sub {
  font-size: clamp(11px, 1.2vw, 13px);
  color: #9ca3af;
  line-height: 1.5;
  margin: 0;
}

.ba-mockup-after .bau-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: clamp(8px, 1.1vw, 12px) clamp(14px, 2vw, 24px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: clamp(9px, 1.05vw, 11px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  width: fit-content;
  margin-top: clamp(4px, 0.8vw, 8px);
}


/* ═════════════════════════════════════════════════════════════════════════
 * §5c  RESPONSIVE — mobile stacks the two mockups vertically
 * ═════════════════════════════════════════════════════════════════════════ */

@media (max-width: 720px) {
  .ba-labels {
    display: none;
  }
  .ba-comparison {
    aspect-ratio: auto;
    max-height: none;
    height: auto;
    overflow: visible;
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    user-select: auto;
  }
  .ba-layer {
    position: relative;
    inset: auto;
    aspect-ratio: 2 / 1;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }
  .ba-layer-after {
    clip-path: none;
  }
  .ba-divider,
  .ba-handle {
    display: none;
  }
  /* Mobile labels above each mockup */
  .ba-layer::before {
    content: attr(data-mobile-label);
    position: absolute;
    top: -1.5rem;
    left: 0.25rem;
    font-family: 'Geist Mono', 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
  }
  .ba-layer-before::before { color: #9ca3af; }
  .ba-layer-after::before  { color: #ffffff; }
}

/* Reduced motion: skip handle hint pulse */
@media (prefers-reduced-motion: reduce) {
  .ba-active .ba-handle {
    animation: none;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   §6  SHARED COPY CTA — used by before-after, leads-traffic, security
   Same visual language as visibility-cta / chatbot-cta.
   ═══════════════════════════════════════════════════════════════════════════ */

.graphic-section-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
  padding: 0.9rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
  text-decoration: none;
  margin-top: 1.75rem;
}
.graphic-section-cta:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.04);
}
.graphic-section-cta svg {
  width: 12px;
  height: 12px;
  transition: transform 0.25s ease;
}
.graphic-section-cta:hover svg {
  transform: translateX(3px);
}

/* ═══════════════════════════════════════════════════════════════════════════
   §7  PRICING — Three-column editorial pricing, no card framing
   Columns separated by thin rules. Featured column (Standard) has white
   top accent. No rounded panels. Two CTAs at bottom.
   ═══════════════════════════════════════════════════════════════════════════ */

.pricing-copy {
  max-width: var(--text-max, 680px);
  margin: 0 auto 64px;
  text-align: center;
}
.pricing-eyebrow {
  font-size: 0.65rem;
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #737373;
  margin-bottom: 12px;
}
.pricing-copy h2 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
}
.pricing-copy > p {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  color: #a3a3a3;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}

/* Three-column rule grid */
.pricing-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 64px;
}
.pricing-col {
  padding: 48px 40px;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-col:last-child {
  border-right: none;
}

/* Featured column: gray box differentiation */
.pricing-col.is-featured {
  background: rgba(255, 255, 255, 0.06);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

/* Top accent line marks the featured column */
.pricing-col.is-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255,255,255,0.5);
}

.pricing-tier-label {
  font-size: 0.65rem;
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8a8a8a;
  margin-bottom: 18px;
}
.pricing-col.is-featured .pricing-tier-label {
  color: #a3a3a3;
}

.pricing-amount {
  font-size: clamp(2rem, 3vw, 2.625rem);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 24px;
}

.pricing-rule {
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin-bottom: 24px;
}

.pricing-descriptor {
  font-size: 0.875rem;
  color: #7a7a7a;
  line-height: 1.65;
  margin-bottom: 28px;
}
.pricing-col.is-featured .pricing-descriptor {
  color: #a3a3a3;
}

.pricing-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 40px;
}
.pricing-feature-list li {
  font-size: 0.8125rem;
  color: #8a8a8a;
  padding-left: 18px;
  position: relative;
  line-height: 1.4;
}
.pricing-feature-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(255,255,255,0.18);
}
.pricing-col.is-featured .pricing-feature-list li {
  color: #a3a3a3;
}
.pricing-col.is-featured .pricing-feature-list li::before {
  color: rgba(255,255,255,0.38);
}

/* Browser can skip painting these until they approach the viewport. */
.cv-auto {
  content-visibility: auto;
  contain-intrinsic-size: 960px;
}

/* Column-level CTAs */
.pricing-cta-ghost,
.pricing-cta-solid {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: color 0.2s;
  padding-top: 4px;
  background: none;
  border: none;
  cursor: pointer;
}
.pricing-cta-ghost {
  color: #8f8f8f;
}
.pricing-cta-ghost:hover {
  color: #fff;
}
.pricing-cta-solid {
  color: #fff;
}
.pricing-cta-solid:hover {
  color: #d4d4d4;
}

/* Bottom dual-CTA cluster */
.pricing-dual-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
}
@media (min-width: 480px) {
  .pricing-dual-cta {
    flex-direction: row;
    justify-content: center;
  }
}

.pricing-btn-talk {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border: 1px solid rgba(255,255,255,0.22);
  background: transparent;
  color: #fff;
  font-size: 0.75rem;
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.pricing-btn-talk svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.pricing-btn-talk:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.5);
}
.pricing-btn-talk:hover svg {
  transform: translateX(3px);
}

.pricing-btn-start {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: #fff;
  color: #000;
  font-size: 0.75rem;
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}
.pricing-btn-start svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.pricing-btn-start:hover {
  background: #e5e5e5;
}
.pricing-btn-start:hover svg {
  transform: translateX(3px);
}

/* Responsive: stack columns below 768px */
@media (max-width: 768px) {
  .pricing-columns {
    grid-template-columns: 1fr;
  }
  .pricing-col {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 40px 0;
  }
  .pricing-col:last-child {
    border-bottom: none;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   §8  SITE-WIDE CTA SYSTEM
   Two button variants used everywhere:
     .cta-talk   — "Talk to Umbra"   — outline: white border, transparent bg
     .cta-start  — "Start a Project" — filled:  white bg, black text
   Applied to: section CTAs, pricing dual-CTA, nav pill, inquiry form submit.
   Spec: 4px radius · 44px min-height · 14px Inter 500 · 0.02em tracking
   ═══════════════════════════════════════════════════════════════════════════ */

/* Shared base */
.cta-talk,
.cta-start,
.pricing-btn-talk,
.pricing-btn-start,
.visibility-copy .visibility-cta,
.chatbot-copy .chatbot-cta,
.graphic-section-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
  transition: background 0.18s ease, opacity 0.18s ease,
              border-color 0.18s ease, color 0.18s ease;
  box-shadow: none;
}

/* CTA 1 — Talk to Umbra — outline */
.cta-talk,
.pricing-btn-talk,
.chatbot-copy .chatbot-cta {
  border: 1px solid #ffffff;
  background: transparent;
  color: #ffffff;
  /* Reset old mono sizing */
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0.02em;
}
.cta-talk:hover,
.pricing-btn-talk:hover,
.chatbot-copy .chatbot-cta:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
  opacity: 1;
}

/* CTA 2 — Start a Project — filled */
.cta-start,
.pricing-btn-start,
.visibility-copy .visibility-cta,
.graphic-section-cta {
  border: 1px solid #ffffff;
  background: #ffffff;
  color: #000000;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0.02em;
}
.cta-start:hover,
.pricing-btn-start:hover,
.visibility-copy .visibility-cta:hover,
.graphic-section-cta:hover {
  opacity: 0.85;
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

/* Arrow icon inside CTAs — remove translate gimmicks, keep visible */
.cta-talk svg,
.cta-start svg,
.pricing-btn-talk svg,
.pricing-btn-start svg,
.visibility-copy .visibility-cta svg,
.chatbot-copy .chatbot-cta svg,
.graphic-section-cta svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  transition: none;
  transform: none;
}
.cta-talk:hover svg,
.cta-start:hover svg,
.pricing-btn-talk:hover svg,
.pricing-btn-start:hover svg,
.visibility-copy .visibility-cta:hover svg,
.chatbot-copy .chatbot-cta:hover svg,
.graphic-section-cta:hover svg {
  transform: none;
}

/* Dual-CTA row wrapper (pricing, page bottoms) */
.cta-dual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-top: 8px;
}
@media (min-width: 480px) {
  .cta-dual {
    flex-direction: row;
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   §9  INQUIRY MODAL
   Injected by umbra-cta.js — dark background, 8px radius container,
   1px charcoal borders on inputs.
   ═══════════════════════════════════════════════════════════════════════════ */

body.umbra-modal-open {
  overflow: hidden;
}

.umbra-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(4px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.22s ease;
}
.umbra-modal-overlay.is-open {
  opacity: 1;
}
.umbra-modal-overlay[hidden] {
  display: none;
}

.umbra-modal {
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 40px 36px;
  width: 100%;
  max-width: 480px;
  position: relative;
  transform: translateY(14px);
  transition: transform 0.22s ease;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}
.umbra-modal-overlay.is-open .umbra-modal {
  transform: translateY(0);
}

.umbra-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.16s ease;
}
.umbra-modal-close:hover {
  color: #ffffff;
}

.umbra-modal-eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #737373;
  margin-bottom: 10px;
}

.umbra-modal-heading {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 10px;
}

.umbra-modal-sub {
  font-size: 0.875rem;
  color: #737373;
  line-height: 1.55;
  margin-bottom: 28px;
}

.umbra-modal-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.umbra-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.umbra-label {
  font-family: 'Geist Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #737373;
}

.umbra-input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  color: #f4f4f5;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  padding: 11px 14px;
  width: 100%;
  transition: border-color 0.16s ease;
  outline: none;
}
.umbra-input:focus {
  border-color: rgba(255, 255, 255, 0.44);
}
.umbra-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.umbra-textarea {
  resize: vertical;
  min-height: 100px;
}

.umbra-modal-submit {
  width: 100%;
  margin-top: 4px;
}
.umbra-modal-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.umbra-inq-feedback {
  font-size: 0.8125rem;
  color: #a3a3a3;
  min-height: 1.2em;
  text-align: center;
}


/* ═════════════════════════════════════════════════════════════════════════
 * §10  SITE-WIDE AMBIENT GRID TEXTURE
 * ═════════════════════════════════════════════════════════════════════════
 * Faint structural grid overlay drawn site-wide on all pages.
 * Adapted from AeroNet's body::after grid + pulsedesk's section overlays,
 * but tuned for Umbra's monochrome palette (white lines, not blue).
 *
 * Mounted as a fixed div (<div class="umbra-grid">) so it covers the
 * viewport regardless of scroll, sits beneath all content (z-index: 0),
 * and never intercepts pointer events. A radial mask fades the grid at
 * the edges so it doesn't fight text-heavy sections.
 *
 * The test: "does the black feel more crafted?" — not "is there a visible
 * grid?". Opacity is deliberately low.
 * ═════════════════════════════════════════════════════════════════════════ */

.umbra-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 1;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 45%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 45%, transparent 80%);
}

@media (prefers-reduced-motion: reduce) {
  .umbra-grid { opacity: 0.5; }
}


/* ═════════════════════════════════════════════════════════════════════════
 * §11  CORNER-BRACKET FRAME — Engineering registration marks
 * ═════════════════════════════════════════════════════════════════════════
 * Adapted from AeroNet's .section-frame: 4×4 px squares at top-left and
 * bottom-right that read as blueprint registration marks. The brackets are
 * monochrome (white opacity) rather than blue. Applied to .visibility-half
 * .is-after and to .chatbot-window.
 *
 * For elements with overflow:hidden (the chatbot window), the negative-
 * offset default would be clipped — so an override rule places the brackets
 * INSIDE the rounded perimeter as architectural accents instead.
 * ═════════════════════════════════════════════════════════════════════════ */

.umbra-section-frame {
  position: relative;
}

.umbra-section-frame::before,
.umbra-section-frame::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  pointer-events: none;
  z-index: 5;
}

.umbra-section-frame::before {
  top: -1px;
  left: -1px;
  border-top: 1.5px solid rgba(255, 255, 255, 0.65);
  border-left: 1.5px solid rgba(255, 255, 255, 0.65);
}

.umbra-section-frame::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.5);
  border-right: 1.5px solid rgba(255, 255, 255, 0.5);
}

/* Chatbot window override: it has overflow:hidden + rounded corners.
 * Inset the brackets 8 px so they sit cleanly inside the rounded perimeter
 * and aren't clipped by the overflow:hidden. */
.chatbot-window.umbra-section-frame::before {
  top: 8px;
  left: 8px;
}

.chatbot-window.umbra-section-frame::after {
  bottom: 8px;
  right: 8px;
}


/* ═════════════════════════════════════════════════════════════════════════
 * §12  RESERVED — (formerly Visibility breathing halo, now obsolete)
 * ═════════════════════════════════════════════════════════════════════════
 * The breathing halo animation belonged to the SVG signal-node pentagon
 * that has been replaced by the canvas globe (see §1). This slot is
 * intentionally left empty as a marker.
 * ═════════════════════════════════════════════════════════════════════════ */
