/* =========================================================
   TONNECTA NETWORKS Landing Page
   Color system pulled directly from the brand mark.
   ========================================================= */

:root {
  /* Core palette taken from the logo */
  --bg-deep:        #070A1E;
  --bg-navy:        #0A0F2C;
  --bg-navy-2:      #121A45;
  --bg-navy-3:      #1B2566;

  --violet-100:     #EADCFF;
  --violet-300:     #C4A6FF;
  --violet-400:     #B97AFF;   /* primary brand */
  --violet-500:     #A855F7;
  --violet-600:     #7C3AED;
  --violet-700:     #5B21B6;

  --cyan-200:       #BAE6FD;
  --cyan-300:       #A5C9F0;   /* secondary brand (the "Networks" word) */
  --cyan-400:       #67E8F9;

  --ink-100:        #F4F2FF;
  --ink-200:        #E2DEF6;
  --ink-300:        #B5B0D4;
  --ink-400:        #8A86AE;
  --ink-500:        #5C5980;

  --line:           rgba(255,255,255,0.08);
  --line-strong:    rgba(255,255,255,0.16);
  --glass:          rgba(255,255,255,0.04);
  --glass-strong:   rgba(255,255,255,0.07);
  --nav-bg:         rgba(10, 14, 38, 0.55);
  --nav-bg-stuck:   rgba(7, 10, 30, 0.78);
  --nav-shadow:     0 20px 60px -20px rgba(0,0,0,0.6);
  --nav-shadow-stuck: 0 24px 70px -20px rgba(0,0,0,0.75);
  --bg-shell:
    radial-gradient(ellipse 80% 60% at 70% -10%, rgba(124,58,237,0.35), transparent 60%),
    radial-gradient(ellipse 70% 50% at 0% 30%,  rgba(103,232,249,0.10), transparent 60%),
    radial-gradient(ellipse 90% 70% at 50% 110%, rgba(168,85,247,0.18), transparent 60%),
    linear-gradient(180deg, #050818 0%, #070A1E 30%, #0A0F2C 70%, #050818 100%);
  --aurora:
    radial-gradient(circle at 20% 30%, rgba(168,85,247,0.18) 0%, transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(103,232,249,0.12) 0%, transparent 30%),
    radial-gradient(circle at 50% 50%, rgba(185,122,255,0.10) 0%, transparent 40%);
  --grid-line:      rgba(255,255,255,0.04);
  --panel-fill:     linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  --panel-fill-hover: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  --soft-violet-fill: linear-gradient(180deg, rgba(168,85,247,0.06), rgba(168,85,247,0.02));
  --about-card-bg:  linear-gradient(180deg, rgba(15,21,55,0.95), rgba(7,10,30,0.95));
  --contact-bg:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(168,85,247,0.25), transparent 70%),
    linear-gradient(180deg, rgba(20,24,60,0.85), rgba(7,10,30,0.85));
  --contact-glow:
    radial-gradient(circle at 20% 80%, rgba(103,232,249,0.15), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(168,85,247,0.18), transparent 40%);
  --footer-bg:      linear-gradient(180deg, transparent, rgba(7,10,30,0.6));
  --canvas-opacity: 0.55;
  --logo-filter:    drop-shadow(0 0 14px rgba(168,85,247,0.22));

  /* Type */
  --ff-sans:    'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-display: 'Fraunces', "Times New Roman", serif;

  --max:        1240px;
  --max-narrow: 980px;
  --radius-sm:  10px;
  --radius:     18px;
  --radius-lg:  28px;
  --radius-xl:  40px;

  --ease:       cubic-bezier(.2,.7,.2,1);
  --ease-out:   cubic-bezier(.16,1,.3,1);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg-deep:        #F8FAFF;
  --bg-navy:        #FFFFFF;
  --bg-navy-2:      #EEF3FF;
  --bg-navy-3:      #DDE7FF;

  --violet-100:     #F1E7FF;
  --violet-300:     #7C3AED;
  --violet-400:     #8B5CF6;
  --violet-500:     #7C3AED;
  --violet-600:     #6D28D9;
  --violet-700:     #4C1D95;

  --cyan-200:       #D8F4FF;
  --cyan-300:       #2563EB;
  --cyan-400:       #0891B2;

  --ink-100:        #101530;
  --ink-200:        #263052;
  --ink-300:        #47506E;
  --ink-400:        #69718B;
  --ink-500:        #8C93A6;

  --line:           rgba(17,24,39,0.10);
  --line-strong:    rgba(17,24,39,0.18);
  --glass:          rgba(255,255,255,0.62);
  --glass-strong:   rgba(255,255,255,0.86);
  --nav-bg:         rgba(255,255,255,0.78);
  --nav-bg-stuck:   rgba(255,255,255,0.92);
  --nav-shadow:     0 22px 58px -28px rgba(39,50,89,0.34);
  --nav-shadow-stuck: 0 24px 64px -26px rgba(39,50,89,0.38);
  --bg-shell:
    radial-gradient(ellipse 70% 54% at 76% -8%, rgba(139,92,246,0.22), transparent 62%),
    radial-gradient(ellipse 58% 44% at 0% 28%, rgba(8,145,178,0.15), transparent 62%),
    radial-gradient(ellipse 80% 60% at 48% 110%, rgba(124,58,237,0.10), transparent 64%),
    linear-gradient(180deg, #FFFFFF 0%, #F8FAFF 42%, #EEF3FF 100%);
  --aurora:
    radial-gradient(circle at 20% 30%, rgba(124,58,237,0.10) 0%, transparent 32%),
    radial-gradient(circle at 82% 70%, rgba(8,145,178,0.12) 0%, transparent 30%),
    radial-gradient(circle at 50% 54%, rgba(185,122,255,0.08) 0%, transparent 42%);
  --grid-line:      rgba(17,24,39,0.045);
  --panel-fill:     linear-gradient(180deg, rgba(255,255,255,0.86), rgba(255,255,255,0.54));
  --panel-fill-hover: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(246,248,255,0.78));
  --soft-violet-fill: linear-gradient(180deg, rgba(124,58,237,0.08), rgba(8,145,178,0.04));
  --about-card-bg:  linear-gradient(180deg, rgba(255,255,255,0.96), rgba(239,244,255,0.92));
  --contact-bg:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124,58,237,0.16), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(239,244,255,0.88));
  --contact-glow:
    radial-gradient(circle at 20% 80%, rgba(8,145,178,0.12), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(124,58,237,0.14), transparent 40%);
  --footer-bg:      linear-gradient(180deg, transparent, rgba(232,238,255,0.78));
  --canvas-opacity: 0.36;
  --logo-filter:    drop-shadow(0 0 10px rgba(124,58,237,0.12));
  color-scheme: light;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-200);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background .35s var(--ease), color .35s var(--ease);
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
.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;
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.container.narrow { max-width: var(--max-narrow); }

.section {
  position: relative;
  padding: clamp(80px, 12vw, 160px) 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--violet-300);
  margin-bottom: 22px;
}

.section-title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink-100);
  margin: 0 0 22px;
  max-width: 22ch;
}
.section-title em {
  font-style: italic;
  color: var(--violet-300);
  font-weight: 300;
}

.section-lede {
  max-width: 62ch;
  font-size: clamp(16px, 1.2vw, 18px);
  color: var(--ink-300);
  margin: 0 0 56px;
}

.gradient-text {
  background: linear-gradient(95deg, var(--violet-400) 0%, var(--violet-500) 35%, var(--cyan-400) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}

/* =========================================================
   ANIMATED BACKGROUND SHELL
   ========================================================= */
.bg-shell {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--bg-shell);
}

.bg-aurora {
  position: absolute;
  inset: -20%;
  background: var(--aurora);
  filter: blur(60px);
  animation: auroraShift 24s ease-in-out infinite alternate;
  opacity: 0.9;
}

@keyframes auroraShift {
  0%   { transform: translate(0,0)     scale(1);    }
  50%  { transform: translate(-3%, 2%) scale(1.05); }
  100% { transform: translate(2%,-2%)  scale(1.02); }
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 35%, transparent 80%);
  opacity: 0.5;
}

#network-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: var(--canvas-opacity);
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 36px);
  max-width: 1280px;
  z-index: 50;
  padding: 12px 18px 12px 22px;
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--nav-shadow);
  transition: top .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease);
}
.nav.is-stuck {
  top: 10px;
  background: var(--nav-bg-stuck);
  box-shadow: var(--nav-shadow-stuck);
}
.nav-brand {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.nav-logo {
  width: clamp(154px, 15vw, 205px);
  height: auto;
  filter: var(--logo-filter);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
.nav-links a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-300);
  padding: 6px 0;
  transition: color .25s var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -2px;
  width: 0; height: 1px;
  background: linear-gradient(90deg, var(--violet-400), var(--cyan-400));
  transition: width .35s var(--ease), left .35s var(--ease);
}
.nav-links a:hover { color: var(--ink-100); }
.nav-links a:hover::after { width: 100%; left: 0; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--violet-500), var(--violet-600));
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 10px 24px -8px rgba(124,58,237,0.6);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -8px rgba(124,58,237,0.75); }
.nav-cta svg { transition: transform .25s var(--ease); }
.nav-cta:hover svg { transform: translateX(2px); }

.theme-toggle {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--glass);
  color: var(--ink-100);
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.theme-toggle:hover {
  transform: translateY(-1px);
  background: var(--glass-strong);
  border-color: rgba(168,85,247,0.38);
}
.theme-icon { transition: transform .3s var(--ease), opacity .2s var(--ease); }
.theme-icon-moon { display: none; }
:root[data-theme="light"] .theme-icon-sun { display: none; }
:root[data-theme="light"] .theme-icon-moon { display: block; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  margin-left: auto;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px;
}
.nav-toggle span { width: 16px; height: 1.5px; background: var(--ink-100); transition: transform .3s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.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(-5.5px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0 120px;
}
.hero .container { position: relative; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--violet-300);
  background: var(--glass);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 32px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--violet-400);
  box-shadow: 0 0 10px var(--violet-400);
  animation: pulseDot 2.4s ease-in-out infinite;
}
@keyframes pulseDot {
  0%,100% { transform: scale(1);   opacity: 1;   }
  50%     { transform: scale(1.4); opacity: 0.6; }
}

.hero-title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(44px, 6.8vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink-100);
  margin: 0 0 36px;
  max-width: 26ch;
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title em {
  font-style: italic;
  color: var(--violet-300);
  font-weight: 300;
}

.hero-lede {
  max-width: 58ch;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--ink-300);
  margin: 0 0 44px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 90px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.005em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--violet-500), var(--violet-600) 60%, #5B21B6 100%);
  color: #fff;
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 16px 36px -12px rgba(124,58,237,0.65), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 44px -14px rgba(124,58,237,0.8), inset 0 1px 0 rgba(255,255,255,0.22);
}
.btn-primary svg { transition: transform .25s var(--ease); }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
  background: rgba(255,255,255,0.04);
  border-color: var(--line-strong);
  color: var(--ink-100);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.28);
  transform: translateY(-2px);
}

/* Hero meta strip, single line */
.hero-meta {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: nowrap;
  padding: 22px 28px;
  border: 1px solid var(--line);
  background: var(--glass);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
  width: 100%;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.meta-num {
  font-family: var(--ff-display);
  font-size: 36px;
  font-weight: 500;
  line-height: 1;
  background: linear-gradient(135deg, var(--violet-300), var(--cyan-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.meta-label {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-400);
  line-height: 1.4;
  white-space: nowrap;
}
.meta-divider {
  width: 1px;
  background: var(--line);
  flex-shrink: 0;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-400);
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--violet-400) 50%, transparent);
  animation: scrollDown 2.2s ease-in-out infinite;
}
@keyframes scrollDown {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =========================================================
   CYCLE SECTION
   ========================================================= */
.cycle-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 56px;
}
.cycle-copy p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-200);
  margin: 0 0 22px;
}
.cycle-copy p strong { color: var(--violet-300); font-weight: 500; }
.cycle-copy .cycle-foot {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  color: var(--ink-300);
}
.cycle-copy em { color: var(--cyan-300); font-style: italic; }

.cycle-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 520px;
  justify-self: center;
  margin: 0 auto;
}
.cycle-svg {
  width: min(100%, 520px);
  height: auto;
  aspect-ratio: 1 / 1;
  filter: drop-shadow(0 0 60px rgba(168,85,247,0.25));
}
.cycle-labels { color: rgba(244,242,255,0.85); fill: currentColor; }
.cycle-labels text { fill: rgba(244,242,255,0.85); }
.cycle-core { fill: var(--bg-navy); }
:root[data-theme="light"] .cycle-svg {
  filter: drop-shadow(0 18px 52px rgba(124,58,237,0.16));
}
:root[data-theme="light"] .cycle-labels {
  color: rgba(38,48,82,0.76);
}
:root[data-theme="light"] .cycle-labels text {
  fill: rgba(38,48,82,0.76);
}
:root[data-theme="light"] .cycle-rings circle {
  opacity: 0.52;
}
:root[data-theme="light"] .cycle-rings circle:first-child {
  opacity: 0.72;
}
.cycle-rings circle:nth-child(2) { animation: rotate 60s linear infinite; transform-origin: 210px 210px; }
.cycle-rings circle:nth-child(3) { animation: rotate 90s linear infinite reverse; transform-origin: 210px 210px; }
.cycle-orbs circle { animation: orbPulse 3s ease-in-out infinite; transform-origin: center; }
.cycle-orbs circle:nth-child(2) { animation-delay: .75s; }
.cycle-orbs circle:nth-child(3) { animation-delay: 1.5s; }
.cycle-orbs circle:nth-child(4) { animation-delay: 2.25s; }
@keyframes orbPulse {
  0%,100% { filter: drop-shadow(0 0 4px currentColor); }
  50%     { filter: drop-shadow(0 0 16px currentColor); }
}
@keyframes rotate {
  from { transform: rotate(0deg);   }
  to   { transform: rotate(360deg); }
}

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  margin-top: 32px;
  align-items: start;
}
.about-copy .lede {
  font-family: var(--ff-display);
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.4;
  color: var(--ink-100);
  font-weight: 400;
  margin: 0 0 28px;
}
.about-copy p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-300);
  margin: 0 0 20px;
}
.about-copy strong { color: var(--violet-300); font-weight: 500; }
.about-copy em { color: var(--cyan-300); font-style: italic; font-weight: 500; }

.about-card {
  position: sticky;
  top: 120px;
  padding: 1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, rgba(168,85,247,0.55), rgba(103,232,249,0.18) 50%, rgba(168,85,247,0.05));
}
.about-card-inner {
  background: var(--about-card-bg);
  border-radius: calc(var(--radius-lg) - 1px);
  padding: 40px;
}
.about-card-eyebrow {
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--violet-300);
  margin-bottom: 24px;
}
.about-card-quote {
  font-family: var(--ff-display);
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.4;
  color: var(--ink-100);
  margin: 0 0 32px;
}
.about-card-foot {
  display: flex;
  gap: 12px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-400);
  flex-wrap: wrap;
}

/* =========================================================
   PILLARS / SERVICES
   ========================================================= */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.pillar {
  position: relative;
  padding: 36px 32px 32px;
  border-radius: var(--radius-lg);
  background: var(--panel-fill);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.pillar::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(168,85,247,0.6), transparent 40%, rgba(103,232,249,0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.pillar:hover { transform: translateY(-6px); background: var(--panel-fill-hover); }
.pillar:hover::before { opacity: 1; }

.pillar-num {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 13px;
  color: var(--violet-300);
  letter-spacing: .1em;
  margin-bottom: 24px;
}
.pillar-icon {
  color: var(--violet-300);
  width: 48px; height: 48px;
  margin-bottom: 24px;
  filter: drop-shadow(0 0 20px rgba(168,85,247,0.4));
}
.pillar h3 {
  font-family: var(--ff-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-100);
  margin: 0 0 8px;
}
.pillar > p {
  color: var(--cyan-300);
  font-size: 14px;
  margin: 0 0 24px;
  font-style: italic;
  letter-spacing: .01em;
}
.pillar ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.pillar ul li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-300);
}
.pillar ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--violet-400);
  box-shadow: 0 0 8px rgba(168,85,247,0.6);
}

/* =========================================================
   ENGAGE + THINK
   ========================================================= */
.engage-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 120px;
}

.pull-quote {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.35;
  color: var(--ink-100);
  margin: 32px 0;
  padding: 24px 0 24px 28px;
  border-left: 2px solid var(--violet-400);
  position: relative;
}
.engage-left p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-300);
  margin: 0 0 18px;
}
.engage-left strong { color: var(--violet-300); font-weight: 500; }

.engage-modes {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.engage-modes li {
  display: flex;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.engage-modes li:first-child { padding-top: 0; }
.engage-modes li:last-child { border-bottom: 0; padding-bottom: 0; }
.engage-bullet {
  flex-shrink: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--violet-400);
  margin-top: 8px;
  box-shadow: 0 0 12px rgba(168,85,247,0.6);
}
.engage-modes h4 {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 6px;
  color: var(--ink-100);
}
.engage-modes p { margin: 0; color: var(--ink-300); font-size: 15px; }

.think { padding-top: 60px; border-top: 1px solid var(--line); }
.think-title {
  font-family: var(--ff-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  color: var(--ink-100);
  margin: 0 0 40px;
  max-width: 32ch;
}
.think-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.think-card {
  padding: 32px 28px;
  border-radius: var(--radius);
  background: var(--soft-violet-fill);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.think-card::after {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(168,85,247,0.25), transparent 60%);
  filter: blur(20px);
}
.think-glyph {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 13px;
  color: var(--cyan-300);
  margin-bottom: 16px;
  letter-spacing: .1em;
}
.think-card p {
  margin: 0;
  font-family: var(--ff-display);
  font-size: 20px;
  line-height: 1.45;
  color: var(--ink-100);
  position: relative;
  z-index: 1;
}
.think-card em { color: var(--violet-300); font-style: italic; }

/* =========================================================
   C5 RAIL
   ========================================================= */
.c5-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
  margin-top: 32px;
  padding-top: 60px;
}
.c5-line {
  position: absolute;
  top: 80px;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(168,85,247,0.45), rgba(103,232,249,0.45), transparent);
  z-index: 0;
}
.c5-step { position: relative; padding-top: 60px; }
.c5-dot {
  position: absolute;
  top: -20px;
  left: 0;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg-navy);
  border: 1px solid rgba(168,85,247,0.5);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 16px;
  color: var(--violet-300);
  box-shadow: 0 0 0 6px rgba(7,10,30,1), 0 0 30px rgba(168,85,247,0.35);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.c5-step:hover .c5-dot {
  transform: scale(1.08);
  border-color: var(--cyan-400);
  color: var(--cyan-400);
}
.c5-step h4 {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink-100);
  margin: 0 0 10px;
}
.c5-step p { font-size: 14.5px; color: var(--ink-300); margin: 0; line-height: 1.55; }
.c5-stakeholders {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0;
}
.c5-stakeholders li {
  font-size: 14.5px;
  line-height: 1.28;
  color: var(--ink-300);
}
.c5-image-card {
  margin: 34px 0 0;
  padding: clamp(10px, 1.5vw, 16px);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--line);
  box-shadow: 0 34px 90px -42px rgba(103,232,249,0.42);
}
.c5-image-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.source-link {
  display: inline-flex;
  align-items: center;
  margin-top: -28px;
  margin-bottom: 30px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan-300);
  border-bottom: 1px solid rgba(103,232,249,0.38);
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.source-link:hover {
  color: var(--ink-100);
  border-color: var(--ink-100);
}

/* =========================================================
   FBX ECOSYSTEM
   ========================================================= */
.fbx-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.fbx-copy p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-300);
  margin: 0 0 24px;
  max-width: 56ch;
}
.fbx-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}
.fbx-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  color: var(--ink-200);
}
.fbx-list li span {
  flex-shrink: 0;
  width: 8px; height: 8px;
  margin-top: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet-400), var(--cyan-400));
  box-shadow: 0 0 10px rgba(168,85,247,0.5);
}

.fbx-visual {
  display: flex;
  justify-content: center;
}
.fbx-visual a {
  display: block;
  width: 100%;
  max-width: 640px;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.94);
  box-shadow: 0 30px 90px -35px rgba(103,232,249,0.45);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.fbx-visual a:hover {
  transform: translateY(-4px);
  box-shadow: 0 38px 100px -32px rgba(168,85,247,0.55);
}
.fbx-visual img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* =========================================================
   VALUES
   ========================================================= */
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.value {
  padding: 32px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel-fill);
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.value:hover {
  transform: translateY(-6px);
  border-color: rgba(168,85,247,0.4);
  background: linear-gradient(180deg, rgba(168,85,247,0.10), rgba(168,85,247,0.02));
}
.value-num {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 14px;
  color: var(--cyan-300);
  letter-spacing: .1em;
  margin-bottom: 28px;
}
.value h4 {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 10px;
  color: var(--ink-100);
}
.value p { margin: 0; font-size: 14px; color: var(--ink-300); line-height: 1.55; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-card {
  position: relative;
  padding: clamp(48px, 6vw, 80px);
  border-radius: var(--radius-xl);
  background: var(--contact-bg);
  border: 1px solid rgba(168,85,247,0.25);
  overflow: hidden;
  text-align: center;
  box-shadow: 0 50px 120px -40px rgba(124,58,237,0.5);
}
.contact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--contact-glow);
  pointer-events: none;
}
.contact-card > * { position: relative; z-index: 1; }
.contact-card .section-label { justify-content: center; }
.contact-title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: var(--ink-100);
}
.contact-lede {
  max-width: 56ch;
  margin: 0 auto 36px;
  font-size: 17px;
  color: var(--ink-300);
  line-height: 1.65;
}

.contact-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}
.contact-tags span {
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--ink-200);
}

.contact-meta {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 18px;
  color: var(--cyan-300);
  margin: 0 0 32px;
}

.contact-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  padding-top: 80px;
  border-top: 1px solid var(--line);
  margin-top: 60px;
  background: var(--footer-bg);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 80px;
  padding-bottom: 60px;
}
.footer-brand p {
  color: var(--ink-400);
  font-size: 14px;
  max-width: 32ch;
  margin: 16px 0 0;
}
.footer-logo { width: 200px; height: auto; opacity: 0.95; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.footer-col h5 {
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--violet-300);
  margin: 0 0 18px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--ink-300);
  margin-bottom: 10px;
  transition: color .25s var(--ease);
}
.footer-col a:hover { color: var(--ink-100); }
.partner-slot {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-500);
  padding: 14px 18px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.footer-base {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}
.footer-base-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--ink-400);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-tag { letter-spacing: .14em; text-transform: uppercase; }

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  will-change: transform, opacity;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger child reveals inside hero title */
[data-stagger] .line { opacity: 0; transform: translateY(40%); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.is-visible[data-stagger] .line { opacity: 1; transform: translateY(0); }
.is-visible[data-stagger] .line:nth-child(1) { transition-delay: .05s; }
.is-visible[data-stagger] .line:nth-child(2) { transition-delay: .18s; }
.is-visible[data-stagger] .line:nth-child(3) { transition-delay: .32s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .pillar-grid          { grid-template-columns: 1fr 1fr; }
  .pillar-grid .pillar:last-child { grid-column: 1 / -1; }
  .values-grid          { grid-template-columns: repeat(3, 1fr); }
  .footer-inner         { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 880px) {
  .nav-links            { display: none; }
  .nav-cta              { display: none; }
  .theme-toggle         { margin-left: auto; }
  .nav-toggle           { display: flex; }
  .nav-toggle           { margin-left: 0; }
  .nav.is-open .nav-links {
    display: flex;
    position: absolute;
    top: calc(100% + 12px);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--nav-bg-stuck);
    backdrop-filter: blur(24px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 8px;
  }
  .nav.is-open .nav-links a {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
  }
  .nav.is-open .nav-links a:hover { background: rgba(255,255,255,0.05); }

  .cycle-grid           { grid-template-columns: 1fr; gap: 48px; }
  .cycle-visual         { max-width: 380px; margin: 0 auto; }
  .about-grid           { grid-template-columns: 1fr; gap: 40px; }
  .about-card           { position: static; }
  .pillar-grid          { grid-template-columns: 1fr; }
  .pillar-grid .pillar:last-child { grid-column: auto; }
  .engage-top           { grid-template-columns: 1fr; gap: 48px; margin-bottom: 80px; }
  .think-grid           { grid-template-columns: 1fr; }
  .c5-rail              { grid-template-columns: 1fr; gap: 40px; padding-top: 0; }
  .c5-line              { display: none; }
  .c5-step              { padding-top: 0; padding-left: 80px; min-height: 80px; }
  .c5-dot               { top: 0; left: 0; }
  .fbx-grid             { grid-template-columns: 1fr; gap: 48px; }
  .values-grid          { grid-template-columns: 1fr 1fr; }
  .footer-cols          { grid-template-columns: 1fr; gap: 32px; }
  .hero-meta            { gap: 16px; padding: 18px 20px; flex-wrap: wrap; }
  .meta-divider         { display: none; }
}

@media (max-width: 480px) {
  .container            { padding: 0 18px; }
  .nav                  { padding: 8px 8px 8px 14px; gap: 8px; }
  .nav-logo             { width: 138px; }
  .theme-toggle         { width: 38px; height: 38px; }
  .hero                 { padding-top: 130px; min-height: auto; }
  .values-grid          { grid-template-columns: 1fr; }
  .contact-tags         { flex-direction: column; align-items: stretch; }
  .contact-tags span    { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  #network-canvas { display: none; }
}
