/* ═══════════════════════════════════════════════════════════
   ARIEL WEST LONG — Personal Site
   Premium dark theme, purple-led, operator aesthetic
   ═══════════════════════════════════════════════════════════ */

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

/* ── ROOT TOKENS ────────────────────────────────────────────── */
:root {
  /* PRIMARY ACCENT */
  --purple-primary: #7B3FE4;
  --purple-secondary: #9B6BFF;

  /* SECONDARY ACCENT */
  --orange-primary: #F97316;
  --orange-soft: rgba(249,115,22,0.1);

  /* BACKGROUNDS */
  --bg-primary: #0B0B10;
  --bg-secondary: #14141C;
  --bg-alt: #0E0E14;
  --surface: var(--bg-secondary);
  --surface-2: #1A1A24;
  --surface-3: #20202B;

  /* TEXT */
  --text-primary: #F4F2FF;
  --text-secondary: rgba(244, 242, 255, 0.72);
  --text-muted: rgba(244, 242, 255, 0.45);
  --text-faint: rgba(244, 242, 255, 0.2);

  /* BORDER & GLOW */
  --border-soft: rgba(123, 63, 228, 0.14);
  --border-strong: rgba(123, 63, 228, 0.24);
  --border-glow: rgba(123, 63, 228, 0.28);
  --purple-dim: rgba(123, 63, 228, 0.08);
  --purple-dim2: rgba(123, 63, 228, 0.18);
  --purple-glow: rgba(123, 63, 228, 0.22);

  /* STATUS */
  --green: #22C55E;

  /* TYPOGRAPHY */
  --font-display: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* SPACING */
  --section-pad: 112px 40px;
  --section-max: 1100px;

  /* ALIASES FOR LEGACY USE */
  --bg: var(--bg-primary);
  --purple: var(--purple-primary);
  --purple-2: var(--purple-secondary);
  --text: var(--text-primary);
  --text-72: var(--text-secondary);
  --text-45: var(--text-muted);
  --text-20: var(--text-faint);
  --border: var(--border-soft);
  --border-2: var(--border-strong);
  --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 220ms;
  --dur-med: 420ms;
  --dur-slow: 760ms;
}

/* ── BASE ───────────────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

section {
  scroll-margin-top: 80px;
}

[id] {
  scroll-margin-top: 80px;
}

body.nav-open {
  overflow: hidden;
}

a {
  text-decoration: none;
}

a::after {
  display: none !important;
}

a:not(.btn-primary):not(.btn-secondary):not(.nav-cta):not(.contact-link):not(.proof-pill) {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}
a:not(.btn-primary):not(.btn-secondary):not(.nav-cta):not(.contact-link):not(.proof-pill):hover {
  color: var(--text-primary);
}
a:not(.btn-primary):not(.btn-secondary):not(.nav-cta):not(.contact-link):not(.proof-pill)::after {
  display: none !important;
}

.contact-link,
.nav-links a,
.nav-cta,
.btn-primary,
.btn-secondary {
  text-decoration: none;
}

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

ul { list-style: none; }

/* ── UTILITY ────────────────────────────────────────────────── */
.accent { color: var(--purple-primary); }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--purple-primary);
  text-transform: uppercase;
  background: var(--purple-dim);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 24px;
}
.section-tag::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--purple-2);
  flex-shrink: 0;
}

/* Status dot (animated green pulse) */
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange-primary);
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.5);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.85); }
}

@keyframes signatureLineDraw {
  0% {
    transform: scaleX(0);
    opacity: 0.16;
  }
  55% {
    transform: scaleX(1);
    opacity: 0.9;
  }
  100% {
    transform: scaleX(1);
    opacity: 0.82;
  }
}

@keyframes signatureMarkFade {
  0% {
    opacity: 0;
    transform: translate(2px, 11px);
  }
  100% {
    opacity: 0.98;
    transform: translate(2px, 9px);
  }
}

@keyframes signatureHighlightSweep {
  0% {
    opacity: 0;
    transform: translateX(-115%);
  }
  15% {
    opacity: 0.85;
  }
  70% {
    opacity: 0.42;
  }
  100% {
    opacity: 0;
    transform: translateX(112%);
  }
}

@keyframes heroLogoEnter {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes heroStatsEnter {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeRise {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeRiseSoft {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.99);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes photoEnter {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.985);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px) scale(0.985);
  filter: blur(8px);
  transition:
    opacity var(--dur-slow) var(--ease-premium),
    transform var(--dur-slow) var(--ease-premium),
    filter var(--dur-med) var(--ease-soft);
  will-change: opacity, transform, filter;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.reveal-d1 { transition-delay: 80ms; }
.reveal-d2 { transition-delay: 160ms; }
.reveal-d3 { transition-delay: 240ms; }
.reveal-d4 { transition-delay: 320ms; }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0.95rem 1.5rem;
  border-radius: 12px;
  background: linear-gradient(180deg, #f58a34 0%, #f97316 100%);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 12px 26px rgba(249, 115, 22, 0.24);
  position: relative;
  overflow: hidden;
  transition:
    transform var(--dur-fast) var(--ease-soft),
    box-shadow var(--dur-fast) var(--ease-soft),
    background var(--dur-fast) var(--ease-soft),
    border-color var(--dur-fast) var(--ease-soft);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255,255,255,0.16), rgba(255,255,255,0) 36%);
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease-soft);
  pointer-events: none;
}
.btn-primary:hover {
  background: linear-gradient(180deg, #fb9748 0%, #f97316 100%);
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 18px 36px rgba(249, 115, 22, 0.30);
}
.btn-primary:hover::before,
.btn-primary:focus-visible::before {
  opacity: 1;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0.95rem 1.5rem;
  border-radius: 12px;
  background: rgba(20, 20, 28, 0.88);
  color: var(--text-secondary);
  border: 1px solid var(--border-soft);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition:
    color var(--dur-fast) var(--ease-soft),
    border-color var(--dur-fast) var(--ease-soft),
    transform var(--dur-fast) var(--ease-soft),
    background var(--dur-fast) var(--ease-soft),
    box-shadow var(--dur-fast) var(--ease-soft);
}
.btn-secondary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255,255,255,0.08), rgba(255,255,255,0) 38%);
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease-soft);
  pointer-events: none;
}
.btn-secondary:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
  background: rgba(26, 26, 36, 0.96);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(123, 63, 228, 0.14);
}
.btn-secondary:hover::before,
.btn-secondary:focus-visible::before {
  opacity: 1;
}

/* ── NAV ────────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 64px;
  background: rgba(11, 11, 16, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(123, 63, 228, 0.14);
  transition: background 0.3s, border-color 0.3s;
}
#navbar.scrolled {
  background: rgba(11, 11, 16, 0.95);
  border-color: rgba(123, 63, 228, 0.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.nav-logo-mark {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  overflow: visible;
}

.nav-logo-shell {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  justify-content: flex-start;
  width: 160px;
  height: 68px;
  overflow: visible;
  background: transparent;
  flex: 0 0 auto;
  padding-left: 8px;
}

.nav-logo-shell::after {
  content: "";
  position: absolute;
  left: 22px;
  right: -10px;
  bottom: 8px;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(123, 63, 228, 0) 0%,
    rgba(123, 63, 228, 0.28) 25%,
    rgba(155, 107, 255, 0.38) 50%,
    rgba(249, 115, 22, 0.18) 75%,
    rgba(249, 115, 22, 0.02) 100%
  );
  opacity: 0.75;
}

.nav-logo-img {
  display: block;
  width: auto;
  height: 68px;
  max-width: none;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.98;
  transform: translate(2px, 10px);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.85rem;
  flex: 1 1 auto;
  min-width: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-right: 12px;
}
.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(244, 242, 255, 0.74);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-links a:hover,
.nav-links a:focus-visible {
  color: rgba(244, 242, 255, 0.98);
}
.nav-links a.active {
  color: var(--text-72);
}

.nav-links li:last-child {
  margin-left: 0.5rem;
  flex: 0 0 auto;
}

.nav-links a.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.65rem 1.4rem;
  font-size: 0.78rem;
  line-height: 1;
  letter-spacing: 0.14em;
  border-radius: 14px;
  background: linear-gradient(180deg, #f58a34 0%, #f97316 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.04);
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(249, 115, 22, 0.18);
  margin-left: 8px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.nav-links a.nav-cta:hover,
.nav-links a.nav-cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(249, 115, 22, 0.22);
  background: linear-gradient(180deg, #fb9748 0%, #f97316 100%);
}

/* Mobile burger */
.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

@media (max-width: 1100px) {
  .nav-inner {
    padding: 0.85rem 1.25rem;
    min-height: 72px;
  }

  .nav-inner {
    gap: 1rem;
  }

  .nav-logo-shell {
    width: 110px;
    height: 50px;
  }

  .nav-logo-img {
    height: 50px;
    transform: translate(1px, 9px);
  }

  .nav-links {
    gap: 1.2rem;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0.65rem 1.2rem;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    border-radius: 14px;
  }
}

/* ── HERO ───────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 58px;
  overflow: visible;
}

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

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(123, 63, 228, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 63, 228, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.hero-glow-1 {
  width: 640px;
  height: 640px;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, rgba(123, 63, 228, 0.11) 0%, transparent 65%);
}
.hero-glow-2 {
  width: 400px;
  height: 400px;
  bottom: 0;
  left: -60px;
  background: radial-gradient(circle, rgba(123, 63, 228, 0.06) 0%, transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--section-max);
  margin: 0 auto;
  padding: 60px 40px;
  width: 100%;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: start;
}

.hero-content { min-width: 0; }

/* Eyebrow */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--purple-2);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow-line {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--purple-2);
  flex-shrink: 0;
}

/* Name */
.hero-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(64px, 9vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 10px;
}
.hero-name-accent {
  display: block;
  background: linear-gradient(135deg, var(--purple-2) 0%, #C084FC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Title row */
.hero-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  font-size: clamp(10px, 1.05vw, 12px);
  font-weight: 500;
  color: var(--text-45);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.title-sep {
  margin: 0 12px;
  color: var(--text-20);
}

.hero-logo-img {
  max-width: 250px;
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
}

@media (max-width: 768px) {
  .hero-logo-img {
    max-width: 180px;
  }
}

/* Summary */
.hero-summary {
  font-size: clamp(14px, 1.25vw, 15.5px);
  line-height: 1.58;
  color: var(--text-72);
  max-width: 500px;
  margin-bottom: 16px;
}
.hero-summary strong {
  color: var(--text);
  font-weight: 600;
}
.hero-summary-support {
  font-size: 12px;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 18px;
  line-height: 1.4;
}

.section-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 16px;
  text-transform: none;
}

.section-subhead {
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 18px;
  font-weight: 500;
}

.section-intro,
.section-note {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 720px;
  margin-bottom: 24px;
}
.section-note {
  margin-top: 8px;
}

.section-intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

/* Actions */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

/* Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  max-width: 520px;
  margin-top: 8px;
  border: 1px solid rgba(123, 63, 228, 0.12);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(20, 20, 28, 0.88);
}

body.is-loading #navbar,
body.is-loading .hero-eyebrow,
body.is-loading .hero-logo-img,
body.is-loading .hero-title,
body.is-loading .hero-summary,
body.is-loading .hero-summary-support,
body.is-loading .hero-actions,
body.is-loading .hero-stats,
body.is-loading .hero-photo-wrap {
  opacity: 0;
  transform: translateY(12px);
  filter: blur(0);
}

body.is-loading .hero-logo-img {
  filter: blur(6px);
}

body.is-loading .hero-photo-wrap {
  transform: translateY(24px);
}

body.is-loading .hero-bg {
  opacity: 0;
  transform: translateY(6px);
}

body:not(.is-loading) #navbar {
  animation: fadeRise var(--dur-med) var(--ease-premium) 80ms both;
}

body:not(.is-loading) .hero-bg {
  animation: fadeRise var(--dur-med) var(--ease-premium) 40ms both;
}

body:not(.is-loading) .hero-eyebrow {
  animation: fadeRise var(--dur-med) var(--ease-premium) 120ms both;
}

body:not(.is-loading) .hero-logo-img {
  animation: fadeRiseSoft 900ms var(--ease-premium) 200ms both;
}

body:not(.is-loading) .hero-title {
  animation: fadeRise var(--dur-med) var(--ease-premium) 240ms both;
}

body:not(.is-loading) .hero-summary {
  animation: fadeRise var(--dur-med) var(--ease-premium) 300ms both;
}

body:not(.is-loading) .hero-summary-support {
  animation: fadeRise var(--dur-med) var(--ease-premium) 360ms both;
}

body:not(.is-loading) .hero-actions {
  animation: fadeRise var(--dur-med) var(--ease-premium) 420ms both;
}

body:not(.is-loading) .hero-photo-wrap {
  animation: photoEnter 900ms var(--ease-premium) 460ms both;
}

body:not(.is-loading) .hero-stats {
  animation: fadeRise 760ms var(--ease-premium) 560ms both;
}
.hero-stat {
  padding: 14px 14px 15px;
  border-right: 1px solid rgba(123, 63, 228, 0.1);
  border-bottom: 1px solid rgba(123, 63, 228, 0.1);
  min-width: 0;
}
.hero-stat:last-child {
  border-right: none;
}
.hero-stat:nth-child(2n) {
  border-right: none;
}

.hero-stat:nth-last-child(-n+2) {
  border-bottom: none;
}
.hero-stat-n {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.35rem, 1.8vw, 2rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--purple-secondary);
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}
.hero-stat-l {
  margin-top: 6px;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.3;
  color: var(--text-muted);
  text-transform: uppercase;
}



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

  .hero-stat {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .hero-stat:last-child {
    border-bottom: none;
  }

  .hero-stat:nth-child(2n) {
    border-right: none;
  }

  .hero-stat:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--border);
  }

  .hero-stat-n {
    white-space: normal;
  }
}

/* Photo */
.hero-photo-wrap {
  position: sticky;
  top: 108px;
  align-self: start;
  flex-shrink: 0;
}

.hero-photo-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse at center, rgba(123, 63, 228, 0.14) 0%, transparent 65%);
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
}

.hero-photo-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-2);
  aspect-ratio: 3 / 4;
  background: var(--surface-2);
}
.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(10%) contrast(1.04);
  transition: filter 420ms var(--ease-soft);
}

/* Purple top accent bar */
.hero-photo-frame::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), transparent);
  z-index: 2;
}

/* Bottom fade */
.hero-photo-frame::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 130px;
  background: linear-gradient(to top, rgba(11, 11, 16, 0.80), transparent);
  z-index: 2;
}

/* Status badge over photo */
.hero-photo-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  z-index: 3;
  background: rgba(14, 14, 20, 0.90);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 11px;
}
.badge-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}
.badge-sub {
  font-size: 10px;
  color: var(--text-45);
  margin-top: 1px;
}

/* ── PROOF BAR ──────────────────────────────────────────────── */
.proof-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 28px 40px;
}

.proof-inner {
  max-width: var(--section-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.proof-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-45);
  flex-shrink: 0;
  margin-right: 8px;
}

.proof-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.proof-pill {
  background: var(--bg-secondary);
  border: 1px solid rgba(123, 63, 228, 0.35);
  border-radius: 6px;
  padding: 7px 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
  text-transform: uppercase;
  transition:
    border-color var(--dur-fast) var(--ease-soft),
    color var(--dur-fast) var(--ease-soft),
    box-shadow var(--dur-fast) var(--ease-soft),
    transform var(--dur-fast) var(--ease-soft);
  transform: translateY(0);
}
.proof-pill:hover {
  border-color: var(--orange-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(123, 63, 228, 0.18);
}

/* ── ABOUT ──────────────────────────────────────────────────── */
#about {
  padding: var(--section-pad);
  max-width: var(--section-max);
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.about-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.0;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 28px;
}

.about-body {
  font-size: 14.5px;
  line-height: 1.82;
  color: var(--text-72);
  margin-bottom: 18px;
}
.about-body strong {
  color: var(--text);
  font-weight: 600;
}
.about-body:last-of-type { margin-bottom: 0; }

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 108px;
  align-self: start;
}

.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition:
    border-color var(--dur-fast) var(--ease-soft),
    transform var(--dur-fast) var(--ease-soft),
    background var(--dur-fast) var(--ease-soft),
    box-shadow var(--dur-fast) var(--ease-soft);
  transform: translateY(0);
}
.about-card:hover {
  border-color: var(--border-2);
  transform: translateY(-2px);
  background: var(--surface-2);
  box-shadow: 0 18px 34px rgba(123, 63, 228, 0.14);
}

.about-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--purple-dim);
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--purple-2);
}

.about-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 5px;
  letter-spacing: 0.01em;
}

.about-card-desc {
  font-size: 12.5px;
  color: var(--text-45);
  line-height: 1.58;
}

/* ── EXPERIENCE ─────────────────────────────────────────────── */
#experience {
  padding: var(--section-pad);
  max-width: var(--section-max);
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.exp-grid {
  display: flex;
  flex-direction: column;
}

.exp-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  padding: 44px 0;
  border-bottom: 1px solid var(--border);
}
.exp-row:first-of-type { padding-top: 0; }
.exp-row:last-child { border-bottom: none; padding-bottom: 0; }

.exp-meta-co {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 17px;
  text-transform: uppercase;
  color: var(--text);
  letter-spacing: 0.02em;
  margin-bottom: 6px;
  line-height: 1.2;
}

.exp-meta-period {
  font-size: 11px;
  color: var(--text-45);
  margin-bottom: 3px;
  letter-spacing: 0.02em;
}

.exp-meta-loc {
  font-size: 11px;
  color: var(--text-20);
}

.exp-role {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--purple-2);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.exp-desc {
  font-size: 14px;
  color: var(--text-72);
  line-height: 1.78;
  margin-bottom: 20px;
}
.exp-desc strong {
  color: var(--text);
  font-weight: 600;
}
.exp-bullet-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.6;
}
.exp-bullet-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.exp-bullet-list li::before {
  content: '•';
  color: var(--orange-primary);
  margin-top: 2px;
}

.exp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.exp-tag {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-45);
  text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s;
}
.exp-tag:hover {
  border-color: var(--border-2);
  color: var(--text-72);
}

#accounts,
#projects,
#revenue-engine,
#consulting {
  padding: var(--section-pad);
  max-width: var(--section-max);
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.consulting-shelf {
  display: flex;
  gap: 24px;
  margin-top: 26px;
  overflow-x: auto;
  padding: 4px calc(50vw - (var(--section-max) / 2)) 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}

.consulting-shelf::-webkit-scrollbar {
  display: none;
}

.consulting-shelf-card {
  flex: 0 0 clamp(760px, 78vw, 1040px);
  scroll-snap-align: start;
  background: #15151c;
  border: 1px solid rgba(244, 242, 255, 0.075);
  border-radius: 24px;
  padding: 0;
  color: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
  display: grid;
  grid-template-columns: 1fr;
  min-height: clamp(460px, 62vw, 620px);
  transition:
    transform var(--dur-fast) var(--ease-soft),
    border-color var(--dur-fast) var(--ease-soft),
    background var(--dur-fast) var(--ease-soft),
    box-shadow var(--dur-fast) var(--ease-soft);
}

.consulting-shelf-card:hover,
.consulting-shelf-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(244, 242, 255, 0.13);
  background: #181820;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  outline: none;
}

.consulting-card-copy {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: clamp(28px, 4vw, 42px) clamp(28px, 4vw, 42px) 14px;
}

.consulting-card-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 242, 255, 0.46);
}

.consulting-card-title {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.98;
  color: var(--text);
}

.consulting-card-result {
  display: block;
  max-width: 48ch;
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.6;
  color: var(--text-secondary);
}

.consulting-card-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.consulting-card-metric {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(244, 242, 255, 0.06);
  color: rgba(244, 242, 255, 0.62);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.consulting-card-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(28px, 4vw, 42px) clamp(28px, 4vw, 42px);
  min-height: 0;
}

.consulting-card-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  display: block;
  background: #0f1015;
  border: 1px solid rgba(244, 242, 255, 0.07);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02), 0 20px 44px rgba(0, 0, 0, 0.28);
  transition: transform 700ms var(--ease-premium);
}

.consulting-shelf-card:hover .consulting-card-image,
.consulting-shelf-card:focus-visible .consulting-card-image {
  transform: scale(1.012);
}

.consulting-stage {
  position: relative;
  margin-top: 8px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.consulting-edge {
  position: absolute;
  top: 0;
  bottom: 54px;
  width: min(12vw, 140px);
  z-index: 2;
  pointer-events: none;
}

.consulting-edge-left {
  left: 0;
  background: linear-gradient(90deg, var(--bg-primary) 0%, rgba(11, 11, 16, 0) 100%);
}

.consulting-edge-right {
  right: 0;
  background: linear-gradient(270deg, var(--bg-primary) 0%, rgba(11, 11, 16, 0) 100%);
}

.consulting-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--section-max);
  margin: 4px auto 0;
  padding: 0 40px;
}

.consulting-progress-track {
  flex: 1;
  height: 2px;
  border-radius: 999px;
  background: rgba(244, 242, 255, 0.08);
  overflow: hidden;
}

.consulting-progress-bar {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: rgba(244, 242, 255, 0.48);
  transition: width 320ms var(--ease-soft);
}

.consulting-progress-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 242, 255, 0.52);
}

.consulting-progress-sep {
  color: rgba(244, 242, 255, 0.24);
}

.project-lightbox[hidden] {
  display: none;
}

.project-lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
}

.project-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 7, 10, 0.84);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.project-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 32px auto;
  background: #121218;
  border: 1px solid rgba(244, 242, 255, 0.08);
  border-radius: 24px;
  padding: 24px;
  max-height: calc(100vh - 64px);
  overflow: auto;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.34);
}

.project-lightbox-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.project-lightbox-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.project-lightbox-meta {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 242, 255, 0.4);
  margin-bottom: 8px;
}

.project-lightbox-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--text);
}

.project-lightbox-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 20px;
}

.project-lightbox-copy p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.project-lightbox-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.project-lightbox-metric {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(244, 242, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(244, 242, 255, 0.7);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.project-lightbox-close {
  border: 1px solid rgba(244, 242, 255, 0.1);
  background: transparent;
  color: var(--text-secondary);
  border-radius: 999px;
  min-height: 36px;
  padding: 0 14px;
  font-size: 12px;
  cursor: pointer;
}

.project-lightbox-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(62vh, 720px);
  padding: 22px;
  border-radius: 14px;
  overflow: hidden;
  background: #0d0d13;
  border: 1px solid rgba(244, 242, 255, 0.08);
}

.project-lightbox-media img {
  width: 100%;
  max-width: 100%;
  max-height: calc(62vh - 44px);
  height: auto;
  object-position: center;
  object-fit: contain;
  display: block;
  border-radius: 14px;
  background: #111219;
  border: 1px solid rgba(244, 242, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
}

.project-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  min-width: 52px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(244, 242, 255, 0.1);
  background: rgba(10, 10, 14, 0.82);
  color: rgba(244, 242, 255, 0.82);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.project-lightbox-nav-prev {
  left: 14px;
}

.project-lightbox-nav-next {
  right: 14px;
}

.project-lightbox-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.project-lightbox-thumbs::-webkit-scrollbar {
  display: none;
}

.project-lightbox-thumb {
  flex: 0 0 140px;
  border: 1px solid rgba(244, 242, 255, 0.08);
  border-radius: 12px;
  background: transparent;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
}

.project-lightbox-thumb.is-active {
  border-color: rgba(244, 242, 255, 0.24);
}

.project-lightbox-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.project-lightbox-carousel-meta {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.project-lightbox-counter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 242, 255, 0.48);
}

.project-lightbox-counter-sep {
  color: rgba(244, 242, 255, 0.22);
}

.accounts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}
.account-pill {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 14px 16px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  text-align: center;
}
.account-pill:hover {
  border-color: var(--orange-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(249, 115, 22, 0.25);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 6px;
}

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

  .consulting-shelf {
    gap: 16px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .consulting-shelf-card {
    flex-basis: 82vw;
    min-height: auto;
  }

  .consulting-card-copy {
    gap: 16px;
    padding: 22px 22px 12px;
  }

  .consulting-card-title {
    font-size: clamp(26px, 7vw, 36px);
  }

  .consulting-card-result {
    max-width: none;
  }

  .consulting-card-image-wrap {
    padding: 0 22px 22px;
  }

  .consulting-card-image {
    aspect-ratio: 16 / 10;
  }

  .consulting-progress {
    padding: 0 20px;
  }

  .consulting-edge {
    display: none;
  }

  .project-lightbox-copy {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .project-lightbox-media {
    min-height: 0;
    padding: 14px;
  }

  .project-lightbox-media img {
    max-height: 54vh;
  }

  .project-lightbox-nav {
    top: auto;
    bottom: 18px;
    transform: none;
  }
}
.project-card {
  background: var(--surface);
  border: 1px solid rgba(123, 63, 228, 0.12);
  border-radius: 12px;
  padding: 16px 16px 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition:
    transform var(--dur-fast) var(--ease-soft),
    border-color var(--dur-fast) var(--ease-soft),
    box-shadow var(--dur-fast) var(--ease-soft),
    background var(--dur-fast) var(--ease-soft);
  transform: translateY(0);
}
.project-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-glow);
  box-shadow: 0 18px 30px rgba(123, 63, 228, 0.16);
}
.project-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.project-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: -0.015em;
}
.project-sub {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.35;
}
.project-value {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 15px;
  color: var(--purple-primary);
  text-align: right;
  letter-spacing: -0.02em;
}
.project-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.45;
}
.project-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 8px;
  font-size: 11.5px;
  color: var(--text-muted);
}
.project-list li {
  display: flex;
  gap: 5px;
  align-items: flex-start;
  line-height: 1.35;
}
.project-list li::before {
  content: '•';
  color: var(--purple-primary);
  margin-top: 1px;
}

.revenue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.revenue-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  min-height: 160px;
  transition:
    border-color var(--dur-fast) var(--ease-soft),
    transform var(--dur-fast) var(--ease-soft),
    box-shadow var(--dur-fast) var(--ease-soft),
    background var(--dur-fast) var(--ease-soft);
  transform: translateY(0);
}
.revenue-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: 0 24px 40px rgba(123, 63, 228, 0.18);
}
.revenue-card h3 {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.revenue-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* ── BUILDS ─────────────────────────────────────────────────── */
#builds {
  padding: var(--section-pad);
  max-width: var(--section-max);
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.builds-intro {
  font-size: 14.5px;
  color: var(--text-72);
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 40px;
  font-style: italic;
}

.builds-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.build-card {
  background: var(--surface);
  border: 1px solid rgba(123, 63, 228, 0.26);
  border-radius: 14px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition:
    border-color var(--dur-fast) var(--ease-soft),
    transform var(--dur-fast) var(--ease-soft),
    background var(--dur-fast) var(--ease-soft),
    box-shadow var(--dur-fast) var(--ease-soft);
  transform: translateY(0);
}
.build-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple-primary), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.build-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-6px);
  background: var(--surface-2);
  box-shadow: 0 30px 55px rgba(123, 63, 228, 0.22);
}
.build-card:hover::before { opacity: 1; }

.build-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--purple-2);
  text-transform: uppercase;
  background: var(--purple-dim);
  border: 1px solid var(--border-2);
  border-radius: 100px;
  padding: 4px 12px;
  margin-bottom: 18px;
}

.build-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 28px;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.build-sub {
  font-size: 11px;
  color: var(--text-45);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

.build-desc {
  font-size: 13.5px;
  color: var(--text-72);
  line-height: 1.72;
  margin-bottom: 22px;
}

.build-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.build-list li {
  font-size: 12.5px;
  color: var(--text-45);
  line-height: 1.55;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.build-list li::before {
  content: '›';
  color: var(--purple-2);
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
}

/* ── CAPABILITIES ───────────────────────────────────────────── */
#capabilities {
  padding: var(--section-pad);
  max-width: var(--section-max);
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.cap-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 48px;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 32px;
}

.cap-card {
  background: var(--surface);
  border: 1px solid rgba(123, 63, 228, 0.12);
  border-radius: 12px;
  padding: 18px 16px 16px;
  transition:
    border-color var(--dur-fast) var(--ease-soft),
    transform var(--dur-fast) var(--ease-soft),
    background var(--dur-fast) var(--ease-soft),
    box-shadow var(--dur-fast) var(--ease-soft);
  transform: translateY(0);
}
.cap-card:hover {
  border-color: var(--border-2);
  transform: translateY(-2px);
  background: var(--surface-2);
  box-shadow: 0 14px 24px rgba(123, 63, 228, 0.10);
}

.cap-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--purple-dim);
  border: 1px solid rgba(123, 63, 228, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-2);
  margin-bottom: 10px;
  transition: background 0.2s, border-color 0.2s;
}
.cap-card:hover .cap-card-icon {
  background: var(--purple-dim2);
  border-color: var(--border-2);
}

.cap-card-title {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.cap-card-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cap-card-list li {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.35;
  display: flex;
  gap: 6px;
}
.cap-card-list li::before {
  content: '—';
  color: var(--text-20);
  flex-shrink: 0;
  font-size: 10px;
}

/* Business Loop Callout */
.loop-callout {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 14px;
  padding: 36px 40px;
  text-align: center;
}

.loop-callout-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-45);
  margin-bottom: 24px;
}

.loop-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.loop-step {
  text-align: center;
  min-width: 80px;
}
.loop-step-n {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--purple-2);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.loop-step-t {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}

.loop-arrow {
  color: var(--text-20);
  font-size: 16px;
  padding: 0 4px;
  margin-bottom: 0;
  align-self: flex-end;
  padding-bottom: 2px;
}

.loop-desc {
  font-size: 13px;
  color: var(--text-45);
  font-style: italic;
}

/* ── BIO ─────────────────────────────────────────────────────── */
#bio {
  padding: 140px 0 120px;
  position: relative;
  border-top: 1px solid var(--border);
  background: radial-gradient(
      800px 400px at 20% 0%,
      rgba(123, 63, 228, 0.08),
      transparent 70%
    ),
    radial-gradient(
      600px 300px at 80% 100%,
      rgba(249, 115, 22, 0.06),
      transparent 70%
    );
}

.bio-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

.bio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.bio-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}

.bio-lede {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bio-headline {
  max-width: 760px;
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1.05;
  color: var(--text);
  letter-spacing: -0.02em;
}

.bio-intro {
  max-width: 620px;
  margin: 0 0 28px;
  font-size: 1rem;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  font-weight: 600;
  text-transform: uppercase;
}

.bio-copy {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: grid;
  gap: 22px;
  position: relative;
  padding: 32px;
  border-radius: 18px;
  background: rgba(20, 20, 28, 0.75);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

/* Bio Photo Card (Premium Treatment) */
.bio-photo {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-2);
  background: var(--surface-2);
  max-width: 380px;
  width: 100%;
  justify-self: start;
}

.bio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  filter: contrast(1.05) saturate(1.05);
  transition: transform 520ms var(--ease-premium), filter 360ms var(--ease-soft);
}

.bio-photo:hover img {
  transform: scale(1.04);
  filter: contrast(1.08) saturate(1.08);
}

/* Top accent like hero */
.bio-photo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple-primary), transparent);
  z-index: 2;
}

/* Bottom fade */
.bio-photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(to top, rgba(11, 11, 16, 0.85), transparent);
  z-index: 1;
}

/* Badge overlay (matches hero style) */
.bio-photo-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 3;
  background: rgba(14, 14, 20, 0.9);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  padding: 10px 14px;
}

.bio-badge-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-secondary);
}

.bio-badge-sub {
  font-size: 12px;
  color: var(--text);
  font-weight: 600;
}

.bio-copy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--purple-primary),
    var(--purple-secondary),
    transparent
  );
  opacity: 0.9;
}

.bio-copy p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.bio-copy p strong {
  color: var(--text);
}

.bio-copy p:hover {
  color: var(--text);
}

@media (min-width: 960px) {
  .bio-grid {
    grid-template-columns: 340px minmax(0, 1fr);
    align-items: start;
    gap: 56px;
  }
}

@media (max-width: 640px) {
  #bio {
    padding: 100px 0 80px;
  }

  .bio-content {
    gap: 22px;
  }

  .bio-copy {
    padding: 24px 20px;
    max-width: 100%;
  }

  .bio-photo {
    max-width: 100%;
  }
}

/* ── CONTACT ────────────────────────────────────────────────── */
#contact {
  padding: var(--section-pad);
  max-width: var(--section-max);
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.contact-inner {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}

.contact-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 14px;
}

.contact-sub {
  font-size: 14px;
  color: var(--text-72);
  line-height: 1.55;
  max-width: 540px;
  margin: 0 auto 16px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 12px 0 14px;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 10px 24px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--text-45);
  text-transform: uppercase;
}

.footer-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-center {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-20);
  text-transform: uppercase;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: var(--text-45);
  letter-spacing: 0.02em;
}

.footer-signature {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 2px 0;
}


.footer-signature::before {
  content: "";
  position: absolute;
  left: 30px;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(123,63,228,0) 0%,
    rgba(123,63,228,0.22) 25%,
    rgba(155,107,255,0.35) 50%,
    rgba(249,115,22,0.18) 75%,
    rgba(249,115,22,0.02) 100%
  );
  opacity: 0.28;
  pointer-events: none;
}

.footer-logo-img {
  position: relative;
  z-index: 2;
  height: 44px;
  width: auto;
  opacity: 0.9;
  filter: brightness(0) invert(1);
  object-fit: contain;
  transition: transform var(--dur-med) var(--ease-soft), opacity var(--dur-med) var(--ease-soft);
}

.footer-signature-sub {
  position: relative;
  z-index: 2;
  font-size: 0.66rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-signature-sub .status-dot {
  width: 6px;
  height: 6px;
  box-shadow: 0 0 10px rgba(249,115,22,0.4);
}

.footer-signature:hover .footer-logo-img {
  transform: translateY(-2px);
  opacity: 1;
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr 300px;
    gap: 48px;
  }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-cards {
    position: relative;
    top: auto;
  }
  .loop-steps { gap: 4px; }
}

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

  :root { --section-pad: 64px 20px; }

  /* Nav */
  .nav-inner { padding: 0 20px; }

  .nav-logo-shell {
    width: 120px;
    height: 54px;
    padding-left: 2px;
  }

  .nav-logo-shell::after {
    left: 16px;
    right: -8px;
    bottom: 4px;
  }

  .nav-logo-img {
    height: 54px;
    transform: translate(1px, 8px);
  }

  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 10px 0 14px;
    background: rgba(14, 14, 20, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-strong);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 0.22s ease,
      transform 0.22s ease,
      visibility 0.22s ease;

    z-index: 999;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links li a {
    display: block;
    width: 100%;
    padding: 15px 24px;
    border-bottom: 1px solid var(--border);
    font-size: 12px;
    text-align: left;
  }

  .nav-links li:last-child a {
    border-bottom: none;
    margin: 8px 20px 0;
    text-align: center;
  }

  .nav-burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
  }

  .nav-burger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text-secondary);
    transition: all 0.25s ease;
    transform-origin: center;
  }

  .nav-burger.open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .nav-burger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .nav-burger.open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  /* Hero */
  .hero-inner { padding: 40px 20px; }
  .hero-layout { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo-wrap {
    position: relative;
    top: auto;
    max-width: 300px;
    margin: 0 auto;
  }
  .hero-stats { max-width: 100%; }

  /* Proof */
  .proof-bar { padding: 22px 20px; }
  .proof-inner { gap: 12px; }

  /* Grids */
  .builds-grid { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr; }

  /* Experience */
  .exp-row { grid-template-columns: 1fr; gap: 6px; }

  .consulting-shelf-card {
    flex-basis: calc(100vw - 40px);
  }

  .project-lightbox-panel {
    width: calc(100% - 20px);
    margin: 10px auto;
    padding: 14px;
    max-height: calc(100vh - 20px);
  }

  .project-lightbox-top {
    flex-direction: column;
    align-items: stretch;
  }

  .project-lightbox-copy p {
    font-size: 13.5px;
  }

  .project-lightbox-title {
    font-size: 20px;
  }

  .project-lightbox-thumb {
    flex-basis: 108px;
  }

  .project-lightbox-nav-prev {
    left: 12px;
  }

  .project-lightbox-nav-next {
    right: 12px;
  }

  /* Footer */
  footer { padding: 10px 16px 12px; flex-direction: column; text-align: center; gap: 6px; }
  .footer-center { display: none; }

  .footer-brand-mark {
    width: 100%;
  }

  .footer-logo-img {
    height: 36px;
  }

  .footer-signature {
    align-items: center;
    gap: 8px;
    padding: 2px 0;
  }

  .footer-signature::before {
    left: 26px;
    right: 0;
    top: 50%;
  }

  /* Loop callout */
  .loop-callout { padding: 28px 20px; }
  .loop-arrow { display: none; }
  .loop-steps { gap: 12px; }

  /* Contact */
  .contact-headline { font-size: clamp(28px, 8vw, 40px); }
}

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

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .hero-logo-img,
  .hero-stats {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
    filter: none !important;
  }

  body.is-loading #navbar,
  body.is-loading .hero-eyebrow,
  body.is-loading .hero-logo-img,
  body.is-loading .hero-title,
  body.is-loading .hero-summary,
  body.is-loading .hero-summary-support,
  body.is-loading .hero-actions,
  body.is-loading .hero-stats,
  body.is-loading .hero-photo-wrap {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  body:not(.is-loading) #navbar,
  body:not(.is-loading) .hero-eyebrow,
  body:not(.is-loading) .hero-logo-img,
  body:not(.is-loading) .hero-title,
  body:not(.is-loading) .hero-summary,
  body:not(.is-loading) .hero-summary-support,
  body:not(.is-loading) .hero-actions,
  body:not(.is-loading) .hero-stats,
  body:not(.is-loading) .hero-photo-wrap {
    animation: none !important;
  }
}

@media (max-width: 420px) {
  .hero-stat { min-width: 90px; padding: 14px 14px; }
  .hero-stat-n { font-size: 22px; }
}
