/* ============================================================
   BIVECTOR GLOBAL — design system
   Tokens, base styles, components. One file, shared by every page.
   ============================================================ */

/* ---------- Fonts, self hosted, no external requests ---------- */
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* surfaces */
  --ink: #131318;
  --ink2: #1b1b23;
  --ink3: #232330;
  --paper: #eeeef3;
  --paper2: #e3e2ea;
  --paper0: #f8f8fa;

  /* text */
  --text-on-dark: #f4f3f7;
  --muted-on-dark: #9d9dae;
  --text-on-light: #17171d;
  --muted-on-light: #5c5c6c;

  /* lines */
  --line-on-dark: rgba(244, 243, 247, 0.14);
  --line-on-dark-strong: rgba(244, 243, 247, 0.28);
  --line-on-light: rgba(19, 19, 24, 0.12);
  --line-on-light-strong: rgba(19, 19, 24, 0.22);

  /* plane accents, base / bright for dark grounds / deep for light grounds */
  --indigo: #4436e0;
  --indigo-bright: #8677ff;
  --indigo-deep: #3a2fc0;

  --amber: #e0a526;
  --amber-bright: #f2bc4e;
  --amber-deep: #8a5e12;

  --teal: #0e8f7a;
  --teal-bright: #2fd9ae;
  --teal-deep: #0b6e5e;

  /* type */
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Newsreader", ui-serif, Georgia, "Times New Roman", serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* spacing */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 132px;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.16, 0.8, 0.24, 1);
  --shadow-soft: 0 24px 64px -28px rgba(19, 19, 24, 0.5);
  --shadow-pill: 0 12px 32px -14px rgba(19, 19, 24, 0.55);

  --container: min(2200px, 94vw);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--text-on-light);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 2.5px solid var(--indigo-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout ---------- */
.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}
@media (max-width: 640px) {
  .wrap {
    padding: 0 var(--sp-5);
  }
}

.section {
  padding: var(--sp-10) 0;
}
@media (max-width: 900px) {
  .section {
    padding: var(--sp-9) 0;
  }
}
@media (max-width: 640px) {
  .section {
    padding: var(--sp-8) 0;
  }
}

.section--ink {
  background: var(--ink);
  color: var(--text-on-dark);
}
.section--paper2 {
  background: var(--paper2);
}
.section--tight {
  padding: var(--sp-7) 0;
}

/* faint graph grid, used on ink sections */
.grid-field {
  position: relative;
  isolation: isolate;
}
.grid-field::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 243, 247, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 243, 247, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 85%);
  pointer-events: none;
  z-index: 0;
}
.grid-field > * {
  position: relative;
  z-index: 1;
}

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: none;
}

h1,
.h1 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.04;
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
}
h2,
.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
  font-size: clamp(2rem, 3.6vw, 3rem);
}
h3,
.h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  font-size: clamp(1.28rem, 1.8vw, 1.55rem);
}
.lede {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  line-height: 1.5;
  color: var(--muted-on-light);
}
.section--ink .lede {
  color: var(--muted-on-dark);
}
.prose p + p {
  margin-top: 1.1em;
}
.prose {
  font-size: 1.08rem;
  line-height: 1.7;
}
.mono {
  font-family: var(--font-mono);
}
.small {
  font-size: 0.9rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  transition: transform 0.35s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn--solid {
  background: var(--text-on-dark);
  color: var(--ink);
}
.btn--solid:hover {
  background: var(--amber-bright);
}
.btn--line {
  border-color: var(--line-on-dark-strong);
  color: var(--text-on-dark);
}
.btn--line:hover {
  border-color: var(--text-on-dark);
}
.section:not(.section--ink) .btn--line {
  border-color: var(--line-on-light-strong);
  color: var(--text-on-light);
}
.section:not(.section--ink) .btn--line:hover {
  border-color: var(--text-on-light);
}
.btn--sm {
  padding: 10px 18px;
  font-size: 0.86rem;
}
.btn svg {
  width: 15px;
  height: 15px;
}

/* ---------- Nav ---------- */
.nav-outer {
  position: sticky;
  top: var(--sp-4);
  z-index: 60;
  padding: 0 var(--sp-5);
}
.nav {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  background: rgba(19, 19, 24, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(244, 243, 247, 0.1);
  border-radius: var(--radius-pill);
  padding: var(--sp-2) var(--sp-2) var(--sp-2) var(--sp-5);
  box-shadow: var(--shadow-pill);
  color: var(--text-on-dark);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  padding: 9px 0;
}
.brand .mark {
  width: 26px;
  height: 26px;
  flex: none;
}
.brand .full {
  display: inline;
  white-space: nowrap;
}
.brand .global {
  color: var(--muted-on-dark);
  font-weight: 500;
}
@media (max-width: 460px) {
  .brand .global {
    display: none;
  }
  .nav {
    padding-left: var(--sp-4);
  }
  .nav-cta .btn {
    padding: 11px 18px;
    font-size: 0.88rem;
  }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  color: var(--muted-on-dark);
  transition: color 0.2s var(--ease);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text-on-dark);
}
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1.5px;
  background: var(--amber-bright);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(244, 243, 247, 0.16);
  background: transparent;
  align-items: center;
  justify-content: center;
  flex: none;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text-on-dark);
  position: relative;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span::before {
  position: absolute;
  top: -5px;
}
.nav-toggle span::after {
  position: absolute;
  top: 5px;
}
.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] span::before {
  transform: translateY(5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(-5px) rotate(-45deg);
}

.mobile-panel {
  max-width: var(--container);
  margin: var(--sp-2) auto 0;
  background: var(--ink2);
  border: 1px solid rgba(244, 243, 247, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  display: none;
  flex-direction: column;
  gap: var(--sp-1);
  color: var(--text-on-dark);
}
.mobile-panel.is-open {
  display: flex;
}
.mobile-panel a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  padding: var(--sp-3) var(--sp-2);
  border-bottom: 1px solid var(--line-on-dark);
}
.mobile-panel .btn {
  margin-top: var(--sp-3);
  justify-content: center;
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding-top: var(--sp-9);
  padding-bottom: var(--sp-9);
}
.hero .wrap {
  max-width: var(--container);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: var(--sp-8);
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-7);
  }
}
.hero h1 {
  margin-top: var(--sp-4);
  max-width: 100%;
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  line-height: 1.16;
  letter-spacing: -0.01em;
}
.hero .lede {
  margin-top: var(--sp-5);
  max-width: 90ch;
  width: 100%;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-top: var(--sp-7);
  flex-wrap: wrap;
}
.hero-figure {
  position: relative;
}
.hero-figure svg {
  width: 100%;
  height: auto;
}

/* ---------- Eyebrow color variants ---------- */
.is-indigo .dot,
.text-indigo {
  background: var(--indigo-bright);
}
.is-amber .dot,
.text-amber {
  background: var(--amber-bright);
}
.is-teal .dot,
.text-teal {
  background: var(--teal-bright);
}
.section:not(.section--ink) .is-indigo .dot {
  background: var(--indigo-deep);
}
.section:not(.section--ink) .is-amber .dot {
  background: var(--amber-deep);
}
.section:not(.section--ink) .is-teal .dot {
  background: var(--teal-deep);
}
.ink-text.is-indigo,
.section--ink .is-indigo {
  color: var(--indigo-bright);
}
.section:not(.section--ink) .is-indigo {
  color: var(--indigo-deep);
}
.section:not(.section--ink) .is-amber {
  color: var(--amber-deep);
}
.section:not(.section--ink) .is-teal {
  color: var(--teal-deep);
}
.section--ink .is-amber {
  color: var(--amber-bright);
}
.section--ink .is-teal {
  color: var(--teal-bright);
}

/* ---------- Practice cards ---------- */
.plane-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-8);
}
@media (max-width: 900px) {
  .plane-grid {
    grid-template-columns: 1fr;
  }
}
.plane-card {
  background: var(--ink2);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.plane-card:hover {
  transform: translateY(-6px);
}
.plane-card:nth-child(1):hover {
  border-color: rgba(134, 119, 255, 0.5);
}
.plane-card:nth-child(2):hover {
  border-color: rgba(242, 188, 78, 0.5);
}
.plane-card:nth-child(3):hover {
  border-color: rgba(47, 217, 174, 0.5);
}
.plane-card .glyph {
  width: 46px;
  height: 46px;
}
.plane-card h3 {
  margin-top: var(--sp-1);
}
.plane-card p {
  color: var(--muted-on-dark);
  font-size: 0.98rem;
  line-height: 1.6;
}
.plane-card .go {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 0 12px;
  border-top: 1px solid var(--line-on-dark);
}
.plane-card .go svg {
  width: 13px;
  height: 13px;
  transition: transform 0.3s var(--ease);
}
.plane-card:hover .go svg {
  transform: translateX(4px);
}

/* ---------- Generic content grids ---------- */
.two-col {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--sp-8);
  align-items: start;
}
.two-col > .sticky-col {
  position: sticky;
  top: 132px;
}
@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }
  .two-col > .sticky-col {
    position: static;
  }
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-7);
}
@media (max-width: 700px) {
  .stat-row {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }
}
.stat {
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line-on-light-strong);
}
.section--ink .stat {
  border-top: 1px solid var(--line-on-dark-strong);
}
.stat h3 {
  font-size: 1.1rem;
}
.stat p {
  margin-top: 6px;
  color: var(--muted-on-light);
  font-size: 0.95rem;
}
.section--ink .stat p {
  color: var(--muted-on-dark);
}

.exp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: var(--sp-7);
  background: var(--line-on-light-strong);
  border: 1px solid var(--line-on-light-strong);
}
@media (max-width: 700px) {
  .exp-grid {
    grid-template-columns: 1fr;
  }
}
.exp-item {
  background: var(--paper2);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.section--paper2 .exp-item {
  background: var(--paper2);
}
.exp-item h3 {
  font-size: 1.15rem;
}
.exp-item p {
  color: var(--muted-on-light);
  font-size: 0.96rem;
  line-height: 1.6;
}
.exp-note {
  margin-top: var(--sp-5);
  color: var(--muted-on-light);
  font-size: 0.92rem;
  max-width: 62ch;
}

.list-check {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.list-check li {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--line-on-light);
}
.section--ink .list-check li {
  border-bottom: 1px solid var(--line-on-dark);
}
.list-check li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.list-check .num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--muted-on-light);
  padding-top: 3px;
  flex: none;
  width: 3ch;
}
.section--ink .list-check .num {
  color: var(--muted-on-dark);
}

.process {
  display: flex;
  flex-direction: column;
  margin-top: var(--sp-7);
}
.process-step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: var(--sp-6);
  padding: var(--sp-6) 0;
  border-top: 1px solid var(--line-on-light-strong);
}
.section--ink .process-step {
  border-top: 1px solid var(--line-on-dark-strong);
}
.process-step:last-child {
  padding-bottom: 0;
}
.process .process-step:last-child::after {
  content: "";
  display: block;
}
.process::after {
  content: "";
  border-top: 1px solid var(--line-on-light-strong);
}
.process-step .tag {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}
@media (max-width: 640px) {
  .process-step {
    grid-template-columns: 1fr;
    gap: var(--sp-2);
  }
}

/* pull quote */
.pull {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.45;
  max-width: 30ch;
}

/* ---------- CTA band ---------- */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  flex-wrap: wrap;
}
.cta-band h2 {
  max-width: 18ch;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--text-on-dark);
  padding: var(--sp-9) 0 var(--sp-6);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr 0.7fr;
  gap: var(--sp-7);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid var(--line-on-dark);
}
@media (max-width: 820px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}
.footer-brand .brand {
  font-size: 1.15rem;
}
.footer-brand p {
  margin-top: var(--sp-4);
  color: var(--muted-on-dark);
  max-width: 34ch;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
  margin-bottom: var(--sp-4);
}
.footer-col ul {
  display: flex;
  flex-direction: column;
}
.footer-col a {
  display: inline-block;
  padding: 9px 0;
}
.footer-col a:hover {
  color: var(--amber-bright);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  padding-top: var(--sp-6);
  color: var(--muted-on-dark);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  flex-wrap: wrap;
}

/* ---------- Contact form ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}
@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}
.field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.field.full {
  grid-column: 1 / -1;
}
.field label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}
.field input,
.field select,
.field textarea {
  background: var(--ink2);
  border: 1px solid var(--line-on-dark-strong);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted-on-dark);
  opacity: 0.7;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--amber-bright);
  outline: none;
}
.field textarea {
  resize: vertical;
  min-height: 140px;
}
.form-foot {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  margin-top: var(--sp-6);
  flex-wrap: wrap;
}
.form-note {
  color: var(--muted-on-dark);
  font-size: 0.86rem;
}
.form-status {
  font-family: var(--font-mono);
  font-size: 0.85rem;
}
.form-status[data-state="ok"] {
  color: var(--teal-bright);
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Misc ---------- */
.divider {
  height: 1px;
  background: var(--line-on-light);
  border: none;
}
.tap-link {
  display: inline-block;
  padding: 10px 0;
}
.section--ink .divider {
  background: var(--line-on-dark);
}
.kicker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  flex-wrap: wrap;
}
.watermark {
  position: absolute;
  right: -6%;
  top: 8%;
  width: 46%;
  opacity: 0.14;
  pointer-events: none;
}
@media (max-width: 900px) {
  .watermark {
    display: none;
  }
}
.rel {
  position: relative;
}

/* ============================================================
   1000X UPGRADE ADDITIONS: FOUNDERS, INSIGHTS, DIAGNOSTIC & CASE STUDIES
   ============================================================ */

/* ---------- Founder Cards & Leadership ---------- */
.founder-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-7);
  margin-top: var(--sp-7);
}
@media (max-width: 840px) {
  .founder-grid {
    grid-template-columns: 1fr;
  }
}
.founder-card {
  background: var(--ink2);
  border: 1px solid var(--line-on-dark-strong);
  border-radius: var(--radius-lg);
  padding: var(--sp-7);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  box-shadow: 0 16px 40px -20px rgba(0, 0, 0, 0.4);
}

.founder-quote-box {
  background: var(--ink);
  border-left: 3px solid var(--amber-bright);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--text-on-dark);
  line-height: 1.55;
  margin-top: 4px;
}
.founder-card.is-ck .founder-quote-box {
  border-left-color: var(--indigo-bright);
}

.founder-highlights {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}
.founder-highlights h4 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-on-dark);
}
.founder-highlights ul {
  list-style: disc;
  padding-left: 18px;
  color: var(--muted-on-dark);
  font-size: 0.95rem;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.founder-card:hover {
  transform: translateY(-4px);
  border-color: var(--amber-bright);
  box-shadow: 0 24px 60px -20px rgba(224, 165, 38, 0.25);
}
.founder-card::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.15;
  filter: blur(40px);
}
.founder-card.is-ck::before {
  background: var(--indigo);
}
.founder-card.is-sridevi::before {
  background: var(--amber);
}

.founder-header {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}
.founder-avatar-wrap {
  width: 84px;
  height: 84px;
  min-width: 84px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  border: 2.5px solid var(--indigo-bright);
  box-shadow: 0 0 20px rgba(68, 54, 224, 0.35);
  background: radial-gradient(circle at 50% 30%, rgba(68, 54, 224, 0.4), rgba(19, 19, 24, 0.95)), #1b1b23;
  padding: 2px;
  flex-shrink: 0;
}
.founder-avatar-wrap.is-sridevi-bg {
  border-color: var(--amber-bright);
  box-shadow: 0 0 20px rgba(224, 165, 38, 0.35);
  background: radial-gradient(circle at 50% 30%, rgba(224, 165, 38, 0.4), rgba(19, 19, 24, 0.95)), #1b1b23;
}
.founder-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s var(--ease);
}
.founder-card:hover .founder-img {
  transform: scale(1.06);
}

.founder-meta {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.founder-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-on-dark);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.founder-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.founder-role-badge.is-indigo {
  background: rgba(68, 54, 224, 0.2);
  color: var(--indigo-bright);
  border: 1px solid rgba(134, 119, 255, 0.3);
}
.founder-role-badge.is-amber {
  background: rgba(224, 165, 38, 0.2);
  color: var(--amber-bright);
  border: 1px solid rgba(242, 188, 78, 0.3);
}
.founder-bio {
  color: var(--muted-on-dark);
  font-size: 1.05rem;
  line-height: 1.6;
}
.founder-skills-flex {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-2);
}
.skill-pill {
  padding: 4px 10px;
  background: rgba(244, 243, 247, 0.07);
  border: 1px solid rgba(244, 243, 247, 0.12);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-on-dark);
}

/* ---------- Insights Hub & Category Filter ---------- */
.insights-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--sp-8);
}
.insights-controls {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  margin-bottom: var(--sp-7);
}
.insights-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.filter-tabs {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}
.filter-btn {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: rgba(19, 19, 24, 0.06);
  border: 1px solid var(--line-on-light);
  color: var(--muted-on-light);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.section--ink .filter-btn {
  background: rgba(244, 243, 247, 0.06);
  border-color: var(--line-on-dark);
  color: var(--muted-on-dark);
}
.filter-btn:hover {
  border-color: var(--indigo);
  color: var(--text-on-light);
}
.section--ink .filter-btn:hover {
  color: var(--text-on-dark);
}
.filter-btn.is-active {
  background: var(--ink);
  color: var(--text-on-dark);
  border-color: var(--ink);
}
.section--ink .filter-btn.is-active {
  background: var(--indigo);
  color: #fff;
  border-color: var(--indigo-bright);
}
.search-field-wrap {
  position: relative;
  min-width: 280px;
}
.search-field-wrap input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-on-light-strong);
  background: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-on-light);
  transition: border-color 0.2s var(--ease);
}
.section--ink .search-field-wrap input {
  background: var(--ink2);
  border-color: var(--line-on-dark-strong);
  color: var(--text-on-dark);
}
.search-field-wrap input:focus {
  outline: none;
  border-color: var(--indigo);
}
.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--muted-on-light);
  pointer-events: none;
}
.section--ink .search-icon {
  color: var(--muted-on-dark);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
@media (max-width: 1024px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
}
.article-card {
  background: #fff;
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--sp-4);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  cursor: pointer;
  position: relative;
}
.section--ink .article-card {
  background: var(--ink2);
  border-color: var(--line-on-dark);
}
.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--indigo);
  box-shadow: 0 16px 36px -12px rgba(68, 54, 224, 0.2);
}
.article-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
}
.category-tag {
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.category-tag.news {
  background: rgba(68, 54, 224, 0.12);
  color: var(--indigo-deep);
}
.section--ink .category-tag.news {
  color: var(--indigo-bright);
}
.category-tag.updates {
  background: rgba(14, 143, 122, 0.12);
  color: var(--teal-deep);
}
.section--ink .category-tag.updates {
  color: var(--teal-bright);
}
.category-tag.learnings {
  background: rgba(224, 165, 38, 0.12);
  color: var(--amber-deep);
}
.section--ink .category-tag.learnings {
  color: var(--amber-bright);
}
.category-tag.guides {
  background: rgba(134, 119, 255, 0.15);
  color: #3a2fc0;
}
.section--ink .category-tag.guides {
  color: #a89dff;
}
.read-time {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--muted-on-light);
}
.section--ink .read-time {
  color: var(--muted-on-dark);
}

.article-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-on-light);

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.section--ink .article-title {
  color: var(--text-on-dark);
}
.article-excerpt {
  color: var(--muted-on-light);
  font-size: 0.95rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.section--ink .article-excerpt {
  color: var(--muted-on-dark);
}
.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line-on-light);
}
.section--ink .article-footer {
  border-top-color: var(--line-on-dark);
}
.author-pill {
  display: flex;
  align-items: center;
  gap: 8px;
}
.author-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--indigo);
}
.author-name {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-on-light);
}
.section--ink .author-name {
  color: var(--text-on-dark);
}
.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--indigo-deep);
  font-weight: 600;
}
.section--ink .read-more-link {
  color: var(--amber-bright);
}

/* ---------- Article Reader Modal ---------- */
.article-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 12, 16, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--sp-5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.article-modal-backdrop.is-active {
  opacity: 1;
  pointer-events: auto;
}
.article-modal-container {
  background: var(--ink);
  color: var(--text-on-dark);
  border: 1px solid var(--line-on-dark-strong);
  border-radius: var(--radius-lg);
  max-width: 820px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: var(--sp-7);
  position: relative;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  transform: translateY(20px);
  transition: transform 0.3s var(--ease);
}
.article-modal-backdrop.is-active .article-modal-container {
  transform: translateY(0);
}
.modal-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--ink2);
  border: 1px solid var(--line-on-dark);
  color: var(--text-on-dark);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}
.modal-close-btn:hover {
  background: var(--ink3);
  border-color: var(--amber-bright);
}

/* ---------- Diagnostic Scorecard Tool ---------- */
.diagnostic-box {
  background: var(--ink2);
  border: 1px solid var(--line-on-dark-strong);
  border-radius: var(--radius-lg);
  padding: var(--sp-7);
  max-width: 840px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.diagnostic-progress {
  height: 6px;
  background: var(--ink3);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: var(--sp-6);
}
.diagnostic-progress-bar {
  height: 100%;
  width: 16%;
  background: linear-gradient(90deg, var(--indigo) 0%, var(--amber) 50%, var(--teal) 100%);
  transition: width 0.3s var(--ease);
}
.diag-question-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--amber-bright);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.diag-question-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-top: 6px;
  color: var(--text-on-dark);
}
.diag-options-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}
.diag-option-btn {
  background: var(--ink);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  text-align: left;
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.diag-option-btn:hover {
  border-color: var(--indigo-bright);
  background: rgba(68, 54, 224, 0.1);
  transform: translateX(4px);
}
.diag-result-card {
  text-align: center;
  padding: var(--sp-6) 0;
}
.score-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 165, 38, 0.2) 0%, var(--ink) 70%);
  border: 3px solid var(--amber-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-5);
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--amber-bright);
}

/* ---------- Case Studies ---------- */
.case-study-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-6);
}
@media (max-width: 768px) {
  .case-study-grid {
    grid-template-columns: 1fr;
  }
}
.case-study-card {
  background: #fff;
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.case-study-card:hover {
  transform: translateY(-4px);
  border-color: var(--indigo);
}
.case-metric {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--indigo-deep);
  line-height: 1;
}

/* Nav Active Link indicator */
.nav-links a.is-active,
.mobile-panel a.is-active {
  color: var(--indigo-bright);
  font-weight: 600;
}

