:root {
  --font-body: 'Manrope', 'Segoe UI', sans-serif;
  --font-display: 'Syne', 'Segoe UI', sans-serif;

  --bg: #e9f1ff;
  --bg-deep: #dce8ff;
  --bg-mid: #edf4ff;
  --surface: #ffffff;
  --surface-raised: #f8fbff;
  --surface-strong: #0f223d;
  --ink: #1b2b42;
  --ink-soft: #40556f;
  --ink-muted: #70839d;
  --line: rgba(13, 76, 166, 0.22);
  --line-strong: rgba(13, 76, 166, 0.36);
  --accent: #0f5fdd;
  --accent-strong: #0a46aa;
  --accent-soft: #3a7eea;
  --accent-glow: rgba(15, 95, 221, 0.2);
  --accent-glow-strong: rgba(15, 95, 221, 0.36);
  --accent-muted: rgba(15, 95, 221, 0.13);
  --cyan: #0d96cc;

  --container: 1200px;
  --header-height: 64px;
  --contact-height: 36px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --radius-pill: 9999px;
  --radius-asymmetric: 20px 8px 20px 8px;
  --shadow-lg: 0 28px 52px -28px rgba(10, 42, 86, 0.42);
  --shadow-md: 0 16px 30px -20px rgba(10, 42, 86, 0.34);
  --shadow-card: 0 10px 20px -14px rgba(10, 42, 86, 0.31);
  --shadow-glow: 0 0 44px -16px rgba(15, 95, 221, 0.28);
  --shadow-glow-subtle: 0 0 22px -8px rgba(15, 95, 221, 0.18);

  --section-pad: clamp(1.8rem, 3vw, 2.8rem);
  --noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.65;
  background: linear-gradient(180deg, #f4f9ff 0%, var(--bg) 42%, var(--bg-deep) 100%);
  min-height: 100vh;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: var(--noise);
  background-repeat: repeat;
  pointer-events: none;
  z-index: -2;
  opacity: 0.08;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60vh;
  background: linear-gradient(to bottom, rgba(15, 95, 221, 0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}


img {
  display: block;
  width: 100%;
  height: auto;
}

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

p {
  color: var(--ink-soft);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
  line-height: 1.06;
  color: var(--surface-strong);
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 4.8vw, 3.4rem);
}

h2 {
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
}

h3 {
  font-size: clamp(1.05rem, 1.75vw, 1.35rem);
}

h4 {
  font-size: 1.08rem;
}

.container {
  width: min(var(--container), calc(100% - 2.5rem));
  margin: 0 auto;
}

/* ─── Header ─── */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 130;
  background: linear-gradient(180deg, rgba(224, 237, 255, 0.98) 0%, rgba(243, 249, 255, 0.93) 100%);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 18px rgba(15, 95, 221, 0.14), 0 0 36px rgba(15, 95, 221, 0.09);
}

.site-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(15, 95, 221, 0.25) 30%, rgba(15, 95, 221, 0.4) 50%, rgba(15, 95, 221, 0.25) 70%, transparent 95%);
  pointer-events: none;
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  border: 1px solid var(--line);
  padding: 0.2rem;
  flex-shrink: 0;
}

.brand-text {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  color: var(--surface-strong);
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  line-height: 1.1;
  font-weight: 600;
}

.brand-meta {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-link {
  position: relative;
  font-size: 0.84rem;
  color: var(--ink-soft);
  transition: color 0.25s ease;
  font-weight: 500;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.3rem;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--surface-strong);
}

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

.nav-cta {
  color: #fff !important;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--accent-strong);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  font-weight: 600;
  box-shadow: 0 10px 20px -14px rgba(28, 94, 201, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--accent) 100%);
  box-shadow: 0 14px 24px -14px rgba(28, 94, 201, 0.45);
  transform: translateY(-1px);
}

.nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: var(--surface-raised);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.8rem;
  padding: 0.4rem 0.85rem;
  cursor: pointer;
  font-family: var(--font-body);
}

.header-contact {
  min-height: var(--contact-height);
  border-top: 1px solid var(--line);
}

.header-contact-inner {
  min-height: var(--contact-height);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  font-size: 0.72rem;
  color: var(--ink-muted);
}

.header-contact a {
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.header-contact a:hover {
  color: var(--accent-soft);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(23, 39, 66, 0.28);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 95;
}

body.nav-open .nav-backdrop {
  opacity: 1;
  pointer-events: auto;
}

/* ─── Main ─── */

main {
  padding-top: calc(var(--header-height) + var(--contact-height) + 1.5rem);
  position: relative;
}

main::before,
main::after {
  content: '';
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

main::before {
  top: 14%;
  left: -120px;
  background: radial-gradient(circle, rgba(15, 95, 221, 0.18) 0%, rgba(15, 95, 221, 0.06) 48%, transparent 74%);
}

main::after {
  bottom: 8%;
  right: -120px;
  background: radial-gradient(circle, rgba(15, 95, 221, 0.14) 0%, rgba(15, 95, 221, 0.05) 50%, transparent 76%);
}

/* ─── Page Hero ─── */

.page-hero {
  position: relative;
  padding: clamp(1.35rem, 2.4vw, 2rem) 0 clamp(1rem, 2vw, 1.6rem);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: min(980px, 122vw);
  height: 600px;
  background: radial-gradient(ellipse 72% 52% at 50% 20%, rgba(28, 94, 201, 0.26) 0%, rgba(28, 94, 201, 0.1) 38%, transparent 74%);
  pointer-events: none;
  z-index: -1;
  animation: glowPulse 8s ease-in-out infinite;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -14%;
  right: -8%;
  width: 470px;
  height: 340px;
  background: radial-gradient(circle, rgba(28, 94, 201, 0.09) 0%, transparent 66%);
  pointer-events: none;
  z-index: -1;
  animation: floatOrb 14s ease-in-out infinite;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-soft);
  font-size: 0.72rem;
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.eyebrow::before {
  content: '';
  width: 20px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.8;
}

.hero-main-title {
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: clamp(0.97rem, 1.3vw, 1.12rem);
  margin-top: 0.65rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.hero-description {
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  line-height: 1.65;
  margin-top: 0.8rem;
  max-width: 56ch;
}

.hero-actions,
.cta-row {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

/* ─── Buttons ─── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  padding: 0.58rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--surface);
  transition: border-color 0.25s ease, color 0.25s ease;
  font-family: var(--font-body);
  cursor: pointer;
}

.btn:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.btn.primary {
  color: #fff;
  border-color: var(--accent-strong);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 10px 20px -14px rgba(28, 94, 201, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.btn.primary:hover {
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--accent) 100%);
  box-shadow: 0 14px 22px -14px rgba(28, 94, 201, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.btn.subtle {
  background: transparent;
}

.btn.subtle:hover {
  border-color: var(--accent-soft);
}

/* ─── Hero Visual ─── */

.hero-visual {
  position: relative;
  display: grid;
  gap: 1.25rem;
}

.hero-visual::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 86%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(28, 94, 201, 0.1) 0%, rgba(28, 94, 201, 0.02) 50%, transparent 76%);
  pointer-events: none;
  z-index: -1;
  animation: glowPulse 9s ease-in-out infinite;
}

.visual-stack {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  max-width: 340px;
  margin: 0 auto;
}

.hero-shot {
  align-self: end;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0.35rem;
  overflow: hidden;
  animation: floatDrift 6s ease-in-out infinite;
  transition: box-shadow 0.4s ease, transform 0.4s ease, border-color 0.4s ease;
  box-shadow: 0 0 35px rgba(79, 153, 232, 0.12);
}

.hero-shot:hover {
  border-color: var(--accent-soft);
}

.hero-shot:nth-child(1) {
  border-radius: var(--radius-lg) var(--radius-sm) var(--radius-lg) var(--radius-sm);
}

.hero-shot:nth-child(2) {
  align-self: start;
  animation-delay: 1.5s;
  border-radius: var(--radius-sm) var(--radius-lg) var(--radius-sm) var(--radius-lg);
}

.hero-shot img {
  aspect-ratio: 1242 / 2688;
  object-fit: contain;
  border-radius: calc(var(--radius-sm) - 2px);
}

.visual-caption {
  border: none;
  border-left: 2px solid var(--accent);
  background: transparent;
  padding: 0.75rem 0 0.75rem 1.25rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.6;
  position: relative;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.visual-caption::before {
  display: none;
}

.visual-caption:hover {
  border-left-color: var(--accent-soft);
}

.home-caption {
  border-left: none;
  padding: 0.72rem 0.9rem;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(15, 95, 221, 0.1) 0%, rgba(15, 95, 221, 0.03) 58%, rgba(255, 255, 255, 0.74) 100%);
  box-shadow: 0 10px 20px -18px rgba(15, 95, 221, 0.45), inset 0 0 0 1px rgba(15, 95, 221, 0.08);
}

.home-caption:hover {
  border-left: none;
}

/* ─── Sections ─── */

.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section-divider {
  border-top: 1px solid var(--line);
  position: relative;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 24%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(28, 94, 201, 0.16), transparent);
  pointer-events: none;
}

.section-intro {
  max-width: 72ch;
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.section-intro.center {
  margin-inline: auto;
  text-align: center;
}

.kicker {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-soft);
  font-weight: 600;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.2rem 2rem;
  align-items: start;
}

.stack {
  display: grid;
  gap: 0.7rem;
}

.stack p {
  max-width: 64ch;
}

/* ─── Home Proof Band ─── */

.dashboard-proof {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1rem 1.1rem;
  align-items: stretch;
}

.dashboard-proof-main {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.98) 0%, rgba(225, 238, 255, 0.9) 100%);
  box-shadow: var(--shadow-md), 0 0 45px rgba(79, 153, 232, 0.12);
}

.dashboard-proof-main h2 {
  margin-top: 0.25rem;
}

.dashboard-proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

.proof-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96) 0%, rgba(225, 239, 255, 0.84) 100%);
  box-shadow: var(--shadow-card), 0 0 28px rgba(79, 153, 232, 0.08);
}

.proof-card h3 {
  margin-bottom: 0.3rem;
}

.proof-card p {
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ─── Manifesto Block ─── */

.manifesto-block {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 0.8rem 0;
  box-shadow: 0 0 50px rgba(79, 153, 232, 0.08);
  padding: 1.5rem 1rem;
  border-radius: var(--radius-md);
}

.manifesto-text {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--surface-strong);
  letter-spacing: -0.02em;
}

.manifesto-sub {
  margin-top: 0.65rem;
  font-size: 0.93rem;
  color: var(--ink-soft);
}

/* ─── Cards & Callouts (minimal, no boxes) ─── */

.callout {
  border: none;
  border-left: 2px solid var(--accent);
  background: transparent;
  padding: 1rem 0 1rem 1.25rem;
  margin-left: 0;
}

.callout::before {
  display: none;
}

.callout:hover {
  border-left-color: var(--accent-soft);
}

.callout.dark {
  color: var(--ink);
  border-left-color: var(--accent-soft);
}

.callout.dark h3,
.callout.dark p,
.callout.dark li {
  color: var(--ink);
}

.callout h3 {
  margin-bottom: 0.5rem;
}

.callout.pill {
  padding: 1rem 1.5rem;
}

.callout.pill::before {
  display: none;
}

/* ─── Lists ─── */

.detail-list,
.inline-notes,
.timeline,
.module-list,
.feature-list,
.policy-sheet {
  list-style: none;
  padding-left: 0;
}

.detail-list {
  display: grid;
  gap: 1.25rem;
}

.detail-list li {
  border: none;
  border-left: 2px solid var(--accent);
  background: transparent;
  padding: 0.5rem 0 0.5rem 1rem;
}

.detail-list li:hover {
  border-left-color: var(--accent-soft);
}

.detail-list strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.3rem;
  color: var(--surface-strong);
  font-size: 0.95rem;
}

.inline-notes {
  display: grid;
  gap: 0.5rem;
}

.inline-notes li {
  border-left: 3px solid var(--accent);
  padding-left: 0.95rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  position: relative;
  transition: border-color 0.3s ease, padding-left 0.3s ease;
}

.inline-notes li:hover {
  border-left-color: var(--accent-soft);
  padding-left: 1rem;
}

/* ─── Principles ─── */

.principles {
  counter-reset: principle;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 2rem;
}

.principles li {
  counter-increment: principle;
  border: none;
  background: transparent;
  padding: 0.4rem 0 0.4rem 0;
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.5rem;
  align-items: start;
}

.principles li::before {
  content: counter(principle, decimal-leading-zero);
  font-family: var(--font-display);
  color: var(--accent-soft);
  font-weight: 700;
  font-size: 0.82rem;
}

.principles li:hover {
  color: var(--ink);
}

/* ─── Timeline ─── */

.timeline {
  display: grid;
  gap: 0;
  position: relative;
  padding-left: 1.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-soft), rgba(91, 156, 255, 0.15));
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(91, 156, 255, 0.2);
}

.timeline li {
  border-radius: 0;
  border: none;
  background: none;
  padding: 0.75rem 0;
  position: relative;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.timeline li::before {
  content: '';
  position: absolute;
  left: -1.5rem;
  top: 1.1rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(-3px);
  box-shadow: 0 0 12px rgba(91, 156, 255, 0.5), 0 0 4px rgba(91, 156, 255, 0.3);
}

/* ─── Quote Block ─── */

.quote-block {
  font-size: clamp(1.35rem, 2.8vw, 2.2rem);
  max-width: 22ch;
  color: var(--surface-strong);
  line-height: 1.2;
}

/* ─── Founders ─── */

.founder-rotator-shell {
  max-width: 1080px;
  margin: 0 auto;
}

.founder-rotator {
  position: relative;
  min-height: 600px;
}

.founder-spotlight {
  position: absolute;
  top: 0;
  width: min(450px, 80%);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-lg) + 2px);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(226, 240, 255, 0.88) 100%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px) scale(0.85);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s ease;
  pointer-events: none;
}

.founder-spotlight.is-center {
  left: 50%;
  transform: translateX(-50%) translateY(0) scale(1);
  opacity: 1;
  z-index: 3;
  pointer-events: auto;
}

.founder-spotlight.is-left {
  left: 0;
  transform: translateY(28px) scale(0.84);
  opacity: 0.48;
  z-index: 1;
}

.founder-spotlight.is-right {
  right: 0;
  transform: translateY(28px) scale(0.84);
  opacity: 0.48;
  z-index: 1;
}

.founder-spotlight-photo {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center 18%;
  border-bottom: 1px solid var(--line);
}

.founder-spotlight--william {
  border-color: rgba(15, 95, 221, 0.34);
  background: linear-gradient(165deg, rgba(243, 249, 255, 0.98) 0%, rgba(215, 232, 255, 0.9) 100%);
  box-shadow: var(--shadow-lg), 0 0 24px -14px rgba(15, 95, 221, 0.28);
}

.founder-spotlight:nth-child(2),
.founder-spotlight:nth-child(3) {
  border-color: rgba(15, 95, 221, 0.34);
  background: linear-gradient(165deg, rgba(243, 249, 255, 0.98) 0%, rgba(215, 232, 255, 0.9) 100%);
  box-shadow: var(--shadow-lg), 0 0 28px -12px rgba(15, 95, 221, 0.32);
}

.founder-spotlight-body {
  padding: 0.9rem 1rem 1rem;
  display: grid;
  gap: 0.55rem;
}

.founder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.founder-card {
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(229, 241, 255, 0.89) 100%);
  border-radius: var(--radius-md);
  padding: 0.95rem;
  display: grid;
  gap: 0.65rem;
  box-shadow: var(--shadow-card);
}

.founder-card:hover {
  border-color: var(--line);
}

.founder-head {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0.7rem;
  align-items: center;
}

.founder-avatar {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.role-line {
  margin-top: 0.2rem;
  color: var(--accent-strong);
  font-size: 0.74rem;
  line-height: 1.4;
}

.founder-focus {
  list-style: none;
  display: grid;
  gap: 0.25rem;
}

.founder-focus li {
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.45;
  padding-left: 0.7rem;
  position: relative;
}

.founder-focus li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.ownership-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.ownership-card {
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(229, 241, 255, 0.89) 100%);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  box-shadow: var(--shadow-card);
}

.ownership-card h4 {
  margin-bottom: 0.3rem;
}

.ownership-card p {
  font-size: 0.84rem;
  line-height: 1.5;
}

.founder-entry {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2rem;
  padding: 1.5rem 0;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.founder-entry:last-child {
  border-bottom: none;
}

.founder-entry::before {
  display: none;
}

.founder-entry:hover {
  border-bottom-color: var(--line);
}

.founder-stack {
  display: grid;
  gap: 0;
}

.founder-photo {
  aspect-ratio: 1 / 1.2;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

.founder-text ul {
  margin-top: 0.65rem;
  padding-left: 1rem;
  display: grid;
  gap: 0.3rem;
}

.founder-text ul li {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* ─── WealthLearn ─── */

.wealthlearn-wrap {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.25rem;
  align-items: center;
  border: none;
  background: transparent;
  padding: 0;
}

.wealthlearn-logo {
  width: 110px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

/* ─── StuSync Tools Grid ─── */

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.tool-card {
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98) 0%, rgba(228, 241, 255, 0.9) 100%);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 0.75rem;
  align-items: start;
  box-shadow: var(--shadow-card);
  min-height: 100%;
}

.tool-card:hover {
  border-color: var(--line-strong);
}

.tool-media {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-sm) + 1px);
  background: var(--surface-raised);
  padding: 0.2rem;
  overflow: hidden;
}

.tool-media img {
  aspect-ratio: 1242 / 2688;
  object-fit: cover;
  border-radius: calc(var(--radius-sm) - 2px);
}

.tool-copy h3 {
  margin-bottom: 0.25rem;
}

.tool-copy > p {
  font-size: 0.83rem;
  line-height: 1.5;
}

.tool-points {
  list-style: none;
  margin-top: 0.45rem;
  display: grid;
  gap: 0.22rem;
}

.tool-points li {
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.45;
  padding-left: 0.7rem;
  position: relative;
}

.tool-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.tool-card.is-class,
.tool-card.is-events {
  grid-column: auto;
}

@media (min-width: 1101px) {
  .tool-card.is-class,
  .tool-card.is-events {
    grid-column: auto;
  }

  /* 3 cols on top row, 2 cols centered on bottom */
  .tools-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .tool-card:nth-child(1) { grid-column: 1 / span 2; }
  .tool-card:nth-child(2) { grid-column: 3 / span 2; }
  .tool-card:nth-child(3) { grid-column: 5 / span 2; }
  .tool-card.is-class { grid-column: 1 / span 3; }
  .tool-card.is-events { grid-column: 4 / span 3; }
}

/* ─── StuSync Stack Lab ─── */

.stack-lab {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98) 0%, rgba(220, 236, 255, 0.92) 100%);
  box-shadow: var(--shadow-md), 0 0 40px -16px rgba(15, 95, 221, 0.12);
  padding: 0.95rem;
  display: grid;
  gap: 0.8rem;
  position: relative;
}

.stack-lab::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius-lg) + 1px);
  background: linear-gradient(135deg, rgba(15, 95, 221, 0.12), transparent 40%, transparent 60%, rgba(15, 95, 221, 0.08));
  pointer-events: none;
  z-index: -1;
}

.stack-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem;
}

.stack-tab {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink-soft);
  border-radius: var(--radius-sm);
  padding: 0.52rem 0.58rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.stack-tab:hover {
  border-color: var(--accent-soft);
  color: var(--accent-strong);
}

.stack-tab.active {
  border-color: var(--accent);
  background: linear-gradient(140deg, rgba(15, 95, 221, 0.16), rgba(255, 255, 255, 0.95));
  color: var(--surface-strong);
}

.stack-panels {
  position: relative;
  min-height: 150px;
}

.stack-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(228, 241, 255, 0.9));
  padding: 0.9rem 4rem 0.9rem 0.9rem;
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.stack-panel.active {
  opacity: 1;
  transform: translateY(0);
}

.stack-panel h3 {
  margin-bottom: 0.35rem;
}

.stack-panel p {
  font-size: 0.9rem;
  line-height: 1.55;
}

.stack-logo {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  opacity: 0.35;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.stack-logo svg {
  width: 100%;
  height: 100%;
}

.stack-panel.active .stack-logo {
  opacity: 0.5;
  animation: subtleFloat 4s ease-in-out infinite;
}

.stack-panel:hover .stack-logo {
  opacity: 0.6;
  transform: translateY(-50%) scale(1.08);
}

/* ─── StuSync Roadmap ─── */

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.7rem;
}

.roadmap-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98) 0%, rgba(227, 240, 255, 0.88) 100%);
  box-shadow: var(--shadow-card);
  padding: 0.78rem;
}

.roadmap-card h4 {
  font-size: 0.88rem;
  margin-bottom: 0.32rem;
}

.roadmap-card p {
  font-size: 0.8rem;
  line-height: 1.45;
}

/* ─── Module Cards ─── */

.module-list {
  display: grid;
  gap: 1rem;
}

.module-item {
  border: none;
  border-left: 2px solid var(--line);
  background: transparent;
  padding: 0.75rem 0 0.75rem 1rem;
}

.module-item:hover {
  border-left-color: var(--accent);
}

.module-item h3 {
  margin-bottom: 0.4rem;
}

.module-item p {
  margin-bottom: 0.55rem;
}

.module-item ul {
  padding-left: 1rem;
  display: grid;
  gap: 0.25rem;
}

/* ─── Feature List ─── */

.feature-list {
  display: grid;
  gap: 0.4rem;
}

.feature-list li {
  color: var(--ink-soft);
  padding-left: 0.9rem;
  position: relative;
  font-size: 0.9rem;
  line-height: 1.55;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(91, 156, 255, 0.5);
}

/* ─── Feature Swiper ─── */

.feature-swiper-shell {
  border: none;
  border-left: 2px solid var(--accent);
  background: transparent;
  padding: 1rem 0 1rem 1.5rem;
}

.feature-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.feature-controls {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-bottom: 0;
}

.feature-controls button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.8rem;
  font-size: 0.78rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.feature-controls button:hover {
  border-color: var(--line-strong);
  color: var(--surface-strong);
  background: var(--surface-raised);
}

.feature-progress {
  display: flex;
  gap: 6px;
  align-items: center;
}

.feature-progress-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-muted);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.feature-progress-dot.active {
  background: var(--accent);
  box-shadow: 0 0 12px rgba(91, 156, 255, 0.6), 0 0 4px rgba(91, 156, 255, 0.4);
  transform: scale(1.35);
}

.feature-swiper {
  display: flex;
  gap: 0;
  overflow-x: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.feature-swiper::-webkit-scrollbar {
  display: none;
}

.feature-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
  border: none;
  background: transparent;
  padding: 1rem 0;
  text-align: center;
}

.feature-copy {
  text-align: left;
}

.feature-copy h3 {
  margin-bottom: 0.4rem;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.feature-copy > p {
  margin-bottom: 0.6rem;
  font-size: 0.88rem;
  line-height: 1.6;
}

.feature-image {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: transparent;
  padding: 0.25rem;
  max-width: 220px;
  margin: 0 auto;
}

.feature-image img {
  aspect-ratio: 1242 / 2688;
  object-fit: contain;
  border-radius: calc(var(--radius-sm) - 2px);
}

/* ─── Carousel ─── */

.carousel-shell {
  margin-top: 1.25rem;
}

.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.25rem;
  gap: 0.85rem;
}

.carousel-track::-webkit-scrollbar {
  height: 4px;
}

.carousel-track::-webkit-scrollbar-track {
  background: rgba(18, 66, 125, 0.12);
  border-radius: 4px;
}

.carousel-track::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 999px;
}

.carousel-slide {
  flex: 0 0 min(32vw, 280px);
  scroll-snap-align: center;
}

.carousel-slide.split-half + .carousel-slide.split-half {
  margin-left: -0.85rem;
}

.carousel-slide img {
  aspect-ratio: 1242 / 2688;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface-raised);
}

.carousel-slide.split-half img {
  border-radius: 0;
  border: 0;
  background: transparent;
}

.carousel-note {
  margin-top: 0.85rem;
  color: var(--ink-muted);
  font-size: 0.8rem;
}

/* ─── App Store Shot ─── */

.app-store-shot {
  width: min(340px, 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface-raised);
  padding: 0.45rem;
  box-shadow: var(--shadow-md);
}

/* ─── Contact Compact Layout ─── */

.contact-compact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.5rem 2.5rem;
  align-items: start;
}

.contact-left {
  display: grid;
  gap: 1.2rem;
}

.contact-info-block {
  border-left: 2px solid var(--accent);
  padding-left: 1rem;
  transition: border-color 0.25s ease;
}

.contact-info-block:hover {
  border-left-color: var(--accent-soft);
}

.contact-info-block h3 {
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.contact-info-block p {
  font-size: 0.85rem;
  line-height: 1.55;
}

.contact-right h3 {
  margin-bottom: 0.8rem;
}

/* ─── Contact Grid ─── */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem 1.5rem;
}

.contact-lines {
  display: grid;
  gap: 0.65rem;
}

.contact-lines span,
.contact-lines a {
  color: var(--ink);
  font-size: 0.98rem;
}

/* ─── Policy ─── */

.policy-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 1rem 1.25rem;
  align-items: start;
}

.policy-sidebar {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 0.95rem;
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 0.6rem;
}

.policy-sidebar h3 {
  margin-bottom: 0.1rem;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.policy-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 0.9rem;
  box-shadow: var(--shadow-card);
}

.policy-card:hover {
  border-color: var(--line-strong);
}

.policy-card h2 {
  margin-bottom: 0.45rem;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.policy-card p + p {
  margin-top: 0.45rem;
}

.policy-sheet {
  display: grid;
  gap: 1.5rem;
}

.policy-item {
  border: none;
  border-left: 2px solid var(--accent);
  background: transparent;
  padding: 1rem 0 1rem 1.25rem;
}

.policy-item:hover {
  border-left-color: var(--accent-soft);
}

.policy-item h2 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

/* ─── About Grid Items ─── */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem 2.5rem;
}

.grid-item {
  border: none;
  background: transparent;
  padding: 0;
  padding-left: 1rem;
  border-left: 2px solid var(--line);
  transition: border-color 0.25s ease;
}

.grid-item:nth-child(odd),
.grid-item:nth-child(even) {
  border-radius: 0;
}

.grid-item::before,
.grid-item::after {
  display: none;
}

.grid-item:hover {
  border-left-color: var(--accent);
}

.grid-item h4 {
  margin-bottom: 0.55rem;
  color: var(--surface-strong);
}

.grid-item p {
  font-size: 0.88rem;
  line-height: 1.65;
}

/* ─── About: Disciplines Section ─── */

.disciplines-section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  position: relative;
  overflow: hidden;
}

.disciplines-section::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: min(800px, 90vw);
  height: 500px;
  background: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(15, 95, 221, 0.08) 0%, rgba(15, 95, 221, 0.03) 40%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.disciplines-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto clamp(2rem, 4vw, 3.5rem);
}

.disciplines-header h2 {
  margin-bottom: 0.6rem;
}

.disciplines-header p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.disciplines-triangle {
  display: grid;
  grid-template-areas:
    "cs cs"
    "business law";
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  padding-top: 1rem;
}

.discipline-block {
  position: relative;
  padding: 1.5rem 1.75rem;
  border-left: 2px solid var(--accent);
  background: transparent;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.discipline-block::before {
  content: '';
  position: absolute;
  left: -2px;
  top: 0;
  width: 2px;
  height: 0;
  background: linear-gradient(to bottom, var(--accent), var(--accent-soft));
  transition: height 0.4s ease;
}

.discipline-block:hover {
  border-color: var(--accent-soft);
  transform: translateX(4px);
}

.discipline-block:hover::before {
  height: 100%;
}

.discipline-cs {
  grid-area: cs;
  justify-self: center;
  max-width: 400px;
  text-align: center;
  border-left: none;
  border-bottom: 2px solid var(--accent);
  padding: 0 0 1.75rem 0;
  position: relative;
}

.discipline-cs::before {
  display: none;
}

.discipline-cs::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(15, 95, 221, 0.4);
}

.discipline-cs:hover {
  transform: translateY(-2px);
  border-bottom-color: var(--accent-soft);
}

.discipline-business {
  grid-area: business;
  justify-self: end;
  max-width: 320px;
  margin-right: 2rem;
}

.discipline-law {
  grid-area: law;
  justify-self: start;
  max-width: 320px;
  margin-left: 2rem;
}

.discipline-number {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
  padding: 0.2rem 0.5rem;
  background: rgba(15, 95, 221, 0.08);
  border-radius: var(--radius-pill);
}

.discipline-block h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  margin-bottom: 0.5rem;
  color: var(--surface-strong);
}

.discipline-block p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

.discipline-cs .discipline-number {
  background: linear-gradient(135deg, rgba(15, 95, 221, 0.12), rgba(15, 95, 221, 0.05));
}

.disciplines-connector {
  position: absolute;
  top: calc(1.5rem + 50%);
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(500px, 70vw);
  height: 200px;
  pointer-events: none;
  z-index: -1;
}

.disciplines-connector::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 25%;
  width: 1px;
  height: 120px;
  background: linear-gradient(to bottom, rgba(15, 95, 221, 0.3), transparent);
  transform: rotate(30deg);
  transform-origin: top;
}

.disciplines-connector::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 25%;
  width: 1px;
  height: 120px;
  background: linear-gradient(to bottom, rgba(15, 95, 221, 0.3), transparent);
  transform: rotate(-30deg);
  transform-origin: top;
}

@media (max-width: 760px) {
  .disciplines-triangle {
    grid-template-areas:
      "cs"
      "business"
      "law";
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-top: 0;
  }

  .discipline-cs {
    border-bottom: none;
    border-left: 2px solid var(--accent);
    padding: 1.25rem 1.5rem;
    text-align: left;
    justify-self: start;
    max-width: 100%;
  }

  .discipline-cs::after {
    display: none;
  }

  .discipline-cs::before {
    display: block;
    content: '';
    position: absolute;
    left: -2px;
    top: 0;
    width: 2px;
    height: 0;
    background: linear-gradient(to bottom, var(--accent), var(--accent-soft));
    transition: height 0.4s ease;
  }

  .discipline-cs:hover::before {
    height: 100%;
  }

  .discipline-business,
  .discipline-law {
    justify-self: start;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .disciplines-connector {
    display: none;
  }
}

/* ─── About: Systems Flow Tree ─── */

.systems-flow-tree {
  max-width: 1080px;
  margin: 0 auto;
}

.systems-root {
  width: fit-content;
  margin: 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  padding: 0.55rem 1.05rem;
  font-family: var(--font-display);
  color: var(--surface-strong);
  font-size: 0.92rem;
  background: linear-gradient(140deg, rgba(15, 95, 221, 0.15) 0%, rgba(255, 255, 255, 0.95) 100%);
  box-shadow: var(--shadow-card);
}

.systems-branches {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.7rem;
  position: relative;
}

.systems-branches::before {
  content: '';
  position: absolute;
  top: -0.45rem;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, rgba(15, 95, 221, 0.2), rgba(15, 95, 221, 0.5), rgba(15, 95, 221, 0.2));
}

.systems-leaf {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(230, 241, 255, 0.88) 100%);
  padding: 0.75rem;
  box-shadow: var(--shadow-card);
  position: relative;
}

.systems-leaf::before {
  content: '';
  position: absolute;
  top: -0.46rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 0.46rem;
  background: rgba(15, 95, 221, 0.35);
}

.systems-leaf h4 {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.systems-leaf p {
  font-size: 0.82rem;
  line-height: 1.45;
}

/* ─── About: Coordination ─── */

.coordination-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 1.15rem 2.25rem;
  align-items: start;
}

.coordination-timeline {
  list-style: none;
  display: grid;
  gap: 0;
  counter-reset: coord;
  position: relative;
  padding-left: 0;
  margin-left: 0.85rem;
}

.coordination-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), rgba(15, 95, 221, 0.15));
  border-radius: 2px;
}

.coordination-step {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.35rem;
  align-items: baseline;
  padding: 0.5rem 0 0.5rem 1.55rem;
  position: relative;
  transition: padding-left 0.25s ease;
}

.coordination-step::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 0.85rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(15, 95, 221, 0.4);
}

.coordination-step:hover {
  padding-left: 1.62rem;
}

.coordination-marker {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.coordination-step p {
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--ink-soft);
  margin: 0;
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.integration-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96) 0%, rgba(228, 241, 255, 0.86) 100%);
  padding: 0.7rem 0.75rem;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.42;
  box-shadow: var(--shadow-card);
}

/* ─── About: Spacing Helpers ─── */

.systems-roomy {
  padding-top: clamp(2.4rem, 4.5vw, 3.8rem);
  padding-bottom: clamp(2.4rem, 4.5vw, 3.8rem);
}

/* ─── About: Compact Split ─── */

.about-intro-split {
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.about-intro-split .split {
  align-items: center;
  gap: 2rem 4rem;
}

.disciplines-compact {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 1.5rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.6) 0%, rgba(220, 236, 255, 0.4) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-glow-subtle);
}

.disciplines-header-compact {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 0.25rem;
}

.disciplines-header-compact h2 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  margin: 0;
}

.disciplines-header-compact p {
  font-size: 0.86rem;
  max-width: 44ch;
  line-height: 1.5;
}

.disciplines-stack-compact {
  display: grid;
  gap: 0.7rem;
}

.discipline-item-compact {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.85rem;
  align-items: center;
  position: relative;
}

.discipline-item-compact:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 1rem;
  top: 2rem;
  bottom: -0.7rem;
  width: 1px;
  background: var(--line);
  opacity: 0.6;
}

.discipline-item-compact .discipline-number {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-muted);
  color: var(--accent);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-display);
  flex-shrink: 0;
  padding: 0;
  margin: 0;
  border: 1px solid var(--line);
}

.discipline-copy-compact h3 {
  font-size: 0.98rem;
  margin: 0;
  color: var(--surface-strong);
}

.discipline-copy-compact p {
  font-size: 0.82rem;
  line-height: 1.4;
  margin: 0;
}

.systems-breathe {
  padding-bottom: clamp(3.2rem, 5.2vw, 4.3rem);
}

.coordination-breathe {
  padding-top: clamp(2.1rem, 3.8vw, 3rem);
  padding-bottom: clamp(2.8rem, 4.8vw, 4rem);
}

.director-roomy {
  padding-top: clamp(2.4rem, 4.5vw, 3.8rem);
  padding-bottom: clamp(2.4rem, 4.5vw, 3.8rem);
}

/* ─── About: Execution Tree ─── */

.execution-tree {
  max-width: 980px;
  margin: 0 auto;
}

.execution-root {
  width: fit-content;
  margin: 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, rgba(15, 95, 221, 0.18), rgba(255, 255, 255, 0.97));
  padding: 0.58rem 1.1rem;
  font-family: var(--font-display);
  font-size: 0.96rem;
  box-shadow: var(--shadow-card);
}

.execution-branches {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  position: relative;
}

.execution-branches::before {
  content: '';
  position: absolute;
  top: -0.62rem;
  left: 17%;
  right: 17%;
  height: 1px;
  background: linear-gradient(90deg, rgba(15, 95, 221, 0.12), rgba(15, 95, 221, 0.28), rgba(15, 95, 221, 0.12));
}

.execution-node {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.95rem 0.9rem 1rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.97) 0%, rgba(230, 241, 255, 0.89) 100%);
  box-shadow: var(--shadow-card);
  position: relative;
}

.execution-node::before {
  content: '';
  position: absolute;
  top: -0.62rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 0.62rem;
  background: rgba(15, 95, 221, 0.22);
}

.execution-node.is-center {
  border-color: var(--accent);
  background: linear-gradient(165deg, rgba(15, 95, 221, 0.08) 0%, rgba(230, 241, 255, 0.92) 100%);
  box-shadow: var(--shadow-card), 0 0 20px -8px rgba(15, 95, 221, 0.15);
}

.execution-node h4 {
  margin-bottom: 0.42rem;
}

.execution-node p {
  font-size: 0.83rem;
  line-height: 1.5;
}

/* ─── About: Principles ─── */

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.principle-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(162deg, rgba(255, 255, 255, 0.98) 0%, rgba(226, 240, 255, 0.88) 100%);
  padding: 0.75rem;
  box-shadow: var(--shadow-card);
  color: var(--ink);
  line-height: 1.42;
  font-size: 0.88rem;
  display: grid;
  gap: 0.28rem;
}

.principle-card span {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 0.74rem;
}

/* ─── About: Timeline Stage ─── */

.timeline-stage-shell {
  position: relative;
  min-height: 190px;
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(226, 239, 255, 0.9));
  box-shadow: var(--shadow-md);
  padding: 1rem 1rem 0.9rem;
  overflow: hidden;
}

.timeline-stage-card {
  position: absolute;
  inset: 0.95rem 0.95rem 2.1rem 0.95rem;
  border: 1px solid transparent;
  border-radius: calc(var(--radius-md) + 2px);
  padding: 0.95rem;
  opacity: 0;
  transform: translateY(12px) scale(0.985);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.timeline-stage-card.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.timeline-stage-card h4 {
  margin-bottom: 0.45rem;
}

.timeline-stage-card p {
  font-size: 0.92rem;
}

.timeline-stage-nav {
  position: absolute;
  bottom: 0.7rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.42rem;
}

.timeline-stage-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(15, 95, 221, 0.28);
  transition: background 0.25s ease, transform 0.25s ease;
}

.timeline-stage-dot.is-active {
  background: var(--accent);
  transform: scale(1.2);
}

/* ─── Auto-Cycling Text ─── */

.auto-cycle {
  position: relative;
  overflow: hidden;
}

.auto-cycle-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  padding: 0;
}

.auto-cycle-item.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
}

/* ─── Section Glow ─── */

.section-glow {
  position: relative;
}

.section-glow::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(28, 94, 201, 0.14) 0%, rgba(28, 94, 201, 0.05) 45%, transparent 75%);
  pointer-events: none;
  z-index: -1;
  animation: ambientGlow 10s ease-in-out infinite;
}

.section-glow::before {
  content: '';
  position: absolute;
  bottom: 10%;
  right: 5%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(28, 94, 201, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  animation: floatOrb 16s ease-in-out infinite;
}

/* ─── Shipped Stats Row ─── */

.shipped-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem 1.25rem;
  text-align: left;
}

.stat-card {
  border: none;
  border-left: 2px solid var(--accent);
  background: transparent;
  padding: 0.5rem 0 0.5rem 1rem;
  box-shadow: none;
}

.stat-card::before,
.stat-card::after {
  display: none;
}

.stat-card:hover {
  border-left-color: var(--accent-soft);
}

.stat-card strong {
  display: block;
  font-family: var(--font-display);
  color: var(--surface-strong);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.stat-card p {
  font-size: 0.82rem;
  line-height: 1.55;
}

/* ─── Org Tree ─── */

.org-tree {
  display: grid;
  gap: 1.5rem;
  max-width: 680px;
  margin: 0 auto;
}

.org-tree-top {
  border: none;
  border-left: 2px solid var(--accent);
  background: transparent;
  padding: 0.75rem 0 0.75rem 1.25rem;
  text-align: left;
}

.org-tree-top::after {
  content: '';
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 2rem;
  background: linear-gradient(to bottom, var(--accent), rgba(79, 143, 255, 0.2));
}

.org-tree-top h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.org-tree-top p {
  font-size: 0.82rem;
}

.org-tree-branches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  position: relative;
}

.org-tree-branches::before {
  content: '';
  position: absolute;
  top: -1rem;
  left: 16.67%;
  right: 16.67%;
  height: 2px;
  background: linear-gradient(90deg, rgba(79, 143, 255, 0.2), var(--accent), rgba(79, 143, 255, 0.2));
}

.org-branch {
  border: none;
  border-left: 2px solid var(--line);
  background: transparent;
  padding: 0.75rem 0 0.75rem 1rem;
  text-align: left;
}

.org-branch:hover {
  border-left-color: var(--accent);
}

.org-branch::before {
  content: '';
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 1rem;
  background: rgba(79, 143, 255, 0.3);
}


.org-branch h4 {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.org-branch p {
  font-size: 0.78rem;
  line-height: 1.5;
}

/* ─── Systems Tree (About page) ─── */

.systems-tree {
  display: grid;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.systems-tree-node {
  position: relative;
  padding: 0.75rem 0 0.75rem 1.25rem;
  border: none;
  border-left: 2px solid var(--accent);
  background: transparent;
  transition: border-color 0.25s ease;
}

.systems-tree-node::before {
  display: none;
}

.systems-tree-node:hover {
  border-left-color: var(--accent-soft);
}

.systems-tree-node + .systems-tree-node {
  margin-top: 0;
}

.systems-tree-node h4 {
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.systems-tree-node p {
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

/* 2-col layout for systems - fills space properly */
.systems-tree-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2.5rem;
}

.systems-tree-wrap .systems-tree-node:nth-child(5) {
  grid-column: 1 / -1;
  max-width: 50%;
  margin-inline: auto;
  margin-top: 0;
}

.systems-tree-wrap .systems-tree-node:nth-child(5)::after {
  display: none;
}

/* ─── Principles Flow (About page) ─── */

.principles-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: flex-start;
}

.principles-flow .flow-node {
  flex: 0 1 auto;
  padding: 0.5rem 0;
  border: none;
  background: transparent;
  position: relative;
  padding-left: 2rem;
}

.principles-flow .flow-node::before {
  content: attr(data-num);
  position: absolute;
  left: 0;
  top: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-soft);
}

.principles-flow .flow-node:hover {
  color: var(--ink);
}

/* ─── Explore Bento (Index page) ─── */

.explore-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.explore-card {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.97) 0%, rgba(228, 241, 255, 0.88) 100%);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  box-shadow: var(--shadow-card);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  text-align: left;
  align-items: flex-start;
}

.explore-card::before,
.explore-card::after {
  display: none;
}

.explore-card:hover {
  border-color: var(--accent-soft);
  box-shadow: var(--shadow-card), 0 0 24px -8px rgba(15, 95, 221, 0.12);
  transform: translateY(-2px);
}

.explore-card.explore-featured {
  grid-column: 1 / -1;
  border-color: rgba(15, 95, 221, 0.3);
  background: linear-gradient(155deg, rgba(15, 95, 221, 0.06) 0%, rgba(228, 241, 255, 0.92) 50%, rgba(255, 255, 255, 0.98) 100%);
  position: relative;
  overflow: hidden;
}

.explore-card.explore-featured::before {
  content: '';
  display: block;
  position: absolute;
  top: -30%;
  right: -10%;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(15, 95, 221, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.explore-tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 600;
  background: rgba(15, 95, 221, 0.08);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
}

.explore-card.span-2 {
  grid-column: span 2;
}

.explore-card h4 {
  margin-bottom: 0.15rem;
  font-size: 1.1rem;
}

.explore-card > p {
  flex: 1;
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 48ch;
}

.explore-card .btn {
  margin-top: 0.5rem;
  align-self: flex-start;
}

.explore-card-socials {
  grid-column: 2;
}

/* ─── Contact Form & Partner Cards ─── */

.contact-form-wrap {
  max-width: 560px;
  margin: 0 auto;
}

.contact-form {
  display: grid;
  gap: 1.25rem;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(28, 94, 201, 0.4);
  box-shadow: 0 0 0 3px rgba(28, 94, 201, 0.1);
}

.contact-form textarea {
  min-height: 100px;
  resize: vertical;
}

.partner-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.25rem;
}

.partner-card {
  padding: 0;
  border: none;
  border-left: 2px solid var(--accent);
  background: transparent;
  padding-left: 1.25rem;
}

.partner-card::before {
  display: none;
}

.partner-card:hover {
  border-left-color: var(--accent-soft);
}

.partner-card h3 {
  margin-bottom: 0.5rem;
}

.partner-card p {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ─── Small Button ─── */

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.78rem;
  border-radius: 999px;
}

/* ─── Project Showcase ─── */

.project-showcase {
  display: grid;
  gap: 1.1rem;
  margin-top: 0.15rem;
}

.projects-tight .section-intro {
  margin-bottom: 0.75rem;
}

.project-card {
  border: none;
  border-left: 2px solid var(--accent);
  background: transparent;
  padding-left: 1.5rem;
  overflow: visible;
}

.project-card:hover {
  border-left-color: var(--accent-soft);
}

.project-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 0.95rem 0;
}

.project-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 1px solid var(--line);
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(79, 153, 232, 0.1);
}

.project-card-header h3 {
  font-size: 1.3rem;
}

.project-card-header p {
  font-size: 0.82rem;
  margin-top: 0.15rem;
}

.project-card-body {
  padding: 0.72rem 0.95rem 0.85rem;
}

.project-card-body > p {
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 0.8rem;
}

.project-screenshots {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.25rem;
  -webkit-overflow-scrolling: touch;
}

.project-screenshots::-webkit-scrollbar {
  height: 3px;
}

.project-screenshots::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 999px;
}

.project-screenshot {
  flex: 0 0 min(75%, 480px);
  scroll-snap-align: start;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  overflow: hidden;
}

.project-screenshot img {
  width: 100%;
  height: auto;
  display: block;
}

.project-card-footer {
  padding: 0 0.95rem 0.85rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

/* ─── Footer ─── */

.site-footer {
  margin-top: 0;
  border-top: 1px solid var(--line);
  padding: 1.7rem 0;
  background: var(--bg-deep);
  position: relative;
}

.site-credit {
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin-top: 0.5rem;
  text-align: center;
  width: 100%;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(28, 94, 201, 0.2), var(--accent), rgba(28, 94, 201, 0.2), transparent);
  opacity: 0.8;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink-muted);
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent-soft);
}

/* ─── Reveal Animation ─── */

[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal-stagger].is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-stagger].is-visible > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: translateY(0); }
[data-reveal-stagger].is-visible > *:nth-child(2) { transition-delay: 70ms; opacity: 1; transform: translateY(0); }
[data-reveal-stagger].is-visible > *:nth-child(3) { transition-delay: 140ms; opacity: 1; transform: translateY(0); }
[data-reveal-stagger].is-visible > *:nth-child(4) { transition-delay: 210ms; opacity: 1; transform: translateY(0); }
[data-reveal-stagger].is-visible > *:nth-child(5) { transition-delay: 280ms; opacity: 1; transform: translateY(0); }
[data-reveal-stagger].is-visible > *:nth-child(6) { transition-delay: 350ms; opacity: 1; transform: translateY(0); }

/* ─── Keyframes ─── */

@keyframes floatDrift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 1; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.75; transform: translateX(-50%) scale(1.06); }
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
  33% { transform: translate(-20px, -15px) scale(1.1); opacity: 0.8; }
  66% { transform: translate(10px, -25px) scale(0.95); opacity: 0.9; }
}

@keyframes ambientGlow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes borderGlow {
  0%, 100% { box-shadow: 0 0 24px -4px rgba(28, 94, 201, 0.12); }
  50% { box-shadow: 0 0 32px -4px rgba(28, 94, 201, 0.18); }
}

@keyframes subtleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ─── Responsive ─── */

@media (max-width: 1100px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(340px, 86vw);
    height: 100dvh;
    background: var(--surface);
    border-left: 1px solid var(--line);
    padding: 6rem 1.5rem 2rem;
    display: grid;
    gap: 0.85rem;
    align-content: start;
    transform: translateX(105%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 120;
  }

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

  .nav-link {
    font-size: 0.95rem;
    color: var(--ink);
  }

  .nav-cta {
    justify-self: start;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-grid,
  .split,
  .contact-grid,
  .contact-compact {
    grid-template-columns: 1fr;
  }

  .dashboard-proof,
  .coordination-layout {
    grid-template-columns: 1fr;
  }

  .coordination-timeline {
    margin-left: 0;
  }

  .systems-branches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .systems-branches::before,
  .systems-leaf::before {
    display: none;
  }

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

  .execution-branches {
    grid-template-columns: 1fr;
  }

  .execution-branches::before,
  .execution-node::before {
    display: none;
  }

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

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

  .stack-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .founder-rotator {
    min-height: 540px;
  }

  .founder-spotlight {
    width: min(420px, 84%);
  }

  .tools-grid,
  .founder-grid,
  .ownership-grid,
  .policy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .policy-layout {
    grid-template-columns: 1fr;
  }

  .explore-bento {
    grid-template-columns: 1fr;
  }

  .explore-card.span-2 {
    grid-column: span 1;
  }

  .explore-card-socials {
    grid-column: auto;
  }

  .partner-cards {
    grid-template-columns: 1fr;
  }

  .systems-tree-wrap {
    grid-template-columns: 1fr;
  }

  .systems-tree-wrap .systems-tree-node:nth-child(5) {
    max-width: 100%;
  }

  .feature-slide {
    grid-template-columns: 1fr;
  }

  .visual-stack {
    grid-template-columns: repeat(2, minmax(0, 200px));
    justify-content: center;
    min-height: 0;
  }

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

  .carousel-slide {
    flex-basis: min(52vw, 280px);
  }

  .shipped-stats {
    grid-template-columns: 1fr;
  }

  .org-tree-branches {
    grid-template-columns: 1fr;
  }

  .org-tree-branches::before {
    display: none;
  }

  .org-branch::before {
    display: none;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 60px;
    --contact-height: 48px;
    --section-pad: clamp(1.45rem, 5.8vw, 2rem);
  }

  .container {
    width: min(var(--container), calc(100% - 1.5rem));
  }

  .header-contact-inner {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.3rem 0.75rem;
    padding: 0.3rem 0;
  }

  .brand-name {
    font-size: 0.88rem;
  }

  .brand-meta {
    font-size: 0.6rem;
  }

  .page-hero {
    padding-top: 1.2rem;
  }

  .hero-actions,
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .cta-row .btn {
    width: 100%;
  }

  .visual-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .founder-entry {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.25rem;
  }

  .founder-photo {
    width: min(220px, 100%);
  }

  .wealthlearn-wrap {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .feature-swiper-shell {
    padding: 0.85rem;
  }

  .feature-header {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }

  .feature-controls {
    justify-content: flex-start;
  }

  .carousel-slide {
    flex-basis: min(70vw, 280px);
  }

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

  .systems-branches,
  .disciplines-list,
  .integration-grid,
  .principles-grid,
  .roadmap-grid,
  .stack-tabs {
    grid-template-columns: 1fr;
  }

  .timeline-stage-shell {
    min-height: 230px;
    padding: 0.85rem;
  }

  .timeline-stage-card {
    inset: 0.72rem 0.72rem 2.1rem 0.72rem;
    padding: 0.8rem;
  }

  .tools-grid,
  .founder-grid,
  .ownership-grid,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .tool-card {
    grid-template-columns: 66px 1fr;
    padding: 0.75rem;
  }

  .tool-card.is-class,
  .tool-card.is-events {
    grid-column: auto;
  }

  .dashboard-proof-main,
  .proof-card {
    padding: 0.78rem;
  }

  .founder-rotator {
    min-height: 0;
    display: grid;
    gap: 0.75rem;
  }

  .founder-spotlight {
    position: relative;
    width: 100%;
    opacity: 1;
    transform: none;
    left: auto;
    right: auto;
    pointer-events: auto;
  }

  .founder-spotlight.is-center,
  .founder-spotlight.is-left,
  .founder-spotlight.is-right {
    transform: none;
    opacity: 1;
    left: auto;
    right: auto;
  }

  .founder-spotlight-photo {
    height: 250px;
  }

  .policy-sidebar,
  .policy-card,
  .founder-card,
  .ownership-card {
    padding: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
     scroll-behavior: auto !important;
   }
 
   [data-reveal],
   [data-reveal-stagger] > * {
     opacity: 1;
     transform: none;
   }
 }

.cofounders-header {
  max-width: 640px;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.cofounders-header h2 {
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

.cofounders-header p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.cofounders-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  justify-items: center;
}

.cofounder-card {
  border: 1px solid rgba(15, 95, 221, 0.2);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98) 0%, rgba(230, 242, 255, 0.9) 100%);
  padding: 1.25rem 1.1rem;
  box-shadow: 0 8px 24px -12px rgba(15, 95, 221, 0.25), 0 0 40px -16px rgba(15, 95, 221, 0.3);
  text-align: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  width: 100%;
  max-width: 280px;
  position: relative;
  overflow: hidden;
}

.cofounder-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(15, 95, 221, 0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.cofounder-card::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 60px -20px rgba(15, 95, 221, 0.15);
  pointer-events: none;
  z-index: 2;
  border-radius: inherit;
}

.cofounder-card > * {
  position: relative;
  z-index: 3;
}

.cofounder-card:hover {
  border-color: rgba(15, 95, 221, 0.35);
  box-shadow: 0 12px 32px -12px rgba(15, 95, 221, 0.3), 0 0 56px -12px rgba(15, 95, 221, 0.35), inset 0 0 40px -15px rgba(15, 95, 221, 0.2);
  transform: translateY(-2px);
}

.cofounder-card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem;
}

.cofounder-domain {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cofounder-focus-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}

.cofounder-points {
  color: var(--ink-soft);
  font-size: 0.85rem;
  line-height: 1.5;
}

.cofounders-footer {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  max-width: 72ch;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .cofounders-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .cofounders-grid {
    grid-template-columns: 1fr;
  }
  
  .cofounder-card {
    max-width: 320px;
  }
}

.stack-panel[data-stack-panel="frontend"] {
  box-shadow: 0 8px 24px -12px rgba(97, 218, 251, 0.25), 0 0 48px -16px rgba(97, 218, 251, 0.3);
  border-color: rgba(97, 218, 251, 0.3);
}

.stack-panel[data-stack-panel="frontend"]:hover {
  box-shadow: 0 12px 32px -12px rgba(97, 218, 251, 0.35), 0 0 64px -12px rgba(97, 218, 251, 0.4);
}

.stack-panel[data-stack-panel="frontend"] .stack-logo svg {
  stroke: #61dafb;
}

.stack-panel[data-stack-panel="api"] {
  box-shadow: 0 8px 24px -12px rgba(104, 160, 99, 0.25), 0 0 48px -16px rgba(104, 160, 99, 0.3);
  border-color: rgba(104, 160, 99, 0.3);
}

.stack-panel[data-stack-panel="api"]:hover {
  box-shadow: 0 12px 32px -12px rgba(104, 160, 99, 0.35), 0 0 64px -12px rgba(104, 160, 99, 0.4);
}

.stack-panel[data-stack-panel="api"] .stack-logo svg {
  stroke: #68a063;
}

.stack-panel[data-stack-panel="ui"] {
  box-shadow: 0 8px 24px -12px rgba(56, 189, 248, 0.2), 0 0 48px -16px rgba(56, 189, 248, 0.25);
  border-color: rgba(56, 189, 248, 0.25);
}

.stack-panel[data-stack-panel="ui"]:hover {
  box-shadow: 0 12px 32px -12px rgba(56, 189, 248, 0.3), 0 0 64px -12px rgba(56, 189, 248, 0.35);
}

.stack-panel[data-stack-panel="ui"] .stack-logo svg {
  stroke: #38bdf8;
}

.stack-panel[data-stack-panel="backend"] {
  box-shadow: 0 8px 24px -12px rgba(255, 166, 0, 0.2), 0 0 48px -16px rgba(255, 166, 0, 0.25);
  border-color: rgba(255, 166, 0, 0.25);
}

.stack-panel[data-stack-panel="backend"]:hover {
  box-shadow: 0 12px 32px -12px rgba(255, 166, 0, 0.3), 0 0 64px -12px rgba(255, 166, 0, 0.35);
}

.stack-panel[data-stack-panel="backend"] .stack-logo svg {
  stroke: #ffa600;
}

.stack-panel[data-stack-panel="ops"] {
  box-shadow: 0 8px 24px -12px rgba(100, 116, 139, 0.2), 0 0 48px -16px rgba(100, 116, 139, 0.25);
  border-color: rgba(100, 116, 139, 0.25);
}

.stack-panel[data-stack-panel="ops"]:hover {
  box-shadow: 0 12px 32px -12px rgba(100, 116, 139, 0.3), 0 0 64px -12px rgba(100, 116, 139, 0.35);
}

.stack-panel[data-stack-panel="ops"] .stack-logo svg {
  stroke: #64748b;
}
