/* ─── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ─── Variables ──────────────────────────────────── */
:root {
  --blue: #6366f1;
  --blue-dark: #4f46e5;
  --blue-light: #c4b5fd;
  --purple: #a855f7;
  --purple-dark: #7c3aed;
  --teal: #06b6d4;
  --green: #10b981;
  --pink: #f472b6;
  --lav: #ddd6fe;
  --lav-2: #c4b5fd;
  --violet: #8b5cf6;

  --glass: rgba(255,255,255,0.04);
  --glass-2: rgba(255,255,255,0.07);
  --glass-3: rgba(255,255,255,0.11);
  --glass-brd: rgba(255,255,255,0.09);
  --glass-brd-2: rgba(255,255,255,0.18);

  --fg: #ffffff;
  --muted: rgba(255,255,255,0.58);
  --muted-2: rgba(255,255,255,0.38);
  --muted-3: rgba(255,255,255,0.22);

  --bg: #07070f;
  --container: 1280px;
  --r: 14px;
  --r-lg: 22px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", system-ui, "Segoe UI", sans-serif;
}

/* ─── Base ───────────────────────────────────────── */
body {
  font-family: var(--font);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background: var(--bg);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: var(--font); cursor: pointer; border: none; }
svg { display: block; }
ul { list-style: none; }

/* ─── Layout ─────────────────────────────────────── */
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 4vw, 60px); }
section { padding: clamp(60px, 8vw, 120px) 0; position: relative; z-index: 1; }

/* ─── Video Background (lavender wash) ───────────── */
.bg-video-wrap {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65) saturate(1.2) contrast(1.05);
  transition: filter 0.6s ease;
}
/* After scrolling past the hero, blur the train so it sits back */
.bg-video-wrap.dim .bg-video {
  filter: brightness(0.42) saturate(1.1) contrast(1) blur(9px);
}
.bg-video-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124,58,237,0.42) 0%, rgba(168,85,247,0.28) 50%, rgba(99,102,241,0.34) 100%);
  mix-blend-mode: color;
  pointer-events: none;
}
.bg-video-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 1200px 700px at 50% 30%, rgba(168,85,247,0.20), transparent 70%),
    radial-gradient(ellipse 900px 600px at 80% 80%, rgba(99,102,241,0.16), transparent 70%),
    linear-gradient(180deg, rgba(28,15,55,0.18) 0%, rgba(20,12,40,0.22) 55%, rgba(15,10,30,0.85) 100%);
}

/* ─── Orb Background (about.html fallback) ───────── */
.bg-orbs { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-orb { position: absolute; border-radius: 50%; will-change: transform; }
.orb-1 { width: 800px; height: 800px; background: rgba(59,130,246,0.32); filter: blur(140px); top: -18%; left: -8%; animation: orb1 22s ease-in-out infinite; }
.orb-2 { width: 620px; height: 620px; background: rgba(109,28,209,0.24); filter: blur(130px); top: 8%; right: -10%; animation: orb2 28s ease-in-out infinite; }
.orb-3 { width: 540px; height: 540px; background: rgba(6,182,212,0.18); filter: blur(120px); bottom: 5%; right: 12%; animation: orb3 20s ease-in-out infinite; }
.orb-4 { width: 480px; height: 480px; background: rgba(139,92,246,0.16); filter: blur(130px); bottom: 20%; left: 5%; animation: orb4 26s ease-in-out infinite; }
.bg-veil { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse 1200px 900px at 50% 50%, transparent 20%, rgba(7,7,15,0.55) 75%, rgba(7,7,15,0.88) 100%); }

@keyframes orb1 { 0%,100%{transform:translate(0,0) scale(1)} 25%{transform:translate(45px,35px) scale(1.05)} 50%{transform:translate(20px,65px) scale(0.96)} 75%{transform:translate(-35px,22px) scale(1.03)} }
@keyframes orb2 { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(-55px,45px) scale(1.07)} 66%{transform:translate(35px,-38px) scale(0.94)} }
@keyframes orb3 { 0%,100%{transform:translate(0,0) scale(1)} 40%{transform:translate(-45px,-55px) scale(1.09)} 80%{transform:translate(55px,25px) scale(0.93)} }
@keyframes orb4 { 0%,100%{transform:translate(0,0) scale(1)} 30%{transform:translate(65px,-45px) scale(1.06)} 70%{transform:translate(-25px,55px) scale(0.95)} }

/* ─── Nav ────────────────────────────────────────── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background 0.35s, backdrop-filter 0.35s, border-color 0.35s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(7,7,15,0.7); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); border-bottom-color: var(--glass-brd); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { height: 32px; width: auto; }
.brand span { display: flex; flex-direction: column; line-height: 1.1; }
.brand b { font-size: 0.92rem; font-weight: 900; letter-spacing: 0.06em; color: var(--fg); }
.brand small { font-size: 0.62rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 0.88rem; font-weight: 500; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--fg); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-login { font-size: 0.88rem; color: var(--muted); transition: color 0.2s; }
.nav-login:hover { color: var(--fg); }
.nav-toggle { display: none; background: var(--glass); border: 1px solid var(--glass-brd); border-radius: 10px; padding: 8px; color: var(--fg); }
.nav-toggle svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ─── Typography ─────────────────────────────────── */
h1, h2, h3 { font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; }
.grad-blue { background: linear-gradient(110deg, var(--lav), var(--purple) 45%, var(--lav-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ─── Eyebrow ────────────────────────────────────── */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg); background: var(--glass); border: 1px solid var(--glass-brd); border-radius: 999px; padding: 7px 14px; margin-bottom: 20px; backdrop-filter: blur(10px); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-light); box-shadow: 0 0 8px var(--blue-light); }

/* ─── Section head ───────────────────────────────── */
.sec-head { max-width: 680px; margin-bottom: 48px; }
.sec-head.center { text-align: center; margin-inline: auto; }
.sec-sub { color: var(--muted); font-size: 1rem; margin-top: 14px; line-height: 1.7; }

/* ─── Buttons ────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.94rem; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent; transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s; min-height: 46px; cursor: pointer; }
.btn:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 3px; }
.btn-primary { background: linear-gradient(135deg, #7c3aed 0%, #a855f7 55%, #c084fc 100%); color: #fff; box-shadow: 0 8px 28px rgba(124,58,237,0.45), inset 0 1px 0 rgba(255,255,255,0.18); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(168,85,247,0.55), inset 0 1px 0 rgba(255,255,255,0.18); }
.btn-glass { background: var(--glass-2); color: #fff; border-color: var(--glass-brd); backdrop-filter: blur(12px); }
.btn-glass:hover { transform: translateY(-3px); background: var(--glass-3); border-color: var(--glass-brd-2); }
.btn .arr { width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,0.2); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.btn .arr svg { width: 12px; height: 12px; stroke: #fff; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ─── Glass ──────────────────────────────────────── */
.glass { background: var(--glass); border: 1px solid var(--glass-brd); border-radius: var(--r-lg); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%); box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 20px 60px rgba(0,0,0,0.4); }

/* ─── Chip ───────────────────────────────────────── */
.chip { font-size: 0.78rem; color: var(--fg); background: var(--glass); border: 1px solid var(--glass-brd); padding: 6px 13px; border-radius: 999px; }

/* ─── Reveal ─────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ─── Badge colors ───────────────────────────────── */
.bg-blue { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); }
.bg-purple { background: linear-gradient(135deg, var(--purple-dark), var(--purple)); }
.bg-teal { background: linear-gradient(135deg, #0e7490, var(--teal)); }
.bg-green { background: linear-gradient(135deg, #059669, var(--green)); }
.bg-pink { background: linear-gradient(135deg, #be185d, var(--pink)); }

/* ─────────────────────────────────────────────────
   HERO DEFINITION
───────────────────────────────────────────────── */
.hero-def {
  min-height: 100svh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 0 60px;
}

.def-eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 8px;
}

.def-wordmark {
  display: flex;
  align-items: center;
  gap: 0.02em;
  margin: 0.2em 0 0.45em;
  line-height: 0.9;
}
.def-wordmark .wm-logo {
  height: clamp(3.4rem, 12vw, 8.4rem);
  width: auto;
  display: block;
  filter: drop-shadow(0 24px 60px rgba(59,130,246,0.28));
}
.def-wordmark span {
  font-size: clamp(3.6rem, 13vw, 9rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  color: #fff;
  line-height: 1;
}

.def-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  border-top: 1px solid var(--glass-brd-2);
  padding-top: 28px;
  max-width: 860px;
}

.def-num {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--blue-light);
  margin-bottom: 10px;
}

.def-term {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}

.def-term em {
  font-style: normal;
  font-weight: 500;
  color: var(--muted-2);
  font-size: 0.85em;
}

.def-col p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.68;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 36px;
}

/* ─── Trust row ──────────────────────────────────── */
.hero-trust { margin-top: 52px; }
.trust-lbl { display: block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-3); margin-bottom: 20px; }
.trust-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.trust-row img { height: 28px; width: auto; opacity: 0.65; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4)); transition: opacity 0.25s; }
.trust-row img:hover { opacity: 1; }
.trust-row img.tall { height: 36px; }
.trust-row img.short { height: 20px; }
.trust-row img.pit { height: 34px; }

/* ─────────────────────────────────────────────────
   STATEMENT
───────────────────────────────────────────────── */
.statement { padding: 80px 0 100px; }

.stat-inner {
  max-width: 1000px;
}

.stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 28px;
}

.stat-text {
  font-size: clamp(1.55rem, 3.2vw, 2.8rem);
  font-weight: 700;
  line-height: 1.28;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.stat-accent { color: var(--blue-light); }
.stat-accent-2 { color: #60a5fa; }
.stat-em { font-style: italic; }
.ftrain { display: inline-block; vertical-align: middle; margin-left: 10px; }
.ftrain img { height: 0.92em; width: auto; filter: drop-shadow(0 6px 16px rgba(124,58,237,0.4)); transform: translateY(-2px); }

.stat-foot {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--glass-brd);
}

.rating-badge {
  background: var(--glass-2);
  border: 1px solid var(--glass-brd);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fbbf24;
  white-space: nowrap;
}

.stat-since { color: var(--muted-2); font-size: 0.88rem; }
.stat-link { color: var(--blue-light); font-size: 0.88rem; font-weight: 600; margin-left: auto; transition: color 0.2s; }
.stat-link:hover { color: #fff; }

/* ─────────────────────────────────────────────────
   SERVICES
───────────────────────────────────────────────── */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.svc-card {
  padding: 36px 32px;
  border-radius: var(--r-lg);
  border: 1px solid var(--glass-brd);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s;
}

.svc-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transition: opacity 0.4s;
  opacity: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.04), transparent 60%);
}

.svc-card:hover { transform: translateY(-6px); border-color: var(--glass-brd-2); box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
.svc-card:hover::after { opacity: 1; }

.svc-card:nth-child(1) { background: linear-gradient(145deg, rgba(124,58,237,0.16), rgba(15,10,30,0.75) 65%); }
.svc-card:nth-child(2) { background: linear-gradient(145deg, rgba(168,85,247,0.18), rgba(15,10,30,0.75) 65%); box-shadow: 0 0 0 1px rgba(168,85,247,0.22), 0 20px 60px rgba(20,10,50,0.45); }
.svc-card:nth-child(3) { background: linear-gradient(145deg, rgba(99,102,241,0.14), rgba(15,10,30,0.75) 65%); }

.svc-featured { border-color: rgba(139,92,246,0.3); }

.svc-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.svc-top h3 { font-size: 1.3rem; letter-spacing: -0.02em; }

.svc-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.svc-icon svg { width: 22px; height: 22px; }
.svc-blue { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); box-shadow: 0 8px 20px rgba(29,78,216,0.4); }
.svc-purple { background: linear-gradient(135deg, var(--purple-dark), var(--purple)); box-shadow: 0 8px 20px rgba(109,28,209,0.4); }
.svc-teal { background: linear-gradient(135deg, #0e7490, var(--teal)); box-shadow: 0 8px 20px rgba(6,182,212,0.3); }

.svc-card > p { color: var(--muted); font-size: 0.92rem; line-height: 1.68; margin-bottom: 22px; }

.svc-list { display: flex; flex-direction: column; gap: 10px; }
.svc-list li { font-size: 0.86rem; color: var(--muted-2); padding-left: 18px; position: relative; }
.svc-list li::before { content: '→'; position: absolute; left: 0; color: var(--blue-light); font-size: 0.8rem; }

/* ─────────────────────────────────────────────────
   BENTO / SHOWCASE
───────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile { padding: 28px; border-radius: var(--r-lg); }
.tile-icon { width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.tile-icon svg { width: 22px; height: 22px; }
.tile h3 { font-size: 1.08rem; margin-bottom: 10px; }
.tile p { color: var(--muted); font-size: 0.85rem; line-height: 1.58; }
.tile.tile-feature { background: rgba(59,130,246,0.1); border-color: rgba(59,130,246,0.25); }

/* ─────────────────────────────────────────────────
   FERRY
───────────────────────────────────────────────── */
.ferry { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 48px; align-items: center; padding: 48px; }
.ferry-content .eyebrow { margin-bottom: 18px; }
.ferry-content h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 18px; }
.ferry-content p { color: var(--muted); font-size: 0.98rem; margin-bottom: 24px; line-height: 1.68; }
.ferry-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.agents { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.agent { padding: 18px; border-radius: 16px; text-align: center; background: var(--glass); border: 1px solid var(--glass-brd); transition: border-color 0.25s; }
.agent:hover { border-color: var(--glass-brd-2); }
.agent .av { width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid var(--glass-brd); background: var(--glass); }
.agent .av.av-dim { background: rgba(255,255,255,0.04); }
.agent .av img { width: 100%; height: 100%; object-fit: cover; }
.agent .av svg { width: 28px; height: 28px; }
.agent b { display: block; font-size: 0.88rem; font-weight: 700; margin-bottom: 4px; }
.agent small { font-size: 0.74rem; color: var(--muted-2); }

/* ─────────────────────────────────────────────────
   WORK
───────────────────────────────────────────────── */
.projects { display: grid; gap: 16px; }
.project { display: grid; grid-template-columns: 1.1fr 0.9fr; border-radius: var(--r-lg); overflow: hidden; }
.project-body { padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.tag { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 800; margin-bottom: 14px; display: block; }
.tag.t-blue { color: var(--blue-light); }
.tag.t-purple { color: var(--purple); }
.project-body h3 { font-size: 1.5rem; margin-bottom: 14px; }
.project-body p { color: var(--muted); font-size: 0.95rem; line-height: 1.68; margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.project-visual { position: relative; display: flex; align-items: center; justify-content: center; padding: 44px; background: rgba(255,255,255,0.03); overflow: hidden; min-height: 220px; }
.vglow { position: absolute; width: 260px; height: 260px; border-radius: 50%; filter: blur(60px); opacity: 0.3; }
.vmark { position: relative; z-index: 1; text-align: center; }
.plogo-col { display: flex; flex-direction: column; gap: 22px; align-items: center; }
.plogo { width: auto; opacity: 0.95; filter: drop-shadow(0 4px 18px rgba(0,0,0,0.4)); }
.plogo { height: 46px; }
.plogo-lg { height: 74px; }
.plogo-xl { height: 96px; }

/* Project grid (all projects) */
.proj-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.proj-card { padding: 34px; border-radius: var(--r-lg); display: flex; flex-direction: column; }
.proj-logo { height: 72px; display: flex; align-items: center; gap: 30px; margin-bottom: 24px; }
.proj-logo img { height: 50px; width: auto; opacity: 0.95; filter: drop-shadow(0 4px 18px rgba(0,0,0,0.4)); }
.proj-logo img.square { height: 64px; border-radius: 12px; }
.proj-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.proj-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.68; margin-bottom: 22px; flex: 1; }
.tag.t-teal { color: #5eead4; }
.tag.t-amber { color: #fbbf24; }
@media (max-width: 820px) { .proj-grid { grid-template-columns: 1fr; } }

.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 16px; }
.stat-block { padding: 28px 18px; text-align: center; border-radius: var(--r-lg); }
.stat-n { display: block; font-size: 2.3rem; font-weight: 900; letter-spacing: -0.04em; color: var(--fg); margin-bottom: 6px; background: linear-gradient(135deg, #fff, var(--lav-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-lbl { font-size: 0.8rem; color: var(--muted-2); font-weight: 500; }

/* ─────────────────────────────────────────────────
   PROCESS
───────────────────────────────────────────────── */
.proc-card { padding: 52px; border-radius: 32px; }

/* Timeline stepper: circle - line - circle - line - circle */
.timeline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tl-line { position: absolute; top: 27px; left: 16.66%; right: 16.66%; height: 2px; background: linear-gradient(90deg, var(--purple-dark), var(--violet), var(--purple)); opacity: 0.55; z-index: 0; }
.tl-step { position: relative; z-index: 1; text-align: center; padding: 0 12px; }
.tl-node { width: 56px; height: 56px; margin: 0 auto 22px; border-radius: 999px; background: linear-gradient(135deg, #7c3aed, #a855f7); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.25rem; color: #fff; box-shadow: 0 10px 30px rgba(124,58,237,0.5), inset 0 1px 0 rgba(255,255,255,0.3); border: 4px solid rgba(15,10,30,0.9); }
.tl-time { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lav-2); background: rgba(168,85,247,0.14); border: 1px solid rgba(168,85,247,0.25); border-radius: 999px; padding: 4px 12px; margin-bottom: 12px; }
.tl-step h3 { font-size: 1.1rem; margin-bottom: 10px; }
.tl-step p { color: var(--muted); font-size: 0.9rem; line-height: 1.62; max-width: 280px; margin: 0 auto; }

/* ─────────────────────────────────────────────────
   CTA
───────────────────────────────────────────────── */
/* Dim the screen as we reach the bottom CTA to set it apart */
#book::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -160px; bottom: 0;
  background: linear-gradient(180deg, rgba(3,3,12,0) 0%, rgba(3,3,12,0.5) 38%, rgba(2,2,9,0.8) 72%, rgba(1,1,6,0.9) 100%);
  z-index: -1;
  pointer-events: none;
}

.cta { position: relative; text-align: center; padding: 72px 32px; border-radius: 32px; background: linear-gradient(145deg, rgba(29,78,216,0.14), rgba(109,28,209,0.1)); border: 1px solid rgba(59,130,246,0.22); }

/* Techy blue/purple lightning flash sweeping through the headline */
.flash-text {
  background: linear-gradient(100deg,
    #dbe4ff 0%, #dbe4ff 36%,
    #2563eb 43%, #60a5fa 47%, #ffffff 50%, #a78bfa 53%, #7c3aed 57%,
    #dbe4ff 64%, #dbe4ff 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 16px rgba(96,165,250,0.35));
  animation: flashSweep 4s linear infinite;
}
@keyframes flashSweep {
  0%   { background-position: 100% 0; }
  100% { background-position: 0% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .flash-text { animation: none; background-position: 50% 0; }
}
.cta h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 16px; }
.cta p { color: var(--muted); max-width: 540px; margin: 0 auto 36px; font-size: 1.05rem; line-height: 1.65; }
.cta-btn { padding: 14px 16px 14px 26px; gap: 14px; font-size: 1rem; }
.cta .emails { margin-top: 34px; font-size: 0.92rem; color: var(--muted-2); }
.emails a { color: var(--blue-light); font-weight: 600; }
.emails a:hover { color: #fff; }

/* ─────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────── */
footer { border-top: 1px solid var(--glass-brd); padding: 36px 0; position: relative; z-index: 1; }
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 800; letter-spacing: 0.04em; }
.foot-brand img { height: 24px; width: auto; }
.foot-links { display: flex; gap: 28px; }
.foot-links a { font-size: 0.84rem; color: var(--muted-2); transition: color 0.2s; }
.foot-links a:hover { color: var(--fg); }
.foot-copy { font-size: 0.78rem; color: var(--muted-3); }

/* ─────────────────────────────────────────────────
   ABOUT PAGE
───────────────────────────────────────────────── */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.person { padding: 36px; border-radius: var(--r-lg); }
.person .avatar { width: 68px; height: 68px; border-radius: 50%; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.4rem; color: #fff; }
.av-blue { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); }
.av-pink { background: linear-gradient(135deg, #be185d, var(--pink)); }
.person h3 { font-size: 1.35rem; margin-bottom: 4px; }
.person .role { color: var(--blue-light); font-weight: 600; font-size: 0.88rem; margin-bottom: 14px; }
.person p { color: var(--muted); font-size: 0.94rem; line-height: 1.65; margin-bottom: 18px; }
.creds { display: flex; flex-wrap: wrap; gap: 8px; }
.exp-band { display: flex; align-items: center; gap: 28px; padding: 28px 36px; border-radius: var(--r-lg); }
.logo-chip { display: flex; align-items: center; }
.exp-text h3 { font-size: 1.15rem; margin-bottom: 8px; }
.exp-text p { color: var(--muted); font-size: 0.92rem; line-height: 1.62; }
.hero { padding: 140px 0 80px; text-align: center; }
.hero h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); margin-bottom: 22px; }
.hero .lead { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--muted); max-width: 640px; margin: 0 auto 36px; line-height: 1.65; }
.hero-cta-about { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ─────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: 1fr; max-width: 600px; }
  .stats-row { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 62px; left: 14px; right: 14px; flex-direction: column; align-items: stretch; gap: 12px; background: rgba(7,7,15,0.96); border: 1px solid var(--glass-brd); border-radius: var(--r-lg); padding: 18px; backdrop-filter: blur(20px); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .def-cols { grid-template-columns: 1fr; }
  .ferry { grid-template-columns: 1fr; }
  .project { grid-template-columns: 1fr; }
  .project-visual { display: none; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; gap: 36px; }
  .tl-line { display: none; }
  .m-logo { width: 40vw; flex-basis: 40vw; }
  .proc-card { padding: 32px; }
  .team { grid-template-columns: 1fr; }
  .exp-band { flex-direction: column; text-align: center; }
  .foot-inner { flex-direction: column; text-align: center; }
  .foot-links { justify-content: center; }
  .stat-link { margin-left: 0; }
}

@media (max-width: 640px) {
  .def-display { font-size: clamp(3.5rem, 22vw, 5rem); }
  .bento { grid-template-columns: 1fr; }
  .agents { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { max-width: 100%; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
}

/* =================================================
   HERO - Superhuman style
================================================= */
.hero-sh {
  position: relative;
  height: 100svh;
  min-height: 680px;
  width: 100%;
  overflow: hidden;
  padding: 0;
  display: block;
}
.hero-sh-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-align: center;
  z-index: 4;
  padding: 0 24px;
  pointer-events: none;
}
.sh-logo {
  height: clamp(54px, 7vw, 88px);
  width: auto;
  margin-bottom: 4px;
  filter: drop-shadow(0 14px 40px rgba(124,58,237,0.45));
}
.sh-headline {
  font-size: clamp(1.65rem, 3.4vw, 2.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: #fff;
  text-shadow: 0 2px 30px rgba(0,0,0,0.45);
  max-width: 920px;
}
.sh-sub {
  margin-top: -12px;
  color: rgba(255,255,255,0.88);
  font-size: clamp(1rem, 1.8vw, 1.28rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 22px rgba(0,0,0,0.5);
}
.sh-cta {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(15,10,30,0.78);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  padding: 10px 12px 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s;
  box-shadow: 0 14px 40px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.08);
}
.sh-cta:hover { transform: translateY(-2px); background: rgba(25,18,48,0.85); }
.sh-cta-arr {
  width: 34px; height: 34px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 55%, #c084fc 100%);
  box-shadow: 0 8px 24px rgba(124,58,237,0.45), inset 0 1px 0 rgba(255,255,255,0.35);
}
.sh-cta-arr svg { width: 16px; height: 16px; color: #fff; }

/* Floating glass cards */
.float-card {
  position: absolute;
  z-index: 3;
  background: linear-gradient(160deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.05) 100%);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 18px;
  backdrop-filter: blur(32px) saturate(170%);
  -webkit-backdrop-filter: blur(32px) saturate(170%);
  color: rgba(255,255,255,0.94);
  padding: 16px 16px 14px;
  box-shadow:
    0 30px 70px rgba(20,10,50,0.55),
    0 0 0 1px rgba(168,85,247,0.05),
    inset 0 1px 0 rgba(255,255,255,0.14);
  font-size: 0.78rem;
  line-height: 1.45;
  animation: cardFloat 9s ease-in-out infinite;
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}
.float-card:hover {
  box-shadow:
    0 36px 90px rgba(20,10,50,0.65),
    0 0 0 1px rgba(168,85,247,0.18),
    inset 0 1px 0 rgba(255,255,255,0.18);
}
.float-card p { color: rgba(255,255,255,0.86); margin: 4px 0; }
.float-card u { text-decoration: none; color: #ddd1ff; background: rgba(168,85,247,0.18); padding: 1px 4px; border-radius: 4px; }
.fc-muted { color: rgba(255,255,255,0.62) !important; font-size: 0.74rem !important; }

.fc-chat {
  top: 18%;
  left: 4%;
  width: 280px;
  animation-delay: 0s;
}
.fc-head { margin-bottom: 8px; }
.fc-avatar {
  width: 26px; height: 26px;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #8b5cf6, #c084fc);
  color: #fff;
}
.fc-avatar svg { width: 14px; height: 14px; }
.fc-msg-out {
  display: inline-block;
  margin: 6px 0 4px auto;
  padding: 5px 11px;
  background: rgba(168,85,247,0.30);
  border: 1px solid rgba(168,85,247,0.45);
  border-radius: 14px;
  color: #fff;
  float: right;
  clear: both;
}
.fc-input {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 6px 6px 6px 14px;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.78);
  clear: both;
}
.fc-send {
  width: 24px; height: 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  display: inline-flex; align-items: center; justify-content: center;
}
.fc-send svg { width: 12px; height: 12px; color: #fff; }

.fc-workspace {
  top: 32%;
  right: 4%;
  width: 320px;
  animation-delay: -2s;
}
.fc-ws-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.72);
}
.fc-ws-title { display: inline-flex; align-items: center; gap: 6px; }
.fc-ws-share { color: rgba(255,255,255,0.6); }
.fc-workspace h4 { font-size: 0.86rem; font-weight: 600; margin-bottom: 6px; color: #fff; }
.fc-workspace .hl { color: #ddd1ff; font-weight: 600; }
.fc-ws-tools {
  margin-top: 10px;
  display: flex; gap: 12px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 8px;
}
.fc-ws-tools span { cursor: default; }

.fc-list {
  bottom: 13%;
  left: 12%;
  width: 360px;
  animation-delay: -4s;
}
.fc-list-tabs {
  display: flex; gap: 14px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
}
.fc-list-tabs .active { color: #fff; }
.fc-list-tabs em { font-style: normal; color: rgba(255,255,255,0.45); margin-left: 4px; }
.fc-row {
  display: flex; gap: 10px;
  padding: 5px 0;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.78);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.fc-row b { color: #fff; min-width: 86px; font-weight: 600; }
.fc-row span { color: rgba(255,255,255,0.62); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Small floating pills */
.float-pill {
  position: absolute;
  z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-radius: 999px;
  padding: 8px 14px 8px 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.92);
  box-shadow: 0 14px 40px rgba(20,10,50,0.35);
  animation: pillFloat 10s ease-in-out infinite;
}
.fp-ico {
  width: 22px; height: 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 0.72rem; font-weight: 700;
}
.fp-ico-g { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.fp-1 { top: 14%; right: 26%; animation-delay: -1s; }
.fp-2 { bottom: 8%; right: 8%; animation-delay: -3s; }
.fp-3 { bottom: 7%; left: 40%; animation-delay: -5s; }

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes pillFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Trust marquee */
.trust-strip {
  padding: 48px 0 40px;
  position: relative;
  z-index: 2;
}
.trust-strip .trust-lbl {
  display: block;
  text-align: center;
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 30px;
}
.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.m-logo {
  /* 4 logos visible at a time across the viewport */
  width: 25vw;
  flex: 0 0 25vw;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}
.m-logo img {
  height: 56px;
  width: auto;
  max-width: 80%;
  object-fit: contain;
  opacity: 0.78;
  filter: grayscale(0.2) brightness(1.6);
  transition: opacity 0.3s, filter 0.3s;
}
.m-logo:hover img { opacity: 1; filter: grayscale(0) brightness(1.8); }
.m-logo img.tall { height: 68px; }
.m-logo img.short { height: 42px; }
.m-logo img.pit { height: 64px; }
.m-logo img.square { height: 64px; max-width: none; border-radius: 12px; }
.plogo.square { height: 52px; border-radius: 12px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Fennec link button */
.fennec-link { margin-top: 26px; }

/* About hero */
.about-hero { padding: 150px 0 60px; position: relative; z-index: 1; text-align: center; }
.about-word {
  font-size: clamp(3.4rem, 11vw, 7.5rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  background: linear-gradient(135deg, #fff 0%, var(--lav) 50%, var(--purple) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 18px;
}
.about-def { max-width: 620px; margin: 0 auto 34px; }
.about-phon { display: block; font-size: 0.9rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lav-2); margin-bottom: 14px; }
.about-def blockquote {
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
  font-style: italic;
  border-left: 3px solid var(--purple);
  padding-left: 22px;
  text-align: left;
}
.about-blurb {
  max-width: 720px;
  margin: 0 auto 48px;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
}
/* Founder photos */
.person-photo {
  width: 116px; height: 116px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 22px;
  border: 2px solid var(--glass-brd-2);
  box-shadow: 0 14px 34px rgba(20,10,50,0.5);
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.person-photo-ph {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #be185d, var(--pink));
}
.person-photo-ph span { font-size: 2.6rem; font-weight: 800; color: #fff; }

/* Founders blurb (below founder cards) */
.founders-blurb {
  max-width: 820px;
  margin: 52px auto 0;
  text-align: center;
}
.founders-blurb p {
  font-size: clamp(1.05rem, 1.9vw, 1.32rem);
  line-height: 1.72;
  color: rgba(255,255,255,0.85);
}
.founders-blurb p + p { margin-top: 20px; }

/* Inline animated train after "forward" (medium accent) */
.train-inline {
  display: inline-block;
  position: relative;
  width: 96px;
  height: 1.1em;
  vertical-align: middle;
  margin-left: 6px;
  overflow: visible;
}
.train-inline img {
  position: absolute;
  left: 0; top: 50%;
  height: 2.1em;
  width: auto;
  transform: translateY(-50%);
  filter: drop-shadow(0 6px 16px rgba(124,58,237,0.55));
  animation: trainDrive 3s ease-in-out infinite;
}
@keyframes trainDrive {
  0%   { transform: translate(-6px, -50%); opacity: 0.55; }
  50%  { transform: translate(20px, -50%); opacity: 1; }
  100% { transform: translate(-6px, -50%); opacity: 0.55; }
}
@media (prefers-reduced-motion: reduce) {
  .train-inline img { animation: none; transform: translate(6px, -50%); opacity: 1; }
}
@media (max-width: 640px) {
  .about-def blockquote { font-size: 1.05rem; }
  .train-inline { width: 78px; }
}

/* Mobile */
@media (max-width: 900px) {
  .float-card, .float-pill { display: none; }
  .sh-headline { font-size: 1.6rem; }
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: 24px;
  height: 38px;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
  transition: border-color 0.3s, opacity 0.3s;
  opacity: 0.8;
}
.scroll-cue:hover { border-color: rgba(255,255,255,0.7); opacity: 1; }
.scroll-cue span {
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: rgba(255,255,255,0.85);
  animation: scrollCue 1.6s ease-in-out infinite;
}
@keyframes scrollCue {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* Hero bottom fade into next section */
.hero-sh::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 140px;
  background: linear-gradient(180deg, transparent, rgba(7,7,15,0.95));
  pointer-events: none;
  z-index: 2;
}
