/* =========================================================
   O9JR — global stylesheet
   Clean, Apple-style minimal. Light surface, deep type.
   ========================================================= */

:root {
  --bg:        #fafaf9;
  --bg-elev:   #ffffff;
  --ink:       #0a0a0a;
  --ink-soft:  #4a4a4a;
  --ink-mute:  #8a8a8a;
  --line:      rgba(10, 10, 10, 0.08);
  --line-2:    rgba(10, 10, 10, 0.14);

  /* Accent gradient — used sparingly */
  --grad-a: #6e8efb;
  --grad-b: #a777e3;
  --grad-c: #f59e7e;
  --grad-d: #7ed7c1;

  --radius-sm: 10px;
  --radius:    18px;
  --radius-lg: 28px;

  --shadow-1: 0 1px 2px rgba(10,10,10,0.04), 0 1px 1px rgba(10,10,10,0.02);
  --shadow-2: 0 10px 30px rgba(10,10,10,0.06), 0 2px 6px rgba(10,10,10,0.04);
  --shadow-3: 0 30px 80px rgba(10,10,10,0.12), 0 8px 20px rgba(10,10,10,0.06);

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

/* =========================================================
   Animated mesh-gradient background (the "video" feel)
   Four large radial gradients drifting across the viewport.
   ========================================================= */

.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--bg);
  overflow: hidden;
  pointer-events: none;
}
.bg-mesh::before,
.bg-mesh::after,
.bg-mesh > span {
  content: "";
  position: absolute;
  width: 60vmax;
  height: 60vmax;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  mix-blend-mode: multiply;
  animation: drift 30s var(--ease) infinite alternate;
}
.bg-mesh::before {
  top: -20vmax; left: -10vmax;
  background: radial-gradient(circle at 30% 30%, var(--grad-a), transparent 60%);
}
.bg-mesh::after {
  bottom: -20vmax; right: -10vmax;
  background: radial-gradient(circle at 70% 70%, var(--grad-b), transparent 60%);
  animation-duration: 38s;
  animation-direction: alternate-reverse;
}
.bg-mesh > span.blob-3 {
  top: 40vh; left: 40vw;
  background: radial-gradient(circle, var(--grad-c), transparent 60%);
  animation-duration: 44s;
  opacity: 0.28;
}
.bg-mesh > span.blob-4 {
  top: 10vh; right: 20vw;
  background: radial-gradient(circle, var(--grad-d), transparent 60%);
  animation-duration: 52s;
  animation-direction: alternate-reverse;
  opacity: 0.30;
}

@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(8vw, -6vh, 0) scale(1.15); }
  100% { transform: translate3d(-6vw, 8vh, 0) scale(0.95); }
}

/* Subtle grain overlay for premium texture */
.bg-grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.06 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
}

/* =========================================================
   Layout primitives
   ========================================================= */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

section { padding: 120px 0; position: relative; }

/* =========================================================
   Nav
   ========================================================= */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(250, 250, 249, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
}
.brand {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
  display: inline-flex; align-items: center; gap: 8px;
}
.brand-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
}
.nav-links {
  display: flex; gap: 28px; align-items: center;
  font-size: 14px; color: var(--ink-soft);
}
.nav-links a { transition: color 0.2s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  padding: 8px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  background: var(--ink);
  color: #fff;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-cta:hover { transform: translateY(-1px); background: #1a1a1a; color: #fff; }

@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 120px; padding-bottom: 80px;
  position: relative;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 24px;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 24px; height: 1px; background: var(--ink-mute);
}
.hero-title {
  font-size: clamp(64px, 13vw, 200px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #0a0a0a 0%, #2a2a2a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 32px;
}
.hero-title .accent {
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b) 50%, var(--grad-c));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--ink-soft);
  max-width: 720px;
  line-height: 1.35;
  letter-spacing: -0.015em;
  margin-bottom: 48px;
}
.hero-meta {
  display: flex; gap: 32px; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-mute);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink); opacity: 0.6;
}

/* Subtle scroll indicator */
.scroll-cue {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  opacity: 0.7;
}
.scroll-cue::after {
  content: ""; width: 1px; height: 32px;
  background: linear-gradient(to bottom, var(--ink-mute), transparent);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue {
  0%, 100% { transform: scaleY(1); opacity: 0.4; transform-origin: top; }
  50%      { transform: scaleY(1.4); opacity: 1; transform-origin: top; }
}

/* =========================================================
   Path cards
   ========================================================= */

.section-head {
  margin-bottom: 64px;
  max-width: 720px;
}
.section-head .eyebrow { margin-bottom: 16px; }
.section-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 16px;
}
.section-lede {
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.paths {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 820px) {
  .paths { grid-template-columns: 1fr; }
}
.path-card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  min-height: 320px;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.path-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  z-index: 0;
  pointer-events: none;
}
.path-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3);
  border-color: transparent;
}
.path-card:hover::before { opacity: 0.04; }

.path-card .pc-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  margin-bottom: 20px;
}
.path-card .pc-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 16px;
  position: relative; z-index: 1;
}
.path-card .pc-desc {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 24px;
  position: relative; z-index: 1;
}
.path-card .pc-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 24px;
  position: relative; z-index: 1;
}
.path-card .pc-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(10,10,10,0.04);
  color: var(--ink-soft);
}
.path-card .pc-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500;
  color: var(--ink);
  position: relative; z-index: 1;
}
.path-card .pc-arrow svg { transition: transform 0.3s var(--ease); }
.path-card:hover .pc-arrow svg { transform: translateX(6px); }

/* Accent variations per card */
.path-card.invest .pc-title  { background: linear-gradient(135deg, #1e3a8a, #6e8efb); -webkit-background-clip: text; background-clip: text; color: transparent; }
.path-card.build .pc-title   { background: linear-gradient(135deg, #7c2d12, #f59e7e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.path-card.elevate .pc-title { background: linear-gradient(135deg, #064e3b, #7ed7c1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.path-card.connect .pc-title { background: linear-gradient(135deg, #4c1d95, #a777e3); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* =========================================================
   Sub-page hero
   ========================================================= */

.subhero {
  padding-top: 180px;
  padding-bottom: 80px;
}
.subhero .eyebrow { margin-bottom: 20px; }
.subhero h1 {
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 32px;
}
.subhero .lede {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--ink-soft);
  max-width: 680px;
  line-height: 1.45;
}

/* =========================================================
   Feature blocks
   ========================================================= */

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-top: 1px solid var(--line);
}
.feature:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; gap: 32px; padding: 56px 0; }
}
.feature h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.feature p {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 16px;
}
.feature ul { list-style: none; }
.feature ul li {
  font-size: 16px;
  color: var(--ink-soft);
  padding: 14px 0;
  border-top: 1px solid var(--line);
  display: flex; gap: 16px; align-items: flex-start;
}
.feature ul li:first-child { border-top: none; }
.feature ul li::before {
  content: "→";
  color: var(--ink);
  font-weight: 600;
  flex-shrink: 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.stat {
  padding: 28px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}
.stat .num {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--ink), var(--ink-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* =========================================================
   Badge row (credentials)
   ========================================================= */

.badges {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 32px;
}
.badge {
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 13px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--bg-elev);
  display: inline-flex; align-items: center; gap: 8px;
}
.badge::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
}

/* =========================================================
   CTA strip
   ========================================================= */

.cta-strip {
  margin: 80px 0;
  padding: 80px 48px;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 30% 30%, rgba(110, 142, 251, 0.3), transparent 50%),
              radial-gradient(circle at 70% 70%, rgba(167, 119, 227, 0.3), transparent 50%);
  animation: drift 40s var(--ease) infinite alternate;
}
.cta-strip > * { position: relative; z-index: 1; }
.cta-strip h2 {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.cta-strip p {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin: 0 auto 32px;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-primary {
  background: #fff;
  color: #0a0a0a;
}
.btn-primary:hover { transform: translateY(-2px); background: #f0f0f0; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); }

.btn-row { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* =========================================================
   Contact form
   ========================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: flex-start;
}
@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}
.contact-form {
  background: var(--bg-elev);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 8px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(10,10,10,0.04);
}

.contact-info h3 {
  font-size: 14px;
  font-family: var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 12px;
}
.contact-info a.contact-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  font-size: 18px;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}
.contact-info a.contact-link:last-of-type { border-bottom: 1px solid var(--line); }
.contact-info a.contact-link:hover { color: var(--grad-a); }
.contact-info a.contact-link span { color: var(--ink-mute); font-family: var(--font-mono); font-size: 13px; }

/* =========================================================
   Footer
   ========================================================= */

.footer {
  padding: 64px 0 48px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-mute);
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 24px;
}
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--ink); }

/* =========================================================
   Reveal on scroll
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .bg-mesh::before, .bg-mesh::after, .bg-mesh > span,
  .cta-strip::before, .scroll-cue::after { animation: none; }
}
