/* -----------------------------------------------------------------------------
   Theme: quiet premium; calm neutrals, one accent, client-first readability
   ----------------------------------------------------------------------------- */

:root {
  color-scheme: dark light;
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Syne", "Inter", system-ui, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Menlo", monospace;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-pill: 9999px;
  --header-h: 3.75rem;
  --max-w: 68rem;
  /* Default palette (dark): always defined before JS so layout and subpages never miss tokens */
  --bg: #000000;
  --bg-elevated: #1c1c1e;
  --bg-card: #2c2c2e;
  --border: rgba(255, 255, 255, 0.09);
  --text: #f5f5f7;
  --text-muted: #a1a1a6;
  --accent: #2997ff;
  --accent-press: #147ce5;
  --accent-dim: rgba(41, 151, 255, 0.14);
  --accent-warm: #f97316;
  --accent-warm-dim: rgba(249, 115, 22, 0.12);
  --grid-line: rgba(255, 255, 255, 0.065);
  --aurora-a: rgba(41, 151, 255, 0.28);
  --aurora-b: rgba(99, 88, 255, 0.18);
  --aurora-c: rgba(20, 200, 180, 0.10);
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.35), 0 24px 48px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
  --btn-primary-fg: #ffffff;
}

[data-theme="dark"] {
  color-scheme: dark;
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f5f7;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --border: rgba(0, 0, 0, 0.06);
  --text: #1d1d1f;
  --text-muted: #6e6e73;
  --accent: #0066cc;
  --accent-press: #004d99;
  --accent-dim: rgba(0, 102, 204, 0.09);
  --accent-warm: #ea6c00;
  --accent-warm-dim: rgba(234, 108, 0, 0.08);
  --grid-line: rgba(0, 0, 0, 0.055);
  --aurora-a: rgba(0, 102, 204, 0.16);
  --aurora-b: rgba(99, 88, 255, 0.10);
  --aurora-c: rgba(0, 170, 150, 0.07);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-soft: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  --btn-primary-fg: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  transition: background-color 0.25s ease, color 0.25s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: var(--space-sm) var(--space-md);
  background: var(--accent);
  color: var(--btn-primary-fg);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: var(--space-md);
  top: var(--space-md);
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-inline: 1rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-h);
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

@media (min-width: 900px) {
  .site-header {
    height: var(--header-h);
  }
}

.header-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-md);
  min-height: var(--header-h);
  padding-block: var(--space-sm);
}

.logo-mark {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.03em;
  text-decoration: none;
}

.logo-mark:hover,
.logo-mark:focus-visible {
  color: var(--accent);
  outline: none;
}

.nav-toggle {
  display: none;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--bg-card) 80%, transparent);
  cursor: pointer;
  color: var(--text);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: var(--bg-card);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
  outline: none;
}

.nav-toggle-bars {
  display: block;
  width: 1.1rem;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: var(--space-lg);
  margin-left: auto;
}

.nav a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.nav-cta {
  padding: 0.35rem 0.85rem;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--btn-primary-fg) !important;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--accent-press);
  color: var(--btn-primary-fg) !important;
}

.theme-toggle {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border: none;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--bg-card) 80%, transparent);
  cursor: pointer;
  color: var(--text);
  transition: background 0.2s ease, transform 0.2s ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  background: var(--bg-card);
  outline: none;
}

.theme-icon {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  border: 2px solid currentColor;
  position: relative;
}

[data-theme="dark"] .theme-icon::after {
  content: "";
  position: absolute;
  inset: -3px auto auto 4px;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg-card);
}

[data-theme="light"] .theme-icon {
  box-shadow: inset -4px -2px 0 0 currentColor;
}

@media (max-width: 899px) {
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    column-gap: var(--space-sm);
    row-gap: 0;
  }

  .logo-mark {
    min-width: 0;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: 0;
    grid-column: 2;
    grid-row: 1;
    min-width: 2.75rem;
    min-height: 2.75rem;
    width: 2.75rem;
    height: 2.75rem;
  }

  .header-tools {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: none;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    margin-top: var(--space-sm);
    padding: var(--space-md) 0 var(--space-sm);
    border-top: 1px solid var(--border);
  }

  .site-header.is-nav-open .nav {
    display: flex;
  }

  .nav a {
    font-size: 0.9375rem;
    padding: 0.5rem 0;
    border-radius: var(--radius-sm);
  }

  .nav a:hover,
  .nav a:focus-visible {
    background: var(--accent-dim);
  }

  .nav .nav-cta {
    margin-top: var(--space-sm);
    padding: 0.55rem 1rem;
    text-align: center;
  }

  .nav .nav-cta:hover,
  .nav .nav-cta:focus-visible {
    background: var(--accent-press);
    color: var(--btn-primary-fg) !important;
    opacity: 1;
  }

  .lang-select {
    max-width: 7.5rem;
    min-height: 2.75rem;
    padding: 0.45rem 1.35rem 0.45rem 0.55rem;
    font-size: 0.8125rem;
  }
}

/* Hero */

.hero {
  position: relative;
  padding: clamp(2.25rem, 6vw, 4rem) 0 var(--space-xl);
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: left;
}

/* One band for copy + art so ultra-wide viewports don’t park columns at opposite edges */
.hero-cluster {
  width: 100%;
  max-width: min(100%, 64rem);
}

.hero-layout {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-lg);
  width: 100%;
}

.hero-copy {
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  overflow-wrap: break-word;
  word-break: break-word;
}

.hero-copy > * {
  margin-inline: 0;
  padding-inline: 0;
}

.hero-art {
  position: relative;
  width: 100%;
  max-width: min(36rem, 92vw);
  margin-inline: auto;
  aspect-ratio: 4 / 3;
  min-height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}

.hero-lottie {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-lottie svg {
  width: 100% !important;
  height: auto !important;
  max-height: 100%;
}

.hero-art-static {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-sm);
  pointer-events: none;
}

.hero-art--static .hero-lottie {
  display: none !important;
}

.hero-art--static .hero-art-static {
  display: block;
}

@media (min-width: 960px) {
  .hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    column-gap: clamp(1.5rem, 3vw, 2.25rem);
    row-gap: var(--space-lg);
  }

  .hero-copy {
    grid-column: 1;
    min-width: 0;
    max-width: 38rem;
  }

  .hero-visual-col {
    grid-column: 2;
    width: min(40rem, 48vw);
    max-width: 40rem;
    justify-self: center;
    margin-inline: 0;
    transform: translateX(clamp(0.35rem, 1.25vw, 1rem));
  }

  @media (prefers-reduced-motion: reduce) {
    .hero-visual-col {
      transform: none;
    }
  }
}

.hero-kicker {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: normal;
  color: var(--text-muted);
  margin: 0 0 var(--space-sm);
  padding: 0;
  width: 100%;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.hero-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.06;
  margin: 0 0 var(--space-sm);
  padding: 0;
  width: 100%;
  overflow-wrap: anywhere;
  background: linear-gradient(160deg, var(--text) 0%, color-mix(in srgb, var(--text) 70%, var(--accent)) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-byline {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0 0 var(--space-md);
  line-height: 1.45;
  width: 100%;
}

.hero-byline-name {
  color: var(--text);
  font-weight: 600;
}

.hero-byline-sep {
  margin: 0 0.35em;
  opacity: 0.45;
}

.hero-proof {
  list-style: none;
  margin: 0 0 var(--space-md);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  justify-items: stretch;
  column-gap: clamp(0.75rem, 3vw, 1.25rem);
  row-gap: var(--space-sm);
  width: 100%;
  /* Don’t inherit aggressive breaks from .hero-copy — they can distort column widths */
  word-break: normal;
  overflow-wrap: anywhere;
}

.hero-proof li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  min-width: 0;
  width: 100%;
  text-align: left;
}

.hero-proof-value {
  font-family: var(--font-sans);
  font-size: clamp(1.125rem, 3.4vw, 1.35rem);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1.2;
  min-width: 0;
  max-width: 100%;
}

.hero-proof-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  line-height: 1.35;
  min-width: 0;
  max-width: 100%;
}

.hero-visual-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.employer-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-elevated) 88%, transparent);
  padding: var(--space-md) 0;
}

.employer-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-md) var(--space-xl);
}

.employer-strip-label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.employer-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg) var(--space-xl);
  list-style: none;
  margin: 0;
  padding: 0;
}

.employer-logo {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  opacity: 0.92;
}

@media (max-width: 640px) {
  .hero-proof {
    grid-template-columns: 1fr;
    row-gap: var(--space-md);
  }
}

@media (max-width: 380px) {
  .hero-value {
    font-size: clamp(1.5rem, 8.5vw, 2.65rem);
  }

  .hero-kicker {
    font-size: 0.75rem;
  }
}

.hero-lead {
  max-width: none;
  width: 100%;
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.55;
  margin: 0 0 var(--space-sm);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-lg);
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-meta a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.hero-meta a:hover,
.hero-meta a:focus-visible {
  border-bottom-color: var(--accent);
  opacity: 0.85;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 18% 8%, black 20%, transparent 70%);
  pointer-events: none;
  opacity: 0.65;
}

.hero--home .hero-grid-bg {
  opacity: 0.55;
}

/* Sections */

.section {
  padding: var(--space-2xl) 0;
}

/* In-page anchors (jump links) clear the sticky header */
#case-studies,
#stats,
#testimonial-heading,
#experience,
#services,
#pricing,
#skills,
#checklist-teaser {
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

.section-title {
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 600;
  margin: 0 0 var(--space-md);
  letter-spacing: -0.03em;
  line-height: 1.15;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.section-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent-dim) 0%, color-mix(in srgb, var(--accent-dim) 40%, transparent) 100%);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  color: var(--accent);
}

.section-icon svg {
  width: 1.3rem;
  height: 1.3rem;
  display: block;
}

.section-intro {
  color: var(--text-muted);
  max-width: 42rem;
  margin: 0 0 var(--space-xl);
  font-size: 1.0625rem;
  line-height: 1.55;
}

/* Skills */

.skills-section {
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.skill-card {
  padding: var(--space-lg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.skill-card:hover {
  transform: translateY(-2px);
  box-shadow:
    var(--shadow),
    0 0 0 1px color-mix(in srgb, var(--accent) 18%, transparent),
    0 0 20px color-mix(in srgb, var(--accent) 8%, transparent);
}

.skill-card h3 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin: 0 0 var(--space-md);
}

.skill-tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.skill-tags li {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--bg-elevated) 100%, transparent);
  color: var(--text);
  border: 1px solid var(--border);
}

/* Experience: game-style horizontal track (hover / focus to expand) */

.experience-section {
  border-top: 1px solid var(--border);
}

.game-board-hint {
  margin: calc(-1 * var(--space-sm)) 0 var(--space-lg);
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 40rem;
}

.game-board {
  list-style: none;
  padding: var(--space-md) 0 var(--space-sm);
  margin: 0 calc(-1 * var(--space-sm));
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.game-board__stop {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.game-stop-card {
  position: relative;
  width: min(13.5rem, 78vw);
  min-height: 11rem;
  padding: var(--space-md) var(--space-md) var(--space-lg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-soft);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.game-stop-card:hover,
.game-stop-card:focus-visible {
  outline: none;
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  z-index: 2;
}

.game-stop-card--current {
  border-color: color-mix(in srgb, var(--accent) 32%, var(--border));
}

.game-stop-card__dot {
  width: 0.75rem;
  height: 0.75rem;
  margin: 0 auto var(--space-sm);
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.game-stop-card__dot--pulse {
  animation: game-dot-pulse 2.5s ease-in-out infinite;
}

@keyframes game-dot-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px var(--accent-dim);
  }
  50% {
    box-shadow:
      0 0 0 3px var(--accent-dim),
      0 0 14px color-mix(in srgb, var(--accent) 45%, transparent);
  }
}

.track-waypoint {
  margin: 0 0 var(--space-xs);
  text-align: center;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.game-stop-card__head h3 {
  margin: 0 0 var(--space-xs);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.25;
}

.timeline-org {
  margin: 0;
  font-weight: 600;
  color: var(--text);
  font-size: 0.8125rem;
  line-height: 1.35;
}

.timeline-dates {
  margin: var(--space-xs) 0 0;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.game-stop-card__reveal {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin: 0;
  transition:
    max-height 0.45s ease,
    opacity 0.3s ease,
    margin 0.3s ease;
}

.game-stop-card:hover .game-stop-card__reveal,
.game-stop-card:focus-within .game-stop-card__reveal {
  max-height: 22rem;
  opacity: 1;
  margin-top: var(--space-md);
}

.track-summary {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.game-board__runway {
  position: relative;
  align-self: center;
  width: clamp(1.25rem, 3.5vw, 2.75rem);
  min-width: 1rem;
  height: 4px;
  margin: 0 2px;
  flex-shrink: 0;
  border-radius: 2px;
  background: repeating-linear-gradient(
    90deg,
    color-mix(in srgb, var(--accent) 35%, var(--border)) 0 5px,
    transparent 5px 11px
  );
  overflow: visible;
  container-type: inline-size;
}

.game-board__shimmer {
  position: absolute;
  inset: 0;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    color-mix(in srgb, var(--accent) 25%, transparent),
    transparent
  );
  background-size: 200% 100%;
  animation: game-shimmer 3.2s linear infinite;
  opacity: 0.45;
  pointer-events: none;
}

@keyframes game-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.game-board__runner {
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px color-mix(in srgb, var(--accent) 70%, transparent);
  opacity: 0;
  pointer-events: none;
}

/* Hide runner on the work-page rails; it often reads as a random blue circle in the gutter */
.game-board--rails .game-board__runner {
  display: none;
}

.game-board__stop:hover .game-board__runner,
.game-board__stop:focus-within .game-board__runner {
  opacity: 1;
  animation: game-runner-dash 1.15s ease-in-out infinite;
}

/* Rails: runway lives in a sibling .game-board__connector, not inside .game-board__stop */
.game-board--rails .game-board__stop:hover + .game-board__connector .game-board__runner,
.game-board--rails .game-board__stop:focus-within + .game-board__connector .game-board__runner,
.game-board--rails .game-board__connector:hover .game-board__runner {
  opacity: 1;
  animation: game-runner-dash 1.15s ease-in-out infinite;
}

@keyframes game-runner-dash {
  0% {
    left: 0;
    opacity: 0.95;
  }
  100% {
    left: calc(100% - 8px);
    opacity: 0.2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .game-stop-card__dot--pulse {
    animation: none;
  }

  .game-board__shimmer {
    animation: none;
    opacity: 0.2;
  }

  .game-board__stop:hover .game-board__runner,
  .game-board__stop:focus-within .game-board__runner {
    animation: none;
    opacity: 0.75;
    left: calc(50% - 5px);
  }

  .game-board--rails .game-board__stop:hover + .game-board__connector .game-board__runner,
  .game-board--rails .game-board__stop:focus-within + .game-board__connector .game-board__runner,
  .game-board--rails .game-board__connector:hover .game-board__runner {
    animation: none;
    opacity: 0.75;
    left: calc(50% - 5px);
  }

  .game-stop-card__reveal {
    max-height: none;
    opacity: 1;
    margin-top: var(--space-md);
  }
}

/* Gamified horizontal “rails” — waypoints side by side + connectors */
.game-board--rails {
  --track-dot-center: calc(var(--space-md) + 0.375rem);
  flex-direction: row;
  align-items: stretch;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: var(--space-lg) 0 var(--space-md);
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.game-board--rails .game-board__stop {
  flex: 1 1 0;
  min-width: min(17.5rem, 88vw);
  max-width: 22rem;
  scroll-snap-align: center;
}

.game-board--rails .game-board__connector {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  width: clamp(1.5rem, 4vw, 3rem);
  min-width: 1.25rem;
  align-self: stretch;
  scroll-snap-align: none;
  list-style: none;
}

.game-board--rails .game-stop-card {
  width: 100%;
  min-height: 12.5rem;
  min-width: 0;
}

.game-board--rails .game-board__connector .game-board__runway {
  align-self: stretch;
  width: 100%;
  min-width: 0;
  margin-top: calc(var(--track-dot-center) - 2px);
  flex-shrink: 0;
}

.game-board--rails .game-stop-card__reveal {
  max-height: none;
  opacity: 1;
  margin-top: var(--space-md);
}

.game-board--rails .game-stop-card--current {
  border-color: color-mix(in srgb, var(--accent) 48%, var(--border));
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent),
    0 0 32px color-mix(in srgb, var(--accent) 22%, transparent),
    var(--shadow-soft);
}

@media (min-width: 900px) {
  .game-board--rails {
    overflow-x: visible;
    scroll-snap-type: none;
  }

  .game-board--rails .game-board__stop {
    min-width: 0;
  }
}

.bullet-list {
  margin: var(--space-lg) 0 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
}

.bullet-list li {
  margin-bottom: var(--space-sm);
}

.bullet-list li:last-child {
  margin-bottom: 0;
}

/* Contact */

.contact-section {
  border-top: 1px solid var(--border);
}

.contact-inner {
  text-align: left;
  max-width: 40rem;
  margin-inline: auto;
}

.contact-section--page .contact-page-inner--flow {
  max-width: min(52rem, 100%);
  width: 100%;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  align-items: stretch;
}

.contact-flow__title {
  margin: 0;
}

.contact-flow__intro {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}

@media (min-width: 640px) {
  .contact-flow__intro {
    grid-template-columns: minmax(0, 1fr) minmax(14rem, 42%);
    column-gap: clamp(1.5rem, 4vw, 2.75rem);
  }
}

.contact-flow__summary-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(0.9rem, 2.2vw, 1.2rem);
  max-width: 36rem;
}

@media (min-width: 640px) {
  .contact-flow__summary-stack {
    max-width: none;
    padding-top: 0.25rem;
  }
}

.contact-flow__summary {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.68;
}

.contact-flow__photo {
  margin: 0;
  justify-self: center;
}

@media (min-width: 640px) {
  .contact-flow__photo {
    justify-self: end;
    width: 100%;
  }
}

.contact-profile-img {
  display: block;
  width: 100%;
  max-width: min(22rem, 100%);
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

@media (min-width: 640px) {
  .contact-profile-img {
    max-width: none;
  }
}

.contact-flow__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-flow__details .contact-practicalities {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.contact-actions-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
  margin-top: 0;
  padding: 0;
}

.contact-actions-row .btn {
  flex: 0 1 auto;
}

.contact-actions-row__book {
  flex-shrink: 0;
}

.contact-inner .section-title,
.contact-page-inner--flow .section-title {
  text-align: left;
  justify-content: flex-start;
}

.contact-flow__form {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
}

.contact-intake-lead {
  margin: 0 0 var(--space-md);
  line-height: 1.6;
  color: var(--text-muted);
}

.contact-flow__form .intake-actions {
  margin-top: var(--space-md);
}

.contact-flow__form .intake-mailto-note {
  margin-top: var(--space-md);
}

.contact-availability {
  margin: 0 0 var(--space-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

.intake-mailto-note {
  margin: var(--space-md) 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-muted);
  max-width: none;
  text-align: left;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--accent);
  color: var(--btn-primary-fg);
  border-color: transparent;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.btn-primary:hover {
  background: var(--accent-press);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--accent) 55%, transparent), 0 1px 4px rgba(0, 0, 0, 0.25);
}

.btn-primary:active {
  transform: translateY(0px);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--accent) 30%, transparent);
  transition-duration: 0.08s;
}

[data-theme="light"] .btn-primary:hover {
  box-shadow: 0 6px 20px color-mix(in srgb, var(--accent) 40%, transparent), 0 1px 4px rgba(0, 0, 0, 0.12);
}

.btn-large {
  padding: 0.85rem 1.85rem;
  font-size: 1rem;
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
}

.btn-ghost:hover {
  background: var(--accent-dim);
  border-color: color-mix(in srgb, var(--accent) 65%, var(--border));
  color: var(--accent);
  transform: translateY(-1px);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: var(--space-xl) 0;
  margin-top: var(--space-2xl);
}

.footer-inner {
  text-align: center;
}

.footer-inner p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-legal {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-legal a {
  color: inherit;
  text-decoration: underline;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.lang-label {
  display: flex;
  align-items: center;
}

.lang-select {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.45rem 1.75rem 0.45rem 0.65rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-card) 85%, transparent);
  color: var(--text);
  cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%),
    linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
  background-position: calc(100% - 14px) calc(50% + 3px), calc(100% - 9px) calc(50% + 3px);
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.lang-select:hover,
.lang-select:focus-visible {
  border-color: var(--accent);
  outline: none;
}

/* Hero polish */

.hero-aurora {
  position: absolute;
  inset: -35% -25% auto -15%;
  height: 90%;
  background:
    radial-gradient(ellipse 70% 55% at 8% -5%, var(--aurora-a), transparent 62%),
    radial-gradient(ellipse 50% 45% at 88% 30%, var(--aurora-b), transparent 55%),
    radial-gradient(ellipse 38% 40% at 45% 85%, var(--aurora-c), transparent 60%);
  pointer-events: none;
  animation: aurora-shift 22s ease-in-out infinite alternate;
}

@keyframes aurora-shift {
  0% {
    opacity: 0.8;
    transform: translate(0, 0) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-3%, 3%) scale(1.04);
  }
  100% {
    opacity: 0.9;
    transform: translate(6%, -2%) scale(1.07);
  }
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-quip {
  max-width: none;
  width: 100%;
  margin: 0 0 var(--space-md);
  font-size: 1rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin: 0 0 var(--space-md);
  width: 100%;
  justify-content: flex-start;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 {
  transition-delay: 0.08s;
}
.reveal-delay-2 {
  transition-delay: 0.16s;
}
.reveal-delay-3 {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  .hero-aurora {
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Trust strip */

.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: none;
  padding: var(--space-md) 0;
  background: var(--bg-elevated);
  overflow: hidden;
}

.trust-text {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(0.75rem, 2vw, 0.8125rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: none;
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: trust-marquee 32s linear infinite;
}

.trust-text span {
  display: inline-block;
  padding-right: 5rem;
}

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

@media (prefers-reduced-motion: reduce) {
  .trust-text {
    animation: none;
    width: auto;
    white-space: normal;
  }
  .trust-text span + span {
    display: none;
  }
}

/* Stats bento */

.stats-section {
  border-top: none;
}

.stats-bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
}

.stats-bento--compact .stat-card {
  padding: var(--space-lg);
}

.stats-bento--compact .stat-detail {
  font-size: 0.8125rem;
}

@media (min-width: 768px) {
  .stats-bento {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-lg);
  }
}

.stat-card {
  position: relative;
  padding: var(--space-xl);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow:
    var(--shadow),
    0 0 0 1px color-mix(in srgb, var(--accent) 20%, transparent);
}

.stat-value {
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 4vw, 2.125rem);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.1;
}

.stat-label {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--accent);
}

.stat-detail {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

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

/* Video */

.video-section {
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.video-section--page {
  padding-top: var(--space-2xl);
}

.video-page-actions {
  margin: var(--space-lg) 0 0;
  text-align: center;
}

.video-page-hint {
  margin: var(--space-sm) auto 0;
  max-width: 36rem;
  font-size: 0.875rem;
  text-align: center;
  color: var(--text-muted);
  line-height: 1.45;
}

#intro-video {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.video-shell {
  max-width: 52rem;
  margin: 0;
}

/* Intro page: use full content width so the embed reads larger */
.video-section--page .video-shell {
  max-width: min(var(--max-w), 100%);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  padding: var(--space-xl);
}

.video-frame--embed {
  padding: 0;
  display: block;
}

.video-poster {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, var(--bg-elevated), var(--bg-card));
  display: grid;
  place-items: center;
}

.video-play-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--accent-dim);
  position: relative;
  opacity: 0.9;
}

.video-play-icon::after {
  content: "";
  position: absolute;
  left: 52%;
  top: 50%;
  transform: translate(-40%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent var(--accent);
}

.video-placeholder-text {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 22rem;
  line-height: 1.45;
}

.video-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-transcript-note {
  text-align: center;
  margin: var(--space-md) 0 0;
}

.video-transcript-link {
  font-size: 0.85rem;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.video-transcript-link:hover:not(.is-disabled) {
  border-bottom-color: var(--accent);
}

.video-transcript-link.is-disabled {
  pointer-events: none;
  opacity: 0.55;
  cursor: default;
}

/* Services */

.services-section {
  border-top: 1px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  position: relative;
  padding: var(--space-xl);
  padding-left: calc(var(--space-xl) + 1.75rem);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  border-color: color-mix(in srgb, var(--accent-warm) 30%, var(--border));
  transform: translateY(-3px);
  box-shadow:
    var(--shadow),
    0 0 0 1px color-mix(in srgb, var(--accent-warm) 15%, transparent);
}

.service-card-icon {
  position: absolute;
  left: var(--space-xl);
  top: var(--space-xl);
  font-size: 0.75rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.85;
}

.service-card h3 {
  margin: 0 0 var(--space-sm);
  font-size: 1.05rem;
  font-weight: 600;
}

.service-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Pricing */

.pricing-section {
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.pricing-fx {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 42rem;
  margin: calc(var(--space-md) * -1) 0 var(--space-xl);
  line-height: 1.55;
}

.pricing-grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 900px) {
  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--space-xl);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.pricing-card--featured {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
  box-shadow:
    var(--shadow),
    0 0 0 1px color-mix(in srgb, var(--accent) 25%, transparent),
    0 0 40px color-mix(in srgb, var(--accent) 12%, transparent);
  position: relative;
}

/* Reserved ribbon row on every card so titles and prices stay aligned across the grid */
.pricing-card-ribbon {
  flex: 0 0 auto;
  min-height: 1.625rem;
  margin: 0 0 var(--space-sm);
  display: flex;
  align-items: center;
}

.pricing-card-ribbon--has-badge {
  justify-content: flex-end;
}

.pricing-badge {
  display: inline-block;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-warm);
  background: var(--accent-warm-dim);
  padding: 0.25em 0.65em;
  border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, var(--accent-warm) 25%, transparent);
}

.pricing-card-title {
  margin: 0 0 var(--space-sm);
  font-size: 1.15rem;
}

.pricing-card-for {
  margin: 0 0 var(--space-xs);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.pricing-scope {
  margin: 0 0 var(--space-md);
  font-size: 0.8125rem;
  font-style: italic;
  color: color-mix(in srgb, var(--text-muted) 92%, var(--accent) 8%);
  line-height: 1.45;
}

.pricing-prices {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border);
}

.pricing-prices--no-rate {
  /* Keeps the same vertical rhythm as “From $X” so the rule doesn’t collapse */
  min-height: 3.25rem;
  padding-top: var(--space-xs);
  border-bottom-color: color-mix(in srgb, var(--border) 100%, var(--text) 18%);
}

.pricing-usd {
  font-family: var(--font-sans);
  font-size: 1.375rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: var(--text);
}

.pricing-ngn {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-lg);
  flex: 1;
}

.pricing-features li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: var(--space-sm);
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.85rem;
}

.pricing-features li:last-child {
  margin-bottom: 0;
}

.pricing-card-btn {
  align-self: flex-start;
  margin-top: auto;
}

.pricing-cta-wrap {
  text-align: center;
  margin: var(--space-2xl) 0 0;
}

/* Personality */

.personality-inline-section {
  border-top: 1px solid var(--border);
  padding: var(--space-lg) 0;
  background: color-mix(in srgb, var(--bg-elevated) 55%, transparent);
}

.personality-inline {
  margin: 0 auto;
  max-width: 44rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
  text-align: center;
}

.personality-section {
  border-top: 1px solid var(--border);
}

.personality-card {
  max-width: none;
  margin: 0;
  padding: var(--space-2xl);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.personality-title {
  margin: 0 0 var(--space-md);
  font-size: 1.2rem;
  font-weight: 600;
}

.personality-body {
  margin: 0;
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.skills-section--core {
  border-top: 1px solid var(--border);
}

.skill-core-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 40rem;
  margin-inline: auto;
}

.skill-core-list li {
  margin: 0;
  padding: 0.4rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  background: color-mix(in srgb, var(--bg-card) 90%, var(--accent-dim) 10%);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}

/* Skills bento */

.skill-bento {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .skill-bento {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(min-content, auto);
  }
  .skill-span-2 {
    grid-column: span 2;
  }
}

.skill-bento .skill-card {
  margin: 0;
}

/* Hero positioning + availability */

.hero-positioning {
  margin: 0 0 var(--space-md);
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--text);
  max-width: 38rem;
}

.hero-availability {
  margin: 0 0 var(--space-md);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text-muted);
  max-width: 38rem;
}

/* Case studies */

.case-studies-section {
  border-top: 1px solid var(--border);
}

.case-studies-grid {
  display: grid;
  gap: var(--space-lg);
  /* Prevent closed <details> in the same row from stretching to match an expanded sibling */
  align-items: start;
  grid-auto-rows: min-content;
}

@media (min-width: 768px) {
  .case-studies-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.case-study-card {
  padding: 0;
  width: 100%;
  min-width: 0;
  align-self: start;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  overflow: hidden;
}

.case-study-summary {
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  cursor: pointer;
  transition: background 0.15s ease;
}

.case-study-summary::-webkit-details-marker {
  display: none;
}

.case-study-summary:hover {
  background: color-mix(in srgb, var(--accent-dim) 40%, transparent);
}

.case-study-summary:focus {
  outline: none;
}

.case-study-summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.case-study-summary-text {
  flex: 1;
  min-width: 0;
}

.case-study-chevron {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-top: 0.125rem;
  border-radius: var(--radius-sm);
  color: var(--accent);
  background: var(--accent-dim);
  transition: transform 0.2s ease;
}

.case-study-chevron svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

.case-study-card[open] .case-study-chevron {
  transform: rotate(180deg);
}

.case-study-expand {
  padding: 0 var(--space-lg) var(--space-lg);
}

.case-study-expand .case-study-body {
  margin: 0;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

.case-study-company {
  margin: 0 0 var(--space-xs);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
}

.case-study-title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.case-study-teaser {
  margin: var(--space-xs) 0 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.case-study-card[open] .case-study-title {
  -webkit-line-clamp: unset;
  overflow: visible;
  font-size: 1.0625rem;
}

.case-study-body {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}

@media (prefers-reduced-motion: reduce) {
  .case-study-chevron {
    transition: none;
  }
}

/* Right fit */

.right-fit-section {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.right-fit-list {
  margin: 0;
  padding-left: 1.25rem;
  max-width: 42rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.right-fit-list li {
  margin-bottom: var(--space-sm);
}

.right-fit-list li:last-child {
  margin-bottom: 0;
}

/* Testimonial / references */

.testimonial-section {
  border-top: 1px solid var(--border);
}

.testimonial-block {
  margin: 0 0 var(--space-md);
  padding: 0;
  border: none;
  max-width: 42rem;
}

.testimonial-block p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
}

.testimonial-attribution {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.reference-cards {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--space-md);
  margin: 0 0 var(--space-md);
  padding-bottom: var(--space-sm);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 0;
}

.reference-card {
  flex: 0 0 auto;
  width: clamp(16rem, 72vw, 22rem);
  scroll-snap-align: start;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  padding: var(--space-lg);
}

.reference-name {
  margin: 0;
  font-size: 1rem;
}

.reference-role {
  margin: 0.3rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.reference-message {
  margin: var(--space-sm) 0;
  color: var(--text);
}

.reference-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.reference-link:hover {
  text-decoration: underline;
}

/* Free checklist */

.checklist-section {
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.checklist-points {
  margin: 0 0 var(--space-md);
  padding-left: 1.25rem;
  max-width: 44rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.checklist-points li {
  margin-bottom: var(--space-sm);
}

.checklist-points li:last-child {
  margin-bottom: 0;
}

.checklist-cta-wrap {
  margin: 0;
}

/* Project intake */

.intake-section {
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.intake-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  max-width: 36rem;
  min-width: 0;
}

.intake-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.intake-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.intake-input,
.intake-textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  transition: border-color 0.15s ease;
  min-width: 0;
  width: 100%;
}

.intake-textarea {
  resize: vertical;
  min-height: 6rem;
}

.intake-input:hover,
.intake-input:focus-visible,
.intake-textarea:hover,
.intake-textarea:focus-visible {
  border-color: var(--accent);
  outline: none;
}

.intake-actions {
  margin-top: var(--space-xs);
}

/* Email templates reference page */

.email-templates-header .nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
}

.email-templates-header .nav a:hover {
  color: var(--accent);
}

.email-templates-main {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-3xl);
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.email-templates-page-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-sm);
}

.email-templates-lead {
  max-width: 42rem;
}

.email-templates-note {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 42rem;
  margin: 0 0 var(--space-xl);
}

.email-templates-note a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.email-templates-note a:hover {
  text-decoration: underline;
}

.email-templates-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  max-width: 48rem;
}

.email-template-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-soft);
  padding: var(--space-lg);
  border-left: 4px solid var(--accent);
}

.email-template-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 var(--space-xs);
  letter-spacing: -0.01em;
}

.email-template-desc {
  margin: 0 0 var(--space-md);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.email-template-plain {
  margin: 0 0 var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-x: auto;
  color: var(--text);
}

.email-template-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* Multi-page home hub */
.hero--home .hero-inner {
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

.hero--home .hero-value {
  margin-bottom: var(--space-md);
}

.hero--home .hero-byline {
  margin-bottom: var(--space-lg);
}

.hero--home .hero-lead {
  margin-bottom: var(--space-xl);
  max-width: 38rem;
  font-size: 1.0625rem;
  line-height: 1.5;
}

.hero--home .hero-actions {
  margin-bottom: var(--space-sm);
}

.hero-availability-foot {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-muted);
  margin: 0 0 var(--space-lg);
  max-width: 28rem;
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.hero-availability-foot::before {
  content: "●";
  color: var(--accent-warm);
  font-size: 0.55em;
  flex-shrink: 0;
  animation: avail-pulse 2s ease-in-out infinite;
}

@keyframes avail-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-meta--compact {
  margin-top: 0;
  gap: var(--space-sm) var(--space-md);
  font-size: 0.8125rem;
}

.home-hub {
  padding-block: clamp(3rem, 8vw, 5rem);
}

.home-hub-heading {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0 0 var(--space-lg);
}

.home-hub-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .home-hub-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }
}

.hub-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-xs);
  padding: var(--space-xl);
  min-height: 11rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-soft);
  transition:
    border-color 0.15s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.hub-card:hover {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
  transform: translateY(-4px);
  box-shadow:
    var(--shadow),
    0 0 0 1px color-mix(in srgb, var(--accent) 22%, transparent),
    0 8px 32px color-mix(in srgb, var(--accent) 15%, transparent);
}

.hub-card-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hub-card-desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-muted);
  flex: 1;
}

.hub-card-arrow {
  margin-top: auto;
  font-size: 1.25rem;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.hub-card:hover .hub-card-arrow {
  transform: translateX(5px);
}

.hub-card--cta {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
}

/* Work / Services: lighter layout — hub links + tuck-away blocks */

.page-cross {
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-elevated) 55%, transparent);
}

.page-cross--top {
  padding-block: var(--space-lg) var(--space-md);
  margin-top: 0;
}

.page-cross-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: stretch;
}

@media (min-width: 720px) {
  .page-cross-inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-lg) var(--space-xl);
  }
}

.page-cross-breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
}

.page-cross-breadcrumb-list li:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: color-mix(in srgb, var(--text-muted) 75%, var(--border));
  font-weight: 400;
}

.page-cross-breadcrumb-list a {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition:
    color 0.15s ease,
    border-color 0.15s ease;
}

.page-cross-breadcrumb-list a:hover,
.page-cross-breadcrumb-list a:focus-visible {
  color: var(--accent);
  border-bottom-color: color-mix(in srgb, var(--accent) 45%, transparent);
  outline: none;
}

.page-cross-breadcrumb-list [aria-current="page"] span {
  color: var(--text);
  font-weight: 600;
}

.page-cross-local-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: min(100%, 28rem);
}

@media (min-width: 720px) {
  .page-cross-local-wrap {
    align-items: flex-end;
    text-align: right;
  }
}

.page-cross-onpage-label {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.page-cross-local {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
  justify-content: flex-start;
}

@media (min-width: 720px) {
  .page-cross-local {
    justify-content: flex-end;
  }
}

.page-cross-local a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  padding-bottom: 0.05rem;
  transition:
    color 0.15s ease,
    border-color 0.15s ease;
}

.page-cross-local a:hover,
.page-cross-local a:focus-visible {
  color: var(--text);
  border-bottom-color: color-mix(in srgb, var(--accent) 65%, transparent);
  outline: none;
}

.page-cross-local a:not(:first-child)::before {
  content: "·";
  margin-right: 0.65rem;
  color: var(--text-muted);
  font-weight: 600;
  pointer-events: none;
}

.page-disclosure {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.page-disclosure__summary {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xs) var(--space-md);
  padding: var(--space-md) var(--space-lg);
  cursor: pointer;
  transition: background 0.15s ease;
}

.page-disclosure__summary::-webkit-details-marker {
  display: none;
}

.page-disclosure__summary:hover {
  background: color-mix(in srgb, var(--accent-dim) 35%, transparent);
}

.page-disclosure__summary:focus {
  outline: none;
}

.page-disclosure__summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.page-disclosure__icon {
  flex-shrink: 0;
}

.page-disclosure__title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
}

.page-disclosure__hint {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  flex: 1 1 12rem;
}

.page-disclosure__chevron {
  flex-shrink: 0;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-sm);
  color: var(--accent);
  background: var(--accent-dim);
  transition: transform 0.2s ease;
}

.page-disclosure__chevron svg {
  width: 1.1rem;
  height: 1.1rem;
  display: block;
}

.page-disclosure[open] .page-disclosure__chevron {
  transform: rotate(180deg);
}

.page-disclosure__body {
  padding: 0 var(--space-lg) var(--space-lg);
  border-top: 1px solid var(--border);
}

.page-disclosure__body .section-intro {
  margin-top: var(--space-sm);
}

.page-disclosure__body .personality-card {
  margin: 0;
  padding: var(--space-md) 0 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.page-lead {
  padding-block: clamp(2.5rem, 6vw, 4rem) var(--space-lg);
}

.page-lead-text {
  margin: 0;
  max-width: 40rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.nav a[aria-current="page"] {
  color: var(--accent);
  font-weight: 600;
}

.contact-section--page {
  padding-top: clamp(2.5rem, 7vw, 4rem);
  padding-bottom: clamp(3rem, 9vw, 5.5rem);
}

.intake-form--minimal {
  max-width: none;
  width: 100%;
}

.intake-form--minimal .intake-field {
  max-width: none;
}

.checklist-teaser-actions {
  margin-top: var(--space-md);
}

.checklist-section--page {
  padding-top: clamp(2rem, 6vw, 3rem);
}

.checklist-back {
  margin-top: var(--space-xl);
  font-size: 0.95rem;
}

.checklist-back a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.checklist-back a:hover {
  text-decoration: underline;
}

/* ─── Scroll-driven parallax on hero visual (Chrome 115+, Safari 18+) ─────── */

@supports (animation-timeline: scroll()) {
  @media (min-width: 960px) and (prefers-reduced-motion: no-preference) {
    .hero-visual-col {
      animation: hero-parallax linear both;
      animation-timeline: scroll(root);
      animation-range: entry 0% exit 60%;
    }
    @keyframes hero-parallax {
      from { transform: translateY(0) translateX(clamp(0.35rem, 1.25vw, 1rem)); }
      to   { transform: translateY(-40px) translateX(clamp(0.35rem, 1.25vw, 1rem)); }
    }
  }
}

/* ─── Mouse spotlight on cards ─────────────────────────────────────────────── */

.hub-card::before,
.stat-card::before,
.pricing-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    280px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    color-mix(in srgb, var(--accent) 8%, transparent),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}

.hub-card:hover::before,
.stat-card:hover::before,
.pricing-card:hover::before {
  opacity: 1;
}

/* Ensure card content sits above the spotlight pseudo-element */
.hub-card > *,
.stat-card > *,
.pricing-card > * {
  position: relative;
  z-index: 1;
}

/* ─── Custom cursor ring ────────────────────────────────────────────────────── */

.cursor-ring {
  position: fixed;
  top: -12px;
  left: -12px;
  width: 24px;
  height: 24px;
  border: 1.5px solid color-mix(in srgb, var(--accent) 70%, transparent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition:
    width 0.2s ease,
    height 0.2s ease,
    top 0.2s ease,
    left 0.2s ease,
    opacity 0.2s ease;
  mix-blend-mode: difference;
  will-change: transform;
}

.cursor-ring--active {
  width: 44px;
  height: 44px;
  top: -22px;
  left: -22px;
  opacity: 0.5;
}

@media (hover: none) {
  .cursor-ring { display: none; }
}
