/* ═══════════════════════════════════════════
   VARIABLES & RESET
   ═══════════════════════════════════════════ */
:root {
  --black: #05080f;
  --off: #090d16;
  --panel: #0d1120;
  --border: #1a2035;
  --muted: #5a7090;
  --light: #8faabe;
  --white: #e8eef5;
  --cyan: #00d4ff;
  --violet: #a78bfa;
  --teal: #00ffcc;
  --entry: #00ffcc;
  --core: #00d4ff;
  --strategic: #a78bfa;
  --cglow: rgba(0,212,255,0.12);
  --vglow: rgba(167,139,250,0.10);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'DM Mono', monospace;
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: rgba(0,212,255,0.25);
  color: var(--white);
}

/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5,8,15,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  transition: background 0.3s, box-shadow 0.3s;
}

nav.scrolled {
  background: rgba(5,8,15,0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.logo {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  letter-spacing: -0.02em;
  text-decoration: none;
  flex-shrink: 0;
}

.logo b {
  font-weight: 800;
  color: var(--cyan);
}

.logo span {
  font-weight: 400;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--cyan);
  transition: width 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--cyan);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: transparent;
  color: var(--cyan);
  border: 1px solid var(--cyan);
  padding: 8px 20px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  text-decoration: none;
}

.nav-cta:hover {
  background: var(--cyan);
  color: var(--black);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cyan);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.btn {
  background: transparent;
  color: var(--cyan);
  padding: 14px 32px;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--cyan);
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

.btn:hover {
  background: rgba(0,212,255,0.1);
  box-shadow: 0 0 20px rgba(0,212,255,0.15);
}

.btn-a {
  background: transparent;
  color: var(--violet);
  border: 1px solid var(--violet);
  padding: 14px 32px;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  transition: background 0.3s, box-shadow 0.3s;
}

.btn-a:hover {
  background: rgba(167,139,250,0.1);
  box-shadow: 0 0 20px rgba(167,139,250,0.15);
}

.btn-g {
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 14px 32px;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  transition: border-color 0.3s, color 0.3s;
}

.btn-g:hover {
  border-color: var(--muted);
  color: var(--white);
}

/* ═══════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════ */
h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
}

h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 16px;
}

h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

h4 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 6px;
}

p {
  color: var(--light);
  line-height: 1.7;
  font-weight: 300;
}

/* ═══════════════════════════════════════════
   LAYOUT HELPERS
   ═══════════════════════════════════════════ */
.sec {
  padding: 100px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.lbl {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--cyan);
  text-transform: uppercase;
  border: 1px solid rgba(0,212,255,0.3);
  display: inline-block;
  padding: 2px 8px;
  margin-bottom: 16px;
}

.aline {
  width: 40px;
  height: 2px;
  background: var(--cyan);
  margin-bottom: 24px;
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}

/* ═══════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 48px 80px;
  position: relative;
  overflow: hidden;
}

/* Video background */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video-wrap video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-40%, -50%);
  opacity: 0.65;
  object-fit: cover;
}

/* Dark gradient overlay so text is legible */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(5,8,15,0.95) 0%,
    rgba(5,8,15,0.85) 35%,
    rgba(5,8,15,0.5) 60%,
    rgba(5,8,15,0.2) 100%
  );
  z-index: 1;
}

/* Subtle ambient glow */
.hero::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(0,212,255,0.06) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero h1 {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s 0.4s forwards;
}

.hero h1 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--cyan);
}

.hero-sub {
  font-size: 15px;
  color: var(--light);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 48px;
  font-weight: 300;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.6s forwards;
}

.hero-acts {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.8s forwards;
}

.hero-tags {
  margin-top: 64px;
  display: flex;
  gap: 24px;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 32px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeIn 1s 1.2s forwards;
}

.hero-tag {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

.hero-tag span {
  color: var(--cyan);
  margin-right: 8px;
}

/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

@keyframes glowRotate {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(30deg);
  }
}

/* Scroll-triggered fade-in */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ═══════════════════════════════════════════
   PAGE HEADER (for inner pages)
   ═══════════════════════════════════════════ */
.page-header {
  padding-top: 120px;
}

/* ═══════════════════════════════════════════
   PILLARS — "What We Do"
   ═══════════════════════════════════════════ */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 48px;
}

.pillar {
  background: var(--off);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.pillar:hover {
  background: var(--panel);
}

.pillar::before {
  content: attr(data-n);
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: 'Syne', sans-serif;
  font-size: 72px;
  font-weight: 800;
  color: rgba(0,212,255,0.04);
  line-height: 1;
}

.ptag {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
  display: block;
}

.pillar-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.3s;
}

.pillar-link:hover {
  opacity: 0.8;
}

/* ═══════════════════════════════════════════
   SERVICES — TIER SYSTEM
   ═══════════════════════════════════════════ */
.tier-block {
  margin-bottom: 64px;
}

.tier-label-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 4px;
}

.tier-pill {
  font-family: 'Syne', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 14px;
  display: inline-block;
  cursor: pointer;
  transition: background 0.3s;
}

.tier-pill.entry {
  background: rgba(0,255,204,0.12);
  color: var(--entry);
  border: 1px solid var(--entry);
}

.tier-pill.core {
  background: rgba(0,212,255,0.12);
  color: var(--core);
  border: 1px solid var(--core);
}

.tier-pill.strat {
  background: rgba(167,139,250,0.12);
  color: var(--strategic);
  border: 1px solid var(--strategic);
}

.tier-desc {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  font-style: italic;
}

.tier-rule {
  height: 1px;
  margin-top: 12px;
  margin-bottom: 28px;
}

.tier-rule.entry { background: linear-gradient(to right, var(--entry), transparent); }
.tier-rule.core  { background: linear-gradient(to right, var(--core), transparent); }
.tier-rule.strat { background: linear-gradient(to right, var(--strategic), transparent); }

/* Tier nav pills row */
.tier-nav {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
  position: sticky;
  top: 64px;
  z-index: 50;
  background: var(--black);
  padding: 16px 0;
}

/* Bucket grids */
.bucket-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}

.bucket-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--border);
}

.bucket {
  background: var(--off);
  padding: 36px 32px;
  position: relative;
  transition: background 0.3s;
  cursor: pointer;
}

.bucket:hover {
  background: var(--panel);
}

.bucket::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
}

.bucket.entry::before  { background: var(--entry); }
.bucket.core::before   { background: var(--core); }
.bucket.strat::before  { background: var(--strategic); }

.bnum {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  display: block;
}

.bname {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--white);
  line-height: 1.15;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bucket-toggle {
  font-family: 'DM Mono', monospace;
  font-size: 20px;
  font-weight: 300;
  color: var(--muted);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.bucket.expanded .bucket-toggle {
  transform: rotate(45deg);
}

/* Expandable bucket details */
.bucket-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.4s ease;
  opacity: 0;
}

.bucket.expanded .bucket-details {
  max-height: 1000px;
  opacity: 1;
}

.bpitch {
  font-size: 13px;
  color: var(--light);
  line-height: 1.65;
  margin-bottom: 16px;
  font-weight: 300;
}

.blist {
  list-style: none;
  margin-top: 16px;
}

.blist li {
  color: var(--light);
  font-size: 12px;
  font-weight: 300;
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 8px;
}

.bucket.entry .blist li::before  { content: '\2192'; color: var(--entry); flex-shrink: 0; }
.bucket.core .blist li::before   { content: '\2192'; color: var(--core); flex-shrink: 0; }
.bucket.strat .blist li::before  { content: '\2192'; color: var(--strategic); flex-shrink: 0; }

.flavor-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.flavor {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 14px 16px;
  transition: border-color 0.3s;
}

.flavor:hover {
  border-color: rgba(0,212,255,0.3);
}

.flavor-who {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
  font-weight: 400;
}

.flavor-who.tech { color: var(--core); }
.flavor-who.strat { color: var(--strategic); }

.flavor p {
  font-size: 12px;
  color: var(--light);
  font-weight: 300;
  line-height: 1.55;
}

.bcta {
  margin-top: 24px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.3s;
}

.bcta:hover {
  opacity: 0.8;
}

.bucket.entry .bcta { color: var(--entry); }
.bucket.core .bcta { color: var(--core); }
.bucket.strat .bcta { color: var(--strategic); }

/* Proof points */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.proof-card {
  background: var(--off);
  padding: 28px 24px;
  transition: background 0.3s;
}

.proof-card:hover {
  background: var(--panel);
}

/* CTA bar */
.cta-bar {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 40px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 1px;
}

/* ═══════════════════════════════════════════
   ASSETS MARKETPLACE
   ═══════════════════════════════════════════ */
.asset-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 4px 12px;
  text-transform: uppercase;
  background: transparent;
  cursor: pointer;
  font-family: 'DM Mono', monospace;
  transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
  color: var(--teal);
  border-color: var(--teal);
}

.agrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}

.acard {
  background: var(--panel);
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  cursor: pointer;
}

.acard:hover {
  background: var(--off);
}

.acard:hover .aph {
  opacity: 0.1;
  transform: scale(1.1);
}

.aph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  opacity: 0.05;
  color: var(--teal);
  transition: opacity 0.5s, transform 0.5s;
}

.atag {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.aname {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}

.acs {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: 4px;
}

/* ═══════════════════════════════════════════
   AINYA SECTION
   ═══════════════════════════════════════════ */
.ainya-section {
  position: relative;
  overflow: hidden;
}

.ainya-h {
  background: var(--off);
  border: 1px solid var(--border);
  padding: 100px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ainya-h::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, var(--vglow) 0%, transparent 65%);
}

.ainya-logo-wrap {
  width: 160px;
  height: 160px;
  margin: 0 auto 36px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167,139,250,0.18), transparent 70%);
  border: 1px solid rgba(167,139,250,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: pulse 3.5s ease-in-out infinite;
}

.ainya-logo-wrap img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 50%;
}

.ainya-logo-placeholder {
  font-size: 10px;
  color: rgba(167,139,250,0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.5;
}

.ah2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  position: relative;
  line-height: 1.1;
}

.ah2 span {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--violet);
}

.asub {
  font-size: 15px;
  color: var(--light);
  max-width: 560px;
  margin: 0 auto 40px;
  font-weight: 300;
  position: relative;
  line-height: 1.7;
}

.ainya-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 1px;
}

.ainya-feature {
  background: var(--off);
  padding: 32px 28px;
  text-align: center;
  transition: background 0.3s;
}

.ainya-feature:hover {
  background: var(--panel);
}

.ainya-feature h4 {
  color: var(--violet);
}

/* ═══════════════════════════════════════════
   WAITLIST / FORMS
   ═══════════════════════════════════════════ */
.wform {
  display: flex;
  max-width: 440px;
  margin: 0 auto;
  position: relative;
}

.wi {
  flex: 1;
  background: var(--black);
  border: 1px solid var(--border);
  border-right: none;
  color: var(--white);
  padding: 14px 20px;
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  outline: none;
  transition: border-color 0.3s;
}

.wi:focus {
  border-color: var(--cyan);
}

.wi::placeholder {
  color: var(--muted);
}

.wb {
  background: var(--violet);
  color: var(--white);
  border: none;
  padding: 14px 24px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.3s;
}

.wb:hover {
  opacity: 0.85;
}

.wb.teal {
  background: var(--teal);
  color: var(--black);
}

/* ═══════════════════════════════════════════
   ABOUT / FOUNDERS
   ═══════════════════════════════════════════ */
.founders {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--border);
  margin-top: 48px;
}

.founder {
  background: var(--off);
  padding: 40px 36px;
}

.frole {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
  display: block;
}

.fname {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--white);
}

.boilerplate {
  margin-top: 64px;
  border-top: 1px solid var(--border);
  padding-top: 48px;
}

.cb {
  background: var(--cglow);
  border: 1px dashed rgba(0,212,255,0.25);
  padding: 24px 28px;
}

blockquote {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 20px;
  color: var(--white);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════ */
.cgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}

.ff {
  margin-bottom: 16px;
}

.ff label {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}

.ff input,
.ff textarea,
.ff select {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 12px 16px;
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  outline: none;
  resize: vertical;
  transition: border-color 0.3s;
}

.ff input:focus,
.ff textarea:focus,
.ff select:focus {
  border-color: var(--cyan);
}

.ff select option {
  background: var(--panel);
}

.contact-info a {
  color: var(--cyan);
  text-decoration: none;
  transition: opacity 0.3s;
}

.contact-info a:hover {
  opacity: 0.8;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover {
  color: var(--cyan);
}

.footer-brand {
  margin-bottom: 6px;
}

.footer-links {
  display: flex;
  gap: 32px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .agrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bucket-grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .founders {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 0 20px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5,8,15,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 16px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding: 120px 20px 60px;
    min-height: 100svh;
  }

  .hero h1 {
    font-size: clamp(36px, 10vw, 64px);
  }

  .hero-video-wrap video {
    transform: translate(-50%, -50%);
  }

  .hero-video-overlay {
    background: linear-gradient(
      180deg,
      rgba(5,8,15,0.95) 0%,
      rgba(5,8,15,0.7) 40%,
      rgba(5,8,15,0.85) 100%
    );
  }

  .sec {
    padding: 60px 20px;
  }

  .sec.page-header {
    padding-top: 100px;
  }

  .pillars,
  .bucket-grid-2,
  .bucket-grid-3,
  .founders,
  .proof-grid,
  .cgrid,
  .ainya-features {
    grid-template-columns: 1fr;
  }

  .agrid {
    grid-template-columns: 1fr 1fr;
  }

  .flavor-split {
    grid-template-columns: 1fr;
  }

  .cta-bar {
    padding: 32px 20px;
    flex-direction: column;
    text-align: center;
  }

  .tier-nav {
    top: 64px;
    padding: 12px 0;
  }

  footer {
    flex-direction: column;
    gap: 24px;
    text-align: center;
    padding: 40px 20px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
}

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

  .hero-acts {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-acts .btn,
  .hero-acts .btn-a,
  .hero-acts .btn-g {
    width: 100%;
    text-align: center;
  }

  .hero-tags {
    flex-direction: column;
    gap: 12px;
  }

  .wform {
    flex-direction: column;
  }

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

  .wb {
    width: 100%;
  }
}
