/* ============================================================
   GH Studios — style.css
   Vanilla CSS only. No frameworks.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --bg:          #0a0a0f;
  --bg-2:        #0d0d15;
  --bg-3:        #12121e;
  --blue:        #2563eb;
  --blue-mid:    #3b82f6;
  --blue-light:  #60a5fa;
  --blue-glow:   rgba(37, 99, 235, 0.45);
  --text:        #f0f0fa;
  --text-dim:    rgba(240, 240, 250, 0.55);
  --text-faint:  rgba(240, 240, 250, 0.25);
  --border:      rgba(240, 240, 250, 0.08);
  --border-mid:  rgba(240, 240, 250, 0.12);
  --glass:       rgba(255, 255, 255, 0.035);
  --radius:      18px;
  --radius-lg:   26px;
  --nav-h:       72px;
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }
ul { list-style: none; }

/* ---------- Utilities ---------- */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section          { padding: 130px 0; }
.section-tinted   { background: var(--bg-2); }
.section-header   { text-align: center; margin-bottom: 80px; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: clamp(2.125rem, 4.5vw, 3.5rem);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text);
}

.gradient-text {
  background: linear-gradient(
    120deg,
    #60a5fa  0%,
    #3b82f6  25%,
    #93c5fd  50%,
    #2563eb  75%,
    #60a5fa  100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease infinite;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% center; }
  50%       { background-position: 100% center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2.125rem;
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.35s var(--ease-out),
              background 0.25s ease,
              box-shadow 0.35s var(--ease-out),
              border-color 0.25s ease,
              color 0.2s ease;
  border: 1.5px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 60%, #60a5fa 100%);
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 700;
  padding: 1rem 2.75rem;
  letter-spacing: 0.01em;
  box-shadow:
    0 0 0 1px rgba(96,165,250,0.25),
    0 4px 24px rgba(37,99,235,0.45),
    0 1px 0 rgba(255,255,255,0.12) inset;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #3b82f6 100%);
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(96,165,250,0.4),
    0 16px 48px rgba(37,99,235,0.6),
    0 1px 0 rgba(255,255,255,0.15) inset;
}
.btn-primary:active { transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--text-dim);
  border-color: var(--border-mid);
}
.btn-ghost[disabled] { opacity: 0.45; cursor: not-allowed; }
.btn-ghost:not([disabled]):hover {
  color: var(--blue-light);
  border-color: rgba(96, 165, 250, 0.45);
  transform: translateY(-2px);
}

/* ---------- Navigation ---------- */
#nav {
  position: fixed;
  inset: 0 0 auto;
  height: var(--nav-h);
  z-index: 900;
  overflow: hidden;

  /* Rich deep navy — clearly distinct from page bg */
  background: linear-gradient(
    105deg,
    #050d1f 0%,
    #071228 40%,
    #0a1535 70%,
    #071025 100%
  );

  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 1px 0 rgba(37, 99, 235, 0.15),
    0 8px 40px rgba(0, 0, 0, 0.7),
    0 2px 80px rgba(10, 20, 60, 0.6);

  transition: box-shadow 0.4s ease;
}

/* Animated blue shimmer sweep across the bar */
#nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 55% 120% at 50% -10%,
    rgba(37, 99, 235, 0.18) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* Glowing bottom border */
#nav::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent        0%,
    rgba(37, 99, 235, 0.4)  15%,
    rgba(96, 165, 250, 1)   50%,
    rgba(37, 99, 235, 0.4)  85%,
    transparent        100%
  );
  pointer-events: none;
}

#nav.scrolled {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 1px 0 rgba(37, 99, 235, 0.2),
    0 12px 60px rgba(0, 0, 0, 0.85),
    0 2px 100px rgba(10, 20, 60, 0.7);
}

.nav-inner {
  width: 100%;
  padding: 0 2.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo */
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img  { height: 38px; width: auto; }
.logo-wordmark {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin-left: 0.75rem;
  text-shadow: 0 0 20px rgba(96, 165, 250, 0.4);
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dim);
  padding: 0.45rem 1rem;
  border-radius: 8px;
  border: 1px solid transparent;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  position: relative;
  letter-spacing: 0.01em;
}
.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.1);
}
.nav-link.active {
  color: #fff;
  background: rgba(37, 99, 235, 0.22);
  border-color: rgba(96, 165, 250, 0.4);
  box-shadow: 0 0 18px rgba(37, 99, 235, 0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}
/* Remove old underline approach */
.nav-link::after { display: none; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

/* Vignette: dark edges, faint blue centre-glow, strong bottom fade into Products */
#hero::after {
  content: '';
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(37,99,235,0.05) 0%, transparent 70%),
    radial-gradient(ellipse 100% 30% at 50% 0%,   var(--bg) 0%, transparent 50%),
    radial-gradient(ellipse 100% 50% at 50% 100%, var(--bg) 0%, transparent 60%),
    radial-gradient(ellipse 25% 100% at 0%   50%, var(--bg) 0%, transparent 55%),
    radial-gradient(ellipse 25% 100% at 100% 50%, var(--bg) 0%, transparent 55%);
}
/* Extra bottom gradient on hero — linear so it's deep and definitive */
#hero::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 220px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index: 3;
  pointer-events: none;
}

/* ── Layer 0: Property card silhouettes ── */
.prop-cards-layer {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  will-change: transform;
}

.prop-card {
  position: absolute;
  border-radius: 16px;
  background: linear-gradient(
    180deg,
    rgba(37, 99, 235, 0.04)  0%,
    rgba(37, 99, 235, 0.04)  60%,
    rgba(15, 30, 80,  0.05)  60%,
    rgba(15, 30, 80,  0.05)  100%
  );
  border: 1px solid rgba(96, 165, 250, 0.08);
  filter: blur(4px);
  opacity: 0;
  animation-fill-mode: forwards;
}

/* Faint text-line details inside each card */
.prop-card::before,
.prop-card::after {
  content: '';
  position: absolute;
  left: 12px; right: 12px;
  border-radius: 4px;
  background: rgba(96, 165, 250, 0.15);
}
.prop-card::before { bottom: 28px; height: 6px; right: 30%; }
.prop-card::after  { bottom: 14px; height: 5px; right: 50%; opacity: 0.6; }

/* Individual card sizes, start positions, and staggered entry */
.pc-1 {
  width: 270px; height: 172px;
  top: 7%; left: 4%;
  animation: drift1 26s ease-in-out infinite, fadeIn 1s ease 0.3s forwards;
}
.pc-2 {
  width: 220px; height: 142px;
  bottom: 18%; left: 8%;
  animation: drift2 32s ease-in-out infinite, fadeIn 1s ease 0.7s forwards;
}
.pc-3 {
  width: 252px; height: 160px;
  top: 10%; right: 5%;
  animation: drift3 29s ease-in-out infinite, fadeIn 1s ease 0.5s forwards;
}
.pc-4 {
  width: 200px; height: 130px;
  bottom: 12%; right: 7%;
  animation: drift4 23s ease-in-out infinite, fadeIn 1s ease 0.9s forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 0.45; }
}

/* Large, sweeping paths — clearly visible movement across the screen */
@keyframes drift1 {
  0%   { transform: translate(0px,    0px)   rotate(-3deg); }
  25%  { transform: translate(80px,  -45px)  rotate(-1deg); }
  50%  { transform: translate(120px,  30px)  rotate(-5deg); }
  75%  { transform: translate(50px,   70px)  rotate(-2deg); }
  100% { transform: translate(0px,    0px)   rotate(-3deg); }
}
@keyframes drift2 {
  0%   { transform: translate(0px,   0px)   rotate(2deg); }
  30%  { transform: translate(-60px, -55px) rotate(4deg); }
  55%  { transform: translate(30px, -90px)  rotate(1deg); }
  80%  { transform: translate(70px, -40px)  rotate(3.5deg); }
  100% { transform: translate(0px,   0px)   rotate(2deg); }
}
@keyframes drift3 {
  0%   { transform: translate(0px,   0px)  rotate(3deg); }
  20%  { transform: translate(-90px, 40px) rotate(1deg); }
  50%  { transform: translate(-60px, 80px) rotate(5deg); }
  75%  { transform: translate(-20px, 30px) rotate(2deg); }
  100% { transform: translate(0px,   0px)  rotate(3deg); }
}
@keyframes drift4 {
  0%   { transform: translate(0px,   0px)   rotate(-2deg); }
  35%  { transform: translate(-70px, -50px) rotate(-4deg); }
  60%  { transform: translate(-100px, 20px) rotate(0deg); }
  82%  { transform: translate(-40px,  50px) rotate(-3deg); }
  100% { transform: translate(0px,   0px)   rotate(-2deg); }
}

/* ── Layer 1: Neural-net canvas ── */
#neural-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1; pointer-events: none;
  will-change: transform;
}

/* ── Layer 3: Content ── */
.hero-inner {
  position: relative; z-index: 3;
  text-align: center;
  max-width: 880px;
  padding: calc(var(--nav-h) + 3.5rem) 2rem 6rem;
}

/* Hero logo lockup (replaces eyebrow pill) */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease-out) 0.1s forwards;
}
.hero-logo-img {
  height: 42px;
  width: auto;
  display: block;
}
.hero-logo-name {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

/* Headline */
.hero-headline {
  font-size: clamp(3.25rem, 7.5vw, 7rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 1.75rem;
  position: relative; /* shimmer anchor */
}

/* Each word wrapped by JS: .hero-word > .word-inner */
.hero-word {
  display: inline-block;
  /* No overflow:hidden — blur needs space */
}
.word-inner {
  display: inline-block;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(18px);
  transition:
    opacity  0.65s var(--ease-out),
    filter   0.65s var(--ease-out),
    transform 0.65s var(--ease-out);
  will-change: opacity, filter, transform;
}
.word-inner.revealed {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* "Real Estate." — blue with soft glow */
.word-inner.word-blue {
  color: #60a5fa;
}
.word-inner.word-blue.revealed {
  color: #60a5fa;
  text-shadow:
    0 0 20px rgba(59, 130, 246, 0.8),
    0 0 50px rgba(37, 99, 235, 0.45),
    0 0 90px rgba(37, 99, 235, 0.2);
}

/* shimmer sweep removed */

/* Sub text */
.hero-sub {
  font-size: 1.0625rem;
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 3rem;
  max-width: 500px;
  margin-left: auto; margin-right: auto;
  opacity: 0;
  animation: fadeUp 0.75s var(--ease-out) 1.65s forwards;
}

/* CTA column — button above, badge below */
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  opacity: 0;
  animation: fadeUp 0.75s var(--ease-out) 1.85s forwards;
}

/* Glowing badge pill */
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue-light);
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  border: 1px solid rgba(96,165,250,0.28);
  background: rgba(37,99,235,0.09);
  box-shadow: 0 0 20px rgba(37,99,235,0.12);
}
.pill-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399, 0 0 18px rgba(52,211,153,0.4);
  animation: pillPulse 2.5s ease-in-out infinite;
}
@keyframes pillPulse {
  0%,100% { transform: scale(1); }
  50%     { transform: scale(1.3); box-shadow: 0 0 14px #34d399, 0 0 28px rgba(52,211,153,0.45); }
}

/* Scroll indicator */
.hero-scroll-hint {
  position: absolute;
  bottom: 4rem;
  left: 0; right: 0;
  z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 2.2s forwards;
}
.hero-scroll-hint span {
  font-size: 0.5625rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-faint);
}
.scroll-track {
  width: 1.5px; height: 42px;
  background: rgba(59,130,246,0.15);
  border-radius: 2px;
  position: relative; overflow: hidden;
}
.scroll-dot {
  position: absolute;
  top: -8px; left: 50%;
  transform: translateX(-50%);
  width: 3px; height: 10px;
  border-radius: 3px;
  background: var(--blue-mid);
  box-shadow: 0 0 8px var(--blue-mid);
  animation: scrollDrop 2s cubic-bezier(0.4,0,0.6,1) infinite;
}
@keyframes scrollDrop {
  0%   { top: -8px;  opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 0.4; }
  100% { top: 100%;  opacity: 0; }
}

/* Shared keyframes */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Responsive hero — scale cards down on smaller screens */
@media (max-width: 960px) {
  .prop-card { transform-origin: top left; }
  .pc-1 { width: 200px; height: 128px; }
  .pc-2 { width: 165px; height: 108px; }
  .pc-3 { width: 188px; height: 120px; }
  .pc-4 { width: 152px; height: 100px; }
}
@media (max-width: 600px) {
  .hero-inner { padding-top: calc(var(--nav-h) + 2.5rem); }
  .hero-headline { letter-spacing: -0.03em; }
}

/* ---------- Products ---------- */
#products .eyebrow {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: none;
  text-shadow: 0 0 30px rgba(59,130,246,0.55), 0 0 60px rgba(37,99,235,0.25);
}
#products .section-title {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 640px;
  margin: 0 auto;
}

.product-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.45s var(--ease-out),
    border-color 0.35s ease,
    box-shadow 0.45s var(--ease-out);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.product-card:hover {
  transform: translateY(-10px);
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(96, 165, 250, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.card-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-3);
  flex-shrink: 0;
}
.card-img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 2rem;
  transition: transform 0.65s var(--ease-out);
}
/* OffMarket logo fills the box */
.product-card:nth-child(2) .card-img {
  object-fit: cover;
  padding: 0;
}
.product-card:hover .card-img { transform: scale(1.05); }

.card-body {
  padding: 1.125rem 1.25rem 1.375rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.status-badge {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.125rem;
}
.status-live {
  color: #34d399;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.22);
}
.status-soon {
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.card-title {
  font-size: 1.375rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.card-desc {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
}

/* ---------- About / Founders ---------- */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  max-width: 680px;
  margin: 0 auto;
}

.founder-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2rem 2.5rem;
  text-align: center;
  transition:
    transform 0.45s var(--ease-out),
    border-color 0.35s ease,
    box-shadow 0.45s var(--ease-out);
}
.founder-card:hover {
  transform: translateY(-7px);
  border-color: rgba(96, 165, 250, 0.3);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.5);
}

.founder-avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.625rem;
  background: var(--bg-3);
  border: 2px solid var(--border-mid);
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.12);
  flex-shrink: 0;
}
.founder-photo {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ---------- Shared section background effects ---------- */
#about,
#products {
  position: relative;
  /* overflow: visible so aurora blobs bleed across the section boundary */
  background-image: radial-gradient(circle, rgba(96,165,250,0.07) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Decorative bg containers — overflow hidden here clips the rings
   but the blobs use filter:blur which can bleed outside clip */
.about-bg,
.section-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Animated aurora blobs */
.about-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.ab-1 {
  width: 650px; height: 560px;
  background: radial-gradient(ellipse, rgba(37,99,235,0.14) 0%, transparent 70%);
  top: -220px; left: -80px;
  animation: aboutDrift1 16s ease-in-out infinite;
}
/* ab-2 anchored to BOTTOM of its section — bleeds into the next */
.ab-2 {
  width: 600px; height: 520px;
  background: radial-gradient(ellipse, rgba(99,102,241,0.13) 0%, transparent 70%);
  bottom: -180px; right: -60px;
  animation: aboutDrift2 20s ease-in-out infinite;
}
.ab-3 {
  width: 380px; height: 320px;
  background: radial-gradient(ellipse, rgba(14,165,233,0.09) 0%, transparent 70%);
  top: 40%; left: 50%;
  transform: translate(-50%, -50%);
  animation: aboutDrift3 13s ease-in-out infinite;
}

@keyframes aboutDrift1 {
  0%,100% { transform: translate(0, 0) scale(1); }
  40%     { transform: translate(60px, 40px) scale(1.08); }
  70%     { transform: translate(-30px, 60px) scale(0.95); }
}
@keyframes aboutDrift2 {
  0%,100% { transform: translate(0, 0) scale(1); }
  35%     { transform: translate(-50px, -35px) scale(1.06); }
  68%     { transform: translate(30px, -50px) scale(0.96); }
}
@keyframes aboutDrift3 {
  0%,100% { transform: translate(-50%, -50%) scale(1); }
  50%     { transform: translate(-50%, -50%) scale(1.15); opacity: 0.7; }
}

/* Decorative geometric rings */
.about-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(96,165,250,0.08);
}
.ar-1 {
  width: 420px; height: 420px;
  top: -100px; right: 10%;
  animation: ringRotate 30s linear infinite;
}
.ar-1::after {
  content: '';
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  border: 1px solid rgba(96,165,250,0.05);
}
.ar-2 {
  width: 280px; height: 280px;
  bottom: -60px; left: 8%;
  animation: ringRotate 22s linear infinite reverse;
}

@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Ensure section content sits above bg */
#about .container,
#products .container { position: relative; z-index: 1; }

/* Hero → Products: top fade on products dissolves into the hero */
#products::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to bottom, var(--bg), transparent);
  pointer-events: none;
  z-index: 2;
}
/* Products → About: bottom fade dissolves into about */
#products::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 160px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
  z-index: 2;
}
/* About: top fade continues the dissolve from products */
#about::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 160px;
  background: linear-gradient(to top, transparent, var(--bg));
  pointer-events: none;
  z-index: 2;
}
/* About: bottom fade dissolves into contact */
#about::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 160px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
  z-index: 2;
}

/* ---------- About: manifesto ---------- */
.about-manifesto {
  max-width: 520px;
  margin: 0 auto 2.5rem;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-dim);
  text-align: center;
}

#about { padding-top: 80px; padding-bottom: 80px; }
#about .section-header { margin-bottom: 2rem; }
#about .eyebrow {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: none;
  text-shadow: 0 0 30px rgba(59,130,246,0.55), 0 0 60px rgba(37,99,235,0.25);
}
#about .section-title {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
}

/* ---------- About: stats strip ---------- */
.about-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 auto 5rem;
  max-width: 760px;
  background: var(--glass);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.about-stats::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--blue-light), var(--blue), transparent);
}
.about-stat {
  flex: 1;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
  gap: 0.3rem;
}
.astat-num {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
}
.astat-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.astat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* ---------- About: founder cards ---------- */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

/* Glass card — centred content */
.founder-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Equal height between siblings */
  align-self: stretch;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    transform      0.45s var(--ease-out),
    border-color   0.35s ease,
    box-shadow     0.45s var(--ease-out);
}
.founder-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(96, 165, 250, 0.12),
    0 0 40px rgba(37, 99, 235, 0.08);
}

/* Circular photo with blue ring */
.founder-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.1rem;
  flex-shrink: 0;
  background: var(--bg-3);
  /* Thin blue ring */
  box-shadow:
    0 0 0 2px rgba(37, 99, 235, 0.5),
    0 0 0 5px rgba(37, 99, 235, 0.08);
  transition: box-shadow 0.35s ease;
}
.founder-card:hover .founder-avatar {
  box-shadow:
    0 0 0 2px rgba(96, 165, 250, 0.8),
    0 0 0 6px rgba(37, 99, 235, 0.15),
    0 0 20px rgba(37, 99, 235, 0.25);
}
.founder-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Avatar image-missing placeholder */
.avatar-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--text-faint);
  background: rgba(37, 99, 235, 0.06);
  border: 2px dashed rgba(59, 130, 246, 0.3);
  border-radius: 50%;
  text-align: center;
  padding: 0.5rem;
  word-break: break-all;
  line-height: 1.4;
}

.founder-name {
  font-size: 1.3125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.3rem;
}
.founder-role {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 1.125rem;
}
.founder-bio {
  font-size: 0.9375rem;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  .founders-grid  { grid-template-columns: 1fr; max-width: 400px; }
  .about-stats    { flex-direction: column; gap: 0; }
  .astat-divider  { width: 100%; height: 1px; }
  .about-stat     { padding: 1.25rem 1rem; }
}

/* ---------- Image placeholders (onerror) ---------- */
.img-placeholder {
  width: 100%; height: 100%;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.04);
  border: 2px dashed rgba(59, 130, 246, 0.28);
  color: var(--text-faint);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 1rem;
  word-break: break-all;
}

/* ---------- Contact ---------- */
#contact {
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(circle, rgba(96,165,250,0.07) 1px, transparent 1px);
  background-size: 40px 40px;
}
#contact .container { position: relative; z-index: 1; }

/* Gradient top fade from About */
#contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 180px;
  background: linear-gradient(to bottom, var(--bg), transparent);
  pointer-events: none;
  z-index: 2;
}

.contact-block {
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Animated badge */
.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-light);
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  border: 1px solid rgba(96,165,250,0.28);
  background: rgba(37,99,235,0.09);
  margin-bottom: 1.75rem;
}
.contact-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-mid);
  animation: eyePulse 2s ease-in-out infinite;
}

/* Title with animated gradient on "soon." */
.contact-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1rem;
}

.contact-sub {
  font-size: 1.0625rem;
  color: var(--text-dim);
  margin: 0 auto 2.75rem;
  max-width: 400px;
  line-height: 1.7;
}

/* Social founder cards */
.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 560px;
  margin: 0 auto;
}

.social-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), border-color 0.3s ease, box-shadow 0.45s var(--ease-out);
}
/* Subtle top shimmer line on card */
.social-card::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96,165,250,0.5), transparent);
  transition: opacity 0.3s ease;
  opacity: 0;
}
.social-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59,130,246,0.4);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 40px rgba(37,99,235,0.08);
}
.social-card:hover::before { opacity: 1; }

.social-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--bg-3);
  box-shadow: 0 0 0 2px rgba(37,99,235,0.5), 0 0 0 5px rgba(37,99,235,0.1);
  transition: box-shadow 0.35s ease;
  flex-shrink: 0;
}
.social-card:hover .social-avatar {
  box-shadow: 0 0 0 2px rgba(96,165,250,0.8), 0 0 0 6px rgba(37,99,235,0.15), 0 0 20px rgba(37,99,235,0.3);
}

.social-name {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
}
.social-role {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 1.375rem;
}

/* Social link buttons */
.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  width: 100%;
}
.social-btn {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  border: 1px solid transparent;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, filter 0.25s ease;
}
.social-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
}
.social-btn svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
}
.social-btn span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Instagram — muted brand gradient */
.social-btn-ig {
  background: linear-gradient(135deg,
    rgba(64,93,230,0.75),
    rgba(131,58,180,0.75),
    rgba(193,53,132,0.65),
    rgba(225,48,108,0.6),
    rgba(253,29,29,0.55)
  );
  box-shadow: 0 4px 16px rgba(131,58,180,0.2);
}
.social-btn-ig:hover {
  box-shadow: 0 8px 24px rgba(131,58,180,0.35);
}

/* TikTok — near-black with cyan accent */
.social-btn-tt {
  background: #010101;
  border-color: rgba(105,201,208,0.3);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5), inset 0 1px 0 rgba(105,201,208,0.15);
  color: #69C9D0;
}
.social-btn-tt:hover {
  border-color: rgba(105,201,208,0.6);
  box-shadow: 0 8px 28px rgba(0,0,0,0.6), 0 0 16px rgba(105,201,208,0.2);
}
.social-btn-tt svg { color: #69C9D0; }

@media (max-width: 520px) {
  .social-grid { grid-template-columns: 1fr; max-width: 300px; }
}

/* Ambient glow behind contact */
#contact {
  position: relative;
  overflow: hidden;
}
#contact::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.1) 0%, transparent 68%);
  pointer-events: none;
}

/* ---------- Footer ---------- */
#footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.logo-img-sm    { height: 34px; width: auto; }
.footer-wordmark {
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -0.025em;
}
.footer-copy {
  font-size: 0.875rem;
  color: var(--text-dim);
}

/* ---------- Scroll animation states ---------- */
.reveal,
.reveal-card {
  opacity: 0;
  transform: translateY(40px);
  will-change: opacity, transform;
  transition:
    opacity  0.85s var(--ease-out),
    transform 0.85s var(--ease-out);
}
.reveal.in,
.reveal-card.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Mobile Nav ---------- */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    inset: var(--nav-h) 0 auto;
    background: rgba(10, 10, 15, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: center;
    padding: 2.25rem 2rem 2.5rem;
    gap: 2rem;
    border-bottom: 1px solid var(--border);
    /* Hidden by default */
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.38s var(--ease-out), opacity 0.32s ease;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-link { font-size: 1.1875rem; }
}

/* ---------- Responsive layout ---------- */
@media (max-width: 960px) {
  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: calc(var(--nav-h) + 3rem);
    padding-bottom: 6rem;
    gap: 3rem;
  }
  .hero-left { align-items: center; }
  .hero-rule { align-self: center; }
  .hero-headline { align-items: center; }
  .hl-outline:nth-child(2) { margin-left: 0; }
  .hl-fill { margin-left: 0; }
  .hero-sub { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-right { order: -1; }
  #orb-canvas { max-width: 300px; }
}

@media (max-width: 800px) {
  .products-grid { grid-template-columns: 1fr; }
  .founders-grid { grid-template-columns: 1fr; max-width: 380px; }
  .section { padding: 88px 0; }
  .section-header { margin-bottom: 56px; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .section { padding: 72px 0; }
  .card-body { padding: 1.5rem 1.5rem 1.875rem; }
  .founder-card { padding: 2.25rem 1.5rem 2rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}

/* ---------- Reduce motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal, .reveal-card  { opacity: 1; transform: none; }
}
