/* ================================================================
   KALM — modern premium esports-consulting theme
   Palette: pure black → whites with grayscale ramp
   Type: Roboto only (100/300/400/500/700/900)
   ================================================================ */

:root {
  --black: #000;
  --ink-000: #050505;
  --ink-050: #0b0b0b;
  --ink-100: #111;
  --ink-200: #171717;
  --ink-300: #1d1d1d;
  --ink-400: #262626;
  --ink-500: #333;
  --ink-600: #555;
  --ink-700: #7f8080;
  --ink-800: #a4a4a4;
  --ink-900: #d7d7d7;
  --paper: #f6f6f4;
  --paper-alt: #ecebe7;
  --white: #fff;

  --line: rgba(255,255,255,0.12);
  --line-strong: rgba(255,255,255,0.22);
  --line-ink: rgba(0,0,0,0.1);

  --font: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  --t-fast: .25s cubic-bezier(.22, .61, .36, 1);
  --t-med: .5s cubic-bezier(.22, .61, .36, 1);
  --t-slow: .8s cubic-bezier(.22, .61, .36, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-100);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; border: 0; background: transparent; cursor: pointer; color: inherit; }

h1, h2, h3, h4, h5 {
  font-family: var(--font);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: inherit;
}

::selection { background: var(--black); color: var(--white); }

/* ================================================================
   Tokens & utilities
   ================================================================ */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-700);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.eyebrow.on-dark { color: var(--ink-800); }

.mega {
  font-size: clamp(54px, 11vw, 200px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.88;
  text-transform: uppercase;
}

.display {
  font-size: clamp(40px, 6vw, 96px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.96;
}

.headline {
  font-size: clamp(30px, 3.8vw, 56px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.04;
}

.subhead {
  font-size: clamp(17px, 1.3vw, 20px);
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink-600);
}

.italic { font-style: italic; font-weight: 300; color: var(--ink-700); }

/* Thin horizontal rule */
.rule {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--line-ink);
  border: 0;
}
.rule.on-dark { background: var(--line); }

/* ================================================================
   Button system
   ================================================================ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 32px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  overflow: hidden;
  transition: color var(--t-fast);
  isolation: isolate;
  white-space: nowrap;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  transform: translateY(101%);
  transition: transform var(--t-fast);
  z-index: -1;
}
.btn:hover::before { transform: translateY(0); }
.btn .arrow {
  display: inline-block;
  transition: transform var(--t-fast);
}
.btn:hover .arrow { transform: translateX(4px); }
.btn > span { position: relative; z-index: 2; }

.btn.fill { background: currentColor; }
.btn.fill > span { color: var(--white); }
.btn.fill.on-dark > span { color: var(--black); }

/* On dark backgrounds */
.on-dark { color: var(--white); }
.on-dark:hover > span { color: var(--black); }

/* On light backgrounds */
.on-light { color: var(--black); }
.on-light:hover > span { color: var(--white); }

.btn-lg { padding: 20px 42px; font-size: 13px; }
.btn-sm { padding: 10px 20px; font-size: 11px; }

/* Nav button — outlined pill, right-sized for header */
.nav a.btn-nav,
.btn-nav {
  padding: 12px 26px;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  gap: 14px;
}
.btn-nav .arrow { font-size: 12px; }

/* ================================================================
   Header
   ================================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  transition: background var(--t-fast), border-color var(--t-fast);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(0,0,0,0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
.site-header .logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.site-header .logo {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  padding: 8px 14px;
  line-height: 1;
  transition: transform var(--t-fast);
}
.site-header .logo:hover { transform: scale(1.04); }
.logo-text {
  font-family: var(--font);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.14em;
  color: var(--black);
}
.logo-tag {
  color: var(--white);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.6;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav a {
  position: relative;
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: opacity var(--t-fast);
  padding: 6px 0;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right var(--t-fast);
}
.nav a:not(.btn):hover::after,
.nav a:not(.btn).active::after { right: 0; }
.nav a.active { color: var(--white); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  color: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* ================================================================
   Hero (home) — cinematic mega-type + stats rail
   ================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 140px 40px 48px;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  animation: hero-drift 22s ease-in-out infinite alternate;
}
@keyframes hero-drift {
  from { transform: scale(1.08) translate(0, 0); }
  to   { transform: scale(1.15) translate(-1%, -1%); }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 75% 40%, rgba(255,255,255,0.08), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.35) 35%, rgba(0,0,0,0.94) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 3px);
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.5;
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-800);
  margin-bottom: auto;
  gap: 24px;
}
.hero-meta .col { display: flex; flex-direction: column; gap: 6px; }
.hero-meta .val { color: var(--white); font-size: 12px; font-weight: 700; }
.hero-meta .right { text-align: right; }

.hero-title {
  font-size: clamp(56px, 13vw, 224px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.84;
  text-transform: uppercase;
  margin: 56px 0 24px;
  color: var(--white);
  position: relative;
}
.hero-title .outline {
  -webkit-text-stroke: 1px rgba(255,255,255,0.72);
  color: transparent;
  font-style: italic;
  font-weight: 900;
}
.hero-title .block {
  display: block;
}

.hero-lead {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: end;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero-lead .label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-800);
}
.hero-lead p {
  font-size: clamp(16px, 1.4vw, 20px);
  color: var(--ink-900);
  max-width: 68ch;
  line-height: 1.55;
}

.hero-contact {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 32px 56px;
  align-items: start;
}
.hero-contact > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hero-contact .contact-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-800);
}
.hero-contact .contact-val {
  font-size: 14px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.45;
  max-width: 42ch;
}
.hero-contact a.contact-val { transition: opacity var(--t-fast); }
.hero-contact a.contact-val:hover { opacity: 0.7; }

.hero-cta {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  right: 40px;
  bottom: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-800);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.hero-scroll::after {
  content: "";
  width: 1px;
  height: 56px;
  background: currentColor;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ================================================================
   Marquee (kinetic stripe)
   ================================================================ */
.marquee {
  background: var(--black);
  color: var(--white);
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 48px;
  animation: marquee 36s linear infinite;
  padding-left: 48px;
}
.marquee-track span {
  font-size: clamp(22px, 2.6vw, 36px);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 48px;
}
.marquee-track span::after {
  content: "✺";
  font-size: 0.7em;
  color: var(--ink-700);
  margin-left: 48px;
}
.marquee-track span.outline {
  -webkit-text-stroke: 1px rgba(255,255,255,0.6);
  color: transparent;
  font-style: italic;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ================================================================
   Feature section (stadium + text)
   ================================================================ */
.feature {
  background: var(--white);
  padding: 140px 0;
  position: relative;
}
.feature-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 96px;
  align-items: center;
}
.feature-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  transition: transform var(--t-slow);
}
.feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 55%, rgba(0,0,0,0.55));
  pointer-events: none;
}
.feature-media .media-label {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  color: var(--white);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  z-index: 2;
}
.feature-media .media-num {
  position: absolute;
  top: 24px;
  left: 24px;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--white);
  font-weight: 500;
  z-index: 2;
}
.feature-text h2 {
  font-size: clamp(36px, 4.2vw, 64px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.02;
  color: var(--black);
  margin: 24px 0 32px;
}
.feature-text h2 .italic {
  font-style: italic;
  font-weight: 300;
  color: var(--ink-600);
}
.feature-text p {
  font-size: 17px;
  color: var(--ink-500);
  max-width: 50ch;
  margin-bottom: 36px;
  line-height: 1.65;
}

/* ================================================================
   Stats strip (giant numbers on dark)
   ================================================================ */
.stats {
  background: var(--black);
  color: var(--white);
  padding: 120px 40px;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 80%, rgba(255,255,255,0.06), transparent 60%);
  pointer-events: none;
}
.stats-inner {
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.stat {
  border-top: 1px solid var(--line);
  padding: 32px 0 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.stat .num {
  font-size: clamp(64px, 7vw, 128px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.9;
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-variant-numeric: tabular-nums;
}
.stat .num sup { font-size: 0.35em; font-weight: 500; color: var(--ink-800); letter-spacing: 0.04em; }
.stat .label {
  font-size: 13px;
  color: var(--ink-900);
  font-weight: 400;
  line-height: 1.45;
  max-width: 28ch;
}

/* ================================================================
   Ideology (alternating rows)
   ================================================================ */
.ideology {
  background: var(--white);
  padding: 140px 40px;
}
.ideology-inner { max-width: 1440px; margin: 0 auto; }
.ideology-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  margin-bottom: 96px;
  align-items: end;
}
.ideology-head h2 {
  font-size: clamp(42px, 5vw, 88px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.98;
  color: var(--black);
}
.ideology-head p {
  font-size: 18px;
  color: var(--ink-500);
  max-width: 56ch;
  line-height: 1.65;
}
.row {
  display: grid;
  grid-template-columns: 80px 1fr 1.5fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 40px 0;
  border-top: 1px solid var(--line-ink);
  transition: background var(--t-fast);
}
.row:last-child { border-bottom: 1px solid var(--line-ink); }
.row:hover { background: var(--paper); }
.row .idx {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--ink-700);
  padding-top: 6px;
}
.row h3 {
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--black);
  line-height: 1.1;
}
.row p { font-size: 15px; color: var(--ink-500); line-height: 1.6; }
.row .arrow-pill {
  justify-self: end;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--ink-400);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast), color var(--t-fast);
}
.row:hover .arrow-pill { background: var(--black); color: var(--white); }

/* ================================================================
   CTA band
   ================================================================ */
.cta-band {
  background: var(--black);
  color: var(--white);
  padding: 160px 40px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.06), transparent 60%);
  z-index: -1;
}
.cta-band h2 {
  font-size: clamp(36px, 5.8vw, 104px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.98;
  max-width: 20ch;
  margin: 24px auto 48px;
  text-transform: uppercase;
}
.cta-band h2 .italic {
  font-style: italic;
  font-weight: 300;
  -webkit-text-stroke: 1px rgba(255,255,255,0.6);
  color: transparent;
}

/* ================================================================
   Page banner (smaller hero)
   ================================================================ */
.page-banner {
  position: relative;
  background: var(--black);
  color: var(--white);
  padding: 180px 40px 96px;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.page-banner-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,0.4), rgba(0,0,0,0.9));
}
.page-banner-inner {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
}
.page-banner h1 {
  font-size: clamp(44px, 8vw, 140px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.94;
  text-transform: uppercase;
}
.page-banner h1 .italic {
  font-style: italic;
  font-weight: 300;
  -webkit-text-stroke: 1px rgba(255,255,255,0.7);
  color: transparent;
}
.page-banner p { font-size: 16px; color: var(--ink-800); max-width: 48ch; line-height: 1.6; }

/* ================================================================
   Solutions page — KALMind split hero
   ================================================================ */
.kalmind {
  padding: 160px 40px 120px;
  background: var(--white);
  position: relative;
}
.kalmind-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.kalmind-card {
  aspect-ratio: 1 / 1;
  background: var(--black);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,0.12);
  transition: transform var(--t-slow);
}
.kalmind-card:hover { transform: translateY(-4px); }
.kalmind-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(170deg, transparent 55%, rgba(0,0,0,0.55));
}
.kalmind-card .tag {
  position: absolute;
  top: 24px;
  left: 24px;
  color: var(--white);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
}
.kalmind-card .discover {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
}

.kalmind-text h1 {
  font-size: clamp(42px, 5.4vw, 88px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.98;
  color: var(--black);
  margin: 24px 0 24px;
}
.kalmind-text h1 .italic { font-style: italic; font-weight: 300; color: var(--ink-600); }
.kalmind-text .bullets {
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.kalmind-text .bullets div {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-top: 1px solid var(--line-ink);
}
.kalmind-text .bullets div:last-child { border-bottom: 1px solid var(--line-ink); }
.kalmind-text .bullets .num {
  font-size: 12px;
  color: var(--ink-700);
  font-weight: 500;
  letter-spacing: 0.14em;
  min-width: 32px;
}
.kalmind-text .bullets .label {
  font-size: 17px;
  color: var(--black);
  font-weight: 500;
  letter-spacing: -0.005em;
}

/* Solutions grid */
.solutions {
  background: var(--black);
  color: var(--white);
  padding: 140px 40px;
  position: relative;
  overflow: hidden;
}
.solutions::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(255,255,255,0.05), transparent 60%);
}
.solutions-inner { max-width: 1440px; margin: 0 auto; position: relative; }
.solutions-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  margin-bottom: 80px;
  align-items: end;
}
.solutions-head h2 {
  font-size: clamp(42px, 5.2vw, 96px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.96;
  text-transform: uppercase;
}
.solutions-head .italic {
  font-style: italic;
  font-weight: 300;
  -webkit-text-stroke: 1px rgba(255,255,255,0.55);
  color: transparent;
}
.solutions-head p {
  font-size: 17px;
  color: var(--ink-900);
  max-width: 56ch;
  line-height: 1.65;
}

.solution-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.solution-card {
  background: var(--black);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  transition: background var(--t-fast);
  overflow: hidden;
}
.solution-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--white);
  transition: width var(--t-med);
}
.solution-card:hover { background: var(--ink-200); }
.solution-card:hover::after { width: 100%; }

.solution-card .index {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-800);
}
.solution-card h3 {
  font-size: clamp(28px, 2.6vw, 42px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.04;
  color: var(--white);
}
.solution-card p {
  font-size: 15.5px;
  color: var(--ink-900);
  line-height: 1.65;
  max-width: 48ch;
}
.solution-card p em { font-style: italic; color: var(--white); }
.solution-card ul {
  list-style: none;
  padding-top: 20px;
  margin-top: auto;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
}
.solution-card ul li {
  font-size: 13px;
  color: var(--ink-800);
  position: relative;
  padding-left: 18px;
}
.solution-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 1px;
  background: var(--ink-700);
}

/* ================================================================
   Leadership page — tripillars
   ================================================================ */
.tripillars {
  background: var(--ink-050);
  color: var(--white);
  padding: 140px 40px;
  position: relative;
}
.tripillars-inner { max-width: 1440px; margin: 0 auto; }
.tripillars-head { margin-bottom: 72px; max-width: 720px; }
.tripillars-head h2 {
  font-size: clamp(36px, 4.6vw, 72px);
  font-weight: 900;
  letter-spacing: -0.028em;
  line-height: 1.0;
  margin-top: 24px;
  text-transform: uppercase;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.pillar {
  background: var(--ink-050);
  padding: 56px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: background var(--t-fast);
}
.pillar:hover { background: var(--ink-200); }
.pillar .num {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-800);
}
.pillar h3 {
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--white);
}
.pillar p { font-size: 15px; color: var(--ink-900); line-height: 1.7; }

/* About block */
.about {
  padding: 140px 40px;
  background: var(--white);
}
.about-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 96px;
  align-items: start;
}
.about-inner .sticky {
  position: sticky;
  top: 120px;
  align-self: start;
}
.about-inner h2 {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.0;
  text-transform: uppercase;
}
.about-inner h3 {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--black);
  margin: 40px 0 16px;
}
.about-inner h3:first-child { margin-top: 0; }
.about-inner p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-500);
  margin-bottom: 16px;
}
.about-inner ul {
  margin: 16px 0;
  padding-left: 0;
  list-style: none;
}
.about-inner ul li {
  font-size: 15.5px;
  color: var(--ink-500);
  line-height: 1.65;
  padding: 12px 0 12px 28px;
  border-top: 1px solid var(--line-ink);
  position: relative;
}
.about-inner ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--black);
}
.about-inner ul li:last-child { border-bottom: 1px solid var(--line-ink); }

/* Team */
.team {
  padding: 140px 40px;
  background: var(--paper);
}
.team-inner { max-width: 1440px; margin: 0 auto; }
.team-head { margin-bottom: 72px; max-width: 720px; }
.team-head h2 {
  font-size: clamp(36px, 4.6vw, 72px);
  font-weight: 900;
  letter-spacing: -0.028em;
  line-height: 1.0;
  margin-top: 24px;
  text-transform: uppercase;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.team-card {
  background: var(--white);
  overflow: hidden;
  position: relative;
  transition: transform var(--t-fast);
}
.team-card:hover { transform: translateY(-6px); }
.team-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  margin: 32px auto 0;
  background: var(--ink-200);
  background-size: cover;
  background-position: center top;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-800);
  font-size: 56px;
  font-weight: 300;
  position: relative;
  overflow: hidden;
  filter: grayscale(1) contrast(1.05);
  transition: filter var(--t-fast);
}
.team-card:hover .team-photo { filter: grayscale(0) contrast(1); }
.team-body { padding: 24px 28px 32px; text-align: center; }
.team-body .name {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--black);
  margin-bottom: 4px;
  line-height: 1.2;
}
.team-body .role {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-700);
  margin-bottom: 16px;
}
.team-body p {
  font-size: 13.5px;
  color: var(--ink-500);
  line-height: 1.6;
}

/* Values */
.values {
  padding: 140px 40px;
  background: var(--black);
  color: var(--white);
}
.values-inner { max-width: 1200px; margin: 0 auto; }
.values-head { margin-bottom: 64px; text-align: center; }
.values-head h2 {
  font-size: clamp(36px, 4.6vw, 72px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  text-transform: uppercase;
  margin-top: 24px;
}
.values-head .italic {
  font-style: italic;
  font-weight: 300;
  -webkit-text-stroke: 1px rgba(255,255,255,0.6);
  color: transparent;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.value {
  background: var(--black);
  padding: 40px 24px;
  text-align: center;
  transition: background var(--t-fast);
}
.value:hover { background: var(--ink-200); }
.value .num {
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--ink-700);
  margin-bottom: 20px;
}
.value h4 {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--white);
}
.value p { font-size: 13px; color: var(--ink-900); line-height: 1.55; }

.vision-mission {
  max-width: 820px;
  margin: 96px auto 0;
  text-align: center;
}
.vision-mission h3 {
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-800);
  margin: 40px 0 16px;
  font-weight: 500;
}
.vision-mission p {
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--ink-900);
  line-height: 1.55;
}

/* ================================================================
   Insights / Media (magazine layout)
   ================================================================ */
.insights {
  padding: 140px 40px;
  background: var(--white);
  max-width: 1440px;
  margin: 0 auto;
}
.insights-head {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 80px;
}
.insights-head h1 {
  font-size: clamp(44px, 6.2vw, 112px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.96;
  text-transform: uppercase;
}
.insights-head h1 .italic {
  font-style: italic;
  font-weight: 300;
  color: var(--ink-600);
}
.insights-head .cats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cat-pill {
  padding: 8px 18px;
  border: 1px solid var(--line-ink);
  border-radius: 999px;
  font-size: 12px;
  color: var(--ink-500);
  cursor: pointer;
  transition: all var(--t-fast);
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cat-pill .count {
  font-size: 10px;
  color: var(--ink-700);
  background: var(--paper);
  padding: 1px 7px;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.cat-pill.active .count { background: rgba(255,255,255,0.18); color: rgba(255,255,255,0.9); }
.cat-pill.active, .cat-pill:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.cat-pill:hover .count { background: rgba(255,255,255,0.18); color: rgba(255,255,255,0.9); }

/* Filtering — hide cards with .filter-hidden */
[data-cat].filter-hidden {
  display: none !important;
}
[data-cat] {
  transition: opacity var(--t-fast);
}

.featured-post {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  padding: 48px 0;
  border-top: 1px solid var(--line-ink);
  border-bottom: 1px solid var(--line-ink);
  margin-bottom: 48px;
}
.post-thumb {
  aspect-ratio: 16 / 10;
  background: var(--ink-900);
  background-size: cover;
  background-position: center;
  filter: grayscale(0.3);
  transition: filter var(--t-fast);
}
.featured-post:hover .post-thumb { filter: grayscale(0); }
.featured-post .post-body { align-self: center; }
.featured-post .meta {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-700);
  margin-bottom: 20px;
}
.featured-post h2 {
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 20px;
  color: var(--black);
}
.featured-post p {
  font-size: 16px;
  color: var(--ink-500);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 52ch;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
}
.posts-grid .post {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-ink);
}
.posts-grid .post-thumb { aspect-ratio: 4 / 3; }
.posts-grid .meta {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-700);
}
.posts-grid h3 {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--black);
}
.posts-grid p {
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.6;
}
.post-read {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
  font-weight: 500;
  border-top: 1px solid var(--line-ink);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  margin-top: auto;
}

/* ================================================================
   Contact
   ================================================================ */
.contact-wrap {
  background: var(--white);
  padding: 160px 40px 120px;
}
.contact-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
}
.contact-info h2 {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  text-transform: uppercase;
  margin: 24px 0 32px;
}
.contact-info h2 .italic { font-style: italic; font-weight: 300; color: var(--ink-600); }
.contact-info p { font-size: 17px; color: var(--ink-500); line-height: 1.65; max-width: 48ch; margin-bottom: 40px; }
.contact-meta {
  display: grid;
  gap: 0;
}
.contact-meta div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line-ink);
}
.contact-meta div:last-child { border-bottom: 1px solid var(--line-ink); }
.contact-meta dt {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-700);
  font-weight: 500;
}
.contact-meta dd { font-size: 16px; color: var(--black); font-weight: 500; }

.contact-form {
  background: var(--ink-050);
  color: var(--white);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
}
.contact-form h3 {
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-800);
  font-weight: 500;
  margin-bottom: 8px;
}
.contact-form .big {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 16px;
}
.contact-form label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-800);
  margin-bottom: 10px;
  font-weight: 500;
}
.contact-form input[type=text],
.contact-form input[type=email],
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--white);
  padding: 12px 0;
  font-family: inherit;
  font-size: 16px;
  transition: border-color var(--t-fast);
}
.contact-form textarea { min-height: 100px; resize: vertical; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--ink-700); }
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--white); }
.check-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--ink-900);
}
.check-row input { accent-color: var(--white); margin-top: 2px; }
.legal { font-size: 11px; color: var(--ink-700); line-height: 1.5; letter-spacing: 0.02em; }

/* ================================================================
   Footer
   ================================================================ */
.site-footer {
  background: var(--black);
  color: var(--ink-900);
  padding: 120px 40px 32px;
  position: relative;
}
.footer-inner { max-width: 1440px; margin: 0 auto; }
.footer-big {
  font-size: clamp(44px, 7vw, 140px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 64px;
}
.footer-big .italic {
  font-style: italic;
  font-weight: 300;
  -webkit-text-stroke: 1px rgba(255,255,255,0.55);
  color: transparent;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.footer-brand .tag {
  font-size: 13px;
  color: var(--ink-800);
  max-width: 38ch;
  margin-top: 16px;
  line-height: 1.55;
}
.footer-col h4 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-800);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: var(--ink-900);
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-700);
}
.footer-bottom .center { text-align: center; }
.footer-bottom .right { text-align: right; }
.footer-bottom a:hover { color: var(--white); }

/* ================================================================
   Cookie banner
   ================================================================ */
.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  max-width: 360px;
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong);
  padding: 20px 22px;
  z-index: 100;
  font-size: 12.5px;
  color: var(--ink-900);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  border-radius: 4px;
}
.cookie-banner p { margin-bottom: 14px; line-height: 1.55; }
.cookie-actions { display: flex; gap: 8px; justify-content: flex-end; }
.cookie-actions .btn { padding: 9px 18px; font-size: 11px; }
.cookie-banner.hidden { display: none; }

/* ================================================================
   Fade-up on scroll
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ================================================================
   Services overview — card grid with numbers
   ================================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-ink);
  border: 1px solid var(--line-ink);
  margin-top: 48px;
}
.service-card-big {
  background: var(--white);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 320px;
  transition: background var(--t-fast);
  position: relative;
}
.service-card-big:hover { background: var(--paper); }
.service-card-big .idx {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-700);
  font-weight: 500;
}
.service-card-big h3 {
  font-size: clamp(26px, 2.4vw, 38px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--black);
}
.service-card-big p { font-size: 15.5px; color: var(--ink-500); line-height: 1.65; max-width: 50ch; }
.service-card-big .arrow-inline {
  margin-top: auto;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
  display: inline-flex;
  gap: 12px;
  align-items: center;
}
.service-card-big:hover .arrow-inline span:last-child { transform: translateX(4px); }
.service-card-big .arrow-inline span:last-child { transition: transform var(--t-fast); }

/* ================================================================
   COMPETE page — 7-step cycle + 4Bs panel
   ================================================================ */
.compete-hero {
  background: var(--black);
  color: var(--white);
  padding: 200px 40px 140px;
  position: relative;
  overflow: hidden;
}
.compete-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.06), transparent 60%),
    radial-gradient(ellipse at 10% 100%, rgba(255,255,255,0.04), transparent 60%);
}
.compete-hero-inner {
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: end;
}
.compete-hero h1 {
  font-size: clamp(48px, 8vw, 144px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.94;
  text-transform: uppercase;
  margin: 24px 0;
}
.compete-hero h1 .italic {
  font-style: italic;
  font-weight: 300;
  -webkit-text-stroke: 1px rgba(255,255,255,0.6);
  color: transparent;
}
.compete-hero .tag {
  font-size: 18px;
  color: var(--ink-900);
  max-width: 52ch;
  line-height: 1.55;
}

.compete-steps {
  padding: 120px 40px;
  background: var(--white);
}
.compete-steps-head {
  max-width: 1440px;
  margin: 0 auto 72px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: end;
}
.compete-steps-head h2 {
  font-size: clamp(36px, 4.6vw, 72px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.98;
  text-transform: uppercase;
  margin-top: 24px;
}
.compete-steps-head p { font-size: 17px; color: var(--ink-500); max-width: 54ch; line-height: 1.65; }

.compete-cycle {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2.4fr 1fr 1fr 1fr 1fr;
  gap: 1px;
  background: var(--line-ink);
  border: 1px solid var(--line-ink);
}
.compete-cycle .compete-step.lead {
  background: var(--ink-050);
  color: var(--white);
}
.compete-cycle .compete-step.lead h3 { color: var(--white); }
.compete-cycle .compete-step.lead p { color: var(--ink-900); }
.compete-cycle .compete-step.lead .letter { color: var(--white); }
.compete-cycle .compete-step.lead:hover { background: var(--ink-200); }
.compete-step .letters {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: clamp(72px, 6vw, 104px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--white);
}
.compete-step .letters .dim { opacity: 0.45; }
.compete-step {
  background: var(--white);
  padding: 36px 20px;
  transition: background var(--t-fast);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  min-height: 280px;
}
.compete-step:hover { background: var(--black); color: var(--white); }
.compete-step:hover h3 { color: var(--white); }
.compete-step:hover p { color: var(--ink-900); }
.compete-step .letter {
  font-size: clamp(72px, 6vw, 104px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--black);
  transition: color var(--t-fast);
}
.compete-step:hover .letter { color: var(--white); }
.compete-step h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-500);
  transition: color var(--t-fast);
}
.compete-step p { font-size: 13.5px; color: var(--ink-500); line-height: 1.55; margin-top: auto; transition: color var(--t-fast); }

/* 4Bs panel */
.fourbs {
  background: var(--ink-050);
  color: var(--white);
  padding: 140px 40px;
}
.fourbs-inner { max-width: 1440px; margin: 0 auto; }
.fourbs-head {
  margin-bottom: 72px;
  max-width: 820px;
}
.fourbs-head h2 {
  font-size: clamp(36px, 4.6vw, 72px);
  font-weight: 900;
  letter-spacing: -0.028em;
  line-height: 1.0;
  text-transform: uppercase;
  margin-top: 24px;
}
.fourbs-head .italic {
  font-style: italic;
  font-weight: 300;
  -webkit-text-stroke: 1px rgba(255,255,255,0.55);
  color: transparent;
}
.fourbs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.fourb {
  background: var(--ink-050);
  padding: 56px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: background var(--t-fast);
  min-height: 360px;
}
.fourb:hover { background: var(--ink-200); }
.fourb .mega-letter {
  font-size: clamp(96px, 9vw, 160px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.82;
  color: var(--white);
}
.fourb h3 {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--white);
  text-transform: uppercase;
}
.fourb p { font-size: 14px; color: var(--ink-900); line-height: 1.65; margin-top: auto; }

/* Tools block (KALMind, NeuroTrackerX, VPI) */
.tools-strip {
  padding: 120px 40px;
  background: var(--white);
}
.tools-inner { max-width: 1440px; margin: 0 auto; }
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.tool-card {
  border: 1px solid var(--line-ink);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: background var(--t-fast), border-color var(--t-fast);
  min-height: 240px;
}
.tool-card:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.tool-card:hover h4, .tool-card:hover p { color: inherit; }
.tool-card .kind {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-700);
  transition: color var(--t-fast);
}
.tool-card:hover .kind { color: var(--ink-800); }
.tool-card h4 {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.tool-card p { font-size: 14px; color: var(--ink-500); line-height: 1.65; margin-top: auto; transition: color var(--t-fast); }
.tool-card:hover p { color: var(--ink-900); }

/* ================================================================
   Education page
   ================================================================ */
.edu-tiers {
  padding: 140px 40px;
  background: var(--white);
}
.edu-tiers-inner { max-width: 1440px; margin: 0 auto; }
.edu-tier {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 96px;
  padding: 80px 0;
  border-top: 1px solid var(--line-ink);
  align-items: start;
}
.edu-tier:last-child { border-bottom: 1px solid var(--line-ink); }
.edu-tier h3 {
  font-size: clamp(32px, 3.4vw, 52px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.02;
  color: var(--black);
  margin-bottom: 16px;
}
.edu-tier h3 .italic { font-style: italic; font-weight: 300; color: var(--ink-700); }
.edu-tier .kicker { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-700); margin-bottom: 20px; font-weight: 500; }
.edu-tier .summary { font-size: 17px; color: var(--ink-500); line-height: 1.65; margin-bottom: 24px; }

.edu-detail ul {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--line-ink);
}
.edu-detail ul li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-ink);
}
.edu-detail ul li strong {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-700);
  font-weight: 500;
}
.edu-detail ul li span {
  font-size: 15.5px;
  color: var(--ink-500);
  line-height: 1.55;
}

/* ================================================================
   FAQ block
   ================================================================ */
.faq {
  padding: 120px 40px;
  background: var(--white);
}
.faq-inner { max-width: 960px; margin: 0 auto; }
.faq-head { margin-bottom: 48px; }
.faq-head h2 {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 900;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin-top: 16px;
}
.faq-item {
  border-top: 1px solid var(--line-ink);
  padding: 28px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line-ink); }
.faq-item summary {
  cursor: pointer;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--black);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font);
  font-weight: 300;
  font-size: 28px;
  color: var(--ink-700);
  line-height: 1;
  transition: transform var(--t-fast);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  font-size: 15px;
  color: var(--ink-500);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 72ch;
}

/* ================================================================
   Article (long-read) layout
   ================================================================ */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 160px 24px 96px;
}
.article-meta {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-700);
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.article-meta .dot { color: var(--ink-800); }
.article h1 {
  font-size: clamp(36px, 5.4vw, 72px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.0;
  margin-bottom: 32px;
  text-transform: none;
}
.article .lede {
  font-size: 21px;
  line-height: 1.55;
  color: var(--ink-500);
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-ink);
}
.article h2 {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.018em;
  line-height: 1.15;
  margin: 56px 0 16px;
  color: var(--black);
}
.article h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin: 32px 0 12px;
  color: var(--black);
}
.article p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-500);
  margin-bottom: 18px;
}
.article p strong { color: var(--black); font-weight: 700; }
.article ul, .article ol {
  margin: 16px 0 24px 24px;
  color: var(--ink-500);
}
.article ul li, .article ol li {
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 8px;
}
.article blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 3px solid var(--black);
  background: var(--paper);
  font-size: 19px;
  font-style: italic;
  color: var(--ink-500);
  line-height: 1.55;
}
.article a { color: var(--black); text-decoration: underline; text-underline-offset: 3px; }
.article-toc {
  background: var(--paper);
  padding: 20px 24px;
  margin: 32px 0 48px;
  border-left: 2px solid var(--black);
}
.article-toc-title {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-700);
  margin-bottom: 12px;
  font-weight: 500;
}
.article-toc ul { list-style: none; margin: 0; padding: 0; }
.article-toc ul li { font-size: 15px; margin-bottom: 6px; }
.article-toc ul li a { color: var(--ink-500); text-decoration: none; }
.article-toc ul li a:hover { color: var(--black); }

.article-refs {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--line-ink);
}
.article-refs h3 { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-700); margin: 0 0 16px; }
.article-refs ol { font-size: 13px; padding-left: 20px; }
.article-refs ol li { font-size: 13px; line-height: 1.55; color: var(--ink-500); margin-bottom: 8px; }
.article-refs a { color: var(--ink-500); }

.article-footer {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--line-ink);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-700);
}

/* Insights post — title-card thumb when no image */
.post-thumb.title-card {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 24px;
  color: var(--white);
  background: var(--ink-050);
  position: relative;
  overflow: hidden;
}
.post-thumb.title-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 70%, rgba(255,255,255,0.08), transparent 60%);
}
.post-thumb.title-card .tc-title {
  position: relative;
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-transform: uppercase;
  max-width: 16ch;
}
.post-thumb.title-card .tc-tag {
  position: absolute;
  top: 24px;
  left: 24px;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-800);
}

/* ================================================================
   Trust / proof logos row
   ================================================================ */
.proofs {
  padding: 72px 40px;
  background: var(--paper);
  border-top: 1px solid var(--line-ink);
  border-bottom: 1px solid var(--line-ink);
}
.proofs-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.proofs .label {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-700);
  font-weight: 500;
  flex-shrink: 0;
}
.proofs .names {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-500);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ================================================================
   Responsive
   ================================================================ */
@media (max-width: 1100px) {
  .hero-title { font-size: clamp(56px, 14vw, 128px); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-cards { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: 48px 1fr 1.4fr 48px; gap: 24px; }
}

@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .site-header { padding: 14px 24px; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.98);
    backdrop-filter: blur(14px);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 28px;
    gap: 0;
    border-top: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; text-align: center; justify-content: center; }
  .menu-toggle { display: flex; }

  .hero { padding: 120px 24px 120px; min-height: 92vh; }
  .hero-meta { font-size: 10px; }
  .hero-lead { grid-template-columns: 1fr; gap: 20px; }
  .hero-scroll { display: none; }

  .feature, .ideology, .stats, .kalmind, .solutions, .tripillars, .about, .team, .values, .insights, .contact-wrap, .cta-band, .site-footer {
    padding-left: 24px; padding-right: 24px;
  }
  .feature { padding-top: 96px; padding-bottom: 96px; }
  .feature-inner { grid-template-columns: 1fr; gap: 48px; }
  .feature-media { aspect-ratio: 4 / 3; }

  .ideology-head { grid-template-columns: 1fr; gap: 24px; }
  .row { grid-template-columns: 48px 1fr; gap: 16px; padding: 24px 0; }
  .row h3 { grid-column: 1 / -1; }
  .row p { grid-column: 1 / -1; }
  .row .arrow-pill { display: none; }

  .kalmind-inner { grid-template-columns: 1fr; gap: 48px; }
  .solutions-head { grid-template-columns: 1fr; }
  .solutions-grid, .solution-cards { grid-template-columns: 1fr; }

  .page-banner { padding: 140px 24px 72px; min-height: 55vh; }
  .page-banner-inner { grid-template-columns: 1fr; gap: 24px; }

  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-inner .sticky { position: static; }
  .team-grid { grid-template-columns: 1fr; gap: 24px; }
  .values-grid { grid-template-columns: 1fr; }

  .insights-head { grid-template-columns: 1fr; }
  .insights-head .cats { justify-content: flex-start; }
  .featured-post { grid-template-columns: 1fr; gap: 24px; }
  .posts-grid { grid-template-columns: 1fr; gap: 32px; }

  .contact-inner { grid-template-columns: 1fr; gap: 64px; }
  .contact-form { padding: 36px 28px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; padding: 32px 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-big { font-size: clamp(48px, 13vw, 96px); }

  .cookie-banner { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}

/* ================================================================
   Esports edge — v2 polish
   ================================================================ */

/* Remove tap highlight on all interactive elements */
.btn, .cat-pill, .nav a, .logo, a { -webkit-tap-highlight-color: transparent; }

/* ----- Mobile nav: cleaner Book Strategy Session button ----- */
@media (max-width: 900px) {
  .nav a.btn-nav {
    margin-top: 16px;
    padding: 14px 22px;
    background: transparent !important;
    color: var(--white) !important;
    border: 1px solid rgba(255,255,255,0.4) !important;
    border-bottom: 1px solid rgba(255,255,255,0.4) !important;
  }
  .nav a.btn-nav::before { display: none !important; }
  .nav a.btn-nav > span { color: var(--white) !important; }
  .nav a.btn-nav:active {
    background: rgba(255,255,255,0.08) !important;
  }
}

/* ----- Hero scan-lines overlay (very subtle, adds CRT signal) ----- */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(0deg,
      rgba(255,255,255,0.015) 0 1px,
      transparent 1px 3px);
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.6;
}

/* ----- Hero title reveal (shimmer on load) ----- */
@keyframes shimmer-in {
  0%   { clip-path: inset(0 100% 0 0); opacity: 0; }
  40%  { opacity: 1; }
  100% { clip-path: inset(0 0 0 0); opacity: 1; }
}
.hero-title .block {
  animation: shimmer-in 1.2s cubic-bezier(.22,.61,.36,1) both;
}
.hero-title .block.outline {
  animation-delay: 0.28s;
}

/* Glitch/RGB-split on hero title hover (desktop only) */
@media (hover: hover) {
  .hero-title { position: relative; cursor: default; }
  .hero-title::before,
  .hero-title::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .2s;
    pointer-events: none;
  }
  .hero-title::before { color: rgba(180, 180, 180, 0.3); transform: translate(-2px, 0); }
  .hero-title::after  { color: rgba(255, 255, 255, 0.3); transform: translate(2px, 0); }
  .hero-title:hover::before,
  .hero-title:hover::after {
    opacity: 1;
    animation: glitch-split .4s steps(2) infinite;
  }
}
@keyframes glitch-split {
  0%   { transform: translate(-2px, 0); }
  50%  { transform: translate(2px, -1px); }
  100% { transform: translate(-1px, 1px); }
}

/* ----- Bracket accents on eyebrow labels ----- */
.eyebrow::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 12px;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  transform: translateY(-1px);
}
.eyebrow::before {
  /* Preserve existing rule — prepend a corner bracket */
  content: "";
  width: 6px;
  height: 6px;
  background: transparent;
  border-left: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(1px);
}

/* ----- Angled transition edge on dark sections ----- */
.cta-band, .stats, .solutions, .tripillars, .fourbs, .values {
  position: relative;
}
.cta-band::after, .stats::after, .solutions::after,
.tripillars::after, .fourbs::after, .values::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48px;
  background:
    linear-gradient(to top right, transparent 49.6%, rgba(255,255,255,0.03) 50%, rgba(255,255,255,0.03) 50.4%, transparent 50.5%);
  pointer-events: none;
}

/* ----- HUD corner ticks on stats ----- */
.stat {
  position: relative;
}
.stat::before,
.stat::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: rgba(255,255,255,0.3);
}
.stat::before {
  top: -1px;
  left: 0;
  border-top: 1px solid;
  border-left: 1px solid;
}
.stat::after {
  top: -1px;
  right: 0;
  border-top: 1px solid;
  border-right: 1px solid;
}

/* ----- Marquee edge glow gradients (feathers the loop) ----- */
.marquee {
  position: relative;
}
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--black), transparent);
}
.marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--black), transparent);
}
