:root {
  /* Fluid type scale (rem; root 100%) */
  --text-xs: clamp(0.6875rem, 0.62rem + 0.22vw, 0.75rem);
  --text-sm: clamp(0.8125rem, 0.76rem + 0.22vw, 0.875rem);
  --text-body: clamp(0.9375rem, 0.86rem + 0.35vw, 1.0625rem);
  --text-body-lg: clamp(1rem, 0.92rem + 0.38vw, 1.125rem);
  --text-step-1: clamp(1.125rem, 1rem + 0.55vw, 1.35rem);
  --text-step-2: clamp(1.35rem, 1.12rem + 0.95vw, 1.75rem);
  --text-step-3: clamp(1.65rem, 1.28rem + 1.35vw, 2.25rem);
  --text-step-4: clamp(2rem, 1.45rem + 2.2vw, 3rem);

  /* Section & page rhythm */
  --space-page-x: clamp(1rem, 4vw, 1.5rem);
  --space-section-y: clamp(2.25rem, 4vw + 1rem, 4rem);
  --space-block: clamp(1.5rem, 2.5vw + 0.75rem, 2.5rem);
  --space-stack-lg: clamp(2rem, 4vw + 0.5rem, 3.25rem);

  /* Minimum touch target (44px) */
  --touch-min: 2.75rem;

  /* lemon.io reference: acid chartreuse, not golden yellow */
  --lime: #d4ff00;
  --lime-bright: #e2ff4d;
  --lime-hover: #c2f000;
  --lime-muted: #e2ffc7;
  --purple: #a855f7;
  --purple-soft: #c084fc;
  --mint: #76f7c2;
  --cyan: #7dd3fc;
  --ink: #000000;
  --charcoal: #1a1a1a;
  --line-dark: #333333;
  --surface: #ffffff;
  --surface-cool: #f9f9f9;
  --text-on-dark: #ffffff;
  --text-muted-on-dark: #a3a3a3;
  --muted: #525252;
  --ink-soft: #171717;
  --line: rgba(0, 0, 0, 0.12);
  --bg: var(--surface-cool);
  --shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1200px;
  --glass-bg: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-glow: rgba(212, 255, 0, 0.22);
  --glass-bg-dark: rgba(10, 10, 10, 0.55);
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  /* legacy token names → chartreuse system */
  --lemon: var(--lime);
  --lemon-hover: var(--lime-hover);
  --lemon-soft: var(--lime-muted);
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--touch-min) + 1.25rem);
}

[data-parallax] {
  will-change: transform;
  transform: translate3d(0, var(--parallax-y, 0), 0);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--surface);
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(249, 249, 249, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  overflow: visible;
}

.site-header--dark {
  background: var(--ink);
  border-bottom: 3px solid var(--lime);
  backdrop-filter: none;
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem var(--space-page-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  overflow: visible;
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand span {
  color: var(--ink-soft);
  font-weight: 600;
}

.brand--dark {
  color: var(--text-on-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  min-width: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  line-height: 1.15;
}

/* Match primary nav links (About, Expertise, …) — title case, not all-caps lockup */
.brand--dark .brand-name {
  color: #ffffff;
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.brand--dark .brand-tagline {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted-on-dark);
  line-height: 1.25;
}

.brand--dark:hover .brand-name {
  color: var(--lime);
}

.brand--dark:hover .brand-tagline {
  color: rgba(212, 255, 0, 0.85);
}

.brand-avatar {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid var(--lime);
  box-shadow: 0 2px 0 rgba(212, 255, 0, 0.35);
  transition:
    transform 0.28s cubic-bezier(0.34, 1.2, 0.64, 1),
    box-shadow 0.28s ease;
  transform-origin: left center;
}

/* Click logo to peek a larger profile photo */
.brand--dark.brand--avatar-expanded {
  position: relative;
  z-index: 60;
}

.brand--dark.brand--avatar-expanded .brand-avatar {
  transform: scale(1.65);
  box-shadow:
    0 2px 0 rgba(212, 255, 0, 0.45),
    0 12px 40px rgba(0, 0, 0, 0.5);
}

/* Footer lockup: same profile photo as header, compact */
.brand-avatar.brand-avatar--footer {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(212, 255, 0, 0.32);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 500;
  justify-content: flex-end;
}

.nav-menu-toggle {
  display: none !important;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: var(--touch-min);
  height: var(--touch-min);
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nav-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-menu-toggle:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

.nav-menu-toggle__bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 1.35rem;
  height: 1.1rem;
}

.nav-menu-toggle__bars span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 1px;
  background: currentColor;
}

.nav-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.nav-drawer-backdrop[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .nav-menu-toggle {
    display: inline-flex !important;
    margin-left: auto;
    order: 3;
  }

  .nav-inner {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.75rem;
  }

  .brand--dark {
    min-width: 0;
    flex: 1;
    order: 1;
  }

  .brand--dark .brand-text {
    max-width: min(220px, 48vw);
  }

  .brand--dark .brand-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand--dark .brand-tagline {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
  }

  .nav-links.nav-links--dark {
    order: 2;
    position: fixed;
    top: 0;
    right: 0;
    width: min(100%, 320px);
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    padding: 4.75rem 1.15rem 1.5rem;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.5rem;
    background: var(--ink);
    border-left: 3px solid var(--lime);
    box-shadow: -16px 0 48px rgba(0, 0, 0, 0.45);
    z-index: 55;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nav-links.nav-links--dark.nav-links--open {
    transform: translateX(0);
  }

  .nav-links.nav-links--dark .nav-link-text,
  .nav-links.nav-links--dark .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    min-height: var(--touch-min);
  }

  .nav-links.nav-links--dark .nav-link-text {
    padding: 0.35rem 0.75rem;
    border-radius: 10px;
  }

  body.nav-drawer-open {
    overflow: hidden;
  }
}

@media (min-width: 901px) {
  .nav-menu-toggle {
    display: none !important;
  }

  .nav-drawer-backdrop {
    display: none !important;
  }

  .nav-links.nav-links--dark {
    position: static !important;
    width: auto !important;
    height: auto !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
    transform: none !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    overflow: visible !important;
  }

  .nav-links.nav-links--dark.nav-links--open {
    transform: none !important;
  }
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
  text-decoration: none;
}

.nav-links--dark .nav-link-text {
  color: #ffffff;
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.nav-links--dark .nav-link-text:hover {
  color: var(--lime);
  text-decoration: none;
}

.btn-compact {
  min-height: var(--touch-min);
  padding: 0.5rem 1rem;
  font-size: var(--text-sm);
}

/* ——— Global glass / floating button system ——— */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: var(--touch-min);
  padding: 0.625rem 1.25rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-body-lg);
  cursor: pointer;
  text-decoration: none;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--ink-soft);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 6px 22px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.24s cubic-bezier(0.34, 1.45, 0.64, 1),
    box-shadow 0.24s ease,
    border-color 0.24s ease,
    background 0.24s ease,
    color 0.24s ease;
}

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

.btn:hover {
  transform: scale(1.05) translateY(-2px);
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 14px 36px rgba(0, 0, 0, 0.18),
    0 0 42px var(--glass-glow);
}

.btn:active {
  transform: scale(0.98) translateY(1px);
  box-shadow:
    inset 0 2px 10px rgba(0, 0, 0, 0.12),
    0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Primary — neon chartreuse tint */
.btn-lemon {
  background: rgba(212, 255, 0, 0.22);
  border-color: rgba(212, 255, 0, 0.5);
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 6px 0 rgba(0, 0, 0, 0.18),
    0 0 32px rgba(212, 255, 0, 0.28);
}

.btn-lemon:hover {
  background: rgba(212, 255, 0, 0.32);
  border-color: rgba(212, 255, 0, 0.65);
  color: var(--ink);
}

/* Solid lime on dark hero — readable label (avoids murky glass-on-olive) */
.hero.hero--dark .hero-actions .btn-lemon {
  background: var(--lime);
  border-color: #0a0a0a;
  color: #0a0a0a;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 6px 0 #0a0a0a,
    0 0 36px rgba(212, 255, 0, 0.45);
}

.hero.hero--dark .hero-actions .btn-lemon:hover {
  background: var(--lime-bright);
  border-color: #0a0a0a;
  color: #0a0a0a;
}

/* Secondary — light surfaces */
.btn-ghost {
  background: rgba(255, 255, 255, 0.35);
  color: var(--ink);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 4px 18px rgba(0, 0, 0, 0.06);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(0, 0, 0, 0.14);
}

.btn-ghost-on-dark {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(248, 250, 252, 0.28);
  color: #f8fafc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 6px 22px rgba(0, 0, 0, 0.25);
}

.btn-ghost-on-dark:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--lime);
  color: var(--lime);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--text-on-dark);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--lime);
  color: var(--lime);
}

.btn-dark {
  background: var(--glass-bg-dark);
  color: var(--text-on-dark);
  min-height: var(--touch-min);
  padding: 0.625rem 1.35rem;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 6px 22px rgba(0, 0, 0, 0.35),
    0 0 28px rgba(168, 85, 247, 0.12);
}

.btn-dark:hover {
  background: rgba(26, 26, 26, 0.75);
  border-color: rgba(212, 255, 0, 0.35);
}

.btn-ghost-on-lime {
  background: rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.35);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 4px 18px rgba(0, 0, 0, 0.08);
}

.btn-ghost-on-lime:hover {
  background: rgba(0, 0, 0, 0.18);
  border-color: var(--ink);
}

.hero-slab {
  position: relative;
  overflow: hidden;
  padding: var(--space-stack-lg) var(--space-page-x) var(--space-section-y);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(56px);
  opacity: 0.55;
}

.blob-1 {
  width: min(420px, 90vw);
  height: min(420px, 90vw);
  background: radial-gradient(circle at 30% 30%, rgba(212, 255, 0, 0.35) 0%, transparent 62%);
  top: -120px;
  left: -120px;
}

.blob-2 {
  width: min(360px, 80vw);
  height: min(360px, 80vw);
  background: radial-gradient(circle at 70% 50%, rgba(168, 85, 247, 0.28) 0%, transparent 60%);
  bottom: -80px;
  right: -80px;
  opacity: 0.55;
}

.dot-field {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, black 0%, transparent 88%);
  opacity: 0.85;
}

.hero--dark {
  background: var(--ink);
}

.hero--dark .dot-field {
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}

.hero-sparks {
  position: absolute;
  inset: 0;
  max-width: var(--max);
  margin: 0 auto;
  pointer-events: none;
  z-index: 2;
}

.doodle-star {
  position: absolute;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--cyan);
  text-shadow: 2px 2px 0 #000;
  animation: sparkle 12s ease-in-out infinite;
}

.doodle-star--1 {
  top: 18%;
  left: -2%;
  font-size: 2rem;
}

.doodle-star--2 {
  top: 8%;
  right: 6%;
  font-size: 1.5rem;
}

@media (max-width: 900px) {
  .doodle-star--1 {
    left: 2%;
  }
}

.text-mint {
  color: var(--mint);
}

.text-purple {
  color: var(--purple-soft);
}

/* Was .hero--dark .hero h1 — invalid (no nested .hero); base headline must be light on dark */
.hero.hero--dark .hero-copy h1 {
  color: #f5f5f5;
}

.hero.hero--dark .hero-copy h1 .text-mint {
  color: var(--mint);
}

.hero.hero--dark .hero-copy h1 .text-purple {
  color: var(--purple-soft);
}

.hero--dark .lemon-highlight {
  background: none;
  color: var(--mint);
}

.hero--dark .hero-sub {
  color: var(--text-muted-on-dark);
}

.eyebrow--on-dark {
  color: var(--purple-soft);
}

.eyebrow--on-dark::before {
  background: var(--lime);
}

.eyebrow-emoji {
  margin-right: 0.15em;
}

.hero {
  padding: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--space-page-x);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-block);
  align-items: start;
  justify-items: center;
}

@media (min-width: 901px) {
  .hero-inner {
    grid-template-columns: 1.05fr minmax(280px, 400px);
    gap: 2rem 2.5rem;
    justify-items: stretch;
  }
}

.hero-copy {
  padding-top: 0.35rem;
}

.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (max-width: 900px) {
  .hero-aside {
    max-width: min(420px, 100%);
    width: 100%;
  }

  .hero-copy {
    text-align: center;
    max-width: 40rem;
    margin-inline: auto;
  }

  .hero-copy .eyebrow-lemon {
    justify-content: center;
  }

  .hero-sub {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }
}

@media (min-width: 901px) {
  .hero-copy {
    text-align: left;
  }

  .hero-actions {
    justify-content: flex-start;
  }
}

.eyebrow {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.eyebrow-lemon {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--purple);
}

.eyebrow-lemon::before {
  content: "";
  display: block;
  width: 2rem;
  height: 3px;
  border-radius: 999px;
  background: var(--lemon);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.lemon-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.55rem, 1.1rem + 4.5vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 1rem;
}

.lemon-highlight {
  background: linear-gradient(transparent 62%, var(--lemon-soft) 62%);
}

.hero-sub {
  font-size: var(--text-body-lg);
  color: var(--muted);
  max-width: 36rem;
  margin: 0 0 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.focus-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  width: 100%;
  max-width: 36rem;
}

@media (min-width: 901px) {
  .focus-strip {
    justify-content: flex-start;
  }
}

.focus-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.75rem 0.4rem 0.5rem;
  border-radius: 999px;
  background: var(--charcoal);
  border: 2px solid var(--line-dark);
  box-shadow: 0 3px 0 rgba(212, 255, 0, 0.2);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-on-dark);
  flex: 0 1 auto;
}

@media (max-width: 480px) {
  .focus-item {
    flex: 1 1 calc(50% - 0.3rem);
    min-width: 140px;
    justify-content: center;
  }
}

.focus-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(212, 255, 0, 0.2);
  border: 1.5px solid var(--lime);
  color: var(--lime);
}

.focus-label {
  padding-right: 0.15rem;
}

.hero-art {
  position: relative;
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(165deg, var(--charcoal) 0%, #0d0d0d 100%);
  border: 2px solid var(--line-dark);
  box-shadow: 0 12px 0 rgba(212, 255, 0, 0.25);
  padding: 0.5rem 0.25rem 0;
  overflow: hidden;
}

.hero-art__highlights {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0.55rem 0.75rem 0.65rem;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 10, 0.55) 28%, rgba(10, 10, 10, 0.96) 100%);
  pointer-events: none;
}

.hero-art-highlights-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.28rem;
  font-size: clamp(0.68rem, 2.1vw, 0.8rem);
  font-weight: 600;
  color: var(--text-muted-on-dark);
  text-align: left;
  line-height: 1.3;
}

.hero-art-highlights-list li {
  display: flex;
  gap: 0.35rem;
  align-items: flex-start;
}

.hero-art-highlights-list li::before {
  content: "•";
  color: var(--lime);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 0.06em;
}

.hero-scene {
  width: 100%;
  height: auto;
  display: block;
  max-height: 220px;
}

@media (max-width: 480px) {
  .hero-scene {
    max-height: 175px;
  }
}

.hero-art .hero-ground {
  fill: rgba(10, 10, 10, 0.05);
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

.float-slow {
  animation: floatY 6.5s ease-in-out infinite;
}

.float-med {
  animation: floatY 4.8s ease-in-out 0.35s infinite;
}

@keyframes sparkle {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
    opacity: 1;
  }
  50% {
    transform: rotate(15deg) scale(1.05);
    opacity: 0.88;
  }
}

.sparkle-spin {
  animation: sparkle 10s ease-in-out infinite;
  transform-origin: center;
}

.hero-card {
  position: relative;
  background: var(--charcoal);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 2px solid var(--line-dark);
  box-shadow: 0 14px 0 rgba(212, 255, 0, 0.35);
  overflow: hidden;
}

.hero-card-stack {
  margin-top: 0;
}

.hero-card-accent {
  position: absolute;
  right: -20%;
  top: -40%;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--purple);
  opacity: 0.18;
  pointer-events: none;
}

.hero-profile {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.hero-profile img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--lime);
}

.hero-profile .meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text-on-dark);
}

.hero-profile .meta span,
.profile-tagline {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-muted-on-dark);
  line-height: 1.35;
}

.profile-tagline {
  display: block;
  margin-top: 0.15rem;
}

.mini-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
  color: var(--text-muted-on-dark);
  display: grid;
  gap: 0.35rem;
}

.mini-list li {
  display: flex;
  gap: 0.4rem;
}

.mini-list li::before {
  content: "•";
  color: var(--lime);
  font-weight: 700;
}

/* ——— Lemon.io-style infinite avatar strip ——— */
.marquee-band {
  position: relative;
  padding: 2rem 0 2.35rem;
  border-block: 2px solid var(--ink);
  background: var(--surface-cool);
}

.marquee-band--dark {
  background: var(--ink);
  border-block-color: var(--line-dark);
}

.marquee-eyebrow--on-dark {
  color: var(--text-muted-on-dark);
}

.marquee-eyebrow--on-dark .text-purple {
  color: var(--purple-soft);
}

.marquee-band-inner {
  max-width: 100%;
}

.marquee-eyebrow {
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 auto 1.2rem;
  max-width: 36rem;
  padding-inline: var(--space-page-x);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  line-height: 1.4;
}

.marquee-pulse {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  border: 2px solid var(--text-on-dark);
  animation: marquee-pulse 2.2s ease-out infinite;
}

@keyframes marquee-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 255, 0, 0.5);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(212, 255, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(212, 255, 0, 0);
  }
}

.marquee-viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 118s linear infinite;
}

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

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

.marquee-set {
  display: flex;
  align-items: flex-end;
  gap: 1.35rem;
  padding: 0.2rem 0.75rem 0.35rem;
}

.marquee-card {
  flex-shrink: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  width: 118px;
}

.marquee-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 3px solid var(--line-dark);
  overflow: hidden;
  background: var(--charcoal);
  box-shadow: 0 6px 0 rgba(212, 255, 0, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.marquee-card--photo .marquee-avatar {
  box-shadow: 0 6px 0 var(--lime), 0 0 0 2px rgba(255, 255, 255, 0.12);
}

.marquee-band--dark .marquee-avatar {
  border-color: #fff;
  background: var(--charcoal);
}

.marquee-band--dark .marquee-caption {
  color: var(--text-muted-on-dark);
}

/* Per-caption neon (lemon.io palette) — overrides muted on dark band */
.marquee-band--dark .marquee-caption.marquee-caption--tint-lime {
  color: var(--lime);
}

.marquee-band--dark .marquee-caption.marquee-caption--tint-purple {
  color: var(--purple-soft);
}

.marquee-band--dark .marquee-caption.marquee-caption--tint-mint {
  color: var(--mint);
}

.marquee-band--dark .marquee-caption.marquee-caption--tint-cyan {
  color: var(--cyan);
}

.marquee-band--dark .marquee-caption.marquee-caption--tint-pink {
  color: #ff6bcb;
}

.marquee-band--dark .marquee-caption.marquee-caption--tint-amber {
  color: #ffe066;
}

.marquee-card:hover .marquee-avatar {
  transform: translateY(-4px);
  box-shadow: 0 10px 0 rgba(212, 255, 0, 0.55);
}

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

.marquee-caption {
  font-family: var(--font-body);
  font-size: 0.64rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
  color: var(--muted);
  max-width: 118px;
  letter-spacing: 0.02em;
}

@media (max-width: 520px) {
  .marquee-set {
    gap: 0.75rem;
    padding-inline: 0.5rem;
  }

  .marquee-card {
    width: 96px;
  }

  .marquee-avatar {
    width: 72px;
    height: 72px;
  }

  .marquee-caption {
    max-width: 96px;
    font-size: 0.6rem;
  }

  .marquee-viewport {
    mask-image: linear-gradient(90deg, transparent 0%, #000 2%, #000 98%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 2%, #000 98%, transparent 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100% !important;
    max-width: var(--max);
    margin-inline: auto;
    row-gap: 0.75rem;
    column-gap: 0.5rem;
  }

  .marquee-track .marquee-set[aria-hidden="true"] {
    display: none;
  }

  .marquee-pulse {
    animation: none;
  }

  .marquee-band:hover .marquee-track {
    animation-play-state: running;
  }
}

.stats {
  border-block: 2px solid var(--ink);
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

.stats--dark {
  background: var(--ink);
  border-block-color: var(--line-dark);
}

.stats-inner--dark {
  padding: 2.5rem 1.5rem;
}

.stats--dark .stat strong {
  color: var(--text-on-dark);
  font-weight: 800;
}

.stats--dark .stat span {
  color: var(--text-muted-on-dark);
}

@media (min-width: 801px) {
  .stats--dark .stat:not(:first-child) {
    border-left: 1px solid var(--line-dark);
    padding-left: 1.25rem;
    margin-left: 0.25rem;
  }
}

.stats-rail .stat {
  position: relative;
  padding-left: 0.85rem;
}

.stats-rail .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 4px;
  border-radius: 999px;
  background: var(--lime);
}

.stats--dark.stats-rail .stat::before {
  background: linear-gradient(180deg, var(--lime), var(--purple-soft));
}

.stats-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space-block) var(--space-page-x);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-block);
}

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

@media (min-width: 801px) {
  .stats-inner {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 520px) {
  .stats-inner .stat strong {
    font-size: clamp(1.45rem, 6vw, 1.6rem);
  }
}

.stat {
  text-align: left;
}

.stat strong {
  font-family: var(--font-display);
  display: block;
  font-size: clamp(1.5rem, 3.5vw + 0.5rem, 1.85rem);
  color: var(--ink);
  letter-spacing: -0.02em;
}

.stat span {
  display: block;
  font-size: var(--text-sm);
  color: var(--muted);
  margin-top: 0.2rem;
}

.section {
  padding-block: var(--space-section-y);
  padding-inline: 0;
}

.section.alt {
  background: var(--surface);
}

.section--paper {
  background: var(--surface-cool);
}

.section--cool {
  background: var(--surface);
}

.section--dark {
  background: var(--ink);
  color: var(--text-on-dark);
}

.section--dark .section-head h2 {
  color: var(--text-on-dark);
}

.section--dark .section-head p {
  color: var(--text-muted-on-dark);
}

.section--dark .eyebrow-lemon {
  color: var(--purple-soft);
}

.section--dark .eyebrow-lemon::before {
  background: var(--lime);
}

.torn-edge {
  line-height: 0;
  margin: 0;
  padding: 0;
}

.torn-edge svg {
  display: block;
  width: 100%;
  height: 24px;
}

@media (min-width: 900px) {
  .torn-edge svg {
    height: 32px;
  }
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--space-page-x);
}

.section-head {
  margin-bottom: var(--space-block);
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 1.2rem + 2vw, 2.25rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.5rem;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 42rem;
}

.section-head-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-block);
  margin-bottom: var(--space-block);
  text-align: center;
}

.section-head-row > .btn,
.section-head-row > a.btn {
  align-self: center;
}

@media (min-width: 641px) {
  .section-head-row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    text-align: left;
    gap: 1.5rem;
  }

  .section-head-row > .btn,
  .section-head-row > a.btn {
    align-self: flex-start;
  }

  .section-head-row > div:first-child {
    flex: 1;
    min-width: min(100%, 220px);
  }
}

.section-head-row h2 {
  margin: 0.35rem 0 0;
}

.section-deco {
  position: relative;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.deco-ring {
  position: absolute;
  inset: 0;
  border: 3px dashed rgba(10, 10, 10, 0.2);
  border-radius: 50%;
  animation: spin-slow 32s linear infinite;
}

.deco-lemon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.12));
}

@keyframes spin-slow {
  to {
    transform: rotate(360deg);
  }
}

.about-prose {
  max-width: 46rem;
}

.about-prose p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: var(--text-body-lg);
}

.about-prose p:last-child {
  margin-bottom: 0;
}

.about-sub {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 1.75rem 0 0.65rem;
}

.about-sub:first-child {
  margin-top: 0;
}

.about-list {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.98rem;
  display: grid;
  gap: 0.5rem;
}

.about-list li::marker {
  color: var(--purple);
  font-weight: 800;
}

/* Black title bands — same energy as lemon.io nav (bold white on #000) */
.section-nav-bar {
  background: #000000;
  color: #ffffff;
  border-bottom: 3px solid var(--lime);
}

.section-nav-bar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.2rem var(--space-page-x) 1.35rem;
}

.section-nav-kicker {
  margin: 0 0 0.4rem;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
}

.section-nav-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #ffffff;
}

.section-below-nav-bar {
  padding-top: var(--space-block);
  padding-bottom: var(--space-section-y);
}

.section-lede {
  margin: 0 0 var(--space-block);
  max-width: 42rem;
  font-size: var(--text-body-lg);
  color: var(--ink-soft);
  line-height: 1.65;
  text-wrap: pretty;
}

/* First intro line only (not lede inside .section-head-row) */
.section-below-nav-bar > .section-lede:first-child {
  margin-inline: auto;
  text-align: center;
}

@media (min-width: 641px) {
  .section-below-nav-bar > .section-lede:first-child {
    margin-inline: 0;
    text-align: left;
  }
}

/* About: saturated canvas + framed story */
.section-about-rich {
  padding: 0;
}

.section-about-canvas {
  padding: 2.75rem 0 4rem;
  background: linear-gradient(152deg, rgba(212, 255, 0, 0.12) 0%, #f9f9f9 38%, rgba(168, 85, 247, 0.12) 100%);
}

.about-panel {
  position: relative;
  max-width: 46rem;
  margin: 0 auto;
  padding: 2rem 1.85rem 2.25rem;
  background: #ffffff;
  border: 3px solid #000000;
  border-radius: 16px;
  box-shadow: 14px 14px 0 rgba(212, 255, 0, 0.42), -8px -8px 0 rgba(168, 85, 247, 0.2);
}

.about-panel-accent {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.35rem;
  opacity: 0.85;
  pointer-events: none;
}

.about-prose--rich p {
  color: #262626;
}

.about-prose--rich .about-sub {
  color: #7c21c4;
  font-size: 1.08rem;
}

.about-prose--rich .about-sub::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  margin-top: 0.35rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lime), var(--purple-soft));
}

.about-prose--rich p:first-of-type {
  font-size: 1.08rem;
  font-weight: 500;
  color: #111;
}

.more-project-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.more-project-item {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 1rem 1.25rem;
  align-items: start;
  padding: 1rem 1.15rem;
  background: #ffffff;
  border: 2px solid #000000;
  border-radius: 12px;
  box-shadow: 6px 6px 0 rgba(212, 255, 0, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.more-project-item:hover {
  transform: translateY(-2px);
  box-shadow: 8px 8px 0 rgba(168, 85, 247, 0.35);
}

.more-project-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  color: #000000;
  line-height: 1.3;
}

.more-project-detail {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #404040;
}

@media (max-width: 680px) {
  .more-project-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

.cta-headline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}

.cta-ufo {
  display: inline-flex;
  flex-shrink: 0;
  vertical-align: middle;
  margin-left: 0.15rem;
  animation: ufo-hover 3.2s ease-in-out infinite;
}

.cta-ufo-svg {
  width: clamp(2rem, 5vw, 2.85rem);
  height: auto;
  display: block;
  filter: drop-shadow(2px 3px 0 rgba(0, 0, 0, 0.15));
}

@keyframes ufo-hover {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .pill-grid {
    justify-content: flex-start;
  }
}

.pill {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--lime-muted);
  color: var(--ink-soft);
  border: 2px solid rgba(0, 0, 0, 0.14);
  box-shadow: 0 2px 0 rgba(168, 85, 247, 0.12);
  max-width: 100%;
  text-align: center;
  line-height: 1.35;
  word-break: break-word;
  hyphens: auto;
}

.pill-grid-fat {
  gap: 0.6rem;
}

.pill-grid-fat .pill {
  padding: 0.45rem 1rem;
  font-size: 0.88rem;
}

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

@media (min-width: 801px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

.card {
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: 0 10px 0 rgba(212, 255, 0, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.section.alt .card {
  background: var(--bg);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 0 rgba(168, 85, 247, 0.35);
}

.card-grid-tilt .card:nth-child(odd) {
  transform: rotate(-0.35deg);
}

.card-grid-tilt .card:nth-child(even) {
  transform: rotate(0.35deg);
}

.card-grid-tilt .card:hover {
  transform: translateY(-4px) rotate(0deg);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.35rem;
  color: var(--ink);
}

.card .meta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.card p {
  margin: 0 0 0.9rem;
  font-size: var(--text-body);
  color: var(--ink-soft);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

.more-list {
  margin: 1.5rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
  display: grid;
  gap: 0.45rem;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.cert-card {
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 100%;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.04);
}

.section--dark .cert-card {
  background: var(--charcoal);
  border-color: var(--line-dark);
  box-shadow: 0 6px 0 rgba(212, 255, 0, 0.2);
}

.section--dark .cert-card h3 {
  color: var(--text-on-dark);
}

.section--dark .cert-issuer {
  color: var(--purple-soft);
}

.section--dark .cert-actions a {
  background: var(--ink);
  border-color: var(--line-dark);
  color: var(--text-on-dark);
}

.section--dark .cert-actions a.primary {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
}

.cert-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.3;
  margin: 0;
  color: var(--ink);
}

.cert-issuer {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.cert-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cert-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch-min);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  background: #fff;
}

.cert-actions a.primary {
  background: var(--ink);
  color: var(--lime);
  border-color: var(--ink);
}

.cert-actions a:hover {
  text-decoration: none;
  opacity: 0.9;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-section-y);
  padding-inline: 0;
  background: var(--ink);
  color: #f8fafc;
}

.cta-band--lime {
  background: var(--lime);
  color: var(--ink);
  border-block: 3px solid var(--ink);
}

.cta-band--lime::before,
.cta-band--lime::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 14px;
  background: repeating-linear-gradient(
    90deg,
    var(--ink) 0,
    var(--ink) 8px,
    transparent 8px,
    transparent 14px
  );
  opacity: 0.12;
  pointer-events: none;
}

.cta-band--lime::before {
  top: 0;
}

.cta-band--lime::after {
  bottom: 0;
}

.cta-eyebrow-lime {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: var(--text-xs);
  margin: 0 0 0.75rem;
}

.cta-eyebrow-lime::before {
  content: "";
  width: 1.75rem;
  height: 3px;
  background: var(--purple);
  border-radius: 999px;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--space-page-x);
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: var(--space-block);
  align-items: center;
  justify-content: center;
  text-align: center;
}

@media (min-width: 768px) {
  .cta-inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }
}

.cta-band--lime .cta-inner h2,
.cta-band--lime .cta-headline {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  margin: 0 0 0.5rem;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
}

.text-purple-on-lime {
  color: #7c21c4;
}

.cta-lede {
  margin: 0;
  max-width: 32rem;
  color: rgba(0, 0, 0, 0.78);
  font-size: var(--text-body-lg);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.cta-doodle {
  position: absolute;
  font-size: 1.5rem;
  color: var(--cyan);
  text-shadow: 2px 2px 0 #000;
  pointer-events: none;
  z-index: 0;
}

.cta-doodle--a {
  top: 1.25rem;
  left: 8%;
}

.cta-doodle--b {
  bottom: 1.5rem;
  right: 10%;
}

.site-footer {
  padding-block: var(--space-block) var(--space-section-y);
  padding-inline: var(--space-page-x);
  font-size: var(--text-sm);
  color: var(--muted);
}

.site-footer--dark {
  background: var(--ink);
  color: var(--text-muted-on-dark);
  padding-block: var(--space-section-y) var(--space-block);
  padding-inline: var(--space-page-x);
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr minmax(0, 2fr);
  gap: 2rem;
}

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

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

.footer-col--wide {
  min-width: 0;
}

.footer-heading {
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  margin: 0 0 0.35rem;
}

.footer-col a {
  color: var(--text-on-dark);
  font-weight: 500;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--lime);
  text-decoration: underline;
}

.footer-note {
  margin: 0;
  line-height: 1.55;
  max-width: 28rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 1.5rem;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted-on-dark);
}

.footer-brand-row {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-on-dark);
  font-weight: 600;
}

/* ——— Multi-page nav current ——— */
.nav-links--dark a[aria-current="page"] {
  color: var(--lime);
  text-decoration: none;
}

.brand--dark[aria-current="page"] .brand-name {
  color: var(--lime);
}

.brand--dark[aria-current="page"] .brand-tagline {
  color: var(--purple-soft);
}

/* ——— Scroll reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ——— Glass panels ——— */
.glass-panel {
  background: rgba(26, 26, 26, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 16px 48px rgba(0, 0, 0, 0.28),
    0 0 60px rgba(212, 255, 0, 0.06);
}

.glass-panel--modal {
  border-radius: var(--radius-lg, 22px);
  padding: 1.5rem 1.35rem 1.25rem;
  max-width: min(520px, 94vw);
  width: 100%;
  max-height: min(88vh, 820px);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.glass-panel--modal.glass-panel--booking {
  max-width: min(720px, calc(100vw - 1.5rem));
  width: 100%;
  max-height: min(95dvh, 920px);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* ——— Booking modal ——— */
.booking-modal[hidden] {
  display: none !important;
}

.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  animation: modal-in 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes modal-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.booking-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.booking-modal__panel {
  color: var(--text-on-dark);
  animation: modal-panel-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes modal-panel-in {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.booking-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0 !important;
  min-width: 0;
  border-radius: 50% !important;
  font-size: 1rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.booking-modal__close:hover {
  background: rgba(212, 255, 0, 0.2) !important;
  border-color: var(--lime) !important;
  color: var(--ink) !important;
}

.booking-modal__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 2rem 0.35rem 0;
  letter-spacing: -0.03em;
}

.booking-modal__lede {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--text-muted-on-dark);
  max-width: 36ch;
}

.booking-modal__frame-wrap {
  flex: 0 0 auto;
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
}

.booking-calendly-host {
  box-sizing: border-box;
}

.booking-calendly-host iframe {
  min-height: 520px !important;
}

.booking-modal__fallback {
  text-align: center;
  padding: 2rem 1rem;
}

.booking-modal__fallback-text {
  margin: 0 0 1rem;
  color: var(--text-muted-on-dark);
  font-size: 0.95rem;
}

body.modal-open {
  overflow: hidden;
}

/* ——— About timeline (about page) ——— */
.page-about .section-about-timeline {
  position: relative;
}

.about-timeline-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space-stack-lg) var(--space-page-x) var(--space-section-y);
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(168, 85, 247, 0.08) 0%, transparent 55%),
    linear-gradient(180deg, var(--surface-cool) 0%, var(--bg) 100%);
}

.timeline-node {
  display: flex;
  gap: 1.25rem;
  align-items: stretch;
  margin-bottom: 0.5rem;
}

.timeline-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 2.75rem;
  flex-shrink: 0;
}

.timeline-marker {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--lime);
  border: 2px solid var(--ink);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.timeline-line {
  flex: 1;
  width: 3px;
  min-height: 1.5rem;
  margin-top: 0.35rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--lime), var(--purple));
  opacity: 0.45;
}

.timeline-card {
  flex: 1;
  min-width: 0;
  padding: 1.25rem 1.35rem 1.35rem;
  color: var(--text-on-dark);
  margin-bottom: 1.25rem;
}

.page-about .timeline-card .about-sub {
  color: var(--purple-soft);
}

.page-about .timeline-card p,
.page-about .timeline-card .about-list {
  color: rgba(248, 250, 252, 0.88);
}

.timeline-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  color: var(--text-on-dark);
}

.timeline-card__title--muted {
  color: var(--text-muted-on-dark);
  font-size: 1rem;
}

.timeline-card__body :first-child {
  margin-top: 0;
}

.timeline-card__body :last-child {
  margin-bottom: 0;
}

/* ——— Mid-page booking strip ——— */
.booking-nudge {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-block);
  padding-inline: var(--space-page-x);
  background: var(--ink);
  border-block: 2px solid var(--line-dark);
}

.booking-nudge__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background:
    radial-gradient(circle at 20% 50%, rgba(212, 255, 0, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(168, 85, 247, 0.14) 0%, transparent 42%);
}

.booking-nudge__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-block);
}

@media (min-width: 640px) {
  .booking-nudge__inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }
}

.booking-nudge__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  margin: 0 0 0.35rem;
  color: var(--text-on-dark);
  letter-spacing: -0.03em;
}

.booking-nudge__copy p {
  margin: 0;
  color: var(--text-muted-on-dark);
  font-size: var(--text-body-lg);
  max-width: 36ch;
}

/* ——— Contact page ——— */
.contact-hero {
  position: relative;
  padding-block: var(--space-section-y);
  padding-inline: var(--space-page-x);
  background: var(--ink);
  overflow: hidden;
}

.contact-hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(212, 255, 0, 0.14) 0%, transparent 55%),
    radial-gradient(circle at 90% 80%, rgba(168, 85, 247, 0.12) 0%, transparent 40%);
}

.contact-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-block);
  align-items: center;
  justify-items: center;
  text-align: center;
}

@media (min-width: 801px) {
  .contact-hero__inner {
    grid-template-columns: 1fr minmax(260px, 340px);
    gap: 2.5rem;
    justify-items: stretch;
    text-align: left;
  }
}

.contact-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 0.75rem;
  color: var(--text-on-dark);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.contact-hero .lede {
  margin: 0 0 1.5rem;
  color: var(--text-muted-on-dark);
  font-size: var(--text-body-lg);
  max-width: 42ch;
}

.contact-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.contact-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.contact-card__label {
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  margin: 0 0 1rem;
}

/* ——— Process / skills mascots (home) ——— */
.process-mascots {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.75rem 0 0;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 721px) {
  .process-mascots {
    grid-template-columns: repeat(3, 1fr);
    max-width: 720px;
  }
}

.process-mascot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.process-mascot__svg {
  width: 100%;
  max-width: 120px;
  height: auto;
  filter: drop-shadow(0 0 12px rgba(212, 255, 0, 0.15));
  transition: transform 0.35s ease, filter 0.35s ease;
}

.process-mascot:hover .process-mascot__svg {
  transform: translateY(-6px);
  filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.35));
}

.process-mascot__label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Lemon.io-style value blocks: bold outline illos on ink cards */
.value-prop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1.25rem;
  margin: 2rem 0 0.25rem;
}

.value-prop-card {
  background: #0a0a0a;
  color: #f5f5f5;
  border: 2px solid #0a0a0a;
  border-radius: var(--radius);
  padding: 1.45rem 1.25rem 1.5rem;
  box-shadow: 0 8px 0 rgba(212, 255, 0, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.value-prop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 0 rgba(168, 85, 247, 0.28);
}

.value-prop-card__art {
  margin: 0 auto 1rem;
  max-width: 148px;
}

.value-prop-card__art svg {
  width: 100%;
  height: auto;
  display: block;
}

.value-prop-card__title {
  font-family: var(--font-display);
  font-size: var(--text-step-1);
  font-weight: 800;
  margin: 0 0 0.45rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #ffffff;
}

.value-prop-card__text {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

/* ——— Cert preview (home) ——— */
.cert-preview-band {
  background: var(--ink);
  padding: 2.5rem 0 3rem;
  border-block: 2px solid var(--line-dark);
}

.cert-preview-band .section-head h2 {
  color: var(--text-on-dark);
}

.cert-preview-band .section-head p {
  color: var(--text-muted-on-dark);
}

.cert-preview-grid {
  margin-top: 1.5rem;
}

/* ——— Enhanced cards ——— */
.card {
  border-radius: var(--radius);
  border-width: 1px;
  border-color: rgba(0, 0, 0, 0.14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 10px 0 rgba(212, 255, 0, 0.22),
    0 18px 40px rgba(0, 0, 0, 0.06);
}

.card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 14px 0 rgba(168, 85, 247, 0.32),
    0 24px 48px rgba(0, 0, 0, 0.1),
    0 0 48px rgba(212, 255, 0, 0.12);
}

.card-grid-tilt .card:nth-child(odd),
.card-grid-tilt .card:nth-child(even) {
  transform: rotate(0deg);
}

.card-grid-tilt .card:hover {
  transform: translateY(-6px) scale(1.02) rotate(0deg);
}

.cert-card {
  border-radius: var(--radius);
  border-width: 1px;
  border-color: rgba(255, 255, 255, 0.14);
  transition:
    transform 0.25s cubic-bezier(0.34, 1.45, 0.64, 1),
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.section--dark .cert-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: rgba(212, 255, 0, 0.35);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(212, 255, 0, 0.12);
}

/* ——— Hero alien + parallax hook ——— */
.hero-alien {
  transform: translateY(var(--parallax-y, 0));
  filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.45));
}

.hero-alien .alien-glow {
  stroke: var(--purple-soft);
  opacity: 0.85;
}

/* ——— Ambient floaters ——— */
.bg-floaters {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.bg-floater {
  position: absolute;
  opacity: 0.07;
  animation: floater-drift 22s ease-in-out infinite;
}

.bg-floater--2 {
  animation-delay: -7s;
  right: 8%;
  top: 20%;
}

.bg-floater--3 {
  animation-delay: -14s;
  left: 12%;
  bottom: 15%;
}

@keyframes floater-drift {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(12px, -18px) rotate(4deg);
  }
  66% {
    transform: translate(-10px, 8px) rotate(-3deg);
  }
}

.section--cool {
  position: relative;
}

.cta-guide {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.cta-guide__svg {
  width: min(72px, 18vw);
  height: auto;
  filter: drop-shadow(0 0 14px rgba(212, 255, 0, 0.25));
  animation: ufo-hover 4s ease-in-out infinite;
}

/* ——— Global responsive polish ——— */
@media (max-width: 640px) {
  .hero-actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }

  .booking-nudge__inner .btn {
    width: 100%;
    max-width: 22rem;
    justify-content: center;
  }

  .cta-actions {
    width: 100%;
    justify-content: center;
  }

  .cta-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
    min-width: min(100%, 10rem);
  }

  .section-head-row > .btn,
  .section-head-row > a.btn {
    width: 100%;
    max-width: 22rem;
  }

  .section-nav-bar-inner {
    padding-top: 1rem;
    padding-bottom: 1.2rem;
  }

  .contact-hero__actions {
    justify-content: center;
    width: 100%;
  }

  .contact-hero__actions .btn {
    flex: 1 1 calc(50% - 0.35rem);
    justify-content: center;
    min-width: min(140px, 100%);
  }
}

@media (max-width: 480px) {
  .booking-modal {
    padding: 0.35rem;
    align-items: stretch;
  }

  .glass-panel--modal.glass-panel--booking {
    padding: 1rem 0.6rem 0.85rem;
    max-height: 100dvh;
  }

  .booking-modal__close {
    top: 0.4rem;
    right: 0.4rem;
  }

  .booking-modal__title {
    font-size: 1.2rem;
    padding-right: 2rem;
  }

  .footer-grid {
    gap: 1.5rem;
  }
}

@media (max-width: 380px) {
  .brand-avatar {
    width: 32px;
    height: 32px;
  }
}
