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

/* ─── Design tokens ──────────────────────────────── */
:root {
  --bg:            #000000;
  --bg-raised:     #0C0C0C;
  --surface:       #0F1113;
  --surface-soft:  #16181B;
  --text:          #EDEAE3;
  --text-secondary:#8A8F98;
  --text-muted:    #404449;
  --accent-a:      #8B8AF4;                 /* violet glow */
  --accent-b:      #38C2FF;                 /* blue glow */
  --accent-gold:   #D4B16A;                 /* warm CTA */
  --accent-gold-soft: #F2D28A;
  --border:        rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.12);
  --danger:        #E07A6E;
  --ease:          cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-ui:       cubic-bezier(0.4, 0, 0.2, 1);
  --font:          'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-head:     'Space Grotesk', 'Inter', -apple-system, sans-serif;
}

/* ─── Base ───────────────────────────────────────── */
html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: 6rem;
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 500;
}

/* ─── Utilities ──────────────────────────────────── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  position: relative;
  padding: 7rem 0;
  border-top: 1px solid var(--border);
}

.section-raised {
  background-color: var(--bg-raised);
}

/* Ambient continuation of the product glow into the AI section */
#ai::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 420px;
  z-index: -1;
  background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(56, 194, 255, 0.05), transparent 70%);
  pointer-events: none;
}

/* Subtly illuminate the lower page toward the contact section */
#contact::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 480px;
  z-index: -1;
  background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(139, 138, 244, 0.05), transparent 70%);
  pointer-events: none;
}

.section-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-a);
  margin-bottom: 1.25rem;
}

.section-heading {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  max-width: 20ch;
}

.section-lead {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 60ch;
  margin-bottom: 3.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: filter 0.25s var(--ease), background-color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn-cta {
  background: linear-gradient(135deg, var(--accent-gold-soft), var(--accent-gold));
  color: #1A1508;
  font-weight: 600;
}

.btn-cta:hover {
  filter: brightness(1.07);
}

.btn.btn-cta:active {
  transform: scale(0.985);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--accent-a);
  background: rgba(139, 138, 244, 0.06);
}

.btn-sm {
  padding: 0.6rem 1.15rem;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* Arrow microinteraction on primary CTAs */
.btn-arrow::after {
  content: "\2192";
  display: inline-block;
  transform: translateX(0);
  transition: transform 0.18s var(--ease-ui);
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

.btn.btn-arrow:hover {
  transform: translateY(-2px);
}

/* Press feedback must win over the hover lift while the pointer is down */
.btn.btn-cta.btn-arrow:active {
  transform: scale(0.985);
}

/* Submit button pending / success states — dimensions never change */
#submitBtn {
  position: relative;
}

#submitBtn .btn-label {
  transition: opacity 0.18s var(--ease-ui);
}

#submitBtn .btn-status {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s var(--ease-ui);
}

#submitBtn .btn-spinner {
  animation: btnSpin 0.85s linear infinite;
}

#submitBtn .btn-check {
  display: none;
}

#submitBtn.is-submitting .btn-label,
#submitBtn.is-success .btn-label,
#submitBtn.is-submitting::after,
#submitBtn.is-success::after {
  opacity: 0;
}

#submitBtn.is-submitting .btn-status,
#submitBtn.is-success .btn-status {
  opacity: 1;
}

#submitBtn.is-success .btn-spinner {
  display: none;
}

#submitBtn.is-success .btn-check {
  display: block;
}

@keyframes btnSpin {
  to { transform: rotate(360deg); }
}

/* ─── Cards (shared) ─────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
              box-shadow 0.35s var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: 0 0 0 1px rgba(139, 138, 244, 0.12),
              0 18px 40px -20px rgba(56, 194, 255, 0.25);
}

/* ─── Scroll reveal ──────────────────────────────── */
.reveal {
  --rx: 0px;
  --ry: 28px;
  --rs: 1;
  --rrot: 0deg;
  --rblur: 0px;
  --rdur: 0.6s;
  opacity: 0;
  transform: translate3d(var(--rx), var(--ry), 0) scale(var(--rs)) rotate(var(--rrot));
  filter: blur(var(--rblur));
  transition:
    opacity var(--rdur) var(--ease-out),
    transform var(--rdur) var(--ease-out),
    filter var(--rdur) var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
  will-change: transform, opacity;
}

.reveal.visible {
  opacity: 1;
  filter: blur(0px);
  will-change: auto;
}

/* transform is kept separate, at a deliberately low specificity (one
   class — :where(.reveal) contributes zero) so it still beats the base
   .reveal rule via source order (this rule comes after it), but any
   section-specific hover/tilt rule with two or more selectors (e.g.
   .card:hover, [data-tilt]:hover) outranks it outright, regardless of
   where that rule sits in the file. */
:where(.reveal).visible {
  transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
}

/* ─── Directional entrance tokens ───────────────────
   Per-section offsets consumed by the generic .reveal
   transform above — no layout properties are touched. */

/* Capability grid — left / middle / right column entrances */
.cap-grid .cap-card:nth-child(3n+1) { --rx: -44px; --ry: 16px; }
.cap-grid .cap-card:nth-child(3n+2) { --rx: 0px;   --ry: 26px; }
.cap-grid .cap-card:nth-child(3n)   { --rx: 44px;  --ry: 16px; }

/* Founders — no visual hierarchy between the two cards */
.founder-grid .founder-card:nth-child(1) { --rx: -48px; --ry: 0px; --rdur: 0.65s; }
.founder-grid .founder-card:nth-child(2) { --rx: 48px;  --ry: 0px; --rdur: 0.65s; }

/* Contact */
.contact-info.reveal { --rx: -40px; --ry: 0px; --rdur: 0.65s; }
.contact-form.reveal { --rx: 40px;  --ry: 0px; --rdur: 0.65s; }

/* Section headings */
.section-heading.reveal { --rdur: 0.7s; }
.section-label.reveal   { --rx: -30px; --ry: 0px; --rdur: 0.6s; }
.section-lead.reveal    { --rx: 30px;  --ry: 0px; --rdur: 0.6s; }

/* ─── Header ─────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
              backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(6, 6, 8, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.75rem;
}

.wordmark {
  font-family: var(--font-head);
  font-size: 1.725rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  text-decoration: none;
}

.wordmark.reveal { --ry: -8px; --rdur: 0.35s; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-desktop .nav-link.reveal { --ry: -6px; --rdur: 0.32s; }

.nav-link {
  position: relative;
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s var(--ease-ui);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--accent-a);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s var(--ease-ui);
}

.nav-link:hover {
  color: var(--text);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-desktop .btn-cta {
  margin-left: 0.5rem;
}

.nav-desktop .btn-cta.reveal { --ry: 0px; --rdur: 0.35s; }

.nav-desktop .btn-cta.reveal.visible {
  animation: ctaGlowOnce 0.9s var(--ease-ui) 0.1s 1;
}

@keyframes ctaGlowOnce {
  0%   { box-shadow: 0 0 0 0 rgba(242, 210, 138, 0); }
  40%  { box-shadow: 0 0 0 3px rgba(242, 210, 138, 0.35); }
  100% { box-shadow: 0 0 0 0 rgba(242, 210, 138, 0); }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0 2rem 1.25rem;
  background: rgba(6, 6, 8, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile .nav-link {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
}

.nav-mobile .btn-cta {
  margin-top: 0.75rem;
}

/* ─── Hero ───────────────────────────────────────── */
.hero {
  position: relative;
  padding: 8rem 0 6rem;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.84) 0%, rgba(3, 5, 18, 0.7) 42%, rgba(2, 4, 16, 0.54) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.5) 100%),
    url("documents/blizzards_new.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-glow-shift {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 700px;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 45% 55% at 30% 20%, rgba(139, 138, 244, 0.20), transparent 70%),
    radial-gradient(ellipse 45% 55% at 75% 30%, rgba(56, 194, 255, 0.16), transparent 70%);
  pointer-events: none;
  filter: blur(10px);
  animation: heroPulse 14s ease-in-out infinite;
}

@keyframes heroPulse {
  0%, 100%  { opacity: 0.85; transform: translate3d(0, 0, 0) scale(1); }
  50%       { opacity: 1;    transform: translate3d(24px, 2%, 0) scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-glow-shift { transform: none !important; }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0%, transparent 75%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-inner {
  max-width: 780px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-b);
  margin-bottom: 1.5rem;
}

.hero-eyebrow.reveal { --ry: 10px; --rdur: 0.4s; }

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

/* Runtime line-split wrapper: JS groups words into per-line spans and
   marks the original text accessible via aria-label on the heading. */
.hero-title .hero-lines {
  display: block;
}

.hero-title .hero-line {
  display: block;
  overflow: hidden;
}

.hero-title .hero-line > span {
  --rx: 0px;
  --ry: 34px;
  --rblur: 5px;
  --rdur: 0.72s;
  display: inline-block;
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 60ch;
  margin-bottom: 2.5rem;
}

.hero-sub.reveal { --ry: 18px; --rdur: 0.5s; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-actions .btn-cta.reveal  { --rx: -20px; --ry: 0px; --rdur: 0.5s; }
.hero-actions .btn-ghost.reveal { --rx: 0px;  --ry: 10px; --rdur: 0.5s; }

/* ─── Capability grid ────────────────────────────── */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.cap-card {
  padding: 2rem;
  transform-style: preserve-3d;
  transition: transform 0.35s var(--ease-ui), border-color 0.35s var(--ease-ui),
              box-shadow 0.35s var(--ease-ui);
}

/* Scoped to :hover only — a permanently-present [data-tilt] rule would
   otherwise outrank .reveal's transform (higher specificity) and cancel
   the card's entrance animation before it ever gets to play. */
@media (hover: hover) and (pointer: fine) {
  .cap-card[data-tilt]:hover {
    transform: translateY(var(--tilt-lift, 0px)) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  }
}

.card-index {
  display: block;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.cap-card h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.cap-card p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.status-pill {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.status-implemented {
  color: #7be3a0;
  background: rgba(123, 227, 160, 0.1);
  border: 1px solid rgba(123, 227, 160, 0.28);
}

.status-testing {
  color: var(--accent-gold-soft);
  background: rgba(212, 177, 106, 0.1);
  border: 1px solid rgba(212, 177, 106, 0.28);
}

.status-planned {
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
}

/* ─── Product sections ───────────────────────────── */
.feature-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
}

/* ── Product walkthrough gallery ── */
.walkthrough {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.walkthrough-shot {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.walkthrough-shot img {
  display: block;
  width: 50%;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
}

.walkthrough-shot figcaption {
  padding: 1rem 1.1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── Product loop steps ── */
.loop-steps {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  margin-top: 3rem;
}

.loop-step {
  flex: 1;
  padding: 1.5rem;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.loop-step-muted {
  background: transparent;
  border-style: dashed;
}

.loop-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  background: linear-gradient(135deg, rgba(139, 138, 244, 0.28), rgba(56, 194, 255, 0.2));
  margin-bottom: 1rem;
}

.loop-step h3 {
  font-size: 1.02rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.loop-step p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.loop-arrow {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ── Evidence stat strip ── */
.stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.stat { display: flex; flex-direction: column; gap: 0.35rem; }

.stat-value {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--text);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 32ch;
}

.stat-source {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stat-source a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
}

.stat-source a:hover { color: var(--accent-b); }

/* ── Working-product status panel ── */
.status-panel {
  margin-top: 3rem;
}

.status-tag {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--accent-gold-soft);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(212, 177, 106, 0.08);
  border: 1px solid rgba(212, 177, 106, 0.25);
  margin-bottom: 2rem;
}

.status-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.status-col-title {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

/* ── Business model plan cards ── */
.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.plan-card { padding: 2rem; }

.plan-name {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.plan-note {
  margin-top: 1.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 60ch;
}

.funding-note {
  margin-top: 2.5rem;
  padding: 1.5rem 1.75rem;
  border-left: 2px solid var(--accent-gold);
  background: rgba(212, 177, 106, 0.04);
  border-radius: 0 12px 12px 0;
}

.funding-note p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 60ch;
}

/* ── Roadmap ── */
.roadmap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.roadmap-stage {
  padding: 1.5rem 1.25rem;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent-a);
}

.roadmap-num {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-a);
  margin-bottom: 0.85rem;
}

.roadmap-stage h3 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.roadmap-stage p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.section-closing {
  margin-top: 3rem;
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 60ch;
  line-height: 1.7;
}


/* ─── Team ───────────────────────────────────────── */
.founder-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.founder-card {
  padding: 2.5rem;
  transition: transform 0.3s var(--ease-ui), border-color 0.3s var(--ease-ui);
}

.founder-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: none;
}

.founder-card:hover .founder-role {
  filter: brightness(1.25) saturate(1.15);
}

.founder-initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 20px;
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, rgba(139, 138, 244, 0.35), rgba(56, 194, 255, 0.25));
  border: 1px solid var(--border-strong);
}

.founder-photo {
  display: block;
  width: 192px;
  height: 192px;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  object-fit: cover;
  border: 1px solid var(--border-strong);
}

.founder-name-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.3rem;
}

.founder-card h3 {
  font-size: 1.4rem;
  font-weight: 500;
}

.founder-role {
  font-size: 0.88rem;
  color: var(--accent-b);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
  transition: filter 0.2s var(--ease-ui);
}

.founder-card p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.founder-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.founder-linkedin svg {
  width: 100%;
  height: 100%;
}

.founder-linkedin:hover,
.founder-linkedin:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}

/* ─── Contact ────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: stretch;
}

.contact-info {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-info .section-lead { margin-bottom: 2rem; }

.contact-email {
  display: inline-block;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-b);
  padding-bottom: 2px;
  transition: color 0.2s;
}

.contact-email:hover { color: var(--accent-b); }

.legal {
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.legal p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.legal-company {
  color: var(--text);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 0.5rem;
}

.legal-relation {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.legal-group {
  padding: 1rem 1.1rem;
  margin-bottom: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.015);
}

.legal-group:last-child {
  margin-bottom: 0;
}

.legal-group-title {
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.68rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.legal a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(56, 194, 255, 0.4);
}

.legal a:hover {
  color: var(--accent-b);
  border-bottom-color: var(--accent-b);
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-form .field.reveal,
.contact-form button.reveal {
  --rx: 0px;
  --ry: 14px;
  --rdur: 0.4s;
}

.contact-form > .field {
  margin-bottom: 0;
}

.contact-form > .field + .field {
  margin-top: 1rem;
}

.contact-form > .field:last-of-type {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.field .optional {
  color: var(--text-muted);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  transition: border-color 0.16s var(--ease-ui), box-shadow 0.16s var(--ease-ui);
}

.field textarea { resize: vertical; min-height: 110px; }

.contact-form > .field:last-of-type textarea {
  flex: 1;
  min-height: 160px;
}

.field select { cursor: pointer; }

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-secondary);
  opacity: 0.7;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-a);
  box-shadow: 0 0 0 3px rgba(139, 138, 244, 0.08);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.field-error {
  display: block;
  min-height: 1rem;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--danger);
}

.form-note {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-form .btn {
  margin-top: 1.4rem;
}

.form-message {
  min-height: 1.4rem;
  margin-top: 0.75rem;
  font-size: 0.88rem;
}

.form-message.error { color: var(--danger); }
.form-message.success { color: #7be3a0; }

/* ─── Footer ─────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.25rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-wordmark {
  font-size: 0.95rem;
  opacity: 0.85;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-link {
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.footer-link:hover { color: var(--text); }

.footer-tag {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 960px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }

  .cap-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .roadmap { grid-template-columns: repeat(2, 1fr); }
  .walkthrough { grid-template-columns: repeat(2, 1fr); }
  .status-cols { grid-template-columns: 1fr; gap: 2rem; }

  .loop-steps {
    flex-direction: column;
    align-items: stretch;
  }

  .loop-arrow {
    justify-content: center;
    transform: rotate(90deg);
  }

  /* Lighter, mostly-vertical entrances on touch-sized viewports */
  .cap-grid .cap-card,
  .founder-grid .founder-card,
  .contact-info.reveal,
  .contact-form.reveal {
    --rx: 0px !important;
    --ry: 18px !important;
    --rs: 1 !important;
    --rrot: 0deg !important;
  }
}

@media (max-width: 620px) {
  .section { padding: 5rem 0; }

  .cap-grid,
  .founder-grid,
  .roadmap,
  .plan-grid,
  .walkthrough {
    grid-template-columns: 1fr;
  }

  .stat-strip { gap: 2rem; }

  .footer-inner {
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
  }

  .footer-brand { align-items: center; }

  .footer-links { flex-direction: column; gap: 0.6rem; }
}

@media (max-width: 420px) {
  .container { padding: 0 1.5rem; }
  .hero-actions .btn { width: 100%; }
}

/* ─── Reduced motion ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal,
  .reveal.visible {
    opacity: 1;
    transform: none;
    filter: none;
    clip-path: none;
  }

  .hero-glow,
  .hero-glow-shift {
    animation: none;
    transform: none !important;
  }

  .cap-card[data-tilt] {
    transform: none !important;
  }

  #submitBtn .btn-spinner {
    animation: none;
  }
}
